/* ==========================================================================
   99dreams — "Dreamcore Nightlife"
   Cyber-ethereal glass base + Y2K chrome accents, crimson brand spark.
   Dark only. Fully tokenized so a light theme is a drop-in later.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* surface */
  --bg: #06070f;
  --bg-raise: #0a0c16;
  --bg-sink: #03040a;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --surface-3: rgba(255, 255, 255, .11);
  --glass-blur: 18px;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);

  /* text */
  --text: #f4f6fb;
  --muted: rgba(244, 246, 251, .58);
  --faint: rgba(244, 246, 251, .34);

  /* brand + glow */
  --spark: #de194b;
  --spark-hot: #ff2f68;
  --spark-soft: rgba(222, 25, 75, .35);
  --spark-ghost: rgba(222, 25, 75, .12);
  --violet: #8b5cf6;
  --violet-soft: rgba(139, 92, 246, .28);
  --cyan: #72ddf7;
  --lavender: #e2d4f8;
  --mint: #a8e6cf;

  /* chrome (Y2K layer) */
  --chrome-1: #f2f4f7;
  --chrome-2: #e5e7eb;
  --chrome-3: #9ca3af;
  --chrome-4: #6b7280;
  --chrome-sweep: linear-gradient(105deg,
      var(--chrome-4) 0%, var(--chrome-1) 38%, #fff 48%,
      var(--chrome-2) 56%, var(--chrome-3) 78%, var(--chrome-1) 100%);

  /* semantic */
  --ok: #1da667;
  --ok-hover: #168c54;
  --err: #ff856a;

  /* typography */
  --font-display: 'Syne', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .18s;
  --dur: .32s;
  --dur-slow: .6s;

  /* elevation */
  --glow-spark: 0 8px 32px var(--spark-soft);
  --glow-violet: 0 8px 40px var(--violet-soft);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, .45);

  /* pointer position, written by app.js */
  --mx: 50%;
  --my: 40%;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

img { max-width: 100%; }

::selection {
  background: var(--spark);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: clamp(72px, 10vw, 118px) 0; }

/* headings ---------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
}

/* Sized so "Where every night" fits one line and the <br> controls the break
   instead of natural wrapping. Syne is wide — don't raise this without
   re-checking the hero at 1024px and 1440px. */
h1 {
  margin: 22px auto 20px;
  max-width: 1120px;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: .96;
  letter-spacing: -.045em;
}

h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.section-intro {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(.88rem, 1.4vw, .95rem);
  line-height: 1.65;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--faint);
  font: 500 .68rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 12px var(--spark);
}

/* --------------------------------------------------------------------------
   3. UTILITIES — glass, chrome, ambient mesh
   -------------------------------------------------------------------------- */
.glass {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--line);
}

/* 1px gradient hairline that catches light on the top-left edge */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg,
      rgba(255, 255, 255, .30), rgba(255, 255, 255, .04) 38%,
      transparent 62%, rgba(139, 92, 246, .18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chrome-text {
  background: var(--chrome-sweep);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ambient gradient mesh — three drifting blobs behind everything */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout style paint;
}

.mesh span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}

.mesh .b1 {
  width: 46vw;
  height: 46vw;
  top: -8vw;
  left: calc(var(--mx) - 40vw);
  background: radial-gradient(circle, var(--violet), transparent 70%);
  animation: drift1 26s var(--ease-io) infinite alternate;
}

.mesh .b2 {
  width: 38vw;
  height: 38vw;
  top: calc(var(--my) - 10vw);
  right: calc(90% - var(--mx));
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: .32;
  animation: drift2 32s var(--ease-io) infinite alternate;
}

.mesh .b3 {
  width: 42vw;
  height: 42vw;
  bottom: -14vw;
  left: calc(var(--mx) * .35 + 22%);
  background: radial-gradient(circle, var(--spark), transparent 70%);
  opacity: .28;
  animation: drift3 22s var(--ease-io) infinite alternate;
}

@keyframes drift1 { to { transform: translate3d(9vw, 6vw, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-11vw, -7vw, 0) scale(.86); } }
@keyframes drift3 { to { transform: translate3d(7vw, -9vw, 0) scale(1.12); } }

/* keep real content above the mesh */
.nav, main, footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity .75s var(--ease-out) calc(var(--i, 0) * 70ms),
    transform .75s var(--ease-out) calc(var(--i, 0) * 70ms),
    filter .75s var(--ease-out) calc(var(--i, 0) * 70ms);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* --------------------------------------------------------------------------
   5. CUSTOM CURSOR (fine pointers only — enabled by app.js)
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--dur) ease;
}

