/* Hallmark · shape: Index-First (home), Long Document (recipes, stories, guides) · genre: editorial · theme: brand · redesign: full · job: cook, the recipe finder in the first band and the recipe card on every recipe page
 * paper: oklch(97.5% 0.008 80) · accent: oklch(44% 0.155 22) · display: Bricolage Grotesque · body: Source Serif 4 · hero: Stage (/), Settled (recipes, stories) · nav: edge-aligned wordmark, links and the recipe search · footer: a mast, the wordmark over two link columns on an ink band · signature: Brenda in her own kitchen, the photograph beside the name on the first screen
 * axes: light/display-grotesque/brand-red · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, a cookbook grid is the category's own shape; the ruled index rows and the ink finder band carry the difference */
/* Hallmark · kept the brand red #9e1720 as the accent; dropped the slogan strip above the nav (66), its line now closes the footer */
/* shared scale (was tokens.css) */
:root {
  --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;
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
}
/* floor rules (was base.css) */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

:root {
  --color-paper: oklch(97.5% 0.008 80); --color-paper-2: oklch(94.5% 0.013 78); --color-paper-3: oklch(91% 0.016 76);
  --color-ink: oklch(21% 0.016 40); --color-ink-2: oklch(31% 0.014 40); --color-muted: oklch(47% 0.014 50);
  --color-rule: oklch(86% 0.013 70); --color-rule-2: oklch(64% 0.012 60);
  --color-accent: oklch(44% 0.155 22); --color-accent-2: oklch(37% 0.14 22); --color-accent-ink: oklch(98% 0.008 80); --color-focus: oklch(46% 0.16 22);
  --color-band: oklch(23% 0.02 35); --color-band-ink: oklch(96% 0.01 80); --color-band-muted: oklch(80% 0.014 70); --color-band-rule: oklch(40% 0.02 35);
  --color-scrim: oklch(16% 0.015 40 / 0.92); --color-field: oklch(99% 0.004 80);
  --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif; --font-body: "Source Serif 4", ui-serif, serif; --font-outlier: var(--font-display);
  --display-weight: 800; --tracking-display: -0.012em;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-heavy: 4px; --shadow-card: none;
  --container: 1360px; --measure: 68ch; --header-h: 72px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-md)); }
body { font-size: 1.125rem; line-height: 1.6; color: var(--color-ink-2); font-optical-sizing: auto; }
h1, h2, h3, h4 { color: var(--color-ink); font-variation-settings: "wdth" 75, "opsz" 96; }
h4 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.25; }
a { color: inherit; text-decoration: none; }
main a:hover { color: var(--color-accent); }
p { margin: 0 0 var(--space-md); }
ul, ol { padding-left: var(--space-lg); }
strong, b { color: var(--color-ink); font-weight: 600; }
figure { margin: 0; }
picture { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: var(--space-sm); top: calc(-1 * var(--space-4xl)); z-index: var(--z-tooltip); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); font-family: var(--font-display); }
.skip-link:focus { top: var(--space-sm); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.container { max-width: var(--container); padding-block: var(--space-2xl); }

/* labels: the display face at its text size, sentence case, untracked */
.meta, .tag, .gf-chip, .breadcrumbs, .gf-crumbs, .semantic-keywords, .disclosure, .bottom-disclosure, .copyright,
.gf-card-foot, .photo-copy span, figcaption, .gf-article-byline, .gf-muted, .source-line {
  font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--color-muted); line-height: 1.45;
}
.meta, .gf-card-foot, .tag { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); }
.meta span + span, .tag span + span, .gf-card-foot span + span { padding-left: var(--space-sm); border-left: var(--rule-hair) solid var(--color-rule); }

