:root {
  --ink: #0E0F0E;
  --slate: #15171A;
  --panel: #1A1C1F;
  --line: #2A2D31;
  --line-soft: #1F2125;
  --vellum: #E8E4DA;
  --paper: #F2EFE7;
  --graphite: #9C988E;
  --graphite-dim: #6B6962;
  --accent: oklch(0.82 0.08 200);
  --accent-dim: oklch(0.55 0.06 200);
  --warn: oklch(0.78 0.10 60);
  --serif: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --grid: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--vellum);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body[data-theme="light"] {
  background: var(--paper);
  color: var(--ink);
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
a { color: inherit; }

.noscript-fallback { padding: 48px; max-width: 600px; margin: 0 auto; }

/* Drafting-paper grid background */
.app {
  min-height: 100vh;
  position: relative;
  background-image:
    linear-gradient(to right, rgba(232,228,218,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,228,218,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 0 0;
  isolation: isolate;
}
body[data-theme="light"] .app {
  background-image:
    linear-gradient(to right, rgba(14,15,14,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,15,14,0.05) 1px, transparent 1px);
}

/* corner crosshairs (decorative) */
.app::before, .app::after {
  content: "";
  position: fixed;
  width: 24px; height: 24px;
  pointer-events: none;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: rgba(232,228,218,0.18);
  z-index: 1;
}
body[data-theme="light"] .app::before,
body[data-theme="light"] .app::after { color: rgba(14,15,14,0.25); }
.app::before { top: 24px; left: 24px; }
.app::after  { bottom: 24px; right: 24px; }

/* Top chrome */
.chrome {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body[data-theme="light"] .chrome {
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  border-bottom-color: rgba(14,15,14,0.12);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.04em;
  text-decoration: none;
}
.brand .mark { width: 22px; height: 22px; color: var(--vellum); }
body[data-theme="light"] .brand .mark { color: var(--ink); }
.brand .name { font-weight: 600; }
.brand .plus { color: var(--accent); margin: 0 1px; }

.chrome-nav {
  display: flex; gap: 28px; align-items: center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--graphite);
}
.chrome-nav a {
  text-decoration: none; padding: 6px 0; position: relative;
  transition: color 0.2s;
}
.chrome-nav a:hover { color: var(--vellum); }
body[data-theme="light"] .chrome-nav a:hover { color: var(--ink); }
.chrome-nav a.active { color: var(--vellum); }
body[data-theme="light"] .chrome-nav a.active { color: var(--ink); }
.chrome-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}

.chrome-meta {
  display: flex; gap: 20px; align-items: center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite);
}
.chrome-meta .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.5;} 50%{opacity:1;} }

.clock {
  display: inline-flex; align-items: center; gap: 1px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--vellum);
  padding: 4px 10px;
  border: 1px solid var(--line);
}
body[data-theme="light"] .clock { color: var(--ink); border-color: rgba(14,15,14,0.2); }
.clock .t { display: inline-block; min-width: 1.5ch; text-align: center; }
.clock .sep { color: var(--graphite); margin: 0 1px; animation: blink 1s steps(1) infinite; }
.clock .blink { color: var(--accent); }
.clock .tz { margin-left: 8px; color: var(--graphite); font-size: 9px; letter-spacing: 0.1em; }

@media (max-width: 980px) {
  .chrome-nav { gap: 18px; font-size: 10px; }
  .chrome-meta .hide-md { display: none; }
}
@media (max-width: 720px) {
  .chrome { padding: 12px 16px; gap: 12px; }
  .chrome-nav { display: none; }
  .chrome-meta { gap: 10px; }
  .chrome-meta .hide-sm { display: none; }
  .clock .tz { display: none; }
  .clock { padding: 3px 8px; font-size: 10px; }
}

/* Main stage */
main.stage {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px 96px;
  min-height: calc(100vh - 64px);
}
@media (max-width: 720px) {
  main.stage { padding: 32px 20px 80px; }
}

