/* BRIIQ public website. One stylesheet, no dashboard rules.
   Visual language: a technical drawing sheet. Paper ground, fir ink, hairline
   rules, numbered figures (Abb. 1), a title block (Plankopf) on every page.
   Lime is reserved for actions and decisions; signal red for "your programme". */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f3f4f0;
  --sheet: #fbfbf8;
  --concrete: #e3e6df;
  --fir: #0b2a22;
  --ink: #0b2a22;
  --ink-2: #2c4a40;
  --muted: #53645b;
  --line: #c6ccc3;
  --hair: #dde1da;
  --acid: #d3fa47;
  --patina: #84dcc6;
  --patina-deep: #1d6b58;
  --signal: #c2481f;
  --mineral: #e6efea;
  --sand: #efe9df;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --w: 1240px;
  --pad: clamp(1rem, 4vw, 3rem);
  --sec: clamp(3.5rem, 8vw, 7rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); font-feature-settings: "tnum" 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--display); font-stretch: 112%; font-weight: 720; letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 0.6em; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.3rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); font-stretch: 106%; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; }
.fine { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
small { font-size: 0.8em; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.7rem 1.15rem; border: 1.5px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 600 0.98rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--acid); border-color: var(--ink); }
.btn.primary:hover { background: var(--ink); color: var(--acid); }
.btn.ghost { border-color: currentColor; color: inherit; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 0; }
.go { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.go:hover { border-bottom-color: var(--acid); background: linear-gradient(transparent 60%, var(--acid) 60%); }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* ---------------------------------------------------------------- frame */
.site { min-height: 100vh; }
.site main > section, .site main > article, .sitefoot, .plankopf { padding-left: max(var(--pad), calc((100% - var(--w)) / 2)); padding-right: max(var(--pad), calc((100% - var(--w)) / 2)); }
.site main > section { padding-top: var(--sec); padding-bottom: var(--sec); border-top: 1px solid var(--hair); }
.site main > section:first-child { border-top: 0; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 860px; }

/* ---------------------------------------------------------------- nav */
.sitenav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.25rem; min-height: 64px; padding: 0.55rem max(var(--pad), calc((100% - var(--w)) / 2)); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.sitenav.scrolled { border-bottom-color: var(--line); }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.3rem; text-decoration: none; font-family: var(--display); font-stretch: 125%; font-size: 1.4rem; white-space: nowrap; }
.wordmark b { font-weight: 860; letter-spacing: -0.04em; }
.wordmark span { font-weight: 380; font-stretch: 100%; font-size: 0.8em; }
#sitelinks { display: flex; gap: 1.35rem; margin-left: 1rem; }
#sitelinks a { text-decoration: none; font-weight: 500; font-size: 0.96rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
#sitelinks a:hover, #sitelinks a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 0.9rem; margin-left: auto; }
.nav-tools .lang, .nav-tools .tour-link { font-size: 0.9rem; text-decoration: none; font-weight: 500; }
.nav-tools .lang { font-family: var(--mono); border: 1px solid var(--line); padding: 0.2rem 0.45rem; border-radius: 2px; }
.nav-tools .tour-link:hover, .nav-tools .lang:hover { text-decoration: underline; }
.nav-cta { min-height: 40px; padding: 0.45rem 0.9rem; }
.motion-toggle { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; border-radius: 50%; font-size: 0.62rem; color: var(--ink); cursor: pointer; letter-spacing: -0.1em; }
.motion-toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu { display: none; border: 1px solid var(--ink); background: transparent; padding: 0.45rem 0.8rem; font: 600 0.9rem var(--body); border-radius: 2px; cursor: pointer; color: var(--ink); }
@media (max-width: 1100px) {
  .nav-tools .tour-link { display: none; }
}
@media (max-width: 980px) {
  .menu { display: inline-flex; }
  #sitelinks { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--pad) 1rem; }
  #sitelinks a { padding: 0.8rem 0; border-bottom: 1px solid var(--hair); font-size: 1.05rem; }
  .sitenav.open #sitelinks { display: flex; }
  .nav-tools { gap: 0.55rem; }
}
@media (max-width: 520px) {
  .wordmark { font-size: 1.2rem; }
  .motion-toggle { width: 30px; height: 30px; }
  .nav-cta { padding: 0.4rem 0.65rem; font-size: 0.9rem; }
}

