:root {
  --bg-color: #ceccc9;
  --bg-warm: #e8e6e3;
  --bg-mid: #d8d6d3;
  --text-dark: #111111;
  --text-light: #ffffff;
  --text-muted: #8c8b89;
  --accent: oklch(0.62 0.07 45);
  --accent-soft: oklch(0.78 0.04 45);

  --font-sans: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-display: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

#glcanvas {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; opacity: 0.9;
}

main { position: relative; z-index: 1; width: 100%; padding: var(--space-sm); }

/* HEADER */
header {
  position: fixed;
  top: var(--space-md); left: var(--space-md); right: var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-light); mix-blend-mode: difference;
  z-index: 50;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border: 1px solid transparent;
}
header.scrolled {
  mix-blend-mode: normal;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; white-space: nowrap; }
.brand-mark {
  display: inline-block; width: 11px; height: 11px;
  border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 1.5px currentColor inset, 0 0 0 4px transparent;
  animation: brandPulse 3.4s ease-in-out infinite;
}
@keyframes brandPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.78); opacity: 0.6; }
}
.brand-name {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.header-actions { display: inline-flex; align-items: center; gap: 1.25rem; }
.nav-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: inherit; font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.01em;
  opacity: 0.85; transition: opacity 0.25s ease;
}
.nav-link:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.01em; color: inherit; text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}
.nav-cta .nav-cta-arrow { font-size: 0.75rem; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.nav-cta-label-short { display: none; }
.nav-cta .nav-cta-beta {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.45rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #5fd38b; border: 1px solid rgba(95, 211, 139, 0.55);
  background: rgba(95, 211, 139, 0.12);
  line-height: 1;
}
.nav-cta:hover { gap: 0.9rem; }
.nav-cta:hover .nav-cta-arrow { transform: translate(2px, -2px); }

/* SCROLL NAV — removed */

h1, h2, h3, .display-sans { font-family: var(--font-sans); font-weight: 700; line-height: 0.85; letter-spacing: -0.02em; }
.display-serif { font-family: var(--font-serif); font-weight: 400; line-height: 1; text-transform: none; font-style: italic; color: var(--text-light); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* FLY-IN — staggered enter for card-like elements; index via style="--i:N" */
.fly-in {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition:
    opacity 0.95s cubic-bezier(.2,.7,.2,1),
    transform 0.95s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 110ms);
  will-change: transform, opacity;
}
.fly-in.in { opacity: 1; transform: translateY(0) scale(1); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 3rem;
  position: relative;
  padding: 18vh 5vw 12vh;
}
.hero-title-group {
  grid-column: 1; grid-row: 1 / 3;
  align-self: center;
  position: relative;
  display: flex; flex-direction: column; gap: 1.25rem;
  max-width: 56rem;
}
.hero-h1 { font-family: var(--font-sans); font-weight: 300; letter-spacing: -0.02em; line-height: 0.95; color: var(--text-light); position: relative; z-index: 2; text-transform: none; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-h1 .h1-line { display: block; }
.hero-h1 .h1-sans {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 8vw, 8rem); color: var(--text-light);
  letter-spacing: -0.035em; font-variation-settings: "opsz" 96;
}
.hero-h1 .h1-bold {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.5rem, 9.5vw, 9.5rem);
  letter-spacing: -0.045em; line-height: 0.92;
  color: var(--text-light); font-variation-settings: "opsz" 96;
}
.hero-h1 .h1-accent { color: #c8c8c8; font-weight: 800; }
.hero-tagline {
  font-family: var(--font-sans); font-weight: 400; font-size: 1.05rem;
  color: var(--text-light); opacity: 0.9; max-width: 32rem;
  line-height: 1.55; margin-top: 2.25rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35);
}
.hero-cta-row { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; color: var(--text-light); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--text-light); color: var(--text-dark);
  padding: 1rem 1.75rem; border-radius: 999px;
  border: none; cursor: pointer;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; transition: gap 0.3s ease, transform 0.3s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.hero-cta:hover { gap: 1.1rem; transform: translateY(-2px); }
