@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --line: #e6e2dc;
  --accent: #2f5d50;
  --bg: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and footer */
header.site { border-bottom: 1px solid var(--line); position: relative; }
header.site .wrap { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
.brand { font: 700 24px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo { width: 26px; height: 26px; fill: var(--ink); flex: none; margin-top: -2px; }
header.site nav { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); order: 3; flex-basis: 100%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.search-toggle { margin-left: auto; color: var(--muted); }
.menu-toggle { order: 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -8px; border: 0; background: none; border-radius: 50%; color: var(--muted); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { color: var(--ink); background: #f2f2f0; }
.search-toggle { order: 1; }
.print-url { display: none; }
@media (max-width: 699px) {
  header.site nav { display: none; }
  header.site.menu-open nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); padding: 8px 20px 16px; font-size: 18px; color: var(--ink); white-space: normal; }
  header.site.menu-open nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  header.site.menu-open nav a:last-child { border-bottom: 0; }
  .search-toggle { margin-right: 0; }
}
header.site nav a { text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--ink); }
footer.site { border-top: 1px solid var(--line); padding: 28px 0; margin-top: 64px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.foot-home { text-decoration: none; }
.foot-home:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-love { margin: 0; }
.foot-love a { color: var(--ink); text-decoration: none; }
.foot-love a:hover { text-decoration: underline; text-underline-offset: 3px; }
.heart { display: inline; width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin: 0 2px; }

/* Shared type */
.kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.kicker a { text-decoration: none; }
h1 { font: 600 40px/1.08 var(--serif); letter-spacing: -.02em; margin: 0 0 12px; }
h2 { font: 600 28px/1.2 var(--serif); margin: 0; }
.desc { font: italic 400 20px/1.5 var(--serif); color: #4a4a4a; margin: 0 0 24px; }

/* Recipe header */
.hero { display: grid; gap: 28px; padding: 32px 0 40px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 24px; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
.facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.3; white-space: nowrap; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { border: 1px solid var(--ink); background: none; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.btn.primary { background: var(--ink); color: #fff; }
.sw { width: 28px; height: 16px; border-radius: 9px; background: #cfcac2; position: relative; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.btn[aria-checked="true"] .sw { background: var(--accent); }
.btn[aria-checked="true"] .sw::after { transform: translateX(12px); }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* Recipe body */
.sechead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 8px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.stepper button { border: 0; background: none; width: 36px; height: 36px; font-size: 18px; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { padding: 0 6px; white-space: nowrap; min-width: 84px; text-align: center; }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li { border-bottom: 1px solid var(--line); padding: 11px 0; }
.ingredients label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.ingredients input { margin-top: 6px; flex: none; accent-color: var(--accent); }
.ingredients input:checked + span { color: var(--muted); text-decoration: line-through; }
.ingredients h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 24px 0 0; }
.q { font-weight: 600; }
.ingredients, .instructions { margin-bottom: 40px; }
.instructions h2 { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 8px; }
.instructions h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 28px 0 8px; }
.instructions ol { margin: 0; padding-left: 1.4em; }
.instructions li { padding: 6px 0 6px 6px; }
.instructions li::marker { font: 600 16px var(--serif); font-variant-numeric: lining-nums; color: var(--muted); }
.notes h2 { font-size: 22px; margin-bottom: 8px; }
.notes { border-top: 1px solid var(--line); padding-top: 24px; }
.notes table { border-collapse: collapse; margin: 16px 0; font-size: 15px; min-width: 260px; }
.notes th, .notes td { border-bottom: 1px solid var(--line); padding: 6px 16px 6px 0; text-align: left; }
.notes td:last-child, .notes th:last-child { text-align: right; padding-right: 0; }
.tags { margin: 32px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tags a { text-decoration: none; font-size: 13px; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; color: var(--muted); }
.tags a:hover { color: var(--ink); border-color: var(--ink); }

/* Lists of recipes */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin: 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin: 48px 0 24px; }
.section-title a { font-size: 14px; color: var(--muted); text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; list-style: none; margin: 0; padding: 0; }
.card a { text-decoration: none; display: block; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.card .noimg { aspect-ratio: 4 / 3; border-radius: 4px; margin-bottom: 12px; background: #e9efeb; display: grid; place-items: center; color: var(--accent); }
.card .noimg svg { width: 56px; height: 56px; fill: currentColor; opacity: .45; }
.card h3 { font: 600 20px/1.25 var(--serif); margin: 0 0 4px; }
.card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Explore */
.page-intro { color: var(--muted); margin: 8px 0 0; }
.explore { display: grid; gap: 28px; margin-top: 24px; }
.explore-group h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-size: 15px; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.chips a span { font-size: 13px; color: var(--muted); }
.chips a:hover { border-color: var(--ink); }
@media (min-width: 900px) { .explore { grid-template-columns: repeat(2, 1fr); gap: 32px 48px; } }

/* Search */
.search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -8px; border-radius: 50%; }
.search-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { color: var(--ink); background: #f2f2f0; }
.search-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); padding: 20px 0 24px; max-height: 75vh; overflow-y: auto; }
.search-page { padding-top: 8px; }
.search-page, .search-panel { --pagefind-ui-scale: .9; --pagefind-ui-primary: var(--accent); --pagefind-ui-text: var(--ink); --pagefind-ui-border: var(--line); --pagefind-ui-border-radius: 999px; --pagefind-ui-font: var(--sans); }
:is(.search-page, .search-panel) .pagefind-ui__result-title { font-family: var(--serif); }
:is(.search-page, .search-panel) .pagefind-ui__result-thumb { border-radius: 4px; }
:is(.search-page, .search-panel) mark { background: #dcebe2; color: inherit; padding: 0 2px; border-radius: 2px; }

@media (min-width: 700px) {
  header.site nav { order: 0; flex-basis: auto; margin-left: auto; }
  .search-toggle { margin-left: 0; }
  .menu-toggle { display: none; }
}

@media (min-width: 600px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div:nth-child(n) { border-left: 1px solid var(--line); padding-left: 16px; }
  .facts div:first-child { border-left: 0; padding-left: 0; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; padding: 56px 0 64px; }
  .hero.nophoto { grid-template-columns: minmax(0, 720px); }
  h1 { font-size: 60px; }
  .page-head h1 { font-size: 48px; }
  .body { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 64px; align-items: start; }
  .ingredients { position: sticky; top: 24px; margin-bottom: 0; }
}

@media print {
  header.site, footer.site, .actions, .photo, .tags, .stepper button, .ingredients input, .no-print { display: none !important; }
  body { font-size: 11pt; line-height: 1.45; }
  .wrap { max-width: none; padding: 0; }
  .hero { display: block; padding: 0 0 12pt; }
  h1 { font-size: 24pt; margin-bottom: 4pt; }
  .desc { font-size: 12pt; margin-bottom: 10pt; }
  .facts { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
  .facts div { padding: 6pt 0; }
  .facts div:nth-child(n) { border-left: 0; padding-left: 0; }
  h2 { font-size: 15pt; }
  .body { display: grid; grid-template-columns: 35% 1fr; gap: 24pt; }
  .ingredients { position: static; }
  .ingredients li { padding: 3pt 0; border: 0; }
  .ingredients label { display: block; }
  .ingredients input:checked + span { text-decoration: none; color: inherit; }
  .instructions li { padding: 2pt 0; break-inside: avoid; }
  .sechead { border-bottom-width: 1px; }
  .stepper { border: 0; }
  a { text-decoration: none; }
  .print-url { display: block; margin: -4pt 0 10pt; font-size: 9pt; color: #555; }
}