/* Step indicator */
.steps {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.steps .step {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.45; transition: opacity 0.3s;
}
.steps .step.active { opacity: 1; color: var(--vellum); }
body[data-theme="light"] .steps .step.active { color: var(--ink); }
.steps .step.done { opacity: 0.7; }
.steps .step .num {
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.steps .step.active .num { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.steps .sep { width: 24px; height: 1px; background: currentColor; opacity: 0.3; }
@media (max-width: 720px) {
  .steps { gap: 8px; margin-bottom: 28px; font-size: 10px; }
  .steps .step .label { display: none; }
  .steps .sep { width: 12px; }
}

/* Eyebrow + Hero text */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--graphite);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; background: currentColor; opacity: 0.4; flex: 0 0 24px;
}
.eyebrow.left::before { display: none; }
.eyebrow.left::after { flex: 1; max-width: 80px; }

.headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 24px;
}
.headline em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.headline .div {
  display: inline-block; width: 0.5em; height: 0.04em;
  background: currentColor; vertical-align: middle;
  margin: 0 0.2em;
}

.lede {
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--graphite);
  margin-bottom: 48px;
  text-wrap: pretty;
}
body[data-theme="light"] .lede { color: var(--graphite-dim); }

/* Intake input */
.intake {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  display: flex;
  position: relative;
}
body[data-theme="light"] .intake { border-color: rgba(14,15,14,0.18); }
.intake textarea {
  flex: 1;
  padding: 24px 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
  resize: none;
  min-height: 120px;
  line-height: 1.4;
  font-family: var(--serif);
}
.intake textarea::placeholder { color: var(--graphite-dim); font-weight: 300; }

.intake-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--graphite);
  flex-wrap: wrap; gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--vellum);
  color: var(--vellum); background: transparent;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
}
body[data-theme="light"] .btn { border-color: var(--ink); color: var(--ink); }
.btn:hover:not(:disabled) { background: var(--vellum); color: var(--ink); }
body[data-theme="light"] .btn:hover:not(:disabled) { background: var(--ink); color: var(--vellum); }
.btn:disabled { opacity: 0.3; cursor: not-allowed; }
.btn.accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn.accent:hover:not(:disabled) { background: transparent; color: var(--accent); }
.btn.ghost { border: 0; padding: 12px 0; }
.btn.ghost:hover:not(:disabled) { background: transparent; color: var(--accent); }
.btn .arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover:not(:disabled) .arrow { transform: translateX(4px); }

/* Processing */
.proc-frame {
  width: 100%; max-width: 720px;
  border: 1px solid var(--line);
  padding: 32px;
  background: linear-gradient(135deg, rgba(232,228,218,0.02), transparent);
}
body[data-theme="light"] .proc-frame { border-color: rgba(14,15,14,0.18); background: rgba(14,15,14,0.02); }
.proc-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--graphite);
}
body[data-theme="light"] .proc-line { border-bottom-color: rgba(14,15,14,0.12); }
.proc-line:last-child { border-bottom: 0; }
.proc-line.done { color: var(--vellum); }
body[data-theme="light"] .proc-line.done { color: var(--ink); }
.proc-line .label { font-weight: 500; }
.proc-line .bar {
  height: 6px; background: var(--line); position: relative; overflow: hidden;
}
.proc-line .bar::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--p, 0%);
  background: var(--accent);
  transition: width 0.6s ease;
}
.proc-line .status { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; min-width: 64px; text-align: right; }
.proc-line .status.ok { color: var(--accent); }

/* Diagnostic readout */
.report {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}
body[data-theme="light"] .report { border-color: rgba(14,15,14,0.2); }

.report-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
@media (max-width: 720px) {
  .report-head { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
}
body[data-theme="light"] .report-head { border-bottom-color: rgba(14,15,14,0.18); }
.report-head .title-block .doc-type {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--graphite); margin-bottom: 8px;
}
.report-head .title-block h2 {
  font-weight: 400; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.01em;
}
.report-head .meta {
  font-family: var(--mono); font-size: 11px;
  text-align: right; color: var(--graphite); line-height: 1.7;
}
@media (max-width: 720px) {
  .report-head .meta { text-align: left; }
}
.report-head .meta .v { color: var(--vellum); }
body[data-theme="light"] .report-head .meta .v { color: var(--ink); }

