/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Console (deal 1/3, seed hub-indie-dev-lab-40ee·4c40a496·2026-12-06·r0) · job: try · draw: f908d5
 * hero: Settled · nav: masthead · footer: statement · imagery: the product (real screenshots from both repos, plus the live requirement trail built in the hero) · signature: the tool deck over a three.js atlas of linked nodes turning amber as they verify; the live requirement trail sits in the band · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a hub page argues less than a product page; the hero argues "done is evidence, not a claim" through the live trail instead of a tagline */
/* waive Console motion "no reveal": the user asked for animation; one reveal plus the hero trail loop (pausable), nothing else moves */
/* waive Console display face Host Grotesk -> Be Vietnam Pro: the page is Vietnamese first and Host Grotesk ships no vietnamese subset; same grotesk build */
/* waive 38iii: the mono id over the trail title is what the instrument wrote, not an accented word; the title is a div, not a heading */
/* waive motion budget: the user asked for anime.js and three.js; one ambient atlas (60s turn, pauses with the hero control, off-screen and under reduced motion), entrances and counts once */
/* waive cursor: the user asked for a custom cursor; fine pointers only, never under reduced motion, focus rings untouched */
/* waive 81 and theme surfaces: the user asked for a living background; a node network (amber and cool kept to their meanings as signals) over two faint colour fields, still under reduced motion */
/* waive 38iii (statement): each product name in the band takes its product colour, as the user asked for emphasis */
/* answered 58: detail pages hold the install and usage guide the user asked for; each screen stays near 80 words */
@import url("./tokens.css");
@import url("./base.css");
:root { --mask-on: oklch(100% 0 0); --mask-off: oklch(0% 0 0); --light-paper: oklch(98% 0.006 85); --light-paper-2: oklch(95% 0.008 85); --light-ink: oklch(19% 0.010 60); --light-ink-2: oklch(32% 0.01 60); --light-muted: oklch(45% 0.01 60); --light-rule: oklch(88% 0.008 85); --light-accent: oklch(54% 0.14 70); --light-cool: oklch(52% 0.14 250); --color-accent-hi: oklch(87% 0.13 82); --color-shadow: oklch(5% 0.01 250 / 0.9); --text-section: clamp(2rem, 2.2vw + 1rem, 3.25rem); }

/* ---------- chrome ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

.mast { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 64px; gap: var(--space-lg); }
.mast__links { display: flex; gap: var(--space-lg); align-items: center; font-size: var(--text-sm); }
.mast__links--end { justify-content: flex-end; }
.mast a { color: var(--color-muted); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.mast a:hover, .mast a[aria-current="page"] { color: var(--color-ink); }
.wordmark { display: inline-flex; align-items: baseline; gap: var(--space-2xs); color: var(--color-ink) !important; font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.03em; }
.wordmark b { font-weight: 500; color: var(--color-accent); }

.lang { display: inline-flex; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); overflow: hidden; }
.lang button { min-height: 32px; padding: 0 var(--space-sm); border: 0; background: transparent; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.lang button:hover { color: var(--color-ink); }
.lang button[aria-pressed="true"] { background: var(--color-paper-2); color: var(--color-ink); }
.lang button:focus-visible { outline-offset: -2px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-rule); border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hi); border-color: var(--color-accent-hi); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-2); transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-rule); border-radius: 4px; font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.chip--cool { background: var(--color-cool-soft); border-color: color-mix(in oklab, var(--color-cool) 35%, var(--color-rule)); color: var(--color-cool); }
.chip--ok { background: var(--color-ok-soft); border-color: color-mix(in oklab, var(--color-ok) 35%, var(--color-rule)); color: var(--color-ok); }
.chip--amber { background: var(--color-accent-soft); border-color: color-mix(in oklab, var(--color-accent) 35%, var(--color-rule)); color: var(--color-accent); }

.measured, code, kbd, pre { font-family: var(--font-outlier); font-variant-numeric: tabular-nums slashed-zero; }
code { font-size: 0.92em; color: var(--color-ink-2); }

/* ---------- sections ---------- */
main > section { padding-block: var(--section-gap) 0; }
main > section.gap-l { padding-top: var(--section-gap-l); }
main > section.gap-s { padding-top: var(--section-gap-s); }
.band { color: var(--color-ink); background: var(--color-paper-3); border-block: var(--rule-hair) solid var(--color-rule); padding-block: var(--section-gap-s) !important; margin-top: var(--section-gap); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); max-width: 52rem; }
.head .lead { color: var(--color-ink-2); }
.muted { color: var(--color-muted); }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 65px); display: grid; align-items: center; padding-block: var(--space-2xl) var(--space-3xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__text .lead { color: var(--color-ink-2); }
.hero__text .actions { margin-top: var(--space-xs); }

/* the live trail: a requirement walking to verified */
.trail { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; margin: 0; }
.trail__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.trail__title { font-weight: 500; }
.trail__title .measured { display: block; color: var(--color-muted); font-size: var(--text-xs); }
.reqs { list-style: none; margin: 0; padding: 0; }
.reqs li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); min-height: 52px; padding: 0 var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.reqs li .measured { color: var(--color-muted); }
.reqs li.is-live { background: var(--color-paper-3); }
.reqs li.is-live .measured { color: var(--color-accent); }
.state { position: relative; display: inline-grid; justify-items: end; min-width: 7.5rem; }
.state .chip { grid-area: 1 / 1; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.js .state[data-at] .chip { opacity: 0; transform: translateY(4px); }
.js .state[data-at] .chip.is-on { opacity: 1; transform: none; }

.feed { list-style: none; margin: 0; padding: var(--space-md) var(--space-lg); background: var(--color-paper-3); font-family: var(--font-outlier); font-size: var(--text-xs); line-height: 1.5; min-height: 13.5rem; display: grid; align-content: start; gap: var(--space-2xs); }
.feed li { display: grid; grid-template-columns: 4.25rem 4rem minmax(0, 1fr); gap: var(--space-sm); color: var(--color-ink-2); }
.feed time { color: var(--color-cool); }
.feed .tool { color: var(--color-muted); }
.feed .ok { color: var(--color-ok); }
.feed .person { color: var(--color-accent); }
.feed .add { color: var(--color-ok); } .feed .del { color: var(--color-bad); }
.js .feed li { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .feed li.is-on { opacity: 1; transform: none; }
.trail__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); }
.trail__foot .btn { min-height: 32px; padding: 0 var(--space-sm); font-size: var(--text-sm); }
html:not(.js) [data-loop-toggle] { display: none; }

