/* Krümelsalon – fictional cookie shop (Kreana showcase) */
@font-face { font-family: 'Fredoka'; src: url(assets/fonts/Fredoka.ttf) format('truetype'); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url(assets/fonts/urbanist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --wine: #78011D;
  --wine-2: #5c0016;
  --blush: #F4D8DD;
  --blush-2: #ecc4cc;
  --cream: #F1E6DB;
  --white: #fff;
  --ink: #24070E;
  --ink-2: #5a3a41;
  --f-display: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --f-body: 'Urbanist', system-ui, sans-serif;
  --r-s: 12px; --r-m: 20px; --r-l: 32px; --r-pill: 999px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink); font: 400 18px/1.55 var(--f-body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--wine); color: var(--white); padding: 10px 16px; border-radius: var(--r-pill); transition: top .2s; }
.skip:focus { top: 16px; }
.eyebrow { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.ill { position: absolute; right: 12px; bottom: 12px; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.82); color: var(--ink-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--r-pill); font-family: var(--f-display); font-weight: 500; font-size: 18px; text-decoration: none; border: 2px solid transparent; transition: transform .2s var(--spring), background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: scale(.97); }
.btn-wine { background: var(--wine); color: var(--white); }
.btn-wine:hover { background: var(--wine-2); }
.btn-line { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-line:hover { background: var(--wine); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ============ NAV ============ */
.nav-wrap { position: fixed; inset: 16px var(--gutter) auto; z-index: 40; pointer-events: none; }
.nav { pointer-events: auto; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: var(--s5); background: var(--white); border-radius: var(--r-pill); padding: 10px 12px 10px 22px; box-shadow: 0 10px 30px rgba(120, 1, 29, .10); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wine); }
.brand img { width: 40px; height: 40px; }
.brand-word { font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.brand-word b { font-weight: 400; }
.nav-links { list-style: none; display: flex; gap: var(--s6); margin: 0 0 0 auto; padding: 0; }
.nav-links a { font-family: var(--f-display); font-size: 19px; color: var(--wine); text-decoration: none; padding: 10px 2px; background: linear-gradient(currentColor 0 0) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--out); }
.nav-links a:hover { background-size: 100% 2px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 10px 0 18px; border: 0; border-radius: var(--r-pill); background: var(--wine); color: var(--white); font-family: var(--f-display); font-size: 17px; font-weight: 500; }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cart-btn .count { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--blush); color: var(--wine); font-size: 15px; }
.cart-btn.bump { animation: bump .26s var(--spring); }
@keyframes bump { 50% { transform: scale(1.12) rotate(-3deg); } }

