:root {
  --carbon: #000000;
  --coal: #0a0a0a;
  --charcoal: #171717;
  --graphite: #262626;
  --paper: #ffffff;
  --fog: #a3a3a3;
  --ash: #737373;
  --mint: #d1ffca;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--carbon); font-family: 'Inter', sans-serif; color: var(--paper); }
::selection { background: var(--mint); color: #000; }

.display {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: -0.03em; }
.mint { color: var(--mint); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
section { padding: 96px 0; }
.kicker { color: var(--ash); margin-bottom: 16px; text-transform: uppercase; }
h2.display { font-size: clamp(40px, 6vw, 80px); margin-bottom: 24px; }

/* ===== NAV (shared) ===== */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 80px);
}
.nav.solid { position: sticky; background: rgba(0,0,0,.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--graphite); padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: .02em; color: var(--paper); text-decoration: none; }
.wordmark .dot { color: var(--mint); }
.nav-links {
  display: flex; gap: 4px;
  background: rgba(23,23,23,.6); backdrop-filter: blur(12px);
  border: 1px solid var(--graphite); border-radius: 9999px; padding: 6px;
}
.nav-links a {
  color: var(--fog); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 18px; border-radius: 9999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--paper); background: rgba(255,255,255,.07); }
.nav-links a.active { color: #000; background: var(--mint); }
.nav-cta, .cta {
  background: var(--paper); color: #000; font-size: 15px; font-weight: 500;
  padding: 12px 24px; border-radius: 9999px; text-decoration: none; display: inline-block;
  transition: transform .2s ease, background .2s ease;
}
.nav-cta { font-size: 14px; padding: 10px 20px; }
.nav-cta:hover, .cta:hover { background: var(--mint); transform: translateY(-1px); }
.cta.ghost { background: transparent; color: var(--paper); border: 1px solid var(--graphite); }
.cta.ghost:hover { background: rgba(255,255,255,.06); }
@media (max-width: 860px) { .nav-links { display: none; } .mono-note { display: none; } }

/* ===== HERO (home) ===== */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: #000; padding: 0; }
.stage {
  position: absolute; top: 50%; left: 50%;
  height: 100%; aspect-ratio: 1376 / 768;
  transform: translate(-50%, -50%);
  animation: pushin 18s ease-in-out infinite alternate;
}
@keyframes pushin {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.12); }
}
.stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.beam {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 38% 75% at 50% -10%, rgba(255,255,255,0.10), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
.glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(209,255,202,0.85) 0%, rgba(209,255,202,0.25) 45%, transparent 70%);
  mix-blend-mode: screen; filter: blur(3px); pointer-events: none;
}
.eye { width: 4.6%; aspect-ratio: 1.6/1; animation: eyepulse 12s ease-in-out infinite; }
.eye.left  { left: 40.7%; top: 31.2%; }
.eye.right { left: 52.6%; top: 31.2%; }
@keyframes eyepulse {
  0% { opacity:.45; } 22% { opacity:.85; } 48% { opacity:.7; } 50% { opacity:.05; }
  52% { opacity:.7; } 54% { opacity:.08; } 56% { opacity:.75; } 78% { opacity:.9; } 100% { opacity:.45; }
}
.collar {
  width: 6.5%; height: 2.2%; border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(209,255,202,0.9) 0%, rgba(209,255,202,0.2) 55%, transparent 75%);
  mix-blend-mode: screen; filter: blur(4px); position: absolute;
  animation: collarpulse 6s ease-in-out infinite alternate; pointer-events: none;
}
.collar.left  { left: 39.2%; top: 84.2%; }
.collar.right { left: 54.2%; top: 84.4%; animation-delay: -3s; }
@keyframes collarpulse { from { opacity: .35; } to { opacity: .95; } }
#dust { position: absolute; inset: 0; pointer-events: none; }
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #000 0%, transparent 18%, transparent 82%, #000 100%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.9) 100%);
}
.copy { position: absolute; left: clamp(24px, 6vw, 96px); bottom: clamp(32px, 10vh, 110px); z-index: 5; max-width: 640px; }
.status { display: flex; align-items: center; gap: 8px; color: var(--fog); margin-bottom: 20px; }
.status .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 8px var(--mint);
  animation: statuspulse 2s ease-in-out infinite;
}
@keyframes statuspulse { 0%,100% { opacity:.5; } 50% { opacity:1; } }
.tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: -0.03em; background: var(--mint); color: #000;
  border-radius: 64px; padding: 8px 16px; margin-bottom: 24px;
}
h1.display { font-size: clamp(56px, 9vw, 130px); }
.sub { margin-top: 24px; font-size: 16px; line-height: 1.5; color: var(--fog); max-width: 48ch; }
.cta-row { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.mono-note { position: absolute; right: clamp(24px,5vw,80px); bottom: clamp(32px,6vh,60px); color: var(--ash); z-index: 5; }

/* ===== SUBPAGE HEADER ===== */
.page-head { padding: 160px 0 64px; border-bottom: 1px solid var(--graphite); }
.page-head h1 { font-size: clamp(48px, 8vw, 110px); }
.page-head p.lede { margin-top: 20px; color: var(--fog); font-size: 18px; line-height: 1.6; max-width: 60ch; }

/* ===== SECTIONS ===== */
.pain { background: var(--coal); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); }
.pain blockquote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; color: var(--fog); max-width: 60ch; }
.pain .punch { display: block; margin-top: 32px; font-size: clamp(22px, 2.8vw, 32px); color: var(--mint); font-weight: 700; }

