/* ============================================================
   JOSEPHINE LOUNGE — Premium AfroBeat Nightlife Experience
   Design System: Minimal Luxury × AfroBeat Culture
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  color-scheme: dark;
  --black:       #080808;
  --dark:        #0d0d0d;
  --charcoal:    #141414;
  --card:        #111111;
  --border:      rgba(200, 169, 92, 0.15);
  --border-dark: rgba(255, 255, 255, 0.06);

  --gold:        #C8A95C;
  --gold-light:  #D4BF7A;
  --gold-dim:    rgba(200, 169, 92, 0.12);
  --gold-glow:   rgba(200, 169, 92, 0.25);
  --champagne:   #D4AF7A;
  --cream:       #F0E6D3;

  --burgundy:    #6B1A1A;
  --deep-red:    rgba(107, 26, 26, 0.35);

  --white:       #ffffff;
  --off-white:   rgba(255, 255, 255, 0.88);
  --muted:       rgba(255, 255, 255, 0.45);
  --subtle:      rgba(255, 255, 255, 0.08);

  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h:       80px;
  --section-x:   clamp(20px, 6vw, 80px);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TYPOGRAPHY === */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-feature-settings: 'liga' 1, 'kern' 1;
  text-rendering: optimizeLegibility;
}
h1 { font-size: clamp(52px, 9vw, 130px); }
h2 { font-size: clamp(36px, 5.5vw, 76px); }
h3 { font-size: clamp(24px, 3vw, 40px); }
h4 { font-size: clamp(18px, 2vw, 26px); }
p { color: var(--off-white); font-weight: 300; }

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--section-x);
}
.section-pad {
  padding: clamp(80px, 11vw, 150px) 0;
}
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.italic      { font-style: italic; }

.gold-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
  transition: width 0.8s var(--ease);
}
.gold-line.left { margin: 24px 0; }

.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 44px;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(200, 169, 92, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  margin-right: 12px;
  transition: width 0.35s var(--ease);
}
.btn-ghost:hover::before { width: 30px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s;
}
#nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--section-x);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.nav-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 12px rgba(200,169,92,0.2));
  transition: filter 0.3s;
}
.nav-logo:hover img { filter: brightness(1.25) drop-shadow(0 0 18px rgba(200,169,92,0.35)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-links .nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 22px;
  font-size: 10px;
  transition: all 0.35s var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(8, 8, 8, 0.96) 0%, rgba(13, 10, 5, 0.98) 54%, rgba(8, 8, 8, 0.99) 100%),
    url('../images/hero-lounge.webp') center/cover no-repeat;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav-h) + 28px) var(--section-x) max(28px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.mobile-menu::before,
.mobile-menu::after {
  content: '';
  position: absolute;
  left: max(24px, var(--section-x));
  right: max(24px, var(--section-x));
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,169,92,0.5), transparent);
  pointer-events: none;
}
.mobile-menu::before { top: calc(var(--nav-h) + 10px); }
.mobile-menu::after { bottom: max(24px, env(safe-area-inset-bottom)); }
.mobile-menu > * {
  position: relative;
  z-index: 1;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(10px, 1.8vh, 18px);
  width: min(100%, 390px);
  counter-reset: josephine-menu;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: clamp(26px, 7vw, 46px);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: 0.04em;
  transition: color 0.3s, transform 0.35s var(--ease), opacity 0.35s var(--ease);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  opacity: 0;
  transform: translateY(12px);
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu ul li { counter-increment: josephine-menu; }
.mobile-menu ul a::after {
  content: counter(josephine-menu, decimal-leading-zero);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(200,169,92,0.62);
}
.mobile-menu li:nth-child(1) a { transition-delay: 0.03s; }
.mobile-menu li:nth-child(2) a { transition-delay: 0.06s; }
.mobile-menu li:nth-child(3) a { transition-delay: 0.09s; }
.mobile-menu li:nth-child(4) a { transition-delay: 0.12s; }
.mobile-menu li:nth-child(5) a { transition-delay: 0.15s; }
.mobile-menu li:nth-child(6) a { transition-delay: 0.18s; }
.mobile-menu li:nth-child(7) a { transition-delay: 0.21s; }
.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--gold);
  transform: translateX(4px);
}
.mobile-menu-cta {
  margin-top: clamp(28px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 390px);
}
.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  font-size: 10px;
}
.mobile-phone-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.mobile-phone-link::before {
  content: '✆';
  font-size: 12px;
  color: var(--gold);
  opacity: 0.7;
}
.mobile-phone-link:hover {
  color: var(--gold);
}
.mobile-menu-info {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* Slow, silky crossfade — both slides overlap during transition */
  transition: opacity 2.2s ease-in-out;
  will-change: opacity, transform;
  transform: scale(1.08);
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 10s ease-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.0);  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8,8,8,0.3) 0%,
      rgba(8,8,8,0.1) 40%,
      rgba(8,8,8,0.5) 75%,
      rgba(8,8,8,0.85) 100%),
    linear-gradient(to right, rgba(8,8,8,0.4), transparent 50%, rgba(8,8,8,0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 8vw, 110px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 1s var(--ease-out) 0.55s both;
}
.hero-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  animation: fadeUp 1s var(--ease-out) 0.75s both;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease-out) 0.95s both;
}