.hero-cta .arrow { transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.hero-cta:hover .arrow { transform: translateX(3px); }
.hero-cta-meta { font-family: var(--font-sans); font-weight: 400; font-size: 0.9rem; opacity: 0.85; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.manifesto-block {
  grid-column: 2; grid-row: 2;
  align-self: end; justify-self: end;
  width: 100%; max-width: 24rem;
  font-size: 0.9rem; color: var(--text-light);
  font-family: var(--font-sans); font-weight: 400;
  line-height: 1.6; opacity: 0.92;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35);
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.4);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; row-gap: 3rem; padding: 16vh 5vw 14vh; }
  .hero-title-group { grid-column: 1; grid-row: 1; }
  .manifesto-block { grid-column: 1; grid-row: 2; max-width: 36rem; justify-self: stretch; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); color: var(--text-light); display: flex; align-items: center; justify-content: center; opacity: 0.7; text-shadow: 0 2px 12px rgba(0,0,0,0.5); z-index: 5; }
.scroll-cue .scroll-arrow { font-size: 1.6rem; line-height: 1; animation: scrollBounce 1.8s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(8px); opacity: 1; } }

/* QUOTE */
.quote-section { padding: var(--space-xl) 5vw; display: flex; align-items: center; justify-content: center; min-height: 70vh; position: relative; }
.quote-inner { max-width: 56rem; text-align: center; position: relative; }
.quote-mark { position: absolute; top: -3.5rem; left: 50%; transform: translateX(-50%); font-family: var(--font-serif); font-style: italic; font-size: 8rem; line-height: 1; color: var(--text-light); opacity: 0.5; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.quote-text { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.3; color: var(--text-light); margin-bottom: 2rem; text-shadow: 0 2px 18px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3); }
.quote-text strong { font-weight: 500; font-style: italic; }
.quote-cite { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--text-light); opacity: 0.9; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

/* PROSE */
.prose-section { padding: var(--space-xl) 5vw; position: relative; display: flex; }
.prose-section.right { justify-content: flex-end; }
.prose-block { max-width: 42rem; color: var(--text-light); text-shadow: 0 2px 18px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3); }
.prose-section.right .prose-block { text-align: right; }
.prose-kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; margin-bottom: 2rem; opacity: 0.75; display: flex; align-items: center; gap: 0.75rem; }
.prose-section.right .prose-kicker { justify-content: flex-end; }
.prose-kicker .rule { width: 1.5rem; height: 1px; background: currentColor; }
.prose-heading { font-family: var(--font-sans); font-weight: 400; text-transform: none; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 2rem; }
.prose-body { font-size: 1rem; font-weight: 300; line-height: 1.6; opacity: 0.9; max-width: 32rem; }
.prose-section.right .prose-body { margin-left: auto; }
.prose-body p + p { margin-top: 1rem; }
.prose-stats { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; border-left: 1px solid currentColor; padding-left: 1.5rem; max-width: 28rem; }
.prose-section.right .prose-stats { margin-left: auto; text-align: left; }
.stat-title { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.4rem; }
.stat-desc { font-size: 0.85rem; font-weight: 300; opacity: 0.85; line-height: 1.55; }

/* GAP */
.gap-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-lg); align-items: center; }
.gap-section .prose-block { margin: 0; }
.drift-figure { position: relative; color: var(--text-light); text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.drift-figure svg { width: 100%; height: auto; display: block; }
.drift-figure .drift-caption { margin-top: 1.25rem; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; opacity: 0.9; max-width: 22rem; }
@media (max-width: 900px) { .gap-section { grid-template-columns: 1fr; } }

/* CATALYST */
.catalyst-section { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 900px) { .catalyst-section { grid-template-columns: 1fr; } }
.catalyst-section .prose-block { max-width: 38rem; }
.catalyst-section.prose-section.right .prose-block { text-align: left; }
.catalyst-section.prose-section.right .prose-kicker { justify-content: flex-start; }
.catalyst-section.prose-section.right .prose-stats { margin-left: 0; }
.stat-block { color: var(--text-light); text-shadow: 0 2px 18px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3); display: flex; flex-direction: column; gap: 2rem; }
.stat-row { display: flex; align-items: baseline; gap: 1.25rem; }
.stat-row .arrow { font-family: var(--font-serif); font-style: italic; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; opacity: 0.6; }
.stat-figure { font-family: var(--font-sans); font-weight: 500; font-size: clamp(5rem, 11vw, 11rem); line-height: 0.85; letter-spacing: -0.04em; }
.stat-figure sup { font-size: 0.35em; font-weight: 400; vertical-align: top; margin-left: 0.1em; opacity: 0.7; }
.stat-caption { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.4; opacity: 0.9; max-width: 22rem; }
.stat-divider { height: 1px; background: currentColor; opacity: 0.2; }
.stat-counter { font-family: var(--font-sans); font-weight: 500; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1; opacity: 0.6; }

