/* Hallmark · shape: Workbench · genre: playful · theme: Halftone (deal 3/3, seed mixing-label-concentrate-water-9f94·7d8c5112·2026-12-05·r0) · job: try · draw: manual
 * hero: the head over the first card, the tool on the first screen · nav: edge-aligned, the wordmark and two links · footer: a ruled note over the credit lines · imagery: none, the figures printed on the cream · signature: one ratio read two ways side by side, "1 to" and "1 in", as label panels on the back of a can · halftone: cream, screen none (owner rule: no dots or texture behind type), the spot prints solid on the card numbers, the answer and the focus ring
 * axes: light/slab-serif/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, three cards and one page of worked sums; the wells, the label panels and the spot numbers carry the look */
/* Hallmark · waive 77 · every page · three calculators and a page of their sums, not a landing strip */
/* Hallmark · dismiss 23 · the cards · the card numbers and the answer are figures printed solid in the spot, the one thing Halftone lets the spot carry at display size; every head and word is ink */
/* Hallmark · waive 59 · the home page · the head and its three cards are one tool: the head sits 64px over the first card so the tool shows on the first screen; the other gaps keep the section steps */
/* Hallmark · waive 44c · every page · the first card is the first screen's visual on the home page; on how it works the head stands over its worked lists */
: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.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --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(96.2% 0.032 94); --color-paper-2: oklch(92.6% 0.046 92); --color-paper-3: oklch(87.5% 0.058 90);
  --color-ink: oklch(23% 0.040 38); --color-ink-2: oklch(33% 0.045 40); --color-muted: oklch(44% 0.048 44);
  --color-rule: oklch(82% 0.042 82);
  --color-accent: oklch(54.5% 0.215 33); --color-accent-deep: oklch(46% 0.19 31); --color-accent-ink: oklch(97% 0.022 94); --color-focus: oklch(46% 0.19 31);
  --color-dot: var(--color-accent); --halftone-size: 12px; --halftone-dot: 3px;
  --font-display: "Ultra", ui-serif, Georgia, serif; --font-body: "Chivo", ui-sans-serif, sans-serif;
  --radius-card: 0; --radius-input: 3px; --radius-pill: 999px; --rule-hair: 1px; --rule-bar: 3px;
  --shadow-card: none;
  --tracking-display: 0.005em; --display-weight: 400;
}

*, *::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) 30%, transparent); }
: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: natural vib=25 sat=10 con=6 */
[data-slot] > img { filter: saturate(1.1) contrast(1.06); }

:root { --font-outlier: var(--font-display); }

