:root {
  --bg: #faf6ef; --surface: #fff; --ink: #2a211a; --muted: #6f6257; --line: #e6dccd;
  --accent: #a8431c; --accent-ink: #fff; --soft: #f1e8da; --good: #2f6b3c; --good-bg: #e2f0e2;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1a1512; --surface: #251e19; --ink: #f1e8dd; --muted: #b3a597; --line: #3a302a;
    --accent: #e8824f; --accent-ink: #1a1512; --soft: #30271f; --good: #8fd29b; --good-bg: #1e3524; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 600; line-height: 1.2; text-wrap: balance; }
a { color: var(--accent); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 760px; }
footer { color: var(--muted); font-size: .85rem; padding: 48px 0 32px; }
.btn { display: inline-block; font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
button.link { font: inherit; font-size: .85rem; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .78rem; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }

/* Menu page */
header.top { padding: 44px 0 8px; }
header.top h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 10px; }
.lede { font-size: 1.1rem; max-width: 60ch; margin: 0 0 10px; }
.status { color: var(--muted); margin: 0; min-height: 1.6em; }
section.cat { padding-top: 30px; }
section.cat > h2 { font-size: 1.6rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
ul.host { margin: 0; padding-left: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.dish { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.dish .photo { display: block; aspect-ratio: 16 / 10; background: var(--soft); }
.dish .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.dish h3 { margin: 0; font-size: 1.2rem; }
.dish h3 a { color: inherit; text-decoration: none; }
.dish p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.claim { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; min-height: 44px; }
.who { background: var(--good-bg); color: var(--good); font-weight: 600; font-size: .92rem; padding: 6px 12px; border-radius: 9px; }
dialog { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); padding: 22px; width: min(420px, 92vw); }
dialog::backdrop { background: rgba(20, 12, 6, .55); }
dialog h2 { margin: 0 0 14px; font-size: 1.3rem; }
dialog label { display: block; font-size: .9rem; color: var(--muted); }
dialog input { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
dialog .row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.error { color: #b3261e; min-height: 1.4em; margin: 8px 0 0; font-size: .9rem; }

/* Recipe page */
.recipe-head { padding: 22px 0 6px; }
.back { font-size: .9rem; text-decoration: none; }
.recipe-head h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 14px 0 8px; }
.tagline { font-size: 1.1rem; margin: 0 0 6px; }
.credit { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.facts div { background: var(--surface); padding: 10px 14px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: .95rem; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc a { font-size: .85rem; text-decoration: none; background: var(--soft); color: var(--ink); padding: 3px 11px; border-radius: 999px; }
.sec { padding-top: 12px; }
.sec h2 { font-size: 1.5rem; margin: 26px 0 10px; color: var(--accent); }
.sec h3 { font-size: 1rem; font-family: inherit; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 6px; }
.sec ul, .sec ol { padding-left: 22px; margin: 8px 0; }
.sec li { margin: 6px 0; }
.sec-shopping-list ul { list-style: none; padding: 0; }
.sec-shopping-list li { margin: 0; border-bottom: 1px solid var(--line); }
.sec-shopping-list label { display: flex; gap: 12px; padding: 10px 2px; cursor: pointer; align-items: flex-start; }
.sec-shopping-list input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.sec-shopping-list li.got { color: var(--muted); text-decoration: line-through; }
.sec-steps > ol { list-style: none; padding: 0; counter-reset: step; }
.sec-steps > ol > li { counter-increment: step; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--line); margin: 0; }
.sec-steps > ol > li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.sec-getting-it-to-carson-s, .sec-carson-s-finish-optional { background: var(--soft); border-radius: 14px; padding: 4px 18px 14px; margin-top: 24px; }
.sec-getting-it-to-carson-s h2, .sec-carson-s-finish-optional h2 { margin-top: 16px; }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .back, .links, .toc, footer, .hero { display: none; }
  .sec-steps > ol > li { break-inside: avoid; }
}
