/* =============================================================
   Recon v5 — "The information is out there. We bring it home."
   Adds: SignalGlobe (hero ambient), LiveDemo (Claude),
   Compounding (AI-improves-this-improves) section.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,200..600,30..100;1,9..144,200..500,30..100&family=JetBrains+Mono:wght@400;500;600&family=Inter:wght@400;450;500&display=swap');

:root {
  --ink:        #0A0A0A;            /* near-black canvas */
  --ink-2:      #141414;            /* secondary surface */
  --ink-3:      #1F1F1F;            /* card surface */
  --paper:      #FAF7F2;            /* warm paper accent */
  --paper-2:    #E8E2D6;            /* warm off-white */
  --muted:      #6B6660;            /* tertiary text */
  --line:       rgba(250,247,242,0.10);
  --line-2:     rgba(250,247,242,0.18);
  --line-3:     rgba(250,247,242,0.32);

  /* Earthy accents — used inside imagery and rare emphasis */
  --terracotta: #C36B3E;
  --oxblood:    #8B2A2A;
  --mustard:    #B89545;
  --teal:       #2F4A4A;
  --sage:       oklch(0.62 0.06 145);

  --accent:     var(--terracotta);

  --display:    "Fraunces", Georgia, serif;
  --mono:       "JetBrains Mono", ui-monospace, monospace;
  --sans:       "Inter", system-ui, sans-serif;

  --max:        1480px;
  --gutter:     clamp(24px, 4vw, 64px);

  --ease-soft:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cine:  cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  cursor: none; /* custom cursor */
}
@media (hover: none) { body { cursor: auto; } }

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

::selection { background: var(--terracotta); color: var(--ink); }

/* =============================================================
   Ambient grain — full-page texture overlay
   ============================================================= */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* Vignette for cinema feel */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
}

/* =============================================================
   Custom cursor
   ============================================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--paper);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  transition: width 0.3s var(--ease-soft), height 0.3s var(--ease-soft), background 0.2s, opacity 0.3s;
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  background: rgba(250,247,242,0.08);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =============================================================
   Top bar
   ============================================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  mix-blend-mode: difference;
}
.topbar > * { pointer-events: auto; }

.brand {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand .mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: markSpin 24s linear infinite;
  color: var(--terracotta);
}
.brand .mark svg { width: 100%; height: 100%; display: block; }
@keyframes markSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.topnav {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
}
.topnav a {
  position: relative;
  padding: 6px 0;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease-soft);
}
.topnav a:hover { opacity: 1; }
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-cine);
}
.topnav a:hover::after { transform: scaleX(1); }

.topnav .pill {
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.topnav .pill:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.topnav .pill::after { display: none; }

@media (max-width: 720px) {
  .topnav .nav-link { display: none; }
}

/* =============================================================
   Section wrapper
   ============================================================= */
.section {
  position: relative;
  padding: clamp(120px, 14vw, 200px) var(--gutter);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

/* Tiny mono labels */
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label .num {
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.label .bar {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--line-3);
}
.label .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Display type — drama scale */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.display.xl { font-size: clamp(72px, 14vw, 220px); }
.display.lg { font-size: clamp(56px, 9vw, 140px); }
.display.md { font-size: clamp(40px, 6vw, 88px); }
.display.sm { font-size: clamp(28px, 4vw, 56px); }

/* =============================================================
   HERO — cinematic stage
   ============================================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1519682337058-a94d519337bc?w=2400&q=80");
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(0.85) contrast(1.05);
  animation: heroDrift 40s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(10,10,10,0.55), rgba(10,10,10,0.92) 75%),
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.85) 100%);
}
@keyframes heroDrift {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}

/* Floating report-on-desk visual in hero */
.hero-artifact {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: 56%;
  max-width: 820px;
  aspect-ratio: 4/5;
  z-index: 1;
  pointer-events: none;
  background-image: url("https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1800&q=80");
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) brightness(0.55) contrast(1.1);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, black 40%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, black 40%, transparent 75%);
  opacity: 0.85;
  animation: artifactBreathe 8s ease-in-out infinite alternate;
}
@keyframes artifactBreathe {
  0%   { transform: translate3d(0, 0, 0) rotate(-1deg); }
  100% { transform: translate3d(0, -1.5%, 0) rotate(0.5deg); }
}
@media (max-width: 880px) {
  .hero-artifact { display: none; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: end;
}

.hero-headline {
  max-width: 18ch;
  position: relative;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.hero-meta-block {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-meta-block .v {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--paper);
  font-weight: 300;
}

.hero-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--line-2);
  max-width: 520px;
  transition: border-color 0.4s var(--ease-soft);
}
.hero-form:focus-within { border-color: var(--paper); }

