:root {
  --paper: #faf4e8;
  --cream: #f0e6d5;
  --ink: #24372b;
  --green: #365140;
  --red: #943f2a;
  --line: #bbae98;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
html { scroll-behavior: smooth; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3,.brand,.recipe-title { font-family: var(--serif); font-weight: 400; line-height: .96; }
a { color: inherit; text-underline-offset: .26em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.wrap { width: min(100% - 6rem, 78rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 1rem; left: 1rem; transform: translateY(-200%); background: var(--green); color: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }
header { border-bottom: 1px solid var(--line); }
.masthead,.footer-row { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: clamp(1.7rem, 2.7vw, 2.5rem); text-decoration: none; }
.nav-link { font-weight: 700; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.25rem,6vw,5.75rem); }
.eyebrow { font-size: .85rem; font-weight: 700; color: var(--red); letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(4.5rem,8vw,8.7rem); margin-block: .65rem 1.25rem; letter-spacing: -.04em; }
h1 em { display: block; color: var(--red); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 28rem; font-size: 1.12rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; color: white; background: var(--green); padding: .6rem 1rem; margin-top: 1.35rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); }
.hero-art { aspect-ratio: 1.42; padding: .5rem; border: 1px solid var(--line); background: var(--cream); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collection { background: var(--cream); padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.section-head { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: .75rem 2rem; }
h2 { font-size: clamp(3rem,6vw,5.5rem); letter-spacing: -.03em; }
.section-head p { max-width: 32rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.45rem 0; }
.filters button { padding: .42rem .8rem; min-height: 2.65rem; background: transparent; border: 1px solid var(--line); color: var(--ink); font: 600 .96rem var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.recipe-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary:hover .recipe-title { color: var(--red); }
.recipe-name { display: grid; gap: .35rem; }
.recipe-title { font-size: clamp(2.1rem,4.4vw,4rem); }
.recipe-meta { display: flex; gap: .8rem; align-items: center; white-space: nowrap; }
.toggle { display: grid; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 50%; place-items: center; font-size: 1.3rem; line-height: 1; }
.toggle::before { content: "+"; }
details[open] .toggle::before { content: "−"; }
.recipe-body { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1rem 2rem; background: var(--paper); padding: clamp(1rem,3vw,2rem); margin-bottom: 1rem; }
.recipe-body h3 { font-size: 2.2rem; }
.recipe-body ul,.recipe-body ol { margin: .65rem 0 0; padding-left: 1.25rem; }
.recipe-body li + li { margin-top: .4rem; }
footer { color: white; background: var(--green); }
.footer-row { min-height: 4.4rem; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 3rem); }
  .hero { gap: 1.4rem; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .hero,.section-head,.recipe-body { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 1.35; }
  h1 { font-size: clamp(4rem,14vw,6rem); }
  .recipe-meta { font-size: .9rem; gap: .35rem; }
  .recipe-name .description { line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.masthead nav { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; justify-content: end; }
.about { padding-block: clamp(2.7rem, 6vw, 5.5rem); }
.about-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: center; max-width: 65rem; }
.about-layout h2 { margin-top: .35rem; }
.about-copy > p:not(.eyebrow) { max-width: 34rem; margin-top: 1rem; font-size: 1.1rem; }
.about-portrait { width: min(100%, 24rem); background: var(--cream); padding: .45rem; border: 1px solid var(--line); }
.about-portrait img { display: block; width: 100%; height: auto; }
@media (max-width: 620px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { width: min(100%, 21rem); }
  .masthead nav { gap: .3rem .65rem; }
  .nav-link { font-size: .9rem; }
}
