/* Olena's Kitchen — generated from tokens.json */
:root, [data-theme="light"] {
  --bg: #fcf6e4; /* Sunlit cream card stock — the page. Brighter and warmer than beige; warm black at night. */
  --surface: #f8ebc8; /* A second sheet in warm afternoon light: About card, change cards, planner card. Never nest `surface` in `surface`. */
  --card: #fffcf3; /* The sheet that holds a working list: the ingredient card, the current step card, the cooking-mode drawing. Lighter than the page in light, a step up in dark. `ink`, `mute` and `pen` all pass on it. */
  --surface-plate: #f5e3b5; /* Honey-tinted ground behind illustrations (figure plate) and alternating section bands. */
  --ink: #3b2b25; /* Cocoa printing ink — the brown of the transferware china, never black. Everything printed: titles, body, quantities, outline buttons. On `bg`, `surface`, `surface-plate`, `wash-sage-deep` and every `wash-*` (≥8.3:1 light, ≥8.2:1 dark). */
  --mute: #6b584d; /* Faded cocoa: captions, units, notes, upcoming steps. On `bg`, `surface`, `surface-plate`, `photo-mat` (≥4.9:1 light, ≥5.8:1 dark). Not on washes or the sage band. */
  --line: #e5d6b6; /* Notebook ruling and hairline dividers. Decorative only: never the sole edge of a control. */
  --line-strong: #8a7466; /* Printed edges that carry meaning: outline-button borders, drawn checkboxes, inputs, segmented controls, the dashed done-steps box. ≥3:1 on `bg`, `surface`, `photo-mat` in both themes. */
  --pen: #2b3f96; /* Blue ballpoint — Lena's hand. Everything she 'writes': step numbers, ticks, cross-outs, circled choices, margin notes, links, the current nav item, stat corrections, focus. ≥6.2:1 on paper and every wash in light, ≥4.7:1 in dark. */
  --on-pen: #f5f0df; /* Text on a `pen` fill: primary buttons, the pressed segment, the skip link — 8.2:1 both themes. */
  --action: var(--pen); /* Fill of primary buttons (Start cooking mode, Done · next step, Subscribe) — stamp ink, so buttons read as stamps. Alias of `pen`; text on it is `on-pen`. */
  --pencil: var(--line-strong); /* Graphite: offset swatch frames, hand-drawn arrows, dashed planner rail. Marks only, never words. */
  --wash-rose: #f3c9c5; /* Watercolour wash, rose — the pink of her floral dress. Facts, blobs, section bands. Text on washes: `ink` or `pen`, any size. */
  --wash-sage: #d9dcc8; /* Watercolour wash, sage — used sparingly now: tips only. Text: `ink` or `pen`. */
  --wash-blue: #cad3eb; /* Watercolour wash, periwinkle. Shoot notes, the fixes band. Text: `ink` or `pen`. */
  --wash-butter: #fadd84; /* Watercolour wash, sunshine yellow — the main warm colour. Facts, timers, the film-roll band, the highlighter swipe. Text: `ink` or `pen`. */
  --wash-peach: #f8c6a0; /* Watercolour wash, apricot. Baking and sweet recipes, facts, blobs. Text: `ink` or `pen`. */
  --sun: #f2b134; /* Marigold — the sun. Marks and fills only: a collage blob, yellow washi tape, a running timer, the dot in a drawn sun. Text on it: `ink-fixed` (7:1); never text in this colour. */
  --wash-sage-deep: #c9cfb4; /* The sage of the dining-room walls: an optional photo band (`.k-roll--sage`). Use at most once per page. Text on it: `ink` or `pen` only (not `mute`). */
  --film-date: #ff9a3c; /* Orange film date stamp burned into a photo corner (`.k-print__date`). On photos only, with its glow; never on paper. */
  --highlight: var(--wash-butter); /* Ground of the 'Ready when' sign callout and `.k-scribble`. Alias of `wash-butter`. */
  --kraft: #d9c3a0; /* Kraft sticky-note paper, light in both themes like a real note. Writing on it: `pen-fixed`. */
  --photo-mat: #fffcf3; /* Print border of a pasted photo and the typewriter recipe label. Light in both themes. */
  --pen-fixed: #2b3f96; /* Blue ballpoint on light paper objects (photo mats, kraft notes, label cards) — stays dark blue in both themes (≥5.4:1 on `kraft`, ≥7.5:1 on `photo-mat`). */
  --ink-fixed: #3b2b25; /* Typed text on light paper objects — stays cocoa in both themes (≥10:1 on `photo-mat`). */
  --mute-fixed: #6b584d; /* Faded typing on light paper objects (frame numbers on prints, recipe-card meta) — stays cocoa-grey in both themes (6.5:1 on `photo-mat`). */
  --tape: #efc3c7b3; /* Pink washi tape on photos. Semi-transparent; decoration only. */
  --tape-sun: #f6c552b3; /* Yellow washi tape — the sunny one. Decoration only. */
  --tape-masking: #ebe5d6cc; /* Plain masking tape on cards and notes. */
  --focus: var(--pen); /* Focus ring: 2px solid, offset 3px, on every interactive element. */
  --ill-crumb: #edcf98; /* Illustration: sourdough crumb / toasted bread top. */
  --ill-crust: #a0612f; /* Illustration: bread crust outline, toast edges. */
  --ill-rye: #3a2719; /* Illustration: dark rye / Danish rugbrød slices. */
  --ill-dough: #f2e2c4; /* Illustration: raw dough, buns before baking. */
  --ill-bun: #c4924f; /* Illustration: baked bun body. */
  --ill-salmon: #ff7d52; /* Illustration: salmon flesh. */
  --ill-shrimp: #f47c5e; /* Illustration: shrimp body. */
  --ill-beet: #8e0f47; /* Illustration: beet salad, pickling brine. */
  --ill-yolk: #f6b92b; /* Illustration: egg yolk, mustard, olive oil. */
  --ill-yolk-cream: #fbe7a1; /* Illustration: yolk-based spreads, mayonnaise. */
  --ill-white: #fffdf6; /* Illustration: egg white, plate centres, fennel. */
  --ill-herb: #2e9b4f; /* Illustration: dill, chives, microgreens. */
  --ill-leaf: #6e8a4e; /* Illustration: cardamom pods, softer leaves. */
  --ill-steel: #8796a1; /* Illustration: knives, pots, utensils. */
  --ill-rim: #c9b48a; /* Illustration: plate and bowl rims (4–6px stroke). */
  --shadow-none: none; /* Default for every card and panel. */
  --shadow-photo: 0 1px 2px #3b2b2529, 0 10px 22px #3b2b2520; /* Pasted photos, sticky notes and taped labels lifting slightly. */
  --shadow-sticky: 0 1px 0 #e5d6b6; /* Bottom edge of the sticky nav. */
}
[data-theme="dark"] {
  --bg: #1c1b19;
  --surface: #25231f;
  --card: #2a2823;
  --surface-plate: #2d2a25;
  --ink: #efe8d6;
  --mute: #ada593;
  --line: #39362f;
  --line-strong: #8a8273;
  --pen: #9fb0f2;
  --on-pen: #1c1b19;
  --action: var(--pen);
  --pencil: var(--line-strong);
  --wash-rose: #4a3536;
  --wash-sage: #3a4034;
  --wash-blue: #2f3a55;
  --wash-butter: #4a3d18;
  --wash-peach: #55392a;
  --sun: #e0a42e;
  --wash-sage-deep: #3f4637;
  --film-date: #ff9a3c;
  --highlight: var(--wash-butter);
  --kraft: #d9c3a0;
  --photo-mat: #ede6d8;
  --pen-fixed: #2b3f96;
  --ink-fixed: #3b2b25;
  --mute-fixed: #6b584d;
  --tape: #c98a90a6;
  --tape-sun: #c99a3aa6;
  --tape-masking: #8f877acc;
  --focus: var(--pen);
  --ill-crumb: #edcf98;
  --ill-crust: #a0612f;
  --ill-rye: #3a2719;
  --ill-dough: #e6cfa6;
  --ill-bun: #d9a865;
  --ill-salmon: #ff7d52;
  --ill-shrimp: #f47c5e;
  --ill-beet: #8e0f47;
  --ill-yolk: #f6b92b;
  --ill-yolk-cream: #fbe7a1;
  --ill-white: #fffdf6;
  --ill-herb: #2e9b4f;
  --ill-leaf: #9cba7a;
  --ill-steel: #8796a1;
  --ill-rim: #c9b48a;
  --shadow-photo: 0 1px 2px #00000066, 0 8px 18px #00000047;
  --shadow-sticky: 0 1px 0 #39362f;
}
:root {
  --space-1: 4px; /* Icon-to-label gaps. */
  --space-2: 8px; /* Gap between pills and chips; list row vertical padding. */
  --space-3: 12px; /* Step number to text; callout padding. */
  --space-4: 16px; /* Card padding (min); grid gaps. */
  --space-5: 24px; /* Gap between blocks inside a section. */
  --space-6: 32px; /* Section padding on phones. */
  --space-7: 48px; /* Section padding on desktop. */
  --space-8: 64px; /* Page bottom padding; hero padding. */
  --gutter: 18px; /* Minimum side padding on phones: max(5vw, 18px). */
  --measure: 680px; /* Reading column width — about 70 characters of body text. */
  --measure-wide: 1060px; /* Hero and home-page grids. */
  --tap: 44px; /* Minimum size of every tappable control. */
  --frame-offset: 7px; /* How far the pencil frame sits off a swatch or card (`.k-framed`), as on the watercolour swatch sheet. */
  --radius-sm: 2px; /* Paper corners: cards, buttons, tags, labels, photos, notes — cut paper is square. */
  --radius-md: 4px; /* Callouts and inputs. */
  --radius-lg: 8px; /* Figure plates only. */
  --radius-round: 50%; /* Drawn circles and the round pen markers. */
  --font-display: Marcellus, "Old Standard TT", "Times New Roman", serif;
  --font-script: "Mrs Saint Delafield", "Marck Script", cursive;
  --font-sans: "Hanken Grotesk", "Golos Text", system-ui, sans-serif;
  --font-mono: "Courier Prime", "PT Mono", "Courier New", monospace;
  --font-hand: "Cedarville Cursive", Neucha, cursive;
  --text-title-script: 400 76px/0.9 var(--font-script); /* First word(s) of a recipe title in Mrs Saint Delafield, `ink`, tilted −4° and tucked over the capitals. Once per page. 58px on phones. */
  --text-title-caps: 400 42px/1.05 var(--font-display); /* The rest of the recipe title in Marcellus Roman capitals (uppercase, letterspaced), `ink`. 30px on phones. */
  --text-title: 400 34px/1.15 var(--font-display); /* Section title (h2), sentence case, Marcellus. 28px under 520px. */
  --text-heading: 400 24px/1.2 var(--font-display); /* Card and sub-section titles. */
  --text-caption-serif: 400 16px/1.3 var(--font-display); /* Labels under swatches, figures and photos. Marcellus has no italic — never fake one. */
  --text-quote: 400 26px/1.3 var(--font-display); /* Cover lines and Olena's quotes. */
  --text-stat: 400 32px/1 var(--font-display); /* Value in a stat swatch, `ink`. */
  --text-eyebrow: 400 12px/1.4 var(--font-mono); /* Typed labels, uppercase: ingredient groups, button labels, label-card fields, change-card subject, nav items. Never a kicker above a heading. */
  --text-typed: 400 14px/1.5 var(--font-mono); /* Measurements and details: US units, durations, counts, timestamps. */
  --text-numeral: 400 42px/0.9 var(--font-hand); /* Step numbers in Cedarville Cursive, `pen`. 34px on phones. */
  --text-hand: 400 27px/1.25 var(--font-hand); /* Margin notes, sticky notes, altitude corrections, in `pen`. Never instructions. */
  --text-hand-sm: 400 23px/1.25 var(--font-hand); /* Short handwritten labels, captions, signatures. Never below 22px — the pencil hand is fine-lined. */
  --text-lede: 400 18px/1.5 var(--font-sans); /* Intro paragraph under the title, `mute`. */
  --text-body: 400 17px/1.6 var(--font-sans); /* All running text, steps and list rows. */
  --text-body-strong: 600 17px/1.6 var(--font-sans); /* Lead phrase of each step; quantities. */
  --text-small: 400 15px/1.5 var(--font-sans); /* Callouts, card body, legend rows. */
  --text-caption: 400 13px/1.4 var(--font-sans); /* Small print, `mute`. */
}
.title-script {
  font-family: var(--font-script);
  font-size: 76px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0;
}
.title-caps {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.title {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0;
}
.heading {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
}
.caption-serif {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.quote {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0;
}
.stat {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.14em;
}
.typed {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.numeral {
  font-family: var(--font-hand);
  font-size: 42px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0;
}
.hand {
  font-family: var(--font-hand);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
}
.hand-sm {
  font-family: var(--font-hand);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
}
.lede {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.body-strong {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
