/* Hallmark · shape: app screen · genre: editorial · theme: Riso (deal 3/3, seed cards-com-free-visiting-77b1·b7262063·2026-11-29·r0)
 * nav: a top bar, the name at one edge and three pages at the other · signature: the visitor's own card drawn as they type, and the A4 sheet of ten with its cutting marks · states: before the script, the sample card, a typed card, a field too long, a file being made, a file that failed
 * axes: light/grotesk-heavy/chromatic-pink · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 · weakest: H, a form, five choices and two cards share one screen; everything you set went to the left column and everything you get to the right, which stays in view */
/* Hallmark · grain: not used · the theme prints paper specks on its fills; this house sets no texture near text, so the fills are flat */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.2rem; --text-xl: 1.44rem; --text-2xl: 1.728rem; --text-3xl: 2.074rem;
  --text-display-s: 1.44rem; --text-display: 1.728rem; --text-section: 1.2rem; --text-title: 1rem; --text-lead: 1rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(97% 0.011 90); --color-paper-2: oklch(93.5% 0.034 356); --color-paper-3: oklch(84% 0.11 356);
  --color-ink: oklch(40% 0.165 265); --color-ink-2: oklch(45% 0.15 265); --color-muted: oklch(50% 0.115 265);
  --color-rule: oklch(85% 0.045 265);
  --color-accent: oklch(68% 0.235 356); --color-accent-ink: oklch(27% 0.13 265); --color-focus: oklch(44% 0.2 265);
  --font-display: "Cabinet Grotesk", ui-sans-serif, sans-serif; --font-body: "Literata", ui-serif, Georgia, serif;
  --radius-card: 2px; --radius-pill: 2px; --rule-hair: 1px;
  --shadow-card: none; --texture-opacity: 0.08;
  --tracking-display: -0.025em; --display-weight: 800;
}

:root {
  /* the site's own: the blue line that frames a control, the bar, a control's height, and card stock */
  --rule-ink: 1.5px; --bar-height: 64px; --control: 44px;
  --color-sheet: oklch(99% 0.004 90);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: duotone ink paper-2 con=14 */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-paper-2); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
[data-slot] > img { z-index: 0; filter: grayscale(1) contrast(1.14); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-ink); mix-blend-mode: lighten; pointer-events: none; }

@font-face { font-family: "Cabinet Grotesk"; src: url("/fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

body { line-height: 1.55; }
h1 { font-size: var(--text-3xl); line-height: 1; }
h2 { font-size: var(--text-2xl); line-height: 1.02; }
h3 { font-size: var(--text-lg); }
a { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 4px; }
.lead { font-size: var(--text-lg); line-height: 1.45; }

.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); }
.skip:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- the bar: the name at one edge, the pages at the other, a blue rule under it ---- */
.bar { border-bottom: var(--rule-ink) solid var(--color-ink); background: var(--color-paper); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: var(--bar-height); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.wordmark__in { color: var(--color-muted); }
.bar__nav { display: flex; align-items: center; gap: var(--space-2xs); }
.bar__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-sm); font-weight: 500; text-decoration: none; white-space: nowrap; border-radius: var(--radius-pill); transition: background-color var(--dur-short) var(--ease-out); }
.bar__nav a:hover { background: var(--color-paper-2); }
.bar__nav a:active { background: var(--color-paper-3); }
.bar__nav a[aria-current="page"] { background: var(--color-paper-2); box-shadow: inset 0 -3px 0 var(--color-accent); }

/* ---- controls: a pink fill for the one thing to do, a blue line for the rest ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control); padding: 0 var(--space-md); border: var(--rule-ink) solid var(--color-ink); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); font-family: var(--font-body); font-weight: 500; font-size: var(--text-md); line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); text-decoration: none; }
.btn:active { transform: translate(1px, 1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:has(input:disabled) { 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-ink); color: var(--color-accent-ink); font-weight: 500; }
.btn--primary:hover { background: var(--color-paper-3); }
.btn--onink { border-color: var(--color-paper); color: var(--color-paper); }
.btn--onink:hover { background: var(--color-ink-2); }
.band .btn:focus-visible { outline-color: var(--color-paper); }
.textbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; cursor: pointer; }
.textbtn:hover { text-decoration-thickness: 4px; }
.textbtn:active { transform: translate(1px, 1px); }
.textbtn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.textbtn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- the bench: what you set on the left, what you get on the right ---- */
.bench { padding-block: var(--space-xl) var(--space-2xl); }
.bench__head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.bench__work { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.maker { display: grid; gap: var(--space-lg); min-width: 0; }
.group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-sm); }
.group > legend { padding: 0; margin-bottom: var(--space-sm); font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: var(--tracking-display); line-height: 1.1; }
.group--pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-md); }
.group--pair > legend, .group--pair > .field--wide { grid-column: 1 / -1; }
.field { display: grid; gap: var(--space-2xs); min-width: 0; }
.field__label { font-size: var(--text-sm); font-weight: 500; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="url"] { width: 100%; min-height: var(--control); padding: 0 var(--space-sm); border: var(--rule-ink) solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-weight: 500; font-size: var(--text-md); }
.field input::placeholder { color: var(--color-muted); font-weight: 400; opacity: 1; }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.logo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.logo__hint { flex-basis: 100%; font-size: var(--text-sm); color: var(--color-muted); }

