/* ============================================================
   BLACKMARKET DISPENSARY · homepage preview
   One system with the in-store boards:
   #101010 base · #39ff14 neon · Montserrat · smoke · barcode
   ============================================================ */

@font-face {
  font-family: "Hubot Cond";
  src: url("../assets/fonts/HubotSansCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Exp";
  src: url("../assets/fonts/HubotSansExpanded-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Exp";
  src: url("../assets/fonts/HubotSansExpanded-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --base: #101010;
  --base-deep: #0a0a0a;
  --neon: #39ff14;
  --green-dark: #187830;
  --green-dim: #1a2e1a;
  --ink: #ffffff;
  --gray: #9e9e9e;
  --line: #262626;
  --mono: "Hubot Cond", "IBM Plex Mono", monospace;
  --sans: "Montserrat", sans-serif;
  --disp: "Hubot Exp", "Montserrat", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  overflow-x: hidden;
  /* the room is never flat black: faint green atmosphere off-canvas */
  background:
    radial-gradient(1100px 750px at 88% -8%, rgba(24, 120, 48, 0.09), transparent 62%),
    radial-gradient(950px 700px at -12% 42%, rgba(26, 46, 26, 0.14), transparent 60%),
    radial-gradient(1300px 900px at 55% 118%, rgba(24, 120, 48, 0.07), transparent 55%),
    var(--base);
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- shared pieces ---------- */

.mono-label {
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.4vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
}

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 1.05em 1.9em;
  border: 1px solid var(--neon);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }

/* light sweep across any button on hover */
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-solid {
  background: var(--neon);
  color: #051202;
  box-shadow: 0 0 0 rgba(57, 255, 20, 0);
}
.btn-solid:hover { box-shadow: 0 0 28px rgba(57, 255, 20, 0.5), 0 6px 24px rgba(0, 0, 0, 0.5); }

.btn-ghost { color: var(--neon); background: rgba(57, 255, 20, 0.02); }
.btn-ghost:hover { background: rgba(57, 255, 20, 0.12); box-shadow: inset 0 0 18px rgba(57, 255, 20, 0.12); }

.barcode {
  height: 44px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px, transparent 2px 5px,
    var(--ink) 5px 9px, transparent 9px 11px,
    var(--ink) 11px 12px, transparent 12px 17px,
    var(--ink) 17px 19px, transparent 19px 24px,
    var(--ink) 24px 30px, transparent 30px 32px
  );
}

/* section reveals: sections fade up, key children cascade after */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- fixed atmosphere layers ---------- */

.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 92;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.6s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* CRT scanlines, same DNA as the menu TVs */
.scanlines {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 91;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.12) 3px 4px);
  opacity: 0.55;
}

.vignette {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  background: radial-gradient(ellipse 90% 85% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
}

/* ---------- age gate ---------- */

.gate {
  position: fixed; inset: 0; z-index: 100;
  background: var(--base-deep);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.gate.open { opacity: 0; visibility: hidden; }
.gate.open .gate-inner { transform: scale(0.94); opacity: 0; }

.gate-smoke {
  position: absolute; inset: 0;
  background: url("../assets/smoke_drift.jpg") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.3;
  animation: smokeFlowA 24s ease-in-out infinite;
}

.gate-inner {
  position: relative;
  padding: var(--pad);
  max-width: 40rem;
  transition: transform 0.7s var(--ease-out), opacity 0.7s ease;
}
.gate-logo { width: clamp(150px, 30vw, 220px); margin: 0 auto 2.5rem; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.8)); }

.gate-title {
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 1.2rem 0;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.7);
}

.gate-sub { color: var(--gray); font-size: 0.95rem; margin-bottom: 2.2rem; }

.gate-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.gate-fine {
  margin-top: 2.4rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gray);
}

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  padding: 0 var(--pad);
  background: linear-gradient(rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.75) 70%, transparent);
}
.nav-brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--ink);
  padding: 0.4em 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--neon); border-color: var(--neon); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: 6rem var(--pad) 5rem;
  overflow: hidden;
}

