/* =====================================================================
   DrinksBite — styles.css   (plain CSS, no build step)
   Brand palette is taken verbatim from the official DrinksBite brand sheet:
   black #171717 · grey #2A2A2A · white #F5F0EA · yellow #F7B733 (beer)
   purple #8A5BAA (whiskey) · green #669933 (rum). Do not eyeball these.

   1 tokens/reset   2 type      3 buttons     4 header    5 hero
   6 pack (3D)      7 puff       8 puff-field  9 fizz/ghost
   10 flavours      11 pairing + pour slider  12 the puff sec
   13 watch         14 buy       15 footer     16 responsive/motion
   ===================================================================== */

/* ---------- 1. tokens & reset ---------- */
:root {
  --bg:          #171717;
  --bg-2:        #1E1E1E;
  --bg-card:     #2A2A2A;
  --cream:       #F5F0EA;
  --cream-soft:  #B2AFAB;
  --cream-faint: #7B7976;
  --line:        rgba(245, 240, 234, 0.14);

  /* live palette — overridden per theme below */
  --accent:      #F7B733;
  --accent-2:    #ffd36b;
  --wash:        rgba(247, 183, 51, 0.14);
  --ink-on-acc:  #171200;

  /* ---- type ----
     The real brand faces, as specified on the design sheet (files in
     assets/fonts/, declared in the @font-face blocks after this rule).
     The free faces after each name are fallbacks only, used while a file
     loads. Nothing else in this file names a typeface. */
  --font-display: "Geometr706 BlkCn", "Anton", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Aprilio Hope", "Barlow Semi Condensed", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-flavour: "Bernard MT Condensed", "Anton", Georgia, serif;   /* flavour names (sheet p7) */
  --font-label:   "Berlin Sans FB", "Barlow Semi Condensed", system-ui, sans-serif; /* "FLAVOUR" label (sheet p7) */

  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 34px 66px -28px rgba(0, 0, 0, 0.85);
  --maxw:        1180px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- liquid glass material ----
     Two grades. "Live" glass actually refracts what's behind it
     (backdrop-filter) and is reserved for floating chrome that sits over
     moving content — it is expensive, so it is used sparingly. "Flat" glass
     is the same optical look (rim light, sheen, translucency) with no blur,
     for panels that sit on a solid ground where a blur would buy nothing. */
  --glass-tint:  rgba(255, 255, 255, 0.055);
  --glass-tint2: rgba(255, 255, 255, 0.015);
  --glass-blur:  blur(26px) saturate(180%);
  --glass-edge:  rgba(255, 255, 255, 0.11);
  --glass-rim:   rgba(255, 255, 255, 0.30);
  --glass-lift:  0 20px 44px -20px rgba(0, 0, 0, 0.7);
}

body[data-theme="beer"] {
  --accent: #F7B733; --accent-2: #ffd36b;
  --wash: rgba(247, 183, 51, 0.16); --ink-on-acc: #171200;
}
body[data-theme="rum"] {
  --accent: #669933; --accent-2: #8FBF4A;
  --wash: rgba(102, 153, 51, 0.16); --ink-on-acc: #0e1400;
}
body[data-theme="whiskey"] {
  --accent: #8A5BAA; --accent-2: #c8a9e6;
  --wash: rgba(138, 91, 170, 0.18); --ink-on-acc: #14071e;
}

