/* =========================================================
   CHYLR: Frozen Desserts
   Brand palette (from brand board): Cream #F6F1E8 · Charcoal #0E0E0E
   Avocado #B7C38A · Biscoff #C68B52
   ========================================================= */

:root {
  --cream: #F6F1E8;
  --cream-2: #EDE4D2;
  --paper: #FFFCF6;
  --charcoal: #0E0E0E;
  --avocado: #B7C38A;
  --avocado-deep: #6C7F3A;
  --biscoff: #C68B52;
  --biscoff-deep: #8E5A2B;
  --ink-60: rgba(14, 14, 14, .62);

  --flavour-bg: var(--avocado);

  --f-display: "Sniglet", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --announce-h: 34px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 26px;
}

body[data-flavour="biscoff"] { --flavour-bg: var(--biscoff); }
body.announce-closed { --announce-h: 0px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.js body.is-loading, body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
::selection { background: var(--charcoal); color: var(--cream); }

/* ---------- shared UI ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px;
  background: var(--paper); color: var(--charcoal);
  border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(14,14,14,.12);
  transition: transform .3s var(--ease-out), background .3s;
}
.pill:hover { transform: translateY(-2px); }
.pill svg { width: 20px; height: 20px; }
.pill--icon { width: 44px; padding: 0; justify-content: center; }
.pill--order { background: var(--charcoal); color: var(--cream); padding: 0 8px 0 16px; }
.order-count {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 999px; background: var(--avocado); color: var(--charcoal);
  font-size: 13px; font-weight: 700;
  transition: transform .4s var(--ease-out);
}
.order-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45) rotate(-8deg); } }

.round-btn {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); color: var(--charcoal);
  box-shadow: inset 0 -3px 0 rgba(14,14,14,.14);
  transition: transform .35s var(--ease-out), background .3s, color .3s;
  text-decoration: none;
}
.round-btn:hover { transform: scale(1.08); }
.round-btn:active { transform: scale(.94); }
.round-btn svg { width: 22px; height: 22px; }
.round-btn--dark { background: var(--charcoal); color: var(--cream); box-shadow: none; }
.round-btn--big { width: 76px; height: 76px; }
.round-btn--big svg { width: 32px; height: 32px; }
.round-btn[disabled] { opacity: .3; pointer-events: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn svg { width: 22px; height: 22px; }
.btn--dark { background: var(--charcoal); color: var(--cream); }
.btn--dark b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 99px; background: var(--avocado); color: var(--charcoal); font-size: 13px; }
.btn--whatsapp { background: var(--biscoff); color: var(--charcoal); box-shadow: inset 0 -4px 0 rgba(14,14,14,.2); }
.btn--yellow { background: var(--avocado); color: var(--charcoal); box-shadow: inset 0 -4px 0 rgba(14,14,14,.18); }
.btn--block { width: 100%; }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--charcoal); color: var(--cream);
  transition: transform 1.1s var(--ease);
}
.loader__logo { position: relative; width: min(62vw, 520px); aspect-ratio: 984 / 252; }
.loader__logo svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--cream); }
.loader__ghost { opacity: .12; }
.loader__fill { clip-path: inset(calc(100% - var(--pct, 0%)) 0 0 0); transition: clip-path .25s linear; }
.loader__label { margin: 0; font-size: 13px; letter-spacing: .4em; text-transform: uppercase; opacity: .75; }
.loader__label b { font-weight: 600; }
.loader__drip { position: absolute; top: calc(100% - 1px); left: 0; width: 100%; height: 12vh; fill: var(--charcoal); }
.loader.is-done { transform: translateY(calc(-100% - 13vh)); }

/* ---------- announcement ---------- */
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--announce-h); overflow: hidden;
  background: var(--charcoal); color: var(--cream);
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  transition: height .4s var(--ease);
}
.announce__track { display: flex; width: max-content; height: 34px; align-items: center; animation: marquee 32s linear infinite; }
.announce__row { display: flex; align-items: center; }
.announce__row span { padding: 0 22px; white-space: nowrap; }
.announce__row i { width: 7px; height: 7px; border-radius: 50%; background: var(--avocado); }
.announce__row i:nth-of-type(even) { background: var(--biscoff); }
.announce__close {
  position: absolute; right: 0; top: 0; height: 34px; width: 44px;
  display: grid; place-items: center; background: var(--charcoal); color: var(--cream);
}
.announce__close svg { width: 16px; height: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: var(--announce-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 44px);
  pointer-events: none;
  transition: top .4s var(--ease), transform .5s var(--ease);
}
.nav > * { pointer-events: auto; }
.nav__logo { display: block; width: clamp(118px, 11vw, 168px); color: var(--charcoal); transition: color .4s; }
.nav__logo svg { width: 100%; height: auto; aspect-ratio: 984 / 252; fill: currentColor; }
.nav.on-dark .nav__logo { color: var(--cream); }
.nav__pills { display: flex; gap: 10px; align-items: center; }
.nav__mobile { display: none; gap: 8px; }
.nav.is-hidden { transform: translateY(calc(-100% - var(--announce-h))); }

