/* ==========================================================================
   PBNC — AI-powered education & skill development
   style.css

   Architecture
     1  Brand constants        — never change with theme
     2  Semantic tokens        — light (:root) / dark (html[data-theme="dark"])
     3  Feature-dark scope     — .on-dark remaps the semantic tokens for the
                                 deep-navy environments (hero, AI-GOS, quiz,
                                 contact, footer, dark panels, mobile menu)
     4  Theme-switch fade
     5  Base + the continuous ground
     6  Surface bands & light/dark ramps
     7+ Components & sections
     24 Reduced motion

   Components never hardcode a theme colour: they consume var(--surface),
   var(--text), var(--border)… and therefore adapt automatically in light
   mode, dark mode and inside dark feature environments.
   (breakpoint overrides live in responsive.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand constants — stable in every theme
   -------------------------------------------------------------------------- */
:root {
  --brand-navy: #08264A;
  --brand-navy-deep: #071B33;
  --brand-navy-soft: #0D3768;
  --brand-orange: #F28A00;
  --brand-orange-soft: #FFB255;
  --brand-green: #3C7B27;
  --brand-green-soft: #6FB055;

  /* readable ink on a saturated brand fill */
  --on-brand: #FFFFFF;
  --on-accent: #2A1400;

  /* layout */
  --shell: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 11vw, 168px);
  --band-edge: clamp(70px, 10vw, 150px);   /* light band fade in / out */
  --ramp: clamp(140px, 18vw, 260px);       /* light <-> dark transition depth */

  /* radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* motion */
  --ease: cubic-bezier(.22, .8, .28, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --theme-t: 220ms;
}

/* --------------------------------------------------------------------------
   2a. Semantic tokens — LIGHT
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* surfaces: one ground plus three tonal bands */
  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --surface-soft: #EDF2F9;
  --surface-elevated: #FFFFFF;
  --surface-sunken: #EEF2F8;

  /* the deep brand environment */
  --feature: #071B33;
  --feature-2: #0A2C55;
  --feature-deep: #050F1F;
  --feature-haze: rgba(9, 32, 60, .72);

  /* text */
  --heading: #08264A;
  --text: #10233D;
  --text-muted: #55677E;   /* 5.7:1 on --surface */
  --text-subtle: #63728A;  /* 4.8:1 on --surface, 4.5:1 on --bg */

  /* lines */
  --border: #E4EAF2;
  --border-strong: #D2DDEA;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(8, 38, 74, .04), 0 4px 16px rgba(8, 38, 74, .045);
  --shadow-md: 0 14px 40px rgba(8, 38, 74, .09);
  --shadow-lg: 0 34px 90px rgba(8, 38, 74, .14);

  /* inverted hover fill */
  --invert-bg: var(--brand-navy);
  --invert-fg: #FFFFFF;

  /* state */
  --focus: var(--brand-orange);
  --selection-bg: var(--brand-orange);
  --selection-fg: #FFFFFF;
  --warn: #D0705B;
  --warn-soft: #F0B1A4;

  /* buttons */
  --btn-primary-bg: var(--brand-navy);
  --btn-primary-bg-hover: var(--brand-navy-soft);
  --btn-primary-fg: #FFFFFF;
  --btn-primary-shadow: 0 10px 26px rgba(8, 38, 74, .22);
  --btn-primary-shadow-hover: 0 18px 40px rgba(8, 38, 74, .28);

  /* header */
  --header-bg: rgba(255, 255, 255, .78);
  --header-border: rgba(8, 38, 74, .08);
  --header-shadow: 0 10px 40px rgba(8, 38, 74, .06);
  --header-link: #55688A;
  --header-link-strong: var(--brand-navy);

  /* the shared page atmosphere that ties neighbouring bands together */
  --atmo-warm: rgba(242, 138, 0, .055);
  --atmo-cool: rgba(45, 110, 200, .06);

  /* ambient glows inside dark environments */
  --glow-orange: rgba(242, 138, 0, .30);
  --glow-blue: rgba(45, 110, 200, .28);
  --glow-green: rgba(60, 123, 39, .22);
  --glow-orange-soft: rgba(242, 138, 0, .13);
  --glow-blue-soft: rgba(45, 110, 200, .16);

  /* diagram ink (hero graph + AI-GOS canvas) */
  --graph-node-fill: #0D2C50;
  --graph-node-stroke: #79A6DC;
  --graph-edge: #5B8AC4;
  --graph-spoke: #7FA6D8;
  --graph-label: #90AACD;
  --graph-orbit: rgba(255, 255, 255, .09);
  --graph-mesh: rgba(255, 255, 255, .028);
  --panel-solid: rgba(9, 34, 62, .92);
  --panel-tint: rgba(7, 27, 51, .5);
  --bar-blue-1: #4B8FD8;
  --bar-blue-2: #79B6F2;
}

/* --------------------------------------------------------------------------
   2b. Semantic tokens — DARK
   Not an inversion: the same hierarchy in a deeper navy environment.
   -------------------------------------------------------------------------- */
html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #060D18;
  --surface: #0A1523;
  --surface-soft: #0D1E31;
  --surface-elevated: #112640;
  --surface-sunken: #08121F;

  --feature: #03080F;
  --feature-2: #0A1E36;
  --feature-deep: #01040A;
  --feature-haze: rgba(5, 14, 26, .8);

  --heading: #F2F8FF;
  --text: #E4EDF7;
  --text-muted: #9DB3CE;
  --text-subtle: #7C93AE;  /* 4.8:1 on --surface-elevated */

  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .17);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .34), 0 4px 16px rgba(0, 0, 0, .26);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .42);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .52);

  --invert-bg: #E4EDF7;
  --invert-fg: #08121F;

  --selection-fg: #2A1400;
  --warn: #E88E78;
  --warn-soft: #C97460;

  --btn-primary-bg: #17416F;
  --btn-primary-bg-hover: #1D5288;
  --btn-primary-fg: #FFFFFF;
  --btn-primary-shadow: 0 10px 26px rgba(0, 0, 0, .4);
  --btn-primary-shadow-hover: 0 18px 40px rgba(0, 0, 0, .5);

  --header-bg: rgba(8, 19, 33, .8);
  --header-border: rgba(255, 255, 255, .08);
  --header-shadow: 0 10px 40px rgba(0, 0, 0, .38);
  --header-link: #90A7C3;
  --header-link-strong: #F2F8FF;

  --atmo-warm: rgba(242, 138, 0, .10);
  --atmo-cool: rgba(45, 110, 200, .11);

  --glow-orange: rgba(242, 138, 0, .26);
  --glow-blue: rgba(40, 100, 185, .26);
  --glow-green: rgba(60, 123, 39, .20);
  --glow-orange-soft: rgba(242, 138, 0, .12);
  --glow-blue-soft: rgba(40, 100, 185, .15);

  --graph-node-fill: #0B2440;
  --graph-node-stroke: #6E9BD2;
  --graph-edge: #4E7DB6;
  --graph-spoke: #6D97CB;
  --graph-label: #8AA5C8;
  --graph-orbit: rgba(255, 255, 255, .07);
  --graph-mesh: rgba(255, 255, 255, .022);
  --panel-solid: rgba(6, 20, 38, .94);
  --panel-tint: rgba(2, 8, 16, .5);
  --bar-blue-1: #3E7EC4;
  --bar-blue-2: #6FACEA;
}

