/* ============================================================
   AERADON — sovereign research house
   Near-black canvas · single growth-green accent · technical-transparency
   ============================================================ */

:root {
  color-scheme: dark;

  --bg:        #0a0b09;
  --bg-elev:   #101210;
  --surface:   rgba(255, 255, 255, 0.022);
  --surface-2: rgba(255, 255, 255, 0.045);
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.15);

  --text:      #f2f1ea;
  --text-dim:  #9b988e;
  --text-faint:#807f79;

  /* single restrained accent — growth green (pastel sage on near-black) */
  --accent:    #8ec99b;
  --accent-hi: #abdcb4;
  --accent-soft: rgba(142, 201, 155, 0.10);
  --accent-line: rgba(142, 201, 155, 0.32);

  /* mission "open sky" atmosphere — luminous green clouds + neutral mist */
  --cloud-strength: 0.18;
  --mist-strength: 0.07;

  /* theme-flippable surfaces & graphics (kept as tokens so light mode can invert them) */
  --nav-bg:       rgba(10, 10, 12, 0.72);
  --nav-bg-solid: rgba(10, 10, 12, 0.94);
  --grid-line:    rgba(255, 255, 255, 0.025);
  --grid-line-2:  rgba(255, 255, 255, 0.02);
  --btn-ink:      #0c150d;
  --selection-bg: rgba(142, 201, 155, 0.30);
  --selection-ink:#ffffff;
  --shadow:       0 30px 80px -40px rgba(0, 0, 0, 0.9);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, monospace;

  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   LIGHT THEME
   Warm-paper canvas · deeper "pine green" accent so the green
   clears WCAG AA on white (pastel #8ec99b is too light on paper).
   Activates from the OS/browser setting by default, and can be
   forced via [data-theme]. The token names are identical to the
   dark set above, so every component re-themes with zero new rules.
   ============================================================ */
:root[data-theme="light"],
:root[data-theme="light"] body { color-scheme: light; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg:        #faf8f3;
    --bg-elev:   #ffffff;
    --surface:   rgba(28, 22, 10, 0.028);
    --surface-2: rgba(28, 22, 10, 0.060);
    --border:    rgba(28, 22, 10, 0.12);
    --border-2:  rgba(28, 22, 10, 0.20);

    --text:      #1a1712;
    --text-dim:  #5b554b;
    --text-faint:#6e655a;

    --accent:    #2f6b3a;
    --accent-hi: #255631;
    --accent-soft: rgba(47, 107, 58, 0.12);
    --accent-line: rgba(47, 107, 58, 0.42);

    --cloud-strength: 0.11;
    --mist-strength: 0.05;

    --nav-bg:       rgba(250, 248, 243, 0.80);
    --nav-bg-solid: rgba(250, 248, 243, 0.96);
    --grid-line:    rgba(28, 22, 10, 0.045);
    --grid-line-2:  rgba(28, 22, 10, 0.040);
    --btn-ink:      #ffffff;
    --selection-bg: rgba(47, 107, 58, 0.25);
    --selection-ink:#1a1712;
    --shadow:       0 24px 60px -36px rgba(60, 48, 20, 0.28);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg:        #faf8f3;
  --bg-elev:   #ffffff;
  --surface:   rgba(28, 22, 10, 0.028);
  --surface-2: rgba(28, 22, 10, 0.060);
  --border:    rgba(28, 22, 10, 0.12);
  --border-2:  rgba(28, 22, 10, 0.20);

  --text:      #1a1712;
  --text-dim:  #5b554b;
  --text-faint:#6e655a;

  --accent:    #2f6b3a;
  --accent-hi: #255631;
  --accent-soft: rgba(47, 107, 58, 0.12);
  --accent-line: rgba(47, 107, 58, 0.42);

  --cloud-strength: 0.11;
  --mist-strength: 0.05;

  --nav-bg:       rgba(250, 248, 243, 0.80);
  --nav-bg-solid: rgba(250, 248, 243, 0.96);
  --grid-line:    rgba(28, 22, 10, 0.045);
  --grid-line-2:  rgba(28, 22, 10, 0.040);
  --btn-ink:      #ffffff;
  --selection-bg: rgba(47, 107, 58, 0.25);
  --selection-ink:#1a1712;
  --shadow:       0 24px 60px -36px rgba(60, 48, 20, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* accent emphasis (replaces rainbow grad-text) */
.accent { color: var(--accent); }

/* mono technical label */
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- ambient: fine grid + subtle vignette (replaces aurora) ---------- */
.canvas { position: fixed; inset: 0; z-index: -3; background: var(--bg); pointer-events: none; }
.canvas::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
}
.canvas::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% -8%, var(--accent-soft), transparent 70%);
  opacity: 0.7;
}
.grain {
  position: fixed; inset: 0; z-index: -1; opacity: 0.03; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* reactive ASCII flow-field: noise-driven glyph field that blooms green toward the cursor */
.ascii-bg { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }

/* ---------- scroll progress (hairline, driven 1:1 by scroll position) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  z-index: 200; will-change: transform; pointer-events: none;
}

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-stuck { background: var(--nav-bg); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--border); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 0.95rem var(--pad); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.62rem; }
.brand__mark { display: grid; place-items: center; color: var(--accent); }
.brand__word { font-weight: 600; letter-spacing: 0.26em; font-size: 0.92rem; padding-left: 0.06em; }
.brand__sub { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); padding: 0.16rem 0.4rem; border: 1px solid var(--border); border-radius: 5px; }
.nav__links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav__links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 450; transition: color .25s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 0.25rem; padding: 0 var(--pad); max-height: 0; overflow: hidden; background: var(--nav-bg-solid); backdrop-filter: blur(18px); transition: max-height .4s var(--ease); }
.nav__mobile a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.nav.is-open .nav__mobile { max-height: 480px; }

/* ---------- buttons (squared, restrained) ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: inherit; font-weight: 520; font-size: 0.92rem; padding: 0.8rem 1.4rem; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), border-color .25s, background .25s, color .25s; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--primary { background: var(--accent); color: var(--btn-ink); font-weight: 580; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn--ghost { color: var(--text); border-color: var(--border-2); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.nav__cta { background: transparent; border: 1px solid var(--border-2); color: var(--text); }
.nav__cta:hover { border-color: var(--accent-line); color: var(--accent); }

/* ---------- theme toggle (auto → light → dark) ---------- */
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-dim); cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-line); background: var(--surface-2); }
.theme-toggle__icon { display: none; }
:root[data-theme-pref="auto"] .theme-toggle .ti-auto,
:root[data-theme-pref="light"] .theme-toggle .ti-sun,
:root[data-theme-pref="dark"]  .theme-toggle .ti-moon,
:root:not([data-theme-pref]) .theme-toggle .ti-auto { display: block; }

