/* ============================================================
   Founder Zero V2 — Cinematic redesign
   Market-simulation cockpit. Dark, precise, restrained.
   ============================================================ */

/* ---------------------------------- TOKENS ---------------------------------- */
:root {
  /* Color */
  --fz-void: #060709;        /* page base, deep black */
  --fz-black: #0a0d12;       /* charcoal layer */
  --fz-ink: #10141c;         /* card/raised surface */
  --fz-ink-2: #161b26;       /* higher surface */
  --fz-paper: #f4efe4;       /* warm off-white type */
  --fz-paper-dim: #c9c3b4;   /* secondary type */
  --fz-steel: #8e9aaf;       /* muted labels */
  --fz-cyan: #35d4ff;        /* primary signal accent */
  --fz-blue: #2f80ff;        /* deeper action blue */
  --fz-signal-soft: rgba(53,212,255,.14);
  --fz-amber: #f5b84b;       /* sparse caution/checkpoint accent */
  --fz-amber-soft: rgba(245,184,75,.14);
  --fz-green: #47d18c;       /* sparse "verified/pass" only (Proof Green) */
  --fz-line: rgba(244,239,228,.10);
  --fz-line-signal: rgba(53,212,255,.30);
  --fz-line-amber: rgba(245,184,75,.28);

  /* Glass */
  --fz-glass: rgba(16,20,28,.62);
  --fz-glass-2: rgba(22,27,38,.66);

  /* Glows / shadows */
  --glow-signal: 0 0 26px rgba(53,212,255,.20);
  --glow-amber: 0 0 24px rgba(245,184,75,.18);
  --shadow-card: 0 30px 80px rgba(0,0,0,.5);
  --shadow-soft: 0 12px 40px rgba(0,0,0,.4);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;
  --space-9: 200px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Motion */
  --dur-fast: 160ms;
  --dur-med: 420ms;
  --dur-slow: 900ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Type */
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1200px;            /* legacy body-copy measure (sections still cap here) */
  --shell-maxw: 1480px;      /* outer composition shell — nav, hero, sections, footer align to this */
  --shell-pad: clamp(20px, 5vw, 56px); /* consistent horizontal gutter for the shell */
  --nav-h: 72px;
}

/* ---------------------------------- RESET ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Ensure the HTML hidden attribute always suppresses display, even when other
   rules set display (e.g. display:grid on quiz steps). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "tnum" 1, "cv05" 1;
  background: var(--fz-void);
  color: var(--fz-paper);
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Static SVG-noise overlay — never animated */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .03;
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: overlay;
}

/* Ambient page glows — fixed, restrained, no random gradients */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(720px 540px at 78% -4%, rgba(53,212,255,.08), transparent 62%),
    radial-gradient(620px 600px at 4% 22%, rgba(47,128,255,.06), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(53,212,255,.045), transparent 65%);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p { margin: 0; }

button { font-family: inherit; }

::selection { background: var(--fz-signal-soft); color: var(--fz-paper); }

/* ---------------------------------- FOCUS ---------------------------------- */
:focus-visible {
  outline: 2px solid var(--fz-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}
.reveal:focus-visible,
.hero-chip:focus-visible,
.ladder-card:focus-visible,
.faq-trigger:focus-visible {
  outline: 2px solid var(--fz-cyan);
  outline-offset: 3px;
}

/* ---------------------------------- LAYOUT SHELL ---------------------------------- */
.site-shell { position: relative; z-index: 1; }

.section {
  position: relative;
  max-width: var(--shell-maxw);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
  padding-block: clamp(72px, 11vw, 140px);
}

.compat-anchor {
  display: block;
  position: relative;
  top: calc(var(--nav-h) * -1);
  height: 0;
}

/* ---------------------------------- TYPE ---------------------------------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fz-cyan);
  margin-bottom: var(--space-3);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.22;
  letter-spacing: 0;
  font-weight: 650;
}

.section-heading { max-width: 720px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-bottom: var(--space-3); }
.section-heading > p {
  color: var(--fz-paper-dim);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 62ch;
}
.section-heading.centered > p { margin-inline: auto; }

.copy-stack { display: grid; gap: var(--space-3); }
.copy-stack p { color: var(--fz-paper-dim); font-size: clamp(1rem, 1.3vw, 1.1rem); }

/* ---------------------------------- BUTTONS ---------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: 0;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  text-align: center;
}
.button-lg { padding: 16px 30px; font-size: 1.02rem; }

.button.primary {
  background: linear-gradient(135deg, var(--fz-cyan), var(--fz-blue));
  color: #031019;
  box-shadow: var(--glow-signal);
}
.button.primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 0 34px rgba(53,212,255,.34), 0 14px 34px rgba(0,0,0,.4);
  background: linear-gradient(135deg, #70e3ff, #4a94ff);
}

.button.secondary {
  background: rgba(244,239,228,.04);
  color: var(--fz-paper);
  border-color: var(--fz-line);
}
.button.secondary:hover {
  border-color: var(--fz-line-signal);
  background: rgba(53,212,255,.06);
  transform: translate3d(0, -2px, 0);
}
.button[disabled] { opacity: .6; cursor: default; transform: none; }

.mini-link, .inline-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--fz-cyan);
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast);
}
.mini-link span, .inline-card-link span { transition: transform var(--dur-fast) var(--ease-out); }
.mini-link:hover span, .inline-card-link:hover span { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  /* Bar is full-bleed (background + border span the viewport), but the inner
     content is centered to the same shell as the hero/sections: below shell
     width it uses the standard gutter, at ultrawide it pins to the shell edge. */
  padding-inline: max(var(--shell-pad), calc((100% - var(--shell-maxw)) / 2));
  background: rgba(6,7,9,.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--fz-line);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-lockup { height: 30px; width: auto; }
.nav-links {
  display: flex;
  gap: var(--space-4);
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--fz-paper-dim);
  transition: color var(--dur-fast);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--fz-paper); }
.nav-action { flex-shrink: 0; padding: 10px 18px; white-space: nowrap; }
.nav-action-short { display: none; }
.nav-progress {
  position: absolute;
  bottom: -1px; left: 0;
  height: 1.5px;
  width: 100%;
  background: linear-gradient(90deg, var(--fz-cyan), var(--fz-blue));
  transform-origin: left center;
  transform: scaleX(0);
  opacity: .7;
  will-change: transform;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: none;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(96px, 14vh, 160px) clamp(72px, 12vh, 120px);
  padding-inline: 0;
  overflow: hidden;
  /* The hero stays full-bleed (background canvas/grid span the viewport), but
     its FOREGROUND composition — copy column + engine stage + chips — is laid
     out against a centered shell so the layout holds at ultrawide instead of
     the copy hugging the far left. This inset = the shell's left/right gutter. */
  --hero-inset: max(var(--shell-pad), calc((100% - var(--shell-maxw)) / 2));
}
.hero > * { position: relative; }

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
  opacity: .9;
}
.hero-grid {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--fz-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--fz-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 70% 30%, #000 0%, transparent 72%);
  opacity: .5;
}

