/* ==========================================================================
   ECR Hearth 2 — "The Pass"
   A recipe site set like a working kitchen: condensed signage type for titles,
   order tickets for the numbers, square corners, 2px ink rules, and one saffron
   highlighter. Saffron is a FILL only (1.9:1 on white) — never text on paper.
   Fonts (self-hosted): Big Shoulders Display · Schibsted Grotesk · JetBrains Mono.
   Breakpoints: 600 · 900 · 1100. Spacing: 4 8 12 16 24 32 48 64 96.
   ========================================================================== */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/BigShouldersDisplay.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--paper: #ffffff;
	--stock: #f2f3f0;
	--ink: #121411;
	--ink-2: #2c302a;
	--muted: #5a5f57;
	--rule: #d6d9d2;
	--saffron: #f2b01e;
	--saffron-soft: #fdf3d8;
	--on-saffron: #121411;
	--olive: #2f3b24;
	--band: #121411;
	--on-band: #f4f5f1;
	--on-band-muted: #b9bdb4;
	--band-rule: #34382f;
	--focus: #121411;
	--scrim: rgba(18, 20, 17, .55);

	--display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
	--sans: "Schibsted Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Consolas, "Liberation Mono", monospace;

	/* type: 6 text steps + 3 display steps */
	--t-xs: .8125rem;   /* 13 — labels, meta (mono) */
	--t-sm: .9375rem;   /* 15 — UI, captions */
	--t-md: 1.0625rem;  /* 17 — body */
	--t-lg: 1.1875rem;  /* 19 — lead, article body */
	--t-xl: 1.375rem;   /* 22 — card titles, h3 */
	--t-2xl: 1.75rem;   /* 28 — small display */
	--d-sm: clamp(2.25rem, 1.6rem + 2.4vw, 4rem);     /* 36–64 section titles */
	--d-md: clamp(2.75rem, 1.7rem + 4.2vw, 6.5rem);   /* 44–104 page titles */
	--d-lg: clamp(3.25rem, 1.6rem + 6.4vw, 8rem);     /* 52–128 home hero */

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--wrap: 1280px;
	--pad: 16px;
	--header-h: 64px;
	--rule-w: 2px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #121411; --stock: #1b1e19; --ink: #f1f2ee; --ink-2: #d4d7cf; --muted: #a4a99f; --rule: #33372f;
		--saffron: #f2b01e; --saffron-soft: #3a3218; --on-saffron: #121411; --olive: #a8c08a;
		--band: #0b0c0a; --on-band: #f1f2ee; --on-band-muted: #a4a99f; --band-rule: #2a2d27; --focus: #f2b01e; --scrim: rgba(0,0,0,.65);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #121411; --stock: #1b1e19; --ink: #f1f2ee; --ink-2: #d4d7cf; --muted: #a4a99f; --rule: #33372f;
	--saffron: #f2b01e; --saffron-soft: #3a3218; --on-saffron: #121411; --olive: #a8c08a;
	--band: #0b0c0a; --on-band: #f1f2ee; --on-band-muted: #a4a99f; --band-rule: #2a2d27; --focus: #f2b01e; --scrim: rgba(0,0,0,.65);
	color-scheme: dark;
}
@media (min-width: 900px) { :root { --pad: 32px; --header-h: 80px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s4)); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--sans); font-size: var(--t-md); line-height: 1.6;
	text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--saffron); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--saffron); color: var(--on-saffron); }
hr { border: 0; border-top: var(--rule-w) solid var(--ink); margin: var(--s7) 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s3); top: -80px; z-index: 200; background: var(--saffron); color: var(--on-saffron); padding: var(--s3) var(--s4); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: var(--s3); }
.muted { color: var(--muted); }
.ico { flex: none; vertical-align: middle; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap.narrow { max-width: calc(820px + 2 * var(--pad)); }
.page-pad { padding-block: var(--s6) var(--s9); }
.block { padding-block: var(--s8) 0; }

/* ---------- Type ---------- */
.display, .display-sm, .entry-title, .prose h2, .brand-name, .wm-main, .footer-title, .cook-step, .ri-letter, .sm-letter, .card--lead .card-title, .card--feature .card-title {
	font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0; line-height: .9;
}
.display { font-size: var(--d-md); margin: 0 0 var(--s4); text-wrap: balance; }
.display-sm { font-size: var(--d-sm); margin: 0; text-wrap: balance; }
.display em, .entry-title em { font-style: normal; background: var(--saffron); color: var(--on-saffron); padding: 0 .08em; }

/* One label style for every small caption on the site. */
.label, .eyebrow, .kicker, .card-kicker, .widget-title, .field > span, .recipe-facts dt, .rtools-label, .nav-title,
.out-grid dt, .cost-head, .crumbs, .byline-dates, .card-meta, .archive-count, .ad-label, .cook-count, .tool-hint, .source, .scale-note {
	font-family: var(--mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s4); color: var(--ink); }
.eyebrow--line::after { content: ""; flex: 1; height: var(--rule-w); background: var(--ink); }
.kicker, .card-kicker { display: inline-block; text-decoration: none; color: var(--ink); }
.kicker { margin-bottom: var(--s3); }
.kicker:hover, .card-kicker:hover { background: var(--saffron); color: var(--on-saffron); }

/* ---------- Buttons & controls (44px floor everywhere) ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
	min-height: 48px; padding: 0 var(--s5); border: var(--rule-w) solid var(--ink); border-radius: 0;
	background: var(--paper); color: var(--ink); font-weight: 700; font-size: var(--t-sm); line-height: 1.1;
	text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--primary { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); }
.btn--lg { min-height: 56px; padding-inline: var(--s6); font-size: var(--t-md); }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 0;
	background: transparent; color: var(--ink); position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--stock); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--rule-w) solid var(--ink); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
html.nav-is-open .site-header { z-index: 80; }
.header-bar { display: flex; align-items: center; gap: var(--s2); height: var(--header-h); }
.brand { flex: 1; min-width: 0; margin: 0; font-size: inherit; font-weight: inherit; }
.brand .custom-logo { max-height: 48px; width: auto; }
.brand-word { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; min-width: 0; max-width: 100%; }
.brand-mark { display: none; }
.wm-top { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 3px; }
.wm-main, .brand-name { font-size: clamp(17px, 5.8vw, 26px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* "COOKING RECIPES" whole on a 360 px phone */
@media (min-width: 900px) { .wm-main, .brand-name { font-size: 32px; } .wm-top { font-size: 11px; } }
.header-tools { display: flex; align-items: center; gap: var(--s1); }
.saved-link { background: var(--saffron); color: var(--on-saffron); }
.saved-link:hover { background: var(--ink); color: var(--paper); }
.saved-count {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
	background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.theme-toggle .t-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .t-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .t-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .t-sun { display: inline; }
	:root:not([data-theme="light"]) .theme-toggle .t-moon { display: none; }
}
.header-search { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--rule-w)); height: 4px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--saffron); }