.report-section {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .report-section { padding: 20px; }
}
body[data-theme="light"] .report-section { border-bottom-color: rgba(14,15,14,0.12); }
.report-section:last-child { border-bottom: 0; }
.report-section .sec-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--graphite);
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap; gap: 8px;
}
.report-section .sec-label .num { color: var(--graphite-dim); }

.kvtable {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 13px;
}
.kvtable td, .kvtable th {
  padding: 14px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dashed var(--line);
}
@media (max-width: 600px) {
  .kvtable, .kvtable tbody, .kvtable tr, .kvtable td, .kvtable th { display: block; }
  .kvtable th { padding-bottom: 4px; border-bottom: 0; }
  .kvtable td { padding-top: 4px; padding-bottom: 16px; }
}
body[data-theme="light"] .kvtable td, body[data-theme="light"] .kvtable th {
  border-bottom-color: rgba(14,15,14,0.12);
}
.kvtable th { color: var(--graphite); font-weight: 500; width: 38%; }
.kvtable td .v { color: var(--vellum); }
body[data-theme="light"] .kvtable td .v { color: var(--ink); }
.kvtable td .sub { color: var(--graphite-dim); font-size: 11px; display: block; margin-top: 2px; }
.kvtable tr:last-child td, .kvtable tr:last-child th { border-bottom: 0; }

.assess { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; max-width: 680px; text-wrap: pretty; font-weight: 300; }
.assess .lift { color: var(--accent); font-weight: 500; }

.locked {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(232,228,218,0.04) 12px 13px);
  padding: 32px;
}
body[data-theme="light"] .locked {
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(14,15,14,0.04) 12px 13px);
}
.locked .blur-list {
  filter: blur(6px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.locked .lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--graphite);
  text-align: center; padding: 24px;
}
.locked .lock-overlay .icon {
  width: 28px; height: 28px;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
}

/* Handover form */
.handover {
  display: grid; gap: 32px;
  max-width: 640px;
}
.field {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex; align-items: center; gap: 16px;
}
@media (max-width: 480px) {
  .field { flex-direction: column; align-items: flex-start; gap: 8px; }
}
body[data-theme="light"] .field { border-color: rgba(14,15,14,0.2); }
.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--graphite);
  flex: 0 0 100px;
}
.field input { flex: 1; padding: 10px 0; font-size: 17px; width: 100%; }
.field input::placeholder { color: var(--graphite-dim); }

.success {
  border: 1px solid var(--accent);
  padding: 32px;
  display: grid; gap: 16px;
}
.success .check {
  width: 36px; height: 36px;
  border: 1px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 18px;
}
.success h3 { font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.success p { color: var(--graphite); }

/* Footer */
footer.foot {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--graphite);
  align-items: center;
}
body[data-theme="light"] footer.foot { border-top-color: rgba(14,15,14,0.18); }
footer.foot a { text-decoration: none; opacity: 0.85; }
footer.foot a:hover { color: var(--accent); opacity: 1; }
footer.foot .socials { display: flex; gap: 20px; align-items: center; }
footer.foot .foot-sub {
  margin-top: 6px;
  font-size: 10px;
  color: var(--graphite-dim);
  letter-spacing: 0.04em;
}
footer.foot .foot-sub a { color: var(--graphite); }
footer.foot .foot-sub a:hover { color: var(--accent); }
@media (max-width: 720px) {
  footer.foot { grid-template-columns: 1fr; padding: 24px 20px; text-align: left; }
}

/* Caret blink for processing line */
.cursor::after {
  content: "▍";
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s steps(1) infinite;
  color: var(--accent);
}
@keyframes blink { 50% { opacity: 0; } }