body.cursor-on .cursor-dot,
body.cursor-on .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
  box-shadow: 0 0 12px var(--lavender);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(226, 212, 248, .55);
  background: radial-gradient(circle, var(--violet-soft), transparent 65%);
  transition: opacity var(--dur) ease, width var(--dur) var(--ease-spring),
              height var(--dur) var(--ease-spring), margin var(--dur) var(--ease-spring),
              border-color var(--dur) ease, background var(--dur) ease;
}

body.cursor-hot .cursor-ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: var(--spark);
  background: radial-gradient(circle, var(--spark-soft), transparent 62%);
}

/* --------------------------------------------------------------------------
   6. NAVIGATION — floating glass capsule
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 16px 0;
  transition: padding var(--dur) var(--ease-io);
}

.nav.scrolled { padding: 9px 0; }

.nav-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease-io), border-color var(--dur) var(--ease-io),
              box-shadow var(--dur) var(--ease-io), backdrop-filter var(--dur) var(--ease-io);
}

.nav.scrolled .nav-shell {
  background: rgba(10, 12, 22, .62);
  border-color: var(--line);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .42);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 18px;
  transition: height var(--dur) var(--ease-io);
}

.nav.scrolled .nav-inner { height: 58px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.04em;
  transition: transform var(--dur) var(--ease-spring);
}

.brand:hover { transform: scale(1.04); }

.brand-logo {
  display: block;
  width: 84px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  filter: invert(1) drop-shadow(0 0 10px rgba(226, 212, 248, .25));
  transition: filter var(--dur) ease;
}

.brand:hover .brand-logo {
  filter: invert(1) drop-shadow(0 0 16px rgba(226, 212, 248, .5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--spark);
  box-shadow: 0 0 10px var(--spark);
  transform: translateX(-50%);
  transition: width var(--dur) var(--ease-out);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 16px; }

/* primary pill CTA (nav + hero) ------------------------------------------- */
.nav-cta,
.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 7px 6px 18px;
  border-radius: var(--r-pill);
  color: #fff;
  background: linear-gradient(120deg, var(--spark), var(--spark-hot) 55%, var(--violet));
  background-size: 200% 100%;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--spark-soft);
  transition: background-position var(--dur-slow) var(--ease-io),
              box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}

/* liquid-chrome sweep on hover */
.nav-cta::after,
.hero-cta::after,
.submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-io);
  pointer-events: none;
}

.nav-cta:hover::after,
.hero-cta:hover::after,
.submit:hover::after { transform: translateX(120%); }

.nav-cta:hover,
.hero-cta:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 30px var(--spark-soft), var(--glow-violet);
}

.nav-cta:active,
.hero-cta:active { transform: scale(.97); }

.arrow {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--spark);
  background: var(--chrome-sweep);
  background-size: 200% 100%;
  transition: transform var(--dur) var(--ease-spring), background-position var(--dur-slow) ease;
}

.arrow svg {
  width: 14px;
  height: 16px;
  stroke: currentColor;
}

.nav-cta:hover .arrow,
.hero-cta:hover .arrow {
  transform: translate(3px, -3px) rotate(45deg);
  background-position: 100% 0;
}

/* mobile menu ------------------------------------------------------------- */
.menu {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 12px;
  color: #fff;
  background: var(--surface-2);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--dur-fast) ease, background var(--dur-fast) ease;
}

.menu:active { transform: scale(.92); }

.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.mobile-menu > div { min-height: 0; overflow: hidden; }

.mobile-menu.open { grid-template-rows: 1fr; }

.mobile-menu a {
  display: block;
  padding: 13px 20px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-8px);
  transition: color var(--dur-fast) ease, padding-left var(--dur-fast) ease,
              opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.mobile-menu.open a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms + 80ms);
}

.mobile-menu a:hover {
  color: var(--text);
  padding-left: 26px;
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(820px, 92svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-sink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-sink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(.85) contrast(1.05);
  transform: scale(1.1);
  transition: opacity 1.25s var(--ease-io), transform 7s linear;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(6, 7, 15, .58) 0%, rgba(6, 7, 15, .32) 32%, rgba(6, 7, 15, .96) 100%);
}

