:root {
  --ink: #181815;
  --paper: #f3f0e8;
  --soft: #e7e3d8;
  --white: #fffefa;
  --sage: #5c684f;
  --citrus: #d7ff44;
  --line: rgba(24, 24, 21, 0.14);
  --radius: 30px;
  --shadow: 0 28px 80px rgba(28, 27, 22, 0.14);
  --page: min(1380px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input { font: inherit; }
:where(a, button):focus-visible {
  outline: 3px solid #4f5c2a;
  outline-offset: 4px;
}

.site-nav {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 20;
  width: var(--page);
  margin: auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 20px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255, 254, 250, .76);
  box-shadow: 0 8px 30px rgba(31,30,24,.08);
  backdrop-filter: blur(20px) saturate(140%);
  transition: transform .35s ease, background .35s ease;
}
.brand { font-size: 19px; font-weight: 720; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-pill, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 650;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover, .nav-pill:hover { transform: translateY(-2px); }
.button.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button.ghost { background: transparent; color: var(--ink); border-color: rgba(24,24,21,.3); }
.button.acid { background: var(--citrus); color: var(--ink); border-color: var(--citrus); }
.menu-button { display: none; border: 0; background: none; font-size: 24px; cursor: pointer; }

.hero {
  min-height: 96svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #e8e1d4 url("hero.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,241,232,.98) 0%, rgba(245,241,232,.9) 31%, rgba(245,241,232,.16) 60%, rgba(0,0,0,.04) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  padding: 150px 0 84px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 680;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--citrus); box-shadow: 0 0 0 5px rgba(215,255,68,.24); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  max-width: 750px;
  margin-bottom: 24px;
  font-size: clamp(58px, 8.2vw, 126px);
  line-height: .89;
  letter-spacing: -.078em;
  font-weight: 720;
}
.hero-copy { max-width: 500px; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; letter-spacing: -.025em; color: rgba(24,24,21,.72); }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }

.section { width: var(--page); margin: 0 auto; padding: 120px 0; }
.statement { padding: 150px 0 110px; }
.statement h2 { max-width: 1050px; font-size: clamp(44px, 7vw, 94px); line-height: .98; letter-spacing: -.062em; font-weight: 690; }
.statement .quiet { color: #858278; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.section-heading p { max-width: 420px; margin: 0; color: #6f6c64; line-height: 1.55; }

.bento { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 360px 360px; gap: 18px; }
.story-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); }
.story-card.large { grid-row: 1 / span 2; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.story-card:hover img { transform: scale(1.035); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72)); }
.card-copy { position: absolute; inset: auto 0 0; padding: 34px; color: white; }
.card-copy .kicker { font-size: 12px; letter-spacing: .11em; text-transform: uppercase; opacity: .94; }
.card-copy h3 { margin: 8px 0 10px; font-size: clamp(27px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.card-copy p { margin: 0; opacity: .94; }
.arrow { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: 20px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 20px; }

.category-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.category-link { padding: 34px 18px 42px 0; border-bottom: 1px solid var(--line); }
.category-link + .category-link { padding-left: 24px; border-left: 1px solid var(--line); }
.category-number { display: block; margin-bottom: 50px; color: #5f5c55; font-size: 13px; }
.category-link h3 { margin-bottom: 8px; font-size: 25px; letter-spacing: -.035em; }
.category-link p { margin: 0; color: #66635c; line-height: 1.45; }

.dark-panel { width: var(--page); margin: 40px auto 110px; padding: 80px; border-radius: 36px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.dark-panel h2 { margin: 0; font-size: clamp(44px, 6vw, 86px); line-height: .96; letter-spacing: -.06em; }
.dark-panel p { color: rgba(255,255,255,.68); line-height: 1.55; }

footer { border-top: 1px solid var(--line); }
.footer-inner { width: var(--page); min-height: 210px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-word { font-size: clamp(34px, 5vw, 70px); font-weight: 720; letter-spacing: -.06em; }
.footer-meta { text-align: right; color: #66635c; font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; gap: 18px; margin-top: 18px; color: #6f6c64; font-size: 13px; }

.page-hero { width: var(--page); margin: 0 auto; padding: 170px 0 70px; }
.page-hero h1 { max-width: 1050px; margin-bottom: 20px; font-size: clamp(58px, 9vw, 118px); line-height: .9; letter-spacing: -.072em; }
.page-hero p { max-width: 600px; color: #6f6c64; font-size: 20px; line-height: 1.5; }
.page-hero.compact { padding-bottom: 30px; }
.breadcrumbs { width: var(--page); margin: 0 auto -130px; padding-top: 112px; position: relative; z-index: 2; display: flex; gap: 9px; color: #66635c; font-size: 12px; }
.recipe-hero + main { display: block; }
.filter-row { width: var(--page); margin: 0 auto 44px; display: flex; gap: 10px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); border-radius: 99px; background: transparent; padding: 11px 17px; cursor: pointer; }
.filter.active { background: var(--ink); color: white; }
.recipe-grid { width: var(--page); margin: 0 auto; padding-bottom: 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 18px; }
.recipe-card[hidden] { display: none; }
.recipe-card-media { aspect-ratio: 4/5; overflow: hidden; border-radius: 24px; background: #ddd7ca; }
.recipe-card img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.recipe-card:hover img { transform: scale(1.03); }
.recipe-card h2 { margin: 17px 0 7px; font-size: 24px; letter-spacing: -.035em; }
.recipe-meta { color: #66635c; font-size: 14px; }
.tag { display: inline-block; margin: 0 5px 7px 0; padding: 6px 9px; border-radius: 99px; background: rgba(255,255,255,.58); font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }

.recipe-hero { min-height: 92svh; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.recipe-photo { position: relative; min-height: 720px; margin: 0; overflow: hidden; background: #ddd; }
.recipe-photo img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; }
.recipe-photo figcaption { position: absolute; left: 18px; bottom: 16px; padding: 7px 10px; border-radius: 99px; background: rgba(24,24,21,.82); color: #fff; font-size: 10px; letter-spacing: .02em; backdrop-filter: blur(10px); }
.recipe-intro { padding: 160px 7vw 70px; display: flex; flex-direction: column; justify-content: center; }
.recipe-intro h1 { margin: 20px 0; font-size: clamp(54px, 6.5vw, 104px); line-height: .91; letter-spacing: -.07em; }
.recipe-intro > p { max-width: 560px; color: #6f6c64; font-size: 19px; line-height: 1.55; }
.byline { margin: 24px 0 0; font-size: 12px !important; }
.byline a { text-decoration: underline; text-underline-offset: 3px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.stat strong, .stat span { display: block; }
.stat strong { font-size: 21px; }
.stat span { margin-top: 4px; color: #66635c; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.recipe-body { width: min(1120px, calc(100vw - 48px)); margin: auto; padding: 110px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.recipe-body h2 { font-size: 38px; letter-spacing: -.045em; }
.ingredients { position: sticky; top: 110px; align-self: start; }
.ingredients ul { list-style: none; padding: 0; }
.ingredients li { padding: 13px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; }
.step-number { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; }
.step h3 { margin-bottom: 8px; font-size: 23px; letter-spacing: -.03em; }
.step p { color: #6f6c64; line-height: 1.55; }
.note { margin-top: 38px; padding: 24px; border-radius: 20px; background: #e7e3d8; color: #5d5a53; line-height: 1.5; }
.tested-note { width: min(1120px, calc(100vw - 48px)); margin: 72px auto -48px; padding: 18px 22px; border: 1px solid rgba(79,92,42,.28); border-radius: 16px; background: rgba(204,255,0,.08); color: #4f5c2a; font-size: 13px; line-height: 1.5; }
.answer-section { width: var(--page); margin: 0 auto; padding: 30px 0 120px; }
.collection-answers { padding-top: 0; }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fact-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.32); }
.fact-card h3 { font-size: 20px; letter-spacing: -.03em; }
.fact-card p { margin: 0; color: #6f6c64; line-height: 1.55; }
.cluster-intro { width: var(--page); margin: 0 auto 58px; padding: 28px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; }
.cluster-intro h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.cluster-intro p { max-width: 680px; margin: 0; color: #6f6c64; line-height: 1.6; }
.trust-strip { width: var(--page); margin: 30px auto 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.trust-strip div { padding: 30px 28px 32px 0; }
.trust-strip div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { margin-top: 8px; color: #66635c; font-size: 14px; line-height: 1.45; }
.prose { width: min(860px, calc(100vw - 48px)); margin: 0 auto; padding: 40px 0 130px; }
.prose section { padding: 38px 0; border-top: 1px solid var(--line); }
.prose h2 { margin-bottom: 14px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; }
.prose p { color: #5f5c55; font-size: 18px; line-height: 1.7; }
.prose p a { text-decoration: underline; text-underline-offset: 4px; }
.author-card { margin-top: 30px; padding: 38px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.author-card p { font-size: 16px; }
.author-card a { font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
  :root { --page: min(100% - 28px, 720px); --radius: 22px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 20px; flex-direction: column; align-items: stretch; border-radius: 24px; background: rgba(255,254,250,.96); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .menu-button { display: block; }
  .hero { min-height: 880px; background-position: 66% center; align-items: start; }
  .hero::after { background: linear-gradient(180deg, rgba(245,241,232,.96) 0%, rgba(245,241,232,.86) 43%, rgba(245,241,232,.1) 76%); }
  .hero-content { padding-top: 145px; }
  .hero h1 { font-size: clamp(58px, 17vw, 92px); max-width: 620px; }
  .hero-actions { flex-wrap: wrap; }
  .section { padding: 84px 0; }
  .statement { padding-top: 105px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .bento { display: block; }
  .story-card { min-height: 470px; margin-bottom: 14px; }
  .story-card.large { min-height: 600px; }
  .category-rail { grid-template-columns: 1fr 1fr; }
  .category-link + .category-link { padding-left: 16px; }
  .dark-panel { grid-template-columns: 1fr; padding: 52px 28px; gap: 32px; }
  .recipe-grid { grid-template-columns: 1fr 1fr; }
  .recipe-hero { grid-template-columns: 1fr; }
  .recipe-photo, .recipe-photo img { min-height: 68svh; }
  .recipe-intro { padding: 80px 24px; }
  .recipe-body { grid-template-columns: 1fr; gap: 50px; }
  .ingredients { position: static; }
  .answer-grid, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .cluster-intro { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 560px) {
  .site-nav { inset: 10px 0 auto; }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 125px; }
  .hero h1 { font-size: 58px; }
  .hero-copy { font-size: 17px; max-width: 330px; }
  .category-rail, .recipe-grid { grid-template-columns: 1fr; }
  .category-link + .category-link { padding-left: 0; border-left: 0; }
  .category-number { margin-bottom: 25px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 60px 0; }
  .footer-meta { text-align: left; }
  .footer-links { flex-wrap: wrap; }
  .page-hero { padding-top: 145px; }
  .breadcrumbs { padding-top: 98px; margin-bottom: -118px; overflow: hidden; white-space: nowrap; }
  .recipe-card-media { aspect-ratio: 1/1.12; }
  .recipe-intro h1 { font-size: 54px; }
  .stat-row { gap: 12px; }
  .stat strong { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
