/* ============================================================
   BobaBot — site.css
   Uses tokens from bobabot-tokens.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bb-purple);
}
body {
  margin: 0;
  background: var(--bb-purple);
  color: var(--bb-ink);
  font-family: var(--bb-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ───────── Common typography ───────── */
.display-2 {
  font-family: var(--bb-font-heading);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--bb-ink);
  margin: 0;
}
.display-2 em {
  color: var(--bb-pink-deep);
  font-style: italic;
  font-weight: 500;
}

.bb-meta {
  font-family: var(--bb-font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bb-ink-soft);
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--bb-radius-pill);
  font-family: var(--bb-font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform var(--bb-dur) var(--bb-ease),
              background-color var(--bb-dur) var(--bb-ease),
              color var(--bb-dur) var(--bb-ease),
              border-color var(--bb-dur) var(--bb-ease),
              box-shadow var(--bb-dur) var(--bb-ease);
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform var(--bb-dur) var(--bb-ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-ink { background: var(--bb-ink); color: #fff; }
.btn-ink:hover { background: #2a1a20; }
.btn-pink { background: var(--bb-pink-deep); color: #fff; }
.btn-pink:hover { background: #c2548f; }
.btn-purple { background: var(--bb-purple); color: #fff; }
.btn-purple:hover { background: var(--bb-purple-light); }
.btn-light { background: #fff; color: var(--bb-ink); }
.btn-light:hover { background: var(--bb-pink-deep); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--bb-ink);
  border-color: #fff;
}

/* ============================================================
   NAV — transparent over hero, solid after scroll
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: transparent;
  transition: background var(--bb-dur-slow) var(--bb-ease),
              border-color var(--bb-dur-slow) var(--bb-ease),
              padding var(--bb-dur-slow) var(--bb-ease);
  border-bottom: 1px solid transparent;
}
.site-nav::before {
  content: "";
  position: absolute; inset: 0; bottom: auto; height: 140px; z-index: -1;
  background: linear-gradient(180deg, rgba(20,12,24,0.45) 0%, rgba(20,12,24,0) 100%);
  opacity: 1;
  transition: opacity var(--bb-dur-slow) var(--bb-ease);
  pointer-events: none;
}
.site-nav.scrolled::before { opacity: 0; }
.site-nav.scrolled {
  background: rgba(63,21,126,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.10);
  padding: 12px 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--bb-font-heading); font-weight: 700;
  letter-spacing: -0.01em; color: #fff;
  transition: color var(--bb-dur-slow) var(--bb-ease);
}
.brand-mark {
  width: 30px; height: 30px;
  filter: brightness(0) invert(1);
  transition: filter var(--bb-dur-slow) var(--bb-ease);
}
.brand-word { font-size: 18px; }
.brand-logo {
  height: 24px;
  width: auto;
  max-width: none;
}
@media (max-width: 880px) {
  .brand-logo { height: 19px; }
}

.nav-links { display: flex; gap: 8px; justify-content: center; }
.nav-links a {
  padding: 8px 14px;
  font-family: var(--bb-font-heading);
  font-weight: 500; font-size: 14px;
  color: #fff;
  border-radius: var(--bb-radius-pill);
  transition: background var(--bb-dur) var(--bb-ease),
              color var(--bb-dur-slow) var(--bb-ease);
}
.nav-links a:hover { background: rgba(255,255,255,0.14); }

.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #fff;
  color: var(--bb-ink);
  border-radius: var(--bb-radius-pill);
  font-family: var(--bb-font-heading); font-weight: 600; font-size: 14px;
  transition: background var(--bb-dur) var(--bb-ease), color var(--bb-dur) var(--bb-ease);
}
.nav-cta:hover { background: var(--bb-pink-deep); color: #fff; }
.nav-cta .arrow { transition: transform var(--bb-dur) var(--bb-ease); }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* Scrolled state: stays light (white text on purple) */
.site-nav.scrolled .brand,
.site-nav.scrolled .nav-links a { color: #fff; }
.site-nav.scrolled .brand-mark { filter: brightness(0) invert(1); }
.site-nav.scrolled .nav-links a:hover { background: rgba(255,255,255,0.14); }
.site-nav.scrolled .nav-cta { background: #fff; color: var(--bb-purple); }
.site-nav.scrolled .nav-cta:hover { background: var(--bb-pink-deep); color: #fff; }

@media (max-width: 880px) {
  .site-nav { grid-template-columns: 1fr auto; padding: 12px 18px; }
  .site-nav.scrolled { padding: 10px 18px; }
  .nav-links { display: none; }
}

/* ============================================================
   HERO — scroll-scrubbed video (sticky pin)
   ============================================================ */
.hero-scrub {
  position: relative;
  width: 100%;
  /* Default: normal one-screen hero (static photo). JS expands this
     once a scroll-scrub sequence has actually loaded, so there's never
     dead scroll when no video is present. */
  height: 100vh;
  height: 100svh;
  background: var(--bb-purple-dark);
}
.hero-scrub.has-scrub { height: 145vh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px clamp(24px, 5vw, 64px) clamp(40px, 6vw, 80px);
  color: #fff;
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  display: block;
  /* Hidden until the first frame is painted; the photo shows otherwise */
  opacity: 0;
  transition: opacity 400ms var(--bb-ease);
}
.hero-canvas.ready { opacity: 1; }

/* Autoplay video — full-bleed (portrait clip on phones, wide crop on desktop) */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background: var(--bb-purple-dark);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(24,16,20,0.28) 0%, rgba(24,16,20,0.04) 28%, rgba(24,16,20,0.38) 62%, rgba(24,16,20,0.88) 100%),
    linear-gradient(100deg, rgba(45,15,90,0.40) 0%, rgba(45,15,90,0.06) 48%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 880px) {
  /* Phones: keep the pin only when a scrub sequence is active (Apple-style).
     Without frames it's a normal one-screen hero. */
  .hero-scrub { height: 100vh; height: 100svh; }
  .hero-sticky { height: 100vh; height: 100svh; }
}

/* Short viewports (laptops, landscape) — compact the hero so the kicker
   never collides with the fixed nav. */
@media (max-height: 760px) {
  .hero-sticky { padding-top: 78px; padding-bottom: clamp(24px, 4vw, 44px); }
  .hero-logo { max-height: 62px; }
  .hero-tagline { font-size: clamp(20px, 2.3vw, 30px); }
  .hero-lede { font-size: 15px; max-width: 500px; }
  .hero-content { gap: 12px; }
  .hero-meta-row { padding-top: 14px; margin-top: 4px; }
}
@media (max-height: 620px) {
  .hero-lede { display: none; }
  .hero-logo { max-height: 52px; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
  display: flex; flex-direction: column;
  gap: clamp(16px, 1.7vw, 24px);
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--bb-radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--bb-font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em;
  color: #fff;
  align-self: flex-start;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 520px) {
  .hero-kicker { font-size: 10px; letter-spacing: 0.18em; padding: 8px 12px; }
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bb-mint);
  box-shadow: 0 0 0 4px var(--bb-mint-glow);
  animation: pulse 1.8s var(--bb-ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--bb-mint-glow); }
  50%      { box-shadow: 0 0 0 10px rgba(158,255,158,0.04); }
}

.hero-logo {
  width: clamp(230px, 38vw, 560px);
  height: auto;
  max-height: 84px;
  display: block;
  margin: 0;
}

.hero-tagline {
  font-family: var(--bb-font-heading);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
  margin: 0;
  text-wrap: balance;
}
.hero-tagline em {
  color: var(--bb-pink-soft);
  font-style: italic;
  font-weight: 400;
}
.hero-tagline .tm {
  font-family: var(--bb-font-mono);
  font-size: 0.42em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 0.16em;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
}

.hero-lede {
  font-family: var(--bb-font-body);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0;
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 18px;
  margin-top: 8px;
}
.hero-meta-row li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.hero-meta-row li:first-child { padding-left: 0; }
.hero-meta-row li:last-child { border-right: none; padding-right: 0; }
.hero-meta-row li .bb-meta {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
}
.hero-meta-sub {
  font-family: var(--bb-font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

.hero-scroll {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.7);
  transition: color var(--bb-dur) var(--bb-ease);
}
.hero-scroll:hover { color: #fff; }
.hero-scroll .bb-meta {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: inherit;
  font-size: 10px;
}
.hero-scroll .arrow {
  font-size: 18px;
  animation: bob 2.2s var(--bb-ease) infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@media (max-width: 1024px) {
  .hero-meta-row { gap: 16px 0; }
  .hero-meta-row li {
    flex: 0 0 50%;
    border-right: none;
    padding: 0 20px;
  }
  .hero-meta-row li:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 520px) {
  .hero-meta-row li .bb-meta { font-size: 13px; }
  .hero-meta-sub { font-size: 12px; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--bb-ink);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid var(--bb-bezel);
  position: relative;
}
.marquee-track {
  display: inline-flex; align-items: center;
  gap: 28px;
  padding: 22px clamp(24px, 5vw, 64px);
  white-space: nowrap;
  font-family: var(--bb-font-heading);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: -0.02em;
  will-change: transform;
}
.marquee-track em { color: var(--bb-pink-soft); font-style: italic; font-weight: 400; }
.marquee-track .dot { color: var(--bb-pink-soft); font-size: 0.7em; opacity: 0.6; }

/* ============================================================
   STORY
   ============================================================ */
.story {
  background: #160820;
  color: #fff;
  padding: 0;
}
.story-scrub {
  position: relative;
  min-height: 320vh;
  isolation: isolate;
}
.story-grid {
  max-width: none;
  margin: 0;
  display: block;
}
.story-scrub .story-grid {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  min-height: 620px;
  overflow: hidden;
}
.story-sequence {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bb-purple-dark);
}
.story-sequence-fallback,
.story-sequence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.story-sequence-fallback {
  object-fit: cover;
  object-position: center 45%;
}
.story-sequence-canvas {
  opacity: 0;
  transition: opacity 400ms var(--bb-ease);
}
.story-sequence-canvas.ready {
  opacity: 1;
}
.story-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0%, transparent 48%, rgba(63,21,126,0.18) 64%, rgba(45,15,90,0.68) 100%),
    radial-gradient(ellipse at 82% 18%, rgba(201,83,156,0.24) 0 18%, transparent 48%),
    radial-gradient(ellipse at 82% 84%, rgba(63,21,126,0.38) 0 18%, transparent 50%);
  pointer-events: none;
}

.story-heading,
.story-body {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 64px);
  width: min(600px, 42vw);
  margin: 0;
  padding: 0;
  transform: none;
}
.story-heading {
  top: clamp(34px, 7vh, 76px);
}
.story-body {
  bottom: clamp(42px, 8vh, 92px);
}
.story-heading .bb-meta {
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.68);
}
.story-heading .display-2 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.2vw, 82px);
  text-shadow: 0 3px 10px rgba(0,0,0,0.78), 0 10px 30px rgba(0,0,0,0.46);
}
.story-body p {
  font-size: clamp(16px, 1.15vw, 18px);
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 0 18px;
  text-wrap: pretty;
  text-shadow: 0 2px 8px rgba(0,0,0,0.84), 0 8px 24px rgba(0,0,0,0.46);
}
.story-body p em { color: var(--bb-pink-soft); font-style: italic; font-weight: 500; }

.story-tags {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.story-tags li {
  padding: 8px 14px;
  font-family: var(--bb-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-radius: var(--bb-radius-pill);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
}

@media (max-width: 880px) {
  .story-scrub {
    min-height: 290vh;
  }
  .story-scrub .story-grid {
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
    min-height: 620px;
  }
  .story-shade {
    background:
      linear-gradient(180deg, rgba(63,21,126,0.68) 0%, rgba(63,21,126,0.34) 18%, transparent 36%, transparent 62%, rgba(63,21,126,0.34) 82%, rgba(45,15,90,0.76) 100%),
      radial-gradient(ellipse at 50% 12%, rgba(201,83,156,0.22) 0 16%, transparent 48%),
      radial-gradient(ellipse at 50% 91%, rgba(201,83,156,0.18) 0 16%, transparent 46%);
  }
  .story-heading,
  .story-body {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    padding: 0 24px;
    text-align: center;
    transform: none;
  }
  .story-heading {
    top: 22px;
  }
  .story-body {
    bottom: 28px;
  }
  .story-heading .bb-meta { margin-bottom: 10px; }
  .story-heading .display-2 {
    font-size: clamp(32px, 10vw, 44px);
  }
  .story-body p {
    max-width: 340px;
    margin: 0 auto 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .story-tags {
    display: none;
  }
}

/* End of the walk: text and tint ease away slowly so the kiosk shows clean.
   --p (0→1 scroll progress through the section) is set by site.js */
.story { --fade: clamp(0, (var(--p, 0) - 0.6) / 0.32, 1); }
.story-shade { opacity: calc(1 - var(--fade) * 0.85); }
.story .story-heading.in,
.story .story-body.in {
  opacity: calc(1 - var(--fade));
  transform: translateY(calc(var(--fade) * -24px));
  transition: opacity 250ms linear, transform 250ms linear;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: #fff;
  padding: clamp(72px, 9vw, 140px) clamp(24px, 5vw, 64px);
  color: var(--bb-ink);
}
.section-head {
  max-width: 880px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.section-head .bb-meta { display: inline-block; margin-bottom: 20px; }
.section-head .display-2 { margin: 0 auto; }
.section-head .section-sub {
  margin: 22px auto 0;
  font-size: 17px;
  color: var(--bb-ink-soft);
  max-width: 580px;
  text-wrap: pretty;
}
.section-head-ink { color: var(--bb-ink); }

.steps {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 32px 32px 28px;
  border-radius: var(--bb-radius-lg);
  background: var(--bb-lilac);
  border: 1px solid var(--bb-rule);
  display: flex; flex-direction: column;
  min-height: 360px;
}
.step-num {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
}
.step-num .num {
  font-family: var(--bb-font-heading);
  font-weight: 600;
  font-size: 56px;
  line-height: 0.9;
  color: var(--bb-pink-deep);
  letter-spacing: -0.03em;
}
.step h3 {
  font-family: var(--bb-font-heading);
  font-weight: 600; font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--bb-ink);
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--bb-ink-soft);
  line-height: 1.55;
  flex: 1;
}
.step-illus {
  margin-top: 24px;
  align-self: center;
  background: #fff;
  border-radius: var(--bb-radius-md);
  padding: 12px;
  box-shadow: 0 4px 14px rgba(45,15,90,0.06);
  display: flex; align-items: center; justify-content: center;
  line-height: 0;
  width: 140px; height: 140px;
}
.step-illus svg, .step-illus img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 28px 24px; }
}

/* ============================================================
   DRINK CINEMA
   ============================================================ */
.drink-cinema {
  position: relative;
  height: 155vh;
  overflow: visible;
  display: block;
  background: #000;
  color: #fff;
  isolation: isolate;
}
.drink-cinema-stage {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.drink-cinema-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #000;
}
.drink-cinema-motion img,
.drink-motion-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.drink-motion-canvas {
  opacity: 0;
  transition: opacity 280ms var(--bb-ease);
}
.drink-motion-canvas.ready { opacity: 1; }
.drink-cinema-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center 49%, rgba(0,0,0,0.62) 0 18%, rgba(0,0,0,0.26) 43%, transparent 72%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 34%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.drink-cinema-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - (clamp(24px, 5vw, 64px) * 2));
  max-width: 1280px;
  margin: 0 auto;
}
.drink-cinema-copy {
  position: relative;
  width: min(820px, 100%);
  padding: clamp(44px, 6vw, 72px) 0;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-6vh);
}
.drink-cinema-kicker {
  display: block;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.55) !important;
}
.drink-cinema .display-2 {
  margin: 0;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0,0,0,0.72);
}
.drink-cinema .display-2 em { color: var(--bb-pink-soft); }
.drink-cinema-copy p {
  max-width: 540px;
  margin: 22px auto 0;
  color: rgba(255,255,255,0.76);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
  text-shadow: 0 4px 18px rgba(0,0,0,0.76);
}