.hero-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  font-style: italic;
  padding: 18px 0;
  font-variation-settings: "opsz" 36;
}
.hero-form input::placeholder {
  color: var(--muted);
  font-style: italic;
}

.hero-form button {
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px 0 18px 24px;
  cursor: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.4s var(--ease-soft), color 0.3s;
  white-space: nowrap;
}
.hero-form button:hover { gap: 20px; color: var(--terracotta); }
.hero-form button .arrow { font-size: 18px; }

.hero-microcopy {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-error {
  margin-top: 12px;
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =============================================================
   STAGE — the rotating "report scenes" carousel
   The visual centerpiece, à la ORYZO laptop screen.
   ============================================================= */
.stage-section {
  position: relative;
  padding: 0;
  background: var(--ink);
}

.stage {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink-2);
}

.stage-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.9s var(--ease-cine);
  will-change: transform;
}

.stage-scene {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  gap: clamp(32px, 6vw, 96px);
}

.stage-text {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.stage-text .label { margin-bottom: 32px; }

.stage-text h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.stage-text h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.stage-text p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: rgba(250,247,242,0.7);
  max-width: 38ch;
  margin: 0 0 40px;
}

.stage-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 100px) 0;
}

/* The "report card" — a sample artifact rendered on a paper tile */
.report-card {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3/4;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  padding: clamp(24px, 3vw, 44px);
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 60px 120px -40px rgba(0,0,0,0.6),
    0 30px 60px -20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--display);
  overflow: hidden;
}
.report-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.06) 50%);
  pointer-events: none;
}

.report-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #D8D2C5;
  padding-bottom: 16px;
}
.report-card .card-head .num {
  font-family: var(--display);
  font-size: 20px;
  font-style: italic;
  color: var(--terracotta);
  letter-spacing: -0.01em;
  text-transform: none;
}

.report-card .card-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "opsz" 100, "SOFT" 40;
  margin: 0;
}
.report-card .card-title em {
  font-style: italic;
  color: var(--terracotta);
}

.report-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2, #2B2B2B);
}

.report-card .card-quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  font-style: italic;
  color: #2B2B2B;
  border-left: 1px solid var(--terracotta);
  padding-left: 14px;
}
.report-card .card-quote-src {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

.report-card .card-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px dashed #D8D2C5;
  padding-bottom: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: #2B2B2B;
}
.report-card .card-row:last-child { border-bottom: 0; }
.report-card .card-row .tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.report-card .card-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-card .card-rank-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: #2B2B2B;
}
.report-card .card-rank-list .rank {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
}

.report-card .card-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid #D8D2C5;
}

/* Stage controls */
.stage-controls {
  position: absolute;
  bottom: clamp(32px, 5vw, 60px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}
.stage-controls > * { pointer-events: auto; }

.stage-pager {
  display: flex;
  gap: 12px;
}
.stage-pager button {
  background: transparent;
  border: 0;
  cursor: none;
  padding: 8px 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.3s var(--ease-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.stage-pager button .bar {
  width: 48px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.stage-pager button .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-cine);
}
.stage-pager button.active { color: var(--paper); }
.stage-pager button.active .bar::after { transform: scaleX(1); }

.stage-arrows {
  display: flex;
  gap: 12px;
}
.stage-arrows button {
  width: 56px; height: 56px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  cursor: none;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.stage-arrows button:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

@media (max-width: 880px) {
  .stage-scene { grid-template-columns: 1fr; gap: 32px; padding-top: 100px; }
  .stage-visual { padding: 0 0 80px; }
  .report-card { max-width: 380px; }
}

/* =============================================================
   FULL-BLEED SCENES — problem, manifesto, etc.
   ============================================================= */
.scene {
  position: relative;
  min-height: 90vh;
  padding: clamp(120px, 16vw, 200px) var(--gutter);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.scene .wrap { width: 100%; }

.scene-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.scene-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 100%);
}
.scene-content { position: relative; z-index: 2; }

.scene-display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
  max-width: 14ch;
}
.scene-display em {
  font-style: italic;
  color: var(--terracotta);
}

/* =============================================================
   PROBLEM — three numbered claims, dark canvas, big serif
   ============================================================= */
.problem {
  padding: clamp(140px, 16vw, 220px) var(--gutter);
  background: var(--ink);
}
.problem-intro { margin-bottom: clamp(80px, 10vw, 140px); }
.problem-intro .label { margin-bottom: 32px; }

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) { .problem-list { grid-template-columns: 1fr; } }