.menu {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-content: center; text-align: center;
  background: var(--charcoal); color: var(--cream);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-family: var(--f-display); font-size: clamp(36px, 10.5vw, 90px); line-height: 1.05; text-decoration: none; text-transform: uppercase; }
.menu nav a:nth-child(odd) { color: var(--avocado); }
.menu nav a:nth-child(even) { color: var(--biscoff); }
.menu__close { position: absolute; top: 18px; right: 16px; }
.menu__y { position: absolute; bottom: -30px; left: 50%; width: 140px; transform: translateX(-50%) rotate(-8deg); fill: var(--cream); opacity: .08; }

/* ---------- STORY (hero + pinned scroll) ---------- */
.story { position: relative; height: 560vh; }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__bg { position: absolute; inset: 0; background: var(--flavour-bg); transition: background-color .9s var(--ease); }

.hero__words { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__word {
  grid-area: 1 / 1;
  font-family: var(--f-display); font-size: 18.5vw; line-height: 1; letter-spacing: -.02em;
  color: rgba(14,14,14,.07);
  white-space: nowrap;
  opacity: 0; transform: translateY(12%) scale(.94);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.hero__word.is-active { opacity: 1; transform: none; }

.hero__drips { position: absolute; top: 0; left: 0; width: 100%; height: clamp(50px, 9vh, 110px); fill: var(--cream); transform-origin: top; animation: drip 5s ease-in-out infinite; }
@keyframes drip { 50% { transform: scaleY(1.18); } }

.accents { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.accents.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease) .15s, visibility 0s; }
html:not(.js) .accents[data-flavour="avocado"], html:not(.js) .hero__word[data-flavour="avocado"] { opacity: 1; visibility: visible; transform: none; }
.accents.is-active .acc, .accents.is-active .blob { animation-play-state: running; }
.acc {
  --acc-scale: 1;
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * var(--acc-scale)); height: calc(var(--s) * var(--acc-scale));
  overflow: visible;
  transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) rotate(calc(var(--r) + var(--tr, 0deg))) scale(var(--ts, 1));
  animation: float 6s ease-in-out infinite paused;
  filter: drop-shadow(0 12px 14px rgba(14,14,14,.18));
}
.acc:nth-child(3n) { animation-duration: 7.5s; animation-delay: -2s; }
.acc:nth-child(3n+1) { animation-duration: 5.2s; animation-delay: -1s; }
.acc--ice { filter: drop-shadow(0 6px 10px rgba(14,14,14,.12)); }
.acc--spark { color: var(--paper); filter: none; }
.acc--drip { transform-origin: top; }
@keyframes float { 50% { translate: 0 -14px; rotate: 4deg; } }

