/* Velvet Hours — tour-first proof */
:root{
  --ink:#0a0714;
  --cream:#f4effc;
  --cream-dim:rgba(244,239,252,.72);
  --neon:#ff2e7e;
  --neon-bright:#ff7ab0;
  --violet:#8b5cff;
  --panel:rgba(13,9,24,.93);
  --line:rgba(244,239,252,.16);
  --disp:"Archivo",-apple-system,"Segoe UI",Roboto,sans-serif;
  --sans:"Inter",-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%;overscroll-behavior:none}
body{
  font-family:var(--sans);
  background:var(--ink);
  color:var(--cream);
  overflow:hidden;
  overscroll-behavior:none;
  -webkit-font-smoothing:antialiased;
}
button{font-family:inherit;cursor:pointer;color:inherit;background:none;border:none}
[hidden]{display:none !important}

/* ---------- stage: a filmstrip you slide through ---------- */
.stage{position:fixed;inset:0;z-index:0;background:#000;overflow:hidden;touch-action:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.track{position:absolute;inset:0;will-change:transform}
.track.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.slide{
  position:absolute;top:0;left:calc(var(--i)*100%);
  width:100%;height:100%;overflow:hidden;
}
/* the walk <-> floor seam: the incoming scene stacks over the room you
   are standing in (its left is set inline to counter the track offset)
   and the two scenes crossfade through a soft dip instead of sliding */
.slide.seam-top{z-index:3}
.scene{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;-webkit-user-drag:none;user-select:none;
}
/* The booths clip is portrait: on wide screens, bias the cover crop
   toward the table so the stop reads as a booth, not a portrait. */
#v-vip{object-position:50% 64%}
.slide-shade{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,3,14,.45) 0%,rgba(6,3,14,0) 22%,rgba(6,3,14,0) 62%,rgba(6,3,14,.6) 100%);
}

/* ---------- landing page: the front of the club, outside the tour ---------- */
.landing{
  position:fixed;inset:0;z-index:5;touch-action:none;overflow:hidden;
  user-select:none;-webkit-user-select:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:24px;background:#000;
  will-change:transform;
}
.landing.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.landing-shade{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,3,14,.42),rgba(6,3,14,.62));
}
.title-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:0}
/* a breath of dark behind the sign so the name wins against the
   brightest frames of the corridor clip; not a visible element */
.title-inner::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  left:50%;top:40%;transform:translate(-50%,-50%);
  width:150%;height:135%;
  background:radial-gradient(50% 50% at 50% 50%,rgba(4,2,9,.48),rgba(4,2,9,0) 70%);
}
.eyebrow{
  font-size:.78rem;letter-spacing:.32em;text-transform:uppercase;
  color:var(--neon-bright);font-weight:600;
}
.landing h1{
  font-family:var(--disp);font-weight:900;text-transform:uppercase;
  font-size:clamp(3.1rem,10.5vw,6.5rem);line-height:1.0;
  margin:.18em 0 .22em;letter-spacing:.03em;
  position:relative;
  /* the sign buzzes on once: two dips and it catches. Opacity only:
     the flicker must never force a repaint of the glow layers. */
  animation:neon-on .8s linear both;
}
/* The club's neon sign, built in two layers so the breathing costs
   nothing per frame. Animating text-shadow/filter on the heading
   itself (the old build) repainted seven shadow layers at full
   heading size every frame and pinned the main thread on desktop.
   Now the tube (a near-white-pink core with the tight halo and the
   dark drop) is painted once and never moves, and the wide bloom
   lives on a duplicate behind it whose opacity and a breath of
   scale animate instead: compositor work, no shadow repaint. The
   settled look is the same sign: same core, same magenta-to-violet
   bloom, same sizes. */
.neon-tube{
  position:relative;
  color:#fff2f8;
  text-shadow:
    0 0 2px rgba(255,255,255,.9),
    0 0 8px rgba(255,179,209,.85),
    0 0 18px rgba(255,46,126,.9),
    0 2px 26px rgba(0,0,0,.45);
}
.neon-glow{
  position:absolute;inset:0;pointer-events:none;
  color:transparent;opacity:.86;
  /* the wide layers, drawn at their breathing midpoint; the pulse
     below swings this layer's opacity .86 -> 1 (and scale a touch),
     which lands the bloom on the same values the old keyframes
     painted at rest and at peak */
  text-shadow:
    0 0 38px rgba(255,46,126,.8),
    0 0 72px rgba(255,46,126,.62),
    0 0 120px rgba(139,92,255,.5);
  animation:neon-breathe 5.2s ease-in-out 1.1s infinite backwards;
}
@keyframes neon-on{
  0%{opacity:0}
  10%{opacity:1}
  16%{opacity:.3}
  24%{opacity:1}
  32%{opacity:.55}
  42%,100%{opacity:1}
}
/* then it breathes, barely: only the outer bloom swells and settles */
@keyframes neon-breathe{
  0%,100%{opacity:.86;transform:scale(1)}
  50%{opacity:1;transform:scale(1.04)}
}
.tagline{font-size:clamp(1rem,2.6vw,1.25rem);line-height:1.55;color:var(--cream-dim);margin-bottom:2rem}
.fineprint{font-size:.72rem;line-height:1.6;color:rgba(244,239,252,.5);max-width:56ch}
.title-credits{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);width:min(92vw,56ch);text-align:center}