/* ---------- controls ---------- */
.btn, .small-btn, .print, .share-row button, .hero-actions button, .finder-search button, .search button, .newsletter button,
.contact-form button, .gf-empty button, .side-button, .gf-menu-toggle, .ga-choice button, .ga-preferences, .filter, .gf-filter, .photo-filters button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink);
  font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-md); font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.btn, .finder-search button, .search button, .small-btn.primary, .primary-action, .contact-form button, .newsletter button, .gf-empty button {
  background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink);
}
.btn:hover, .finder-search button:hover, .search button:hover, .small-btn.primary:hover, .primary-action:hover, .contact-form button:hover, .newsletter button:hover, .gf-empty button:hover {
  background: var(--color-accent-2); border-color: var(--color-accent-2); color: var(--color-accent-ink);
}
.small-btn:hover, .print:hover, .share-row button:hover, .outline-action:hover, .side-button:hover, .ga-choice button:hover, .ga-preferences:hover,
.filter:hover, .gf-filter:hover, .photo-filters button:hover { background: var(--color-paper-2); color: var(--color-ink); }
.btn:active, .small-btn:active, .print:active, .share-row button:active, .filter:active, .gf-filter:active, .photo-filters button:active,
.finder-search button:active, .search button:active, .contact-form button:active, .gf-empty button:active, .ga-choice button:active { transform: translateY(1px); }
button:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.filter.active, .gf-filter.is-active, .photo-filters button.active, .small-btn.saved, .primary-action.saved,
.filter.active:hover, .gf-filter.is-active:hover, .photo-filters button.active:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.text-link, .gf-inline-link, .section-head a, .recipe-family a, .gf-hub-links a {
  display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-md); font-weight: 600;
  color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em;
}
.text-link:hover, .gf-inline-link:hover, .section-head a:hover, .recipe-family a:hover, .gf-hub-links a:hover { color: var(--color-accent); }
input, select, textarea { font: inherit; color: var(--color-ink); caret-color: var(--color-accent); }
input[type="search"], input[type="text"], input[type="email"], input:not([type]), select, textarea {
  min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 0; background: var(--color-field);
}
textarea { padding-block: var(--space-sm); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 0; }
input:disabled, select:disabled, textarea:disabled { opacity: 0.5; cursor: not-allowed; }
input[type="checkbox"] { accent-color: var(--color-accent); width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header, .navwrap { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav { max-width: var(--container); margin-inline: auto; padding: var(--space-sm) var(--gutter); display: flex; align-items: center; gap: var(--space-lg); min-height: var(--header-h); }
.logo, .v13-logo { display: flex; flex-direction: column; gap: var(--space-3xs); font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-2xl); line-height: 1; color: var(--color-accent); white-space: nowrap; letter-spacing: -0.01em; }
.logo small, .v13-logo small { font-family: var(--font-body); font-variation-settings: normal; font-size: var(--text-sm); font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--color-muted); line-height: 1.2; }
.logo:hover { color: var(--color-accent-2); }
.navlinks { display: flex; gap: var(--space-lg); margin-left: auto; font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-md); font-weight: 500; }
.navlinks a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--color-ink-2); border-bottom: 2px solid transparent; }
.navlinks a:hover { color: var(--color-ink); border-bottom-color: var(--color-rule-2); }
.navlinks a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.search { display: flex; align-items: stretch; }
.search input { width: 200px; min-width: 0; border-right: 0; }
.search button { padding: 0 var(--space-md); }
.gf-menu-toggle { display: none; }
.gf-menu-toggle span[aria-hidden] { display: none; }

/* ---------- home: hero (Stage) ---------- */
.hero { border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero-inner { max-width: var(--container); margin-inline: auto; padding: var(--space-xl) var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; min-height: calc(100svh - var(--header-h)); max-height: 820px; }
.hero h1 { font-size: clamp(3.5rem, 6vw + 0.5rem, 6.5rem); line-height: 0.92; max-width: 11ch; }
.hero-sub { display: block; margin-top: var(--space-sm); font-size: var(--text-display-s); line-height: 1; color: var(--color-accent); max-width: 16ch; }
.hero-lede { margin: var(--space-lg) 0 var(--space-xl); font-size: var(--text-lead); line-height: 1.5; max-width: 46ch; color: var(--color-ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }
.hero-figure { position: relative; align-self: stretch; max-height: 680px; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; box-shadow: inset 0 0 0 1px var(--color-rule); }

/* ---------- home: category index ---------- */
.categories { max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-bottom: var(--rule-hair) solid var(--color-rule); }
.cat { display: flex; align-items: center; min-height: 64px; padding: var(--space-sm); white-space: nowrap; border-left: var(--rule-hair) solid var(--color-rule); font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-weight: 600; font-size: var(--text-md); color: var(--color-ink); }
.cat:last-child { border-right: var(--rule-hair) solid var(--color-rule); }
.cat:hover { background: var(--color-paper-2); color: var(--color-accent); }

/* ---------- home: finder band ---------- */
.recipe-finder { background: var(--color-band); color: var(--color-band-ink); }
.recipe-finder-inner { max-width: var(--container); margin-inline: auto; padding: var(--space-2xl) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-lg) var(--space-2xl); align-items: end; }
.recipe-finder h2 { color: var(--color-band-ink); font-size: var(--text-section); }
.recipe-finder p { color: var(--color-band-muted); margin: var(--space-sm) 0 0; max-width: 46ch; }
.finder-search { display: flex; }
.finder-search input { flex: 1; min-width: 0; min-height: 56px; border-color: var(--color-band-ink); font-size: var(--text-lg); }
.finder-search button { min-height: 56px; }
.quick-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.quick-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-weight: 500; color: var(--color-band-ink); text-decoration: underline; text-decoration-color: var(--color-band-rule); text-underline-offset: 0.25em; }
.quick-links a:hover { color: var(--color-band-ink); text-decoration-color: var(--color-band-ink); }

