/* ---------- THAI TERPZ — global ---------- */
/* Palette: matte black · purple neon · liquid gold */
:root {
  --ink: #050507;            /* matte black */
  --ink-2: #0c0a14;          /* matte black, lifted */
  --purple: #2a0a4a;          /* deep purple shadow */
  --purple-2: #7c2bff;        /* purple neon */
  --purple-glow: #b266ff;     /* neon halo */
  --honey: #d4af37;           /* liquid gold */
  --honey-2: #f4d36a;         /* gold highlight */
  --cream: #f4ecd8;
  --cream-dim: #c9c2b3;
  --red: #c8362d;
  --plaid: #a02b22;
  --line: rgba(244, 236, 216, 0.10);
  --line-strong: rgba(178, 102, 255, 0.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* overflow-x: clip preserves sticky positioning (overflow:hidden breaks it) */
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--honey); color: var(--ink); }

/* liquid-gold gradient for headlines / accents */
.liquid-gold,
em.liquid-gold {
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.6));
}

/* ---------- typography ---------- */
.display {
  font-family: 'Bagel Fat One', 'Rubik Mono One', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-wrap: balance;
}
.mono {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  color: var(--cream);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,7,18,0.65) 0%, rgba(10,7,18,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav > * { pointer-events: auto; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.nav-logo .dot {
  width: 10px; height: 10px;
  background: var(--honey);
  border-radius: 50%;
  display: inline-block;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.nav-logo-text {
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--honey); }

/* hamburger toggle — visible only on mobile via the media query below */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px 8px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 102;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 999px;
  transition: transform 280ms cubic-bezier(0.2,0.8,0.2,1), opacity 200ms ease;
}
.nav-toggle span + span { margin-top: 6px; }

/* ---------- scroll-scrubbed hero ---------- */
.scrub-wrap {
  position: relative;
  height: 750vh; /* total scroll length driving video */
  height: 750svh;
  background: var(--ink);
}
.scrub-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.scrub-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  display: block;
}

/* preload progress */
.scrub-loader {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.scrub-loader.is-done {
  opacity: 0;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(244,236,216,0.18);
  overflow: hidden;
}
.loader-fill {
  width: 0%;
  height: 100%;
  background: var(--honey);
  transition: width 120ms linear;
}
.loader-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* hero overlay copy — sticky on top of video */
.hero-overlays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.hero-overlay {
  position: absolute;
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}
.hero-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* per-overlay placement */
.hero-overlay.intro {
  top: 27%; left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  width: min(92vw, 980px);
}
.hero-overlay.intro h1 {
  font-size: clamp(56px, 11vw, 168px);
  color: var(--cream);
  text-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.intro-logo {
  width: clamp(120px, 16vw, 220px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
}
/* small black widget pill replacing the old "Thai Terpz" headline */
.tag-pill {
  display: inline-flex;
  align-items: center;
  margin: 1vh auto 0;
  padding: 12px 22px;
  border: 1px solid rgba(244, 236, 216, 0.14);
  border-radius: 999px;
  /* soft, smooth solid-black surface that sits cleanly over the building
     animation. Inner gradient + soft shadow halo around the edge gives
     the pill a pillow-like, premium feel without going matte-flat. */
  background:
    radial-gradient(ellipse at 50% 0%, rgba(40, 40, 50, 0.55) 0%, transparent 70%),
    rgba(5, 5, 7, 0.94);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 12px 40px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-overlay.intro h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.5));
}
.hero-overlay.intro .tag {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-overlay.left {
  top: 50%; left: 6vw;
  transform: translateY(-50%);
  max-width: 460px;
}
.hero-overlay.right {
  top: 50%; right: 3vw;
  transform: translateY(-50%);
  max-width: 460px;
  text-align: right;
}
.hero-overlay.bottom {
  bottom: 8vh; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: min(92vw, 900px);
}
.overlay-eyebrow {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 14px;
}
.overlay-headline {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.overlay-body {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 38ch;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-overlay.right .overlay-body { margin-left: auto; }

/* progress dots */
.scrub-progress {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
}
.scrub-progress span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244,236,216,0.25);
  transition: background 200ms, transform 200ms;
}
.scrub-progress span.is-active {
  background: var(--honey);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(178, 102, 255, 0.6), 0 0 4px rgba(212, 175, 55, 0.7);
}

/* hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-hint.fade { animation: none; opacity: 0; transition: opacity 300ms; }
@keyframes scrollPulse {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* fixed mascot companion */
.mascot {
  position: fixed;
  bottom: -20px;
  right: -40px;
  width: 240px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transform: translateY(30px) rotate(-6deg);
  transition: opacity 500ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.6));
}
.mascot.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
.mascot img {
  width: 100%;
  mix-blend-mode: lighten;
}


