/* ==========================================================================
   Bonkis Milkshakes — site styles
   Ported from the Claude Design prototypes in design/. Values are carried
   across verbatim; the prototypes held them as inline attributes.
   ========================================================================== */

:root {
  /* palette */
  --grape: #2A1740;
  --grape-deep: #241239;
  --plum: #3E2359;
  --cream: #FFF3E4;
  --pink: #EE6BA8;
  --pink-shadow: #B93F75;
  --yellow: #F5C842;
  --yellow-shadow: #C79B18;
  --lilac: #9B77C4;
  --mint: #7CE0A8;

  /* the prototype exposed the accent as an editable prop; the pages still
     read it through this variable, so a rebrand is a one-line change */
  --bk-pink: var(--pink);

  --display: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grape);
  color: var(--cream);
  font-family: var(--body);
  overflow-x: hidden;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--cream); }
::selection { background: var(--pink); color: var(--grape); }
input::placeholder { color: rgba(42, 23, 64, .42); }

img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — the pages are long and scroll-driven, so keyboard users get a
   direct route past the fixed nav. */
.skip {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 200;
  transform: translate(-50%, -160%);
  padding: 12px 22px;
  border-radius: 99px;
  background: var(--yellow);
  color: var(--grape);
  font-family: var(--display);
  font-weight: 600;
  transition: transform .25s ease;
}
.skip:focus { transform: translate(-50%, 0); color: var(--grape); }

/* Visually hidden, still announced. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page { position: relative; width: 100%; background: var(--grape); }

/* ── motion ─────────────────────────────────────────────────────────────── */
@keyframes bk-mq   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes bk-wob  { 0%,100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes bk-bob  { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
@keyframes bk-pop  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes bk-blob {
  0%,100% { border-radius: 58% 42% 47% 53% / 48% 44% 56% 52%; }
  33%     { border-radius: 44% 56% 63% 37% / 57% 52% 48% 43%; }
  66%     { border-radius: 52% 48% 38% 62% / 41% 60% 40% 59%; }
}
@keyframes bk-cue  { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ── nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: clamp(12px, 2vw, 22px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 18px);
  padding: 8px 10px 8px 16px;
  border-radius: 99px;
  background: rgba(42, 23, 64, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 243, 228, .18);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
  max-width: calc(100vw - 20px);
}
.nav__brand { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.nav__dot {
  display: block;
  width: clamp(22px, 2.6vw, 30px);
  height: clamp(22px, 2.6vw, 30px);
  border-radius: 50%;
  background: var(--bk-pink);
  animation: bk-pop 2.6s ease-in-out infinite;
}
.nav__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: -.02em;
  color: var(--cream);
}
.nav__rule { width: 2px; height: 20px; background: rgba(255, 243, 228, .2); border-radius: 2px; flex: 0 0 auto; }
.nav__link {
  font-size: clamp(11px, 1.15vw, 14px);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .72);
  padding: 6px 4px;
}
.nav__cta {
  flex: 0 0 auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(12px, 1.3vw, 16px);
  padding: 10px clamp(12px, 1.6vw, 20px);
  border-radius: 99px;
  background: var(--bk-pink);
  color: var(--grape);
  box-shadow: 0 4px 0 var(--pink-shadow);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink-shadow); color: var(--grape); }
.nav__cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-shadow); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 21px);
  padding: clamp(14px, 1.6vw, 20px) clamp(24px, 3vw, 38px);
  border-radius: 99px;
  border: none;
  cursor: pointer;
}
.btn--primary { background: var(--bk-pink); color: var(--grape); box-shadow: 0 6px 0 var(--pink-shadow); }
.btn--primary:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 var(--pink-shadow); color: var(--grape); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--pink-shadow); }
.btn--ghost { background: transparent; color: var(--cream); border: 3px solid rgba(255, 243, 228, .34); }
.btn--ghost:hover { background: var(--cream); color: var(--grape); border-color: var(--cream); }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 8%, #5A2E82 0%, #3B1E5C 45%, var(--grape) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(92px, 13vh, 156px) clamp(18px, 4vw, 64px) clamp(78px, 11vh, 124px);
}

