/* ==========================================================
   Mushroom Recipes Now — main stylesheet
   ========================================================== */

:root {
  --cream: #faf6ef;
  --cream-2: #f3ebdd;
  --paper: #ffffff;
  --ink: #2b2520;
  --ink-soft: #5c5249;
  --muted: #8a7f74;
  --brown: #6b4f3a;
  --brown-dark: #4a3628;
  --forest: #3f5a3c;
  --forest-dark: #2e4430;
  --terracotta: #c0673f;
  --terracotta-dark: #a4532f;
  --line: #e6dccb;
  --shadow: 0 1px 2px rgba(43, 37, 32, .06), 0 8px 24px rgba(43, 37, 32, .08);
  --shadow-lg: 0 2px 4px rgba(43, 37, 32, .06), 0 18px 48px rgba(43, 37, 32, .14);
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --wrap-narrow: 780px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--brown-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: 1.3rem; margin-top: 1.4em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 10px;
  background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { left: 10px; }

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  background: var(--terracotta); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--terracotta-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-forest { background: var(--forest); }
.btn-forest:hover { background: var(--forest-dark); }
.btn-outline { background: transparent; color: var(--brown-dark); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }
.btn-light { background: #fff; color: var(--brown-dark); }
.btn-light:hover { background: var(--cream-2); color: var(--brown-dark); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown-dark); }
.logo img { width: 40px; height: 40px; }
.logo-text { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.logo-text span { color: var(--terracotta); }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--cream-2); color: var(--brown-dark); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--brown-dark);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 20px; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--brown-dark);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(46, 33, 24, .88) 0%, rgba(46, 33, 24, .55) 55%, rgba(46, 33, 24, .2) 100%);
}
.hero-content { position: relative; z-index: 1; padding: clamp(70px, 12vw, 140px) 0; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 3.9rem); }
.hero .eyebrow { color: #f2b48f; }
.hero p { font-size: 1.15rem; color: #f3ebdd; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; font-size: .92rem; color: #e9dccb; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--ink-soft); }

/* ---------- Recipe cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.recipe-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.recipe-card a.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.recipe-card:hover .card-img img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .95); color: var(--forest-dark);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 .4em; font-size: 1.28rem; }
.card-body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1em; }
.card-meta { margin-top: auto; display: flex; gap: 16px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta svg { width: 15px; height: 15px; }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  padding: 8px 18px; border-radius: 999px; font-family: var(--sans); font-size: .92rem; font-weight: 500; cursor: pointer;
}
.chip:hover { border-color: var(--brown); }
.chip.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.recipe-card.hidden { display: none; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
@media (min-width: 700px) { .cat-grid.three { grid-template-columns: repeat(3, 1fr); } }
.cat-tile {
  background: var(--paper); border-radius: var(--radius); padding: 26px 22px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.cat-tile:hover { border-color: var(--terracotta); transform: translateY(-2px); color: var(--ink); }
.cat-tile .cat-icon { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.cat-tile h3 { margin: 0 0 .3em; font-size: 1.15rem; }
.cat-tile p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split img { aspect-ratio: 4 / 3; } }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: .9em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--forest); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px); position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px;
  background: url("../images/logo.svg") center / contain no-repeat; opacity: .08;
}
.newsletter h2, .newsletter h3 { color: #fff; margin-top: 0; }
.newsletter p { color: #dfe8dc; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; position: relative; z-index: 1; }
.newsletter-form input[type="email"] {
  flex: 1 1 240px; padding: .9em 1.2em; border-radius: 999px; border: 0; font-size: 1rem; font-family: var(--sans);
}
.newsletter-form .consent { flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #dfe8dc; line-height: 1.5; }
.newsletter-form .consent input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--terracotta); }
.newsletter-form .consent a { color: #fff; }
.newsletter-thanks { display: none; position: relative; z-index: 1; }
.newsletter-thanks.show { display: block; }
.newsletter-thanks h3 { font-size: 1.5rem; }
.form-error { color: #ffd3c0; font-size: .9rem; flex-basis: 100%; margin: 0; min-height: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: var(--cream-2); padding: clamp(48px, 7vw, 80px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero.center { text-align: center; }
.page-hero.center p { margin-inline: auto; }

.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Prose (legal, about) ---------- */
.prose { padding: clamp(40px, 6vw, 70px) 0; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.15rem; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .94rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--cream-2); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.callout {
  background: #fff7ed; border-left: 4px solid var(--terracotta); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.green { background: #eef4ec; border-color: var(--forest); }

/* ---------- Recipe page ---------- */
.recipe-header { padding: clamp(36px, 5vw, 60px) 0 24px; }
.recipe-header h1 { margin-bottom: .35em; }
.recipe-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.recipe-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

.recipe-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--cream-2); }
.recipe-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.photo-credit a { color: var(--muted); }

.meta-bar {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0 10px;
}
.meta-bar div { background: var(--paper); padding: 14px 10px; text-align: center; }
.meta-bar .label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.meta-bar .value { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--brown-dark); font-weight: 700; }
@media (max-width: 720px) { .meta-bar { grid-template-columns: repeat(3, 1fr); } }

.recipe-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; padding: 30px 0 70px; }
@media (max-width: 980px) { .recipe-layout { grid-template-columns: 1fr; } .recipe-aside { order: 2; } }