/* ============ HERO ============ */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; background: var(--blush); }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: var(--s5); padding: 120px var(--gutter) var(--s8); }
.hero-title { font-size: clamp(52px, 6.6vw, 104px); font-weight: 500; color: var(--ink); display: flex; flex-wrap: wrap; justify-content: center; column-gap: .24em; max-width: 9ch; }
.hero-word { display: inline-block; }
.hero-word--big { color: var(--wine); font-weight: 600; font-size: 1.28em; width: 100%; }
.hero-lead { max-width: 30ch; font-size: 19px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.hero-photo { position: relative; margin: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-cookie { position: absolute; left: 50%; bottom: -70px; width: clamp(150px, 17vw, 250px); translate: -50% 0; z-index: 3; filter: drop-shadow(0 18px 24px rgba(120, 1, 29, .25)); }

.js .hero-word, .js .hero-step { animation: hero-pop .55s var(--spring) both; animation-delay: calc(var(--d) * 55ms + 80ms); }
.js .hero-photo { animation: hero-wipe .75s var(--out) both; }
.js .hero-cookie img { animation: hero-roll .8s var(--spring) both; animation-delay: .25s; }
@keyframes hero-pop { from { opacity: 0; transform: translateY(40%) rotate(-6deg) scale(.9); } }
@keyframes hero-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-roll { from { opacity: 0; transform: translateX(-240%) rotate(-300deg); } }

/* ============ BITE (signature) ============ */
.bite { position: relative; background: var(--blush); }
.js .bite { height: 340vh; }
.bite-stage { position: relative; height: 100dvh; min-height: 520px; display: grid; place-items: center; overflow: hidden; }
.js .bite-stage { position: sticky; top: 0; }
.bite-svg { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -46%; width: min(150vmin, 1220px); height: auto; overflow: visible; }
.bite-cookie { transform-box: fill-box; transform-origin: 50% 50%; }
.bite-behind { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--s4); padding: 0 var(--gutter); }
.bite-behind h2 { font-size: clamp(64px, 11vw, 168px); color: var(--wine); font-weight: 600; }
.bite-behind p { font-size: clamp(18px, 2vw, 24px); color: var(--ink-2); max-width: 28ch; }
.bite-hint, .bite-count { position: absolute; z-index: 3; top: 112px; font-family: var(--f-display); font-size: 20px; color: var(--wine); transition: opacity .3s; }
.bite-hint { left: var(--gutter); }
.bite-hint span:last-child { font-weight: 600; }
.bite-count { right: var(--gutter); background: var(--white); border-radius: var(--r-pill); padding: 8px 18px; }
.bite-count b { font-weight: 600; font-size: 26px; display: inline-block; min-width: .7em; text-align: center; }
.bite-count span { color: var(--ink-2); }
.bite-count.pop b { animation: count-pop .35s var(--spring); }
@keyframes count-pop { 40% { transform: scale(1.5) rotate(-8deg); } }
.js .bite-behind > * { opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .4s, transform .5s var(--spring); }
.js .bite.done .bite-behind > * { opacity: 1; transform: none; }
.js .bite.done .bite-behind > :nth-child(2) { transition-delay: .08s; }
.js .bite.done .bite-behind > :nth-child(3) { transition-delay: .16s; }
.js .bite.done .bite-hint { opacity: 0; }
.crumb { transform-box: fill-box; }

/* ============ SHOP ============ */
.shop { padding: var(--s9) 0 var(--s9); background: var(--white); }
.shop-head { text-align: center; padding: 0 var(--gutter); display: grid; gap: var(--s3); justify-items: center; }
.shop-head h2 { font-size: clamp(48px, 6vw, 88px); color: var(--ink); }
.sub { color: var(--ink-2); max-width: 46ch; }
.tabs { position: relative; z-index: 2; display: flex; gap: 4px; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: var(--s7) auto var(--s8); padding: 6px; background: var(--blush); border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; box-shadow: 0 8px 24px rgba(120, 1, 29, .08); }
.tabs button { flex: none; min-height: 48px; padding: 0 clamp(16px, 3vw, 40px); border: 0; border-radius: var(--r-pill); background: transparent; color: var(--wine); font-family: var(--f-display); font-size: clamp(17px, 1.8vw, 22px); transition: background-color .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--wine); color: var(--white); }
.tabs button:hover:not([aria-selected="true"]) { background: var(--blush-2); }