.hero-copy {
  z-index: 3;
  max-width: 640px;
  /* Anchored to the centered shell's left gutter (not the viewport edge), so at
     ultrawide the copy column sits inside the composition instead of hugging far-left. */
  margin-left: var(--hero-inset);
  width: min(640px, 92vw);
}
.hero-copy .eyebrow { opacity: 1; }
.hero-lead {
  margin-top: var(--space-4);
  color: var(--fz-paper-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 56ch;
}
.hero-actions { margin-top: var(--space-5); display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero-trust {
  margin-top: var(--space-3);
  font-size: .88rem;
  color: var(--fz-steel);
  letter-spacing: .01em;
}

/* Hero stage (engine + chips) — right side.
   Inset horizontally to the shell so the engine/chips orbit the shell's right
   edge, keeping the engine near the copy at ultrawide rather than drifting to
   the viewport edge with a vast empty middle. */
.hero-stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--hero-inset);
  right: var(--hero-inset);
  z-index: 1;
  pointer-events: none;
}

.hero-engine {
  position: absolute;
  top: 50%;
  /* Stage-relative (the stage is now shell-bounded), so the engine stays pinned
     near the right of the composition instead of drifting with the viewport. */
  right: 4%;
  width: clamp(320px, 30vw, 440px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  z-index: 1;
  will-change: transform;
}
.hero-engine-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,212,255,.22), rgba(47,128,255,.05) 50%, transparent 70%);
  filter: blur(8px);
}
.hero-engine-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--fz-line-signal);
}
.hero-engine-ring--outer { inset: 0; border-color: var(--fz-line); }
.hero-engine-ring--mid { inset: 14%; border-color: var(--fz-line-signal); }
.hero-engine-ring--dashed {
  inset: 7%;
  border: 1px dashed rgba(53,212,255,.48);
  animation: ring-spin 18s linear infinite;
}
.hero-engine-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(53,212,255,.44), rgba(47,128,255,.10) 55%, transparent 72%);
  border: 1px solid var(--fz-line-signal);
  box-shadow: inset 0 0 30px rgba(53,212,255,.18);
}
.hero-engine-logo {
  position: relative;
  width: 34%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 16px rgba(53,212,255,.35));
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Floating chips */
.hero-chips-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  will-change: transform;
}
.hero-chip {
  position: absolute;
  width: clamp(186px, 17vw, 228px);
  padding: 13px 15px;
  border-radius: var(--r-md);
  background: var(--fz-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--fz-line);
  box-shadow: var(--shadow-soft);
  pointer-events: auto;
}
.hero-chip strong {
  display: block;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--fz-paper);
}
.hero-chip em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: .76rem;
  line-height: 1.35;
  color: var(--fz-steel);
}
.hero-chip-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fz-cyan);
  box-shadow: 0 0 10px rgba(53,212,255,.72);
}
/* Chip placement orbiting the engine (desktop, >=1280px only — see hide rule).
   The stage is now shell-bounded, so these right:% values are relative to the
   shell content width, not the viewport. All chips are kept inside the right
   ~46% of the stage so they clear the left copy column (max-width 640px) by a
   comfortable margin at 1280/1440/1680, including drift + mouse parallax. */
[data-chip="0"] { top: 16%;  right: 19%; }
[data-chip="1"] { top: 31%;  right: 1%; }
[data-chip="2"] { top: 56%;  right: 19%; }
[data-chip="3"] { top: 76%;  right: 3%; }
[data-chip="4"] { top: 4%;   right: 9%; }

/* ---- Tablet / mid-width (<1280px): hide ALL floating chips so they cannot
        collide with the hero-copy column. The orb + constellation remain.
        Full 5-chip composition is only shown at >=1280px where there is
        enough horizontal space for both the copy column and the engine rail. ---- */
@media (max-width: 1279px) {
  .hero-chip { display: none; }
}

/* ---- Tablet (<=1024px): with chips hidden, the engine orb sits behind the
        hero lead paragraph. Dim the orb/halo and nudge it further right so the
        lead copy sits on clean dark. Stage is hidden entirely at <=680px. ---- */
@media (max-width: 1024px) {
  .hero-engine { opacity: .5; right: 0; }
  .hero-engine-glow { opacity: .6; }
}

