:root {
  --ink: #171717;
  --muted: #666b68;
  --line: #e4e0d8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --smoke: #f2f5f1;
  --clay: #b6533c;
  --sage: #4f7468;
  --gold: #bc9147;
  --blue: #315f75;
  --shadow: 0 20px 50px rgba(18, 18, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 42px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0));
  transition: background 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  padding: 140px 7vw 38px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.62)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-top: 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.feature-copy h2,
.newsletter h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

.hero h1 {
  max-width: 780px;
  font-size: 4.75rem;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.13rem;
  overflow-wrap: break-word;
}

.hero-actions,
.search-row,
.recipe-tools,
.filter-group,
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a34834;
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button-glass:hover,
.button-glass:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-search {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 720px;
  margin-top: 58px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.search-row input,
.inline-search input,
.newsletter-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.search-row input {
  padding: 0 16px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.94);
}

.metric-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric-bar div {
  display: grid;
  min-height: 112px;
  place-items: center;
  background: var(--white);
  text-align: center;
}

.metric-bar strong {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.metric-bar span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2,
.feature-copy h2,
.newsletter h2 {
  color: var(--ink);
  font-size: 3rem;
}

.section-head p:not(.eyebrow),
.feature-copy p,
.newsletter p {
  color: var(--muted);
}

.recipe-tools {
  justify-content: space-between;
  margin-bottom: 26px;
}

.filter-group {
  flex-wrap: wrap;
}

.filter-chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--sage);
  background: var(--sage);
  color: var(--white);
  outline: none;
}

.inline-search {
  display: flex;
  min-width: 270px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.inline-search input {
  padding: 0 14px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.recipe-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.08);
}

.recipe-card[hidden] {
  display: none;
}

.recipe-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.recipe-body {
  min-height: 240px;
  padding: 22px;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.recipe-meta span,
.note-card span,
.menu-board span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--smoke);
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
}

.recipe-body h3,
.note-card h3,
.menu-board h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.recipe-body p,
.note-card p,
.menu-board p {
  margin: 0;
  color: var(--muted);
}

.text-button {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font-weight: 900;
}