/* --------------------------------------------------------------------------
   3. Feature-dark scope
   Any region marked .on-dark re-points the semantic tokens at their
   dark-environment values, so every component inside adapts without a
   single "--light" modifier class.
   -------------------------------------------------------------------------- */
.on-dark {
  --surface: rgba(255, 255, 255, .05);
  --surface-soft: rgba(255, 255, 255, .03);
  --surface-elevated: rgba(255, 255, 255, .07);
  --surface-sunken: rgba(0, 0, 0, .18);

  --heading: #FFFFFF;
  --text: #E8F0FA;
  --text-muted: #9DB3CE;
  --text-subtle: #7F9CC0;

  --border: rgba(255, 255, 255, .12);
  --border-strong: rgba(255, 255, 255, .24);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .26);
  --shadow-md: 0 16px 44px rgba(2, 8, 18, .4);
  --shadow-lg: 0 34px 90px rgba(2, 8, 18, .5);

  --invert-bg: #FFFFFF;
  --invert-fg: var(--brand-navy);

  --warn: #F0B1A4;
  --warn-soft: #F19A8A;

  color: var(--text);
}

html[data-theme="dark"] .on-dark {
  --surface: rgba(255, 255, 255, .035);
  --surface-soft: rgba(255, 255, 255, .02);
  --surface-elevated: rgba(255, 255, 255, .055);

  --heading: #F4F9FF;
  --text: #DCE8F5;
  --text-muted: #92A9C4;
  --text-subtle: #6E86A2;

  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .17);
}

/* --------------------------------------------------------------------------
   4. Theme-switch fade
   Declared early on purpose: any component that owns a `transition` keeps
   it, so this never fights the reveal / storytelling animations.
   -------------------------------------------------------------------------- */
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition-property: background-color, background-image, border-color, color, fill, stroke, box-shadow, outline-color;
  transition-duration: var(--theme-t);
  transition-timing-function: var(--ease-soft);
  transition-delay: 0s;
}

/* --------------------------------------------------------------------------
   5. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;

  /* one continuous ground + the shared PBNC atmosphere. Fixed attachment
     means neighbouring sections sit in the same light field. */
  background-color: var(--bg);
  background-image:
    radial-gradient(58vw 46vw at 84% 6%, var(--atmo-warm), transparent 68%),
    radial-gradient(64vw 52vw at 6% 68%, var(--atmo-cool), transparent 68%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--selection-bg); color: var(--selection-fg); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--btn-primary-bg); color: var(--btn-primary-fg);
  font-weight: 700; font-size: 14px;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Icon defaults. Large narrative SVGs opt out below. */
svg {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.graph, .agx, .loop__svg { width: 100%; height: auto; fill: none; stroke: none; stroke-width: 0; }

/* --------------------------------------------------------------------------
   6. Layout primitives + the surface / seam system
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: 80px;
}

/* Light bands never butt against each other: each fades up out of the page
   ground and back down into it, so there is no hard horizontal edge
   anywhere between two light sections. */
.section--surface {
  background: linear-gradient(180deg,
    transparent 0,
    var(--surface) var(--band-edge),
    var(--surface) calc(100% - var(--band-edge)),
    transparent 100%);
}
.section--soft {
  background: linear-gradient(180deg,
    transparent 0,
    var(--surface-soft) var(--band-edge),
    var(--surface-soft) calc(100% - var(--band-edge)),
    transparent 100%);
}
/* the page ground itself, uninterrupted */
.section--base { background: transparent; }

/* Deep brand environments */
.section--feature { background: var(--feature); }

/* Light -> dark and dark -> light happen across a long ramp that begins
   before the next section visibly starts. */
.enter-dark::before {
  content: "";
  position: absolute; left: 0; right: 0;
  top: calc(-1 * var(--ramp)); height: var(--ramp);
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(64% 130% at 50% 100%, var(--glow-orange-soft), transparent 70%),
    linear-gradient(180deg, transparent 0, var(--feature-haze) 62%, var(--feature) 100%);
}
.exit-dark::after {
  content: "";
  position: absolute; left: 0; right: 0;
  bottom: calc(-1 * var(--ramp)); height: var(--ramp);
  z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--feature) 0, var(--feature-haze) 38%, transparent 100%);
}

/* --------------------------------------------------------------------------
   7. Typography
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--heading);
}

.h2 {
  font-size: clamp(30px, 3.9vw, 52px);
  line-height: 1.1;
  letter-spacing: -.028em;
  font-weight: 800;
  color: var(--heading);
}

.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.kicker--accent { color: var(--brand-orange-soft); }

.lead {
  font-size: clamp(16px, 1.25vw, 18.5px);
  color: var(--text-muted);
  max-width: 56ch;
}

.section-head { margin-bottom: clamp(44px, 5vw, 76px); max-width: 900px; }
.section-head .lead { margin-top: 20px; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.section-head--split .lead { margin-top: 0; }
.section-head--split .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   8. Buttons & chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease),
              background-color .32s var(--ease), border-color .32s var(--ease), color .32s var(--ease);
  will-change: transform;
}
.btn__icon, .btn svg { width: 18px; height: 18px; transition: transform .32s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

.btn--primary {
  background: var(--btn-primary-bg); color: var(--btn-primary-fg);
  box-shadow: var(--btn-primary-shadow);
}
.btn--primary:hover { background: var(--btn-primary-bg-hover); box-shadow: var(--btn-primary-shadow-hover); }

.btn--accent {
  background: var(--brand-orange); color: var(--on-accent);
  box-shadow: 0 12px 30px rgba(242, 138, 0, .3);
}
.btn--accent:hover { background: var(--brand-orange-soft); box-shadow: 0 18px 44px rgba(242, 138, 0, .38); }

/* ghost only ever appears inside a dark environment: it reads .on-dark */
.btn--ghost { color: var(--heading); border-color: var(--border-strong); background: var(--surface-soft); }
.btn--ghost:hover { border-color: var(--heading); background: var(--surface-elevated); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--surface); color: var(--heading);
  transition: background-color .32s var(--ease), border-color .32s var(--ease), color .32s var(--ease);
}
.eyebrow--dark {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 5px rgba(242, 138, 0, .18);
  animation: pulseDot 2.8s var(--ease-soft) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 138, 0, .2); }
  50%      { box-shadow: 0 0 0 9px rgba(242, 138, 0, 0); }
}