/* ---------- section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-heavy) solid var(--color-ink); }
.section-head h2 { font-size: var(--text-section); }
.section-head > span { font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; color: var(--color-muted); font-size: var(--text-md); }
.gf-new-guides > p, .section-head + p { max-width: 60ch; color: var(--color-ink-2); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recipe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .gf-recipe-card, .story-card, .photo-card, .gf-guide-tile { position: relative; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.card[hidden], .gf-recipe-card[hidden], .photo-card[hidden] { display: none !important; }
.card > a, .gf-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card img, .gf-card-link > img, .gf-guide-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-paper-2); }
.card-body, .gf-card-body { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-md) 0 0; border-top: var(--rule-heavy) solid transparent; }
.card h3, .gf-card-body h3, .story-card h3, .gf-guide-tile h2 { font-size: var(--text-title); line-height: 1.12; }
.card p, .gf-card-body p, .story-card p, .gf-guide-tile p { margin: 0; font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }
.card a:hover h3, .gf-card-link:hover h3, .story-card a:hover h3 { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.card a:hover img, .gf-card-link:hover img { opacity: 0.92; }
.rating { font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-sm); color: var(--color-muted); }
.rating span { color: inherit; }
.card .text-link, .gf-card-body .text-link { min-height: 0; margin-top: var(--space-2xs); }
.related .card img, .lifestyle-home .card img { aspect-ratio: 3 / 2; }
.related .card:not(:has(img)) .card-body, .lifestyle-home .card:not(:has(img)) .card-body { border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md); }
.lifestyle-home .card img[style] { aspect-ratio: 3 / 2 !important; object-fit: cover !important; }

/* ---------- home: trust rows ---------- */
.trust-panel { max-width: var(--container); margin-inline: auto; padding: var(--space-2xl) var(--gutter); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap-columns); }
.trust-grid > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2xs) var(--space-md); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.trust-grid span { grid-row: span 2; font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-3xl); line-height: 0.9; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.trust-grid h3 { font-size: var(--text-title); }
.trust-grid p { margin: 0; color: var(--color-ink-2); font-size: var(--text-md); }
.trust-grid > div:not(:has(> span)) { grid-template-columns: minmax(0, 1fr); }

/* ---------- home: about well ---------- */
.about { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.about-inner { max-width: var(--container); margin-inline: auto; padding: var(--space-3xl) var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.about-inner > div:last-child { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.about h2 { font-size: var(--text-section); margin-bottom: var(--space-md); }
.about-inner > div:last-child h2 { font-size: var(--text-2xl); }
.quote { margin-bottom: var(--space-lg); font-family: var(--font-body); font-style: italic; font-size: var(--text-display-s); line-height: 1.1; color: var(--color-ink); max-width: 18ch; }
.about p { max-width: 58ch; }

/* ---------- home: ingredient index ---------- */
.ingredient-pills { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.ingredient-pills a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-weight: 600; color: var(--color-ink); background: var(--color-paper); }
.ingredient-pills a:hover { border-color: var(--color-ink); background: var(--color-paper-2); color: var(--color-ink); }
.filters, .gf-filters, .photo-filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0 0 var(--space-xl); }
.v20-intro { margin: 0 0 var(--space-xl); padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); max-width: none; }
.gf-guide-teasers { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-lg); }
.gf-guide-teasers a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-xl); color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.gf-guide-teasers a:hover { color: var(--color-accent); }
.gf-new-guides { padding-bottom: var(--space-3xl); }

