:root {
  --night: #05070c;
  --ink: #0a0f17;
  --ink-2: #111824;
  --line: rgba(220, 230, 255, 0.14);
  --text: #f3f5f8;
  --muted: #a3adbb;
  --flood: #eaf1ff;
  --sale: #ff3d3d;
  --open: #4ade80;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.92; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--flood); outline-offset: 3px; border-radius: 4px; }
.keep-case { text-transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--flood); color: #000; padding: 12px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font: 600 13px/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.tag-sale {
  background: var(--sale); color: #fff; padding: 5px 8px 4px; border-radius: 4px;
  letter-spacing: 0.12em;
}
.lede { color: #c9d1dc; font-size: 16px; line-height: 1.5; max-width: 34ch; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: 60px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(rgba(5, 7, 12, 0.78), rgba(5, 7, 12, 0));
}
.top::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(5, 7, 12, 0.94); border-bottom: 1px solid var(--line);
  transition: opacity 0.3s ease;
}
.top.solid::after { opacity: 1; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 136px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px;
  font: 600 14px/1 var(--body); text-decoration: none; color: #dfe5ee;
}
.top-nav .btn-mini {
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 0 18px; color: #fff;
}
.top-nav a:hover { color: #fff; }

/* ---------- 3D stage + poster ---------- */
#stage {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 0.9s ease;
}
#stage.on { opacity: 1; }
.poster { position: fixed; inset: 0; z-index: -1; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.webgl-on .poster { transition: opacity 0.9s ease; }
.webgl-ready .poster { opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s 0.9s; }

/* ---------- flight (scroll-scrubbed camera) ---------- */
main { position: relative; z-index: 1; }
.flight { position: relative; height: 900vh; }
.hud { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrim {
  position: absolute; inset: auto 0 0 0; height: 58%;
  background: linear-gradient(rgba(5, 7, 12, 0), rgba(5, 7, 12, 0.55) 45%, rgba(5, 7, 12, 0.88));
  pointer-events: none;
}

.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: calc(28px + var(--safe-b));
  display: grid; gap: 16px;
  will-change: opacity, transform;
}
.hero-copy .eyebrow, .intro .eyebrow { color: #e6ebf2; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9); }
.hero-copy h1 {
  font-size: clamp(64px, 19vw, 150px);
  font-style: italic;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn {
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--flood); color: #05070c;
  font: 600 16px/1 var(--body); text-decoration: none;
  box-shadow: 0 0 0 0 rgba(234, 241, 255, 0), 0 10px 30px -10px rgba(200, 220, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(200, 220, 255, 0.75); }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: rgba(5, 7, 12, 0.35); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: #fff; }
.scroll-cue {
  display: flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue span { width: 1px; height: 26px; background: linear-gradient(var(--flood), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.intro {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(40px + var(--safe-b));
  display: grid; gap: 14px; opacity: 0; outline: none;
}
.intro h2 { font-size: clamp(54px, 15vw, 112px); font-style: italic; }

/* boot stops: one visible at a time */
.stops { list-style: none; margin: 0; padding: 0; }
.stop {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(22px + var(--safe-b));
  opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}
.stop.live { pointer-events: auto; }
.stop-link {
  display: grid; gap: 6px; text-decoration: none;
  padding: 16px 18px 16px;
  background: linear-gradient(180deg, rgba(13, 19, 30, 0.9), rgba(7, 10, 17, 0.94));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stop-media { display: none; }
.stop-meta { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stop-meta .num { color: var(--flood); font-variant-numeric: tabular-nums; }
.stop h3 { font-size: 27px; line-height: 1; font-weight: 800; text-wrap: balance; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price .now { font: 800 26px/1 var(--display); }
.price s { color: var(--muted); font-size: 15px; }
.price .off { font: 600 12px/1 var(--body); background: var(--sale); color: #fff; padding: 4px 6px 3px; border-radius: 4px; letter-spacing: 0.06em; }
.price.sale .now { color: #fff; }
.where { font-size: 13px; color: var(--muted); }
.stop .go { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font: 600 14px/1 var(--body); }
.stop .go i { font-style: normal; transition: transform 0.2s ease; }
.stop-link:hover .go i { transform: translateX(4px); }

.rail {
  position: absolute; top: 64px; left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; opacity: 0;
  transition: opacity 0.4s ease;
}
.rail i { height: 2px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; overflow: hidden; }
.rail i b { display: block; height: 100%; background: var(--flood); transform-origin: left; transform: scaleX(0); }

/* ---------- categories (pitch-side boards) ---------- */
.cats {
  position: relative;
  padding: 120px 0 64px;
  background: linear-gradient(rgba(5, 7, 12, 0) 0, rgba(5, 7, 12, 0.72) 140px, rgba(5, 7, 12, 0.86));
}
.cats h2, .outlets h2 { font-size: clamp(46px, 12vw, 84px); font-style: italic; margin: 14px 0 26px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat {
  position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none;
  background: linear-gradient(180deg, #0f1622, #080c13);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  min-height: 210px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cat::before { /* the board's lamp strip */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--flood), transparent);
  box-shadow: 0 0 18px 2px rgba(220, 232, 255, 0.55);
}
.cat:hover { transform: translateY(-3px); border-color: rgba(234, 241, 255, 0.4); }
.cat-photo { margin: 12px 12px 0; background: #fff; border-radius: 8px; aspect-ratio: 5 / 4; overflow: hidden; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-txt { display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px 14px; gap: 4px; }
.cat-txt h3 { font-size: 26px; }
.cat-txt span { font-size: 13px; color: var(--muted); }

/* ---------- perks band ---------- */
.perks { background: #0b111b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk-row { display: grid; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: 15px; color: #c9d1dc; }
.perk-row strong { color: #fff; font-weight: 600; }

/* ---------- outlets ---------- */
.outlets { background: var(--night); padding: 72px 0 72px; }
.outlets .lede { margin: -12px 0 26px; }
.outlet-grid { display: grid; gap: 12px; }
.outlet {
  background: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px;
  display: grid; gap: 12px;
}
.outlet h3 { font-size: 30px; }
.outlet h3 small { display: block; font: 600 12px/1 var(--body); letter-spacing: 0.16em; color: var(--muted); margin-bottom: 8px; }
.outlet address { font-style: normal; color: #c9d1dc; font-size: 15px; }
.status { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #c9d1dc; font-variant-numeric: tabular-nums; }
.status b { font-weight: 600; color: #fff; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #6b7280; flex: none; }
.status.is-open .dot { background: var(--open); box-shadow: 0 0 10px var(--open); }
.status.is-open b { color: var(--open); }
.o-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.o-actions a {
  min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; text-decoration: none; font: 600 15px/1 var(--body);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.o-actions a.call { background: var(--flood); color: #05070c; border-color: var(--flood); }
.o-actions a:hover { border-color: #fff; }
.o-more { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- footer ---------- */
.foot { background: #030408; border-top: 1px solid var(--line); padding: 40px 0 calc(40px + var(--safe-b)); position: relative; z-index: 1; }
.foot-in { display: grid; gap: 18px; color: var(--muted); font-size: 14px; }
.foot-in > img { width: 150px; height: auto; }
.foot-outlets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-outlets a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot-outlets a:hover { color: #fff; }

/* ---------- still mode: reduced motion or no WebGL ---------- */
.still #stage { display: none; }
.still .poster { position: absolute; inset: 0 0 auto 0; height: 100vh; height: 100svh; z-index: 0; }
.still .flight { height: auto; }
.still .hud { position: relative; height: auto; overflow: visible; }
.still .scrim { display: none; }
.still .hero-copy { position: relative; left: auto; right: auto; bottom: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 90px var(--gutter) 40px; background: linear-gradient(rgba(5,7,12,0) 35%, rgba(5,7,12,0.85)); }
.still .hero-copy > * + * { margin-top: 16px; }
.still .scroll-cue { display: none; }
.still .intro { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; padding: 64px var(--gutter) 24px; background: var(--night); }
.still .stops { display: grid; gap: 12px; padding: 0 var(--gutter) 64px; background: var(--night); }
.still .stop { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; opacity: 1; pointer-events: auto; transform: none !important; }
.still .stop-link { height: 100%; align-content: start; }
.still .stop .go { margin-top: auto; }
#lineup { scroll-margin-top: 72px; }
.still .stop-media { display: block; background: #fff; border-radius: 10px; overflow: hidden; aspect-ratio: 5 / 4; margin-bottom: 8px; }
.still .stop-media img { width: 100%; height: 100%; object-fit: cover; }
.still .rail { display: none; }
.still .cats { background: var(--night); padding-top: 64px; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .top { height: 76px; }
  .brand img { width: 170px; }
  .hero-copy { left: var(--gutter); right: auto; bottom: 64px; max-width: 760px; }
  .lede { font-size: 18px; }
  .scrim { height: 70%; background: linear-gradient(rgba(5,7,12,0), rgba(5,7,12,0.5) 50%, rgba(5,7,12,0.85)); }
  .intro { left: var(--gutter); right: auto; bottom: 72px; max-width: 640px; }
  .stop { left: 0; right: auto; top: 0; bottom: auto; width: 360px; }
  .stop-link { padding: 20px 22px 18px; gap: 8px; }
  .stop h3 { font-size: 32px; }
  .rail { top: auto; bottom: 34px; left: auto; right: var(--gutter); width: 260px; }
  .cats { padding: 160px 0 96px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .cat { min-height: 300px; }
  .cat-txt h3 { font-size: 32px; }
  .perk-row { grid-template-columns: 1fr 1fr; padding-top: 22px; padding-bottom: 22px; }
  .outlets { padding: 110px 0; }
  .outlet-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .foot-outlets { grid-auto-flow: column; justify-content: center; gap: 24px; }
  .still .stops { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 var(--gutter) 96px; }
  .still .hero-copy { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
  .still .hero-copy > * { max-width: 760px; }
  .still .stop h3 { font-size: 26px; }
}
@media (min-width: 1200px) {
  .hero-copy h1 { font-size: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