/* ---------- tool index ---------- */
.index { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.index th { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: 0 var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); white-space: nowrap; }
.index td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; color: var(--color-ink-2); }
.index tbody tr { transition: background-color var(--dur-short) var(--ease-out); }
.index tbody tr:hover { background: var(--color-paper-2); }
.index td:first-child { width: 22%; }
.index .name { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-title); font-weight: 500; color: var(--color-ink); text-decoration: none; letter-spacing: -0.02em; }
.index .name:hover { color: var(--color-accent); }
.index .name img { width: 28px; height: 28px; border-radius: 6px; }
.index .glyph { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-cool); }
.index .glyph svg { width: 16px; height: 16px; }
.index .tags { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.index td:last-child { text-align: right; white-space: nowrap; }
.index tr.next td { color: var(--color-muted); }
.index tr.next .name { color: var(--color-muted); font-size: var(--text-lg); }

/* ---------- split studio rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: center; }
.split--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split__text { display: grid; gap: var(--space-lg); align-content: center; }
.split__text .lead { color: var(--color-ink-2); }
.facts { margin: 0; display: grid; gap: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.facts dd { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }

.shot { margin: 0; display: grid; gap: var(--space-sm); }
.shot__frame { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-3); }
.shot__frame img { width: 100%; height: auto; transition: transform var(--dur-long) var(--ease-out); }
.shot figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.js .shot[data-reveal] .shot__frame { clip-path: inset(0 0 0 0 round var(--radius-card)); }

/* ---------- statement ---------- */
.statement { font-size: var(--text-section); line-height: 1.3; letter-spacing: var(--tracking-display); font-weight: 500; max-width: 24ch; text-wrap: balance; margin: 0; }

/* ---------- principles rows ---------- */
.rows { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); }
.rows ol { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); padding: var(--space-xl) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { font-size: var(--text-title); }
.rows p { color: var(--color-muted); }

/* ---------- detail pages ---------- */
.crumb { font-size: var(--text-sm); color: var(--color-muted); }
.crumb a { color: var(--color-muted); }
.crumb a:hover { color: var(--color-ink); }
.dhero { padding-block: var(--space-2xl) var(--space-3xl); }
.dhero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.dhero__text { display: grid; gap: var(--space-lg); }
.dhero__text .lead { color: var(--color-ink-2); }
.toolmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-weight: 500; color: var(--color-ink-2); }
.toolmark img { width: 32px; height: 32px; border-radius: 7px; }

.cmd { display: flex; align-items: stretch; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-3); overflow: hidden; }
.cmd pre { margin: 0; flex: 1; min-width: 0; padding: var(--space-sm) var(--space-md); overflow-x: auto; font-size: var(--text-sm); line-height: 1.6; color: var(--color-ink); white-space: pre; }
.cmd pre .p { color: var(--color-muted); user-select: none; }
.copy { flex-shrink: 0; min-width: 76px; padding: 0 var(--space-md); border: 0; border-left: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.copy:hover { background: var(--color-rule); color: var(--color-ink); }
.copy:focus-visible { outline-offset: -2px; }
.copy.is-done { color: var(--color-ok); }
html:not(.js) .copy { display: none; }

/* switcher (tabs) */
.switch { display: grid; gap: var(--space-xl); }
.tabs { display: flex; gap: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); width: max-content; max-width: 100%; overflow-x: auto; background: var(--color-paper-2); }
.tabs button { min-height: 40px; padding: 0 var(--space-md); border: 0; border-right: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tabs button:last-child { border-right: 0; }
.tabs button:hover { color: var(--color-ink); }
.tabs button[aria-selected="true"] { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-cool); }
.tabs button:focus-visible { outline-offset: -2px; }
html:not(.js) .tabs { display: none; }
.panes { display: grid; }
.pane { grid-area: 1 / 1; }
.js .pane[hidden] { display: none !important; }
html:not(.js) .pane { grid-area: auto; margin-bottom: var(--space-2xl); }
html:not(.js) .pane[hidden] { display: block !important; }
.js .pane.is-in { animation: pane-in var(--dur-long) var(--ease-out); }
@keyframes pane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: center; }
.feature__text { display: grid; gap: var(--space-md); }
.feature__text p { color: var(--color-muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.steps > li { counter-increment: s; display: grid; align-content: start; gap: var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.steps > li::before { content: counter(s); font-family: var(--font-outlier); font-size: var(--text-3xl); line-height: 1; color: var(--color-cool); }
.steps p { color: var(--color-muted); }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.table th { text-align: left; font-weight: 500; color: var(--color-muted); padding: 0 var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); white-space: nowrap; }
.table td { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; color: var(--color-ink-2); }
.table td:first-child { white-space: nowrap; color: var(--color-ink); }
.table-wrap { overflow-x: auto; }

/* coverage ladder */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; gap: var(--rule-hair); background: var(--color-rule); }
.ladder > div { background: var(--color-paper-2); padding: var(--space-lg); display: grid; gap: var(--space-sm); align-content: start; min-height: 11rem; }
.ladder p { font-size: var(--text-sm); color: var(--color-muted); }
.ladder > div:last-child { background: var(--color-ok-soft); }

/* close */
.close { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.close__text { display: grid; gap: var(--space-lg); }

/* ---------- footer ---------- */
.foot { margin-top: var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-xl); }
.foot__line { font-size: var(--text-display-s); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1.08; max-width: 22ch; margin: 0 0 var(--space-2xl); text-wrap: balance; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); padding-bottom: var(--space-2xl); }
.foot__grid h2 { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-ink); margin-bottom: var(--space-sm); }
.foot__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot__grid a { color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); }
.foot__grid a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-2); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); }