/* big cookie slabs, alternating */
.prods { display: grid; gap: clamp(72px, 9vw, 120px); padding-top: var(--s5); }
.prod { --c: var(--blush); --t: var(--ink); position: relative; width: min(64%, 900px); min-height: 250px; display: grid; grid-template-columns: 1fr clamp(220px, 22vw, 320px); align-items: center; background: var(--c); color: var(--t); border-radius: var(--r-l) 0 0 var(--r-l); margin-left: auto; padding: var(--s6) 0 var(--s6) clamp(32px, 5vw, 72px); }
.prod:nth-child(even) { --c: var(--wine); --t: var(--white); margin-left: 0; margin-right: auto; grid-template-columns: clamp(220px, 22vw, 320px) 1fr; border-radius: 0 var(--r-l) var(--r-l) 0; padding: var(--s6) clamp(32px, 5vw, 72px) var(--s6) 0; }
.prod:nth-child(even) .prod-img { order: -1; }
.prod-body { display: grid; gap: var(--s3); max-width: 40ch; }
.prod h3 { font-size: clamp(30px, 3vw, 44px); }
.prod-desc { font-size: 17px; opacity: .86; }
.tag { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 4px 12px; border-radius: var(--r-pill); font-family: var(--f-display); font-size: 14px; font-weight: 500; letter-spacing: .04em; background: var(--white); color: var(--wine); }
.prod:nth-child(odd) .tag { background: var(--wine); color: var(--white); }
.prod-buy { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s2); }
.price { font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.add { min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid currentColor; background: transparent; font-family: var(--f-display); font-size: 17px; font-weight: 500; transition: background-color .2s, color .2s, transform .2s var(--spring); }
.prod:nth-child(odd) .add { color: var(--wine); }
.add:hover { transform: rotate(-2deg) scale(1.04); }
.prod:nth-child(odd) .add:hover { background: var(--wine); color: var(--white); }
.prod:nth-child(even) .add:hover { background: var(--white); color: var(--wine); }
.prod-img { position: relative; align-self: stretch; }
.prod-img img { position: absolute; top: 50%; left: 50%; width: 118%; max-width: none; translate: -50% -50%; filter: drop-shadow(0 22px 26px rgba(60, 0, 14, .28)); }
.prod:nth-child(odd) .prod-img img { left: 44%; }
.prod:nth-child(even) .prod-img img { left: 56%; }

/* minis / boxes / drinks */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); max-width: 1240px; margin: 0 auto; padding: var(--s8) var(--gutter) 0; }
.card { position: relative; display: grid; gap: var(--s3); align-content: start; padding: 0 var(--s5) var(--s5); background: var(--blush); border-radius: var(--r-l); }
.card:nth-child(2) { background: var(--wine); color: var(--white); }
.card-img { margin: -56px auto 0; width: 72%; filter: drop-shadow(0 16px 18px rgba(60, 0, 14, .24)); }
.card-img--photo { margin: var(--s5) 0 0; width: 100%; border-radius: var(--r-m); aspect-ratio: 4 / 3; object-fit: cover; filter: none; }
.card h3 { font-size: 30px; }
.card .prod-buy { margin-top: auto; }
.card:nth-child(odd) .add { color: var(--wine); }
.card:nth-child(odd) .add:hover { background: var(--wine); color: var(--white); }
.card:nth-child(2) .add:hover { background: var(--white); color: var(--wine); }
.drinks { list-style: none; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: var(--s3); }
.drink { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); background: var(--blush); border-radius: var(--r-pill); }
.drink h3 { font-size: 24px; }
.drink p { font-size: 15px; color: var(--ink-2); }
.drink .add { color: var(--wine); }
.drink .add:hover { background: var(--wine); color: var(--white); }
.drink .price { font-size: 22px; }

/* scroll-in */
.js .prod .prod-body, .js .prod { transition: transform .8s var(--out), opacity .6s; }
.js .prod:not(.in) { opacity: 0; transform: translateX(14%); }
.js .prod:nth-child(even):not(.in) { transform: translateX(-14%); }
.js .prod.in .prod-img img { animation: roll-r 1s var(--spring) both; }
.js .prod:nth-child(even).in .prod-img img { animation-name: roll-l; }
@keyframes roll-r { from { opacity: 0; transform: translateX(70%) rotate(160deg) scale(.7); } }
@keyframes roll-l { from { opacity: 0; transform: translateX(-70%) rotate(-160deg) scale(.7); } }
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .8s var(--out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card { animation: card-in .6s var(--spring) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) scale(.95); } }

/* ============ BACKSTUBE ============ */
.bake { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1320px; margin: 0 auto; padding: var(--s9) var(--gutter); }
.bake-photo { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; }
.bake-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.bake-text { display: grid; gap: var(--s5); }
.bake-text h2 { font-size: clamp(40px, 4.4vw, 64px); }
.steps { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s4); }
.steps li { display: grid; grid-template-columns: 124px 1fr; gap: var(--s5); align-items: baseline; padding: var(--s5); background: var(--blush); border-radius: var(--r-m); }
.steps li:nth-child(2) { transition-delay: .1s; }
.steps li:nth-child(3) { transition-delay: .2s; }
.steps b { font-family: var(--f-display); font-weight: 600; font-size: 28px; color: var(--wine); line-height: 1.1; }
.steps strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 21px; }
.steps span { color: var(--ink-2); }
.steps strong { color: var(--ink); }

