/* AllRecipeZone
   Layout concept: a culinary editorial page where each recipe reads like a
   kitchen ticket (dashed rules, tabular times) set on warm ivory paper. */
:root {
  --paper: #FFF9F1;      /* warm ivory page */
  --paper-2: #F2EEE6;    /* soft neutral panels */
  --ink: #232620;        /* deep charcoal text */
  --ink-2: #555A4F;      /* secondary text, 6.6:1 on paper */
  --herb: #39734C;       /* primary accent, links, focus */
  --herb-ink: #FFFFFF;
  --tomato: #B8432F;
  --brand: #B5452E;     /* alerts, temperature chips (darkened for AA text) */
  --gold: #E6AE55;       /* highlights, never body text */
  --line: #DDD5C7;
  --card: #FFFFFF;
  --mark: #FCEBC4;
  --warm-1: #FFEDD5; --warm-2: #FCE3C8; --green-1: #E3EFDF; --band: #F6EFE4; --warm-line: #FDD7AE; --line-strong: #CFC6B6;
  --accent-text: #C2410C; --err: #B42318; --err-bg: #FEF3F2; --err-line: #FECDCA;
  --shadow: 0 1px 2px rgba(35,38,32,.06), 0 8px 24px -12px rgba(35,38,32,.18);

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-read: "Literata", Georgia, "Times New Roman", serif;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);

  --radius: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171915; --paper-2: #20231E; --ink: #F1ECE2; --ink-2: #B9B6AA;
    --herb: #86C49A; --herb-ink: #10140F; --tomato: #F08C76; --brand: #F08C76; --gold: #E6AE55;
    --line: #34382F; --card: #1D201B; --mark: #4A3D1E;
    --warm-1: #3A2718; --warm-2: #33241A; --green-1: #1C2A20; --band: #1F221D; --warm-line: #5A3A22; --line-strong: #4A4F44; --accent-text: #FB923C; --err: #F59E9A; --err-bg: #3A1D1A; --err-line: #6B2B26;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171915; --paper-2: #20231E; --ink: #F1ECE2; --ink-2: #B9B6AA;
  --herb: #86C49A; --herb-ink: #10140F; --tomato: #F08C76; --brand: #F08C76; --gold: #E6AE55;
  --line: #34382F; --card: #1D201B; --mark: #4A3D1E;
    --warm-1: #3A2718; --warm-2: #33241A; --green-1: #1C2A20; --band: #1F221D; --warm-line: #5A3A22; --line-strong: #4A4F44; --accent-text: #FB923C; --err: #F59E9A; --err-bg: #3A1D1A; --err-line: #6B2B26;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-display);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--herb); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--herb); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -.015em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 8px; }
