/* =========================================================
   ZANZI — Sour Play
   ========================================================= */
:root {
  --cream: #f6eee3;
  --cream-2: #efe3d3;
  --pink: #e8337f;
  --pink-2: #ff5fa2;
  --plum: #5b1631;
  --plum-2: #3d0d20;
  --lime: #c6dd3a;
  --orange: #f28a1e;
  --ink: #2a0a16;
  --white: #fffaf4;

  --f-display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --r-lg: 36px;
  --r-md: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; } /* no CSS smooth-scroll: it breaks GSAP ScrollTrigger pin math; anchors are smoothed in main.js */
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--pink); color: #fff; }

/* grain overlay for warmth */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- wordmark ---------- */
.wm { font-family: var(--f-display); color: var(--pink); display: inline-flex; line-height: .8; letter-spacing: -.02em; }
.wm b { font-weight: 400; display: inline-block; transform-origin: 50% 80%; }
.wm b:nth-child(1) { transform: rotate(-8deg) translateY(.02em); }
.wm b:nth-child(2) { transform: rotate(5deg) translateY(-.04em); }
.wm b:nth-child(3) { transform: rotate(-3deg) translateY(.03em); }
.wm b:nth-child(4) { transform: rotate(7deg) translateY(-.02em); }
.wm b:nth-child(5) { transform: rotate(-5deg) translateY(.03em); }
.wm--sm { font-size: 38px; }
.wm--xl { font-size: clamp(110px, 25vw, 400px); }
.wm--footer { font-size: clamp(120px, 30vw, 520px); color: var(--pink); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--plum); margin: 0 0 18px;
}
.eyebrow--light { color: var(--lime); }
.display {
  font-family: var(--f-display); font-weight: 400; color: var(--plum);
  font-size: clamp(48px, 7.4vw, 112px); line-height: .9; letter-spacing: -.01em; margin: 0;
}
.display--light { color: var(--cream); }
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(36px, 5vw, 72px); }
.section-head--center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  background: var(--bg); color: var(--fg);
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 15px 28px; font-weight: 800; font-size: 17px; text-decoration: none;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .18s var(--ease-bounce), box-shadow .18s;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn--pink { --bg: var(--pink); --fg: #fff; }
.btn--plum { --bg: var(--plum); --fg: var(--cream); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; }
.btn--ghost:hover { --bg: var(--white); box-shadow: 0 5px 0 var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 19px; }
.btn--block { width: 100%; }

.pill {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--white); color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px;
  transition: transform .2s var(--ease-bounce), background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.pill:hover { transform: rotate(-3deg) scale(1.05); background: var(--lime); }
.pill--solid { background: var(--ink); color: var(--cream); }
.pill--solid:hover { background: var(--pink); color: #fff; }
.cart-count {
  background: var(--pink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px;
}
.cart-count.bump { animation: bump .5s var(--ease-bounce); }
@keyframes bump { 0% { transform: scale(1);} 40% { transform: scale(1.6) rotate(-10deg);} 100% { transform: scale(1);} }

/* ---------- announce ---------- */
.announce { background: var(--plum); color: var(--cream); overflow: hidden; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.announce__track { display: flex; gap: 28px; padding: 9px 0; width: max-content; animation: scroll 40s linear infinite; }
.announce__track i { color: var(--lime); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--gutter);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(42,10,22,.08); }
.nav__left, .nav__right { display: flex; gap: 8px; }
.nav__right { justify-content: flex-end; }
.nav__logo { text-decoration: none; opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s; }
.nav.is-scrolled .nav__logo { opacity: 1; transform: none; }
.nav__logo:hover .wm b { animation: wiggle .5s ease; }
.nav__logo .wm b:nth-child(2) { animation-delay: .05s; } .nav__logo .wm b:nth-child(3) { animation-delay: .1s; }
.nav__logo .wm b:nth-child(4) { animation-delay: .15s; } .nav__logo .wm b:nth-child(5) { animation-delay: .2s; }
@keyframes wiggle { 50% { translate: 0 -6px; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; text-align: center; padding: 10px var(--gutter) 40px; }
.hero__eyebrow { color: var(--plum); margin-bottom: 0; }
.hero__eyebrow span { color: var(--pink); }
.hero__wordmark { margin: 0; line-height: 1; }
.hero__wordmark .wm b { cursor: default; }

.hero__stage {
  position: relative; height: clamp(300px, 32vw, 440px);
  margin-top: clamp(-150px, -9vw, -40px);
  display: flex; align-items: center; justify-content: center;
}
.hero__pouch {
  position: absolute; width: clamp(150px, 17vw, 270px);
  filter: drop-shadow(0 30px 30px rgba(91,22,49,.28));
  will-change: transform;
}
.hero__pouch--l { left: 50%; margin-left: clamp(-470px, -33vw, -190px); top: 18%; rotate: -10deg; }
.hero__pouch--r { right: 50%; margin-right: clamp(-470px, -33vw, -190px); top: 24%; rotate: 9deg; }
.hero__face { position: relative; z-index: 2; width: clamp(100px, 11vw, 160px); cursor: pointer; margin-top: 8%; will-change: transform; }
.face-live { width: 100%; overflow: visible; filter: drop-shadow(0 12px 0 rgba(91,22,49,.15)); }
.face-live__eyes { transition: transform .15s ease-out; }
.face-live__mouth { transition: d .3s; }
.hero__face:hover .face-live { animation: shake .4s ease infinite; }
@keyframes shake { 25% { transform: rotate(-6deg) scale(1.06);} 75% { transform: rotate(6deg) scale(1.06);} }

.sticker {
  position: absolute; z-index: 4; cursor: grab; user-select: none; touch-action: none; -webkit-user-drag: none;
  width: clamp(96px, 10vw, 150px); height: auto;
  filter: drop-shadow(0 8px 14px rgba(42,10,22,.22));
  rotate: var(--r);
  transition: filter .2s, scale .25s var(--ease-bounce);
}
.sticker:hover { scale: 1.08; }
.sticker:active, .sticker.dragging { cursor: grabbing; scale: 1.15; filter: drop-shadow(0 22px 26px rgba(42,10,22,.3)); }
.sticker--a { left: 0; top: 30%; }
.sticker--b { right: 1%; top: -14%; }
.sticker--c { right: 0; bottom: 0; width: clamp(104px, 10.5vw, 160px); }
.sticker--d { left: 3%; top: -18%; width: clamp(88px, 8.5vw, 128px); }
.sticker--e { left: 5%; bottom: -10%; width: clamp(84px, 8vw, 118px); }
.hero__hint {
  position: absolute; right: 0; top: 30%; margin: 0;
  font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--plum); rotate: -6deg; opacity: .75;
}
.hero__hint::before { content: ""; }
.hero__hint::after { content: ""; font-style: normal; display: inline-block; margin-left: 4px; }

.hero__copy { max-width: 760px; margin: 46px auto 0; position: relative; z-index: 5; }
.hero__lede {
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.4; font-weight: 500; margin: 0 auto 22px; text-wrap: balance;
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(42,10,22,.14); box-shadow: 0 8px 24px rgba(91,22,49,.10);
}
.hero__lede em { font-family: var(--f-serif); font-size: 1.25em; color: #c81d66; white-space: nowrap; }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- marquee ---------- */
.marquee { background: var(--pink); color: #fff; overflow: hidden; border-block: 3px solid var(--ink); }
.marquee--tilt { rotate: -2deg; margin: 50px -20px 0; position: relative; z-index: 3; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; padding: 16px 0; animation: scroll 26s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(30px, 4vw, 56px); line-height: 1; white-space: nowrap; }
.marquee__track svg { width: 48px; height: 48px; color: var(--plum); flex: none; animation: spin 6s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* =========================================================
   SHOP
   ========================================================= */
.shop { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); scroll-margin-top: 0; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }
.product { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; border: 3px solid var(--ink); }
.product--plum { background: var(--plum); color: var(--cream); --accent: var(--pink); }
.product--lime { background: var(--lime); color: var(--plum); --accent: var(--orange); }
.product__media { position: relative; height: clamp(220px, 38vh, 360px); display: grid; place-items: center; overflow: hidden; }
.product__media img { position: absolute; z-index: 1; inset: 0; margin: auto; height: 88%; width: auto; max-width: none; filter: drop-shadow(0 24px 26px rgba(0,0,0,.25)); transition: transform .6s var(--ease-bounce); }
.product:hover .product__media img { transform: rotate(-5deg) scale(1.06) translateY(-8px); }
.blob { position: absolute; background: var(--accent); border-radius: 46% 54% 60% 40% / 48% 38% 62% 52%; transition: transform 1s var(--ease-bounce); }
.blob--1 { width: 55%; aspect-ratio: 1; left: -10%; top: -14%; }
.blob--2 { width: 40%; aspect-ratio: 1.2; right: -8%; bottom: -12%; border-radius: 60% 40% 38% 62% / 55% 45% 55% 45%; }
.product:hover .blob--1 { transform: translate(10%, 8%) rotate(30deg); }
.product:hover .blob--2 { transform: translate(-10%, -6%) rotate(-25deg); }
.product__media img.product__sticker { position: absolute; z-index: 2; inset: auto; margin: 0; height: auto; width: clamp(78px, 7.5vw, 112px); left: calc(50% + 2%); bottom: 8%; rotate: -12deg; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); transition: rotate .5s var(--ease-bounce), scale .5s var(--ease-bounce); }
.product:hover .product__media img.product__sticker { rotate: 6deg; scale: 1.1; }
.product__tag {
  position: absolute; z-index: 2; top: 18px; right: 18px;
  background: var(--cream); color: var(--plum); font-family: var(--f-display); font-size: 16px;
  padding: 8px 12px; border-radius: 999px; rotate: 10deg; border: 2.5px solid var(--ink);
}
.product__tag--plum { background: var(--plum); color: var(--lime); }
.product__body { padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__native { margin: 0; font-family: var(--f-serif); font-size: 22px; line-height: 1; }
.product__native span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; opacity: .7; vertical-align: middle; }
.product h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: .95; margin: 0; }
.product__desc { margin: 2px 0 4px; max-width: 52ch; opacity: .9; font-size: 15.5px; line-height: 1.45; }

.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 4px 0 10px; }
.meters div { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; }
.meters dt { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.meters dd { margin: 0; height: 12px; border-radius: 99px; background: rgba(0,0,0,.18); overflow: hidden; }
.meters i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 99px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-bounce) .2s; }
.product.in .meters i { transform: scaleX(1); }
.product--lime .meters i { background: var(--plum); }

.product__buy { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 2px dashed currentColor; }
.price b { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; }
.price span { font-family: var(--f-mono); font-size: 12px; opacity: .75; }
.product--plum .btn { --fg: #fff; border-color: var(--cream); box-shadow: 0 5px 0 var(--cream); }

/* =========================================================
   PUCKER METER
   ========================================================= */
.meter { background: var(--plum); color: var(--cream); padding: clamp(80px, 10vw, 140px) var(--gutter); position: relative; overflow: hidden; }
.meter::before {
  content: ""; position: absolute; width: 70vw; aspect-ratio: 1; right: -25vw; top: -25vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,51,127,.35), transparent 60%);
}
.meter__inner { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.meter__sub { font-size: 20px; opacity: .85; margin-top: 22px; }
.meter__play { background: var(--plum-2); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); border: 3px solid rgba(246,238,227,.12); }
.meter__face { --level: .45; position: relative; width: clamp(150px, 16vw, 210px); margin: 0 auto 10px; }
.meter__face svg { width: 100%; overflow: visible; transition: transform .2s; }
.mf-head { fill: var(--lime); transition: fill .2s; }
.mf-ink { stroke: var(--plum); }
.mf-mouth, .mf-eye-l, .mf-eye-r { transition: d .35s var(--ease-bounce); }
.mf-blush ellipse { fill: var(--pink-2); opacity: calc(var(--level) * .9); }
.meter__face.lvl-3 svg { animation: shake .18s linear infinite; }
.meter__face.lvl-2 svg { animation: shake .6s linear infinite; }
.meter__sweat { position: absolute; top: -6px; right: -10px; font-size: 34px; opacity: 0; transition: opacity .3s, transform .3s var(--ease-bounce); transform: scale(.4); }
.meter__face.lvl-3 .meter__sweat { opacity: 1; transform: scale(1); }

