:root {
  --black: #0a0a0d;
  --near-black: #101013;
  --charcoal: #17161b;
  --cream: #f1e9dc;
  --gold: #cbab6e;
  --magenta: #d1447a;
  --purple: #7a4fd1;
  --blue: #4f7fd1;
  --text-dim: #b9b4bd;
  --text-dimmer: #86818c;
  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

#home, #space, #events, #vibe, #gallery, #book, #contact {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0 0 0.4em;
  line-height: 1.05;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); }
h3 { font-size: 1.3rem; color: var(--cream); }

p { color: var(--text-dim); margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.9em;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; margin-bottom: 0.9em; }

section { padding: 110px 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(10,10,13,0.92);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}
.brand span { color: var(--magenta); }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,7,10,0.55) 0%, rgba(8,7,10,0.55) 30%, rgba(8,7,10,0.85) 100%),
    linear-gradient(90deg, rgba(122,79,209,0.25), rgba(209,68,122,0.2));
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
}
.hero h1 {
  font-size: clamp(4rem, 13vw, 8.5rem);
  color: var(--cream);
  text-shadow: 0 0 60px rgba(209,68,122,0.35);
}
.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2em;
}
.hero__ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(241,233,220,0.4);
  border-radius: 12px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  border-color: rgba(241,233,220,0.35);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--full { width: 100%; text-align: center; font-family: 'Jost', sans-serif; }

/* ---------- Intro ---------- */
.intro { background: var(--near-black); }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro__image img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Features ---------- */
.features { background: var(--black); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.feature-card {
  background: var(--charcoal);
  border: 1px solid rgba(203,171,110,0.14);
  padding: 32px 26px;
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease;
}
.feature-card:hover {
  border-color: rgba(203,171,110,0.4);
  transform: translateY(-4px);
}
.feature-card__icon {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: 18px;
}
.feature-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Events ---------- */
.events { background: var(--near-black); }
.events__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 50px;
}
.event-pill {
  padding: 16px 28px;
  border: 1px solid rgba(241,233,220,0.18);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--cream);
  transition: border-color .25s ease, background .25s ease;
}
.event-pill:hover {
  border-color: var(--magenta);
  background: rgba(209,68,122,0.08);
}

/* ---------- Vibe ---------- */
.vibe { background: var(--black); }
.vibe__intro {
  max-width: 620px;
  margin: 0 auto 50px;
  text-align: center;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--black); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  margin-top: 50px;
}
.gallery__item {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .4s ease, filter .4s ease;
  display: block;
}
.gallery__item:hover { transform: scale(1.02); filter: brightness(1.08); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6,5,7,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute; top: 24px; right: 30px;
  font-size: 2.4rem;
  color: var(--cream);
  background: none; border: none; cursor: pointer;
  line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  color: var(--cream);
  background: none; border: none; cursor: pointer;
  padding: 10px 18px;
  opacity: 0.7;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* ---------- Booking ---------- */
.booking { background: var(--near-black); }
.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.booking__direct { margin-top: 2em; font-size: 0.95rem; }
.booking__direct a { color: var(--gold); border-bottom: 1px solid rgba(203,171,110,0.4); }

.booking-form {
  background: var(--charcoal);
  border: 1px solid rgba(203,171,110,0.16);
  padding: 40px;
  border-radius: var(--radius);
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.form-row { margin-bottom: 20px; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dimmer);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  background: var(--near-black);
  border: 1px solid rgba(241,233,220,0.16);
  color: var(--cream);
  padding: 12px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--magenta);
}
textarea { resize: vertical; }
.booking-form__note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--gold);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(241,233,220,0.08);
  padding: 60px 0 30px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.site-footer__contact a { color: var(--gold); }
.site-footer__legal {
  border-top: 1px solid rgba(241,233,220,0.08);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-dimmer);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro__grid, .booking__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--near-black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 0 42px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  section { padding: 80px 0; }
  .form-row--split { grid-template-columns: 1fr; }
  .booking-form { padding: 28px; }
}