@font-face { font-family: "Geometr706 BlkCn"; src: url("../fonts/geometr706-blkcn.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aprilio Hope"; src: url("../fonts/aprilio-hope.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bernard MT Condensed"; src: url("../fonts/bernard-mt-condensed.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Berlin Sans FB"; src: url("../fonts/berlin-sans-fb-bold.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.75rem); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.14rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Belt and braces against sideways drift on phones. `overflow-x: hidden` on
   <body> alone does nothing when <html> is the scroll container, so it has to
   go on both. `clip` is preferred where supported because, unlike `hidden`, it
   does not turn the element into a scroll container. */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* theme-tinted ambient glow that shifts with the active flavour */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 82% 12%, var(--wash), transparent 70%),
    radial-gradient(50% 40% at 10% 88%, var(--wash), transparent 72%);
  transition: background 0.6s var(--ease);
}
/* The brand's own jowar-puff watermark, lifted off page 1 of the design sheet.
   puff-pattern.png is a rebuilt 756x390 cell: four real puffs on the sheet's
   exact lattice (85px puffs, 378px columns, 195px rows, alternate rows offset
   half a column), keyed so every copy bleeding off an edge matches the one
   bleeding in — so it tiles with no seam. It is white with alpha, so the
   opacity below is the only knob for how strong it reads.
   0.075 reproduces the sheet: puffs sit ~7% lighter than the #171717 ground. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../img/puff-pattern.png");
  background-repeat: repeat;
  background-size: var(--puff-tile) auto;
  opacity: 0.075;
}
:root { --puff-tile: 430px; }   /* puffs land ~48px across */
/* lift page content above the fixed background glow/dots, without touching the header */
main, .site-footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.6em; }

.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; }

/* ---------- 2. type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400; line-height: 0.95; letter-spacing: 0.005em;
  text-transform: uppercase; margin: 0 0 0.4em; text-wrap: balance;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.78rem;
  font-weight: 600; color: var(--accent); margin: 0 0 1rem;
}
.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; padding: 0 1.25rem; }
.section-head h2 { font-size: clamp(2.4rem, 6.5vw, 4rem); }
.section-head__sub { color: var(--cream-soft); margin: 0.75rem 0 0; font-size: 1.05rem; }
.section-head--left { max-width: none; margin: 0 0 1.5rem; text-align: left; padding: 0; }

/* slim intro band under the hero */
.strip {
  border-block: 1px solid var(--line);
  /* translucent, not a solid fill, so the puff watermark carries through the band */
  background: rgba(245, 240, 234, 0.035);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}
.strip p { max-width: 60ch; margin: 0 auto; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--cream-soft); }
.strip b { color: var(--cream); font-weight: 600; }

/* The registered DRINKS BITE™ lockup, as vector art taken from the brand
   sheet — never re-typeset it in a substitute font. */
.brand__logo { display: block; width: auto; height: 1.8rem; }
.brand__logo--footer { height: clamp(3.4rem, 9vw, 4.6rem); }

/* ---------- 3. buttons ---------- */
.btn {
  --pad-y: 0.85rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pad-y) 1.7rem; border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--sm { --pad-y: 0.55rem; padding: var(--pad-y) 1.15rem; font-size: 0.9rem; }
.btn--solid {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: var(--ink-on-acc); border-color: var(--accent);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px var(--accent); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4. header ---------- */
:root { --header-h: 3.6rem; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
  padding: 0 clamp(1.1rem, 4vw, 2.5rem);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(23, 23, 23, 0.86); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; }

/* nav is a body-level fixed element; on desktop it floats at the top-right */
.nav {
  position: fixed; top: 0; right: 0; z-index: 51;
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  padding-right: clamp(1.1rem, 4vw, 2.5rem);
}
.nav a { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-soft); transition: color 0.2s; }
.nav a:hover { color: var(--cream); }
.nav a.btn--solid { color: var(--ink-on-acc); }

/* ---------- 5. hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(7rem, 14vh, 10rem) clamp(1.25rem, 5vw, 3rem) 4rem;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin: 0.1em 0 0.5rem; line-height: 1; }
.hero__logo { width: clamp(210px, 26vw, 330px); height: auto; }
.hero__tagline {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem); letter-spacing: 0.14em;
  color: var(--accent); margin: 0 0 1.1rem;
}
.hero__lede { max-width: 32ch; color: var(--cream-soft); font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem); }
.hero__lede em { color: var(--cream); font-style: italic; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.3rem; }
.hero__hint { font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); margin: 0; }
.hero__stage { position: relative; z-index: 2; display: grid; place-items: center; min-height: 62vh; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2;
  width: 24px; height: 40px; border: 2px solid var(--line); border-radius: 13px;
  display: grid; place-items: start center; padding-top: 7px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; translate: 0 -4px; } 40% { opacity: 1; } 100% { opacity: 0; translate: 0 12px; } }

/* ---------- 6. pack shot (real artwork + pointer tilt) ---------- */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Hero pack: black artwork on a white photo backing, stood on a warm cream
   "shelf" and multiply-blended so the white drops out.  Swipe / drag to turn
   it front-to-back; a dark centre spine gives it real thickness mid-turn. */