/* Nav: drawer below 1100px, inline bar above */
.site-nav {
	position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); z-index: 70; background: var(--paper);
	transform: translateX(-102%); transition: transform .25s ease-out; overflow-y: auto; padding-bottom: var(--s6);
	border-right: var(--rule-w) solid var(--ink);
}
.site-nav.is-open { transform: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); }
.nav-head { display: flex; justify-content: space-between; align-items: center; padding: var(--s2) var(--s2) var(--s2) var(--s5); border-bottom: var(--rule-w) solid var(--ink); }
.nav-list, .nav-list .sub { list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; }
.nav-item > a { flex: 1; padding: var(--s4) var(--s5); font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; text-decoration: none; }
.nav-item.is-current > a { background: var(--saffron); color: var(--on-saffron); }
.sub-toggle { width: 56px; height: 56px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); }
.sub-toggle .ico { transition: transform .2s; transform: rotate(90deg); }
.sub-toggle[aria-expanded="true"] .ico { transform: rotate(-90deg); }
.nav-item .sub { display: none; width: 100%; padding: 0 var(--s5) var(--s4); columns: 2; column-gap: var(--s4); }
.nav-item.is-open .sub { display: block; }
.nav-item .sub a { display: block; padding: var(--s3) 0; min-height: 44px; text-decoration: none; color: var(--ink-2); font-size: var(--t-md); break-inside: avoid; }
.nav-item .sub a:hover { text-decoration: underline; text-decoration-color: var(--saffron); }
.nav-open { margin-left: -10px; }

@media (min-width: 1100px) {
	.nav-open, .nav-head, .nav-scrim { display: none !important; }
	.site-nav { position: static; transform: none; width: auto; background: none; border: 0; overflow: visible; padding: 0; flex: none; }
	.brand { flex: 0 0 auto; margin-right: var(--s5); } /* never squeezed by a long menu */
	.site-nav { flex: 1 1 auto; min-width: 0; }
	.nav-item.is-overflow { display: none; }
	.nav-item > a { white-space: nowrap; }
	.nav-more > .sub { left: auto; right: 0; }
	.nav-more-btn { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: var(--s3); border: 0; background: transparent; font: inherit; font-weight: 700; font-size: var(--t-sm); color: var(--ink); cursor: pointer; }
	.nav-list { display: flex; align-items: center; }
	.nav-item { border: 0; flex-wrap: nowrap; }
	.nav-item > a { font-family: var(--sans); font-weight: 700; font-size: var(--t-sm); text-transform: none; padding: var(--s3) var(--s2) var(--s3) var(--s3); min-height: 44px; display: flex; align-items: center; }
	.nav-item.is-current > a { background: none; color: var(--ink); box-shadow: inset 0 -4px 0 var(--saffron); }
	.sub-toggle { width: 32px; height: 44px; }
	.nav-item .sub {
		position: absolute; top: calc(100% + var(--s2)); left: 0; min-width: 460px; padding: var(--s4) var(--s5); columns: 2;
		background: var(--paper); border: var(--rule-w) solid var(--ink);
	}
	.nav-item .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.nav-item:hover .sub, .nav-item:focus-within .sub, .nav-item.is-open .sub { display: block; }
	.header-tools { margin-left: auto; }
	.header-search { display: flex; align-items: center; width: 280px; height: 48px; border: var(--rule-w) solid var(--ink); }
	.header-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 var(--s3); outline: none; font-size: var(--t-sm); }
	.header-search:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
	.header-search button { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; }
	.header-tools [data-search-open] { display: none; }
}

.search-panel { border-top: var(--rule-w) solid var(--ink); background: var(--paper); padding: var(--s5) 0; }
.search-suggest { margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); font-size: var(--t-sm); color: var(--muted); align-items: center; }
.search-suggest a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border: var(--rule-w) solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 600; }
.search-suggest a:hover { background: var(--saffron); border-color: var(--saffron); }