/* LADDER */
.ladder-section { padding: var(--space-xl) 5vw; position: relative; background: linear-gradient(135deg, #d4d2cf 0%, #c8c6c3 50%, #b8b6b3 100%); overflow: hidden; }
.ladder-section::before {
  content: ''; position: absolute; inset: -50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.05) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.3) 0%, transparent 35%);
  animation: gradientShift 20s ease-in-out infinite; pointer-events: none;
}
@keyframes gradientShift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-1%, 3%) rotate(-1deg); }
}
.ladder-header { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-lg); }
@media (max-width: 900px) { .ladder-header { grid-template-columns: 1fr; } }
.ladder-kicker { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em; margin-bottom: 1rem; opacity: 0.7; }
.ladder-title { font-family: var(--font-sans); font-weight: 400; text-transform: none; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.ladder-sub { font-family: var(--font-body); font-size: 0.95rem; font-weight: 300; opacity: 0.85; line-height: 1.6; max-width: 32rem; }
.ladder-stage-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 280px 1fr; gap: var(--space-lg); align-items: start; }
@media (max-width: 900px) { .ladder-stage-wrap { grid-template-columns: 1fr; } }
.rung-list { display: flex; flex-direction: column; gap: 0.75rem; }
.rung-btn {
  background: rgba(255,255,255,0.18); border: 1px solid rgba(17,17,17,0.10);
  padding: 1.25rem 1.5rem; cursor: pointer;
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  align-items: center; text-align: left;
  color: var(--text-dark); font-family: inherit; position: relative;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.rung-btn:hover { background: rgba(255,255,255,0.32); }
.rung-btn .rung-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.55; }
.rung-btn .rung-name { font-family: var(--font-serif); font-style: italic; font-size: 1.85rem; line-height: 1; }
.rung-btn .rung-verb { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; opacity: 0.55; margin-top: 0.4rem; grid-column: 2; display: block; }
.rung-btn.active { background: var(--text-dark); border-color: var(--text-dark); color: var(--text-light); }
.rung-btn.active .rung-num, .rung-btn.active .rung-verb { opacity: 0.7; }
.ladder-stage { position: relative; background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); padding: 2rem 2rem 1.5rem; min-height: 600px; display: flex; flex-direction: column; }
.stage-tab { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; opacity: 0.7; margin-bottom: 1rem; display: flex; justify-content: space-between; }
.dag-svg { width: 100%; height: 360px; display: block; }
.dag-svg .node-circle { fill: rgba(255,255,255,0.85); stroke: var(--text-dark); stroke-width: 1.2; transition: all 0.5s ease; }
.dag-svg .node-circle.intervened { fill: var(--text-dark); stroke: var(--text-dark); }
.dag-svg .node-label { font-family: var(--font-sans); font-weight: 700; font-size: 14px; fill: var(--text-dark); text-anchor: middle; dominant-baseline: middle; }
.dag-svg .node-label.intervened { fill: #fff; }
.dag-svg .node-tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; fill: var(--text-dark); opacity: 0.6; text-anchor: middle; }
.dag-svg .edge { stroke: var(--text-dark); stroke-width: 1.4; fill: none; transition: stroke-dasharray 0.6s ease, opacity 0.6s ease; }
.dag-svg .edge-label { font-family: var(--font-mono); font-size: 9px; fill: var(--text-dark); opacity: 0.65; text-anchor: middle; }
.dag-svg .scissor { stroke: var(--accent); stroke-width: 2; opacity: 0; transition: opacity 0.6s; }
.stage-readout { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(17,17,17,0.15); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.readout-q { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: var(--text-dark); }
.readout-desc { font-size: 0.82rem; font-weight: 300; line-height: 1.55; opacity: 0.85; }
.readout-formula { font-family: var(--font-mono); font-size: 0.7rem; margin-top: 0.6rem; opacity: 0.75; letter-spacing: 0.04em; }

/* INFRASTRUCTURE */
.infrastructure-section { padding: var(--space-xl) 5vw; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-md); position: relative; background: #e8e6e3; overflow: hidden; }
.infrastructure-section::before {
  content: ''; position: absolute; inset: -50%;
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.04) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(0,0,0,0.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px, 40px 40px;
  animation: dotFloat 25s linear infinite; pointer-events: none;
}
@keyframes dotFloat { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(60px, 60px) rotate(360deg); } }
.infrastructure-section::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent); }
.infra-header { grid-column: 1 / -1; margin-bottom: var(--space-lg); position: relative; z-index: 2; }
.infra-kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; opacity: 0.65; margin-bottom: 1.25rem; }
.infra-heading { font-family: var(--font-sans); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 400; text-transform: none; letter-spacing: -0.02em; line-height: 1.05; color: var(--text-dark); max-width: 48rem; margin-bottom: 1.5rem; }
.infra-header .display-serif { font-size: clamp(2.5rem, 5vw, 5rem); color: var(--text-dark); opacity: 0.85; }
.feature-block { grid-column: span 4; display: flex; flex-direction: column; position: relative; z-index: 2; background: rgba(255,255,255,0.45); border: 1px solid rgba(17,17,17,0.08); padding: 1.5rem; transition: background 0.4s ease, border-color 0.4s ease, transform 0.5s cubic-bezier(.2,.7,.2,1); }
.feature-block:hover { background: rgba(255,255,255,0.7); border-color: rgba(17,17,17,0.15); transform: translateY(-3px); }
@media (max-width: 1024px) { .feature-block { grid-column: span 6; } }
@media (max-width: 768px) {
  .feature-block { grid-column: 1 / -1; }
  .manifesto-block { position: relative; right: 0; bottom: 0; margin-top: 3rem; width: 100%; }
}
.layer-canvas-wrap { width: 100%; height: 180px; margin-bottom: 1.25rem; position: relative; background: rgba(17,17,17,0.04); overflow: hidden; border: 1px solid rgba(17,17,17,0.06); }
.layer-canvas-wrap canvas { display: block; width: 100%; height: 100%; }
.layer-canvas-wrap .layer-tag { position: absolute; top: 8px; left: 10px; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.04em; opacity: 0.55; }
.layer-canvas-wrap .layer-state { position: absolute; bottom: 8px; right: 10px; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.04em; opacity: 0.55; }
.feature-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; opacity: 0.6; margin-bottom: 0.5rem; }
.feature-title { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; border-bottom: 1px solid var(--text-dark); padding-bottom: var(--space-xs); margin-bottom: var(--space-sm); letter-spacing: 0.02em; }
.feature-text { font-size: 0.8rem; opacity: 0.85; line-height: 1.6; }
.feature-quote { grid-column: 1 / -1; margin-top: 4rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.5rem); opacity: 0.85; position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.feature-quote .qline { height: 1px; background: rgba(17,17,17,0.25); }
.feature-quote .qmark { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.04em; opacity: 0.6; font-style: normal; }