/* ---------- the one reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* hero settle, once */
.js .hero__text > *, .js .dhero__text > * { animation: settle 640ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .feed li, .js .state[data-at] .chip.is-on { opacity: 1; transform: none; transition: none; }
  .js .hero__text > *, .js .dhero__text > *, .js .pane.is-in { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero__grid, .dhero__grid, .split, .split--57, .rows, .feature, .close { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .mast__row { grid-template-columns: auto minmax(0, 1fr); }
  .mast__links--start { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .ladder > div { min-height: 0; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .index thead { display: none; }
  .index, .index tbody, .index tr, .index td { display: block; }
  .index tr { padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .index td { border: 0; padding: var(--space-2xs) 0; width: auto !important; text-align: left !important; }
}
@media (max-width: 40rem) {
  .mast__links { gap: var(--space-md); }
  .mast__links--end a:not(.wordmark) { display: none; }
  .reqs li { grid-template-columns: 3.75rem minmax(0, 1fr); padding-block: var(--space-xs); }
  .reqs li .state { grid-column: 2; justify-items: start; }
  .feed li { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .feed li .tool { display: none; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
html:not(.js) .state[data-at] .chip:not(.is-on) { display: none; }
.hero h1, .dhero h1 { font-size: clamp(2.5rem, 3.4vw + 0.75rem, 4.25rem); max-width: 16ch; }
.ladder .chip { justify-self: start; }

/* ===== Wiklabs hero: the tool deck ===== */
.deck { margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.deck__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.deck__path { color: var(--color-muted); font-size: var(--text-sm); }
.deck__stage { position: relative; aspect-ratio: 16 / 10; background: var(--color-paper-3); overflow: hidden; }
.deck__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.js .deck__img { opacity: 0; transform: scale(1.06); clip-path: inset(0 100% 0 0); transition: opacity 500ms var(--ease-out), transform 1200ms var(--ease-out), clip-path 900ms var(--ease-out); }
.js .deck__img.is-on { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
html:not(.js) .deck__img:not(.is-on) { display: none; }
.deck__next { display: grid; place-content: center; gap: var(--space-xs); text-align: center; color: var(--color-ink-2); font-size: var(--text-lg); background: var(--color-paper-3); }
.deck__next .measured { color: var(--color-accent); font-size: var(--text-sm); }
.deck__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); }
.deck__list button { position: relative; display: grid; gap: var(--space-3xs); align-content: start; text-align: left; min-height: 72px; padding: var(--space-sm) var(--space-lg); border: 0; border-right: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-muted); font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.deck__list button:last-child { border-right: 0; }
.deck__list button b { font-weight: 500; font-size: var(--text-md); color: var(--color-ink-2); }
.deck__list button:hover { background: var(--color-paper-3); }
.deck__list button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink-2); }
.deck__list button[aria-selected="true"] b { color: var(--color-accent); }
.deck__list button:focus-visible { outline-offset: -2px; }
.deck__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
.deck__list button.is-run .deck__bar { animation: deck-bar var(--deck-dur, 5200ms) linear forwards; }
.deck:not(.is-running) .deck__bar { animation-play-state: paused !important; }
@keyframes deck-bar { to { transform: scaleX(1); } }
html:not(.js) [data-deck-toggle] { display: none; }

/* ===== the band: statement beside the live trail ===== */
.together { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.together__text { display: grid; gap: var(--space-lg); }
.together .statement { font-size: var(--text-section); }

/* ===== headline lines rise from a mask ===== */
.split-lines .ln { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.split-lines .ln > span { display: inline-block; }
.js .split-lines .ln > span { animation: line-up 1000ms var(--ease-out) both; }
.js .split-lines .ln:nth-child(2) > span { animation-delay: 120ms; }
.js .hero__text > h1 { animation: none; }
@keyframes line-up { from { transform: translateY(110%); } to { transform: none; } }
.js .hero__text > .lead { animation-delay: 260ms; } .js .hero__text > .actions { animation-delay: 380ms; }
.js .deck { animation: deck-in 1100ms var(--ease-out) 200ms both; }
@keyframes deck-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ===== bolder scroll reveals ===== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out), filter 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .shot[data-reveal] { filter: none; }
.js .shot[data-reveal] .shot__frame { clip-path: inset(14% 0 0 0 round var(--radius-card)); transition: clip-path 1100ms var(--ease-out); }
.js .shot[data-reveal] .shot__frame img { transform: scale(1.08); transition: transform 1400ms var(--ease-out); }
.js .shot[data-reveal].is-in .shot__frame { clip-path: inset(0 0 0 0 round var(--radius-card)); }
.js .shot[data-reveal].is-in .shot__frame img { transform: none; }
.shot__frame { transition: border-color var(--dur-short) var(--ease-out); }
.shot:hover .shot__frame { border-color: var(--color-rule-2); }
.js .table-wrap[data-reveal] { filter: none; transform: none; }
.js .table-wrap[data-reveal] tbody tr { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.js .table-wrap[data-reveal].is-in tbody tr { opacity: 1; transform: none; }
.js .table-wrap[data-reveal] tbody tr:nth-child(2) { transition-delay: 90ms, 90ms, 0ms; }
.js .table-wrap[data-reveal] tbody tr:nth-child(3) { transition-delay: 180ms, 180ms, 0ms; }
.js .table-wrap[data-reveal] tbody tr:nth-child(4) { transition-delay: 270ms, 270ms, 0ms; }
.js .table-wrap[data-reveal] tbody tr:nth-child(5) { transition-delay: 360ms, 360ms, 0ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .table-wrap[data-reveal] tbody tr, .js .shot[data-reveal] .shot__frame, .js .shot[data-reveal] .shot__frame img { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
  .js .split-lines .ln > span, .js .deck { animation: none; }
  .js .deck__img { transform: none; clip-path: none; transition: opacity var(--dur-short) linear; }
  .deck__bar { display: none; }
}
@media (max-width: 60rem) { .together { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (max-width: 40rem) { .deck__list button { padding-inline: var(--space-sm); } .deck__list button span { display: none; } }

/* ===== anime.js and three.js layers ===== */
.anime .split-lines .ln > span, .anime .hero__text > *, .anime .dhero__text > *, .anime .deck { animation: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.w > span { display: inline-block; }
.hero { position: relative; isolation: isolate; overflow: clip; }
.atlas { position: absolute; z-index: -1; left: -26%; top: 56%; width: min(100vh, 960px); height: min(100vh, 960px); transform: translateY(-50%); opacity: 0.55; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, var(--color-ink) 55%, transparent); mask-image: radial-gradient(closest-side, var(--color-ink) 55%, transparent); }
.foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 60rem) { .atlas { left: 50%; top: 0; transform: translate(-50%, -20%); width: 120vw; height: 120vw; opacity: 0.3; } }
.js .atlas { transition: opacity 1600ms var(--ease-out); }
.js .atlas:not(.is-on) { opacity: 0; }

/* ===== scroll-scrubbed motion (anime.js drives inline styles; no CSS transition may lag behind it) ===== */
.anime [data-reveal] { transition: none !important; filter: none !important; }
.anime .steps, .anime .ladder, .anime .rows ol, .anime .facts { perspective: 1200px; }
.anime .shot, .anime .together .trail { transform-style: preserve-3d; transition: transform 500ms var(--ease-out); }

/* reading progress along the top edge */
.progress { position: fixed; left: 0; top: 0; z-index: var(--z-toast); width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* HUD corners on every screenshot frame */
.shot { position: relative; }
.shot::before, .shot::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--color-accent); pointer-events: none; z-index: 2; }
.shot::before { left: -8px; top: -8px; border-left-width: 2px; border-top-width: 2px; }
.shot::after { right: -8px; bottom: 36px; border-right-width: 2px; border-bottom-width: 2px; }
.shot:not(:has(figcaption))::after { bottom: -8px; }
.feature .shot__frame { position: relative; }

/* a measured grid under the hero */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 50%, var(--color-ink), transparent); mask-image: radial-gradient(ellipse 70% 60% at 40% 50%, var(--color-ink), transparent); }
.atlas { opacity: 0.95; left: -8%; }

/* the cursor */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: calc(var(--z-tooltip) + 1); pointer-events: none; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.cursor-ring { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-ink-2); transition: opacity var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.cursor-ring.is-hot { border-color: var(--color-accent); background: var(--color-accent-soft); }
.cursor-ring.is-view { border-color: var(--color-cool); }
.cursor-ring.is-down { border-width: 2px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [role="tab"] { cursor: none; }
.has-cursor pre, .has-cursor code { cursor: text; }
@media (prefers-reduced-motion: reduce), (hover: none) { .cursor-dot, .cursor-ring, .progress { display: none; } }

/* ===== tech details ===== */
.sysline { list-style: none; margin: var(--space-xs) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.sysline li { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: 4px; background: color-mix(in oklab, var(--color-paper-2) 70%, transparent); }
.sysline .measured { font-size: var(--text-xs); color: var(--color-cool); }
.typing::after { content: ""; display: inline-block; width: 0.55em; height: 1.1em; margin-left: var(--space-3xs); vertical-align: -0.2em; background: var(--color-accent); animation: caret 1s steps(1) 3; }
@keyframes caret { 50% { opacity: 0; } }
.scan { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 10%; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--color-cool) 22%, transparent) 85%, var(--color-cool)); }
.shot__frame { position: relative; }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, var(--color-accent-hi) 50%, transparent 70%); transform: translateX(-110%); transition: transform 650ms var(--ease-out); }
.btn--primary:hover::after { transform: translateX(110%); }
@media (prefers-reduced-motion: reduce) { .btn--primary::after { display: none; } .typing::after { animation: none; } }
.atlas { left: 32%; top: 52%; width: min(105vh, 1000px); height: min(105vh, 1000px); }
.hero h1, .dhero h1 { margin-bottom: var(--space-sm); }
@media (max-width: 60rem) { .atlas { left: 50%; top: 0; } }
/* tables: no scrollbars on desktop; on small screens scroll sideways only, never up and down */
.table-wrap { overflow: visible; }
@media (max-width: 60rem) { .table-wrap { overflow-x: auto; overflow-y: hidden; } }

/* ===== the page background ===== */
.bgfx, .bgfields { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bgfx { width: 100%; height: 100%; }
.bgfields { inset: -20% -10%; height: auto; z-index: -2;
  background:
    radial-gradient(38% 30% at 82% 12%, color-mix(in oklab, var(--color-accent) 11%, transparent), transparent 70%),
    radial-gradient(42% 34% at 8% 48%, color-mix(in oklab, var(--color-cool) 10%, transparent), transparent 70%),
    radial-gradient(36% 28% at 70% 86%, color-mix(in oklab, var(--color-accent) 8%, transparent), transparent 70%),
    radial-gradient(40% 32% at 20% 118%, color-mix(in oklab, var(--color-cool) 9%, transparent), transparent 70%); }
.band { background: color-mix(in oklab, var(--color-paper-3) 72%, transparent); backdrop-filter: blur(2px); }
.mast { z-index: var(--z-sticky-nav); }
/* performance: no live blur over a moving background */
.mast { backdrop-filter: none; background: color-mix(in oklab, var(--color-paper) 94%, transparent); }
.band { backdrop-filter: none; }
.bgfx, .bgfields { will-change: transform; contain: strict; }
/* cursor v2: the ring stays small; controls get locked by four corners instead */
.cursor-ring { width: 28px; height: 28px; }
.cursor-ring.is-hot { background: none; }
.cursor-ring.is-view { border-color: var(--color-cool); }
.cursor-locked .cursor-ring { opacity: 0; }
.cursor-down .cursor-dot { transform-origin: center; }
.cursor-lock { position: fixed; inset: 0; z-index: calc(var(--z-tooltip) + 1); pointer-events: none; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.cursor-on.cursor-locked .cursor-lock { opacity: 1; }
.cl { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border: 0 solid var(--color-accent); }
.cl--tl { border-left-width: 2px; border-top-width: 2px; }
.cl--tr { border-right-width: 2px; border-top-width: 2px; }
.cl--bl { border-left-width: 2px; border-bottom-width: 2px; }
.cl--br { border-right-width: 2px; border-bottom-width: 2px; }
.cursor-down .cl { border-color: var(--color-ink); }
@media (prefers-reduced-motion: reduce), (hover: none) { .cursor-lock { display: none; } }

/* ===== product colours: amber for Plan Atlas, blue for ccmon; used only to point at the product ===== */
.tool-pa { --tool: var(--color-accent); --tool-soft: var(--color-accent-soft); }
.tool-cc { --tool: var(--color-cool); --tool-soft: var(--color-cool-soft); }
/* the home page sections */
section.tool-pa h2, section.tool-cc h2 { color: var(--tool); }
section[class*="tool-"] .facts { border-top-color: var(--tool); }
section[class*="tool-"] .facts dt { color: var(--tool); }
section[class*="tool-"] .btn:hover, body[class*="tool-"] main .btn:not(.btn--primary):hover { border-color: var(--tool); color: var(--tool); }
[class*="tool-"] [data-count] { color: var(--tool); font-weight: 500; }
[class*="tool-"] .shot::before, [class*="tool-"] .shot::after { border-color: var(--tool); }
[class*="tool-"] .shot__frame { box-shadow: 0 24px 60px -30px color-mix(in oklab, var(--tool) 45%, transparent); }
/* the index rows */
.index tr[class*="tool-"] .name:hover, .index tr[class*="tool-"] .link:hover { color: var(--tool); text-decoration-color: var(--tool); }
.index tr[class*="tool-"] .glyph { color: var(--tool); border-color: color-mix(in oklab, var(--tool) 45%, var(--color-rule)); }
.index tr[class*="tool-"]:hover { background: color-mix(in oklab, var(--tool-soft) 40%, transparent); }
/* names inside the statement, and the deck tabs */
.tname { color: var(--tool); }
.deck__list button[class*="tool-"][aria-selected="true"] b { color: var(--tool); }
.deck__list button[class*="tool-"] .deck__bar { background: var(--tool); }
/* detail pages: the product's colour on its own markers */
body[class*="tool-"] .crumb { color: var(--tool); }
body[class*="tool-"] .steps > li::before { color: var(--tool); }
body[class*="tool-"] .steps > li { border-top-color: color-mix(in oklab, var(--tool) 55%, var(--color-rule)); }
body[class*="tool-"] .tabs button[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--tool); color: var(--tool); }
body[class*="tool-"] .progress { background: var(--tool); }
body[class*="tool-"] h2 code, body[class*="tool-"] .head .lead code { color: var(--tool); }
body[class*="tool-"] .cmd { border-color: color-mix(in oklab, var(--tool) 40%, var(--color-rule-2)); }
body[class*="tool-"] .cmd .p { color: var(--tool); }

.statement .tname, .statement .tname span { color: var(--tool); }

/* ===== the tool index, v2 ===== */
.table-wrap { position: relative; }
.index td:first-child { width: 34%; }
.index tbody tr { position: relative; }
.index tbody td { vertical-align: middle; padding-block: var(--space-lg); }
.tcell { display: flex; align-items: center; gap: var(--space-lg); text-decoration: none; color: inherit; }
.thumb { position: relative; flex-shrink: 0; width: 132px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: var(--rule-hair) solid color-mix(in oklab, var(--tool, var(--color-cool)) 45%, var(--color-rule)); background: var(--color-paper-3); transition: transform var(--dur-long) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 900ms var(--ease-out); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 40%, color-mix(in oklab, var(--tool, var(--color-cool)) 28%, transparent)); }
.tname-wrap { display: grid; gap: var(--space-2xs); min-width: 0; }
.index .name { color: var(--tool, var(--color-ink)); }
.index .name .logo { width: 28px; height: 28px; border-radius: 6px; }
.index tr[class*="tool-"] .glyph { background: var(--tool-soft); }
.kind { font-size: var(--text-sm); color: var(--color-muted); }
.index tr[class*="tool-"] .chip { border-color: color-mix(in oklab, var(--tool) 35%, var(--color-rule)); color: color-mix(in oklab, var(--tool) 70%, var(--color-ink-2)); background: color-mix(in oklab, var(--tool-soft) 45%, transparent); }
.go { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.go__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: var(--rule-hair) solid color-mix(in oklab, var(--tool, var(--color-ink)) 55%, var(--color-rule)); color: var(--tool, var(--color-ink)); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.go__icon svg { width: 16px; height: 16px; }
.index tbody tr[class*="tool-"] { background: linear-gradient(90deg, color-mix(in oklab, var(--tool-soft) 0%, transparent), transparent); transition: background-color var(--dur-short) var(--ease-out); }
.index tbody tr[class*="tool-"]:hover { background: linear-gradient(90deg, color-mix(in oklab, var(--tool-soft) 70%, transparent), transparent 75%); }
.index tbody tr[class*="tool-"]:hover .thumb { transform: translateY(-2px); border-color: var(--tool); }
.index tbody tr[class*="tool-"]:hover .thumb img { transform: scale(1.08); }
.index tbody tr[class*="tool-"]:hover .go__icon, .go:focus-visible .go__icon { background: var(--tool); color: var(--color-paper); transform: translateX(4px); }
.index tbody tr[class*="tool-"] .tcell:hover .name { color: var(--tool); }
/* the next tool: a dashed placeholder with a scan running across it */
.thumb--next { display: grid; place-items: center; border-style: dashed; border-color: var(--color-rule-2); }
.thumb--next .measured { font-size: var(--text-xs); color: var(--color-muted); }
.thumb--next::after { background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--color-cool) 30%, transparent), transparent); width: 40%; animation: next-scan 2.8s var(--ease-in-out) 3 both; }
@keyframes next-scan { from { transform: translateX(-120%); } to { transform: translateX(260%); } }
.index tr.next .name { font-size: var(--text-lg); color: var(--color-muted); }
.index tr.next .tname-wrap { justify-items: start; }
/* the floating preview */
.peek { position: fixed; left: 0; top: 0; z-index: var(--z-tooltip); width: 360px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; pointer-events: none; border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-3); transform: translate3d(-999px, -999px, 0) scale(0.85); transition: opacity 260ms var(--ease-out); box-shadow: 0 30px 80px -30px var(--color-shadow); }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.js .peek { opacity: 0; } .js .peek.is-on { opacity: 1; } html:not(.js) .peek { display: none; }
@media (hover: none), (prefers-reduced-motion: reduce) { .peek { display: none; } .thumb--next::after { animation: none; } }
@media (max-width: 60rem) { .index td:first-child { width: auto; } .thumb { width: 104px; } .go { margin-top: var(--space-xs); } }
.index .tags { flex-wrap: nowrap; }
.index td:nth-child(2) { width: 30%; }
.index tr.next td:last-child { text-align: left; color: var(--color-muted); }
@media (max-width: 60rem) { .index .tags { flex-wrap: wrap; } .index td:nth-child(2) { width: auto; } }

/* ===== the Wiklabs mark: a W of linked nodes, the centre node verified ===== */
.wordmark { align-items: center; gap: var(--space-xs); }
.mark { width: 30px; height: 30px; flex-shrink: 0; overflow: visible; }
.mark__w { fill: none; stroke: var(--color-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.mark__base { stroke: var(--color-cool); stroke-width: 1.5; stroke-linecap: round; opacity: 0.7; }
.mark__n { fill: var(--color-ink); }
.mark__core { fill: var(--color-accent); }
.mark__ring { fill: none; stroke: var(--color-accent); stroke-width: 1.6; transform-origin: 24px 20px; transition: transform var(--dur-long) var(--ease-out); }
.wordmark:hover .mark__ring { transform: scale(1.18); }
.js .mark__w { stroke-dasharray: 90; stroke-dashoffset: 90; animation: mark-draw 1200ms var(--ease-out) 200ms forwards; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-ring { from { transform: scale(0.2); opacity: 0; } to { transform: none; opacity: 1; } }
.foot__brand { margin-bottom: var(--space-lg); }
.mark--lg { width: 64px; height: 64px; }
@media (prefers-reduced-motion: reduce) { .js .mark__w { animation: none; stroke-dashoffset: 0; } .js .mark__ring { animation: none; } }

/* ===== brand page ===== */
.on-light { --color-paper: var(--light-paper); --color-paper-2: var(--light-paper-2); --color-ink: var(--light-ink); --color-ink-2: var(--light-ink-2); --color-muted: var(--light-muted); --color-rule: var(--light-rule); --color-accent: var(--light-accent); --color-cool: var(--light-cool); background: var(--color-paper); color: var(--color-ink); }
.mark--hero { width: min(100%, 360px); height: auto; }
.brand-stage { display: grid; place-items: center; aspect-ratio: 4 / 3; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: radial-gradient(circle at 50% 45%, var(--color-accent-soft), transparent 60%), var(--color-paper-2); }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.brand-tile { margin: 0; display: grid; place-items: center; gap: var(--space-lg); min-height: 280px; padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.brand-tile figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.brand-lockup { display: inline-flex; align-items: center; gap: var(--space-sm); }
.brand-lockup .mark { width: 52px; height: 52px; }
.wordmark-text { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--color-ink); }
.wordmark-text b { font-weight: 500; color: var(--color-accent); }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-columns); }
.swatch { display: grid; gap: var(--space-2xs); }
.swatch__chip { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-card); border: var(--rule-hair) solid var(--color-rule-2); margin-bottom: var(--space-sm); }
.swatch .measured { font-size: var(--text-sm); color: var(--color-ink-2); }
.swatch .muted { font-size: var(--text-sm); }
.type-specimen { display: grid; gap: var(--space-xs); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.type-big { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.type-mono { font-size: var(--text-xl); color: var(--color-cool); margin-top: var(--space-lg); }
@media (max-width: 60rem) { .brand-grid { grid-template-columns: minmax(0, 1fr); } .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== light theme: the Console "paper" colourway, amber still a person, blue still an instrument ===== */
:root {
  --dk-paper: oklch(17% 0.008 250); --dk-paper-2: oklch(21% 0.009 250); --dk-ink: oklch(95% 0.005 250); --dk-muted: oklch(71% 0.01 250); --dk-rule: oklch(31% 0.01 250); --dk-accent: oklch(82% 0.15 80); --dk-cool: oklch(77% 0.12 245);
  --lt-paper: oklch(96.5% 0.006 85); --lt-paper-2: oklch(99% 0.004 85); --lt-paper-3: oklch(93% 0.008 85);
  --lt-ink: oklch(19% 0.010 60); --lt-ink-2: oklch(32% 0.012 60); --lt-muted: oklch(46% 0.012 60);
  --lt-rule: oklch(87% 0.008 85); --lt-rule-2: oklch(76% 0.01 85);
  --lt-accent: oklch(54% 0.14 70); --lt-accent-fill: oklch(80% 0.15 78); --lt-accent-fill-hi: oklch(84% 0.14 80); --lt-accent-ink: oklch(19% 0.04 70); --lt-accent-soft: oklch(92% 0.05 80);
  --lt-cool: oklch(50% 0.14 250); --lt-cool-soft: oklch(93% 0.03 250);
  --lt-ok: oklch(50% 0.13 150); --lt-ok-soft: oklch(93% 0.04 150); --lt-bad: oklch(54% 0.17 25); --lt-bad-soft: oklch(94% 0.03 25);
  --lt-shadow: oklch(40% 0.02 60 / 0.28);
}
[data-theme="light"] {
  color-scheme: light;
  --color-paper: var(--lt-paper); --color-paper-2: var(--lt-paper-2); --color-paper-3: var(--lt-paper-3);
  --color-ink: var(--lt-ink); --color-ink-2: var(--lt-ink-2); --color-muted: var(--lt-muted);
  --color-rule: var(--lt-rule); --color-rule-2: var(--lt-rule-2);
  --color-accent: var(--lt-accent); --color-accent-ink: var(--lt-accent-ink); --color-accent-soft: var(--lt-accent-soft); --color-focus: var(--lt-accent); --color-accent-hi: var(--lt-accent-fill-hi);
  --color-cool: var(--lt-cool); --color-cool-soft: var(--lt-cool-soft);
  --color-ok: var(--lt-ok); --color-ok-soft: var(--lt-ok-soft); --color-bad: var(--lt-bad); --color-bad-soft: var(--lt-bad-soft);
  --color-shadow: var(--lt-shadow);
}
[data-theme="light"] .btn--primary { background: var(--lt-accent-fill); border-color: var(--lt-accent-fill); color: var(--lt-accent-ink); }
[data-theme="light"] .btn--primary:hover { background: var(--lt-accent-fill-hi); border-color: var(--lt-accent-fill-hi); }
[data-theme="light"] .hero::before { opacity: 0.6; }
[data-theme="light"] .shot__frame, [data-theme="light"] .deck, [data-theme="light"] .trail { box-shadow: 0 24px 60px -34px var(--color-shadow); }
/* a tile that must stay dark whatever the theme (the brand page) */
.on-dark { --color-paper: var(--dk-paper); --color-paper-2: var(--dk-paper-2); --color-ink: var(--dk-ink); --color-muted: var(--dk-muted); --color-rule: var(--dk-rule); --color-accent: var(--dk-accent); --color-cool: var(--dk-cool); color: var(--color-ink); }

/* ===== the toggle: a sun whose rays fold away as a moon slides in ===== */
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.theme-toggle:hover { color: var(--color-accent); border-color: var(--color-accent); background: var(--color-accent-soft); }
.theme-toggle svg { width: 20px; height: 20px; overflow: visible; }
.tt-mask-bg { fill: var(--mask-on); }      /* mask: white keeps, black cuts, whatever the theme */
.tt-cut { fill: var(--mask-off); }
.tt-core { fill: currentColor; transform-origin: 12px 12px; transition: transform 600ms var(--ease-out); }
.tt-rays { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform 600ms var(--ease-out), opacity 300ms var(--ease-out); }
.tt-cut { transition: transform 600ms var(--ease-out); }
/* dark theme shows the moon (the action is "go light" but the icon shows where you are) */
.js[data-theme="dark"] .tt-rays { opacity: 0; transform: rotate(-90deg) scale(0.4); }
.js[data-theme="dark"] .tt-cut { transform: translate(0, 0); }
html:not(.js) .theme-toggle { display: none; }
[data-theme="light"] .tt-core { transform: scale(0.62); }
[data-theme="light"] .tt-cut { transform: translate(12px, -12px); }
[data-theme="light"] .tt-rays { opacity: 1; transform: none; }

/* ===== the switch itself: a circle of the new theme opens from the button ===== */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 1; }
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: background-color 450ms var(--ease-out), color 450ms var(--ease-out), border-color 450ms var(--ease-out), fill 450ms var(--ease-out), stroke 450ms var(--ease-out) !important; }
@media (prefers-reduced-motion: reduce) { .tt-core, .tt-rays, .tt-cut { transition: none; } }

/* ===== splash: the mark builds itself, then the name, then both hand over to the page ===== */
.splash { display: none; }
.splash-on .splash { display: grid; position: fixed; inset: 0; z-index: calc(var(--z-tooltip) + 10); place-items: center; }
.splash-on, .splash-on body { overflow-y: hidden; }
.splash__bg { position: absolute; inset: 0; background: var(--color-paper);
  background-image: radial-gradient(circle at 50% 46%, var(--color-accent-soft), transparent 42%); }
.splash__inner { position: relative; display: grid; justify-items: center; gap: var(--space-lg); }
.splash__mark { width: 132px; height: 132px; overflow: visible; transform-origin: 0 0; }
.sp-w { fill: none; stroke: var(--color-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.sp-base { stroke: var(--color-cool); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 18; stroke-dashoffset: 18; }
.sp-n { fill: var(--color-ink); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.sp-core { fill: var(--color-accent); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.sp-ring, .sp-ping { fill: none; stroke: var(--color-accent); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; opacity: 0; }
.splash__word { position: relative; display: flex; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--color-ink); }
.sp-l { display: inline-block; opacity: 0; min-width: 0.3em; text-align: center; }
.sp-a { color: var(--color-accent); }
.sp-under { position: absolute; right: 0; bottom: -0.12em; width: 52%; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
/* the nav mark waits for the splash mark to land on it */
.splash-on .mast .wordmark .mark { opacity: 0; }
.splash-landed .mast .mark__w { animation: none; stroke-dashoffset: 0; }

/* ===== theme switch v2: a clockwise radar sweep ===== */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.vt-sweep::view-transition-group(root) { animation-duration: 1200ms; }
.vt-sweep::view-transition-old(root) { animation: vt-turn 1200ms cubic-bezier(0.65, 0, 0.35, 1) both; transform-origin: 50% 50%; }
.vt-sweep::view-transition-new(root) { animation: vt-sweep 1200ms cubic-bezier(0.65, 0, 0.35, 1) both;
  -webkit-mask-image: conic-gradient(from 0deg at 50% 50%, var(--mask-on) calc(var(--sweep) - 8deg), transparent var(--sweep));
  mask-image: conic-gradient(from 0deg at 50% 50%, var(--mask-on) calc(var(--sweep) - 8deg), transparent var(--sweep)); }
@keyframes vt-sweep { from { --sweep: 0deg; } to { --sweep: 368deg; } }
@keyframes vt-turn { to { transform: rotate(14deg) scale(0.9); opacity: 0.35; filter: blur(2px); } }
.vt-sweep::view-transition-group(theme-orb) { animation: none; }
.vt-sweep::view-transition-new(theme-orb) { animation: none; }

/* the dial at the centre, live during the sweep */
.theme-orb { position: fixed; inset: 0; z-index: calc(var(--z-tooltip) + 20); pointer-events: none; display: grid; place-items: center; view-transition-name: theme-orb; transition: opacity 480ms var(--ease-out); }
.theme-orb.is-out { opacity: 0; }
.o-beam { position: absolute; inset: -50vmax; background: conic-gradient(from -20deg at 50% 50%, transparent 0deg, color-mix(in oklab, var(--color-accent) 22%, transparent) 18deg, var(--color-accent) 20deg, transparent 20.6deg); animation: o-beam 1200ms cubic-bezier(0.65, 0, 0.35, 1) both; }
.theme-orb--dark .o-beam { background: conic-gradient(from -20deg at 50% 50%, transparent 0deg, color-mix(in oklab, var(--color-cool) 24%, transparent) 18deg, var(--color-cool) 20deg, transparent 20.6deg); }
@keyframes o-beam { from { transform: rotate(0deg); opacity: 1; } 85% { opacity: 1; } to { transform: rotate(368deg); opacity: 0; } }
.o-dial { position: relative; display: grid; justify-items: center; gap: var(--space-sm); transition: transform 480ms var(--ease-in); }
.theme-orb.is-out .o-dial { transform: scale(0.6); }
.o-dial svg { width: 220px; height: 220px; overflow: visible; animation: o-in 700ms var(--ease-out) both; }
@keyframes o-in { from { transform: scale(0.3) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.o-ticks { fill: none; stroke: var(--color-rule-2); stroke-width: 6; stroke-dasharray: 1.2 8.65; transform-origin: 100px 100px; animation: o-spin 2400ms linear both; }
.o-dash { fill: none; stroke: var(--color-cool); stroke-width: 1.5; stroke-dasharray: 46 14; transform-origin: 100px 100px; animation: o-spin-back 1800ms var(--ease-out) both; opacity: 0.8; }
@keyframes o-spin { to { transform: rotate(180deg); } }
@keyframes o-spin-back { from { transform: rotate(120deg); } to { transform: rotate(-60deg); } }
.o-core { fill: var(--color-accent); }
.o-sun .o-core { transform-origin: 100px 100px; animation: o-pop 600ms var(--ease-out) 150ms both; }
.o-rays { stroke: var(--color-accent); stroke-width: 5; stroke-linecap: round; transform-origin: 100px 100px; animation: o-rays 1100ms var(--ease-out) 200ms both; }
@keyframes o-pop { from { transform: scale(0); } to { transform: none; } }
@keyframes o-rays { from { transform: rotate(-120deg) scale(0.4); opacity: 0; } to { transform: rotate(0deg) scale(1); opacity: 1; } }
.o-moon { transform-origin: 100px 100px; animation: o-moon 1100ms var(--ease-out) 120ms both; }
.theme-orb--dark .o-core { fill: var(--color-ink); }
.o-m-on { fill: var(--mask-on); }
.o-m-off { fill: var(--mask-off); }
.o-star { fill: var(--color-cool); animation: o-pop 500ms var(--ease-out) 700ms both; transform-box: fill-box; transform-origin: center; }
@keyframes o-moon { from { transform: rotate(-150deg) scale(0.5); opacity: 0; } to { transform: rotate(0deg) scale(1); opacity: 1; } }
.o-label { font-size: var(--text-sm); color: var(--color-ink-2); padding: var(--space-2xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; background: var(--color-paper-2); animation: o-pop 400ms var(--ease-out) 500ms both; }
@media (prefers-reduced-motion: reduce) { .theme-orb { display: none; } }

/* ===== tool index v3: a readout per tool ===== */
.index td { vertical-align: top; }
.index td:first-child { vertical-align: middle; }
.what { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink); max-width: 44ch; }
.what .hl { font-style: normal; color: var(--tool, var(--color-accent)); background: color-mix(in oklab, var(--tool-soft, var(--color-accent-soft)) 75%, transparent); padding: 0 0.18em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.feats { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: grid; gap: var(--space-xs); }
.feats li { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); align-items: baseline; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.feats code, .feats kbd { justify-self: start; padding: 1px var(--space-xs); border-radius: 4px; font-size: var(--text-xs); color: var(--tool, var(--color-cool)); background: color-mix(in oklab, var(--tool-soft, var(--color-cool-soft)) 55%, transparent); border: var(--rule-hair) solid color-mix(in oklab, var(--tool, var(--color-cool)) 30%, transparent); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.index tbody tr[class*="tool-"]:hover .feats code, .index tbody tr[class*="tool-"]:hover .feats kbd { background: var(--tool); color: var(--color-paper); }
.index tbody tr[class*="tool-"]:hover .feats li { color: var(--color-ink-2); }
.index tbody tr[class*="tool-"]:hover .feats li:nth-child(2) code, .index tbody tr[class*="tool-"]:hover .feats li:nth-child(2) kbd { transition-delay: 60ms; }
.index tbody tr[class*="tool-"]:hover .feats li:nth-child(3) code, .index tbody tr[class*="tool-"]:hover .feats li:nth-child(3) kbd { transition-delay: 120ms; }
/* operating systems as a lit capability strip */
.osm { list-style: none; margin: 0; padding: 0; display: inline-flex; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); overflow: hidden; }
.osm .os { min-width: 52px; padding: var(--space-2xs) var(--space-xs); text-align: center; border-right: var(--rule-hair) solid var(--color-rule); }
.osm .os:last-child { border-right: 0; }
.osm .os .measured { font-size: var(--text-xs); color: var(--color-muted); opacity: 0.5; text-decoration: line-through; text-decoration-color: var(--color-rule-2); }
.osm .os.is-on { background: color-mix(in oklab, var(--tool-soft, var(--color-cool-soft)) 70%, transparent); }
.osm .os.is-on .measured { color: var(--tool, var(--color-cool)); opacity: 1; text-decoration: none; }
.index tbody tr[class*="tool-"]:hover .osm { border-color: color-mix(in oklab, var(--tool) 50%, var(--color-rule)); }
.stack { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); }
/* the latest release */
.rel { display: grid; gap: var(--space-3xs); justify-items: start; }
.rel__v { font-size: var(--text-2xl); line-height: 1; letter-spacing: -0.03em; color: var(--tool, var(--color-ink)); }
.rel__d { font-size: var(--text-xs); color: var(--color-muted); }
.rel__new { margin-left: var(--space-xs); }
.rel__link { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-2); }
.rel__link:hover { color: var(--tool, var(--color-accent)); text-decoration-color: currentColor; }
.index td:last-child { vertical-align: middle; }
.index td:nth-child(2) { width: 34%; }
.index td:first-child { width: 28%; }
@media (max-width: 60rem) { .what { font-size: var(--text-md); } .rel { margin-top: var(--space-xs); } }

/* ===== the tool spine: every tool is a node on one line that grows out of the mark ===== */
.spine-wrap { position: relative; --t-top: 24px; --t-h: 0px; }
.spine__root { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.spine__root .spine__mark { width: 48px; height: 48px; padding: var(--space-2xs); border-radius: 50%; background: var(--color-paper); }
.spine__root .measured { font-size: var(--text-sm); color: var(--color-muted); }
.spine__track, .spine__draw, .spine__lit { position: absolute; left: 23.5px; top: var(--t-top); height: var(--t-h); width: 1px; transform-origin: top; pointer-events: none; }
.spine__track { background: repeating-linear-gradient(to bottom, var(--color-rule-2) 0 4px, transparent 4px 8px); }
.spine__draw { background: linear-gradient(to bottom, var(--color-accent), var(--color-cool) 60%, var(--color-rule-2)); }
.spine__lit { left: 23px; width: 2px; background: var(--lit, var(--color-accent)); transform: scaleY(0); transition: transform 600ms var(--ease-out), background-color var(--dur-short) var(--ease-out); z-index: 1; }
.spine { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.entry { position: relative; display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 5fr) auto; column-gap: var(--space-xl); align-items: center; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-radius: var(--radius-card); transition: background-color var(--dur-short) var(--ease-out); }
.entry[class*="tool-"]:hover { background: linear-gradient(90deg, color-mix(in oklab, var(--tool-soft) 60%, transparent), transparent 75%); }
.entry::before { content: ""; position: absolute; left: 40px; top: 50%; width: calc(var(--space-xl) - 8px); height: 1px; background: var(--color-rule-2); transform-origin: left; transition: transform 400ms var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.entry[class*="tool-"]:hover::before { background: var(--tool); transform: scaleX(1.25); }
.node { position: relative; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; }
.node svg { width: 40px; height: 40px; overflow: visible; }
.node__ring { fill: var(--color-paper); stroke: var(--tool, var(--color-rule-2)); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transition: transform 500ms var(--ease-out), stroke-width 500ms var(--ease-out); }
.node__core { fill: var(--tool); transform-box: fill-box; transform-origin: center; transition: transform 500ms var(--ease-out); }
.node--next .node__ring { stroke: var(--color-rule-2); stroke-dasharray: 3 4; animation: node-wait 9s linear 2; }
@keyframes node-wait { to { transform: rotate(360deg); } }
.entry[class*="tool-"]:hover .node__ring { transform: scale(1.32); stroke-width: 1.2; }
.entry[class*="tool-"]:hover .node__core { transform: scale(1.18); }
.entry .tcell { min-width: 0; }
.entry__body { min-width: 0; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin-top: var(--space-md); }
.entry__meta .stack { margin: 0; }
.entry__end { display: grid; justify-items: end; gap: var(--space-md); text-align: right; }
.entry__end .rel { justify-items: end; }
.entry--next { grid-template-columns: 48px minmax(0, 4fr) minmax(0, 5fr) auto; }
.entry--next .what { font-size: var(--text-md); }
@media (prefers-reduced-motion: reduce) { .node--next .node__ring { animation: none; } }
@media (max-width: 60rem) {
  .entry, .entry--next { grid-template-columns: 48px minmax(0, 1fr); row-gap: var(--space-md); column-gap: var(--space-md); padding-right: 0; }
  .entry .node { grid-row: 1 / span 3; align-self: start; }
  .entry::before { display: none; }
  .entry__end { justify-items: start; text-align: left; grid-template-columns: auto auto; align-items: end; justify-content: space-between; }
  .entry__end .rel { justify-items: start; }
}
/* name block inside the spine (the table rules were scoped to .index) */
.spine .name { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-title); font-weight: 500; letter-spacing: -0.02em; color: var(--tool, var(--color-muted)); }
.spine .glyph { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; border: var(--rule-hair) solid color-mix(in oklab, var(--tool) 45%, var(--color-rule)); background: var(--tool-soft); color: var(--tool); flex-shrink: 0; }
.spine .glyph svg { width: 16px; height: 16px; }
.spine .name .logo { width: 28px; height: 28px; border-radius: 6px; }
.spine .entry--next .name { font-size: var(--text-lg); }
.spine .entry--next .tname-wrap { justify-items: start; }
.spine .entry[class*="tool-"]:hover .thumb { transform: translateY(-2px); border-color: var(--tool); }
.spine .entry[class*="tool-"]:hover .thumb img { transform: scale(1.08); }
.spine .entry[class*="tool-"]:hover .go__icon { background: var(--tool); color: var(--color-paper); transform: translateX(4px); }
.spine .entry[class*="tool-"]:hover .osm { border-color: color-mix(in oklab, var(--tool) 50%, var(--color-rule)); }
.spine .entry--next .entry__body { grid-column: 3 / -1; } .spine .entry--next .what { max-width: none; }

/* ===== footer v2: brand + live readout, link directories, a giant wordmark ===== */
.foot2 { position: relative; margin-top: var(--section-gap); padding-top: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); overflow: clip;
  background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--color-paper-3) 80%, transparent)); }
.foot2::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-cool), transparent); transform: scaleX(0.3); opacity: 0.8; animation: foot-line 6s var(--ease-in-out) 3 alternate; }
@keyframes foot-line { to { transform: scaleX(1); } }
.foot2__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); padding-bottom: var(--space-2xl); }
.foot2__brand { display: grid; gap: var(--space-lg); align-content: start; }
.foot2 .foot__line { margin: 0; font-size: var(--text-section); }
.readout { margin: var(--space-xs) 0 0; display: grid; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-paper-2) 70%, transparent); overflow: hidden; max-width: 32rem; }
.readout > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-xs) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.readout > div:last-child { border-bottom: 0; }
.readout dt { color: var(--color-muted); }
.readout dd { margin: 0; color: var(--color-ink-2); }
.readout .rel__v { color: var(--color-accent); }
.readout div[data-release*="cc-monitor"] .rel__v { color: var(--color-cool); }
.readout .rel__d { color: var(--color-muted); margin-left: var(--space-xs); }
.foot2__dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-content: start; padding-top: var(--space-sm); }
.foot2__dirs h2 { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-ink); margin-bottom: var(--space-md); }
.foot2__dirs h2 span[aria-hidden] { color: var(--color-accent); }
.foot2__dirs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot2__dirs a { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.foot2__dirs a svg { width: 14px; height: 14px; color: var(--color-rule-2); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.foot2__dirs a:hover, .foot2__dirs a:focus-visible { color: var(--color-ink); transform: translateX(4px); }
.js .foot2__dirs a svg { opacity: 0; transform: translateX(-6px); }
.js .foot2__dirs a:hover svg, .js .foot2__dirs a:focus-visible svg { opacity: 1; transform: none; color: var(--color-accent); }
.foot2__dirs a[aria-current="page"] { color: var(--color-accent); }
/* the giant wordmark: an outline that lights up in amber around the pointer */
.giant { position: relative; display: grid; user-select: none; margin: var(--space-lg) 0 calc(-1 * var(--space-xl)); --mx: 50%; --my: 50%; --r: 0px; }
.giant span { grid-area: 1 / 1; font-size: clamp(5rem, 19.5vw, 18.5rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; text-align: center; white-space: nowrap; }
.giant__stroke { color: transparent; -webkit-text-stroke: 1px var(--color-rule-2); }
.giant__fill { color: var(--color-accent);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), var(--mask-on), transparent); mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), var(--mask-on), transparent); transition: --r 500ms var(--ease-out); }
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.giant:hover { --r: 220px; }
.foot2__bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); background: var(--color-paper); }
.totop { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 36px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.totop svg { width: 14px; height: 14px; transition: transform var(--dur-short) var(--ease-out); }
.totop:hover { color: var(--color-accent); border-color: var(--color-accent); }
.totop:hover svg { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .foot2::before { animation: none; transform: none; } }
@media (max-width: 60rem) { .foot2__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .foot2__dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .readout > div { grid-template-columns: 6rem minmax(0, 1fr); } }

/* background colour fields: a seamless repeating band, so its edge never shows */
.bgfields { inset: 0 0 auto 0; height: 300vh; background-size: 100% 100vh; background-repeat: repeat-y; }
.readout .rel__v { font-size: var(--text-sm); letter-spacing: 0; line-height: inherit; }
.readout > div { align-items: baseline; }
.giant__stroke { -webkit-text-stroke: 1.2px color-mix(in oklab, var(--color-muted) 45%, transparent); color: color-mix(in oklab, var(--color-paper-2) 60%, transparent); }
/* giant wordmark v2: SVG text, so the outline is antialiased like any vector stroke */
.giant { display: grid; }
.giant__svg { grid-area: 1 / 1; width: 100%; height: auto; overflow: visible; }
.giant__svg text { font-family: var(--font-display); font-size: 270px; font-weight: 500; letter-spacing: -0.05em; }
.giant__stroke text { fill: var(--color-paper-2); stroke: var(--color-rule-2); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; shape-rendering: geometricPrecision; }
.giant__fill text { fill: var(--color-accent); stroke: none; }
.giant__fill { -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), var(--mask-on), transparent); mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), var(--mask-on), transparent); }