@media (max-width: 880px) {
  .drink-cinema {
    height: 150vh;
    min-height: 0;
  }
  .drink-cinema-stage {
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
    min-height: 620px;
    align-items: flex-end;
  }
  .drink-cinema-motion img,
  .drink-motion-canvas {
    object-position: center center;
    transform: none;
  }
  .drink-cinema-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.12) 34%, rgba(0,0,0,0.78) 76%),
      radial-gradient(ellipse at 50% 72%, rgba(0,0,0,0.54) 0 20%, transparent 58%);
  }
  .drink-cinema-copy {
    width: auto;
    padding: 290px 24px 40px;
    margin: 0;
    text-align: center;
    transform: none;
  }
}

/* ============================================================
   SIGNUP
   ============================================================ */
.signup {
  background: var(--bb-lilac);
  padding: clamp(72px, 9vw, 140px) clamp(24px, 5vw, 64px);
}
.signup-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.signup-copy .bb-meta { display: block; margin-bottom: 18px; }
.signup-copy p {
  font-size: 17px;
  color: var(--bb-ink-soft);
  max-width: 540px;
  margin: 22px 0 28px;
  text-wrap: pretty;
}
.signup-form {
  display: flex; gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: var(--bb-radius-pill);
  border: 1px solid var(--bb-rule);
  max-width: 540px;
  box-shadow: var(--bb-shadow-md);
}
.signup-form input {
  flex: 1; border: none; outline: none; background: transparent;
  padding: 14px 18px;
  font-family: var(--bb-font-body); font-size: 16px;
  color: var(--bb-ink);
}
.signup-form input::placeholder { color: var(--bb-muted); }
.signup-form button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--bb-ink); color: #fff;
  border: none; border-radius: var(--bb-radius-pill);
  font-family: var(--bb-font-heading); font-weight: 600; font-size: 15px;
  transition: background var(--bb-dur) var(--bb-ease);
}
.signup-form button:hover { background: var(--bb-pink-deep); }
.signup-form button .arrow { transition: transform var(--bb-dur) var(--bb-ease); }
.signup-form button:hover .arrow { transform: translateX(3px); }

