/* Tencer Industries materiel system: gunmetal, olive drab, sand. Safety yellow is reserved for status/hazard. */
:root {
  --bg: #1c201a;
  --bg-2: #232820;
  --bg-3: #2c3228;
  --od: #434a22;
  --od-2: #353b1b;
  --od-3: #2a2f16;
  --sand: #c8b78c;
  --sand-2: #a99a6f;
  --sand-ink: #1b1d15;
  --text: #e1e4dc;
  --text-2: #a4ab9c;
  --text-3: #a0a798;
  --line: rgba(225, 228, 220, 0.13);
  --line-2: rgba(225, 228, 220, 0.24);
  --hazard: #f4c300;
  --ok: #9ec27a;
  --max: 1360px;
  --gut: clamp(16px, 4vw, 56px);
  --display: "Saira Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --stencil: "Saira Stencil One", "Saira Condensed", Impact, sans-serif;
  --body: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17.5px; line-height: 1.62; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--sand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sand); }
::selection { background: var(--sand); color: var(--sand-ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sand); color: var(--sand-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
p { margin: 0 0 1em; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 0.98; letter-spacing: 0.005em; text-transform: uppercase; }
.display { font-size: clamp(60px, 10.5vw, 176px); font-weight: 800; line-height: 0.86; letter-spacing: -0.005em; }
.h1 { font-size: clamp(44px, 6.6vw, 104px); font-weight: 800; line-height: 0.9; }
.h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 750; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 650; line-height: 1.05; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 50ch; }
.muted { color: var(--text-2); }
.code { font-family: var(--stencil); letter-spacing: 0.04em; color: var(--sand); text-transform: uppercase; }
.code-tag { display: inline-block; font-family: var(--stencil); font-size: 15px; letter-spacing: .08em; color: var(--sand); text-transform: uppercase; margin: 0; }
.label { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; background: var(--hazard); border-radius: 50%; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Header: status strip + equipment bar */
.strip { background: var(--od-3); border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.strip .wrap { display: flex; justify-content: space-between; gap: 16px; height: 32px; align-items: center; }
.strip .r { display: flex; gap: 22px; }
@media (max-width: 760px) { .strip .r { display: none; } }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(28, 32, 26, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: stretch; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo .ti { font-family: var(--stencil); font-size: 18px; background: var(--sand); color: var(--sand-ink); padding: 3px 7px 1px; letter-spacing: .04em; }
.logo .wm { font-family: var(--stencil); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.logo:hover { color: var(--text); }
.nav { display: flex; align-items: stretch; }
.nav a { display: flex; align-items: center; padding: 0 18px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); border-left: 1px solid var(--line); transition: background .2s, color .2s; }
.nav a:last-child { border-right: 1px solid var(--line); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sand); }
.hdr-cta { align-self: center; }
.btn { display: inline-flex; align-items: center; gap: 12px; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; padding: 15px 26px; background: var(--sand); color: var(--sand-ink); text-decoration: none; cursor: pointer; border: 0; clip-path: var(--chamfer); transition: background .2s, transform .2s; }
.btn:hover { background: #ddcc9f; color: var(--sand-ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); clip-path: none; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sand); color: var(--sand); }
.btn.sm { padding: 11px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.menu { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: flex; align-items: center; }
  .menu summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: flex; }
  .menu-panel { display: none; position: fixed; inset: 100px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px var(--gut) 24px; }
  .menu-panel a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .menu-panel .btn { margin-top: 16px; }
  .hdr .hdr-cta { display: none; }
}
@media (max-width: 420px) { .logo .wm { font-size: 18px; } }

/* Blueprint ground */
.blueprint { background-color: var(--bg); background-image: linear-gradient(rgba(200,183,140,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(200,183,140,.07) 1px, transparent 1px), linear-gradient(rgba(200,183,140,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(200,183,140,.035) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.gridlines { background-image: linear-gradient(rgba(200,183,140,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(200,183,140,.05) 1px, transparent 1px); background-size: 96px 96px; }

/* Scenes & bands */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 160px) 0; }
.sec.tight { padding: clamp(48px, 6vw, 90px) 0; }
.paper { background: var(--od-2); color: var(--text); }
.paper .muted, .paper .lede { color: #c4c8b4; }
.ink2 { background: var(--bg-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.c-12 { grid-column: span 12; } .c-8 { grid-column: span 8; } .c-7 { grid-column: span 7; } .c-6 { grid-column: span 6; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; }
@media (max-width: 900px) { .grid > * { grid-column: 1 / -1 !important; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .num { display: none; }
.sec-head p { margin: 0; font-size: 18px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

.scene { min-height: min(calc(100svh - 100px), 1000px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 40px 0 0; }
.hero { padding: clamp(56px, 7vw, 100px) 0 0; overflow: hidden; }
.hero-body { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: end; margin-top: 28px; }
.hero-body .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-body { grid-template-columns: 1fr; } }
.hero-visual { margin-top: clamp(32px, 5vw, 64px); position: relative; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 700px) { .hero-visual { overflow: hidden; } .hero-visual svg { width: 190%; max-width: none; margin-left: -64%; } }

.launch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; flex: 1; }
.launch .copy { padding-bottom: 48px; }
.launch .art svg { width: 100%; height: auto; }
.launch h1 { margin-top: 18px; }
.launch .lede { margin-top: 24px; }
.launch .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 960px) { .launch { grid-template-columns: 1fr; } .launch .art { order: -1; margin: 0 -8%; } .launch .copy { padding-bottom: 32px; } }

/* Data plate */
.plate { position: relative; background: var(--sand); color: var(--sand-ink); padding: 22px 26px 20px; clip-path: var(--chamfer); }
.plate::before, .plate::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #efe4c4, #7c704e); top: 10px; }
.plate::before { left: 10px; } .plate::after { right: 22px; }
.plate h4, .plate .ph { font-family: var(--stencil); font-size: 18px; letter-spacing: .06em; margin: 0 0 12px; text-transform: uppercase; font-weight: 400; padding-left: 14px; }
.plate dl { display: grid; grid-template-columns: auto minmax(0,1fr) auto minmax(0,1fr); gap: 6px 18px; margin: 0; align-items: baseline; }
@media (max-width: 700px) { .plate dl { grid-template-columns: auto minmax(0,1fr); } }
.plate dt { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #45412d; }
.plate dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; }

/* Stats readout */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; background: var(--bg-2); }
.stats > div { padding: 28px 26px; border-left: 4px solid var(--od); }
.stats b { display: block; font-family: var(--display); font-size: clamp(40px, 4.6vw, 68px); font-weight: 800; line-height: .95; }
.stats span { display: block; margin-top: 8px; font-family: var(--display); font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.paper .stats { background: var(--od-3); }
.paper .stats > div { border-left-color: var(--sand-2); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Product rows (replaces the old index list) */
.index { display: grid; gap: 4px; }
.index a { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.3fr) 48px; gap: 28px; align-items: center; padding: 26px 28px; background: var(--bg-2); text-decoration: none; transition: background .2s; }
.index a:hover { background: var(--bg-3); color: var(--text); }
.index .code { font-size: 17px; }
.index .name { font-family: var(--display); font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; text-transform: uppercase; line-height: 1; }
.index .desc { color: var(--text-2); font-size: 16.5px; }
.index .go { font-family: var(--display); font-size: 28px; color: var(--sand); transition: transform .2s; }
.index a:hover .go { transform: translateX(5px); }
.paper .index a { background: var(--od-3); }
.paper .index a:hover { background: var(--od); }
@media (max-width: 900px) { .index a { grid-template-columns: 1fr 32px; gap: 6px 16px; padding: 22px 18px; } .index .code, .index .name, .index .desc { grid-column: 1; } .index .go { grid-column: 2; grid-row: 1 / span 3; } }

.products { display: grid; gap: clamp(64px, 9vw, 130px); }
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.product:nth-child(even) .pa { order: 2; }
.product .pa { background: var(--bg-2); padding: clamp(16px, 3vw, 40px); }
.product .pa svg { width: 100%; height: auto; }
.product h3 { font-size: clamp(48px, 6vw, 92px); font-weight: 800; line-height: .9; margin: 10px 0 18px; }
.product p { color: var(--text-2); max-width: 46ch; }
.product .more { display: inline-flex; gap: 10px; margin-top: 12px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--sand); font-size: 15px; }
.product .more:hover { color: var(--text); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product:nth-child(even) .pa { order: 0; } }

/* Feature rows: capability list with bar markers */
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.row { background: var(--bg-2); padding: 30px 30px 32px; display: grid; gap: 10px; align-content: start; border-top: 3px solid var(--od); }
.paper .row { background: var(--od-3); border-top-color: var(--sand-2); }
.row .k { font-family: var(--stencil); font-size: 15px; letter-spacing: .08em; color: var(--sand); }
.row h3 { font-size: clamp(24px, 2.2vw, 32px); }
.row p { margin: 0; color: var(--text-2); }
.paper .row p { color: #c4c8b4; }
@media (max-width: 800px) { .rows { grid-template-columns: 1fr; } }

/* Spec sheet as a data plate */
.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--sand); color: var(--sand-ink); padding: 26px 30px; clip-path: var(--chamfer); gap: 0 40px; }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(27, 29, 21, .2); }
.spec dt { font-family: var(--display); font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #45412d; }
.spec dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; text-align: right; }
@media (max-width: 700px) { .spec { grid-template-columns: 1fr; padding: 20px; } }

/* Mission cycle: altitude-profile timeline */
.cycle { list-style: none; margin: 0; padding: 70px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.cycle::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 3px; background: var(--od); }
.cycle li { position: relative; padding: 0 22px 0 0; }
.cycle li::before { content: ""; position: absolute; top: -42px; left: 0; width: 14px; height: 14px; background: var(--sand); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.cycle .t { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cycle h3 { margin: 8px 0 10px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; }
.cycle p { font-size: 15.5px; color: var(--text-2); margin: 0; }
@media (max-width: 1000px) { .cycle { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-top: 0; } .cycle::before { display: none; } .cycle li { padding: 18px 0 0; border-top: 3px solid var(--od); } .cycle li::before { top: -9px; } }
@media (max-width: 520px) { .cycle { grid-template-columns: 1fr; } }

/* Console mockup */
.panel { background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--od-3); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--text-2); text-transform: uppercase; }
.panel-h .dots { display: flex; gap: 6px; } .panel-h .dots i { width: 10px; height: 4px; background: var(--text-3); display: block; }
.console { display: grid; grid-template-columns: 1.6fr 1fr; min-height: 440px; }
.console .map { position: relative; overflow: hidden; }
.console .map svg { width: 100%; height: 100%; }
.console .log { font-family: var(--display); font-size: 14px; letter-spacing: .02em; padding: 16px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); }
.log .ev { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); color: var(--text-2); }
.log .ev b { color: var(--text); font-weight: 600; }
.log .ev .hot b { color: var(--hazard); }
.log .req { box-shadow: inset 0 0 0 2px var(--hazard); padding: 14px; color: var(--text); }
.log .req .kicker { color: var(--hazard); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.log .req .row2 { display: flex; gap: 8px; margin-top: 12px; }
.log .req .row2 span { flex: 1; text-align: center; padding: 7px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.log .req .row2 span:first-child { background: var(--sand); color: var(--sand-ink); box-shadow: none; }
@media (max-width: 820px) { .console { grid-template-columns: 1fr; } .console .map { aspect-ratio: 4/3; } .console .log { border-left: 0; border-top: 1px solid var(--line); } }

/* Industries as full-width bands */
.segs { display: grid; gap: 4px; }
.segs a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 32px; align-items: center; padding: 34px 32px; background: var(--od-3); text-decoration: none; transition: background .25s; }
.segs a:hover { background: var(--od); color: var(--text); }
.segs h3 { font-size: clamp(32px, 3.6vw, 56px); font-weight: 800; }
.segs p { margin: 0; color: #c4c8b4; }
.segs .more { font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--sand); white-space: nowrap; }
@media (max-width: 860px) { .segs a { grid-template-columns: 1fr; gap: 10px; padding: 26px 20px; } }

.quote { font-family: var(--display); font-size: clamp(30px, 3.6vw, 54px); line-height: 1.05; font-weight: 600; text-transform: none; letter-spacing: 0; max-width: 24ch; margin: 0; }
.quote-by { margin-top: 22px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
.plan { padding: 34px 30px 36px; background: var(--bg-2); display: flex; flex-direction: column; gap: 16px; }
.plan.feat { background: var(--od-2); box-shadow: inset 0 4px 0 var(--sand); }
.plan .tier { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.plan .price { font-family: var(--display); font-size: 58px; font-weight: 800; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--text-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; flex: 1; }
.plan li { padding-left: 22px; position: relative; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--sand-2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Tables */
.tbl-wrap { overflow-x: auto; background: var(--bg-2); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 620px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--od-3); font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
td.y { color: var(--ok); } td.n { color: var(--text-3); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq details { background: var(--bg-2); margin-bottom: 4px; }
.paper .faq details { background: var(--od-3); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; font-family: var(--display); font-size: 21px; font-weight: 650; position: relative; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 12px; height: 12px; border-right: 2px solid var(--sand); border-bottom: 2px solid var(--sand); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
.faq .a { padding: 0 22px 22px; max-width: 76ch; color: var(--text-2); }
.faq .a p { margin: 0; }

/* CTA */
.cta { background: var(--od); padding: clamp(70px, 9vw, 130px) 0; }
.cta .grid { align-items: end; }
.cta h2 { font-size: clamp(40px, 5.4vw, 84px); font-weight: 800; line-height: .9; }
.cta .muted { color: #d2d5c3; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn.ghost { box-shadow: inset 0 0 0 1.5px rgba(225,228,220,.4); }

/* Crumbs, article */
.crumbs { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs span[aria-hidden] { opacity: .5; }
.article { display: grid; grid-template-columns: 250px minmax(0, 740px); gap: clamp(32px, 6vw, 96px); }
.toc { position: sticky; top: 120px; align-self: start; font-size: 14.5px; max-height: calc(100vh - 140px); overflow: auto; }
.toc b { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--text-2); display: block; padding-left: 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--text); border-left-color: var(--sand); }
.prose { font-size: 18px; line-height: 1.72; color: #d3d7cd; }
.prose h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 750; margin: 2em 0 .55em; scroll-margin-top: 120px; color: var(--text); }
.prose h3 { font-size: 24px; margin: 1.6em 0 .5em; font-weight: 700; color: var(--text); scroll-margin-top: 120px; }
.prose h2 .anchor, .prose h3 .anchor { text-decoration: none; color: var(--text-3); margin-left: 10px; opacity: 0; font-size: .7em; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .86em; background: var(--bg-3); padding: 2px 5px; }
.prose pre { background: #15180f; padding: 18px 20px; overflow-x: auto; font-size: 14.5px; line-height: 1.55; box-shadow: inset 3px 0 0 var(--od); }
.prose pre code { background: none; padding: 0; }
.prose .callout { background: var(--od-3); padding: 18px 22px; margin: 1.6em 0; font-size: 18px; color: var(--text); box-shadow: inset 4px 0 0 var(--sand); }
.prose .warn { background: var(--bg-3); padding: 16px 20px; margin: 1.6em 0; box-shadow: inset 4px 0 0 var(--hazard); }
.prose .tbl-wrap { margin: 1.6em 0; }
.prose figure { margin: 2em 0; }
.prose figure svg { width: 100%; height: auto; background: var(--bg-2); }
.prose figcaption { font-size: 14.5px; color: var(--text-3); margin-top: 10px; line-height: 1.5; }
.prose .katex-display { overflow-x: auto; overflow-y: hidden; padding: 6px 0; margin: 1.2em 0; }
.prose .katex { font-size: 1.08em; color: var(--text); }
.prose .refs { font-size: 15.5px; } .prose .refs li { margin-bottom: .7em; }
.byline { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: 26px; }
.byline span:first-child { color: var(--sand); }
@media (max-width: 960px) { .article { grid-template-columns: minmax(0, 1fr); } .toc { position: static; max-height: none; background: var(--bg-3); padding: 18px; } }

/* Guides / hub lists */
.guides { display: grid; gap: 4px; }
.guides a { display: grid; grid-template-columns: 180px 1fr 1fr 40px; gap: 28px; padding: 26px 26px; background: var(--bg-2); text-decoration: none; align-items: baseline; }
.paper .guides a { background: var(--od-3); }
.guides a:hover { background: var(--bg-3); color: var(--text); }
.paper .guides a:hover { background: var(--od); }
.guides .tag { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.guides h3 { font-size: 26px; text-transform: none; font-weight: 700; line-height: 1.1; }
.guides p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.guides .go { color: var(--sand); font-family: var(--display); font-size: 24px; }
@media (max-width: 900px) { .guides a { grid-template-columns: 1fr; gap: 8px; } .guides .go { display: none; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); color: var(--text); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 0; transition: box-shadow .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--sand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .02em; margin: 0; }
.form-status.ok { color: var(--ok); } .form-status.err { color: var(--hazard); }
.form.sent .field, .form.sent .form-foot .btn { opacity: .4; pointer-events: none; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.ftr { background: var(--od-3); padding: 72px 0 36px; font-size: 15px; overflow: hidden; }
.ftr .grid { row-gap: 40px; }
.ftr h4 { font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); font-weight: 700; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ftr a { text-decoration: none; color: var(--text-2); }
.ftr a:hover { color: var(--text); }
.ftr .base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.wordmark { font-family: var(--stencil); font-size: clamp(64px, 15vw, 250px); line-height: .8; color: var(--od); margin: 56px 0 0; user-select: none; white-space: nowrap; letter-spacing: .02em; text-transform: uppercase; }

/* Charts */
.chart text { font-family: var(--display); }
.chart .ax { stroke: rgba(225,228,220,.35); }
.chart .gr { stroke: rgba(225,228,220,.08); }
.chart .tl { fill: #a4ab9c; font-size: 13px; letter-spacing: .04em; }
.chart .tt { fill: #e1e4dc; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; } .mb-0 { margin-bottom: 0; } .mb-m { margin-bottom: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.figure { background: var(--bg-2); margin: 0; }
.figure figcaption { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; background: var(--od-3); }
.paper .figure { background: var(--od-3); }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { padding-left: 26px; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; background: var(--sand); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.kicker { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.ticker { font-variant-numeric: tabular-nums; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.logos div { background: var(--bg-2); padding: 24px 20px; font-size: 15px; color: var(--text-2); line-height: 1.4; border-top: 3px solid var(--od); }
.logos div b { display: block; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; line-height: 1.1; }
@media (max-width: 900px) { .logos { grid-template-columns: 1fr 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.related a { background: var(--bg-2); padding: 22px; text-decoration: none; display: grid; gap: 8px; border-top: 3px solid var(--od); }
.related a:hover { background: var(--bg-3); color: var(--text); }
.related .tag { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.related b { font-family: var(--display); font-size: 21px; line-height: 1.12; font-weight: 700; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.term-def { font-size: clamp(21px, 2vw, 26px); line-height: 1.45; color: var(--text); max-width: 60ch; }
.launch .display { font-size: clamp(56px, 7.6vw, 124px); }

.prose, .article > * { min-width: 0; }
.toc .btn { color: var(--sand-ink); border-left: 0; padding: 11px 18px; display: inline-flex; }
.toc .btn:hover { color: var(--sand-ink); }

/* Photography */
picture { display: block; }
picture img { display: block; width: 100%; height: auto; }
.photo-band { position: relative; background: var(--bg-2); }
.photo-band picture img { aspect-ratio: 3 / 2; object-fit: cover; max-height: 86vh; }
.photo-band .cap { position: absolute; left: var(--gut); bottom: 22px; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); background: rgba(28,32,26,.78); padding: 7px 12px; }
.figure picture img { aspect-ratio: 3 / 2; object-fit: cover; }

/* three.js containers */
.gl-box { position: relative; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.gl-box > .gl-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gl-box > .gl-fallback svg, .gl-box > .gl-fallback img { width: 100%; height: 100%; object-fit: contain; }
.gl-box canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.gl-box.gl-on > .gl-fallback { visibility: hidden; }
.gl-ui { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; pointer-events: none; }
.gl-ui > * { pointer-events: auto; }
.gl-ui .label { color: var(--text); background: rgba(28,32,26,.8); padding: 6px 10px; }
.gl-ui .btn.ghost { background: rgba(28,32,26,.8); }
.gl-hint { font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
@media (max-width: 600px) { .gl-box { aspect-ratio: 4 / 5; } }

svg[width] { height: auto; }
.gl-box.big { aspect-ratio: 16 / 8; }
@media (max-width: 600px) { .gl-box.big { aspect-ratio: 4 / 5; } }
