:root{color-scheme:dark;--mx-background:#111a1c;--mx-surface:#202b2d;--mx-surface-high:#2a3638;--mx-text:#f2f5f5;--mx-muted:#b8c9c7;--mx-action:#00c4ba;--mx-link:#ffc43a;--mx-line:#415153}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mx-background);color:var(--mx-text);font:17px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:var(--mx-link);text-underline-offset:.18em}
a:hover{color:#ffdb82}
a:focus-visible{outline:3px solid var(--mx-link);outline-offset:4px;border-radius:2px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1rem max(1.25rem,calc((100vw - 1120px)/2));background:var(--mx-background);border-bottom:1px solid var(--mx-line)}
.site-header .brand,.site-footer .brand{color:var(--mx-text);font-size:1.6rem;font-weight:750;letter-spacing:-.05em;text-decoration:none}
.site-header nav,.site-footer nav{display:flex;flex-wrap:wrap;gap:1.4rem}
.site-header nav a,.site-footer nav a{font-size:.9rem;text-decoration:none}
main{max-width:1120px;margin:auto;padding:3.5rem 1.25rem 6rem}
h1,h2,h3{line-height:1.14;letter-spacing:-.035em}
h1{font-size:clamp(2.8rem,6vw,5rem);margin:.2rem 0 1rem}
h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:2rem 0 .8rem}
p{max-width:70ch}
.eyebrow{color:var(--mx-link);font-size:.78rem;font-weight:750;letter-spacing:.17em;text-transform:uppercase}
.lead{max-width:52rem;color:var(--mx-muted);font-size:1.2rem;line-height:1.65}
.recipe:after{content:"";display:block;clear:both}
.recipe .hero{width:min(100%,360px);max-height:520px;object-fit:cover;float:right;margin:0 0 2rem 2.5rem;border-radius:1.2rem;box-shadow:0 18px 45px #0006}
.recipe-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;max-width:44rem;margin:2.5rem 0}
.recipe-details section{padding:1.25rem 1.5rem;background:var(--mx-surface);border:1px solid var(--mx-line);border-radius:1.2rem}
.recipe-details h2{margin:.2rem 0 1rem}
.recipe-details ul,.recipe-details ol{padding-left:1.4rem}
.recipe-details li{margin:.55rem 0}
.recipe>section:not(.recipe-details section){max-width:62rem}
.recipe-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1.35rem;padding:0;margin:2.5rem 0}
.recipe-grid li{min-width:0}
.recipe-grid a{display:block;height:100%;overflow:hidden;border:1px solid var(--mx-line);border-radius:1rem;background:var(--mx-surface);color:var(--mx-text);text-decoration:none;transition:border-color .15s,transform .15s}
.recipe-grid a:hover{border-color:var(--mx-action);transform:translateY(-3px);color:var(--mx-text)}
.recipe-grid img{width:100%;height:230px;object-fit:cover;display:block}
.recipe-grid strong{display:block;padding:.65rem .85rem .8rem;font-size:.94rem;line-height:1.3}
.message{min-height:45vh}
.site-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.5rem;padding:2rem max(1.25rem,calc((100vw - 1120px)/2));border-top:1px solid var(--mx-line);background:#161f21}
@media(max-width:700px){main{padding-top:2.5rem}.site-header{align-items:flex-start;flex-wrap:wrap}.recipe .hero{float:none;margin:1rem 0;max-height:480px}.recipe-details{grid-template-columns:1fr;gap:1rem}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.9rem}.recipe-grid img{height:195px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.recipe-grid a{transition:none}}