/* ---------- shared section ---------- */
.section { position: relative; padding: clamp(5.5rem, 13vh, 10rem) 0; }
.section__kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.section__kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent-line); }
.section__head { max-width: 660px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__title { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.section__sub { color: var(--text-dim); font-size: 1.06rem; margin-top: 1.1rem; max-width: 54ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); margin-bottom: 1.8rem; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.chip { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.36rem 0.7rem; border-radius: 6px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 6rem; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; align-items: center; }
.hero__title { font-size: clamp(2.7rem, 7vw, 5.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; }
.hero__title .accent { font-weight: 600; }
.hero__lede { color: var(--text-dim); font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.72; margin-top: 1.9rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
/* hero visual: wireframe fleet schematic */
.hero__visual { display: grid; place-items: center; }
.schematic { width: min(380px, 82vw); aspect-ratio: 1; position: relative; border: 1px solid var(--border); border-radius: var(--radius); background:
  linear-gradient(to right, var(--grid-line-2) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(to bottom, var(--grid-line-2) 1px, transparent 1px) 0 0 / 32px 32px,
  var(--bg-elev); overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease); will-change: transform; }
.schematic__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.schematic__label { position: absolute; bottom: 0.7rem; left: 0.85rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-faint); text-transform: uppercase; }
.node { fill: var(--bg-elev); stroke: var(--border-2); stroke-width: 1; }
.node--lit { stroke: var(--accent-line); }
.edge { stroke: var(--border-2); stroke-width: 1; fill: none; }
.pulse-dot { fill: var(--accent); }
/* schematic flywheel — themed via tokens so it inverts cleanly in light mode */
.sch-orbit { stroke: var(--accent-line); }
.sch-core { fill: var(--accent-soft); stroke: var(--accent); }
.sch-core-label { fill: var(--accent); }
.sch-arm-label { fill: var(--text-dim); }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--text-faint); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--text-faint), transparent); animation: scrollpulse 2s var(--ease) infinite; }
@keyframes scrollpulse { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- capability strip (replaces buzzword marquee) ---------- */
.capstrip { border-block: 1px solid var(--border); background: var(--surface); }
.capstrip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cap { display: flex; align-items: center; gap: 0.85rem; padding: 1.25rem clamp(1rem, 2vw, 1.6rem); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cap:nth-child(3n) { border-right: 0; }
.cap:nth-last-child(-n+3) { border-bottom: 0; }
.cap__icon { flex: none; color: var(--accent); display: grid; place-items: center; width: 28px; height: 28px; }
.cap__icon svg { width: 20px; height: 20px; }
.cap__text { font-size: 0.94rem; color: var(--text); font-weight: 460; }

/* ---------- thesis / vision ---------- */
.vision__statement { font-size: clamp(1.6rem, 3.5vw, 2.7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.16; max-width: 20ch; }
.vision__origin { margin-top: 1.9rem; color: var(--accent); opacity: 0.78; font-size: 0.7rem; letter-spacing: 0.22em; }
.vision__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3.2rem; max-width: 900px; }
.vision__cols p { color: var(--text-dim); font-size: 1.04rem; line-height: 1.72; }

/* ---------- mission "open sky": soft drifting green clouds + organic mist.
   The engineered grid softens into hazy green light through this band, then
   sharpens back. CSS-only, token-themed, frozen under prefers-reduced-motion. */
#mission { isolation: isolate; overflow: hidden; }
#mission .container { position: relative; z-index: 1; }
#mission::before, #mission::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  will-change: transform;
}
/* luminous green cloud blooms — the single accent, slow parallax drift */
#mission::before {
  inset: -22% -12%;
  background:
    radial-gradient(38% 50% at 22% 30%, var(--accent-hi), transparent 60%),
    radial-gradient(44% 42% at 80% 24%, var(--accent), transparent 62%),
    radial-gradient(54% 48% at 62% 86%, var(--accent-hi), transparent 64%);
  opacity: var(--cloud-strength, 0.16);
  animation: mission-cloud-a 42s var(--ease) infinite alternate;
}
/* neutral organic mist — feTurbulence at low frequency, breathes opposite */
#mission::after {
  inset: -32% -22%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='mc'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.014' numOctaves='4' seed='11'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23mc)'/%3E%3C/svg%3E") center / 120% 120% no-repeat;
  opacity: var(--mist-strength, 0.06);
  filter: blur(4px);
  animation: mission-cloud-b 58s var(--ease) infinite alternate;
}
@keyframes mission-cloud-a {
  from { transform: translate3d(-2%, -1%, 0) scale(1.06); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.14); }
}
@keyframes mission-cloud-b {
  from { transform: translate3d(2%, 1.5%, 0) scale(1.12); }
  to   { transform: translate3d(-3%, -2%, 0) scale(1.2); }
}