/* ---------- ad slots: kept, quiet ---------- */
.ai-note { margin: calc(-1 * var(--space-lg)) 0 var(--space-xl); font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.section-head + .ai-note { margin-top: calc(-1 * var(--space-md)); }
.photo-credit { margin: 0 0 var(--space-xl); font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.photo-credit + .ai-note { margin-top: calc(-1 * var(--space-lg)); }
.filters + .ai-note, .gf-filters + .ai-note, .v20-intro + .ai-note { margin-top: 0; }
.gf-ad-slot, .mgid-slot, .ad-slot { clear: both; width: 100%; max-width: 100%; margin: var(--space-xl) auto; overflow: hidden; }
.gf-ad-slot::before { content: "Advertisement"; display: block; margin-bottom: var(--space-xs); text-align: center; font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- recipe pages ---------- */
.recipe-page, .recipe-v20, .recipe-page-v14 { max-width: var(--container); margin-inline: auto; padding: var(--space-lg) var(--gutter) var(--space-3xl); }
.recipe-family { display: flex; justify-content: flex-end; margin-bottom: var(--space-xs); }
.breadcrumbs, .gf-crumbs { margin: 0 0 var(--space-lg); }
.breadcrumbs a, .gf-crumbs a { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; }
.breadcrumbs a:hover, .gf-crumbs a:hover { color: var(--color-accent); }
.recipe-hero, .v20-hero, .biscuits-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; padding-bottom: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.recipe-hero > picture, .recipe-hero > img, .v20-hero > img, .v20-hero > picture { grid-column: 1; grid-row: 1; }
.recipe-hero > div, .v20-hero > div { grid-column: 2; grid-row: 1; }
.recipe-hero img, .v20-hero img, .hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: none; border-radius: 0; }
.recipe-title, .recipe-v20 h1, .biscuits-hero h1, .article-page h1, .page-hero h1, .photo-hero h1, .gf-article-head h1, .gf-hub-hero h1, .policy-page h1, main > h1 { font-size: var(--text-display); line-height: 0.95; margin: 0 0 var(--space-md); max-width: 16ch; }
.recipe-hero .meta, .v20-hero .meta, .source-line { margin: 0 0 var(--space-md); }
.lede, .article-lede, .hero-description, .gf-article-head > p, .gf-lead, .hero-kicker { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 52ch; }
.recipe-intent, .editorial-note, .tip, .gf-tip, .v20-note, .story-note, .gf-guide-pointer, .photo-note, .site-note, .recipe-intro-strip, .bottom-disclosure, .disclosure, .editorial-clarification {
  margin: var(--space-lg) 0; padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border: 0; border-top: var(--rule-hair) solid var(--color-rule-2); border-radius: 0; font-size: var(--text-md); line-height: 1.6; max-width: none;
}
.recipe-intent p { margin: 0 0 var(--space-xs); }
.semantic-keywords { margin: var(--space-xs) 0 0; }
.facts, .v20-times, .trust-row { display: flex; flex-wrap: wrap; gap: 0; margin: var(--space-lg) 0; border-block: var(--rule-hair) solid var(--color-rule); }
.fact, .v20-times span, .trust-pill { padding: var(--space-sm) var(--space-lg) var(--space-sm) 0; margin-right: var(--space-lg); border: 0; background: transparent; border-radius: 0; font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-size: var(--text-md); font-weight: 600; color: var(--color-ink); }
.fact + .fact, .v20-times span + span, .trust-pill + .trust-pill { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); margin-right: 0; }
.share-row, .recipe-card-actions, .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-sm) 0; }
.print { margin: var(--space-sm) var(--space-xs) 0 0; }
.jump { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: var(--space-lg) 0 0; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-weight: 600; color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; background: none; padding: 0; }
.jump a:hover { color: var(--color-accent-2); text-decoration-thickness: 2px; }
.gallery, .v20-gallery, .story-gallery, .step-gallery-v14 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0; }
.gallery figure, .v20-gallery figure, .story-gallery figure, .step-gallery-v14 figure { margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; position: relative; }
.gallery img, .v20-gallery img, .step-gallery-v14 img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.story-gallery img { width: 100%; height: auto; border-radius: 0; background: var(--color-paper-2); }
figcaption { padding-top: var(--space-xs); }
.recipe-content { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: var(--space-2xl) auto 0; }
.recipe-content[style] { max-width: 760px !important; }
.article-copy, .v20-body, .gf-guide-copy, .policy-page > p, .policy-page section { max-width: var(--measure); font-size: 1.1875rem; line-height: 1.7; color: var(--color-ink-2); }
.v20-body { margin: var(--space-2xl) auto; }
.gf-guide-copy { margin-inline: auto; }
.article-copy h2, .recipe-content h2, .v20-body h2, .gf-guide-copy h2, .faq h2, .related h2, .faq-v14 h2, .story-block-v14 h2, .card-heading h2, .policy-page h2, main.container > h2 {
  font-size: var(--text-2xl); line-height: 1.05; margin: var(--space-2xl) 0 var(--space-md); max-width: 26ch;
}
.article-copy h3, .recipe-content h3, .v20-body h3, .gf-guide-copy h3, .v20-steps h4 { font-size: var(--text-xl); margin: var(--space-xl) 0 var(--space-sm); }
.article-copy p, .v20-body p, .gf-guide-copy p { margin: 0 0 var(--space-md); }
.article-copy a:not([class]), .gf-guide-copy a, .gf-guide-disclaimer a, .v20-source a, .policy-page a, .editorial-note a, .story-note a, .photo-note a {
  color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
}
.v30-specific-technique, .v30-category-guide, .category-guide, .v30-context { margin: var(--space-2xl) 0; padding-top: var(--space-md); border-top: var(--rule-heavy) solid var(--color-ink); }
.v30-specific-technique h2, .v30-category-guide h2, .category-guide h2, .v30-context h2 { margin-top: 0; }

