/* unchambered skin */

:root {
  --bg: #0b0c0d;
  --surface: #131416;
  --ink: #f0f1f2;
  --muted: #9aa0a6;
  --faint: #61676d;
  --hairline: rgba(240, 241, 242, 0.1);
  --hairline-strong: rgba(240, 241, 242, 0.22);
  --volt: #d6f21c;
  --volt-ink: #121300;
  --btn-bg: #f0f1f2;
  --btn-ink: #0b0c0d;
  --hot: #d6552c;
  --warm: #bd8c33;
  --cold: #7d848b;
  --good: #4d9468;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --disp: "Archivo", "Inter", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --maxw: 1320px;
  --notch: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
html[data-theme="light"] {
  --bg: #f3f3f1;
  --surface: #ffffff;
  --ink: #121314;
  --muted: #5c6166;
  --faint: #989ea3;
  --hairline: rgba(18, 19, 20, 0.13);
  --hairline-strong: rgba(18, 19, 20, 0.3);
  --volt: #121314;           /* light theme: the "volt" slot becomes ink (Palantir) */
  --volt-ink: #f3f3f1;
  --btn-bg: #121314;
  --btn-ink: #f3f3f1;
}
html[data-theme="light"] .volt-keep { background: #d6f21c !important; color: #121300 !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(214, 242, 28, 0.3); }
html[data-theme="light"] ::selection { background: rgba(18, 19, 20, 0.15); }
input, select, textarea {
  font: inherit; color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
::placeholder { color: var(--faint); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
.label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* subtle scroll reveal (contractor sites all do this) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- Segmented header (Overland) ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.topbar-inner { display: flex; align-items: stretch; height: 68px; }
.seg { display: flex; align-items: center; padding: 0 26px; border-right: 1px solid var(--hairline); }
.seg.brand-seg { padding-left: 0; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--disp); font-weight: 650; font-size: 16.5px; letter-spacing: 0.02em; white-space: nowrap; }
.brand svg { width: 23px; height: 23px; }
.nav { display: flex; align-items: stretch; }
.nav a {
  display: flex; align-items: center; padding: 0 22px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  border-right: 1px solid var(--hairline);
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; padding-left: 24px; }
.searchbox { position: relative; width: 210px; }
.searchbox input { padding: 8px 12px 8px 32px; font-size: 13px; border: 0; border-bottom: 1px solid var(--hairline); background: transparent; }
.searchbox input:focus { border-bottom-color: var(--ink); }
.searchbox .icon { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.theme-toggle:hover { color: var(--ink); }
.theme-toggle .sw { width: 28px; height: 15px; border: 1px solid var(--hairline-strong); position: relative; }
.theme-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; background: var(--muted); transition: transform 0.2s ease; }
html[data-theme="light"] .theme-toggle .sw::after { transform: translateX(13px); background: var(--ink); }
.creator-cta {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--volt); color: var(--volt-ink); font-weight: 600;
  padding: 9px 16px; clip-path: var(--notch);
}
.creator-cta:hover { opacity: 0.88; color: var(--volt-ink); }
.menu-btn { display: none; margin-left: auto; color: var(--muted); font-size: 22px; padding: 0 4px; }
.nav .msearch { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--volt); color: var(--volt-ink);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 14px 26px;
  clip-path: var(--notch);
  transition: opacity 0.18s ease;
}
.btn:hover { opacity: 0.86; color: var(--volt-ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-strong); clip-path: none; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); opacity: 1; color: var(--ink); }
.btn.inverse { background: var(--btn-bg); color: var(--btn-ink); clip-path: var(--notch); }
.btn.inverse:hover { color: var(--btn-ink); }
.btn.sm { padding: 9px 16px; font-size: 10.5px; }

