/* ============================================================
   COROSOLS — Construction Robotic Solutions
   Two themes: dark (default) navy blueprint world / light paper
   blueprint. All component colors come from the token block.
   ============================================================ */

:root {
  /* --- core palette (dark) --- */
  --bg:        #080f1e;
  --bg-2:      #0b1526;
  --panel:     #0f1b33;
  --line:      rgba(146, 178, 255, 0.10);
  --line-2:    rgba(146, 178, 255, 0.18);
  --grid-line: rgba(146, 178, 255, 0.055);
  --txt:       #eef3fb;
  --muted:     #9fb0ca;
  --muted-2:   #7d90ae;
  --orange:    #f08a1d;
  --orange-2:  #ffa53d;
  --orange-3:  #ed7d16;
  --navy:      #1b2a4a;
  --glow:      rgba(240, 138, 29, 0.35);

  /* --- component tokens (dark) --- */
  --head-bg:      rgba(8, 15, 30, 0.82);
  --drawer-bg:    rgba(8, 15, 30, 0.96);
  --hero-tint-a:  #12233f;
  --hero-tint-b:  #0d1a30;
  --shade-rgb:    8, 15, 30;
  --chip-bg:      rgba(12, 22, 40, 0.55);
  --alt-tint:     rgba(27, 42, 74, 0.55);
  --card-a:       rgba(23, 38, 68, 0.55);
  --card-b:       rgba(13, 23, 42, 0.7);
  --field-bg:     rgba(8, 15, 30, 0.6);
  --field-bg-2:   rgba(8, 15, 30, 0.45);
  --placeholder:  #5c6d8a;
  --track-bg:     rgba(146, 178, 255, 0.18);
  --thumb-border: #0d1830;
  --avatar-bg:    #101b30;
  --foot-bg:      #060b16;
  --card-shadow:  0 24px 44px -18px rgba(0, 0, 0, 0.55);
  --robot-card-border: transparent;

  --radius:    18px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --head-h:    72px;
}