.problem-cell {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px) clamp(40px, 5vw, 64px) 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.problem-cell:last-child { border-right: 0; }
.problem-cell .num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 80px);
  letter-spacing: -0.03em;
  color: var(--terracotta);
  line-height: 1;
}
.problem-cell h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
}
.problem-cell p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 880px) {
  .problem-cell { border-right: 0; padding-right: 0; }
}

/* =============================================================
   MANIFESTO — quiet centered divider, with carved-type texture
   ============================================================= */
.manifesto {
  padding: clamp(120px, 16vw, 200px) var(--gutter);
  text-align: center;
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1519681393784-d120267933ba?w=2400&q=80");
  background-size: cover;
  background-position: center;
  filter: saturate(0.6) brightness(0.4) contrast(1.15);
  z-index: 0;
}
.manifesto-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(20,20,20,0.4) 0%, rgba(20,20,20,0.92) 75%),
    linear-gradient(180deg, rgba(20,20,20,0.7), rgba(20,20,20,0.85));
}
.manifesto > * { position: relative; z-index: 2; }

.manifesto::before, .manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: clamp(40px, 6vw, 80px);
  background: var(--line-2);
}
.manifesto::before { top: 0; }
.manifesto::after { bottom: 0; }

.manifesto-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.manifesto-mark .rule {
  width: clamp(48px, 8vw, 96px);
  height: 1px;
  background: var(--line-3);
}
.manifesto-mark .diamond {
  width: 7px; height: 7px;
  background: var(--terracotta);
  transform: rotate(45deg);
}

.manifesto h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 auto 28px;
  max-width: 22ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.manifesto h2 em {
  font-style: italic;
  color: var(--terracotta);
}
.manifesto-sub {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: rgba(250,247,242,0.65);
  margin: 0 auto 32px;
  max-width: 32ch;
}
.manifesto-sub em {
  color: var(--terracotta);
  font-style: normal;
  font-weight: 400;
}
.manifesto-tail {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* =============================================================
   SOURCES marquee
   ============================================================= */
.sources {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.sources-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 100;
}
.sources-track .star {
  color: var(--terracotta);
  font-style: normal;
  font-weight: 400;
}
@keyframes marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* =============================================================
   PROCESS — sticky scrolly with visual swap
   ============================================================= */
.process {
  background: var(--ink);
  padding: clamp(120px, 14vw, 180px) var(--gutter);
}
.process-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: clamp(80px, 10vw, 140px);
  align-items: end;
}
.process-intro .label { margin-bottom: 24px; }
.process-intro h2 { font-family: var(--display); font-weight: 300; font-size: clamp(48px, 7vw, 112px); line-height: 0.94; letter-spacing: -0.035em; margin: 0; max-width: 12ch; }
.process-intro h2 em { font-style: italic; color: var(--terracotta); }
.process-intro p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  color: rgba(250,247,242,0.65);
  max-width: 38ch;
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 880px) {
  .process-intro, .process-grid { grid-template-columns: 1fr; gap: 40px; }
}