/* a choice between a few: the radio stays in the flow at one pixel, the label is the control */
.seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; min-width: 0; }
.seg > legend { padding: 0; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: var(--control); padding: 0 var(--space-sm); border: var(--rule-ink) solid var(--color-rule); border-radius: var(--radius-card); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.seg label:hover { border-color: var(--color-ink); }
.seg label:active { transform: translate(1px, 1px); }
.seg input:checked + label { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg input:disabled + label { opacity: 0.55; cursor: not-allowed; }
/* the colour sets: paper, ink and accent of the card itself, set from the card's own table by the script */
.seg--swatch label { gap: var(--space-xs); padding-inline: var(--space-xs) var(--space-sm); }
.sw { display: inline-grid; grid-template-columns: 14px 7px 7px; width: 28px; height: 20px; border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); overflow: hidden; background: var(--color-sheet); }
.sw i { display: block; }
.sw i:nth-child(1) { background: var(--sw-paper, transparent); }
.sw i:nth-child(2) { background: var(--sw-ink, transparent); }
.sw i:nth-child(3) { background: var(--sw-accent, transparent); }

/* ---- the stage: the card, its back, the files ---- */
.stage { position: sticky; top: var(--space-md); display: grid; gap: var(--space-md); min-width: 0; padding: var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius-card); }
.cardview { display: grid; gap: var(--space-xs); min-width: 0; }
.seg--sides { justify-content: flex-start; }
.cardfig { margin: 0; display: grid; gap: var(--space-xs); min-width: 0; }
.cardfig__paper { position: relative; width: 100%; aspect-ratio: 88.9 / 50.8; background: var(--color-sheet); outline: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.cardfig__paper canvas { display: block; width: 100%; height: 100%; }
.cardfig__wait { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-md); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }
.js .cardfig__wait { display: none; }
.cardfig figcaption { font-size: var(--text-sm); }
.stage__note { font-size: var(--text-sm); color: var(--color-ink); }
.stage__note:empty { display: none; }
.stage__note--warn { padding: var(--space-xs) var(--space-sm); background: var(--color-paper); border: var(--rule-ink) solid var(--color-ink); border-radius: var(--radius-card); }
.acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); }
.acts .btn { padding-inline: var(--space-xs); }
.acts .btn--primary { grid-column: 1 / -1; }
.stage__status { min-height: 1lh; font-size: var(--text-sm); }
.stage__stays { font-size: var(--text-sm); color: var(--color-ink-2); }
.nojs { padding: var(--space-sm) var(--space-md); border: var(--rule-ink) solid var(--color-ink); border-radius: var(--radius-card); font-size: var(--text-sm); }
.js .nojs { display: none; }

/* ---- sections under the bench ---- */
.sec { padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.sec__head { display: grid; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.rows { margin: 0; display: grid; }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.rows > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: var(--tracking-display); line-height: 1.15; }
.rows dd { margin: 0; }
.diagram { margin: 0; display: grid; gap: var(--space-xs); }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: var(--text-sm); color: var(--color-ink-2); }
.sheetfig__paper { fill: var(--color-sheet); stroke: var(--color-ink); stroke-width: 0.6; }
/* the two drums cross on the sheet: the pink prints the bleed, the blue prints the card over it, and the card comes out purple */
.sheetfig__bleed { fill: var(--color-accent); }
.sheetfig__card { fill: var(--color-ink); mix-blend-mode: multiply; }
.sheetfig__line { stroke: var(--color-paper); stroke-width: 0.9; stroke-linecap: round; }
.sheetfig__mark { stroke: var(--color-ink); stroke-width: 0.35; }
.areafig__file { fill: var(--color-paper-3); }
.areafig__card { fill: var(--color-sheet); stroke: var(--color-ink); stroke-width: 0.5; }
.areafig__safe { fill: none; stroke: var(--color-ink); stroke-width: 0.35; stroke-dasharray: 1.6 1.2; }
.areafig__dim { stroke: var(--color-ink); stroke-width: 0.3; }
.areafig text { font-family: var(--font-body); font-size: 3.1px; fill: var(--color-ink); }
.key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); }
.key li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.key i { display: inline-block; width: 22px; height: 12px; border-radius: var(--radius-card); }
.key__file { background: var(--color-paper-3); }
.key__cut { background: var(--color-sheet); outline: var(--rule-ink) solid var(--color-ink); outline-offset: -1px; }
.key__safe { outline: var(--rule-hair) dashed var(--color-ink); outline-offset: -1px; }