/* Ken Burns: the active slide keeps creeping in the whole time it's shown */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 12%, rgba(6, 7, 15, .5) 100%),
    radial-gradient(circle at 78% 18%, var(--violet-soft), transparent 45%),
    radial-gradient(circle at 18% 78%, var(--spark-ghost), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  padding: 130px 0 120px;
  text-align: center;
  animation: heroIn 1.1s var(--ease-out) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-content > * { animation: heroIn .9s var(--ease-out) both; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .22s; }
.hero-content > *:nth-child(3) { animation-delay: .34s; }
.hero-content > *:nth-child(4) { animation-delay: .46s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  font: 500 .68rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark);
  animation: pulseGlow 2.4s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(222, 25, 75, .55); }
  70% { box-shadow: 0 0 0 9px rgba(222, 25, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 25, 75, 0); }
}

h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--lavender), var(--cyan) 45%, var(--spark-hot));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-copy {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(.92rem, 1.6vw, 1.02rem);
  line-height: 1.7;
}

.hero-cta {
  margin-top: 34px;
  padding: 8px 9px 8px 22px;
  font-size: .85rem;
}

.hero-cta .arrow { width: 30px; height: 30px; }

.hero-controls {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font: 500 .6rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-controls span { animation: bounceDown 2s infinite ease-in-out; }

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* slide dots with a fill that tracks the autoplay timer -------------------- */
.dots {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .26);
  cursor: pointer;
  overflow: hidden;
  transition: width var(--dur-slow) var(--ease-out), background var(--dur) ease;
}

.dot:hover { background: rgba(255, 255, 255, .5); }

.dot.active {
  width: 42px;
  background: rgba(255, 255, 255, .22);
}

.dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--spark), var(--violet));
  box-shadow: 0 0 12px var(--spark-soft);
  transform-origin: left;
  animation: dotFill var(--slide-ms, 5500ms) linear forwards;
}

.hero.paused .dot.active::after { animation-play-state: paused; }

@keyframes dotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   8. MARQUEE — chrome ticker, two counter-scrolling bands
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(139, 92, 246, .07), rgba(0, 0, 0, .3));
}

.marquee + .marquee { border-top: 0; }

.marquee-track {
  display: flex;
  width: max-content;
  padding: 13px 0;
  animation: scroll 34s linear infinite;
}

.marquee.reverse .marquee-track {
  animation-name: scrollReverse;
  animation-duration: 44s;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 26px;
  font: 500 .74rem var(--font-mono);
  letter-spacing: .18em;
  white-space: nowrap;
  text-transform: uppercase;
  background: var(--chrome-sweep);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: chromeShift 6s linear infinite;
}

.marquee-item::after {
  content: '✦';
  -webkit-text-fill-color: var(--spark);
  color: var(--spark);
  font-size: .7rem;
}

@keyframes chromeShift {
  to { background-position: 300% 0; }
}

@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes scrollReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --------------------------------------------------------------------------
   9. INFO BAND + LOCATION
   -------------------------------------------------------------------------- */
.info-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 22, .55);
}

.location-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}

.location-card:hover {
  border-color: var(--spark-soft);
  box-shadow: var(--glow-spark);
}

.location-card > * { position: relative; z-index: 1; }

.location-card h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.location-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: .88rem;
}

.location-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.location-list strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.map-placeholder {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--faint);
  background: var(--bg-raise);
  font: 500 .8rem var(--font-mono);
}

/* --------------------------------------------------------------------------
   10. EVENTS
   -------------------------------------------------------------------------- */
.events-section { display: none; }

.events-section.visible { display: block; }

.events-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.events-link {
  color: var(--spark-hot);
  font: 500 .74rem var(--font-mono);
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity var(--dur-fast) ease, text-shadow var(--dur) ease;
}

.events-link:hover {
  opacity: .85;
  text-shadow: 0 0 16px var(--spark-soft);
}

#public-events {
  display: grid;
  gap: 18px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) 1fr;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--r-lg);
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}

.event-card:hover {
  border-color: var(--spark-soft);
  box-shadow: var(--shadow-card), var(--glow-spark);
  transform: translateY(-4px);
}

/* cursor-tracked highlight, position written by app.js */
.event-card::after,
.location-card::after,
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--px, 50%) var(--py, 50%),
      rgba(255, 255, 255, .10), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) ease;
}

.event-card:hover::after,
.location-card:hover::after,
.gallery-item:hover::after { opacity: 1; }

.event-image {
  position: relative;
  z-index: 1;
  min-height: 300px;
  background-position: center;
  background-size: cover;
  transition: transform var(--dur-slow) var(--ease-io);
}