/* Idle drift keyframes */
@keyframes chip-drift-a {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  25%  { transform: translate3d(6px,-8px,0) rotate(.4deg); }
  50%  { transform: translate3d(3px,-14px,0) rotate(-.3deg); }
  75%  { transform: translate3d(-5px,-7px,0) rotate(.2deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}
@keyframes chip-drift-b {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  30%  { transform: translate3d(-7px,6px,0) rotate(-.5deg); }
  60%  { transform: translate3d(-3px,12px,0) rotate(.4deg); }
  80%  { transform: translate3d(4px,5px,0) rotate(-.2deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}
@keyframes chip-drift-c {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  25%  { transform: translate3d(-6px,-10px,0) rotate(.3deg); }
  55%  { transform: translate3d(-2px,-15px,0) rotate(-.4deg); }
  80%  { transform: translate3d(5px,-6px,0) rotate(.2deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}
@keyframes chip-drift-d {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  30%  { transform: translate3d(7px,8px,0) rotate(-.4deg); }
  60%  { transform: translate3d(2px,14px,0) rotate(.5deg); }
  80%  { transform: translate3d(-4px,6px,0) rotate(-.3deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}
@keyframes chip-drift-e {
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  25%  { transform: translate3d(5px,9px,0) rotate(.3deg); }
  50%  { transform: translate3d(-3px,13px,0) rotate(-.4deg); }
  75%  { transform: translate3d(-6px,5px,0) rotate(.2deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}
[data-chip="0"] { animation: chip-drift-a 14s ease-in-out infinite; }
[data-chip="1"] { animation: chip-drift-b 18s ease-in-out infinite; animation-delay: -4s; }
[data-chip="2"] { animation: chip-drift-c 16s ease-in-out infinite; animation-delay: -9s; }
[data-chip="3"] { animation: chip-drift-d 20s ease-in-out infinite; animation-delay: -2s; }
[data-chip="4"] { animation: chip-drift-e 12s ease-in-out infinite; animation-delay: -7s; }

/* ---- Hero entrance — FAIL-OPEN ----
   Base styles (no class) are the FINAL VISIBLE state: opacity 1, no transform
   offset. The hidden/offset entrance state is doubly gated:
     1. html.hero-entrance-armed — added by the inline head script ONLY when the
        page was visible at parse time (a page parsed hidden never hides the hero).
     2. .hero.is-entering — added by motion.js, then removed on completion which
        is GUARANTEED by setTimeout + visibilitychange (timers fire in hidden
        tabs; requestAnimationFrame does not).
   When .is-entering is removed the hero falls back to base = fully visible, with
   no dependency on .is-revealed ever having been applied. */
html.hero-entrance-armed .hero.is-entering .eyebrow,
html.hero-entrance-armed .hero.is-entering .hero-lead,
html.hero-entrance-armed .hero.is-entering .hero-actions,
html.hero-entrance-armed .hero.is-entering .hero-trust,
html.hero-entrance-armed .hero.is-entering .hero-engine,
html.hero-entrance-armed .hero.is-entering .hero-chip {
  opacity: 0;
}
html.hero-entrance-armed .hero.is-entering .eyebrow { transform: translateY(12px); }
html.hero-entrance-armed .hero.is-entering .hero-lead { transform: translateY(10px); }
html.hero-entrance-armed .hero.is-entering .hero-actions { transform: translateY(8px); }
html.hero-entrance-armed .hero.is-entering .hero-engine { transform: translateY(-50%) scale(.88); }
html.hero-entrance-armed .hero.is-entering .hero-chip { transform: translateY(20px); }

/* Revealed state = the transition target. Because the base (no-class) state is
   already the visible state, removing .is-entering alone also lands here. */
html.hero-entrance-armed .hero.is-revealed .eyebrow,
html.hero-entrance-armed .hero.is-revealed .hero-lead,
html.hero-entrance-armed .hero.is-revealed .hero-actions,
html.hero-entrance-armed .hero.is-revealed .hero-trust {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
html.hero-entrance-armed .hero.is-revealed .hero-engine {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  transition: opacity var(--dur-slow) var(--ease-spring), transform var(--dur-slow) var(--ease-spring);
}
html.hero-entrance-armed .hero.is-revealed .hero-chip {
  opacity: 1;
  transition: opacity var(--dur-slow) var(--ease-spring);
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.problem-copy h2 { margin-block: var(--space-2) var(--space-4); }

.problem-assumptions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}
.assumption-chip {
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: rgba(16,20,28,.5);
  border: 1px solid var(--fz-line);
  color: var(--fz-steel);
  font-size: .9rem;
  font-weight: 500;
  will-change: transform, opacity;
}
.signal-chip--verified {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(53,212,255,.12), rgba(53,212,255,.04));
  border: 1px solid var(--fz-line-signal);
  box-shadow: var(--glow-signal);
  color: var(--fz-paper);
  font-size: .92rem;
  font-weight: 650;
}
.signal-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--fz-green);
  box-shadow: 0 0 12px rgba(71,209,140,.8);
  flex-shrink: 0;
}
.signal-chip--verified.pulse { transform: scale(1.04); transition: transform 300ms var(--ease-spring); }

/* ============================================================
   STICKY STORY
   ============================================================ */
.sticky-story { max-width: none; padding-inline: 0; padding-block: 0; }
.story-heading {
  max-width: var(--shell-maxw);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
  padding-top: clamp(72px, 11vw, 140px);
}
/* Default (no JS): the story renders as a static stacked layout so all
   four scenes are readable in order without scroll-pinning. The cinematic
   sticky/scroll-driven behavior is gated under html.js below (and disabled
   in the mobile/reduced-motion static path via .sticky-story--static). */
.sticky-wrapper { height: auto; position: relative; }
.sticky-stage {
  position: static;
  height: auto;
  display: block;
  padding-block: var(--space-6);
  max-width: var(--shell-maxw);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}
html.js .sticky-story:not(.sticky-story--static) .sticky-wrapper { height: 340vh; }
html.js .sticky-story:not(.sticky-story--static) .sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0;
  overflow: hidden;
}

.signal-track { display: none; }
html.js .sticky-story:not(.sticky-story--static) .signal-track {
  display: block;
  position: relative;
  height: 2px;
  width: 100%;
  background: var(--fz-line);
  margin-bottom: clamp(40px, 6vh, 72px);
  border-radius: 2px;
}
.signal-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--fz-cyan), var(--fz-blue));
  box-shadow: 0 0 12px rgba(53,212,255,.52);
  will-change: transform;
}
.signal-node {
  position: absolute;
  top: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--fz-ink-2);
  border: 1px solid var(--fz-line-signal);
  transform: translate(-50%, -50%);
  transition: background var(--dur-fast), box-shadow var(--dur-fast);
}
.signal-node[data-node="1"] { left: 0%; }
.signal-node[data-node="2"] { left: 33.3%; }
.signal-node[data-node="3"] { left: 66.6%; }
.signal-node[data-node="4"] { left: 100%; }
.signal-node.signal-dot--active {
  background: var(--fz-cyan);
  box-shadow: 0 0 12px rgba(53,212,255,.82);
}

/* Default (no JS): single-column stacked. Two-column cinematic grid is
   gated under html.js below. */
.sticky-grid { position: relative; display: block; }
html.js .sticky-story:not(.sticky-story--static) .sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  flex: 0 0 auto;
}

/* Scene text panels.
   Default (no JS): static stacked, every panel visible and readable in order.
   Cinematic absolute/hidden base only applies under html.js when the story
   is NOT in static (mobile/reduced-motion) mode. */
.scene-panels { position: static; }
.scene-panel {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: var(--space-4) 0 var(--space-4) var(--space-4);
  border-left: 2px solid var(--fz-line-signal);
  margin-bottom: var(--space-5);
}
html.js .sticky-story:not(.sticky-story--static) .scene-panels {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
html.js .sticky-story:not(.sticky-story--static) .scene-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.97);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  pointer-events: none;
  padding: 0;
  border-left: 0;
  margin-bottom: 0;
}
.scene-label {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fz-cyan);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.scene-panel h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: var(--space-3); }
.scene-panel p { color: var(--fz-paper-dim); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 46ch; }
/* JS-driven scene transitions — specificity matched to the cinematic base
   above so the active/entering/exiting states win under html.js. */
html.js .sticky-story:not(.sticky-story--static) .scene-panel--entering,
html.js .sticky-story:not(.sticky-story--static) .scene-panel--active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
html.js .sticky-story:not(.sticky-story--static) .scene-panel--exiting {
  opacity: 0;
  transform: translate3d(0, -16px, 0) scale(.98);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

/* Scene visual cards.
   Default (no JS): static stacked. Cinematic absolute/hidden base is gated
   under html.js (and disabled in the static path). The visual styling
   (glass card, padding, layout) stays unconditional. */
.scene-visuals { position: static; }
.scene-card {
  position: static;
  opacity: 1;
  transform: none;
  margin-bottom: var(--space-5);
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-lg);
  background: var(--fz-glass-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fz-line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
html.js .sticky-story:not(.sticky-story--static) .scene-visuals {
  position: relative;
  min-height: 320px;
}
html.js .sticky-story:not(.sticky-story--static) .scene-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(.94);
  transition: opacity var(--dur-slow) var(--ease-spring), transform var(--dur-slow) var(--ease-spring);
  margin-bottom: 0;
}
html.js .sticky-story:not(.sticky-story--static) .scene-card--active { opacity: 1; transform: translate3d(0,0,0) scale(1); }
html.js .sticky-story:not(.sticky-story--static) .scene-card--prev {
  opacity: 0;
  transform: translate3d(0, -20px, 0) scale(.97);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.scene-card-head {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--fz-line);
}
.scene-card-head span {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fz-steel);
}
.scene-card-head strong { font-size: 1.3rem; color: var(--fz-paper); font-weight: 650; }
/* Per-scene stage meter in the header — fills further each stage (01→04) so the
   four cards read as distinct, progressing film frames. */