/* ---------- labs (divisions) ---------- */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.division-card { position: relative; padding: clamp(1.8rem, 3vw, 2.5rem); border-radius: var(--radius); background-color: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.division-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.division-card:hover { transform: translateY(-4px); border-color: var(--border-2); background-color: var(--surface-2); }
.division-card:hover::after { width: 100%; }
.division-card__top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.division-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); }
.division-card__icon svg { width: 22px; height: 22px; }
.division-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.025em; }
.division-card > p { color: var(--text-dim); margin-top: 0.9rem; font-size: 1.0rem; }
.division-card__list { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.55rem; }
.division-card__list li { position: relative; padding-left: 1.3rem; color: var(--text-dim); font-size: 0.94rem; }
.division-card__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 520; font-size: 0.95rem; color: var(--accent); transition: gap .25s var(--ease); }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover { gap: 0.6rem; }
.link-arrow:hover span { transform: translateX(3px); }

/* three-arm variant */
.division-grid--three { grid-template-columns: repeat(3, 1fr); }
.division-grid--three .division-card > p { font-size: 0.95rem; }

/* ---------- flywheel (how the arms reinforce) ---------- */
.flywheel { margin-top: 1.5rem; display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fly-step { flex: 1; padding: 1.5rem 1.4rem; border-right: 1px solid var(--border); position: relative; }
.fly-step:last-child { border-right: 0; }
.fly-step:not(:last-child)::after { content: "→"; position: absolute; right: -0.62em; top: 50%; transform: translateY(-50%); z-index: 2; color: var(--accent); font-size: 1.05rem; background: var(--bg); width: 1.24em; height: 1.24em; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); }
.fly-step__n { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.fly-step h4 { font-size: 1.04rem; font-weight: 580; letter-spacing: -0.01em; margin-top: 0.5rem; }
.fly-step p { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.4rem; }
.flywheel__loop { margin-top: 0.85rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-faint); display: inline-flex; align-items: center; gap: 0.5rem; }
.flywheel__loop::before { content: "↻"; color: var(--accent); font-size: 0.95rem; }