/* ── Hero Scroll indicator ───────────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1s var(--ease-out) 1.5s both;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

.hero-badges {
  position: absolute;
  bottom: 44px;
  right: var(--section-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  animation: fadeIn 1s var(--ease-out) 1.8s both;
}
.hero-badge {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-badge strong {
  display: block;
  color: var(--off-white);
  font-weight: 400;
  font-size: 12px;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
#manifesto {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: stretch;
}
.manifesto-image {
  position: relative;
  overflow: hidden;
}
.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s var(--ease);
}
.manifesto-image:hover img { transform: scale(1.04); }
.manifesto-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--dark));
}
.manifesto-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(32px, 5vw, 72px);
}
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 28px;
}
.manifesto-quote em { color: var(--gold); font-style: normal; }
.manifesto-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 36px;
}
.manifesto-stats {
  display: flex;
  gap: 40px;
  margin-top: 8px;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   EVENTS
   ============================================================ */
#events { background: var(--black); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.event-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.event-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.event-card-image {
  height: 260px;
  overflow: hidden;
  position: relative;
}
.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
  filter: brightness(0.8);
}
.event-card:hover .event-card-image img {
  transform: scale(1.06);
  filter: brightness(0.9);
}
.event-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--card), transparent);
}
.event-card-body {
  padding: 28px 28px 32px;
}
.event-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.event-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.event-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.event-detail svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.event-divider {
  width: 100%;
  height: 1px;
  background: var(--border-dark);
  margin: 20px 0;
}
.event-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Featured event */
.event-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.event-card.featured .event-card-image { height: 100%; min-height: 320px; }
@media (max-width: 768px) {
  .event-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .event-card.featured .event-card-image { height: 240px; }
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { background: var(--dark); }
.gallery-intro {
  max-width: 560px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 8px;
}
.g-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,92,0.16), rgba(107,26,26,0.12));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.g-item:hover::before { opacity: 1; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease), filter 0.4s;
  filter: brightness(0.85) saturate(0.9);
}
.g-item:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1);
}
/* Grid placement — editorial layout */
.g-item:nth-child(1)  { grid-column: 1 / 6;  grid-row: 1 / 5;  }
.g-item:nth-child(2)  { grid-column: 6 / 10; grid-row: 1 / 4;  }
.g-item:nth-child(3)  { grid-column: 10 / 13;grid-row: 1 / 3;  }
.g-item:nth-child(4)  { grid-column: 10 / 13;grid-row: 3 / 5;  }
.g-item:nth-child(5)  { grid-column: 6 / 10; grid-row: 4 / 7;  }
.g-item:nth-child(6)  { grid-column: 1 / 4;  grid-row: 5 / 8;  }
.g-item:nth-child(7)  { grid-column: 4 / 7;  grid-row: 5 / 7;  }
.g-item:nth-child(8)  { grid-column: 10 / 13;grid-row: 5 / 8;  }
.g-item:nth-child(9)  { grid-column: 4 / 7;  grid-row: 7 / 9;  }
.g-item:nth-child(10) { grid-column: 7 / 10; grid-row: 7 / 10; }
.g-item:nth-child(11) { grid-column: 1 / 4;  grid-row: 8 / 11; }
.g-item:nth-child(12) { grid-column: 10 / 13;grid-row: 8 / 11; }
.g-item:nth-child(13) { grid-column: 4 / 7;  grid-row: 9 / 11; }
.g-item:nth-child(14) { grid-column: 7 / 10; grid-row: 10 / 12;}
.g-item:nth-child(15) { grid-column: 1 / 5;  grid-row: 11 / 14;}
.g-item:nth-child(16) { grid-column: 5 / 9;  grid-row: 11 / 13;}
.g-item:nth-child(17) { grid-column: 9 / 13; grid-row: 11 / 14;}
.g-item:nth-child(18) { grid-column: 5 / 9;  grid-row: 13 / 15;}