.signup-msg {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--bb-pink-deep);
  font-family: var(--bb-font-heading); font-weight: 500;
}
.signup-msg em { font-style: italic; color: var(--bb-pink-deep); }

.signup-tags {
  list-style: none; padding: 0;
  margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  color: var(--bb-ink-soft);
  font-family: var(--bb-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.signup-tags li::before { content: "· "; color: var(--bb-pink-deep); margin-right: 4px;}

.signup-photo { margin: 0; position: relative; }
.signup-photo img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  object-position: center 15%;
  border-radius: var(--bb-radius-lg);
  box-shadow: 0 24px 60px rgba(45,15,90,0.16);
}
.signup-photo figcaption {
  margin-top: 18px;
  font-size: 14px; color: var(--bb-ink-soft);
}
.signup-photo figcaption .bb-meta { display: block; margin-bottom: 4px; }

@media (max-width: 880px) {
  .signup-grid { grid-template-columns: 1fr; gap: 40px; }
  .signup-photo img { aspect-ratio: 4/5; }
  .signup-form { flex-direction: column; border-radius: var(--bb-radius-md); padding: 12px; }
  .signup-form input { padding: 12px 14px; }
  .signup-form button { width: 100%; justify-content: center; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: #fff;
  padding: clamp(72px, 9vw, 140px) clamp(24px, 5vw, 64px);
}
.faq-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.faq-col-title {
  font-family: var(--bb-font-heading);
  font-weight: 600; font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--bb-ink);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bb-rule);
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--bb-rule); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  font-family: var(--bb-font-heading);
  font-weight: 500; font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--bb-ink);
  transition: color var(--bb-dur) var(--bb-ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bb-pink-deep); }
