@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
/* Fracture Labs: a fractured world on a warm-black field. Barlow Condensed carries the voice,
   orange marks action and heat, cyan marks the live infrastructure underneath. */
:root {
  --ground: #120d0a;        /* warm black, the void around the world */
  --ground-2: #1b1410;      /* raised surface */
  --ground-3: #261c16;      /* hairlines, wells */
  --ink: #f3ebe4;           /* primary text, warm white */
  --ink-2: #b5a598;         /* secondary text */
  --ink-3: #7d6d61;         /* tertiary, captions */
  --fracture: #ff4d2e;      /* brand orange: action, heat */
  --fracture-2: #ff6b00;    /* brand orange 2: gradients of heat */
  --core: #00d4b4;          /* brand cyan: the live platform layer */
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --step-4: clamp(3rem, 1.8rem + 6vw, 7.5rem);
  --measure: 62ch;
  --wrap: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--fracture); color: var(--ground); }
:focus-visible { outline: 2px solid var(--core); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.05; letter-spacing: 0.01em; }
p { margin: 0; max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--fracture); color: #170b06; padding: 10px 16px; font-weight: 600; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ground);
}
.site-head {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled { background: rgba(18, 13, 10, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--ground-3); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.foot-mark img { width: 260px; height: auto; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--fracture); }
.nav .sep { width: 1px; height: 18px; background: var(--ground-3); }
.nav .ext::after { content: "\2197"; margin-left: 3px; color: var(--ink-3); font-size: 0.8em; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--ground-3); color: var(--ink); padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; border-radius: 3px; }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: calc(68px + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--ground); border-bottom: 1px solid var(--ground-3); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav[hidden] { display: none !important; }
  .nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--ground-3); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--fracture); }
  .nav .sep { display: none; }
  .nav .btn { margin-top: 16px; text-align: center; }
}
@media (min-width: 1021px) { .nav[hidden] { display: flex !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem;
  padding: 13px 22px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-hot { background: var(--fracture); color: #170b06; }
.btn-hot:hover { background: var(--fracture-2); }
.btn-line { background: var(--ground-3); color: var(--ink); }
.btn-line:hover { background: #33261e; }
.btn-sm { padding: 9px 16px; font-size: 0.95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
section { position: relative; }
.band { padding-block: clamp(80px, 11vw, 150px); }
.band-tight { padding-block: clamp(56px, 7vw, 96px); }
.rule-top { border-top: 1px solid var(--ground-3); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; max-width: 52ch; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fracture); }
.kicker.core { color: var(--core); }

/* ---------- hero (home) ---------- */
.world {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0;
}
.world-text { min-width: 0; }
.world-stage { position: relative; min-width: 0; }
.world-stage .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); }
/* cover */
.cover { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.cover-img, .cover-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.cover-img img { object-fit: cover; object-position: 30% 40%; filter: saturate(0.85) contrast(1.05); }
.cover-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(18,13,10,0.94) 0%, rgba(18,13,10,0.78) 38%, rgba(18,13,10,0.55) 62%, rgba(18,13,10,0.8) 100%),
  radial-gradient(ellipse 45% 60% at 74% 50%, rgba(18,13,10,0.75), transparent 75%),
  linear-gradient(180deg, rgba(18,13,10,0.5) 0%, transparent 22%, transparent 70%, var(--ground) 100%); }
#emblem { position: absolute; top: 0; bottom: 0; right: 0; width: 58%; height: 100%; display: block; }
.cover-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 30px; padding-top: 120px; padding-bottom: 96px; pointer-events: none; }
.cover-inner > * { pointer-events: auto; max-width: 640px; }
.cover h1 { font-size: clamp(3.1rem, 1.4rem + 5.6vw, 7.2rem); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.cover h1 .l2 { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.cover .lede { color: #d6c9be; }
.cover-cap { position: absolute; z-index: 2; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 22px; font-size: 0.82rem; color: var(--ink-3); text-decoration: none; }
.cover-cap:hover { color: var(--ink); }
@media (max-width: 900px) {
  .cover { align-items: flex-end; }
  #emblem { width: 100%; height: 52%; bottom: auto; }
  .cover-inner { padding-top: 42vh; padding-bottom: 72px; }
  .cover-shade { background: linear-gradient(180deg, rgba(18,13,10,0.7) 0%, rgba(18,13,10,0.55) 40%, rgba(18,13,10,0.92) 62%, var(--ground) 100%); }
  .cover h1 { font-size: clamp(2.7rem, 1rem + 9vw, 4.5rem); }
  .facts { grid-template-columns: repeat(2, auto); }
  .cover-cap { left: max(20px, env(safe-area-inset-left, 0px)); right: auto; }
}

.cover-plain { min-height: min(100vh, 860px); }
.cover-plain .cover-shade { background:
  radial-gradient(ellipse 50% 60% at 72% 50%, rgba(0, 212, 180, 0.10), transparent 70%),
  radial-gradient(ellipse 35% 40% at 80% 55%, rgba(255, 77, 46, 0.10), transparent 70%); }
.cover-plain h1 { font-size: clamp(2.8rem, 1.2rem + 5vw, 6rem); max-width: 12ch; }
@media (max-width: 900px) { .cover-plain .cover-shade { background: radial-gradient(ellipse 80% 40% at 50% 25%, rgba(0, 212, 180, 0.10), transparent 70%); } }

/* three doors */
.doors { border-top: 1px solid var(--ground-3); border-bottom: 1px solid var(--ground-3); background: var(--ground-2); }
.doors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door { display: grid; gap: 8px; align-content: start; padding: 34px 28px 36px; text-decoration: none; transition: background 0.2s; position: relative; }
.door + .door { border-left: 1px solid var(--ground-3); }
.door:first-child { padding-left: 0; }
.door:hover { background: var(--ground-3); }
.door:first-child:hover { background: none; }
.door:first-child:hover b, .door:hover b { color: var(--fracture); }
.door-k { font-size: var(--step--1); color: var(--fracture); font-weight: 600; }
.door-k.core { color: var(--core); }
.door b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1.02; transition: color 0.2s; }
.door span:last-child { color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 860px) { .doors-grid { grid-template-columns: 1fr; } .door { padding: 26px 0; } .door + .door { border-left: 0; border-top: 1px solid var(--ground-3); } .door:hover { background: none; } }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: clamp(22px, 3vw, 44px); row-gap: 18px; padding-top: 26px; border-top: 1px solid var(--ground-3); max-width: 600px; }
.fact .num { display: block; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; }
.fact span:last-child { font-size: var(--step--1); color: var(--ink-3); }

/* system stack list beside globe */
.stack { padding-block: clamp(80px, 10vw, 140px); }
.stack .kicker { display: block; margin-bottom: 18px; }
.stack h2 { margin-bottom: 22px; }
.stack > p { color: var(--ink-2); margin-bottom: 40px; font-size: var(--step-1); line-height: 1.45; max-width: 44ch; }
.systems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ground-3); }
.systems li { border-bottom: 1px solid var(--ground-3); }
.systems li:nth-child(odd) { border-right: 1px solid var(--ground-3); }
.systems button {
  all: unset; box-sizing: border-box; display: grid; gap: 2px; width: 100%; padding: 16px 18px 16px 0; cursor: pointer;
  transition: background 0.2s, padding 0.25s;
}
.systems li:nth-child(even) button { padding-left: 18px; }
.systems b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; transition: color 0.2s; }
.systems span { font-size: 0.92rem; color: var(--ink-3); line-height: 1.35; }
.systems button:hover b, .systems button:focus-visible b, .systems button.on b { color: var(--fracture); }
.systems button.on span { color: var(--ink-2); }
.stack-hint { margin-top: 18px; font-size: var(--step--1); color: var(--ink-3); }