.search-form { display: flex; align-items: stretch; border: var(--rule-w) solid var(--ink); background: var(--paper); }
.search-form:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-field { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 var(--s4); min-height: 52px; outline: none; font-size: var(--t-md); }
.search-submit { border: 0; background: var(--ink); color: var(--paper); width: 56px; display: grid; place-items: center; }
.search-submit:hover { background: var(--saffron); color: var(--on-saffron); }
.header-ad { padding-top: var(--s4); }

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: var(--s4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--s2); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: var(--s2); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); display: inline-block; max-width: 44ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; padding-block: var(--s2); }
.crumbs > span { display: block; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--s6) var(--s5); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1100px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-ad { grid-column: 1 / -1; }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { display: block; position: relative; overflow: hidden; background: var(--stock); aspect-ratio: 16 / 9; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.card-img--empty { display: grid; place-items: center; color: var(--muted); }
@media (hover: hover) { .card:hover .card-img { transform: scale(1.03); } }
.card-body { padding-top: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.card-title { font-size: var(--t-xl); font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-kicker, .save-btn { position: relative; z-index: 2; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 3px; }
.card-excerpt { margin: 0; color: var(--ink-2); font-size: var(--t-md); line-height: 1.55; }
.card-meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); color: var(--ink); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .ico { display: none; }
.card-rating .ico { display: inline; fill: currentColor; }

.card--feature .card-title, .card--lead .card-title { font-size: var(--d-sm); }
.card--mini { flex-direction: row; gap: var(--s3); align-items: center; }
.card--mini .card-media { width: 96px; flex: none; }
.card--mini .card-body { padding: 0; }
.card--mini .card-title { font-size: var(--t-md); }
.mini-list { display: grid; gap: var(--s4); }

.row-list { display: grid; border-top: var(--rule-w) solid var(--ink); }
.card--row { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.card--row .card-media, .card--row .save-btn, .card--row .card-excerpt { display: none; }
.card--row .card-body { padding: 0; grid-column: 2; }
.card--row .card-num { position: absolute; left: 0; top: var(--s4); font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .9; }

.save-btn {
	position: absolute; top: var(--s2); right: var(--s2); display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
	min-width: 44px; height: 44px; padding: 0 var(--s3); border: var(--rule-w) solid var(--ink); border-radius: 0;
	background: var(--paper); color: var(--ink); font-weight: 700; font-size: var(--t-sm);
}
.save-btn--compact { padding: 0; width: 44px; }
.save-btn--compact .save-label { display: none; }
.save-btn[aria-pressed="true"] { background: var(--saffron); border-color: var(--ink); color: var(--on-saffron); }
.save-btn[aria-pressed="true"] .ico { fill: currentColor; }
.save-btn:hover { background: var(--ink); color: var(--paper); }
.entry-actions .save-btn { position: static; height: 48px; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: var(--rule-w) solid var(--ink); }
.section-head .eyebrow { margin-bottom: var(--s2); }
.more { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 700; font-size: var(--t-sm); text-decoration: underline; text-decoration-color: var(--saffron); white-space: nowrap; }

/* ---------- Home ---------- */
.home-hero { padding-block: var(--s6) 0; }
.home-hero-grid { display: grid; gap: var(--s6); align-items: end; }
@media (min-width: 900px) { .home-hero-grid { grid-template-columns: 5fr 7fr; gap: var(--s6); } }
.home-hero-copy { display: flex; flex-direction: column; gap: var(--s5); padding-bottom: var(--s2); }
.home-hero-title { margin: 0; font-size: var(--d-lg); text-wrap: balance; }
.home-hero-title a { text-decoration: none; }
.home-hero-title.is-long { font-size: var(--d-md); }
.home-hero-dek { margin: 0; font-size: var(--t-lg); color: var(--ink-2); max-width: 46ch; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.home-hero-actions .save-btn { position: static; height: 56px; padding: 0 var(--s5); }
.home-hero-media { position: relative; }
.home-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) { .home-hero-media img { aspect-ratio: 16 / 11; } }

.ticket { background: var(--paper); border: var(--rule-w) solid var(--ink); font-family: var(--mono); color: var(--ink); }
.ticket-head { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); background: var(--ink); color: var(--paper); font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); padding: var(--s4); margin: 0; }
.ticket-grid div { display: flex; flex-direction: column; gap: 2px; }
.ticket-grid dt { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.ticket-grid dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ticket-grid dd .ico { fill: currentColor; width: 20px; height: 20px; }
.ticket-foot { border-top: var(--rule-w) dashed var(--ink); padding: var(--s4); display: grid; gap: var(--s3); font-family: var(--sans); }
.ticket-foot .btn { width: 100%; }
.ticket-foot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.hero-ticket { width: min(100%, 320px); margin-top: calc(-1 * var(--s7)); margin-left: var(--s4); position: relative; }
@media (min-width: 900px) { .hero-ticket { position: absolute; left: calc(-1 * var(--s6)); bottom: calc(-1 * var(--s6)); margin: 0; } }
.hero-ticket .ticket-grid dd { font-size: 26px; }

.strip { margin-top: var(--s8); border-block: var(--rule-w) solid var(--ink); }
.strip ul { list-style: none; margin: 0; padding: var(--s3) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s5); }
.strip li:first-child { font-family: var(--mono); font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-right: var(--s2); }
.strip a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); text-transform: uppercase; text-decoration: none; padding: 0 var(--s1); }
.strip a:hover { background: var(--saffron); color: var(--on-saffron); }

.board { display: grid; gap: var(--s6) var(--s5); }
@media (min-width: 900px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.board-small { display: grid; gap: var(--s5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .board-small { grid-template-columns: minmax(0, 1fr); } }
.board-small .card-title { font-size: var(--t-lg); }

.index-band { margin-top: var(--s8); background: var(--band); color: var(--on-band); padding-block: var(--s8); }
.index-band .section-head { border-color: var(--on-band); }
.index-band .display-sm, .index-band .more { color: var(--on-band); }
.index-band .label { color: var(--on-band-muted); }
.index-group + .index-group { margin-top: var(--s6); }
.index-group .label { display: block; margin-bottom: var(--s3); }
.index-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s2); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.1; }
.index-list li:not(:last-child)::after { content: "/"; margin-left: var(--s2); color: var(--on-band-muted); }
.index-list a { color: var(--on-band); text-decoration: none; padding: 0 .06em; }
.index-list a:hover, .index-list a:focus-visible { background: var(--saffron); color: var(--on-saffron); }
.index-band :focus-visible { outline-color: var(--saffron); }

