/* Hallmark · shape: Workbench · genre: editorial · theme: Garden (deal 1/3, seed cuppa-tea-standard-how-ed38·f51d1ad9·2026-12-04·r0) · job: try · draw: manual
 * hero: the head over the inputs and the cup card that answers · nav: edge-aligned, the wordmark and seven links, behind a Menu toggle on a phone · footer: a ruled note over the credit lines · imagery: none, the answer set as a card · signature: the grams of tea at display size, with the timer under it · garden: oat
 * axes: light/roman-serif/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, the reference pages are tables; the cup card carries the look on every tool */
/* Hallmark · dismissed 46a · the sources page · the 2% is inside the quoted sentence of the standard, checked word for word against the saved page */
/* Hallmark · waive 44c · every page · the cup card stands beside the inputs it answers; on the other pages the head stands over its list */
/* Hallmark · dismissed 58 · the standard · the window holds the three lines of the method with their quotes, a list a reader scans */
/* Hallmark · dismissed 77 · every page · a calculator and a short page on its standard, not a landing strip */
: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(95.8% 0.024 90); --color-paper-2: oklch(92.6% 0.030 90); --color-paper-3: oklch(89% 0.034 90);
  --color-ink: oklch(23% 0.050 152); --color-ink-2: oklch(33% 0.048 150); --color-muted: oklch(46% 0.034 142);
  --color-rule: oklch(83% 0.024 112); --color-rule-2: oklch(68% 0.042 138);
  --color-accent: oklch(46% 0.135 142); --color-accent-2: oklch(86% 0.075 128); --color-accent-ink: oklch(97% 0.015 95);
  --color-focus: oklch(46% 0.135 142); --tint-moss: oklch(46% 0.135 142 / 0.11); --tint-clay: oklch(54% 0.140 46 / 0.10);
  --font-display: "Vollkorn", ui-serif, Georgia, serif; --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Newsreader", ui-serif, Georgia, serif;
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 600;
}

*, *::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); }
: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 con=6 sat=-6 */
[data-slot] > img { filter: contrast(1.06) saturate(0.94); }

@font-face { font-family: "Vollkorn"; src: url("/fonts/vollkorn-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2 { color: var(--color-ink); font-weight: 600; overflow-wrap: break-word; min-width: 0; }
.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-rule-2); }
a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

.bar { border-bottom: var(--rule-hair) solid var(--color-rule); }
.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-weight: 600; font-size: var(--text-xl); color: var(--color-ink); text-decoration: none; }
.wordmark span { color: var(--color-accent); }
.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: 500; 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: 2px; text-underline-offset: 0.35em; }

.hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: 1; max-width: 12ch; }
.hero .lead { margin-top: var(--space-sm); font-size: var(--text-lead); max-width: 44ch; }

.brew { margin-top: var(--space-xl); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
.brew__in { display: grid; gap: var(--space-md); align-content: start; }
.field { display: grid; gap: var(--space-3xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.field input { font: inherit; font-size: var(--text-xl); color: var(--color-ink); height: 52px; padding: 0 var(--space-sm); border: 1px solid var(--color-muted); border-radius: 8px; background: var(--color-paper); box-sizing: border-box; width: min(100%, 14rem); }
.field input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.quick { margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
.chip { min-height: 44px; padding: 0 var(--space-md); font: inherit; font-size: var(--text-sm); color: var(--color-ink); background: var(--color-paper-2); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill, 999px); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.chip:hover { background: var(--color-accent-2); }
.chip:active { transform: translateY(1px); }
.chip:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.kinds { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.kinds legend { padding: 0; margin-bottom: var(--space-xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); float: left; width: 100%; }
.kinds label { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; color: var(--color-ink); }
.kinds input { width: 20px; height: 20px; accent-color: var(--color-accent); }
.kinds input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* the cup: the answer, and the timer under it */
.cup { padding: var(--space-xl); border-radius: 16px; background: var(--color-paper-2); border: 1px solid var(--color-rule); display: grid; gap: var(--space-2xs); justify-items: start; }
.cup__v { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1; color: var(--color-ink); }
.cup__k { margin: 0; color: var(--color-ink-2); }
.cup__t { margin: var(--space-sm) 0 0; font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); color: var(--color-accent); }
.cup__t a { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; color: var(--color-ink-2); vertical-align: middle; }
.cup__clock { margin: var(--space-xs) 0 var(--space-sm); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); font: inherit; font-weight: 500; border: 0; border-radius: var(--radius-pill, 999px); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.head { padding-block: var(--space-3xl) var(--space-2xl); }
.head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; max-width: 18ch; }
.head .lead { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 56ch; }

.sec { padding-block: var(--section-gap-l); border-top: var(--rule-hair) solid var(--color-rule); }
.sec--first { padding-top: var(--space-2xl); }
.sec h2 { font-size: var(--text-section); line-height: 1.02; }
.sec h2 + * { margin-top: var(--space-lg); }
.sec__note { margin-top: var(--space-lg); max-width: 64ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); max-width: 64ch; }
.steps li { padding: var(--space-sm) var(--space-md); border-radius: 10px; background: var(--color-paper-2); }
.steps b { color: var(--color-ink); font-weight: 500; }

.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: 500; }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); border-radius: 10px; background: var(--color-paper-2); }
.register blockquote p { margin: 0; }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); max-width: 64ch; }

.foot { border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.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; }

