/* ============================================================
   Slow Feast — visual system
   Warm earthy palette · chunky display serif (Fraunces)
   ============================================================ */
:root {
  --bg: #f5ecdc;
  --bg-warm: #efe2c9;
  --paper: #fdf8ee;
  --surface: #ffffff;
  --surface-2: #f1e6cf;
  --ink: #1f1208;
  --ink-soft: #4a3324;
  --muted: #8b7558;
  --line: #e0cfa8;
  --line-strong: #c9b483;

  --terracotta: #b94a1d;
  --terracotta-dark: #8c3712;
  --terracotta-soft: #f7d9bf;
  --gold: #c8941e;
  --gold-soft: #f1d68a;
  --olive: #5e6a36;
  --olive-soft: #c7d09a;
  --forest: #3a5a3c;
  --paprika: #a01f1f;
  --plum: #6a2d4a;
  --teal: #25696c;
  --indigo: #2d3a6b;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(54, 32, 16, 0.06);
  --shadow: 0 2px 6px rgba(54, 32, 16, 0.08), 0 16px 38px rgba(54, 32, 16, 0.10);
  --shadow-lg: 0 4px 12px rgba(54, 32, 16, 0.12), 0 28px 60px rgba(54, 32, 16, 0.18);

  --display: "Fraunces", "Source Serif 4", Georgia, "Iowan Old Style", serif;
  --serif:   "Source Serif 4", Georgia, "Iowan Old Style", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(at 12% 0%, rgba(184, 117, 30, 0.06) 0%, transparent 40%),
    radial-gradient(at 90% 8%, rgba(58, 90, 60, 0.05) 0%, transparent 35%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--terracotta-dark); text-decoration: none; transition: color .12s ease; }
a:hover { color: var(--terracotta); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 .55em;
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 700;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 50;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.22rem; }
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 700; margin-bottom: .55rem;
  display: inline-block;
}
.eyebrow.dark { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.4rem; }
.narrow    { max-width: 760px;  margin: 0 auto; padding: 0 1.4rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: 2rem; padding: 1rem 1.4rem; max-width: 1200px; margin: 0 auto; }
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--display); font-size: 1.55rem; color: var(--ink);
  font-weight: 800; letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.brand:hover { text-decoration: none; color: var(--terracotta-dark); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-tag {
  font-family: var(--sans); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-left: .4rem; padding-left: .7rem; border-left: 1px solid var(--line-strong);
  font-weight: 600;
}

.nav { display: flex; gap: 1.55rem; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); font-size: .94rem; font-weight: 600; }
.nav a:hover { color: var(--terracotta-dark); text-decoration: none; }

.search-form { display: flex; align-items: stretch; }
.search-form input {
  font: inherit; padding: .6rem .9rem; border: 1.5px solid var(--line-strong); background: var(--paper);
  border-radius: 999px 0 0 999px; width: 220px; outline: none; color: var(--ink);
}
.search-form input::placeholder { color: var(--muted); }
.search-form input:focus { border-color: var(--terracotta); }
.search-form button {
  font: inherit; padding: .6rem 1.2rem; border: 1.5px solid var(--terracotta); background: var(--terracotta); color: white;
  border-radius: 0 999px 999px 0; cursor: pointer; font-weight: 600; letter-spacing: .02em;
}
.search-form button:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }

@media (max-width: 880px) {
  .header-inner { flex-wrap: wrap; gap: 1rem; }
  .nav { order: 3; width: 100%; gap: 1rem; font-size: .9rem; }
  .search-form { order: 2; }
  .search-form input { width: 160px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(245,236,220,0) 0%, rgba(245,236,220,.65) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(247, 217, 191, .85) 0%, transparent 55%),
    linear-gradient(135deg, #efe2c9 0%, #e6d2a8 100%);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(58,30,15,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: .5;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  margin-bottom: .6rem;
  font-weight: 900;
  font-variation-settings: "SOFT" 70, "opsz" 144, "WONK" 1;
}
.hero h1 em { font-style: italic; color: var(--terracotta-dark); font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1; }
.hero p.lede {
  font-family: var(--serif); font-size: 1.22rem; color: var(--ink-soft); margin: 0 0 1.6rem; max-width: 42ch;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.hero-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink); color: var(--paper); padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 700; letter-spacing: .01em; font-size: 1rem;
  border: 2px solid var(--ink);
  transition: all .15s ease;
}
.hero-cta:hover { background: var(--terracotta); border-color: var(--terracotta); color: white; text-decoration: none; transform: translateY(-1px); }
.hero-cta-secondary {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .9rem 1.3rem; border-radius: 999px;
  background: transparent; color: var(--ink); border: 2px solid var(--ink);
  font-weight: 700;
}
.hero-cta-secondary:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