.faq-item .chev {
  font-family: var(--bb-font-mono);
  font-weight: 400; font-size: 20px;
  color: var(--bb-pink-deep);
  flex-shrink: 0;
  transition: transform var(--bb-dur) var(--bb-ease);
  line-height: 1;
}
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-body {
  padding: 0 40px 24px 0;
  font-size: 15px; line-height: 1.6;
  color: var(--bb-ink-soft);
  max-width: 540px;
  animation: fadeIn 240ms var(--bb-ease);
}
.faq-body a { color: var(--bb-pink-deep); border-bottom: 1px solid currentColor; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VISIT / FOOTER
   ============================================================ */
.visit {
  background: var(--bb-ink);
  color: #fff;
  padding: clamp(64px, 7vw, 100px) clamp(24px, 5vw, 64px) 0;
}
.visit-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.visit-logo { height: 36px; width: auto; margin-bottom: 24px; }
.visit-tag {
  font-size: 17px; line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 360px; margin: 0 0 28px;
}
.visit-tag em { color: var(--bb-pink-soft); font-style: italic; }

.visit-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.visit-meta li {
  font-family: var(--bb-font-body); font-size: 14px;
  color: rgba(255,255,255,0.88);
}
.visit-meta .bb-meta {
  color: rgba(255,255,255,0.5);
  margin-right: 8px; font-size: 10px;
}

.visit-h {
  font-family: var(--bb-font-heading); font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
}
.visit-links, .socials {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.visit-links a, .socials a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--bb-font-heading); font-weight: 500; font-size: 16px;
  color: #fff;
  transition: color var(--bb-dur) var(--bb-ease);
}
.visit-links a:hover, .socials a:hover { color: var(--bb-pink-soft); }
.visit-links .arrow, .socials .arrow {
  font-size: 14px; color: rgba(255,255,255,0.5);
  transition: transform var(--bb-dur) var(--bb-ease);
}
.visit-links a:hover .arrow, .socials a:hover .arrow {
  transform: translateX(3px); color: var(--bb-pink-soft);
}