/* ---------- sections ---------- */
section.block {
  position: relative;
  padding: 140px 6vw;
  border-top: 1px solid var(--line);
}
.block-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 64px;
}
.block-eyebrow {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 18px;
}
.block-title {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  color: var(--cream);
}
.block-title em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.5));
}
.block-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  white-space: nowrap;
}

/* ---------- about ---------- */
.about {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-compact .about-lede {
  max-width: 28ch;
  margin-bottom: 8px;
}
.about-compact .stat-row {
  margin-top: 40px;
  padding-top: 40px;
  border-top: none;
}
/* glowing purple neon line between the lede and the stats row */
.neon-line {
  margin: 56px 0 8px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(178,102,255,0.55) 18%,
    var(--purple-glow) 50%,
    rgba(178,102,255,0.55) 82%,
    transparent 100%);
  box-shadow:
    0 0 8px rgba(178,102,255,0.85),
    0 0 18px rgba(124,43,255,0.65),
    0 0 32px rgba(124,43,255,0.35);
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  padding: 16px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(10,7,18,0.5);
  transition: background 280ms ease, border-color 280ms ease, color 280ms ease, transform 200ms ease, box-shadow 280ms ease;
}
.about-cta:hover {
  background: linear-gradient(180deg, #a04fff 0%, #7c2bff 100%);
  border-color: var(--purple-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124,43,255,0.45);
}
.about-lede {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.05;
  color: var(--cream);
}
.about-lede em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream-dim);
}
.about-body p + p { margin-top: 16px; }
.about-card {
  border: 1px solid var(--line-strong);
  padding: 28px;
  background: rgba(245, 184, 32, 0.04);
  border-radius: 4px;
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  transform: translate(8px, 8px);
  pointer-events: none;
  border-radius: 4px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--honey);
}
.stat-label {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 10px;
}

/* ---------- events ---------- */
.events {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(124,43,255,0.20) 0%, transparent 50%),
    var(--ink-2);
}

/* rotator — single card cycles through the weekly events */
.event-rotator {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.event-rotator-stage {
  position: relative;
  display: grid;
  grid-template-areas: "card";
}
.event-card {
  grid-area: card;
  position: relative;
  border: 1px solid var(--line);
  padding: 44px 44px 36px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(124,43,255,0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10,7,18,0.85) 0%, rgba(42,10,74,0.5) 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.event-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.event-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(178,102,255,0.10), transparent 45%, rgba(212,175,55,0.10));
}
.event-card > * { position: relative; z-index: 1; }
.event-day {
  align-self: flex-start;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #a04fff 0%, #7c2bff 100%);
  padding: 9px 14px;
  box-shadow: 0 0 0 1px rgba(178,102,255,0.4), 0 0 24px rgba(124,43,255,0.55);
}
.event-title {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  color: var(--cream);
  margin-top: 6px;
}

/* rotator controls */
.event-rotator-controls {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.rot-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  cursor: pointer;
  transition: border-color 200ms, color 200ms, background 200ms;
}
.rot-dot:hover { color: var(--cream); border-color: var(--line-strong); }
.rot-dot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244,236,216,0.25);
  transition: background 200ms, box-shadow 200ms;
}
.rot-dot.is-active {
  color: var(--cream);
  border-color: rgba(178,102,255,0.6);
  background: rgba(124,43,255,0.10);
}
.rot-dot.is-active .rot-dot-dot {
  background: var(--purple-glow);
  box-shadow: 0 0 10px var(--purple-glow), 0 0 3px #fff;
}
.rot-progress {
  margin-top: 14px;
  height: 2px;
  width: 100%;
  background: rgba(244,236,216,0.08);
  overflow: hidden;
}
.rot-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-glow) 0%, var(--honey) 100%);
  box-shadow: 0 0 12px rgba(178,102,255,0.6);
}
.event-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey-2);
}
.event-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-dim);
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  text-transform: uppercase;
}
.event-meta span {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
}
.event-meta b {
  flex: 0 0 110px;
  color: var(--honey);
  font-weight: 500;
}