/* VERIFICATION */
.verification-section {
  padding: var(--space-xl) 5vw;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  background: #e8e6e3;
  overflow: hidden;
}
.verification-section::before {
  content: ''; position: absolute; inset: -50%;
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.04) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  background-position: 0 0, 20px 20px;
  animation: dotFloat 25s linear infinite; pointer-events: none;
  opacity: 0.6;
}
.verification-section > * { position: relative; z-index: 1; }
.verification-section .chart-wrap { mix-blend-mode: normal; color: var(--text-dark); }
.verification-section .prose-block { color: var(--text-dark); text-shadow: none; max-width: 40rem; margin-left: auto; }
.verification-section .prose-kicker { opacity: 0.65; }
@media (max-width: 900px) { .verification-section { grid-template-columns: 1fr; } }

/* CTA */
.cta-section { padding: var(--space-xl) 5vw; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 4rem; color: var(--text-light); text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35); }
.cta-badge .pill { border: 1px solid currentColor; padding: 0.35rem 0.75rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em; opacity: 0.85; white-space: nowrap; }
.cta-badge .credit { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; opacity: 0.95; text-align: center; }
.cta-heading { font-family: var(--font-sans); font-weight: 400; text-transform: none; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--text-light); text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35); max-width: 56rem; margin-bottom: 1.5rem; }
.cta-sub { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--text-light); text-shadow: 0 2px 14px rgba(0,0,0,0.4); opacity: 0.92; margin-bottom: 2.5rem; }
.cta-button { background: var(--text-light); border: 1px solid var(--text-light); color: var(--text-dark); padding: 1rem 2rem; border-radius: 999px; font-family: var(--font-sans); font-size: 1rem; font-weight: 500; cursor: pointer; transition: gap 0.3s ease, transform 0.3s cubic-bezier(.2,.7,.2,1); display: inline-flex; align-items: center; gap: 0.65rem; white-space: nowrap; text-decoration: none; box-shadow: 0 14px 36px -12px rgba(0,0,0,0.5); }
.cta-button:hover { gap: 0.95rem; transform: translateY(-2px); }
.cta-button .arrow { transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.cta-button:hover .arrow { transform: translateX(3px); }
.cta-meta { margin-top: 2.5rem; display: flex; gap: 2.5rem; font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-light); opacity: 0.85; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.cta-meta span::before { content: '— '; }

footer {
  padding: var(--space-lg) 5vw 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  position: relative; z-index: 1;
  font-family: var(--font-body);
  display: flex; flex-direction: column;
  gap: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-name {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.45rem; line-height: 1;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}
.footer-brand-name .brand-mark {
  display: inline-block; width: 9px; height: 9px;
  border-radius: 50%; background: currentColor;
  animation: brandPulse 3.4s ease-in-out infinite;
}
.footer-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.98rem; opacity: 0.65;
  max-width: 18rem; line-height: 1.4;
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.55rem;
}
.footer-col a,
.footer-col .footer-link-btn {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  text-decoration: none;
  background: none; border: none; padding: 0;
  text-align: left; cursor: pointer;
  opacity: 0.82;
  transition: opacity 0.2s ease;
  width: fit-content;
}
.footer-col a:hover,
.footer-col .footer-link-btn:hover { opacity: 1; }
.footer-muted {
  font-family: var(--font-sans);
  font-size: 0.84rem; opacity: 0.5;
  line-height: 1.5;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.04em;
  opacity: 0.55;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.serif-accent { font-family: var(--font-serif); font-size: 1.4rem; text-transform: none; font-style: italic; line-height: 0; vertical-align: middle; margin: 0 4px; color: var(--text-dark); }

/* VERIFY CHART */
.chart-wrap { position: relative; color: var(--text-light); }
.chart-wrap canvas { display: block; width: 100%; height: 360px; }
.chart-title { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em; opacity: 0.7; margin-bottom: 0.75rem; }
.chart-legend { margin-top: 1rem; display: flex; gap: 1.5rem; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; opacity: 0.7; }
.chart-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.chart-legend span::before { content: ''; display: inline-block; width: 14px; height: 2px; background: currentColor; }
.chart-legend span.dashed::before { background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); height: 1px; }

/* CONTACT MODAL */
.contact-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(17, 17, 17, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1.5rem; animation: contactFade 0.25s ease; }
.contact-overlay[hidden] { display: none; }
.contact-success[hidden], .contact-error[hidden], .contact-form[hidden] { display: none; }
@keyframes contactFade { from { opacity: 0; } to { opacity: 1; } }
.contact-modal { position: relative; width: 100%; max-width: 32rem; background: var(--bg-warm); color: var(--text-dark); border-radius: 18px; padding: 2.5rem 2.25rem 2rem; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.05); animation: contactRise 0.35s cubic-bezier(.2,.7,.2,1); }
@keyframes contactRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.contact-close { position: absolute; top: 0.9rem; right: 1rem; width: 32px; height: 32px; border-radius: 999px; border: none; background: transparent; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--text-dark); opacity: 0.6; transition: opacity 0.2s, background 0.2s; }
.contact-close:hover { opacity: 1; background: rgba(0,0,0,0.06); }
.contact-eyebrow { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; margin-bottom: 0.75rem; }
.contact-title { font-family: var(--font-sans); font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.contact-sub { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.5; opacity: 0.7; margin-bottom: 1.75rem; max-width: 26rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.contact-label em { font-style: normal; color: var(--accent); }
.contact-field input,
.contact-field textarea { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-dark); background: transparent; border: none; border-bottom: 1px solid rgba(0,0,0,0.18); padding: 0.55rem 0; transition: border-color 0.25s ease; resize: vertical; width: 100%; }
.contact-select-wrap { position: relative; display: block; }
.contact-select { appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--text-dark); background: transparent; border: none; border-bottom: 1px solid rgba(0,0,0,0.18); padding: 0.55rem 1.25rem 0.55rem 0; transition: border-color 0.25s ease; cursor: pointer; }
.contact-select:focus { outline: none; border-bottom-color: var(--text-dark); }
.contact-select-caret { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 0.6rem; opacity: 0.55; pointer-events: none; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(0,0,0,0.32); }
.contact-field input:focus,
.contact-field textarea:focus { outline: none; border-bottom-color: var(--text-dark); }
.contact-error { font-family: var(--font-mono); font-size: 0.7rem; color: #b14a3a; letter-spacing: 0.02em; }
.contact-submit { margin-top: 0.5rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; background: var(--text-dark); color: var(--text-light); border: none; border-radius: 999px; padding: 0.85rem 1.4rem; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em; cursor: pointer; transition: gap 0.3s ease, opacity 0.25s ease; }
.contact-submit:hover:not(:disabled) { gap: 1rem; }
.contact-submit:disabled { opacity: 0.55; cursor: progress; }
.contact-submit .arrow { font-size: 0.8rem; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.contact-submit:hover:not(:disabled) .arrow { transform: translate(2px, -2px); }
.contact-meta { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em; opacity: 0.55; text-align: center; }
.contact-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-success { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem 0 0.5rem; }
.contact-success-mark { flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px; background: var(--accent); color: var(--text-light); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-success-title { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.25rem; }
.contact-success-body { font-family: var(--font-body); font-size: 0.9rem; opacity: 0.75; }
.contact-success-body em { font-style: normal; color: var(--text-dark); }
@media (max-width: 600px) {
  .contact-modal { padding: 2rem 1.5rem 1.5rem; }
  .contact-title { font-size: 1.75rem; }
}

/* TEAM */
.team-section { position: relative; }
.team-frame { position: relative; padding: var(--space-xl) 5vw; color: var(--text-dark); background: linear-gradient(140deg, #ecebe8 0%, #dfddda 55%, #cecbc7 100%); border: 1px solid rgba(255,255,255,0.85); border-radius: 4px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 30px 60px -20px rgba(0,0,0,0.35), 0 8px 20px -10px rgba(0,0,0,0.25); overflow: hidden; }
.team-frame::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,0.55); border-radius: 2px; pointer-events: none; }
.team-frame::after { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.55) 0%, transparent 45%), radial-gradient(circle at 85% 75%, rgba(0,0,0,0.05) 0%, transparent 45%); pointer-events: none; animation: teamGlow 22s ease-in-out infinite; }
@keyframes teamGlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2%, -2%); } }
.team-header { position: relative; z-index: 1; margin-bottom: var(--space-lg); }
.team-kicker { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; opacity: 0.8; padding-bottom: 0.85rem; border-bottom: 1px solid currentColor; width: 7rem; margin-bottom: 1.75rem; }
.team-kicker .rule { display: none; }
.team-heading { font-family: var(--font-sans); font-weight: 500; font-size: clamp(2.25rem, 5.5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 1.25rem; }
.team-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.4; opacity: 0.7; max-width: 38rem; }
.team-grid { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-lg); }
.team-row--founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.team-row--advisor { display: grid; grid-template-columns: 1fr; padding-top: var(--space-md); border-top: 1px solid rgba(0,0,0,0.18); }
.team-card { display: block; }
.team-fly { opacity: 0; transform: translateY(60px) scale(0.96); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 110ms); }
.team-fly.in { opacity: 1; transform: translateY(0) scale(1); }
.team-name { font-family: var(--font-sans); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.team-role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; opacity: 0.65; margin-bottom: 0.9rem; }
.team-cred { font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.88rem; font-weight: 300; line-height: 1.6; opacity: 0.78; }
.team-card--advisor .team-name { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.team-card--advisor .team-bio { max-width: 52rem; }
@media (max-width: 900px) {
  .team-row--founders { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* USE CASES */
.usecases-section { padding: var(--space-xl) 5vw; color: var(--text-light); text-shadow: 0 2px 18px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3); position: relative; background: radial-gradient(ellipse at 15% 0%, rgba(255,255,255,0.06) 0%, transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(0,0,0,0.25) 0%, transparent 60%), linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(12,14,18,0.7) 100%); border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.usecases-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%); pointer-events: none; opacity: 0.6; }
.usecases-section > * { position: relative; z-index: 1; }
.uc-header { margin-bottom: var(--space-lg); max-width: 60rem; }
.uc-kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; opacity: 0.75; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.uc-kicker .rule { width: 1.5rem; height: 1px; background: currentColor; }
.uc-heading { font-family: var(--font-sans); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.3); }
.uc-col { position: relative; padding: 3rem 2.25rem 2rem 2.25rem; display: flex; flex-direction: column; }
.uc-col + .uc-col { border-left: 1px solid rgba(255,255,255,0.18); }
.uc-glyph-wrap { width: 100%; aspect-ratio: 240 / 160; margin-bottom: 2rem; color: var(--text-light); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); padding: 0.5rem; overflow: hidden; position: relative; }
.uc-glyph { width: 100%; height: 100%; display: block; }