.pair { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .pair { grid-template-columns: 7fr 5fr; gap: var(--s6); } }
.classics { list-style: none; margin: 0; padding: 0; border-top: var(--rule-w) solid var(--ink); counter-reset: classic; }
.classics li { counter-increment: classic; border-bottom: 1px solid var(--rule); }
.classics li:last-child { border-bottom: var(--rule-w) solid var(--ink); }
.classics a { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s3); align-items: baseline; padding: var(--s4) 0; text-decoration: none; }
.classics a::before { content: counter(classic, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .9; }
.classics .c-title { font-size: var(--t-xl); font-weight: 700; line-height: 1.2; }
.classics .c-meta { font-family: var(--mono); font-size: var(--t-xs); font-weight: 600; }
.classics a:hover .c-title { text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 3px; }
.tool-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.tool-tickets a { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s4) var(--s5); border: var(--rule-w) solid var(--ink); text-decoration: none; }
.tool-tickets li:nth-child(3) a { background: var(--saffron); color: var(--on-saffron); border-color: var(--saffron); }
.tool-tickets .t-fact { font-family: var(--mono); font-size: var(--t-xs); font-weight: 600; }
.tool-tickets .t-name { font-size: var(--t-xl); font-weight: 700; line-height: 1.2; }
.tool-tickets a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.about-strip { padding-bottom: var(--s9); }
.about-inner { border-top: var(--rule-w) solid var(--ink); padding-top: var(--s5); max-width: 860px; }
.about-lead { font-size: var(--t-2xl); line-height: 1.35; margin: 0 0 var(--s5); font-weight: 500; }

/* Tools band + tool grid (tools hub, sidebar) */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--s3); }
.tool-grid a { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: var(--s1) var(--s3); height: 100%; padding: var(--s5); border: var(--rule-w) solid var(--ink); text-decoration: none; }
.tool-grid a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); }
.tool-ico { grid-row: span 3; padding-top: 2px; }
.tool-name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: .95; text-transform: uppercase; }
.tool-desc { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.5; }
.tool-grid a:hover .tool-desc { color: inherit; }
.tool-go { font-weight: 700; font-size: var(--t-sm); display: inline-flex; gap: var(--s2); align-items: center; margin-top: var(--s2); }

/* ---------- Archives ---------- */
.archive-head { margin-bottom: var(--s7); max-width: 900px; }
.archive-desc { color: var(--ink-2); font-size: var(--t-lg); max-width: 68ch; }
.archive-count { margin: var(--s2) 0 0; }
.archive-search { max-width: 560px; margin-top: var(--s4); }
.pager { margin-top: var(--s7); }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.pager a, .pager span { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 var(--s3); border: var(--rule-w) solid var(--ink); text-decoration: none; font-family: var(--mono); font-weight: 700; }
.pager .current { background: var(--ink); color: var(--paper); }
.pager a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); }
.empty { padding: var(--s6) 0; max-width: 560px; }
.notfound .notfound-search { max-width: 560px; margin: 0 0 var(--s7); }

/* ---------- Single ---------- */
.entry-head { padding-top: var(--s5); display: grid; gap: var(--s6); }
@media (min-width: 1100px) { .entry-head.has-ticket { grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); align-items: start; } }
.entry-head-main { min-width: 0; }
.entry-title { font-size: var(--d-md); margin: 0 0 var(--s4); text-wrap: balance; }
.entry-dek { font-size: var(--t-lg); color: var(--ink-2); margin: 0 0 var(--s5); max-width: 60ch; }
.entry-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.byline { display: flex; align-items: center; gap: var(--s3); }
.byline img { border-radius: 50%; width: 44px; height: 44px; }
.byline-text { display: flex; flex-direction: column; line-height: 1.35; }
.byline-author { font-weight: 700; font-size: var(--t-sm); }
.byline-author a { text-decoration: none; }
.entry-actions { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.share { display: flex; gap: 0; flex-wrap: wrap; }
.share-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); text-decoration: none; }
.share-btn:hover { background: var(--saffron); color: var(--on-saffron); }
.recipe-ticket .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) and (max-width: 1099px) { .recipe-ticket .ticket-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .recipe-ticket .ticket-foot { grid-template-columns: 2fr 1fr 1fr; } .recipe-ticket .ticket-foot-row { display: contents; } }

.entry-hero { margin: var(--s6) auto 0; }
.entry-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stock); }
.entry-hero figcaption { margin-top: var(--s2); }

.layout { display: grid; gap: var(--s7); padding-top: var(--s7); padding-bottom: var(--s6); }
@media (min-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s8); }
	.layout-main { max-width: 760px; }
	.layout--full { grid-template-columns: minmax(0, 1fr); }
	.layout--full .layout-main { max-width: 920px; margin-inline: auto; width: 100%; }
}
.layout-side { display: flex; flex-direction: column; gap: var(--s7); min-width: 0; }
.side-sticky { position: sticky; top: calc(var(--header-h) + var(--s5)); }

.toc { border-top: var(--rule-w) solid var(--ink); background: var(--stock); padding: 0 var(--s5); margin-bottom: var(--s6); }
.toc summary { cursor: pointer; min-height: 52px; font-family: var(--mono); font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: var(--s2); list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; margin-left: auto; font-size: 20px; }
.toc[open] summary::after { content: "–"; }
.toc ol { margin: 0 0 var(--s4); padding-left: 1.4em; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: var(--s6); } }
.toc li { break-inside: avoid; font-size: var(--t-sm); }
.toc a { display: inline-block; padding-block: var(--s2); text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--saffron); }