/* --------------------------------------------------------------------------
   9. Animation system — Layer 2: section reveals
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity .85s var(--ease) calc(var(--d, 0) * 90ms),
    transform .85s var(--ease) calc(var(--d, 0) * 90ms),
    filter .85s var(--ease) calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

[data-anim="hero"] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  transition:
    opacity .9s var(--ease) calc(var(--d) * 110ms + 120ms),
    transform .9s var(--ease) calc(var(--d) * 110ms + 120ms),
    filter .9s var(--ease) calc(var(--d) * 110ms + 120ms);
}
.is-ready [data-anim="hero"] { opacity: 1; transform: none; filter: none; }

/* --------------------------------------------------------------------------
   10. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;

  /* over the hero the header is always inside the dark environment */
  --nav-ink: rgba(255, 255, 255, .78);
  --nav-ink-strong: #FFFFFF;
}
.site-header__inner {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  height: 88px;
  transition: height .4s var(--ease);
}

.site-header.is-stuck {
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--header-border);
  box-shadow: var(--header-shadow);

  --nav-ink: var(--header-link);
  --nav-ink-strong: var(--header-link-strong);
}
.site-header.is-stuck .site-header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; object-fit: contain;
  transition: transform .5s var(--ease), width .4s var(--ease), height .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__word {
  font-size: 20px; font-weight: 800; letter-spacing: .2em;
  color: var(--nav-ink-strong); transition: color .4s var(--ease);
}
.site-header.is-stuck .brand__mark { width: 36px; height: 36px; }

.nav__list { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav__list a {
  position: relative;
  font-size: 14.5px; font-weight: 600;
  color: var(--nav-ink);
  padding: 8px 2px;
  transition: color .3s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1.5px; background: var(--brand-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a:hover, .nav__list a.is-active { color: var(--nav-ink-strong); }

.site-header__cta { padding: 11px 20px; font-size: 14px; }
.site-header:not(.is-stuck) .site-header__cta {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
  color: #FFFFFF;
  box-shadow: none;
}
.site-header:not(.is-stuck) .site-header__cta:hover { background: rgba(255, 255, 255, .18); }

/* --- theme toggle --- */
.theme-toggle {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--nav-ink);
  color: var(--nav-ink-strong);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.theme-toggle__icon {
  grid-area: 1 / 1;
  width: 19px; height: 19px;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.theme-toggle__icon--moon { opacity: 0; transform: rotate(-70deg) scale(.6); }
.theme-toggle__icon--sun  { opacity: 1; transform: none; }
html[data-theme="dark"] .theme-toggle__icon--moon { opacity: 1; transform: none; }
html[data-theme="dark"] .theme-toggle__icon--sun  { opacity: 0; transform: rotate(70deg) scale(.6); }

/* hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; place-items: center; border-radius: 50%; }
.nav-toggle__box { display: block; position: relative; width: 22px; height: 14px; }
.nav-toggle__box i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--nav-ink-strong);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background-color .4s var(--ease);
}
.nav-toggle__box i:first-child { top: 0; }
.nav-toggle__box i:last-child { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:last-child { transform: translateY(-6px) rotate(-45deg); }

/* while the overlay is open the header sits on the dark menu surface,
   whatever scroll state it was in */
body.is-locked .site-header {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  --nav-ink: rgba(255, 255, 255, .78);
  --nav-ink-strong: #FFFFFF;
}

/* mobile overlay — a dark feature surface in both themes, tuned per theme */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(160deg, var(--feature), var(--feature-2));
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .6s var(--ease), opacity .4s var(--ease), visibility .6s;
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 44px);
}
.mobile-menu__inner { width: 100%; padding-block: 110px 40px; }
.mobile-menu__list li { border-bottom: 1px solid var(--border); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 0;
  font-size: clamp(26px, 8vw, 40px); font-weight: 800; letter-spacing: -.03em;
  color: var(--heading);
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu__list li:nth-child(1) a { transition-delay: .12s; }
.mobile-menu__list li:nth-child(2) a { transition-delay: .17s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: .22s; }
.mobile-menu__list li:nth-child(4) a { transition-delay: .27s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: .32s; }
.mobile-menu__list li:nth-child(6) a { transition-delay: .37s; }
.mobile-menu__list li:nth-child(7) a { transition-delay: .42s; }
.mobile-menu__list a:hover { color: var(--brand-orange-soft); }
.mobile-menu__num { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--brand-orange); }
.mobile-menu__foot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin-top: 36px; font-size: 15px; font-weight: 600; color: var(--text-muted);
}
.mobile-menu__foot a:hover { color: var(--heading); }
.mobile-menu__theme {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 11px 20px 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.mobile-menu__theme:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.mobile-menu__theme .theme-toggle__icons { display: grid; place-items: center; }
.mobile-menu__theme .theme-toggle__icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   11. Hero — the primary dark AI environment in both themes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--feature);
  color: var(--text);
  padding-block: clamp(140px, 17vh, 190px) clamp(90px, 12vh, 150px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--graph-mesh) 1px, transparent 1px),
    linear-gradient(90deg, var(--graph-mesh) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 42%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 42%, #000 15%, transparent 78%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__glow--orange {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  right: -6%; top: 2%;
  background: radial-gradient(circle, var(--glow-orange), transparent 66%);
  animation: drift 22s ease-in-out infinite;
}
.hero__glow--blue {
  width: 52vw; height: 52vw; max-width: 700px; max-height: 700px;
  left: -14%; top: 18%;
  background: radial-gradient(circle, var(--glow-blue), transparent 66%);
  animation: drift 28s ease-in-out infinite reverse;
}
.hero__glow--green {
  width: 30vw; height: 30vw; max-width: 400px; max-height: 400px;
  left: 34%; bottom: -12%;
  background: radial-gradient(circle, var(--glow-green), transparent 66%);
  animation: drift 34s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(2.5%, 4%, 0) scale(1.08); }
}
/* the hero clips its own overflow, so its exit ramp lives inside it */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--ramp);
  background: linear-gradient(180deg, transparent 0, var(--feature-haze) 34%, var(--bg) 100%);
  z-index: 2; pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero__title {
  margin: 26px 0 24px;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
  color: var(--heading);
}
.hero__line { display: block; }
.hero__title em { font-style: normal; color: var(--brand-orange); }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--text-muted); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero__tags li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero__tags svg { width: 17px; height: 17px; color: var(--brand-orange); }