/* the recipe card */
#recipe-card, .info-box, .recipe-card-v14 { margin: var(--space-2xl) 0; padding: var(--space-xl); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-2); border-top: var(--rule-heavy) solid var(--color-accent); border-radius: 0; box-shadow: none; }
section#recipe-card h2:first-child, .info-box h2:first-child { margin-top: 0; }
.ingredients, .v20-ingredients { list-style: none; padding: 0; margin: 0 0 var(--space-xl); }
.ingredients li, .v20-ingredients li { padding: var(--space-sm) 0; margin: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.v20-ingredients label { display: flex; gap: var(--space-sm); align-items: baseline; cursor: pointer; }
.v20-ingredients label:has(input:checked) { color: var(--color-muted); text-decoration: line-through; }
.steps, .v20-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps > li, .v20-steps > li { counter-increment: step; position: relative; padding: 0 0 var(--space-lg) var(--space-2xl); margin: 0; }
.steps > li::before, .v20-steps > li::before { content: counter(step); position: absolute; left: 0; top: -0.1em; font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-2xl); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.v20-steps h4 { margin-top: 0; }

/* FAQ, related */
.faq, .faq-v14 { max-width: 760px; margin: var(--space-2xl) auto; }
.faq details, .faq-v14 details { padding: 0; margin: 0; border: 0; border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; border-radius: 0; }
.faq details:first-of-type, .faq-v14 details:first-of-type { border-top: var(--rule-hair) solid var(--color-rule); }
.faq summary, .faq-v14 summary { display: flex; align-items: center; min-height: 56px; padding: var(--space-sm) 0; cursor: pointer; font-family: var(--font-display); font-variation-settings: "wdth" 100, "opsz" 12; font-weight: 600; font-size: var(--text-lg); color: var(--color-ink); }
.faq summary:hover, .faq-v14 summary:hover { color: var(--color-accent); }
.faq details p, .faq-v14 details p { margin: 0 0 var(--space-md); max-width: 62ch; }
.related { margin: var(--space-3xl) 0 0; padding-top: var(--space-md); border-top: var(--rule-heavy) solid var(--color-ink); }
.related h2 { margin-top: 0; }
.related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recipe-v20 .related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.newsletter { margin: var(--space-2xl) 0; padding: var(--space-xl); background: var(--color-band); color: var(--color-band-ink); border-radius: 0; }
.newsletter h2, .newsletter h3 { color: var(--color-band-ink); margin-top: 0; }
.newsletter p { color: var(--color-band-muted); }
.newsletter .btn { margin-top: var(--space-sm); }
.v20-source { margin: var(--space-md) 0; }

/* the biscuits page (v14) */
.biscuits-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.hero-photo { position: relative; }
.photo-badge { position: absolute; left: 0; bottom: 0; padding: var(--space-xs) var(--space-md); background: var(--color-paper); font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.recipe-facts-v14 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: var(--rule-hair) solid var(--color-rule); margin: var(--space-lg) 0; }
.recipe-facts-v14 div { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; }
.recipe-facts-v14 div + div { padding-left: var(--space-md); border-left: var(--rule-hair) solid var(--color-rule); }
.recipe-facts-v14 span { display: block; font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); letter-spacing: 0; text-transform: none; }
.recipe-facts-v14 strong { display: block; font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-xl); }
.outline-action { background: transparent; }
.recipe-intro-strip { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-lg); }
.recipe-intro-strip span { font-family: var(--font-display); font-weight: 700; color: var(--color-ink); letter-spacing: 0; text-transform: none; }
.step-number { position: absolute; top: 0; left: 0; z-index: var(--z-raised); padding: var(--space-xs) var(--space-sm); background: var(--color-paper); font-family: var(--font-display); font-weight: 800; color: var(--color-accent); }
.step-gallery-v14 figcaption strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-ink); }
.step-gallery-v14 figcaption span { display: block; }
.story-block-v14 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); padding: var(--space-2xl) 0; border-top: var(--rule-heavy) solid var(--color-ink); }
.story-block-v14 h2 { margin-top: 0; }
.main-recipe-layout-v14 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-2xl); align-items: start; }
.card-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); padding-bottom: var(--space-md); margin-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.card-heading h2 { margin: 0; }
.yield-chip { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); white-space: nowrap; }
.recipe-columns-v14 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-xl); }
.ingredients-panel label { display: flex; gap: var(--space-sm); align-items: flex-start; padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-md); }
.steps-v14 { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-v14 li { counter-increment: step; position: relative; padding: 0 0 var(--space-lg) var(--space-2xl); }
.steps-v14 li::before { content: counter(step); position: absolute; left: 0; top: -0.1em; font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-2xl); line-height: 1; color: var(--color-accent); }
.steps-v14 b { display: block; }
.serving-box-v14 { display: flex; gap: var(--space-md); padding: var(--space-lg); margin: var(--space-xl) 0; background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); }
.serving-icon { display: none; }
.recipe-sidebar-v14 { display: flex; flex-direction: column; gap: var(--space-lg); position: sticky; top: calc(var(--header-h) + var(--space-md)); }
.side-card, .tool-card { padding: var(--space-lg) 0 0; border-top: var(--rule-hair) solid var(--color-rule-2); background: transparent; border-radius: 0; }
.side-card h3 { margin-bottom: var(--space-sm); }
.quote-card p { font-family: var(--font-body); font-style: italic; font-size: var(--text-xl); line-height: 1.35; color: var(--color-ink); }
.quote-mark { display: none; }
.quote-card span { font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); letter-spacing: 0; text-transform: none; }
.tip-list { list-style: none; padding: 0; margin: 0; }
.tip-list li { padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-md); }
.mini-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.mini-links a { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.mini-links img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: var(--space-2xs); }
.newsletter-mini { padding: var(--space-lg); background: var(--color-band); color: var(--color-band-ink); border: 0; }
.newsletter-mini h3 { color: var(--color-band-ink); }
.newsletter-mini p { color: var(--color-band-muted); font-size: var(--text-md); }
.side-button { background: var(--color-paper); border-color: var(--color-paper); }