/* upcoming events — 1-liner milestone widgets */
.event-specials {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.event-specials-head {
  margin-bottom: 24px;
}
.event-specials-head h3 {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  color: var(--cream);
}
.event-specials-head h3 em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.milestones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.milestone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10,7,18,0.5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cream);
  cursor: default;
  transition:
    background 280ms ease,
    border-color 280ms ease,
    color 280ms ease,
    transform 200ms ease,
    box-shadow 280ms ease;
}
.milestone .ms-dot,
.milestone .ms-status,
.milestone .ms-date,
.milestone .ms-name {
  transition: color 280ms ease, background 280ms ease, border-color 280ms ease, box-shadow 280ms ease, text-decoration-color 280ms ease;
}
.milestone:hover {
  transform: translateY(-2px);
}
.ms-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ms-status {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ms-name {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 18px;
  letter-spacing: 0.005em;
}

/* DONE — muted gold check */
.milestone.is-done {
  border-color: rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.06);
}
.milestone.is-done .ms-dot {
  background: var(--honey);
  box-shadow: 0 0 10px rgba(212,175,55,0.55);
}
.milestone.is-done .ms-status { color: var(--honey-2); }
.milestone.is-done .ms-name {
  color: var(--cream-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(212,175,55,0.55);
}
/* fill on hover — gold takes over */
.milestone.is-done:hover {
  background: linear-gradient(180deg, #f4d36a 0%, #d4af37 100%);
  border-color: var(--honey-2);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(212,175,55,0.35);
}
.milestone.is-done:hover .ms-dot {
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(10,7,18,0.4);
}
.milestone.is-done:hover .ms-status,
.milestone.is-done:hover .ms-name {
  color: var(--ink);
  text-decoration-color: rgba(10,7,18,0.6);
}
.milestone.is-done:hover .ms-date {
  color: var(--ink);
  border-color: rgba(10,7,18,0.5);
  background: rgba(10,7,18,0.12);
}

/* SOON — pulsing neon purple */
.milestone.is-soon {
  border-color: rgba(178,102,255,0.45);
  background: rgba(124,43,255,0.08);
}
.milestone.is-soon .ms-dot {
  background: var(--purple-glow);
  box-shadow: 0 0 12px var(--purple-glow), 0 0 4px #fff;
  animation: ms-pulse 1.6s ease-in-out infinite;
}
.milestone.is-soon .ms-status { color: var(--purple-glow); }
@keyframes ms-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.65; }
}
/* fill on hover — purple takes over */
.milestone.is-soon:hover {
  background: linear-gradient(180deg, #a04fff 0%, #7c2bff 100%);
  border-color: var(--purple-glow);
  color: #fff;
  box-shadow: 0 12px 36px rgba(124,43,255,0.45);
}
.milestone.is-soon:hover .ms-dot {
  background: #fff;
  box-shadow: 0 0 14px #fff, 0 0 4px var(--purple-glow);
}
.milestone.is-soon:hover .ms-status,
.milestone.is-soon:hover .ms-name {
  color: #fff;
}

/* TBA — dashed border, calmer than soon */
.milestone.is-tba {
  border-style: dashed;
  border-color: rgba(178,102,255,0.35);
  background: rgba(124,43,255,0.04);
}
.milestone.is-tba .ms-dot {
  background: transparent;
  border: 1.5px solid var(--purple-glow);
  box-shadow: 0 0 8px rgba(178,102,255,0.4);
}
.milestone.is-tba .ms-status { color: var(--purple-glow); }
.milestone.is-tba .ms-name { color: var(--cream-dim); }

/* date column */
.ms-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.milestone.is-done .ms-date {
  color: var(--honey-2);
  border-color: rgba(212,175,55,0.35);
}

/* ---------- strains ---------- */
.strains { background: var(--ink-2); }
.strain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strain {
  position: relative;
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 200ms, transform 200ms, background 200ms;
}
.strain:hover {
  border-color: var(--purple-glow);
  transform: translateY(-4px);
  background: linear-gradient(180deg, var(--ink) 0%, rgba(124,43,255,0.18) 100%);
  box-shadow: 0 14px 40px rgba(124, 43, 255, 0.25);
}
.strain-art {
  aspect-ratio: 1;
  background: var(--ink-2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.strain-orb {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(2px);
}
.strain-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
}
.strain-name {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--cream);
}
.strain-meta {
  display: flex;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.strain-meta b { color: var(--honey); font-weight: 500; }
.strain-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-dim);
}
.strain-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.note-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream-dim);
}

