:root {
  color-scheme: light;
  --paper: #fbf5e9;
  --ink: #262d22;
  --muted: #575749;
  --green: #344733;
  --red: #a52f20;
  --rule: #dcd0ba;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #596b37; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 10px; left: 10px; padding: .5em 1em; color: white; background: var(--green); transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 77px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 7px; font: bold clamp(1.08rem, 3vw, 1.43rem)/1.1 var(--serif); text-decoration: none; }
.brand img { flex: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px clamp(12px, 3vw, 31px); }
nav a, .footer a { padding: 8px 0; font-size: .875rem; font-weight: 650; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(26px, 5vw, 75px); padding: clamp(34px, 7vw, 86px) 0 clamp(40px, 7vw, 76px); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.eyebrow > span { width: 7px; height: 7px; background: var(--red); border-radius: 50%; flex: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); }
h1 { font-weight: 500; font-size: clamp(3rem, 6.35vw, 6.1rem); line-height: .99; letter-spacing: -.055em; }
h1 em { color: var(--red); font-weight: inherit; }
.summary { max-width: 36ch; margin: 22px 0; font-size: clamp(1rem, 1.55vw, 1.15rem); color: var(--muted); }
.primary, .print { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 9px 17px; border: 1px solid transparent; border-radius: 3px; font-weight: 700; text-decoration: none; }
.primary { background: var(--red); color: #fff8ec; }
.primary:hover { background: #812417; }
.hero-image { margin: 0; }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; border-radius: 48% 48% 4px 4px / 23% 23% 4px 4px; background: #e6cbb2; }
figcaption { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.recipe { scroll-margin-top: 16px; padding: clamp(20px, 5vw, 48px); border: 1px solid var(--rule); border-top: 4px solid var(--red); background: #fffaf1; }
.recipe-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; }
.print { color: var(--green); border-color: #8b957a; background: transparent; cursor: pointer; }
.print[hidden] { display: none; }
.print:hover { background: #edf0e5; }
.stats { display: flex; flex-wrap: wrap; gap: 13px 30px; margin: 24px 0 30px; padding: 12px 0; border-block: 1px solid var(--rule); }
.stats div { display: flex; gap: 8px; align-items: baseline; }
.stats dt { color: var(--muted); font-size: .8rem; }
.stats dd { margin: 0; font-weight: 700; }
.recipe-grid { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); gap: clamp(24px, 5vw, 58px); }
h3 { font-size: 1.55rem; line-height: 1.2; }
.small { color: var(--muted); margin: 4px 0 10px; font-size: .85rem; }
.ingredient-list, .method ol { list-style: none; padding: 0; margin: 0; }
.ingredient-list li + li { border-top: 1px solid #ebe1ce; }
.ingredient-list label { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 8px 0; cursor: pointer; }
.ingredient-list input { flex: none; margin: 0; width: 17px; height: 17px; accent-color: var(--green); transform: translateY(3px); }
.ingredient-list input:checked + span { text-decoration: line-through; color: var(--muted); }
.method ol { margin-top: 12px; counter-reset: step; }
.method li { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 16px; counter-increment: step; }
.method li::before { content: counter(step); flex: 0 0 26px; height: 26px; color: var(--green); background: #e9eddf; border-radius: 50%; text-align: center; font-size: .8rem; font-weight: 750; line-height: 26px; }
.tip { display: flex; align-items: flex-start; gap: 14px; padding: 20px clamp(16px, 4vw, 33px); margin: 18px 0 45px; background: #f1e8d5; }
.tip img { flex: none; }
.tip h2 { font-size: 1.35rem; font-weight: 700; }
.tip p { margin: 4px 0 0; }
.build { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px 52px; padding: clamp(24px, 5vw, 44px); background: #e8ebde; scroll-margin-top: 16px; }
.build > div > p:last-of-type { margin: 12px 0 0; max-width: 43ch; }
.build-steps { margin: 0; padding-left: 23px; }
.build-steps li { padding: 0 0 8px 4px; }
.build-steps li::marker { color: var(--red); font-weight: 700; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; }
.footer span { font: bold 1rem var(--serif); }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { min-height: 64px; }
  .hero, .recipe-grid, .build { grid-template-columns: 1fr; }
  .hero { gap: 26px; }
  .hero-image img { aspect-ratio: 1.35; }
  .recipe-grid { gap: 22px; }
}
@media (max-width: 375px) {
  .masthead { gap: 8px; }
  nav { gap: 9px; }
  nav a { font-size: .76rem; }
  .brand img { width: 29px; height: 29px; }
}
@media print {
  :root { color: black; background: white; font-size: 10pt; }
  body { background: white; }
  .masthead, .hero, .print, .tip, .build, .domain-note, .footer, .skip, .ingredients .small { display: none; }
  .wrap { width: 100%; }
  .recipe { padding: 0; border: 0; background: white; }
  .recipe-grid { grid-template-columns: 1fr 1.4fr; gap: 22px; }
  .ingredient-list label { min-height: 0; padding: 4px 0; }
  .method li, .ingredient-list li { break-inside: avoid; }
}

.starter { margin-top: 17px; }
.build-reference { grid-column: 1 / -1; margin: -8px 0 0; font-size: .88rem; }
.domain-note { padding: 28px clamp(24px, 5vw, 44px); margin-top: 18px; border: 1px solid var(--rule); }
.domain-note h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.domain-note p:not(.eyebrow) { max-width: 68ch; }
.domain-note p:last-child { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 0; font-size: .88rem; font-weight: 650; }
@media print { .domain-note p:last-child { display: none; } }
