:root {
  --bg: #fff3df;
  --surface: #fffaf0;
  --text: #2b2217;
  --accent: #5b6b1f;
  --accent2: #d4572a;
  --muted: #685a44;
  --line: #dbc9a8;
  --heading: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --body: 'Avenir Next', 'Trebuchet MS', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.75; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
::selection { background: #e5d49e; color: var(--text); }
a { color: var(--accent); text-underline-offset: .23em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { color: #8c351b; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 400; line-height: 1.16; margin: 0 0 .65em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 2rem + 3.1vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.5rem + 1.7vw, 3.3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.55rem, 1.3rem + .8vw, 2.25rem); }
h4, h5, h6 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }
li { padding-left: .15em; }
li::marker { color: var(--accent); }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
blockquote { margin: 2rem 0; padding: .5rem 1.5rem; border-left: 3px solid var(--accent2); font-family: var(--heading); font-style: italic; }
code, pre { font-size: .9em; background: #f1e6cf; overflow-wrap: anywhere; }
pre { padding: 1rem; white-space: pre-wrap; }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { padding: .7rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
figcaption, small { font-size: .85em; color: var(--muted); }
.wrap { width: min( calc(100% - 3rem), 1240px); margin-inline: auto; }
.skip-link { position: absolute; top: .6rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-top: 5px solid var(--accent); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; }
.brand { color: var(--text); font-family: var(--heading); font-size: clamp(1.4rem, 1.1rem + .7vw, 1.9rem); letter-spacing: -.035em; text-decoration: none; line-height: 1.2; }
.brand::before { content: ''; display: inline-block; width: .6rem; height: 1rem; margin-right: .65rem; border-radius: 100% 0 100% 0; background: var(--accent); transform: rotate(-20deg); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .5rem; font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--text); }
.site-nav a:hover, .page-home .site-nav a[href='index.html'] { color: var(--accent); text-decoration: underline; }
.hero { padding-block: clamp(2.8rem, 5vw, 5.5rem); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text { min-width: 0; padding-block: 1rem; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.6rem; }
.hero h1 { max-width: 11ch; }
.lead { font-family: var(--heading); font-style: italic; font-size: clamp(1.2rem, 1.06rem + .5vw, 1.55rem); line-height: 1.65; color: #59472f; }
.hero .lead { max-width: 44ch; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: 1.5rem; padding: .8rem 1.4rem; border: 1px solid var(--accent); border-radius: 4px; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn::after { content: '\2192'; }
.btn-primary:hover { background: #435015; color: var(--surface); transform: translateY(-2px); }
.hero-media { position: relative; padding: 10px; border: 1px solid #a3a06f; border-radius: 49% 49% 5% 5%; transform: rotate(2deg); background: var(--surface); box-shadow: 10px 16px 0 #ecdfc2; }
.hero-media img { width: 100%; height: clamp(340px, 37vw, 520px); border-radius: 49% 49% 4% 4%; object-position: 48% center; }
.section { padding-block: clamp(2.75rem, 5vw, 5rem); }
.section-title { max-width: 24ch; }
.section-intro { max-width: 64ch; color: var(--muted); margin-bottom: 2rem; }
#guides { border-top: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: guide; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 2.3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: 3px 3px 22px 3px; box-shadow: 0 5px 0 #eaddc3; counter-increment: guide; transition: transform .2s, box-shadow .2s; }
.card::before { content: 'Kitchen guide / ' counter(guide, decimal-leading-zero); display: block; margin-bottom: 1.8rem; color: var(--accent); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.card:first-child { grid-row: span 2; background: var(--accent); color: var(--surface); border-color: var(--accent); border-radius: 6px 6px 70px 6px; }
.card:first-child::before { color: var(--surface); }
.card:first-child .card-title { font-size: clamp(2.5rem, 2rem + 1.4vw, 3.65rem); margin-block: auto .65em; }
.card:first-child .card-text { color: var(--surface); }
.card:first-child .card-link { color: var(--surface); margin-top: 2rem; }
.card:first-child a:focus-visible { outline-color: var(--surface); }
.card:nth-child(3) { background: #f3e1c8; border-top: 4px solid var(--accent2); }
.card:nth-child(4) { background: #edeccf; }
.card-title { font-size: clamp(1.6rem, 1.25rem + 1vw, 2.2rem); }
.card-text { font-size: .95rem; line-height: 1.7; color: #594c39; }
.card-link { margin-top: auto; padding-top: .8rem; font-size: .8rem; font-weight: 700; }
.card-link::after { content: '\2197'; display: inline-block; margin-left: .6rem; }
.section-feature { padding-block: clamp(2.5rem, 4vw, 4rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: 2rem; }
.split-text { max-width: 49ch; min-width: 0; }
.split-text .section-title::before { content: ''; display: block; width: 3rem; height: 3px; background: var(--accent2); margin-bottom: 1.5rem; }
.split-media { width: min(100%, 440px); justify-self: center; padding: 12px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 9px #f1e6d0, 0 15px 25px #59472f12; }
.split-media img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.section-feature + .section-feature .split-text { order: 2; }
.section-feature + .section-feature .split-media { order: 1; }
.fact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: fact; }
.fact { counter-increment: fact; padding: 1.2rem 0 0; border-top: 2px solid var(--accent2); font-size: .95rem; }
.fact::before { content: counter(fact, decimal-leading-zero); display: block; font-family: var(--heading); font-size: 2rem; font-style: italic; color: var(--accent); margin-bottom: .5rem; }
.section-partners { background: #f4e8d2; border-top: 1px solid var(--line); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; list-style: none; margin: 0; padding: 0; }
.partner { min-width: 0; padding: 1.3rem 1.5rem; background: #fff8eb; border-radius: 10px; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .8rem; line-height: 1.5; }
.partner-phrase { font-family: var(--heading); font-size: 1.35rem; line-height: 1.3; margin: .65rem 0 .5rem; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { color: var(--muted); font-size: .85rem; line-height: 1.7; margin: 0; }
.article { padding-block: clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem); }
.article > .wrap { max-width: 790px; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a { margin-right: .4rem; }
.breadcrumb span { margin-left: .4rem; }
.page-header { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 2.5rem; }
.page-header h1 { font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4.5rem); }
.page-header .lead { margin-bottom: 0; }
.prose { font-size: clamp(1.05rem, 1rem + .2vw, 1.18rem); line-height: 1.9; overflow-wrap: anywhere; }
.prose h2 { position: relative; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.35rem); margin-top: 2.2em; padding-left: 1.15rem; }
.prose h2::before { content: ''; position: absolute; left: 0; top: .38em; width: .5rem; height: .85rem; border-radius: 100% 0 100% 0; background: var(--accent); }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .6rem; }
.note { margin-block: 2.5rem 0; padding: clamp(1.2rem, 3vw, 2rem); border-left: 4px solid var(--accent2); border-radius: 0 14px 14px 0; background: var(--surface); box-shadow: 0 5px 0 #ecdfc7; font-family: var(--heading); font-size: 1.2rem; font-style: italic; line-height: 1.8; }
.note p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.footer-note { max-width: 52ch; margin: 0; font-size: .8rem; color: var(--muted); }
.footer-nav { flex-shrink: 0; font-size: .8rem; }
.footer-nav a { display: inline-block; padding-block: .5rem; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 #eaddc3; }
}
@media (min-width: 1450px) {
  .hero { padding-block: 5.5rem 6rem; }
}
@media (max-width: 1000px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .hero-inner { gap: 2rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:first-child { grid-row: auto; grid-column: span 2; }
  .card:first-child .card-title { max-width: 18ch; margin-top: 0; }
  .card:first-child .card-text { max-width: 52ch; }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner { padding-block: 1rem; }
  .site-nav ul { gap: .2rem 1rem; }
  .site-nav a { font-size: .8rem; }
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
  .hero-media { width: min(88%, 390px); margin: .5rem auto 1rem; }
  .hero-media img { height: 350px; }
  .hero-text { padding: 0; }
  .section-intro { font-size: .95rem; }
  .card-grid, .partner-list { grid-template-columns: minmax(0, 1fr); }
  .card:first-child { grid-column: auto; }
  .card { padding: 1.5rem; }
  .card::before { margin-bottom: 1rem; }
  .card:first-child .card-title { font-size: 2.65rem; }
  .card-link { margin-top: .5rem; }
  .split { padding-block: 0; gap: 2rem; }
  .split-media { width: min(85%, 350px); }
  .section-feature + .section-feature .split-text, .section-feature + .section-feature .split-media { order: initial; }
  .fact-list { gap: 1rem 1.25rem; }
  .fact { font-size: .85rem; }
  .partner { padding: 1.25rem; }
  .page-header h1 { letter-spacing: -.035em; }
  .footer-nav { flex-shrink: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap, .article > .wrap { width: 100%; max-width: none; }
  .article { padding: 0; }
  .card, .note, .partner { box-shadow: none; break-inside: avoid; }
  a { color: inherit; }
}
.page-sub main { background: var(--bg); }