.eyebrow { font-size: var(--step--1); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--herb); }
.muted { color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--brand); text-decoration: none; flex-shrink: 0; }
.brand svg { width: 44px; height: 44px; }
.brand-name { font-family: "Oswald", "Arial Narrow", var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: .01em; line-height: 1; }
.brand-name em { font-style: normal; color: var(--tomato); }
.nav { display: flex; gap: 4px; align-items: center; margin-inline-start: 8px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-2); }
.header-tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.header-search { position: relative; }
.header-search input {
  width: 220px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); padding: 0 14px 0 38px; font: inherit; font-size: .9375rem;
}
.header-search svg { position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; color: var(--ink-2); pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; position: relative;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tomato); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-dark { display: block; }
  :root:not([data-theme="light"]) .theme-icon-light { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-search input { width: 160px; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; margin: 0;
  }
  .site-header.open .nav a { padding: 14px 12px; font-size: 1.0625rem; }
}
@media (max-width: 560px) {
  .header-search { display: none; }
  .brand-name { font-size: 1.3rem; }
}
/* smallest phones (320-380px): keep logo and the three header buttons on one line */
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 6px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.15rem; }
  .header-tools { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .minimal-link { padding: 6px 10px; font-size: .875rem; }
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 .9375rem/1 var(--font-display); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink-2); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--herb); border-color: var(--herb); color: var(--herb-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--herb) 86%, var(--ink)); border-color: transparent; }
.btn[aria-pressed="true"] { background: var(--mark); border-color: var(--gold); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: var(--step--1); font-weight: 650; color: var(--ink-2); }
.field input, .field select {
  height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 0 12px; font: inherit; font-size: .9375rem; width: 100%; min-width: 0;
}
.searchbar { display: flex; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); max-width: 560px; }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; padding: 0 14px; }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { outline: 3px solid var(--herb); outline-offset: 2px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 650; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.chip-diet { background: color-mix(in srgb, var(--herb) 14%, transparent); color: var(--herb); }
.chip-temp { background: color-mix(in srgb, var(--tomato) 12%, transparent); color: var(--tomato); font-variant-numeric: tabular-nums; font-size: .8125rem; padding: 4px 10px; }
.chip-temp svg { width: 14px; height: 14px; }
.chip-status { background: var(--mark); color: var(--ink); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { display: grid; gap: 8px; min-width: 0; align-content: start; }
.card h3 { font-size: 1.1875rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--herb); outline-offset: 4px; border-radius: var(--radius); }
.card-meta { display: flex; gap: 10px; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card-meta span + span::before { content: "·"; margin-inline-end: 10px; }
.card-desc { font-family: var(--font-read); font-size: .9375rem; color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .chips { position: relative; z-index: 1; }
.card-lg { gap: 14px; }
.card-lg .card-media { aspect-ratio: 4 / 3; }
.card-lg h3 { font-size: var(--step-2); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: clamp(40px, 6vw, 72px); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head > div { display: grid; gap: 6px; min-width: 0; }
.section-head p { color: var(--ink-2); max-width: 60ch; }
.section-head .more { font-weight: 650; white-space: nowrap; }
.band { background: var(--paper-2); }
.band .section + .section { padding-top: clamp(40px, 6vw, 72px); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem); line-height: .98; letter-spacing: -.03em; }
.hero h1 span { color: var(--herb); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy > p:not(.eyebrow) { font-family: var(--font-read); font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .875rem; color: var(--ink-2); }
.hero-quick a { color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-weight: 600; }
.hero-quick a:hover { border-color: var(--herb); }
.hero-feature { position: relative; margin: 0; min-width: 0; }
.hero-feature img { border-radius: 16px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-feature figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--card); border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow);
}
.hero-feature figcaption > div { min-width: 0; }
.hero-feature figcaption a { color: var(--ink); font-weight: 750; font-size: 1.0625rem; text-decoration: none; }
.hero-feature figcaption a::after { content: ""; position: absolute; inset: 0; }
.hero-feature figcaption .muted { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.hero-feature .arrow { flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; background: var(--herb); color: var(--herb-ink); display: grid; place-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Meal tiles */
.meal-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.meal-tile {
  display: grid; gap: 10px; justify-items: start; padding: 16px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s;
}
.meal-tile:hover { border-color: var(--herb); transform: translateY(-2px); }
.meal-tile svg { width: 34px; height: 34px; color: var(--herb); }
.meal-tile strong { font-size: 1.0625rem; }
.meal-tile span { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .meal-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .meal-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.picks { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.picks > .card-lg:first-child { grid-row: span 2; }
.picks > .card:not(:first-child) { flex-direction: row; align-items: center; }
.picks > .card:not(:first-child) .card-media { width: 42%; flex-shrink: 0; }
.picks > .card:not(:first-child) .card-body { display: grid; gap: 8px; min-width: 0; }
@media (max-width: 760px) {
  .picks { grid-template-columns: 1fr; }
  .picks > .card-lg:first-child { grid-row: auto; }
}

.season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.season-intro { display: grid; gap: 14px; position: sticky; top: 100px; }
.season-intro p { font-family: var(--font-read); color: var(--ink-2); }
@media (max-width: 760px) { .season { grid-template-columns: 1fr; } .season-intro { position: static; } }

.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.guide-card:hover { border-color: var(--herb); }
.guide-card h3 { font-size: var(--step-1); }
.guide-card p { font-family: var(--font-read); font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }

/* ---------- Page heads & breadcrumbs ---------- */
.crumbs { font-size: .875rem; color: var(--ink-2); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.page-head { display: grid; gap: 12px; padding-block: 20px 28px; max-width: 70ch; }
.page-head p:not(.eyebrow) { font-family: var(--font-read); font-size: var(--step-1); color: var(--ink-2); }

/* ---------- Listing / filters ---------- */
.finder { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: 72px; }
.filters { display: grid; gap: 16px; position: sticky; top: 92px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.filters legend { font-size: var(--step--1); font-weight: 650; color: var(--ink-2); padding: 0; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .9375rem; cursor: pointer; min-height: 32px; }
.check input { width: 20px; height: 20px; accent-color: var(--herb); margin: 0; flex-shrink: 0; }
.results-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.results-bar .field { grid-auto-flow: column; align-items: center; gap: 10px; }
.results-bar select { width: auto; }
.result-count { font-weight: 650; font-variant-numeric: tabular-nums; }
.filters-toggle { display: none; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; }
.empty p { color: var(--ink-2); max-width: 44ch; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pager button { min-width: 44px; }
.pager button[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Recipe page ---------- */
.recipe-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 16px 32px; }
.recipe-head-copy { display: grid; gap: 16px; min-width: 0; }
.recipe-head-copy .lede { font-family: var(--font-read); font-size: var(--step-1); color: var(--ink-2); }
.recipe-hero { margin: 0; min-width: 0; }
.recipe-hero img { border-radius: 16px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.recipe-hero figcaption, .post-hero figcaption { font-size: .75rem; color: var(--ink-2); margin-top: 8px; }
.recipe-hero figcaption a, .post-hero figcaption a { color: inherit; }
.post-hero { margin: 0 0 32px; }
.post-hero img { border-radius: 16px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-feature { margin-bottom: clamp(24px, 3vw, 40px); }
.blog-feature .card-lg { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: center; }
.blog-feature .card-lg .card-media { aspect-ratio: 16 / 10; }
.blog-feature .card-lg .card-desc { -webkit-line-clamp: 4; }
@media (max-width: 760px) { .blog-feature .card-lg { grid-template-columns: 1fr; } }
.credit-thumb { width: 96px; }
.credit-thumb img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }
@media (max-width: 860px) { .recipe-head { grid-template-columns: 1fr; } .recipe-hero { order: -1; } }

.byline { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; color: var(--ink-2); align-items: center; }
.ticket {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.ticket div { padding: 12px 14px; border-inline-end: 1px dashed var(--line); display: grid; gap: 2px; }
.ticket div:last-child { border-inline-end: 0; }
.ticket dt { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ticket dd { margin: 0; font-weight: 750; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.recipe-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 4vw, 56px); padding-bottom: 32px; }
.prose { font-family: var(--font-read); font-size: 1.0625rem; line-height: 1.75; display: grid; gap: 1.1em; max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: .8em; }
.prose ul, .prose ol { margin: 0; padding-inline-start: 1.3em; display: grid; gap: .4em; }
.aside-note { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--radius); background: var(--paper-2); font-size: .9375rem; }
.aside-note h2 { font-size: 1rem; }
.aside-note p { color: var(--ink-2); }
@media (max-width: 860px) { .recipe-body { grid-template-columns: 1fr; } }

.recipe-card { border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); margin-block: 8px 48px; overflow: hidden; }
.recipe-card-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 20px clamp(16px, 3vw, 32px); border-bottom: 1.5px dashed var(--line); }
.recipe-card-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.recipe-card-cols > section { padding: 24px clamp(16px, 3vw, 32px); min-width: 0; display: grid; gap: 18px; align-content: start; }
.recipe-card-cols > section + section { border-inline-start: 1.5px dashed var(--line); }
@media (max-width: 860px) {
  .recipe-card-cols { grid-template-columns: 1fr; }
  .recipe-card-cols > section + section { border-inline-start: 0; border-top: 1.5px dashed var(--line); }
}
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 44px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 96px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 7px 14px; border-radius: 999px; font-weight: 650; font-size: .875rem; }
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + span { outline: 3px solid var(--herb); outline-offset: 1px; }
.ing-group h3 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.ing-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ing-list li { border-bottom: 1px solid var(--line); }
.ing-list li:last-child { border-bottom: 0; }
.ing-list label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 10px 0; cursor: pointer; align-items: start; }
.ing-list input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--herb); }
.ing-list .qty { font-weight: 750; font-variant-numeric: tabular-nums; }
.ing-list .note { color: var(--ink-2); }
.ing-list input:checked ~ span { text-decoration: line-through; color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-weight: 750; font-variant-numeric: tabular-nums;
}
.steps li.done::before { background: var(--herb); content: "✓"; }
.steps li > div { display: grid; gap: 8px; justify-items: start; font-family: var(--font-read); font-size: 1.0625rem; line-height: 1.65; padding-top: 4px; cursor: pointer; }
.steps li.done > div p { color: var(--ink-2); }
.equip { margin: 0; padding-inline-start: 1.2em; font-size: .9375rem; color: var(--ink-2); display: grid; gap: 4px; }
.card-foot { padding: 16px clamp(16px, 3vw, 32px); border-top: 1.5px dashed var(--line); font-size: .875rem; color: var(--ink-2); display: grid; gap: 6px; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-grid > div { padding: 18px; border-radius: var(--radius); background: var(--paper-2); display: grid; gap: 6px; align-content: start; }
.info-grid h3 { font-size: 1rem; }
.info-grid p { font-family: var(--font-read); font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.subs { display: grid; gap: 10px; margin: 0; }
.subs div { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.subs dt { font-weight: 700; }
.subs dd { margin: 0; font-family: var(--font-read); color: var(--ink-2); }
@media (max-width: 560px) { .subs div { grid-template-columns: 1fr; gap: 2px; } }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--herb); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; font-family: var(--font-read); color: var(--ink-2); }
.block { display: grid; gap: 16px; padding-block: 24px; }

/* ---------- Kitchen tools ---------- */
.small { font-size: .8125rem; }
.tool-page { padding-bottom: 48px; }
.tool-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.tool-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.tool-panel { display: grid; gap: 14px; align-content: start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; margin: 0; }
.tool-panel h2, .tool-panel legend { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; padding: 0; }
fieldset.tool-panel legend { float: left; width: 100%; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.tool-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 16px; font-variant-numeric: tabular-nums; }
.tool-results li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.tool-result { font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.result-panel { margin-top: 20px; background: var(--mark); border-color: var(--gold); }
.chip-btn { font: 600 .8125rem/1 var(--font-display); padding: 8px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.chip-btn:hover { border-color: var(--herb); }
.tool-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tool-card { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tool-card:hover { border-color: var(--herb); transform: translateY(-2px); }
.tool-card svg { width: 34px; height: 34px; color: var(--herb); }
.tool-card p { font-size: .9375rem; color: var(--ink-2); }
.tool-card .more { font-weight: 650; color: var(--herb); font-size: .9375rem; }
.shop-picker { list-style: none; margin: 0; padding: 0; display: grid; }
.shop-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.stepper.small button { width: 36px; height: 32px; font-size: 1.0625rem; }
.stepper.small output { min-width: 92px; font-size: .875rem; }
.shop-output .empty { padding: 24px; }
.timer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.timer-label { font-weight: 700; }
.timer-time { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.timer.is-running { border-color: var(--herb); }
.timer.is-done { border-color: var(--tomato); background: color-mix(in srgb, var(--tomato) 10%, var(--card)); }
.timer.is-done .timer-time { color: var(--tomato); }
.btn:disabled { opacity: .5; cursor: default; }

.tool-tabs { margin: 16px 0 4px; overflow-x: auto; scrollbar-width: thin; }
.tool-tabs ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 4px; width: max-content; min-width: 100%; background: var(--paper-2); border-radius: 14px; }
.tool-tabs a { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .9375rem; white-space: nowrap; }
.tool-tabs a svg { width: 20px; height: 20px; color: var(--herb); }
.tool-tabs a:hover { background: var(--card); }
.tool-tabs a[aria-current="page"] { background: var(--card); box-shadow: var(--shadow); }
textarea { width: 100%; min-width: 0; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 10px 12px; font: .9375rem/1.6 var(--font-display); resize: vertical; }
.scaled-list { list-style: none; margin: 0; padding: 0; }
.scaled-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.scaled-list .qty { font-weight: 750; font-variant-numeric: tabular-nums; }
.scaled-list li.unchanged { color: var(--ink-2); font-style: italic; }
.sub-filters { margin-bottom: 20px; }
.sub-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: start; }
.sub-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.sub-card header { display: grid; gap: 4px; }
.sub-options { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 10px; }
.sub-use { font-weight: 650; }
.temp-card { display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--paper-2); }
.temp-big { font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.25rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--tomato); }
.temp-big .muted { font-size: .5em; font-weight: 700; }
.probe-verdict { padding: 14px 16px; border-radius: var(--radius); background: var(--paper-2); font-weight: 600; }
.probe-verdict.ok { background: color-mix(in srgb, var(--herb) 15%, var(--card)); color: var(--herb); }
.probe-verdict.warn { background: color-mix(in srgb, var(--tomato) 12%, var(--card)); color: var(--tomato); }
.nut-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nut-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, .9fr) minmax(0, 1.6fr) 44px; gap: 8px; align-items: end; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.nut-row.is-unknown input[list] { border-color: var(--tomato); }
@media (max-width: 520px) { .nut-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; } .nut-row .field:first-child { grid-column: 1 / -1; } }
.nut-table td { font-variant-numeric: tabular-nums; }
.nut-sources summary { cursor: pointer; font-weight: 650; font-size: .875rem; }
.nut-sources ul { margin: 8px 0 0; padding-inline-start: 1.2em; display: grid; gap: 4px; }

/* ---------- Article extras ---------- */
.quick-answer { margin: 0 0 24px; padding: 18px 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--herb) 10%, var(--card)); border-inline-start: 4px solid var(--herb); display: grid; gap: 6px; }
.quick-answer p:not(.eyebrow) { font-family: var(--font-read); font-size: 1.0625rem; line-height: 1.6; }
.toc { margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.toc ol { margin: 8px 0 0; padding-inline-start: 1.3em; display: grid; gap: 6px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { color: var(--ink); text-decoration-color: var(--line); }
.toc a:hover { color: var(--herb); }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.prose h2[id] { scroll-margin-top: 96px; }
.prose h3 { font-size: var(--step-1); margin-top: .4em; }
.callout { padding: 14px 16px; border-radius: var(--radius); background: var(--mark); font-family: var(--font-display); font-size: .9375rem; }
.blog-filter { margin: 0 0 20px; }
.blog-filter .chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Digital products store ---------- */
.store-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.store-stats div { padding: 12px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; min-width: 150px; }
.store-stats dt { font-size: var(--step--1); color: var(--ink-2); }
.store-stats dd { margin: 0; font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.store-filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 12px; }
.store-filters .chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); align-items: start; }
.product { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.pcover { position: relative; aspect-ratio: 16 / 9; background: var(--pc); color: #fff; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 16px 20px; text-align: center; overflow: hidden; }
.pcover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: rgba(0,0,0,.18); }
.pcover::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.1); }
.pcover-icon svg { width: 34px; height: 34px; }
.pcover-title { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.15; text-wrap: balance; max-width: 22ch; }
.pcover-brand { font-family: "Oswald", var(--font-display); font-size: .8125rem; letter-spacing: .08em; opacity: .85; }
.pbody { display: grid; gap: 8px; padding: 18px; align-content: start; justify-items: start; }
.pbadges { display: flex; flex-wrap: wrap; gap: 6px; }
.pbadge { font: 700 .75rem/1 var(--font-display); padding: 5px 10px; border-radius: 999px; letter-spacing: .03em; }
.pbadge-free { background: color-mix(in srgb, var(--herb) 16%, transparent); color: var(--herb); }
.pbadge-price { background: var(--ink); color: var(--paper); }
.pbadge-soon { background: var(--mark); color: var(--ink); }
.psub { font-family: var(--font-read); font-style: italic; color: var(--ink-2); font-size: .9375rem; }
.product h3 { font-size: var(--step-1); }
.pdesc { font-size: .9375rem; color: var(--ink-2); }
.pinside { font-weight: 700; margin-top: 4px; }
.pfeat { margin: 0; padding-inline-start: 1.1em; display: grid; gap: 3px; font-size: .9375rem; }
.product .btn { margin-top: 6px; }

