:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --surface: #fffefa;
  --ink: #30352f;
  --muted: #73776f;
  --green: #71836b;
  --green-dark: #4f654e;
  --line: #e7e4dc;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b77935; outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3; padding: .7rem 1rem; background: white; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,254,250,.88); }
.header-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e7ecdf; color: var(--green-dark); font-family: var(--serif); }
.brand small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { color: #62675f; text-decoration: none; font-size: .94rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--green-dark); }
main { min-height: calc(100vh - 160px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(48px, 7vw, 88px) 0 76px; }
.hero-copy { min-width: 0; }
.hero-visual { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1.15; border: 1px solid rgba(255,255,255,.72); border-radius: 26px; background: #efe7d8; box-shadow: 0 24px 60px rgba(75, 65, 46, .13); }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; flex-direction: column; gap: 2px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,254,250,.9); box-shadow: 0 8px 24px rgba(45,42,35,.1); }
.hero-visual figcaption span { color: var(--green-dark); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual figcaption strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.eyebrow { margin: 0 0 12px; color: var(--green-dark); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2.5rem, 6.5vw, 5rem); }
h2 { margin: 0 0 22px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { margin: 0 0 8px; font-size: 1.45rem; }
.lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 28px; padding: 0 22px; border-radius: 999px; background: var(--green-dark); color: white; font-weight: 650; text-decoration: none; }
.button:hover { background: #40553f; }
.section { padding: 0 0 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; }
.text-link { color: var(--green-dark); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.recipe-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.recipe-card a { display: block; height: 100%; text-decoration: none; }
.recipe-card a:hover h3 { color: var(--green-dark); }
.recipe-image { overflow: hidden; aspect-ratio: 3 / 2; background: #eee8dc; }
.recipe-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.recipe-card a:hover .recipe-image img { transform: scale(1.035); }
.card-body { padding: 20px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .88rem; }
.card-body p { margin: 10px 0 0; color: var(--muted); }
.page-top { padding: 64px 0 34px; }
.page-top h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-top .lead { font-size: 1.08rem; }
.recipe-detail { max-width: 760px; padding-bottom: 80px; }
.recipe-detail .recipe-image { margin: 10px 0 32px; border-radius: 20px; aspect-ratio: 16 / 9; }
.recipe-detail h2 { margin-top: 38px; font-size: 2rem; }
.recipe-detail li { padding: 5px 0 5px 8px; }
.ingredient-list, .steps { padding-left: 1.35rem; }
.note { margin-top: 26px; padding: 18px 20px; border-left: 3px solid var(--green); background: #edf0e7; color: #51594e; }
.about-card { max-width: 720px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.site-footer { border-top: 1px solid var(--line); background: #f1efe9; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; padding: 24px 0; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }
@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 540px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px 0; }
  nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .hero-visual { aspect-ratio: 1.25; }
  .recipe-grid { grid-template-columns: 1fr; }
  .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; }
}
