@font-face { font-family: "Bricolage"; src: url(/fonts/bricolagegrotesque.ttf) format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat.ttf) format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #FBF3E6; --card: #FFFDF8; --ink: #1E1A16; --muted: #6E655B; --line: #E7DAC5; --soft: #F1E6D4;
  --green: #2EC27E; --green-ink: #0B5E39; --mint: #D5F5E3; --tomato: #D8402F; --sun: #FFC94D;
  --gutter: 20px; --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17120F; --card: #221B16; --ink: #F6EDE0; --muted: #B4A898; --line: #3A3028; --soft: #2E261F;
    --green-ink: #7FE0B0; --mint: #123A27; --tomato: #FF7A66; color-scheme: dark;
  }
}
:root[data-theme="dark"] { --paper: #17120F; --card: #221B16; --ink: #F6EDE0; --muted: #B4A898; --line: #3A3028; --soft: #2E261F; --green-ink: #7FE0B0; --mint: #123A27; --tomato: #FF7A66; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage", "Inter", sans-serif; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(32px, 6.5vw, 58px); font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 650; }
p { margin: 0 0 1em; }
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 40px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-family: "Bricolage"; font-weight: 700; font-size: 22px; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; }
@media (max-width: 520px) { .top nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--green);
  color: #fff; font-weight: 650; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(19, 128, 79, .8); }
.btn.ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.kicker { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 8px; }
.lead { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); max-width: 62ch; }
.fine { font-size: 14px; color: var(--muted); }

.intro { padding: clamp(36px, 8vw, 90px) 0 30px; max-width: 860px; }
.strip { margin: 10px 0 30px; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px 20px; }
.grid a { display: block; text-decoration: none; }
.grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--soft); margin-bottom: 10px; }
.grid .k { display: block; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); }
.grid strong { display: block; font-family: "Bricolage"; font-size: 19px; line-height: 1.2; margin: 2px 0; }
.grid .m { font-size: 14px; color: var(--muted); }
.grid a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.features { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 40px; }
.features h2 { grid-column: 1 / -1; margin-bottom: 18px; }
.feat { padding: 18px 0; border-top: 1px solid var(--line); }
.feat p { color: var(--muted); margin: 0; }

.cats { padding: 30px 0; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chips a { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 550; text-decoration: none; }
.chips a.on { background: var(--mint); border-color: var(--green); color: var(--green-ink); }
.chips.big a { font-size: 16px; padding: 10px 16px; }

.faq { padding: 30px 0; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: "Bricolage"; font-size: 24px; line-height: 1; color: var(--green-ink); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.promo { margin: 40px 0 10px; padding: 28px; border-radius: 22px; background: var(--mint); }
.promo p { max-width: 60ch; }

.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 14px; }
.crumbs a { text-decoration: none; }
.list-head { padding-bottom: 14px; }

.recipe .hero { margin: 0 calc(var(--gutter) * -1); }
.recipe .hero img { width: 100%; aspect-ratio: 4 / 3; max-height: 70vh; object-fit: cover; }
.recipe figcaption { font-size: 12px; color: var(--muted); padding: 6px var(--gutter) 0; }
@media (min-width: 760px) { .recipe .hero { margin: 0; } .recipe .hero img { border-radius: 22px; } .recipe figcaption { padding: 6px 0 0; } }
.r-head { padding: 20px 0 10px; max-width: 820px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); margin: 20px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 10px 4px; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: "Bricolage"; font-weight: 700; font-size: 18px; }
@media (max-width: 480px) { .facts dt { font-size: 9px; letter-spacing: .02em; } .facts dd { font-size: 15px; } .facts div { padding: 8px 2px; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; } .grid strong { font-size: 16px; } .grid img { border-radius: 12px; } }
.r-body { display: grid; gap: 30px; padding-top: 20px; }
@media (min-width: 860px) { .r-body { grid-template-columns: 1fr 1.5fr; gap: 50px; } .ing { position: sticky; top: 80px; align-self: start; } }
.ing ul { list-style: none; margin: 0; padding: 0; }
.ing li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ing li span { font-weight: 650; font-variant-numeric: tabular-nums; }
.steps ol { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 50px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: "Bricolage"; font-weight: 700; }
.tip { font-size: 15px; color: var(--muted); border-left: 3px solid var(--sun); padding-left: 10px; }
.source { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 30px; }
.more { padding-top: 30px; }

.foot { border-top: 1px solid var(--line); background: var(--soft); margin-top: 40px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 30px var(--gutter) 40px; display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
