/* =========================================================
   TANDA — Apna Thanda. Apna Josh.
   Vanilla HTML / CSS / JS single-page brand site
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --ink: #12021f;
  --purple-950: #0b0220;
  --purple-900: #1b0347;
  --purple-800: #270471;
  --purple-700: #3a1285;
  --purple-600: #441e8f;
  --violet-500: #596dd6;
  --red: #ed1c24;
  --berry: #5b1687;
  --gold: #ffd166;
  --white-70: rgba(255, 255, 255, 0.7);

  --font-display: "Archivo Black", Impact, "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Kaushan Script", "Segoe Script", cursive;

  --gutter: clamp(20px, 5vw, 90px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--purple-950);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open,
body.modal-open { overflow: hidden; }

img, svg { display: block; }

a { color: inherit; }

button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--purple-800); }

::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0118; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7b2cff, #441e8f);
  border-radius: 99px;
  border: 2px solid #0a0118;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- shared type ---------- */
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0;
}

.grad-text {
  background: linear-gradient(180deg, #fff 16%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    border-color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  background: #7b2cff;
  border-color: #7b2cff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(123, 44, 255, 0.35);
}

.btn--solid {
  background: #fff;
  color: #2a0a5e;
  border-color: #fff;
}

.btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a0a5e;
  box-shadow: 0 12px 26px rgba(255, 209, 102, 0.3);
}

.btn--sm {
  padding: 12px 16px;
  font-size: 10.5px;
}