.pack-shot {
  position: relative;
  width: min(420px, 84vw);
  aspect-ratio: 4 / 4.4;
  padding: 6% 8%;
  border-radius: 26px;
  background: radial-gradient(120% 90% at 50% 30%, #F5F0EA, #E2DCD3);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  perspective: 1500px;
  touch-action: pan-y;           /* vertical scroll passes through; JS takes the horizontal swipe */
  cursor: grab;
}
.pack-shot:active { cursor: grabbing; }

.pack3d {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
  will-change: transform;
  animation: float 7s ease-in-out infinite;
  /* cream plane inside the 3D context so each face's multiply-blend has cream
     directly behind it on both sides */
  background: radial-gradient(120% 90% at 50% 30%, #F5F0EA, #E2DCD3);
  border-radius: 12px;
}
.pack3d.is-dragging { transition: none; animation-play-state: paused; }

/* ONE artwork layer, never hidden — spin.js swaps its src at the 90° point.
   Two stacked faces do not work here: the packs are multiply-blended (to drop
   their white photo backing) and a blended layer gets flattened out of the
   preserve-3d context, after which the browser culls BOTH faces and the pack
   disappears. With a single always-visible image there is nothing to cull. */
.pack-img {
  display: block; position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
  transform: translateZ(11px);
}
/* past halfway the whole card is mirrored — counter-rotate so the back
   artwork reads the right way round */
.pack3d.is-back .pack-img { transform: rotateY(180deg) translateZ(11px); }

/* dark spine down the centre axis — hidden when a face is toward you,
   visible mid-turn so the packet reads as a solid object with thickness */
.pack3d__edge {
  position: absolute; left: 50%; top: 10%; height: 80%; width: 22px;
  background: linear-gradient(90deg, #060606, #1e1e1e 50%, #060606);
  border-radius: 3px;
  transform: translateX(-50%) rotateY(90deg);
}

.pack-img--card {
  max-width: 100%; max-height: 100%;
  animation: none;
  transition: transform 0.3s var(--ease);
}
.flavour-card:hover .pack-img--card,
.flavour-card.is-active .pack-img--card { transform: translateY(-4px) scale(1.03); }

/* ---------- 7. real puff photos (accent + drift) ---------- */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }



/* ---------- 9. fizz + glass ghost ---------- */
/* fixed layer that sits BEHIND all page content (z-index:-1): carbonation rises
   in the open background and is hidden wherever a card, photo or text-fog covers
   it.  translateZ keeps iOS Safari painting it during momentum scroll. */
.fizz {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  transform: translateZ(0); will-change: transform;
}
.fizz b {
  position: absolute; bottom: -24px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--accent);
  opacity: 0; animation: rise linear infinite;
}
@keyframes rise {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55); }
  14%  { opacity: 0.5; }
  80%  { opacity: 0.28; }
  100% { opacity: 0; transform: translate3d(0, -102vh, 0) scale(1.05); }
}

/* soft "fog" behind reading blocks — dims any bubble that rises behind text */
.hero__copy, .section-head, .pairing__step, .story__text, .diff-list,
.watch__follow, .buy__trade, .flavours__note, .site-footer__legal {
  position: relative;
}
.hero__copy::before, .section-head::before, .pairing__step::before,
.story__text::before, .diff-list::before, .watch__follow::before,
.buy__trade::before, .flavours__note::before, .site-footer__legal::before {
  content: ""; position: absolute; inset: -1.25rem -1.9rem; z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--bg) 42%, rgba(20, 20, 20, 0) 80%);
}
.glass-ghost {
  position: absolute; z-index: 0; right: 3%; top: 50%; transform: translateY(-42%);
  width: min(240px, 30vw); height: min(500px, 60vh); pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--accent) 32%, transparent); border-top: none;
  border-radius: 6px 6px 40% 40% / 6px 6px 12% 12%;
  opacity: 0.32; transition: border-color 0.5s var(--ease);
}
@media (max-width: 960px) { .glass-ghost { display: none; } }