/* --- hero intelligence graph (Layer 3: storytelling) --- */
.hero__visual { position: relative; }
.graph { overflow: visible; }

.graph__halo { opacity: 0; transition: opacity 1.2s var(--ease) .1s; }
.graph__orbit {
  stroke: var(--graph-orbit); stroke-width: 1;
  opacity: 0; transition: opacity 1s var(--ease) .45s;
}
.graph__ring { stroke: var(--graph-edge); }
.graph__spokes { stroke: var(--graph-spoke); }
.graph__edge, .graph__spoke {
  stroke-dasharray: 240; stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.graph__node circle { fill: var(--graph-node-fill); stroke: var(--graph-node-stroke); stroke-width: 1.6; }
.graph__node .graph__node-ring { fill: none; stroke: var(--graph-node-stroke); stroke-opacity: .3; stroke-width: 1; }
.graph__node { opacity: 0; transform: scale(.5); transform-origin: center; transform-box: fill-box; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.graph__label {
  fill: var(--graph-label); stroke: none;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  opacity: 0; transition: opacity .7s var(--ease);
}
.graph__core { opacity: 0; transform: scale(.6); transform-origin: 310px 282px; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.graph__core-ring { stroke: rgba(242, 138, 0, .35); stroke-width: 1; stroke-dasharray: 4 9; }
.graph__core-text { fill: var(--on-accent); stroke: none; font-size: 13.5px; font-weight: 800; letter-spacing: .12em; }
.graph__pulse { stroke-dasharray: 5 999; stroke-dashoffset: 0; opacity: 0; }
.graph__pulse--green { stroke: var(--brand-green-soft); }

/* staged activation */
.graph.is-live .graph__halo { opacity: 1; }
.graph.is-live .graph__orbit { opacity: 1; }
.graph.is-live .graph__node { opacity: 1; transform: none; transition-delay: calc(.35s + var(--d) * .07s); }
.graph.is-live .graph__label { opacity: 1; transition-delay: calc(.55s + var(--d) * .07s); }
.graph.is-live .graph__edge { stroke-dashoffset: 0; }
.graph.is-live .graph__ring .graph__edge:nth-child(1) { transition-delay: .80s; }
.graph.is-live .graph__ring .graph__edge:nth-child(2) { transition-delay: .87s; }
.graph.is-live .graph__ring .graph__edge:nth-child(3) { transition-delay: .94s; }
.graph.is-live .graph__ring .graph__edge:nth-child(4) { transition-delay: 1.01s; }
.graph.is-live .graph__ring .graph__edge:nth-child(5) { transition-delay: 1.08s; }
.graph.is-live .graph__ring .graph__edge:nth-child(6) { transition-delay: 1.15s; }
.graph.is-live .graph__ring .graph__edge:nth-child(7) { transition-delay: 1.22s; }
.graph.is-live .graph__spoke { stroke-dashoffset: 0; transition-delay: 1.25s; }
.graph.is-live .graph__core { opacity: 1; transform: none; transition-delay: 1.5s; }
.graph.is-live .graph__core-ring { animation: spin 30s linear infinite; transform-origin: 310px 282px; }
.graph.is-live .graph__core-disc { animation: coreBreathe 6s var(--ease-soft) 2s infinite; transform-origin: 310px 282px; }
.graph.is-live .graph__pulse { opacity: 1; animation: travel 8s linear var(--pd) infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes coreBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}
@keyframes travel {
  0%   { stroke-dashoffset: 190; opacity: 0; }
  6%   { opacity: 1; }
  28%  { stroke-dashoffset: 0; opacity: 1; }
  36%  { stroke-dashoffset: -30; opacity: 0; }
  100% { stroke-dashoffset: -30; opacity: 0; }
}

/* --------------------------------------------------------------------------
   12. Vision — scroll-driven word transformation
   -------------------------------------------------------------------------- */
.vision__head { max-width: 900px; }
.vision__tag {
  display: block; margin-bottom: clamp(18px, 2.6vw, 34px);
  font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted);
}
.vision__scroller { position: relative; height: 240vh; margin-top: clamp(20px, 4vw, 50px); }
.vision__pin { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; }
.vision__pin-inner { text-align: center; }

.vision__morph {
  position: relative;
  height: 1.1em;
  font-size: clamp(52px, 11vw, 148px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--heading);
}
.vision__word {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; filter: blur(18px); transform: translateY(26px) scale(.97);
  transition: opacity .75s var(--ease), filter .75s var(--ease), transform .75s var(--ease);
}
.vision__word.is-on { opacity: 1; filter: none; transform: none; }
.vision__word[data-step="3"] { color: var(--brand-orange); }

.vision__steps {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px clamp(14px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 52px);
}
.vision__steps li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-subtle);
  transition: color .5s var(--ease);
}
.vision__steps li span {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 10.5px; color: var(--text-subtle);
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.vision__steps li.is-on { color: var(--heading); }
.vision__steps li.is-on span { border-color: var(--brand-orange); background: var(--brand-orange); color: var(--on-accent); }
.vision__steps li.is-done span { border-color: var(--brand-green); color: var(--brand-green); }
.vision__steps li:not(:last-child)::after {
  content: "→"; margin-left: clamp(6px, 1.4vw, 22px); color: var(--border-strong); font-weight: 700;
}

.vision__lead {
  max-width: 60ch; margin: clamp(30px, 4vw, 48px) auto 0;
  font-size: clamp(16px, 1.3vw, 19px); color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Shift — traditional flow vs. PBNC loop
   -------------------------------------------------------------------------- */
.shift .section-head { max-width: 1060px; }

.shift__grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}
.shift__panel {
  position: relative;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.shift__panel--new {
  background: linear-gradient(165deg, var(--feature), var(--feature-2));
  box-shadow: var(--shadow-lg);
}
.shift__label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 34px;
}
.shift__label--accent { color: var(--brand-orange-soft); }

.shift__chain { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.chip {
  display: inline-flex; align-items: center;
  padding: 11px 20px; border-radius: 999px;
  background: var(--surface-sunken); border: 1px solid var(--border);
  font-size: 14.5px; font-weight: 700; color: var(--heading);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.chip--dead { background: var(--surface); border-style: dashed; color: var(--text-subtle); }
.chain-line { width: 2px; height: 26px; margin-left: 26px; background: var(--border); }
.chain-line--broken {
  position: relative; height: 44px; background: none;
  background-image: repeating-linear-gradient(180deg, var(--warn-soft) 0 5px, transparent 5px 11px);
}
.chain-line--broken i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-style: normal; white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warn);
}
.shift__gaps { margin-top: 34px; border-top: 1px solid var(--border); padding-top: 22px; }
.shift__gaps li {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0; font-size: 15px; font-weight: 600; color: var(--text-muted);
}
.shift__gaps span {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--text-subtle);
}