.btn-primary{
  background:var(--neon);color:#fff;border:none;
  font-weight:600;font-size:1rem;letter-spacing:.02em;
  padding:.95rem 2.1rem;border-radius:999px;
  transition:background .25s ease,transform .25s ease;
  box-shadow:0 8px 32px rgba(255,46,126,.35);
}
.btn-primary:hover{background:var(--neon-bright);transform:translateY(-1px)}
.btn-quiet{
  margin-top:1rem;font-size:.88rem;color:var(--cream-dim);
  text-decoration:underline;text-underline-offset:4px;
}
.btn-quiet:hover{color:var(--cream)}

/* ---------- tour chrome ---------- */
.chrome{position:fixed;left:0;right:0;z-index:20;display:flex;align-items:center;touch-action:none;user-select:none;-webkit-user-select:none}
.chrome-top{
  top:0;justify-content:space-between;
  padding:calc(14px + env(safe-area-inset-top)) 20px 14px;
}
.wordmark{font-family:var(--disp);font-weight:900;text-transform:uppercase;font-size:1.05rem;letter-spacing:.06em;text-shadow:0 1px 12px rgba(0,0,0,.6)}
.skip-link{
  font-size:.85rem;font-weight:500;color:var(--cream);
  border:1px solid var(--line);border-radius:999px;padding:.5rem 1rem;
  background:rgba(10,6,20,.45);backdrop-filter:blur(6px);
}
.skip-link:hover{border-color:var(--neon);color:var(--neon-bright)}
.chrome-bottom{
  bottom:0;justify-content:center;gap:16px;
  padding:16px 20px calc(16px + env(safe-area-inset-bottom));
}
.progress{display:flex;align-items:center;gap:10px}
.pstop{
  display:flex;align-items:center;gap:8px;
  font-size:.85rem;font-weight:500;color:var(--cream-dim);
  padding:.45rem .2rem;white-space:nowrap;
}
.pdot{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--cream-dim);display:inline-block;transition:all .3s}
.pstop.is-current{color:var(--cream)}
.pstop.is-current .pdot{background:var(--neon);border-color:var(--neon)}
.pstop.is-done{color:var(--cream-dim)}
.pstop.is-done .pdot{background:var(--cream-dim);border-color:var(--cream-dim)}
.plink{width:22px;height:1px;background:var(--line)}

/* ---------- swipe cue: the gesture teacher ----------
   The tour is driven by a swipe, and a first-time visitor has no
   way to know that. The old hint was a whisper: a small pill that
   swayed 6px, easy to miss entirely. This cue has presence: a
   neon-edged pill with a rail inside it and a dot that travels
   the rail, looping, beside the words, readable at a glance from
   arm's length. It shows from the moment the tour starts until
   the visitor completes their first real swipe (markSlid in
   app.js); indirect navigation (progress dots, arrow keys,
   trackpad flicks) moves the tour but does not retire it, because
   its job is to teach the gesture, not the destination. It sits
   bottom-center, clear of the progress nav below it and of the
   hotspot's mid-screen territory, and pointer-events:none means a
   tap aimed at either passes straight through it regardless. */