@media (max-width: 900px) {
  .world { grid-template-columns: 1fr; }
  .world-stage { order: -1; height: 60vh; height: 60svh; margin-top: 40px; margin-bottom: -60px; pointer-events: none; }
  .world-stage .sticky { position: absolute; inset: 0; height: 100%; }
  .stack { padding-top: 0; }
}
@media (max-width: 520px) { .systems { grid-template-columns: 1fr; } .systems li:nth-child(odd) { border-right: 0; } .systems li:nth-child(even) button { padding-left: 0; } }

/* ---------- agent loop ---------- */
.loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.loop li { list-style: none; position: relative; padding: 26px 22px 0 0; border-top: 2px solid var(--ground-3); }
.loop li::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 0; width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--ground); border: 2px solid var(--core); color: var(--core); font-family: var(--display); font-weight: 800; font-size: 0.95rem; border-radius: 50%; }
.loop li:last-child::after { content: ""; position: absolute; top: -8px; right: 0; width: 14px; height: 14px; border-top: 2px solid var(--core); border-right: 2px solid var(--core); transform: rotate(45deg); }
.loop h3 { margin-bottom: 8px; font-size: 1.6rem; }
.loop p { color: var(--ink-2); font-size: 0.98rem; }
.loop-note { margin-top: 28px; color: var(--ink-3); font-size: var(--step--1); }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; gap: 26px; } .loop li { border-top: 0; border-left: 2px solid var(--ground-3); padding: 0 0 0 30px; } .loop li::before { left: -15px; top: 0; } .loop li:last-child::after { display: none; } }
.ul-ag { list-style: none; padding: 0; margin: 0; }