/* ---------------------------------------------------------------- reveal (only with script) */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
html.still [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- figures */
.fig { margin: 0; }
.fig figcaption { display: flex; flex-wrap: wrap; gap: 0.25rem 0.8rem; align-items: baseline; margin-top: 0.85rem; padding-top: 0.6rem; border-top: 1px solid var(--ink); font-size: 0.86rem; color: var(--ink-2); }
.fig-n { font-weight: 500; color: var(--ink); }
.fig-src { margin-left: auto; color: var(--muted); font-size: 0.76rem; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; list-style: none; padding: 0; margin: 0.8rem 0 0; font-size: 0.84rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sheet); }
.key.ok { background: var(--patina); }
.key.chosen { background: var(--acid); border-width: 2.5px; }
.key.base { border-radius: 0; background: var(--signal); border-color: var(--signal); }
.key.line { height: 3px; width: 22px; border: 0; border-radius: 0; }
.key.line.base, .key.bar.b0 { background: var(--signal); }
.key.line.planline, .key.bar.b1 { background: var(--ink); }
.key.bar { border: 0; border-radius: 0; width: 12px; height: 12px; }
.key.seg { border: 0; border-radius: 0; width: 16px; height: 12px; }
.key.seg.capital, .seg.capital { background: var(--ink); }
.key.seg.maintenance, .seg.maintenance { background: var(--patina-deep); }
.key.seg.energy, .seg.energy { background: var(--patina); }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.site main > section.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { max-width: 760px; }
.hero-home { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero-home h1, .hero-photo h1, .hero-mineral h1, .hero-case h1 { font-size: clamp(1.95rem, 1.15rem + 2.5vw, 3.45rem); }
.hero-type .hero-copy { max-width: 980px; }
.hero-type h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 5rem); }
.facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; max-width: 17rem; }
.facts dd { margin: 0; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 500; line-height: 1; }
.facts dt { font-size: 0.88rem; color: var(--ink-2); margin-top: 0.4rem; line-height: 1.4; }
@media (max-width: 900px) {
  .hero-home, .hero-mineral, .hero-photo, .hero-case { grid-template-columns: minmax(0, 1fr) !important; }
}