.confetti-layer { position: absolute; inset: -10% -5%; pointer-events: none; }
.confetti {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  background: var(--c);
  opacity: var(--o, 1);
}
.confetti--round { border-radius: 50%; }
.confetti--blob { animation: bk-blob var(--dur, 9s) ease-in-out infinite; }
.confetti--blob-rev { animation-direction: reverse; }

.hero__stack {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: clamp(18px, 3vw, 56px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, min(9.4vw, 17vh), 168px);
  line-height: .84;
  letter-spacing: -.045em;
  color: var(--cream);
  text-wrap: balance;
}
.hero__line { display: block; }
.hero__line--pink { color: var(--bk-pink); }
.hero__line--bonk {
  display: inline-block;
  padding: 0 .1em;
  background: var(--yellow);
  color: var(--grape);
  border-radius: clamp(10px, 1.6vw, 26px);
  animation: bk-wob 3.4s ease-in-out infinite;
}
.hero__lede {
  margin: clamp(16px, min(2.6vw, 3vh), 34px) 0 0;
  max-width: 42ch;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255, 243, 228, .76);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: clamp(18px, min(3vw, 3.4vh), 40px);
}
.hero__bottle {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: min(560px, 86vw);
  aspect-ratio: 1131 / 1414;
  max-height: min(72vh, 760px);
  will-change: transform;
}
.hero__bob { position: absolute; inset: 0; animation: bk-bob 7s ease-in-out infinite; }
.hero__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(70% 64% at 50% 47%, #000 46%, rgba(0,0,0,.55) 74%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(70% 64% at 50% 47%, #000 46%, rgba(0,0,0,.55) 74%, rgba(0,0,0,0) 100%);
}

.cursor-blob {
  --size: clamp(200px, 26vw, 420px);
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  pointer-events: none;
  background: radial-gradient(circle, rgba(238, 107, 168, .5) 0%, rgba(238, 107, 168, 0) 68%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity .5s ease;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(16px, 2.4vw, 32px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .5);
}
.scroll-cue__bar {
  display: block;
  width: 2px;
  height: 26px;
  border-radius: 2px;
  background: rgba(255, 243, 228, .5);
  animation: bk-cue 1.9s ease-in-out infinite;
}

/* ── marquee ────────────────────────────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 5;
  background: var(--yellow);
  padding: clamp(10px, 1.3vw, 16px) 0;
  overflow: hidden;
  border-top: 4px solid var(--grape);
  border-bottom: 4px solid var(--grape);
}
.marquee__track { display: flex; width: max-content; animation: bk-mq 22s linear infinite; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding-right: clamp(18px, 2.4vw, 34px);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 34px);
  color: var(--grape);
  white-space: nowrap;
}
.marquee__star { color: var(--pink); }

/* ── shared sticky scene shell ──────────────────────────────────────────── */
.scene__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eyebrow {
  display: block;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* ── assemble scene ─────────────────────────────────────────────────────── */
.assemble { position: relative; height: 400vh; background: var(--grape-deep); }
.assemble__seq { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.assemble__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(36,18,57,.92) 0%, rgba(36,18,57,.28) 32%, rgba(36,18,57,.1) 55%, rgba(36,18,57,.78) 100%);
}
.assemble__loading {
  position: absolute;
  left: 50%;
  bottom: clamp(52px, 8vh, 84px);
  transform: translateX(-50%);
  z-index: 5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .5);
  transition: opacity .5s ease;
}
.assemble__head {
  position: absolute;
  left: 50%;
  top: clamp(78px, 10vh, 130px);
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}
.assemble__eyebrow { color: var(--bk-pink); display: inline-block; }
.assemble__title {
  margin: clamp(8px, 1vw, 14px) 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, min(7vw, 10vh), 110px);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(36, 18, 57, .7);
}
.assemble__word { display: inline-block; }
.assemble__word--2 { color: var(--bk-pink); opacity: 0; }
.assemble__word--3 { opacity: 0; }
.chip {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  padding: clamp(9px, 1.2vw, 15px) clamp(14px, 1.8vw, 24px);
  border-radius: 99px;
  background: var(--c);
  color: var(--ink, var(--cream));
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(12px, 1.5vw, 20px);
  white-space: nowrap;
  box-shadow: 0 8px 0 rgba(62, 35, 89, .28);
  will-change: transform;
}
.assemble__progress {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(20px, 3.4vh, 44px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}
.assemble__progress-label {
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .5);
}
.assemble__bar {
  display: block;
  width: clamp(80px, 12vw, 180px);
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 243, 228, .18);
  overflow: hidden;
}
.assemble__fill { display: block; width: 0%; height: 100%; background: var(--bk-pink); border-radius: 99px; }