.process-visual {
  position: sticky;
  top: 100px;
  aspect-ratio: 4/5;
  background: var(--ink-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.process-visual-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-cine), transform 4s linear;
  transform: scale(1.02);
}
.process-visual-img.active {
  opacity: 1;
  transform: scale(1.08);
}
.process-visual-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.6) 100%);
}
.process-visual-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.process-visual-tag .dot {
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 140px);
}
.process-step { padding: 40px 0; opacity: 0.4; transition: opacity 0.6s var(--ease-soft); }
.process-step.active { opacity: 1; }

.process-step .step-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.03em;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 24px;
}
.process-step h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--paper);
}
.process-step h3 em { font-style: italic; color: var(--terracotta); }
.process-step p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(250,247,242,0.65);
  margin: 0;
  max-width: 38ch;
}
.process-step .when {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
  display: inline-block;
}

/* =============================================================
   PRICING
   ============================================================= */
.pricing {
  padding: clamp(120px, 14vw, 180px) var(--gutter);
  background: var(--ink-2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-intro .label { margin-bottom: 32px; }
.pricing-intro h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  max-width: 12ch;
}
.pricing-intro h2 em { font-style: italic; color: var(--terracotta); }
.pricing-intro p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  color: rgba(250,247,242,0.65);
  margin: 0;
  max-width: 36ch;
}

.price-card {
  border: 1px solid var(--line-2);
  padding: clamp(40px, 5vw, 64px);
  background: rgba(250,247,242,0.02);
  position: relative;
}
.price-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 28px;
}
.price-card .price-row:last-of-type { border-bottom: 0; }
.price-card .price-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card .price-value {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.025em;
  color: var(--paper);
}
.price-card .price-value em {
  font-style: italic;
  color: var(--terracotta);
  margin-right: 4px;
}
.price-terms {
  list-style: none;
  margin: 32px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-terms li {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  color: rgba(250,247,242,0.7);
  display: flex;
  gap: 16px;
}
.price-terms li .k {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  min-width: 32px;
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  padding: clamp(120px, 14vw, 180px) var(--gutter);
  background: var(--ink);
}
.faq-intro { margin-bottom: clamp(60px, 8vw, 100px); max-width: 720px; }
.faq-intro .label { margin-bottom: 32px; }
.faq-intro h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 14ch;
}
.faq-intro h2 em { font-style: italic; color: var(--terracotta); }
.faq-intro .helper {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: rgba(250,247,242,0.6);
  margin: 28px 0 0;
}

.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  cursor: none;
  position: relative;
}
.faq-item-q {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: start;
}
.faq-item-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
}
.faq-item-text {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.faq-item.open .faq-item-text { color: var(--terracotta); font-style: italic; }

.faq-toggle {
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--paper);
  transition: transform 0.5s var(--ease-cine), border-color 0.3s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.faq-item-a {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-cine), padding 0.6s var(--ease-cine);
}
.faq-item.open .faq-item-a {
  max-height: 600px;
  padding-top: 24px;
}
.faq-item-a .faq-answer {
  grid-column: 2;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(250,247,242,0.75);
  margin: 0;
}

/* =============================================================
   FINAL CTA
   ============================================================= */
.final {
  padding: clamp(140px, 16vw, 220px) var(--gutter);
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(195,107,62,0.10), transparent 70%),
    var(--ink);
  position: relative;
  text-align: left;
  overflow: hidden;
}
.final-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: end;
}
@media (max-width: 880px) { .final-grid { grid-template-columns: 1fr; } }

.final .label { margin-bottom: 32px; }
.final h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.final h2 em { font-style: italic; color: var(--terracotta); }
.final-lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  color: rgba(250,247,242,0.7);
  margin: 32px 0 48px;
  max-width: 38ch;
}

.btn-cinema {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 28px 40px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  cursor: none;
  transition: gap 0.4s var(--ease-soft), background 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-cinema:hover { gap: 36px; background: var(--terracotta); color: var(--paper); }
.btn-cinema .arrow { font-size: 18px; }

.privacy-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 28px;
}

.final-aside {
  border-top: 1px solid var(--line-2);
  padding-top: 32px;
}
.final-aside .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.final-aside .row .v {
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.005em;
  text-transform: none;
}

/* =============================================================
   FOOTER
   ============================================================= */