.recipe-content h2:first-child { margin-top: 0; }
.recipe-content .why-list { list-style: none; padding: 0; }
.recipe-content .why-list li { padding-left: 32px; position: relative; margin-bottom: .8em; }
.recipe-content .why-list li::before { content: "🍄"; position: absolute; left: 0; top: 0; }

.mushroom-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 1em 0 1.6em; }
.mushroom-pick div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; }
.mushroom-pick strong { display: block; font-family: var(--serif); color: var(--brown-dark); font-size: 1.05rem; margin-bottom: 4px; }

/* Recipe card */
.recipe-card-full {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 44px); margin: 40px 0; border-top: 6px solid var(--terracotta);
  scroll-margin-top: 90px;
}
.recipe-card-full .rc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.recipe-card-full .rc-head h2 { margin: 0 0 .2em; }
.recipe-card-full .rc-head p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.rc-times { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.rc-times b { color: var(--brown-dark); }

.servings-ctrl { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--brown-dark); }
.servings-ctrl button {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--cream); cursor: pointer; font-size: 1rem; line-height: 1;
}
.servings-ctrl button:hover { border-color: var(--brown); }

.ingredients h3, .instructions h3 { font-family: var(--serif); margin-top: 0; }
.ingredients h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--terracotta); margin: 1.4em 0 .6em; }
.ingredients ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ingredients li { margin: 0; border-bottom: 1px dashed var(--line); }
.ingredients label { display: flex; gap: 12px; padding: 10px 0; cursor: pointer; align-items: flex-start; }
.ingredients input[type="checkbox"] { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--forest); flex-shrink: 0; }
.ingredients input:checked + span { text-decoration: line-through; color: var(--muted); }

.instructions ol { list-style: none; counter-reset: step; padding: 0; }
.instructions li { counter-increment: step; position: relative; padding-left: 54px; margin-bottom: 1.4em; min-height: 38px; }
.instructions li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--serif);
}
.instructions li strong { color: var(--brown-dark); }

.rc-notes { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin-top: 10px; }
.rc-notes h3 { margin-top: 0; font-size: 1.1rem; }
.rc-notes ul { margin-bottom: 0; }

.equipment { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.6em; }
.equipment li { background: var(--cream-2); padding: 5px 13px; border-radius: 999px; font-size: .88rem; margin: 0; }

.nutrition { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 1em 0 .6em; }
.nutrition div { background: var(--cream); border-radius: 10px; padding: 12px; text-align: center; }
.nutrition b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--brown-dark); }
.nutrition span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.small-note { font-size: .84rem; color: var(--muted); }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--brown-dark); list-style: none; position: relative; padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--terracotta); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Aside */
.recipe-aside .aside-box { background: var(--paper); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.recipe-aside .sticky { position: sticky; top: 96px; }
.aside-box h3 { margin-top: 0; font-size: 1.15rem; }
.toc ol { padding-left: 1.2em; margin: 0; font-size: .95rem; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--terracotta); }
.mini-recipe { display: flex; gap: 12px; text-decoration: none; color: var(--ink); margin-bottom: 14px; align-items: center; }
.mini-recipe img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-recipe span { font-weight: 600; font-size: .94rem; line-height: 1.35; }
.mini-recipe:hover span { color: var(--terracotta); }

/* ---------- Guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.guide-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.guide-card .gc-body { padding: 22px 24px 26px; }
.guide-card h3 { margin: 0 0 .2em; }
.guide-card .latin { font-style: italic; color: var(--muted); font-size: .9rem; margin-bottom: .8em; display: block; }
.guide-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; margin: 1em 0 0; }
.guide-card dt { font-weight: 600; color: var(--brown-dark); }
.guide-card dd { margin: 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 60px 0; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 1rem; background: var(--paper); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--forest); outline: none; }
.form-field textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dark); color: #d9cbb8; padding: 64px 0 28px; margin-top: 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d9cbb8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: #b5a48f;
}
.link-btn { background: none; border: 0; padding: 0; color: #d9cbb8; font: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { font-size: .82rem; color: #b5a48f; margin-top: 14px; line-height: 1.55; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px; background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: 0 10px 50px rgba(0, 0, 0, .25);
  padding: 22px 24px; font-size: .92rem; line-height: 1.55; border: 1px solid var(--line);
  display: none;
}
.cookie-banner.show { display: block; animation: slideUp .35s ease-out; }
.cookie-banner h2 { font-size: 1.15rem; margin: 0 0 .4em; }
.cookie-banner p { margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { flex: 1 1 140px; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound .big { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); color: var(--terracotta); line-height: 1; margin: 0; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Print ---------- */
@media print {
  body { background: #fff; font-size: 12pt; }
  body.print-recipe-only > *:not(main) { display: none !important; }
  body.print-recipe-only main > *:not(.recipe-print-scope) { display: none !important; }
  body.print-recipe-only .recipe-print-scope .recipe-layout > *:not(.recipe-content),
  body.print-recipe-only .recipe-content > *:not(.recipe-card-full) { display: none !important; }
  .site-header, .site-footer, .cookie-banner, .recipe-actions, .newsletter, .recipe-aside, .servings-ctrl, .no-print { display: none !important; }
  .recipe-card-full { box-shadow: none; border: 1px solid #ccc; margin: 0; }
  .recipe-layout { display: block; padding: 0; }
  a { color: #000; text-decoration: none; }
}

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