.meter__label { display: block; text-align: center; font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); color: var(--lime); margin: 8px 0 16px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; border-radius: 99px; background: linear-gradient(90deg, var(--lime), var(--orange), var(--pink)); border: 3px solid var(--cream); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 4px solid var(--ink); cursor: grab; box-shadow: 0 4px 0 var(--ink); }
input[type=range]::-moz-range-thumb { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); border: 4px solid var(--ink); cursor: grab; }
input[type=range]:focus-visible { box-shadow: 0 0 0 4px var(--pink-2); }
.meter__scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-top: 10px; }
.meter__rec { margin-top: 28px; display: grid; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; background: var(--cream); color: var(--plum); border-radius: var(--r-md); padding: 16px 20px; }
/* pouch pair: shows one pouch, or both fanned out for the Duo */
.pair { position: relative; width: 128px; height: 132px; }
.pair img { position: absolute; top: 0; left: 50%; height: 100%; width: auto; translate: -50% 0; filter: drop-shadow(0 8px 10px rgba(42,10,22,.2)); transition: transform .45s var(--ease-bounce), opacity .3s; }
.pair[data-show="duo"] .pair__m { transform: translateX(-24%) rotate(-9deg) scale(.86); z-index: 1; }
.pair[data-show="duo"] .pair__a { transform: translateX(24%) rotate(9deg) scale(.86); z-index: 2; }
.pair[data-show="mabuyu"] .pair__a, .pair[data-show="achari"] .pair__m { opacity: 0; transform: scale(.5) rotate(20deg); }
.pair--sm { width: 72px; height: 86px; background: var(--white); border-radius: 14px; }
.pair--sm img { height: 86%; top: 7%; }
.meter__rec.swap .pair { transform: rotate(-10deg) scale(.85); }
.pair { transition: transform .4s var(--ease-bounce); }
.meter__rec p { margin: 0; }
.meter__rec-kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.meter__rec-name { font-family: var(--f-display); font-size: 28px; line-height: 1.05; }
.meter__rec-why { font-size: 15px; margin: 4px 0 12px !important; }