.blob {
  position: absolute; overflow: hidden;
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  box-shadow: 0 30px 60px rgba(14,14,14,.18);
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--tr, 0deg)) scale(var(--ts, 1));
  animation: morph 12s ease-in-out infinite paused;
}
.blob img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.blob--l { left: -5vw; top: 16vh; width: min(31vw, 460px); aspect-ratio: 1; }
.blob--r { right: -4vw; top: 46vh; width: min(25vw, 380px); aspect-ratio: 1; animation-delay: -5s; }
@keyframes morph {
  33% { border-radius: 40% 60% 48% 52% / 58% 42% 58% 42%; }
  66% { border-radius: 55% 45% 38% 62% / 42% 60% 40% 58%; }
}

.story__cream { position: absolute; inset: 0; background: var(--cream); transform: translateY(var(--cream-y, 101%)); will-change: transform; }
.story__wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: 16vh; fill: var(--cream); }

.story__headline {
  position: absolute; left: 0; right: 0; top: 17vh; padding: 0 4vw;
  text-align: center; pointer-events: none;
}
.story__headline h2 {
  margin: 0;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 7.4vw, 124px); line-height: .98; letter-spacing: -.01em;
}
.story__headline .line { display: block; overflow: hidden; padding: .04em 0; }
.story__headline .line > span { display: inline-block; transform: translateY(var(--ly, 110%)); }
.story__sub { margin: 18px 0 0; font-size: clamp(15px, 1.35vw, 21px); opacity: var(--so, 0); transform: rotate(-2deg) translateY(calc((1 - var(--so, 0)) * 16px)); }

.story__cards { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.card {
  position: absolute; left: 50%; top: 50%;
  width: min(300px, 74vw);
  background: var(--paper); border-radius: 24px; overflow: hidden;
  text-align: center;
  box-shadow: 0 24px 50px rgba(14,14,14,.14), 0 0 0 2px rgba(14,14,14,.06);
  transform: translate(-50%, -50%) translate(var(--cx, 0px), var(--cy, 0px)) rotate(var(--cr, 0deg));
  opacity: var(--co, 0);
  will-change: transform, opacity;
}
.card__title {
  margin: 0; padding: 16px 18px; background: var(--c); color: var(--t, var(--charcoal));
  font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase;
}
.card p { margin: 18px 24px 8px; font-size: 16px; line-height: 1.45; }
.card__icon { width: 64px; height: 64px; margin: 8px auto 22px; color: var(--charcoal); }

.story__frost { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.frost {
  position: absolute; left: 0; top: 0;
  width: var(--sz); height: var(--sz);
  color: var(--charcoal);
  opacity: 0;
  transform: translate(-50%, -50%);
}
.frost--ring { border: 2px solid var(--charcoal); border-radius: 50%; }

.story__can {
  position: absolute; left: 50%; top: 50%;
  height: min(72vh, 660px); aspect-ratio: 200 / 470;
  transform: translate(-50%, -50%) translate(var(--can-x, 0px), var(--can-y, 0px)) rotate(var(--can-r, -6deg)) scale(var(--can-s, 1));
  will-change: transform;
}
.can-stage { position: relative; width: 100%; height: 100%; animation: bob 5s ease-in-out infinite; }
.can-stage::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -5%; height: 8%;
  background: radial-gradient(closest-side, rgba(14,14,14,.35), transparent);
  z-index: -1; opacity: var(--shadow-o, 1);
}
@keyframes bob { 50% { translate: 0 -12px; rotate: 1.5deg; } }
.can-slot {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(var(--off, 70%)) rotate(var(--rot, 16deg)) scale(.82);
  transition: opacity .55s var(--ease), transform .8s var(--ease);
}
.can-slot.is-active { opacity: 1; transform: none; }
.can-slot svg, .mini-can svg { width: 100%; height: 100%; overflow: visible; }
.can { position: relative; display: block; width: 100%; height: 100%; }
.can__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* ring-pull states, driven by --open (0 closed → 1 open) */
.can__hole { opacity: var(--open, 0); }
.can__tab-flat { opacity: calc(1 - var(--open, 0)); }
.can__tab-up { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--open, 0)) rotate(calc((1 - var(--open, 0)) * -20deg)); opacity: clamp(0, calc(var(--open, 0) * 4), 1); }

