@charset "UTF-8";
/* ============================================================
   IC_TERMINAL · v4 · cinematic editorial · Palantir-inspired
   Dark mode only · Geist + Geist Mono + Instrument Serif italic
   ============================================================ */

:root {
  --bg:        #000000;
  --bg-2:      #000000;
  --surface:   #0d0c1c;
  --surface-2: #131227;
  --surface-3: #1a1932;

  --line:      rgba(255, 255, 255, 0.06);
  --line-2:    rgba(255, 255, 255, 0.12);
  --line-3:    rgba(255, 255, 255, 0.20);

  --text:      #f3f4f7;
  --text-2:    #8e94a3;
  --text-3:    #555c6c;
  --text-4:    #353a48;

  /* ─── Tweakable: one signal color ─── */
  /* All accent colors are derived from --signal so the palette tweak is a
     single source of truth. */
  --signal:    #4d9fff;
  --blue:      var(--signal);
  --blue-soft: color-mix(in srgb, var(--signal) 65%, #ffffff 35%);
  --blue-dim:  color-mix(in srgb, var(--signal) 14%, transparent);
  --blue-glow: color-mix(in srgb, var(--signal) 45%, transparent);

  --amber:     #d9a441;
  --red:       #e26a6a;

  --sans:  'Geist', 'Söhne', -apple-system, system-ui, sans-serif;
  --mono:  'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
  --serif: 'Instrument Serif', 'Times New Roman', serif;

  --max:    1480px;
  --gutter: clamp(28px, 5vw, 88px);

  /* one shared easing curve */
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* ─── Tweakable: motion tempo multiplier ─── */
  --tempo:    1;
  --stagger-mult: 1;
  --stagger:  calc(110ms * var(--tempo) * var(--stagger-mult));
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'ss03', 'cv01', 'cv11';
  letter-spacing: -0.01em;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--blue); color: #000; }

/* ─────── shared helpers ─────── */
.mono {
  font-family: var(--mono);
  font-feature-settings: 'tnum', 'zero';
  letter-spacing: 0.06em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 400;
}
em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--text);
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.01em;
}
.sep { opacity: .45; margin: 0 .35em; }
.dim { color: var(--text-4); }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); margin-right: 8px; vertical-align: middle; }
.dot--blue { background: var(--blue); box-shadow: 0 0 14px var(--blue-glow); }
.dot--red  { background: var(--red); box-shadow: 0 0 8px rgba(226,106,106,.4); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

/* ============================================================
   NAV  (wordmark top-right · single CTA)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  pointer-events: none;
  padding: clamp(12px, 1.4vw, 18px) clamp(16px, 2vw, 28px);
}
.nav__inner > * { pointer-events: auto; }
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(10px, 1vw, 14px) clamp(16px, 1.6vw, 22px) clamp(10px, 1vw, 14px) clamp(20px, 2vw, 28px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.09);
}

/* Text-shadow keeps CTA/logo readable when the bar passes over bright glows */
.nav__cta, .nav__icon { text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 0 18px rgba(0,0,0,0.5); }
.nav__logo { filter: brightness(1.1) drop-shadow(0 1px 6px rgba(0,0,0,0.6)) drop-shadow(0 0 12px rgba(0,0,0,0.4)); }
.nav__brand { grid-column: 1; justify-self: start; padding: 0; }
.nav__right { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 0; }

/* Logo */
.nav__logo {
  height: 48px; width: auto;
  aspect-ratio: 807 / 158;
  object-fit: contain;
  object-position: left center;
  display: block;
  mix-blend-mode: lighten;
  filter: brightness(1.1);
  transition: height .35s var(--ease);
}

/* CTA */
.nav__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.003em;
  color: #fff;
  background: transparent;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  transition: color .25s var(--ease), opacity .25s var(--ease);
  white-space: nowrap;
  opacity: 0.95;
}
.nav__cta:hover { opacity: 1; }
.nav__cta-arrow {
  font-size: 12px;
  opacity: 0.6;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__cta:hover .nav__cta-arrow { transform: translate(2px, -2px); opacity: 1; }

/* Menu button */
.nav__icon {
  width: 42px; height: 42px;
  border: 0; padding: 0;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.45));
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity .25s var(--ease);
}
.nav__icon:hover { opacity: 1; }
.nav__icon svg { display: block; }

.nav__menu-btn { flex-direction: column; gap: 5px; }
.nav__menu-bar {
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
  transform-origin: center;
}
.nav__menu-btn[aria-expanded="true"] .nav__menu-bar:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] .nav__menu-bar:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ── Dropdown panel (sections menu) ─────── */
.nav__panel {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 12px;
  background: rgba(10, 12, 22, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.8);
  padding: 10px;
  min-width: 220px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav__panel[hidden] { display: none; }
.nav__panel.is-open {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.nav__panel a {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: 4px;
  letter-spacing: -0.003em;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__panel a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* On smaller screens */
@media (max-width: 720px) {
  .nav__inner { padding: 12px 16px; gap: 8px; }
  .nav__cta { padding: 11px 18px; font-size: 14px; }
  .nav__logo { height: 34px; }
  .nav__icon { width: 38px; height: 38px; }
}

/* buttons (only used in nav + final CTA) */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 2px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--xl { padding: 22px 34px; font-size: 16px; }
.btn--primary { background: var(--blue); color: #04101f; border-color: var(--blue); }
.btn--primary:hover {
  background: var(--blue-soft); border-color: var(--blue-soft);
  box-shadow: 0 0 0 1px var(--blue-glow), 0 14px 36px -12px var(--blue-glow);
}
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

/* ── Final CTA button — pill, larger type, less square ── */
.cta .btn.btn--xl {
  padding: 20px 40px;
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: -0.01em;
  font-weight: 500;
  border-radius: 999px;
  gap: 14px;
  line-height: 1;
}
.cta .btn.btn--xl .btn__arrow {
  font-size: 1.1em;
  font-weight: 400;
  opacity: 0.85;
}

/* ============================================================
   SCENE SHELL — tighter spacing, smoother flow
   ============================================================ */
.scene {
  position: relative;
  max-width: 100%;
  padding: clamp(90px, 10vw, 150px) var(--gutter);
  margin: 0 auto;
}
.scene > * { max-width: var(--max); margin-left: auto; margin-right: auto; width: 100%; }

.scene__index {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--text-3); letter-spacing: 0.12em;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.scene__num { color: var(--blue); }
.scene__rule { width: 40px; height: 1px; background: var(--blue); display: inline-block; opacity: .8; }

/* ─────── shared headings ─────── */
.title, .title--xl,
.problem__title, .cta__title,
.inter__phrase, .manifesto__title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 0.98;
  color: var(--text);
  text-wrap: balance;
  font-feature-settings: 'ss01', 'ss03';
}
.title { font-size: clamp(36px, 4.4vw, 60px); }
.title--xl { font-size: clamp(48px, 6.2vw, 96px); }
.title--serif,
.problem__title--serif,
.inter__phrase--serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text-2);
}

.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--text-2);
  line-height: 1.5;
  margin: 32px 0 0;
  max-width: 48ch;
  text-wrap: pretty;
}
.lede em { color: var(--text); }

/* ============================================================
   REVEAL SYSTEM
   - .reveal-host gets is-in once it enters viewport
   - children with .reveal-item fade-blur in with --i staggered delay
   - .smoke-in is a heavier, longer "smoke condensing" effect
   ============================================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity calc(1.45s * var(--tempo)) var(--ease),
    transform calc(1.45s * var(--tempo)) var(--ease),
    filter calc(1.45s * var(--tempo)) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
  will-change: opacity, transform, filter;
}
.reveal-item.is-revealed,
.is-in .reveal-item {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.smoke-in {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(14px);
  transition:
    opacity calc(2.5s * var(--tempo)) var(--ease),
    transform calc(2.5s * var(--tempo)) var(--ease),
    filter calc(2.5s * var(--tempo)) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
  will-change: opacity, transform, filter;
}
.smoke-in.is-revealed,
.is-in .smoke-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .smoke-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ============================================================
   HERO — 01 (rotating phrase, no CTAs, blends down)
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: #070612;
}
.hero > * { max-width: none; margin: 0; padding: 0; }

.hero__video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; opacity: 0.95;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.04);
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0, 0, 0,0.42) 0%, rgba(0, 0, 0,0.78) 80%),
    linear-gradient(180deg, rgba(0, 0, 0,0.45) 0%, rgba(0, 0, 0,0.30) 35%, rgba(0, 0, 0,0.60) 70%, rgba(0, 0, 0,1) 100%);
}
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 320px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}

.hero__corner {
  position: relative; z-index: 3;
  padding-top: clamp(96px, 11vw, 140px);
  color: var(--text-3); letter-spacing: 0.14em;
}

.hero__inner {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 0;
}

/* ─────── rotator ─────── */
.rotator {
  position: relative;
  width: 100%;
  max-width: 1320px;
  min-height: clamp(220px, 28vw, 380px);
  display: grid;
}
.rotator__slot {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(4px, 0.6vw, 14px);
  opacity: 0;
  filter: blur(14px);
  transform: translateY(28px);
  transition:
    opacity calc(1.1s * var(--tempo)) var(--ease),
    filter calc(1.1s * var(--tempo)) var(--ease),
    transform calc(1.1s * var(--tempo)) var(--ease);
  pointer-events: none;
  text-align: left;
}
.rotator__slot.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  pointer-events: auto;
}

.phrase__line {
  display: block;
  font-size: 90px;
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--text);
  text-wrap: balance;
  font-feature-settings: 'ss01', 'ss03';
}
.phrase__line--serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.94);
}

/* per-word stagger inside an active slot (words wrapped by JS) */
.word { display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(10px); }
.is-active .word {
  opacity: 1; transform: translateY(0); filter: blur(0);
  transition:
    opacity calc(.9s * var(--tempo)) var(--ease),
    transform calc(.9s * var(--tempo)) var(--ease),
    filter calc(.9s * var(--tempo)) var(--ease);
}

/* ============================================================
   VOICE TWEAK — "Direct" flattens italic-serif accents to sans,
   shifting the design from cinematic editorial to institutional
   infrastructure. Applied via body.voice-direct.
   ============================================================ */
body.voice-direct .title--serif,
body.voice-direct .display--serif,
body.voice-direct .phrase__line--serif,
body.voice-direct .problem__title--serif,
body.voice-direct .inter__phrase--serif {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
}
body.voice-direct em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  color: var(--text);
  font-size: 1em;
  letter-spacing: -0.005em;
}
body.voice-direct .verdict {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
}
body.voice-direct .stp--end .stp__title {
  font-family: var(--sans);
  font-style: normal;
}

.hero__progress {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 24px;
  padding-bottom: 16px;
  max-width: 1320px; margin: 0 auto;
  width: 100%;
}
.progress__indices { display: flex; gap: 18px; }
.px { color: var(--text-4); letter-spacing: 0.12em; transition: color .4s var(--ease); cursor: pointer; }
.px.is-active { color: var(--blue); }
.progress__rail { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.progress__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--blue); box-shadow: 0 0 14px var(--blue-glow); }

.hero__foot {
  position: relative; z-index: 3;
  display: flex; align-items: center;
  padding: 24px 0 clamp(28px, 4vw, 48px);
  color: var(--text-3);
  letter-spacing: 0.1em;
  max-width: 1320px; margin: 0 auto;
  width: 100%;
}
.hero__foot-right { margin-left: auto; color: var(--text-3); }