.empty-state {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.collection-section {
  padding-top: 34px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collection-tile {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 420ms ease, opacity 180ms ease;
}

.collection-tile span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.collection-tile:hover img,
.collection-tile:focus-visible img {
  opacity: 0.9;
  transform: scale(1.04);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 640px;
  background: var(--white);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  padding: 70px 7vw;
}

.feature-copy p {
  max-width: 560px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
}

.process-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-list dt {
  color: var(--blue);
  font-weight: 900;
}

.process-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.season-section {
  width: min(1240px, calc(100% - 40px));
}

.menu-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.menu-board article {
  min-height: 250px;
  padding: 24px;
  background: var(--white);
}

.menu-board article:nth-child(2) {
  background: #f5f7fb;
}

.menu-board article:nth-child(3) {
  background: #f6f4ed;
}

.menu-board article:nth-child(4) {
  background: #f4f8f5;
}

.menu-board article:nth-child(5) {
  background: #fff8f4;
}

.menu-board h3 {
  margin-top: 28px;
}

.notes-section {
  padding-top: 38px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.note-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.note-card h3 {
  margin-top: 26px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.6fr);
  gap: 32px;
  align-items: center;
  padding: 74px 7vw;
  background: var(--ink);
  color: var(--white);
}

.newsletter h2 {
  color: var(--white);
  max-width: 760px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-form {
  justify-content: flex-end;
}

.newsletter-form input {
  min-width: 260px;
  padding: 0 14px;
}

.site-footer {
  padding: 62px 7vw 28px;
  background: #111;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(140px, 1fr));
  gap: 36px;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 9px 0;
}

.site-footer p {
  max-width: 440px;
}

.footer-legal {
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.site-footer .footer-legal a {
  display: inline-flex;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.site-footer .footer-legal a:hover,
.site-footer .footer-legal a:focus-visible {
  color: var(--white);
  outline: none;
}

.copyright {
  max-width: none;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.54);
  white-space: nowrap;
}

.recipe-dialog {
  width: min(980px, calc(100% - 36px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.recipe-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}

.dialog-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.dialog-grid img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.dialog-content {
  padding: 42px;
}

.dialog-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1.1;
}

.dialog-content h3 {
  margin: 28px 0 10px;
}

.dialog-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.dialog-facts span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--smoke);
  color: var(--sage);
  font-size: 0.86rem;
  font-weight: 800;
}

.dialog-content ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.dialog-content li {
  margin-bottom: 9px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.76);
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

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

.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.page-hero {
  position: relative;
  min-height: 64vh;
  padding: 150px 7vw 70px;
  overflow: hidden;
  color: var(--white);
}

.page-hero-image,
.page-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-image {
  object-fit: cover;
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 0.68)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.compact-hero {
  min-height: 48vh;
}

.page-hero h1,
.page-section h2,
.showcase-copy h2,
.band-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.06;
}

.page-hero h1 {
  font-size: 4.3rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.page-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.page-stat-row span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.page-stat-row strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.page-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.page-section h2 {
  font-size: 2.8rem;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.split-showcase.reverse {
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
}

.split-showcase.reverse .showcase-copy {
  order: 2;
}

.split-showcase img {
  width: 100%;
  min-height: 430px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.showcase-copy {
  display: grid;
  align-content: center;
  padding: 34px 0;
}

.showcase-copy p,
.band-copy p,
.editorial-layout p,
.shopping-panel li,
.timeline-panel li {
  color: var(--muted);
}

.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-facts span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--smoke);
  color: var(--sage);
  font-weight: 800;
}

.expanded-grid .recipe-body {
  min-height: 214px;
}

.dark-band {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: center;
  padding: 86px 7vw;
  background: var(--ink);
  color: var(--white);
}

.dark-band .page-section,
.dark-band h2 {
  color: var(--white);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.method-grid article {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.method-grid span,
.collection-detail-card span,
.note-feature span {
  color: var(--gold);
  font-weight: 900;
}

.method-grid h3,
.collection-detail-card h3,
.day-card h3,
.note-feature h2,
.pantry-grid h3 {
  margin: 16px 0 10px;
  line-height: 1.18;
}

.method-grid p {
  margin: 0;
}

.collection-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.collection-detail-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.08);
}

.collection-detail-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.collection-detail-card div {
  align-self: center;
  padding: 26px;
}

.collection-detail-card p,
.day-card p,
.note-feature p,
.pantry-grid p,
.occasion-table span {
  color: var(--muted);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.occasion-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.occasion-table article {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.occasion-table article:last-child {
  border-bottom: 0;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
}

.menu-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.day-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.day-card:nth-child(2),
.day-card:nth-child(5) {
  background: #f5f7fb;
}

.day-card:nth-child(3) {
  background: #f6f4ed;
}

.day-card:nth-child(4) {
  background: #f4f8f5;
}

.day-card span {
  color: var(--sage);
  font-weight: 900;
}

.menu-planning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.shopping-panel,
.timeline-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.shopping-panel ul,
.timeline-panel ol {
  margin: 24px 0 0;
  padding-left: 20px;
}

.shopping-panel li,
.timeline-panel li {
  margin-bottom: 12px;
}

.notes-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.note-feature {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.note-feature h2 {
  font-size: 1.75rem;
}

.flavor-framework {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: 82px 7vw;
  width: 100%;
  background: #eef3f1;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.framework-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
}

.framework-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.framework-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.pantry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pantry-grid .section-head {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.pantry-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.policy-layout article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.06);
}

.policy-layout h2 {
  font-size: 2rem;
}

.policy-layout p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(18, 18, 18, 0.96);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .metric-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-tools,
  .newsletter {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .recipe-tools {
    flex-direction: column;
  }

  .inline-search {
    min-width: 0;
  }

  .recipe-grid,
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-grid,
  .menu-board,
  .feature-band,
  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .menu-board {
    display: grid;
  }

  .menu-board article {
    min-height: 210px;
  }

  .feature-copy {
    padding: 54px 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dialog-grid img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88vh;
    padding: 104px 20px 30px;
  }

  .hero-inner {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .search-row,
  .newsletter-form {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .search-row input,
  .newsletter-form input {
    width: 100%;
  }

  .hero-search {
    margin-top: 36px;
  }

  .metric-bar {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 66px 0;
  }

  .section-head h2,
  .feature-copy h2,
  .newsletter h2 {
    font-size: 2.15rem;
  }

  .recipe-grid,
  .collection-grid,
  .notes-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .collection-tile {
    min-height: 210px;
  }

  .newsletter {
    padding: 54px 20px;
  }

  .dialog-content {
    padding: 30px 20px;
  }
}

@media (max-width: 980px) {
  .page-hero {
    min-height: 62vh;
    padding: 124px 24px 58px;
  }

  .page-hero h1 {
    font-size: 3.2rem;
  }

  .page-section {
    width: min(100% - 40px, 1180px);
    padding: 68px 0;
  }

  .split-showcase,
  .split-showcase.reverse,
  .dark-band,
  .collection-detail-grid,
  .editorial-layout,
  .menu-planning,
  .flavor-framework,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .split-showcase.reverse .showcase-copy {
    order: 0;
  }

  .method-grid,
  .menu-detail-grid,
  .notes-feature-grid,
  .framework-grid,
  .pantry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dark-band,
  .flavor-framework {
    padding: 68px 24px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 68vh;
    padding: 112px 20px 46px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .page-stat-row {
    display: grid;
  }

  .page-section {
    width: min(100% - 28px, 1180px);
    padding: 58px 0;
  }

  .page-section h2,
  .showcase-copy h2,
  .band-copy h2 {
    font-size: 2.05rem;
  }

  .method-grid,
  .menu-detail-grid,
  .notes-feature-grid,
  .framework-grid,
  .pantry-grid,
  .collection-detail-grid,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .collection-detail-card,
  .occasion-table article {
    grid-template-columns: 1fr;
  }

  .collection-detail-card img {
    min-height: 220px;
  }

  .split-showcase img {
    min-height: 280px;
  }

  .dark-band,
  .flavor-framework {
    padding: 56px 20px;
  }

  .shopping-panel,
  .timeline-panel,
  .note-feature,
  .pantry-grid article {
    padding: 24px;
  }
}