:root[data-theme="light"] {
  --bg:        #f6f8fd;
  --bg-2:      #edf1f9;
  --panel:     #ffffff;
  --line:      rgba(27, 42, 74, 0.10);
  --line-2:    rgba(27, 42, 74, 0.22);
  --grid-line: rgba(27, 42, 74, 0.05);
  --txt:       #14213a;
  --muted:     #53648a;
  --muted-2:   #5c6d8a;
  --glow:      rgba(240, 138, 29, 0.28);

  --head-bg:      rgba(246, 248, 253, 0.86);
  --drawer-bg:    rgba(246, 248, 253, 0.97);
  --hero-tint-a:  #dce6f5;
  --hero-tint-b:  #e9eef8;
  --shade-rgb:    246, 248, 253;
  --chip-bg:      rgba(255, 255, 255, 0.65);
  --alt-tint:     rgba(27, 42, 74, 0.07);
  --card-a:       rgba(255, 255, 255, 0.92);
  --card-b:       rgba(240, 244, 252, 0.95);
  --field-bg:     rgba(233, 238, 248, 0.75);
  --field-bg-2:   rgba(233, 238, 248, 0.6);
  --placeholder:  #93a1bd;
  --track-bg:     rgba(27, 42, 74, 0.14);
  --thumb-border: #ffffff;
  --avatar-bg:    #101b30;
  --foot-bg:      #e8edf7;
  --card-shadow:  0 24px 44px -20px rgba(27, 42, 74, 0.18);
  --robot-card-border: rgba(27, 42, 74, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ---------- Blueprint grid overlay ----------
   A faint layout grid drawn on top of each section's background
   but under its content. Auto-applied to every section & hero. */
.section::before,
.article-hero::before,
.inv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
}
/* keep section content above the grid */
.section > .container,
.section > .marquee,
.section > .ach-gallery,
.article-hero > .container,
.inv-hero > .container { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

::selection { background: var(--orange); color: #10131b; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); font-weight: 700; margin-bottom: 0.6em; }
h3 { font-size: 1.18rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange-2);
  margin-bottom: 1.1em;
}
:root[data-theme="light"] .eyebrow { color: var(--orange-3); }

.grad {
  background: linear-gradient(92deg, var(--orange-2), var(--orange) 55%, #ff7a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="light"] .grad {
  background: linear-gradient(92deg, #e87d0c, var(--orange-3) 55%, #d96e00);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-lead { max-width: 640px; color: var(--muted); margin-bottom: 3rem; font-size: 1.06rem; }

.sub-heading { margin: 4.5rem 0 1.8rem; font-size: 1.35rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-lg { padding: 0.9em 1.9em; font-size: 1.02rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #14100a;
  box-shadow: 0 8px 28px -8px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px var(--glow); }

.btn-ghost {
  border-color: var(--line-2);
  color: var(--txt);
  background: rgba(255, 255, 255, 0.02);
}
:root[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-3); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--head-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: var(--head-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 62px;
}

.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }

.brand { display: flex; align-items: center; }
.brand-lockup { height: 40px; width: auto; display: block; }
.site-head.scrolled .brand-lockup { height: 34px; }
.logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a:not(.btn), .nav-trigger {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 0.3em 0;
  transition: color 0.2s ease;
}

/* dropdown groups */
.nav-group { position: relative; }
.nav-trigger {
  font-family: var(--font-body);
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.nav-trigger svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform 0.25s ease; }
.nav-group:hover .nav-trigger, .nav-group:focus-within .nav-trigger { color: var(--txt); }
.nav-group:hover .nav-trigger svg, .nav-group.open .nav-trigger svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--drawer-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  z-index: 60;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  color: var(--txt) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.18s ease;
}
.nav-menu a::after { display: none; }
.nav-menu a small { color: var(--muted); font-size: 0.74rem; font-weight: 400; }
.nav-menu a:hover { background: rgba(240, 138, 29, 0.12); }
.nav-menu a:hover small { color: var(--muted); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:not(.btn):hover,
.main-nav a.active { color: var(--txt); }
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 0.4rem; }

/* theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--chip-bg);
  color: var(--txt);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--orange); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
:root[data-theme="light"] .icon-sun { display: block; }
:root[data-theme="light"] .icon-moon { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 72% 42%, var(--hero-tint-a) 0%, transparent 60%),
    radial-gradient(900px 700px at 15% 85%, var(--hero-tint-b) 0%, transparent 55%),
    var(--bg);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-fallback { display: none; }
.hero.no-3d #hero-canvas { display: none; }
.hero.no-3d .hero-fallback {
  display: block;
  position: absolute;
  right: -4%;
  bottom: 6%;
  width: min(52vw, 760px);
  opacity: 0.9;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-14px); } }

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--shade-rgb), 0.88) 0%, rgba(var(--shade-rgb), 0.55) 38%, rgba(var(--shade-rgb), 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, transparent 18%),
    linear-gradient(180deg, rgba(var(--shade-rgb), 0.6) 0%, transparent 22%);
}

.hero-inner { position: relative; z-index: 2; padding: 120px 0 90px; }

.hero-inner h1 { max-width: 13ch; margin-bottom: 0.45em; }

.hero-sub { max-width: 520px; color: var(--muted); font-size: 1.13rem; margin-bottom: 2.1rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.award-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--orange-2);
  border: 1px dashed rgba(240, 138, 29, 0.5);
  border-radius: 999px;
  padding: 0.42em 1.1em;
  margin-bottom: 1.3rem;
  background: var(--chip-bg);
}
:root[data-theme="light"] .award-pill { color: var(--orange-3); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-chips li {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.38em 0.95em;
  background: var(--chip-bg);
  backdrop-filter: blur(6px);
}
.hero-chips li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 0.55em;
  vertical-align: 1px;
  box-shadow: 0 0 8px var(--orange);
}

.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.trust-strip span {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.3rem;
}
.trust-strip img {
  height: 30px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  background: rgba(244, 246, 251, 0.92);
  border-radius: 8px;
  padding: 4px 9px;
  box-sizing: content-box;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
:root[data-theme="light"] .trust-strip img { border: 1px solid var(--line); }
.trust-strip img:hover { opacity: 1; transform: translateY(-2px); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.scroll-hint:hover { opacity: 1; }
.mouse {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--orange-2);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 45% { transform: translateY(12px); opacity: 0; } 46% { transform: none; opacity: 0; } }

/* ---------- Sections ---------- */

.section { padding: 110px 0; position: relative; }

.section-alt {
  background:
    radial-gradient(900px 500px at 85% 0%, var(--alt-tint) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 1.3rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid.three { grid-template-columns: 1fr; } }

/* services: bigger, cleaner 3-column cards */
.card-grid.svc { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid.svc .card { padding: 2.3rem 2rem 2.1rem; }
.card-grid.svc .card-icon { width: 64px; height: 64px; margin-bottom: 1.3rem; }
.card-grid.svc .card h3 { font-size: 1.32rem; margin-bottom: 0.6rem; }
.card-grid.svc .card p { font-size: 1rem; }
a.card { display: block; }
a.card .insight-more { display: inline-block; margin-top: 0.4rem; color: var(--orange-2); }
:root[data-theme="light"] a.card .insight-more { color: var(--orange-3); }

.card {
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 138, 29, 0.35);
  box-shadow: var(--card-shadow);
}
.card:hover::before { opacity: 1; }

.card-icon { width: 52px; height: 52px; object-fit: contain; margin-bottom: 1.1rem; }

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Problem: before / after compare ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 3rem;
}
.compare-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.compare-item img { width: 100%; height: 300px; object-fit: cover; }
.compare-item figcaption {
  padding: 1rem 1.2rem 1.15rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28em 0.85em;
  margin-right: 0.55em;
  vertical-align: 1px;
}
.tag-old { background: rgba(159, 176, 202, 0.16); color: var(--muted); }
.tag-new { background: rgba(240, 138, 29, 0.18); color: var(--orange-2); }
:root[data-theme="light"] .tag-new { color: var(--orange-3); }
.compare-arrow {
  align-self: center;
  font-size: 1.7rem;
  color: var(--orange);
  text-shadow: 0 0 18px var(--glow);
}

/* ---------- Solution ---------- */

.solution-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.steps { display: flex; flex-direction: column; gap: 2.1rem; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}

.step { display: flex; gap: 1.4rem; align-items: flex-start; position: relative; }

.step-num {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--orange-2);
  background: var(--bg);
  border: 1px solid rgba(240, 138, 29, 0.45);
  border-radius: 14px;
  box-shadow: 0 0 22px -6px var(--glow), inset 0 0 14px rgba(240, 138, 29, 0.08);
}
:root[data-theme="light"] .step-num { color: var(--orange-3); background: #fff; }

.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.97rem; max-width: 46ch; }

.robot-card {
  background: linear-gradient(180deg, #f4f6fb, #dfe5f2);
  border: 1px solid var(--robot-card-border);
  border-radius: 24px;
  padding: 2rem 2rem 1.4rem;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] .robot-card { box-shadow: 0 40px 80px -35px rgba(27, 42, 74, 0.35); }
.robot-card::before,
.robot-card::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--orange);
  opacity: 0.85;
}
.robot-card::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.robot-card::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.robot-card img,
.robot-video { width: 100%; height: auto; display: block; border-radius: 12px; }

.spec-list { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.4rem; }
.spec-list li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #43506b;
  padding-left: 1em;
  position: relative;
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-3);
}
.spec-list strong { color: #1b2a4a; }

/* ---------- Action row (YouTube / press) ---------- */

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 3.2rem;
}
.action-card {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.action-card:hover { transform: translateY(-4px); border-color: rgba(240, 138, 29, 0.4); }
.action-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.action-card p { font-size: 0.88rem; color: var(--muted); }

.action-thumb {
  position: relative;
  flex: 0 0 132px;
  border-radius: 12px;
  overflow: hidden;
}
.action-thumb img { width: 132px; height: 88px; object-fit: cover; display: block; }
.play-badge {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(8, 15, 30, 0.35);
}
.play-badge::before {
  content: "";
  position: absolute;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  box-shadow: 0 6px 18px -4px var(--glow);
  z-index: -1;
}

.press-mark {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
  border: 1px dashed rgba(240, 138, 29, 0.5);
  border-radius: 10px;
  padding: 0.9em 0.8em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
:root[data-theme="light"] .press-mark { color: var(--orange-3); }

/* ---------- Numbers band ---------- */

.why-band {
  background: linear-gradient(100deg, #c96a08 0%, var(--orange-3) 35%, var(--orange-2) 100%);
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.why-band::after {
  content: "";
  position: absolute;
  inset: -80px 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0 26px,
    transparent 26px 52px
  );
  pointer-events: none;
  animation: stripe-drift 26s linear infinite;
}
@keyframes stripe-drift { to { transform: translateX(74px); } }

.why-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 2.4rem;
  position: relative;
  z-index: 1;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #14100a;
  padding-left: 1.3rem;
  border-left: 3px solid rgba(20, 16, 10, 0.28);
}
.why-item strong {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.why-item span { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }

.band-note {
  position: relative;
  z-index: 1;
  margin-top: 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #14100a;
}
.band-note a { color: #14100a; font-weight: 700; text-decoration: underline; }
.band-note a:hover { color: #000; }

/* ---------- ROI calculator ---------- */

.roi-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}

.roi-field { display: block; margin-bottom: 1.9rem; }
.roi-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.roi-inputwrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: none;
  letter-spacing: 0;
}
.roi-num {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange-2);
  background: var(--field-bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 0.24em 0.45em;
  width: 5.6em;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.roi-num::-webkit-outer-spin-button,
.roi-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.roi-step {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--field-bg);
  color: var(--txt);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.roi-step:hover { border-color: var(--orange); color: var(--orange-2); transform: translateY(-1px); }
:root[data-theme="light"] .roi-step:hover { color: var(--orange-3); }
.roi-step:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.roi-step:active { transform: scale(0.94); }
:root[data-theme="light"] .roi-num { color: var(--orange-3); }
.roi-num:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 138, 29, 0.15); }
.roi-num.flash { animation: roi-flash 0.4s ease; }
@keyframes roi-flash { 0% { border-color: var(--orange); } 100% { border-color: var(--line-2); } }
.roi-unit {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 3.4em;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--orange) var(--fill, 50%), var(--track-bg) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border: 3px solid var(--thumb-border);
  box-shadow: 0 2px 12px -2px var(--glow);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border: 3px solid var(--thumb-border);
  box-shadow: 0 2px 12px -2px var(--glow);
}
input[type="range"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
  border-radius: 6px;
}

.roi-note { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.roi-note a { color: var(--orange-2); font-weight: 600; }
:root[data-theme="light"] .roi-note a { color: var(--orange-3); }
.roi-note a:hover { text-decoration: underline; }

.roi-results {
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
#roiChart { width: 100%; display: block; }

.roi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.roi-out {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.6rem;
  background: var(--field-bg-2);
}
.roi-out strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 700;
  color: var(--orange-2);
  margin-bottom: 0.2rem;
  white-space: nowrap;
}
:root[data-theme="light"] .roi-out strong { color: var(--orange-3); }
.roi-out span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Partners marquee ---------- */

.marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  width: max-content;
  animation: marquee 36s linear infinite;
  padding: 0.5rem 0;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-track img {
  height: 58px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  background: #f4f6fb;
  border-radius: 14px;
  padding: 10px 22px;
  box-sizing: content-box;
  filter: saturate(0.9);
  transition: transform 0.25s ease, filter 0.25s ease;
}
:root[data-theme="light"] .marquee-track img { border: 1px solid var(--line); }
.marquee-track img:hover { transform: translateY(-4px); filter: saturate(1.15); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Insights (articles) ---------- */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 2.5rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.insight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 138, 29, 0.4);
  box-shadow: var(--card-shadow);
}
.insight-card .thumb { height: 150px; overflow: hidden; }
.insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insight-card:hover .thumb img { transform: scale(1.05); }
.insight-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.insight-kicker {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
}
:root[data-theme="light"] .insight-kicker { color: var(--orange-3); }
.insight-card h3 { font-size: 1.02rem; line-height: 1.3; }
.insight-card p { font-size: 0.86rem; color: var(--muted); flex: 1; }
.insight-more {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt);
}
.insight-card:hover .insight-more { color: var(--orange-2); }
:root[data-theme="light"] .insight-card:hover .insight-more { color: var(--orange-3); }