/* the blue drum at full strength: one band a page */
.band { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-2xl); }
.band h2 { color: var(--color-paper); }
.band__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.band__say { display: grid; gap: var(--space-lg); justify-items: start; }
.asks { margin: 0; padding: 0; list-style: none; counter-reset: ask; display: grid; }
.asks li { counter-increment: ask; display: grid; grid-template-columns: var(--space-xl) minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-muted); }
.asks li::before { content: counter(ask); font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1; }

/* ---- reading pages ---- */
.head { padding-block: var(--space-2xl) var(--space-xl); }
.head__in { display: grid; gap: var(--space-sm); }
.byline { font-size: var(--text-sm); color: var(--color-ink-2); }
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.qa__a { display: grid; gap: var(--space-md); min-width: 0; }
.steps { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); max-width: 65ch; }
.steps li::marker { font-weight: 500; }
.tablewrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; text-align: left; border-top: var(--rule-hair) solid var(--color-rule); white-space: nowrap; }
.table thead th { border-top: 0; border-bottom: var(--rule-ink) solid var(--color-ink); font-size: var(--text-sm); font-weight: 500; }
.table tbody th { font-weight: 500; }
.go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.statement { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: 1.3; letter-spacing: var(--tracking-display); max-width: 24ch; text-wrap: balance; }

/* ---- the foot ---- */
.foot { border-top: var(--rule-ink) solid var(--color-ink); padding-block: var(--space-xl); }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--space-xl); }
.foot__lead { display: grid; gap: var(--space-xs); align-content: start; }
.foot__h { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); margin-bottom: var(--space-xs); }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.foot__col a { display: inline-flex; align-items: center; min-height: 32px; }
.foot__line { grid-column: 1 / -1; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---- the share card (photographed, never published) ---- */
.og { width: 1200px; height: 630px; background: var(--color-paper); }
.og__in { display: grid; grid-template-columns: 520px 1fr; gap: var(--space-2xl); align-items: center; height: 100%; padding: var(--space-2xl); }
.og__say { display: grid; gap: var(--space-lg); }
.og__say h1 { font-size: 4.6rem; line-height: 0.92; max-width: 8ch; }
.og__name { font-size: var(--text-2xl); }
.og__cards { position: relative; height: 420px; }
.og__card { position: absolute; width: 440px; aspect-ratio: 88.9 / 50.8; border-radius: var(--radius-card); display: grid; align-content: space-between; padding: var(--space-lg); }
.og__card--back { left: 70px; top: 30px; background: var(--color-accent); }
.og__card--front { left: 0; top: 150px; background: var(--color-sheet); outline: var(--rule-ink) solid var(--color-ink); }
.og__card b { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); line-height: 1; letter-spacing: var(--tracking-display); }
.og__card span { font-size: var(--text-lg); }

@media (max-width: 60rem) {
  .bench__work { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  /* on a phone the card stays in view while you type; its back and the files come after the fields */
  .stage { display: contents; }
  .cardview { order: -1; position: sticky; top: 0; z-index: var(--z-sticky); margin-inline: calc(-1 * var(--gutter)); padding: var(--space-md) var(--gutter); background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .cardview .seg label { min-height: 36px; }
  .cardfig figcaption { font-size: var(--text-xs); }
  .split, .band__in, .qa { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__lead { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  h1 { font-size: var(--text-2xl); }
  .group--pair { grid-template-columns: minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .bar__nav a { padding-inline: var(--space-xs); }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  /* the table of sizes: each size becomes a block of labelled lines, so no column is out of sight */
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table tr { padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
  .table th, .table td { padding: 0; border: 0; white-space: normal; }
  .table td { display: flex; justify-content: space-between; gap: var(--space-md); }
  .table td::before { content: attr(data-label); color: var(--color-ink-2); }
}
@media (prefers-reduced-motion: reduce) { .btn, .seg label, .bar__nav a { transition: none; } }