/* =========================================================
   WHAT IS IT
   ========================================================= */
.whatis { padding: clamp(90px, 12vw, 160px) 0 clamp(40px, 6vw, 80px); }
.dict { display: grid; gap: clamp(40px, 6vw, 90px); padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }
.dict__entry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.dict__entry--flip .dict__img { order: 2; }
.dict__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 3px solid var(--ink); aspect-ratio: 4 / 3.4; rotate: -2deg; box-shadow: 12px 12px 0 var(--pink); }
.dict__entry--flip .dict__img { rotate: 2deg; box-shadow: -12px 12px 0 var(--lime); }
.dict__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.dict__entry:hover .dict__img img { transform: scale(1.06); }
.dict__word { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 9vw, 140px); line-height: .85; margin: 0; color: var(--pink); }
.dict__entry--flip .dict__word { color: var(--orange); }
.dict__phon { font-family: var(--f-mono); font-size: 15px; margin: 12px 0 18px; }
.dict__phon i { font-family: var(--f-serif); font-size: 21px; opacity: .7; margin-left: 8px; }
.dict__text ol { padding-left: 1.3em; margin: 0 0 16px; }
.dict__text li { margin-bottom: 10px; padding-left: 4px; }
.dict__text li::marker { font-family: var(--f-display); color: var(--pink); }
.dict__eg { font-family: var(--f-serif); font-style: italic; font-size: 24px; line-height: 1.25; border-left: 4px solid var(--lime); padding-left: 16px; margin: 0 0 16px; }
.dict__like { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; display: inline-block; margin: 0; }