.smoke-layer {
  position: absolute; inset: -20%;
  background-position: center; background-size: cover;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, opacity;
}
.smoke-a { background-image: url("../assets/smoke_drift.jpg"); opacity: 0.26; animation: smokeFlowA 38s ease-in-out infinite; }
.smoke-b { background-image: url("../assets/smoke_drift2.jpg"); opacity: 0.15; animation: smokeFlowB 52s ease-in-out infinite; }

/* organic loops: drift, swell, thin out, come back */
@keyframes smokeFlowA {
  0%   { transform: translate3d(-5%, 3%, 0) scale(1.08); opacity: 0.22; }
  30%  { transform: translate3d(-1%, -2%, 0) scale(1.16); opacity: 0.3; }
  55%  { transform: translate3d(4%, -4%, 0) scale(1.24); opacity: 0.24; }
  80%  { transform: translate3d(1%, 1%, 0) scale(1.13); opacity: 0.29; }
  100% { transform: translate3d(-5%, 3%, 0) scale(1.08); opacity: 0.22; }
}
@keyframes smokeFlowB {
  0%   { transform: translate3d(4%, -2%, 0) scale(1.18) rotate(0.5deg); opacity: 0.12; }
  35%  { transform: translate3d(0%, 3%, 0) scale(1.1) rotate(-0.5deg); opacity: 0.18; }
  65%  { transform: translate3d(-4%, -1%, 0) scale(1.2) rotate(0.3deg); opacity: 0.13; }
  100% { transform: translate3d(4%, -2%, 0) scale(1.18) rotate(0.5deg); opacity: 0.12; }
}

/* keep the room black at the edges; smoke lives in the middle */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, transparent 40%, var(--base) 100%);
}

.hero-inner { position: relative; width: 100%; z-index: 2; will-change: transform; }

.hero-top { margin-bottom: 1.6rem; }