.gallery-view-all {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   VIP EXPERIENCE
   ============================================================ */
#vip {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
#vip::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--deep-red) 0%, transparent 70%);
  pointer-events: none;
}
#vip::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  pointer-events: none;
}

.vip-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.vip-intro .eyebrow { font-size: 10px; }
.vip-headline {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.vip-headline em { color: var(--gold); font-style: italic; }
.vip-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 36px;
}
.vip-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vip-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.vip-card:hover::before { transform: scaleX(1); }
.vip-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--gold-dim);
}
.vip-card-icon {
  font-size: 28px;
  margin-bottom: 20px;
  filter: grayscale(0.2);
}
.vip-card-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}
.vip-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.vip-card-features {
  list-style: none;
  margin-bottom: 28px;
}
.vip-card-features li {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vip-card-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   COCKTAILS / MENU
   ============================================================ */
#cocktails { background: var(--black); }
.cocktails-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border-dark);
}
.cocktail-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  padding: 0;
  aspect-ratio: 3 / 4;
  transition: transform 0.5s var(--ease);
}
.cocktail-card:hover { z-index: 2; }
.cocktail-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cocktail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: brightness(0.7) saturate(0.85);
}
.cocktail-card:hover .cocktail-image img {
  transform: scale(1.08);
  filter: brightness(0.85) saturate(1);
}
.cocktail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8,8,8,0.9) 0%,
    rgba(8,8,8,0.4) 50%,
    rgba(8,8,8,0.0) 100%);
  z-index: 1;
}
.cocktail-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.45s var(--ease);
}
.cocktail-card:hover .cocktail-info { transform: translateY(0); }
.cocktail-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 6px;
}
.cocktail-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.45s;
  opacity: 0;
}
.cocktail-card:hover .cocktail-desc { max-height: 80px; opacity: 1; }
.cocktail-price {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================================
   FOOD SECTION
   ============================================================ */
#food {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
}
.food-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.food-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.food-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: border-color 0.3s;
}
.food-item:hover { border-color: var(--border); }
.food-item:last-child { border-bottom: none; }
.food-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
}
.food-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.food-price {
  font-size: 13px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-left: 20px;
}
.food-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--border-dark);
}

/* ============================================================
   MUSIC / ATMOSPHERE
   ============================================================ */