/* ── blend scene ────────────────────────────────────────────────────────── */
.blend { position: relative; height: 300vh; background: var(--plum); }
.blend__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(140vmin, 1400px);
  height: min(140vmin, 1400px);
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, #EE6BA8, #F5C842, #9B77C4, #6B3FA0, #EE6BA8);
  opacity: .2;
  filter: blur(60px);
  border-radius: 50%;
  will-change: transform;
}
.blend__wordwrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.blend__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(60px, 17vw, 300px);
  line-height: .85;
  letter-spacing: -.05em;
  color: rgba(255, 243, 228, .09);
  white-space: nowrap;
  will-change: transform;
}
.blend__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  max-height: 100%;
  overflow: hidden;
  padding: clamp(80px, 12vh, 130px) clamp(18px, 4vw, 64px) clamp(28px, 5vh, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 80px);
}
.blend__stage {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 29vmin, 400px);
  height: clamp(290px, 44vmin, 580px);
  max-height: 68vh;
}
.blend__bottle { position: absolute; inset: 0; display: block; }
/* WebGL unavailable: paint a still behind the empty element rather than a hole. */
.blend__bottle[data-failed]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/bottle-still.webp") center / contain no-repeat;
}
.fhero__bottle[data-failed]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--f-accent);
  opacity: .85;
  -webkit-mask: url("../assets/bottle-silhouette.svg") center / contain no-repeat;
  mask: url("../assets/bottle-silhouette.svg") center / contain no-repeat;
}

.blend__caption {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .34);
  white-space: nowrap;
}
.blend__copy { flex: 1 1 320px; min-width: min(320px, 100%); }
.blend__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, min(6vw, 9vh), 96px);
  line-height: .88;
  letter-spacing: -.04em;
  color: var(--cream);
}
.blend__title span { color: var(--yellow); }
.blend__text {
  margin: clamp(14px, 2vw, 24px) 0 0;
  max-width: 44ch;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(255, 243, 228, .72);
  text-wrap: pretty;
}
.blend__stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 48px); margin-top: clamp(22px, 3.4vw, 44px); }
.stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1;
  color: var(--tone, var(--cream));
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .5);
  margin-top: 6px;
}

/* ── flavour rail ───────────────────────────────────────────────────────── */
.rail { position: relative; height: 560vh; }
.rail__wash {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #3A2318;
  transition: background-color .7s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}
.rail__ghost {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(180px, 42vw, 700px);
  line-height: .7;
  color: rgba(255, 255, 255, .07);
  pointer-events: none;
  user-select: none;
}
.rail__head {
  position: relative;
  z-index: 3;
  padding: clamp(80px, min(11vh, 10vw), 140px) clamp(18px, 4vw, 64px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.rail__eyebrow { color: rgba(255, 255, 255, .6); }
.rail__title {
  margin: clamp(6px, .8vw, 12px) 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 5.4vw, 86px);
  line-height: .9;
  letter-spacing: -.04em;
  color: #fff;
}
.rail__counter { display: flex; align-items: center; gap: 12px; }
.rail__index, .rail__total {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 24px);
  color: #fff;
}
.rail__total { color: rgba(255, 255, 255, .5); }
.rail__meter {
  display: block;
  width: clamp(70px, 10vw, 160px);
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.rail__meter-fill { display: block; width: 12%; height: 100%; background: #fff; border-radius: 99px; }
.rail__viewport { position: relative; z-index: 3; flex: 1; display: flex; align-items: center; overflow: hidden; }
.rail__track {
  display: flex;
  gap: clamp(16px, 2.4vw, 40px);
  padding: 0 clamp(18px, 4vw, 64px);
  width: max-content;
  will-change: transform;
}
.rail__note-wrap { position: relative; z-index: 3; padding: 0 clamp(18px, 4vw, 64px) clamp(22px, 3.4vh, 44px); }
.rail__note {
  margin: 0;
  font-size: clamp(12px, 1.3vw, 17px);
  color: rgba(255, 255, 255, .7);
  max-width: 60ch;
  text-wrap: pretty;
}

.card {
  flex: 0 0 auto;
  width: clamp(226px, 26vw, 380px);
  border-radius: clamp(20px, 2.4vw, 34px);
  background: var(--cream);
  padding: clamp(12px, 1.4vw, 18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
  color: var(--grape);
  transition: transform .45s cubic-bezier(.34, 1.4, .64, 1);
  will-change: transform;
}
.card:hover { transform: translateY(-14px) rotate(var(--tilt, -1.4deg)); color: var(--grape); }
.card__figure {
  position: relative;
  height: clamp(140px, min(25vw, 30vh), 330px);
  border-radius: clamp(14px, 1.8vw, 24px);
  overflow: hidden;
  background: var(--tile);
}
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(11px, 1.1vw, 14px);
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--badge);
  color: var(--grape);
}
.card__body { padding: clamp(12px, 1.4vw, 18px) clamp(6px, .6vw, 10px) clamp(6px, .6vw, 10px); }
.card__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -.02em;
}
.card__desc { margin: 8px 0 0; font-size: clamp(12px, 1.2vw, 15px); color: rgba(42, 23, 64, .62); }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: clamp(12px, 1.4vw, 18px);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 17px);
  color: var(--link);
}