.whatis p.big { font-size: clamp(22px, 3vw, 34px); line-height: 1.45; max-width: 30ch; font-weight: 500; }
.whatis p.big + p.big { margin-top: 24px; }
.whatis .promise { margin-top: 40px; color: var(--fog); font-size: 17px; line-height: 1.6; max-width: 62ch; border-left: 2px solid var(--mint); padding-left: 20px; }

.robots { background: var(--coal); border-top: 1px solid var(--graphite); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.card {
  background: var(--charcoal); border: 1px solid var(--graphite);
  border-radius: 24px; padding: 32px; transition: border-color .3s ease, transform .3s ease;
}
.card:hover { border-color: var(--mint); transform: translateY(-3px); }
.card .emoji { font-size: 30px; }
.card h3 { font-size: 21px; margin: 14px 0 4px; }
.card .hook { color: var(--mint); font-size: 14px; margin-bottom: 18px; font-style: italic; }
.card dl dt { color: var(--ash); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; }
.card dl dd { color: var(--fog); font-size: 14.5px; line-height: 1.55; margin-top: 4px; }
.card .more { display: inline-block; margin-top: 18px; color: var(--mint); font-size: 13.5px; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.lab-note { margin-top: 32px; color: var(--ash); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.step { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 24px; padding: 36px 32px; }
.step .num { font-family: 'Anton', sans-serif; font-size: 56px; color: var(--mint); opacity: .9; }
.step h3 { font-size: 22px; margin: 16px 0 6px; text-transform: uppercase; }
.step .tagline { color: var(--paper); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.step p { color: var(--fog); font-size: 14.5px; line-height: 1.6; }

.report { background: var(--coal); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); }
.report-flex { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.phone {
  width: 320px; max-width: 90vw; border: 1px solid var(--graphite); border-radius: 36px;
  background: #050505; padding: 20px; box-shadow: 0 0 80px rgba(209,255,202,0.07);
}
.phone .ptop { display: flex; justify-content: space-between; color: var(--ash); font-size: 11px; margin-bottom: 14px; }
.bubble { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; font-size: 13px; line-height: 1.5; color: var(--paper); }
.bubble .from { color: var(--mint); font-family: 'JetBrains Mono', monospace; font-size: 10px; display: block; margin-bottom: 6px; }
.bubble ul { list-style: none; }
.bubble li { margin: 3px 0; color: var(--fog); }
.report-copy { flex: 1; min-width: 280px; }
.report-copy p { color: var(--fog); font-size: 17px; line-height: 1.65; max-width: 46ch; margin-top: 16px; }

.case-card h3 { font-size: 22px; }
.case-card .what { color: var(--ash); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin: 6px 0 14px; }
.case-card p { color: var(--fog); font-size: 14.5px; line-height: 1.6; }
.case-card .built { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--graphite); }
.case-card .built span { color: var(--mint); font-family: 'JetBrains Mono', monospace; font-size: 11px; display: block; margin-bottom: 8px; }

.grant { background: var(--mint); color: #000; }
.grant h2 { font-size: clamp(32px, 5vw, 64px); }
.grant p { font-size: 17px; line-height: 1.6; max-width: 62ch; margin-top: 16px; color: #1a1a1a; }
.grant .cta { background: #000; color: var(--paper); margin-top: 28px; }
.grant .cta:hover { background: #222; transform: translateY(-1px); }

.why ul { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; list-style: none; }
.why li { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 16px; padding: 22px 24px; font-size: 15px; line-height: 1.5; color: var(--fog); }
.why li b { color: var(--paper); display: block; margin-bottom: 4px; }

.faq { background: var(--coal); border-top: 1px solid var(--graphite); }
.faq details { border-bottom: 1px solid var(--graphite); padding: 22px 0; max-width: 780px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: '+'; color: var(--mint); font-size: 22px; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--fog); font-size: 15px; line-height: 1.6; margin-top: 12px; max-width: 68ch; }

.final { text-align: center; padding: 128px 0; }
.final h2 { font-size: clamp(36px, 6vw, 88px); max-width: 20ch; margin: 0 auto 40px; }
footer { border-top: 1px solid var(--graphite); padding: 40px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--ash); font-size: 13px; }
.foot a { color: var(--fog); text-decoration: none; }
.foot a:hover { color: var(--mint); }

/* ===== DETAIL PAGES ===== */
.detail-block { border-bottom: 1px solid var(--graphite); padding: 64px 0; }
.detail-block:last-of-type { border-bottom: none; }
.detail-flex { display: flex; gap: 48px; flex-wrap: wrap; }
.detail-main { flex: 2; min-width: 300px; }
.detail-side { flex: 1; min-width: 260px; }
.detail-block .emoji { font-size: 40px; }
.detail-block h2 { font-size: clamp(30px, 4vw, 48px); margin: 12px 0 6px; }
.detail-block .hook { color: var(--mint); font-style: italic; margin-bottom: 20px; }
.detail-block p { color: var(--fog); line-height: 1.65; font-size: 15.5px; margin-bottom: 14px; max-width: 62ch; }
.detail-block p b { color: var(--paper); }
.side-box { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 20px; padding: 26px; }
.side-box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--mint); margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; }
.side-box ul { list-style: none; }
.side-box li { color: var(--fog); font-size: 14px; line-height: 1.55; padding: 7px 0; border-bottom: 1px solid var(--graphite); }
.side-box li:last-child { border-bottom: none; }
.timeline { margin-top: 48px; }
.tl-row { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--graphite); }
.tl-day { min-width: 110px; font-family: 'JetBrains Mono', monospace; color: var(--mint); font-size: 13px; padding-top: 4px; }
.tl-body h4 { font-size: 17px; margin-bottom: 6px; }
.tl-body p { color: var(--fog); font-size: 14.5px; line-height: 1.6; max-width: 60ch; }