/* PBNC closed loop */
.loop {
  position: relative;
  width: min(340px, 88%);
  aspect-ratio: 1;
  margin: 10px auto 6px;
  --r: 122px;
}
.loop__svg { position: absolute; inset: 0; overflow: visible; }
.loop__track { stroke: var(--border); stroke-width: 1.5; }
.loop__draw {
  stroke: var(--brand-orange); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 704; stroke-dashoffset: 704;
  transform: rotate(-90deg); transform-origin: 150px 150px;
  transition: stroke-dashoffset 1.8s var(--ease) .35s;
}
.shift__panel--new.is-in .loop__draw { stroke-dashoffset: 0; }

.loop__node {
  position: absolute; top: 50%; left: 50%;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  font-size: 12.5px; font-weight: 700; color: var(--heading);
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))) translate(-50%, -50%);
  opacity: 0;
  transition: opacity .6s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.shift__panel--new.is-in .loop__node { opacity: 1; }
.shift__panel--new.is-in .loop__node:nth-of-type(1) { transition-delay: .55s; }
.shift__panel--new.is-in .loop__node:nth-of-type(2) { transition-delay: .75s; }
.shift__panel--new.is-in .loop__node:nth-of-type(3) { transition-delay: .95s; }
.shift__panel--new.is-in .loop__node:nth-of-type(4) { transition-delay: 1.15s; }
.shift__panel--new.is-in .loop__node:nth-of-type(5) { transition-delay: 1.35s; }
.shift__panel--new.is-in .loop__node:nth-of-type(6) { transition-delay: 1.55s; }

.loop__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--brand-orange-soft), var(--brand-orange) 62%, #A95900);
  color: var(--on-accent);
  box-shadow: 0 0 0 10px rgba(242, 138, 0, .1), 0 18px 40px rgba(242, 138, 0, .3);
  opacity: 0; scale: .6;
  transition: opacity .7s var(--ease) 1.7s, scale .7s var(--ease) 1.7s;
}
.loop__core svg { width: 30px; height: 30px; stroke-width: 1.7; }
.shift__panel--new.is-in .loop__core { opacity: 1; scale: 1; animation: loopSpin 26s linear 2.4s infinite; }
@keyframes loopSpin {
  0%   { box-shadow: 0 0 0 10px rgba(242, 138, 0, .1), 0 18px 40px rgba(242, 138, 0, .3); }
  50%  { box-shadow: 0 0 0 18px rgba(242, 138, 0, .04), 0 18px 40px rgba(242, 138, 0, .34); }
  100% { box-shadow: 0 0 0 10px rgba(242, 138, 0, .1), 0 18px 40px rgba(242, 138, 0, .3); }
}
.shift__note { margin-top: 22px; font-size: 15px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   14. Solutions — asymmetric editorial mosaic
   -------------------------------------------------------------------------- */
.solutions__mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.sol {
  position: relative;
  grid-column: span 2;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: var(--r-lg);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease), background-color .45s var(--ease);
}
/* asymmetric rhythm that still resolves to complete 6-column rows */
.solutions__mosaic .sol:nth-child(1) { grid-column: span 4; }
.solutions__mosaic .sol:nth-child(2) { grid-column: span 2; }
.solutions__mosaic .sol:nth-child(3) { grid-column: span 2; }
.solutions__mosaic .sol:nth-child(4) { grid-column: span 4; }
.solutions__mosaic .sol:nth-child(5) { grid-column: span 3; }
.solutions__mosaic .sol:nth-child(6) { grid-column: span 3; }

/* the two lead panels carry more weight */
.sol--feature { padding: clamp(30px, 3.2vw, 48px); }
.sol--feature .sol__icon { width: 38px; height: 38px; color: var(--brand-orange); }
.sol--feature h3 { font-size: clamp(23px, 2.2vw, 31px); }
.sol--feature p { font-size: 16px; max-width: 40ch; }
.sol--feature::before { opacity: .55; }
.sol::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 260px at 15% 0%, rgba(242, 138, 0, .07), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.sol > * { position: relative; }
.sol:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.sol:hover::before { opacity: 1; }

.sol__icon {
  width: 30px; height: 30px; color: var(--heading); stroke-width: 1.5;
  margin-bottom: 22px;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.sol:hover .sol__icon { color: var(--brand-orange); transform: translateY(-3px) scale(1.06); }
.sol h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 800; letter-spacing: -.02em; color: var(--heading); }
.sol p { margin-top: 10px; font-size: 15px; color: var(--text-muted); max-width: 46ch; }
.sol__go {
  display: grid; place-items: center;
  position: absolute; right: 24px; top: 24px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--heading);
  opacity: 0; transform: translate(-6px, 6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.sol__go svg { width: 15px; height: 15px; }
.sol:hover .sol__go { opacity: 1; transform: none; background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }

/* --------------------------------------------------------------------------
   15. AI-GOS
   -------------------------------------------------------------------------- */
/* NB: no overflow clipping on .aigos — it would break the sticky pin below. */
.aigos__ambient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 78% 12%, var(--glow-orange-soft), transparent 62%),
    radial-gradient(55vw 44vw at 12% 78%, var(--glow-blue-soft), transparent 62%);
}
.aigos__sub {
  margin-top: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brand-orange-soft);
}

.aigos__scroller { position: relative; height: 400vh; margin-top: clamp(30px, 5vw, 60px); }
.aigos__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.aigos__pin-inner {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 70px); align-items: center; width: 100%;
}

.aigos__rail { display: grid; gap: 4px; }
.aigos__step {
  position: relative;
  padding: 14px 0 14px 26px;
  border-left: 1.5px solid var(--border);
  opacity: .3;
  transition: opacity .5s var(--ease), border-color .5s var(--ease);
}
.aigos__step::before {
  content: ""; position: absolute; left: -4.5px; top: 22px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.aigos__step-num {
  font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--brand-orange-soft);
}
.aigos__step h3 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; letter-spacing: -.02em; color: var(--heading); margin-top: 4px; }
.aigos__step p {
  font-size: 14.5px; color: var(--text-muted); margin-top: 4px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .55s var(--ease), opacity .45s var(--ease);
}
.aigos__step.is-current { opacity: 1; border-left-color: var(--brand-orange); }
.aigos__step.is-current::before { background: var(--brand-orange); box-shadow: 0 0 0 5px rgba(242, 138, 0, .18); transform: scale(1.25); }
.aigos__step.is-current p { max-height: 90px; opacity: 1; }
.aigos__step.is-done { opacity: .55; border-left-color: rgba(242, 138, 0, .35); }