.event-card:hover .event-image { transform: scale(1.04); }

.event-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 60px);
}

.event-status {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--spark-soft);
  background: var(--spark-ghost);
  color: var(--spark-hot);
  font: 500 .66rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.event-status::before { content: '✦'; }

.event-info h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.event-date {
  color: var(--muted);
  font: 500 .86rem var(--font-mono);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   11. BUTTONS
   -------------------------------------------------------------------------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--text);
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease,
              transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.button:hover {
  border-color: var(--spark);
  background: var(--spark-ghost);
  transform: translateY(-2px);
}

.button:active { transform: scale(.97); }

.button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(120deg, var(--spark), var(--spark-hot) 60%, var(--violet));
  background-size: 200% 100%;
  box-shadow: 0 4px 18px var(--spark-soft);
}

.button.primary:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 28px var(--spark-soft), var(--glow-violet);
}

/* --------------------------------------------------------------------------
   12. GALLERY + LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-template-rows: 210px 210px;
  gap: 14px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--bg-raise);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: border-color var(--dur) ease, filter var(--dur) ease,
              transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.gallery-item:hover {
  border-color: var(--spark);
  filter: saturate(1.15);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 26px var(--spark-ghost);
}

.gallery-item:first-child { grid-row: 1 / 3; }

.gallery-label {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 13px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(6, 7, 15, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted);
  font: 500 .64rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color var(--dur-fast) ease, transform var(--dur) var(--ease-out);
}

.gallery-item:hover .gallery-label {
  color: var(--text);
  transform: translateY(-3px);
}

/* lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(3, 4, 10, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity var(--dur) ease;
}

.lightbox.open { display: grid; }
.lightbox.shown { opacity: 1; }

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 84svh;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: scale(.94);
  transition: transform var(--dur-slow) var(--ease-out);
}

.lightbox.shown img { transform: scale(1); }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur-fast) ease, transform var(--dur) var(--ease-spring);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--spark);
  border-color: var(--spark);
  transform: scale(1.1);
}

.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; margin-top: -23px; }
.lightbox-next { right: 22px; top: 50%; margin-top: -23px; }

.lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--faint);
  font: 500 .72rem var(--font-mono);
  letter-spacing: .14em;
}

/* --------------------------------------------------------------------------
   13. ABOUT — tags + stats
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.about-copy {
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(.9rem, 1.5vw, .98rem);
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--muted);
  font: 500 .7rem var(--font-mono);
  letter-spacing: .06em;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease,
              background var(--dur-fast) ease, transform var(--dur) var(--ease-spring);
}

.tag:hover {
  border-color: var(--spark);
  color: var(--text);
  background: var(--spark-ghost);
  transform: translateY(-3px);
}

.stats {
  display: grid;
  gap: 10px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 0 22px;
  border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) ease,
              box-shadow var(--dur) ease;
}

.stat:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  box-shadow: var(--glow-violet);
}

.stat > * { position: relative; z-index: 1; }

.stat-label {
  color: var(--faint);
  font: 500 .66rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.045em;
  background: var(--chrome-sweep);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   14. STEPS
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.step {
  padding: 26px 22px 28px;
  border-radius: var(--r-md);
  text-align: left;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) ease,
              box-shadow var(--dur) ease;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--spark-soft);
  box-shadow: var(--glow-spark);
}

.step > * { position: relative; z-index: 1; }

.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--spark-soft);
  background: var(--spark-ghost);
  color: var(--spark-hot);
  font: 500 .74rem var(--font-mono);
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 42px;
  margin-top: 38px;
}

.faq-item {
  border-radius: var(--r-md);
  margin-bottom: 10px;
  transition: border-color var(--dur) ease, background var(--dur) ease;
}

.faq-item.open { border-color: var(--spark-soft); }

.faq-question {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 0;
  border-radius: inherit;
  color: var(--muted);
  background: none;
  cursor: pointer;
  text-align: left;
  font: 700 .92rem var(--font-body);
  transition: color var(--dur-fast) ease;
}

.faq-question:hover { color: var(--text); }

.faq-question span {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--spark-hot);
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease-spring), background var(--dur) ease;
}

.faq-item.open .faq-question { color: var(--text); }

.faq-item.open .faq-question span {
  transform: rotate(135deg);
  background: var(--spark-ghost);
}

/* 0fr -> 1fr animates to the real content height, no max-height guessing */
.faq-answer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.faq-answer > div { overflow: hidden; }