/* ---------- economy sim ---------- */
.sim-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sim-frame { position: relative; background: #0c0907; border: 1px solid var(--ground-3); aspect-ratio: 5 / 4; max-width: 100%; }
#sim { width: 100%; height: 100%; display: block; }
.sim-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: var(--step--1); color: var(--ink-2); }
.sim-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.sim-readout { position: absolute; left: 12px; top: 10px; right: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--ink-3); pointer-events: none; font-variant-numeric: tabular-nums; }
.sim-readout b { color: var(--ink); font-weight: 600; }
.sim-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { all: unset; cursor: pointer; padding: 6px 12px; border: 1px solid var(--ground-3); border-radius: 999px; font-size: 0.88rem; color: var(--ink-2); transition: all 0.2s; }
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { border-color: var(--core); color: var(--core); }
@media (max-width: 860px) { .sim-grid { grid-template-columns: 1fr; } }

/* ---------- pedigree / traction ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.studios { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.studios span { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.02em; }
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--ground-3); }
.tl:last-child { border-bottom: 1px solid var(--ground-3); }
.tl .when { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--fracture); }
.tl .when.core { color: var(--core); }
.tl h3 { margin-bottom: 8px; }
.tl p { color: var(--ink-2); }

/* ---------- cost ---------- */
.race { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.race-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: center; }
.race-label { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.race-label small { display: block; font-family: var(--body); font-weight: 400; text-transform: none; color: var(--ink-3); font-size: 0.88rem; }
.race-track { position: relative; height: 44px; background: repeating-linear-gradient(90deg, var(--ground-3) 0 1px, transparent 1px calc(100% / 8)); border-left: 1px solid var(--ink-3); }
.race-bar { position: absolute; top: 8px; bottom: 8px; left: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.race-bar.slow { background: repeating-linear-gradient(-45deg, #3a2a20 0 6px, #2e2119 6px 12px); color: var(--ink); }
.race-bar.slow .min { position: absolute; left: 0; top: 0; bottom: 0; background: #4a3428; }
.race-bar.fast { background: var(--core); color: #03201b; }
.race-axis { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
.race-axis .ticks { position: relative; height: 18px; font-size: 0.8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.race-axis .ticks span { position: absolute; transform: translateX(-50%); }
.race-axis .ticks span:first-child { transform: none; }
@media (max-width: 640px) { .race-row, .race-axis { grid-template-columns: 1fr; gap: 8px; } .race-axis > div:first-child { display: none; } }

.tables { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .tables { grid-template-columns: 1fr; } }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; padding-bottom: 12px; letter-spacing: 0.02em; }
th, td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--ground-3); font-size: 0.98rem; vertical-align: top; }
th { color: var(--ink-3); font-weight: 500; font-size: 0.85rem; }
td + td, th + th { text-align: right; padding-right: 0; padding-left: 10px; white-space: nowrap; }
tr.ours td { color: var(--core); font-weight: 600; border-bottom-color: var(--core); }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--ground-3); }
.versus > div { padding: 28px; }
.versus > div + div { border-left: 1px solid var(--ground-3); background: linear-gradient(160deg, rgba(0, 212, 180, 0.07), transparent 60%); }
.versus h3 { margin-bottom: 14px; }
.versus ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.versus li { padding-left: 22px; position: relative; color: var(--ink-2); }
.versus li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--ink-3); }
.versus > div + div li::before { background: var(--core); }
@media (max-width: 640px) { .versus { grid-template-columns: 1fr; } .versus > div + div { border-left: 0; border-top: 1px solid var(--ground-3); } }

/* ---------- tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ground-3); }
.tier { padding: 30px 28px; display: flex; flex-direction: column; gap: 20px; }
.tier + .tier { border-left: 1px solid var(--ground-3); }
.tier.pick { background: var(--ground-2); box-shadow: inset 0 3px 0 var(--fracture); }
.tier .lvl { font-size: var(--step--1); color: var(--ink-3); }
.tier.pick .lvl { color: var(--fracture); }
.tier h3 { font-size: 2rem; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; flex: 1; }
.tier li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 0.98rem; }
.tier li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border: 2px solid var(--ink-3); transform: rotate(45deg); }
.tier.pick li::before { border-color: var(--fracture); }
.tier .btn { align-self: flex-start; }
.tiers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier.pick.core { box-shadow: inset 0 3px 0 var(--core); }
.tier.pick.core .lvl { color: var(--core); }
@media (max-width: 900px) { .tiers, .tiers.two { grid-template-columns: 1fr; } .tier + .tier { border-left: 0; border-top: 1px solid var(--ground-3); } }

/* ---------- audiences ---------- */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.aud > div { padding: 26px 26px 26px 0; border-top: 1px solid var(--ground-3); }
.aud > div:nth-child(3n+2), .aud > div:nth-child(3n) { padding-left: 26px; border-left: 1px solid var(--ground-3); }
.aud h3 { margin-bottom: 8px; font-size: 1.7rem; }
.aud p { color: var(--ink-2); font-size: 0.98rem; }
.aud .agent h3 { color: var(--core); }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr 1fr; } .aud > div { padding: 22px 18px 22px 0 !important; border-left: 0 !important; } .aud > div:nth-child(even) { padding-left: 18px !important; border-left: 1px solid var(--ground-3) !important; } }
@media (max-width: 520px) { .aud { grid-template-columns: 1fr; } .aud > div:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; } }