/* ---------- stories, page heads ---------- */
.page-hero, .photo-hero { background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.page-hero .container, .photo-hero .container { padding-block: var(--space-3xl) var(--space-2xl); }
.page-hero p, .photo-hero p { font-size: var(--text-lead); max-width: 56ch; color: var(--color-ink-2); }
.article-page { padding: var(--space-xl) 0 var(--space-3xl); }
.article-page > .container { padding-top: 0; }
.article-hero { width: 100%; height: auto; margin: var(--space-xl) 0; border-radius: 0; background: var(--color-paper-2); }
.article-copy img { width: 100%; height: auto; }
.article-copy figure { margin: var(--space-xl) 0; }
.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.stories-grid > :first-child { grid-column: span 2; }
.stories-grid > :first-child h3 { font-size: var(--text-2xl); }
.story-card { display: flex; flex-direction: column; gap: var(--space-xs); }
.story-card .card-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-paper-2); }
.story-card .card-media img, .story-card > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.stories-grid > :first-child .card-media { aspect-ratio: 16 / 10; }
.story-card .card-title { color: var(--color-ink); }
.story-card .text-link { align-self: flex-start; }
.story-highlight { padding: var(--space-lg); background: var(--color-paper-2); }
.featured-story { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: center; }
.story-card-link-image, .zoomable-story-image { cursor: zoom-in; }
.image-viewer { position: fixed; inset: 0; z-index: var(--z-modal); display: none; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-2xl) var(--space-lg) var(--space-lg); background: var(--color-scrim); }
.image-viewer.open { display: flex; }
.image-viewer img { max-width: min(1200px, 96%); max-height: 82svh; width: auto; height: auto; object-fit: contain; }
.image-viewer p { max-width: 64ch; margin: var(--space-md) auto 0; color: var(--color-band-ink); text-align: center; font-family: var(--font-display); font-size: var(--text-md); }
.image-viewer-close { position: absolute; top: var(--space-md); right: var(--space-md); width: 48px; height: 48px; display: grid; place-items: center; border: var(--rule-hair) solid var(--color-band-muted); border-radius: 0; background: transparent; color: var(--color-band-ink); font-size: var(--text-2xl); line-height: 1; cursor: pointer; }
.image-viewer-close:hover { background: var(--color-band); }
.viewer-open { overflow: hidden; }

.story-photo { display: block; width: 100%; height: auto; margin: var(--space-lg) auto var(--space-xs); }
.birthday-photo-link { display: block; }
.story-highlight, .fact-note { margin: var(--space-xl) 0; padding: var(--space-lg); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-lg); line-height: 1.6; }
.source-note { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); }
.source-note a { color: var(--color-accent); text-decoration: underline; }
.article-page .article-copy { margin-inline: auto; }
.article-page h1 { max-width: 18ch; }

/* photo journal */
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.photo-card a { display: block; }
.photo-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--color-paper-2); }
.photo-copy { padding-top: var(--space-xs); }
.photo-copy h3 { font-size: var(--text-lg); }
.photo-caption { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- recipe directory (recipe-index) ---------- */
.gf-directory, .gf-article { max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter) var(--space-3xl); }
.gf-article { max-width: 1040px; }
.gf-hub-hero { margin: 0 0 var(--space-2xl); padding: var(--space-3xl) 0 var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); border-radius: 0; }
.gf-hub-hero p { font-size: var(--text-lead); max-width: 56ch; color: var(--color-ink-2); }
.gf-hub-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-lg); }
.gf-browser { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.gf-browse-top { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); margin-bottom: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-heavy) solid var(--color-ink); }
.gf-browse-top h2 { font-size: var(--text-section); }
.gf-controls { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: var(--space-md); align-items: end; margin-bottom: var(--space-lg); }
.gf-controls label { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); }
.gf-controls input[type="search"], .gf-controls select { display: block; width: 100%; margin-top: var(--space-xs); }
.gf-controls .gf-saved-filter { display: flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); white-space: nowrap; cursor: pointer; }
.gf-recipe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.gf-card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gf-card-foot { margin-top: auto; padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
.gf-empty { margin: var(--space-xl) 0; padding: var(--space-2xl) var(--space-lg); text-align: center; background: var(--color-paper-2); border: 0; }
.gf-resource-strip { margin: var(--space-3xl) 0 0; padding: var(--space-md) 0 0; border-top: var(--rule-heavy) solid var(--color-ink); text-align: left; }
.gf-resource-strip p { max-width: 60ch; margin: var(--space-sm) 0 0; }
.gf-resource-strip .gf-guide-teasers { justify-content: flex-start; }

/* guides */
.gf-article-head { padding: var(--space-xl) 0 var(--space-lg); max-width: none; }
.gf-guide-photo { width: 100%; height: auto; max-height: 520px; object-fit: cover; margin: 0 0 var(--space-2xl); border-radius: 0; }
.gf-guide-copy ol { padding-left: var(--space-lg); }
.gf-advice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); margin: var(--space-lg) 0; }
.gf-advice-grid > div { padding: var(--space-md) 0 0; border-top: var(--rule-hair) solid var(--color-rule-2); background: transparent; border-radius: 0; }
.gf-advice-grid p { font-size: var(--text-md); margin: 0; }
.gf-next-recipes { max-width: var(--measure); margin: var(--space-2xl) auto; padding: var(--space-lg); background: var(--color-paper-2); border: 0; border-top: var(--rule-hair) solid var(--color-rule-2); border-radius: 0; }
.gf-next-recipes h2 { margin: 0; font-size: var(--text-2xl); }
.gf-guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: var(--space-lg) 0 var(--space-2xl); }
.gf-guide-tile > div { padding: var(--space-md) 0 0; }
.gf-guide-disclaimer { max-width: var(--measure); margin-inline: auto; font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- about, policy, contact ---------- */
main.container, .policy-page { max-width: 1040px; }
.author-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-lg); margin: var(--space-xl) 0; padding: var(--space-lg) 0; border-block: var(--rule-hair) solid var(--color-rule); background: transparent; border-radius: 0; }
.author-avatar { width: 96px; height: 96px; display: grid; place-items: center; background: var(--color-paper-2); color: var(--color-accent); font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); border-radius: 0; }
.author-card h2 { margin-top: 0; }
.contact-form { max-width: 720px; padding: var(--space-xl); background: var(--color-paper-2); border: 0; border-top: var(--rule-heavy) solid var(--color-ink); border-radius: 0; }
.contact-form label { display: block; margin-top: var(--space-md); font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); color: var(--color-ink); }
.contact-form input, .contact-form textarea, .contact-form select { display: block; width: 100%; margin-top: var(--space-xs); }
.contact-form button { margin-top: var(--space-lg); }