.visit-p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 24px 0 8px;
  line-height: 1.5;
}
.visit-p .bb-meta { color: rgba(255,255,255,0.4); }
#email-link { color: var(--bb-pink-soft); border-bottom: 1px solid currentColor; }

.visit-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 24px 0;
  font-family: var(--bb-font-body); font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.visit-bottom a { color: var(--bb-pink-soft); border-bottom: 1px solid currentColor; }
.visit-bottom .bb-meta { color: rgba(255,255,255,0.4); letter-spacing: 0.32em; }

@media (max-width: 880px) {
  .visit-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Scroll-to-top
   ============================================================ */
#scrollTop {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bb-ink);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--bb-dur) var(--bb-ease), transform var(--bb-dur) var(--bb-ease);
  z-index: 40;
}
#scrollTop.show { opacity: 1; transform: none; }
#scrollTop:hover { background: var(--bb-pink-deep); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--bb-ease-out), transform 600ms var(--bb-ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Tweaks panel
   ============================================================ */
.tweaks-toggle {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--bb-pink-deep); color: #fff;
  border: none;
  border-radius: var(--bb-radius-pill);
  font-family: var(--bb-font-heading); font-weight: 600; font-size: 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  display: none;
}
.tweaks-toggle.show { display: inline-flex; align-items: center; gap: 8px; }
.tweaks-panel {
  position: fixed; bottom: 78px; left: 24px;
  z-index: 60;
  width: 320px;
  background: #fff;
  border-radius: var(--bb-radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  padding: 20px;
  font-family: var(--bb-font-body);
  display: none;
}
.tweaks-panel.show { display: block; }
.tweaks-h {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 0 16px;
  font-family: var(--bb-font-heading);
  font-weight: 600; font-size: 16px;
  color: var(--bb-ink);
}
.tweaks-h button {
  background: none; border: none;
  font-size: 20px; color: var(--bb-ink-soft);
  cursor: pointer; line-height: 1;
}
.tweak-row { margin-bottom: 16px; }
.tweak-row > label {
  display: block;
  font-family: var(--bb-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-ink-soft);
  margin-bottom: 8px;
}
.tweak-seg {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--bb-lilac);
  border-radius: var(--bb-radius-pill);
}
.tweak-seg button {
  flex: 1;
  background: transparent; border: none;
  padding: 8px 10px;
  font-family: var(--bb-font-heading);
  font-weight: 500; font-size: 12px;
  color: var(--bb-ink-soft);
  border-radius: var(--bb-radius-pill);
  cursor: pointer;
  transition: background var(--bb-dur) var(--bb-ease), color var(--bb-dur) var(--bb-ease);
}
.tweak-seg button.active {
  background: var(--bb-ink); color: #fff;
}