#music {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.music-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107,26,26,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200,169,92,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.music-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.music-genres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 48px 0;
}
.genre-tag {
  font-family: var(--font-serif);
  font-size: clamp(16px, 3vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.25);
  transition: color 0.4s, transform 0.4s var(--ease);
  cursor: default;
}
.genre-tag:nth-child(odd) { color: rgba(255,255,255,0.45); }
.genre-tag.highlight { color: var(--gold); }
.genre-tag:hover {
  color: var(--white);
  transform: scale(1.05);
}
.genre-separator {
  color: var(--border);
  font-size: 12px;
  align-self: center;
}
.music-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 48px;
  margin: 40px auto;
}
.wave-bar {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.6;
  animation: waveAnim 1.4s ease-in-out infinite;
}
.wave-bar:nth-child(1) { height: 20%; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 45%; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 100%; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 75%; animation-delay: 0.4s; }
.wave-bar:nth-child(8) { height: 55%; animation-delay: 0.3s; }
.wave-bar:nth-child(9) { height: 80%; animation-delay: 0.2s; }
.wave-bar:nth-child(10){ height: 40%; animation-delay: 0.1s; }
.wave-bar:nth-child(11){ height: 25%; animation-delay: 0s; }
@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.3); }
  50%       { transform: scaleY(1); }
}

/* ============================================================
   WORLD CUP CALLOUT
   ============================================================ */
#worldcup {
  background: var(--charcoal);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.wc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.wc-badge {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 0 40px var(--gold-dim);
}
.wc-badge-year {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.wc-badge-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.wc-text h2 { font-size: clamp(28px, 4vw, 52px); }
.wc-text p {
  font-size: 14px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.85;
  margin-top: 16px;
  margin-bottom: 32px;
}
.wc-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.wc-match {
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.3s;
}
.wc-match:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   RESERVATIONS
   ============================================================ */
#reservations { background: var(--dark); }
.res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.res-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--card);
  border: 1px solid var(--border-dark);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-select { cursor: pointer; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,169,92,0.2);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.res-info { display: flex; flex-direction: column; gap: 36px; }
.info-block {}
.info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.info-text {
  font-size: 15px;
  color: var(--off-white);
  line-height: 1.75;
}
.info-text a { color: var(--off-white); transition: color 0.3s; }
.info-text a:hover { color: var(--gold); }
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-dark);
}
.hours-row span:first-child { color: var(--off-white); }
.res-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid var(--border-dark);
  color: var(--off-white);
  transition: all 0.35s var(--ease);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.whatsapp-btn {
  background: rgba(37,211,102,0.08);
  border-color: rgba(37,211,102,0.25);
  color: #25D366;
}
.whatsapp-btn:hover { background: rgba(37,211,102,0.15); border-color: #25D366; color: #25D366; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #050505;
  border-top: 1px solid var(--border-dark);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 50px;
  width: auto;
  filter: brightness(0.9);
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  max-width: 240px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--off-white); }
.footer-address {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}
.footer-address a { color: var(--muted); transition: color 0.3s; }
.footer-address a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--gold); }