/* ---------- Article pages ---------- */

.article-hero {
  padding: 170px 0 60px;
  background:
    radial-gradient(900px 480px at 80% 10%, var(--hero-tint-a) 0%, transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 21ch; margin-bottom: 0.5em; }
.article-hero .lead { max-width: 640px; color: var(--muted); font-size: 1.12rem; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
  font-size: 0.83rem;
  color: var(--muted-2);
}
.article-meta span::after { content: "·"; margin-left: 0.9rem; }
.article-meta span:last-child::after { content: ""; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 0 30px;
}
.article-body > * + * { margin-top: 1.35em; }
.article-body h2 {
  font-size: 1.55rem;
  margin-top: 2.2em;
  margin-bottom: 0;
}
.article-body h3 { font-size: 1.15rem; margin-top: 1.8em; }
.article-body p { color: var(--muted); }
.article-body strong { color: var(--txt); }
.article-body ul { padding-left: 1.2em; }
.article-body ul li {
  color: var(--muted);
  list-style: none;
  position: relative;
  padding-left: 0.4em;
  margin-top: 0.5em;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: -1em; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.article-body a { color: var(--orange-2); font-weight: 500; }
:root[data-theme="light"] .article-body a { color: var(--orange-3); }
.article-body a:hover { text-decoration: underline; }

.article-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.4em 0 0.4em 1.3em;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--txt);
  margin-top: 2em;
  margin-bottom: 2em;
}
.article-body blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 0.6em;
}

.article-body figure { margin-top: 2em; margin-bottom: 2em; }
.article-body figure img,
.article-body figure video {
  border-radius: 14px;
  border: 1px solid var(--line);
  width: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.article-body figure:hover img,
.article-body figure:hover video {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.article-body figcaption { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.7em; text-align: center; }

.callout {
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}
.callout p { font-size: 0.95rem; }
.callout strong { color: var(--orange-2); }
:root[data-theme="light"] .callout strong { color: var(--orange-3); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2em;
  margin-bottom: 2em;
}
.stat-tile {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 0.8rem;
  background: var(--field-bg-2);
}
.stat-tile strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--orange-2);
}
:root[data-theme="light"] .stat-tile strong { color: var(--orange-3); }
.stat-tile span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 0.3rem; }
.stat-tile em { display: block; font-style: normal; font-size: 0.68rem; color: var(--muted-2); margin-top: 0.45rem; }