/* ============================================================
   TENSION — 02 (sequential reveals + smoke)
   ============================================================ */
.problem {
  padding-top: clamp(60px, 6vw, 100px);
  padding-bottom: clamp(220px, 36vh, 420px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto auto;
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: clamp(72px, 9vw, 120px);
  align-items: end;
}
.problem > .scene__index { grid-column: 1 / -1; margin-bottom: clamp(40px, 5vw, 64px); }

.problem__title {
  grid-column: 1; grid-row: 2;
  font-size: clamp(48px, 7.6vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.problem__title--serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--text-2); letter-spacing: -0.025em;
}

.problem__inputs {
  grid-column: 2; grid-row: 2;
  align-self: end;
  font-family: var(--mono);
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--text);
  text-transform: none;
  padding-left: 0;
  border-left: 0;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 28ch;
}
.problem__inputs-item {
  color: var(--text);
}
.problem__inputs-item::before {
  content: '\B7'; color: var(--blue); margin-right: 10px;
}

.problem__quote {
  grid-column: 1 / -1; grid-row: 3;
  margin: clamp(80px, 10vw, 160px) 0 0;
  max-width: 1100px;
  display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 24px);
}
.problem__quote-top {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: rgba(232, 234, 240, 0.38); /* muted grey — sets the stage */
  font-weight: 400;
  text-wrap: balance;
  max-width: 22ch;
}
.problem__quote-top .hl-soft {
  color: color-mix(in oklab, rgba(232, 234, 240, 0.58) 75%, var(--blue) 25%);
}
.problem__quote-bottom {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92); /* pale silver — the answer carries the weight */
  text-wrap: balance;
  max-width: 18ch;
}
.problem__quote-bottom .lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(248, 250, 254, 0.95);
  letter-spacing: -0.025em;
}
.problem__quote-bottom em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(248, 250, 254, 0.95);
  letter-spacing: -0.025em;
}
.problem__quote-bottom .hl-check {
  color: var(--blue);
}

/* ============================================================
   TENSION — tweakable knobs (12 controls)
   ============================================================ */

/* (1) Inputs list style */
body.tn-inputs-dashes .problem__inputs-item::before { content: '— '; color: var(--blue); margin-right: 6px; }
body.tn-inputs-numbered .problem__inputs { counter-reset: tnin; }
body.tn-inputs-numbered .problem__inputs-item { counter-increment: tnin; }
body.tn-inputs-numbered .problem__inputs-item::before { content: counter(tnin, decimal-leading-zero) '  '; color: var(--blue); margin-right: 14px; font-feature-settings: 'tnum'; }
body.tn-inputs-none .problem__inputs-item::before { content: none; }

/* (2) Inputs alignment */
body.tn-inputs-left .problem__inputs { padding-left: 0; border-left: 0; align-self: end; }
body.tn-inputs-center .problem {
  grid-template-columns: 1fr;
}
body.tn-inputs-center .problem__title { grid-column: 1; max-width: none; text-align: center; margin: 0 auto; }
body.tn-inputs-center .problem__inputs {
  grid-column: 1; grid-row: 3;
  border-left: 0; padding-left: 0;
  flex-direction: row; flex-wrap: wrap;
  justify-content: center;
  max-width: none;
  gap: 8px 22px;
  margin-top: clamp(20px, 3vw, 40px);
}
body.tn-inputs-center .problem__quote { grid-row: 4; text-align: center; align-items: center; }
body.tn-inputs-center .problem__quote-top,
body.tn-inputs-center .problem__quote-bottom { max-width: none; }

/* (3) Title weight */
body.tn-title-serif .problem__title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.025em;
}
body.tn-title-serif .problem__title--serif { font-family: inherit; }
body.tn-title-sans .problem__title--serif {
  font-family: var(--sans); font-style: normal; font-weight: 500;
  color: var(--text); letter-spacing: -0.045em;
}
body.tn-title-mono .problem__title {
  font-family: var(--mono); font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(36px, 5.4vw, 80px);
  letter-spacing: -0.005em;
  line-height: 1.06;
}
body.tn-title-mono .problem__title--serif {
  font-family: inherit; font-style: normal; font-weight: 400;
  color: var(--text-2);
}

/* (4) Quote layout */
body.tn-quote-inline .problem__quote { display: block; max-width: 28ch; }
body.tn-quote-inline .problem__quote-top {
  display: inline; font-size: clamp(32px, 4.2vw, 64px);
  color: var(--text);
}
body.tn-quote-inline .problem__quote-top::after { content: ' '; }
body.tn-quote-inline .problem__quote-bottom {
  display: inline; font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 400;
}
body.tn-quote-center .problem__quote { align-items: center; text-align: center; max-width: 1200px; margin-left: auto; margin-right: auto; }
body.tn-quote-center .problem__quote-top { max-width: none; }
body.tn-quote-center .problem__quote-bottom { max-width: none; }

/* (5) Reveal style overrides */
body.tn-reveal-chars .problem .reveal-item { /* per-char handled via JS injection below */ }
body.tn-reveal-slide .problem .reveal-item {
  transform: translateX(-40px);
  filter: none;
}
body.tn-reveal-slide .problem .reveal-item.is-revealed,
body.tn-reveal-slide.is-in .problem .reveal-item { transform: none; }
body.tn-reveal-none .problem .reveal-item,
body.tn-reveal-none .problem .smoke-in {
  opacity: 1 !important; transform: none !important; filter: none !important;
  transition: none !important;
}

/* (7) Smoke intensity */
body.tn-smoke-heavy .problem .smoke-in {
  transform: translateY(60px) scale(1.05);
  filter: blur(36px) brightness(1.4);
}
body.tn-smoke-heavy .problem .smoke-in.is-revealed,
body.tn-smoke-heavy.is-in .problem .smoke-in {
  transform: none; filter: blur(0) brightness(1);
}
body.tn-smoke-none .problem .smoke-in {
  opacity: 1 !important; transform: none !important; filter: none !important;
  transition: none !important;
}

/* (8) Inputs visibility */
body.tn-inputs-hidden .problem__inputs { display: none; }
body.tn-inputs-hidden .problem__quote { grid-column: 1 / -1; grid-row: 3; }

/* (9) Inputs as horizontal ticker */
body.tn-inputs-ticker .problem__inputs {
  grid-column: 1 / -1; grid-row: 3;
  border-left: 0; padding-left: 0;
  flex-direction: row;
  max-width: none;
  overflow: hidden;
  gap: 0;
  margin-top: clamp(28px, 4vw, 56px);
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
body.tn-inputs-ticker .problem__inputs::before,
body.tn-inputs-ticker .problem__inputs::after { content: none; }
body.tn-inputs-ticker .problem__inputs-item {
  display: inline-block;
  padding: 0 36px;
  border-left: 1px solid var(--line);
  animation: tn-ticker calc(28s / var(--tempo)) linear infinite;
}
body.tn-inputs-ticker .problem__inputs-item::before {
  content: '\B7'; color: var(--blue); margin-right: 14px;
}
@keyframes tn-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* (10) Counter watermark */
.problem__counter {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(280px, 36vw, 560px);
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  right: clamp(20px, 4vw, 80px);
  top: 8vw;
  display: none;
}
body.tn-counter-on .problem__counter { display: block; }
body.tn-counter-on .problem { position: relative; }
body.tn-counter-on .problem > * { position: relative; z-index: 1; }
body.tn-counter-on .problem__counter { z-index: 0; }

/* (11) Title serif color */
body.tn-tcolor-blue .problem__title--serif { color: var(--blue); }
body.tn-tcolor-white .problem__title--serif { color: var(--text); }

/* (12) Inputs accent */
body.tn-acc-none .problem__inputs-item::before { color: var(--text-3); }
body.tn-acc-amber .problem__inputs-item::before { color: #f0a932; }
body.tn-acc-amber .problem__inputs-item { color: var(--text); }

/* ============================================================
   PROCESS — animation as full-section background
   ============================================================ */
.process {
  position: relative;
  padding-top: clamp(40px, 6vh, 80px);
  padding-bottom: clamp(120px, 13vw, 180px);
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.process__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.process__bg .process__anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 40%;
  display: block;
  mix-blend-mode: screen;
  will-change: opacity;
  -webkit-mask-image: radial-gradient(ellipse 90% 95% at 50% 50%, #000 65%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 95% at 50% 50%, #000 65%, transparent 100%);
}
/* Base layer: normal brightness across the whole frame (sparks + wordmark) */
.process__bg .process__anim--base {
  filter: brightness(1.5) contrast(1.04);
  z-index: 0;
}
/* Boost layer: time-synced copy, masked to ONLY the lower portion.
   Higher specificity (.process__bg ancestor) so the vertical mask
   overrides the shared radial mask on .process__anim.            */
.process__bg .process__anim--boost {
  filter: brightness(1.7) contrast(1.12);
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 68%, #000 88%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 68%, #000 88%, #000 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
/* (legacy crossfade classes no longer used; single .process__anim is the source of truth) */

.process__bg-veil {
  position: absolute;
  inset: 0;
  background:
    /* Strong darken on upper region (headline + 01-04 list) so sparks behind text are tamed;
       lower region stays clear so the boosted wordmark + beam can shine. */
    linear-gradient(180deg, rgba(0, 0, 0,0.92) 0%, rgba(0, 0, 0,0.78) 55%, rgba(0, 0, 0,0.30) 80%, rgba(0, 0, 0,0.0) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%);
  pointer-events: none;
}

/* Centered headline: focal centerpiece, large, appearing text */
.process__centerpiece {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto 0;
  max-width: 1100px;
  padding: 0 var(--gutter);
}
.process__center-title {
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.process__center-title .process__head-l1 {
  display: block;
  color: var(--text);
}
.process__center-title .title--serif {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(232, 234, 240, 0.82);
  letter-spacing: -0.025em;
  margin-top: 0.18em;
}

.process__grid {
  position: relative;
  z-index: 1;
  display: block;
}

.process__copy {
  display: block;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
  margin-top: clamp(360px, 56vh, 620px);
  padding: 0;
  list-style: none;
}
.prc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  align-items: flex-start;
}
.prc__num {
  display: block;
  color: #7fb6ff;
  font-size: 12px;
  letter-spacing: 0.32em;
  font-feature-settings: 'tnum';
  font-weight: 400;
  margin: 0;
}
.prc__body { display: flex; flex-direction: column; gap: 14px; }
.prc__title {
  display: block;
  margin: 0;
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.prc__meta {
  display: none;
}
.prc__copy {
  margin: 0;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.55;
  color: rgba(232, 234, 240, 0.55);
  max-width: none;
}

@media (max-width: 1000px) {
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process__center-title { font-size: clamp(36px, 8vw, 56px); }
  .process__bg-veil {
    background:
      linear-gradient(180deg, rgba(0, 0, 0,0.6) 0%, rgba(0, 0, 0,0.78) 60%, rgba(0, 0, 0,0.85) 100%),
      linear-gradient(180deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%);
  }
}

/* ============================================================
   INTERMISSION — 03 (Architecture)
   ============================================================ */
.intermission {
  position: relative;
  min-height: 90vh;
  padding: 0;
  display: flex; align-items: center;
  overflow: hidden;
  background: #070612;
}
.intermission > * { max-width: none; margin: 0; }
.inter__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; opacity: 0.88;
  filter: saturate(0.8) contrast(1.05);
  pointer-events: none;
}
.inter__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 0, 0,0.36) 0%, rgba(0, 0, 0,0.74) 80%),
    linear-gradient(180deg, rgba(0, 0, 0,0.5) 0%, rgba(0, 0, 0,0.25) 50%, rgba(0, 0, 0,0.6) 100%);
}
.inter__fade {
  position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; height: 220px;
}
.inter__fade--top { top: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 100%); }
.inter__fade--bottom { bottom: 0; background: linear-gradient(180deg, transparent 0%, var(--bg) 100%); }