.footer-credit {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(200,169,92,0.1);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.18);
}
.footer-credit a {
  color: rgba(200,169,92,0.45);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,92,0.2);
  transition: color 0.25s, border-color 0.25s;
}
.footer-credit a:hover {
  color: var(--gold);
  border-color: rgba(200,169,92,0.6);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered children */
[data-stagger] .reveal { transition-delay: calc(var(--i, 0) * 100ms); }

/* Keyframe base animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .vip-grid { grid-template-columns: 1fr; gap: 40px; }
  .vip-packages { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cocktails-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: 1fr; gap: 48px; }
  .wc-inner { flex-direction: column; gap: 32px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 48px; }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-badges { display: none; }

  /* Manifesto */
  .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-image { height: 300px; }
  .manifesto-image-overlay { background: linear-gradient(to top, var(--dark) 0%, transparent 60%); }
  .manifesto-stats { gap: 24px; }

  /* Events */
  .events-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 6px;
  }
  .g-item {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1;
  }

  /* VIP */
  .vip-packages { grid-template-columns: 1fr; }

  /* Cocktails */
  .cocktails-grid { grid-template-columns: 1fr; }
  .cocktail-card { aspect-ratio: 4/3; }

  /* Food */
  .food-inner { grid-template-columns: 1fr; gap: 40px; }

  /* World Cup */
  .wc-inner { flex-direction: column; gap: 28px; }
  .wc-badge { width: 80px; height: 80px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; }

  /* World Cup match dates — horizontal scroll on mobile */
  .wc-dates {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .wc-dates::-webkit-scrollbar { display: none; }
  .wc-match { white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: clamp(36px, 10vw, 52px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item { aspect-ratio: 4/3; }
}

/* ============================================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================================ */

/* Disable expensive backdrop-filter on mobile — major GPU win */
@media (max-width: 768px) {
  #nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 8, 8, 0.97);
  }
  .mobile-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background:
      linear-gradient(145deg, rgba(8, 8, 8, 0.97) 0%, rgba(15, 11, 5, 0.99) 54%, rgba(8, 8, 8, 0.99) 100%),
      url('../images/hero-lounge.webp') center/cover no-repeat;
  }
  /* Simplify hero Ken Burns on mobile — reduces GPU load */
  .hero-slide.active {
    animation: kenBurnsMobile 12s ease-out forwards;
  }
  @keyframes kenBurnsMobile {
    0%   { transform: scale(1.04); }
    100% { transform: scale(1); }
  }
  /* Reduce reveal animation distance on mobile */
  .reveal       { transform: translateY(20px); }
  .reveal-left  { transform: translateX(-20px); }
  .reveal-right { transform: translateX(20px); }
  /* Ensure min tap target 44px on all interactive elements */
  .btn { min-height: 44px; }
  .footer-links a, .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { transition: opacity 0.5s ease-in-out; }
  .scroll-line { animation: none; }
  .wave-bar { animation: none; }
}

/* ============================================================
   FORM ENHANCEMENTS + PREMIUM UX
   ============================================================ */

/* Nav toggle — guaranteed 44×44 tap target */
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Optional field label modifier */
.form-optional {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.22);
  font-weight: 400;
  text-transform: uppercase;
  margin-left: 6px;
}

/* Custom select dropdown arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A95C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Form validation — error state */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: rgba(220, 80, 80, 0.7);
  box-shadow: 0 0 0 1px rgba(220, 80, 80, 0.2);
}
.form-error {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(220, 80, 80, 0.85);
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.25s var(--ease), opacity 0.25s var(--ease);
  padding: 0;
}
.form-error.visible {
  height: auto;
  opacity: 1;
  padding-top: 2px;
}

