/*
 * קרן וולף | עיצוב
 * צבעי המותג לקוחים מהלוגו: ירוק מרווה #6f8f79, שמנת #f7f5ef ושחור #1f1f1f.
 * כל צבע ורדיוס מוגדרים פעם אחת כאן, בראש הקובץ.
 */
:root {
  --sage: #6f8f79;          /* הצבע מהלוגו */
  --sage-deep: #4a6b56;     /* כפתורים וטקסטים על לבן (ניגודיות AA) */
  --sage-ink: #2f4a3a;      /* כותרות על רקע בהיר, פוטר */
  --sage-100: #e5eee7;
  --sage-50: #f1f6f2;
  --cream: #f7f5ef;         /* הצבע מהלוגו */
  --ink: #1f1f1f;           /* הצבע מהלוגו */
  --muted: #5c625e;
  --line: #e3e8e4;
  --white: #fff;
  --butter: #f6dd8f;        /* הדגשות קטנות */
  --coral: #e2604d;         /* לב "שמרתי" בלבד */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31,31,31,.05), 0 14px 30px -14px rgba(47,74,58,.28);
  --font: "Rubik", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-hand: "Playpen Sans Hebrew", "Rubik", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; color: var(--sage-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html, body { overflow-x: clip; }
.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; transition: top .15s; }
.skip:focus { top: 12px; }
svg.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- top bar ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 44px; height: auto; }
.brand__text { display: grid; line-height: 1; justify-items: start; }
.brand__word { width: 70px; height: auto; margin-bottom: -2px; }
.brand__text small { font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .05em; }
.top__search { position: relative; flex: 1 1 260px; max-width: 460px; margin-inline: auto 0; }
.top__search svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--sage-deep); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.top__search input { width: 100%; height: 46px; border: 2px solid var(--line); border-radius: 999px; background: var(--sage-50); padding-inline: 46px 18px; transition: border-color .15s, background .15s; }
.top__search input:hover { border-color: var(--sage-100); }
.top__search input:focus { outline: none; border-color: var(--sage-deep); background: #fff; box-shadow: 0 0 0 4px rgba(111,143,121,.22); }
.nav { display: flex; gap: clamp(12px, 2vw, 26px); }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 4px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { border-color: var(--butter); }
.nav a[aria-current="page"] { border-color: var(--sage); }
.favlink { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sage-50); color: var(--sage-ink); flex: none; transition: background .15s, transform .15s; }
.favlink:hover { background: var(--sage-100); }
.favlink svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.favlink b { position: absolute; top: -3px; inset-inline-end: -3px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 99px; background: var(--coral); color: #fff; font-size: .75rem; line-height: 20px; text-align: center; }
.favlink.pop { animation: pop .4s; }
@keyframes pop { 40% { transform: scale(1.22); } }
@media (max-width: 900px) {
  .top__row { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding-block: 10px; }
  .brand { order: 1; margin-inline-end: auto; }
  .favlink { order: 2; }
  .top__search { order: 3; flex: 1 1 100%; max-width: none; margin: 0; }
  .nav { order: 4; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 2px; }
}

/* ---------- buttons, chips, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--sage-deep); background: #fff; color: var(--sage-deep); font-weight: 700; text-decoration: none; transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); background: var(--sage-50); }
.btn--solid { background: var(--sage-deep); color: #fff; box-shadow: 0 10px 20px -10px rgba(47,74,58,.7); }
.btn--solid:hover { background: var(--sage-ink); }
.btn--cream { background: var(--cream); border-color: var(--cream); color: var(--sage-ink); }
.btn--cream:hover { background: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(247,245,239,.7); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(247,245,239,.12); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn[aria-pressed="true"] { background: var(--sage-ink); border-color: var(--sage-ink); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.chip:hover { border-color: var(--sage); transform: translateY(-1px); }
.chip small { color: var(--muted); font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.eyebrow { font-family: var(--font-hand); font-weight: 700; font-size: 1.05rem; color: var(--sage-deep); }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; line-height: 1.6; background: var(--sage-100); color: var(--sage-ink); }
.tag--quick { background: #fbeab0; }
.tag--home { background: #f8d9cd; }
.tag--sweet { background: #f6d5df; }
.tag--italian { background: var(--sage-100); }
.tag--salad { background: #e2edb9; }
.tag--kitchen { background: #d3e8e3; }
.section { padding-block: clamp(44px, 7vw, 88px); }
.section--tint { background: var(--sage-50); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 34px); }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section__head p { color: var(--muted); margin-top: 6px; }
.more { font-weight: 700; color: var(--sage-deep); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--sage-50) 0%, #fff 100%); padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 60px); overflow: hidden; }
.hero__grid > * { min-width: 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-block: 8px 14px; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--butter) 62% 92%, transparent 92%); color: inherit; padding-inline: 4px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 32em; }
.bigsearch { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--sage-deep); border-radius: 999px; padding: 6px 6px 6px 8px; margin-top: 24px; box-shadow: var(--shadow); max-width: 600px; }
.bigsearch svg { width: 22px; height: 22px; margin-inline: 14px 0; fill: none; stroke: var(--sage-deep); stroke-width: 2; stroke-linecap: round; flex: none; }
.bigsearch input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; font-size: 1.05rem; }
.bigsearch input:focus { outline: none; }
.bigsearch:focus-within { box-shadow: 0 0 0 5px rgba(111,143,121,.28); }
.fridge { margin-top: 26px; }
.fridge__title { font-weight: 700; color: var(--sage-ink); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fridge__title small { font-weight: 400; color: var(--muted); }
.fridge__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fridge__chips .chip { min-height: 38px; padding: 0 14px; font-size: .95rem; }
.fridge__out { margin-top: 18px; }
.fridge__out .minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.mini { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.mini:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex: none; }
.mini b { display: block; font-weight: 600; line-height: 1.25; }
.mini small { color: var(--sage-deep); font-weight: 600; }
.fridge__empty { color: var(--muted); }
.hero__actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

.arches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 470px; margin-inline: auto; width: 100%; box-sizing: border-box; }
.arch { position: relative; display: block; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); background: var(--sage-100); transition: transform .3s; }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch:nth-child(2) { translate: 0 28px; }
.arch:nth-child(3) { translate: 0 -8px; }
.arch:nth-child(4) { translate: 0 20px; }
.arch:hover { transform: translateY(-6px) rotate(-1.2deg); }
.arch span { position: absolute; inset-inline: 10px; bottom: 10px; background: rgba(255,255,255,.94); border-radius: 12px; padding: 4px 10px; font-size: .82rem; font-weight: 600; line-height: 1.3; text-align: center; opacity: 0; transform: translateY(6px); transition: .2s; }
.arch:hover span, .arch:focus-visible span { opacity: 1; transform: none; }
.sticker { position: absolute; z-index: 3; inset-inline-start: -12px; top: 42%; width: 92px; aspect-ratio: 1; border-radius: 50%; background: var(--butter); color: var(--ink); display: grid; place-content: center; text-align: center; font-family: var(--font-hand); font-weight: 700; line-height: 1.05; transform: rotate(-10deg); box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.sticker b { font-size: 1.35rem; font-family: var(--font); font-weight: 800; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .arches { max-width: 380px; margin-top: 8px; } .sticker { inset-inline-start: 0; } }

/* ---------- category rail ---------- */
.rail { display: flex; gap: clamp(14px, 3vw, 34px); overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail__item { flex: none; width: 118px; text-align: center; text-decoration: none; scroll-snap-align: start; }
.rail__item img { width: 104px; height: 104px; margin-inline: auto; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--sage-100), var(--shadow); transition: transform .25s, box-shadow .25s; }
.rail__item:hover img { transform: scale(1.06) rotate(-3deg); box-shadow: 0 0 0 3px var(--sage), var(--shadow); }
.rail__item b { display: block; margin-top: 10px; font-weight: 600; line-height: 1.2; }
.rail__item small { color: var(--muted); }
@media (min-width: 900px) { .rail { justify-content: center; } }

/* ---------- recipe cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sage-100); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card__body .tag { align-self: flex-start; }
.card h3 { font-size: 1.22rem; line-height: 1.25; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__tag { font-size: .95rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 6px; display: flex; gap: 14px; font-size: .88rem; color: var(--sage-deep); font-weight: 600; }
.card__meta span { display: inline-flex; gap: 5px; align-items: center; }
.card__meta svg.i { width: 1.05em; height: 1.05em; }
.card__score { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; background: var(--butter); border-radius: 99px; padding: 2px 12px; font-size: .85rem; font-weight: 700; }
.fav { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); transition: transform .15s, background .15s; }
.fav:hover { transform: scale(1.1); }
.fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav[aria-pressed="true"] { color: var(--coral); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav.pop svg { animation: pop .4s; }

/* ---------- about strip / masterchef ---------- */
.about { background: var(--sage); color: var(--cream); }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 80px); align-items: center; }
.about h2 { color: var(--cream); font-size: clamp(2rem, 4.4vw, 3.4rem); }
.about p { color: #eef3ee; font-size: 1.1rem; }
.about p + p { margin-top: 1em; }
.about__logo { width: min(240px, 60%); margin-bottom: 18px; opacity: .95; }
.about .btn { margin-top: 24px; }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; } }