.scene-card-head::after {
  content: "";
  margin-left: auto;
  align-self: center;
  width: clamp(48px, 16%, 80px);
  height: 4px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, var(--fz-cyan) 0 var(--meter, 25%), var(--fz-line) var(--meter, 25%) 100%);
  box-shadow: 0 0 8px rgba(53,212,255,.35);
}
.scene-card[data-scene="1"] { --meter: 25%; }
.scene-card[data-scene="2"] { --meter: 50%; }
.scene-card[data-scene="3"] { --meter: 75%; }
.scene-card[data-scene="4"] { --meter: 100%; }

.scene-card-bars { display: grid; gap: 10px; }
.scene-card-bars i {
  display: block; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--fz-cyan), rgba(47,128,255,.25));
  width: var(--w, 60%);
}
/* Subtle per-scene bar offset so the meter columns don't read identically
   from frame to frame (left-rail accent shifts down each stage). */
.scene-card[data-scene="2"] .scene-card-bars { padding-left: 6px; }
.scene-card[data-scene="3"] .scene-card-bars { padding-left: 12px; }
.scene-card[data-scene="4"] .scene-card-bars { padding-left: 18px; }

.scene-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.scene-card-tags span {
  font-size: .76rem; padding: 6px 11px; border-radius: var(--r-pill);
  background: rgba(53,212,255,.07); border: 1px solid var(--fz-line-signal); color: var(--fz-paper-dim);
}
/* Final stage card reads "verified/ready" — greener accent on its last tag. */
.scene-card[data-scene="4"] .scene-card-tags span:last-child {
  background: rgba(71,209,140,.08);
  border-color: rgba(71,209,140,.34);
  color: var(--fz-paper);
}

/* ============================================================
   OFFER PATH
   ============================================================ */
.path-section .section-heading { margin-bottom: clamp(40px, 6vw, 72px); }
.ladder-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.ladder-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--fz-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--fz-line);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.ladder-card.is-start { border-color: var(--fz-line-signal); box-shadow: var(--glow-signal); }
.ladder-card.muted-card { opacity: .92; }
.ladder-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: var(--shadow-card), var(--glow-signal);
  border-color: var(--fz-line-signal);
}
.ladder-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.04) 50%, transparent 70%);
  transform: translate3d(-120%, 0, 0);
  transition: transform 500ms var(--ease-out);
  pointer-events: none;
}
.ladder-card:hover::after { transform: translate3d(120%, 0, 0); }
.ladder-card .step-label {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fz-cyan); font-weight: 600;
}
.ladder-card h3 { color: var(--fz-paper); }
.ladder-card p { color: var(--fz-paper-dim); font-size: .96rem; flex: 1; }
.card-price { font-size: 1.05rem; font-weight: 700; color: var(--fz-paper); letter-spacing: 0; }
.card-unlock { font-size: .82rem; color: var(--fz-steel); }
.ladder-card .mini-link, .ladder-card .inline-card-link { margin-top: 6px; }

/* Connectors */
.path-connector {
  position: absolute;
  top: 50%;
  height: 1px;
  z-index: 0;
  display: none; /* shown on desktop grid */
  pointer-events: none;
}
.path-connector-line {
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--fz-line-signal);
  height: 1px; width: 100%;
  transition: transform 600ms var(--ease-out);
}
.path-connector-line.is-drawn { transform: scaleX(1); }

/* ============================================================
   SAMPLE REPORT PREVIEW
   ============================================================ */
.sample-report-section {
  background:
    radial-gradient(720px 420px at 78% 12%, rgba(53,212,255,.08), transparent 66%),
    linear-gradient(180deg, rgba(244,239,228,.012), rgba(53,212,255,.018));
}

.sample-report-section .section-heading {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.sample-report-preview {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: var(--space-4);
  max-width: 1040px;
  margin: 0 auto;
}

.sample-report-cover,
.sample-report-details article {
  border: 1px solid rgba(53,212,255,.18);
  border-radius: var(--r-lg);
  background: rgba(16,20,28,.64);
  box-shadow: var(--shadow-card);
}

.sample-report-cover {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 34px);
}

.sample-report-cover::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,212,255,.14), transparent 68%);
  pointer-events: none;
}

.sample-tag,
.sample-report-details span,
.sample-score span {
  color: var(--fz-cyan);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sample-report-cover h3 {
  position: relative;
  z-index: 1;
  margin: var(--space-3) 0 var(--space-2);
  color: var(--fz-paper);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.sample-report-cover p,
.sample-report-details p {
  position: relative;
  z-index: 1;
  color: var(--fz-paper-dim);
}

.sample-score {
  position: relative;
  z-index: 1;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(244,239,228,.10);
}

.sample-score strong {
  display: block;
  margin-top: 8px;
  color: var(--fz-paper);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: .95;
}

.sample-report-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.sample-report-details article {
  padding: 22px;
}

.sample-report-details strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--fz-paper);
  font-size: 1.02rem;
  line-height: 1.35;
}

/* ============================================================
   REPORT MODULES
   ============================================================ */
.deliverables .section-heading { margin-bottom: clamp(40px, 6vw, 64px); }
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.stack-card {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-md);
  background: var(--fz-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fz-line);
  /* hidden until revealed — scoped to html.js so content shows without JS */
  transition: opacity var(--dur-slow) var(--ease-spring), transform var(--dur-slow) var(--ease-spring);
}
html.js .stack-card:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.stack-card.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
/* top/bottom edge traces */
.stack-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 1px; width: 100%;
  background: var(--fz-cyan);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: .6;
}
.stack-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 100%;
  background: var(--fz-line-signal);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: .5;
}
.stack-card.is-visible::before { transform: scaleX(1); transition: transform 600ms var(--ease-out) 80ms; }
.stack-card.is-visible::after { transform: scaleX(1); transition: transform 600ms var(--ease-out) 180ms; }
.module-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fz-cyan);
  font-feature-settings: "tnum" 1;
  letter-spacing: .04em;
}
.stack-card h3 { margin-block: var(--space-2) var(--space-2); color: var(--fz-paper); }
.stack-card p { color: var(--fz-paper-dim); font-size: .94rem; }