.reservation-success {
  border: 1px solid rgba(200,169,92,0.28);
  background: linear-gradient(135deg, rgba(200,169,92,0.08), rgba(107,26,26,0.08));
  padding: 18px;
  margin-top: 4px;
}
.reservation-success-title {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.reservation-success-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.reservation-success .btn {
  width: 100%;
  font-size: 10px;
}

/* Form row — single column on small/mid mobile */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   TOAST NOTIFICATION SYSTEM
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  min-width: 260px;
  max-width: min(90vw, 440px);
  padding: 16px 24px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast.success {
  border-color: rgba(200,169,92,0.4);
  background: linear-gradient(135deg, #111 0%, #0d0d0d 100%);
  color: var(--cream);
}
.toast.success::before {
  content: '✦ ';
  color: var(--gold);
}
.toast.error {
  border-color: rgba(220, 80, 80, 0.35);
  background: linear-gradient(135deg, #120808 0%, #0d0d0d 100%);
  color: rgba(255,220,220,0.88);
}
.toast.error::before {
  content: '⚠ ';
  color: rgba(220,80,80,0.9);
}
.toast.info {
  border-color: rgba(200,169,92,0.2);
}

/* Toast on mobile — anchored to bottom edge */
@media (max-width: 600px) {
  .toast {
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    max-width: 100%;
    min-width: 100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
  }
  .toast.show {
    transform: translateY(0);
  }
}

/* Paint containment prevents gallery images from triggering full-page repaints. */
.gallery-grid { contain: layout; }
.g-item { contain: layout paint; }
.cocktail-card { contain: layout paint; }

/* Smooth scrolling only when not motion-sensitive. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ============================================================
   LUXURY DESIGN POLISH
   ============================================================ */

/* Button active / press state — satisfying tactile feedback */
.btn:active {
  transform: translateY(1px) !important;
  box-shadow: none !important;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* btn-gold: richer glow on hover */
.btn-gold:hover {
  box-shadow: 0 10px 36px rgba(200,169,92,0.38), 0 2px 8px rgba(200,169,92,0.18);
}

/* Gold line grows when parent section is revealed */
.section-header.visible .gold-line,
.section-header.visible .gold-line.left {
  width: 64px;
}

/* Event card — gold glow on hover */
.event-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 32px rgba(200,169,92,0.08);
}

/* VIP card — subtle price / CTA alignment */
.vip-card-cta {
  margin-top: auto;
}

/* VIP cards grid — equal height for alignment */
.vip-grid {
  align-items: stretch;
}
.vip-card {
  display: flex;
  flex-direction: column;
}
.vip-card-features {
  flex: 1;
}

/* Cocktail card — stronger overlay on hover for legibility */
.cocktail-card:hover .cocktail-overlay {
  background: linear-gradient(to top,
    rgba(8,8,8,0.96) 0%,
    rgba(8,8,8,0.70) 50%,
    rgba(8,8,8,0.15) 100%
  );
}

/* Section subtitle — slightly more breathing room */
.section-subtitle {
  margin-top: 18px;
  max-width: 580px;
}
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Eyebrow — slightly more letter-spacing on large screens */
@media (min-width: 1024px) {
  .eyebrow { letter-spacing: 0.35em; }
}

/* Touch optimization */
.hero-ctas, .nav-links, .mobile-menu ul, button, a {
  touch-action: manipulation;
}

/* ============================================================
   PRODUCTION POLISH — Final Pass
   ============================================================ */

/* ── Dark mode native form controls (iOS/Android) ────────────
   color-scheme: dark on :root covers most browsers.
   These rules fix remaining platform-specific rendering.     */
input, select, textarea, button {
  color-scheme: dark;
}
/* Webkit autofill: remove yellow flash, maintain dark look */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px var(--card) inset;
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  border-color: var(--gold) !important;
}
/* Date input text visible on webkit / iOS */
input[type="date"]::-webkit-date-and-time-value {
  color: var(--white);
}
input[type="date"]::-webkit-datetime-edit { color: var(--white); }
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(0.7) sepia(1) hue-rotate(5deg) saturate(3);
  cursor: pointer;
  opacity: 0.6;
}
/* Select option dark background across browsers */
select option {
  background: #141414;
  color: var(--white);
}

/* ── Accessible focus rings — gold, not default blue ────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Suppress mouse-click focus ring (only show for keyboard) */
:focus:not(:focus-visible) { outline: none; }

/* ── Gallery item hover overlay ──────────────────────────────  */
.g-item {
  position: relative;
  overflow: hidden;
}
.g-item img {
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

/* ── Manifesto: taller image on narrow tablet/mobile ─────────  */
@media (max-width: 768px) {
  .manifesto-image { height: 380px; }
  /* manifesto stats: allow wrapping on very small phones */
  .manifesto-stats { flex-wrap: wrap; gap: 16px 32px; }

  /* Hero: tighter gap between stacked CTA buttons */
  .hero-ctas { gap: 10px; }

  /* Reservation grid: less vertical gap when stacked */
  .res-grid { gap: 36px; }

  /* Food section: header spacing when stacked */
  .food-inner .reveal-left { margin-bottom: 0; }

  /* Music genres: separators can line-wrap with tags */
  .genre-separator { font-size: 10px; opacity: 0.4; }

  /* World Cup: ensure text doesn't overflow on small screens */
  .wc-text h2 { font-size: clamp(24px, 7vw, 40px); }
  .wc-text p  { font-size: 13px; }

  /* Footer: tighten brand block on mobile */
  .footer-brand { text-align: center; }
  .footer-tagline { margin: 0 auto; }
  .footer-brand img { margin: 0 auto 20px; }

  /* Form: textarea slightly shorter on mobile */
  .form-textarea { min-height: 90px; }
}

/* ── Extra-small phones (< 390px) ────────────────────────────  */
@media (max-width: 390px) {
  .hero-tagline { font-size: clamp(36px, 9.5vw, 54px); }
  .manifesto-quote { font-size: clamp(22px, 6vw, 32px); }
  .vip-headline { font-size: clamp(32px, 9vw, 52px); }
  .section-pad { padding: clamp(56px, 12vw, 100px) 0; }
}

/* ── Tablet: res-grid stacked has too much gap ───────────────  */
@media (max-width: 1024px) {
  .res-grid { gap: 40px; }
}

/* ── Improve footer brand presence ──────────────────────────  */
.footer-brand img {
  filter: brightness(0.95) drop-shadow(0 0 20px rgba(200,169,92,0.12));
}

/* ── Section background rhythm: subtle top divider on key sections */
#vip { border-top: 1px solid var(--border-dark); }
#food { /* already has border-top via inline style in CSS */ }
#reservations { border-top: 1px solid var(--border-dark); }

/* ── Social buttons: minimum touch target ───────────────────  */
.social-btn {
  min-height: 44px;
}

/* ── Reservation form: smoother submit button feedback ───────  */
#whatsappSubmit {
  letter-spacing: 0.18em;
  position: relative;
  overflow: hidden;
}
#whatsappSubmit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
#whatsappSubmit:hover:not(:disabled)::before {
  transform: translateX(0);
}

