:root {
  --ink: #1a120c;
  --muted: #6d5c4b;
  --paper: #f3ecdf;
  --sheet: #fffaf3;
  --line: #e3d4ba;
  --gold: #8d6730;
  --gold-soft: #e7c98a;
  --night: #16110d;
  --night-2: #241910;
  --max: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(231, 201, 138, 0.35), transparent 32%),
    linear-gradient(180deg, #f7f1e6 0%, var(--paper) 18rem);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
p { margin: 0 0 0.8rem; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold-soft);
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  z-index: 8;
}
.skip-link:focus { top: 0.6rem; }

#site-header {
  background: var(--night);
  color: #f6f0e4;
  position: sticky;
  top: 0;
  z-index: 5;
}
.mast-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  padding: 1.1rem 0 0.35rem;
}
.edition {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.brand, .foot-logo {
  text-decoration: none;
  color: #f6f0e4;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 0.9;
  justify-self: center;
}
.brand em, .foot-logo em {
  font-style: italic;
  font-weight: 520;
  color: var(--gold-soft);
}
.mast-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}
.finder {
  display: flex;
  border: 1px solid rgba(231, 201, 138, 0.55);
  background: rgba(255, 250, 243, 0.04);
  min-width: 0;
}
.finder input {
  border: 0;
  background: transparent;
  color: #f6f0e4;
  font: inherit;
  font-size: 0.92rem;
  width: 13.5rem;
  padding: 0.55rem 0.75rem;
}
.finder input::placeholder { color: rgba(246, 240, 228, 0.55); }
.finder button, .nav-toggle, .contact-card button {
  border: 0;
  background: var(--gold-soft);
  color: var(--night);
  font: inherit;
  font-weight: 640;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(231, 201, 138, 0.55);
}
.menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 1rem;
  border-top: 1px solid rgba(231, 201, 138, 0.22);
}
.nav-link {
  color: #f6f0e4;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-link.is-current { color: var(--gold-soft); }

.cover {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: end;
  padding: 3.2rem 0 2.4rem;
}
.kicker {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 640;
}
.cover h1, .lane-top h1, .story-top h1, .search-page h1, .missing h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 560;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.cover-actions a, .missing a {
  display: inline-block;
  text-decoration: none;
  background: var(--night);
  color: #f6f0e4;
  padding: 0.75rem 1rem;
  font-weight: 640;
}
.cover-actions a:last-child {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.plate { position: relative; margin: 0 0 0.6rem 1rem; }
.plate::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1rem -1rem 1.2rem;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.plate a {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  background: var(--night);
}
.plate-media, .card-media, .story-figure, .photo-fallback {
  background:
    linear-gradient(145deg, rgba(231, 201, 138, 0.35), transparent 42%),
    #e7dcc8;
}
.plate-media { aspect-ratio: 5 / 4; overflow: hidden; }
.plate-media img, .card-media img, .story-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate-copy {
  display: block;
  padding: 1rem 1.1rem 1.15rem;
  color: #f6f0e4;
}
.plate-copy .kicker { color: var(--gold-soft); }
.plate-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.05;
}
.plate-dek {
  display: block;
  margin-top: 0.45rem;
  color: rgba(246, 240, 228, 0.78);
  font-size: 0.95rem;
}

.section-head, .band-head {
  display: block;
  max-width: 40rem;
  margin: 0 0 1.15rem;
}
.section-head h2, .band-head h2, .tray-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.section-head p, .band-head p, .tray-copy p { color: var(--muted); margin: 0.35rem 0 0; }
.fresh { padding: 1rem 0 2.4rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem 1rem;
}
.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--sheet);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card a:hover { border-color: var(--gold); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { transition: transform 0.45s ease; }
.card a:hover img { transform: scale(1.04); }
.card-copy { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.8rem 0.15rem 0.2rem; }
.card-title {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.15;
}
.card-dek { color: var(--muted); font-size: 0.92rem; }
.ready {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.tray { padding: 1.6rem 0 1.8rem; }
.tray:nth-of-type(odd) { background: rgba(255, 250, 243, 0.72); }
.tray-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.8fr);
  gap: 1.6rem;
  align-items: start;
}
.tray .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tray-copy a {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--ink);
  font-weight: 640;
  letter-spacing: 0.04em;
}