.section-cta {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  display: grid;
  gap: var(--space-3);
  justify-items: center;
}
.section-cta h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--fz-paper); }
.section-cta > p { font-size: .86rem; color: var(--fz-steel); }

/* ============================================================
   FOUNDER STORY
   ============================================================ */
.founder-note-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.founder-copy h2 { margin-block: var(--space-2) var(--space-4); }
.founder-copy .copy-stack { margin-bottom: var(--space-4); }
.founder-pull-quote {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border-left: 2px solid var(--fz-cyan);
  background: var(--fz-signal-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--fz-paper);
  font-weight: 500;
}
.founder-signature {
  font-weight: 650;
  color: var(--fz-paper);
}
.founder-signature span { color: var(--fz-steel); font-weight: 500; }

.founder-photo { margin: 0; will-change: transform; }
.founder-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--fz-line);
  box-shadow: var(--shadow-card);
  background: var(--fz-ink);
}
.founder-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,7,9,.45));
  pointer-events: none;
}
.founder-photo-frame img { width: 100%; height: auto; display: block; }

/* ============================================================
   FAQ
   ============================================================ */
.questions-section .section-heading {
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 860px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--fz-line);
  border-radius: var(--r-md);
  background: var(--fz-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.faq-item:hover { border-color: var(--fz-line-signal); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 20px clamp(18px, 2.4vw, 26px);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--fz-paper);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0;
}
.faq-chevron {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--fz-cyan);
  border-bottom: 2px solid var(--fz-cyan);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out);
  margin-top: -4px;
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(-135deg); margin-top: 4px; }
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-out);
  overflow: hidden;
}
.faq-body.is-open { grid-template-rows: 1fr; }
.faq-inner {
  min-height: 0;
  /* Padding is 0 when collapsed so it cannot bleed below the trigger.
     When the body opens (.is-open) we restore the bottom padding via the
     parent selector so closed items show strictly zero answer content. */
  padding: 0 clamp(18px, 2.4vw, 26px) 0;
  overflow: hidden;
}
.faq-body.is-open .faq-inner {
  padding-bottom: var(--space-4);
}
.faq-inner p { color: var(--fz-paper-dim); font-size: .98rem; }

/* ============================================================
   QUIZ / FINAL CTA
   ============================================================ */
.quiz-conversion-section { overflow: hidden; }
.quiz-engine-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.quiz-engine-ring {
  width: min(680px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(53,212,255,.42);
  opacity: .08;
  animation: ring-spin 28s linear infinite;
}
.quiz-engine-glow {
  position: absolute;
  width: 70%; aspect-ratio: 1.4;
  background: radial-gradient(circle, rgba(53,212,255,.08), transparent 65%);
  filter: blur(20px);
}

.quiz-conversion-section .section-heading,
.quiz-conversion-section .proof-points,
.quiz-conversion-section .quiz-layout { position: relative; z-index: 1; }

.proof-points {
  list-style: none;
  margin: var(--space-5) auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  max-width: 860px;
}
.proof-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(16,20,28,.55);
  border: 1px solid var(--fz-line);
  font-size: .86rem;
  color: var(--fz-paper-dim);
}
.proof-points li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fz-cyan);
}

.quiz-layout {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.quiz-context-panel {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--fz-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fz-line);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.quiz-context-panel h3 { margin-block: var(--space-2) var(--space-3); color: var(--fz-paper); }
.quiz-context-panel > p { color: var(--fz-paper-dim); font-size: .94rem; margin-bottom: var(--space-3); }
.quiz-quote {
  margin-top: var(--space-3) !important;
  padding-top: var(--space-3);
  border-top: 1px solid var(--fz-line);
  font-style: italic;
  color: var(--fz-paper) !important;
  font-size: .96rem !important;
}

/* Live preview panel */
.live-preview-panel {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--fz-line);
  display: grid;
  gap: 10px;
}
.live-preview-head {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fz-steel); font-weight: 600;
  margin-bottom: 4px;
}
.live-preview-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fz-cyan); box-shadow: 0 0 8px rgba(53,212,255,.7);
}
.preview-item {
  display: none;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: rgba(53,212,255,.04);
  border: 1px solid var(--fz-line);
  font-size: .82rem;
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(.97);
  transition: opacity var(--dur-med) var(--ease-spring), transform var(--dur-med) var(--ease-spring);
}
.preview-item.is-populated { display: flex; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.preview-key { color: var(--fz-steel); }
.preview-val { color: var(--fz-paper); font-weight: 600; text-align: right; }

/* Quiz shell */
.quiz-shell {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--fz-glass-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fz-line-signal);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(53,212,255,.05);
}
.quiz-intro { margin-bottom: var(--space-4); }
.quiz-intro h3 { margin-block: var(--space-2) var(--space-2); color: var(--fz-paper); }
.quiz-intro > p { color: var(--fz-paper-dim); font-size: .94rem; }

.quiz-form { display: grid; gap: var(--space-4); }
.quiz-progress { display: grid; gap: 8px; }
.quiz-progress [data-quiz-step-label] {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fz-steel); font-weight: 600;
}
.quiz-progress-track {
  height: 3px;
  border-radius: 3px;
  background: var(--fz-line);
  overflow: hidden;
}
.quiz-progress-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--fz-cyan), var(--fz-blue));
  box-shadow: 0 0 10px rgba(53,212,255,.6);
  border-radius: 3px;
  transition: width var(--dur-med) var(--ease-spring);
}

/* Quiz steps as focused question cards */
.quiz-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: var(--space-3);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.quiz-step legend {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 650;
  letter-spacing: 0;
  color: var(--fz-paper);
  padding: 0;
  margin-bottom: var(--space-2);
  line-height: 1.25;
}
.quiz-step > label {
  display: block;
  font-size: .92rem;
  color: var(--fz-paper-dim);
}
/* radio option rows */
.quiz-step > label:has(input[type="radio"]) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--fz-line);
  background: rgba(16,20,28,.45);
  color: var(--fz-paper);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.quiz-step > label:has(input[type="radio"]):hover {
  border-color: var(--fz-line-signal);
  background: rgba(53,212,255,.05);
}
.quiz-step > label:has(input[type="radio"]:checked) {
  border-color: var(--fz-cyan);
  background: rgba(53,212,255,.08);
  box-shadow: var(--glow-signal);
}
.quiz-step input[type="radio"], .quiz-step input[type="checkbox"] {
  accent-color: var(--fz-cyan);
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.quiz-step textarea, .quiz-step input[type="text"], .quiz-step input[type="email"], .quiz-step input:not([type]) {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--fz-line);
  background: rgba(6,7,9,.5);
  color: var(--fz-paper);
  font-family: inherit;
  font-size: .95rem;
  resize: vertical;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.quiz-step textarea:focus, .quiz-step input:focus {
  border-color: var(--fz-cyan);
  background: rgba(6,7,9,.7);
  outline: none;
}
.quiz-step textarea::placeholder, .quiz-step input::placeholder { color: var(--fz-steel); opacity: .7; }

.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.email-warning {
  font-size: .85rem;
  color: var(--fz-amber);
  background: var(--fz-amber-soft);
  border: 1px solid var(--fz-line-amber);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
.backup-email-field span { display: block; font-size: .78rem; color: var(--fz-steel); margin-top: 3px; }
.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--fz-paper-dim);
  line-height: 1.4;
}
.consent-line input { margin-top: 3px; }
.form-error {
  font-size: .88rem;
  color: #ff8b7a;
  background: rgba(255,90,70,.08);
  border: 1px solid rgba(255,90,70,.28);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.quiz-controls {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-2);
}
.quiz-controls .button[data-quiz-next],
.quiz-controls .button[data-quiz-submit] { margin-left: auto; }

