/* Tally project page. Dark slate taken from the mark's own background, a
   refined serif with italics for display, a clean sans for reading, mono for
   code and labels, and one accent: the orange of the slash. */

:root {
  --bg: #1b1e27;
  --panel: #232733;
  --panel-2: #2a2f3d;
  --line: rgba(236, 238, 242, .12);
  --text: #eceef2;
  /* secondary text: 8.6:1 on the page, 7.7:1 on panels */
  --muted: #b4bac8;
  --accent: #f0703a;
  --good: #8fd3a8;
  --paper: #f5f2ea;
  --ink: #1b1e27;
  --serif: Newsreader, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, pre, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration-color: rgba(236, 238, 242, .35); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: .9em; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(860px, 100% - 48px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; background: var(--paper); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; }
h1 { font-size: clamp(44px, 6.6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; }
h3 { font: 600 18px/1.35 var(--sans); }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 18px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 54ch; }
.body { margin-top: 20px; color: var(--muted); max-width: 56ch; }
.body a, .body code { color: var(--text); }
.aside { margin-top: clamp(28px, 4vw, 48px); font: italic 400 clamp(21px, 2.2vw, 28px)/1.3 var(--serif); }
.aside.small { font: 400 15px/1.6 var(--sans); color: var(--muted); }

/* ---------- header ---------- */

.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(27, 30, 39, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 17px/1 var(--sans); }
.site-head nav { display: flex; gap: clamp(14px, 2.4vw, 30px); font: 500 14.5px/1 var(--sans); }
.site-head nav a { color: var(--muted); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.site-head nav a:hover { color: var(--text); }
.menu-button { display: none; padding: 8px 14px; font: 500 14px/1 var(--sans); color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }

/* ---------- the pixel mark, generated from the CLI's frames ---------- */

.pixel-mark { display: block; width: 100%; height: auto; overflow: visible; }
.pixel-mark.small { width: 26px; }
.pixel-mark .ink { fill: var(--text); }
.pixel-mark .sl { fill: var(--accent); }
.pixel-mark text { fill: var(--text); font: 400 1.62px var(--mono); }
.pixel-mark .it { font-style: italic; }
/* Each square switches on at the frame the terminal draws it: 40 ms a frame, as in the CLI. */
.pixel-mark.draws rect, .pixel-mark.draws text { animation: on 1ms steps(1) calc(var(--t) * 40ms + 350ms) backwards; }
.pixel-mark.draws .eye { transform-box: fill-box; transform-origin: center;
  animation: on 1ms steps(1) calc(var(--t) * 40ms + 350ms) backwards, shut 80ms steps(1) calc(var(--shut) * 40ms + 350ms) 1, shut 6s steps(1) 5s infinite; }
@keyframes on { from { opacity: 0; } }
@keyframes shut { 0% { scale: 1 .2; } 1.4%, 100% { scale: 1 1; } }

/* ---------- hero ---------- */

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(48px, 7vw, 96px) 24px clamp(64px, 8vw, 110px); }
.mark-stage { width: min(720px, 100%); padding: clamp(18px, 3vw, 36px) clamp(14px, 3vw, 40px); border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 60px); }
.hero .lede { margin-top: 22px; }
.install { margin-top: 34px; width: min(480px, 100%); }
.command { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.command .prompt { font: 400 15px/1 var(--mono); color: var(--muted); }
.command code { flex: 1; min-width: 0; font: 400 clamp(12px, 3.3vw, 15.5px)/1.3 var(--mono); white-space: nowrap; overflow-x: auto; user-select: all; scrollbar-width: none; }
.copy { flex: none; padding: 8px 14px; font: 500 13px/1 var(--mono); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: color .15s, border-color .15s; }
.copy:hover { color: var(--text); border-color: var(--muted); }
.copy.done { color: var(--good); border-color: var(--good); }
.copy-status { min-height: 1.4em; margin-top: 8px; font: 400 13px/1.4 var(--sans); color: var(--good); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-top: 14px; }
.button { display: inline-block; padding: 14px 24px; font: 600 15.5px/1 var(--sans); color: #1d0c04; text-decoration: none; border-radius: 999px; background: var(--accent); transition: background .15s, translate .15s; }
.button:hover { background: #ff8450; translate: 0 -1px; }
.quiet { padding: 0; font: 500 15px/1 var(--sans); color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(154, 161, 178, .4); text-underline-offset: 4px; }
.quiet:hover { color: var(--text); }

/* ---------- sections ---------- */

.band { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.band.light { background: var(--paper); color: var(--ink); border-top: 0; }
.band.light .body { color: #4d5262; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.js .reveal { opacity: 0; translate: 0 16px; transition: opacity .6s ease-out, translate .6s ease-out; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* window frames for product views, in the manner of a dark app window */
.frame, .terminal { border-radius: 12px; overflow: hidden; background: #14161d; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(8, 9, 14, .5); }
.frame-bar, .term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.frame-bar i, .term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(236, 238, 242, .16); }
.frame-bar span, .term-bar span { margin-left: 8px; font: 400 12.5px/1 var(--mono); color: var(--muted); }

/* ---------- video ---------- */

.video-frame { margin-top: clamp(28px, 4vw, 48px); }
.screen { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #101218; }
.screen video, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pending { text-align: center; padding: 0 20px; }
.pending b { display: block; font: italic 400 clamp(28px, 4.4vw, 48px)/1.1 var(--serif); }
.pending span { display: block; margin-top: 10px; font: 400 13.5px/1.5 var(--mono); color: var(--muted); }
.video-frame.has-video .pending { display: none; }

/* ---------- five steps ---------- */

.steps { list-style: none; padding: 0; margin-top: clamp(32px, 4.5vw, 60px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 22px 22px 6px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font: 400 15px/1 var(--mono); color: var(--accent); margin-bottom: 26px; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ---------- the terminal ---------- */

.terminal { container-type: inline-size; margin: 0; }
.term-body { padding: 18px 16px 20px; color: #d9dce6; min-height: 300px; }
/* 61 columns of block characters must fit any width: size the type from the terminal's own width */
.term-logo { font: 400 min(15px, 2.62cqw)/1 Menlo, Consolas, 'DejaVu Sans Mono', 'Liberation Mono', monospace; white-space: pre; overflow: hidden; }
.term-logo .s { color: var(--accent); } .term-logo .sb { background: var(--accent); } .term-logo .b { font-weight: 700; } .term-logo .i { font-style: italic; } .term-logo .d { opacity: .5; }
.term-lines { margin-top: 18px; font: 400 clamp(11.5px, 2.5cqw, 13.5px)/1.65 var(--mono); }
.term-lines p { overflow-wrap: anywhere; padding-left: 2ch; text-indent: -2ch; }
.term-lines .cmd { color: #fff; font-weight: 500; margin-top: .8em; }
.term-lines .ps { color: var(--accent); }
.term-lines .spend { color: var(--muted); }
.term-lines .ok { color: var(--good); }
.js .term-lines.playing p { visibility: hidden; }
.js .term-lines.playing p.shown { visibility: visible; }
.term-lines .caret::after { content: '▍'; margin-left: 2px; animation: caret 1s steps(2) infinite; color: var(--accent); }
@keyframes caret { 50% { opacity: 0; } }
.terminal figcaption { padding: 14px 16px 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); border-top: 1px solid var(--line); }
.terminal figcaption button { font-size: 13.5px; margin-left: 4px; }

/* ---------- three switches ---------- */

.tg-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(32px, 4.5vw, 56px); }
.sw { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.sw:last-child { border-bottom: 1px solid var(--line); }
.sw .st { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.sw .st b { color: var(--text); font-weight: 600; }
/* The sentence for the switch's present position is marked; the other stays fully readable. */
.js .sw .st { padding-left: 12px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.js .sw[data-on='false'] .st.off, .js .sw[data-on='true'] .st.on { color: var(--text); border-left-color: var(--accent); }
[role='switch'] { flex: none; width: 46px; height: 26px; margin-top: 2px; padding: 0; border-radius: 999px; cursor: pointer; position: relative; border: 0; background: var(--panel-2); transition: background .2s; }
[role='switch'] .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: left .2s ease-out; }
[role='switch'][aria-checked='true'] { background: var(--accent); }
[role='switch'][aria-checked='true'] .knob { left: 23px; }

.sample { border-radius: 12px; padding: clamp(18px, 2.4vw, 28px); background: var(--panel); border: 1px solid var(--line); }
.sample-state { font: 400 12.5px/1.5 var(--mono); color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sample-state.changed { color: var(--accent); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.row > div { padding: 12px 0 11px; border-bottom: 1px solid var(--line); }
.row > .wide { grid-column: 1 / -1; }
.row dt { font: 400 12.5px/1.2 var(--mono); color: var(--muted); }
.row dd { margin-top: 5px; font: 400 14.5px/1.45 var(--sans); overflow-wrap: anywhere; }
.row dd.id { font: 400 12.5px/1.5 var(--mono); }
.sample .card { margin-top: 18px; padding: 16px 18px 18px; border-radius: 10px; background: #14161d; border: 1px solid var(--line); }
.card-title { font: 400 12px/1.2 var(--mono); color: var(--muted); }
.sample .big { font: 400 clamp(26px, 3vw, 36px)/1.1 var(--serif); margin-top: 6px; }
.sample .src { font-size: 14.5px; color: var(--text); margin-top: 4px; }
.sample .meter { height: 6px; margin: 14px 0 4px; border-radius: 3px; background: var(--panel-2); overflow: hidden; }
.sample .meter i { display: block; height: 100%; min-width: 6px; background: var(--accent); transition: width .5s; }
.sample .fine { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.sample .absent { color: var(--muted); font-style: italic; }
.sample .redrawn { animation: redraw .8s ease-out; }
@keyframes redraw { 0% { color: var(--accent); opacity: 0; translate: 0 4px; } 30% { opacity: 1; translate: 0 0; } 100% { color: inherit; } }

/* ---------- Agent Orchestrator ---------- */

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(32px, 4.5vw, 56px); }
.mode { padding: 26px 26px 28px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.mode img { display: block; margin-bottom: 18px; }
.mode p { margin-top: 8px; color: var(--muted); }

/* ---------- product screenshots ---------- */

.shot { margin: clamp(32px, 4.5vw, 56px) 0 0; }
.shot img { display: block; width: 100%; height: auto; }

/* ---------- for the judges ---------- */

.band.light a { text-decoration-color: rgba(27, 30, 39, .35); }
.band.light a:hover { text-decoration-color: var(--accent); }
.band.light .eyebrow { color: #a23c12; }
.weights { list-style: none; padding: 0; margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 8px; }
.weights a { display: block; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(27, 30, 39, .18); text-decoration: none; font: 500 14px/1 var(--sans); transition: border-color .15s, background .15s; }
.weights a:hover { border-color: var(--ink); background: #fff; }
.weights b { font: 500 13px/1 var(--mono); color: #a23c12; margin-right: 4px; }
.criterion { margin-top: clamp(44px, 6vw, 80px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(27, 30, 39, .16); }
.criterion > header { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; }
.weight { font: 400 clamp(40px, 5vw, 64px)/.95 var(--serif); letter-spacing: -.03em; color: #c4501f; min-width: 2.4ch; }
.criterion h3 { font: 400 clamp(24px, 2.6vw, 32px)/1.15 var(--serif); letter-spacing: -.01em; }
.quote { margin-top: 8px; font: italic 400 17px/1.5 var(--serif); color: #4d5262; max-width: 62ch; }
.evidence { display: grid; gap: 14px; margin-top: clamp(22px, 3vw, 34px); }
.evidence + .evidence { margin-top: 14px; }
.evidence.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.evidence.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev { padding: 20px 22px 22px; border-radius: 12px; background: #fff; border: 1px solid rgba(27, 30, 39, .12); }
.ev h4 { margin: 0 0 12px; font: 600 15.5px/1.35 var(--sans); }
.ev p { font-size: 15px; line-height: 1.6; color: #333848; }
.ev p + p { margin-top: 10px; }
.ev .note, .criterion .note { font-size: 13px; color: #555b6c; }
.ev .ids { font: 400 12px/1.7 var(--mono); overflow-wrap: anywhere; }
.ev .ids code { font-size: 1em; }
.figure { font: 400 1.5em/1 var(--serif); letter-spacing: -.02em; }
.bars { list-style: none; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'name cost pr' 'track track track'; column-gap: 12px; row-gap: 6px; align-items: baseline; font-size: 14px; }
.b-name { grid-area: name; }
.b-cost { grid-area: cost; font: 500 13.5px/1 var(--mono); }
.bars a { grid-area: pr; font: 400 12.5px/1 var(--mono); }
.b-track { grid-area: track; height: 8px; border-radius: 4px; background: #ece8dd; overflow: hidden; }
.b-track i { display: block; height: 100%; border-radius: 4px; background: var(--ink); transform-origin: left; }
.js .reveal:not(.in) .b-track i { scale: 0 1; }
.b-track i { transition: scale .9s cubic-bezier(.2, .7, .2, 1) .2s; }
.bars + .note { margin-top: 14px; }
.trail { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; color: #333848; }
.trail li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 12px; align-items: baseline; }
.chip { justify-self: start; padding: 4px 8px; border-radius: 6px; font: 500 11.5px/1 var(--mono); background: #ece8dd; color: #333848; }
.chip.bad { background: #fbe1d5; color: #a23c12; }
.chip.good { background: #dcefe2; color: #1f6b3d; }
.trail + .note { margin-top: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.thumb { margin: 0; }
.thumb > a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; border: 1px solid rgba(27, 30, 39, .14); background: #f0e6cf; transition: border-color .15s, translate .15s; }
.thumb > a:hover { border-color: var(--ink); translate: 0 -2px; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tag { position: absolute; left: 8px; top: 8px; padding: 4px 6px; border-radius: 5px; font: 500 11px/1 var(--mono); background: var(--ink); color: var(--paper); }
.thumb figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: #333848; }
.slot { padding: 16px 18px; border-radius: 12px; border: 1px dashed rgba(27, 30, 39, .35); font-size: 14.5px; line-height: 1.55; color: #4d5262; }
.slot span { display: block; margin-bottom: 4px; font: 500 11.5px/1.2 var(--mono); color: #a23c12; }
.criterion > .slot { margin-top: clamp(22px, 3vw, 34px); max-width: 62ch; }
.ev > .slot { margin-top: 14px; }
.criterion details { margin-top: 18px; }
.criterion summary { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(27, 30, 39, .2); font: 500 14px/1 var(--sans); cursor: pointer; list-style: none; }
.criterion summary::-webkit-details-marker { display: none; }
.criterion summary::after { content: ' +'; font-family: var(--mono); }
.criterion details[open] summary::after { content: ' −'; }
.criterion summary:hover { border-color: var(--ink); }
.plain { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 8px; font-size: 14.5px; color: #333848; max-width: 78ch; }

.bars.compare li { grid-template-areas: 'name cost' 'track track' 'detail detail'; grid-template-columns: minmax(0, 1fr) auto; }
.bars.compare .b-cost { font-size: 15px; }
.bars.compare .b-track i { background: var(--accent); }
.bars.compare .base .b-track i { background: var(--ink); }
.b-detail { grid-area: detail; font-size: 13px; color: #555b6c; }
.b-detail:empty { display: none; }
.ev > p + .bars { margin-top: 16px; }
.limits { margin: 18px 0 0; padding: 14px 0 0 18px; border-top: 1px solid rgba(27, 30, 39, .12); display: grid; gap: 6px; font-size: 13.5px; line-height: 1.55; color: #333848; }
/* the same comparison, compact, on the dark page */
.measure { margin: clamp(36px, 5vw, 64px) 0 0; padding: clamp(20px, 2.6vw, 30px); border-radius: 12px; background: var(--panel); border: 1px solid var(--line); max-width: 760px; }
.measure figcaption { font: 400 clamp(19px, 2vw, 24px)/1.35 var(--serif); margin-bottom: 20px; }
.measure .b-track { background: var(--panel-2); }
.measure .bars.compare .base .b-track i { background: var(--text); }
.measure .note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- contact ---------- */

.ways { list-style: none; padding: 0; margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.ways li { display: grid; grid-template-columns: 7em minmax(0, 1fr); align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ways span { font: 400 13px/1 var(--mono); color: var(--muted); }
.ways a { font-size: clamp(16px, 1.8vw, 19px); overflow-wrap: anywhere; }

/* ---------- narrower screens ---------- */

@media (max-width: 900px) {
  .split, .tg-grid, .modes, .evidence.two, .evidence.three { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); padding: 18px 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; }
  .steps li + li { padding-left: 0; border-left: 0; }
  .steps li::before { grid-row: span 2; margin: 3px 0 0; }
  /* phones: the whole nav sits behind a Menu button; without scripts it simply wraps under the brand */
  .site-head { flex-wrap: wrap; }
  .site-head nav { flex-basis: 100%; flex-wrap: wrap; gap: 4px 18px; }
  .js .menu-button { display: block; }
  .js .site-head nav { display: none; flex-direction: column; gap: 0; padding: 6px 0 4px; }
  .js .site-head.open nav { display: flex; }
  .js .site-head nav a { padding: 13px 0; font-size: 16px; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .command { gap: 8px; padding-left: 16px; }
  .copy { padding: 8px 11px; }
  .wrap, .wrap.narrow { width: calc(100% - 40px); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .ways li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .criterion > header { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .thumbs { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- motion off: everything in its finished state ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