/* ============ FEIERN ============ */
.party { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); padding: var(--s9) var(--gutter); background: var(--cream); }
.party-col { display: grid; justify-items: center; text-align: center; gap: var(--s4); max-width: 520px; margin: 0 auto; }
.party-col:nth-child(3) { transition-delay: .12s; }
.party h3 { font-size: clamp(34px, 3.4vw, 48px); }
.party p { color: var(--ink-2); }

/* ============ BESUCH ============ */
.visit { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: var(--s5); padding: var(--s9) var(--gutter); background: var(--blush); }
.visit > * { max-width: none; }
.visit-card, .hours { display: grid; align-content: start; gap: var(--s4); padding: var(--s6); background: var(--white); border-radius: var(--r-l); }
.visit-card h2 { font-size: clamp(44px, 4.4vw, 64px); }
.visit address { font-style: normal; font-family: var(--f-display); font-size: 24px; line-height: 1.25; }
.visit address a { text-decoration: none; color: var(--wine); }
.visit address a:hover { text-decoration: underline; }
.visit-mail a { color: var(--ink-2); }
.visit-card .btn { justify-self: start; margin-top: var(--s3); }
.hours { transition-delay: .1s; }
.hours h3 { font-size: 30px; }
.hours dl { margin: 0; display: grid; gap: var(--s2); }
.hours dl div { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 2px dotted var(--blush-2); }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-family: var(--f-display); font-weight: 500; color: var(--wine); white-space: nowrap; }
.hours-note { font-size: 16px; color: var(--ink-2); }
.visit-box { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; transition-delay: .2s; }
.visit-box img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FOOTER ============ */
.foot { background: var(--wine); color: var(--white); padding: var(--s8) var(--gutter) var(--s6); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); max-width: 1240px; margin: 0 auto; }
.brand--light { color: var(--white); align-self: start; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot ul a { text-decoration: none; display: inline-block; padding: 6px 0; }
.foot ul a:hover { text-decoration: underline; }
.foot-note { max-width: 1240px; margin: var(--s7) auto 0; padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.25); font-size: 15px; color: rgba(255,255,255,.82); }

