
/* Layout: full-bleed bands (dark hero, light body, dark Hidalgo band) with a 1120px inner column. Yellow = action, black = frame. */
:root {
  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --ink: #0E0E0E;
  --muted: #5C5C57;
  --line: #D9D9D4;
  --yellow: #FFC800;
  --yellow-tint: #FFF4C2;
  --band: #0E0E0E;
  --band-2: #1A1A18;
  --band-ink: #F5F5F2;
  --band-muted: #A3A39C;
  --band-line: #2E2E2B;
  --ok: #1B7F4A;
  --f-display: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-hidalgo: "Source Serif 4", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0E0E; --surface: #171715; --ink: #F5F5F2; --muted: #A3A39C; --line: #2C2C29;
    --yellow-tint: #1C1C1A; --band: #050505; --band-2: #171715; --band-line: #2C2C29; --ok: #4FBF85;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0E0E; --surface: #171715; --ink: #F5F5F2; --muted: #A3A39C; --line: #2C2C29;
  --yellow-tint: #1C1C1A; --band: #050505; --band-2: #171715; --band-line: #2C2C29; --ok: #4FBF85;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); }
.wrap { max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.1; text-wrap: balance; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
.dot { color: var(--yellow); }
.eyebrow { font: 600 12px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 4px;
  font: 700 15px/1 var(--f-display); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--yellow); color: #0E0E0E; }
.btn-primary:hover { background: #FFD84A; }
.btn-ghost { border-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--f-display); letter-spacing: -0.01em; }
.logo small { font-weight: 400; font-size: 20px; }
.logo svg { width: 28px; height: 28px; flex: none; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font: 600 13px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.nav ul a { text-decoration: none; color: var(--band-muted); }
.nav ul a:hover { color: var(--band-ink); }
.nav .btn { height: 38px; padding: 0 14px; font-size: 14px; }
@media (max-width: 860px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { background: var(--band); color: var(--band-ink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-block: 72px 80px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 56px; } }
.hero .eyebrow { color: var(--band-muted); }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.03em; margin-top: 18px; }
.hero .lede { font-size: 19px; color: var(--band-muted); max-width: 52ch; margin-top: 22px; }
.hero .lede strong { color: var(--band-ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Phone mockup */
.phone { width: 100%; max-width: 340px; margin: 0 auto; background: var(--band-2); border: 1px solid var(--band-line); border-radius: 28px; padding: 14px; }
.screen { background: #F5F5F2; color: #0E0E0E; border-radius: 18px; overflow: hidden; font-size: 13px; }
.screen-top { background: #0E0E0E; color: #F5F5F2; padding: 14px 16px 0; }
.tabs { display: flex; gap: 18px; font: 600 12px/1 var(--f-display); margin-top: 14px; }
.tabs span { padding-bottom: 10px; color: #A3A39C; }
.tabs span.on { color: #F5F5F2; border-bottom: 3px solid #FFC800; }
.screen-body { padding: 14px; display: grid; gap: 10px; }
.screen-body h4 { margin: 0; font: 700 15px/1.2 var(--f-display); }
.call { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #FFF; border: 1px solid #D9D9D4; border-radius: 8px; padding: 10px; }
.call .rank { font: 600 12px/1 var(--f-mono); color: #5C5C57; }
.call b { display: block; font-size: 13px; }
.call em { font-style: normal; color: #5C5C57; font-size: 12px; }
.call .go { width: 32px; height: 32px; border-radius: 50%; background: #FFC800; display: grid; place-items: center; }
.call .go svg { width: 16px; height: 16px; }
.disc { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.bubble { background: #0E0E0E; color: #F5F5F2; border-radius: 12px 12px 12px 2px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; }
.example { font: 400 10px/1 var(--f-mono); color: #5C5C57; text-align: center; letter-spacing: .08em; text-transform: uppercase; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 22px 20px 22px 0; display: grid; gap: 4px; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact b { font: 800 22px/1.1 var(--f-display); }
.fact span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Sections */
section.block { padding-block: 88px; }
@media (max-width: 760px) { section.block { padding-block: 60px; } }
.head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.head p { color: var(--muted); font-size: 18px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.product-top { display: flex; align-items: center; gap: 12px; }
.product-top svg { width: 40px; height: 40px; flex: none; }
.product-name { font: 800 22px/1.1 var(--f-display); }
.product-name small { display: block; font: 600 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag { margin-left: auto; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.product .claim { font: 700 17px/1.35 var(--f-display); }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.product li { padding-left: 22px; position: relative; color: var(--muted); font-size: 15px; }
.product li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--ink); }
.product li strong { color: var(--ink); font-weight: 600; }

/* Product map + groups */
.pmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-bottom: 56px; }
@media (max-width: 760px) { .pmap { grid-template-columns: 1fr 1fr; } }
.pmap div { padding: 16px 16px 16px 0; display: grid; gap: 6px; align-content: start; }
.pmap .eyebrow { margin-bottom: 4px; }
.pmap a { font: 700 16px/1.3 var(--f-display); text-decoration: none; }
.pmap a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.group-label { display: flex; align-items: center; gap: 14px; margin: 48px 0 18px; }
.group-label:first-of-type { margin-top: 0; }
.group-label h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.group-label i { flex: 1; height: 1px; background: var(--line); }
.products.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .products.three { grid-template-columns: 1fr; } }

/* Flow (OCR) */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-bottom: 40px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow div { padding: 18px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); }
.flow div:last-child { border-right: 0; background: var(--yellow-tint); }
@media (max-width: 900px) { .flow div { border-bottom: 1px solid var(--line); } }
.flow .n { font: 600 12px/1 var(--f-mono); color: var(--muted); }
.flow b { font: 700 15px/1.25 var(--f-display); }
.flow span { font-size: 13.5px; color: var(--muted); }

/* Routes spotlight */
.spot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; gap: 32px; } }
.gains { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.gains li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.gains b { font: 700 17px/1.3 var(--f-display); }
.gains span { color: var(--muted); font-size: 15px; }
.unique { background: var(--yellow-tint); border-left: 4px solid var(--yellow); border-radius: 8px; padding: 24px; display: grid; gap: 12px; margin-top: 28px; }
.unique p { font-size: 15px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks span { font: 600 13px/1 var(--f-display); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.agent-note { margin-top: 20px; display: grid; gap: 6px; padding-left: 16px; border-left: 3px solid var(--ink); }
.agent-note p { font-size: 15px; color: var(--muted); }
.agent-note p:first-child { color: var(--ink); font: 700 17px/1.35 var(--f-display); }

/* Hidalgo band */
.hidalgo { background: #0A0A0A; color: #F2EFE6; font-family: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif; }
.hidalgo h2 { font-family: var(--f-hidalgo); font-weight: 600; letter-spacing: 0; }
.hidalgo .level, .hidalgo .edition { background: #151513; }
.hidalgo .head p { color: var(--band-muted); }
.hidalgo .eyebrow { color: var(--band-muted); }
.hwordmark { display: flex; align-items: center; gap: .024em; font: 400 48px/1 var(--f-hidalgo); letter-spacing: .0714em; color: #FFC800; margin-bottom: 6px; }
.hwordmark svg { width: .548em; height: 1.619em; margin: 0 .0714em 0 .024em; flex: none; }
.levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--band-line); border-radius: 8px; overflow: hidden; }
@media (max-width: 760px) { .levels { grid-template-columns: 1fr; } }
.level { padding: 18px; display: grid; gap: 8px; align-content: start; background: var(--band-2); border-right: 1px solid var(--band-line); }
.level:last-child { border-right: 0; }
@media (max-width: 760px) { .level { border-right: 0; border-bottom: 1px solid var(--band-line); } .level:last-child { border-bottom: 0; } }
.level .n { font: 600 28px/1 var(--f-mono); color: var(--band-muted); }
.level b { font: 700 15px/1.25 var(--f-display); }
.level span { font-size: 13.5px; color: var(--band-muted); }
.level .bar { height: 4px; border-radius: 2px; background: var(--band-line); }
.level .bar i { display: block; height: 100%; background: #FFC800; border-radius: 2px; }
.hgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
@media (max-width: 860px) { .hgrid { grid-template-columns: 1fr; gap: 24px; } }
.hgrid div { display: grid; gap: 6px; align-content: start; }
.hgrid b { font: 700 17px/1.3 var(--f-display); }
.hgrid p { color: var(--band-muted); font-size: 15px; }
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
@media (max-width: 760px) { .editions { grid-template-columns: 1fr; } }
.edition { border: 1px solid var(--band-line); border-radius: 8px; padding: 24px; display: grid; gap: 8px; }
.edition h3 { font-family: var(--f-hidalgo); font-weight: 600; letter-spacing: .04em; }
.edition .for { font: 600 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #FFC800; }
.edition p { color: var(--band-muted); font-size: 15px; }
.quote-h { margin-top: 48px; font: 600 clamp(20px, 2.6vw, 26px)/1.35 var(--f-hidalgo); max-width: 40ch; }

/* Reference */
.ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .ref { grid-template-columns: 1fr; gap: 32px; } }
.ref-text { display: grid; gap: 16px; }
.ref-text p { color: var(--muted); }
.ref-text ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; font-size: 15px; }
.ref-text li strong { color: var(--ink); font-weight: 600; }
.product li a { color: var(--ink); font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.funnel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: grid; gap: 14px; }
.frow { display: grid; grid-template-columns: 130px minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 14px; }
.frow .track { height: 28px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.frow .fill { height: 100%; background: var(--ink); border-radius: 4px; }
.frow:last-of-type .fill { background: var(--yellow); }
.frow .v { font: 600 15px/1 var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.funnel small { color: var(--muted); font-size: 13px; }

/* Method */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--ink); padding-top: 16px; }
.step .n { font: 600 13px/1 var(--f-mono); color: var(--muted); }
.step p { color: var(--muted); font-size: 15px; }
.principle { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 760px) { .principle { grid-template-columns: 1fr; gap: 12px; padding: 24px; } }
.principle h3 { font-size: 26px; font-weight: 800; }
.principle p { color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.stack span { font: 400 13px/1 var(--f-mono); border: 1px solid var(--line); border-radius: 4px; padding: 7px 10px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 24px; } }
.nw { font-family: Georgia, "Times New Roman", serif; line-height: 1; }
.nw b { display: block; font-size: clamp(40px, 6vw, 60px); font-weight: 700; letter-spacing: -0.01em; }
.nw span { display: block; font-size: clamp(17px, 2.4vw, 24px); margin-top: 8px; letter-spacing: .02em; }
.about-text { display: grid; gap: 14px; color: var(--muted); }
.about-text strong { color: var(--ink); }

/* Services + grant */
.services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }
.services div { display: grid; gap: 6px; align-content: start; }
.services b { font: 700 16px/1.3 var(--f-display); }
.services p { color: var(--muted); font-size: 14.5px; }
.grant { background: var(--band-2); color: var(--band-muted); border-top: 1px solid var(--band-line); font-size: 14px; }
.grant .wrap { display: grid; gap: 8px; padding-block: 24px; }
.grant .eyebrow { color: var(--band-muted); }
.grant strong { color: var(--band-ink); font-weight: 600; }
.grant p { max-width: 110ch; }

/* Contact */
.contact { background: var(--band); color: var(--band-ink); }
.contact .head p { color: var(--band-muted); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .cgrid { grid-template-columns: 1fr; } }
.cgrid dl { margin: 0; display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--band-line); }
.cgrid dt { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.cgrid dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.copy { justify-self: start; margin-top: 4px; font: 600 12px/1 var(--f-mono); background: none; color: var(--band-muted); border: 1px solid var(--band-line); border-radius: 4px; padding: 7px 10px; cursor: pointer; }
.copy:hover { color: var(--band-ink); border-color: var(--band-muted); }
footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 22px; }

.nav3d { color: var(--yellow) !important; font-weight: 800; }
/* Base reset for sub-pages (the main page gets it from the publish skeleton) */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Product page hero */
.phero { background: var(--band); color: var(--band-ink); }
.phero .wrap { padding-block: 64px 72px; display: grid; gap: 18px; }
.phero .wrap.pgrid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.pgrid > div:first-child { display: grid; gap: 18px; }
@media (max-width: 980px) { .phero .wrap.pgrid { grid-template-columns: 1fr; gap: 32px; } }
/* product video: chamfered frame, same muted film filter as the Forward page */
.pvid { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #141412;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px); }
.pvid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.72) brightness(.8) contrast(1.06) sepia(.06); }
.pvid::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.45)), linear-gradient(180deg, rgba(255,255,255,.05), transparent 30%); }
.pvid .grain { position: absolute; inset: -50%; pointer-events: none; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: pgrain 1.2s steps(6) infinite; }
@keyframes pgrain { 0% { transform: translate(0,0) } 33% { transform: translate(-4%,3%) } 66% { transform: translate(3%,-5%) } 100% { transform: translate(0,0) } }
@media (prefers-reduced-motion: reduce) { .pvid .grain { animation: none; } }
/* screenshots: a click on the video opens them one by one in a 4:3 frame, after the last one the video comes back */
.pvid.gallery { aspect-ratio: 4 / 3; cursor: pointer; } .pvid.has-shots { cursor: pointer; }
.pshots { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .35s ease; background: #fff; }
.pvid.gallery .pshots { opacity: 1; pointer-events: auto; } .pvid.gallery .grain { opacity: 0; }
.pshots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pcap { position: absolute; left: 4%; bottom: 6%; max-width: 70%; padding: 12px 18px 14px; background: rgba(11,11,10,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-left: 3px solid var(--yellow); border-radius: 4px 12px 12px 4px; color: var(--band-ink); opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.1,1); }
.pcap.in { opacity: 1; transform: none; }
.pcap span { display: flex; gap: 10px; align-items: center; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); } .pcap span i { width: 18px; height: 3px; background: var(--yellow); }
.pcap b { display: block; font: 800 clamp(15px, 1.7vw, 21px)/1.2 var(--f-display); margin-top: 6px; }
.px { position: absolute; right: 22px; top: 18px; z-index: 4; border: 1px solid rgba(255,255,255,.35); background: rgba(11,11,10,.75); color: var(--band-ink); border-radius: 99px; padding: 6px 12px; font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.px:hover { border-color: var(--yellow); }
.pshint { margin-top: 12px; border: 0; background: none; padding: 0; font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); cursor: pointer; }
.pshint:hover, .pshint:focus-visible { color: var(--yellow); }
.crumb { font: 600 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); }
.crumb a { color: var(--band-muted); text-decoration: none; }
.crumb a:hover { color: var(--band-ink); }
.ptitle { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ptitle svg { width: 56px; height: 56px; flex: none; border-radius: 10px; box-shadow: 0 0 0 1px var(--band-line); }
.ptitle h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.status { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; border: 1px solid var(--band-line); color: var(--band-muted); }
.status.live { border-color: #FFC800; color: #FFC800; }
.pclaim { font: 800 clamp(22px, 3vw, 30px)/1.25 var(--f-display); max-width: 30ch; }
.pclaim .dot { color: var(--yellow); }
.plede { color: var(--band-muted); font-size: 19px; max-width: 60ch; }
.pfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; border-top: 1px solid var(--band-line); padding-top: 18px; max-width: 760px; }
@media (max-width: 600px) { .pfacts { grid-template-columns: 1fr; } }
.pfacts dt { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.pfacts dd { margin: 6px 0 0; font-size: 16px; }

.two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font: 700 17px/1.35 var(--f-display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 20px/1 var(--f-mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* Related + index cards */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.rcard { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.rcard:hover { border-color: var(--ink); }
.rcard .product-top svg { width: 32px; height: 32px; }
.rcard b { font: 800 18px/1.2 var(--f-display); }
.rcard span { color: var(--muted); font-size: 15px; }
.more { font: 700 15px/1 var(--f-display); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; margin-top: 4px; }
.product .desc { color: var(--muted); font-size: 15px; }
.products.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .products.cards3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .products.cards3 { grid-template-columns: 1fr; } }
a.product { text-decoration: none; }
a.product:hover { border-color: var(--ink); }

/* Teasers */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; } }
.teaser p { color: var(--band-muted); max-width: 60ch; margin-top: 12px; }
.hidalgo .btn-ghost { color: #FFC800; }
.behind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .behind { grid-template-columns: 1fr; gap: 24px; } }
.behind p { color: var(--muted); }
.behind p + p { margin-top: 14px; }

/* film layer for HTML pages: the same soft grain and vignette as the 3D pages' post filter */
.film { position: fixed; inset: 0; pointer-events: none; z-index: 9998; }
.film::before { content: ""; position: absolute; inset: -50%; opacity: var(--film-grain, .1); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: film-grain .9s steps(5) infinite; }
.film::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 95% at 50% 50%, transparent 58%, rgba(0,0,0,var(--film-vig, .38))); }
@keyframes film-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .film::before { animation: none; } }
:root { --film-grain: .07; --film-vig: .22; }

.grant .info { background: #FFFFFF; display: inline-block; padding: 6px 10px; border-radius: 4px; margin-top: 6px; }
.grant .info img { height: 48px; width: auto; display: block; }
