/* ============================================================
   NEXEZT — v5 · The Intelligence Foundry
   Deep-dark · frontier-lab minimal · ember on obsidian
   ============================================================ */
:root {
  --bg:        #06080f;
  --bg-2:      #090c16;
  --bg-3:      #0d1120;
  --panel:     rgba(148, 168, 210, 0.045);
  --panel-2:   rgba(148, 168, 210, 0.07);
  --line:      rgba(150, 170, 215, 0.10);
  --line-2:    rgba(150, 170, 215, 0.18);
  --ink:       #edf0f8;
  --dim:       #9aa3ba;
  --mute:      #565f76;

  --ember:      oklch(0.72 0.185 45);
  --ember-hi:   oklch(0.82 0.14 55);
  --ember-deep: oklch(0.55 0.17 40);
  --ember-dim:  oklch(0.72 0.185 45 / 0.14);
  --ok:         oklch(0.78 0.12 165);

  --display: "Space Grotesk", system-ui, sans-serif;
  --sans:    "Geist", system-ui, sans-serif;
  --mono:    "Geist Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --r: 12px;
  --r-sm: 6px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ember); color: #0a0500; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, canvas { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* faint global grid — engineering substrate */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(150,170,215,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,170,215,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 80%);
}

/* ============================================================
   TYPE
   ============================================================ */
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }
.display em {
  font-style: normal;
  color: var(--ember);
  text-shadow: 0 0 32px oklch(0.72 0.185 45 / 0.35);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--mute);
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--ember);
  box-shadow: 0 0 12px oklch(0.72 0.185 45 / 0.6);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.lede { font-size: 17px; color: var(--dim); line-height: 1.6; max-width: 54ch; font-weight: 300; }
.lede strong { color: var(--ink); font-weight: 500; }