.inter__corner {
  position: absolute; z-index: 3;
  top: clamp(40px, 6vw, 80px);
  left: var(--gutter);
  color: var(--text-3); letter-spacing: 0.14em;
}
.inter__inner {
  position: relative; z-index: 3;
  padding: 0 var(--gutter);
  max-width: var(--max); margin: 0 auto; width: 100%;
}
.inter__overline {
  color: var(--blue); letter-spacing: 0.18em;
  margin: 0 0 32px;
}
.inter__phrase {
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.inter__phrase--serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--text-2); letter-spacing: -0.025em;
}
.inter__sub {
  margin: 36px 0 0;
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--text-2);
  letter-spacing: -0.005em;
  max-width: 44ch;
}
.inter__sub em { color: var(--text); }

/* ============================================================
   PROCESS — 03 (vertical stack, giant numerals)
   ============================================================ */
.process__stack { display: flex; flex-direction: column; }
.stp {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 220px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.stp:last-child { border-bottom: 1px solid var(--line); }
.stp__num {
  font-family: var(--mono);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1;
  font-weight: 300;
  color: var(--text-4);
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
  transition: color .4s var(--ease);
}
.stp:hover .stp__num { color: var(--blue); }
.stp--end .stp__num { color: var(--blue); }
.stp__body { display: flex; flex-direction: column; gap: 16px; }
.stp__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.stp--end .stp__title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--text);
}
.stp__copy { margin: 0; color: var(--text-2); font-size: clamp(15px, 1.2vw, 18px); max-width: 50ch; }

/* ============================================================
   SURFACE — 05
   ============================================================ */
.surface__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  margin: 0 0 clamp(72px, 8vw, 110px);
}
.surface__head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
}
.surface__head .eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  opacity: 0.75;
}
.surface__lede { margin: 0; align-self: end; }

/* Surface title — a typeset argument, not a stack of headlines.
   Setup lines read like terminal specs (small sans, dimmed). The
   conclusion is the brand's signature serif italic ("editorial
   accent"). A 1px blue rule marks the section break before the
   final, terminal-style coda. The only blue is "One" + the rule. */
.surface__title {
  margin: 0;
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.surface__line { display: block; margin: 0; }

/* Setup pair — sans, dimmed. Sized to land "4 multi-agent
   frameworks." on a single line at 375px (the tightest viewport
   in scope), so the setup pair reads as two clean rows. */
.surface__line--med {
  font-size: clamp(24px, 5.6vw, 44px);
  color: var(--text-3);
  font-weight: 450;
  letter-spacing: -0.022em;
  line-height: 1.15;
  white-space: nowrap;
}
.surface__line--med + .surface__line--med {
  margin-top: 6px;
}

/* Focal — serif italic, the brand's editorial voice. Two balanced
   lines on mobile; line-height 0.94 keeps it as one block. */
.surface__line--focal {
  margin-top: clamp(34px, 4.4vw, 56px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8.6vw, 104px);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 0.94;
  text-wrap: balance;
  max-width: 14ch;
}
.surface__one {
  color: var(--blue);
  font-style: italic;
  font-family: inherit;
}

/* Coda — blue tick rule, then the short final beat. Sans weight
   500, white. Sized close to setup so the structure reads balanced
   instead of pinched. */
.surface__line--coda {
  position: relative;
  margin-top: clamp(40px, 5.2vw, 68px);
  padding-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(34px, 4.8vw, 54px);
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.0;
}
.surface__list { display: none; }

/* ─────────  Agent spine (.hspine) – horizontal evidence layer  ───────── */
.hspine {
  --active-i: 0;
  --col-count: 9;
  position: relative;
  margin-top: clamp(140px, 11vw, 200px);
}

/* Head: small label + rule + meta — top edge of the architecture */
.hspine__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(18px, 1.8vw, 26px) 0 clamp(28px, 3vw, 44px);
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.32em;
}
.hspine__head-label { white-space: nowrap; color: var(--text-2); }
.hspine__head-rule  { height: 1px; background: var(--line); }
.hspine__head-meta  { white-space: nowrap; color: var(--text-3); }

/* The 9-node track */
.hspine__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--col-count), 1fr);
  position: relative;
  isolation: isolate;
}
/* horizontal blue evidence line through the dots */
.hspine__nodes::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: var(--line-top, 44px);
  transform: translateY(-0.5px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(77, 159, 255, 0.45) 4%,
    rgba(77, 159, 255, 0.45) 96%,
    transparent 100%
  );
  z-index: 0;
  transition: top .25s var(--ease);
}

.hspine__col {
  position: relative;
  display: grid;
  grid-template-rows:
    [id]     var(--id-row, 28px)
    [dot]    auto
    [name]   auto
    [phrase] auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  cursor: pointer;
  padding: 0 clamp(6px, 0.6vw, 10px) clamp(20px, 2vw, 28px);
  gap: 12px;
  outline: none;
  transition: opacity .4s var(--ease);
}
.hspine__col:not(.is-active) { opacity: 0.55; }
.hspine__col:hover { opacity: 0.9; }
.hspine__col.is-active { opacity: 1; }

.hspine__id {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.16em;
  transition: color .35s var(--ease);
  grid-row: id;
  align-self: end;
}
.hspine__col:hover .hspine__id,
.hspine__col.is-active .hspine__id { color: var(--blue); }

.hspine__node {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(77, 159, 255, 0.4);
  grid-row: dot;
  position: relative;
  z-index: 1;
  transition:
    background .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .45s var(--ease),
    transform .35s var(--ease);
}
.hspine__col:hover .hspine__node {
  border-color: rgba(77, 159, 255, 0.7);
}
.hspine__col.is-active .hspine__node {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.35);
  box-shadow:
    0 0 0 4px rgba(77, 159, 255, 0.08),
    0 0 14px var(--blue-glow);
}

.hspine__name {
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-2);
  line-height: 1.2;
  grid-row: name;
  transition: color .4s var(--ease);
}
.hspine__col:hover .hspine__name { color: var(--text); }
.hspine__col.is-active .hspine__name { color: var(--text); }

.hspine__phrase {
  color: var(--text-2);
  font-size: clamp(11px, 0.85vw, 12.5px);
  line-height: 1.5;
  letter-spacing: 0.005em;
  grid-row: phrase;
  text-wrap: balance;
  max-width: 14ch;
  transition: color .4s var(--ease);
}
.hspine__col:hover .hspine__phrase { color: var(--text); }
.hspine__col.is-active .hspine__phrase { color: var(--text); }

/* SVG route — draws the L-shape connector from active node to detail block */
.hspine__route {
  position: relative;
  width: 100%;
  height: clamp(60px, 7vw, 96px);
  margin-top: clamp(-4px, -0.4vw, -4px);
  overflow: visible;
  pointer-events: none;
  display: block;
}
.hspine__route-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
  opacity: 0.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: opacity .35s var(--ease);
  filter: drop-shadow(0 0 8px var(--blue-glow));
}
.hspine__route-elbow {
  fill: var(--blue);
  opacity: 0.95;
  filter: drop-shadow(0 0 6px var(--blue-glow));
  transition: cx .5s var(--ease), cy .5s var(--ease);
}

/* Active detail block — centered, integrated, no card */
.hspine__detail {
  position: relative;
  text-align: center;
  padding: 0 0 clamp(48px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 56ch;
  margin: 0 auto;
}
.hspine__detail-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
}
.hspine__detail-id  { color: var(--blue); }
.hspine__detail-sep { color: var(--text-4); }
.hspine__detail-tag { color: var(--text-3); }
.hspine__detail-title {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hspine__detail-title--in {
  animation: hspineIn .4s var(--ease) both;
}
@keyframes hspineIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hspine__detail-text {
  margin: 0;
  color: var(--text-2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.hspine__detail-text--in {
  animation: hspineIn .4s var(--ease) .04s both;
}

/* CTA hint — sits above the agent grid, points down at the columns; fades on first interaction */
.hspine__cta {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%) translateY(-8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  color: var(--blue, #4d9fff);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  animation: hspineCtaFloat 1.6s ease-in-out infinite;
  z-index: 5;
}
/* CTA persists; no fade on interaction */
.hspine__cta-arrow {
  width: 16px;
  height: 20px;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px var(--blue-glow));
}
.hspine__cta-text {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue, #4d9fff);
  white-space: nowrap;
  padding: 6px 12px;
  border: 1px solid rgba(77, 159, 255, 0.32);
  background: rgba(13, 17, 24, 0.65);
  border-radius: 2px;
  box-shadow: 0 0 24px rgba(77, 159, 255, 0.12);
  backdrop-filter: blur(6px);
}
@keyframes hspineCtaFloat {
  0%, 100% { transform: translate(-50%, -100%) translateY(-8px); }
  50%      { transform: translate(-50%, -100%) translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hspine__cta { animation: none; }
}


/* ============================================================
   DEMO — 06
   ============================================================ */
.demo {
  background: radial-gradient(ellipse 60% 50% at 50% 65%, rgba(77,159,255,0.04), transparent 60%);
}

/* ─── Live session (current) — asymmetric: text/sidebar + dominant demo ─── */
.demo--session {
  padding-top: clamp(60px, 6vw, 96px);
  padding-bottom: clamp(60px, 6vw, 96px);
  min-height: 0;
}
.demo--session .demo__session {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 2.1fr);
  gap: clamp(36px, 4vw, 72px);
  align-items: end;
  max-width: 1540px;
  margin: 0 auto;
}
.demo--session .demo__sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 26px);
  padding-bottom: clamp(20px, 2.2vw, 32px);
}
.demo--session .demo__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--text-2);
}
.demo--session .demo__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(77,159,255,0.12), 0 0 10px var(--blue-glow);
  animation: demoPulse 2.4s ease-in-out infinite;
}
@keyframes demoPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
.demo--session .demo__title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  text-align: left;
  color: var(--text);
}
.demo--session .demo__lede {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--text-3);
  text-align: left;
}

/* Demo container — light frame, only thin top chrome + corner ticks */
.demo--session .demo__stage {
  margin: 0;
  max-width: none;
  width: 100%;
  position: relative;
}
.demo--session .demo__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.demo--session .demo__chrome-l {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-2);
}
.demo--session .demo__chrome-r { color: var(--text-3); }
.demo--session .demo__wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
  /* No heavy border — just the top edge to anchor the chrome */
  border: 0;
  border-top: 1px solid rgba(77, 159, 255, 0.22);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,.7);
}
.demo--session .demo__video { width: 100%; height: 100%; object-fit: contain; display: block; }
/* corner ticks remain visible — only the active accent */
.demo--session .cx { width: 14px; height: 14px; opacity: 1; }

