/* Positive Vibes — palette pulled from their logo, banner and posters:
   deep ocean navy, neon aqua, liquid chrome, hot pink accent. */
:root {
  --abyss: #020b14;
  --ocean: #08284f;
  --ocean-2: #0b1e36;
  --aqua: #3fe8f2;
  --aqua-deep: #14b8c4;
  --chrome: #eaf6ff;
  --muted: #9fb8cc;
  --pink: #ff3ea5;
  --line: rgba(234, 246, 255, 0.14);
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --script: 'Sacramento', cursive;
  --body: 'Inter Tight', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: 0 0 6px rgba(63, 232, 242, 0.9), 0 0 18px rgba(63, 232, 242, 0.6), 0 0 42px rgba(20, 184, 196, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--abyss); color: var(--chrome);
  font-family: var(--body); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--aqua); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Water caustics: drifting light pools, like the droplets in their logo. */
.caustics {
  position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(28% 22% at 20% 18%, rgba(63, 232, 242, 0.14), transparent 70%),
    radial-gradient(34% 26% at 78% 30%, rgba(8, 72, 140, 0.55), transparent 70%),
    radial-gradient(30% 24% at 40% 78%, rgba(20, 184, 196, 0.12), transparent 70%),
    radial-gradient(50% 40% at 60% 60%, rgba(8, 40, 79, 0.9), transparent 75%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(4deg) scale(1.08); } }

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

/* Cursor (fine pointers only) */
.cursor { display: none; }
.has-cursor .cursor {
  display: block; position: fixed; top: 0; left: 0; z-index: 101; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
}
.has-cursor .cursor span {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: var(--aqua); box-shadow: var(--glow); transition: transform 0.35s var(--ease), opacity 0.35s;
}
.has-cursor .cursor.is-hover span { transform: scale(3.2); opacity: 0.35; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad);
  transition: background 0.4s var(--ease);
}
.nav.is-scrolled { background: rgba(2, 11, 20, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; }
.nav__mark img { width: 36px; height: 36px; border-radius: 50%; }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 34px); font-size: 14px; }
.nav__links a { text-decoration: none; opacity: 0.82; transition: opacity 0.2s; cursor: pointer; }
.nav__links a:hover { opacity: 1; }
.nav__cta { padding: 9px 18px; border: 1px solid rgba(63, 232, 242, 0.5); border-radius: 999px; opacity: 1 !important; color: var(--aqua); }
.nav__cta:hover { background: var(--aqua); color: var(--abyss); }
@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__mark span { display: none; }
}

/* Shared */
section { position: relative; padding: clamp(96px, 13vw, 190px) var(--pad); }
.label { margin: 0 0 24px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua); }
.section-title, .hero__title .line, .links__title .line {
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 70%; text-transform: uppercase;
}
.section-title { margin: 0; font-size: clamp(44px, 8vw, 128px); line-height: 0.9; letter-spacing: -0.01em; }
.script { font-family: var(--script); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }
.script--big { color: var(--aqua); text-shadow: var(--glow); font-size: 1.15em; }
.line { display: block; overflow: hidden; padding: 0.02em 0.08em 0.06em 0; }
.word { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-in .word, .word.is-in { transform: translateY(0); }
.word--aqua { color: transparent; -webkit-text-stroke: 2px var(--aqua); filter: drop-shadow(0 0 12px rgba(63, 232, 242, 0.45)); }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Neon script sign with a slow flicker, like their poster lettering */
.neon {
  display: block; font-family: var(--script); font-weight: 400; font-style: normal; text-transform: none;
  color: #dffcff; text-shadow: var(--glow); line-height: 1; animation: flicker 7s linear infinite;
}
.neon--inline { display: inline; }
@keyframes flicker {
  0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; }
  20%, 63% { opacity: 0.55; }
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; overflow: hidden; isolation: isolate;
  padding: 16px 26px; border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--aqua); color: var(--abyss); box-shadow: 0 0 30px rgba(63, 232, 242, 0.35);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--chrome);
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--ghost { background: transparent; color: var(--chrome); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--chrome); }
.btn--ghost:hover { color: var(--abyss); }