.mc { background: var(--cream); }
.mc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.mc__img { border-radius: 26px 26px 26px 999px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.mc__img img { width: 100%; height: 100%; object-fit: cover; }
.mc h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-block: 6px 12px; }
.mc p + p { margin-top: .8em; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fact { background: #fff; border-radius: 14px; padding: 8px 16px; border: 1px solid var(--line); }
.fact small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.fact b { font-weight: 700; }
.mc__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 800px) { .mc__grid { grid-template-columns: 1fr; } }

/* ---------- newsletter ---------- */
.news { background: var(--sage-100); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 40px; align-items: center; }
.news h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.news p.lead { color: var(--muted); margin-top: 6px; }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.field { flex: 1 1 220px; min-width: 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: 12px 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 4px rgba(111,143,121,.22); }
.news .field input { border-radius: 999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-top: 12px; color: var(--muted); }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--sage-deep); flex: none; }
.form-note { font-size: .9rem; color: var(--sage-ink); margin-top: 8px; min-height: 1.4em; }
@media (max-width: 800px) { .news { grid-template-columns: 1fr; } }

/* ---------- list page ---------- */
.page-head { padding-block: clamp(28px, 5vw, 56px) 8px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 36em; }
.toolbar { display: grid; gap: 14px; margin-block: 22px 8px; }
.toolbar .bigsearch { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips + .chips { margin-top: 2px; }
.count { color: var(--muted); font-weight: 500; margin-block: 14px 20px; min-height: 1.6em; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; background: var(--sage-50); border: 2px dashed var(--sage-100); border-radius: var(--radius); }
.empty h2 { font-size: 1.6rem; margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }

/* ---------- recipe page ---------- */
.crumbs { padding-top: 20px; font-size: .92rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; margin-inline: 6px; opacity: .6; }
.rhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 60px); align-items: center; padding-block: 22px clamp(28px, 5vw, 56px); }
.rhero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin-block: 12px; }
.rhero__lead { font-size: 1.2rem; color: var(--muted); max-width: 28em; }
.rhero__by { margin-top: 10px; font-family: var(--font-hand); font-weight: 700; color: var(--sage-deep); }
.rhero__img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); background: var(--sage-100); max-width: 520px; width: 100%; margin-inline: auto; }
.rhero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--sage-50); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: .95rem; color: var(--sage-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.actions .fav-btn[aria-pressed="true"] { color: var(--coral); border-color: var(--coral); }
.actions .fav-btn[aria-pressed="true"] svg { fill: currentColor; }
@media (max-width: 820px) { .rhero { grid-template-columns: 1fr; } .rhero__img { order: -1; max-width: none; aspect-ratio: 16 / 10; } }

.rbody { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; padding-bottom: clamp(40px, 7vw, 88px); }
.ings { position: sticky; top: 96px; background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: var(--radius); padding: 24px 22px 22px; }
.ings h2, .steps-head h2 { font-size: 1.7rem; }
.ings ul { list-style: none; padding: 0; margin: 14px 0 0; }
.ings li.h { font-family: var(--font-hand); font-weight: 700; color: var(--sage-deep); padding-top: 12px; }
.ings li:not(.h) { border-bottom: 1px dashed rgba(74,107,86,.28); }
.ings li:last-child { border: 0; }
.ing { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; line-height: 1.45; cursor: pointer; }
.ing input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--sage-deep); cursor: pointer; }
.ing input:checked + span { text-decoration: line-through; opacity: .5; }
.ings__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 8px; }
.progress { flex: 1 1 200px; max-width: 320px; }
.progress small { color: var(--muted); font-weight: 500; }
.progress .bar { height: 8px; background: var(--sage-100); border-radius: 99px; overflow: hidden; margin-top: 4px; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--sage); border-radius: 99px; transition: width .3s; }
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step__n { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--sage); background: #fff; color: var(--sage-deep); font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; transition: background .2s, color .2s, transform .15s; }
.step__n:hover { transform: scale(1.06); background: var(--sage-50); }
.step__n svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step__n .ck { display: none; }
.step.done .step__n { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.step.done .step__n .num { display: none; }
.step.done .step__n .ck { display: block; }
.step__txt { font-size: 1.15rem; line-height: 1.7; padding-top: 6px; }
.step.done .step__txt { opacity: .5; }
.timer-btn { margin-top: 10px; }
.outro { margin-top: 28px; padding: 20px 24px; background: var(--butter); border-radius: var(--radius); font-family: var(--font-hand); font-weight: 500; font-size: 1.1rem; line-height: 1.6; }
.outro a { color: var(--sage-ink); }
@media (max-width: 820px) { .rbody { grid-template-columns: 1fr; } .ings { position: static; } }

.related { background: var(--sage-50); }

/* ---------- prose ---------- */
.prose { max-width: 44rem; padding-bottom: clamp(48px, 8vw, 96px); }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose p { margin-top: 1em; }
.prose .btn { margin-top: 1.6em; }
.prose .lead { font-size: 1.25rem; font-weight: 500; color: var(--sage-ink); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-bottom: clamp(48px, 8vw, 96px); }
.contact-card { background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-content: start; }
.contact-card a.big { font-weight: 700; font-size: 1.15rem; word-break: break-all; }
.contact-card small { color: var(--muted); display: block; }
.contact-card .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--sage-ink); color: var(--cream); padding-block: 44px 20px; }
.foot a { text-decoration: none; color: inherit; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot__brand img { width: 96px; height: auto; }
.foot__brand p { margin-top: 12px; color: #c9d8cd; }
.foot__col { display: grid; gap: 6px; align-content: start; }
.foot__col b { font-family: var(--font-hand); color: var(--butter); margin-bottom: 2px; }
.foot__col a[dir="ltr"] { text-align: right; unicode-bidi: isolate; }
.foot__legal { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(247,245,239,.18); font-size: .9rem; color: #c9d8cd; }
.foot__legal span { margin-inline-end: auto; }
@media (max-width: 700px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- toast & timers ---------- */
.toast { position: fixed; inset-inline: 0; bottom: 84px; margin-inline: auto; width: max-content; max-width: 90vw; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s, transform .2s; z-index: 300; }
.toast.on { opacity: 1; transform: none; }
.timers { position: fixed; z-index: 140; inset-inline: 0; bottom: max(14px, env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding-inline: 14px; pointer-events: none; }
.tm { pointer-events: auto; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 10px 8px 18px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }
.tm b { font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; min-width: 3.4ch; direction: ltr; }
.tm span { font-size: .9rem; opacity: .85; max-width: 16ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm button { border: 0; background: rgba(255,255,255,.16); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.tm button:hover { background: rgba(255,255,255,.3); }
.tm.ring { background: var(--sage-deep); animation: ring .6s infinite alternate; }
@keyframes ring { to { transform: scale(1.05); } }
.cook-open .timers { z-index: 260; }

/* ---------- cooking mode ---------- */
.cook { position: fixed; inset: 0; z-index: 250; background: var(--sage-ink); color: var(--cream); display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: clamp(16px, 3vw, 32px); padding-bottom: max(clamp(16px, 3vw, 32px), 84px); }
.cook__top { display: flex; align-items: center; gap: 10px; }
.cook__title { font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin-inline-end: auto; }
.cook .btn { border-color: rgba(247,245,239,.6); background: transparent; color: var(--cream); }
.cook .btn:hover { background: rgba(247,245,239,.12); }
.cook .btn--cream { background: var(--butter); border-color: var(--butter); color: var(--ink); }
.cook .btn--cream:hover { background: #ffe9a6; }
.cook__bar { height: 8px; border-radius: 99px; background: rgba(247,245,239,.16); overflow: hidden; }
.cook__bar i { display: block; height: 100%; background: var(--butter); border-radius: 99px; transition: width .3s; }
.cook__stage { display: grid; align-content: center; justify-items: start; gap: 18px; overflow-y: auto; max-width: 56rem; width: 100%; margin-inline: auto; }
.cook__n { font-family: var(--font-hand); font-weight: 700; color: var(--butter); font-size: 1.25rem; }
.cook__text { font-size: clamp(1.7rem, 4.6vw, 3rem); line-height: 1.35; font-weight: 700; }
.cook__nav { display: flex; gap: 14px; justify-content: space-between; max-width: 56rem; width: 100%; margin-inline: auto; }
.cook__nav .btn { min-width: 140px; min-height: 60px; font-size: 1.15rem; }
.cook__nav .btn:disabled { opacity: .35; cursor: default; }
.cook__ings { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(420px, 100%); background: #263c30; padding: 24px; overflow-y: auto; box-shadow: 0 0 40px rgba(0,0,0,.5); z-index: 2; }
.cook__ings[hidden] { display: none; }
.cook__ings h2 { color: var(--cream); font-size: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cook__ings ul { list-style: none; padding: 0; margin: 14px 0 0; }
.cook__ings li { padding: 9px 0; border-bottom: 1px solid rgba(247,245,239,.16); }
.cook__ings li.h { font-family: var(--font-hand); font-weight: 700; color: var(--butter); border: 0; padding-top: 14px; }

/* ---------- surprise overlay ---------- */
.dice { position: fixed; inset: 0; z-index: 280; background: rgba(31,31,31,.6); display: grid; place-items: center; padding: 20px; }
.dice__card { background: #fff; border-radius: 28px; padding: 14px 14px 20px; text-align: center; width: min(320px, 100%); box-shadow: var(--shadow); }
.dice__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.dice__card b { display: block; margin-top: 14px; font-size: 1.3rem; font-weight: 800; color: var(--sage-ink); min-height: 1.6em; }
.dice__card p { color: var(--muted); font-family: var(--font-hand); }

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .card:hover, .btn:hover, .arch:hover { transform: none; }
}
@media print {
  @page { margin: 16mm; }
  body { font-size: 12pt; }
  .top, .foot, .actions, .related, .cook, .toast, .timers, .crumbs, .skip, .ings__tools, .outro, .timer-btn, .progress, .step__n { display: none !important; }
  .rhero { grid-template-columns: 1fr 190px; padding: 0 0 14px; }
  .rhero__img { border-radius: 10px; aspect-ratio: 1; box-shadow: none; order: 2; }
  .rbody { grid-template-columns: 210px 1fr; gap: 22px; padding: 0; }
  .step { grid-template-columns: 1fr; break-inside: avoid; padding: 8px 0; }
  .ings { position: static; }
}

/* ---------- masterchef cards, gallery, article, portrait ---------- */
.mc__head { max-width: 46rem; }
.mc__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-block: 6px 12px; }
.mc__quote { margin: 18px 0 0; padding-inline-start: 18px; border-inline-start: 4px solid var(--sage); font-family: var(--font-hand); font-weight: 500; font-size: 1.15rem; color: var(--sage-ink); }
.mc__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 26px; max-width: 760px; }
.mc__card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.mc__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mc__card img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; flex: none; }
.mc__card b { display: block; line-height: 1.3; font-weight: 700; }
.mc__card small { color: var(--sage-deep); font-weight: 600; }
.mc__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }

.article { max-width: 46rem; margin-inline: auto; padding-bottom: clamp(40px, 7vw, 80px); }
.article__head { padding-block: 20px 18px; }
.article__head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-block: 12px 10px; }
.article__cover img, .article__body img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.article__body { display: grid; gap: 18px; margin-top: 22px; }
.article__body p { font-size: 1.12rem; line-height: 1.8; }

.about-head { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px 48px; align-items: center; }
.about-head > div { min-width: 0; }
.portrait { border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
@media (max-width: 700px) { .about-head { grid-template-columns: 1fr; } .portrait { width: 200px; order: -1; } }