/* Pipeline strip — INPUT → INVESTIGATION → MODELING → IC OUTPUT */
.demo--session .demo__pipeline {
  list-style: none;
  margin: clamp(22px, 2.2vw, 34px) auto 0;
  padding: clamp(16px, 1.6vw, 22px) 0 0;
  max-width: 1540px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
}
.demo--session .demo__pipe-step {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-right: 24px;
  color: var(--text-3);
  transition: color .35s var(--ease);
}
.demo--session .demo__pipe-step::after {
  content: "→";
  position: absolute;
  right: 6px; top: 0;
  color: var(--text-4);
  letter-spacing: 0;
  font-size: 12px;
}
.demo--session .demo__pipe-step:last-child::after { content: ""; }
.demo--session .demo__pipe-i { color: var(--text-4); }
.demo--session .demo__pipe-l { color: var(--text-3); }
.demo--session .demo__pipe-step.is-active .demo__pipe-i,
.demo--session .demo__pipe-step.is-active .demo__pipe-l { color: var(--blue); }
.demo--session .demo__cap { display: none; }

/* ─── Editorial split (option A) ─── */
.demo--split .demo__row {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
}
.demo--split .demo__head {
  text-align: left;
  max-width: none;
  margin: 0;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 28px);
}
.demo--split .demo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.32em;
}
.demo--split .demo__eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  opacity: 0.8;
}
.demo--split .demo__title {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
}
.demo--split .demo__lede {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.55;
  color: var(--text-2);
}
.demo--split .demo__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.4vw, 22px) clamp(20px, 2.2vw, 32px);
  margin: clamp(6px, 0.8vw, 12px) 0 0;
  padding-top: clamp(18px, 2vw, 28px);
  border-top: 1px solid var(--line);
  width: 100%;
}
.demo--split .demo__stat { display: flex; flex-direction: column; gap: 4px; }
.demo--split .demo__stat dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  margin: 0;
}
.demo--split .demo__stat dd {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.demo--split .demo__stage { margin: 0; max-width: none; width: 100%; }
.demo--split .demo__chrome { padding: 10px 4px 12px; font-size: 10.5px; }
.demo--split .demo__cap { display: none; }

/* ─── Full-width spread (option D) — demo IS the spread ─── */
.demo--spread { padding-top: clamp(80px, 8vw, 120px); padding-bottom: clamp(60px, 7vw, 100px); min-height: 0; }
.demo--spread .demo__strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  max-width: 1480px;
  margin: 0 auto clamp(20px, 2vw, 32px);
  padding: 0 4px;
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.32em;
}
.demo--spread .demo__strip-l { color: var(--text-2); }
.demo--spread .demo__strip-rule { height: 1px; background: var(--line); }
.demo--spread .demo__strip-r { color: var(--text-3); }
.demo--spread .demo__title {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 auto clamp(28px, 3vw, 44px);
  max-width: 1480px;
  padding: 0 4px;
  text-align: left;
}
.demo--spread .demo__stage {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}
.demo--spread .demo__chrome { padding: 10px 4px 12px; font-size: 10.5px; }
.demo--spread .demo__footline {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1480px;
  margin: clamp(18px, 1.8vw, 24px) auto 0;
  padding: clamp(16px, 1.6vw, 22px) 4px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-2);
}
.demo--spread .demo__footline-meta { color: var(--text-3); letter-spacing: 0.2em; }
.demo--spread .demo__cap { display: none; }

/* ─── Inline strip (option D) — tight horizontal, headline as caption ─── */
.demo--inline { padding-top: clamp(60px, 7vw, 100px); padding-bottom: clamp(60px, 7vw, 100px); min-height: 0; }
.demo--inline .demo__row {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.8fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
}
.demo--inline .demo__head {
  text-align: left;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.4vw, 22px);
}
.demo--inline .demo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: 0.3em;
}
.demo--inline .demo__eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  opacity: 0.8;
}
.demo--inline .demo__title {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
}
.demo--inline .demo__lede {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--text-2);
}
.demo--inline .demo__signature {
  margin: clamp(4px, 0.5vw, 8px) 0 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  padding-top: clamp(14px, 1.4vw, 22px);
  border-top: 1px solid var(--line);
  width: 100%;
}
.demo--inline .demo__stage { margin: 0; max-width: none; width: 100%; }
.demo--inline .demo__chrome { padding: 8px 4px 10px; font-size: 10px; }
.demo--inline .demo__cap { display: none; }

/* ─── Legacy (centered, default) — preserved for other variants ─── */
.demo:not(.demo--split) .demo__head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  display: flex; flex-direction: column; align-items: center;
}
.demo:not(.demo--split) .demo__lede { margin: 32px auto 0; }
.demo__stage { margin: 0 auto; width: 100%; max-width: 1280px; }
.demo__chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px;
  color: var(--text-3); letter-spacing: 0.1em;
}
.demo__rec { display: inline-flex; align-items: center; color: var(--text); font-weight: 500; }
.demo__wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5),
    0 60px 120px -30px rgba(0,0,0,.7),
    0 0 100px -20px rgba(77,159,255,0.10);
}
.demo__video { width: 100%; height: 100%; object-fit: contain; display: block; }
.cx {
  position: absolute; width: 18px; height: 18px;
  border-color: var(--blue); border-style: solid; border-width: 0;
  pointer-events: none; opacity: .9;
}
.cx--tl { top: -1px; left: -1px;     border-top-width: 1px; border-left-width: 1px; }
.cx--tr { top: -1px; right: -1px;    border-top-width: 1px; border-right-width: 1px; }
.cx--bl { bottom: -1px; left: -1px;  border-bottom-width: 1px; border-left-width: 1px; }
.cx--br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.demo__cap { margin-top: 18px; text-align: center; color: var(--text-3); letter-spacing: 0.08em; }

/* ============================================================
   DEMO SIMULATOR — 9-phase animated framework run (replaces mp4)
   ============================================================ */
.demo__wrap--sim {
  background: linear-gradient(180deg, #06070d 0%, #04060b 100%);
  overflow: hidden;
}
.dsim {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  font-family: var(--mono, ui-monospace, "SF Mono", monospace);
  color: var(--text-2);
  padding: clamp(14px, 1.6vw, 22px) clamp(16px, 1.8vw, 26px);
  gap: clamp(12px, 1.4vw, 20px);
  isolation: isolate;
}

/* ── Top rail of 9 phase pips ─────────────────────── */
.dsim__rail {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(6px, 0.7vw, 10px);
  list-style: none;
  padding: 0; margin: 0;
}
.dsim__pip {
  position: relative;
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 10px 10px 11px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-4);
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.dsim__pip::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.dsim__pip-id { color: inherit; opacity: 0.85; font-size: 9.5px; }
.dsim__pip-name {
  color: inherit; font-size: 11px; letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--sans, inherit);
  font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dsim__pip.is-done {
  color: var(--text-3);
  border-color: rgba(77,159,255,0.18);
}
.dsim__pip.is-done::before { transform: scaleX(1); background: rgba(77,159,255,0.35); }
.dsim__pip.is-active {
  color: var(--text);
  border-color: rgba(77,159,255,0.55);
  background: rgba(77,159,255,0.05);
  box-shadow: 0 0 0 1px rgba(77,159,255,0.08), 0 18px 36px -24px rgba(77,159,255,0.4);
}
.dsim__pip.is-active::before {
  transform: scaleX(var(--p, 0));
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}

/* ── Body grid ─────────────────────── */
.dsim__body {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(14px, 1.6vw, 24px);
  min-height: 0;
}

/* Agent column (left) */
.dsim__agent {
  display: flex; flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
  padding-right: clamp(8px, 1vw, 14px);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.dsim__agent-id {
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--text-3);
}
.dsim__agent-name {
  margin: 0;
  font-family: var(--sans, inherit);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.0;
  transition: opacity .25s var(--ease);
}
.dsim__agent-desc {
  margin: 0;
  font-family: var(--sans, inherit);
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1.45;
  color: var(--text-2);
  max-width: 28ch;
  letter-spacing: -0.003em;
  text-wrap: pretty;
}
.dsim__status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  font-size: 9.5px; letter-spacing: 0.22em;
  color: var(--text-3);
}
.dsim__status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
  animation: dsimBlink 1.4s ease-in-out infinite;
}
@keyframes dsimBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.dsim__metrics {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 12px;
  padding-top: clamp(8px, 1vw, 14px);
  border-top: 1px solid var(--line);
}
.dsim__metrics > div { display: flex; flex-direction: column; gap: 3px; }
.dsim__metrics dt {
  font-size: 8.5px; letter-spacing: 0.2em;
  color: var(--text-4);
}
.dsim__metrics dd {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--text);
  font-feature-settings: 'tnum';
  letter-spacing: -0.01em;
}

/* Viz column (right) */
.dsim__viz {
  display: grid; grid-template-rows: auto 1fr auto;
  gap: clamp(8px, 0.9vw, 12px);
  min-width: 0; min-height: 0;
}
.dsim__viz-head {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: 0.24em;
  color: var(--text-3);
}
.dsim__viz-tag { color: var(--blue); }
.dsim__viz-rule { height: 1px; background: var(--line); }
.dsim__viz-meta { color: var(--text-3); }

.dsim__viz-stage {
  position: relative;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.0)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,0.025) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,0.025) 23px 24px);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dsim__viz-stage svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Feed */