/* Hero */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: 1fr auto;
  align-items: center; gap: 24px 48px; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden;
}
.hero__logo-wrap { grid-column: 2; grid-row: 1; justify-self: center; width: min(40vw, 620px); aspect-ratio: 1; position: relative; }
.hero__logo-wrap::after {
  content: ''; position: absolute; inset: 8%; border-radius: 50%; z-index: -1;
  box-shadow: 0 0 120px 30px rgba(63, 232, 242, 0.22);
}
.hero__logo {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  animation: bob 9s ease-in-out infinite; will-change: transform;
  -webkit-mask-image: radial-gradient(circle, #000 64%, transparent 71%); mask-image: radial-gradient(circle, #000 64%, transparent 71%);
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3%) rotate(2deg); } }
.hero__title { grid-column: 1; grid-row: 1; margin: 0; font-weight: 900; }
.hero__title .neon { font-size: clamp(56px, 8.4vw, 150px); margin: 0 0 0.12em -0.04em; }
.hero__title .line { font-size: clamp(44px, 7.6vw, 136px); line-height: 0.88; letter-spacing: -0.01em; }
.hero__title .line:nth-of-type(2) .word { transition-delay: 0.12s; }
.hero__foot {
  grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap;
}
.hero__lede { max-width: 34ch; margin: 0; font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 96px; }
  .hero__logo-wrap { grid-column: 1; grid-row: 1; width: min(62vw, 340px); }
  .hero__title { grid-row: 2; }
  .hero__foot { grid-row: 3; }
}

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--ocean-2); }
.marquee__track {
  display: flex; width: max-content; gap: 36px; align-items: center; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 70%; text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 52px); animation: marquee 30s linear infinite;
}
.marquee__track .script { color: var(--aqua); text-shadow: var(--glow); font-size: 1.1em; }
.marquee__track i { font-style: normal; color: var(--pink); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about__statement {
  margin: 0 0 clamp(48px, 7vw, 100px); max-width: 24ch;
  font-family: var(--display); font-weight: 800; font-stretch: 85%; font-style: italic;
  font-size: clamp(30px, 4.4vw, 72px); line-height: 1.05; letter-spacing: -0.01em;
}
.split .w { display: inline-block; opacity: 0.18; transition: opacity 0.4s linear; }
.split .w.is-lit { opacity: 1; }
.about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pill-card {
  padding: 28px; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(8, 40, 79, 0.75), rgba(2, 11, 20, 0.6));
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.pill-card:hover { border-color: rgba(63, 232, 242, 0.45); transform: translateY(-4px); }
.pill-card h3 { margin: 0 0 10px; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); color: var(--aqua); }
.pill-card p { margin: 0; color: var(--muted); }

/* Past nights rail */
.nights { padding-left: 0; padding-right: 0; }
.nights__head { padding: 0 var(--pad); margin-bottom: clamp(32px, 5vw, 64px); }
.rail { overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 0 var(--pad) 8px; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; }
.poster {
  width: clamp(280px, 38vw, 620px); scroll-snap-align: start; flex: none;
  transition: transform 0.6s var(--ease);
}
.poster__img {
  aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; border-radius: 18px; background: var(--ocean-2);
  border: 1px solid var(--line); user-select: none; -webkit-user-drag: none;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.poster:hover .poster__img { transform: scale(1.02); box-shadow: 0 0 48px rgba(63, 232, 242, 0.25); }
.poster figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; }
.poster figcaption span { color: var(--muted); white-space: nowrap; }
.rail__hint { margin: 16px var(--pad) 0; font-size: 13px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* Links */
.links { text-align: center; }
.links::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 50% at 50% 38%, rgba(63, 232, 242, 0.14), transparent 70%);
}
.links__title { position: relative; margin: 0 0 clamp(40px, 6vw, 72px); font-weight: 900; }
.links__title .line { font-size: clamp(52px, 11vw, 190px); line-height: 0.86; }
.links__title .line:nth-child(2) .word { transition-delay: 0.12s; }
.links__title .neon { font-size: 1.05em; text-transform: none; }
.links__grid {
  position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1200px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; text-align: left;
}
.tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 160px; padding: 22px; border-radius: 22px;
  text-decoration: none; border: 1px solid var(--line); background: rgba(8, 40, 79, 0.45);
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease), color 0.35s;
}
.tile:hover { background: var(--aqua); border-color: var(--aqua); color: var(--abyss); transform: translateY(-4px); }
.tile__k { font-size: 12px; letter-spacing: 0.16em; opacity: 0.6; }
.tile strong { margin-top: auto; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.tile em { font-style: normal; font-size: 14px; opacity: 0.7; }

/* Vibe code */
.code { padding-top: 0; }
.code__list { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid var(--line); }
.code__list li {
  counter-increment: c; display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 80%; font-size: clamp(24px, 3.4vw, 52px); line-height: 1.05;
}
.code__list li::before { content: counter(c, decimal-leading-zero); font-family: var(--body); font-style: normal; font-weight: 500; font-size: 13px; color: var(--aqua); min-width: 2.2em; }
.code__note { margin: 24px 0 0; color: var(--muted); }
.code__note strong { color: var(--chrome); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 26px var(--pad); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--aqua); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .word { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .split .w { opacity: 1; }
}