/* ---------- 10. flavours ---------- */
.flavours { padding: clamp(4rem, 12vw, 8rem) 0; }
.flavour-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem);
}
.flavour-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.flavour-card[data-theme="beer"]    { --card-accent: #F7B733; --card-accent-2: #ffd36b; }
.flavour-card[data-theme="rum"]     { --card-accent: #669933; --card-accent-2: #d7e07a; }
.flavour-card[data-theme="whiskey"] { --card-accent: #8A5BAA; --card-accent-2: #c8a9e6; }
.flavour-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(80% 55% at 50% -10%, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 70%);
  transition: opacity 0.3s var(--ease);
}
.flavour-card:hover, .flavour-card.is-active {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--card-accent) 60%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--shadow),
              0 0 0 1px color-mix(in srgb, var(--card-accent) 30%, transparent);
}
.flavour-card.is-active::before { opacity: 1; }
.flavour-card > * { position: relative; z-index: 1; }
.flavour-card__stage {
  position: relative; height: 264px; margin-bottom: 1rem;
  padding: 0.9rem; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 25%, #F5F0EA, #E2DCD3);
}
.flavour-card__stage .pack-img--card {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.flavour-card__body { display: flex; flex-direction: column; flex: 1; container-type: inline-size; }
/* Set exactly as page 7 of the brand sheet: a cream "FLAVOUR" label in
   Berlin Sans FB Bold over the name in Bernard MT Condensed, in the flavour
   colour, broken onto two lines. One font-size for all three cards, so the
   letters are the same height everywhere. */
.flavour-card__label {
  font-family: var(--font-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
  font-size: 1.05rem; color: var(--cream); margin: 0 0 0.2rem;
}
.flavour-card__title {
  font-family: var(--font-flavour); font-weight: 400;
  /* scale with the card so "TOASTED SESAME" (the longest line, ~8.8em per
     unit of size) never overflows; capped so desktop cards match the sheet */
  font-size: min(2.75rem, 10.8cqi); line-height: 0.95; letter-spacing: 0;
  color: var(--card-accent); margin: 0 0 0.7rem; text-wrap: nowrap;
}
.flavour-card__pair {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--card-accent); margin: 0 0 0.9rem;
}
.flavour-card__pair .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--card-accent); }
.flavour-card__desc { color: var(--cream-soft); font-size: 1rem; margin: 0 0 0.9rem; }
.flavour-card__note {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--card-accent-2); margin: 0 0 1.25rem;
}
.flavour-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.serve { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-faint); }
.flavours__note {
  max-width: var(--maxw); margin: 2rem auto 0; padding: 0 clamp(1.25rem, 5vw, 3rem);
  text-align: center; font-size: 0.82rem; color: var(--cream-faint);
}

/* ---------- 11. pairing + pour slider ---------- */
.pairing { padding: clamp(4rem, 12vw, 8rem) 0; }
.pairing__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }

.pour { max-width: 680px; margin: 0 auto clamp(3rem, 8vw, 5rem); }
.pour[data-theme="beer"]    { --accent: #F7B733; --accent-2: #ffd36b; }
.pour[data-theme="rum"]     { --accent: #669933; --accent-2: #8FBF4A; }
.pour[data-theme="whiskey"] { --accent: #8A5BAA; --accent-2: #c8a9e6; }
.pour__viewport { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.pour__track { display: flex; transition: transform 0.6s var(--ease); }
.pour__slide { flex: 0 0 100%; margin: 0; position: relative; }
.pour__slide img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pour__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: 0.1rem; padding: 2.5rem 1.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.85));
}
.pour__drink { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; color: var(--accent); }
.pour__with { font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-soft); }

.pour__dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }
.pour__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.pour__dots button.is-on { background: var(--accent); transform: scale(1.3); }

.pairing__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: repeat(3, 1fr); }
.pairing__step { opacity: 0.32; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.pairing__step.is-in { opacity: 1; transform: none; }
.pairing__num { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); display: block; margin-bottom: 0.3rem; }
.pairing__step h3 { font-size: 1.4rem; }
.pairing__step p { color: var(--cream-soft); margin: 0; }

/* ---------- 12. story ---------- */
.story { padding: clamp(4rem, 12vw, 8rem) 0; }
.story__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
}
/* ---- tasting flight ----
   Three top-down bowls orbiting one focal point: the next bowl waits high on
   the left, slides down through the bright centre, then drops away low-left.
   Only the focused bowl is full strength; the other two sit back, faint and
   small. Rotation lives on the <img>, position/scale/opacity on the wrapper,
   so the turntable spin and the orbit never fight over `transform`. */
