/* Feeed — warm kitchen look: cream paper, tomato red, basil green, mustard; rounded M PLUS Rounded 1c headings and
   Literata text. Mobile first; print styles (recipe card) at the end. */

@font-face { font-family: "M PLUS Rounded 1c"; src: url("/assets/fonts/mplus-rounded-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url("/assets/fonts/mplus-rounded-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url("/assets/fonts/mplus-rounded-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --cream: #FFF7EA; --cream-2: #F8E9CF; --card: #FFFDF8; --ink: #2B1B14; --ink-2: #5E4A3E; --line: #EAD9BC; --line-2: #D9C29C;
  --tomato: #C8372D; --tomato-dk: #9E2720; --tomato-lt: #F9DED8;
  --basil: #2E6B3F; --basil-dk: #1F4D2C; --basil-lt: #E1EEDD;
  --mustard: #E9A93A; --mustard-dk: #8A5A06; --mustard-lt: #FCEFD3;
  --aub: #5B2A4A; --aub-lt: #F0E2EB;
  --display: "M PLUS Rounded 1c", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --r: 20px; --r-s: 12px;
  --shadow: 0 1px 0 rgba(43, 27, 20, .05), 0 10px 24px -14px rgba(120, 50, 20, .45);
  --wrap: 1180px; --gut: 16px;
}
@media (min-width: 700px) { :root { --gut: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--cream); overflow-wrap: break-word; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--tomato-dk); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--tomato); }
:focus-visible { outline: 3px solid var(--basil); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .3em; }
code { font-size: .9em; background: var(--cream-2); padding: .05em .35em; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.narrow { max-width: 800px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-family: var(--display); font-weight: 700; }
.skip:focus { top: 8px; color: #fff; }
.small { font-size: .92rem; }
.muted { color: var(--ink-2); }
.ic { width: 1.25em; height: 1.25em; vertical-align: -.22em; flex: none; }
.ic-s { width: 1.05em; height: 1.05em; vertical-align: -.16em; }
.kicker { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--basil); margin: 0 0 .4rem; }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); max-width: 44em; }
.print-only { display: none; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 46px; padding: .5em 1.2em; border: 2px solid var(--tomato); border-radius: 999px; background: var(--tomato); color: #fff;
  font: 700 1rem/1.2 var(--display); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: var(--tomato-dk); border-color: var(--tomato-dk); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-line { background: var(--card); color: var(--tomato-dk); }
.btn-line:hover { background: var(--tomato-lt); color: var(--tomato-dk); }
.btn-sm { min-height: 38px; padding: .3em .95em; font-size: .92rem; }
.btn-amz { background: var(--ink); border-color: var(--ink); }
.btn-amz:hover { background: #000; border-color: #000; }
.more { font-family: var(--display); font-weight: 700; font-size: .98rem; white-space: nowrap; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header */
.site-head { background: var(--card); border-top: 6px solid var(--tomato); box-shadow: 0 1px 0 var(--line); position: relative; }
.head-in { display: flex; align-items: center; gap: 12px 22px; padding-top: 12px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--tomato); letter-spacing: -.02em; }
.brand-tag { font-size: .85rem; color: var(--ink-2); margin-top: 3px; font-style: italic; }
.head-search { display: flex; flex: 1 1 300px; max-width: 440px; position: relative; order: 3; }
.head-search input { flex: 1; min-width: 0; min-height: 46px; border: 2px solid var(--line-2); border-right: 0; border-radius: 999px 0 0 999px; padding: 6px 16px; font: inherit; font-size: 1rem; background: var(--cream); color: var(--ink); }
.head-search input:focus { border-color: var(--basil); outline: none; background: #fff; }
.head-search button { min-width: 52px; min-height: 46px; border: 2px solid var(--tomato); border-radius: 0 999px 999px 0; background: var(--tomato); color: #fff; cursor: pointer; display: grid; place-items: center; }
.nav-main { display: none; }
.nav-main ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding-top: 0; padding-bottom: 12px; margin: 0 auto; }
.nav-main li { margin: 0; }
.nav-main a { display: block; padding: 7px 14px; border-radius: 999px; font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-main a:hover { background: var(--cream-2); }
.nav-main a[aria-current] { background: var(--tomato); color: #fff; }
.nav-mobile { order: 2; }
.nav-mobile summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 14px; border: 2px solid var(--line-2); border-radius: 999px; font-family: var(--display); font-weight: 700; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger { display: inline-grid; gap: 4px; }
.burger i { display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--card); border-bottom: 3px solid var(--tomato); box-shadow: var(--shadow); }
.nav-mobile ul { list-style: none; margin: 0; padding: 8px var(--gut) 14px; }
.nav-mobile a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-mobile a[aria-current] { color: var(--tomato); }
@media (min-width: 900px) {
  .nav-main { display: block; }
  .nav-mobile { display: none; }
  .head-search { order: 0; }
}

/* search suggestions */
.sg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0; padding: 6px; background: #fff; border: 2px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); max-height: 70vh; overflow: auto; }
.sg li { margin: 0; }
.sg a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sg small { display: block; color: var(--ink-2); font-size: .85rem; }
.sg [aria-selected="true"] a, .sg a:hover { background: var(--cream-2); }
.sg-all a { font-family: var(--display); font-weight: 700; color: var(--tomato-dk); }

/* ---------------------------------------------------------------- crumbs, page heads */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: .9rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin: 0 .5em; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.page-head { padding: 26px 0 8px; position: relative; }
.page-head-ic { padding-right: 0; }
.head-ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 10px; }
.head-ic .ic { width: 32px; height: 32px; }

/* ---------------------------------------------------------------- art (photo or illustrated card) */
.art { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--cream-2); }
.art-photo img { width: 100%; height: 100%; object-fit: cover; }
.art-draw { display: grid; place-items: center; align-content: center; gap: 4px; }
.art-ic { display: grid; place-items: center; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 8px rgba(255, 253, 248, .45); position: relative; z-index: 1; }
.art-ic .ic { width: 58%; height: 58%; stroke-width: 1.6; }
.art-word { position: relative; z-index: 1; margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; background: var(--card); }
.art-draw::before { content: ""; position: absolute; inset: 0; opacity: .55; }
.art-v0::before { background-image: radial-gradient(currentColor 1.6px, transparent 2px); background-size: 18px 18px; }
.art-v1::before { background-image: repeating-linear-gradient(135deg, currentColor 0 2px, transparent 2px 14px); opacity: .3; }
.art-v2::before { background-image: linear-gradient(90deg, rgba(255,255,255,.55) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.55) 50%, transparent 50%); background-size: 28px 28px; opacity: .7; }
.art-v3::before { background-image: radial-gradient(circle at 50% 120%, transparent 30%, currentColor 31%, currentColor 33%, transparent 34%); background-size: 36px 24px; opacity: .35; }
.art-tomato { background-color: var(--tomato-lt); color: var(--tomato); }
.art-basil { background-color: var(--basil-lt); color: var(--basil); }
.art-mustard { background-color: var(--mustard-lt); color: var(--mustard-dk); }
.art-aubergine { background-color: var(--aub-lt); color: var(--aub); }
.art-word { color: inherit; }

/* ---------------------------------------------------------------- cards */
.cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.card { margin: 0; }
.card > a { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card > a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(120, 50, 20, .55); color: var(--ink); }
.card-art { border-radius: 0; aspect-ratio: 16 / 11; }
.card-art .art-ic { width: 36%; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-course { font-family: var(--display); font-weight: 700; font-size: .85rem; color: var(--basil); }
.card-t { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.card > a:hover .card-t { color: var(--tomato-dk); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 6px; font-size: .88rem; color: var(--ink-2); align-items: center; }
.diet-chip { font-family: var(--display); font-weight: 700; font-size: .78rem; padding: 1px 8px; border-radius: 999px; background: var(--basil-lt); color: var(--basil-dk); }

/* ---------------------------------------------------------------- home */
.hero { background: radial-gradient(circle at 85% 30%, var(--mustard-lt) 0 22%, transparent 23%), var(--cream); padding: 28px 0 12px; overflow: hidden; }
.hero-in { display: grid; gap: 20px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 4rem); }
.hl { color: var(--tomato); }
.hero-plate { display: none; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.5fr 1fr; } .hero-plate { display: block; justify-self: center; } .hero { padding: 48px 0 24px; } }
.bigsearch { margin: 18px 0 12px; max-width: 640px; }
.bigsearch-l { display: block; font-family: var(--display); font-weight: 700; margin-bottom: 8px; }
.bigsearch-row { display: flex; position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px; box-shadow: 0 6px 0 var(--cream-2); }
.bigsearch-row:focus-within { border-color: var(--basil); }
.bigsearch-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font: inherit; font-size: 1.05rem; color: var(--ink); }
.bigsearch-row input:focus { outline: none; }
.btn-go { min-height: 46px; flex: none; }
@media (max-width: 420px) { .btn-go { padding: .5em .8em; } }
.try { font-size: .95rem; color: var(--ink-2); }
.try a { display: inline-block; margin: 2px 2px; padding: 2px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 500; }
.try a:hover { border-color: var(--tomato); color: var(--tomato-dk); }
.band { padding-top: 22px; padding-bottom: 18px; }
.band-tint { background: var(--basil-lt); margin: 18px 0; padding-top: 30px; padding-bottom: 14px; }
.band-tint .band-head h2 .ic { color: var(--basil); }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.band-head h2 { margin: 0; }
.course-grid { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.course-grid li { margin: 0; }
.course-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 16px; border-radius: var(--r); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.course-tile:hover { border-color: currentColor; transform: translateY(-2px); }
.course-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); }
.course-ic .ic { width: 28px; height: 28px; }
.course-name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.course-n { font-size: .85rem; color: var(--ink-2); }
.chip-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { margin: 0; }
.chip-list a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; }
.chip-list a:hover { border-color: var(--basil); color: var(--basil-dk); }
.chip-list .ic { color: var(--basil); }
.chip-list .n { font-weight: 500; font-size: .85rem; color: var(--ink-2); background: var(--cream-2); border-radius: 999px; padding: 0 7px; }
.chip-big a { min-height: 48px; font-size: 1.05rem; }
.allergy-line .ic { color: var(--basil); }
.occ-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.occ-grid li { margin: 0; }
.occ-tile { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border-radius: var(--r); background: var(--aub); color: #fff; text-decoration: none; }
.occ-grid li:nth-child(4n+2) .occ-tile { background: var(--basil-dk); }
.occ-grid li:nth-child(4n+3) .occ-tile { background: var(--tomato-dk); }
.occ-grid li:nth-child(4n+4) .occ-tile { background: #6E4A08; }
.occ-tile:hover { color: #fff; filter: brightness(1.1); }
.occ-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.occ-intro { font-size: .92rem; opacity: .92; }
.occ-n { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: .85rem; opacity: .9; }
.promise { border-top: 2px dashed var(--line-2); margin-top: 18px; padding-top: 30px; }
.promise-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.promise-list li { margin: 0; padding: 18px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.promise-list .ic { width: 34px; height: 34px; color: var(--tomato); display: block; margin-bottom: 8px; }
.promise-list strong { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
.suggest-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 22px; border-radius: var(--r); background: var(--mustard-lt); border: 2px solid var(--mustard); margin-bottom: 14px; }
.suggest-strip p { margin: 0; }

/* ---------------------------------------------------------------- lists */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 0 16px; border-bottom: 2px dashed var(--line); margin-bottom: 20px; }
.count { margin: 0; font-family: var(--display); font-weight: 700; }
.filters { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filters li { margin: 0; }
.filters a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--card); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: .9rem; }
.filters a:hover { border-color: var(--basil); }
.filters a.on { background: var(--basil); border-color: var(--basil); color: #fff; }
.sorts { margin: 0 0 0 auto; font-size: .92rem; }
.sorts a, .sorts .sort-on { margin-left: .5em; }
.sort-on { font-weight: 700; }
.empty-box { padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 2px dashed var(--line-2); margin: 10px 0 24px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 30px; font-family: var(--display); font-weight: 700; }
.pager ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pager li { margin: 0; }
.pg { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); text-decoration: none; color: var(--ink); }
.pg-on { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.pg-gap { padding: 0 4px; align-self: center; }
.quick-link { margin: 6px 0 18px; }
.browse-sec { margin-bottom: 26px; }
.sec-h { margin-top: 0; }
.note-any { padding: 10px 14px; border-radius: var(--r-s); background: var(--mustard-lt); }
.az-nav ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.az-nav li { margin: 0; }
.az-nav a, .az-nav span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 12px; font-family: var(--display); font-weight: 800; }
.az-nav a { background: var(--card); border: 2px solid var(--line); text-decoration: none; color: var(--ink); }
.az-nav a:hover, .az-nav a[aria-current] { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.az-nav span { color: var(--line-2); }
.az-sec { margin-bottom: 22px; }
.az-h { font-size: 1.6rem; color: var(--tomato); border-bottom: 2px dashed var(--line); padding-bottom: 4px; }
.az-list { columns: 2 260px; column-gap: 32px; list-style: none; padding: 0; }
.az-list li { break-inside: avoid; }

/* ---------------------------------------------------------------- recipe page */
.recipe-head { padding: 24px 0 8px; background: linear-gradient(var(--card), var(--cream)); }
.recipe-head-in { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .recipe-head-in { grid-template-columns: 1.25fr 1fr; gap: 40px; } }
.hero-art { box-shadow: var(--shadow); }
.hero-art.art-draw .art-ic { width: 34%; }
.hero-fig { margin: 0; }
.hero-credit { margin-top: 8px; font-size: .8rem; line-height: 1.4; color: var(--ink-2); }
.hero-credit a { color: inherit; }
.diet-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.diet-list li { margin: 0; }
.diet-list a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 999px; background: var(--basil-lt); color: var(--basil-dk); font-family: var(--display); font-weight: 700; font-size: .92rem; text-decoration: none; }
.recipe-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0; margin: 22px 0 6px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.facts > div { padding: 12px 16px; border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.facts dt { font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--basil); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.facts-sub { font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.recipe-card { margin: 26px 0; background: var(--card); border-radius: 28px; box-shadow: var(--shadow); border-top: 10px solid var(--tomato); padding: 22px var(--gut); position: relative; }
@media (min-width: 700px) { .recipe-card { padding: 30px 34px; } }
.card-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .card-grid { grid-template-columns: minmax(280px, 2fr) 3fr; gap: 40px; } }
.card-h { font-size: 1.5rem; color: var(--tomato); margin-bottom: 12px; }
.ing-col { background: var(--mustard-lt); border-radius: var(--r); padding: 18px; align-self: start; }
.scaler { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin: 0 0 14px; background: var(--card); border-radius: 16px; border: 2px solid var(--mustard); }
.scaler label { font-family: var(--display); font-weight: 800; margin-right: 2px; }
.scaler input { width: 4.2em; min-height: 42px; padding: 4px 6px; text-align: center; border: 2px solid var(--line-2); border-radius: 10px; font: 700 1.1rem var(--display); background: #fff; color: var(--ink); }
.step-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--tomato); background: var(--card); color: var(--tomato-dk); cursor: pointer; }
.step-btn:hover { background: var(--tomato-lt); }
.scale-note { flex-basis: 100%; margin: 4px 0 0; color: var(--ink-2); }
.ing-h { font-size: 1rem; margin: 16px 0 6px; color: var(--mustard-dk); }
.ing-list { list-style: none; padding: 0; margin: 0 0 8px; }
.ing-list li { padding: 7px 0 7px 22px; border-bottom: 1px dashed var(--line-2); position: relative; margin: 0; }
.ing-list li::before { content: ""; position: absolute; left: 3px; top: 1em; width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); }
.ing-list li:last-child { border-bottom: 0; }
.q { font-family: var(--display); font-weight: 800; }
.ing-note { color: var(--ink-2); }
.kit-h { margin-top: 22px; font-size: 1.2rem; }
.kit-list { list-style: none; padding: 0; margin: 0 0 8px; }
.kit-list li { padding: 6px 0; border-bottom: 1px dashed var(--line-2); margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; }
.amz { font-family: var(--display); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.amz-note { margin-top: 8px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin: 0 0 20px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tomato); color: #fff; font: 800 1.2rem/1 var(--display); }
.step-h { margin: 8px 0 6px; font-size: 1.12rem; }
.step-body p:last-child { margin-bottom: 0; }
.step:target .step-n { background: var(--basil); box-shadow: 0 0 0 5px var(--basil-lt); }
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 24px; }
.note { padding: 16px 18px; border-radius: var(--r); background: var(--cream); border: 2px solid var(--line); }
.note-h { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.note-tips .note-h .ic { color: var(--mustard-dk); }
.note-store .note-h .ic, .note-freeze .note-h .ic { color: var(--basil); }
.note-var .note-h .ic { color: var(--aub); }
.note ul { margin-bottom: 0; }
.note p:last-child { margin-bottom: 0; }
.allergy { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; padding: 10px 14px; border-radius: var(--r-s); background: var(--basil-lt); }
.allergy .ic { color: var(--basil); margin-top: .25em; }
.recipe-more { max-width: 820px; }
.faq details { border-radius: var(--r-s); background: var(--card); margin-bottom: 8px; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; padding: 13px 16px; font-family: var(--display); font-weight: 700; list-style-position: inside; }
.faq-a { padding: 0 16px 6px; }
.sources ul { padding-left: 1.2em; }
.checked { font-family: var(--display); font-weight: 700; color: var(--basil-dk); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tags-l { font-family: var(--display); font-weight: 700; }
.tags a { padding: 3px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); text-decoration: none; font-size: .92rem; }
.helpful { margin: 26px 0 16px; padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); }
.helpful-h { font-size: 1.25rem; }
.helpful-f { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.helpful-msg { margin: 0; flex-basis: 100%; }
.report { margin: 0 0 30px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); }
.report summary { cursor: pointer; padding: 14px 18px; font-family: var(--display); font-weight: 700; }
.report .form, .report .ok-msg { padding: 0 18px 16px; }
.related { padding-top: 10px; }

/* ---------------------------------------------------------------- kit */
.kit-grid { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.kit-item { margin: 0; padding: 18px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.kit-name { font-size: 1.15rem; margin: 0; }
.kit-name a { color: var(--ink); text-decoration: none; }
.kit-name a:hover { color: var(--tomato-dk); text-decoration: underline; }
.kit-used { font-size: .92rem; color: var(--ink-2); flex: 1; }

/* ---------------------------------------------------------------- forms, prose, messages */
.form label, .form legend { display: block; font-family: var(--display); font-weight: 700; margin: 12px 0 5px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .radio { font-family: var(--body); font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.form input[type=text], .form input[type=email], .form select, .form textarea { width: 100%; min-height: 46px; padding: 9px 12px; border: 2px solid var(--line-2); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--basil); outline: none; }
.opt { font-family: var(--body); font-weight: 400; color: var(--ink-2); font-size: .92rem; }
.panel { background: var(--card); border-radius: var(--r); padding: 6px 20px 14px; box-shadow: var(--shadow); margin-bottom: 30px; }
.ok-msg { padding: 12px 16px; border-radius: var(--r-s); background: var(--basil-lt); }
.err-msg { padding: 12px 16px; border-radius: var(--r-s); background: var(--tomato-lt); color: var(--tomato-dk); font-weight: 600; }
.prose { margin-bottom: 40px; }
.prose h2 { margin-top: 1.4em; font-size: 1.45rem; }
.contact-card { font-family: var(--display); font-weight: 800; font-size: 1.25rem; padding: 16px 20px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.err-page { padding: 40px var(--gut) 50px; }
.err-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; font-family: var(--display); font-weight: 700; }
.callout { padding: 12px 16px; border-radius: var(--r-s); background: var(--cream-2); margin: 0 0 1em; }
.callout.warn { background: var(--tomato-lt); }
.callout.tip { background: var(--basil-lt); }
.callout-h { font-family: var(--display); font-weight: 800; margin-bottom: 4px; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.md-table { border-collapse: collapse; min-width: 100%; }
.md-table th, .md-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.credits-list { list-style: none; padding: 0; }
.credits-list li { display: flex; gap: 14px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- footer */
.site-foot { margin-top: 40px; background: var(--ink); color: #F3E6D3; padding: 34px 0 20px; border-top: 8px solid var(--mustard); }
.site-foot a { color: #FFF7EA; }
.site-foot a:hover { color: var(--mustard); }
.foot-top { display: grid; gap: 10px 30px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 247, 234, .18); }
@media (min-width: 800px) { .foot-top { grid-template-columns: 1fr 1.4fr; } }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: #fff; margin-right: 6px; }
.foot-brand { margin: 0; font-style: italic; }
.foot-allergy { display: flex; gap: 8px; margin: 0; font-size: .95rem; }
.foot-allergy .ic { color: var(--mustard); margin-top: .2em; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 30px; padding: 22px 0 8px; }
.foot-h { font-size: 1.05rem; color: var(--mustard); margin-bottom: 8px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0 0 14px; }
.foot-cols li { margin: 0 0 5px; }
.foot-legal { font-size: .9rem; color: #E2D3BE; border-top: 1px solid rgba(255, 247, 234, .18); padding-top: 16px; }
.foot-copy { margin: 0; opacity: .8; }

/* ---------------------------------------------------------------- print: a clean recipe card */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .site-head, .site-foot, .skip, .crumbs, .recipe-actions, .hero-art, .hero-credit, .recipe-more, .related, .diet-list a .ic, .scaler button, .step-btn, .amz, .amz-note, .js-print { display: none !important; }
  .print-only { display: block; }
  .page-recipe .recipe-head { background: none; padding: 0; }
  .page-recipe .recipe-head h1 { font-size: 22pt; margin-bottom: 4pt; }
  .page-recipe .lead { font-size: 11pt; margin-bottom: 6pt; }
  .print-title { display: none; }
  .recipe-head-in { display: block; }
  .diet-list a { background: none; padding: 0 8pt 0 0; color: #000; }
  .facts { box-shadow: none; border: 1pt solid #999; border-radius: 8pt; margin: 8pt 0; grid-template-columns: repeat(6, auto); }
  .facts > div { padding: 4pt 8pt; border-color: #ccc; }
  .facts dd { font-size: 11pt; }
  .recipe-card { background: #fff; box-shadow: none; border: 1.5pt solid #000; border-top-width: 5pt; border-radius: 12pt; padding: 12pt 14pt; margin: 8pt 0 0; }
  .card-grid { grid-template-columns: 2fr 3fr; gap: 16pt; display: grid; }
  .ing-col { background: none; padding: 0; border-right: 1pt dashed #999; padding-right: 12pt; }
  .scaler { border: 0; padding: 0; margin: 0 0 6pt; background: none; }
  .scaler input { border: 0; width: auto; min-height: 0; padding: 0; font-size: 11pt; text-align: left; }
  .scale-note { font-size: 9pt; }
  .ing-list li { padding: 2pt 0 2pt 12pt; }
  .ing-list li::before { width: 5pt; height: 5pt; background: #000; top: .75em; }
  .card-h { color: #000; font-size: 14pt; }
  .step { grid-template-columns: 22pt 1fr; gap: 8pt; margin-bottom: 8pt; break-inside: avoid; }
  .step-n { width: 20pt; height: 20pt; font-size: 10pt; background: #000; }
  .step-h { margin-top: 2pt; }
  .notes-grid { grid-template-columns: 1fr 1fr; gap: 8pt; }
  .note { border: 1pt solid #bbb; padding: 6pt 8pt; background: none; break-inside: avoid; }
  .note-h { font-size: 11pt; }
  .allergy { background: none; padding: 0; font-size: 9pt; }
  .print-foot { font-size: 9pt; color: #333; margin: 8pt 0 0; }
  a { color: #000; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (max-width: 560px) { .card-art { aspect-ratio: 2 / 1; } .card-art .art-ic { width: 26%; } }