/* Stand-in for the flavours still waiting on a photograph: the bottle
   silhouette, knocked out of the flavour's own colour. */
.shot-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(0,0,0,.22));
}
.shot-pending::before {
  content: "";
  width: 46%;
  height: 84%;
  background: rgba(255, 255, 255, .34);
  -webkit-mask: url("../assets/bottle-silhouette.svg") center / contain no-repeat;
  mask: url("../assets/bottle-silhouette.svg") center / contain no-repeat;
}

/* ── story ──────────────────────────────────────────────────────────────── */
.story {
  position: relative;
  background: var(--cream);
  color: var(--grape);
  padding: clamp(70px, 12vh, 170px) clamp(18px, 4vw, 64px);
  overflow: hidden;
}
.story__blob {
  position: absolute;
  right: -12vw;
  top: -8vw;
  width: 44vw;
  height: 44vw;
  background: rgba(155, 119, 196, .22);
  animation: bk-blob 14s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
.story__inner { position: relative; max-width: 1400px; margin: 0 auto; }
.story__eyebrow { color: var(--lilac); }
.story__title {
  margin: clamp(10px, 1.4vw, 20px) 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 96px);
  line-height: .92;
  letter-spacing: -.04em;
  max-width: 22ch;
  text-wrap: balance;
}
.story__mark { background: var(--yellow); border-radius: .14em; padding: 0 .1em; }
.story__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(30px, 4.6vw, 64px);
  align-items: start;
}
.story__text {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 22px);
  line-height: 1.55;
  color: rgba(42, 23, 64, .74);
  text-wrap: pretty;
}
.story__text + .story__text { margin-top: clamp(14px, 1.8vw, 24px); }
.story__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(26px, 3.6vw, 48px);
}
.story__stat {
  padding: clamp(14px, 1.8vw, 22px);
  border-radius: clamp(14px, 1.8vw, 22px);
  background: var(--c);
  color: var(--ink);
}
.story__stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); line-height: 1; }
.story__stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
  margin-top: 6px;
}
.story__figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: clamp(20px, 3vw, 40px);
  overflow: hidden;
  background: var(--lilac);
  box-shadow: 0 30px 70px rgba(62, 35, 89, .28);
}
.story__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── newsletter ─────────────────────────────────────────────────────────── */
.signup {
  position: relative;
  background: var(--grape);
  padding: clamp(70px, 12vh, 160px) clamp(18px, 4vw, 64px);
  overflow: hidden;
}
.signup__inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.signup__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 6.4vw, 110px);
  line-height: .9;
  letter-spacing: -.045em;
  color: var(--cream);
}
.signup__title span { color: var(--bk-pink); }
.signup__text {
  margin: clamp(14px, 2vw, 24px) auto 0;
  max-width: 48ch;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(255, 243, 228, .7);
  text-wrap: pretty;
}
.signup__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: clamp(24px, 3.4vw, 44px);
}
.signup__input {
  flex: 1 1 300px;
  max-width: 440px;
  font-family: var(--body);
  font-size: clamp(15px, 1.6vw, 19px);
  padding: clamp(15px, 1.7vw, 21px) clamp(20px, 2.4vw, 28px);
  border-radius: 99px;
  border: 3px solid rgba(255, 243, 228, .2);
  background: var(--cream);
  color: var(--grape);
  outline: none;
}
.signup__input:focus { border-color: var(--pink); }
.signup__submit {
  flex: 0 0 auto;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 21px);
  padding: clamp(15px, 1.7vw, 21px) clamp(26px, 3.2vw, 42px);
  border-radius: 99px;
  border: none;
  background: var(--yellow);
  color: var(--grape);
  box-shadow: 0 6px 0 var(--yellow-shadow);
}
.signup__submit:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--yellow-shadow); }
.signup__submit:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--yellow-shadow); }
.signup__done {
  margin-top: clamp(24px, 3.4vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(15px, 1.7vw, 21px) clamp(24px, 3vw, 36px);
  border-radius: 99px;
  background: var(--mint);
  color: #123A26;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 21px);
}
[hidden] { display: none !important; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.foot {
  position: relative;
  background: var(--plum);
  padding: clamp(44px, 7vh, 90px) clamp(18px, 4vw, 64px) clamp(24px, 4vh, 44px);
  overflow: hidden;
}
.foot__inner { max-width: 1400px; margin: 0 auto; }
.foot__top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  justify-content: space-between;
  align-items: flex-start;
}
.foot__brand { flex: 1 1 260px; min-width: min(260px, 100%); }
.foot__logo {
  display: block;
  width: clamp(150px, 20vw, 240px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.foot__blurb {
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  max-width: 34ch;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.55;
  color: rgba(255, 243, 228, .56);
  text-wrap: pretty;
}
.foot__cols { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 80px); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 243, 228, .4);
}
.foot__link { font-size: clamp(13px, 1.3vw, 16px); color: rgba(255, 243, 228, .8); }
.foot__bottom {
  margin-top: clamp(30px, 4.6vw, 60px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 2px solid rgba(255, 243, 228, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.foot__small { font-size: 12px; color: rgba(255, 243, 228, .42); }

/* ==========================================================================
   Flavour page
   Every colour below hangs off the --f-* variables, which flavour.js swaps
   when you pick a shake.
   ========================================================================== */

.page--flavour {
  --f-bg: #3A2318;
  --f-deep: #24150D;
  --f-blob: #8C5A32;
  --f-accent: #E8B57C;
  --f-ink: #FFF3E4;
  --f-soft: rgba(255, 243, 228, .72);
  --f-line: rgba(255, 255, 255, .3);
  background: var(--f-bg);
  transition: background-color .8s cubic-bezier(.4, 0, .2, 1);
}
.page--flavour a { color: var(--f-accent); }
.page--flavour a:hover { color: var(--cream); }

.nav--flavour {
  background: rgba(0, 0, 0, .34);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
}
.nav--flavour .nav__dot { background: var(--f-accent); }
.nav--flavour .nav__word { color: #fff; }
.nav--flavour .nav__rule { background: rgba(255, 255, 255, .22); }
.nav--flavour .nav__link { color: rgba(255, 255, 255, .72); }
.nav--flavour .nav__cta { background: var(--f-accent); color: var(--grape); box-shadow: 0 4px 0 rgba(0, 0, 0, .28); }
.nav--flavour .nav__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, .28); }
.nav--flavour .nav__cta:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .28); }

/* ── flavour hero ───────────────────────────────────────────────────────── */
.fhero {
  position: relative;
  min-height: 100vh;
  padding: clamp(94px, 14vh, 150px) clamp(18px, 4vw, 64px) clamp(40px, 7vh, 90px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.fhero__blob {
  position: absolute;
  left: -14vw;
  top: -10vw;
  width: 52vw;
  height: 52vw;
  background: var(--f-blob);
  opacity: .5;
  animation: bk-blob 16s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
.fhero__blob2 {
  position: absolute;
  right: -18vw;
  bottom: -16vw;
  width: 44vw;
  height: 44vw;
  background: var(--f-accent);
  opacity: .18;
  animation: bk-blob 13s ease-in-out infinite reverse;
  pointer-events: none;
  will-change: transform;
}
.fhero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.fhero__meta { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(14px, 2vw, 22px); }
.fhero__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(11px, 1.1vw, 14px);
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--f-accent);
  color: var(--grape);
}
.fhero__base {
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--f-soft);
}
.fhero__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 9.2vw, 150px);
  line-height: .86;
  letter-spacing: -.045em;
  color: var(--f-ink);
  text-wrap: balance;
}
.fhero__tag {
  margin: clamp(12px, 1.6vw, 20px) 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 38px);
  line-height: 1.1;
  color: var(--f-accent);
  text-wrap: balance;
}
.fhero__blurb {
  margin: clamp(14px, 2vw, 24px) 0 0;
  max-width: 46ch;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--f-soft);
  text-wrap: pretty;
}
.fhero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: clamp(24px, 3.4vw, 40px);
}
.btn--flavour {
  font-size: clamp(15px, 1.7vw, 21px);
  padding: clamp(14px, 1.7vw, 20px) clamp(24px, 3vw, 40px);
  background: var(--f-accent);
  color: var(--grape);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .3);
}
.btn--flavour:hover { transform: translateY(-3px) rotate(-1.2deg); box-shadow: 0 9px 0 rgba(0, 0, 0, .3); color: var(--grape); }
.btn--flavour:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.btn--outline {
  font-size: clamp(15px, 1.7vw, 21px);
  padding: clamp(14px, 1.7vw, 20px) clamp(24px, 3vw, 40px);
  background: transparent;
  border: 3px solid var(--f-line);
  color: var(--f-ink);
}
.btn--outline:hover { background: var(--f-ink); color: var(--f-bg); border-color: var(--f-ink); }
.fhero__stage { display: flex; align-items: center; justify-content: center; }
.fhero__cup {
  position: relative;
  width: clamp(230px, 32vmin, 440px);
  height: clamp(320px, 48vmin, 660px);
  max-height: 74vh;
  will-change: transform;
}
.fhero__bottle { position: absolute; inset: 0; display: block; }
.fhero__caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--f-soft);
  white-space: nowrap;
}