/* ---------- Meta atoms ---------- */
.tier { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.tier i { width: 6px; height: 6px; background: var(--cold); }
.tier.hot i { background: var(--hot); }
.tier.warm i { background: var(--warm); }
.likepct { font-size: 12.5px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hairline); padding: 7px 15px; transition: all 0.15s ease; }
a.chip:hover { color: var(--ink); border-color: var(--hairline-strong); }
.chip.on { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

/* ---------- Hero (Saronic / Overland) ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; background: #08090a; overflow: hidden; }
.hero .media { position: absolute; inset: 0; }
.hero .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,10,0.25) 0%, rgba(8,9,10,0.05) 40%, rgba(8,9,10,0.9) 100%); }
.hero .content { position: relative; z-index: 2; width: 100%; padding: 80px 0 72px; color: #f0f1f2; }
.hero .label { color: rgba(240, 241, 242, 0.62); }
.hero h1 { font-family: var(--disp); font-size: clamp(38px, 5.4vw, 76px); line-height: 1.0; font-weight: 640; letter-spacing: -0.02em; margin: 18px 0 16px; max-width: 20ch; }
.hero .sub { font-size: 17px; color: rgba(240, 241, 242, 0.75); max-width: 56ch; margin-bottom: 16px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: rgba(240, 241, 242, 0.6); margin-bottom: 30px; }
.hero .meta b { color: rgba(240, 241, 242, 0.92); font-weight: 550; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn.ghost { color: #f0f1f2; box-shadow: inset 0 0 0 1px rgba(240, 241, 242, 0.4); }
.hero .btn.ghost:hover { box-shadow: inset 0 0 0 1px #f0f1f2; color: #f0f1f2; }
/* corner-bracket callouts (Overland) */
.callout {
  position: absolute; z-index: 2; max-width: 240px;
  font-size: 13px; line-height: 1.55; color: rgba(240, 241, 242, 0.7);
  padding: 14px 18px;
}
.callout::before, .callout::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid rgba(240, 241, 242, 0.5); }
.callout.tr { top: 100px; right: 40px; text-align: right; }
.callout.tr::before { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.callout.tr::after { display: none; }
.callout.br { bottom: 220px; right: 40px; text-align: right; }
.callout.br::before { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.callout.br::after { display: none; }
.hero .scrollhint { position: absolute; right: 40px; bottom: 34px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: rgba(240, 241, 242, 0.5); }

/* ---------- Numbered index rows (9M / Saronic) ---------- */
.section { padding: 110px 0 0; }
.sec-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 40px; }
.sec-head .label { min-width: 90px; }
.sec-head h2 { font-family: var(--disp); font-size: clamp(26px, 3vw, 40px); font-weight: 630; letter-spacing: -0.02em; }
.sec-head .viewall { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sec-head .viewall:hover { color: var(--ink); }
.idx-rows { border-top: 1px solid var(--hairline-strong); }
.idx-row {
  display: grid; grid-template-columns: 70px 280px 1fr 120px 40px;
  gap: 26px; align-items: center; padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.2s ease, background 0.2s ease;
}
.idx-row:hover { background: var(--surface); padding-left: 16px; }
.idx-row .n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.idx-row h3 { font-family: var(--disp); font-size: 23px; font-weight: 620; letter-spacing: -0.012em; }
.idx-row p { font-size: 14px; color: var(--muted); max-width: 60ch; }
.idx-row .cnt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--faint); text-align: right; }
.idx-row .arr { color: var(--faint); transition: transform 0.2s ease, color 0.2s ease; font-size: 18px; }
.idx-row:hover .arr { transform: translateX(6px); color: var(--ink); }