/* ── Nav: ensure logo doesn't overflow on very small screens  */
@media (max-width: 360px) {
  .nav-logo img { height: 40px; }
  :root { --section-x: clamp(16px, 5vw, 80px); }
}

/* ── Mobile menu: prevent content bleed-through when closed  */
.mobile-menu {
  pointer-events: none;
}
.mobile-menu.open {
  pointer-events: auto;
}

/* ── Smooth image rendering cross-browser ───────────────────  */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* ── Print: hide decorative elements, show content cleanly ──  */
@media print {
  #nav, .mobile-menu, #hero, .hero-scroll, .hero-badges,
  .gallery-grid, #music .music-wave, footer .footer-social,
  .toast, #whatsappSubmit { display: none !important; }
  body { background: white; color: black; }
  h1, h2, h3, h4 { color: black; }
  .section-pad { padding: 24px 0; }
}

/* ============================================================
   UTILITY CLASSES — Replaces inline style="" attributes
   ============================================================ */

/* Section description text used under headings */
.section-desc {
  max-width: 500px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}
.section-desc.left { margin: 0; }

/* VIP bottle service label in event cards */
.vip-bottle-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Food section intro copy */
.food-copy {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 380px;
  margin-bottom: 32px;
}

/* Music section oversized headline */
.music-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 90px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.05;
}

.music-tagline {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: .04em;
}

/* VIP package card buttons — always full width */
.vip-card .btn { width: 100%; }

/* Reservation submit button sizing */
#whatsappSubmit {
  width: 100%;
  font-size: 12px;
  padding: 18px;
}

/* Food item: subtle name highlight on row hover */
.food-item:hover .food-name {
  color: var(--off-white);
  transition: color 0.3s;
}

/* ============================================================
   MOBILE STICKY RESERVE CTA
   A persistent bottom bar on phones — critical for conversion.
   Hidden on desktop/tablet (>768px).
   ============================================================ */
/* Sticky mobile CTA bar — hidden by default, revealed via JS .visible class */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-dark);
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  /* Only show on mobile — hide on desktop regardless */
}
.mobile-sticky-cta.visible {
  transform: translateY(0);
}
.mobile-sticky-cta .btn {
  flex: 1;
  padding: 14px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  min-height: 48px;
}
/* Only show on mobile */
@media (min-width: 769px) {
  .mobile-sticky-cta { display: none; }
}
/* Push footer above sticky bar height on mobile */
@media (max-width: 768px) {
  footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

.info-text-note {
  font-size: 14px;
  color: var(--muted);
}