/* ---------- locations ---------- */
.locations { background: var(--ink); }
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.loc-card {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 36px;
  background: linear-gradient(160deg, rgba(74,36,128,0.18) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}
.loc-card.flagship {
  border-color: var(--honey);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(124,43,255,0.22) 0%, transparent 60%),
    linear-gradient(160deg, rgba(212,175,55,0.10) 0%, rgba(42,10,74,0.55) 80%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 24px 80px rgba(124, 43, 255, 0.18);
}
.loc-flag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(180deg, #f4d36a 0%, #d4af37 100%);
  color: var(--ink);
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(124, 43, 255, 0.35);
}
.loc-name {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 44px;
  line-height: 1;
  color: var(--cream);
  margin-top: 16px;
}
.loc-addr {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  line-height: 1.7;
}
.loc-hours {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cream-dim);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.loc-hours b { color: var(--cream); font-weight: 500; }
.loc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 24px;
  border: 1px solid var(--cream);
  border-radius: 999px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 200ms, color 200ms, transform 200ms ease, box-shadow 200ms ease;
}
.loc-cta:hover {
  background: var(--honey);
  color: var(--ink);
  border-color: var(--honey);
  box-shadow: 0 8px 28px rgba(124, 43, 255, 0.35);
}

/* ---------- reviews (compact, scrollable) ---------- */
.reviews-compact {
  padding: 64px 6vw;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(124,43,255,0.14) 0%, transparent 55%),
    var(--ink-2);
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
.reviews-title {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  color: var(--cream);
  margin-top: 8px;
}
.reviews-title em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews-rating-mini {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10,7,18,0.5);
}
.rating-stars {
  display: flex;
  gap: 2px;
  color: var(--honey);
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.55));
}
.rating-stars svg {
  width: 14px;
  height: 14px;
}
.rating-mini-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
}
.rating-mini-text b {
  color: var(--honey-2);
  font-weight: 500;
  margin-right: 4px;
}
.rating-cta-mini {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  transition: color 200ms ease;
}
.rating-cta-mini:hover { color: var(--purple-glow); }

/* rail wrapper holds the rail + nav arrows */
.reviews-rail-wrap {
  position: relative;
}
.rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(10,7,18,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 200ms ease, box-shadow 240ms ease, opacity 240ms ease;
}
.rail-arrow svg { width: 18px; height: 18px; }
.rail-arrow:hover {
  background: linear-gradient(180deg, #a04fff 0%, #7c2bff 100%);
  border-color: var(--purple-glow);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124,43,255,0.45);
}
.rail-arrow:disabled,
.rail-arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}
.rail-arrow-prev { left: -8px; }
.rail-arrow-next { right: -8px; }

/* horizontal scroll rail — shows ~2.5 cards */
.reviews-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 16px;
  margin: 0 -6vw;
  padding-left: 6vw;
  padding-right: 6vw;
  scrollbar-width: thin;
  scrollbar-color: rgba(178,102,255,0.45) transparent;
}
.reviews-rail::-webkit-scrollbar { height: 6px; }
.reviews-rail::-webkit-scrollbar-track { background: transparent; }
.reviews-rail::-webkit-scrollbar-thumb {
  background: rgba(178,102,255,0.35);
  border-radius: 999px;
}
.review-card {
  flex: 0 0 calc((100% - 6vw - 32px) / 2.5);
  min-width: 240px;
  max-width: 360px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: rgba(10,7,18,0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 280ms ease, border-color 280ms ease, transform 200ms ease, box-shadow 280ms ease;
}
.review-card:hover {
  background: linear-gradient(180deg, rgba(124,43,255,0.18) 0%, rgba(10,7,18,0.6) 100%);
  border-color: rgba(178,102,255,0.55);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124,43,255,0.30);
}
.quote-stars {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--honey);
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.4));
}
.review-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-dim);
  margin-top: 4px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.review-author {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.review-name {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 16px;
  letter-spacing: 0.005em;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.05;
}
.review-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--cream-dim);
  text-transform: uppercase;
}
.review-source {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--cream-dim);
  text-transform: uppercase;
}
.review-source b { color: var(--honey); font-weight: 500; }