.hero-word {
  font-weight: 900;
  font-size: clamp(4.2rem, 16.5vw, 15rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  display: flex; flex-direction: column;
  user-select: none;
}
.hero-word .line { display: block; overflow: hidden; }
.hero-word .line > span { display: block; }

/* both lines solid like the pylon sign; holo sheen sweeps through on a slow loop */
.hero-word .w-solid,
.hero-word .w-outline {
  background: linear-gradient(
    100deg,
    var(--ink) 42%, #b8ffd9 47%, #7df9ff 50%, #ff9bf3 53%, var(--ink) 58%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
.hero-word .w-outline { animation-delay: 0.4s; }
@keyframes sheen {
  0%, 55% { background-position: 110% 0; }
  75%, 100% { background-position: -60% 0; }
}

.hero-tag {
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 2rem 0 2.4rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-barcode {
  position: absolute;
  right: var(--pad); bottom: 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: flex-end;
  z-index: 2;
}
.hero-barcode .barcode { width: 130px; height: 34px; }

/* entrance choreography: fires when the gate opens */
.hero-top, .hero-tag, .hero-actions { opacity: 0; }
.hero-word .line > span { transform: translateY(112%); }

body.entered .hero-word .line:nth-child(1) > span { animation: riseUp 1s var(--ease-out) 0.1s forwards; }
body.entered .hero-word .line:nth-child(2) > span { animation: riseUp 1s var(--ease-out) 0.24s forwards; }
body.entered .hero-top { animation: fadeUp 0.8s var(--ease-out) 0.5s forwards; }
body.entered .hero-tag { animation: fadeUp 0.8s var(--ease-out) 0.65s forwards; }
body.entered .hero-actions { animation: fadeUp 0.8s var(--ease-out) 0.8s forwards; }

@keyframes riseUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- today strip / deal deck ---------- */

.today { padding: 0 var(--pad); margin: 4.5rem 0; }

.today-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--green-dark);
  background: linear-gradient(180deg, rgba(26, 46, 26, 0.4), rgba(16, 16, 16, 0.2));
  box-shadow:
    inset 0 0 70px rgba(57, 255, 20, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.5);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
}
/* the board smoke lives faintly inside the box too */
.today-box::before {
  content: "";
  position: absolute; inset: -10%;
  background: url("../assets/smoke_drift2.jpg") center / cover;
  mix-blend-mode: screen;
  opacity: 0.09;
  pointer-events: none;
}

.today-head {
  position: relative;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.today-date { color: var(--gray); }

.live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon);
  margin-right: 0.5em;
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.deal-deck {
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  min-height: 8.5rem;
}
.deal-deck:active { cursor: grabbing; }

.deal-card {
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s var(--ease-out), opacity 0.38s ease;
}
.deal-card.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.deal-card.off-l { transform: translateX(-56px); }
.deal-card.off-r { transform: translateX(56px); }
.deal-card.no-anim { transition: none; }

.deal-day {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gray);
  margin-bottom: 0.6rem;
}
.deal-card.is-today .deal-day { color: var(--neon); }

.deal-name {
  font-family: var(--disp);
  font-size: clamp(2.2rem, 6.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--neon);
  text-shadow: 0 0 26px rgba(57, 255, 20, 0.3);
}

.deal-sub { font-size: 1rem; margin-top: 0.8rem; }

.day-tabs {
  position: relative;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 1.6rem;
}
.day-tabs button {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gray);
  background: none;
  border: 1px solid #2a2a2a;
  padding: 0.55em 0.85em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.day-tabs button:hover { color: var(--ink); border-color: var(--gray); }
.day-tabs li.viewing button {
  color: var(--neon);
  border-color: var(--green-dark);
  background: rgba(57, 255, 20, 0.06);
}
.day-tabs li.is-today button::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--neon);
  margin-left: 0.6em;
  vertical-align: middle;
}