.flight {
  display: grid; grid-template-columns: 1fr 0.8fr;
  gap: clamp(1rem, 3vw, 2rem); align-items: center;
}
.flight__stage { position: relative; aspect-ratio: 1 / 1; }

.flight__bowl {
  position: absolute; inset: 0; margin: 0; border-radius: 50%;
  transform-origin: 50% 50%;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: transform, opacity;
}
.flight__bowl[data-theme="beer"]    { --bowl-accent: #F7B733; }
.flight__bowl[data-theme="whiskey"] { --bowl-accent: #8A5BAA; }
.flight__bowl[data-theme="rum"]     { --bowl-accent: #669933; }

/* waiting, high on the left */
.flight__bowl.is-in   { transform: translate(-20%, -50%) scale(0.40); opacity: 0.3; filter: saturate(0.65) brightness(0.7); }
/* focused */
.flight__bowl.is-active { transform: none; opacity: 1; filter: none; z-index: 2; }
/* departing, low on the left */
.flight__bowl.is-out  { transform: translate(-20%,  50%) scale(0.40); opacity: 0.3; filter: saturate(0.65) brightness(0.7); }

.flight__bowl img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.flight__bowl.is-active img { animation: turntable 48s linear infinite; }
@keyframes turntable { to { transform: rotate(360deg); } }

/* the ring belongs to the bowl, not the stage, so it always hugs the rim */
.flight__bowl::after {
  content: ""; position: absolute; inset: -2.5%; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--bowl-accent) 60%, transparent);
  opacity: 0; transition: opacity 0.8s var(--ease); pointer-events: none;
}
.flight__bowl.is-active::after { opacity: 1; box-shadow: 0 0 70px -22px var(--bowl-accent); }

.flight__names { display: grid; gap: 0.15rem; align-content: center; }
.flight__names button {
  position: relative; display: grid; gap: 0.15rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 0.6rem 0 0.6rem 2.1rem;
  border-top: 1px solid transparent;
  transition: opacity 0.5s var(--ease), border-color 0.5s var(--ease);
  opacity: 0.45;
}
.flight__names button + button { border-top-color: var(--line); }
.flight__names button:hover { opacity: 0.8; }
.flight__names button.is-on { opacity: 1; }
.flight__names button[data-i="0"].is-on { --name-accent: #F7B733; }
.flight__names button[data-i="1"].is-on { --name-accent: #8A5BAA; }
.flight__names button[data-i="2"].is-on { --name-accent: #669933; }

.flight__idx {
  position: absolute; left: 0; top: 0.72rem;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--cream-faint); transition: color 0.5s var(--ease);
}
.flight__names button.is-on .flight__idx { color: var(--name-accent); }

.flight__name {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.02em; font-size: clamp(1rem, 1.9vw, 1.35rem); line-height: 1.1;
  color: var(--cream-soft); transition: color 0.5s var(--ease);
}
.flight__names button.is-on .flight__name { color: var(--name-accent); }

/* the note only opens on the focused flavour, so the panel fills out as the
   bowls turn instead of sitting as three dead lines of text */
.flight__meta {
  display: grid; gap: 0.15rem;
  font-size: 0.92rem; line-height: 1.4; color: var(--cream-soft);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.6s var(--ease);
}
.flight__meta b {
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--name-accent, var(--cream-faint));
}
.flight__names button.is-on .flight__meta { max-height: 7em; opacity: 1; margin-top: 0.3rem; }
@media (prefers-reduced-motion: reduce) {
  .flight__bowl.is-active img { animation: none; }
}
.story__text p { color: var(--cream-soft); margin: 0 0 1rem; }
.story__text p b { color: var(--cream); font-weight: 600; }

/* ---------- 12b. why drinksbite ---------- */
.difference { padding: clamp(4rem, 12vw, 8rem) 0; }
.difference__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
}
.difference__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
/* portrait bowl shot; the bowl sits right of centre in the frame, so bias the crop that way */
.difference__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 65% 60%; }
.diff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.diff-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.1rem; color: var(--cream-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.diff-list b { color: var(--cream); font-weight: 700; }
.diff-list__ic { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- 13. watch ---------- */
.watch { padding: clamp(4rem, 12vw, 8rem) 0; }
.watch__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.watch__card {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--wc, #F7B733) 16%, transparent), transparent 62%), var(--bg-card);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem;
  padding: 1.1rem; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.watch__card[data-theme="beer"]    { --wc: #F7B733; }
.watch__card[data-theme="rum"]     { --wc: #669933; }
.watch__card[data-theme="whiskey"] { --wc: #8A5BAA; }
.watch__card:hover { transform: translateY(-4px); border-color: var(--wc); }
.watch__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid var(--wc); background: color-mix(in srgb, var(--wc) 16%, transparent);
}
.watch__play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--wc);
}
.watch__label { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cream); position: relative; z-index: 1; }
.watch__soon { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); position: relative; z-index: 1; }
.watch__follow { text-align: center; margin: 2.25rem 0 0; }
.watch__follow a { color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 1px; letter-spacing: 0.06em; }

/* ---------- 14. buy ---------- */
.buy { padding: clamp(4rem, 12vw, 8rem) 0 clamp(5rem, 12vw, 9rem); }
.buy__grid { max-width: 860px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.buy__card {
  display: grid; gap: 0.35rem; place-content: center; text-align: center; min-height: 130px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.buy__card:hover { transform: translateY(-4px); border-color: var(--accent); }
.buy__store { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.3rem; }
.buy__status { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-faint); }
.buy__card.is-soon { cursor: not-allowed; opacity: 0.62; }
.buy__card.is-soon:hover { transform: none; border-color: var(--line); }
.buy__trade { text-align: center; margin: 2.25rem 0 0; color: var(--cream-soft); }
.buy__trade a { color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* =====================================================================
   15b. LIQUID GLASS
   Placed after the component rules so it layers over their backgrounds.

   LIVE glass  — really refracts the moving content behind it. Costly, so
                 only floating chrome gets it: the top bar, the mobile
                 bottom bar, and the caption riding over the bar photos.
   FLAT glass  — same optics (rim light, sheen, depth) minus the blur, for
                 panels sitting on a solid ground where a blur buys nothing
                 but still costs a full-screen composite on every scroll.
   ===================================================================== */

/* ---- live glass ---- */
.site-header.is-stuck {
  background:
    linear-gradient(180deg, var(--glass-tint), var(--glass-tint2)),
    rgba(23, 23, 23, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-lift);
  border-bottom-color: var(--glass-edge);
}

/* The pour caption gets FLAT glass only — deliberately no backdrop-filter.
   It lives inside a translated, overflow:hidden carousel, and a blurred
   backdrop there samples pixels from outside the clip, so the neighbouring
   slides smear through the caption and the three drinks look overlapped. */
.pour__slide figcaption {
  background:
    linear-gradient(180deg, var(--glass-tint), var(--glass-tint2)),
    linear-gradient(transparent 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.9) 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  /* No top border or rim highlight here — the caption sits ON the photo, so a
     1px edge draws a hard line straight across the picture. The gradient ramp
     is what separates caption from image. */
  border: 0;
  box-shadow: none;
}

/* ---- flat glass ---- */
.flavour-card,
.buy__card,
.watch__card {
  position: relative;
  background:
    linear-gradient(180deg, var(--glass-tint), var(--glass-tint2)),
    var(--bg-card);
  border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-lift);
}
.watch__card {
  background:
    linear-gradient(180deg, var(--glass-tint), var(--glass-tint2)),
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--wc, #F7B733) 16%, transparent), transparent 62%),
    var(--bg-card);
}

/* ---- the sheen: a raking highlight that reads as a curved glass surface.
        ::before is already spoken for on .flavour-card, so this uses ::after. */
.flavour-card::after,
.buy__card::after,
.watch__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.02) 26%,
    transparent 48%,
    transparent 100%);
}
/* Keep the sheen under the card's own content. NB: .watch__card children must
   NOT be forced to position:relative — .watch__play is absolutely centred and
   would jump to the corner. They are already positioned, so z-index alone. */