.hero__controls {
  position: absolute; left: 50%; bottom: max(4vh, 22px);
  display: flex; align-items: center; gap: clamp(14px, 5vw, 90px);
  transform: translateX(-50%) translateY(var(--ctrl-y, 0px));
  opacity: var(--ctrl-o, 1);
}
.flavour-pill {
  position: relative; overflow: hidden;
  min-width: 200px; height: 62px; padding: 0 34px;
  display: grid; place-items: center;
  background: var(--charcoal); color: var(--cream);
  border-radius: 999px; text-decoration: none;
  font-family: var(--f-display); font-size: 24px; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: inset 0 -4px 0 rgba(255,255,255,.14);
  transition: transform .35s var(--ease-out);
}
.flavour-pill:hover { transform: translateY(-3px) rotate(-2deg); }
.flavour-pill span { display: inline-block; transition: transform .45s var(--ease), opacity .3s; }
.flavour-pill.swap span { transform: translateY(-120%); opacity: 0; }
.flavour-pill__bar { position: absolute; left: 26px; right: 26px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(246,241,232,.18); overflow: hidden; transition: opacity .3s; }
.flavour-pill__bar::after { content: ""; position: absolute; inset: 0; background: var(--flavour-bg); transform-origin: left; transform: scaleX(var(--auto, 0)); transition: background-color .9s var(--ease); }
.flavour-pill.is-paused .flavour-pill__bar { opacity: 0; }
.round-btn--sm { width: 40px; height: 40px; }
.round-btn--sm svg { width: 16px; height: 16px; }

.hero__corner {
  position: absolute; bottom: max(5vh, 26px); margin: 0;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.7;
  opacity: var(--ctrl-o, 1);
}
.hero__corner b { font-family: var(--f-display); font-size: 22px; letter-spacing: 0; margin-right: 6px; }
.hero__corner--l { left: clamp(16px, 3vw, 44px); }
.hero__date { display: grid; gap: 6px; line-height: 1.2; }
.hero__date-label { display: flex; align-items: center; gap: 8px; }
.hero__date b { font-size: 18px; margin: 0; }
.hero__date time { font-family: var(--f-body); font-weight: 800; font-size: clamp(34px, 3.6vw, 58px); line-height: .9; letter-spacing: -.035em; }
.hero__date-meta { font-size: 11px; opacity: .8; }
.hero__corner--r { right: clamp(16px, 3vw, 44px); display: flex; align-items: center; gap: 14px; bottom: calc(max(4vh, 22px) + 11px); }
.bounce { display: inline-block; animation: bounceY 1.6s ease-in-out infinite; }
@keyframes bounceY { 50% { transform: translateY(5px); } }

/* ---------- DUO ---------- */
.banner { background: var(--charcoal); }
.banner__item { margin: 0; overflow: hidden; width: 100%; aspect-ratio: 16 / 10; max-height: 100vh; }
.banner__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; transform: scale(var(--ps, 1.06)); will-change: transform; }

/* ---------- FLAVOURS ---------- */
.flavours { position: relative; background: var(--cream); padding: clamp(40px, 6vw, 90px) 0 0; overflow: hidden; }
.flavours__head { position: relative; padding: 0 clamp(16px, 3vw, 44px); }
.giant {
  margin: 0; display: flex; justify-content: space-between;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: calc((100vw - 2 * clamp(16px, 3vw, 44px)) / 6.6); line-height: .84; letter-spacing: -.02em;
}
.giant span { display: inline-block; transform: translateY(var(--gy, 60%)) rotate(var(--gr, 8deg)); opacity: var(--go, 0); transition: transform 1s var(--ease-out), opacity .8s; }
.giant.is-in span { --gy: 0; --gr: 0deg; --go: 1; }
.giant span:nth-child(odd) { transition-delay: calc(var(--i, 0) * 60ms); }
.flavours__spark { position: absolute; width: 34px; height: 34px; color: var(--charcoal); animation: twinkle 3s ease-in-out infinite; }
.flavours__spark.s1 { top: 2%; left: 30%; }
.flavours__spark.s2 { top: 58%; left: 46%; width: 30px; height: 30px; color: var(--biscoff); animation-delay: -1s; }
.flavours__spark.s3 { top: 6%; right: 7%; width: 22px; height: 22px; animation-delay: -2s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }

.flavours__intro { display: grid; gap: 30px; margin-top: clamp(20px, 3vw, 40px); }
.flavours__intro > p { margin: 0; max-width: 480px; font-size: clamp(16px, 1.3vw, 19px); }
.flavours__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 26px; }
.flavours__label { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; }
.flavours__arrows { display: flex; gap: 10px; }
.flavours__arrows.is-hidden { visibility: hidden; }

.products {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 3);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.products::-webkit-scrollbar { display: none; }
.product {
  position: relative; scroll-snap-align: start;
  min-height: min(84vh, 780px);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 34px 26px 30px; overflow: hidden;
  background: var(--pbg); color: var(--pfg, var(--charcoal));
  isolation: isolate;
}
.product__tex {
  position: absolute; inset: 0; z-index: -1;
  background: center / cover no-repeat;
  opacity: 0; transform: scale(1.12);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.product::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--pbg) 18%, transparent 45%, transparent 62%, var(--pbg) 88%);
  opacity: 0; transition: opacity .7s;
}
.product:hover .product__tex { opacity: .55; transform: scale(1); }
.product:hover::after { opacity: 1; }
.product__top { text-align: center; }
.product__tag { margin: 0 0 8px; font-size: 13px; font-weight: 500; letter-spacing: .08em; opacity: .85; }
.product__name { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 3.6vw, 58px); line-height: 1; text-transform: uppercase; }
.product__meta { margin: 10px 0 0; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; }
.product__cans { position: relative; flex: 1; width: 100%; display: grid; place-items: center; margin: 18px 0; }
.product__cans .mini-can { height: min(54vh, 470px); aspect-ratio: 200 / 470; transition: transform .8s var(--ease-out); filter: drop-shadow(0 26px 24px rgba(14,14,14,.28)); }
.product:hover .mini-can { transform: rotate(-7deg) translateY(-10px) scale(1.04); }
.product--duo .product__cans .mini-can { position: absolute; height: min(50vh, 440px); }
.product--duo .mini-can:first-child { transform: translateX(-56%) rotate(-5deg); }
.product--duo .mini-can:last-child { transform: translateX(56%) rotate(5deg); }
.product--duo:hover .mini-can:first-child { transform: translateX(-62%) rotate(-10deg) translateY(-10px); }
.product--duo:hover .mini-can:last-child { transform: translateX(62%) rotate(10deg) translateY(-10px); }
.product__buy { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product__price { font-family: var(--f-display); font-size: 30px; }
.product__price small { font-family: var(--f-body); font-size: 13px; font-weight: 500; opacity: .75; margin-left: 4px; }
.product__actions { display: flex; align-items: center; gap: 10px; }
.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; background: rgba(255,255,255,.55); }
.product--duo .stepper { background: rgba(246,241,232,.14); }
.stepper button { width: 42px; height: 48px; display: grid; place-items: center; }
.stepper button svg { width: 16px; height: 16px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; }
.product .btn { height: 48px; padding: 0 20px; font-size: 15px; background: var(--charcoal); color: var(--cream); }
.product--duo .btn { background: var(--cream); color: var(--charcoal); }

/* ---------- THE DROP ---------- */
.drop { position: relative; background: var(--cream); padding: clamp(80px, 12vw, 180px) clamp(16px, 3vw, 44px) clamp(70px, 8vw, 120px); overflow: hidden; }
.drop__words { position: relative; height: clamp(300px, 46vw, 680px); margin: 0; font-size: inherit; }
.products__noscript { margin: 0; padding: 40px clamp(16px, 3vw, 44px); font-size: 18px; }
.drop__words .w {
  position: absolute; white-space: nowrap;
  font-family: var(--f-body); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em;
  font-size: clamp(54px, 10.4vw, 170px); line-height: .9;
  transform: rotate(calc(var(--rot) + var(--wr, 0deg))) translateX(var(--wx, 0px));
}
.drop__words .w1 { --rot: -11deg; left: 2%; top: 4%; }
.drop__words .w2 { --rot: -3deg; left: 22%; top: 36%; }
.drop__words .w3 { --rot: 5deg; left: 8%; top: 68%; color: var(--biscoff-deep); }