/* =========================================================
   STORY
   ========================================================= */
.story { position: relative; padding: clamp(100px, 12vw, 170px) var(--gutter); background: var(--cream-2); overflow: hidden; }
.story__pattern { position: absolute; inset: 0 0 auto 0; height: 46px; background: url("assets/img/kanga-border.jpg") repeat-x center / auto 100%; border-bottom: 3px solid var(--ink); }
.story::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46px; background: url("assets/img/kanga-border.jpg") repeat-x center / auto 100%; border-top: 3px solid var(--ink); }
.story__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.story__copy p:not(.eyebrow) { font-size: 19px; max-width: 52ch; }
.story__copy .display { margin-bottom: 26px; }
.story__stats { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 34px; flex-wrap: wrap; }
.story__stats b { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 5vw, 66px); color: var(--pink); line-height: 1; display: block; }
.story__stats span { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.story__collage { position: relative; height: clamp(440px, 48vw, 660px); }
.polaroid { position: absolute; margin: 0; background: var(--white); padding: 12px 12px 52px; box-shadow: 0 24px 50px rgba(42,10,22,.2); border-radius: 4px; transition: rotate .5s var(--ease-bounce), scale .5s var(--ease-bounce); }
.polaroid:hover { rotate: 0deg !important; scale: 1.04; z-index: 5; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 24px; }
.polaroid--1 { width: 72%; aspect-ratio: 1.25; left: 0; top: 0; rotate: -6deg; }
.polaroid--1 img { height: calc(100% - 0px); }
.polaroid--2 { width: 52%; aspect-ratio: .82; right: 0; bottom: 0; rotate: 7deg; z-index: 2; }
.story__face { position: absolute; width: 120px; height: 120px; left: 30%; bottom: 6%; color: var(--pink); z-index: 3; rotate: -12deg; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; rotate: 6deg; } }