.dsim__feed {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-rows: minmax(0, 14px);
  gap: 2px;
  max-height: 78px;
  overflow: hidden;
  font-size: 10px; letter-spacing: 0.02em;
  color: var(--text-3);
  font-family: var(--mono, ui-monospace, monospace);
  mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 100%);
}
.dsim__feed li {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 10px;
  white-space: nowrap; overflow: hidden;
  animation: dsimLineIn 0.35s var(--ease) both;
}
.dsim__feed li .t { color: var(--text-4); }
.dsim__feed li .ok { color: var(--blue); }
.dsim__feed li .warn { color: var(--amber, #d9a441); }
@keyframes dsimLineIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scan line over whole sim */
.dsim__scan {
  position: absolute; left: 0; right: 0; top: 0;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 48%,
    rgba(77,159,255,0.08) 50%,
    transparent 52%,
    transparent 100%);
  animation: dsimScan 6s linear infinite;
  z-index: 0;
}
@keyframes dsimScan {
  0%   { transform: translateY(-100%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
.dsim > * { position: relative; z-index: 1; }
.dsim__scan { z-index: 0 !important; }

/* ── Per-phase SVG primitives ───────────────────── */
.dsim svg .ln { stroke: var(--line-2); stroke-width: 1; fill: none; }
.dsim svg .ln-2 { stroke: rgba(255,255,255,0.06); stroke-width: 1; fill: none; }
.dsim svg .accent { stroke: var(--blue); stroke-width: 1.4; fill: none; }
.dsim svg .accent-fill { fill: var(--blue); }
.dsim svg .accent-dim { stroke: rgba(77,159,255,0.35); stroke-width: 1; fill: none; }
.dsim svg .t-3 { fill: var(--text-3); font: 9px var(--mono, monospace); letter-spacing: 0.12em; }
.dsim svg .t-2 { fill: var(--text-2); font: 9px var(--mono, monospace); letter-spacing: 0.12em; }
.dsim svg .t-blue { fill: var(--blue); font: 9px var(--mono, monospace); letter-spacing: 0.12em; }

/* Memo phase typing block */
.dsim__memo {
  position: absolute; inset: 14px;
  display: grid; grid-template-rows: auto auto 1fr;
  gap: 8px;
  font-family: var(--mono, monospace);
  font-size: 10px; letter-spacing: 0.04em;
  color: var(--text-2);
  line-height: 1.55;
}
.dsim__memo-h { color: var(--text-3); letter-spacing: 0.24em; font-size: 9px; }
.dsim__memo-t {
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: -0.005em;
  color: var(--text);
}
.dsim__memo-b {
  color: var(--text-2);
  white-space: pre-wrap;
}
.dsim__memo-b::after {
  content: "▌";
  color: var(--blue);
  animation: dsimCaret 1s steps(1) infinite;
}
@keyframes dsimCaret { 50% { opacity: 0; } }

/* Responsive squeeze */
@media (max-width: 880px) {
  .dsim__body { grid-template-columns: 1fr; }
  .dsim__agent { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; padding-right: 0; }
  .dsim__rail { grid-template-columns: repeat(9, 1fr); }
  .dsim__pip-name { font-size: 9.5px; }
  .dsim__pip { padding: 7px 6px; }
}

/* ============================================================
   OUTPUT — 07
   ============================================================ */
.output__head {
  display: block;
  margin-bottom: clamp(56px, 6vw, 88px);
}
.output__statement { max-width: 22ch; margin: 0; }

/* ═════════════════════════════════════════════════════════════
   IC MEMO DASHBOARD — native HTML/SVG, no PNG
   ═════════════════════════════════════════════════════════════ */
.report {
  display: grid;
  gap: clamp(28px, 3vw, 44px);
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--text);
  --amber: #d9a441;
  --red:   #c75353;
  --green: #5fa07a;
}

/* ── Header band ─────────────────────── */
.rpt__band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.rpt__meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  flex-wrap: wrap;
}
.rpt__doctype { color: var(--blue); font-weight: 500; }
.rpt__sep { width: 14px; height: 1px; background: var(--line-2); }

.rpt__rec { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rpt__rec-label {
  font-size: 11px; letter-spacing: 0.22em; color: var(--text-3);
}
.rpt__rec-verdict {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.012em;
  line-height: 1.05;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}
.rpt__conv { display: flex; align-items: center; gap: 12px; }
.rpt__conv-track {
  width: clamp(120px, 14vw, 200px); height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px; overflow: hidden;
}
.rpt__conv-fill {
  display: block; height: 100%;
  width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, var(--blue), rgba(77,159,255,0.6));
  box-shadow: 0 0 12px var(--blue-glow);
}
.rpt__conv-meta { font-size: 10.5px; letter-spacing: 0.18em; color: var(--text-3); }

/* ── Grid of 4 panels ─────────────────── */
.rpt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(20px, 2.2vw, 36px);
}
.rpt__panel {
  display: flex; flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}

.rpt__panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.rpt__panel-title {
  margin: 0;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
}
.rpt__panel-sub { color: var(--text-3); font-weight: 400; }
.rpt__panel-count {
  font-size: 10px; letter-spacing: 0.2em; color: var(--text-3);
}
.rpt__dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block;
}
.rpt__dot--blue  { background: var(--blue);  box-shadow: 0 0 10px var(--blue-glow); }
.rpt__dot--amber { background: var(--amber); }
.rpt__dot--red   { background: var(--red);   }
.rpt__dot--mute  { background: var(--text-4); }

/* ── KNOWN panel ─────────────────────── */
.rpt__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rpt__fact {
  display: grid; gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line-2);
  border-radius: 3px;
}
.rpt__fact--lead { padding: 18px 18px 16px; }
.rpt__fact-num {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}
.rpt__fact-unit { font-size: 0.55em; letter-spacing: 0.08em; color: var(--text-2); }
.rpt__fact-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rpt__fact-label { font-size: 13px; color: var(--text-2); letter-spacing: -0.003em; }
.rpt__fact-val { font-size: 22px; color: var(--text); letter-spacing: -0.01em; }
.rpt__fact-val .rpt__fact-unit { font-size: 13px; color: var(--text-3); margin-left: 2px; }
.rpt__fact-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.14em; color: var(--text-3);
  flex-wrap: nowrap;
  min-width: 0;
}
.rpt__fact-count { margin-left: auto; white-space: nowrap; }
/* RESTORED src chip after consolidating fact-meta */
.rpt__src {
  display: inline-flex; align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 9.5px; letter-spacing: 0.16em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.rpt__spark { width: 80px; height: 22px; flex: 0 0 auto; }

/* ── DRIVERS panel ─────────────────────── */
.rpt__drivers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rpt__driver {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
}
.rpt__driver:first-child { border-top: 0; padding-top: 0; }
.rpt__driver-name { font-size: 13px; color: var(--text); letter-spacing: -0.003em; }
.rpt__driver-meter { height: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; }
.rpt__driver-fill { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--c); }
.rpt__chip {
  display: inline-flex; align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 9.5px; letter-spacing: 0.18em;
  white-space: nowrap;
}
.rpt__chip--track  { color: var(--green); border-color: rgba(95,160,122,0.4); }
.rpt__chip--review { color: var(--amber); border-color: rgba(217,164,65,0.4); }
.rpt__chip--data   { color: var(--blue);  border-color: rgba(77,159,255,0.4); }

/* ── ASSUMED panel ─────────────────────── */
.rpt__assumed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rpt__assume {
  display: grid; gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
}
.rpt__assume:first-child { border-top: 0; padding-top: 0; }
.rpt__assume-text {
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(14px, 1.05vw, 16px);
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.35;
}
.rpt__assume-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.rpt__tag {
  display: inline-flex; align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--text-3);
}
.rpt__tag--n { color: var(--text-3); }
.rpt__tag--c { color: var(--red);   border-color: rgba(199,83,83,0.4); }
.rpt__tag--s { color: var(--green); border-color: rgba(95,160,122,0.4); }
.rpt__tag--u { color: var(--amber); border-color: rgba(217,164,65,0.4); }

/* ── RISKS panel ─────────────────────── */
.rpt__risks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rpt__risk {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
}
.rpt__risk:first-child { border-top: 0; padding-top: 0; }
.rpt__sev {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 0;
  border: 1px solid;
  border-radius: 2px;
  font-size: 9.5px; letter-spacing: 0.18em;
  text-align: center;
}
.rpt__sev--hi { color: var(--red);   border-color: rgba(199,83,83,0.5); background: rgba(199,83,83,0.08); }
.rpt__sev--md { color: var(--amber); border-color: rgba(217,164,65,0.5); background: rgba(217,164,65,0.08); }
.rpt__sev--lo { color: var(--blue);  border-color: rgba(77,159,255,0.5); background: rgba(77,159,255,0.08); }
.rpt__risk-name { font-size: 13.5px; color: var(--text); letter-spacing: -0.003em; }
.rpt__risk-meta { font-size: 10px; letter-spacing: 0.16em; color: var(--text-3); }

/* ── Footer ─────────────────────── */
.rpt__foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}

/* Responsive */
@media (max-width: 880px) {
  .rpt__band { grid-template-columns: 1fr; gap: 24px; }
  .rpt__rec { align-items: flex-start; }
  .rpt__rec-verdict { text-align: left; }
  .rpt__grid { grid-template-columns: 1fr; }
  .rpt__driver { grid-template-columns: 1fr; gap: 6px; }
  .rpt__risk { grid-template-columns: 48px 1fr; }
  .rpt__risk-meta { grid-column: 2; }
}

/* ═════════════════════════════════════════════════════════════
   IC MEMO — Memo + Ledger (two columns)
   Replaces the old 4-panel report.
   ═════════════════════════════════════════════════════════════ */
.icm {
  display: grid;
  gap: clamp(24px, 2.6vw, 36px);
  padding: clamp(28px, 3vw, 44px);
  background: var(--surface, #0d0c1c);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ── Header band ───────────────────────────────── */
.icm__band {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--line-2);
}
.icm__band-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.icm__meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--text-3);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.icm__doctype { color: var(--blue); font-weight: 500; }
.icm__sep { width: 14px; height: 1px; background: var(--line-2); }

.icm__lede {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(22px, 1.95vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--text);
  max-width: 28ch;
}
.icm__lede .title--serif { color: var(--text-2); }

.icm__rec {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  text-align: right;
  min-width: 0;
}
.icm__rec-label {
  font-size: 10px; letter-spacing: 0.3em; color: var(--text-3); text-transform: uppercase;
}
.icm__rec-verdict {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.15;
}
.icm__rec-meta {
  font-size: 10px; letter-spacing: 0.22em; color: var(--text-3); text-transform: uppercase;
  margin-top: 2px;
}

/* ── Body grid: prose + ledger ─────────────────── */
.icm__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
}

/* ── Left column: prose ───────────────────────── */
.icm__prose {
  padding-right: clamp(28px, 4vw, 56px);
  min-width: 0;
}
.icm__prose p {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.62;
  letter-spacing: -0.005em;
  color: var(--text);
  max-width: 62ch;
  text-wrap: pretty;
}
.icm__prose .title--serif { color: var(--text); }

.icm__sect-head {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 18px 0 8px;
}
.icm__sect-head:first-child { margin-top: 2px; }

.icm__ref {
  font-family: var(--mono);
  font-size: 0.66em;
  color: var(--blue);
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
  letter-spacing: 0;
  text-decoration: none;
}
.icm__ref--inline {
  vertical-align: baseline;
  font-size: 0.85em;
  margin: 0 2px;
}

/* ── Right column: ledger ─────────────────────── */
.icm__ledger {
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}
.icm__ledger-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--text-3);
  text-transform: uppercase;
}
.icm__ledger-name { color: var(--blue); }
.icm__ledger-sub {
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--text-2);
  letter-spacing: -0.005em;
  margin-top: -4px;
}

/* ── Table ─────────────────────────────────────── */
.icm__table {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 84px 104px 60px;
  column-gap: clamp(12px, 1.4vw, 20px);
  align-content: start;
  margin-top: 2px;
}

.icm__th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}
.icm__th--r { text-align: right; }

.icm__td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
  letter-spacing: -0.003em;
  display: flex;
  align-items: center;
  min-width: 0;
}
.icm__td--last { border-bottom: 0; }
.icm__td--n {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0;
}
.icm__td--claim { flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.icm__td--r { justify-content: flex-end; }

.icm__claim {
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.32;
  letter-spacing: -0.003em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}
.icm__claim-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9px; letter-spacing: 0.18em; color: var(--text-3); text-transform: uppercase;
}
.icm__cdot { color: var(--text-4); }
.icm__kind { display: inline-flex; align-items: center; }
.icm__kdot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; background: var(--text-3); }
.icm__kind--fact   { color: var(--blue);   }
.icm__kind--fact   .icm__kdot { background: var(--blue); box-shadow: 0 0 8px var(--blue-glow); }
.icm__kind--driver { color: var(--amber);  }
.icm__kind--driver .icm__kdot { background: var(--amber); }
.icm__kind--assume { color: var(--text-2); }
.icm__kind--assume .icm__kdot { background: var(--text-2); }
.icm__kind--risk   { color: var(--red);    }
.icm__kind--risk   .icm__kdot { background: var(--red); }