@font-face { font-family: "Ultra"; src: url("/fonts/ultra-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Chivo"; src: url("/fonts/chivo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Chivo"; src: url("/fonts/chivo-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Chivo"; src: url("/fonts/chivo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2, h3 { font-weight: var(--display-weight); color: var(--color-ink); line-height: 1.08; }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
a { color: var(--color-ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
a:hover { color: var(--color-accent-deep); }
a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* the bar */
.bar { border-bottom: var(--rule-bar) solid var(--color-ink); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); text-decoration: none; }
.wordmark span { color: var(--color-accent-deep); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; color: var(--color-ink-2); }
.bar__nav a:active { transform: translateY(1px); }
.bar__nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.4em; }

.hero { padding-block: var(--space-2xl); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); max-width: 17ch; }
.hero .lead { margin-top: var(--space-sm); max-width: 46ch; }

/* the cards: a well each, the figures as label panels */
.cards { display: grid; gap: var(--space-2xl); padding-bottom: var(--section-gap-s); }
.card { border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); padding: var(--space-xl); }
.card__head { display: flex; align-items: baseline; gap: var(--space-md); }
.card__n { font-family: var(--font-display); font-size: 4.5rem; line-height: 0.9; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.card h2 { font-size: var(--text-section); max-width: 22ch; }
.card__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--space-2xl); margin-top: var(--space-lg); align-items: start; }
.fields { display: grid; gap: var(--space-lg); }
.field { display: grid; gap: var(--space-2xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.hint { display: block; font-weight: 400; color: var(--color-muted); }
.field input, .field select { height: 52px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); min-width: 0; }
.field input { width: 100%; font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.field select { flex: 0 0 auto; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; }
.field input:disabled, .field select:disabled { opacity: 0.5; cursor: not-allowed; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.pair, .pre { display: flex; align-items: center; gap: var(--space-xs); }
.pair input { flex: 1 1 auto; }
.pre b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; white-space: nowrap; color: var(--color-ink); }

.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
.answers--one { grid-template-columns: minmax(0, 1fr); }
.answer h3 { font-size: var(--text-xl); }
.answer__means { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.panel { margin: var(--space-sm) 0 0; border-top: var(--rule-bar) solid var(--color-ink); }
.panel > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-2xs) var(--space-sm); padding-block: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-muted); }
.panel dt { font-weight: 700; color: var(--color-ink); }
.panel dd { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.big { margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: var(--rule-bar) solid var(--color-ink); font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.say { margin-top: var(--space-lg); color: var(--color-ink); max-width: 64ch; }

/* the band: the one statement knocked out of the ink */
.band { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-2xl); }
.band__in { display: grid; gap: var(--space-md); }
.band h2 { color: var(--color-paper); font-size: var(--text-section); max-width: 18ch; }
.band p { max-width: 52ch; font-size: var(--text-lead); }
.band a { color: var(--color-paper); text-decoration-color: var(--color-accent); }
.band a:hover { color: var(--color-paper-3); }
.band a:focus-visible { outline-color: var(--color-paper); }

/* how it works */
.head { padding-block: var(--space-2xl) var(--space-xl); }
.head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.head .lead { margin-top: var(--space-md); max-width: 56ch; }
.sec { padding-block: var(--section-gap-s); border-top: var(--rule-bar) solid var(--color-ink); }
.sec--first { padding-top: var(--space-xl); }
.sec h2 { font-size: var(--text-section); }
.sec h2 + * { margin-top: var(--space-lg); }
.sec__note { margin-top: var(--space-xl); max-width: 64ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 66ch; }
.steps li { padding: var(--space-md) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); }
.steps b { color: var(--color-ink); font-weight: 700; }

.foot { border-top: var(--rule-bar) solid var(--color-ink); }
.foot__in { padding-block: var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-sm); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

/* ---- the expansion (2026-12-05, #967): the menu, crumbs, the index, tools, tables, quotes, notes, the register, print ---- */
.bar__menu { display: none; min-height: 44px; align-items: center; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-paper); font-weight: 700; color: var(--color-ink); text-decoration: none; cursor: pointer; }
.bar__menu:hover { color: var(--color-accent-deep); }
.bar__menu:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.crumbs { margin: 0 0 var(--space-md); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-muted); }
.crumbs a { color: var(--color-ink-2); }

.jump { margin-top: var(--space-sm); max-width: 60ch; color: var(--color-ink); }

.index { padding-block: var(--section-gap-s); }
.index h2 { font-size: var(--text-section); }
.index__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); margin-top: var(--space-xl); }
.index__group h3 { font-size: var(--text-xl); padding-bottom: var(--space-xs); border-bottom: var(--rule-bar) solid var(--color-ink); }
.index__group ul { list-style: none; margin: 0; padding: 0; }
.index__group li { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-muted); }
.index__group li a { font-weight: 700; }
.index__group li span { display: block; font-size: var(--text-sm); color: var(--color-muted); }

.tool h2 { font-size: var(--text-section); max-width: 22ch; }
.tool .answer .panel { margin-top: 0; }
.cards + .sec { border-top: var(--rule-bar) solid var(--color-ink); }

.calcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 48rem; }
.calcs li { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-muted); }
.calcs h3 { font-size: var(--text-xl); }
.calcs p { margin-top: var(--space-2xs); max-width: 52ch; }
.plain { margin: 0 0 var(--space-md); padding-left: var(--space-lg); display: grid; gap: var(--space-xs); max-width: 70ch; }
.plain b { color: var(--color-ink); }
.sec p + p, .sec .quote + p, .sec p + .tbl-wrap, .sec .tbl-wrap + p, .sec .steps + .quote, .sec .quote + .quote, .sec .quote + .note, .sec p + .quote { margin-top: var(--space-lg); }

.tbl-wrap { overflow-x: auto; max-width: 100%; border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); }
.tbl-wrap:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.tbl { border-collapse: collapse; width: 100%; font-size: var(--text-md); }
.tbl caption { caption-side: top; text-align: left; padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.tbl th, .tbl td { padding: var(--space-xs) var(--space-md); border-top: var(--rule-hair) solid var(--color-muted); text-align: left; vertical-align: baseline; }
.tbl thead th { border-top: var(--rule-bar) solid var(--color-ink); color: var(--color-ink); font-weight: 700; white-space: nowrap; }
.tbl tbody th { font-weight: 500; color: var(--color-ink); white-space: nowrap; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl--chart td.num { font-family: var(--font-body); font-weight: 500; }
.tbl--text td.num { text-align: left; white-space: normal; }

.quote { margin: 0; max-width: 40rem; }
.quote blockquote { margin: 0; padding: var(--space-lg) var(--space-xl); border-left: var(--rule-bar) solid var(--color-accent); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-lg); line-height: 1.6; }
.quote blockquote li + li { margin-top: var(--space-sm); }
.sec .quote + .quote { margin-top: var(--space-2xl); }
.quote blockquote ul { margin: var(--space-xs) 0 0; padding-left: var(--space-lg); }
.quote figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.quote figcaption .ref { color: var(--color-ink-2); }

.note { max-width: 68ch; padding: var(--space-md) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); }
.note p + * { margin-top: var(--space-sm); }
main > .note { margin: 0 auto var(--space-xl); width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); }
main > .note .quote { max-width: 68ch; }

.register { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 68ch; }
.register__claim { margin: 0; color: var(--color-ink); font-weight: 700; }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); border-left: var(--rule-bar) solid var(--color-accent); background: var(--color-paper-2); }
.register blockquote p { margin: 0; }
.register blockquote ul { margin: var(--space-2xs) 0 0; padding-left: var(--space-lg); }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); max-width: 64ch; }

.foot__more { list-style: none; margin: 0 0 var(--space-sm); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); }
.foot__more a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }

.btn { min-height: 44px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-paper); font-weight: 700; cursor: pointer; }
.btn:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.print { margin-top: var(--space-md); }
.also { margin-top: var(--space-xl); font-weight: 700; color: var(--color-ink); }

@media (max-width: 760px) {
  .bar__menu { display: inline-flex; }
  .bar__nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-block: var(--space-xs) var(--space-sm); }
  .bar__nav.is-open, .bar__nav:target { display: flex; }
  .bar__nav a { border-top: var(--rule-hair) solid var(--color-muted); font-size: var(--text-lg); }
  .index__in, .calcs { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .bar, .foot, .skip, .print, .crumbs { display: none !important; }
  body { background: var(--color-paper); }
  .tbl-wrap { overflow: visible; border-width: var(--rule-hair); }
  .sec { padding-block: var(--space-md); break-inside: avoid-page; }
}

@media (max-width: 900px) {
  .card__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding-block: var(--space-xl); }
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .cards { gap: var(--space-xl); }
  .card { padding: var(--space-lg) var(--space-md); }
  .card__n { font-size: 3rem; }
  .card h2 { font-size: 1.75rem; }
  .answers { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .steps li { padding: var(--space-sm) var(--space-md); }
}
@media (prefers-reduced-motion: reduce) {
  .bar__nav a:active { transform: none; }
}