.play-dot {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

.play-dot::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

/* =========================================================
   SPLASH
   ========================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #270471;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.splash::before {
  content: "";
  position: absolute;
  width: 120vmax;
  height: 120vmax;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.05) 0deg 5deg,
    transparent 5deg 14deg
  );
  animation: spin 60s linear infinite;
}

.splash::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 44, 255, 0.55), transparent 62%);
  filter: blur(10px);
}

body.is-loaded .splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.splash-bottle {
  height: 150px;
  width: auto;
  margin-bottom: 6px;
  animation: splashWipe 1.3s var(--ease) both;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.splash-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  letter-spacing: 0.03em;
  line-height: 1;
  animation: splashWipe 1.3s var(--ease) 0.1s both;
}

.splash-tag {
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: splashWipe 1.3s var(--ease) 0.2s both;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: linear-gradient(0deg, #4b2268 -12%, #641773 64%, #92278f 152%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 78px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav--right { justify-content: flex-end; }

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  opacity: 0.86;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.28s var(--ease);
}

.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }

.brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  padding: 6px 0;
}

.brand-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.brand-text small {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.72;
}

.burger {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 78;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 30px;
  background: linear-gradient(160deg, #3a1285 0%, #641773 56%, #92278f 100%);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0s 0.5s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.5s var(--ease), visibility 0s;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mobile-close:hover { background: #fff; color: #3a1285; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: auto 0;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-nav a span {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.55;
}

.mobile-menu.is-open .mobile-nav a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-nav a:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-nav a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-nav a:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-nav a:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-nav a:nth-child(6) { transition-delay: 0.33s; }

.mobile-foot {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(940px, 95vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(30px, 4.5vh, 60px) var(--gutter) 32px;
  background: radial-gradient(
    120% 92% at 50% 0%,
    #33459f 0%,
    #242a83 26%,
    #180b58 58%,
    #0c0327 100%
  );
  isolation: isolate;
}

.hero-rays {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 165vmax;
  height: 165vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.055) 0deg 4deg,
    transparent 4deg 12deg
  );
  -webkit-mask-image: radial-gradient(
    closest-side,
    #000 8%,
    rgba(0, 0, 0, 0.85) 42%,
    transparent 72%
  );
  mask-image: radial-gradient(
    closest-side,
    #000 8%,
    rgba(0, 0, 0, 0.85) 42%,
    transparent 72%
  );
  animation: spin 100s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: min(900px, 82vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(123, 44, 255, 0.55), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 1;
}

.hero-head {
  position: relative;
  z-index: 5;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  padding-top: clamp(8px, 3vh, 36px);
}

.pill {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-top: clamp(14px, 2.8vh, 28px);
  font-size: clamp(34px, min(10.5vw, 13vh), 140px);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title .grad-text {
  filter: drop-shadow(7px 8px 0 rgba(68, 30, 143, 0.9));
}

.hero-title .outline-text {
  margin-top: 0.02em;
  filter: drop-shadow(6px 7px 0 rgba(10, 2, 32, 0.35));
}

.hero-sub {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-stage {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 32px 54px rgba(0, 0, 0, 0.5));
}

body.is-loaded .hero-stage {
  animation: riseIn 1s var(--ease) 0.1s both;
}

.hero-bottle {
  width: auto;
  height: clamp(240px, 40vh, 460px);
}

.hero-bottle--1 {
  height: clamp(175px, 30vh, 340px);
  transform: rotate(-7deg) translateX(14%);
}

.hero-bottle--2 {
  position: relative;
  z-index: 2;
}

.hero-bottle--3 {
  height: clamp(175px, 30vh, 340px);
  transform: rotate(7deg) translateX(-14%);
}

.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -40px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.22);
  animation: floatBubble var(--d) linear var(--delay) infinite;
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-cue span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #fff, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: left;
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 11px 0;
  background: linear-gradient(90deg, #ed1c24, #c81e6e 50%, #5b1687);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 34s linear infinite;
}

.ticker span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker i {
  font-style: normal;
  font-size: 11px;
  opacity: 0.6;
}

/* =========================================================
   LEGACY
   ========================================================= */
.legacy {
  position: relative;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  background: linear-gradient(180deg, #05102e 0%, #2a1470 46%, #421c8d 100%);
}

.legacy-card {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(26px, 4.5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: linear-gradient(160deg, #241f6e 0%, #462897 42%, #6430b9 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.legacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.1), transparent 36%),
    radial-gradient(circle at 86% 82%, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.legacy-title {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(28px, 4vw, 54px);
  font-size: clamp(30px, 4.6vw, 58px);
  text-align: center;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.28));
}

.legacy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr minmax(200px, 280px);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.poster {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  padding: 18px;
  border: 6px solid #fff8e9;
  border-radius: 8px;
  background: #f6ead1;
  color: #2a1240;
  overflow: hidden;
  transform: rotate(-2.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.poster-rays {
  position: absolute;
  inset: -42%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(226, 108, 56, 0.22) 0deg 7deg,
    transparent 7deg 16deg
  );
  animation: spin 46s linear infinite;
}

.poster-est,
.poster-year,
.poster-line { position: relative; display: block; }

.poster-est {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #a83212;
}

.poster-year {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.poster-line {
  max-width: 82%;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.poster-bottle {
  position: absolute;
  right: -12%;
  bottom: -10%;
  height: 76%;
  width: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.legacy-copy .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.legacy-lede {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.14;
  text-transform: uppercase;
}

.legacy-text {
  max-width: 52ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

.stats {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stats div { min-width: 0; }

.stats dt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1;
}

.stats dd {
  margin: 5px 0 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.legacy-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.legacy-bottle {
  position: relative;
  z-index: 2;
  height: clamp(220px, 26vw, 340px);
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.42));
}

.legacy-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(150px, 16vw, 210px);
  height: auto;
  animation: spin 30s linear infinite;
  opacity: 0.9;
}

/* =========================================================
   MATCH DAY
   ========================================================= */
.match {
  position: relative;
  background: linear-gradient(180deg, #021630 0%, #062a63 30%, #0a4f9c 60%, #0b6bb5 100%);
  overflow: hidden;
}

.match-hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(64px, 9vw, 110px) var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}

.crowd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background-color: #062a63;
  background-image: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18) 0 1.6px, transparent 2px),
    radial-gradient(circle at 50% 55%, rgba(0, 0, 0, 0.38) 0 2.4px, transparent 3px),
    radial-gradient(circle at 30% 30%, rgba(237, 28, 36, 0.22) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 65%, rgba(255, 209, 102, 0.16) 0 2.6px, transparent 4px);
  background-size: 16px 14px, 23px 20px, 61px 54px, 47px 42px;
  -webkit-mask-image: linear-gradient(transparent, #000 24%, #000 90%, transparent);
  mask-image: linear-gradient(transparent, #000 24%, #000 90%, transparent);
  opacity: 0.9;
}

.floodlight {
  position: absolute;
  top: -18%;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 62%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.floodlight--l { left: -18%; }
.floodlight--r { right: -18%; }

.match-copy {
  position: relative;
  z-index: 4;
  max-width: 900px;
  text-align: center;
}

.match-title {
  margin-top: 14px;
  font-size: clamp(46px, 8.4vw, 116px);
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.3));
}

.match-sub {
  margin: 16px 0 26px;
  font-size: clamp(14px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.82);
}

.match-bottle {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  width: auto;
  height: clamp(300px, 48vh, 470px);
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

.match.is-visible .match-bottle {
  animation: dropFromTop 1.9s var(--ease) both;
}

/* ---------- electrolyte panel ---------- */
.electrolyte {
  position: relative;
  min-height: clamp(520px, 70vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gutter);
  background: linear-gradient(180deg, #07356f 0%, #0a5aa8 55%, #0b6bb5 100%);
  overflow: hidden;
  isolation: isolate;
}

.electrolyte-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, rgba(124, 246, 255, 0.18), transparent 56%),
    repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 46px);
  z-index: 0;
}

.electrolyte-copy {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.electrolyte-title {
  max-width: 11ch;
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 0.95;
  text-shadow: 4px 4px 0 rgba(0, 0, 48, 0.35);
}

.electrolyte-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
}

.electrolyte-bottle {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -4%;
  width: auto;
  height: clamp(320px, 52vh, 540px);
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.45));
}

.electrolyte.is-visible .electrolyte-bottle {
  animation: dropFromTop 1.8s var(--ease) both;
}

.info-wrap { position: relative; }

.info-card {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 12;
  width: min(320px, 80vw);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: #6b21c8;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.info-card p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
}

.info-card span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-wrap:hover .info-card,
.info-wrap:focus-within .info-card,
.info-wrap.is-open .info-card {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.info-dot {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  font-style: italic;
}

/* =========================================================
   POWER UP
   ========================================================= */
.power {
  position: relative;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  background: linear-gradient(180deg, #000f36 0%, #032f6b 55%, #0462b0 100%);
  overflow: hidden;
}

.power-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

.power-mask {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 260px 260px 28px 28px;
  background: radial-gradient(circle at 50% 18%, #2b1a8a, #0b0730 72%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.power-bottle {
  height: 86%;
  width: auto;
  margin-bottom: -2%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
}

.power.is-visible .power-bottle {
  animation: slideUpBottle 1s var(--ease) both;
}

.ring {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(124, 246, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.ring--1 { width: 74%; aspect-ratio: 1; }
.ring--2 { width: 52%; aspect-ratio: 1; }

.power-stamp {
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 3;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.power-copy .eyebrow { color: rgba(255, 255, 255, 0.62); }

.power-title {
  margin: 14px 0 20px;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 0.86;
  text-shadow: 10px 3px 0 #441e8f;
}

.power-text {
  max-width: 46ch;
  margin: 0 0 28px;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   FLAVOURS / CAROUSEL
   ========================================================= */
.flavours {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(50px, 6vw, 80px);
  background: linear-gradient(180deg, #421c8d 0%, #4d1a83 45%, #611578 100%);
  overflow: hidden;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 30px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 48px);
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.26));
}

.carousel-nav { display: flex; gap: 12px; }

.circle-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.circle-btn svg { width: 22px; height: 22px; }

.circle-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #4a1b8f;
  transform: translateY(-2px);
}

.circle-btn:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
}

.carousel { outline: none; }

.carousel-viewport {
  overflow: hidden;
  padding-left: var(--gutter);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  gap: 28px;
  padding-right: var(--gutter);
  transition: transform 0.65s var(--ease);
  will-change: transform;
}

.carousel.is-dragging .carousel-track {
  transition: none;
  cursor: grabbing;
}

.card {
  position: relative;
  flex: 0 0 clamp(260px, 23vw, 330px);
  height: clamp(470px, 52vw, 560px);
  padding: 26px 24px;
  border-radius: 44px;
  background: linear-gradient(170deg, var(--g1), var(--g2));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.22), transparent 56%);
  opacity: 0.9;
  z-index: 0;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.card-brand,
.card-name,
.card-desc,
.card-index,
.card-meta { position: relative; z-index: 4; }

.card-brand {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.72;
}

.card-name {
  margin: 6px 0 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.card-desc {
  max-width: 24ch;
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-meta {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.68;
}

.card-index {
  position: absolute;
  right: 18px;
  bottom: 2px;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 86px;
  line-height: 1;
  opacity: 0.13;
}

.card-bottle {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -6%;
  width: auto;
  height: 60%;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.45s var(--ease), opacity 0.45s, filter 0.45s;
}

.card-bottle--front {
  z-index: 3;
  bottom: -2%;
  height: 72%;
  opacity: 0;
  transform: translate(-50%, 22%) scale(0.94);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.card:hover .card-desc,
.card:focus-visible .card-desc {
  opacity: 1;
  transform: none;
}

.card:hover .card-bottle--back,
.card:focus-visible .card-bottle--back {
  opacity: 0.35;
  transform: translateX(-50%) scale(0.94);
  filter: grayscale(1) sepia(1) saturate(4) hue-rotate(190deg) brightness(0.72) blur(0.4px);
}

.card:hover .card-bottle--front,
.card:focus-visible .card-bottle--front {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.carousel-foot {
  max-width: var(--max);
  margin: 26px auto 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}

.progress {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease), transform 0.5s var(--ease);
}

.carousel-foot p {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* =========================================================
   MEMORIES
   ========================================================= */
.memories {
  position: relative;
  display: grid;
  grid-template-columns: 35% 65%;
  background: linear-gradient(91deg, #441e8f -12%, #596dd6 120%);
  overflow: hidden;
}

.memories-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 90px) clamp(24px, 3vw, 40px) clamp(56px, 7vw, 90px) var(--gutter);
}

.memories-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.memories-mark .bottle {
  width: auto;
  height: 36px;
}

.memories-title {
  margin: 10px 0 16px;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 0.9;
  text-shadow: 5px 5px 0 #2c0f6b;
}

.memories-text {
  max-width: 36ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.marquee {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(20px, 3vw, 36px) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 45s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.tile {
  position: relative;
  flex: 0 0 clamp(210px, 22vw, 300px);
  aspect-ratio: 1;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: linear-gradient(160deg, var(--t1), var(--t2));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.32), transparent 52%);
  opacity: 0.7;
}

.tile-kicker {
  position: relative;
  z-index: 2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.82;
}

.tile-word {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.tile-year {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.78;
}

.tile-bottle {
  position: absolute;
  right: -8%;
  bottom: -20%;
  z-index: 1;
  width: auto;
  height: 78%;
  transform: rotate(8deg);
  opacity: 0.5;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: linear-gradient(90deg, #ed1c24, #5b1687);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 28px);
}

.footer-links a {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.footer-links a:hover { text-decoration: underline; }

.footer-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.footer-right p {
  margin: 0;
  font-size: 12px;
  opacity: 0.92;
}

.socials { display: flex; gap: 10px; }

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.socials a:hover {
  background: #fff;
  color: #5b1687;
  transform: translateY(-2px);
}

.socials svg { width: 17px; height: 17px; }

/* =========================================================
   VIDEO MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0s;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 0, 18, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(960px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #12032c;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.modal.is-open .modal-dialog { transform: none; }

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover { background: #fff; color: #2a0a5e; }

.modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0220;
}

.modal-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.modal-tag {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 8.5px;
  white-space: nowrap;
}

.video-poster {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, #5b1687, #1b0347 72%);
  overflow: hidden;
}

.video-poster::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.06) 0deg 5deg,
    transparent 5deg 14deg
  );
  animation: spin 60s linear infinite;
}

.vp-eyebrow,
.vp-title,
.vp-note,
.vp-play { position: relative; z-index: 2; }

.vp-eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.65);
}

.vp-title {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 0.9;
  text-transform: uppercase;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.3));
}

.vp-play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.vp-play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.vp-note {
  max-width: 44ch;
  margin: 4px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.vp-note code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-header {
  background: linear-gradient(0deg, #4b2268 -12%, #641773 64%, #92278f 152%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-header .brand { justify-self: start; }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) var(--gutter) 100px;
}

.legal .eyebrow { color: #9c8be0; }

.legal h1 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.legal-updated {
  margin: 0 0 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.legal h2 {
  margin: 38px 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold); }

.legal-note {
  margin: 28px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.05);
}

.legal-note p { margin: 0; font-size: 13.5px; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.legal-back:hover { color: var(--gold); }

/* =========================================================
   REVEAL / MOTION
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.poster[data-reveal] { transform: translateY(30px) rotate(-2.5deg); }
.poster[data-reveal].is-visible { transform: rotate(-2.5deg); }

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

@keyframes riseIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(90px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes dropFromTop {
  0% { transform: translate(-50%, -140%); opacity: 0; }
  16% { opacity: 1; }
  68% { transform: translate(-50%, 5%); }
  84% { transform: translate(-50%, -1.5%); }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes slideUpBottle {
  from { transform: translateY(44px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatBubble {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.55; }
  100% { transform: translateY(-82vh) translateX(24px); opacity: 0; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleX(0.4); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes splashWipe {
  from { clip-path: inset(0 100% 0 0); transform: translateY(10px); opacity: 0; }
  to { clip-path: inset(0 0 0 0); transform: none; opacity: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 861px) and (max-height: 800px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-title { font-size: clamp(34px, min(9vw, 12vh), 110px); }
  .hero-sub { margin-top: 16px; font-size: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-bottle { height: clamp(200px, 32vh, 300px); }
  .hero-bottle--1,
  .hero-bottle--3 { height: clamp(150px, 23vh, 220px); }
}

@media (max-width: 1100px) {
  .legacy-grid {
    grid-template-columns: minmax(150px, 200px) 1fr;
  }

  .legacy-visual {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .legacy-bottle { height: 280px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }

  .header-inner {
    grid-template-columns: 44px 1fr 44px;
    min-height: 68px;
    gap: 0;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .burger {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .memories { grid-template-columns: 1fr; }

  .memories-copy {
    padding-bottom: 0;
  }

  .marquee { padding-bottom: 40px; }
}

@media (max-width: 860px) {
  .power-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .power-mask {
    width: min(420px, 100%);
    justify-self: center;
  }

  .power-copy { text-align: center; }
  .power-text { margin-inline: auto; }

  .match-bottle {
    height: clamp(260px, 38vh, 360px);
    opacity: 0.92;
  }

  .electrolyte-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .electrolyte-right {
    align-items: flex-start;
    text-align: left;
  }

  .electrolyte-bottle {
    height: 300px;
    opacity: 0.55;
  }

  .electrolyte-title { max-width: 100%; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }

  .header-inner { min-height: 64px; }
  .brand-badge { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-text strong { font-size: 20px; }
  .brand-text small { font-size: 7px; letter-spacing: 0.34em; }

  .hero {
    min-height: 92vh;
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .hero-title { font-size: clamp(34px, 10.6vw, 64px); }
  .hero-sub { margin-top: 20px; font-size: 13.5px; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .btn { padding: 14px 18px; font-size: 10.5px; }

  .hero-bottle { height: clamp(160px, 26vh, 240px); }
  .hero-bottle--1,
  .hero-bottle--3 { height: clamp(130px, 20vh, 190px); }
  .scroll-cue { display: none; }

  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legacy-title { margin-bottom: 26px; }
  .poster { width: min(220px, 70%); justify-self: center; }

  .legacy-visual { min-height: 220px; }
  .legacy-bottle { height: 220px; }
  .legacy-badge { width: 150px; }

  .stats { gap: 22px; }

  .match-hero {
    min-height: 600px;
    padding-top: 54px;
  }

  .match-title { font-size: clamp(40px, 12.5vw, 66px); }
  .match-sub { font-size: 13.5px; }

  .electrolyte { padding: 60px var(--gutter); }
  .electrolyte-title { font-size: clamp(22px, 7vw, 32px); }
  .electrolyte-bottle { height: 260px; bottom: 4%; }

  .info-card {
    right: auto;
    left: 0;
    transform: translateY(-6px);
  }

  .info-wrap.is-open .info-card,
  .info-wrap:focus-within .info-card {
    transform: none;
  }

  .power-title { font-size: clamp(34px, 10.6vw, 56px); text-shadow: 6px 3px 0 #441e8f; }
  .power-text { font-size: 13.5px; }
  .power-stamp { top: 16px; right: 12px; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
  }

  .section-title { font-size: clamp(26px, 8vw, 36px); }

  .card {
    flex-basis: min(78vw, 300px);
    height: 460px;
    border-radius: 34px;
  }

  .card-name { font-size: 46px; }

  .carousel-foot { margin-top: 20px; }

  .memories-copy { padding-bottom: 8px; }
  .memories-title { font-size: clamp(34px, 10.5vw, 52px); }
  .marquee { padding: 26px 0 36px; }
  .tile { flex-basis: 230px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-links { justify-content: center; }
  .footer-right { flex-direction: column; gap: 14px; }

  .modal-caption { font-size: 9px; padding: 12px 14px; }
}

/* ---------- touch devices: no hover state ---------- */
@media (hover: none) {
  .card-desc {
    opacity: 1;
    transform: none;
  }

  .card-bottle--front { display: none; }
  .card:hover { transform: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  .poster[data-reveal] {
    opacity: 1;
    transform: none;
  }

  .poster[data-reveal].is-visible { transform: rotate(-2.5deg); }
  body.is-loaded .hero-stage { opacity: 1; }
  .match.is-visible .match-bottle,
  .electrolyte.is-visible .electrolyte-bottle,
  .power.is-visible .power-bottle { animation: none; }
}