.article-cta {
  margin: 70px 0 90px;
  border-radius: 22px;
  background: linear-gradient(100deg, #c96a08 0%, var(--orange-3) 35%, var(--orange-2) 100%);
  padding: 2.6rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.article-cta h2 { color: #17110a; font-size: 1.5rem; margin: 0; }
.article-cta .btn { background: #14213a; color: #fff; }
.article-cta .btn:hover { transform: translateY(-2px); }

.more-insights { padding: 0 0 100px; }
.more-insights h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.more-insights .insight-grid { grid-template-columns: repeat(3, 1fr); margin-top: 0; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin-top: 1.5rem; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-list details[open] { border-color: rgba(240, 138, 29, 0.4); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  position: relative;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange-2);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-list details a { color: var(--orange-2); font-weight: 600; }
:root[data-theme="light"] .faq-list details a { color: var(--orange-3); }
.faq-list details a:hover { text-decoration: underline; }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 2.5rem;
}

.member {
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.member:hover { transform: translateY(-6px); border-color: rgba(240, 138, 29, 0.35); }

.member img {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 3px solid rgba(240, 138, 29, 0.55);
  box-shadow: 0 0 0 5px rgba(240, 138, 29, 0.08);
  background: var(--avatar-bg);
}

.member h3 { font-size: 1.06rem; }
.member .role {
  color: var(--orange-2);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.25rem 0 0.55rem;
}
:root[data-theme="light"] .member .role { color: var(--orange-3); }
.member .bio { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0.35rem 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mini-link:hover { color: var(--orange-2); border-color: var(--orange-2); }
.li-ic { width: 16px; height: 16px; flex: 0 0 auto; color: #0a66c2; }

/* LinkedIn badge on mentor cards */
.mentor-li {
  position: absolute;
  top: 12px; right: 14px;
  display: inline-flex;
  color: #0a66c2;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mentor-li svg { width: 20px; height: 20px; }
:root[data-theme="light"] .mentor-li { opacity: 0.9; }
.mentor:hover .mentor-li { opacity: 1; transform: translateY(-1px); }

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.mentor {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mentor:hover { border-color: rgba(240, 138, 29, 0.35); transform: translateY(-3px); }

.mentor img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 3px solid var(--line-2);
}
.mentor h4 { font-size: 1.08rem; }
.mentor p { font-size: 0.84rem; color: var(--muted); line-height: 1.45; }

.values {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.values span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--orange-2);
  border: 1px dashed rgba(240, 138, 29, 0.45);
  border-radius: 999px;
  padding: 0.45em 1.2em;
}
:root[data-theme="light"] .values span { color: var(--orange-3); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--txt);
}
.contact-line strong {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-line a:hover { color: var(--orange-2); }
:root[data-theme="light"] .contact-line a:hover { color: var(--orange-3); }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.6rem; }

.contact-form {
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--txt);
  background: var(--field-bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.85em 1em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 138, 29, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--placeholder); }

.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--foot-bg); }

.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 2.6rem;
  margin-bottom: 2.8rem;
}
.foot-logo { height: 42px; width: auto; margin-bottom: 1.1rem; }
.foot-tag { color: var(--muted); font-size: 0.92rem; line-height: 1.55; max-width: 34ch; margin-bottom: 1.3rem; }

.foot-social { display: flex; gap: 0.7rem; }
.foot-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.foot-social a:hover { color: var(--orange-2); border-color: var(--orange-2); transform: translateY(-2px); }
:root[data-theme="light"] .foot-social a:hover { color: var(--orange-3); border-color: var(--orange-3); }
.foot-social svg { width: 17px; height: 17px; }

.foot-col h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 0.92rem; padding: 0.26rem 0; line-height: 1.55; }
.foot-col a { transition: color 0.2s ease; }
.foot-col a:hover { color: var(--orange-2); }
:root[data-theme="light"] .foot-col a:hover { color: var(--orange-3); }
/* CTA button: high specificity so the .foot-col block rules don't stretch it */
.foot-cta { margin-top: 1.15rem; }
.foot-col a.foot-cta {
  display: inline-flex;
  width: auto;
  padding: 0.7em 1.6em;
  font-size: 0.9rem;
  color: #14100a;
}
.foot-col a.foot-cta:hover { color: #14100a; }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.foot-bottom p { font-size: 0.83rem; color: var(--muted-2); }

@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .foot-bottom { flex-direction: column; }
}

/* ---------- LinkedIn section CTA (awards / media) ---------- */
.li-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.6rem auto 0;
  max-width: 620px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.li-cta:hover {
  transform: translateY(-3px);
  border-color: #0a66c2;
  box-shadow: 0 18px 38px -20px rgba(10, 102, 194, 0.5);
}
.li-cta-ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0a66c2;
}
.li-cta-ic svg { width: 26px; height: 26px; }
.li-cta-txt { display: flex; flex-direction: column; gap: 0.15rem; }
.li-cta-txt strong { font-family: var(--font-head); font-size: 1rem; color: var(--txt); font-weight: 600; }
.li-cta-txt small { font-size: 0.84rem; color: var(--muted); line-height: 1.4; }
.li-cta-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}
.li-cta:hover .li-cta-arrow { color: #0a66c2; transform: translateX(4px); }

@media (max-width: 480px) {
  .li-cta { flex-wrap: wrap; }
  .li-cta-arrow { display: none; }
}

/* ---------- Reveal animations (hidden state only when JS is running) ---------- */

.reveal {
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

/* 11-chapter nav needs the drawer earlier than phones */
@media (max-width: 1240px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(78vw, 340px);
    background: var(--drawer-bg);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--head-h) + 1.4rem) 2.5rem 2.5rem;
    gap: 1.15rem;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s 0.35s;
    border-left: 1px solid var(--line);
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open {
    transform: none;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1);
  }
  .main-nav a:not(.btn) { font-size: 1.05rem; }
  .nav-cta { margin: 0.5rem 0 0; }
  .burger { display: flex; z-index: 101; }

  /* dropdowns expand inline inside the drawer */
  .nav-group { width: 100%; }
  .nav-trigger { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-2); cursor: pointer; padding-bottom: 0.2rem; }
  .nav-trigger svg { display: none; }
  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0.2rem 0 0.6rem 0.6rem;
    gap: 0;
  }
  .nav-menu a { padding: 0.4rem 0; font-size: 1rem; }
  .nav-menu a small { display: none; }
}

@media (max-width: 1080px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.svc { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .more-insights .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: 1fr; gap: 3rem; }
  .robot-card { max-width: 560px; margin-inline: auto; }
  .roi-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  :root { --head-h: 64px; }

  .brand-lockup { height: 32px; }
  .site-head.scrolled .brand-lockup { height: 28px; }

  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(82vw, 360px);
    background: var(--drawer-bg);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--head-h) + 1.2rem) 1.8rem 2.2rem;
    gap: 0.4rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s 0.35s;
    border-left: 1px solid var(--line);
    z-index: 99;
  }
  .main-nav.open {
    transform: none;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1);
    box-shadow: -60px 0 90px -40px rgba(0, 0, 0, 0.45), 0 0 0 100vmax rgba(6, 10, 20, 0.45);
  }
  .main-nav a:not(.btn) { font-size: 1.12rem; padding: 0.55em 0; }
  .main-nav > a:not(.btn) { border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 1.1rem 0 0; align-self: flex-start; }

  /* drawer accordions: neutralise the desktop dropdown panel */
  .nav-group { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    font-size: 1.12rem;
    color: var(--txt);
    padding: 0.55em 0;
  }
  /* Platform / Company are links; their sub-items sit expanded beneath them */
  .nav-trigger svg { display: none; }
  .nav-menu {
    position: static;
    min-width: 0;
    width: 100%;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.1rem 0 0.5rem 0.85rem;
    border-left: 2px solid var(--line-2);
    margin: 0.1rem 0 0.5rem 0.15rem;
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav-menu::before { display: none; }
  .nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { transform: none; }
  .nav-menu a { padding: 0.5rem 0.6rem; }
  .main-nav .nav-menu a { font-size: 0.98rem; }

  /* lock the page behind the open drawer */
  body.nav-locked { overflow: hidden; }

  .burger { display: flex; z-index: 101; }

  /* centre the theme toggle between the logo and the burger */
  .head-inner { position: relative; }
  .theme-toggle {
    position: absolute;
    left: 50%;
    margin-left: -20px;   /* half its 40px width; transform-free so hover can't shift it */
  }
  .theme-toggle:hover { transform: none; }

  .hero-inner { padding: 130px 0 110px; }
  .hero-sub { font-size: 1.03rem; }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(var(--shade-rgb), 0.92) 0%, rgba(var(--shade-rgb), 0.55) 45%, rgba(var(--shade-rgb), 0.25) 100%);
  }

  .section { padding: 80px 0; }

  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
  .compare-item img { height: 230px; }
  .action-row { grid-template-columns: 1fr; }
  .trust-strip img { height: 24px; max-width: 76px; }
  .roi-cards { grid-template-columns: 1fr 1fr; }
  .roi-cards .roi-out:last-child { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .contact-grid > * { min-width: 0; }
  .form-row { grid-template-columns: 1fr; }

  .marquee-track img { height: 44px; padding: 8px 16px; }

  .spec-list { grid-template-columns: 1fr; }

  .stat-row { grid-template-columns: 1fr; }
  .article-hero { padding: 130px 0 50px; }
  .article-body { padding: 50px 0 20px; }
  .more-insights .insight-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 2rem 1.6rem; }
}