.swipe-cue{
  position:fixed;z-index:23;left:50%;
  bottom:calc(88px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;align-items:center;gap:14px;
  font-size:1rem;font-weight:600;letter-spacing:.04em;color:var(--cream);
  background:rgba(10,6,20,.82);
  border:1.5px solid rgba(255,46,126,.65);border-radius:999px;
  padding:.68rem 1.4rem .68rem .75rem;
  backdrop-filter:blur(8px);
  box-shadow:0 12px 36px rgba(0,0,0,.5),0 0 24px rgba(255,46,126,.3);
  white-space:nowrap;pointer-events:none;
  animation:cue-in .45s cubic-bezier(.2,.9,.25,1) both;
}
@keyframes cue-in{
  from{opacity:0;transform:translateX(-50%) translateY(10px)}
  to{opacity:1;transform:translateX(-50%) translateY(0)}
}
/* retirement is a bow, not a blink: markSlid adds .cue-bye and the
   cue fades down before app.js hides it for good */
.swipe-cue.cue-bye{animation:cue-out .32s ease both}
@keyframes cue-out{
  from{opacity:1;transform:translateX(-50%) translateY(0)}
  to{opacity:0;transform:translateX(-50%) translateY(8px)}
}
.swipe-rail{
  position:relative;flex:none;width:84px;height:30px;border-radius:999px;
  border:1px solid var(--line);background:rgba(244,239,252,.07);
  overflow:hidden;
}
.swipe-rail::before,.swipe-rail::after{
  position:absolute;top:50%;transform:translateY(-50%);
  font-size:.85rem;font-weight:700;line-height:1;color:rgba(244,239,252,.45);
}
.swipe-rail::before{content:"‹";left:6px}
.swipe-rail::after{content:"›";right:6px}
.swipe-dot,.swipe-ghost{
  position:absolute;top:50%;left:6px;width:18px;height:18px;margin-top:-9px;
  border-radius:50%;
  animation:swipe-travel 1.9s ease-in-out infinite;
}
.swipe-dot{
  background:var(--neon);border:2px solid rgba(255,255,255,.92);
  box-shadow:0 0 16px rgba(255,46,126,.85);
}
.swipe-ghost{background:rgba(255,46,126,.35);animation-delay:.13s}  /* the dot's trail: the lag sells the travel */
@keyframes swipe-travel{
  0%,14%{transform:translateX(0)}
  46%,58%{transform:translateX(46px)}
  90%,100%{transform:translateX(0)}
}

/* ---------- hotspot ---------- */
.hotspot{
  position:fixed;z-index:25;transform:translate(-50%,-50%);touch-action:none;
  user-select:none;-webkit-user-select:none;
  display:flex;flex-direction:column;align-items:center;gap:10px;
  padding:18px; /* generous tap target */
  animation:hs-in .6s ease both;
}
@keyframes hs-in{from{opacity:0}to{opacity:1}}
.hs-rings{position:relative;width:54px;height:54px;display:block}
.hs-core{
  position:absolute;inset:19px;border-radius:50%;
  background:var(--neon);border:2px solid rgba(255,255,255,.9);
  box-shadow:0 2px 16px rgba(255,46,126,.55);
}
/* The original ping, made a little more present (Hector's call after
   Rachel allowed she was half asleep when she missed the bigger
   rebuild's predecessor): the rings are born visible at .85 instead
   of fading in from nothing, swell a touch larger (to about 59px,
   roughly 3.7x the core), and cycle a bit quicker at 2.2s. */
.hs-ring{
  position:absolute;inset:6px;border-radius:50%;
  border:1.5px solid rgba(255,122,176,.85);
  animation:pulse 2.2s ease-out infinite;
}
.hs-ring.r2{animation-delay:1.1s}
@keyframes pulse{
  0%{transform:scale(.55);opacity:.85}
  70%{opacity:.3}
  100%{transform:scale(1.4);opacity:0}
}
.hs-label{
  font-size:.82rem;font-weight:600;letter-spacing:.04em;
  background:rgba(10,6,20,.72);border:1px solid var(--line);
  padding:.45rem .85rem;border-radius:999px;backdrop-filter:blur(6px);
  white-space:nowrap;
}
.hotspot:hover .hs-core{background:var(--neon-bright)}

/* ---------- cards ---------- */
.scrim{
  position:fixed;inset:0;z-index:30;background:rgba(5,3,10,.45);
  /* no backdrop blur here: a fullscreen blur over the playing video
     was the single biggest compositor cost with a card open, and at
     2px under a 45% veil it bought nothing visible */
  animation:hs-in .35s ease both;
}
.card{
  position:fixed;z-index:31;left:50%;top:50%;touch-action:pan-y;
  transform:translate(-50%,-50%);
  width:min(480px,calc(100vw - 32px));
  max-height:calc(100dvh - 130px);overflow-y:auto;
  background:var(--panel);border:1px solid var(--line);border-radius:20px;
  padding:30px 30px 26px;backdrop-filter:blur(6px);  /* was 14px: over a playing video the big radius cost real frames; the panel sits a touch more opaque (--panel) to make up the difference */
  box-shadow:0 30px 80px rgba(0,0,0,.55);
  animation:card-in .45s cubic-bezier(.2,.9,.25,1) both;
}
@keyframes card-in{from{opacity:0;transform:translate(-50%,-46%)}to{opacity:1;transform:translate(-50%,-50%)}}
.card-x{
  position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:50%;
  color:var(--cream-dim);font-size:.95rem;line-height:1;
  display:flex;align-items:center;justify-content:center;
}
.card-x:hover{color:var(--cream);background:rgba(244,239,252,.08)}
.card-eyebrow{font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--neon-bright);font-weight:600;margin-bottom:.7rem}
.card h2{font-family:var(--disp);font-weight:900;text-transform:uppercase;letter-spacing:.02em;font-size:1.75rem;line-height:1.1;margin-bottom:.4rem}
.card h3{font-family:var(--disp);font-weight:700;font-size:1.2rem;color:var(--neon-bright);margin-bottom:.6rem}
.card p{line-height:1.6;color:var(--cream-dim);font-size:.97rem}
.card-note{font-size:.8rem !important;color:rgba(244,239,252,.45) !important;margin-top:.9rem}
.btn-card{margin-top:1.4rem;width:100%}
.btn-ghost{
  background:transparent;border:1px solid var(--line);color:var(--cream-dim);
  font-weight:600;font-size:1rem;letter-spacing:.02em;
  padding:.95rem 2.1rem;border-radius:999px;
  transition:border-color .25s ease,color .25s ease;
}
.btn-ghost:hover{border-color:var(--neon);color:var(--cream)}
.drink-list{list-style:none;margin-top:.4rem}
.drink-list li{padding:.65rem 0;border-bottom:1px solid var(--line)}
.drink-list li:last-child{border-bottom:none}
.drink-list strong{font-family:var(--disp);font-weight:700;font-size:1.05rem;display:block}
.drink-list span{color:var(--cream-dim);font-size:.9rem;line-height:1.5}