/* ---------- closing CTA ---------- */
.closer { position: relative; overflow: hidden; padding-block: clamp(90px, 12vw, 170px); border-top: 1px solid var(--ground-3); }
.closer::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 70% at 85% 110%, rgba(255, 77, 46, 0.28), transparent 70%),
  radial-gradient(ellipse 40% 50% at 10% -10%, rgba(0, 212, 180, 0.12), transparent 70%); pointer-events: none; }
.closer .wrap { position: relative; display: grid; gap: 26px; }
.closer h2 { font-size: var(--step-4); max-width: 13ch; }
.closer p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--ground-3); padding-block: 48px 36px; font-size: 0.95rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--ink); font-size: 1.05rem; letter-spacing: 0.04em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-grid a:hover { color: var(--fracture); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ground-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 0.85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- subpage hero ---------- */
.page-hero { position: relative; padding-top: calc(140px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 28px; }
.page-hero h1 { font-size: clamp(2.8rem, 1.2rem + 6vw, 6.6rem); max-width: 14ch; }
.page-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ground-3); border-bottom: 1px solid var(--ground-3); margin-top: 22px; }
.page-stats > div { padding: 20px 18px 20px 0; }
.page-stats > div + div { padding-left: 18px; border-left: 1px solid var(--ground-3); }
.page-stats .num { display: block; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); line-height: 1; color: var(--ink); }
.page-stats span:last-child { font-size: var(--step--1); color: var(--ink-3); }
@media (max-width: 720px) { .page-stats { grid-template-columns: 1fr 1fr; } .page-stats > div:nth-child(3) { padding-left: 0; border-left: 0; } .page-stats > div:nth-child(n+3) { border-top: 1px solid var(--ground-3); } }