/* ---------- Prose ---------- */
.prose { font-size: var(--t-lg); line-height: 1.7; overflow-wrap: break-word; }
.prose > * { margin-top: 0; margin-bottom: 1.15em; }
.prose h2 { font-size: var(--d-sm); margin: 1.6em 0 .5em; padding-top: var(--s3); border-top: var(--rule-w) solid var(--ink); }
.prose h3 { font-size: var(--t-xl); line-height: 1.25; font-weight: 700; margin: 1.6em 0 .45em; }
.prose h4 { font-size: var(--t-lg); font-weight: 700; margin: 1.4em 0 .4em; }
.prose h2 + h3, .prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { font-weight: inherit; }
.prose a { text-decoration-color: var(--saffron); }
.prose a:hover { background: var(--saffron-soft); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--ink); }
.prose ol li::marker { font-family: var(--mono); font-weight: 700; font-size: .9em; }
.prose figure, .prose .wp-caption { max-width: 100% !important; margin-inline: 0; }
.prose figcaption, .prose .wp-caption-text { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); margin-top: var(--s2); }
.prose blockquote { margin-inline: 0; padding: var(--s3) 0 var(--s3) var(--s5); border-left: 6px solid var(--saffron); font-size: var(--t-xl); line-height: 1.45; font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: var(--s3); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: var(--rule-w) solid var(--ink); font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.prose .alignleft { float: left; margin: .3em var(--s5) var(--s4) 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 var(--s4) var(--s5); max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose .code-block:empty, .prose p:empty { display: none; }
.recipe-anchor { height: 0; }
.page-links { margin: var(--s6) 0; font-weight: 700; }

/* Method: the extracted step list gets oversized numerals (class added by main.js). */
.prose ol.method-list { list-style: none; padding: 0; counter-reset: step; border-top: var(--rule-w) solid var(--ink); }
/* Not a grid: a step like "<strong>Sear the beef:</strong> Pat the cubes dry…" is two grid
   items, and the text would drop into the numeral column. The numeral sits in the padding. */
.prose ol.method-list > li { counter-increment: step; position: relative; display: block; min-height: calc(45px + 2 * var(--s5)); padding: var(--s5) 0 var(--s5) 88px; margin: 0; border-bottom: 1px solid var(--rule); }
.prose ol.method-list > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: var(--s5); font-family: var(--display); font-weight: 900; font-size: 56px; line-height: .8; }
@media (min-width: 900px) { .prose ol.method-list > li { padding-left: 128px; min-height: calc(64px + 2 * var(--s5)); } .prose ol.method-list > li::before { font-size: 80px; } }

/* In-article recipe tools (scale / cook / print), added by main.js */
.rtools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); padding: var(--s4); margin: 0 0 var(--s4); background: var(--stock); border-top: var(--rule-w) solid var(--ink); }
.scale { display: inline-grid; grid-auto-flow: column; border: var(--rule-w) solid var(--ink); }
.scale button { border: 0; background: var(--paper); min-width: 48px; height: 44px; font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.scale button + button { border-left: var(--rule-w) solid var(--ink); }
.scale button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.scale-note { width: 100%; margin: 0; text-transform: none; font-weight: 400; letter-spacing: 0; }
ul.ing-check, .ing-list { list-style: none; padding-left: 0; }
.ing-check li, .ing-list li { position: relative; padding: var(--s3) 0 var(--s3) 40px; margin: 0; min-height: 48px; border-bottom: 1px solid var(--rule); }
.ing-check li::before, .ing-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border: var(--rule-w) solid var(--ink); background: var(--paper); }
.ing-check li { cursor: pointer; user-select: none; }
.ing-check li:hover::before { background: var(--saffron-soft); }
.ing-check li.is-done { color: var(--muted); text-decoration: line-through; }
.ing-check li.is-done::before { background: var(--olive); border-color: var(--olive); }
.ing-check li.is-done::after { content: ""; position: absolute; left: 8px; top: 17px; width: 6px; height: 12px; border: solid var(--paper); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.qty { font-family: var(--mono); font-weight: 700; font-size: .92em; font-variant-numeric: tabular-nums; }
.qty.is-scaled { background: var(--saffron-soft); }

/* Full recipe card (editor opt-in) */
.recipe-card { margin: var(--s7) 0 var(--s4); border: var(--rule-w) solid var(--ink); }
.rc-head { padding: var(--s5); background: var(--ink); color: var(--paper); }
.rc-head .eyebrow { color: var(--saffron); }
.rc-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: var(--d-sm); line-height: .9; margin: 0; }
.rc-summary { margin: var(--s3) 0 0; color: var(--on-band-muted); }
.rc-grid { display: grid; gap: var(--s6); padding: var(--s5); }
@media (min-width: 900px) { .rc-grid { grid-template-columns: 5fr 7fr; } }
.rc-grid h3 { font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 var(--s3); }
.rc-grid h4 { font-size: var(--t-md); margin: var(--s4) 0 var(--s1); }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.step-list li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: var(--s3); padding-bottom: var(--s5); }
.step-list li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .85; }
.step-list .step-section { counter-increment: none; display: block; padding-bottom: var(--s2); font-family: var(--mono); font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; }
.step-list .step-section::before { content: none; }
.rc-notes { border-top: var(--rule-w) dashed var(--ink); margin: 0 var(--s5); padding: var(--s4) 0; }
.rc-nutrition { margin: 0; padding: 0 var(--s5) var(--s5); font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); }