/* =========================================================
   RITUAL (horizontal scroll)
   ========================================================= */
.ritual { position: relative; }
.ritual__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.ritual__track { display: flex; gap: 24px; padding: 0 var(--gutter); align-items: stretch; height: min(72vh, 620px); will-change: transform; }
.ritual__intro { flex: 0 0 min(80vw, 460px); display: flex; flex-direction: column; justify-content: center; }
.ritual__note { font-family: var(--f-serif); font-style: italic; font-size: 24px; margin-top: 20px; }
.step { flex: 0 0 min(78vw, 420px); border-radius: var(--r-lg); border: 3px solid var(--ink); padding: 36px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: .9; margin: 0 0 14px; }
.step p { font-size: 18px; margin: 0; max-width: 30ch; }
.step__n { position: absolute; top: 26px; left: 32px; font-family: var(--f-mono); font-size: 15px; letter-spacing: .1em; border: 2px solid currentColor; border-radius: 99px; padding: 4px 12px; }
.step--pink { background: var(--pink); color: #fff; }
.step--lime { background: var(--lime); color: var(--plum); }
.step--plum { background: var(--plum); color: var(--cream); }
.step--photo { padding: 0; color: #fff; }
.step--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step--photo h3 { position: relative; padding: 0 36px 30px; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.step--photo .step__n { z-index: 1; background: var(--ink); border-color: var(--ink); }
.step--wide { flex-basis: min(90vw, 760px); }
.step__img { position: absolute; top: 14px; left: 14px; right: 14px; height: 58%; margin: 0; border-radius: 24px; overflow: hidden; border: 2.5px solid var(--ink); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.step:hover .step__img img { transform: scale(1.06); }
.step:has(.step__img) h3 { font-size: clamp(36px, 3.6vw, 54px); }
.step:has(.step__img) .step__n { z-index: 1; top: 28px; left: 28px; background: var(--cream); color: var(--ink); border-color: var(--ink); }

/* =========================================================
   BUNDLE
   ========================================================= */
.bundle { padding: clamp(60px, 10vw, 140px) var(--gutter); }
.bundle__card { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 14px 14px 0 var(--plum); }
.bundle__img { min-height: 420px; background: var(--pink); }
.bundle__img img { width: 100%; height: 100%; object-fit: cover; }
.bundle__body { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.bundle__body .display { font-size: clamp(44px, 5.6vw, 88px); margin-bottom: 16px; }
.bundle__body > p:not(.eyebrow) { font-size: 19px; margin: 0 0 24px; }
.plan { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__opt { cursor: pointer; }
.plan__opt input { position: absolute; opacity: 0; }
.plan__opt span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; border: 2.5px solid var(--ink); border-radius: 18px; padding: 16px 20px 16px 52px; position: relative; transition: background .2s, transform .2s var(--ease-bounce); }
.plan__opt span::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--white); }
.plan__opt input:checked + span { background: var(--lime); transform: rotate(-.6deg); }
.plan__opt input:checked + span::before { background: var(--pink); box-shadow: inset 0 0 0 3px var(--white); }
.plan__opt input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.plan__opt em { font-style: normal; font-family: var(--f-display); font-size: 24px; line-height: 1; }
.plan__opt s { font-family: var(--f-body); font-size: 15px; opacity: .55; }
.plan__opt small { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: clamp(40px, 8vw, 110px) 0 clamp(90px, 12vw, 160px); display: grid; grid-template-columns: 1fr 1.4fr; max-width: 1320px; margin: 0 auto; }
.faq__list { padding: 0 var(--gutter); }
.faq details { border-bottom: 2.5px solid var(--ink); }
.faq details:first-child { border-top: 2.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; color: var(--plum); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--ink); font-family: var(--f-body); font-weight: 800; transition: rotate .3s var(--ease-bounce), background .2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--pink); color: #fff; }
.faq details p { margin: 0 0 24px; font-size: 18px; max-width: 60ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--plum); color: var(--cream); padding: clamp(80px, 10vw, 140px) var(--gutter) 30px; text-align: center; overflow: hidden; position: relative; }
.footer__club { max-width: 620px; margin: 0 auto; }
.footer__face { width: 90px; height: 90px; color: var(--pink); margin-bottom: 16px; animation: bob 3s ease-in-out infinite; }
.footer__club > p { font-size: 19px; opacity: .85; margin: 20px 0 28px; }
.club-form { display: flex; gap: 10px; background: var(--cream); border-radius: 999px; padding: 6px; border: 3px solid var(--ink); }
.club-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
.club-form .btn { box-shadow: none; padding: 13px 22px; }
.club-thanks { font-family: var(--f-display); font-size: 26px; color: var(--lime); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin: 60px 0 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer__links a { text-decoration: none; opacity: .8; }
.footer__links a:hover { opacity: 1; color: var(--lime); }
.footer__wm { margin: 40px 0 -0.16em; line-height: .8; }
.footer__wm .wm b { transition: transform .4s var(--ease-bounce), translate .9s var(--ease-bounce); translate: 0 100%; }
.footer__wm.in .wm b { translate: 0 0; }
.footer__wm.in .wm b:nth-child(2) { transition-delay: 0s, .08s; } .footer__wm.in .wm b:nth-child(3) { transition-delay: 0s, .16s; } .footer__wm.in .wm b:nth-child(4) { transition-delay: 0s, .24s; } .footer__wm.in .wm b:nth-child(5) { transition-delay: 0s, .32s; }
/* hover is driven from main.js against each glyph's visible area (the font's line box is much taller
   than the letters, so a plain :hover fired far above them) */
.footer__wm .wm b { pointer-events: none; }
.footer__wm .wm b.hop { transform: translateY(-.12em) rotate(-10deg) scale(1.05); color: var(--pink-2); }
.footer__legal { font-family: var(--f-mono); font-size: 12px; opacity: .6; margin: 18px 0 0; position: relative; }

/* =========================================================
   CART
   ========================================================= */
.scrim { position: fixed; inset: 0; background: rgba(42,10,22,.45); z-index: 90; backdrop-filter: blur(3px); }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--cream); z-index: 100; display: flex; flex-direction: column; border-left: 3px solid var(--ink); transform: translateX(105%); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.cart.open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 2.5px solid var(--ink); }
.cart__head h2 { font-family: var(--f-display); font-weight: 400; margin: 0; font-size: 32px; color: var(--plum); }
.cart__close { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); }
.cart__close:hover { background: var(--pink); color: #fff; }
.cart__ship { padding: 16px 24px; background: var(--lime); border-bottom: 2.5px solid var(--ink); }
.cart__ship p { margin: 0 0 8px; font-size: 15px; }
.cart__bar { height: 10px; border-radius: 99px; background: rgba(42,10,22,.15); overflow: hidden; }
.cart__bar i { display: block; height: 100%; width: 0; background: var(--plum); border-radius: 99px; transition: width .6s var(--ease-bounce); }
.cart__items { list-style: none; margin: 0; padding: 8px 24px; flex: 1; overflow-y: auto; }
.cart__items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 2px dashed rgba(42,10,22,.2); }
.cart__items img { width: 72px; height: 86px; object-fit: contain; background: var(--white); border-radius: 14px; padding: 6px; }
.cart__items h4 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--plum); line-height: 1.05; }
.cart__items small { font-family: var(--f-mono); font-size: 11px; opacity: .7; display: block; margin-bottom: 6px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; }
.qty button { width: 30px; height: 28px; border: 0; background: transparent; font-weight: 800; }
.qty button:hover { background: var(--lime); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart__items .line-price { font-family: var(--f-display); font-size: 20px; }
.cart__empty { text-align: center; padding: 50px 24px; flex: 1; }
.cart__empty svg { width: 80px; height: 80px; color: var(--pink); }
.cart__empty p { font-size: 18px; }
.cart.has-items .cart__empty { display: none; }
.cart__foot { padding: 20px 24px 26px; border-top: 2.5px solid var(--ink); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart__total b { font-family: var(--f-display); font-weight: 400; font-size: 32px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; translate: -50% 220%; opacity: 0; background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 700; transition: translate .5s var(--ease-bounce); white-space: nowrap; }
.toast.show { translate: -50% 0; opacity: 1; }

/* ---------- flying candy (add-to-bag) ---------- */
.candy { position: fixed; z-index: 130; width: 16px; height: 13px; border-radius: 45% 55% 50% 50%; pointer-events: none; box-shadow: inset -3px -3px 0 rgba(0,0,0,.18); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s var(--ease-bounce); }
.reveal.in { opacity: 1; transform: none; }
.polaroid.reveal.in { transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .products, .meter__inner, .dict__entry, .story__grid, .bundle__card, .faq { grid-template-columns: 1fr; }
  .dict__entry--flip .dict__img { order: 0; }
  .bundle__img { min-height: 300px; }
  .faq .section-head { margin-bottom: 30px; }
  .hero__hint { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .nav { grid-template-columns: auto 1fr auto; gap: 8px; }
  .nav__logo { justify-self: center; }
  .wm--sm { font-size: 30px; }
  .pill { padding: 7px 12px; font-size: 11px; }
  .hero__stage { height: 300px; margin-top: -20px; }
  .hero__pouch { width: 150px; }
  .hero__pouch--l { margin-left: -175px; }
  .hero__pouch--r { margin-right: -175px; }
  .sticker { width: 74px !important; }
  .sticker--a { left: -6px; top: 34%; }
  .sticker--b { right: -4px; top: -40px; }
  .sticker--c { right: -6px; bottom: -6px; }
  .sticker--d { left: -4px; top: -44px; }
  .sticker--e { display: none; }
  .meters { grid-template-columns: 1fr; }
  .story__collage { height: 420px; }
  .story__face { width: 80px; height: 80px; }
  .ritual__track { height: 64vh; }
  .step { padding: 26px; }
  .club-form { flex-direction: column; border-radius: 26px; }
  .club-form input { padding: 12px 14px; }
  .bundle__card { box-shadow: 8px 8px 0 var(--plum); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