/* Fade in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade { animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.fade-d1 { animation-delay: 0.08s; }
.fade-d2 { animation-delay: 0.16s; }
.fade-d3 { animation-delay: 0.24s; }
.fade-d4 { animation-delay: 0.32s; }

/* small utilities */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer-lg { height: 64px; }
.spacer-md { height: 32px; }
.muted { color: var(--graphite); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.divider {
  height: 1px; background: var(--line); margin: 32px 0;
}
body[data-theme="light"] .divider { background: rgba(14,15,14,0.15); }

/* Crosshair anchor */
.cross {
  position: absolute;
  width: 14px; height: 14px;
  color: var(--graphite-dim);
}
.cross::before, .cross::after {
  content: ""; position: absolute; background: currentColor;
}
.cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }

/* ================================================================
   LANDING PAGE
   ================================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 32px 80px;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 48px; min-height: auto; }
}

.hero-copy { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--graphite);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--accent);
}
.hero-eyebrow .pulse-dot {
  display: inline-block; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  margin-right: 6px;
}

.hero h1.mega {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 28px;
}
.hero h1.mega em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(120deg, var(--accent), var(--vellum) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1.mega .word {
  display: inline-block;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.hero h1.mega .word:nth-child(1) { animation-delay: 0.05s; }
.hero h1.mega .word:nth-child(2) { animation-delay: 0.15s; }
.hero h1.mega .word:nth-child(3) { animation-delay: 0.25s; }
.hero h1.mega .word:nth-child(4) { animation-delay: 0.35s; }
.hero h1.mega .word:nth-child(5) { animation-delay: 0.45s; }

.hero-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--graphite);
  max-width: 560px;
  margin-bottom: 40px;
  text-wrap: pretty;
  line-height: 1.55;
}
body[data-theme="light"] .hero-lede { color: var(--graphite-dim); }

.cta-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-row .btn { padding: 18px 28px; font-size: 12px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 560px;
}
body[data-theme="light"] .hero-stats { border-top-color: rgba(14,15,14,0.18); }
.hero-stats .stat { padding-right: 16px; }
.hero-stats .stat .v {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--vellum);
  font-variant-numeric: tabular-nums;
}
body[data-theme="light"] .hero-stats .stat .v { color: var(--ink); }
.hero-stats .stat .l {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--graphite);
  margin-top: 8px;
}

/* Hourglass canvas */
.hourglass-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 640px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hourglass-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hourglass-stage .hg-meta {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}
.hourglass-stage .hg-meta.tl { top: 0; left: 0; }
.hourglass-stage .hg-meta.tr { top: 0; right: 0; text-align: right; }
.hourglass-stage .hg-meta.bl { bottom: 0; left: 0; }
.hourglass-stage .hg-meta.br { bottom: 0; right: 0; text-align: right; }
.hourglass-stage .hg-meta .v { color: var(--vellum); font-variant-numeric: tabular-nums; }
body[data-theme="light"] .hourglass-stage .hg-meta .v { color: var(--ink); }

/* Section: Marquee speed strip */
.marquee-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(232,228,218,0.02);
  overflow: hidden;
  position: relative;
}
body[data-theme="light"] .marquee-strip { border-color: rgba(14,15,14,0.15); background: rgba(14,15,14,0.02); }
.marquee-track {
  display: flex; gap: 64px; align-items: center;
  padding: 18px 0;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite);
}
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 16px;
}
.marquee-track .pip {
  width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
  /* 12s = ~4x faster than original 40s */
}