/* Quiz step transition classes (motion.js applies) */
.quiz-step--exit-forward { opacity: 0; transform: translate3d(-20px, 0, 0); }
.quiz-step--exit-back { opacity: 0; transform: translate3d(20px, 0, 0); }
.quiz-step--enter-forward { opacity: 0; transform: translate3d(20px, 0, 0); }
.quiz-step--enter-back { opacity: 0; transform: translate3d(-20px, 0, 0); }

/* Quiz result */
.quiz-result { display: grid; gap: var(--space-4); }
.form-success {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(71,209,140,.08);
  border: 1px solid rgba(71,209,140,.3);
  color: var(--fz-paper);
  font-size: .92rem;
}
.result-summary-card {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-lg);
  background: var(--fz-glass);
  border: 1px solid var(--fz-line-signal);
}
.card-label {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fz-cyan); font-weight: 600; margin-bottom: var(--space-2);
}
.result-summary-card h3 { color: var(--fz-paper); margin-bottom: var(--space-4); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.result-grid span {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fz-steel); font-weight: 600; margin-bottom: 6px;
}
.result-grid p { font-size: .92rem; color: var(--fz-paper-dim); }
.result-upgrade-actions { display: flex; gap: var(--space-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: var(--shell-maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 64px) var(--shell-pad);
  border-top: 1px solid var(--fz-line);
  display: grid;
  gap: var(--space-3);
}
.footer-compliance { font-size: .82rem; color: var(--fz-steel); max-width: 90ch; line-height: 1.5; }
.footer-brand { font-size: .84rem; color: var(--fz-paper-dim); font-weight: 600; }

/* ============================================================
   VALIDATION-FIRST HOMEPAGE PASS
   ============================================================ */
:root {
  --r-sm: 8px;
  --r-md: 8px;
  --r-lg: 8px;
  --r-pill: 8px;
}

body,
h1,
h2,
h3,
h4,
p,
.button,
.eyebrow,
.scene-label,
.step-label,
.card-label,
.faq-trigger,
.nav-links a,
.module-summary,
.status-pill {
  letter-spacing: 0;
}

.hero {
  min-height: calc(100svh - var(--nav-h) - 88px);
  padding-block: clamp(88px, 12vh, 132px) clamp(54px, 8vh, 92px);
}

.hero-copy {
  max-width: 760px;
}

.hero-stage {
  opacity: .42;
}

.hero-ladder-preview {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 760px;
}

.hero-ladder-step {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--fz-line);
  border-radius: var(--r-sm);
  color: var(--fz-paper-dim);
  background: rgba(16,20,28,.52);
  font-size: .84rem;
  font-weight: 600;
}

.hero-ladder-step.is-active {
  color: #031019;
  border-color: rgba(53,212,255,.75);
  background: var(--fz-cyan);
}

.hero-ladder-step.is-muted {
  color: var(--fz-steel);
  border-style: dashed;
}

.hero-ladder-arrow {
  color: var(--fz-steel);
  font-size: .9rem;
}

.bridge-line {
  color: var(--fz-paper) !important;
  font-weight: 700;
}

.honesty-beat {
  max-width: 880px;
  margin: clamp(42px, 6vw, 72px) auto 0;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--fz-line-amber);
  border-radius: var(--r-md);
  color: var(--fz-paper);
  background:
    linear-gradient(135deg, rgba(245,184,75,.12), rgba(16,20,28,.66)),
    rgba(16,20,28,.72);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.order-band {
  width: 100%;
  max-width: none;
  margin: clamp(24px, 5vw, 52px) auto 0;
  padding: clamp(26px, 4vw, 42px) var(--shell-pad);
  border-block: 1px solid rgba(53,212,255,.12);
  background:
    radial-gradient(720px 240px at 50% 0%, rgba(53,212,255,.08), transparent 68%),
    rgba(16,20,28,.22);
}

.order-band p {
  margin: 0 auto;
  max-width: 980px;
  padding: 18px clamp(18px, 3vw, 28px);
  border: 1px solid rgba(53,212,255,.20);
  border-radius: var(--r-md);
  color: var(--fz-paper-dim);
  background: rgba(16,20,28,.58);
  text-align: center;
  box-shadow: 0 16px 46px rgba(0,0,0,.28);
}

.order-band strong {
  color: var(--fz-paper);
}

.blueprint-bridge,
.fit-section,
.comparison-section {
  background: linear-gradient(180deg, rgba(244,239,228,.03), rgba(244,239,228,.015));
}

.bridge-panel {
  display: grid;
  gap: var(--space-4);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--fz-line-signal);
  border-radius: var(--r-lg);
  background: rgba(16,20,28,.72);
  box-shadow: var(--shadow-card);
}

.bridge-panel {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border-color: rgba(53,212,255,.18);
  background:
    radial-gradient(560px 320px at 12% 0%, rgba(53,212,255,.11), transparent 62%),
    linear-gradient(145deg, rgba(16,20,28,.86), rgba(7,9,13,.92));
  box-shadow: 0 28px 80px rgba(0,0,0,.44), inset 0 1px 0 rgba(244,239,228,.06);
}

.bridge-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(53,212,255,.18), transparent 34%);
  opacity: .22;
}

.bridge-copy,
.bridge-deliverables {
  position: relative;
  z-index: 1;
}

.bridge-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  max-width: 620px;
}

.bridge-panel h2 {
  margin-top: var(--space-2);
}

.bridge-lead {
  margin: 0;
  color: var(--fz-paper-dim);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 58ch;
}

.bridge-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.bridge-actions span {
  color: var(--fz-steel);
  font-size: .92rem;
}

.bridge-panel .copy-stack {
  color: var(--fz-paper-dim);
}

.bridge-deliverables {
  align-self: stretch;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(244,239,228,.10);
  border-radius: var(--r-md);
  background: rgba(6,7,9,.30);
}

.bridge-label {
  margin: 0 0 var(--space-3);
  color: var(--fz-paper);
  font-weight: 750;
}