.reviews-press {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.press-eyebrow {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 14px;
}
.reviews-compact .press-marquee {
  margin: 0;
  padding: 18px 0;
}
.reviews-compact .press-marquee-item {
  font-size: 22px;
}

/* mentioned-on — auto-scrolling marquee, pauses on hover */
.mention-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -6vw;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.mention-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: mention-scroll 32s linear infinite;
}
.mention-marquee:hover .mention-marquee-track,
.mention-marquee:focus-within .mention-marquee-track {
  animation-play-state: paused;
}
@keyframes mention-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* legacy static row — kept for back-compat if reused */
.mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mention-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(10,7,18,0.55);
  text-decoration: none;
  color: var(--cream);
  transition: background 280ms ease, border-color 280ms ease, color 280ms ease, transform 200ms ease, box-shadow 280ms ease;
}
.mention-card:hover {
  background: linear-gradient(180deg, #a04fff 0%, #7c2bff 100%);
  border-color: var(--purple-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124,43,255,0.45);
}
.mention-name {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 22px;
  letter-spacing: 0.005em;
  line-height: 1;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background 280ms ease, color 280ms ease;
}
.mention-card:hover .mention-name {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.mention-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  transition: color 280ms ease, border-color 280ms ease;
}
.mention-card:hover .mention-meta {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}
.mention-arrow {
  width: 16px;
  height: 16px;
  color: var(--purple-glow);
  flex-shrink: 0;
  transition: color 280ms ease, transform 200ms ease;
}
.mention-card:hover .mention-arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

/* ---------- press ---------- */
.press { background: var(--ink-2); }
.press-marquee {
  display: flex;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  border-block: 1px solid var(--line);
}
.press-marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
.press-marquee-item {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 28px;
  color: var(--cream-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.press-marquee-item::after {
  content: '';
  width: 12px; height: 12px;
  background: var(--purple-glow);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 14px var(--purple-glow), 0 0 4px #fff;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.quote-card {
  border: 1px solid var(--line);
  padding: 36px;
  position: relative;
}
.quote-mark {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 80px;
  color: var(--honey);
  line-height: 0.6;
  position: absolute;
  top: 20px; right: 24px;
  opacity: 0.4;
}
.quote-text {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--cream);
  position: relative;
  z-index: 1;
}
.quote-source {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.quote-source b { color: var(--honey); font-weight: 500; }

/* ---------- contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(124,43,255,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(212,175,55,0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--purple) 100%);
  position: relative;
  overflow: hidden;
}

/* compact contact variant */
.contact-compact { padding: 72px 6vw; }
.contact-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.6fr;
  gap: 48px;
  align-items: center;
}
.contact-meta {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--cream-dim);
  text-transform: uppercase;
  max-width: 32ch;
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10,7,18,0.5);
  color: var(--cream);
  transition: background 280ms ease, border-color 280ms ease, color 280ms ease, transform 200ms ease, box-shadow 280ms ease;
}
.social-pill:hover {
  background: linear-gradient(180deg, #a04fff 0%, #7c2bff 100%);
  border-color: var(--purple-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124,43,255,0.45);
}
.social-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--honey-2);
  transition: color 280ms ease;
}
.social-pill:hover .social-ico { color: #fff; }
.social-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.social-label b {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey-2);
  font-weight: 400;
  transition: color 280ms ease;
}
.social-pill:hover .social-label b { color: #fff; }
.social-label span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cream);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-blurb {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 32px;
}
.contact-compact .contact-blurb {
  font-size: clamp(28px, 3.6vw, 48px);
  margin-bottom: 0;
}
.contact-blurb em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--cream);
  transition: all 200ms;
  cursor: pointer;
  background: transparent;
  color: var(--cream);
}
.btn:hover { background: var(--cream); color: var(--ink); }
.btn.primary {
  background: linear-gradient(180deg, #f4d36a 0%, #d4af37 50%, #8a6a14 100%);
  color: var(--ink);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.6),
    0 8px 28px rgba(124, 43, 255, 0.35);
}
.btn.primary:hover {
  filter: brightness(1.1);
  box-shadow:
    0 0 0 1px rgba(244, 211, 106, 0.8),
    0 10px 40px rgba(124, 43, 255, 0.55);
}
.contact-info {
  border: 1px solid var(--line-strong);
  padding: 32px;
  background: rgba(10,7,18,0.5);
  backdrop-filter: blur(8px);
}
.info-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 6px;
}
.info-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--cream);
}
.info-value a:hover { color: var(--honey); }

/* skater dog crossing footer */
.contact-skater {
  position: absolute;
  bottom: 0;
  left: -200px;
  width: 220px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 600ms;
}
.contact.is-active .contact-skater {
  opacity: 1;
  animation: skateAcross 12s linear infinite;
}
@keyframes skateAcross {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 400px)); }
}