.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. RESERVATION MODAL
   -------------------------------------------------------------------------- */
.reservation {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  overflow: auto;
  padding: 28px 0;
  background: rgba(3, 4, 10, 0);
  color: var(--text);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background var(--dur) ease, backdrop-filter var(--dur) ease;
}

.reservation.open {
  display: block;
  background: rgba(3, 4, 10, .84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.reservation-grid {
  position: relative;
  z-index: 1;
  display: block;
  width: min(620px, 100%);
  margin: 0 auto;
  transform: translateY(28px) scale(.95);
  opacity: 0;
  filter: blur(6px);
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) ease,
              filter var(--dur-slow) ease;
}

.reservation.open .reservation-grid {
  transform: none;
  opacity: 1;
  filter: none;
}

.reservation > .shell::before {
  content: 'Reservation desk';
  display: block;
  margin-bottom: 16px;
  color: var(--spark-hot);
  font: 500 .7rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(18, 24, 39, .92), rgba(11, 15, 24, .92));
  box-shadow: var(--shadow-card);
}

.form-card > * { position: relative; z-index: 1; }

.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}

.form-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  letter-spacing: -.03em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full { grid-column: 1 / -1; }

label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}

label span { color: var(--spark-hot); }

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  background: var(--surface-2);
  /* 1rem keeps iOS from auto-zooming the field on focus */
  font: 600 1rem var(--font-body);
  outline: none;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease,
              background var(--dur-fast) ease;
}

input::placeholder { color: var(--faint); font-weight: 500; }

input:focus,
select:focus {
  border-color: var(--spark);
  box-shadow: 0 0 0 4px var(--spark-ghost);
  background: var(--surface-3);
}

select option { color: #111; }

.submit {
  position: relative;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  border: 0;
  border-radius: var(--r-sm);
  color: #fff;
  background: linear-gradient(120deg, var(--spark), var(--spark-hot) 60%, var(--violet));
  background-size: 200% 100%;
  overflow: hidden;
  cursor: pointer;
  font: 700 .8rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 4px 18px var(--spark-soft);
  transition: background-position var(--dur-slow) var(--ease-io),
              transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.submit:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--spark-soft), var(--glow-violet);
}

.submit:active { transform: scale(.98); }

.submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* travelling shimmer while the request is in flight */
.submit:disabled::after {
  transform: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  animation: shimmer 1.1s linear infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.status.success { color: var(--mint); }
.status.error { color: var(--err); }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 16px;
  color: var(--faint);
  font: .68rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur) var(--ease-spring);
}

.modal-close:hover {
  background: var(--spark);
  border-color: var(--spark);
  color: #fff;
  transform: rotate(90deg);
}

.whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: var(--r-sm);
  color: #fff;
  background: var(--ok);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur-fast) ease, transform var(--dur) var(--ease-out),
              box-shadow var(--dur) ease;
}

.whatsapp:hover {
  background: var(--ok-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 166, 103, .3);
}

.whatsapp:active { transform: scale(.98); }

.whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 500 .74rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer a { text-decoration: none; transition: color var(--dur-fast) ease; }
footer a:hover { color: var(--spark-hot); }

/* --------------------------------------------------------------------------
   18. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1152px); }
  .nav { padding: 10px 0; }
  .nav-inner { height: 60px; padding: 0 8px 0 14px; }
  .nav.scrolled .nav-inner { height: 56px; }
  .nav-links { display: none; }
  .menu { display: block; }
  .nav-shell {
    background: rgba(10, 12, 22, .62);
    border-color: var(--line);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  }
  .hero { min-height: 640px; }
  .hero-content { padding: 120px 0 130px; }
  .hero-controls { display: none; }
  .event-card { grid-template-columns: 1fr; }
  .event-image { min-height: 300px; }
  .location-card,
  .about-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
  }
  .gallery-item:first-child { grid-row: 1 / 3; }
  .gallery-item:last-child { grid-column: 1 / 3; }
  .events-head { flex-direction: column; align-items: flex-start; }
  .dots { bottom: 26px; }
  footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* --------------------------------------------------------------------------
   19. REDUCED MOTION — kill every effect, keep the page fully usable
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .mesh { display: none; }
  .cursor-dot,
  .cursor-ring { display: none; }
  .hero-slide { transform: none; }
  .dot.active::after { animation: none; transform: scaleX(1); }
}