@media (max-width: 760px) {
  .brew { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .hero { padding-top: var(--space-xl); }
  .cup { padding: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .chip { transition: none; }
}

/* Hallmark · expansion 2026-12-05 · the chai, caffeine and grade tools reuse the cup card; the reference pages are ruled tables, a numbered index and one chart of elevations, no cards */
/* the bar on a phone: the links behind a Menu toggle; #menu opens it */
.bar__menu, .bar__nav .bar__close { display: none; }
.bar__menu:focus-visible, .bar__close:focus-visible, .bar__nav a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.crumbs ol { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3xs) var(--space-xs); font-size: var(--text-sm); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-muted); }
.crumbs a { color: var(--color-ink-2); }
.crumbs a:focus-visible, .index__h:focus-visible, .elev__name:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.crumbs [aria-current] { color: var(--color-ink); }

/* the home index: numbered and ruled */
.index { list-style: none; margin: 0; padding: 0; counter-reset: idx; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-2xl); }
.index li { counter-increment: idx; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: var(--space-sm); align-content: start; }
.index li::before { content: counter(idx); grid-row: span 2; font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.2; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.index__h { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.2; color: var(--color-ink); text-decoration: none; }
.index__h:hover { color: var(--color-accent); }
.index p { margin: var(--space-3xs) 0 0; max-width: 48ch; }

.sec--tool .brew { margin-top: var(--space-lg); }
.sec h2.sec__k { font-size: var(--text-2xl); }
.sec__lead { margin: 0; max-width: 64ch; }
.sec__lead + .tbl-wrap { margin-top: var(--space-lg); }
.cup__v--word { font-size: clamp(2.4rem, 6vw, 4rem); overflow-wrap: anywhere; }
.caff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field--sm input { width: min(100%, 9rem); }

.steps--num { counter-reset: st; }
.steps--num li { counter-increment: st; position: relative; padding-left: calc(var(--space-md) + 1.8rem); }
.steps--num li::before { content: counter(st); position: absolute; left: var(--space-md); top: var(--space-sm); font-family: var(--font-display); font-weight: 600; color: var(--color-accent); }

/* the tea chart */
.chart-form { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: end; margin-top: var(--space-lg); }
.chart { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
.chart h3 { margin: 0; font-size: var(--text-2xl); color: var(--color-ink); font-weight: 600; }
.chart__k { margin: var(--space-2xs) 0 var(--space-md); }

/* tables */
.tbl-wrap { overflow-x: auto; max-width: 100%; }
.tbl-wrap:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.tbl-wrap + .tbl-wrap { margin-top: var(--space-xl); }
.tbl { border-collapse: collapse; width: 100%; font-size: var(--text-sm); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: var(--space-xs) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.tbl thead th { color: var(--color-ink); font-weight: 500; border-bottom: 1px solid var(--color-ink); }
.tbl tbody th { color: var(--color-ink); font-weight: 500; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr:target { background: var(--color-paper-2); }
.words__w { font-size: 1.25rem; line-height: 1.5; color: var(--color-ink); }
.words__note { font-size: var(--text-sm); color: var(--color-muted); }

/* the elevations, every region on one scale */
.elev { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); max-width: 60rem; }
.elev__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 12rem; gap: var(--space-sm); align-items: center; padding: 0 var(--space-xs); border-radius: 8px; }
.elev__row[aria-current] { background: var(--color-paper-2); }
.elev__row[aria-current] .elev__name { color: var(--color-accent); }
.elev__name { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.elev__track { display: block; width: 100%; height: 12px; }
.elev__bg { fill: var(--color-paper-2); }
.elev__row[aria-current] .elev__bg { fill: var(--color-paper); }
.elev__fill { fill: var(--color-accent); }
.elev__m { font-size: var(--text-sm); white-space: nowrap; }
.elev__none { grid-column: 2 / -1; font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 760px) {
  .index, .chart { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .bar__menu { display: inline-flex; min-height: 44px; align-items: center; padding: 0 var(--space-md); border-radius: var(--radius-pill, 999px); border: 1px solid var(--color-ink); color: var(--color-ink); text-decoration: none; font-weight: 500; }
  .bar__nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .bar__nav:target { display: flex; }
  .bar__in:has(.bar__nav:target) .bar__menu { display: none; }
  .bar__nav:target .bar__close { display: inline-flex; }
}
@media (max-width: 600px) {
  .sec { padding-block: var(--space-3xl); }
  .sec--first { padding-top: var(--space-xl); }
  .caff { grid-template-columns: minmax(0, 1fr); }
  .elev__row { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl--stack tr { display: grid; gap: var(--space-3xs); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .tbl--stack th, .tbl--stack td { display: block; padding: 0; border: 0; white-space: normal; }
  .tbl--stack td::before { content: attr(data-label) ": "; color: var(--color-muted); }
  .elev__m { grid-column: 2; }
}
@media print {
  .bar, .foot, .skip, .chart-form, .crumbs { display: none; }
  .head, .sec { padding-block: var(--space-sm); border: 0; }
  .tbl-wrap { overflow: visible; }
}
/* a grade code is set in the display voice, like the answer it opens */
.chip--code { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.2; padding: 0 var(--space-md); }
/* grade codes carry a number: lining figures, so a 1 reads as a 1 */
.chip--code, .cup__v--word, [data-grade] .cup__t { font-variant-numeric: lining-nums; }
/* the grade tables hold two short cells; at full width the name would sit far from its code */
.tbl.grades { max-width: 36rem; }