/* ---------- page loading overlay (about / menu) ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: grid;
  place-items: center;
  transition: opacity 700ms ease;
}
.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.page-loader-video {
  width: clamp(220px, 36vw, 520px);
  height: auto;
  /* feather the rectangular video edges into the loader's black surround
     so the bounding box never reads as a hard square frame, even as the
     dog moves toward the corners. */
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 50%, rgba(0,0,0,0.6) 70%, transparent 95%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000 50%, rgba(0,0,0,0.6) 70%, transparent 95%);
}
.page-loader-video::-webkit-media-controls,
.page-loader-video::-webkit-media-controls-enclosure {
  display: none !important;
}
body.is-loading {
  overflow: hidden;
}
.page-loader-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(244, 236, 216, 0.18);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 240ms ease, background 240ms ease, border-color 240ms ease, transform 200ms ease;
}
.page-loader-skip svg {
  width: 14px;
  height: 14px;
}
.page-loader-skip:hover {
  opacity: 1;
  background: rgba(124, 43, 255, 0.85);
  border-color: var(--purple-glow);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .page-loader-skip { top: 16px; right: 16px; padding: 9px 14px 9px 10px; }
  .page-loader-skip span { display: none; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  padding: 72px 6vw 56px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-mark {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 36px;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer-mark em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-mark img {
  width: 144px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}
.footer-tag {
  font-size: 14px;
  color: var(--cream-dim);
  max-width: 32ch;
}
.footer h4 {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--cream-dim); }
.footer ul a:hover { color: var(--cream); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-legal a {
  color: var(--cream-dim);
  transition: color 200ms ease;
}
.footer-legal a:hover {
  color: var(--honey);
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  /* show hamburger; turn .nav-links into a fullscreen slide-down overlay */
  .nav-toggle { display: block; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0.6); }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 80px 24px 48px;
    /* fully opaque solid black so no glitchy transparency / blend issues */
    background: #050507;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 18px;
    letter-spacing: 0.22em;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1),
                visibility 0s linear 380ms;
    z-index: 101;
    pointer-events: none;
  }
  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-links a {
    display: inline-block;
    padding: 6px 12px;
    color: var(--cream);
    transition: color 200ms ease, transform 200ms ease;
  }
  .nav-links a:hover,
  .nav-links a:active {
    color: var(--honey);
    transform: translateY(-1px);
  }
  .about-grid, .loc-grid, .quote-grid, .contact-grid, .contact-row { grid-template-columns: 1fr; gap: 32px; }
  .contact-socials { grid-template-columns: 1fr; }
  .contact-compact { padding: 56px 6vw; }
  .strain-grid { grid-template-columns: 1fr; }
  .milestones { flex-direction: column; align-items: stretch; }
  .milestone { justify-content: flex-start; }
  .event-card { padding: 32px 24px 28px; }
  /* mobile footer: brand block on top (full-width), three link columns
     stack cleanly below it so each "Visit / Shop / Company" heading sits
     under the Thai Terpz logo rather than next to it */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stat-row { grid-template-columns: 1fr; gap: 32px; }
  .block-head { grid-template-columns: 1fr; }
  section.block { padding: 80px 6vw; }
  .mascot { width: 140px; right: -30px; }

  /* ----- mobile-only readability for the hero scroll overlays ----- */
  /* no card behind the text — full animation is visible. Readability
     comes from a thick black outline (stacked text-shadows) around
     pure-white text, like a comic-book caption. */
  .hero-overlay.left,
  .hero-overlay.right,
  .hero-overlay.bottom {
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: min(86vw, 420px);
  }
  /* shift the right-anchored chapter further right so long words like
     "dispensary." don't bleed onto the building animation */
  .hero-overlay.right {
    right: 14px;
  }
  /* shared 2px black outline on every chapter overlay so text reads
     cleanly against the building animation regardless of frame */
  .hero-overlay.left .overlay-eyebrow,
  .hero-overlay.right .overlay-eyebrow,
  .hero-overlay.bottom .overlay-eyebrow,
  .hero-overlay.left .overlay-headline,
  .hero-overlay.right .overlay-headline,
  .hero-overlay.bottom .overlay-headline,
  .hero-overlay.left .overlay-body,
  .hero-overlay.right .overlay-body,
  .hero-overlay.bottom .overlay-body {
    -webkit-text-stroke: 0.5px #000;
    paint-order: stroke fill;
    text-shadow:
      -2px -2px 0 #000,
       2px -2px 0 #000,
      -2px  2px 0 #000,
       2px  2px 0 #000,
      -2px  0   0 #000,
       2px  0   0 #000,
       0   -2px 0 #000,
       0    2px 0 #000,
       0    0   8px rgba(0, 0, 0, 0.85);
  }
  /* eyebrow "// Chapter X — …" returns to gold/yellow, no outline */
  .hero-overlay.left .overlay-eyebrow,
  .hero-overlay.right .overlay-eyebrow,
  .hero-overlay.bottom .overlay-eyebrow {
    color: var(--honey);
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
  /* headline "Find the door." matches upperbar Thai Terpz cream */
  .hero-overlay.left .overlay-headline,
  .hero-overlay.right .overlay-headline,
  .hero-overlay.bottom .overlay-headline {
    color: var(--cream);
  }
  /* body copy stays as-is: pure white with the black outline above */
  .hero-overlay.left .overlay-body,
  .hero-overlay.right .overlay-body,
  .hero-overlay.bottom .overlay-body {
    color: #fff;
  }
  .overlay-body {
    font-size: 15px;
    line-height: 1.55;
  }
  /* intro tag-pill: smaller, more compact, sits above 2nd-floor window */
  .hero-overlay.intro {
    top: 32%;
  }
  .tag-pill {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-top: 5vh;
  }

  /* ----- mobile fix: hero canvas fills the viewport edge-to-edge and
     the scrub-wrap is exactly one screen tall, so the next section
     starts immediately below the hero with no black empty space. ----- */
  #scrubCanvas {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100svh !important;
    touch-action: pan-y;
  }
  .scrub-wrap, .scrub-pin {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    overflow: hidden !important;
  }
  .scrub-wrap {
    height: 300vh;
    height: 300svh;
    -webkit-overflow-scrolling: touch;
  }
  .scrub-pin {
    height: 100vh;
    height: 100svh;
  }
  body { max-width: 100vw; }
}