.foot {
  padding: clamp(60px, 8vw, 100px) var(--gutter) 48px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.foot-wordmark-wrap { position: relative; }
.foot-wordmark {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--paper);
  margin: 0 0 24px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.foot-wordmark em {
  font-style: italic;
  color: var(--terracotta);
}
.foot-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.foot-kicker .sep { color: var(--terracotta); }
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-row .meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-row .meta a:hover { color: var(--paper); }
.foot-trust {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: -0.005em;
  text-transform: none;
  color: rgba(250,247,242,0.7);
  margin: 0;
  max-width: 48ch;
}

/* SignalGlobe canvas behind hero */
.signal-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: screen;
}

/* Hero lede + new CTA row */
.hero-lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
  color: rgba(250,247,242,0.72);
  margin: 48px 0 0;
  max-width: 38ch;
  font-variation-settings: "opsz" 36;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  cursor: none;
  transition: gap 0.4s var(--ease-soft), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.hero-cta-primary:hover { gap: 22px; background: var(--terracotta); color: var(--paper); }
.hero-cta-primary .arrow { font-size: 18px; }

.hero-cta-secondary {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  padding: 22px 0;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}
.hero-cta-secondary:hover { opacity: 1; color: var(--terracotta); }

.hero-microcopy {
  margin-top: 28px;
}

/* =============================================================
   LIVEDEMO — Claude-powered live preview
   ============================================================= */
.livedemo {
  padding: clamp(120px, 14vw, 180px) var(--gutter);
  background: var(--ink);
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.livedemo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 980px) {
  .livedemo-grid { grid-template-columns: 1fr; }
}

.livedemo-intro .label { margin-bottom: 32px; }
.livedemo-intro h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.livedemo-intro h2 em { font-style: italic; color: var(--terracotta); }
.livedemo-lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: rgba(250,247,242,0.7);
  margin: 0;
  max-width: 38ch;
}

/* The live panel — feels like an instrument, not a form */
.livedemo-panel {
  background: rgba(250,247,242,0.025);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.livedemo-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
  opacity: 0.6;
}

.livedemo-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.livedemo-panel-head .dot {
  width: 7px; height: 7px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease-soft) infinite;
}
.livedemo-status {
  margin-left: auto;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.livedemo-form {
  padding: 28px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px 24px;
  align-items: end;
}
@media (max-width: 640px) {
  .livedemo-form { grid-template-columns: 1fr; }
}

.livedemo-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 8px;
  transition: border-color 0.3s;
}
.livedemo-input:focus-within { border-color: var(--paper); }
.livedemo-input label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.livedemo-input label .opt {
  color: rgba(107,102,96,0.7);
  letter-spacing: 0.16em;
}
.livedemo-input input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  padding: 4px 0 8px;
  font-variation-settings: "opsz" 36;
}
.livedemo-input input::placeholder { color: var(--muted); font-style: italic; }
.livedemo-input input:disabled { opacity: 0.5; }

.livedemo-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.livedemo-run {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  cursor: none;
  transition: gap 0.4s var(--ease-soft), background 0.3s, color 0.3s, opacity 0.3s;
}
.livedemo-run:hover { gap: 22px; background: var(--terracotta); color: var(--paper); }
.livedemo-run:disabled { opacity: 0.5; cursor: not-allowed; }
.livedemo-run.alt { background: transparent; color: var(--paper); border: 1px solid var(--line-2); }
.livedemo-run.alt:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.livedemo-run .arrow { font-size: 16px; }

.livedemo-err {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.livedemo-output {
  padding: 8px 28px 28px;
  display: grid;
  gap: 0;
}
.livedemo-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.livedemo-block:last-child { border-bottom: 0; }
@media (max-width: 720px) {
  .livedemo-block { grid-template-columns: 1fr; gap: 12px; }
}

.livedemo-block-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.livedemo-block-head .rn {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--terracotta);
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1;
}

.livedemo-block-body {
  min-height: 36px;
}

.livedemo-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.livedemo-bullets li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: rgba(250,247,242,0.85);
}
.livedemo-bullets li .b {
  color: var(--terracotta);
  font-style: normal;
  line-height: 1.45;
}