@keyframes ucDraw { to { stroke-dashoffset: 0; } }

/* Main subject of each glyph — fades up */
.uc-glyph .subject { opacity: 0; transform: translateY(6px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.uc-col.in .uc-glyph .subject { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }

/* Skyline rises */
.uc-glyph .skyline { opacity: 0; transform: translateY(8px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.uc-col.in .uc-glyph .skyline { opacity: 0.5; transform: translateY(0); transition-delay: 0.5s; }

/* Event-logo strip */
.uc-glyph .logos { opacity: 0; transform: translateY(8px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.uc-col.in .uc-glyph .logos { opacity: 0.9; transform: translateY(0); transition-delay: 1s; }
.uc-glyph .logos > g { opacity: 0; transition: opacity 0.5s ease; }
.uc-col.in .uc-glyph .logos > g { opacity: 1; }
.uc-col.in .uc-glyph .logos > g:nth-child(1) { transition-delay: 1.1s; }
.uc-col.in .uc-glyph .logos > g:nth-child(2) { transition-delay: 1.2s; }
.uc-col.in .uc-glyph .logos > g:nth-child(3) { transition-delay: 1.3s; }
.uc-col.in .uc-glyph .logos > g:nth-child(4) { transition-delay: 1.4s; }
.uc-col.in .uc-glyph .logos > g:nth-child(5) { transition-delay: 1.5s; }

/* Event marker (shock chart) fades in */
.uc-glyph .event { opacity: 0; transition: opacity 0.6s ease; }
.uc-col.in .uc-glyph .event { opacity: 1; transition-delay: 1.1s; }

/* Shock candle pulse + ring */
.uc-glyph .shock { transform-box: fill-box; transform-origin: center; }
.uc-col.in .uc-glyph .shock { animation: shockBeat 2.2s ease-in-out 1.4s infinite; }
.uc-glyph .shock-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.uc-col.in .uc-glyph .shock-ring { animation: shockRing 2.2s ease-out 1.4s infinite; }
@keyframes shockBeat { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.85; transform: scaleY(1.04); } }
@keyframes shockRing { 0% { opacity: 0; transform: scale(0.95); } 30% { opacity: 0.55; } 100% { opacity: 0; transform: scale(1.15); } }

/* Generic stagger — .vec arrows / labels (kept from before) */
.uc-glyph .vec { opacity: 0; transform: translateX(-8px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); }
.uc-glyph .vec.v3, .uc-glyph .vec.v4 { transform: translateX(8px); }
.uc-col.in .uc-glyph .v1 { opacity: 1; transform: translateX(0); transition-delay: 0.6s; }
.uc-col.in .uc-glyph .v2 { opacity: 1; transform: translateX(0); transition-delay: 0.85s; }
.uc-col.in .uc-glyph .v3 { opacity: 1; transform: translateX(0); transition-delay: 1.1s; }
.uc-col.in .uc-glyph .v4 { opacity: 1; transform: translateX(0); transition-delay: 1.35s; }

/* Stadium pulse rings — new center cx=120 cy=54 */
.uc-glyph .ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.uc-col.in .uc-glyph .r1 { animation: ringPulse 3s ease-out 1.4s infinite; }
.uc-col.in .uc-glyph .r2 { animation: ringPulse 3s ease-out 2.4s infinite; }
@keyframes ringPulse { 0% { opacity: 0; transform: scale(0.95); } 25% { opacity: 0.7; } 100% { opacity: 0; transform: scale(2.1); } }

.uc-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 0.85rem; }
.uc-title { font-family: var(--font-sans); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 1rem; }
.uc-body { font-size: 0.92rem; font-weight: 300; line-height: 1.55; opacity: 0.82; max-width: 22rem; }

.uc-col::after { content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--text-light); transition: width 0.9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 140ms + 200ms); }
.uc-col.in::after { width: 60%; }
.uc-col:hover .uc-glyph-wrap { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }

.uc-rise { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 120ms); }
.uc-rise.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .uc-grid { grid-template-columns: 1fr; }
  .uc-col { padding: 2.5rem 0 2rem 0 !important; }
  .uc-col + .uc-col { border-left: none; border-top: 1px solid rgba(255,255,255,0.18); }
}