/* =========================================================
   Phone breakpoint (≤ 430px) — CSS-only fix for the canvas hero.
   ========================================================= */
@media (max-width: 430px) {
  .scrub-wrap {
    height: 300vh;
  }
  .scrub-pin {
    width: 100vw !important;
    left: 0 !important;
  }
  #scrubCanvas {
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
  }
}

/* =========================================================
   Small phones (≤ 480px) — scale down headlines, titles,
   stats, paddings and the footer logo so nothing overflows.
   `!important` overrides inline <style> rules on visit/menu/
   about/legal pages.
   ========================================================= */
@media (max-width: 480px) {
  /* global section titles + headlines */
  .block-title       { font-size: clamp(36px, 10vw, 56px) !important; line-height: 0.95; }
  .overlay-headline  { font-size: clamp(30px, 8vw, 44px) !important; }
  .about-lede        { font-size: clamp(22px, 5.6vw, 30px); }
  .stat-num          { font-size: 48px; }
  .stat-label        { font-size: 9px; letter-spacing: 0.18em; }
  .contact-blurb     { font-size: clamp(28px, 7.5vw, 36px) !important; }
  .reviews-title     { font-size: clamp(24px, 7vw, 32px); }
  .event-title       { font-size: clamp(28px, 7vw, 38px); }
  .event-day         { font-size: 9.5px; padding: 7px 11px; }
  .pillar h3         { font-size: 22px; }
  .strain-name       { font-size: 26px; }
  .quote-text        { font-size: 19px; }
  .ms-name           { font-size: 14px; }

  /* page-specific hero titles (inline styles on those pages) */
  .visit-hero h1     { font-size: clamp(40px, 11vw, 64px) !important; }
  .menu-hero h1      { font-size: clamp(44px, 12vw, 72px) !important; }
  .about-hero h1     { font-size: clamp(40px, 11vw, 64px) !important; }
  .legal-title       { font-size: clamp(36px, 10vw, 56px) !important; }
  .menu-cat h2       { font-size: clamp(28px, 8vw, 44px) !important; }
  .v-title           { font-size: clamp(28px, 8vw, 44px) !important; }
  .pillars-head h2,
  .team-head h2,
  .event-specials-head h3 { font-size: clamp(24px, 7vw, 36px) !important; }

  /* lead / body sizes */
  .menu-hero .lead,
  .visit-hero .lead,
  .about-hero .lead  { font-size: 12px; }
  .story-body p      { font-size: 15px; }

  /* footer scaling */
  .footer { padding: 56px 6vw 48px; }
  .footer-mark img   { width: 110px; }
  .footer-tag        { font-size: 13px; }
  .footer h4         { font-size: 10px; }
  .footer ul         { font-size: 13px; }
  .footer-base       { font-size: 10px; gap: 14px; }
  .footer-legal      { gap: 16px; }

  /* tighter section paddings */
  section.block      { padding: 56px 5vw; }

  /* events rotator card */
  .event-card        { padding: 24px 18px 22px; }

  /* nav padding */
  .nav               { padding: 12px 20px; }
  .nav-logo          { font-size: 18px; gap: 8px; }
  .nav-logo-img      { width: 32px; height: 32px; }
}