@media (max-width: 560px) {
  .card-grid.four { grid-template-columns: 1fr; }
  .card-grid.svc { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .mentor-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}

/* ---------- Demo video block ---------- */

.demo-block {
  position: relative;
  margin-top: 3.2rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1120;
  box-shadow: var(--card-shadow);
}
.demo-block video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
html.js .demo-block video { opacity: 0; }
html.js .demo-block video.playing { opacity: 1; }
.robot-video, .auto-video { cursor: pointer; }
.demo-block .demo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 15, 30, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4em 1em;
}
.demo-block .demo-tag::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff4d4d;
  margin-right: 0.5em;
  animation: rec-pulse 1.6s ease-in-out infinite;
}
@keyframes rec-pulse { 50% { opacity: 0.35; } }
.demo-block .demo-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 2.2rem 1.6rem 1.2rem;
  background: linear-gradient(0deg, rgba(8, 15, 30, 0.82), transparent);
  color: #eef3fb;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.demo-block .demo-caption a { color: var(--orange-2); font-weight: 600; white-space: nowrap; }
.demo-block .demo-caption a:hover { text-decoration: underline; }

/* ---------- Robot 3D viewer ---------- */

.robot-3d {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  touch-action: none;
}
.robot-3d canvas { width: 100%; height: 100%; display: block; }
.drag-hint {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6a8d;
  pointer-events: none;
}

/* ---------- Media & achievements ---------- */