/* ---------- Anduril mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(210px, 24vw, 330px); gap: 14px; }
.tile { position: relative; overflow: hidden; background: var(--surface); grid-column: span 2; }
.tile.wide { grid-column: span 4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; position: absolute; inset: 0; }
.tile:hover img { transform: scale(1.025); }
.tile .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 10, 0.72) 100%); }
.tile .name {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  color: #f4f5f6; font-family: var(--disp); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25;
}
.tile .sub { position: absolute; left: 18px; bottom: 16px; z-index: 2; transform: translateY(26px); opacity: 0; transition: all 0.25s ease; font-size: 12.5px; color: rgba(244, 245, 246, 0.75); }
.tile:hover .name { transform: translateY(-20px); transition: transform 0.25s ease; }
.tile:hover .sub { transform: none; opacity: 1; }
.tile .dur { position: absolute; right: 12px; top: 12px; z-index: 2; font-family: var(--mono); font-size: 10.5px; color: rgba(244, 245, 246, 0.9); background: rgba(8, 9, 10, 0.62); padding: 3px 8px; }
.tile .tdot { position: absolute; left: 18px; top: 16px; z-index: 2; width: 7px; height: 7px; }
.tile .tdot.hot { background: var(--hot); }
.tile .tdot.warm { background: var(--warm); }
.tile .tdot.cold { background: rgba(244, 245, 246, 0.4); }
.tile img.vbg { filter: blur(18px) brightness(0.55); transform: scale(1.3); }
.tile img.vfg { width: auto; max-width: none; left: 50%; transform: translateX(-50%); object-fit: contain; height: 100%; right: auto; }
.tile:hover img.vfg { transform: translateX(-50%); }
.tile:hover img.vbg { transform: scale(1.3); }

/* ---------- Caption-below grid (Anduril secondary) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)); gap: 46px 26px; }
.card { display: flex; flex-direction: column; gap: 13px; }
.card .thumb { position: relative; aspect-ratio: 16/9.4; overflow: hidden; background: var(--surface); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .thumb img { transform: scale(1.02); }
.card .dur { position: absolute; right: 0; bottom: 0; font-family: var(--mono); font-size: 10.5px; color: #f4f5f6; background: rgba(8, 9, 10, 0.72); padding: 3px 9px; }
.card h3 { font-family: var(--disp); font-size: 16.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a:hover { opacity: 0.7; }
.card .meta { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.card .foot { display: flex; gap: 16px; align-items: center; }
.thumb img.vbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(0.58); transform: scale(1.25); }
.thumb img.vfg { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; }
.card:hover .thumb img.vfg { transform: translateX(-50%); }
.card:hover .thumb img.vbg { transform: scale(1.25); }
.fmt { position: absolute; left: 0; bottom: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: #f4f5f6; background: rgba(8, 9, 10, 0.72); padding: 3px 8px; z-index: 2; }

/* ---------- Dual CTA band (Palantir) ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 120px; }
.cta-band a {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(40px, 6.4vw, 80px) clamp(28px, 4.4vw, 64px);
  background: var(--surface);
  font-family: var(--disp); font-size: clamp(26px, 3.6vw, 48px); font-weight: 630; letter-spacing: -0.022em;
  transition: opacity 0.18s ease;
}
.cta-band a:hover { opacity: 0.88; color: inherit; }
.cta-band a .arr { font-size: 0.75em; transition: transform 0.2s ease; }
.cta-band a:hover .arr { transform: translateX(10px); }
.cta-band a.invert { background: var(--btn-bg); color: var(--btn-ink); }

/* ---------- Page head ---------- */
.pagehead { padding: 88px 0 42px; border-bottom: 1px solid var(--hairline-strong); margin-bottom: 54px; }
.pagehead h1 { font-family: var(--disp); font-size: clamp(36px, 5.4vw, 68px); font-weight: 640; letter-spacing: -0.025em; line-height: 0.99; margin-top: 18px; }
.pagehead .blurb { color: var(--muted); max-width: 62ch; margin-top: 18px; font-size: 17px; }
.pagehead .tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 36px; }
.pagehead .tools .spacer { flex: 1; }
.pagehead select { width: auto; padding: 9px 36px 9px 14px; font-size: 12.5px; font-family: var(--mono); }