.deal-hint { position: relative; color: var(--gray); margin-top: 1rem; }

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0d0d, #121212);
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.4);
  padding: 1rem 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content;
  animation: tick 30s linear infinite;
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.t-solid { color: var(--ink); }
.t-outline { color: #4f4f4f; }
.t-dot { color: var(--neon); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- shop index ---------- */

.shop { margin: 6rem 0 7rem; border-top: 1px solid var(--line); }

.shop-row {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between;
  padding: clamp(1.1rem, 2.6vw, 1.9rem) var(--pad);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  opacity: 0; transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
    background 0.25s ease, padding-left 0.25s ease;
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s;
}
.shop.in .shop-row { opacity: 1; transform: none; }

/* green scan gradient sweeps in from the left on hover */
.shop-row::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.12), rgba(57, 255, 20, 0.03) 35%, transparent 65%);
  opacity: 0;
  transform: translateX(-12%);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
  pointer-events: none;
}
/* faint barcode ghost on the right edge */
.shop-row::after {
  content: "";
  position: absolute; top: 20%; bottom: 20%; right: calc(var(--pad) + 3.5rem);
  width: 90px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 6px, var(--ink) 6px 7px, transparent 7px 12px);
  opacity: 0.05;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.shop-row:hover { background: #141414; padding-left: calc(var(--pad) + 0.8rem); }
.shop-row:hover::before { opacity: 1; transform: none; }
.shop-row:hover::after { opacity: 0.14; }

.shop-name {
  position: relative;
  font-size: clamp(1.9rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.shop-arrow {
  position: relative;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--green-dark);
  transition: color 0.2s ease, transform 0.25s ease;
}
.shop-row:hover .shop-name { color: var(--neon); }
.shop-row:hover .shop-arrow { color: var(--neon); transform: translateX(6px); }
.shop-all .shop-name { color: var(--neon); }
.shop-all:hover .shop-name { color: var(--ink); }

/* ---------- buyers club ---------- */

.club {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 6.5rem var(--pad);
  /* glow pools behind the card */
  background: radial-gradient(720px 520px at 78% 50%, rgba(24, 120, 48, 0.16), transparent 65%);
}

.echo { display: flex; flex-direction: column; margin: 1.2rem 0 1.4rem; user-select: none; }
.echo span {
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #2e332e;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.club.in .echo span { opacity: 1; transform: none; }
.echo span:nth-child(2), .echo span:nth-child(4) { color: #555b55; }
.echo .echo-solid { color: var(--neon); text-shadow: 0 0 26px rgba(57, 255, 20, 0.3); }

.club-sub { color: var(--gray); max-width: 34ch; margin-bottom: 1.8rem; }

.club-card { perspective: 900px; }
.card-face {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #131313, var(--base-deep) 55%, #0e120e);
  border: 1px solid #303030;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  aspect-ratio: 1.586;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotateX(6deg) rotateY(-10deg);
  box-shadow:
    -18px 24px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(57, 255, 20, 0.12),
    0 0 60px rgba(57, 255, 20, 0.06);
  transition: transform 0.4s ease;
  animation: cardBob 7s ease-in-out infinite;
}
/* holographic sweep across the card face */
.card-face::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(184, 255, 217, 0.08) 42%, rgba(125, 249, 255, 0.1) 50%, rgba(255, 155, 243, 0.08) 58%, transparent 70%);
  background-size: 260% 100%;
  animation: sheen 8s ease-in-out infinite 1.5s;
  pointer-events: none;
}
.club-card:hover .card-face { transform: rotateX(0) rotateY(0); }
@keyframes cardBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.card-face img { width: 42%; }
.card-face img.card-logo { width: 60%; }
.card-barcode { width: 70%; }
.card-row { display: flex; justify-content: space-between; color: var(--ink); }

/* ---------- the black room ---------- */

.blackroom {
  position: relative;
  background:
    linear-gradient(180deg, rgba(57, 255, 20, 0.05), transparent 9%),
    radial-gradient(900px 600px at 15% 20%, rgba(26, 46, 26, 0.25), transparent 60%),
    var(--base-deep);
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  padding: 7rem var(--pad);
  overflow: hidden;
}

.br-smoke {
  position: absolute; inset: -15%;
  background: url("../assets/smoke_drift.jpg") center / cover;
  mix-blend-mode: screen;
  opacity: 0.07;
  animation: smokeFlowB 70s ease-in-out infinite;
  pointer-events: none;
}

/* LED halo ring, lifted from the lounge ceiling lights */
.halo {
  position: absolute;
  top: -18vw; right: -14vw;
  width: 46vw; height: 46vw;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 90px rgba(255, 255, 255, 0.1),
    inset 0 0 60px rgba(255, 255, 255, 0.06);
  animation: haloBreathe 6.5s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}
@keyframes haloBreathe {
  0%, 100% { box-shadow: 0 0 90px rgba(255, 255, 255, 0.1), inset 0 0 60px rgba(255, 255, 255, 0.06); }
  50% { box-shadow: 0 0 130px rgba(255, 255, 255, 0.16), inset 0 0 80px rgba(255, 255, 255, 0.1); }
}

.blackroom > .mono-label, .br-title, .br-tag, .br-photos, .br-week, .br-book { position: relative; }
.br-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.br-title {
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 1.4rem 0 1.6rem;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.8);
}

.br-tag {
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.8vw, 1rem);
  letter-spacing: 0.28em;
  margin-bottom: 3.5rem;
}

.br-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 3.5rem;
}
.br-photos figure {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(24px) scale(0.97);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.blackroom.in .br-photos figure { opacity: 1; transform: none; }
.br-photos figure:hover {
  border-color: var(--green-dark);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 34px rgba(57, 255, 20, 0.1);
}
.br-photos img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.6s ease;
}
.br-photos figure:hover img { transform: scale(1.05); }