/* ---------- the bar card: the box stays put, the menu scrolls inside ----------
   The card keeps its height and width; the header and the button stay
   pinned, and only the drinks list scrolls, with no visible scrollbar.
   A soft fade at the foot of the list says there is more below; it
   lifts when the last drink is reached (app.js toggles .at-end). */
#card-bar{display:flex;flex-direction:column;overflow:hidden}
#card-bar .drink-scroll{
  position:relative;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;
}
#card-bar .drink-list{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  margin-top:0;  /* the h2's margin already sets the gap; flex does not collapse margins */
  overscroll-behavior:contain;touch-action:pan-y;
  scrollbar-width:none;-ms-overflow-style:none;
}
#card-bar .drink-list::-webkit-scrollbar{display:none;width:0;height:0}
#card-bar .drink-scroll::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:38px;
  background:linear-gradient(to bottom,rgba(13,9,24,0),rgba(13,9,24,.95));
  pointer-events:none;transition:opacity .35s ease;
}
#card-bar .drink-scroll.at-end::after{opacity:0}

/* ---------- the DJ card: the same pinned box, with a next-up section ----------
   Header and Keep touring stay pinned; tonight's set and the next-up
   section scroll between them, invisibly, when a short screen asks
   for it. Book now is the card's one loud element, so Keep touring
   goes quiet here (the .btn-ghost above). */
#card-dj{display:flex;flex-direction:column;overflow:hidden}
#card-dj .card-scroll{
  position:relative;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;
}
#card-dj .card-scroll-body{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  overscroll-behavior:contain;touch-action:pan-y;
  scrollbar-width:none;-ms-overflow-style:none;
}
#card-dj .card-scroll-body::-webkit-scrollbar{display:none;width:0;height:0}
#card-dj .card-scroll::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:38px;
  background:linear-gradient(to bottom,rgba(13,9,24,0),rgba(13,9,24,.95));
  pointer-events:none;transition:opacity .35s ease;
}
#card-dj .card-scroll.at-end::after{opacity:0}
.next-up{margin-top:1.35rem;padding-top:1.25rem;border-top:1px solid var(--line)}
.next-up .card-eyebrow{margin-bottom:.5rem}
#card-dj .next-night{font-weight:600;color:var(--cream);margin-bottom:.35rem}