/* risks, services, modules: lined lists */
.lined { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ground-3); }
.lined > div { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--ground-3); }
.lined > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--ground-3); }
.lined .tag { font-size: var(--step--1); color: var(--fracture); margin-bottom: 8px; display: block; }
.lined h3 { margin-bottom: 10px; font-size: 1.55rem; }
.lined p { color: var(--ink-2); font-size: 0.98rem; }
.lined.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lined.two > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
.lined.two > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ground-3); }
.lined.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lined.four > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
.lined.four > div + div { padding-left: 24px; border-left: 1px solid var(--ground-3); }
@media (max-width: 900px) {
  .lined, .lined.four { grid-template-columns: 1fr 1fr; }
  .lined > div, .lined.four > div + div { padding-left: 0 !important; border-left: 0 !important; }
  .lined > div:nth-child(even) { padding-left: 20px !important; border-left: 1px solid var(--ground-3) !important; }
}
@media (max-width: 560px) {
  .lined, .lined.two, .lined.four { grid-template-columns: 1fr; }
  .lined > div:nth-child(even), .lined.two > div:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; }
}

/* case study */
.case { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case-meta { display: grid; gap: 18px; align-content: start; }
.case-meta .ctx { color: var(--ink-3); font-size: var(--step--1); }
.kv { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ground-3); }
.kv > div { padding: 16px 0; border-bottom: 1px solid var(--ground-3); }
.kv > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--ground-3); }
.kv .num { display: block; font-size: 2.2rem; line-height: 1; }
.kv .num.core { color: var(--core); }
.kv span:last-child { font-size: 0.88rem; color: var(--ink-3); }

/* before/after memory bars, to scale */
.membars { display: grid; gap: 14px; }
.mb { display: grid; grid-template-columns: 210px minmax(0, 1fr) 60px; gap: 14px; align-items: center; font-size: 0.92rem; }
.mb .lbl { color: var(--ink-2); line-height: 1.25; }
.mb .bars { display: grid; gap: 3px; }
.mb .b { height: 10px; position: relative; }
.mb .b.before { background: #4a3428; }
.mb .b.after { background: var(--core); }
.mb .b em { position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); font-style: normal; font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mb .d { text-align: right; color: var(--core); font-weight: 600; font-variant-numeric: tabular-nums; }
.mb-key { display: flex; gap: 18px; font-size: var(--step--1); color: var(--ink-3); margin-bottom: 6px; }
.mb-key i { display: inline-block; width: 18px; height: 8px; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 640px) { .mb { grid-template-columns: minmax(0, 1fr) 48px; } .mb .lbl { grid-column: 1 / -1; } .mb .b em { display: none; } }

.callout { border-left: 3px solid var(--fracture); padding: 6px 0 6px 20px; color: var(--ink-2); }
.callout b { color: var(--ink); }

/* engines */
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .engines { grid-template-columns: 1fr; } }
.engines h3 { font-size: 2rem; margin-bottom: 16px; }
.engines dl { margin: 0; display: grid; }
.engines dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--ground-3); }
.engines dt { font-weight: 600; }
.engines dd { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 480px) { .engines dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* phases (true sequence) */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.phase { padding: 0 22px 0 0; }
.phase + .phase { padding-left: 22px; border-left: 1px solid var(--ground-3); }
.phase .n { font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--ground-3); -webkit-text-stroke: 1px var(--ink-3); }
.phase h3 { margin: 12px 0 8px; font-size: 1.6rem; }
.phase p { color: var(--ink-2); font-size: 0.96rem; }
.phase small { display: block; margin-top: 12px; color: var(--core); font-size: 0.85rem; }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr 1fr; row-gap: 32px; } .phase:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .phases { grid-template-columns: 1fr; } .phase + .phase { padding-left: 0; border-left: 0; } }

.big-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.big-stat .num { font-size: clamp(5rem, 3rem + 9vw, 11rem); line-height: 0.85; color: var(--core); }
.big-stat h3 { font-size: var(--step-2); margin-bottom: 10px; }
@media (max-width: 640px) { .big-stat { grid-template-columns: 1fr; } }

.reveal-load { animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both; }
.reveal-load:nth-child(2) { animation-delay: 0.08s; }
.reveal-load:nth-child(3) { animation-delay: 0.16s; }
.reveal-load:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.race-bar .out { position: absolute; left: calc(100% + 10px); color: var(--core); }
.race-bar.fast .lo { position: absolute; left: 0; top: 0; bottom: 0; background: #00f0cc; }