/* ============ DRAWER ============ */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(36, 7, 14, .45); }
.drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--out); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s5); background: var(--blush); }
.drawer-head h2 { font-size: 32px; color: var(--wine); }
.x { width: 48px; height: 48px; border: 0; border-radius: var(--r-pill); background: var(--white); font-size: 28px; line-height: 1; color: var(--wine); }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s5); }
.view { display: grid; gap: var(--s4); }
.mode { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; background: var(--blush); border-radius: var(--r-pill); }
.mode button { min-height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; font-family: var(--f-display); font-size: 17px; color: var(--wine); }
.mode button[aria-checked="true"] { background: var(--wine); color: var(--white); }
.empty { color: var(--ink-2); text-align: center; padding: var(--s6) 0; font-family: var(--f-display); font-size: 20px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.line { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img name name" "img qty price"; gap: 4px var(--s3); align-items: center; padding: var(--s3); border-radius: var(--r-m); background: #fbf1f3; }
.line img { grid-area: img; width: 56px; height: 56px; object-fit: contain; }
.line-name { grid-area: name; font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.line-price { grid-area: price; font-family: var(--f-display); font-weight: 500; }
.qty { grid-area: qty; display: flex; align-items: center; gap: 10px; }
.qty button { width: 44px; height: 44px; border-radius: var(--r-pill); border: 2px solid var(--blush-2); background: var(--white); color: var(--wine); font-size: 20px; }
.sum { margin: var(--s3) 0 0; display: grid; gap: var(--s2); }
.sum div { display: flex; justify-content: space-between; }
.sum dd { margin: 0; }
.sum-total { font-family: var(--f-display); font-size: 22px; font-weight: 600; padding-top: var(--s2); border-top: 2px dotted var(--blush-2); }
.view label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
.view input { min-height: 48px; padding: 0 16px; border: 2px solid var(--blush-2); border-radius: var(--r-s); font: inherit; font-weight: 400; }
.view input:focus { border-color: var(--wine); outline: none; }
.back { justify-self: start; border: 0; background: none; color: var(--wine); padding: 8px 0; min-height: 44px; }
.slots-f { border: 0; margin: 0; padding: 0; }
.slots-f legend { font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-height: 44px; padding: 0 14px; border: 2px solid var(--blush-2); border-radius: var(--r-pill); background: var(--white); }
.slot[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--white); }
.err { color: #a3001f; font-weight: 600; min-height: 1.4em; }
.pay-total { display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 22px; }
.demo-note { font-size: 14px; color: var(--ink-2); text-align: center; }
.view-done { justify-items: center; text-align: center; padding-top: var(--s6); }
.view-done h3 { font-size: 34px; color: var(--wine); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; translate: -50% 0; padding: 12px 22px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-family: var(--f-display); font-size: 17px; opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .35s var(--spring); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.fly { position: fixed; z-index: 90; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d9a25e, #a0632a); pointer-events: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav-links { gap: var(--s5); }
  .visit { grid-template-columns: 1fr 1fr; }
  .visit-box { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .prod { width: min(82%, 900px); }
}
@media (max-width: 860px) {
  .nav { padding-left: 16px; }
  .nav-links { display: none; }
  .cart-btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding-top: 116px; padding-bottom: var(--s7); }
  .hero-photo { min-height: 62vh; }
  .hero-cookie { left: auto; right: 6%; bottom: auto; top: calc(100% - 62vh - 70px); translate: 0 0; width: 140px; }
  .prods { gap: 96px; padding-top: 70px; }
  .prod, .prod:nth-child(even) { width: calc(100% - 2 * var(--gutter)); margin: 0 auto; grid-template-columns: 1fr; border-radius: var(--r-l); padding: 150px var(--s5) var(--s5); }
  .prod-img, .prod:nth-child(even) .prod-img { position: absolute; inset: -80px 0 auto; height: 220px; order: 0; }
  .prod-img img, .prod:nth-child(odd) .prod-img img, .prod:nth-child(even) .prod-img img { left: 50%; width: 240px; }
  .js .prod:not(.in), .js .prod:nth-child(even):not(.in) { transform: translateY(40px); }
  .grid { grid-template-columns: 1fr; gap: 80px; padding-top: 90px; }
  .card-img { width: 56%; }
  .grid--box { gap: var(--s5); padding-top: var(--s5); }
  .bake { grid-template-columns: 1fr; padding-top: var(--s8); }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .party { grid-template-columns: 1fr; padding: var(--s8) var(--gutter); }
  .visit { grid-template-columns: 1fr; padding: var(--s8) var(--gutter); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top .brand { grid-column: 1 / -1; }
  .bite-hint, .bite-count { top: 96px; font-size: 17px; }
  .bite-hint { display: none; }
  .bite-count { right: auto; left: 50%; translate: -50% 0; }
}
@media (max-width: 420px) {
  .tabs button { padding: 0 13px; font-size: 16px; }
  .bite-svg { width: 150vw; }
  .cart-label { display: none; }
  .brand-word { font-size: 21px; }
  .hero-title { font-size: 50px; }
  .drink { grid-template-columns: 1fr auto; border-radius: var(--r-l); }
  .drink .add { grid-column: 1 / -1; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .bite { height: auto; }
  .js .bite-stage { position: relative; }
  .js .prod:not(.in), .js .reveal { opacity: 1; transform: none; }
  .js .bite-behind > * { opacity: 1; transform: none; }
}

/* ============ LEGAL ============ */
.legal-page { background: var(--blush); }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); max-width: 880px; margin: 0 auto; padding: var(--s5) var(--gutter); }
.legal { max-width: 880px; margin: 0 auto var(--s9); padding: 0 var(--gutter); }
.legal h1 { font-size: clamp(44px, 6vw, 72px); color: var(--wine); margin-bottom: var(--s5); }
.legal article { background: var(--white); border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); display: grid; gap: var(--s4); }
.legal h2 { font-size: 26px; margin-top: var(--s3); }
.legal .ph { background: #fff4c7; padding: 2px 8px; border-radius: 6px; }