/* Sources */
.icm__src { display: inline-flex; align-items: center; gap: 6px; }
.icm__src-dots { display: inline-flex; gap: 2px; }
.icm__src-dots span {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-4);
}
.icm__src-dots span.on { background: var(--blue); }
.icm__src-n {
  font-size: 10.5px;
  color: var(--text-2);
  letter-spacing: 0;
  font-feature-settings: 'tnum';
}

/* Conviction bar */
.icm__conv { display: flex; align-items: center; gap: 8px; width: 100%; }
.icm__conv-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  overflow: hidden;
}
.icm__conv-fill {
  display: block; height: 100%;
  width: calc(var(--p) * 100%);
  background: var(--c, var(--blue));
}
.icm__conv-n {
  font-size: 10.5px;
  color: var(--text);
  letter-spacing: 0;
  min-width: 26px;
  text-align: right;
  font-feature-settings: 'tnum';
}

/* Delta */
.icm__delta--up  { color: var(--green); }
.icm__delta--dn  { color: var(--red);   }
.icm__delta--neu { color: var(--text-3); }

/* ── Footer ─────────────────────────────────── */
.icm__foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}

/* Responsive */
@media (max-width: 1080px) {
  .icm__body { grid-template-columns: 1fr; gap: 32px; }
  .icm__prose { padding-right: 0; }
  .icm__ledger { padding-left: 0; border-left: 0; padding-top: 28px; border-top: 1px solid var(--line-2); }
}
@media (max-width: 720px) {
  .icm__band { grid-template-columns: 1fr; gap: 20px; }
  .icm__rec { align-items: flex-start; text-align: left; }
  .icm__table { grid-template-columns: 24px minmax(0, 1fr) 60px 84px; column-gap: 12px; }
  .icm__th:nth-child(5), .icm__td:nth-child(5n) { display: none; }
}


/* ============================================================
   MANIFESTO — 08
   ============================================================ */
.manifesto { background: var(--bg); padding-top: clamp(140px, 14vw, 220px); padding-bottom: clamp(80px, 8vw, 120px); }
.manifesto__statement { display: none; }

/* ── Thesis plaque (closing section 08) ─────────────────────── */
/* ── Thesis plaque (closing section 08) — restored from Manifesto options OPTION C ── */
.plaque {
  position: relative;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(48px, 5vw, 80px) clamp(24px, 6vw, 96px);
  margin: 0 auto;
  text-align: center;
  max-width: 1200px;
}
.plaque__quote {
  position: absolute;
  left: 50%;
  top: clamp(-12px, -1vw, -6px);
  transform: translate(-50%, -30%);
  background: transparent;
  padding: 0;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  color: var(--blue);
  font-size: clamp(60px, 8vw, 120px);
  line-height: 1;
  text-shadow: 0 0 28px var(--blue-glow);
  pointer-events: none;
}
.plaque__quote--close {
  top: auto;
  bottom: clamp(-12px, -1vw, -6px);
  transform: translate(-50%, 100%);
}
.plaque__head {
  font-family: var(--mono);
  font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: 0.3em;
  color: var(--text-2);
  text-transform: uppercase;
}
.plaque__line {
  margin: 0 auto;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 500;
  text-wrap: balance;
  max-width: 18ch;
}
.plaque__line--1 { color: var(--text-2); }
.plaque__line--2 { color: var(--text); }

/* strikethrough removed per design feedback */
.plaque__strike { display: inline; }
.plaque__strike-bar { display: none; }

.plaque__line--2 em {
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  color: var(--blue);
  text-shadow: 0 0 28px var(--blue-glow);
}
.plaque__rule {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
  width: min(360px, 60%); margin: 0 auto;
}
.plaque__rule-line {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.plaque__rule-sign {
  font-family: var(--mono);
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: 0.24em;
  color: var(--text-2);
  text-transform: lowercase;
}
.plaque__attr {
  font-family: var(--mono);
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: 0.26em;
  color: var(--text-2);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .plaque__line { font-size: clamp(28px, 8vw, 44px); }
  .plaque__quote { font-size: clamp(48px, 14vw, 80px); }
}

/* ── Plaque entrance choreography ──────────────────────────────
   Reads like a theorem: setup → strike-through → "but" → conclusion → emphasis on "is."
   ───────────────────────────────────────────────────────────── */
.plaque--anim .plaque__quote,
.plaque--anim .plaque__quote--close,
.plaque--anim .plaque__head,
.plaque--anim .plaque__line--1,
.plaque--anim .plaque__rule-line--l,
.plaque--anim .plaque__rule-line--r,
.plaque--anim .plaque__rule-sign,
.plaque--anim .plaque__line--2,
.plaque--anim .plaque__attr {
  opacity: 0;
  will-change: opacity, filter;
}
.plaque--anim .plaque__line--1 { filter: blur(6px); }
.plaque--anim .plaque__line--2 { filter: blur(10px); }
.plaque--anim .plaque__rule-line--l { transform: scaleX(0); transform-origin: right center; }
.plaque--anim .plaque__rule-line--r { transform: scaleX(0); transform-origin: left center; }
.plaque--anim .plaque__is {
  display: inline-block;
}

.plaque--anim.is-revealed .plaque__quote {
  animation: plaqueQuoteFade 0.9s var(--ease, cubic-bezier(.22,.61,.36,1)) 0.05s both;
}
.plaque--anim.is-revealed .plaque__quote--close {
  animation: plaqueQuoteFade 0.9s var(--ease) 4.8s both;
}
.plaque--anim.is-revealed .plaque__head {
  animation: plaqueOpacityIn 0.7s var(--ease) 0.15s both;
}
.plaque--anim.is-revealed .plaque__line--1 {
  animation: plaqueLineIn 0.9s var(--ease) 0.35s both;
}
.plaque--anim.is-revealed .plaque__strike-bar {
  animation: plaqueStrike 0.7s cubic-bezier(.7,.04,.34,.98) 1.35s both;
}
.plaque--anim.is-revealed .plaque__line--1 .plaque__strike {
  animation: plaqueDim 0.8s ease-out 1.9s both;
}
.plaque--anim.is-revealed .plaque__rule-line--l {
  animation: plaqueRuleL 0.55s cubic-bezier(.65,0,.35,1) 2.0s both;
}
.plaque--anim.is-revealed .plaque__rule-line--r {
  animation: plaqueRuleR 0.55s cubic-bezier(.65,0,.35,1) 2.0s both;
}
.plaque--anim.is-revealed .plaque__rule-sign {
  animation: plaqueOpacityIn 0.55s var(--ease) 2.25s both;
}
.plaque--anim.is-revealed .plaque__line--2 {
  animation: plaqueConclusion 1.1s cubic-bezier(.22,.61,.36,1) 2.55s both;
}
.plaque--anim.is-revealed .plaque__is {
  animation: plaqueIs 1.2s cubic-bezier(.22,.61,.36,1) 3.25s both;
}
.plaque--anim.is-revealed .plaque__attr {
  animation: plaqueOpacityIn 0.7s var(--ease) 4.0s both;
}

@keyframes plaqueOpacityIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes plaqueQuoteFade {
  from { opacity: 0; }
  to   { opacity: 0.5; }
}
@keyframes plaqueLineIn {
  0%   { opacity: 0; filter: blur(6px); }
  100% { opacity: 1; filter: blur(0); }
}
@keyframes plaqueStrike {
  0%   { transform: scaleX(0); opacity: 0; }
  20%  { opacity: 0.85; }
  100% { transform: scaleX(1); opacity: 0.6; }
}
@keyframes plaqueDim {
  to { color: var(--text-4); opacity: 0.7; }
}
@keyframes plaqueRuleL {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes plaqueRuleR {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes plaqueConclusion {
  0%   { opacity: 0; filter: blur(10px); letter-spacing: 0.02em; }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: blur(0); letter-spacing: -0.012em; }
}
@keyframes plaqueIs {
  0%   { color: var(--blue, #4d9fff); }
  100% { color: var(--blue, #4d9fff); }
}

@media (prefers-reduced-motion: reduce) {
  .plaque--anim .plaque__quote,
  .plaque--anim .plaque__quote--close,
  .plaque--anim .plaque__head,
  .plaque--anim .plaque__line--1,
  .plaque--anim .plaque__rule-line--l,
  .plaque--anim .plaque__rule-line--r,
  .plaque--anim .plaque__rule-sign,
  .plaque--anim .plaque__line--2,
  .plaque--anim .plaque__attr {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .plaque--anim .plaque__quote,
  .plaque--anim .plaque__quote--close { opacity: 0.5 !important; }
  .plaque--anim .plaque__strike-bar { transform: scaleX(1) !important; }
}

.manifesto__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  margin: 0 0 clamp(36px, 4vw, 56px);
}
.manifesto__divider-rule { height: 1px; background: var(--line); }
.manifesto__divider-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-3);
}

.manifesto__pillars {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px) clamp(40px, 5vw, 80px);
}
.manifesto__pillar {
  display: grid;
  grid-template-columns: clamp(40px, 4.5vw, 56px) 1fr;
  gap: clamp(16px, 1.8vw, 24px);
  align-items: baseline;
  padding-top: clamp(18px, 2vw, 28px);
  border-top: 1px solid var(--line);
}
.manifesto__pillar-num {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.manifesto__pillar-text {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--text);
  font-weight: 500;
}
.manifesto__pillar-text .title--serif {
  color: var(--text);
  letter-spacing: -0.02em;
}

/* legacy classes kept for safety but unused */
.manifesto__list, .manifesto__line { display: none; }

/* Manifesto headline — restored at original size */
.manifesto__title {
  font-size: clamp(48px, 7.4vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 0 0 clamp(36px, 4vw, 56px);
}
.manifesto__rule {
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 60%);
  margin: 0 0 clamp(56px, 7vw, 96px);
  max-width: 480px;
}

/* ============================================================
   FINAL CTA — 09
   ============================================================ */
/* ============================================================
   FINAL CTA — 08
   ============================================================ */
/* ============================================================
   CTA — 08 · Monolith
   Single calm statement, centered, generous vertical air.
   ============================================================ */
.cta {
  padding-top: clamp(160px, 18vw, 280px);
  padding-bottom: clamp(96px, 10vw, 160px);
  text-align: center;
}
.cta__monolith {
  position: relative;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(72px, 9vw, 144px);
}
.cta__statement {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(48px, 6.6vw, 108px);
  line-height: 1.06;
  letter-spacing: -0.034em;
  color: var(--text);
  text-wrap: balance;
  max-width: 18ch;
}
.cta__statement-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.92em;
  color: var(--text);
  letter-spacing: -0.022em;
  margin-left: 0.18em;
}
.cta__action { display: inline-flex; }
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 38px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #04101f;
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cta__btn:hover,
.cta__btn:focus-visible {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--blue-glow), 0 18px 48px rgba(77, 159, 255, 0.32);
  outline: none;
}
.cta__btn-arrow {
  font-size: 1.05em;
  font-weight: 400;
  opacity: 0.85;
  transition: transform .4s var(--ease);
}
.cta__btn:hover .cta__btn-arrow,
.cta__btn:focus-visible .cta__btn-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 720px) {
  .cta { padding-top: clamp(100px, 18vw, 160px); padding-bottom: clamp(120px, 22vw, 180px); }
  .cta__monolith { gap: clamp(48px, 14vw, 80px); }
  .cta__statement { font-size: clamp(34px, 10vw, 56px); }
  .cta__btn { padding: 18px 26px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 56px 0 28px; }
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  padding-bottom: 40px;
}
.footer__tag { color: var(--text-3); letter-spacing: 0.14em; line-height: 1.7; margin: 0; }
.footer__links { display: flex; gap: 28px; justify-content: center; letter-spacing: 0.1em; flex-wrap: wrap; }
.footer__links a { color: var(--text-2); transition: color .25s var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__brand { display: inline-flex; align-items: center; }
.footer__logo {
  height: 32px; width: auto; max-width: none;
  aspect-ratio: 940 / 165;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.08);
}
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--text-3); letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }

  .problem { grid-template-columns: 1fr; row-gap: 56px; }
  .problem__title { grid-column: 1; grid-row: 2; }
  .problem__inputs {
    grid-column: 1; grid-row: 3;
    padding-left: 0; border-left: 0;
    border-top: 1px solid var(--line); padding-top: 24px;
    max-width: 56ch;
  }
  .problem__quote { grid-row: 4; }

  .output__head, .surface__head { grid-template-columns: 1fr; align-items: start; gap: 28px; }

  .hspine__head-meta { display: none; }
  .hspine__col { padding-bottom: 16px; }
  .hspine__phrase { display: none; }
  .hspine__name { font-size: 13px; }

  .stp { grid-template-columns: clamp(80px, 12vw, 140px) 1fr; }
}