.br-week {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.br-event {
  position: relative;
  background: linear-gradient(180deg, #0d0d0d, var(--base-deep));
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: background 0.25s ease;
}
.br-event::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--neon);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-out);
}
.br-event:hover { background: #121512; }
.br-event:hover::before { transform: scaleY(1); }
.br-event-name { font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: 0.01em; }

.br-book {
  position: relative;
  border: 1px solid var(--green-dim);
  background: linear-gradient(165deg, rgba(26, 46, 26, 0.3), rgba(10, 10, 10, 0.4) 70%);
  box-shadow: inset 0 0 60px rgba(57, 255, 20, 0.04), 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
}

.br-book-title {
  font-family: var(--disp);
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--neon);
  text-shadow: 0 0 24px rgba(57, 255, 20, 0.25);
  margin: 0.9rem 0 0.6rem;
}

.br-book-sub { color: var(--gray); max-width: 44ch; margin-bottom: 1.6rem; }

.br-amens {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.br-amens li {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  border: 1px solid #333;
  background: rgba(16, 16, 16, 0.6);
  padding: 0.6em 0.95em;
  transition: border-color 0.2s, color 0.2s;
}
.br-amens li:hover { border-color: var(--green-dark); color: var(--neon); }

/* ---------- visit ---------- */

.visit {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 7rem var(--pad);
}
/* telemetry grid fading toward the edges */
.visit::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(158, 158, 158, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 158, 158, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

.visit-info { position: relative; }

.visit-title {
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 1.2rem 0 0.7rem;
}
.visit-city {
  font-family: var(--mono);
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 2.2rem;
}
.visit-hours { display: flex; gap: 2.4rem; margin-bottom: 1.6rem; }
.vh-time { display: block; font-weight: 800; font-size: 1.05rem; margin-top: 0.45rem; letter-spacing: 0.02em; }

.visit-contact {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 2.2rem;
}
.visit-contact a { color: var(--ink); border-bottom: 1px solid #333; transition: color 0.2s, border-color 0.2s; }
.visit-contact a:hover { color: var(--neon); border-color: var(--green-dark); }

.visit-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.map-wrap { padding: 0 var(--pad); margin-bottom: 7rem; }
.map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 34vw, 430px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  /* invert flips Google Maps into the blackout world */
  filter: invert(0.92) hue-rotate(180deg) saturate(0.25) brightness(0.92) contrast(1.08);
}

.visit-photo {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: rotate(-1deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.visit-photo:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(57, 255, 20, 0.08);
}
.visit-photo img { filter: saturate(0.85) contrast(1.05); }

/* ---------- footer ---------- */

.footer {
  position: relative;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, #333, transparent) 1;
  padding: 4rem var(--pad) 3rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.8));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  text-align: left;
  max-width: 1400px;
  margin: 0 auto 3.5rem;
}

.f-brand img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.f-tag { font-weight: 700; margin-bottom: 0.7rem; }

.f-head {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.f-col a {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.3em 0;
  transition: color 0.2s;
}
.f-col a:hover { color: var(--neon); }
.f-hours {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--gray);
  margin-top: 0.9rem;
}

.footer-sig { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-barcode {
  width: 180px;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}
.footer-fine {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--gray);
}

/* capture helper: fixed hero height, no motion, everything at final state */
.flat .hero { min-height: 900px; }
.flat *, .flat *::before, .flat *::after {
  animation: none !important;
  transition: none !important;
}
.flat .hero-top, .flat .hero-tag, .flat .hero-actions,
.flat .shop-row, .flat .echo span, .flat .br-photos figure {
  opacity: 1 !important;
  transform: none !important;
}
.flat .hero-word .line > span { transform: none !important; }
.flat .hero-word .w-solid, .flat .hero-word .w-outline {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: var(--ink);
}

/* ---------- responsive ---------- */

@media (max-width: 600px) {
  /* logo centered above the links, not crammed on the left */
  .nav {
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.9rem var(--pad) 0.8rem;
  }
  .nav-brand img { height: 26px; }
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.62rem; letter-spacing: 0.12em; }
  .hero { padding-top: 8.5rem; }
  .hero-word .w-outline { -webkit-text-stroke: 1.5px var(--ink); }
}