.blueprint-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.bridge-panel .blueprint-list {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.blueprint-list li,
.gate-grid span {
  position: relative;
  padding: 12px 14px 12px 34px;
  border: 1px solid var(--fz-line);
  border-radius: var(--r-sm);
  color: var(--fz-paper-dim);
  background: rgba(6,7,9,.38);
  font-size: .94rem;
}

.bridge-panel .blueprint-list li {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-color: rgba(244,239,228,.095);
  background: rgba(244,239,228,.035);
  color: var(--fz-paper);
}

.blueprint-list li::before,
.gate-grid span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fz-cyan);
  box-shadow: 0 0 10px rgba(53,212,255,.55);
}

.boundary-line,
.mechanism-callout,
.fit-line,
.process-proof {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--fz-line-amber);
  color: var(--fz-paper);
  background: var(--fz-amber-soft);
  font-weight: 650;
}

.bridge-panel .boundary-line {
  margin: var(--space-3) 0 0;
  border-color: rgba(245,184,75,.20);
  background: rgba(245,184,75,.08);
  color: var(--fz-paper-dim);
  font-size: .92rem;
}

.mechanism-section .section-heading,
.system-section .section-heading {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.mechanism-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3);
}

.mechanism-step {
  min-height: 210px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--fz-line);
  border-radius: var(--r-md);
  background: var(--fz-glass);
}

.mechanism-step span {
  display: inline-flex;
  margin-bottom: var(--space-3);
  color: var(--fz-cyan);
  font-weight: 700;
}

.mechanism-step h3 {
  margin-bottom: var(--space-2);
}

.mechanism-step p,
.fit-card li,
.comparison-grid p,
.module-item p {
  color: var(--fz-paper-dim);
}

.mechanism-callout,
.fit-line,
.process-proof {
  margin-top: var(--space-5);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.fit-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--fz-line);
  border-radius: var(--r-md);
  background: var(--fz-glass);
}

.fit-card h3 {
  margin-bottom: var(--space-3);
}

.fit-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 10px;
}

.not-fit {
  border-color: var(--fz-line-amber);
  background: rgba(245,184,75,.06);
}

.gates-section .section-heading {
  margin-bottom: var(--space-5);
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.module-accordion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.module-item {
  position: relative;
  border: 1px solid var(--fz-line);
  border-radius: var(--r-md);
  background: var(--fz-glass);
  overflow: hidden;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, opacity var(--dur-fast) ease;
}

.module-item[open] {
  border-color: var(--fz-line-signal);
  box-shadow: var(--glow-signal);
}

.module-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
}

.module-card[data-status="available"] {
  order: 1;
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 0 24px -8px rgba(59,130,246,.35);
}

.module-card[data-status="full-build"] {
  order: 2;
  border-color: rgba(244,239,228,.10);
}

.module-card[data-status="roadmap"] {
  order: 3;
  border-color: rgba(244,239,228,.06);
  opacity: .7;
}

.module-card[data-entry="true"] {
  overflow: visible;
}

.module-card[data-entry="true"]::before {
  content: "START HERE";
  position: absolute;
  top: -10px;
  left: 16px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--fz-blue, #3B82F6);
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .08em;
  font-weight: 800;
}

.module-summary {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-content: center;
  padding: 18px;
  cursor: pointer;
  color: var(--fz-paper);
  font-weight: 700;
}

.module-card .module-summary {
  cursor: default;
}

.module-summary::-webkit-details-marker {
  display: none;
}

.module-summary:focus-visible {
  outline: 2px solid var(--fz-cyan);
  outline-offset: -4px;
}

.status-pill {
  justify-self: start;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid var(--fz-line-signal);
  border-radius: var(--r-sm);
  color: var(--fz-cyan);
  background: rgba(53,212,255,.08);
  font-size: .78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.module-card[data-status="available"] .status-pill {
  border: none;
  background: var(--fz-blue, #3B82F6);
  color: #fff;
}

.module-card[data-status="full-build"] .status-pill {
  border-color: rgba(59,130,246,.50);
  background: transparent;
  color: #60A5FA;
}

.module-card[data-status="roadmap"] .status-pill {
  border-color: rgba(148,163,184,.35);
  background: transparent;
  color: rgba(148,163,184,.90);
}

.module-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--fz-paper-dim);
  font-size: .94rem;
}

.system-cta {
  max-width: 720px;
  margin: var(--space-5) auto 0;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--space-3);
}

.system-cta h3 {
  margin: 0;
  max-width: 20ch;
  color: var(--fz-paper);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.comparison-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.comparison-grid article {
  padding: 20px;
  border: 1px solid var(--fz-line);
  border-radius: var(--r-md);
  background: rgba(16,20,28,.54);
}

.comparison-grid h3 {
  margin-bottom: var(--space-2);
}

.quiz-layout.quiz-layout--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.quiz-layout--single .quiz-shell {
  width: 100%;
}

.tertiary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--fz-paper-dim);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.final-disclaimer {
  font-size: .86rem;
  color: var(--fz-steel) !important;
}

/* ============================================================
   GLOBAL REVEAL
   Hiding is scoped to html.js so content is always visible when
   both JS files fail to load (no-JS fallback). The inline <script>
   in <head> adds the .js class before first paint.
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
/* MUST out-specify the html.js .reveal hide rule above (0,2,1). Scoping the
   visible rule to html.js too gives it (0,3,1) so .is-visible reliably wins —
   otherwise revealed content stays stuck at opacity:0 even after JS fires. */
html.js .reveal.is-visible,
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.founder-pull-quote {
  /* default visible — reveal handled by parent .founder-copy */
}

/* ============================================================
   RESPONSIVE — NAV TABLET (681–880px): tighten nav so links fit
   without wrapping. Below 681px the entire nav-links block is
   already hidden by the mobile rule.
   ============================================================ */