/* Entry footer */
.entry-foot { margin-top: var(--s7); display: grid; gap: var(--s6); }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.tag-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--rule); font-family: var(--mono); font-size: var(--t-xs); text-decoration: none; }
.tag-list a:hover { border-color: var(--ink); background: var(--saffron); color: var(--on-saffron); }
.entry-foot-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) 0; border-block: var(--rule-w) solid var(--ink); }
.entry-foot-share p { margin: 0; font-family: var(--display); font-weight: 800; font-size: var(--t-2xl); text-transform: uppercase; line-height: 1; }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: var(--s5); align-items: start; padding: var(--s5); background: var(--stock); }
.author-box img { border-radius: 50%; }
.author-box .eyebrow { margin-bottom: var(--s1); }
.author-name { font-family: var(--display); font-weight: 900; font-size: var(--t-2xl); text-transform: uppercase; line-height: 1; margin: 0 0 var(--s2); }
.author-name a { text-decoration: none; }
.author-cred { font-family: var(--mono); font-size: var(--t-xs); font-weight: 700; margin: 0 0 var(--s2); }
.author-box p:last-child { margin: 0; color: var(--ink-2); }
.notice-inline { background: var(--saffron-soft); color: var(--ink); padding: var(--s2) var(--s3); font-size: var(--t-sm); }

.related { padding-top: var(--s8); padding-bottom: var(--s5); }
.hub-recipes { margin-top: var(--s8); }
.hub-recipes .display-sm { margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: var(--rule-w) solid var(--ink); }

/* Mobile recipe bar (phones only) */
.mobile-bar { display: none; }
@media (max-width: 899px) {
	.mobile-bar { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: var(--s2) var(--s3) calc(var(--s3) + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: var(--rule-w) solid var(--ink); transform: translateY(110%); transition: transform .2s ease-out; }
	.mobile-bar.is-on { transform: none; }
	.mobile-bar .btn { min-height: 52px; }
	body.has-mobile-bar .site-footer { padding-bottom: 88px; }
}

/* Author page */
.author-hero { margin-bottom: var(--s7); }
.author-hero-inner { display: grid; gap: var(--s5); align-items: center; }
.author-hero-inner img { border-radius: 50%; width: 140px; height: 140px; }
@media (min-width: 900px) { .author-hero-inner { grid-template-columns: 160px 1fr; gap: var(--s7); } .author-hero-inner img { width: 160px; height: 160px; } }
.author-hero + .display-sm { margin-bottom: var(--s5); }

/* ---------- Sidebar ---------- */
.widget-title { display: block; margin: 0 0 var(--s3); padding-bottom: var(--s2); border-bottom: var(--rule-w) solid var(--ink); color: var(--ink); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.tool-links a { display: flex; gap: var(--s3); align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--rule); }
.tool-links a:hover { background: var(--saffron); color: var(--on-saffron); }

/* ---------- Pages ---------- */
.page-head { padding-top: var(--s5); }
.page-head.wrap.narrow { max-width: calc(var(--wrap) + 2 * var(--pad)); }
.layout--page { padding-top: var(--s3); }
.page-hero { margin: 0 0 var(--s6); }
.page-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page-builder { min-height: 40vh; }

/* HTML sitemap + A–Z */
.sm-block { margin-bottom: var(--s8); }
.sm-block .display-sm { margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: var(--rule-w) solid var(--ink); }
.sm-columns { columns: 1; column-gap: var(--s7); }
@media (min-width: 600px) { .sm-columns { columns: 2; } }
@media (min-width: 1100px) { .sm-columns { columns: 3; } }
.sm-columns ul, .sm-flat { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.sm-columns li { break-inside: avoid; }
.sm-columns a { display: inline-block; padding-block: var(--s2); text-decoration: none; }
.sm-columns a:hover { text-decoration: underline; text-decoration-color: var(--saffron); }
.sm-letter { font-size: 40px; margin: var(--s3) 0 var(--s1); break-after: avoid; }

.ri-tools { position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); padding: var(--s3) 0; border-bottom: var(--rule-w) solid var(--ink); margin-bottom: var(--s5); display: grid; gap: var(--s3); }
.ri-tools .search-field { border: var(--rule-w) solid var(--ink); max-width: 520px; }
.letters { display: flex; flex-wrap: wrap; gap: 2px; }
.letters a, .letters span { display: grid; place-items: center; width: 44px; height: 44px; font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; }
.letters a:hover { background: var(--saffron); color: var(--on-saffron); }
.letters span { color: var(--rule); }
.ri-group { display: grid; gap: var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 600px) { .ri-group { grid-template-columns: 88px 1fr; } }
.ri-letter { font-size: 64px; margin: 0; line-height: .85; }
.ri-group ul { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: var(--s6); }
@media (min-width: 900px) { .ri-group ul { columns: 2; } }
.ri-group li { break-inside: avoid; display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; }
.ri-group li a { display: inline-block; padding-block: var(--s2); text-decoration: none; font-weight: 600; }
.ri-group li a:hover { text-decoration: underline; text-decoration-color: var(--saffron); }
.ri-group li .muted { font-family: var(--mono); font-size: var(--t-xs); white-space: nowrap; }
.ri-intro { margin-top: var(--s8); color: var(--ink-2); max-width: 760px; }

/* ---------- Tools ---------- */
.tool { margin: 0 0 var(--s6); }
.tool-ui { border: var(--rule-w) solid var(--ink); padding: var(--s5); margin-bottom: var(--s5); background: var(--paper); }
.tool-row { display: flex; flex-wrap: wrap; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: var(--s2); min-width: 120px; flex: 1 1 140px; margin: 0; }
.field--grow { flex: 3 1 220px; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 var(--s3); border: var(--rule-w) solid var(--ink); border-radius: 0; background: var(--paper); font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.tool-out { display: block; margin-top: var(--s5); padding-top: var(--s5); border-top: var(--rule-w) dashed var(--ink); }
.tool-out:empty { display: none; }
.out-big { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: .85; text-transform: uppercase; font-variant-numeric: tabular-nums; margin: 0 0 var(--s2); }
.out-sub { color: var(--ink-2); margin: 0; }
.out-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: var(--s4) 0 0; border-top: var(--rule-w) solid var(--ink); border-left: var(--rule-w) solid var(--ink); }
.out-grid div { padding: var(--s3) var(--s4); border-right: var(--rule-w) solid var(--ink); border-bottom: var(--rule-w) solid var(--ink); }
.out-grid dd { margin: var(--s1) 0 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.out-grid dd small { font-family: var(--mono); font-size: var(--t-xs); font-weight: 600; text-transform: none; }
.tool-note { font-size: var(--t-sm); color: var(--muted); margin: var(--s4) 0 0; }
.tool-hint { margin: var(--s2) 0 0; text-transform: none; letter-spacing: 0; }
.seg { display: inline-grid; grid-auto-flow: column; border: var(--rule-w) solid var(--ink); margin-bottom: var(--s4); }
.seg label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); cursor: pointer; font-weight: 700; font-size: var(--t-sm); }
.seg label + label { border-left: var(--rule-w) solid var(--ink); }
.seg input { accent-color: var(--ink); width: 18px; height: 18px; }
.ref-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.ref-table caption { text-align: left; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: var(--t-2xl); line-height: 1; padding: 0 0 var(--s3); }
.ref-table th, .ref-table td { padding: var(--s3); border-bottom: 1px solid var(--rule); text-align: left; }
.ref-table thead th { font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase; border-bottom: var(--rule-w) solid var(--ink); }
.ref-table tbody tr:hover { background: var(--saffron-soft); }
.ref-table tbody th { font-weight: 700; }
.source { text-transform: none; letter-spacing: 0; font-weight: 400; font-family: var(--sans); font-size: var(--t-sm); }
.sub-list { display: grid; gap: 0; border-top: var(--rule-w) solid var(--ink); }
.sub-item { border-bottom: 1px solid var(--rule); padding: var(--s4) 0; }
.sub-item h3 { font-size: var(--t-lg); margin: 0 0 var(--s1); }
.sub-swap { background: var(--saffron-soft); padding: 0 4px; }
.sub-item p { margin: 0; }
.sub-for { margin-top: var(--s1) !important; font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); }
.cost-rows { display: grid; gap: var(--s2); margin: var(--s4) 0 var(--s3); }
.cost-head, .cost-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 48px; gap: var(--s2); align-items: center; }
.cost-row input { width: 100%; min-height: 48px; padding: 0 var(--s3); border: var(--rule-w) solid var(--ink); border-radius: 0; background: var(--paper); }
.cost-row button { width: 48px; height: 48px; border: var(--rule-w) solid var(--ink); background: var(--paper); font-size: 20px; }
.cost-row button:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 599px) { .cost-head { display: none; } .cost-row { grid-template-columns: 1fr 1fr 48px; } .cost-row input:first-child { grid-column: 1 / -1; } }