/* ============================================================
   Tweaks: heroOverlay variants
   ============================================================ */
body[data-overlay="dark"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(24,16,20,0.28) 0%, rgba(24,16,20,0.04) 28%, rgba(24,16,20,0.38) 62%, rgba(24,16,20,0.88) 100%),
    linear-gradient(100deg, rgba(45,15,90,0.40) 0%, rgba(45,15,90,0.06) 48%, transparent 70%);
}
body[data-overlay="purple"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(45,15,90,0.55) 0%, rgba(45,15,90,0.55) 60%, rgba(45,15,90,0.92) 100%),
    linear-gradient(110deg, rgba(63,21,126,0.7) 0%, rgba(63,21,126,0.4) 60%, rgba(45,15,90,0.6) 100%);
}
body[data-overlay="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(24,16,20,0.18) 0%, rgba(24,16,20,0.05) 35%, rgba(24,16,20,0.18) 70%, rgba(24,16,20,0.55) 100%),
    linear-gradient(110deg, rgba(45,15,90,0.22) 0%, transparent 60%);
}

/* ============================================================
   Tweaks: footerTone purple
   ============================================================ */
body[data-footer="purple"] .visit { background: var(--bb-purple); }

/* ============================================================
   Cookie banner (js/consent.js)
   ============================================================ */
.cookie-banner {
  position: fixed; z-index: 60;
  left: 24px; bottom: 24px;
  max-width: 440px;
  padding: 18px 20px;
  background: #fff;
  color: var(--bb-ink);
  border-radius: var(--bb-radius-md);
  box-shadow: 0 18px 50px rgba(20,8,40,0.28);
  font-size: 14px; line-height: 1.5;
}
.cookie-banner p { margin: 0 0 14px; }
.cookie-banner a { color: var(--bb-purple); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--bb-radius-pill);
  font-family: var(--bb-font-heading); font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--bb-purple);
  background: #fff; color: var(--bb-purple);
}
.cookie-actions button[data-choice="accepted"] { background: var(--bb-purple); color: #fff; }
.cookie-actions button:hover { background: var(--bb-pink-deep); border-color: var(--bb-pink-deep); color: #fff; }
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
.drink-cinema-cta { margin-top: 28px; }
.hero-h1 { margin: 0; font-size: inherit; line-height: 0; }
