@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-600.woff2") format("woff2");
}

:root {
  --paper: #f6f0e6;
  --paper-deep: #efe2d0;
  --card: #fffdf8;
  --ink: #2a2118;
  --muted: #5c5146;
  --line: #eadfce;
  --tomato: #c24b2a;
  --tomato-dark: #8d3016;
  --leaf: #1d6a43;
  --leaf-soft: #e6f3ea;
  --shadow: 0 14px 40px rgba(74, 42, 18, 0.08);
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  --wrap: 72rem;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 0% -10%, #fde6c8 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #f8d5c8 0%, transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a { color: var(--leaf); }
a:hover { color: var(--tomato-dark); }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.55rem 0.9rem;
  z-index: 20;
  border-radius: 8px;
}
.skip:focus { top: 0.75rem; color: white; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 240, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(80, 48, 20, 0.08);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 4.25rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--tomato-dark); }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.1rem;
}
.site-header nav a[aria-current="page"] {
  color: var(--tomato-dark);
  box-shadow: inset 0 -2px 0 var(--tomato);
}

.page-head { padding-block: 1.75rem 0.5rem; }
.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--tomato-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.35rem; }
.lede { font-size: 1.15rem; max-width: 40rem; color: var(--muted); margin: 0; }

.search { margin: 1.25rem 0 0.75rem; max-width: 36rem; }
.search label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.search input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  background: var(--card);
  color: var(--ink);
}

.tag-list, .tag-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}
.tag-list a {
  display: inline-block;
  text-decoration: none;
  background: var(--leaf-soft);
  color: var(--leaf);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.tag-list a:hover { background: #d5eadc; color: var(--leaf); }

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
}
.list-head p { margin: 0; color: var(--muted); }

.feature {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-body { padding: 0 1.15rem 1.2rem; }
.feature-body h2 { margin-top: 0.2rem; }
.feature-body h2 a { color: inherit; text-decoration: none; }
.feature-body h2 a:hover { color: var(--tomato-dark); }
.kicker {
  margin: 0;
  color: var(--tomato-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-link { font-weight: 700; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: 3rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card[hidden] { display: none; }
.card-media { position: relative; display: block; }
.card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-series {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.2rem;
  aspect-ratio: 16 / 9;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #fffaf4;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 244, 220, 0.35), transparent 45%),
    linear-gradient(155deg, #8d3016 0%, #c24b2a 58%, #e0a045 140%);
}
.card-series:hover { color: white; }
.series-num {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.series-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-body { padding: 0.9rem 1rem 1.1rem; }
.card-body h3 { font-size: 1.35rem; margin: 0.2rem 0; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--tomato-dark); }
.card-meta, .card-protein { margin: 0.2rem 0; color: var(--muted); }
.card-protein { color: var(--leaf); font-weight: 600; }
.empty { color: var(--muted); }
.noscript-note { color: var(--muted); }

.crumbs { margin: 1rem 0 0; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: #b5a594; }
.crumbs a { color: var(--muted); }

.recipe, .collection, .prose { padding-bottom: 3.5rem; }
.recipe-head { padding-top: 0.4rem; }
.recipe-head h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.byline { color: var(--muted); margin: 0.2rem 0 0.8rem; }
.series-link { margin: 0.8rem 0 0; font-weight: 600; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 0.4rem;
}
.stat {
  flex: 1 1 7.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--tomato);
  border-radius: 14px;
  padding: 0.65rem 0.8rem 0.75rem;
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat-value { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.time-summary { color: var(--muted); max-width: 44rem; }

.print-btn {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  min-height: 2.8rem;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
}
.print-btn:hover { background: var(--ink); color: white; }

.hero-photo { margin: 1.2rem 0; }
.hero-photo img {
  width: 100%;
  border-radius: 18px;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.photo-credit { color: var(--muted); font-size: 0.85rem; margin: 0.4rem 0 0; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1c140e;
  border-radius: 18px;
  overflow: hidden;
}
.video-frame.is-short {
  max-width: 22rem;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { color: var(--muted); }

.jump { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin: 0.5rem 0 1rem; font-weight: 700; }

.recipe-columns { display: grid; gap: 1.5rem; }
.ingredients-panel, #steps, .notes, .protein-block, .prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1.25rem;
}
.yield-line { margin-top: 0; color: var(--muted); font-weight: 600; }
.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.amount { color: var(--leaf); font-weight: 700; }
.ingredient-note { display: block; color: var(--muted); font-size: 0.92rem; }
.ingredients-panel h3 { margin: 1rem 0 0.2rem; color: var(--tomato-dark); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.steps li::before {
  content: counter(step);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--tomato);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.notes ul, .protein-block ul, .prose ul { padding-left: 1.1rem; }
.notes li + li, .prose p { margin-top: 0.7rem; }
.protein-block { margin-top: 1rem; }
.protein-block > p { margin-top: 0; }
.usda { margin-top: 0.8rem; }
.usda summary { cursor: pointer; font-weight: 700; }
.usda ul { margin: 0.7rem 0; }
.fdc { color: var(--muted); font-size: 0.92rem; }
.collection-list { padding-left: 1.2rem; }
.collection-item { margin: 0 0 1.15rem; }
.collection-item p { margin: 0.2rem 0; }
.notes, .protein-block { margin-top: 1rem; }
.prose { margin-top: 1rem; }
.prose p { max-width: 42rem; }

.site-footer {
  border-top: 1px solid rgba(80, 48, 20, 0.08);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between; }
.footer-inner p { margin: 0; }

.print-url { display: none; }

@media (min-width: 720px) {
  .feature { grid-template-columns: 1.15fr 0.95fr; align-items: center; }
  .feature-body { padding: 1.3rem 1.4rem 1.3rem 0.2rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .ingredients li { grid-template-columns: 15rem 1fr; gap: 0.4rem 1rem; align-items: baseline; }
  .ingredients li.no-amount { grid-template-columns: 1fr; }
}

@media (min-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
  .recipe-columns { grid-template-columns: minmax(16rem, 0.9fr) 1.2fr; align-items: start; }
  .ingredients-panel { position: sticky; top: 5.4rem; }
}

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

@media print {
  .wrap { width: auto; max-width: none; padding-inline: 0; }
  .no-print,
  .video-block { display: none !important; }
  .print-url { display: block; margin: 0 0 0.5rem; }
  body { background: white; color: black; font-size: 11pt; }
  a { color: black; text-decoration: none; }
  .recipe, .collection, .prose, .ingredients-panel, #steps, .notes, .protein-block {
    background: white;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .ingredients-panel { position: static; }
  .recipe-columns { display: block; }
  .ingredients li { display: block; }
  .amount::after { content: " "; }
  .hero-photo img { max-height: 2.6in; width: auto; border-radius: 0; }
  .stat { border: 1px solid #bbb; }
  .steps li, .stat { break-inside: avoid; }
  @page { margin: 0.6in; }
}