/* Section: Why / value props */
.section {
  padding: 120px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .section { padding: 64px 20px; }
}
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  margin-bottom: 64px;
}
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}
.section-head .file-tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--graphite);
}
.section-head .file-tag .accent { color: var(--accent); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.section-head h2 em { font-style: normal; font-weight: 500; color: var(--accent); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
body[data-theme="light"] .value-grid { border-top-color: rgba(14,15,14,0.15); }
@media (max-width: 980px) {
  .value-grid { grid-template-columns: 1fr; }
}
.value-cell {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
body[data-theme="light"] .value-cell { border-color: rgba(14,15,14,0.15); }
.value-cell:last-child { border-right: 0; }
@media (max-width: 980px) {
  .value-cell { border-right: 0; }
}
.value-cell .num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; color: var(--graphite);
  margin-bottom: 24px;
}
.value-cell h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.value-cell p {
  color: var(--graphite); font-size: 15px; line-height: 1.55;
}
body[data-theme="light"] .value-cell p { color: var(--graphite-dim); }

/* Process row */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body[data-theme="light"] .process { border-color: rgba(14,15,14,0.15); }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}
.proc-step {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
body[data-theme="light"] .proc-step { border-right-color: rgba(14,15,14,0.15); }
.proc-step:last-child { border-right: 0; }
.proc-step .n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 16px;
}
.proc-step h4 { font-weight: 500; font-size: 17px; margin-bottom: 8px; }
.proc-step p { font-family: var(--mono); font-size: 11px; color: var(--graphite); line-height: 1.55; }

/* Final CTA block */
.cta-final {
  position: relative;
  padding: 96px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
body[data-theme="light"] .cta-final { border-color: rgba(14,15,14,0.18); }
@media (max-width: 720px) {
  .cta-final { padding: 64px 20px; }
}
.cta-final h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-wrap: balance;
}
.cta-final h2 em { font-style: normal; font-weight: 500; color: var(--accent); }
.cta-final p {
  color: var(--graphite); max-width: 540px; margin: 0 auto 36px;
  text-wrap: pretty;
}
body[data-theme="light"] .cta-final p { color: var(--graphite-dim); }

.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent), transparent 50%);
  opacity: 0.08;
  pointer-events: none;
}

/* About page */
.about-hero {
  padding: 80px 32px 48px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .about-hero { padding: 48px 20px 32px; }
}
.about-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 32px;
  max-width: 18ch;
  text-wrap: balance;
}
.about-hero h1 em { font-style: normal; font-weight: 500; color: var(--accent); }
.about-hero .intro {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--graphite);
  max-width: 640px;
  line-height: 1.6;
  text-wrap: pretty;
}
body[data-theme="light"] .about-hero .intro { color: var(--graphite-dim); }

.deliverable-list {
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
body[data-theme="light"] .deliverable-list { border-top-color: rgba(14,15,14,0.18); }
.deliverable-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 32px;
  padding: 32px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.2s;
}
body[data-theme="light"] .deliverable-row { border-bottom-color: rgba(14,15,14,0.15); }
.deliverable-row:hover { background: rgba(232,228,218,0.02); }
body[data-theme="light"] .deliverable-row:hover { background: rgba(14,15,14,0.02); }
@media (max-width: 720px) {
  .deliverable-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
}
.deliverable-row .num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--accent);
}
.deliverable-row h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em;
}
.deliverable-row p {
  color: var(--graphite); line-height: 1.55;
}
body[data-theme="light"] .deliverable-row p { color: var(--graphite-dim); }

.faq {
  display: grid; gap: 0;
}
.faq-row {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
body[data-theme="light"] .faq-row { border-top-color: rgba(14,15,14,0.15); }
.faq-row:last-child { border-bottom: 1px solid var(--line); }
body[data-theme="light"] .faq-row:last-child { border-bottom-color: rgba(14,15,14,0.15); }
.faq-q {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
}
.faq-q .toggle {
  font-family: var(--mono); font-size: 14px; color: var(--accent); flex-shrink: 0;
}
.faq-a {
  margin-top: 12px; color: var(--graphite); max-width: 640px;
  line-height: 1.6;
  display: none;
}
body[data-theme="light"] .faq-a { color: var(--graphite-dim); }
.faq-row.open .faq-a { display: block; animation: fadeUp 0.4s ease both; }

/* Skip to content */
.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 8px 12px;
  font-family: var(--mono); font-size: 12px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