.marquee--flavour {
  z-index: 4;
  background: var(--grape);
  padding: clamp(9px, 1.2vw, 15px) 0;
  border: none;
}
.marquee--flavour .marquee__track { animation-duration: 18s; }
.marquee--flavour .marquee__group {
  gap: clamp(16px, 2.2vw, 30px);
  padding-right: clamp(16px, 2.2vw, 30px);
  font-size: clamp(15px, 2vw, 28px);
  color: var(--cream);
}
.marquee--flavour .marquee__star { color: var(--f-accent); }

/* ── what's inside ──────────────────────────────────────────────────────── */
.inside {
  position: relative;
  background: var(--cream);
  color: var(--grape);
  padding: clamp(60px, 10vh, 140px) clamp(18px, 4vw, 64px);
  overflow: hidden;
}
.inside__inner { max-width: 1400px; margin: 0 auto; }
.inside__eyebrow { color: var(--lilac); }
.inside__title {
  margin: clamp(8px, 1.2vw, 16px) 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 5.2vw, 84px);
  line-height: .92;
  letter-spacing: -.04em;
  max-width: 20ch;
  text-wrap: balance;
}
.inside__hl { background: var(--f-blob); color: var(--f-hl, var(--cream)); border-radius: .14em; padding: 0 .1em; }
.inside__chips { display: flex; flex-wrap: wrap; gap: clamp(9px, 1.2vw, 14px); margin-top: clamp(24px, 3.4vw, 44px); }
.inside__chip {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(13px, 1.5vw, 20px);
  padding: clamp(9px, 1.2vw, 15px) clamp(15px, 1.9vw, 26px);
  border-radius: 99px;
  background: var(--grape);
  color: var(--cream);
}
.inside__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(26px, 4vw, 64px);
  margin-top: clamp(36px, 5vw, 72px);
  align-items: start;
}
.taste { display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 26px); }
.taste__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.taste__name { font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.6vw, 21px); }
.taste__val { font-size: clamp(12px, 1.2vw, 15px); font-weight: 700; color: rgba(42, 23, 64, .5); }
.taste__bar { display: block; height: 14px; border-radius: 99px; background: rgba(42, 23, 64, .1); overflow: hidden; }
.taste__fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--fill);
  transition: width .7s cubic-bezier(.4, 0, .2, 1);
}
.facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); margin-top: clamp(8px, 1.2vw, 14px); }
.facts__num { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.2vw, 44px); line-height: 1; }
.facts__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(42, 23, 64, .45);
  margin-top: 5px;
}
.inside__figure {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: clamp(20px, 3vw, 40px);
  overflow: hidden;
  background: var(--f-blob);
  box-shadow: 0 30px 70px rgba(42, 23, 64, .24);
}
.inside__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── quote ──────────────────────────────────────────────────────────────── */
.quote {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 11vh, 150px) clamp(18px, 4vw, 64px);
  overflow: hidden;
  background: var(--f-deep);
  transition: background-color .8s cubic-bezier(.4, 0, .2, 1);
}
.quote__ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(120px, 30vw, 460px);
  line-height: .7;
  color: rgba(255, 255, 255, .06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.quote__text {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 24ch;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--f-ink);
  text-wrap: balance;
  will-change: transform;
}
.quote__who {
  margin-top: clamp(16px, 2.4vw, 32px);
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(11px, 1.2vw, 15px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--f-accent);
}