.livedemo-angle {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--paper);
  margin: 0;
  max-width: 50ch;
  border-left: 1px solid var(--terracotta);
  padding-left: 16px;
}

.livedemo-foot {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0,0,0,0.2);
}
.livedemo-foot .livedemo-cta {
  margin-left: auto;
  color: var(--paper);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.livedemo-foot .livedemo-cta:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* Skeleton shimmer while running */
.skel { display: flex; flex-direction: column; gap: 8px; }
.skel-line {
  height: 14px;
  background: linear-gradient(90deg,
    rgba(250,247,242,0.04) 0%,
    rgba(250,247,242,0.10) 50%,
    rgba(250,247,242,0.04) 100%);
  background-size: 200% 100%;
  border-radius: 1px;
}
.skel.active .skel-line {
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* =============================================================
   COMPOUNDING — AI improves, so does Recon
   ============================================================= */
.compounding {
  padding: clamp(120px, 14vw, 180px) var(--gutter);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(195,107,62,0.06), transparent 60%),
    var(--ink);
  position: relative;
}

.compounding-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: clamp(80px, 10vw, 140px);
  align-items: end;
}
@media (max-width: 880px) {
  .compounding-intro { grid-template-columns: 1fr; gap: 32px; }
}
.compounding-intro .label { margin-bottom: 32px; }
.compounding-intro h2 { margin: 0; max-width: 14ch; }
.compounding-lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
  color: rgba(250,247,242,0.7);
  margin: 0;
  max-width: 40ch;
}

.compounding-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  position: relative;
}
.compounding-track::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line-2) 10%,
    var(--terracotta) 50%,
    var(--line-2) 90%,
    transparent 100%);
  opacity: 0.5;
  z-index: 0;
}
@media (max-width: 880px) {
  .compounding-track { grid-template-columns: 1fr; }
  .compounding-track::before { display: none; }
}

.compounding-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.compounding-stage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.compounding-stage-head .version {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--terracotta);
  line-height: 1;
}
.compounding-stage-head .when {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* The density tile — a generative graphic per stage */
.density-tile {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.density-tile canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.density-tile-meta {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.density-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.density-bar > span {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--terracotta);
  transition: width 1.2s var(--ease-cine);
}
.density-num {
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.compounding-stage h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 6px 0 0;
}
.compounding-stage p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: rgba(250,247,242,0.65);
  margin: 0;
  max-width: 36ch;
}

.compounding-tail {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(60px, 7vw, 100px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.compounding-tail .rule {
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.compounding-tail p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.3;
  color: var(--paper);
  margin: 0;
  text-align: center;
  letter-spacing: -0.02em;
}
.compounding-tail p em { color: var(--terracotta); font-style: italic; }
@media (max-width: 720px) {
  .compounding-tail .rule { display: none; }
  .compounding-tail { padding-top: 32px; }
}

/* =============================================================
   Manifesto v5 — "out there → home"
   (overrides the stacked headline so <br/> reads cleanly) */
.manifesto h2 br { content: ""; }

/* =============================================================
   Reveal animation (kept) — already defined above
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1s var(--ease-cine), transform 1s var(--ease-cine);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Word-by-word reveal */
.word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.9s var(--ease-cine), transform 0.9s var(--ease-cine);
  margin-right: 0.22em; /* preserve inter-word space at tight letter-spacing */
}
.word:last-child { margin-right: 0; }
.word.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .word { opacity: 1; transform: none; }
}

/* ---------- Sealed-report visual (Stage carousel) ---------- */
/* Opaque-by-design — shows the report-card silhouette without revealing
   structure. "Lines" are placeholder bars in muted ink. Wax-seal dot
   anchors the bottom. */
.report-card.sealed {
  background: var(--paper);
}
.report-card .sealed-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.5vw, 36px) 0;
  position: relative;
}
.report-card .sealed-line {
  height: 8px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 1px;
  width: 100%;
}
.report-card .sealed-line.short {
  width: 62%;
}
.report-card .sealed-spacer {
  height: 14px;
}
.report-card .sealed-seal {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, var(--paper));
  display: grid;
  place-items: center;
}
.report-card .sealed-seal .seal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}