.media-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(120deg, #16305e 0%, #1c3665 55%, #27448a 100%);
  border: 1px solid rgba(146, 178, 255, 0.18);
  border-radius: 22px;
  padding: 1.4rem;
  margin: 2.4rem 0 2.6rem;
  box-shadow: var(--card-shadow);
}
.media-feature-txt { padding: 0.6rem 1rem 0.6rem 0; }
.media-feature-txt h3 { color: #eef3fb; font-size: 1.35rem; margin: 0.35rem 0 0.6rem; }
.media-feature-txt p { color: #b9c7e2; font-size: 0.95rem; margin-bottom: 1.2rem; }
.media-feature-txt .btn-ghost { border-color: rgba(238, 243, 251, 0.35); color: #eef3fb; }
.media-feature-txt .btn-ghost:hover { border-color: var(--orange-2); color: var(--orange-2); }
.media-kicker {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-2);
}

.yt-lite {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #0a1120;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.yt-lite:hover img { transform: scale(1.04); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  background: rgba(8, 15, 30, 0.25);
  transition: background 0.25s ease;
}
.yt-lite:hover .yt-play { background: rgba(8, 15, 30, 0.1); }
.yt-play::before {
  content: "";
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  box-shadow: 0 10px 30px -6px var(--glow);
  z-index: -1;
}
.yt-play { z-index: 1; }
.yt-play.sm::before { width: 44px; height: 44px; }
.yt-lite.activated .yt-play { display: none; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.media-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.media-card:hover { transform: translateY(-6px); border-color: rgba(240, 138, 29, 0.4); box-shadow: var(--card-shadow); }
.media-thumb { position: relative; height: 160px; overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumb.thumb-contain { background: linear-gradient(140deg, #16305e, #1c3665); }
.media-thumb.thumb-contain img { object-fit: contain; }
.badge-platform {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 15, 30, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.35em 0.9em;
}
.media-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.media-body h3 { font-size: 1.02rem; }
.media-body p { font-size: 0.86rem; color: var(--muted); flex: 1; }
.media-body.only-text { padding-top: 1.5rem; }

.ach-gallery {
  margin-top: 2.2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ach-track {
  display: flex;
  gap: 1.3rem;
  width: max-content;
  padding: 0.4rem 0;
  animation: marquee 60s linear infinite;
}
.ach-gallery:hover .ach-track,
.ach-gallery:focus-within .ach-track { animation-play-state: paused; }

.ach-card {
  position: relative;
  flex: 0 0 350px;
  height: 264px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #16305e 0%, #1c3665 60%, #22345c 100%);
  box-shadow: var(--card-shadow);
}
.ach-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ach-card:hover img { transform: scale(1.05); }
.ach-card .ach-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 11, 22, 0.94) 4%, rgba(6, 11, 22, 0.35) 48%, rgba(6, 11, 22, 0.05) 100%);
}
.ach-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.3rem 1.3rem;
  z-index: 1;
}
.ach-cap .ach-date {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
}
.ach-cap h4 { color: #fff; font-size: 1.12rem; line-height: 1.25; margin-top: 0.25rem; }
.ach-cap p { color: #c2cfe6; font-size: 0.82rem; margin-top: 0.3rem; }
.ach-cap a { color: var(--orange-2); font-weight: 600; }

.ach-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #14100a;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border-radius: 999px;
  padding: 0.4em 0.9em;
  box-shadow: 0 6px 16px -4px var(--glow);
}
.ach-card.no-photo { display: grid; place-items: center; text-align: center; }
.ach-card.no-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 22px, transparent 22px 44px);
}
.ach-card.no-photo .ach-trophy { font-size: 2.6rem; position: relative; z-index: 1; margin-bottom: 0.4rem; }
.ach-card.no-photo .ach-cap { position: static; padding: 0 1.6rem; }
.ach-card.no-photo h4 { font-size: 1.2rem; }

/* ---------- Awards podium (static, prize-first) ---------- */

.awards-podium {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.3rem;
  margin-top: 2.4rem;
}
.award-feature {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 138, 29, 0.45);
  min-height: 480px;
  box-shadow: 0 30px 70px -30px rgba(240, 138, 29, 0.25), var(--card-shadow);
}
.award-feature img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.award-feature:hover img { transform: scale(1.04); }
.award-feature .ach-shade {
  background: linear-gradient(0deg, rgba(6, 11, 22, 0.96) 8%, rgba(6, 11, 22, 0.42) 52%, rgba(6, 11, 22, 0.05) 100%);
}
.award-feature-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.8rem 2rem 1.9rem;
}
.award-feature-body .ach-badge { position: static; display: inline-block; margin-bottom: 0.9rem; font-size: 0.74rem; }
.award-amount {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(92deg, #ffd28f, var(--orange-2) 55%, var(--orange-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.award-feature-body h3 { color: #fff; font-size: 1.35rem; line-height: 1.25; max-width: 24ch; }
.award-feature-body p { color: #c2cfe6; font-size: 0.92rem; margin-top: 0.4rem; }

.awards-podium-side { display: grid; grid-template-rows: 1fr 1fr; gap: 1.3rem; }
.award-mini {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 138, 29, 0.35);
  background: linear-gradient(140deg, #16305e 0%, #1c3665 60%, #22345c 100%);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
}
.award-mini-trophy { font-size: 2.6rem; flex: 0 0 auto; filter: drop-shadow(0 6px 14px rgba(240, 138, 29, 0.35)); }
.award-mini h4 { color: #fff; font-size: 1.12rem; line-height: 1.3; margin-top: 0.2rem; }
.award-mini p { font-size: 0.84rem; margin-top: 0.3rem; }
.award-mini p a { color: var(--orange-2); font-weight: 600; }
.award-mini .ach-date { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-2); }
.award-mini.has-img { padding: 0; display: block; }
.award-mini.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.award-mini-cap { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1.1rem 1.4rem 1.2rem; }
.award-mini-cap h4 { color: #fff; font-size: 1.05rem; margin-top: 0.2rem; }
.award-mini-cap p { color: #c2cfe6; font-size: 0.8rem; }
.award-mini-cap .ach-badge { position: static; display: inline-block; margin-bottom: 0.5rem; font-size: 0.66rem; }
.award-mini-cap .ach-date { font-family: var(--font-head); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-2); }

.award-note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: var(--muted);
  border: 1px dashed rgba(240, 138, 29, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  display: inline-block;
}
.award-note strong { color: var(--orange-2); }
:root[data-theme="light"] .award-note strong { color: var(--orange-3); }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.award-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 200px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.award-tile:hover { transform: translateY(-4px); border-color: rgba(240, 138, 29, 0.4); }
.award-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.award-tile:hover img { transform: scale(1.05); }
.award-tile .ach-shade { background: linear-gradient(0deg, rgba(6, 11, 22, 0.92) 6%, rgba(6, 11, 22, 0.25) 55%, rgba(6, 11, 22, 0.02) 100%); }
.award-tile-cap { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 0.9rem 1.1rem 1rem; }
.award-tile-cap h4 { color: #fff; font-size: 0.95rem; line-height: 1.25; }
.award-tile-cap .ach-date { font-family: var(--font-head); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-2); }

/* ---------- Form select ---------- */

.contact-form select {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--txt);
  background-color: var(--field-bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.85em 2.4em 0.85em 1em;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23f08a1d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 138, 29, 0.15); }
.contact-form select option { background: var(--panel); color: var(--txt); }

/* ---------- UX: scroll progress + back to top + image fade ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
}
#scrollBar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  box-shadow: 0 0 12px rgba(240, 138, 29, 0.5);
}

.to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 250;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--head-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--txt);
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease, color 0.2s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--orange); color: var(--orange-2); }
:root[data-theme="light"] .to-top:hover { color: var(--orange-3); }

html.js img[loading="lazy"] { opacity: 0; transition: opacity 0.55s ease; }
html.js img[loading="lazy"].ld { opacity: 1; }

/* ---------- Lightbox gallery ---------- */

.has-gallery { cursor: zoom-in; }
.gallery-count {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(8, 15, 30, 0.62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.32em 0.7em;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.gallery-count::before {
  content: "";
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='14' height='14' rx='2'/%3E%3Cpath d='M21 7v12a2 2 0 0 1-2 2H7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='14' height='14' rx='2'/%3E%3Cpath d='M21 7v12a2 2 0 0 1-2 2H7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 8, 16, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  padding: 4vh 4vw;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.lb-stage {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lb-figure {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 14px;
  border: 1px solid rgba(146, 178, 255, 0.2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  background: #0a1120;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lb-img.ready { opacity: 1; transform: none; }
.lb-cap {
  font-size: 0.92rem;
  color: #c2cfe6;
  text-align: center;
  max-width: 70ch;
}
.lb-cap strong { color: #fff; font-family: var(--font-head); }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 15, 30, 0.6);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.lb-btn:hover { background: rgba(240, 138, 29, 0.9); border-color: var(--orange); color: #14100a; }
.lb-prev { left: -8px; }
.lb-next { right: -8px; }
.lb-close {
  position: absolute;
  top: -6px; right: -6px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 15, 30, 0.6);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close:hover { background: rgba(240, 138, 29, 0.9); color: #14100a; }
.lb-dots { display: flex; gap: 0.5rem; }
.lb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-dot.on { background: var(--orange-2); transform: scale(1.3); }
.lb-single .lb-prev, .lb-single .lb-next, .lb-single .lb-dots { display: none; }

@media (max-width: 640px) {
  .lb-prev { left: 2px; } .lb-next { right: 2px; }
  .lb-btn { width: 44px; height: 44px; font-size: 1.2rem; }
  .lb-close { top: -40px; right: 0; }
}

/* ---------- Solution: turntable + video block ---------- */
.robot-card .robot-video { border-radius: 12px; }

/* ---------- Trace decorations (layout lines over the page) ---------- */

.trace-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 260px, 260px 100%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.trace-decor svg {
  position: absolute;
  width: 54px;
  color: var(--orange);
  opacity: 0.5;
}
.trace-decor svg:nth-of-type(1) { top: 244px; left: 6%; transform: rotate(-8deg); }
.trace-decor svg:nth-of-type(2) { bottom: 240px; right: 5%; transform: rotate(6deg); }
.section { overflow: hidden; }

/* ---------- Investors ---------- */

.inv-hero {
  padding: 170px 0 70px;
  background:
    radial-gradient(1000px 520px at 82% 8%, rgba(39, 68, 138, 0.55) 0%, transparent 60%),
    linear-gradient(150deg, #101f3e 0%, #16305e 55%, #1c3665 100%);
  border-bottom: 1px solid rgba(146, 178, 255, 0.15);
  position: relative;
}
:root[data-theme="light"] .inv-hero {
  background:
    radial-gradient(1000px 520px at 82% 8%, rgba(39, 68, 138, 0.18) 0%, transparent 60%),
    linear-gradient(150deg, #eef2fa 0%, #e3eaf7 60%, #dce6f5 100%);
  border-bottom: 1px solid var(--line);
}
.inv-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 17ch; margin-bottom: 0.4em; color: #eef3fb; }
:root[data-theme="light"] .inv-hero h1 { color: var(--txt); }
.inv-hero .lead { max-width: 600px; color: #b9c7e2; font-size: 1.12rem; margin-bottom: 2rem; }
:root[data-theme="light"] .inv-hero .lead { color: var(--muted); }

.inv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.6rem;
}
.inv-stat {
  border: 1px solid rgba(146, 178, 255, 0.2);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  background: rgba(8, 15, 30, 0.35);
  backdrop-filter: blur(6px);
}
:root[data-theme="light"] .inv-stat { background: rgba(255, 255, 255, 0.65); border-color: var(--line); }
.inv-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--orange-2);
}
:root[data-theme="light"] .inv-stat strong { color: var(--orange-3); }
.inv-stat span { font-size: 0.8rem; color: #b9c7e2; }
:root[data-theme="light"] .inv-stat span { color: var(--muted); }

.timeline { position: relative; margin-top: 2.5rem; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--orange) 10%, var(--orange) 90%, transparent);
  opacity: 0.5;
}
.tl-item { position: relative; padding: 0 0 1.7rem; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -26px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--orange);
}
.tl-item h3 { font-size: 1.05rem; }
.tl-item .tl-date {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
}
:root[data-theme="light"] .tl-item .tl-date { color: var(--orange-3); }
.tl-item p { color: var(--muted); font-size: 0.92rem; max-width: 60ch; }

/* ---------- Aurora: slow-drifting brand gradients ---------- */

.inv-hero { overflow: hidden; }
.inv-hero::before,
.media-feature::before,
.consult-banner::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 58vw;
  height: 58vw;
  max-width: 860px;
  max-height: 860px;
  top: -28%;
  right: -14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(240, 138, 29, 0.20), transparent 58%),
    radial-gradient(circle at 72% 68%, rgba(64, 110, 220, 0.38), transparent 64%);
  filter: blur(70px);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}
.consult-banner::before { width: 40vw; height: 40vw; top: -60%; right: -6%; opacity: 0.8; }
:root[data-theme="light"] .inv-hero::before,
:root[data-theme="light"] .media-feature::before,
:root[data-theme="light"] .consult-banner::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(240, 138, 29, 0.16), transparent 58%),
    radial-gradient(circle at 72% 68%, rgba(64, 110, 220, 0.16), transparent 64%);
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  100% { transform: translate3d(-14%, 12%, 0) scale(1.3) rotate(28deg); }
}
.media-feature { position: relative; overflow: hidden; }
.media-feature > * { position: relative; z-index: 1; }

/* ---------- Consulting banner (5th service) ---------- */

.consult-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  padding: 1.9rem 2.2rem;
  border-radius: 22px;
  border: 1px solid rgba(146, 178, 255, 0.18);
  background: linear-gradient(120deg, #16305e 0%, #1c3665 55%, #27448a 100%);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.consult-banner:hover { transform: translateY(-4px); border-color: rgba(240, 138, 29, 0.5); }
.consult-banner > * { position: relative; z-index: 1; }
.consult-banner h3 { color: #eef3fb; font-size: 1.4rem; margin: 0.35rem 0 0.4rem; }
.consult-banner p { color: #b9c7e2; font-size: 0.95rem; max-width: 58ch; }

/* ---------- Consulting case studies ---------- */

.case {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  padding: 2.2rem 2.2rem 2rem;
  margin-top: 2.2rem;
  box-shadow: var(--card-shadow);
}
.case-head { display: flex; gap: 1.3rem; align-items: flex-start; margin-bottom: 1.6rem; }
.case-num {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange-2);
  background: var(--bg);
  border: 1px solid rgba(240, 138, 29, 0.45);
  border-radius: 14px;
}
:root[data-theme="light"] .case-num { color: var(--orange-3); background: #fff; }
.case-head h3 { font-size: 1.45rem; }
.case-tags {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}
.case > p { color: var(--muted); max-width: 72ch; }

.case-media { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.1rem; margin: 1.6rem 0; }
.case-media img, .case-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}
.case-hero { min-height: 320px; background: #0a1120; }
.case-side { display: grid; grid-template-rows: 1fr 1fr; gap: 1.1rem; }

.cad-3d {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(240, 138, 29, 0.35);
  background: radial-gradient(500px 260px at 50% 30%, rgba(39, 68, 138, 0.35), transparent 70%), #0c1524;
  min-height: 200px;
  touch-action: none;
  overflow: hidden;
}
.cad-3d canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.cad-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #14100a;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border-radius: 999px;
  padding: 0.35em 0.85em;
}
.cad-3d .drag-hint { color: #8fa2c4; z-index: 1; }
.cad-3d:not(.loaded)::after {
  content: "Loading CAD…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: #8fa2c4;
}
.cad-3d.loaded::after { content: none; }

.case-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.4rem; }
.case-points li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field-bg-2);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.case-points li strong { display: block; color: var(--txt); font-family: var(--font-head); margin-bottom: 0.2rem; }

/* ---------- New components: responsive ---------- */

@media (max-width: 1080px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .media-feature { grid-template-columns: 1fr; }
  .media-feature-txt { padding: 0.4rem 0.6rem 0.8rem; }
  .inv-stats { grid-template-columns: repeat(2, 1fr); }
  .case-media { grid-template-columns: 1fr; }
  .case-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .cad-3d { min-height: 240px; }
  .case-points { grid-template-columns: 1fr; }
  .awards-podium { grid-template-columns: 1fr; }
  .award-feature { min-height: 380px; }
  .awards-podium-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .award-mini { min-height: 190px; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .media-grid { grid-template-columns: 1fr; }
  .case-side { grid-template-columns: 1fr; }
  .case { padding: 1.5rem 1.2rem; }
  .awards-podium-side { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .award-feature { min-height: 320px; }
  .to-top { bottom: 18px; right: 18px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ach-gallery { overflow-x: auto; }
  .ach-track { animation: none; }
  .inv-hero::before, .media-feature::before, .consult-banner::before { animation: none; }
  .hero.no-3d .hero-fallback { animation: none; }
  .wheel { animation: none; }
  .why-band::after { animation: none; }
  .demo-block .demo-tag::before { animation: none; }
  .demo-block video { opacity: 1; transition: none; }
  * { transition-duration: 0.01ms !important; }
}


/* ================= v14 additions ================= */

/* ---------- Metric cards (replaces the orange band) ---------- */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 2.4rem;
}
.metric-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.metric-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-2) 55%, transparent 100%);
}
.metric-card:hover { transform: translateY(-5px); border-color: rgba(240, 138, 29, 0.45); box-shadow: var(--card-shadow); }
.metric-card strong {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange-2);
}
:root[data-theme="light"] .metric-card strong { color: var(--orange-3); }
.metric-card > span { font-size: 0.95rem; font-weight: 500; color: var(--muted); line-height: 1.35; }
.metrics-note { margin-top: 1.7rem; font-size: 0.88rem; color: var(--muted); }
.metrics-note a { color: var(--orange-2); font-weight: 600; }
.metrics-note a:hover { text-decoration: underline; }
:root[data-theme="light"] .metrics-note a { color: var(--orange-3); }

/* ---------- Media subsections + featured card ---------- */

.media-sub {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  margin: 2.8rem 0 1.2rem;
}
.msub-ic {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  font-size: 0.78rem;
  color: var(--orange-2);
  background: rgba(240, 138, 29, 0.13);
  border: 1px solid rgba(240, 138, 29, 0.35);
}
:root[data-theme="light"] .msub-ic { color: var(--orange-3); }
.media-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.media-grid.has-featured { grid-auto-flow: dense; }
.media-featured { grid-column: span 2; grid-row: span 2; border-color: rgba(240, 138, 29, 0.45); }
.media-featured .media-thumb { height: auto; flex: 1; min-height: 300px; }
.media-featured .media-body h3 { font-size: 1.35rem; }
.media-featured .media-body p { font-size: 0.95rem; max-width: 60ch; }
/* last cell: a horizontal strip so the row fills without a stretched thumb */
.media-grid.has-featured .media-card:last-child { grid-column: span 2; flex-direction: row; }
.media-grid.has-featured .media-card:last-child .media-thumb { height: auto; flex: 0 0 40%; min-height: 170px; }
.media-grid.has-featured .media-card:last-child .media-body { flex: 1; }

.media-grid.articles-row { grid-template-columns: repeat(2, 1fr); }
.media-grid.articles-row .media-card { flex-direction: row; }
.media-grid.articles-row .media-thumb { height: auto; flex: 0 0 42%; min-height: 150px; }
.media-grid.articles-row .media-body { flex: 1; }

/* ---------- Theme-adaptive blue surfaces (light mode) ---------- */

:root[data-theme="light"] .media-feature,
:root[data-theme="light"] .consult-banner {
  background: linear-gradient(120deg, #eaf1fd 0%, #dfe9fb 55%, #cfdff8 100%);
  border-color: rgba(22, 48, 94, 0.16);
}
:root[data-theme="light"] .media-feature-txt h3,
:root[data-theme="light"] .consult-banner h3 { color: #16305e; }
:root[data-theme="light"] .media-feature-txt p,
:root[data-theme="light"] .consult-banner p { color: #46587e; }
:root[data-theme="light"] .media-feature-txt .btn-ghost {
  border-color: rgba(22, 48, 94, 0.35);
  color: #16305e;
  background: rgba(255, 255, 255, 0.55);
}
:root[data-theme="light"] .media-feature-txt .btn-ghost:hover { border-color: var(--orange-3); color: var(--orange-3); }
:root[data-theme="light"] .award-mini:not(.has-img) {
  background: linear-gradient(140deg, #eaf1fd 0%, #dfe9fb 60%, #cfdff8 100%);
}
:root[data-theme="light"] .award-mini:not(.has-img) h4 { color: #16305e; }
:root[data-theme="light"] .award-mini:not(.has-img) p { color: #46587e; }
:root[data-theme="light"] .media-thumb.thumb-contain { background: linear-gradient(140deg, #eaf1fd, #cfdff8); }

/* ---------- Investors: $500K hook stat ---------- */

.inv-stat-cta {
  cursor: pointer;
  text-decoration: none;
  border-color: rgba(240, 138, 29, 0.55);
  background: linear-gradient(160deg, rgba(240, 138, 29, 0.16), rgba(240, 138, 29, 0.04));
  animation: stat-pulse 3.2s ease infinite;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.inv-stat-cta:hover { transform: translateY(-4px); border-color: var(--orange-2); box-shadow: 0 14px 34px rgba(240, 138, 29, 0.28); animation: none; }
.inv-stat-cta em {
  display: block;
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange-2);
  margin-top: 0.5rem;
}
:root[data-theme="light"] .inv-stat-cta { background: linear-gradient(160deg, rgba(240, 138, 29, 0.14), rgba(255, 255, 255, 0.6)); }
:root[data-theme="light"] .inv-stat-cta em { color: var(--orange-3); }
@keyframes stat-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 138, 29, 0.30); }
  55% { box-shadow: 0 0 0 12px rgba(240, 138, 29, 0); }
}

/* ---------- v14 responsive ---------- */

@media (max-width: 1080px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .media-featured { grid-column: span 2; }
}
@media (max-width: 560px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card { padding: 1.6rem 1.4rem 1.5rem; }
  .media-featured,
  .media-grid.has-featured .media-card:last-child { grid-column: auto; grid-row: auto; flex-direction: column; }
  .media-grid.has-featured .media-card:last-child .media-thumb { flex: none; height: 170px; }
  .media-featured .media-thumb { min-height: 200px; }
  .media-grid.articles-row { grid-template-columns: 1fr; }
  .media-grid.articles-row .media-card { flex-direction: column; }
  .media-grid.articles-row .media-thumb { flex: none; height: 170px; }
  .mentor-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .inv-stat-cta { animation: none; }
}


/* ================= v15 additions ================= */

/* ---------- MEDI1TV branded gradient thumb (real frame pending) ---------- */
.thumb-brand {
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #16305e 0%, #1c3665 55%, #27448a 100%);
}
.thumb-brand .brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 1.75rem;
  color: #eef3fb;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
:root[data-theme="light"] .thumb-brand { background: linear-gradient(120deg, #eaf1fd 0%, #dfe9fb 55%, #cfdff8 100%); }
:root[data-theme="light"] .thumb-brand .brand-word { color: #16305e; text-shadow: none; }

/* ---------- Signature gradient, reused (the hero blue you liked) ---------- */
#contact {
  position: relative;
  background:
    radial-gradient(1100px 620px at 80% 24%, var(--hero-tint-a) 0%, transparent 60%),
    radial-gradient(900px 720px at 8% 92%, var(--hero-tint-b) 0%, transparent 55%),
    var(--bg);
}
.site-foot {
  position: relative;
  background:
    radial-gradient(900px 500px at 88% 0%, var(--hero-tint-a) 0%, transparent 62%),
    var(--foot-bg, var(--bg-2, var(--bg)));
}

/* ---------- Ambient 3D hero scenes (investors / consulting) ---------- */
.ambient-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Polish: primary button sheen sweep ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* ---------- Polish: on-brand scrollbar ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--navy) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--navy), #23385f);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--orange-3); }
:root[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b9c6de, #9fb0ca);
}
:root[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: var(--orange-2); }

/* ---------- Polish: card hover glow (dark gets embers, light stays crisp) ---------- */
.media-card:hover,
.insight-card:hover,
.member:hover,
.mentor:hover {
  box-shadow:
    0 24px 44px -18px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(240, 138, 29, 0.18),
    0 0 34px -6px rgba(240, 138, 29, 0.22);
}
:root[data-theme="light"] .media-card:hover,
:root[data-theme="light"] .insight-card:hover,
:root[data-theme="light"] .member:hover,
:root[data-theme="light"] .mentor:hover {
  box-shadow:
    0 24px 44px -20px rgba(27, 42, 74, 0.24),
    0 0 0 1px rgba(237, 125, 22, 0.25);
}