.sec { padding: 130px 0; position: relative; }
.sec-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}
.sec-title { font-size: clamp(38px, 4.6vw, 60px); margin-top: 20px; letter-spacing: -0.025em; }
.sec-index {
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  letter-spacing: 0.18em;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .sec { padding: 90px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: rgba(6, 8, 15, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; gap: 28px;
}
@media (max-width: 720px) { .nav-inner { padding: 0 20px; } }
.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display);
  font-size: 17px; font-weight: 500; letter-spacing: 0.02em;
}
.logo-mark {
  width: 13px; height: 13px;
  background: var(--ember);
  transform: rotate(45deg);
  box-shadow: 0 0 14px oklch(0.72 0.185 45 / 0.55);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: -5px;
  border: 1px solid var(--line-2);
}
.nav-links { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav-links a {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
  padding: 8px 13px;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.nav-status .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: #0a0c14;
  padding: 9px 18px;
  font-size: 13px; font-weight: 500;
  border-radius: 2px;
  transition: background 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { background: var(--ember-hi); box-shadow: 0 0 24px oklch(0.72 0.185 45 / 0.35); }
@media (max-width: 920px) { .nav-links, .nav-status { display: none; } .logo { margin-right: auto; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-size: 14px; font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.3s, border-color 0.25s;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary {
  background: var(--ember);
  color: #140700;
  box-shadow: 0 0 0 1px oklch(0.72 0.185 45 / 0.4), 0 8px 32px -8px oklch(0.72 0.185 45 / 0.45);
}
.btn-primary:hover {
  background: var(--ember-hi);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px oklch(0.82 0.14 55 / 0.5), 0 12px 40px -8px oklch(0.72 0.185 45 / 0.6);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: var(--panel);
}
.btn-ghost:hover { border-color: var(--ember); color: var(--ember-hi); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 168px 0 110px;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
#neural {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.9;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 75% 30%, oklch(0.72 0.185 45 / 0.07), transparent 70%),
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}
@media (max-width: 1020px) {
  .hero { padding: 130px 0 70px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
}
.hero-eyebrow { margin-bottom: 32px; animation: fadeIn 1s 0.1s var(--ease) backwards; }
.hero-h1 {
  font-size: clamp(48px, 6.4vw, 92px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
.hero-h1 .row { display: block; overflow: hidden; }
.hero-h1 .row > span { display: inline-block; animation: riseIn 1.1s var(--ease) backwards; }
.hero-h1 .row:nth-child(1) > span { animation-delay: 0.12s; }
.hero-h1 .row:nth-child(2) > span { animation-delay: 0.24s; }
.hero-h1 .row:nth-child(3) > span { animation-delay: 0.36s; }
@keyframes riseIn { from { transform: translateY(112%); } }
@keyframes fadeIn { from { opacity: 0; } }
.hero-sub {
  margin-top: 32px;
  font-size: 17px; font-weight: 300;
  color: var(--dim);
  max-width: 50ch; line-height: 1.65;
  animation: fadeIn 1s 0.6s var(--ease) backwards;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; animation: fadeIn 1s 0.75s var(--ease) backwards; }
.hero-meta {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 48px;
  width: fit-content;
  animation: fadeIn 1s 0.9s var(--ease) backwards;
}
.hero-meta-item .k {
  font-family: var(--display);
  font-size: 30px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-meta-item .k em { font-style: normal; color: var(--ember); }
.hero-meta-item .k .unit { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); margin-left: 5px; vertical-align: 0.45em; }
.hero-meta-item .v {
  margin-top: 6px;
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--mute);
}
@media (max-width: 560px) { .hero-meta { gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  .hero-h1 .row > span, .hero-eyebrow, .hero-sub, .hero-actions, .hero-meta { animation: none; }
}
/* once intro has played, drop entrance animations so base (visible) styles rule */
html.settled .hero-h1 .row > span,
html.settled .hero-eyebrow,
html.settled .hero-sub,
html.settled .hero-actions,
html.settled .hero-meta,
html.settled .console { animation: none; }

/* ============================================================
   OPS CONSOLE
   ============================================================ */
.console {
  position: relative;
  background: rgba(8, 11, 20, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 30px 80px -20px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: fadeIn 1s 0.5s var(--ease) backwards;
}
.console-head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
}
.console-head .live {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ember-hi);
}
.console-head .live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px var(--ember);
  animation: pulse 1.8s ease-in-out infinite;
  font-style: normal;
}
.console-head .sess { margin-left: auto; color: var(--mute); }
.console-body {
  padding: 18px 18px 14px;
  height: 318px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.05;
  position: relative;
}
.console-body::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 70px;
  background: linear-gradient(to bottom, rgba(8,11,20,0.95), transparent);
  z-index: 2; pointer-events: none;
}
.console-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dim); }
.console-line .ts { color: var(--mute); margin-right: 10px; }
.console-line .tag {
  display: inline-block;
  min-width: 52px;
  margin-right: 10px;
  color: var(--ember-hi);
}
.console-line .tag.sys { color: var(--mute); }
.console-line .tag.ok-c { color: var(--ok); }
.console-line .ok-v { color: var(--ok); }
.console-line .hl { color: var(--ink); }
.console-line.scenario {
  color: var(--mute);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.caret {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--ember);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.console-foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.console-foot .stat { padding: 13px 18px; border-right: 1px solid var(--line); }
.console-foot .stat:last-child { border-right: 0; }
.console-foot .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.console-foot .v { font-family: var(--mono); font-size: 14px; color: var(--ink); margin-top: 3px; }
.console-foot .v.em { color: var(--ember-hi); }

/* ============================================================
   SECTORS — deployment grid
   ============================================================ */
.sectors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.sectors .inner { padding: 56px 0; }
.sectors-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 32px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sector {
  background: var(--bg-2);
  padding: 18px 16px 14px;
  font-size: 13.5px;
  color: var(--dim);
  transition: background 0.5s, color 0.5s;
  position: relative;
  min-height: 78px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.sector .idx { font-family: var(--mono); font-size: 9.5px; color: var(--mute); letter-spacing: 0.14em; transition: color 0.5s; }
.sector.on { background: var(--ember-dim); color: var(--ink); }
.sector.on .idx { color: var(--ember-hi); }
@media (max-width: 980px) { .sector-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } .sector { font-size: 12px; padding: 14px 12px 11px; min-height: 68px; } }

/* ============================================================
   EXPLORER — systems & stack builder
   ============================================================ */
.explorer {
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (max-width: 980px) { .explorer { grid-template-columns: 1fr; } }

.exp-rail { background: var(--bg-2); display: flex; flex-direction: column; }
.exp-item {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  transition: background 0.3s, color 0.3s;
  position: relative;
}
.exp-item:last-child { border-bottom: 0; }
.exp-item .n { font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: 0.1em; transition: color 0.3s; }
.exp-item .t { font-size: 14.5px; font-weight: 400; }
.exp-item .in-stack {
  margin-left: auto;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  color: var(--ember-hi);
  opacity: 0; transition: opacity 0.3s;
}
.exp-item.added .in-stack { opacity: 1; }
.exp-item:hover { color: var(--ink); background: var(--panel); }
.exp-item::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--ember);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}
.exp-item[aria-selected="true"] { background: var(--panel-2); color: var(--ink); }
.exp-item[aria-selected="true"] .n { color: var(--ember-hi); }
.exp-item[aria-selected="true"]::before { transform: scaleY(1); }

.exp-detail {
  background: var(--bg-2);
  padding: 40px 44px;
  display: flex; flex-direction: column;
  min-height: 520px;
}
@media (max-width: 640px) { .exp-detail { padding: 28px 22px; } }
.exp-detail .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-hi); }
.exp-detail h3 { font-size: clamp(26px, 3vw, 36px); margin-top: 14px; letter-spacing: -0.02em; }
.exp-detail .desc { margin-top: 16px; color: var(--dim); font-weight: 300; font-size: 15.5px; line-height: 1.65; max-width: 56ch; }
.exp-caps { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.exp-cap {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 6px 11px;
}
.exp-spec {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.exp-spec > div { background: var(--bg-2); padding: 14px 16px; }
.exp-spec .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.exp-spec .v { margin-top: 5px; font-size: 14px; color: var(--ink); }
@media (max-width: 640px) { .exp-spec { grid-template-columns: 1fr; } }
.exp-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.exp-add {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ember);
  border-radius: 2px;
  color: var(--ember-hi);
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.exp-add:hover { background: var(--ember-dim); }
.exp-add.added { background: var(--ember); color: #140700; }
.exp-fade { animation: expFade 0.35s var(--ease); }
@keyframes expFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* stack summary */
.stack-bar {
  margin-top: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(8,11,20,0.9), rgba(13,17,32,0.9));
  padding: 24px 28px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.stack-bar .cell .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.stack-bar .cell .v { font-family: var(--display); font-size: 22px; font-weight: 500; margin-top: 4px; color: var(--ink); }
.stack-bar .cell .v em { font-style: normal; color: var(--ember-hi); }
.stack-bar .note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--mute); max-width: 26ch; line-height: 1.7; }
.stack-bar .cta-slot { margin-left: auto; }
@media (max-width: 760px) { .stack-bar { gap: 22px; } .stack-bar .cta-slot { margin-left: 0; width: 100%; } }

/* ============================================================
   PROCESS
   ============================================================ */
.process-track { position: relative; }
.process-line {
  position: absolute; top: 27px; left: 0; right: 0;
  height: 1px;
  background: var(--line-2);
}
.process-line .fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s linear;
  box-shadow: 0 0 12px oklch(0.72 0.185 45 / 0.5);
}
.process-stations {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
}
.station { padding-top: 0; }
.station-node {
  width: 55px; height: 55px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px;
  color: var(--mute);
  position: relative; z-index: 1;
  transition: border-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.station.lit .station-node {
  border-color: var(--ember);
  color: var(--ember-hi);
  box-shadow: 0 0 20px oklch(0.72 0.185 45 / 0.25), inset 0 0 12px oklch(0.72 0.185 45 / 0.12);
}
.station-label { margin-top: 22px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.station h4 { font-size: 20px; margin-top: 8px; font-weight: 500; }
.station p { margin: 10px 0 0; font-size: 13.5px; font-weight: 300; color: var(--dim); line-height: 1.6; }
@media (max-width: 900px) {
  .process-stations { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process-line { display: none; }
}
@media (max-width: 540px) { .process-stations { grid-template-columns: 1fr; } }

/* ============================================================
   OUTCOMES
   ============================================================ */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .outcomes { grid-template-columns: 1fr; } }
.outcome {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 30px 30px 34px;
  display: flex; flex-direction: column;
  transition: border-color 0.4s, background 0.4s;
}
.outcome:hover { border-color: var(--line-2); background: var(--panel-2); }
.outcome .tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.outcome .big {
  font-family: var(--display);
  font-size: 64px; font-weight: 400; letter-spacing: -0.03em;
  color: var(--ember);
  margin-top: 26px;
  line-height: 1;
  text-shadow: 0 0 40px oklch(0.72 0.185 45 / 0.3);
}
.outcome .big-label { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.outcome h5 { margin-top: 28px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-hi); font-weight: 400; }
.outcome p { margin: 10px 0 0; font-size: 13.5px; font-weight: 300; color: var(--dim); line-height: 1.65; }
.outcomes-note { margin-top: 36px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
@media (max-width: 900px) { .principles-grid { grid-template-columns: 1fr; gap: 40px; } }
.principle .p-num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember-hi); }
.principle blockquote {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 21px; font-weight: 300;
  line-height: 1.4; letter-spacing: -0.01em;
  color: var(--ink);
}
.principle .p-meta { margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px;
  font-family: var(--display);
  font-size: 18px; font-weight: 400;
  cursor: pointer;
  transition: color 0.25s;
}
.faq-item:hover .faq-q { color: var(--ember-hi); }
.faq-toggle {
  font-family: var(--mono); font-size: 16px;
  color: var(--mute);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), color 0.3s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--ember); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 14.5px; font-weight: 300;
  color: var(--dim); line-height: 1.7;
  max-width: 62ch;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  padding: 0 4px;
}
.faq-item.open .faq-a { max-height: 240px; padding: 0 4px 26px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 88px 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, oklch(0.72 0.185 45 / 0.13), transparent 70%),
    var(--bg-2);
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(150,170,215,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,170,215,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.025em; position: relative; }
.cta-inner .lede { margin: 24px auto 0; position: relative; }
.cta-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
@media (max-width: 640px) { .cta-inner { padding: 56px 24px; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); padding: 72px 0 36px; background: var(--bg-2); }
.foot-mega {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 160px);
  font-weight: 400; letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--panel-2);
  -webkit-text-stroke: 1px var(--line-2);
  color: transparent;
  margin-bottom: 64px;
  user-select: none;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 15px; font-weight: 500; }
