
:root{
  --blue:#103f90;--blue-dark:#08265d;--ink:#14213d;--cream:#fffaf0;--paper:#fffefb;
  --tomato:#ef593e;--sun:#f5c842;--mint:#bde9d1;--line:#dedbd3;--muted:#687080;
  --shadow:0 18px 50px rgba(25,35,60,.12);--serif:'Fraunces',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{color:inherit}
.topbar{height:72px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;background:var(--cream);position:relative;z-index:5}
.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-weight:800;font-size:1.12rem;letter-spacing:-.02em}
.brand-mark,.footer-mark{width:38px;height:38px;border-radius:12px;background:var(--sun);color:var(--blue-dark);display:grid;place-items:center;font-family:var(--serif);font-size:1.4rem;transform:rotate(-3deg)}
.saved-link{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-weight:700;cursor:pointer;padding:10px 0}
.saved-link svg{width:19px;fill:none;stroke:var(--tomato);stroke-width:2}
.saved-link[aria-pressed=true] svg{fill:var(--tomato)}
.saved-link span{min-width:24px;height:24px;padding:0 7px;border-radius:99px;background:var(--ink);color:white;display:grid;place-items:center;font-size:.75rem}
.hero{min-height:500px;height:min(67vh,650px);position:relative;overflow:hidden;background:var(--blue)}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,27,69,.88) 0%,rgba(8,40,89,.65) 37%,rgba(8,40,89,.03) 70%),linear-gradient(0deg,rgba(8,31,72,.22),transparent 45%)}
.hero-copy{position:relative;z-index:1;color:white;width:min(1160px,calc(100% - 40px));margin:auto;padding-top:clamp(70px,10vh,112px)}
.eyebrow,.kicker{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.76rem;margin:0 0 14px;color:var(--sun)}
h1{font-family:var(--serif);font-size:clamp(3.3rem,8vw,7.8rem);line-height:.85;letter-spacing:-.055em;margin:0;max-width:780px}
h1 em{font-weight:700;color:var(--sun)}
.intro{max-width:500px;font-size:clamp(1.05rem,2vw,1.28rem);margin:26px 0 0;color:rgba(255,255,255,.88)}
.finder{width:min(1160px,calc(100% - 40px));margin:-38px auto 0;position:relative;z-index:3;background:var(--paper);padding:18px;border-radius:24px;box-shadow:var(--shadow)}
.search-box{height:62px;border:1.5px solid #d7d9df;border-radius:16px;display:flex;align-items:center;gap:14px;padding:0 18px;background:white;transition:.2s}
.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(16,63,144,.1)}
.search-box svg{width:22px;fill:none;stroke:var(--blue);stroke-width:2;flex:none}
.search-box input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:1.05rem;color:var(--ink)}
.search-box input::placeholder{color:#8a8f99}
kbd{font:600 .75rem var(--sans);color:#7b8190;border:1px solid #dddfe5;border-bottom-width:2px;border-radius:6px;padding:4px 7px;background:#f8f8f8}
.chips{display:flex;gap:8px;overflow-x:auto;padding:14px 0 0;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{border:1px solid #d9d8d2;background:#fff;border-radius:999px;padding:9px 14px;white-space:nowrap;font-weight:700;font-size:.86rem;cursor:pointer;transition:.18s}
.chip:hover{border-color:var(--blue)}
.chip.active{background:var(--blue);color:white;border-color:var(--blue)}
.collection{width:min(1160px,calc(100% - 40px));margin:64px auto 100px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:26px}
.section-head .kicker{color:var(--tomato);margin-bottom:6px}
h2{font-family:var(--serif);font-size:clamp(2rem,4vw,3.2rem);line-height:1;margin:0;letter-spacing:-.04em}
.result-count{color:var(--muted);font-weight:700;margin:0 0 4px}
.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.recipe-card{background:var(--paper);border:1px solid rgba(20,33,61,.11);border-radius:22px;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s;border-bottom-width:3px;position:relative;min-width:0}
.recipe-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px rgba(20,33,61,.12)}
.card-art{height:156px;position:relative;display:grid;place-items:center;overflow:hidden;background:var(--card-bg)}
.card-art:before,.card-art:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.35)}
.card-art:before{width:180px;height:180px;top:-100px;right:-50px}
.card-art:after{width:90px;height:90px;bottom:-48px;left:-20px}
.food-emoji{font-size:4.5rem;filter:drop-shadow(0 10px 12px rgba(30,35,45,.14));transform:rotate(-4deg);transition:transform .2s}
.recipe-card:hover .food-emoji{transform:rotate(3deg) scale(1.08)}
.heart{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center;cursor:pointer;z-index:2;box-shadow:0 3px 12px rgba(20,33,61,.12)}
.heart svg{width:19px;fill:none;stroke:var(--tomato);stroke-width:2}
.heart.saved svg{fill:var(--tomato)}
.card-body{padding:18px 18px 20px}
.card-meta{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.78rem;font-weight:700;margin-bottom:8px;text-transform:uppercase;letter-spacing:.06em}
.dot{width:4px;height:4px;border-radius:50%;background:#b0b4bd}
.recipe-card h3{font-family:var(--serif);font-size:1.35rem;line-height:1.15;letter-spacing:-.025em;margin:0 0 7px}
.recipe-card p{color:var(--muted);font-size:.9rem;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.empty{text-align:center;padding:80px 20px}
.empty span{font-size:4rem}.empty h3{font:700 1.7rem var(--serif);margin:10px 0 5px}.empty p{color:var(--muted);margin:0 0 20px}.empty button{border:0;border-radius:12px;background:var(--blue);color:white;font-weight:700;padding:12px 18px;cursor:pointer}
dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:28px;background:var(--paper);color:var(--ink);box-shadow:0 30px 90px rgba(6,22,55,.35)}
dialog::backdrop{background:rgba(5,16,38,.68);backdrop-filter:blur(6px)}
.dialog-shell{position:relative;max-height:calc(100dvh - 24px);overflow:auto}
.dialog-close{position:sticky;float:right;top:14px;margin:14px 14px -58px 0;z-index:5;width:42px;height:42px;border-radius:50%;border:1px solid rgba(20,33,61,.1);background:rgba(255,255,255,.94);font-size:1.8rem;line-height:1;cursor:pointer;box-shadow:0 4px 15px rgba(20,33,61,.1)}
.dialog-hero{min-height:215px;padding:38px 34px 28px;background:var(--dialog-bg);position:relative;overflow:hidden;display:flex;align-items:end}
.dialog-hero:after{content:attr(data-emoji);position:absolute;right:40px;top:25px;font-size:7rem;filter:drop-shadow(0 12px 15px rgba(20,33,61,.15));transform:rotate(5deg)}
.dialog-hero-copy{position:relative;z-index:1;max-width:70%}
.dialog-tag{display:inline-block;padding:5px 9px;border-radius:99px;background:rgba(255,255,255,.78);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.dialog-hero h2{font-size:clamp(2rem,6vw,3.35rem)}
.hebrew-name{font-weight:700;margin:7px 0 0;color:rgba(20,33,61,.68)}
.dialog-body{padding:30px 34px 38px}
.summary{font-size:1.08rem;color:#4e5666;margin:0 0 22px;max-width:620px}
.facts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}
.fact{padding:9px 12px;border-radius:10px;background:#f2f1ed;font-weight:700;font-size:.86rem}
.recipe-columns{display:grid;grid-template-columns:.9fr 1.2fr;gap:38px}
.recipe-columns h3{font:700 1.35rem var(--serif);margin:0 0 14px}
.ingredients{list-style:none;margin:0;padding:0}
.ingredients li{padding:9px 0 9px 24px;border-bottom:1px solid #e8e5df;position:relative}
.ingredients li:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--tomato);position:absolute;left:2px;top:17px}
.steps{list-style:none;counter-reset:step;margin:0;padding:0}
.steps li{counter-increment:step;position:relative;padding:0 0 20px 42px}
.steps li:before{content:counter(step);position:absolute;left:0;top:-2px;width:28px;height:28px;border-radius:9px;background:var(--blue);color:white;display:grid;place-items:center;font-weight:800;font-size:.8rem}
.tip{margin-top:22px;padding:16px 18px;background:#fff2bd;border-radius:14px;font-size:.9rem}
.tip strong{display:block;margin-bottom:2px}
footer{background:var(--blue-dark);color:white;min-height:180px;padding:48px max(20px,calc((100vw - 1160px)/2));display:flex;align-items:center;gap:18px}
footer p{color:rgba(255,255,255,.72);margin:0;flex:1}footer a{color:var(--sun);font-weight:700;text-decoration:none}.footer-mark{flex:none}
@media(max-width:850px){.recipe-grid{grid-template-columns:repeat(2,1fr)}.recipe-columns{grid-template-columns:1fr}.hero-shade{background:linear-gradient(90deg,rgba(4,27,69,.88),rgba(8,40,89,.48) 70%,rgba(8,40,89,.1))}}
@media(max-width:560px){.topbar{height:64px;padding:0 16px}.brand-mark{width:34px;height:34px}.hero{height:500px}.hero img{object-position:60% center}.hero-shade{background:linear-gradient(0deg,rgba(4,27,69,.88),rgba(8,40,89,.25) 80%)}.hero-copy{width:calc(100% - 32px);padding-top:205px}h1{font-size:3.45rem}.intro{font-size:1rem;margin-top:18px}.finder{width:calc(100% - 24px);padding:12px;margin-top:-24px;border-radius:20px}.search-box{height:56px;padding:0 14px}kbd{display:none}.collection{width:calc(100% - 24px);margin-top:45px}.section-head{align-items:center}.recipe-grid{grid-template-columns:1fr;gap:14px}.recipe-card{display:grid;grid-template-columns:120px 1fr;border-radius:18px}.card-art{height:100%;min-height:144px}.food-emoji{font-size:3.8rem}.card-body{padding:16px}.recipe-card h3{font-size:1.22rem}.heart{width:34px;height:34px;top:9px;right:auto;left:9px}.dialog-hero{padding:70px 22px 24px;min-height:230px}.dialog-hero:after{font-size:5.5rem;right:22px;top:34px}.dialog-hero-copy{max-width:84%}.dialog-body{padding:25px 22px 30px}.recipe-columns{gap:28px}footer{align-items:flex-start;flex-wrap:wrap;padding:40px 22px}footer p{flex-basis:calc(100% - 58px)}footer a{margin-left:56px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.recipe-card h3 a{color:inherit;text-decoration:none}.recipe-card h3 a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.recipe-page{width:min(760px,calc(100% - 24px));margin:24px auto 64px;border-radius:28px;overflow:hidden;background:var(--paper)}.recipe-page h1{font-size:clamp(2rem,6vw,3.35rem);line-height:1;letter-spacing:-.04em}.recipe-page h2{font:700 1.35rem var(--serif);margin:0 0 14px}.recipe-nav{padding:18px 24px;display:flex;gap:20px;flex-wrap:wrap}.recipe-nav a{color:var(--blue);font-weight:700}.recipe-page .dialog-hero{min-height:215px}.recipe-page .dialog-hero-copy{max-width:70%}.heart[hidden]{display:none}
