@font-face{font-family:Geist;src:url("assets/geist.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:DMSerif;src:url("assets/dm-serif-text.ttf") format("truetype");font-weight:400;font-display:swap}
:root{--pine:#f1f2e9;--green:#adff36;--soft:#21251d;--muted:#bec2b6;--hair:#43483e;--canvas:#0b0c0a;--panel:#191c17;--ink:#101409;color-scheme:dark;font-family:Geist,Arial,sans-serif;color:var(--pine);background:var(--canvas)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body,h1,h2,h3,p,figure,ol{margin:0}a{color:inherit;text-decoration:none}a,button,select{touch-action:manipulation}button,select{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:4px}.skip{position:fixed;left:1rem;top:-80px;background:var(--panel);padding:1rem;z-index:4}.skip:focus{top:0}.page{width:min(1280px,90%);margin-inline:auto}
.top,.foot{display:flex;justify-content:space-between;align-items:center}.top{height:79px}.logo{display:flex;align-items:center;gap:9px;font:400 1.95rem DMSerif,Georgia,serif;letter-spacing:-.065em}.wave{display:inline-flex;align-items:center;gap:3px}.wave b{display:block;width:4px;height:13px;background:var(--green);border-radius:3px}.wave b:nth-child(2){height:23px}.wave b:nth-child(3){height:31px}.wave b:nth-child(4){height:19px}.wave b:last-child{height:9px}nav{display:flex;align-items:center;gap:26px;font-size:.89rem;font-weight:530}nav a{padding:12px 0}nav a:hover,.foot a:hover{text-decoration:underline}.source{color:var(--muted)}
.hero { display:grid; grid-template-columns:minmax(0,1.23fr) minmax(0,1fr); align-items:center; gap:clamp(2rem,5.4vw,6rem); padding-block:clamp(1.1rem,2.4vw,2.5rem); border-top:1px solid var(--hair); }
.hero-copy { min-width:0; }.hero-copy h1 { font:550 clamp(3.8rem,6.3vw,6rem)/.98 Geist,sans-serif; color:var(--green); letter-spacing:-.048em; margin:0 0 .25em; }
h2,h3 {font-family:DMSerif,Georgia,serif;font-weight:400;text-wrap:balance}
.intro,.section-head>p {font-size:clamp(1rem,1.26vw,1.2rem);line-height:1.55;max-width:38ch;color:var(--muted)}
.hero-actions {display:flex;flex-wrap:wrap;gap:.35rem 1.2rem;align-items:center;margin-top:1.35rem;}
.hero-actions>a:not(.primary) {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;}
.primary{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;border-radius:30px;background:var(--green);color:var(--ink);font-size:.92rem;font-weight:550;padding:12px 21px}.primary:hover{background:#c3ff73}.dish {margin:0;min-width:0}.dish>img {display:block;width:100%;height:clamp(22rem,32vw,30rem);object-fit:cover;object-position:center 55%;}
.dish figcaption {display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.6rem 0;color:var(--muted);font-size:.86rem;}
.dish figcaption a {font:400 clamp(1.1rem,1.6vw,1.5rem) DMSerif,Georgia,serif;color:var(--pine);text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:3px;}
.dish figcaption span {white-space:nowrap;font-variant-numeric:tabular-nums;}
.recipes small,.dialog-top small {display:block;color:var(--muted);font-size:.82rem;font-weight:520}
.pantry{padding-block:clamp(2.5rem,4.5vw,4.7rem)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}h2{font-size:clamp(2.5rem,4.1vw,4.7rem);letter-spacing:-.055em;line-height:1.02;margin-top:.18em}.section-head>p{font-size:.98rem;max-width:37ch}.choices{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1.3rem}.choices button,.save{border-radius:20px;border:1px solid var(--hair);background:var(--panel);color:var(--pine);min-height:40px;padding:7px 17px;font-size:.89rem;font-weight:540}.choices button::before{content:"+";margin-right:6px}.choices button[aria-pressed=true]{color:var(--ink);background:var(--green);border-color:var(--green)}.choices button[aria-pressed=true]::before{content:"✓"}#matches{font-size:.82rem;color:var(--muted);margin:1rem 0 .65rem}.recipes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.95rem,2vw,2.1rem)}.recipes article{display:flex;flex-direction:column}.recipes [hidden]{display:none}.recipes img{width:100%;aspect-ratio:1.82;object-fit:cover;border-radius:13px}.recipes article>div{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:.85rem 0}.recipes h3{font-size:clamp(1.4rem,2vw,2rem);letter-spacing:-.04em;line-height:1.15;margin:.25rem 0 .6rem}.match{color:var(--green);font-size:.83rem;margin-bottom:.5rem}.match:empty{display:none}.save{margin-top:auto;background:var(--soft);border:0}.save:hover{background:#30372a}
.foot{font-size:.86rem;padding-block:1.6rem}dialog{width:min(400px,calc(100% - 2rem));padding:1.5rem;color:var(--pine);background:var(--panel);border:1px solid var(--hair);border-radius:8px;box-shadow:0 18px 80px #101f1826}dialog::backdrop{background:#000b}dialog form,dialog label{display:grid;gap:1rem}dialog label{gap:5px}dialog select{padding:10px;border-radius:6px;border:1px solid var(--hair);color:var(--pine);background:var(--panel)}dialog h3{font-size:2rem;line-height:1.1}.dialog-top{display:flex;align-items:center;justify-content:space-between}.close{color:var(--pine);font-size:1.4rem;background:var(--soft);border:none;border-radius:50%;width:40px;height:40px}#saved{margin-top:1rem;background:var(--soft);border-radius:8px;padding:1rem}
::selection {background:var(--green);color:var(--ink)}
.primary {border-radius:5px}.recipes img {border-radius:4px}.save {min-height:44px}
@media(max-width:850px) {
  .hero {gap:1.5rem}.hero-copy h1 {font-size:clamp(3rem,6vw,4.5rem)}.dish>img {height:20rem}
}
@media(max-width:650px) {
  .top {height:auto;min-height:64px}.logo {font-size:1.55rem;gap:5px}.logo .wave {gap:2px}.logo .wave b {width:3px}
  nav {gap:12px;font-size:.8rem}.source {display:none}
  .hero {grid-template-columns:1fr;gap:1rem;padding:1.4rem 0}.hero-copy {grid-row:1}
  .hero-copy h1 {font-size:clamp(3.4rem,11vw,5rem)}.hero-copy h1 br {display:none}
  .intro {font-size:1rem}.hero-actions {margin-top:.8rem}
  .dish>img {height:clamp(15rem,58vw,20rem)}.dish figcaption {gap:6px;flex-wrap:wrap}
  .section-head {display:block}.section-head>p {margin-top:.7rem}
  .recipes {grid-template-columns:1fr;gap:1.2rem}.choices {gap:5px}.choices button {padding:6px 12px;min-height:44px}
  .recipes img {aspect-ratio:2.05}.foot {font-size:.78rem}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto}}

.studio-credit { margin-inline-start: auto; }
.studio-credit a { text-decoration: underline; text-underline-offset: .2em; }
.studio-credit a { display: inline-flex; align-items: center; min-height: 44px; }