/* ---------- footer ---------- */
footer { margin-top: 0; background: var(--color-band); color: var(--color-band-muted); }
.footer-inner { max-width: var(--container); margin-inline: auto; padding: var(--space-3xl) var(--gutter) var(--space-2xl); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--space-xl) var(--gap-columns); }
.footer-logo { font-family: var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; font-weight: 800; font-size: var(--text-display-s); line-height: 0.9; color: var(--color-band-ink); margin-bottom: var(--space-md); }
footer p { max-width: 48ch; }
footer b { display: block; margin-bottom: var(--space-xs); font-family: var(--font-display); font-weight: 700; color: var(--color-band-ink); }
footer a { display: inline-flex; align-items: center; min-height: 40px; margin-right: var(--space-md); color: var(--color-band-ink); text-decoration: underline; text-decoration-color: var(--color-band-rule); text-underline-offset: 0.25em; }
footer a:hover { color: var(--color-band-ink); text-decoration-color: var(--color-band-ink); }
.copyright { max-width: var(--container); margin-inline: auto; padding: var(--space-md) var(--gutter) var(--space-xl); border-top: var(--rule-hair) solid var(--color-band-rule); color: var(--color-band-muted); text-align: left; }
.copyright::after { content: "Good food brings people together."; display: block; margin-top: var(--space-2xs); font-family: var(--font-body); font-style: italic; }

/* ---------- analytics consent ---------- */
.ga-choice { position: fixed; bottom: var(--space-sm); left: var(--space-sm); right: var(--space-sm); margin: auto; max-width: 640px; z-index: var(--z-toast); padding: var(--space-lg); background: var(--color-paper); color: var(--color-ink); border: var(--rule-hair) solid var(--color-ink); border-top: var(--rule-heavy) solid var(--color-accent); border-radius: 0; font-family: var(--font-display); font-size: var(--text-md); line-height: 1.5; }
.ga-choice p { margin: 0 0 var(--space-md); }
.ga-choice button { margin-right: var(--space-xs); }
.ga-choice button:first-of-type { background: var(--color-ink); color: var(--color-paper); }
.ga-choice button:first-of-type:hover { background: var(--color-ink-2); color: var(--color-paper); }
.ga-preferences { display: flex; margin: var(--space-md) auto; color: var(--color-band-ink); border-color: var(--color-band-muted); min-height: 44px; font-size: var(--text-sm); }
.ga-preferences:hover { background: var(--color-band-rule); color: var(--color-band-ink); }
.ga-choice[hidden] { display: none; }