@media (max-width: 720px) {
  .scene { padding: clamp(72px, 14vw, 110px) var(--gutter); }
  .hero { padding: 0 var(--gutter); }
  .hero__corner { padding-top: 72px; }
  .rotator { min-height: clamp(180px, 50vw, 260px); }
  .phrase__line { font-size: clamp(40px, 11vw, 64px); }

  .problem__title { font-size: clamp(40px, 10vw, 64px); }
  .problem__quote-top { font-size: clamp(22px, 6vw, 32px); }
  .problem__quote-bottom { font-size: clamp(26px, 8vw, 44px); }

  .demo--split .demo__row,
  .demo--inline .demo__row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .demo--split .demo__stats { grid-template-columns: 1fr 1fr; }

  .demo--session .demo__session {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .demo--session .demo__sidebar { padding-bottom: 4px; gap: 14px; }
  .demo--session .demo__title { font-size: clamp(24px, 7vw, 34px); }
  .demo--session .demo__pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    font-size: 9.5px;
    letter-spacing: 0.22em;
  }
  .demo--session .demo__pipe-step:nth-child(2)::after { content: ""; }

  .demo--spread .demo__title { font-size: clamp(28px, 8vw, 40px); }
  .demo--spread .demo__footline { flex-direction: column; align-items: flex-start; gap: 6px; }

  .demo__head { margin: 0 auto 36px; }
  .demo__cap { font-size: 10px; }

  .inter__phrase { font-size: clamp(40px, 11vw, 64px); }

  .stp { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .stp__num { font-size: clamp(48px, 16vw, 80px); }

  .report__meta { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Collapse horizontal spine to a vertical stack on mobile. */
  .hspine__head { padding-bottom: 18px; gap: 12px; font-size: 9.5px; }
  .hspine__head-meta { display: none; }
  .hspine__nodes {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hspine__nodes::before {
    /* convert horizontal evidence line to vertical, sitting on the left */
    left: 14px; right: auto;
    top: 0; bottom: 0;
    width: 1px; height: auto;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(77, 159, 255, 0.45) 4%,
      rgba(77, 159, 255, 0.45) 96%,
      transparent 100%
    );
  }
  .hspine__col {
    display: grid;
    grid-template-columns: 28px 56px 1fr;
    grid-template-rows: auto;
    align-items: baseline;
    justify-items: start;
    text-align: left;
    padding: 16px 0;
    gap: 0 16px;
    border-bottom: 1px solid var(--line);
  }
  .hspine__col:not(.is-active) { opacity: 0.7; }
  .hspine__node {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .hspine__id {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .hspine__name {
    grid-column: 3;
    grid-row: 1;
    font-size: 17px;
    text-align: left;
    max-width: none;
  }
  .hspine__phrase {
    display: block;
    grid-column: 3;
    grid-row: 2;
    text-align: left;
    max-width: none;
    font-size: 12.5px;
    margin-top: 4px;
  }
  .hspine__drop { display: none; }
  .hspine__detail { text-align: left; align-items: flex-start; padding-top: 24px; }

  .manifesto__pillars { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
  .manifesto__pillar { grid-template-columns: 36px 1fr; gap: 14px; padding-top: 18px; }
  .manifesto__pillar-text { font-size: clamp(18px, 5vw, 24px); }

  .cta__title { font-size: clamp(32px, 9vw, 52px); }
  .cta__btn-title { font-size: 18px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer__links { justify-content: flex-start; }
  .footer__logo { height: 26px; }
}


/* ── Tighten dashboard for slide ─────────────────────── */
.output { padding-top: clamp(160px, 16vw, 240px); padding-bottom: clamp(80px, 8vw, 120px); }
.output__head { margin-bottom: clamp(36px, 4vw, 56px); }

/* United with dashboard: thin divider + 4 pillars below memo */
.output__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  margin: clamp(48px, 5vw, 72px) 0 clamp(28px, 3vw, 40px);
}
.output__divider-rule { height: 1px; background: var(--line); }
.output__divider-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-3);
}

.output__pillars {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px) clamp(40px, 5vw, 80px);
}
.output__pillar {
  display: grid;
  grid-template-columns: clamp(36px, 4vw, 48px) 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: baseline;
  padding-top: clamp(16px, 1.8vw, 24px);
  border-top: 1px solid var(--line-2);
}
.output__pillar-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.output__pillar-text {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 500;
}
.output__pillar-text .title--serif {
  color: var(--text);
  letter-spacing: -0.018em;
}

@media (max-width: 720px) {
  .output__pillars { grid-template-columns: 1fr; gap: 14px; }
  .output__pillar { grid-template-columns: 32px 1fr; gap: 12px; padding-top: 14px; }
  .output__pillar-text { font-size: clamp(16px, 5vw, 20px); }
}

/* Four ways list — removed; using .output__pillars 2-col grid instead */

.report { gap: clamp(20px, 2vw, 30px); }
.rpt__band { padding-bottom: 16px; }
.rpt__rec-verdict { font-size: clamp(22px, 2vw, 30px); }
.rpt__panel { padding: clamp(14px, 1.5vw, 20px); gap: 10px; }
.rpt__panel-head { padding-bottom: 10px; }
.rpt__panel-title { font-size: clamp(12px, 0.95vw, 14px); }
.rpt__fact { padding: 10px 12px; }
.rpt__fact--lead { padding: 12px 12px 10px; }
.rpt__fact-num { font-size: clamp(22px, 2.2vw, 28px); }
.rpt__fact-val { font-size: 18px; }
.rpt__fact-label { font-size: 12.5px; }
.rpt__driver { padding: 8px 0; gap: 12px; }
.rpt__driver-name { font-size: 12.5px; }
.rpt__assume { padding: 10px 0; gap: 6px; }
.rpt__assume-text { font-size: clamp(13px, 1vw, 15px); }
.rpt__risk { padding: 9px 0; gap: 12px; }
.rpt__risk-name { font-size: 12.5px; }
.rpt__grid { gap: clamp(14px, 1.5vw, 22px); }
.rpt__foot { padding-top: 14px; font-size: 10px; }


/* ============================================================
   PROCESS DETAIL / 03b — Input · 9 Agents · 3 Scenarios
   Three monitor-style cards beneath the IC_TERMINAL animation.
   ============================================================ */
.pdetail {
  padding: 0 var(--gutter) clamp(80px, 9vw, 140px);
  margin-top: clamp(-80px, -6vw, -32px);
  background: var(--bg);
  position: relative;
  z-index: 3;
}
.pdetail .pgrid {
  margin: 0 auto;
  max-width: min(1240px, 96%);
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(16px, 1.8vw, 28px);
}
.pgrid__scr {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(15,17,28,0.78), rgba(8,9,16,0.86)),
    radial-gradient(120% 80% at 0% 0%, rgba(77,159,255,0.10), transparent 60%);
  overflow: hidden;
  min-height: 380px;
}
.pgrid__chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}
.pgrid__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4d9fff;
  box-shadow: 0 0 8px rgba(77,159,255,0.6);
}
.pgrid__body {
  flex: 1;
  display: flex; flex-direction: column;
  padding: clamp(14px, 1.4vw, 20px);
  gap: clamp(8px, 0.9vw, 14px);
  min-height: 0;
}

/* 01 INPUT ----------------------------------------------------*/
.pgrid__field { display: flex; flex-direction: column; gap: 6px; }
.pgrid__label {
  font-size: 9.5px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}
.pgrid__drop {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px dashed rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.02);
  padding: 14px 10px;
  color: rgba(255,255,255,0.6);
  font-size: 11px; letter-spacing: 0.06em;
}
.pgrid__drop-icon { font-size: 13px; color: #7fb6ff; }
.pgrid__input {
  display: block;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  padding: 8px 10px;
  color: rgba(220,230,245,0.9);
  font-size: 11.5px; letter-spacing: 0.02em;
}
.pgrid__input--multi { min-height: 44px; line-height: 1.5; color: rgba(220,230,245,0.7); }

/* 02 AGENTS ---------------------------------------------------*/
.pgrid__body--agents { padding-top: clamp(8px, 1vw, 14px); }
.pgrid__graph { width: 100%; flex: 1; min-height: 0; display: block; }

/* 03 MODELING -------------------------------------------------*/
.pgrid__scen-head, .pgrid__scen-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr;
  align-items: center; gap: 8px;
  padding: 7px 0;
  font-size: 11px; letter-spacing: 0.06em;
}
.pgrid__scen-head {
  color: rgba(255,255,255,0.42);
  font-size: 9.5px; letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 8px;
}
.pgrid__scen-row { border-bottom: 1px solid rgba(255,255,255,0.06); }
.pgrid__scen-tag {
  display: inline-block; padding: 2px 6px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  font-size: 9.5px; letter-spacing: 0.18em;
  text-align: center;
}
.pgrid__scen-row--bear .pgrid__scen-tag { color: #ffb27f; border-color: rgba(255,178,127,0.4); }
.pgrid__scen-row--base .pgrid__scen-tag { color: #7fb6ff; border-color: rgba(127,182,255,0.45); }
.pgrid__scen-row--bull .pgrid__scen-tag { color: #8fe0a8; border-color: rgba(143,224,168,0.45); }
.pgrid__scen-val { color: rgba(232,234,240,0.92); font-size: 11.5px; }
.pgrid__bars { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 10px; }
.pgrid__bar {
  display: grid; grid-template-columns: 1fr 40px;
  align-items: center; gap: 8px;
}
.pgrid__bar > span {
  display: block; height: 7px; width: 0;
  background: linear-gradient(90deg, rgba(77,159,255,0.15), rgba(77,159,255,0.85));
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
.pgrid__bar--bear > span { background: linear-gradient(90deg, rgba(255,178,127,0.15), rgba(255,178,127,0.85)); }
.pgrid__bar--bull > span { background: linear-gradient(90deg, rgba(143,224,168,0.15), rgba(143,224,168,0.85)); }
.pgrid__bar em {
  font-style: normal;
  font-size: 9.5px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-align: right;
}
/* trigger fill once visible */
.pdetail.is-on .pgrid__bar > span { width: var(--w); }

@media (max-width: 900px) {
  .pdetail .pgrid { grid-template-columns: 1fr; }
  .pgrid__scr { min-height: 260px; }
}


/* Process step — small mono meta line beside the title */
.prc__title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 24px;
  margin: 0 0 8px;
}
.prc__meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(180, 200, 230, 0.55);
  font-weight: 400;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-feature-settings: 'tnum';
  white-space: nowrap;
  text-align: right;
}
.prc__copy {
  max-width: 56ch;
  color: rgba(232, 234, 240, 0.6);
}

@media (max-width: 720px) {
  .prc__title {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .prc__meta { text-align: left; }
}

/* ───────── CTA form ───────── */

.cta__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  max-width: 480px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  scroll-margin-top: 96px;
}

.cta__field {
  display: block;
  width: 100%;
  max-width: 380px;
  align-self: center;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--text-3);
  border-radius: 0;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0;
  color: var(--text);
  text-align: center;
  outline: none;
  transition: border-color .25s var(--ease);
}

.cta__field::placeholder {
  color: var(--text-3);
  opacity: .7;
}

.cta__field:focus {
  border-bottom-color: var(--blue);
}

.cta__field:invalid:not(:placeholder-shown) {
  border-bottom-color: var(--red);
}

.cta__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.cta__error {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: .04em;
  text-align: center;
}

/* the <button> uses the existing .cta__btn pill styles defined earlier; only add disabled state */
.cta__btn:disabled {
  opacity: .4;
  pointer-events: none;
}

/* inside the form, button must NOT stretch — keep content-width pill, center it */
.cta__form .cta__btn {
  align-self: center;
}

.cta__label {
  display: block;
  margin-bottom: -16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-3);
}