/* "flat" mode: the story is not pinned (small screens, short viewports,
   reduced motion) so every stage stays fully legible at once */
.aigos__scroller.is-flat .aigos__step,
.aigos__scroller.is-flat .aigos__step.is-done,
.aigos__scroller.is-flat .aigos__step.is-current { opacity: 1; }
.aigos__scroller.is-flat .aigos__step p { max-height: none; opacity: 1; }

/* --- AI-GOS canvas: stage-driven storytelling --- */
.aigos__canvas { max-width: 660px; margin-inline: auto; width: 100%; }
.agx { overflow: visible; }
.agx text { stroke: none; }

.agx__halo { opacity: 0; transition: opacity 1s var(--ease); }
.agx__feeds { stroke: var(--graph-edge); }
.agx__sig rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; }
.agx__sig text { fill: var(--text); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; }
.agx__sig .agx__sig-v { fill: var(--text-subtle); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.agx__sig {
  opacity: 0; transform: scale(.9);
  transform-box: fill-box; transform-origin: center;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.agx__feed { stroke-dasharray: 260; stroke-dashoffset: 260; opacity: .55; transition: stroke-dashoffset 1s var(--ease); }
.agx__core { opacity: 0; transform: scale(.7); transform-origin: 320px 250px; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.agx__core-ring { stroke: rgba(242, 138, 0, .34); stroke-width: 1; stroke-dasharray: 3 8; transform-origin: 320px 250px; }
.agx__core-text { fill: var(--on-accent); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.agx__gedges { stroke: var(--graph-edge); opacity: 0; transition: opacity .9s var(--ease) .15s; }
.agx__gnodes circle {
  fill: var(--graph-node-fill); stroke: var(--graph-node-stroke); stroke-width: 1.4;
  opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center;
  transition: opacity .45s var(--ease), transform .45s var(--ease), fill .5s var(--ease), stroke .5s var(--ease);
}
.agx__flag {
  fill: var(--brand-orange-soft); font-size: 12px; font-weight: 800; letter-spacing: .2em;
  opacity: 0; transition: opacity .6s var(--ease);
}
.agx__card {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.agx__card rect { fill: var(--panel-solid); stroke: rgba(242, 138, 0, .38); stroke-width: 1; }
.agx__card-title { fill: var(--brand-orange-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .2em; }
.agx__card-row { fill: var(--text); font-size: 14px; font-weight: 600; }
.agx__loop { opacity: 0; transition: opacity .5s var(--ease); }
.agx__loop-path { stroke: var(--brand-green-soft); stroke-width: 1.6; stroke-dasharray: 620; stroke-dashoffset: 620; transition: stroke-dashoffset 1.4s var(--ease); }
.agx__loop-text { fill: var(--brand-green-soft); font-size: 12px; font-weight: 800; letter-spacing: .16em; }

/* stage 1 — signals appear */
.is-s1 .agx__halo { opacity: 1; }
.is-s1 .agx__sig { opacity: 1; transform: none; transition-delay: calc(var(--d) * .1s); }
/* stage 2 — signals converge into the core */
.is-s2 .agx__sig { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.55); }
.is-s2 .agx__feed { stroke-dashoffset: 0; }
.is-s2 .agx__core { opacity: 1; transform: none; }
.is-s2 .agx__core-ring { animation: spin 26s linear infinite; }
.is-s2 .agx__core-disc { animation: coreBreathe 6s var(--ease-soft) infinite; transform-origin: 320px 250px; }
/* stage 3 — cognitive graph */
.is-s3 .agx__gedges { opacity: 1; }
.is-s3 .agx__gnodes circle { opacity: 1; transform: none; transition-delay: calc(var(--d) * .045s); }
.is-s3 .agx__feed { opacity: .22; }
/* stage 4 — weak areas illuminate */
.is-s4 .agx__gnodes .is-weak { fill: var(--brand-orange); stroke: var(--brand-orange-soft); }
.is-s4 .agx__flag { opacity: 1; }
/* stage 5 — recommendation */
.is-s5 .agx__card { opacity: 1; transform: none; }
/* stage 6 — loop closes */
.is-s6 .agx__loop { opacity: 1; }
.is-s6 .agx__loop-path { stroke-dashoffset: 0; }

/* --- AI-GOS product visualization --- */
.dash {
  margin-top: clamp(50px, 7vw, 100px);
  border-radius: var(--r-xl);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.dash__head {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
.dash__crumb { font-size: 11.5px; font-weight: 800; letter-spacing: .2em; color: var(--brand-orange-soft); }
.dash__badge {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--text-muted);
}
.dash__body {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1px; background: var(--border);
}
.dash__block { padding: clamp(22px, 2.6vw, 34px); background: var(--panel-tint); }
.dash__title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 22px;
}

.bars { display: grid; gap: 20px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.bars__name { grid-area: 1 / 1; font-size: 15px; font-weight: 700; color: var(--heading); }
.bars__val {
  grid-area: 1 / 2; text-align: right;
  font-size: 15px; font-weight: 800; color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.bars__track {
  grid-area: 2 / 1 / 3 / -1;
  height: 6px; border-radius: 99px; background: var(--border); overflow: hidden;
}
.bars__track i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--bar-blue-1), var(--bar-blue-2));
  transition: width 1.5s var(--ease) calc(var(--i, 0) * .12s);
}
.bars li.is-warn .bars__track i { background: linear-gradient(90deg, #D97A12, var(--brand-orange-soft)); }
.bars li.is-good .bars__track i { background: linear-gradient(90deg, var(--brand-green), var(--brand-green-soft)); }
.dash.is-in .bars__track i { width: var(--v); }

.pattern { display: grid; gap: 14px; }
.pattern li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--text);
}
.pattern li:last-child { border-bottom: 0; padding-bottom: 0; }
.tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
.tag--high { color: var(--brand-green-soft); border-color: rgba(111, 176, 85, .4); background: rgba(60, 123, 39, .16); }
.tag--med  { color: var(--brand-orange-soft); border-color: rgba(255, 178, 85, .4); background: rgba(242, 138, 0, .14); }
.tag--low  { color: var(--warn-soft); border-color: rgba(241, 154, 138, .35); background: rgba(200, 80, 55, .16); }

.dash__block--rec { background: rgba(242, 138, 0, .07); }
.recs { display: grid; gap: 12px; }
.recs li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700; color: var(--heading);
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.recs li:hover { transform: translateX(4px); border-color: rgba(242, 138, 0, .5); }
.recs svg { width: 17px; height: 17px; color: var(--brand-orange); }
.dash__foot {
  padding: 14px clamp(20px, 3vw, 36px);
  font-size: 12.5px; color: var(--text-subtle);
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   16. Assessment showcase
   -------------------------------------------------------------------------- */
.quiz { padding-top: clamp(30px, 5vw, 60px); }
.quiz::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.quiz__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.quiz__card {
  padding: clamp(24px, 2.8vw, 38px);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--surface-elevated), var(--surface-soft));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.quiz__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.quiz__count { font-size: 11.5px; font-weight: 800; letter-spacing: .2em; color: var(--brand-orange-soft); }
.quiz__timer {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.quiz__timer i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green-soft); }
.quiz__q { font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; line-height: 1.45; color: var(--heading); }
.quiz__options { display: grid; gap: 10px; margin-top: 24px; }
.quiz__opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 15px; color: var(--text);
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease),
              border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.quiz__grid.is-run .quiz__opt { opacity: 1; transform: none; }
.quiz__options li:nth-child(1) { transition-delay: .1s; }
.quiz__options li:nth-child(2) { transition-delay: .2s; }
.quiz__options li:nth-child(3) { transition-delay: .3s; }
.quiz__options li:nth-child(4) { transition-delay: .4s; }
.quiz__radio {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.6px solid var(--border-strong);
  position: relative; flex: none;
  transition: border-color .4s var(--ease);
}
.quiz__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--brand-orange); transform: scale(0); transition: transform .4s var(--ease);
}
.quiz__key {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--text-subtle); width: 14px; flex: none;
}
.quiz__grid.is-run .quiz__opt.is-picked {
  border-color: rgba(242, 138, 0, .55);
  background: rgba(242, 138, 0, .12);
  transition-delay: 1.1s;
}
.quiz__grid.is-run .quiz__opt.is-picked .quiz__radio { border-color: var(--brand-orange); transition-delay: 1.1s; }
.quiz__grid.is-run .quiz__opt.is-picked .quiz__radio::after { transform: scale(1); transition-delay: 1.1s; }