/* ─────────────── MOBILE TUNING ─────────────── */
@media (max-width: 640px) {
  :root {
    --space-md: 1.25rem;
    --space-lg: 2.5rem;
    --space-xl: 4.5rem;
  }

  /* Header — compact, single line */
  header {
    top: 0.75rem; left: 0.75rem; right: 0.75rem;
    padding: 0.45rem 0.55rem 0.45rem 0.9rem;
  }
  header.scrolled { padding: 0.45rem 0.55rem 0.45rem 0.9rem; }
  .header-actions { gap: 0.55rem; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 9px; height: 9px; }
  .nav-link { font-size: 0.8rem; }
  .nav-cta {
    padding: 0.45rem 0.75rem;
    gap: 0.4rem;
    font-size: 0.78rem;
  }
  .nav-cta-beta { display: none; }
  .nav-cta-label-full { display: none; }
  .nav-cta-label-short { display: inline; }

  /* Hero — tighter vertical rhythm */
  .hero { padding: 14vh 5vw 10vh; }
  .hero-tagline { margin-top: 1.5rem; font-size: 0.98rem; }
  .hero-cta-row { margin-top: 1.75rem; flex-wrap: wrap; gap: 0.9rem 1.25rem; }
  .hero-cta { padding: 0.85rem 1.4rem; font-size: 0.9rem; }
  .hero-cta-meta { font-size: 0.82rem; }
  .manifesto-block { font-size: 0.85rem; padding-left: 1rem; }

  /* Section padding shrink */
  .usecases-section,
  .quote-section,
  .prose-section,
  .ladder-section,
  .infrastructure-section,
  .verification-section,
  .cta-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .team-frame { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* CTA — stack meta vertically, drop em-dash separators */
  .cta-meta { flex-direction: column; gap: 0.5rem; align-items: center; margin-top: 1.75rem; }
  .cta-meta span::before { content: ''; }
  .cta-badge { margin-bottom: 2.5rem; }
  .cta-button { padding: 0.85rem 1.5rem; font-size: 0.92rem; }

  /* Quote — bring mark closer so it doesn't crowd the header on scroll */
  .quote-mark { top: -2.5rem; font-size: 5.5rem; }
  .quote-section { min-height: auto; }

  /* Prose — drop the right-alignment which fights small widths */
  .prose-section.right { justify-content: flex-start; }
  .prose-section.right .prose-block { text-align: left; }
  .prose-section.right .prose-kicker { justify-content: flex-start; }
  .prose-section.right .prose-stats,
  .prose-section.right .prose-body { margin-left: 0; }

  /* Catalyst stat — keep the big number from squeezing the caption */
  .stat-block { gap: 1.25rem; }
  .stat-row { gap: 0.75rem; flex-wrap: wrap; }
  .stat-figure { font-size: clamp(4rem, 22vw, 6.5rem); }
  .stat-counter { font-size: clamp(2rem, 9vw, 3rem); }

  /* Ladder — readout becomes a single column on narrow screens */
  .ladder-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .ladder-stage { padding: 1.25rem 1.25rem 1.25rem; min-height: 0; }
  .dag-svg { height: 260px; }
  .stage-readout { grid-template-columns: 1fr; gap: 1rem; padding-top: 1rem; }
  .rung-btn { padding: 1rem 1.1rem; grid-template-columns: 2.5rem 1fr; }
  .rung-btn .rung-name { font-size: 1.5rem; }

  /* Infrastructure feature-quote — stack so the rule doesn't squash text */
  .feature-quote {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
    margin-top: 2.5rem;
  }
  .feature-quote .qline { display: none; }
  .feature-block { padding: 1.25rem; }
  .layer-canvas-wrap { height: 150px; }

  /* Verification chart — give it a sane height on mobile */
  .chart-wrap canvas { height: 260px !important; }

  /* Team frame — soften the chrome on small screens */
  .team-frame { padding-top: 3.5rem; padding-bottom: 3.5rem; border-radius: 2px; }
  .team-frame::before { inset: 6px; }
  .team-kicker { width: auto; }

  /* Footer */
  .footer-grid { gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }

  /* Scroll cue — avoid colliding with the manifesto on phones */
  .scroll-cue { bottom: 2vh; }
}