.flavour-card > *, .buy__card > * { position: relative; z-index: 1; }
.watch__card > * { z-index: 1; }

@supports not (backdrop-filter: blur(1px)) {
  .site-header.is-stuck { background: rgba(23, 23, 23, 0.93); }
}

/* ---------- 15. footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 3rem) 2.5rem; }
.site-footer__top { max-width: var(--maxw); margin: 0 auto 2.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__tag { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--cream-faint); margin: 0; }
.site-footer__cols { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.site-footer__cols h4 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; color: var(--cream-faint); margin: 0 0 0.7rem; }
.site-footer__cols p { margin: 0; color: var(--cream-soft); font-size: 0.95rem; line-height: 1.85; }
.site-footer__cols a:hover { color: var(--accent); }
.site-footer__legal {
  max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: grid; gap: 0.6rem; font-size: 0.82rem; color: var(--cream-faint);
}
.site-footer__legal p { margin: 0; }
.site-footer__disclaimer { max-width: 70ch; }

/* ---------- 16. responsive / reduced-motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  /* Glass top bar. Safe to blur again now that the old fixed drawer is gone —
     backdrop-filter used to make this element the containing block for it. */
  .site-header,
  .site-header.is-stuck {
    background:
      linear-gradient(180deg, var(--glass-tint), var(--glass-tint2)),
      rgba(23, 23, 23, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-edge);
    box-shadow: inset 0 1px 0 var(--glass-rim);
  }

  /* nav becomes a bottom bar — one fixed element, always visible, nothing to
     open or close.  Reliable on iOS Safari. */
  .nav {
    top: auto; right: 0; left: 0; bottom: 0;
    height: auto; z-index: 60;
    flex-direction: row; align-items: center; justify-content: space-around; gap: 0.15rem;
    padding: 0.45rem 0.4rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    /* liquid glass — the page (and the bubbles) refract through it as you scroll */
    background:
      linear-gradient(180deg, var(--glass-tint), var(--glass-tint2)),
      rgba(20, 20, 20, 0.62);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-edge);
    box-shadow: inset 0 1px 0 var(--glass-rim), 0 -14px 34px rgba(0, 0, 0, 0.45);
  }
  @supports not (backdrop-filter: blur(1px)) {
    .nav { background: rgba(23, 23, 23, 0.97); }
  }
  .nav a {
    font-size: 0.8rem; letter-spacing: 0.03em; font-weight: 600;
    padding: 0.45rem 0.35rem; color: var(--cream-soft);
  }
  .nav a:active { color: var(--accent); }
  .nav a.nav__buy { padding: 0.5rem 1.05rem; font-size: 0.8rem; }

  /* keep content clear of the bottom bar */
  main { padding-bottom: 3.5rem; }
  .site-footer { padding-bottom: calc(2.5rem + 3.5rem); }

  .hero { grid-template-columns: 1fr; text-align: center; gap: 1rem; padding-top: 8rem; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stage { order: -1; min-height: 48vh; }

  .flavour-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pairing__steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .story__inner { grid-template-columns: 1fr; }
  /* keep the bowls left / names right well down into tablet widths — stacking
     them leaves the section looking half-empty */
  .flight { max-width: 620px; margin-inline: auto; }
  .difference__inner { grid-template-columns: 1fr; text-align: center; }
  .diff-list { justify-items: center; }
  .diff-list li { justify-content: center; }
  .difference__photo { max-width: 420px; margin-inline: auto; }
  .watch__grid { grid-template-columns: 1fr; max-width: 360px; }
  .buy__grid { grid-template-columns: 1fr; max-width: 340px; }
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* only stack the flight once there genuinely is not room for two columns */
@media (max-width: 560px) {
  /* scale the watermark down so the puffs stay a background texture on phones */
  :root { --puff-tile: 300px; }
  .flight { grid-template-columns: 1fr; gap: 1.25rem; max-width: 400px; }
  .flight__names { justify-items: stretch; }
}
@media (max-width: 480px) {
  .hero__logo { width: clamp(190px, 52vw, 260px); }
  .scene { --pw: 230px; --ph: 324px; --pd: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .pack, .puff-orbit .puff { animation: none; }
  .fizz { display: none; }
  .reveal, .pairing__step { opacity: 1; transform: none; }
}