@media (min-width: 681px) and (max-width: 880px) {
  .nav { gap: var(--space-2); padding-inline: clamp(12px, 2.5vw, 24px); }
  .nav-links { gap: var(--space-2); }
  .nav-links a { font-size: .82rem; }
  .nav-action { padding: 8px 14px; font-size: .88rem; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 980px) {
  .problem-section { grid-template-columns: 1fr; }
  .problem-assumptions { flex-direction: row; flex-wrap: wrap; }
  .founder-note-card { grid-template-columns: 1fr; }
  .founder-photo { max-width: 460px; }
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-context-panel { position: static; }
  .live-preview-panel { display: none; }
  .ladder-grid { grid-template-columns: 1fr; }
  .sample-report-preview { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
  .bridge-panel { grid-template-columns: 1fr; }
  .blueprint-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mechanism-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-accordion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Cinematic-mode tweaks (scoped to match the html.js base specificity) */
  html.js .sticky-story:not(.sticky-story--static) .sticky-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  html.js .sticky-story:not(.sticky-story--static) .scene-visuals { min-height: 260px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (conversion-first, parallax disabled)
   ============================================================ */
@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .brand-lockup { height: 26px; }
  .nav { gap: 12px; }
  .nav-action {
    padding: 9px 10px;
    font-size: clamp(.72rem, 3.4vw, .82rem);
  }

  .hero {
    min-height: auto;
    display: block;
    padding-block: clamp(48px, 16vh, 96px) var(--space-6);
  }
  .hero-copy { margin-left: 0; padding-inline: 20px; width: 100%; }
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.55rem);
    overflow-wrap: break-word;
  }
  .hero-copy .eyebrow,
  .hero-lead,
  .hero-trust { max-width: 100%; overflow-wrap: break-word; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button,
  .tertiary-link { width: 100%; }
  .hero-ladder-preview { align-items: stretch; flex-direction: column; }
  .hero-ladder-arrow { display: none; }
  .hero-ladder-step { justify-content: center; text-align: center; }
  /* Mobile: hide the cinematic engine/chips stage; conversion-first */
  .hero-stage { display: none; }
  .hero-grid { opacity: .35; }
  .quiz-engine-ring { display: none; }

  .report-grid { grid-template-columns: 1fr; }
  .sample-report-details { grid-template-columns: 1fr; }
  .blueprint-list,
  .mechanism-rail,
  .fit-grid,
  .gate-grid,
  .module-accordion,
  .comparison-grid { grid-template-columns: 1fr; }
  .bridge-panel { padding: 24px 18px; gap: var(--space-4); }
  .bridge-panel h2 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .bridge-actions { align-items: stretch; flex-direction: column; }
  .bridge-actions .button { width: 100%; justify-content: center; }
  .bridge-deliverables { padding: 16px; }
  .bridge-panel .blueprint-list { grid-template-columns: 1fr; }
  .bridge-panel .blueprint-list li { min-height: 48px; }
  .mechanism-step { min-height: auto; }
  .module-summary { min-height: auto; }
  .system-cta .button { width: 100%; }
  .form-grid.two { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .quiz-controls { flex-wrap: wrap; }
  .quiz-controls .button { flex: 1; min-width: 120px; }
  .proof-points { flex-direction: column; align-items: stretch; }
  .proof-points li { justify-content: center; }

  /* Sticky story → static stacked panels on mobile */
  .sticky-wrapper { height: auto; }
  .sticky-stage { position: static; height: auto; padding-block: var(--space-5); display: block; }
  .signal-track { display: none; }
  .sticky-grid { display: block; }
  .scene-panels, .scene-visuals { position: static; min-height: 0; }
  .scene-panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: var(--space-4) 0 var(--space-4) var(--space-4);
    border-left: 2px solid var(--fz-line-signal);
    margin-bottom: var(--space-5);
  }
  .scene-card {
    position: static;
    opacity: 1;
    transform: none;
    margin-bottom: var(--space-5);
  }
}

@media (max-width: 520px) {
  .section:not(.hero),
  .footer {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .hero-copy {
    width: min(calc(100% - 40px), 350px);
    margin-inline: auto;
    padding-inline: 0;
  }
}

/* ============================================================
   STATIC STORY FALLBACK (mobile/reduced-motion, set by JS)
   Paired film-frame layout: each scene's text sits beside its card. Both child
   containers become 4-row grids inside a two-column parent grid so scene N text
   aligns row-by-row with scene N card (>=720px); single column below.
   ============================================================ */
.sticky-story--static .sticky-wrapper { height: auto; }
.sticky-story--static .sticky-stage { position: static; height: auto; display: block; padding-block: var(--space-6); }
.sticky-story--static .signal-track { display: none; }
.sticky-story--static .sticky-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: clamp(20px, 3vw, 32px);
}
.sticky-story--static .scene-panels,
.sticky-story--static .scene-visuals {
  position: static; min-height: 0;
  display: grid;
  grid-auto-rows: 1fr;          /* equal rows → scene N text aligns with scene N card */
  gap: clamp(20px, 3vw, 32px);
}
.sticky-story--static .scene-panel {
  position: static; opacity: 1; transform: none; pointer-events: auto;
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
  border-left: 2px solid var(--fz-line-signal);
  margin-bottom: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.sticky-story--static .scene-card {
  position: static; opacity: 1; transform: none; margin-bottom: 0;
}
.sticky-story--static .signal-fill { transform: scaleX(1); }

@media (min-width: 720px) {
  .sticky-story--static .sticky-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: stretch;
  }
  /* equal row tracks in both columns so each scene's text and card line up */
  .sticky-story--static .scene-panels,
  .sticky-story--static .scene-visuals { grid-template-rows: repeat(4, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { scroll-behavior: auto !important; }

  /* kill all keyframe drift / spin */
  .hero-chip,
  .hero-engine-ring--dashed,
  .quiz-engine-ring {
    animation: none !important;
  }

  /* reveals become opacity-only / instant (scoped to html.js to match the hide rule's specificity) */
  html.js .reveal,
  .reveal { opacity: 1; transform: none; transition: none; }

  /* hero entrance instant */
  .hero.is-entering .eyebrow,
  .hero.is-entering .hero-lead,
  .hero.is-entering .hero-actions,
  .hero.is-entering .hero-trust,
  .hero.is-entering .hero-engine,
  .hero.is-entering .hero-chip {
    opacity: 1;
    transform: none;
  }
  .hero.is-entering .hero-engine { transform: translateY(-50%); }

  /* problem chips: dim static, signal stays lit */
  .assumption-chip { opacity: .25 !important; transform: none !important; transition: none !important; }
  .signal-chip--verified { opacity: 1; }
  .signal-chip--verified.pulse { transform: none; }

  /* sticky story renders as static stacked panels */
  .sticky-wrapper { height: auto; }
  .sticky-stage { position: static; height: auto; display: block; padding-block: var(--space-6); }
  .signal-track { display: none; }
  .sticky-grid { display: block; }
  .scene-panels, .scene-visuals { position: static; min-height: 0; }
  .scene-panel {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    padding: var(--space-4) 0 var(--space-4) var(--space-4);
    border-left: 2px solid var(--fz-line-signal);
    margin-bottom: var(--space-4);
    transition: none;
  }
  .scene-card { position: static; opacity: 1; transform: none; margin-bottom: var(--space-5); transition: none; }

  /* path connectors and module traces fully drawn */
  .path-connector-line { transform: scaleX(1); transition: none; }
  html.js .stack-card:not(.is-visible),
  .stack-card { opacity: 1; transform: none; transition: none; }
  .stack-card::before, .stack-card::after { transform: scaleX(1); transition: none; }

  /* hover/sweep off */
  .ladder-card::after { transition: none; }
  .ladder-card:hover { transform: none; }

  /* faq instant */
  .faq-body, .faq-chevron { transition: none; }

  /* preview items visible if populated, no anim */
  .preview-item { transition: none; }

  /* quiz transitions instant */
  .quiz-step { transition: none; }
  .quiz-progress-track i { transition: none; }

  /* hide nav progress line */
  .nav-progress { display: none; }
}