@media (max-width: 820px) {
  .club { grid-template-columns: 1fr; }
  .club-card { max-width: 420px; }
  .visit { grid-template-columns: 1fr; }
  .br-photos { grid-template-columns: 1fr; }
  .br-photos figure:nth-child(n+2) { display: none; } /* one strong lounge shot on phones */
  .br-week { grid-template-columns: 1fr; }
  .hero-barcode { display: none; }
  .shop-row::after { display: none; }
  .br-week { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .smoke-a, .smoke-b, .gate-smoke, .br-smoke, .grain, .live-dot,
  .hero-word .w-solid, .card-face, .card-face::after, .ticker-track, .halo { animation: none; }
  .reveal, .shop-row, .echo span, .br-photos figure { opacity: 1; transform: none; transition: none; }
  .hero-top, .hero-tag, .hero-actions { opacity: 1; }
  .hero-word .line > span { transform: none; }
}

/* ---------- the stash ---------- */

.stash {
  position: relative;
  padding: 6rem 0 5.5rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  /* faint green pool low in the section, same DNA as the club glow */
  background: radial-gradient(900px 500px at 20% 100%, rgba(24, 120, 48, 0.1), transparent 65%);
}

.stash-head { padding: 0 var(--pad); }

.stash-title {
  font-size: clamp(2.6rem, 8.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 1.2rem 0 1rem;
}

.stash-sub { color: var(--gray); max-width: 46ch; margin-bottom: 2.6rem; }

.stash-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 var(--pad) 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--green-dark) transparent;
}
.stash-strip::-webkit-scrollbar { height: 6px; }
.stash-strip::-webkit-scrollbar-thumb { background: var(--green-dim); }

.stash-card {
  flex: 0 0 clamp(220px, 30vw, 320px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--base-deep);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stash-card:hover {
  border-color: var(--green-dark);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 34px rgba(57, 255, 20, 0.1);
}
.stash-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.stash-card:hover img { transform: scale(1.04); }
.stash-card figcaption {
  padding: 0.85rem 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.62rem;
}

.stash-hint { color: var(--gray); padding: 0 var(--pad); margin-top: 0.4rem; }

.stash-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 1.8rem var(--pad) 0;
}

/* ---------- brands wall ---------- */