.quiz__foot { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.quiz__progress { flex: 1; height: 4px; border-radius: 99px; background: var(--border); overflow: hidden; }
.quiz__progress i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-soft));
  transition: width 1.6s var(--ease) .3s;
}
.quiz__grid.is-run .quiz__progress i { width: 35%; }
.quiz__continue { cursor: default; }

.quiz__chain { display: grid; gap: 14px; }
.quiz__link {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  opacity: 0; transform: translateX(22px);
  transition: opacity .6s var(--ease) calc(1.5s + var(--d) * .28s),
              transform .6s var(--ease) calc(1.5s + var(--d) * .28s),
              border-color .4s var(--ease), background-color .4s var(--ease);
}
.quiz__grid.is-run .quiz__link { opacity: 1; transform: none; }
.quiz__link:hover { border-color: rgba(242, 138, 0, .4); }
.quiz__link svg { width: 24px; height: 24px; color: var(--brand-orange); margin-top: 3px; }
.quiz__link h3 { font-size: 17px; font-weight: 800; color: var(--heading); letter-spacing: -.015em; }
.quiz__link p { font-size: 14.5px; color: var(--text-muted); margin-top: 3px; }
.quiz__note {
  margin-top: clamp(40px, 5vw, 64px); text-align: center;
  font-size: clamp(17px, 1.7vw, 23px); font-weight: 700; letter-spacing: -.02em; color: var(--heading);
}

/* --------------------------------------------------------------------------
   17. Lifelong journey
   -------------------------------------------------------------------------- */
.life__path { position: relative; padding-top: 8px; }
.life__rail {
  position: absolute; left: 7.14%; right: 7.14%; top: 26px;
  height: 2px; background: var(--border); border-radius: 2px;
}
.life__rail-fill {
  position: absolute; inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-green));
  border-radius: 2px;
}
.life__marker {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%);
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-elevated); border: 1.5px solid var(--brand-green);
  box-shadow: 0 8px 22px rgba(60, 123, 39, .22);
  transition: background-color .4s var(--ease);
}
.life__marker svg { width: 20px; height: 20px; color: var(--brand-green-soft); }

.life__stops { display: grid; grid-template-columns: repeat(7, 1fr); }
.life__stop {
  position: relative; text-align: center; padding: 62px 10px 0;
  opacity: .48; transition: opacity .55s var(--ease);
}
.life__stop.is-lit { opacity: 1; }
.life__dot {
  position: absolute; top: 27px; left: 50%;
  width: 13px; height: 13px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-elevated); border: 2px solid var(--border-strong);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease),
              transform .5s var(--ease), background-color .4s var(--ease);
}
.life__stop.is-lit .life__dot {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 6px rgba(242, 138, 0, .14);
  transform: translate(-50%, -50%) scale(1.15);
}
.life__icon {
  width: 26px; height: 26px; margin: 0 auto 12px; display: block;
  color: var(--text-subtle); stroke-width: 1.5;
  transition: color .5s var(--ease), transform .5s var(--ease);
}
.life__stop.is-lit .life__icon { color: var(--brand-orange); transform: translateY(-2px); }
.life__num { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--text-muted); }
.life__stop h3 {
  margin-top: 6px; font-size: clamp(14px, 1.15vw, 17px); font-weight: 800;
  letter-spacing: -.015em; color: var(--heading); line-height: 1.3;
}

/* --------------------------------------------------------------------------
   18. Philosophy
   -------------------------------------------------------------------------- */
.philo__grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 90px); align-items: center;
}
.philo__mark { position: relative; display: grid; place-items: center; }
.philo__glow {
  position: absolute; width: 108%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 138, 0, .16), rgba(60, 123, 39, .07) 52%, transparent 70%);
  filter: blur(24px);
  animation: breathe 12s var(--ease-soft) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.07); opacity: 1; }
}
.philo__mark img { position: relative; width: min(380px, 100%); }

.philo__flow {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .06em .3em;
}
.philo__flow i { font-style: normal; color: var(--brand-orange); font-weight: 700; }