.hero-stats { display: flex; gap: 2.2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1.5px solid rgba(31, 18, 8, 0.12); }
.hero-stats .stat { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.hero-stats .stat strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; text-transform: none; margin-bottom: .15rem; }

.hero-image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: #2a1a10;
  transform: rotate(1.5deg);
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35) 100%);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: var(--paper); color: var(--ink); padding: .45rem .9rem;
  border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-family: var(--sans);
}

@media (max-width: 880px) {
  .hero { padding: 3rem 0 3.2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { aspect-ratio: 16/12; transform: rotate(0); max-height: 360px; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section.tight { padding: 2.6rem 0; }
.section.tinted { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark {
  background: #1f1208;
  background-image:
    radial-gradient(at 20% 10%, rgba(200, 148, 30, 0.18) 0%, transparent 45%),
    radial-gradient(at 80% 80%, rgba(185, 74, 29, 0.16) 0%, transparent 45%);
  color: #efe2c9;
}
.section.dark h2, .section.dark h3 { color: #fdf8ee; }
.section.dark .section-head .more { color: var(--gold-soft); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-weight: 800; }
.section-head .more { font-size: .9rem; color: var(--terracotta-dark); font-weight: 600; }

.section-intro { color: var(--ink-soft); max-width: 60ch; margin: -.8rem 0 1.8rem; font-size: 1.03rem; }

/* ---------- Spotlight (featured) ---------- */
.spotlight {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.spotlight-image {
  aspect-ratio: 4/3; min-height: 360px;
  background-size: cover; background-position: center;
  position: relative;
}
.spotlight-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
}
.spotlight-body { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.spotlight-body .eyebrow { color: var(--terracotta); }
.spotlight-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .7rem; }
.spotlight-body p { font-family: var(--serif); font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 1.4rem; }
.spotlight-meta { display: flex; gap: 1.6rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.spotlight-meta b { color: var(--ink); display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
@media (max-width: 800px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-image { min-height: 240px; aspect-ratio: 16/10; }
  .spotlight-body { padding: 1.8rem 1.6rem 2rem; }
}

/* ---------- Recipe cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--terracotta-soft); }
.card-thumb {
  aspect-ratio: 5/4; position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-thumb svg { width: 100%; height: 100%; display: block; }
.card-thumb .badge {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(255,255,255,.95); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card-thumb .time-pill {
  position: absolute; top: .8rem; right: .8rem;
  background: var(--ink); color: var(--paper);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
}
.card-body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; font-weight: 600; }
.card-title { font-family: var(--display); font-size: 1.22rem; font-weight: 700; color: var(--ink); margin: 0 0 .55rem; line-height: 1.2; letter-spacing: -.015em; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--terracotta-dark); text-decoration: none; }
.card-excerpt { color: var(--ink-soft); font-size: .93rem; flex: 1; margin: 0 0 1rem; line-height: 1.55; }
.card-foot { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .8rem; }
.card-foot .rating { color: var(--terracotta-dark); font-weight: 700; }
.card-foot .rating .star { color: var(--gold); }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.tile {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem; transition: all .15s ease; display: block; position: relative; overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--terracotta); transform: translateX(-4px); transition: transform .2s ease;
}
.tile:hover { border-color: var(--terracotta); background: var(--paper); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile:hover::before { transform: translateX(0); }
.tile h3 { font-size: 1.1rem; margin: 0 0 .2rem; color: var(--ink); font-weight: 700; }
.tile .count { font-size: .82rem; color: var(--muted); font-weight: 600; }
.tile:hover h3 { color: var(--terracotta-dark); }

.tiles-rich { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.tile-rich {
  border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.3rem; color: white;
  display: block; transition: transform .15s ease, box-shadow .15s ease;
  min-height: 130px; position: relative; overflow: hidden;
}
.tile-rich::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18) 0%, transparent 50%);
  pointer-events: none;
}
.tile-rich:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: white; }
.tile-rich h3 { color: white; font-size: 1.4rem; margin: 0 0 .3rem; font-weight: 800; letter-spacing: -.02em; position: relative; }
.tile-rich .count { font-size: .82rem; opacity: .9; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; position: relative; }
.tile-rich .ic { position: absolute; right: 1rem; bottom: .9rem; font-family: var(--display); font-size: 2.6rem; font-weight: 800; opacity: .25; line-height: 1; }

/* Cuisine palettes */
.bg-american      { background: linear-gradient(135deg, #b94a1d 0%, #8c3712 100%); }
.bg-mexican       { background: linear-gradient(135deg, #c2421f 0%, #6a2d4a 100%); }
.bg-italian       { background: linear-gradient(135deg, #a01f1f 0%, #5e6a36 100%); }
.bg-indian        { background: linear-gradient(135deg, #c8941e 0%, #b94a1d 100%); }
.bg-thai          { background: linear-gradient(135deg, #25696c 0%, #5e6a36 100%); }
.bg-moroccan      { background: linear-gradient(135deg, #8c3712 0%, #c8941e 100%); }
.bg-french        { background: linear-gradient(135deg, #2d3a6b 0%, #6a2d4a 100%); }
.bg-korean        { background: linear-gradient(135deg, #6a2d4a 0%, #2d3a6b 100%); }
.bg-mediterranean { background: linear-gradient(135deg, #25696c 0%, #2d3a6b 100%); }
.bg-caribbean     { background: linear-gradient(135deg, #5e6a36 0%, #25696c 100%); }
.bg-cajun         { background: linear-gradient(135deg, #a01f1f 0%, #c8941e 100%); }
.bg-german        { background: linear-gradient(135deg, #4a3324 0%, #8c3712 100%); }

.bg-chicken    { background: linear-gradient(135deg, #c8941e 0%, #b94a1d 100%); }
.bg-beef       { background: linear-gradient(135deg, #8c3712 0%, #4a1a08 100%); }
.bg-pork       { background: linear-gradient(135deg, #c2421f 0%, #8c3712 100%); }
.bg-turkey     { background: linear-gradient(135deg, #b94a1d 0%, #6a2d4a 100%); }
.bg-lamb       { background: linear-gradient(135deg, #6a2d4a 0%, #4a1a08 100%); }
.bg-seafood    { background: linear-gradient(135deg, #25696c 0%, #2d3a6b 100%); }
.bg-vegetarian { background: linear-gradient(135deg, #5e6a36 0%, #3a5a3c 100%); }
.bg-vegan      { background: linear-gradient(135deg, #3a5a3c 0%, #25696c 100%); }

.bg-time-1 { background: linear-gradient(135deg, #c8941e 0%, #b94a1d 100%); }
.bg-time-2 { background: linear-gradient(135deg, #b94a1d 0%, #8c3712 100%); }
.bg-time-3 { background: linear-gradient(135deg, #8c3712 0%, #6a2d4a 100%); }
.bg-time-4 { background: linear-gradient(135deg, #4a3324 0%, #1f1208 100%); }

/* ---------- Recipe page ---------- */
.recipe-hero {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 2.6rem 0 2.2rem; position: relative;
}
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1.2rem; font-weight: 500; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--terracotta-dark); }
.crumbs span { margin: 0 .5rem; color: var(--line-strong); }
.recipe-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: .2rem 0 .8rem; font-weight: 800; letter-spacing: -.025em; }
.recipe-deck { font-family: var(--serif); font-size: 1.18rem; color: var(--ink-soft); max-width: 64ch; line-height: 1.55; margin: 0 0 1.4rem; font-style: italic; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; color: var(--ink-soft); font-size: .92rem; margin-bottom: .4rem; align-items: center; }
.recipe-meta b { color: var(--ink); font-weight: 700; }
.recipe-meta .rating { color: var(--terracotta-dark); font-weight: 700; }
.recipe-meta .rating .star { color: var(--gold); font-size: 1.1em; }
.recipe-meta .pip { color: var(--line-strong); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 0; margin-bottom: 2rem; overflow: hidden;
}
.facts .fact { text-align: center; padding: 1.2rem .6rem; border-right: 1px dashed var(--line); }
.facts .fact:last-child { border-right: none; }
.facts .fact span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts .fact b { font-family: var(--display); font-size: 1.7rem; color: var(--ink); display: block; margin-top: .25rem; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 600px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts .fact:nth-child(2) { border-right: none; } .facts .fact:nth-child(1), .facts .fact:nth-child(2) { border-bottom: 1px dashed var(--line); } }

.recipe-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; padding: 2.8rem 0; align-items: start; }
@media (max-width: 980px) { .recipe-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.recipe-content h2 { margin-top: 2.4rem; padding-bottom: .5rem; border-bottom: 2px solid var(--terracotta-soft); font-size: 1.55rem; font-weight: 800; }
.recipe-content h2:first-child { margin-top: 0; }
.recipe-content h2 small { font-family: var(--sans); font-size: .58em; color: var(--muted); font-weight: 500; letter-spacing: .04em; margin-left: .6rem; text-transform: uppercase; }
.recipe-content p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.72; color: var(--ink-soft); margin: 0 0 1.1rem; }
.recipe-content p:first-of-type::first-letter {
  font-family: var(--display); font-size: 3.6em; font-weight: 800;
  float: left; line-height: .85; padding: .25rem .6rem 0 0; color: var(--terracotta-dark);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

.dump-card {
  background: var(--terracotta-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  margin: 1.6rem 0;
  border-left: 5px solid var(--terracotta);
}
.dump-card h3 { margin: 0 0 .6rem; font-size: 1.2rem; color: var(--terracotta-dark); font-weight: 800; }
.dump-card ol { margin: 0; padding-left: 1.25rem; }
.dump-card li { font-family: var(--serif); font-size: 1.04rem; padding: .25rem 0; color: var(--ink); }
.dump-card li::marker { color: var(--terracotta-dark); font-weight: 800; }

.callout {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; margin: 1.5rem 0;
}
.callout h3 { margin: 0 0 .6rem; font-size: 1.1rem; color: var(--ink); font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.callout h3::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); }
.callout.freezer h3::before { background: var(--teal); }
.callout p { font-family: var(--serif); font-size: 1rem; margin: .3rem 0; color: var(--ink-soft); }

.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li {
  padding: .7rem .25rem; border-bottom: 1px dashed var(--line);
  font-size: 1rem; color: var(--ink); display: flex; align-items: flex-start; gap: .7rem;
}
.ingredients li::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--terracotta); margin-top: .55rem; flex-shrink: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step; padding: 1.2rem 0 1.2rem 3.2rem; position: relative;
  border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.08rem; color: var(--ink-soft); line-height: 1.7;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1.15rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 1rem;
}

.nutrition-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: .96rem; }
.nutrition-table th, .nutrition-table td { padding: .65rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.nutrition-table th { background: var(--surface-2); font-weight: 700; width: 40%; color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.tag {
  font-size: .76rem; padding: .3rem .75rem; border-radius: 999px;
  background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); font-weight: 600;
}
.tag:hover { background: var(--terracotta-soft); color: var(--terracotta-dark); border-color: var(--terracotta); text-decoration: none; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 90px; }
@media (max-width: 980px) { .sidebar { position: static; } }
.side-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
}
.side-card.dark { background: var(--ink); color: #efe2c9; border-color: #4a3324; }
.side-card.dark h3 { color: var(--gold-soft); }
.side-card.dark a { color: #efe2c9; }
.side-card.dark a:hover { color: white; }
.side-card.dark ul li { border-bottom-color: #4a3324; }
.side-card h3 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--terracotta-dark);
  margin: 0 0 .9rem; font-family: var(--sans); font-weight: 800;
  display: flex; align-items: center; gap: .5rem;
}
.side-card h3::before {
  content: ""; width: 1.6rem; height: 2px; background: var(--terracotta); display: inline-block;
}
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card ul li { padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .94rem; line-height: 1.45; }
.side-card ul li:last-child { border: none; }
.side-card a { color: var(--ink-soft); font-weight: 500; }
.side-card a:hover { color: var(--terracotta-dark); }
.side-card .meta { font-size: .76rem; color: var(--muted); display: block; margin-top: .15rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.side-card .tip { font-family: var(--serif); font-size: .96rem; color: var(--ink-soft); line-height: 1.55; margin: .25rem 0 0; }

/* Reading list (editorial recommendations) */
.reading-list ul li { padding: .85rem 0; }
.reading-list ul li:first-child { padding-top: 0; }
.reading-list a { display: block; font-family: var(--display); font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; }
.reading-list a:hover { color: var(--terracotta-dark); text-decoration: none; }
.reading-list .source { display: block; font-family: var(--sans); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: .25rem; font-weight: 600; }

/* ---------- Listing page ---------- */
.listing-head {
  padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); background: var(--paper);
  position: relative; overflow: hidden;
}
.listing-head::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, var(--terracotta-soft) 0%, transparent 70%);
  opacity: .55; pointer-events: none;
}
.listing-head .container { position: relative; }
.listing-head h1 { margin-bottom: .55rem; font-weight: 800; }
.listing-head p.lede { color: var(--ink-soft); max-width: 68ch; margin: .6rem 0 0; font-size: 1.1rem; font-family: var(--serif); line-height: 1.55; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.filter-bar a {
  font-size: .85rem; padding: .42rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--paper); color: var(--ink-soft); font-weight: 600;
}
.filter-bar a:hover, .filter-bar a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); text-decoration: none; }

.results-meta { padding: 1.4rem 0; color: var(--muted); font-size: .92rem; font-weight: 600; }

.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2.5rem; padding-bottom: 2rem; align-items: start; }
@media (max-width: 980px) { .listing-grid { grid-template-columns: 1fr; } }

/* Long-form intro on listing pages */
.listing-prose { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 2rem; margin-bottom: 2rem; }
.listing-prose p { font-family: var(--serif); font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 1rem; }
.listing-prose p:last-child { margin-bottom: 0; }
.listing-prose h2 { font-size: 1.3rem; margin: 1.5rem 0 .8rem; font-weight: 800; }
.listing-prose h2:first-child { margin-top: 0; }

/* Cross-link block */
.cross-links {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin: 2rem 0 1rem;
}
.cross-links h3 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; }
.cross-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .55rem; }
.cross-links-grid a { display: block; padding: .6rem .85rem; background: var(--bg); border-radius: var(--radius); color: var(--ink-soft); font-weight: 600; font-size: .92rem; border: 1px solid var(--line); }
.cross-links-grid a:hover { background: var(--terracotta-soft); color: var(--terracotta-dark); border-color: var(--terracotta); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a0f06; color: #d8c8b6; padding: 4rem 0 1.8rem; margin-top: 4rem; font-size: .94rem;
  background-image:
    radial-gradient(at 10% 0%, rgba(200, 148, 30, 0.08) 0%, transparent 40%),
    radial-gradient(at 90% 0%, rgba(185, 74, 29, 0.10) 0%, transparent 40%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 2.4rem; margin-bottom: 2.4rem; }
.footer-grid h4 { color: var(--gold-soft); font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: .35rem 0; }
.footer-grid a { color: #d8c8b6; }
.footer-grid a:hover { color: white; }
.footer-grid .small { display: block; font-size: .76rem; color: #998270; margin-top: .15rem; font-weight: 500; }
.site-footer .legal { border-top: 1px solid #4a3624; padding-top: 1.6rem; color: #998270; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand { color: white; font-size: 1.4rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* AdSense placeholders */
.adslot {
  margin: 1.6rem 0; padding: 1rem; text-align: center; background: var(--surface-2); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}

/* Pagination */
.pager { display: flex; gap: .4rem; justify-content: center; margin: 2.6rem 0 1.2rem; flex-wrap: wrap; }
.pager a, .pager span {
  padding: .6rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  color: var(--ink-soft); background: var(--paper); font-weight: 600; font-size: .92rem;
}
.pager a:hover { background: var(--terracotta-soft); border-color: var(--terracotta); color: var(--terracotta-dark); text-decoration: none; }
.pager span.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .disabled { opacity: .35; pointer-events: none; }