/* ---------- Watch page — spec-sheet treatment ---------- */
.watch { padding: 48px 0 20px; }
.player-shell { position: relative; aspect-ratio: 16/9; background: #060708; overflow: hidden; max-width: 1180px; margin: 0 auto; }
.player-shell iframe, .player-shell video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-shell.vert { aspect-ratio: 9/16; max-width: min(400px, 92vw); max-height: 76vh; }
.player-cover { position: absolute; inset: 0; cursor: pointer; }
.player-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-cover .playbtn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  background: var(--volt); display: grid; place-items: center;
  clip-path: var(--notch);
  transition: transform 0.18s ease;
}
html[data-theme="light"] .player-cover .playbtn { background: #d6f21c; }
.player-cover:hover .playbtn { transform: translate(-50%, -50%) scale(1.05); }
.player-cover .privacy { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em; color: rgba(240, 241, 242, 0.75); background: linear-gradient(0deg, rgba(6, 7, 8, 0.85), transparent); }
.src-tabs { display: flex; gap: 0; max-width: 1180px; margin: 0 auto; border-bottom: 1px solid var(--hairline); }
.src-tabs button { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 14px 22px 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.src-tabs button:hover { color: var(--ink); }
.src-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.watch-cols { display: grid; grid-template-columns: 1fr 380px; gap: 70px; max-width: 1180px; margin: 40px auto 0; }
.watch h1 { font-family: var(--disp); font-size: clamp(26px, 3.2vw, 42px); font-weight: 640; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 12px; }
.vmeta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); align-items: center; }
.vmeta b { color: var(--ink); font-weight: 550; }
.vactions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 24px 0 8px; padding: 18px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.vote { display: flex; gap: 10px; }
.vote button { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hairline); padding: 9px 16px; }
.vote button:hover { color: var(--ink); border-color: var(--ink); }
.vote button.sel { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.claim-link { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--hairline-strong); padding-bottom: 2px; }
.claim-link:hover { border-color: var(--ink); }
.block { padding: 30px 0; border-bottom: 1px solid var(--hairline); }
.block:last-child { border-bottom: 0; }
.block > .label { display: block; margin-bottom: 20px; }
.keypoints { list-style: none; display: grid; gap: 15px; counter-reset: kp; }
.keypoints li { display: grid; grid-template-columns: 44px 1fr; font-size: 15.5px; line-height: 1.58; }
.keypoints li::before { content: counter(kp, decimal-leading-zero); counter-increment: kp; font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 3px; }
.desc { color: var(--muted); font-size: 15.5px; max-width: 64ch; }
details.transcript summary { cursor: pointer; font-size: 14px; color: var(--muted); }
details.transcript summary:hover { color: var(--ink); }
details.transcript p { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.8; max-width: 64ch; }
/* technical readout (Saronic / 9M) */
.readout { border: 1px solid var(--hairline-strong); }
.readout .rd-head { padding: 16px 20px; border-bottom: 1px solid var(--hairline-strong); }
.readout .rd-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.readout .rd-row:last-child { border-bottom: 0; }
.readout .rd-row .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.readout .rd-row .v { text-align: right; font-weight: 500; }
.sidebox { display: flex; flex-direction: column; gap: 34px; }
.mini { display: grid; grid-template-columns: 124px 1fr; gap: 14px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--hairline); }
.mini:last-child { border-bottom: 0; }
.mini:hover h4 { opacity: 0.7; }
.mini .thumb { position: relative; aspect-ratio: 16/9.4; overflow: hidden; background: var(--surface); }
.mini .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini h4 { font-family: var(--disp); font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.mini .meta { font-size: 12.5px; color: var(--muted); margin-top: 5px; display: flex; gap: 10px; align-items: center; }

/* ---------- Creators / About ---------- */
.manifesto { padding: 130px 0 36px; max-width: 940px; }
.manifesto h1 { font-family: var(--disp); font-size: clamp(42px, 6.4vw, 88px); line-height: 0.96; font-weight: 650; letter-spacing: -0.03em; margin-top: 22px; }
.manifesto .lede { font-size: 19px; color: var(--muted); margin-top: 30px; line-height: 1.6; max-width: 58ch; }
.prose { max-width: 700px; color: var(--muted); font-size: 16.5px; }
.prose p { margin: 18px 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2 { color: var(--ink); font-family: var(--disp); font-size: 26px; font-weight: 630; letter-spacing: -0.018em; margin: 62px 0 8px; }
.optrows { margin: 54px 0; border-top: 1px solid var(--hairline-strong); max-width: 940px; }
.optrow { display: grid; grid-template-columns: 90px 250px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.optrow .num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.optrow h3 { font-family: var(--disp); font-size: 23px; font-weight: 620; letter-spacing: -0.014em; }
.optrow p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.formcard { max-width: 660px; margin: 26px 0 100px; padding-top: 46px; border-top: 1px solid var(--hairline-strong); }
.formcard h2 { font-family: var(--disp); font-size: 28px; font-weight: 640; letter-spacing: -0.02em; margin-bottom: 8px; }
.formcard .note { font-size: 14px; color: var(--muted); margin-bottom: 30px; max-width: 56ch; }
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.formrow.single { grid-template-columns: 1fr; }
label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-ok { display: none; border-left: 2px solid var(--good); padding: 14px 18px; font-size: 14.5px; margin-top: 18px; background: var(--surface); }
.stdlist { margin: 40px 0; border-top: 1px solid var(--hairline-strong); max-width: 860px; }
.stditem { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--hairline); }
.stditem .n { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 4px; }
.stditem h3 { font-family: var(--disp); font-size: 18.5px; font-weight: 620; margin-bottom: 7px; letter-spacing: -0.01em; }
.stditem p { font-size: 15px; color: var(--muted); }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 60px; padding: 48px 0 90px; }
.admin-side { border-right: 1px solid var(--hairline); }
.admin-side .label { display: block; margin: 28px 0 12px; }
.admin-side .label:first-child { margin-top: 6px; }
.admin-side button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.admin-side button:hover { color: var(--ink); }
.admin-side button.on { color: var(--ink); box-shadow: inset 2px 0 0 var(--volt); padding-left: 14px; }
html[data-theme="light"] .admin-side button.on { box-shadow: inset 2px 0 0 var(--ink); }
.admin-side .cnt { margin-left: auto; margin-right: 16px; font-size: 10.5px; color: var(--warm); }
.admin-main { min-width: 0; }
.admin-main h1 { font-family: var(--disp); font-size: clamp(28px, 3.4vw, 44px); font-weight: 640; letter-spacing: -0.022em; }
.admin-main .sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 64ch; }
.admin-note { margin: 26px 0; padding: 13px 0 13px 18px; border-left: 2px solid var(--warm); color: var(--muted); font-size: 13.5px; }
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 38px 0 14px; border-top: 1px solid var(--hairline-strong); }
.stat { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--hairline); }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--hairline); }
.stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.stat .v { font-family: var(--disp); font-size: 38px; font-weight: 620; letter-spacing: -0.025em; margin-top: 8px; line-height: 1; }
.stat .d { font-size: 12.5px; margin-top: 7px; color: var(--muted); }
.stat .d.up { color: var(--good); }
.stat .d.down { color: var(--hot); }
.adminrow { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; margin: 34px 0; }
canvas.spark { width: 100%; height: 128px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hairline-strong); }
.table td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.pill { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--hairline-strong); color: var(--muted); }
.pill.ok { color: var(--good); border-color: var(--good); }
.pill.warn { color: var(--warm); border-color: var(--warm); }
.pill.bad { color: var(--hot); border-color: var(--hot); }
.bars { display: grid; gap: 13px; }
.bars .row { display: grid; grid-template-columns: 124px 1fr 36px; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.bars .track2 { height: 4px; background: var(--hairline); overflow: hidden; }
.bars .fill { height: 100%; background: var(--volt); }
html[data-theme="light"] .bars .fill { background: var(--ink); }
.pipe { display: grid; margin-top: 22px; border-top: 1px solid var(--hairline); }
.pipe .step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.pipe .num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.pipe .step.active .num, .pipe .step.active h4 { color: var(--ink); }
.pipe .step.active { box-shadow: inset 2px 0 0 var(--volt); padding-left: 14px; }
html[data-theme="light"] .pipe .step.active { box-shadow: inset 2px 0 0 var(--ink); }
.pipe .step.done .num { color: var(--good); }
.pipe h4 { font-size: 15px; font-weight: 570; display: inline; }
.pipe p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.claude-preview { display: none; margin-top: 24px; border-left: 2px solid var(--volt); padding: 6px 0 6px 20px; }
html[data-theme="light"] .claude-preview { border-color: var(--ink); }
.claude-preview .t { font-family: var(--disp); font-weight: 630; font-size: 17px; }
.claude-preview .d { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.statline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.statline .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* ---------- Footer ---------- */
footer { margin-top: 130px; border-top: 1px solid var(--hairline-strong); }
.foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 66px 0 50px; }
.foot-inner p { font-size: 13.5px; color: var(--muted); max-width: 32ch; margin-top: 14px; }
.foot-inner h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-weight: 500; }
.foot-inner ul { list-style: none; display: grid; gap: 10px; }
.foot-inner ul a { font-size: 14px; color: var(--muted); }
.foot-inner ul a:hover { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--hairline); padding: 22px 0 34px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .callout { display: none; }
  .idx-row { grid-template-columns: 50px 1fr 40px; }
  .idx-row p, .idx-row .cnt { display: none; }
  .mosaic { grid-auto-rows: clamp(180px, 30vw, 280px); }
  .tile, .tile.wide { grid-column: span 3; }
  .watch-cols { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; gap: 22px; }
  .admin-side { display: flex; gap: 24px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--hairline); padding-bottom: 14px; }
  .admin-side .label { display: none; }
  .admin-side button { width: auto; white-space: nowrap; }
  .admin-side button.on { box-shadow: inset 0 -2px 0 var(--volt); padding-left: 0; }
  .statrow { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .adminrow { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { grid-template-columns: 1fr; }
  .optrow { grid-template-columns: 60px 1fr; }
  .optrow p { grid-column: 2; }
}
@media (max-width: 720px) {
  .nav, .searchbox, .seg .creator-cta { display: none; }
  .menu-btn { display: block; }
  .theme-toggle .tt-text { display: none; }
  .seg { padding: 0 16px; border-right: 0; }
  body.navopen .nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--bg);
    border-bottom: 1px solid var(--hairline); padding: 10px 24px 20px;
  }
  body.navopen .nav a { border-right: 0; padding: 12px 0; font-size: 13px; }
  body.navopen .nav .msearch { display: block; margin-top: 12px; }
  .formrow { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(170px, 44vw, 240px); }
  .tile, .tile.wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .topbar-inner { height: 60px; }
  body.navopen .nav { top: 60px; }
  .hero { min-height: 80vh; }
  .hero .content { padding: 44px 0 44px; }
  .hero .scrollhint { display: none; }
  .section { padding: 68px 0 0; }
  .sec-head { flex-wrap: wrap; gap: 10px; }
  .sec-head .label { min-width: 0; }
  .grid { grid-template-columns: 1fr; gap: 38px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: clamp(190px, 56vw, 260px); }
  .tile, .tile.wide { grid-column: span 1; }
  .pagehead { padding: 50px 0 30px; }
  .manifesto { padding: 72px 0 24px; }
  .claim-link { margin-left: 0; width: 100%; }
  .statrow { grid-template-columns: 1fr 1fr; }
  .stat .v { font-size: 28px; }
  .foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .player-shell.vert { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* production additions */
.tags-line { border-top: 1px solid var(--hairline); margin-top: 26px; padding-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.tags-line b { color: var(--ink); font-weight: 600; }
h2.label { font-size: inherit; font-weight: inherit; margin: 0 0 10px; display: block; }