/* ── flavour picker ─────────────────────────────────────────────────────── */
.picker {
  position: relative;
  background: var(--cream);
  color: var(--grape);
  padding: clamp(60px, 10vh, 140px) clamp(18px, 4vw, 64px);
}
.picker__inner { max-width: 1400px; margin: 0 auto; }
.picker__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.picker__eyebrow { color: var(--lilac); }
.picker__title {
  margin: clamp(8px, 1.2vw, 16px) 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 5.2vw, 84px);
  line-height: .92;
  letter-spacing: -.04em;
}
.picker__back { font-family: var(--display); font-weight: 600; font-size: clamp(13px, 1.4vw, 18px); color: var(--pink); }
.picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(26px, 3.6vw, 48px);
}
.pick {
  cursor: pointer;
  text-align: left;
  border: 3px solid transparent;
  border-radius: clamp(16px, 2vw, 26px);
  padding: clamp(12px, 1.5vw, 18px);
  background: var(--c);
  color: var(--ink);
  font-family: var(--display);
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1);
}
.pick:hover { transform: translateY(-6px) rotate(var(--tilt, -1.4deg)); }
.pick--on {
  border-color: var(--grape);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 0 rgba(42, 23, 64, .16);
}
.pick--on:hover { transform: translateY(-8px) scale(1.02) rotate(var(--tilt, -1.4deg)); }
.pick__num { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; opacity: var(--dim, .6); }
.pick__name { display: block; margin-top: 8px; font-weight: 700; font-size: clamp(15px, 1.7vw, 22px); line-height: 1.05; }
.pick__base { display: block; margin-top: 6px; font-family: var(--body); font-size: clamp(11px, 1.1vw, 13px); opacity: var(--dim, .6); }