/* ---------- Homepage ---------- */
.home-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #2A2620; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(24,20,15,.92) 0%, rgba(24,20,15,.78) 42%, rgba(24,20,15,.35) 75%, rgba(24,20,15,.2) 100%); }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(88px, 10vw, 136px); }
.home-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; animation: rise .7s ease-out both; }
.home-hero h1 span { margin-right: .12em; }
.hero-pill { justify-self: start; max-width: 100%; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.home-hero h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.25rem); line-height: .95; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.home-hero h1 span { color: #F2C46D; font-style: italic; }
.home-hero-lede { font-family: var(--font-read); font-size: var(--step-1); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 44ch; }
.searchbar-hero { width: 100%; max-width: 580px; align-items: center; padding: 6px 6px 6px 16px; border: 0; box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); }
.searchbar-hero svg { width: 20px; height: 20px; color: var(--ink-2); flex-shrink: 0; }
.searchbar-hero .btn { min-height: 48px; padding: 0 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .875rem; color: rgba(255,255,255,.8); }
.hero-tags a { color: #fff; text-decoration: none; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); transition: background .15s; }
.hero-tags a:hover { background: rgba(255,255,255,.24); }
.hero-card { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: rgba(255,249,241,.96); color: #232620; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); animation: rise .7s .15s ease-out both; min-width: 0; }
.hero-card-feature { position: relative; display: grid; gap: 4px; padding: 16px 64px 16px 16px; border-radius: 14px; background: #39734C; color: #fff; text-decoration: none; }
.hero-card-feature strong { font-size: 1.375rem; line-height: 1.1; }
.hero-card-feature small { opacity: .85; }
.hero-card-tag { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F2C46D; }
.hero-card-feature .arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; background: #fff; color: #39734C; display: grid; place-items: center; transition: transform .2s; }
.hero-card-feature:hover .arrow { transform: translate(4px, -50%); }
.hero-card-head { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555A4F; margin-top: 4px; }
.mini { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border-radius: 12px; color: #232620; text-decoration: none; transition: background .15s; }
.mini:hover { background: #F2EEE6; }
.mini img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.mini span { display: grid; gap: 2px; min-width: 0; }
.mini strong { font-size: .9375rem; line-height: 1.25; }
.mini small { color: #555A4F; font-size: .8125rem; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@media (max-width: 900px) { .home-hero-inner { grid-template-columns: 1fr; } .home-hero::before { background: linear-gradient(180deg, rgba(24,20,15,.82), rgba(24,20,15,.7)); } }

.home-stats { position: relative; z-index: 2; margin: -56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border-radius: 18px; box-shadow: 0 20px 50px -24px rgba(35,38,32,.45); border: 1px solid var(--line); overflow: hidden; }
.home-stats div { padding: 20px 24px; display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
.home-stats div:first-child { border-inline-start: 0; }
.home-stats dt { order: 2; font-weight: 700; }
.home-stats dd { order: 1; margin: 0; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 800; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.home-stats span { order: 3; font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 760px) { .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-stats div:nth-child(3) { border-inline-start: 0; } .home-stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.meal-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.meal-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.meal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.meal-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72)); }
.meal-photo:hover img { transform: scale(1.07); }
.meal-photo-label { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.meal-photo-label strong { font-size: 1.1875rem; }
.meal-photo-label span { font-size: .8125rem; opacity: .9; }
.meal-photo:focus-visible { outline: 3px solid var(--herb); outline-offset: 3px; }
@media (max-width: 900px) { .meal-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .meal-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.picks-mag { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.picks-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.ocard { position: relative; border-radius: 18px; overflow: hidden; min-height: 240px; isolation: isolate; color: #fff; box-shadow: var(--shadow); }
.ocard-lg { min-height: 500px; }
.ocard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.ocard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8)); }
.ocard:hover > img { transform: scale(1.05); }
.ocard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2.5vw, 28px); display: grid; gap: 8px; }
.ocard h3 { font-size: var(--step-2); line-height: 1.1; }
.ocard-lg h3 { font-size: var(--step-3); }
.ocard h3 a { color: #fff; text-decoration: none; }
.ocard h3 a::after { content: ""; position: absolute; inset: 0; }
.ocard:has(h3 a:focus-visible) { outline: 3px solid var(--herb); outline-offset: 4px; }
.ocard h3 a:focus-visible { outline: none; }
.ocard p { color: rgba(255,255,255,.88); font-family: var(--font-read); max-width: 52ch; }
.ocard-meta { font-family: var(--font-display) !important; font-size: .875rem; }
.chip-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
@media (max-width: 760px) { .picks-mag { grid-template-columns: 1fr; } .ocard-lg { min-height: 380px; } }

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-3 > :last-child:nth-child(odd) { grid-column: auto; } }

.season-band { position: relative; padding-block: clamp(48px, 6vw, 80px); background: linear-gradient(135deg, #8E3A22 0%, #B5452E 55%, #C9792E 100%); color: #fff; overflow: hidden; }
.season-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.07); }
.season-band-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-bottom: 28px; position: relative; }
.season-band-head > div { display: grid; gap: 8px; max-width: 56ch; }
.season-band .eyebrow { color: #F2C46D; }
.season-band h2 { color: #fff; }
.season-band-head p { color: rgba(255,255,255,.88); font-family: var(--font-read); }
.cards-on-color .card { background: var(--card); padding: 12px; border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.btn-light { background: #fff; color: #232620; border-color: #fff; }
.btn-light:hover { background: #F2EEE6; border-color: #F2EEE6; }
.btn-light svg { width: 18px; height: 18px; }
.btn-gold { background: #F2C46D; color: #232620; border-color: #F2C46D; }
.btn-gold:hover { background: #E6AE55; border-color: #E6AE55; }

.book-band { background: #1F3A29; color: #fff; overflow: hidden; }
.book-band-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.book-band-copy { display: grid; gap: 14px; justify-items: start; }
.book-band .eyebrow { color: #F2C46D; }
.book-band h2 { color: #fff; }
.book-band-copy > p:not(.eyebrow) { color: rgba(255,255,255,.85); font-family: var(--font-read); font-size: var(--step-1); max-width: 50ch; }
.book3d { justify-self: center; perspective: 900px; }
.book3d-cover { position: relative; width: min(240px, 60vw); aspect-ratio: 3 / 4; border-radius: 4px 12px 12px 4px; overflow: hidden; display: grid; align-content: end; padding: 18px; background: #B5452E; transform: rotateY(-18deg) rotateX(4deg); box-shadow: -14px 24px 40px -10px rgba(0,0,0,.6), inset 8px 0 0 rgba(0,0,0,.22); transition: transform .4s ease; isolation: isolate; }
.book3d:hover .book3d-cover { transform: rotateY(-8deg); }
.book3d-cover img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; z-index: -1; }
.book3d-title { font-weight: 800; font-size: 1.125rem; line-height: 1.15; }
.book3d-sub { font-size: .8125rem; opacity: .85; margin-top: 4px; }
@media (max-width: 760px) { .book-band-inner { grid-template-columns: 1fr; } }

.tool-list-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-list-home .tool-card svg { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--herb) 12%, transparent); }
@media (max-width: 1000px) { .tool-list-home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tool-list-home { grid-template-columns: 1fr; } }
.card { transition: transform .2s ease; }
.card:hover { transform: translateY(-3px); }

/* "Visit Full Blog": warm orange-to-rose gradient pill (white text stays above 4.5:1 on every stop) */
.btn-wp { position: relative; gap: 10px; min-height: 52px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; font-size: 1rem; font-weight: 700; letter-spacing: .01em; color: #fff; background: linear-gradient(110deg, #C2410C 0%, #B5452E 45%, #BE123C 100%); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 10px 24px -10px rgba(190,18,60,.65), inset 0 1px 0 rgba(255,255,255,.25); transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease; }
.btn-wp:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(190,18,60,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-wp:active { transform: translateY(0); }
.btn-wp:focus-visible { outline: 3px solid #F2C46D; outline-offset: 3px; }
.btn-wp svg { flex-shrink: 0; }
.btn-wp svg:first-child { width: 36px; height: 36px; padding: 9px; border-radius: 999px; background: #F2C46D; color: #7C2D12; }
.btn-wp svg:last-child { opacity: .9; transition: transform .2s ease; }
.btn-wp:hover svg:last-child { transform: translate(2px, -2px); }
.btn-wp::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(194,65,12,.35); opacity: 0; transition: opacity .2s; pointer-events: none; }
.btn-wp:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .btn-wp, .btn-wp:hover, .btn-wp svg { transition: none; transform: none; } }
.head-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.page-head .actions { margin-top: 16px; }
.wp-feed { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.wp-card .card-media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.wp-card-src { display: inline-flex; gap: 6px; align-items: center; margin-top: auto; font-size: .8125rem; font-weight: 600; color: var(--herb); }
.wp-more-row { display: flex; justify-content: center; margin-top: 32px; }
.wp-more-row[hidden] { display: none; }
.wp-home-h { margin: 40px 0 18px; font-size: var(--step-1); }

/* ---------- Scan-to-sign-up QR card ---------- */
.qr-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line-strong); }
.qr-code { width: 112px; height: 112px; padding: 4px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr-text { display: grid; gap: 4px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.qr-text strong { color: var(--ink); font-size: .9375rem; }
.qr-dl { font-size: .8125rem; font-weight: 600; color: var(--herb); }
.qr-wide { margin: -8px 0 24px; max-width: 640px; }
/* phones already have the form in hand: hide the code there */
@media (max-width: 760px), (hover: none) and (pointer: coarse) { .qr-desktop { display: none; } }
@media print { .qr-card { border-style: solid; } }

/* ---------- Free Kitchen Bundle landing page ---------- */
.bundle-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 0 0 24px; padding: 14px 20px; border-radius: 16px; text-decoration: none; color: var(--ink); background: linear-gradient(110deg, var(--warm-1), var(--paper) 55%, var(--green-1)); border: 1px solid var(--warm-line); transition: transform .15s ease, box-shadow .15s ease; }
.bundle-promo:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(194,65,12,.6); color: var(--ink); }
.bundle-promo-covers { display: flex; }
.bundle-promo-covers img { width: 44px; height: auto; border-radius: 2px; box-shadow: 0 4px 10px -4px rgba(60,40,20,.5); }
.bundle-promo-covers img + img { margin-left: -16px; }
.bundle-promo-covers img:nth-child(2) { transform: rotate(-6deg); }
.bundle-promo-covers img:nth-child(3) { transform: rotate(6deg); }
.bundle-promo-text { display: grid; gap: 2px; }
.bundle-promo-text span { color: var(--ink-2); font-size: .9375rem; }
.bundle-promo-cta { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: #fff; background: #C2410C; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.bundle-promo-cta svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .bundle-promo { grid-template-columns: auto minmax(0, 1fr); } .bundle-promo-cta { grid-column: 1 / -1; justify-content: center; } }
.minimal-link { margin-left: auto; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.minimal-link:hover { border-color: var(--herb); color: var(--herb); }
.site-footer-min { padding-block: 24px; }
.site-footer-min .footer-base { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-min-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.lp-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% 20%, var(--warm-2) 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, var(--green-1) 0%, transparent 60%), var(--paper); }
.lp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 80px); }
.lp-hero-copy { display: grid; gap: 18px; min-width: 0; }
.lp-pill { justify-self: start; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9A3412; background: #FFEDD5; border: 1px solid #FDBA74; padding: 6px 14px; border-radius: 999px; }
.lp-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; }
.lp-hero h1 span { color: var(--accent-text); }
.lp-lede { font-family: var(--font-read); font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lp-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: .9375rem; }
.lp-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.lp-ticks svg, .lp-res-helps svg { width: 18px; height: 18px; color: var(--herb); flex-shrink: 0; }

.lp-form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 24px 50px -28px rgba(60,40,20,.45); }
.lp-hero .lp-form-card { border-top: 5px solid var(--herb); }
.lp-form-title { font-weight: 800; font-size: 1.125rem; margin-bottom: 14px; }
.lp-form { display: grid; gap: 14px; }
.lp-field { display: grid; gap: 6px; }
.lp-field label { font-weight: 700; font-size: .9375rem; }
.lp-opt { font-weight: 500; color: var(--ink-2); }
.lp-field input { width: 100%; min-height: 50px; padding: 0 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 12px; }
.lp-field input:focus { outline: 3px solid color-mix(in srgb, var(--herb) 35%, transparent); outline-offset: 1px; border-color: var(--herb); }
.lp-field input[aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.lp-field-err, .lp-form-msg { font-size: .875rem; font-weight: 600; color: var(--err); }
.lp-form-msg { padding: 10px 12px; border-radius: 10px; background: var(--err-bg); border: 1px solid var(--err-line); }
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .9rem; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.lp-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--herb); }
.lp-submit { position: relative; width: 100%; min-height: 56px; border: 0; border-radius: 14px; font-size: 1.0625rem; font-weight: 800; color: #fff; background: linear-gradient(110deg, #C2410C, #B5452E 60%, #A33A21); box-shadow: 0 12px 24px -12px rgba(194,65,12,.8); gap: 10px; transition: transform .15s ease, box-shadow .15s ease, filter .15s; }
.lp-submit:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 28px -12px rgba(194,65,12,.85); }
.lp-submit:focus-visible { outline: 3px solid #F2C46D; outline-offset: 3px; }
.lp-submit[disabled] { cursor: progress; filter: saturate(.7); transform: none; }
.lp-submit svg { width: 20px; height: 20px; }
.lp-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: lp-spin .8s linear infinite; }
.lp-form.is-busy .lp-spinner { display: inline-block; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-fine { font-size: .8125rem; color: var(--ink-2); line-height: 1.5; }
.lp-fine a { color: inherit; }

.lp-hero-art { position: relative; min-height: 520px; display: grid; place-items: center; isolation: isolate; }
.lp-hero-art::before { content: ""; position: absolute; z-index: -1; width: min(92%, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FDBA74 0%, #F59E5B 45%, #C2410C 100%); opacity: .9; }
.lp-hero-art::after { content: ""; position: absolute; z-index: -1; width: min(40%, 200px); aspect-ratio: 1; left: 2%; top: 4%; border-radius: 50%; background: #9CC59A; opacity: .55; }
.lp-fan { list-style: none; margin: 0; padding: 0; position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1; }
.lp-fan li { position: absolute; left: 50%; top: 50%; width: 46%; transform-origin: 50% 120%; transition: transform .35s ease; }
.lp-fan img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 22px 40px -16px rgba(60,30,10,.6), 0 0 0 1px rgba(0,0,0,.06); }
.lp-fan-1 { transform: translate(-50%, -50%) translate(-58%, 6%) rotate(-15deg); z-index: 1; }
.lp-fan-2 { transform: translate(-50%, -50%) translate(-30%, -1%) rotate(-7deg); z-index: 2; }
.lp-fan-4 { transform: translate(-50%, -50%) translate(58%, 6%) rotate(15deg); z-index: 1; }
.lp-fan-3 { transform: translate(-50%, -50%) translate(30%, -1%) rotate(7deg); z-index: 2; }
.lp-fan-5 { transform: translate(-50%, -50%) translateY(-4%) scale(1.12); z-index: 3; }
.lp-hero-art:hover .lp-fan-1 { transform: translate(-50%, -50%) translate(-66%, 6%) rotate(-18deg); }
.lp-hero-art:hover .lp-fan-4 { transform: translate(-50%, -50%) translate(66%, 6%) rotate(18deg); }
.lp-fan-tag { position: absolute; right: 4%; bottom: 6%; z-index: 4; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; font-weight: 700; font-size: .8125rem; line-height: 1.2; color: #fff; background: #2F6B3F; box-shadow: 0 12px 24px -10px rgba(47,107,63,.7); transform: rotate(8deg); }
.lp-fan-tag strong { font-size: 2rem; line-height: 1; }
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-hero-art { min-height: 0; }
  .lp-fan { width: min(100%, 380px); }
  .lp-hero-copy { gap: 14px; }
}
@media (max-width: 600px) {
  /* keep the whole form on the first screen of a phone */
  .lp-hero-inner { padding-top: 20px; }
  .lp-pill, .lp-ticks { display: none; }
  .lp-hero h1 { font-size: 1.75rem; line-height: 1.08; }
  .lp-lede { font-size: 1rem; }
  .lp-form-title { display: none; }
  .lp-form { gap: 10px; }
  .lp-field input { min-height: 46px; }
  .lp-hero .lp-form-card { padding: 16px; }
}
@media (max-width: 520px) { .lp-fan { width: 100%; } .lp-fan-tag { width: 84px; height: 84px; } .lp-fan-tag strong { font-size: 1.5rem; } }

.lp-head { display: grid; gap: 8px; max-width: 62ch; margin: 0 auto 32px; text-align: center; }
.lp-head p:not(.eyebrow) { font-family: var(--font-read); color: var(--ink-2); }
.lp-res-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-res { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.lp-res:first-child { grid-column: 1 / -1; grid-template-columns: 200px minmax(0, 1fr); align-items: center; background: linear-gradient(120deg, var(--warm-1), var(--card) 60%); border-color: var(--warm-line); }
.lp-res:first-child h3 { font-size: 1.5rem; }
@media (max-width: 760px) { .lp-res-list { grid-template-columns: 1fr; } .lp-res, .lp-res:first-child { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; } .lp-res:first-child h3 { font-size: 1.1875rem; } }
.lp-res-cover { position: relative; }
.lp-res-cover img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 8px 18px -10px rgba(60,40,20,.55), 0 0 0 1px rgba(0,0,0,.06); }
.lp-res-num { position: absolute; left: -8px; top: -8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .875rem; color: #fff; background: #C2410C; }
.lp-res-body { display: grid; gap: 6px; align-content: start; }
.lp-res-meta { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--herb); }
.lp-res h3 { font-size: 1.125rem; line-height: 1.25; }
.lp-res p { font-size: .9375rem; color: var(--ink-2); }
.lp-res .lp-res-helps { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--herb) 9%, transparent); color: var(--ink); font-weight: 600; font-size: .875rem; }

.lp-benefits-band { background: #2F6B3F; color: #fff; }
.lp-benefits-band .eyebrow { color: #FFE3A3; }
.lp-benefits-band h2 { color: #fff; }
.lp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-benefit { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.lp-benefit-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #F2C46D; color: #7C2D12; }
.lp-benefit-icon svg { width: 24px; height: 24px; }
.lp-benefit h3 { color: #fff; font-size: 1.125rem; }
.lp-benefit p { color: rgba(255,255,255,.86); font-size: .9375rem; }
.lp-benefit .lp-benefit-src { font-size: .8125rem; font-weight: 700; color: #FCD9A8; }
@media (max-width: 1000px) { .lp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-benefits { grid-template-columns: 1fr; } }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.lp-steps li { position: relative; display: grid; gap: 8px; padding: 26px 22px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.lp-step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, #C2410C, #B5452E); }
.lp-steps h3 { font-size: 1.125rem; }
.lp-steps p { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 760px) { .lp-steps { grid-template-columns: 1fr; } }

.lp-faq-band { background: var(--band); }
.lp-faq-wrap { max-width: 820px; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.lp-faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; border-radius: 14px; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 1.125rem; color: #fff; background: var(--herb); }
.lp-faq-item[open] summary::after { content: "\2212"; background: #C2410C; }
.lp-faq-item summary:focus-visible { outline: 3px solid var(--herb); outline-offset: 2px; }
.lp-faq-item div { padding: 0 18px 18px; color: var(--ink-2); font-family: var(--font-read); }

.lp-final { padding-block: clamp(48px, 7vw, 88px); background: linear-gradient(135deg, var(--warm-1) 0%, var(--paper) 55%, var(--green-1) 100%); }
.lp-final-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lp-final-copy { display: grid; gap: 14px; }
.lp-final-copy p { font-family: var(--font-read); font-size: var(--step-1); color: var(--ink-2); }
.lp-final-covers { display: flex; gap: 10px; margin-top: 8px; }
.lp-mini-cover { width: 18%; max-width: 84px; height: auto; border-radius: 3px; box-shadow: 0 8px 16px -10px rgba(60,40,20,.6), 0 0 0 1px rgba(0,0,0,.06); }
.lp-mini-cover:nth-child(odd) { transform: rotate(-3deg); }
.lp-mini-cover:nth-child(even) { transform: rotate(3deg) translateY(6px); }
@media (max-width: 860px) { .lp-final-inner { grid-template-columns: 1fr; } }

.lp-thanks { padding-block: clamp(32px, 6vw, 72px); background: radial-gradient(900px 480px at 80% 0%, var(--warm-2) 0%, transparent 60%), var(--paper); }
.lp-thanks-inner { max-width: 760px; }
.lp-thanks-card { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--herb); border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(60,40,20,.45); }
.lp-thanks-card > div { display: grid; gap: 10px; }
.lp-thanks-card > div[hidden] { display: none; }
.lp-thanks-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--herb) 14%, transparent); color: var(--herb); }
.lp-thanks-icon svg { width: 32px; height: 32px; }
.lp-thanks h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); line-height: 1.1; }
.lp-thanks-lede { font-family: var(--font-read); font-size: var(--step-1); color: var(--ink-2); }
.lp-thanks-card .lp-submit { width: auto; padding: 0 26px; }
.lp-thanks-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.lp-thanks-help { padding: 18px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line-strong); }
.lp-thanks-help h2 { font-size: 1.0625rem; margin-bottom: 8px; }
.lp-thanks-help ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: .9375rem; }
.lp-thanks-back a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--herb); }
.lp-thanks-back svg { width: 18px; height: 18px; }

.lp-bundle { max-width: 900px; display: grid; gap: 24px; }
.lp-bundle-head { display: grid; gap: 12px; justify-items: start; }
.lp-bundle-head .lp-zip { width: auto; padding: 0 26px; }
.lp-dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-dl { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.lp-dl-cover { width: 84px; height: auto; border-radius: 4px; box-shadow: 0 6px 14px -8px rgba(60,40,20,.55), 0 0 0 1px rgba(0,0,0,.06); }
.lp-dl-body { display: grid; gap: 4px; }
.lp-dl-body h2 { font-size: 1.125rem; }
.lp-dl-body p { font-size: .9375rem; color: var(--ink-2); }
.lp-dl-btn { gap: 8px; white-space: nowrap; }
.lp-dl-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .lp-dl { grid-template-columns: 72px minmax(0, 1fr); } .lp-dl-cover { width: 72px; } .lp-dl-btn { grid-column: 1 / -1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .lp-fan li, .lp-submit { transition: none; } .lp-spinner { animation-duration: 2s; } }

/* ---------- Share bar ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.article .share, .tool-page > .share { margin-block: 24px 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.share-label { font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-inline-end: 4px; }
.share-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .8125rem/1 var(--font-display); text-decoration: none; cursor: pointer; }
.share-link:hover { border-color: var(--herb); color: var(--herb); }
.share-link svg { width: 15px; height: 15px; }
.share-native { background: var(--herb); border-color: var(--herb); color: var(--herb-ink); }
.share-native:hover { color: var(--herb-ink); }

/* ---------- Downloads ---------- */
.dl-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.dl-card { display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.dl-thumb { aspect-ratio: 16 / 9; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl-thumb-doc svg { width: 56px; height: 56px; color: var(--herb); }
.dl-body { display: grid; gap: 8px; padding: 18px; align-content: start; justify-items: start; }
.dl-body h3 { font-size: var(--step-1); }
.dl-body > p:not(.eyebrow):not(.dl-meta) { font-size: .9375rem; color: var(--ink-2); }
.dl-meta { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dl-featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
.dl-featured .dl-thumb { aspect-ratio: auto; min-height: 240px; }
.dl-featured .dl-body { padding: clamp(18px, 3vw, 32px); align-content: center; }
@media (max-width: 700px) { .dl-featured { grid-template-columns: 1fr; } .dl-featured .dl-thumb { min-height: 0; aspect-ratio: 16 / 9; } }

@media print {
  .tool-page .tool-panel:not(.shop-output), .tool-page .page-head p, .shop-output .actions, .shop-output > p.muted { display: none !important; }
  .shop-output { border: 0; padding: 0; }
  .tool-grid.two { display: block; }
}

/* Ads (rendered only when enabled in data/site.json) */
.ad-slot { display: grid; gap: 6px; margin-block: 24px; }
.ad-slot > span { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ad-slot > div { min-height: 280px; background: var(--paper-2); border-radius: 8px; }

/* Guide & static pages */
.article { max-width: 760px; padding-bottom: 72px; }
.article .prose { max-width: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-family: var(--font-display); font-size: .9375rem; }
caption { text-align: left; font-weight: 700; padding: 12px 14px; }
th, td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
thead th { background: var(--paper-2); font-size: .8125rem; }
.source { font-size: .875rem; color: var(--ink-2); }
.lede { font-size: var(--step-1); }
mark.owner { display: block; background: var(--mark); color: var(--ink); padding: 12px 14px; border-radius: 8px; border-inline-start: 4px solid var(--gold); font-family: var(--font-display); font-size: .9375rem; }
.defs dt { font-weight: 700; font-family: var(--font-display); }
.defs dd { margin: 0 0 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); margin-top: 24px; }
:root[data-theme="dark"] .site-footer { background: var(--paper-2); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: var(--paper-2); color: var(--ink); } }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 56px 32px; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: inherit; text-decoration: none; opacity: .9; }
.site-footer a:hover { text-decoration: underline; opacity: 1; }
.site-footer .brand { color: inherit; }
.site-footer .brand svg { background: #FFF9F1; border-radius: 12px; padding: 3px; }
.footer-about { display: grid; gap: 14px; align-content: start; }
.footer-about p { opacity: .75; font-size: .9375rem; max-width: 36ch; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); padding-top: 20px; font-size: .8125rem; opacity: .7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; z-index: 80; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print: just the recipe ---------- */
@media print {
  :root { --paper: #fff; --card: #fff; --ink: #000; --ink-2: #333; --line: #bbb; --paper-2: #fff; color-scheme: light; }
  body { font-size: 11pt; }
  .site-header, .site-footer, .crumbs, .actions, .recipe-hero, .ad-slot, .related, .no-print, .controls, .skip, .toast { display: none !important; }
  .recipe-head { grid-template-columns: 1fr; padding: 0; }
  .recipe-body .prose { display: none; }
  .recipe-body { display: block; }
  .recipe-card { border: 1px solid #000; break-inside: auto; }
  .recipe-card-cols { grid-template-columns: 2fr 3fr; }
  .ing-list input { display: none; }
  .ing-list label { grid-template-columns: 1fr; padding: 4px 0; }
  .steps li { break-inside: avoid; }
  .steps li::before { background: #fff; color: #000; border: 1px solid #000; }
  a { color: #000; text-decoration: none; }
}