.philo__meaning {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: clamp(30px, 3.5vw, 44px);
  border-top: 1px solid var(--border);
}
.philo__meaning li { transition: transform .4s var(--ease); }
.philo__meaning li:hover { transform: translateY(-4px); }
.philo__meaning svg { width: 26px; height: 26px; color: var(--brand-orange); stroke-width: 1.5; }
.philo__meaning h3 {
  margin-top: 12px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--heading);
}
.philo__meaning p { margin-top: 5px; font-size: 14px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   19. Ambition
   -------------------------------------------------------------------------- */
.ambition { padding-top: 0; }
.ambition__panel {
  position: relative; overflow: hidden;
  padding: clamp(38px, 5vw, 76px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--feature), var(--feature-2) 70%);
  box-shadow: var(--shadow-lg);
}
.ambition__panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50vw 40vw at 85% 0%, rgba(242, 138, 0, .18), transparent 62%);
}
.ambition__head { position: relative; max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.ambition__disclaimer { margin-top: 16px; font-size: 14.5px; color: var(--text-muted); }

.stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.stat { padding: clamp(22px, 2.6vw, 32px); background: var(--panel-tint); }
.stat__num {
  display: block;
  font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.035em;
  color: var(--heading); font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap;
}
.stat span {
  display: block; margin-top: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   20. Leadership
   -------------------------------------------------------------------------- */
.leaders__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: 900px;
}
.leader { position: relative; }
.leader__media {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  background: var(--feature-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.leader:hover .leader__media { box-shadow: var(--shadow-md); }
.leader__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 38, 74, .18) 0%, var(--feature-haze) 100%);
  mix-blend-mode: multiply;
  transition: opacity .6s var(--ease);
}
.leader__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.04);
  transition: transform .9s var(--ease), filter .8s var(--ease);
}
.leader:hover .leader__media img { transform: scale(1.045); filter: grayscale(.15) contrast(1.02); }
/* keep the portraits from glaring against the near-black dark ground */
html[data-theme="dark"] .leader__media img { filter: grayscale(1) contrast(1.05) brightness(.84); }
html[data-theme="dark"] .leader:hover .leader__media img { filter: grayscale(.18) contrast(1.02) brightness(.94); }
.leader:hover .leader__media::after { opacity: .5; }
.leader__meta { margin-top: 20px; }
.leader__meta h3 {
  font-size: clamp(19px, 1.8vw, 25px); font-weight: 800; letter-spacing: -.025em; color: var(--heading);
  transition: color .4s var(--ease);
}
.leader:hover .leader__meta h3 { color: var(--brand-orange); }
.leader__meta p {
  margin-top: 3px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   21. Careers
   -------------------------------------------------------------------------- */
.careers__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 5vw, 80px);
}
.careers__intro .btn { margin-top: 30px; }
.careers__intro .lead { margin-top: 20px; }

.roles { border-top: 1px solid var(--border); }
.role { border-bottom: 1px solid var(--border); }
.role a {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 3vw, 34px); align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 4px;
  transition: padding-left .45s var(--ease), background-color .45s var(--ease);
}
.role a:hover { padding-left: 18px; background: linear-gradient(90deg, rgba(242, 138, 0, .08), transparent 60%); }
.role__num { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--text-subtle); transition: color .4s var(--ease); }
.role a:hover .role__num { color: var(--brand-orange); }
.role__body { display: block; }
.role__title {
  display: block;
  font-size: clamp(19px, 2vw, 27px); font-weight: 800; letter-spacing: -.028em; color: var(--heading);
}
.role__desc { display: block; margin-top: 4px; font-size: 14.5px; color: var(--text-muted); }
.role__arrow {
  width: 24px; height: 24px; color: var(--heading);
  opacity: 0; transform: translateX(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.role a:hover .role__arrow { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   22. Contact
   -------------------------------------------------------------------------- */
.contact__ambient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46vw 40vw at 50% 108%, var(--glow-orange), transparent 64%),
    radial-gradient(50vw 40vw at 6% 10%, var(--glow-blue-soft), transparent 62%);
}
.contact__inner { text-align: center; }
.contact__lead {
  max-width: 58ch; margin: 26px auto 0;
  font-size: clamp(16px, 1.35vw, 19px); color: var(--text-muted);
}
.contact__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: clamp(38px, 4.5vw, 58px);
}
.contact__link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 30px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.contact__link:hover {
  transform: translateY(-4px);
  background: var(--surface-elevated);
  border-color: rgba(242, 138, 0, .55);
}
.contact__link svg { width: 22px; height: 22px; color: var(--brand-orange); }
.contact__link span {
  display: block; text-align: left;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; color: var(--heading);
}
.contact__link small {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   23. Footer — one step deeper than the contact CTA above it
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--feature-deep);
  color: var(--text-muted);
  padding-block: clamp(56px, 6vw, 84px) 28px;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}
.brand--footer .brand__word { color: var(--heading); }
.brand--footer .brand__mark { width: 38px; height: 38px; }
.footer__desc { margin-top: 18px; font-size: 14.5px; max-width: 34ch; }
.footer__tagline {
  margin-top: 14px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-orange-soft);
}
.footer__col h2 {
  font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--heading); margin-bottom: 18px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 14.5px; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--brand-orange-soft); }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   24. Reduced motion — keep the page polished, remove the movement.
   Theme switching stays fully functional; only its fade is dropped.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, [data-anim="hero"] { opacity: 1 !important; transform: none !important; filter: none !important; }

  /* narrative visuals settle into their finished state */
  .graph__halo, .graph__orbit, .graph__label, .graph__node, .graph__core { opacity: 1; transform: none; }
  .graph__edge, .graph__spoke { stroke-dashoffset: 0; }
  .graph__pulse { display: none; }

  .vision__scroller { height: auto; }
  .vision__pin { position: static; height: auto; padding-block: 40px; }
  .vision__morph {
    height: auto; font-size: clamp(28px, 4.4vw, 54px);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1em .35em;
  }
  .vision__word {
    position: static; display: inline-block;
    opacity: 1; filter: none; transform: none;
  }
  .vision__word:not(:last-child)::after { content: " →"; color: var(--text-muted); margin-left: .3em; }
  .vision__steps { display: none; }

  .loop__draw { stroke-dashoffset: 0; }
  .loop__node, .loop__core { opacity: 1; scale: 1; }

  .aigos__scroller { height: auto; }
  .aigos__pin { position: static; height: auto; padding-block: 40px; }
  .aigos__step { opacity: 1; }
  .aigos__step p { max-height: none; opacity: 1; }
  .agx__halo, .agx__core, .agx__gedges, .agx__flag, .agx__card, .agx__loop { opacity: 1; transform: none; }
  .agx__gnodes circle { opacity: 1; transform: none; }
  .agx__gnodes .is-weak { fill: var(--brand-orange); stroke: var(--brand-orange-soft); }
  .agx__feed, .agx__loop-path { stroke-dashoffset: 0; }
  .agx__sig { opacity: 1; transform: none; }

  .quiz__opt, .quiz__link { opacity: 1; transform: none; }
  .quiz__opt.is-picked { border-color: rgba(242, 138, 0, .55); background: rgba(242, 138, 0, .12); }
  .quiz__opt.is-picked .quiz__radio::after { transform: scale(1); }
  .quiz__progress i { width: 35%; }

  .bars__track i { width: var(--v); }
  .life__stop { opacity: 1; }
  .life__stop .life__dot { border-color: var(--brand-orange); }
  .life__rail-fill { width: 100%; }
  .life__marker { left: 100%; }
}