@keyframes spin { to { transform: rotate(360deg); } }

.flyer { position: absolute; left: 0; top: clamp(330px, 45vw, 650px); width: clamp(240px, 30vw, 460px); transform: translateX(var(--fx, -40%)) rotate(-24deg); pointer-events: none; }
.flyer__trail { position: absolute; right: 34%; top: 24%; width: 120%; height: 52%; }
.flyer__can { position: relative; margin-left: auto; margin-right: 8%; width: 20%; aspect-ratio: 200 / 470; transform: rotate(90deg); }
.flyer__can .mini-can { width: 100%; height: 100%; }

.drop__cta { position: relative; max-width: 520px; margin: clamp(50px, 8vw, 120px) auto 0; text-align: center; display: grid; justify-items: center; gap: 22px; }
.drop__date { margin: 0; display: grid; justify-items: center; gap: 10px; }
.drop__date-label { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.drop__date time { font-family: var(--f-body); font-weight: 800; font-size: clamp(52px, 7vw, 108px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; }
.drop__countdown { padding: 7px 16px; border-radius: 999px; background: var(--charcoal); color: var(--cream); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.drop__text { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.drop__note { margin: 6px 0 0; font-size: 13px; opacity: .7; }

.how { margin-top: clamp(80px, 10vw, 150px); }
.how__title { margin: 0 0 26px; font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; text-align: center; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how__steps li { position: relative; padding: 28px 26px 30px; border: 2px solid var(--charcoal); border-radius: var(--radius); background: var(--paper); transition: transform .5s var(--ease-out), background .4s; }
.how__steps li:hover { transform: translateY(-6px) rotate(-1deg); background: var(--avocado); }
.how__steps li:nth-child(2):hover { background: var(--biscoff); }
.how__n { font-family: var(--f-display); font-size: 48px; line-height: 1; }
.how__steps h4 { margin: 14px 0 6px; font-size: 21px; font-weight: 700; }
.how__steps p { margin: 0; opacity: .8; }


/* ---------- FOOTER + GAME ---------- */
.footer { position: relative; background: var(--cream); padding: 30px clamp(16px, 3vw, 44px) 26px; }
.footer__wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: 70px; fill: var(--cream); }
.footer__socials { display: flex; gap: 10px; }
.footer__socials .round-btn { width: 48px; height: 48px; }
.footer__socials .round-btn svg { width: 20px; height: 20px; }
.game { position: relative; margin: 20px 0 10px; }
.game__canvas { display: block; width: 100%; height: clamp(300px, 34vw, 420px); }
.game__hud { position: absolute; right: 0; top: 0; display: flex; gap: 18px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.game__hud b { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.game__start { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); white-space: nowrap; }
.game__start:hover { transform: translateX(-50%) translateY(-3px); }
.game.is-playing .game__start { opacity: 0; pointer-events: none; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__lockup { width: 130px; fill: var(--charcoal); }
.footer__bottom nav { display: flex; justify-content: flex-end; gap: 22px; }
.footer__bottom nav a { text-decoration: none; }
.footer__bottom nav a:hover { text-decoration: underline; }

/* ---------- DRAWER ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(14,14,14,.5); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px;
  width: min(460px, calc(100vw - 20px));
  display: flex; flex-direction: column;
  background: var(--cream); border-radius: 28px; overflow: auto;
  padding: 24px 24px 22px;
  transform: translateX(calc(100% + 20px)); transition: transform .7s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head h2 { margin: 0; font-family: var(--f-display); font-size: 38px; text-transform: uppercase; }
.drawer__head .round-btn { width: 46px; height: 46px; }
.drawer__meta { margin: 4px 0 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.drawer__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.drawer__item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 20px; background: var(--paper); }
.drawer__thumb { height: 72px; display: grid; place-items: center; border-radius: 14px; background: var(--pbg); }
.drawer__thumb .mini-can { height: 62px; aspect-ratio: 200 / 470; }
.drawer__item h3 { margin: 0; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.drawer__item p { margin: 2px 0 0; font-size: 14px; opacity: .7; }
.drawer__item .stepper { background: var(--cream-2); height: 40px; }
.drawer__item .stepper button { height: 40px; width: 36px; }
.drawer__empty { margin: 30px 0; text-align: center; opacity: .7; }
.drawer__form { margin-top: auto; padding-top: 22px; display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 2px dashed rgba(14,14,14,.2); }
.drawer__total span { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.drawer__total b { font-family: var(--f-display); font-size: 30px; }
.drawer__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.drawer__form label b { font-weight: 600; }
.drawer__form label b span { font-weight: 400; opacity: .6; }
.drawer__form input, .drawer__form textarea {
  font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0;
  padding: 13px 16px; border-radius: 16px; border: 2px solid transparent; background: var(--paper); color: var(--charcoal);
  resize: vertical; outline: none; transition: border-color .3s;
}
.drawer__form input:focus, .drawer__form textarea:focus { border-color: var(--charcoal); }
.drawer__fine { margin: 2px 0 0; font-size: 12px; text-align: center; opacity: .6; }
.drawer__form.is-empty { opacity: .45; pointer-events: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90;
  padding: 14px 22px; border-radius: 999px;
  background: var(--charcoal); color: var(--cream); font-weight: 500;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
  white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }

/* ---------- focus ---------- */
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; }
.product--duo :focus-visible { outline-color: var(--cream); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .banner__item { aspect-ratio: 4 / 3; }
  .products { grid-auto-columns: 46%; }
  .how__steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 14px 16px; }
  .nav__pills { display: none; }
  .nav__mobile { display: flex; }
  .pill--order-sm { width: auto; padding: 0 6px 0 12px; gap: 6px; background: var(--charcoal); color: var(--cream); }

  .acc { --acc-scale: 2; }
  .blob--l { width: 46vw; left: -12vw; top: 14vh; }
  .blob--r { width: 40vw; right: -10vw; top: 58vh; }
  .hero__word { font-size: 21vw; }
  .story__can { height: min(54vh, 460px); translate: 0 -3vh; }
  .hero__controls { gap: 14px; }
  .flavour-pill { min-width: 150px; height: 54px; padding: 0 22px; font-size: 20px; }
  .round-btn { width: 50px; height: 50px; }
  .hero__scroll { display: none; }
  .hero__date { left: 50%; right: auto; bottom: auto; bottom: calc(max(4vh, 22px) + 68px); transform: translateX(-50%); justify-items: center; text-align: center; gap: 3px; white-space: nowrap; }
  .hero__date time { font-size: 30px; }
  .hero__date-label, .hero__date-meta { font-size: 10px; }
  .hero__corner--r { bottom: auto; top: calc(var(--announce-h) + 84px); }
  .story__headline { top: 14vh; padding: 0 16px; }
  .story__headline h2 { font-size: 8.6vw; }
  .card p { font-size: 15px; margin: 14px 18px 6px; }
  .card__icon { width: 48px; height: 48px; margin-bottom: 16px; }

  .banner__item { aspect-ratio: 1; }
  .banner__item img { object-position: 50% 50%; }

  .flavours__bar { flex-wrap: wrap; }
  .flavours__label { order: -1; width: 100%; }
  .products { grid-auto-columns: 86%; }
  .product { min-height: 620px; }

  .drop { padding-top: 70px; }
  .drop__words { height: 70vw; }
  .drop__words .w { font-size: 11vw; }
  .drop__words .w1 { left: 0; top: 6%; }
  .drop__words .w2 { left: 6%; }
  .drop__words .w3 { left: 1%; }
  .flyer { top: auto; bottom: 36%; width: 220px; }


  .footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__bottom nav { justify-content: center; }
  .game__hud { position: static; justify-content: flex-end; margin-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .announce__track { animation: none; }
}