/* ---------- Ads (height reserved so nothing jumps) ---------- */
.ad-slot { position: relative; margin: var(--s6) auto; text-align: center; min-height: 280px; display: flex; flex-direction: column; align-items: stretch; clear: both; }
.ad-slot--header { min-height: 100px; margin: 0 auto; }
.ad-slot--sidebar { min-height: 600px; margin: 0; }
.ad-slot--archive { min-height: 250px; }
.ad-label { display: block; margin-bottom: var(--s2); }
@media (max-width: 599px) { .ad-slot--header { min-height: 60px; } }

/* ---------- Comments ---------- */
.comments { padding: var(--s8) 0; }
.comments-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); border-bottom: var(--rule-w) solid var(--ink); padding-bottom: var(--s3); margin-bottom: var(--s5); }
.comments-rating { margin: 0; display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--mono); font-weight: 700; }
.comments-rating .ico { fill: currentColor; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: var(--s6); }
.comment-body { padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }
.comment-author { display: flex; align-items: center; gap: var(--s3); font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 2px 0 var(--s2) 56px; }
.comment-metadata a { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); text-decoration: none; }
.comment-content { margin-left: 56px; }
.comment-content p { margin: 0 0 .6em; }
.reply { margin-left: 56px; font-weight: 700; font-size: var(--t-sm); }
.reply a { display: inline-flex; align-items: center; min-height: 44px; }
.comment-stars { display: flex; gap: 2px; margin: 0 0 var(--s2) !important; }
.comment-stars .on .ico { fill: currentColor; }
.comment-stars .off { color: var(--rule); }
.comment-respond { margin-top: var(--s6); }
.comment-reply-title { font-family: var(--display); font-weight: 900; font-size: var(--t-2xl); text-transform: uppercase; line-height: 1; margin: 0 0 var(--s3); }
.comment-form { display: grid; gap: var(--s4); }
.comment-form label { display: block; font-weight: 700; font-size: var(--t-sm); margin-bottom: var(--s1); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 52px; padding: var(--s3); border: var(--rule-w) solid var(--ink); border-radius: 0; background: var(--paper);
}
.comment-form textarea { min-height: 150px; }
.comment-form input:focus, .comment-form textarea:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.comment-form-cookies-consent { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--t-sm); }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.form-submit .btn { min-height: 52px; }
.rate-field { border: 0; padding: 0; margin: 0; }
.rate-field legend { font-weight: 700; font-size: var(--t-sm); margin-bottom: var(--s1); padding: 0; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-stars label { cursor: pointer; color: var(--rule); width: 44px; height: 44px; display: grid; place-items: center; margin: 0; }
.rate-stars label:hover, .rate-stars label:hover ~ label, .rate-stars input:checked ~ label { color: var(--ink); }
.rate-stars label:hover .ico, .rate-stars label:hover ~ label .ico, .rate-stars input:checked ~ label .ico { fill: var(--saffron); }
.rate-stars input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Contact Form 7 */
.wpcf7-form p { margin: 0 0 var(--s4); }
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7-form textarea, .wpcf7-form select {
	width: 100%; min-height: 52px; padding: var(--s3); border: var(--rule-w) solid var(--ink); border-radius: 0; background: var(--paper); margin-top: var(--s1);
}
.wpcf7-form input[type="submit"] { background: var(--ink); color: var(--paper); border: 0; min-height: 52px; padding: 0 var(--s6); border-radius: 0; font-weight: 700; cursor: pointer; }
.wpcf7-form input[type="submit"]:hover { background: var(--saffron); color: var(--on-saffron); }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--s8); background: var(--band); color: var(--on-band); }
.site-footer :focus-visible { outline-color: var(--saffron); }
.footer-cta { border-bottom: var(--rule-w) solid var(--band-rule); }
.footer-cta-inner { display: grid; gap: var(--s5); padding-block: var(--s7); align-items: center; }
@media (min-width: 900px) { .footer-cta-inner { grid-template-columns: 1.4fr 1fr; } .footer-cta-form { justify-self: end; } }
.footer-cta .eyebrow { color: var(--saffron); }
.footer-cta .display-sm { color: var(--on-band); }
.footer-grid { display: grid; gap: var(--s6); padding-block: var(--s7); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.brand-word--footer { color: var(--on-band); margin-bottom: var(--s4); }
.brand-word--footer .wm-main { font-size: 44px; }
.footer-about { color: var(--on-band-muted); max-width: 36ch; }
.footer-title { font-size: var(--t-2xl); margin: 0 0 var(--s3); color: var(--on-band); }
.foot-list, .legal-list { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--on-band); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--saffron); }
.foot-list a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-band-muted); }
.foot-list a:hover { color: var(--on-band); }
.social { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; gap: var(--s2); }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border: var(--rule-w) solid var(--band-rule); }
.social a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); }
.author-hero .social a { border-color: var(--ink); color: var(--ink); }
.footer-legal { border-top: var(--rule-w) solid var(--band-rule); font-family: var(--mono); font-size: var(--t-xs); color: var(--on-band-muted); }
.footer-legal-inner { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; align-items: center; padding-block: var(--s4); }
.footer-legal p { margin: 0; }
.legal-list { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.to-top { border: 0; background: none; color: var(--on-band-muted); min-height: 44px; font: inherit; }
.to-top:hover { color: var(--on-band); }

/* ---------- Cook mode (always dark: it lives next to the stove) ---------- */
.cook-mode { position: fixed; inset: 0; z-index: 300; background: #121411; color: #f4f5f1; display: flex; flex-direction: column; padding: var(--s4) var(--pad) calc(var(--s5) + env(safe-area-inset-bottom, 0px)); }
.cook-mode :focus-visible { outline-color: #f2b01e; }
.cook-top { display: flex; justify-content: space-between; align-items: center; max-width: 900px; width: 100%; margin: 0 auto; }
.cook-top .eyebrow { color: #f2b01e; margin: 0; }
.cook-top .icon-btn { color: #f4f5f1; border: var(--rule-w) solid #3a3e37; }
.cook-progress { display: flex; gap: 4px; max-width: 900px; width: 100%; margin: var(--s3) auto 0; }
.cook-progress span { flex: 1; height: 4px; background: #3a3e37; }
.cook-progress span.on { background: #f2b01e; }
.cook-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s4); max-width: 900px; width: 100%; margin: 0 auto; overflow-y: auto; }
.cook-num { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: .8; color: #f2b01e; }
.cook-num small { font-size: .35em; color: #6b7066; }
.cook-count { color: #b9bdb4; margin: 0; }
.cook-section { font-family: var(--mono); font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; color: #b9bdb4; margin: 0; }
.cook-step { font-family: var(--sans); font-weight: 500; text-transform: none; font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.35; margin: 0; }
.cook-ings { list-style: none; padding: 0; margin: 0; columns: 1; font-size: var(--t-lg); }
@media (min-width: 700px) { .cook-ings { columns: 2; } }
.cook-ings li { padding: var(--s2) 0; border-bottom: 1px solid #3a3e37; break-inside: avoid; }
.cook-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s2); max-width: 900px; width: 100%; margin: 0 auto; }
.cook-nav .btn { background: transparent; color: #f4f5f1; border-color: #3a3e37; min-height: 60px; padding: 0 var(--s2); white-space: normal; text-align: center; }
.cook-nav .btn--primary { background: #f2b01e; border-color: #f2b01e; color: #121411; }
.cook-nav .btn:disabled { opacity: .35; cursor: not-allowed; }
.cook-wake { text-align: center; color: #8d9288; font-family: var(--mono); font-size: var(--t-xs); margin: var(--s3) 0 0; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 400; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s5); font-weight: 700; font-size: var(--t-sm); border: var(--rule-w) solid var(--saffron); }
@media (min-width: 900px) { .toast { bottom: var(--s6); } }
.print-recipe { display: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- WordPress core ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { background: var(--ink); color: var(--paper); border-radius: 0; }
.bypostauthor > .comment-body .comment-author b::after { content: " · author"; font-weight: 400; color: var(--muted); font-size: .85em; }
.sticky { position: relative; }
.gallery-caption { font-size: var(--t-sm); }

/* ---------- Tap areas (last, so nothing above overrides them) ----------
   Text links in tight layouts get a 44px hit box; negative margins keep the
   visual spacing exactly as designed. Card titles are already covered by the
   whole-card overlay (.card-title a::after). */
.card-kicker, .byline-author a, .author-name a, .crumbs a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.kicker { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: var(--s1); }
.brand-word { min-height: 44px; justify-content: center; }
.byline-avatar { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
.foot-list a, .toc a, .sm-columns a, .ri-group li a, .tool-links a { display: inline-flex; align-items: center; min-height: 44px; }
.index-list a { display: inline-block; padding-block: 6px; }
.comment-metadata a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.comment-form-cookies-consent input[type="checkbox"] { width: 24px; height: 24px; margin: 10px 0; accent-color: var(--ink); flex: none; }
.comment-form-cookies-consent label { padding-block: 12px; }