.story { padding: 1.6rem 0 2rem; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 1rem;
}
.crumbs a { color: var(--ink); }
.story-top { max-width: 46rem; margin-bottom: 1.2rem; }
.dek { font-size: 1.2rem; color: var(--muted); }
.times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.times li { font-size: 0.95rem; }
.times span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; margin-top: 0.8rem; }
.tag-row a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.jump {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  font-weight: 640;
}
.story-figure {
  margin: 0 0 1.6rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.photo-fallback, img.is-missing {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 8rem;
}
.prose { max-width: 44rem; font-size: 1.08rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.6rem 0 0.5rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.45rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.16em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose figure { margin: 1.2rem 0; }
.prose img { width: 100%; height: auto; }
.prose figcaption, .prose table { color: var(--muted); font-size: 0.95rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.45rem 0.4rem; }
.prose blockquote {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.recipe-sheet {
  margin: 2.2rem 0 1rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  scroll-margin-top: 9.5rem;
}
.story h2, .story h3 { scroll-margin-top: 9.5rem; }
.recipe-head {
  background: var(--night);
  color: #f6f0e4;
  padding: 1.4rem 1.5rem 1.2rem;
}
.recipe-head .kicker { color: var(--gold-soft); }
.recipe-head h2 { margin: 0 0 0.45rem; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #f6f0e4; }
.recipe-head p { color: rgba(246, 240, 228, 0.8); max-width: 42rem; }
.recipe-head .times span { color: var(--gold-soft); }
.recipe-grid { display: grid; grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.25fr); }
.ingredient-pad, .method { padding: 1.3rem 1.4rem 1.6rem; }
.ingredient-pad { background: #f7f1e4; border-right: 1px solid var(--line); }
.ingredient-pad h3, .method h3, .recipe-notes h3, .recipe-extra h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
}
.ingredient-pad h4, .method h4 { margin: 1rem 0 0.4rem; font-size: 1.1rem; }
.ingredients, .equipment { list-style: none; margin: 0; padding: 0; }
.ingredients li {
  position: relative;
  padding: 0.48rem 0 0.48rem 1.35rem;
  border-bottom: 1px solid #eadfca;
}
.ingredients li::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid var(--gold);
  position: absolute;
  left: 0;
  top: 0.72rem;
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; margin: 0 0 0.95rem; }
.step-no {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.15rem;
}
.steps p { margin: 0; }
.recipe-notes, .recipe-extra {
  padding: 0 1.4rem 1.3rem;
  border-top: 1px solid var(--line);
}
.recipe-notes { padding-top: 1.1rem; }
.nutrition {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.4rem;
}
.nutrition li {
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}
.nutrition span { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.faq { margin-top: 2rem; max-width: 44rem; }
.faq h2 { font-size: 2rem; }
.faq h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.related { padding: 0.4rem 0 2.6rem; }

.lane-top, .search-page, .missing { padding: 2.2rem 0 1rem; }
.count-line { color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.child-row { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; }
.child-row a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.6rem 0 2rem; }
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.7rem;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--ink);
}
.page-link.is-current { background: var(--night); color: var(--gold-soft); border-color: var(--night); }
.finder-large { margin: 0.4rem 0 1.2rem; max-width: 36rem; background: var(--sheet); }
.finder-large input { color: var(--ink); width: 100%; }
.finder-large input::placeholder { color: var(--muted); }

#site-footer {
  background: var(--night);
  color: #f6f0e4;
  margin-top: 1rem;
  padding: 2.4rem 0 1.2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 1.4rem 1rem;
}
.foot-logo { font-size: 2rem; justify-self: start; }
.foot-brand p { color: rgba(246, 240, 228, 0.75); max-width: 22rem; }
#site-footer h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 640;
  color: var(--gold-soft);
}
#site-footer ul { list-style: none; margin: 0; padding: 0; }
#site-footer li { margin: 0.28rem 0; }
.foot-link { color: #f6f0e4; text-decoration: none; }
.foot-link:hover { color: var(--gold-soft); }
.legal { margin-top: 1.6rem; padding-top: 0.9rem; border-top: 1px solid rgba(231, 201, 138, 0.22); color: rgba(246, 240, 228, 0.62); font-size: 0.88rem; }
.missing { min-height: 40vh; }

.contact-hero { padding: 2.2rem 0 0.4rem; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 1.6rem;
  align-items: start;
  padding-bottom: 2.6rem;
}
.contact-card {
  display: grid;
  gap: 0.9rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.25rem;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-card label {
  display: grid;
  gap: 0.35rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 640;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.7rem 0.75rem;
}
.contact-card textarea { resize: vertical; min-height: 9rem; }
.contact-card button { justify-self: start; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice { margin: 0; padding: 0.7rem 0.8rem; background: #f7f1e4; }
.notice-bad { background: #f8e7e2; }
.captcha { min-height: 78px; }
.contact-aside article { padding: 0.15rem 0 1rem; border-top: 1px solid var(--line); }
.contact-aside h2 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.contact-aside p { color: var(--muted); }

@media (max-width: 980px) {
  .mast-top { grid-template-columns: 1fr auto; }
  .edition { display: none; }
  .brand { justify-self: start; font-size: 2rem; }
  .cards, .tray .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover, .tray-grid, .recipe-grid, .foot-grid { grid-template-columns: 1fr; }
  .plate { margin: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .mast-top {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand toggle" "tools tools";
    align-items: center;
  }
  .brand { grid-area: brand; }
  .nav-toggle { grid-area: toggle; justify-self: end; }
  .mast-tools { grid-area: tools; margin: 0.35rem 0 0.75rem; }
  .finder { flex: 1; }
  .finder input { width: 100%; }
  .menu {
    display: none;
    background: var(--night-2);
  }
  body.nav-open .menu { display: block; }
  .menu ul { flex-direction: column; align-items: flex-start; padding: 0.4rem 0 1rem; }
  .cards, .tray .cards, .foot-grid, .contact-layout, .contact-grid { grid-template-columns: 1fr; }
  .cover { padding-top: 1.6rem; }
  .story-figure { aspect-ratio: 4 / 3; }
}