/* =========================================================
   Extra-small phones (≤ 380px) — step everything down again
   for older / smaller devices like Galaxy S5, iPhone SE 1.
   ========================================================= */
@media (max-width: 380px) {
  .block-title       { font-size: clamp(30px, 9vw, 44px) !important; }
  .overlay-headline  { font-size: clamp(26px, 7vw, 36px) !important; }
  .about-lede        { font-size: 19px; }
  .stat-num          { font-size: 40px; }
  .contact-blurb     { font-size: clamp(24px, 6.6vw, 30px) !important; }
  .reviews-title     { font-size: clamp(22px, 6.4vw, 28px); }
  .event-title       { font-size: clamp(24px, 6.5vw, 32px); }
  .event-day         { font-size: 9px; padding: 6px 10px; }
  .pillar h3         { font-size: 20px; }
  .strain-name       { font-size: 22px; }
  .quote-text        { font-size: 17px; }
  .ms-name           { font-size: 13px; }

  .visit-hero h1     { font-size: clamp(34px, 10vw, 52px) !important; }
  .menu-hero h1      { font-size: clamp(36px, 10vw, 56px) !important; }
  .about-hero h1     { font-size: clamp(34px, 10vw, 52px) !important; }
  .legal-title       { font-size: clamp(30px, 9vw, 44px) !important; }
  .menu-cat h2       { font-size: clamp(24px, 7vw, 36px) !important; }
  .v-title           { font-size: clamp(24px, 7vw, 36px) !important; }
  .pillars-head h2,
  .team-head h2,
  .event-specials-head h3 { font-size: clamp(22px, 6.4vw, 32px) !important; }

  .menu-hero .lead,
  .visit-hero .lead,
  .about-hero .lead  { font-size: 11.5px; }
  .story-body p      { font-size: 14.5px; }

  .footer { padding: 48px 5vw 40px; }
  .footer-mark img   { width: 96px; }
  .footer-tag        { font-size: 12.5px; }
  .footer ul         { font-size: 12.5px; }
  .footer-base       { font-size: 9.5px; gap: 12px; }
  .footer-legal      { gap: 14px; }

  section.block      { padding: 48px 5vw; }
  .nav               { padding: 10px 16px; }
  .nav-logo          { font-size: 16px; gap: 7px; }
  .nav-logo-img      { width: 28px; height: 28px; }
}

/* =========================================================
   Mobile coming-soon overlay (≤ 430px). Replaces the entire
   mobile page with a single fullscreen take-over. Desktop is
   completely untouched.
   ========================================================= */
#mobile-coming-soon { display: none; }

@media (max-width: 430px) {
  /* hide every direct child of body except <nav> and the overlay */
  body > *:not(nav):not(#mobile-coming-soon) {
    display: none !important;
  }

  #mobile-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    z-index: 50;
    background: #050507;
    padding: 80px 24px 40px;
    text-align: center;
  }

  .mcs-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.55));
  }

  .mcs-title {
    font-family: 'Bagel Fat One', sans-serif;
    font-size: clamp(36px, 11vw, 56px);
    line-height: 1.05;
    color: var(--cream);
    margin: 0;
    text-wrap: balance;
  }
  .mcs-title em {
    font-style: normal;
    background: linear-gradient(180deg, #ffe28a 0%, #d4af37 45%, #8a6a14 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .mcs-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin: 0;
  }

  .mcs-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid var(--cream);
    background: transparent;
    color: var(--cream);
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 240ms ease, color 240ms ease;
  }
  .mcs-cta:active,
  .mcs-cta:hover {
    background: var(--cream);
    color: var(--ink);
  }
}