.field-label{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;color:var(--neon-bright);font-weight:600;margin:1.1rem 0 .55rem}
.field-opt{letter-spacing:.05em;text-transform:none;color:var(--cream-dim);font-weight:400}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  border:1px solid var(--line);border-radius:999px;
  padding:.6rem 1rem;font-size:.9rem;font-weight:500;color:var(--cream-dim);
  transition:all .2s ease;min-height:44px;
}
.chip:hover{border-color:var(--neon)}
.chip.is-on{background:var(--neon);border-color:var(--neon);color:#fff;font-weight:600}
.party-row{display:flex;align-items:center;gap:18px}
.stepper{
  width:46px;height:46px;border-radius:50%;
  border:1px solid var(--line);font-size:1.35rem;line-height:1;color:var(--cream);
  display:flex;align-items:center;justify-content:center;
}
.stepper:hover{border-color:var(--neon);color:var(--neon-bright)}
.party-count{font-size:1rem;color:var(--cream-dim)}
.party-count strong{color:var(--cream);font-size:1.15rem}
.name-input{
  width:100%;background:rgba(244,239,252,.06);
  border:1px solid var(--line);border-radius:12px;
  padding:.8rem 1rem;font-size:1rem;color:var(--cream);
  font-family:inherit;outline:none;
}
.name-input::placeholder{color:rgba(244,239,252,.35)}
.name-input:focus{border-color:var(--neon)}
.done-mark{
  width:52px;height:52px;border-radius:50%;margin-bottom:1rem;
  background:var(--neon);color:#fff !important;
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;font-weight:700;
}
#listDone h3{font-family:var(--disp);font-weight:700;font-size:1.3rem;margin-bottom:.5rem}
#listDone p{line-height:1.6;color:var(--cream-dim);font-size:.97rem}

/* ---------- the list: the last slide on the strip ---------- */
.list{
  position:fixed;inset:0;z-index:40;overflow-y:auto;touch-action:pan-y;
  background:
    radial-gradient(120% 90% at 50% 0%,#2b1140 0%,#150a24 55%,#0a0714 100%);
  transform:translateX(100%);visibility:hidden;will-change:transform;
}
.list.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.list-inner{max-width:620px;margin:0 auto;padding:64px 24px 56px;text-align:center}
.list .eyebrow{margin-bottom:1rem}
.list-head{
  font-family:var(--disp);font-weight:900;text-transform:uppercase;
  font-size:clamp(1.9rem,6vw,3.2rem);line-height:1.12;margin-bottom:2.6rem;
}
.list-panel{
  text-align:left;background:var(--panel);
  border:1px solid var(--line);border-radius:20px;
  padding:28px 28px 24px;backdrop-filter:blur(14px);
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  margin-bottom:2.6rem;
}
.list-panel .field-label:first-child{margin-top:0}
.list-foot{display:flex;flex-direction:column;align-items:center;gap:1.1rem}
.list-foot>p:first-child{color:var(--cream-dim);font-size:.92rem;letter-spacing:.04em}
.list-foot .fineprint{text-align:center}

/* ---------- phones ---------- */
@media (max-width:640px){
  .card{
    left:0;right:0;top:auto;bottom:0;transform:none;width:auto;
    border-radius:22px 22px 0 0;border-bottom:none;
    max-height:82dvh;padding:26px 22px calc(22px + env(safe-area-inset-bottom));
    animation:sheet-in .45s cubic-bezier(.2,.9,.25,1) both;
  }
  @keyframes sheet-in{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
  .swipe-cue{bottom:calc(78px + env(safe-area-inset-bottom));font-size:.95rem}  /* the phone progress bar is dots-only and shorter; the cue rides a touch lower */
  .progress{gap:8px}
  .progress .pstop{font-size:0;gap:0}            /* dots only… */
  .progress .pstop.is-current{font-size:.78rem;gap:6px}  /* …except the leg you are on */
  .plink{display:none}
  .chrome-bottom{padding-left:14px;padding-right:14px}
  .landing h1{letter-spacing:.012em}  /* the name already fills a phone frame */
  .list-panel{padding:24px 20px 20px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  .hs-ring{animation:none;opacity:.7;transform:scale(1)}  /* no pulse under reduced motion: a still halo */
  .swipe-cue{animation:none}  /* the cue still shows under reduced motion; it just holds still */
  .swipe-dot,.swipe-ghost{animation:none}
  .swipe-ghost{display:none}
  .swipe-dot{transform:translateX(23px)}  /* the dot rests mid-rail between the chevrons: a still picture of the gesture */
  .track,.landing{transition:opacity .19s ease}  /* slides become a quick crossfade */
  .track.anim,.list.anim,.landing.anim{transition:none}
  .card,.scrim,.hotspot{animation:none}
  .landing h1{animation:none}  /* the sign is simply on: glow stays, no flicker, no pulse */
  .neon-glow{animation:none}   /* the bloom rests at its base opacity, the old rest-state values */
}