/* ---------- scroll header (phones) ---------- */
@media (max-width: 1100px) {
  .scroll-header { transition: transform var(--dur-short) var(--ease-out); }
  .scroll-header.scroll-header-hidden { transform: translateY(calc(-100% - 2px)); pointer-events: none; }
  .scroll-header:focus-within { transform: translateY(0); pointer-events: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; gap: var(--space-sm); }
  .gf-menu-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .search { order: 3; flex: 1 1 100%; }
  .search input { flex: 1; width: auto; }
  .navlinks { display: none; order: 4; }
  .navlinks.gf-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 var(--space-lg); padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
  .navlinks.gf-open a { min-height: 48px; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .gf-menu-toggle[aria-expanded="true"] { background: var(--color-ink); color: var(--color-paper); }
  .grid, .recipe-grid, .gf-recipe-grid, .photo-grid, .related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat:nth-child(4n+1) { border-left: 0; }
  .cat { border-bottom: var(--rule-hair) solid var(--color-rule); }
  .main-recipe-layout-v14 { grid-template-columns: minmax(0, 1fr); }
  .recipe-sidebar-v14 { position: static; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; max-height: none; gap: var(--space-lg); padding-block: var(--space-lg) var(--space-xl); }
  .hero-figure { order: -1; max-height: 440px; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .recipe-finder-inner, .about-inner, .recipe-hero, .v20-hero, .biscuits-hero, .story-block-v14, .recipe-columns-v14, .featured-story, .recipe-intro-strip { grid-template-columns: minmax(0, 1fr); }
  .recipe-hero > div, .v20-hero > div { grid-column: 1; grid-row: auto; }
  .quick-links { grid-column: 1; }
  .featured, .stories-grid, .gf-guide-list, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { gap: var(--space-lg) var(--gap-columns); }
  .stories-grid > :first-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .gf-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gf-controls .gf-saved-filter { grid-column: 1 / -1; width: max-content; }
}
/* phones first: most readers arrive here, many of them older; type stays large and every target 48px */
@media (max-width: 640px) {
  body { font-size: 1.125rem; line-height: 1.65; }
  .container { padding-block: var(--space-xl); }
  .nav { padding-block: var(--space-xs); gap: var(--space-xs) var(--space-sm); }
  .logo { font-size: var(--text-xl); }
  .gf-menu-toggle { min-height: 48px; }
  .search input, .search button { min-height: 48px; font-size: var(--text-md); }
  .navlinks.gf-open a { font-size: var(--text-lg); }
  .hero-inner { padding-top: var(--space-md); gap: var(--space-md); }
  .hero-figure { max-height: none; margin-inline: calc(-1 * var(--gutter)); }
  .hero-figure img { aspect-ratio: 16 / 10; object-position: 50% 22%; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .hero-sub { font-size: 2rem; }
  .hero-lede { margin: var(--space-md) 0 var(--space-lg); font-size: var(--text-lg); }
  .hero-actions .btn { width: 100%; }
  .meta, .tag, .gf-chip, .breadcrumbs, .gf-crumbs, .gf-card-foot, figcaption, .source-line, .photo-copy span { font-size: var(--text-md); }
  .card h3, .gf-card-body h3, .story-card h3 { font-size: var(--text-xl); }
  .recipe-page, .recipe-v20, .recipe-page-v14 { padding-top: var(--space-sm); }
  .recipe-hero, .v20-hero, .biscuits-hero { gap: var(--space-lg); }
  .recipe-hero img, .v20-hero img, .hero-photo img { margin-inline: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); max-width: none; }
  .article-copy, .v20-body, .gf-guide-copy { font-size: 1.125rem; }
  .steps > li, .v20-steps > li, .steps-v14 li { padding-left: var(--space-xl); }
  .print, .share-row button, .small-btn { flex: 1 1 auto; }
  .jump a { min-height: 48px; font-size: var(--text-lg); }
  .jump a:first-child { flex: 1 1 100%; justify-content: center; background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; }
  .jump a:first-child:hover { background: var(--color-accent-2); color: var(--color-accent-ink); }
  .grid, .recipe-grid, .featured, .related .grid, .gf-recipe-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--space-lg) var(--space-sm); }
  .grid .card h3, .gf-recipe-card h3, .photo-copy h3 { font-size: var(--text-lg); }
  .grid .card-body, .gf-card-body { padding-top: var(--space-xs); }
  .grid .meta, .gf-card-foot, .gf-chip { font-size: var(--text-sm); }
  .grid .meta, .gf-card-foot { flex-direction: column; gap: 0; }
  .grid .meta span + span, .gf-card-foot span + span { padding-left: 0; border-left: 0; }
  .gf-card-body p, .rating { display: none; }
  .lifestyle-home .grid, .stories-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .lifestyle-home .card h3 { font-size: var(--text-xl); }
  .filters, .gf-filters, .photo-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter, .gf-filter, .photo-filters button { flex: 0 0 auto; }
  footer a { min-height: 48px; }
  .gf-hub-hero { padding: var(--space-xl) 0 var(--space-lg); margin-bottom: var(--space-xl); }
  .page-hero .container, .photo-hero .container { padding-block: var(--space-xl) var(--space-lg); }
  .gf-hub-links { gap: 0 var(--space-lg); }
  .grid, .recipe-grid, .featured, .related .grid, .recipe-v20 .related .grid, .gf-recipe-grid, .photo-grid, .stories-grid, .gf-guide-list, .trust-grid, .gallery, .v20-gallery, .story-gallery, .step-gallery-v14, .gf-advice-grid, .mini-links { grid-template-columns: minmax(0, 1fr); }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat:nth-child(odd) { border-left: 0; }
  .cat:nth-child(4n+1) { border-left: 0; }
  .section-head, .gf-browse-top { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
  .recipe-facts-v14 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-facts-v14 div + div { border-left: 0; padding-left: 0; }
  .gf-controls { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  #recipe-card, .info-box, .recipe-card-v14, .contact-form { padding: var(--space-lg) var(--space-md); }
  .fact + .fact, .v20-times span + span { padding-left: var(--space-md); }
  .fact, .v20-times span { padding-right: var(--space-md); margin-right: 0; }
  .author-card { grid-template-columns: minmax(0, 1fr); }
  .finder-search { flex-direction: column; }
  .finder-search button { width: 100%; }
}

@media print {
  .site-header, .navwrap, .categories, .gf-ad-slot, .mgid-slot, .newsletter, .related, footer, .recipe-family, .jump, .print, .recipe-card-actions, .share-row, aside, .ga-choice, .ga-preferences, .gf-menu-toggle, .recipe-sidebar-v14, .v20-gallery, .gallery { display: none !important; }
  body { background: var(--color-paper); }
  .recipe-page, .recipe-v20 { max-width: none; padding: 0; }
  #recipe-card, .info-box { border: 0; padding: 0; }
}

/* video fallback text, shown only where the video cannot play */
main video, main video a, main video a:hover { color: var(--color-ink); }