/* District isometric */
.district svg { width: 100%; height: auto; }
.d-plot { fill: var(--concrete); stroke: var(--line); }
.d-ghost { fill: none; stroke: var(--ink); stroke-width: 0.7; stroke-dasharray: 3 3; opacity: 0.45; }
.d-r { fill: #cdd4cc; stroke: var(--ink); stroke-width: 0.6; }
.d-l { fill: #e9ece6; stroke: var(--ink); stroke-width: 0.6; }
.d-top { fill: var(--sheet); stroke: var(--ink); stroke-width: 0.6; }
.d-glass { fill: var(--ink-2); opacity: 0.55; }
.d-live .d-r, .d-live .d-l { fill: var(--acid); }
.d-time { margin-top: 0.6rem; font-size: 0.8rem; }
.d-track { height: 3px; background: var(--hair); }
.d-track span { display: block; height: 100%; background: var(--ink); }
.d-time p { display: flex; gap: 1rem; margin: 0.45rem 0 0; max-width: none; }
.d-time b { margin-left: auto; font-weight: 500; }

/* photo heroes */
.hero-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.photo { position: relative; overflow: hidden; background: var(--concrete); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-drawing { color: var(--ink-2); }
.drawing { width: 100%; height: 100%; }
.hero-img { aspect-ratio: 4 / 5; max-height: 78vh; }
.hero-working .hero-img { aspect-ratio: 5 / 4; }
@media (max-width: 900px) { .hero-img { aspect-ratio: 16 / 10; max-height: 52vh; } }

.hero-mineral { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--mineral); }
.site main > section.hero-mineral { border-top: 0; }
.curve svg { width: 100%; height: auto; }
.curve .grid, .ageing .grid { stroke: var(--line); stroke-width: 0.6; }
.curve .lbl, .ageing .lbl { font: 11px var(--mono); fill: var(--muted); }
.curve .gap { fill: var(--patina); opacity: 0.45; }
.curve .base { fill: none; stroke: var(--signal); stroke-width: 2.4; }
.curve .plan { fill: none; stroke: var(--ink); stroke-width: 2.8; }

.hero-case { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: end; }
.case-inputs { margin: 0; border-top: 2px solid var(--ink); }
.case-inputs div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.case-inputs dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.case-inputs dd { margin: 0.2rem 0 0; font-weight: 500; }

/* ---------------------------------------------------------------- lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ticks li { position: relative; padding: 0.42rem 0 0.42rem 1.6rem; border-bottom: 1px solid var(--hair); }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 1.02rem; width: 0.7rem; height: 1.5px; background: var(--ink); }

/* ---------------------------------------------------------------- home */
.role-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.role-grid li { border-right: 1px solid var(--line); }
.role-grid li:last-child { border-right: 0; }
.role-grid a { display: flex; flex-direction: column; gap: 0.8rem; height: 100%; padding: 1.2rem 1.1rem 1.4rem; text-decoration: none; transition: background 0.15s; }
.role-grid a:hover { background: var(--sheet); }
.role-who { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.role-q { font-family: var(--display); font-stretch: 104%; font-weight: 620; font-size: 1.08rem; line-height: 1.3; }
.role-grid .go { margin-top: auto; align-self: flex-start; font-size: 0.9rem; }
@media (max-width: 1100px) { .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .role-grid li { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .role-grid { grid-template-columns: minmax(0, 1fr); } .role-grid li { border-right: 0; } }

.prod-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: 2.5rem 0; }
.prod-row + .prod-row { border-top: 1px solid var(--hair); }
.prod-row.flip .prod-copy { order: 2; }
.prod-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
@media (max-width: 900px) { .prod-row { grid-template-columns: minmax(0, 1fr); } .prod-row.flip .prod-copy { order: 0; } }

.shot { border: 1px solid var(--ink); background: var(--sheet); box-shadow: 10px 10px 0 var(--concrete); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line); }
.shot-bar span { margin-left: 0.6rem; }
.shot img { width: 100%; height: auto; }

.bridge-sec { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; background: var(--sand); }
@media (max-width: 900px) { .bridge-sec { grid-template-columns: minmax(0, 1fr); } }
.bridge-row { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.bridge-row.best .bridge-name b::after { content: " ●"; color: var(--patina-deep); }
.bridge-name { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 0.4rem; max-width: none; }
.bridge-bar { position: relative; display: flex; height: 18px; background: var(--hair); }
.bridge-bar .range { position: absolute; top: 50%; height: 0; border-top: 1.5px dashed var(--ink); }
.bridge-bar .range::before, .bridge-bar .range::after { content: ""; position: absolute; top: -6px; height: 12px; border-left: 1.5px solid var(--ink); }
.bridge-bar .range::after { right: 0; }
.bridge-range { font-size: 0.76rem; color: var(--muted); margin: 0.35rem 0 0; }

.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; position: relative; }
.how-steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-steps li { position: relative; padding: 2.4rem 1.2rem 0 0; }
.how-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0.75rem; border-top: 1.5px solid var(--ink); }
.how-steps li::after { content: ""; position: absolute; left: 0; top: 0.32rem; width: 12px; height: 12px; border: 1.5px solid var(--ink); background: var(--paper); border-radius: 50%; }
.how-steps li:last-child::before { right: 70%; }
.step-n { position: absolute; top: -0.2rem; left: 1.2rem; font-size: 0.76rem; color: var(--muted); }
@media (max-width: 980px) {
  .how-steps, .how-steps.three { grid-template-columns: minmax(0, 1fr); }
  .how-steps li { padding: 0 0 1.5rem 2.2rem; }
  .how-steps li::before { left: 0.35rem; top: 1rem; bottom: 0; right: auto; border-top: 0; border-left: 1.5px solid var(--ink); }
  .how-steps li:last-child::before { display: none; }
  .how-steps li::after { top: 0.35rem; }
  .step-n { position: static; display: block; }
}
.event-sec > .go { display: inline-block; margin-top: 2rem; }

.evidence-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.evidence-grid li { padding: 1.4rem 1.4rem 1.4rem 0; border-right: 1px solid var(--line); }
.evidence-grid li + li { padding-left: 1.4rem; }
.evidence-grid li:last-child { border-right: 0; }
.ev-big { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); line-height: 1; margin-bottom: 0.8rem; }
@media (max-width: 900px) { .evidence-grid { grid-template-columns: minmax(0, 1fr); } .evidence-grid li { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }

/* ---------------------------------------------------------------- closing */
.closing { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 3rem; align-items: end; background: var(--fir); color: #eef3ec; }
.site main > section.closing { border-top: 0; }
.closing h2 { color: #fff; }
.closing p { color: #cfdcd4; }
.closing .btn.ghost { color: #eef3ec; }
.closing .btn.ghost:hover { background: #eef3ec; color: var(--fir); }
.closing .sovereign { grid-column: 1 / -1; margin: 1rem 0 0; font-size: 0.8rem; color: #9fb7aa; letter-spacing: 0.02em; }
.closing-acid { background: #0f3a2f; }
.closing-patina { background: #103f3d; }
.closing-ink { background: #10201b; }
.closing-warm { background: #2b2a24; }
@media (max-width: 800px) { .closing { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- develop simulator */
.sim { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); background: var(--sheet); border: 1px solid var(--ink); padding: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 980px) { .sim { grid-template-columns: minmax(0, 1fr); } }
.sim-chart svg { width: 100%; height: auto; }
.sim-zone { fill: var(--patina); opacity: 0.18; }
.sim-limit { stroke: var(--ink); stroke-dasharray: 5 4; stroke-width: 1.2; }
.sim-lbl { font: 11px var(--mono); fill: var(--ink); }
.sim-axis { font: 11px var(--mono); fill: var(--muted); }
.sim-base { fill: var(--signal); }
.sim-pt circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.4; transition: fill 0.2s, r 0.2s; }
.sim-pt.ok circle { fill: var(--patina); }
.sim-pt.chosen circle { fill: var(--acid); stroke-width: 3; }
.sim-panel { display: flex; flex-direction: column; gap: 1rem; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; font-size: 0.9rem; }
.slider b { font-weight: 500; font-size: 0.9rem; }
.slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); height: 28px; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 1px; flex: none; }
.sim-result { border-top: 2px solid var(--ink); padding-top: 0.8rem; min-height: 9rem; }
.sim-result dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
.sim-result dt { font-size: 0.78rem; color: var(--muted); }
.sim-result dd { margin: 0.1rem 0 0; font-size: 1.15rem; }
.sim-result .lead-row { grid-column: 1 / -1; }
.sim-result .lead-row dd { font-size: 1.6rem; background: var(--acid); display: inline-block; padding: 0 0.35rem; }
.sim-result .none b { color: var(--signal); }
.sim-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.sim-table th, .sim-table td { text-align: right; padding: 0.4rem 0.3rem; border-bottom: 1px solid var(--hair); }
.sim-table th[scope="row"], .sim-table thead th:first-child { text-align: left; font-weight: 500; }
.sim-table thead th { font-weight: 500; color: var(--muted); font-size: 0.76rem; }
.insight { margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--acid); background: var(--sheet); max-width: 860px; }
.insight h3 { margin-bottom: 0.5rem; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.calc-fields .fine { grid-column: 1 / -1; }
.calc-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.88rem; }
.calc-input { display: flex; align-items: center; border: 1px solid var(--ink); background: var(--sheet); }
.calc-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.7rem; font: 1rem var(--mono); color: var(--ink); }
.calc-input i { font-style: normal; padding: 0 0.7rem; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 520px) { .calc-fields { grid-template-columns: minmax(0, 1fr); } }
.calc-out { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.5rem; background: var(--fir); color: #eef3ec; }
.calc-out b { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); font-weight: 500; margin-bottom: 0.9rem; }
.calc-out b.big { color: var(--acid); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.2rem); }
.calc-out small { color: #9fb7aa; font-size: 0.74rem; }

.spec dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.spec dl div { padding: 1.2rem 1.2rem 1.2rem 0; border-right: 1px solid var(--line); }
.spec dl div + div { padding-left: 1.2rem; }
.spec dl div:last-child { border-right: 0; }
.spec dt { font-family: var(--display); font-stretch: 106%; font-weight: 660; font-size: 1.15rem; margin-bottom: 0.4rem; }
.spec dd { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .spec dl { grid-template-columns: 1fr 1fr; } .spec dl div { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .spec dl { grid-template-columns: minmax(0, 1fr); } .spec dl div { border-right: 0; padding-left: 0 !important; } }

.shot-sec { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.shot-sec.flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.io h2 { font-size: 1.4rem; margin-top: 0.4rem; }
@media (max-width: 900px) { .shot-sec, .shot-sec.flip { grid-template-columns: minmax(0, 1fr); } }
.integ-strip p { max-width: none; }
.tag { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.45rem; border: 1px solid var(--ink); margin-right: 0.5rem; }
.tag.on { background: var(--acid); }
.tag.request { border-style: dashed; color: var(--muted); }

/* ---------------------------------------------------------------- asset */
.band-photo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.band-img { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .band-photo { grid-template-columns: minmax(0, 1fr); } }
.futures-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 900px) { .futures-wrap { grid-template-columns: minmax(0, 1fr); } }
.fut-bars { display: flex; align-items: flex-end; gap: 2px; height: 240px; border-bottom: 1.5px solid var(--ink); }
.fut-col { flex: 1; position: relative; height: 100%; }
.fut-col span { position: absolute; bottom: 0; left: 0; right: 0; height: 0; transition: height 0.7s ease; }
.futures:not(.shown) .fut-col span { height: 0 !important; }
html:not(.js) .futures .fut-col span { transition: none; }
.fut-col .b0 { background: var(--signal); opacity: 0.85; }
.fut-col .b1 { background: var(--ink); }
.fut-axis { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); margin-top: 0.4rem; }
.fut-stats { margin: 0; }
.fut-stats div { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.fut-stats dt { font-size: 0.84rem; color: var(--ink-2); }
.fut-stats dd { margin: 0.2rem 0 0; font-size: 1.5rem; }
.fut-stats dd small { font-size: 0.8rem; color: var(--muted); }
.fut-stats .fine { margin-top: 1rem; }
.age-sec { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .age-sec { grid-template-columns: minmax(0, 1fr); } }
.age-img { aspect-ratio: 4 / 3; margin-top: 1.5rem; }
.ageing svg { width: 100%; height: auto; }
.age-line { fill: none; stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .ageing:not(.shown) .age-line { stroke-dashoffset: 1; }
.ageing .age-line { transition: stroke-dashoffset 1.4s ease; }
.age-lbl { font: 12px var(--body); }
.c0 { stroke: var(--signal); fill: var(--signal); }
.c1 { stroke: var(--ink); fill: var(--ink); }
.c2 { stroke: var(--patina-deep); fill: var(--patina-deep); }
.c3 { stroke: #7a6a2f; fill: #7a6a2f; }
.c4 { stroke: #3d6fa6; fill: #3d6fa6; }
.c5 { stroke: #8a5a8a; fill: #8a5a8a; }
.age-lbl { stroke: none; }
.ageing path.age-line { fill: none; }

/* ---------------------------------------------------------------- technology */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.table-wrap th, .table-wrap td { padding: 0.75rem 0.8rem 0.75rem 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.table-wrap tbody th { font-weight: 600; }
.bench .table-wrap td.mono { text-align: right; }
.bench .table-wrap thead th + th { text-align: right; }
.bench .fine { margin-top: 1rem; max-width: 80ch; }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
.quote { margin: 0; padding: 2rem; border: 1px solid var(--ink); background: var(--sheet); }
.quote p { font-family: var(--display); font-stretch: 112%; font-weight: 660; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.15; margin: 0; }
.gov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.gov-grid div { padding: 1.2rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.gov-grid dt { font-weight: 650; margin-bottom: 0.35rem; }
.gov-grid dd { margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- case */
.case-steps ol { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.case-steps li { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.cs-big { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); line-height: 1; margin: 0; }
.cs-big small { display: block; font-family: var(--body); font-size: 0.86rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.4; }
@media (max-width: 760px) { .case-steps li { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; } }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.tabs button { min-height: 44px; padding: 0.6rem 1rem; border: 1.5px solid var(--ink); background: transparent; font: 600 0.95rem var(--body); color: var(--ink); cursor: pointer; border-radius: 2px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 0.8fr 1.4fr 0.9fr; border: 1px solid var(--ink); background: var(--sheet); }
.stages > li { padding: 1.2rem; border-right: 1px solid var(--line); animation: stage 0.5s ease both; animation-delay: calc(var(--i) * 0.35s); }
.stages > li:last-child { border-right: 0; background: var(--paper); }
@keyframes stage { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stages h3 { font-family: var(--mono); font-size: 0.76rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stages blockquote { margin: 0; font-style: italic; border-left: 3px solid var(--line); padding-left: 0.8rem; }
.stages ul { margin: 0; padding-left: 1.1rem; }
.vs { margin: 0.6rem 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.vs div { padding: 0.7rem; border: 1px solid var(--line); }
.vs .win { border: 2px solid var(--ink); background: color-mix(in srgb, var(--acid) 55%, var(--sheet)); }
.vs dt { font-size: 0.8rem; color: var(--muted); }
.vs dd { margin: 0.2rem 0 0; display: flex; flex-direction: column; }
.vs dd span { font-size: 0.84rem; }
@media (max-width: 980px) { .stages { grid-template-columns: minmax(0, 1fr); } .stages > li { border-right: 0; border-bottom: 1px solid var(--line); } }
.honest { background: var(--sand); }

/* ---------------------------------------------------------------- trust pages */
.pairs { display: grid; gap: 0.2rem; }
.pairs p { font-family: var(--display); font-stretch: 112%; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); font-weight: 520; line-height: 1.2; margin: 0; max-width: none; }
.pairs b { font-weight: 760; }
.integ tr.st-request { color: var(--ink-2); }
.pilot-box { background: var(--sheet); }
.pilot-box dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--ink); }
.pilot-box dl div { padding: 1.2rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pilot-box dl div:nth-child(3n) { border-right: 0; }
.pilot-box dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.35rem; }
.pilot-box dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .pilot-box dl { grid-template-columns: minmax(0, 1fr); } .pilot-box dl div { border-right: 0; } }
.timeline ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.timeline li { padding: 1rem 1rem 0 0; }
.when { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 980px) { .timeline ol { grid-template-columns: minmax(0, 1fr); } .timeline li { border-bottom: 1px solid var(--line); padding-bottom: 1rem; } }
.readiness { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); background: var(--mineral); }
.readiness-terms { align-self: end; }
.terms li::before { background: var(--patina-deep); }
@media (max-width: 860px) { .readiness { grid-template-columns: minmax(0, 1fr); } }
.aud-grid, .choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.aud, .plan { padding: 1.4rem; border: 1px solid var(--ink); background: var(--sheet); display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.aud-develop, .plan-develop { border-top: 5px solid var(--acid); }
.aud-asset, .plan-asset { border-top: 5px solid var(--patina); }
.aud-both, .plan-both { border-top: 5px solid var(--ink); }
@media (max-width: 860px) { .aud-grid, .choice { grid-template-columns: minmax(0, 1fr); } }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.two-lists h2 { font-size: 1.5rem; }
@media (max-width: 760px) { .two-lists { grid-template-columns: minmax(0, 1fr); } }
.about-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
.about-facts dl { margin: 0; border-top: 2px solid var(--ink); }
.about-facts dl div { display: grid; grid-template-columns: 9rem 1fr; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-size: 0.78rem; text-transform: uppercase; color: var(--muted); letter-spacing: 0.05em; padding-top: 0.15rem; }
.about-facts dd { margin: 0; }
@media (max-width: 760px) { .about-facts { grid-template-columns: minmax(0, 1fr); } }
.gov-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .gov-grid.three { grid-template-columns: minmax(0, 1fr); } }
.bau { margin-top: 1.5rem; padding: 0.8rem 1rem; background: var(--acid); display: inline-block; }
.faq { display: grid; gap: 2.5rem; }
.faq-group h2 { font-size: 1.5rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font: 500 1.3rem var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1rem; }

/* ---------------------------------------------------------------- notes */
.notes-list ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.notes-list li { padding: 1.6rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 2rem; }
.notes-list time { font-size: 0.82rem; color: var(--muted); padding-top: 0.4rem; grid-row: span 3; }
.notes-list h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); }
.notes-list h2 a { text-decoration: none; }
.notes-list h2 a:hover { text-decoration: underline; }
@media (max-width: 700px) { .notes-list li { grid-template-columns: minmax(0, 1fr); } .notes-list time { grid-row: auto; } }
.note-number b { font-size: 1.2rem; background: var(--acid); padding: 0 0.3rem; }
.site main > article.note, .site main > article.legal { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--sec); }
.note { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1rem 3rem; }
.note-head { grid-column: 1 / -1; max-width: 900px; }
.note-head .eyebrow a { color: var(--ink); }
.note-number.big { align-self: start; display: flex; flex-direction: column; gap: 0.4rem; padding: 1.2rem; border: 1px solid var(--ink); background: var(--sheet); grid-column: 2; grid-row: 2; }
.note-number.big b { font-size: 2.4rem; align-self: flex-start; }
.note-number.big > span:first-child { font-size: 0.76rem; text-transform: uppercase; color: var(--muted); }
.note-body { grid-column: 1; grid-row: 2; font-size: 1.1rem; }
@media (max-width: 860px) { .note { grid-template-columns: minmax(0, 1fr); } .note-number.big, .note-body { grid-column: 1; grid-row: auto; } }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.site main > section.contact { padding-top: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact-side h2 { font-size: 1.3rem; margin-top: 2rem; }
.contact-facts { margin: 1.5rem 0; border-top: 2px solid var(--ink); }
.contact-facts div { display: grid; grid-template-columns: 9rem 1fr; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.contact-facts dt { font-size: 0.76rem; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.contact-facts dd { margin: 0; }
.next-steps { padding-left: 1.2rem; }
.next-steps li { margin-bottom: 0.5rem; }
.contact-card { background: var(--sheet); border: 1px solid var(--ink); padding: clamp(1.2rem, 3vw, 2.2rem); }
.contact-card h2 { font-size: 1.6rem; }
.fld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin: 1rem 0; }
@media (max-width: 560px) { .fld-grid { grid-template-columns: minmax(0, 1fr); } }
.fld { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; }
.fld small { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: 1rem var(--body); color: var(--ink); padding: 0.7rem; border: 1px solid var(--ink-2); background: #fff; border-radius: 2px; min-height: 46px; }
.fld textarea { resize: vertical; }
.fld.bad input, .fld.bad textarea, .consent.bad { border-color: var(--signal); outline: 2px solid color-mix(in srgb, var(--signal) 30%, transparent); }
.seg { border: 0; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg legend { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; width: 100%; }
.seg legend small { font-weight: 400; color: var(--muted); }
.seg-opt { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0.45rem 0.9rem; border: 1px solid var(--ink-2); cursor: pointer; font-size: 0.92rem; background: #fff; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt.on { background: var(--ink); color: var(--paper); }
.seg-opt:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.2rem 0; font-size: 0.92rem; padding: 0.3rem; }
.consent input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); margin-top: 2px; }
.form-msg { color: var(--signal); font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-foot .fine { margin: 0; flex: 1 1 16rem; }
.thanks { min-height: 20rem; }

/* ---------------------------------------------------------------- legal */
.legal { max-width: 860px; }
.site main > article.legal { padding-left: max(var(--pad), calc((100% - var(--w)) / 2)); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal dl { margin: 2rem 0; border-top: 2px solid var(--ink); }
.legal dl div { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal .missing { color: var(--signal); font-family: var(--mono); font-size: 0.9rem; }
@media (max-width: 640px) { .legal dl div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }

/* ---------------------------------------------------------------- title block and footer */
.plankopf { padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid var(--hair); }
.plankopf dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 0 auto; max-width: 640px; border: 1.5px solid var(--ink); font-size: 0.78rem; }
.plankopf dl div { padding: 0.45rem 0.7rem; border-right: 1px solid var(--ink); }
.plankopf dl div:last-child { border-right: 0; }
.plankopf dt { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.plankopf dd { margin: 0.15rem 0 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) { .plankopf dl { grid-template-columns: 1fr 1fr; } .plankopf dl div:nth-child(2) { border-right: 0; } .plankopf dl div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); } }
.sitefoot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; padding-top: 3rem; padding-bottom: 2.5rem; background: var(--fir); color: #dfe8e2; }
.sitefoot .wordmark { color: #fff; }
.sitefoot h2 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #9fb7aa; margin-bottom: 0.8rem; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin-bottom: 0.45rem; }
.sitefoot a { text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.sitefoot .sovereign { font-size: 0.78rem; color: #9fb7aa; }
.sitefoot > .fine { grid-column: 1 / -1; color: #9fb7aa; border-top: 1px solid #284a3f; padding-top: 1.2rem; max-width: none; }
@media (max-width: 900px) { .sitefoot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Phones: chart labels stay readable when the drawing scales down. */
.sim-panel { min-width: 0; }
.sim-table td { white-space: nowrap; }
@media (max-width: 600px) {
  .sim-axis, .sim-lbl { font-size: 19px; }
  .curve .lbl, .ageing .lbl { font-size: 17px; }
  .age-lbl { font-size: 14px; }
  .sim-table { font-size: 0.74rem; }
  .sim-table th, .sim-table td { padding: 0.35rem 0.15rem; }
  .facts dd { font-size: 2.2rem; }
}

/* Print and PDF: the page as a document to pass around internally. */
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body { background: #fff; font-size: 10.5pt; }
  .sitenav, .skip, .motion-toggle, .actions, .tabs, .sim-panel .slider, .sim-panel .check, button.link, .closing .actions, .sitefoot nav, .sitefoot > div:not(.foot-brand), .hero-case .btn { display: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site main > section { padding-top: 8mm; padding-bottom: 8mm; break-inside: avoid-page; }
  .closing { background: #fff !important; color: var(--ink); border: 1px solid var(--ink); }
  .closing h2, .closing p { color: var(--ink); }
  .sitefoot { background: #fff; color: var(--ink); grid-template-columns: 1fr; }
  .sitefoot .wordmark { color: var(--ink); }
  a.go::after, .ticks a::after { content: ""; }
  .shot { box-shadow: none; }
  .stages > li { animation: none; }
}

/* Home: two entry doors by what the visitor runs. */
.fork { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.fork a { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding: 0.95rem 1.1rem; border: 1.5px solid var(--ink); background: var(--sheet); text-decoration: none; transition: background 0.15s; }
.fork a:hover { background: var(--acid); }
.fork b { font-family: var(--display); font-stretch: 108%; font-size: 1.12rem; font-weight: 700; }
.fork span { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 560px) { .fork { grid-template-columns: minmax(0, 1fr); } }

/* Asset budget decision */
.budget .tabs button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.budget .table-wrap td.mono { text-align: right; }
.budget .table-wrap thead th + th { text-align: right; }
.insight-text { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 4px solid var(--acid); background: var(--sheet); max-width: 860px; }

/* Where a number comes from */
.prov { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0; max-width: none; font-size: 0.86rem; align-items: center; }
.prov-tag { font-size: 0.7rem; padding: 0.12rem 0.45rem; border: 1px solid var(--ink); border-radius: 2px; white-space: nowrap; }
.prov-tag.file { background: var(--sheet); }
.prov-tag.computed { background: var(--mineral); border-color: var(--patina-deep); }
.prov-tag.assumption { background: var(--sand); border-style: dashed; }
.prov-legend { margin: -1.5rem 0 1.5rem; }