.foot-desc { margin-top: 16px; font-size: 13.5px; font-weight: 300; color: var(--dim); line-height: 1.7; max-width: 36ch; }
.nl { margin-top: 24px; display: flex; gap: 0; max-width: 340px; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; }
.nl input {
  flex: 1; background: transparent; border: 0;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--mono); font-size: 12px;
  outline: none;
}
.nl input::placeholder { color: var(--mute); }
.nl button {
  background: var(--ink); color: #0a0c14;
  padding: 0 18px;
  font-size: 12.5px; font-weight: 500;
  transition: background 0.25s;
}
.nl button:hover { background: var(--ember-hi); }
.foot-col h6 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); font-weight: 400; }
.foot-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 13.5px; color: var(--dim); transition: color 0.25s; }
.foot-col a:hover { color: var(--ember-hi); }
.foot-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}

/* ============================================================
   REVEALS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  position: relative;
  text-align: left;
  max-width: 580px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cf-field label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--sans); font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-field textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.cf-field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3ba' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--mute); }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-dim);
}
.cf-field input:user-invalid,
.cf-field textarea:user-invalid { border-color: oklch(0.62 0.2 25); }
/* honeypot — moved off-screen, out of tab order; only bots fill it */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.contact-form .btn-primary { cursor: pointer; border: 0; font-family: var(--sans); }
.contact-form .btn-primary[disabled] { opacity: 0.55; cursor: default; }
.cf-status { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--dim); }
.cf-status.ok { color: var(--ok); }
.cf-status.err { color: oklch(0.72 0.18 25); }