.brands {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.brands > .mono-label { padding: 0 var(--pad); margin-bottom: 2rem; }

.brand-row { overflow: hidden; padding: 1.05rem 0; }
.brand-row + .brand-row { border-top: 1px solid #1a1a1a; }

.brand-track {
  display: flex; align-items: center;
  gap: clamp(2.6rem, 6vw, 4.8rem);
  width: max-content;
  animation: tick 46s linear infinite;
}
.brand-row-rev .brand-track { animation-direction: reverse; animation-duration: 52s; }
.brand-row:hover .brand-track { animation-play-state: paused; }

.brand-track img {
  height: clamp(38px, 5.5vw, 58px);
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.brand-track img:hover { opacity: 1; transform: scale(1.06); }

.brands-hint { padding: 0 var(--pad); margin-top: 2rem; color: var(--gray); }
.brands-hint a { color: var(--neon); border-bottom: 1px solid var(--green-dark); }

@media (max-width: 600px) {
  .stash-card { flex-basis: 74vw; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
  .stash-card img { transition: none; }
}

.flat .stash-card, .flat .brand-track img { opacity: 1 !important; transform: none !important; }

/* ---------- videos page ---------- */

.nav-links a.active { color: var(--neon); border-color: var(--neon); }

.vhero {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 16vh, 10rem) var(--pad) 1rem;
  text-align: center;
}

.vhero-inner { position: relative; z-index: 2; }

.vhero-top { margin-bottom: 1.4rem; opacity: 0; }

.vhero-title {
  font-weight: 900;
  font-size: clamp(3.6rem, 15vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* same holo sheen pass as the homepage wordmark */
.vhero-title .w-solid,
.vhero-title .w-outline {
  background: linear-gradient(
    100deg,
    var(--ink) 42%, #b8ffd9 47%, #7df9ff 50%, #ff9bf3 53%, var(--ink) 58%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
.vhero-title .w-outline { animation-delay: 0.4s; }

.vhero-sub {
  color: var(--gray);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  max-width: 34em;
  margin: 1.6rem auto 0;
  opacity: 0;
}

body.entered .vhero-top { animation: fadeUp 0.8s var(--ease-out) 0.25s forwards; }
body.entered .vhero-sub { animation: fadeUp 0.8s var(--ease-out) 0.5s forwards; }

/* ---------- screens ---------- */

.vfeature {
  padding: 0 var(--pad);
  margin: 3.5rem 0 4.5rem;
  display: flex;
  justify-content: center;
}

.screen {
  position: relative;
  background: var(--base-deep);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.screen:hover { border-color: var(--green-dark); box-shadow: 0 0 32px rgba(57, 255, 20, 0.08); }

/* corner tick, like a mounted display */
.screen::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 14px; height: 14px;
  border-top: 2px solid var(--neon);
  border-left: 2px solid var(--neon);
  z-index: 2;
}

.screen-feature { width: min(100%, 430px); }

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.screen-date { color: var(--gray); }

.screen-stage {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
}
.screen-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 55%, rgba(10, 10, 10, 0.55));
  border: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.play-tri {
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #051202;
  margin-left: 5px;
}
.screen-play::before {
  content: "";
  position: absolute;
  width: 76px; height: 76px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(57, 255, 20, 0.45);
  transition: transform 0.25s var(--ease-out);
}
.screen-play:hover::before { transform: scale(1.1); }
.play-tri { position: relative; z-index: 1; }
.screen.playing .screen-play { opacity: 0; visibility: hidden; }

.screen-foot { padding: 1rem 1rem 1.2rem; }

.screen-name {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  letter-spacing: 0.01em;
}
.screen-sub { color: var(--gray); font-size: 0.88rem; margin-top: 0.4rem; }

/* ---------- wall grid ---------- */

.vwall { padding: 0 var(--pad); margin: 0 0 4.5rem; }

.vwall-label { margin-bottom: 1.2rem; }

.vwall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  max-width: 1100px;
}

/* cascade in with the section reveal */
.vwall-grid .screen { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.12s); }
.vwall.in .vwall-grid .screen { opacity: 1; transform: none; }
.vwall-grid .screen:hover { box-shadow: 0 0 32px rgba(57, 255, 20, 0.08); }

.vwall-hint {
  color: var(--gray);
  margin-top: 1.6rem;
  letter-spacing: 0.3em;
  font-size: 0.62rem;
}

/* ---------- videos cta ---------- */

.vcta {
  text-align: center;
  padding: 5rem var(--pad);
}
.vcta-title {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.5vw, 3.4rem);
  letter-spacing: -0.01em;
  margin: 1rem 0 0.8rem;
}
.mbr { display: none; }
@media (max-width: 600px) { .mbr { display: inline; } }
.vcta-sub { color: var(--gray); margin-bottom: 2rem; }
.vcta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .vhero-title .w-solid, .vhero-title .w-outline { animation: none; background: none; color: var(--ink); }
  .vwall-grid .screen { transition: none; }
}

/* capture helper parity for the videos page */
.flat .vhero-top, .flat .vhero-sub,
.flat .vwall-grid .screen { opacity: 1 !important; transform: none !important; }
.flat .vhero-title .w-solid, .flat .vhero-title .w-outline {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: var(--ink);
}