/* ───────── ACK overlay ───────── */

.ack {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.ack[hidden] {
  display: none;
}

.ack.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ack__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.ack__card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 56px 64px 48px;
  background: #0a0c16;
  border: 1px solid var(--text-3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
  text-align: center;
}

.ack__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  transition: color .2s var(--ease);
}

.ack__close:hover,
.ack__close:focus-visible {
  color: var(--text);
  outline: none;
}

.ack__line {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--text);
}

.ack__sub {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: .02em;
}

.ack__sub em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}

/* ============================================================
   MOBILE (≤480px) — Phase 2 mobile optimisation.
   Targets phones (375–480px). Existing 720px/880px blocks
   handle tablets; these rules layer on top for true phone sizes.
   ============================================================ */
@media (max-width: 480px) {

  /* ── (a) Trivial fixes ────────────────────────────────────── */

  /* Nav: drop the "Book a demo" CTA — Contact lives in the menu panel.
     Why: capsule + CTA + menu button was 458px wide on a 375px viewport. */
  .nav__cta { display: none; }
  .nav__inner { padding: 10px 12px; gap: 8px; }
  .nav__logo { height: 36px; }

  /* Hero: grid auto-track was sizing to the min-content of hero__corner
     (NBSP-locked "OPENING · 01", visibility:hidden but still in layout),
     pushing children to 385px on a 375px viewport. Pin the column. */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    overflow-x: hidden;
  }
  .hero__corner > span { display: none; }
  .hero__corner { padding-top: clamp(72px, 18vw, 110px); }

  /* Rotator: override the inline 110px font-size from index.html.
     Use container-fluid sizing instead. */
  .rotator { min-height: clamp(180px, 50vw, 280px); }
  .rotator__slot { font-size: 0; }
  .phrase__line {
    font-size: clamp(34px, 9.2vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  /* CTA form: centre label + placeholder to match the centred button. */
  .cta__label,
  .cta__field { text-align: center; }
  .cta__field::placeholder { text-align: center; }

  /* Surface hspine CTA: allow "SELECT AN AGENT..." to wrap instead of
     overflowing horizontally. */
  .hspine__cta-text {
    white-space: normal;
    font-size: 9px;
    letter-spacing: 0.18em;
    padding: 5px 10px;
    max-width: 86vw;
    text-align: center;
    line-height: 1.4;
  }

  /* Demo + status chromes: prevent the "FRAMEWORK DEMO RUNNING · …"
     line from overflowing — let it wrap. */
  .demo--spread .demo__chrome,
  .demo--session .demo__chrome,
  .demo--session .demo__status {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }

  /* Evidence Ledger: claim text was single-line ellipsis ("ARR $2…").
     Let claims wrap freely; td__claim is column-flex so the meta line
     below moves down naturally. */
  .icm__claim {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.28;
  }
  .icm__td--claim { gap: 6px; padding: 12px 0; }
  .icm__table {
    grid-template-columns: 20px minmax(0, 1fr) 44px 64px;
    column-gap: 10px;
  }
  /* "SOURCES" and "CONVICTION" header text doesn't fit the narrow
     mobile columns — the data underneath is self-documenting
     (dot graph + numeric, coloured bar + numeric). Hide headers. */
  .icm__th:nth-child(3),
  .icm__th:nth-child(4) { visibility: hidden; }

  /* Hero foot: "SIGNAL.OK · NINE AGENTS ONLINE · EVIDENCE.GRAPH LIVE"
     was nowrap and "LIVE" got clipped. Let it wrap. */
  .hero__foot {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* ── (b) Mid-level refactors ──────────────────────────────── */

  /* Process steps: 2x2 grid → single column (4 cards stacked).
     Base margin-top is clamp(360px, 56vh, 620px) — desktop room for
     the IC_TERMINAL animation to breathe under the headline. On mobile
     that's a ~450px void; keep ~140px so headline → animation → steps
     reads as three beats. */
  .process__list {
    grid-template-columns: 1fr;
    row-gap: 20px;
    margin-top: clamp(100px, 20vw, 150px);
  }

  /* Process section: desktop uses min-height:100vh, which on mobile
     leaves the IC_TERMINAL background animation floating mid-section.
     Let the section be content-driven. Place the animation in the
     lower-middle of the steps band so the wordmark anchors the
     resolution of the process without crowding the headline. */
  .process { min-height: 0; padding-bottom: clamp(50px, 7vw, 80px); }
  .process__bg .process__anim { object-position: 50% 75%; }

  /* Sticky-nav clearance for anchor scrolls (Demo / Output titles
     were being eaten by the floating nav capsule). */
  section[id] { scroll-margin-top: 72px; }

  /* ── (c) Structural mobile layouts ────────────────────────── */

  /* Pdetail 3-card viz → vertical stack.
     Base rule uses !important so this must too. */
  .pdetail .pgrid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .pgrid__scr { min-height: 220px; }

  /* Demo agent rail: 9 horizontal pips → 3×3 grid.
     Keeps the "9 agents in parallel" read while making each pip
     wide enough to show its name (was "A.0…"). */
  .dsim__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .dsim__pip { padding: 8px 8px 9px; }
  .dsim__pip-id { font-size: 9px; }
  .dsim__pip-name { font-size: 10.5px; }

  /* Demo body collapsed to 0px on mobile: .dsim is absolute inset:0 of
     .demo__wrap which has aspect-ratio 16/9 (~211px tall at 375). The
     3×3 rail alone is ~175px, leaving the agent+viz body with 0px.
     Drop the aspect-ratio and let dsim flow normally. */
  .demo__wrap { aspect-ratio: auto; height: auto; min-height: 0; }
  .dsim { position: static; inset: auto; padding: 16px 14px; gap: 14px; }
  .dsim__body { grid-template-columns: 1fr; }
  .dsim__agent {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 14px;
  }
  .dsim__viz { min-height: 220px; }
  .dsim__scan { display: none; }

  /* Surface CTA: "SELECT AN AGENT..." was position:absolute,
     translateY(-100% -8px) above the agent list. Wrapped to 3 lines on
     mobile, the box pushed up into the "AGENTIC DILIGENCE LAYER" head
     label. Put it inline above the list — keep the float animation
     using its own keyframes (override the desktop transform-based one). */
  .hspine__cta {
    position: static;
    transform: none;
    margin: 0 auto 16px;
    align-items: center;
    animation: hspineCtaFloatMobile 1.8s ease-in-out infinite;
  }
  @keyframes hspineCtaFloatMobile {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hspine__cta { animation: none; }
  }

  /* Agent description: desktop shows it in .hspine__detail BELOW the
     full agent list — on mobile that's 600+px below the tap. Hide the
     bottom panel and render the data-desc inline as a popover card that
     expands under the tapped agent. */
  .hspine__detail,
  .hspine__route { display: none; }

  .hspine__col {
    grid-template-rows: auto auto auto;
    row-gap: 0;
    transition: opacity .4s var(--ease), background .35s ease;
  }
  .hspine__col::after {
    content: attr(data-desc);
    grid-column: 1 / -1;
    grid-row: 3;
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: -0.002em;
    max-height: 0;
    opacity: 0;
    padding: 0 14px;
    margin-top: 0;
    background: rgba(77, 159, 255, 0.06);
    border-left: 2px solid var(--blue);
    border-radius: 4px;
    box-shadow: 0 8px 24px -10px rgba(77, 159, 255, 0.35);
    transition:
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease 0.08s,
      padding 0.32s ease,
      margin-top 0.32s ease;
    pointer-events: none;
  }
  .hspine__col.is-active::after {
    max-height: 320px;
    opacity: 1;
    padding: 12px 14px;
    margin-top: 12px;
    pointer-events: auto;
  }
  .hspine__col.is-active { background: rgba(77, 159, 255, 0.02); }

  /* CTA statement headline: "into the room" gets its own row (block),
     not just nowrap on the same line as adjacent words. */
  .cta__statement-em {
    display: block;
    margin: 0.08em 0;
    white-space: nowrap;
  }

  /* Manifesto pillars: 2-column was cramping numbers + text together
     (each pillar got ~134px of text width). Stack vertically. */
  .manifesto__pillars { grid-template-columns: 1fr; gap: 18px; }
  .manifesto__pillar { grid-template-columns: 40px 1fr; gap: 16px; padding-top: 14px; }
  .manifesto__pillar-text { font-size: clamp(19px, 5.4vw, 26px); }

  /* Plaque animation: desktop runs 5.7s end-to-end. On mobile, scroll
     velocity is faster — user passes the section before "Evidence
     attached…" and the closing quote land. Halve the staged delays. */
  .plaque--anim.is-revealed .plaque__line--1     { animation-delay: 0.20s; }
  .plaque--anim.is-revealed .plaque__strike-bar  { animation-delay: 0.75s; }
  .plaque--anim.is-revealed .plaque__line--1 .plaque__strike { animation-delay: 1.05s; }
  .plaque--anim.is-revealed .plaque__rule-line--l,
  .plaque--anim.is-revealed .plaque__rule-line--r { animation-delay: 1.10s; }
  .plaque--anim.is-revealed .plaque__rule-sign   { animation-delay: 1.25s; }
  .plaque--anim.is-revealed .plaque__line--2     { animation-delay: 1.40s; animation-duration: 0.8s; }
  .plaque--anim.is-revealed .plaque__is          { animation-delay: 1.85s; }
  .plaque--anim.is-revealed .plaque__attr        { animation-delay: 2.20s; }
  .plaque--anim.is-revealed .plaque__quote--close { animation-delay: 2.55s; }
}