/* ── flavour footer + toast ─────────────────────────────────────────────── */
.foot--flavour { background: var(--grape); padding: clamp(36px, 6vh, 72px) clamp(18px, 4vw, 64px); }
.foot--flavour .foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.foot--flavour .foot__logo { width: clamp(130px, 16vw, 200px); opacity: .9; }
.foot__links { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 32px); }
.foot__links a { font-size: clamp(12px, 1.3vw, 15px); color: rgba(255, 243, 228, .75); }

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: clamp(18px, 3vh, 36px);
  /* 140% of its own height (the prototype's value) left a sliver of the toast
     poking above the fold; park it its full height plus the bottom gap away. */
  transform: translate(-50%, calc(100% + clamp(18px, 3vh, 36px) + 24px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 99px;
  background: var(--mint);
  color: #123A26;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  transition: transform .5s cubic-bezier(.34, 1.4, .64, 1);
  white-space: nowrap;
}
.toast--on { transform: translate(-50%, 0); }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.oops {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 28px);
  text-align: center;
  padding: clamp(80px, 12vh, 140px) clamp(18px, 4vw, 64px);
  background: radial-gradient(120% 90% at 50% 8%, #5A2E82 0%, #3B1E5C 45%, var(--grape) 100%);
}
.oops__code {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 22vw, 260px);
  line-height: .8;
  letter-spacing: -.05em;
  color: var(--yellow);
}
.oops__text {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(15px, 1.8vw, 22px);
  line-height: 1.5;
  color: rgba(255, 243, 228, .76);
}