/* ---------- deep dives ---------- */
.deep__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.deep__title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 1rem 0 1.1rem; }
.deep__copy > p { color: var(--text-dim); font-size: 1.04rem; }
.spec { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.spec > div { padding: 1.1rem 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 0.5fr 1fr; gap: 1rem; }
.spec dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-top: 0.15rem; }
.spec dd { color: var(--text-dim); font-size: 0.96rem; }
.spec + .link-arrow { margin-top: 1.6rem; }

/* media: hephaestus voice panel */
.deep__media { display: grid; place-items: center; }
.panel { position: relative; width: min(420px, 100%); border-radius: var(--radius); background-color: var(--bg-elev); border: 1px solid var(--border-2); padding: 1.3rem; box-shadow: var(--shadow); }
.panel__bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem; }
.panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.panel__bar i:first-child { background: var(--accent); }
.panel__bar .mono { margin-left: auto; }
.panel__voice { font-size: 1.1rem; font-weight: 480; line-height: 1.45; }
.panel__voice::before { content: "▸ "; color: var(--accent); }
.panel__line { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.panel__line span { height: 9px; border-radius: 4px; background: var(--surface-2); flex: 1; }
.panel__line span:last-child { flex: 0.5; background: var(--accent-line); }
.panel__chip { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 0.4rem 0.75rem; border-radius: 6px; }

/* media: tessera mosaic */
.mosaic { width: min(360px, 90%); aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mosaic span { border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); animation: tile 5s var(--ease) infinite alternate; animation-delay: calc(var(--d) * 0.3s); }
.mosaic span:nth-child(3n+1) { background: var(--accent-soft); border-color: var(--accent-line); }
.mosaic span:nth-child(4n) { background: var(--accent-line); border-color: var(--accent-line); }
@keyframes tile { from { opacity: 0.45; } to { opacity: 1; } }

/* ---------- CTA ---------- */
.cta__inner { position: relative; text-align: center; max-width: 700px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: var(--radius); border: 1px solid var(--border); background-color: var(--bg-elev); background-image: radial-gradient(120% 120% at 50% 0%, var(--accent-soft), transparent 60%); }
.cta__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.cta__sub { color: var(--text-dim); margin: 1.1rem auto 2rem; max-width: 50ch; font-size: 1.04rem; }
.cta__soon { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border: 1px solid var(--border); border-radius: 999px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); background: var(--surface); }
.cta__soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cta__fine { margin-top: 1rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand { margin-bottom: 0.8rem; }
.footer__brand p { color: var(--text-faint); font-size: 0.92rem; max-width: 28ch; }
.footer__col h5 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--text-dim); font-size: 0.93rem; padding: 0.32rem 0; transition: color .25s; }
.footer__col a:hover { color: var(--accent); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--border); color: var(--text-faint); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; flex-wrap: wrap; }
.footer__pill { padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 6px; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .theme-toggle { margin-left: auto; }
  .nav__toggle { display: flex; margin-left: 0.4rem; }
  .nav__mobile { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; }
  .schematic { width: min(320px, 70vw); }
  /* stacked hero fills the viewport; the bottom-pinned scroll cue would
     collide with the CTA buttons, so retire it once the layout stacks */
  .hero { min-height: auto; padding-bottom: 3.5rem; }
  .hero__scroll { display: none; }
  .capstrip__inner { grid-template-columns: 1fr 1fr; }
  .cap:nth-child(3n) { border-right: 1px solid var(--border); }
  .cap:nth-child(2n) { border-right: 0; }
  .cap:nth-last-child(-n+2) { border-bottom: 0; }
  .vision__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .division-grid, .division-grid--three { grid-template-columns: 1fr; }
  .flywheel { flex-direction: column; }
  .fly-step { border-right: 0; border-bottom: 1px solid var(--border); }
  .fly-step:last-child { border-bottom: 0; }
  .fly-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -0.62em; transform: translateX(50%); }
  .deep__grid { grid-template-columns: 1fr; }
  .deep--alt .deep__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
}
@media (max-width: 560px) {
  .capstrip__inner { grid-template-columns: 1fr; }
  .cap { border-right: 0 !important; }
  .cap:last-child { border-bottom: 0; }
  .spec > div { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* neutralize pointer-reactive tilt */
  .schematic { transform: none !important; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--selection-bg); color: var(--selection-ink); }
