/*
 * Avery XO â€” Main Stylesheet
 * Aesthetic: Luxury Editorial, Silk & Gold, Modern Glassmorphism
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- 1. DESIGN TOKENS (CSS Custom Properties) --- */
:root {
  /* Color Palette - Moody Bordeaux & Warm Rose Gold */
  --bg: #0a0405; /* Deepest warm bordeaux wine black */
  --bg-alt: #050202; /* Pure velvet black */
  --surface: rgba(22, 10, 12, 0.65); /* Translucent bordeaux glass */
  --surface-opaque: #150b0c; /* Deep warm burgundy */
  --text: #ebdcd5; /* Warm soft linen cream */
  --text-muted: #a39192; /* Warm muted charcoal-burgundy gray */
  --heading: #FFFFFF;
  --accent: #cfa881; /* Warm amber gold / candlelight */
  --accent-hover: #e0be99;
  --rose-gold: #c38b8c; /* Soft warm rose-gold for highlights */
  --border: rgba(195, 139, 140, 0.15); /* Delicate rose-gold tint */
  --border-hover: rgba(195, 139, 140, 0.35);
  --rose: #9c525f; /* Rich bordeaux wine red */
  --danger: #BA786C;
  --error: #E5A497;
  --success: #A6BCA2;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  
  /* Fluid Typography Scale */
  --font-size-base: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  --font-size-h1: clamp(2.8rem, 7vw + 1rem, 6rem);
  --font-size-h2: clamp(2rem, 4.5vw + 1rem, 3.8rem);
  --font-size-h3: clamp(1.4rem, 2vw + 1rem, 2.2rem);
  
  /* Fluid Spacing */
  --spacing-section: clamp(80px, 12vw, 140px);

  /* Layout */
  --container-width: 1240px;
  --header-height: 100px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.7);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- GOLDEN HOUR ENGINE --- */
/* Shifts site mood based on time of day â€” applied via JS on <body> */

body.gh-golden {
  --accent: #e4b87a;
  --accent-hover: #f0cf9a;
  --bg: #090305;
}

body.gh-night {
  --accent: #b87a8c;
  --accent-hover: #cf9aaa;
  --bg: #040104;
}

body.gh-midday {
  --accent: #c9a070;
  --accent-hover: #dbb888;
  --bg: #0b0507;
}

#golden-hour-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transition: background 3s ease;
}

body.gh-golden #golden-hour-overlay {
  background: radial-gradient(ellipse at 75% 25%, rgba(228,184,122,0.05) 0%, transparent 65%);
}

body.gh-night #golden-hour-overlay {
  background: radial-gradient(ellipse at 25% 80%, rgba(90,20,40,0.09) 0%, transparent 60%);
}

body.gh-midday #golden-hour-overlay,
body.gh-transition #golden-hour-overlay {
  background: transparent;
}

/* --- 2. GLOBAL SYSTEM RESETS & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: initial; /* Handled by Lenis */
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: var(--font-size-base);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.5s ease, color 0.5s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* --- GLASSMORPHISM CLASS --- */
.glass-panel {
  background: rgba(25, 15, 17, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* --- PREMIUM TEXTURE: FILM GRAIN --- */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
}

/* Background Ambient Glows */
body::after {
  content: '';
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(140px);
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: float-glow 25s infinite alternate ease-in-out;
  background: radial-gradient(circle, rgba(156, 82, 95, 0.12) 0%, rgba(156, 82, 95, 0.02) 50%, rgba(0, 0, 0, 0) 75%);
  top: -200px;
  left: -200px;
}

/* Additional ambient glow on the right */
.bg-glow-right {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(140px);
  opacity: 0.15;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(207, 168, 129, 0.08) 0%, rgba(207, 168, 129, 0.01) 60%, rgba(0, 0, 0, 0) 80%);
  bottom: -150px;
  right: -150px;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 40px) scale(1.15); }
  100% { transform: translate(-40px, 60px) scale(0.9); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 178, 140, 0.15);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Global Content Visibility Control */
.content-hidden {
  visibility: hidden;
  height: 100vh;
  overflow: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--heading);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Base button and link styles - ULTRA PREMIUM EDITORIAL */
.link-editorial {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--accent);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.link-editorial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-editorial:hover {
  color: var(--heading);
}

.link-editorial:hover::after {
  transform: translateX(0);
}

/* Secondary delicate hollow button for specific uses */
.link-outline {
  display: inline-block;
  padding: 14px 34px;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 40px; /* Pill shape */
  background: rgba(25, 15, 17, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.link-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(212, 178, 140, 0.05);
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent) 0%, #BCA07B 100%);
  color: #110B0C;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
  box-shadow: 0 10px 25px rgba(212, 178, 140, 0.3);
  transform: translateY(-3px);
  color: #000000;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(212, 178, 140, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

/* --- 3. 18+ AGE GATE VERIFICATION --- */
.age-gate-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #040203;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: visible;
}

.age-gate-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 178, 140, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(4, 2, 3, 0.58), rgba(4, 2, 3, 0.88));
  z-index: 1;
  pointer-events: none;
}

.age-gate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.02);
  pointer-events: none;
}

.age-gate-card {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: relative;
  z-index: 2;
  padding: 60px 50px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.age-gate-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 25px;
  color: var(--heading);
  letter-spacing: 2px;
}

.age-gate-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.8;
}

.age-gate-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.age-gate-btn {
  flex: 1;
  padding: 15px 25px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
}

.age-gate-enter {
  background: linear-gradient(135deg, var(--accent) 0%, #BCA07B 100%);
  color: var(--bg-alt);
}

.age-gate-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 178, 140, 0.2);
}

.age-gate-exit {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.age-gate-exit:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .age-gate-video {
    display: none;
  }
}

/* --- 4. PREMIUM ANIMATIONS --- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}
.reveal-mask.is-revealed {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- 5. UTILITIES --- */
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: var(--transition-slow);
}

header.scrolled {
  height: 80px;
  background: rgba(7, 7, 7, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--heading);
  letter-spacing: 1px;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--heading);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--heading);
  transition: var(--transition);
}

/* Mobile full-screen overlay menu */
.nav-menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(7, 7, 7, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 35px;
  z-index: 105;
  transition: var(--transition-slow);
}

.nav-menu-mobile.open {
  right: 0;
}

.nav-menu-mobile a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-weight: 300;
}

.nav-menu-mobile a:hover,
.nav-menu-mobile a.active {
  color: var(--accent);
}

/* Hamburger active transformation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- 5. PAGE STRUCTURE & FOOTER --- */
main {
  flex-grow: 1;
  padding-top: var(--header-height);
}

.section {
  padding: var(--spacing-section) 0;
}

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

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 70px auto;
}

.section-subtitle {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--heading);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  opacity: 0.5;
}

footer {
  background-color: var(--bg-alt);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--heading);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--bg);
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(212, 178, 140, 0.2);
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

/* --- 6. CINEMATIC HERO --- */

.hero-cinematic {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  z-index: 1;
  filter: brightness(0.42) saturate(0.78);
  transform: scale(1.04);
  clip-path: circle(0% at 50% 50%);
  transition: 
    opacity 6.5s cubic-bezier(0.22, 1, 0.36, 1), 
    clip-path 7.0s cubic-bezier(0.22, 1, 0.36, 1), 
    transform 18s cubic-bezier(0.22, 1, 0.36, 1), 
    filter 6.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter, clip-path;
  pointer-events: none;
}

.hero-bg-img.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.0);
  clip-path: circle(150% at 50% 50%);
  filter: brightness(0.42) saturate(0.82);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9,3,5,0.98) 0%, rgba(9,3,5,0.55) 30%, rgba(9,3,5,0.1) 60%, transparent 80%),
    linear-gradient(to right, rgba(9,3,5,0.3) 0%, transparent 50%);
  z-index: 3;
}

.hero-cinematic-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(28px, 8vw, 120px) clamp(56px, 9vh, 96px);
  max-width: 720px;
  opacity: 0;
  transform: translateY(22px);
  animation: hero-text-in 1.4s ease 1.9s forwards;
}

@keyframes hero-text-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-location {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: 22px;
}

.hero-cinematic-title {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.88;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}

.hero-cinematic-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 5px;
  transition: color 0.35s, border-color 0.35s;
}

.hero-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  right: clamp(28px, 5vw, 64px);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25));
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0; transform: scaleY(0.3) translateY(-8px); }
  55%       { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Fallback for other pages using hero-sec until updated */
.hero-sec {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-section) 0;
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--surface-opaque);
  padding: 15px 25px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}

.hero-badge-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--heading);
}

.hero-category-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Animated Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  pointer-events: none;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  opacity: 0.8;
}

.scroll-line {
  width: 1px;
  height: 45px;
  background-color: rgba(212, 178, 140, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--accent);
  animation: scroll-slide 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scroll-slide {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

@media (max-width: 768px) {
  .scroll-indicator { display: none; }
}

/* --- EDITORIAL ASYMMETRICAL GALLERY --- */
.editorial-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  margin-top: 60px;
  align-items: center;
}

.ed-item-1 {
  grid-column: 1 / 3;
  grid-row: 1;
}

.ed-item-2 {
  grid-column: 3 / 4;
  grid-row: 1;
  margin-top: 100px;
}

.ed-item-3 {
  grid-column: 2 / 4;
  grid-row: 2;
  margin-top: -50px;
  margin-left: 100px;
}

.editorial-img-wrap {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition-slow);
}
.editorial-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 178, 140, 0.1);
  pointer-events: none;
  z-index: 6;
  border-radius: 4px;
}
.editorial-img-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.editorial-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-img-wrap:hover img {
  /* Hover zoom disabled */
}

/* Editorial Strip layout */
.editorial-strip {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.strip-item {
  position: relative;
  overflow: hidden;
}

.strip-caption {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-align: left;
}

/* --- 7. PAGE SPECIFICS: ABOUT PAGE --- */
.about-layout {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: clamp(40px, 8vw, 90px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.about-img-col {
  position: relative;
  padding: 12px;
}

.about-img-col::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(207, 168, 129, 0.15);
  pointer-events: none;
  z-index: 0;
  transform: scale(0.97);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-col:hover::before {
  transform: scale(1.01);
  border-color: rgba(207, 168, 129, 0.35);
}

.about-img-wrap {
  aspect-ratio: 3.8/5;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  background-color: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-wrap:hover img {
  transform: scale(1.02);
}

.about-text-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 32px;
  line-height: 1.15;
  color: var(--heading);
}

/* Biography Paragraph Layout & Drop Cap */
.bio-para {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.95;
  color: rgba(240, 230, 220, 0.62);
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.bio-para:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  float: left;
  margin-right: 14px;
  line-height: 0.85;
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.about-highlights-title {
  margin-top: 50px;
  margin-bottom: 24px;
  font-size: 1.45rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  color: var(--heading);
  border-bottom: 1px solid rgba(195, 139, 140, 0.08);
  padding-bottom: 12px;
}

.about-facts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.about-fact-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 18px 20px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(240, 230, 220, 0.7);
  transition: all 0.3s ease;
}

.about-fact-item:hover {
  background: rgba(195, 139, 140, 0.02);
  border-color: rgba(195, 139, 140, 0.12);
}

.about-fact-icon {
  color: var(--accent);
  font-size: 0.95rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.about-travel-box {
  background: rgba(212, 178, 140, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 178, 140, 0.12);
  border-left: 3px solid var(--accent);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-top: 40px;
}

.about-travel-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--heading);
}

.about-travel-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- 8. PAGE SPECIFICS: PHOTO GALLERY --- */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  background-color: rgba(25, 15, 17, 0.2);
  color: var(--text-muted);
  border-radius: 40px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--bg-alt);
  background-color: var(--accent);
  box-shadow: 0 5px 15px rgba(212, 178, 140, 0.2);
}

.gallery-grid {
  column-count: 3;
  column-gap: 30px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background-color: var(--bg-alt);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 178, 140, 0.25);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Image Protection Overlay */
.image-protect-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background-color: transparent;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Dynamic overlay tag */
.gallery-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(13, 8, 10, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 178, 140, 0.15);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.gallery-item:hover .gallery-tag {
  background-color: var(--accent);
  color: var(--bg-alt);
  border-color: var(--accent);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 3, 4, 0.98);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  background-color: #000;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--accent);
  color: var(--bg-alt);
  border-color: var(--accent);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-caption {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #EAD0B2;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* --- 9. PAGE SPECIFICS: RATES PAGE --- */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 90px;
}

.rate-card-main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rate-card-details {
  border-top: 1px solid rgba(195, 139, 140, 0.08);
  padding-top: 25px;
  margin-top: auto;
}

@media (min-width: 901px) {
  .rates-grid > .rate-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
    text-align: left;
    padding: 50px 60px;
  }
  .rates-grid > .rate-card:last-child .rate-card-details {
    border-top: none;
    border-left: 1px solid rgba(195, 139, 140, 0.12);
    padding-top: 0;
    padding-left: 50px;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .rates-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rates-grid > .rate-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .rates-grid {
    grid-template-columns: 1fr;
  }
}

.rate-card {
  background: linear-gradient(135deg, rgba(25, 15, 17, 0.5) 0%, rgba(12, 6, 8, 0.7) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.65), 
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s,
              background 0.5s,
              box-shadow 0.6s;
  position: relative;
  overflow: hidden;
}

.rate-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

body.gh-golden .rate-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(228, 184, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(228, 184, 122, 0.45);
}

body.gh-night .rate-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(184, 122, 140, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(184, 122, 140, 0.45);
}

body.gh-midday .rate-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(201, 160, 112, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(201, 160, 112, 0.45);
}

body.gh-transition .rate-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(195, 139, 140, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(195, 139, 140, 0.45);
}

.rate-card:hover {
  transform: translateY(-10px) scale(1.015);
  background: linear-gradient(135deg, rgba(32, 20, 22, 0.58) 0%, rgba(15, 8, 10, 0.78) 100%);
}


.rate-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 300;
  letter-spacing: 1px;
}

.rate-price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 10px;
}

.rate-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  font-weight: 600;
}

.rate-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
  flex-grow: 1;
}

.rate-includes-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  color: var(--accent);
}

.rate-includes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.rate-include-item {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
  align-items: flex-start;
  line-height: 1.4;
}

.rate-include-icon {
  color: var(--rose);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Policies Box Section */
.policies-section {
  background: rgba(25, 15, 17, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 60px;
  border: 1px solid var(--border);
}

.policies-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 300;
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.policy-item h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.policy-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- 10. PAGE SPECIFICS: CONTACT PAGE --- */
.contact-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: rgba(25, 15, 17, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--accent);
}

input, select, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background-color: rgba(13, 8, 10, 0.5);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(25, 15, 17, 0.7);
  box-shadow: 0 0 15px rgba(212, 178, 140, 0.12);
}

/* Honeypot hidden input field */
.hidden-field {
  display: none !important;
  visibility: hidden !important;
}

/* Submit status alerts */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-top: 25px;
  font-size: 0.95rem;
  display: none;
}

.alert-success {
  background-color: rgba(176, 196, 164, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
  display: block;
}

.alert-error {
  background-color: rgba(229, 142, 139, 0.15);
  border: 1px solid var(--error);
  color: var(--error);
  display: block;
}

/* Contact sidebar info */
.contact-info-col {
  padding-left: 20px;
}

.contact-info-box {
  background: rgba(25, 15, 17, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 45px;
  margin-bottom: 30px;
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 300;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-info-icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: var(--accent);
}

.contact-info-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- 11. LEGAL PAGE LAYOUTS --- */
.legal-container {
  max-width: 800px;
  margin: 60px auto 100px auto;
  padding: 0 20px;
}

.legal-header {
  text-align: center;
  margin-bottom: 50px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.legal-content h3 {
  font-size: 1.6rem;
  margin: 40px 0 15px 0;
  color: var(--heading);
  font-weight: 350;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.legal-content ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 8px;
}

/* --- 12. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .rates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-badge {
    left: 20px;
    bottom: 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .gallery-grid {
    column-count: 2;
  }

  .lightbox-prev {
    left: -50px;
  }

  .lightbox-next {
    right: -50px;
  }

  .rates-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 60px auto;
  }

  .policies-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .policies-section {
    padding: 35px 25px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form-wrap {
    padding: 30px 20px;
  }

  .contact-info-col {
    padding-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Editorial elements responsive fixes */
  .editorial-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
  }

  .ed-item-1, .ed-item-2, .ed-item-3 {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }

  .editorial-strip {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .editorial-strip .editorial-img-wrap {
    height: 320px !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
  .lightbox-nav {
    display: none;
  }
  .lightbox-close {
    top: -50px;
    right: 10px;
  }
  .about-facts-list {
    grid-template-columns: 1fr;
  }
  .age-gate-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .age-gate-btn {
    width: 100%;
  }
  .age-gate-card {
    padding: 40px 25px;
  }
}

/* Custom Line-Art Rose Decorations */
.deco-rose {
  position: absolute;
  width: 140px;
  height: 140px;
  color: var(--rose-gold);
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  transition: opacity 0.4s ease;
}

.deco-rose-top-left {
  top: -30px;
  left: -30px;
  transform: rotate(-15deg);
}

.deco-rose-bottom-right {
  bottom: -30px;
  right: -30px;
  transform: rotate(165deg);
}

.deco-rose-bottom-left {
  bottom: -30px;
  left: -30px;
  transform: rotate(45deg);
}

.deco-rose-top-right {
  top: -30px;
  right: -30px;
  transform: rotate(-75deg);
}

/* Hover highlights decoration */
.rate-card:hover .deco-rose,
.contact-form-wrap:hover .deco-rose {
  opacity: 0.45;
}

/* =====================================================
   FILMSTRIP â€” Cinematic Horizontal Lookbook
   ===================================================== */

.filmstrip-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade-edge left/right vignette */
.filmstrip-outer::before,
.filmstrip-outer::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}
.filmstrip-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt) 0%, transparent 100%);
}
.filmstrip-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt) 0%, transparent 100%);
}

.filmstrip-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 30px 100px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.filmstrip-container::-webkit-scrollbar { display: none; }
.filmstrip-container.is-dragging { cursor: grabbing; }

.film-frame {
  flex: 0 0 240px;
  scroll-snap-align: center;
  position: relative;
  background: #0d0608;
  border: 1px solid rgba(195, 139, 140, 0.12);
  border-radius: 3px;
  padding: 12px 12px 42px 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.6s;
}

/* Sprocket holes top */
.film-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0px,
    transparent 10px,
    rgba(255,255,255,0.06) 10px,
    rgba(255,255,255,0.06) 18px,
    transparent 18px,
    transparent 28px
  );
}

/* Film data strip at bottom */
.film-frame-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold);
  opacity: 0.5;
  border-top: 1px solid rgba(195,139,140,0.08);
}

.film-frame-img-wrap {
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: 1px;
  position: relative;
}

/* Warm cinematic tint overlay */
.film-frame-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(80, 20, 30, 0.1) 0%,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0) 65%,
    rgba(10, 4, 5, 0.5) 100%
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
  transition: opacity 0.4s;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(0.85) contrast(1.05);
}

.film-frame:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(207, 168, 129, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(156, 82, 95, 0.12);
  z-index: 5;
}

.film-frame:hover img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.05);
}

/* Wide landscape frames */
.film-frame.film-frame--wide {
  flex: 0 0 360px;
}
.film-frame.film-frame--wide .film-frame-img-wrap {
  aspect-ratio: 4/3;
}

/* Filmstrip scroll hint arrows */
.filmstrip-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.filmstrip-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(25,15,17,0.5);
  backdrop-filter: blur(10px);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.filmstrip-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.08);
}

/* â”€â”€ JS-generated filmstrip frame structure â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filmstrip-frame {
  flex: 0 0 240px;
  scroll-snap-align: center;
  position: relative;
  background: #0d0608;
  border: 1px solid rgba(195, 139, 140, 0.12);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s,
              box-shadow 0.6s;
  outline: none;
}

.filmstrip-frame:hover,
.filmstrip-frame:focus-visible {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(207, 168, 129, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(156, 82, 95, 0.14);
  z-index: 5;
}

/* Sprocket row (top and bottom) */
.sprocket {
  flex-shrink: 0;
  height: 14px;
  background: #0a0405;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0 6px;
}

.sprocket-hole {
  width: 10px;
  height: 7px;
  border-radius: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
}

/* Image area */
.film-image-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
}

.film-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s ease;
  filter: saturate(0.7) brightness(0.88) contrast(1.06);
  pointer-events: none;
}

.filmstrip-frame:hover .film-image-wrap img {
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.95) contrast(1.05);
}

/* Cinematic warm tint overlay */
.film-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(80, 20, 30, 0.08) 0%,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0) 65%,
    rgba(10, 4, 5, 0.55) 100%
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* Frame number stamp */
.film-frame-num {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 4;
  font-family: var(--font-sans);
  font-size: 0.45rem;
  letter-spacing: 3px;
  color: rgba(207, 168, 129, 0.4);
  font-weight: 600;
  text-transform: uppercase;
  pointer-events: none;
}

/* --- GALLERY CHAPTERS --- */

.gallery-chapter {
  margin-bottom: clamp(72px, 11vw, 130px);
}

.chapter-header {
  margin-bottom: 44px;
}

.chapter-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 10px;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--heading);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.chapter-line {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  font-weight: 300;
  margin-bottom: 24px;
  font-style: italic;
}

.chapter-rule {
  width: 36px;
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
}

.chapter-grid {
  column-count: 3;
  column-gap: 16px;
  display: block;
}

.gallery-thumb {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface-opaque);
  break-inside: avoid;
}

.gallery-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
  filter: brightness(0.85) saturate(0.88);
}

.gallery-thumb:hover img {
  transform: scale(1.03);
  filter: brightness(0.95) saturate(1.0);
}

/* --- MOBILE RESPONSIVE --- */

@media (max-width: 900px) {
  .chapter-grid {
    column-count: 2;
    column-gap: 12px;
  }
  .gallery-thumb {
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .hero-cinematic-title {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }
  .hero-cinematic-content {
    padding: 0 24px 52px;
  }
  .chapter-grid {
    column-count: 1;
    column-gap: 0;
  }
  .gallery-thumb {
    margin-bottom: 16px;
  }
}

/* â”€â”€ PREMIUM AMBIENT GLOW AURA (MOUSE-TRACKED BACKGROUND GLOW) â”€â”€ */
.ambient-glow-follower {
  position: fixed;
  width: clamp(380px, 48vw, 680px);
  height: clamp(380px, 48vw, 680px);
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  will-change: transform;
}

.ambient-glow-follower::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 184, 122, 0.16) 0%, rgba(207, 168, 129, 0.05) 45%, transparent 70%);
  animation: glow-pulse 3.5s ease-in-out infinite alternate;
  transition: background 1.5s ease;
}

@keyframes glow-pulse {
  0% { transform: scale(0.92); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

body.gh-golden .ambient-glow-follower::before {
  background: radial-gradient(circle, rgba(228, 184, 122, 0.19) 0%, rgba(228, 184, 122, 0.06) 45%, transparent 70%);
}

body.gh-night .ambient-glow-follower::before {
  background: radial-gradient(circle, rgba(207, 122, 140, 0.18) 0%, rgba(184, 122, 140, 0.05) 45%, transparent 70%);
}

body.gh-midday .ambient-glow-follower::before {
  background: radial-gradient(circle, rgba(220, 170, 112, 0.16) 0%, rgba(201, 160, 112, 0.05) 45%, transparent 70%);
}

/* â”€â”€ DUAL LAYERED HERO BACKGROUND TRANSITIONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Unified with primary definition above to prevent overrides */

/* â”€â”€ MOOD SPOTLIGHT IN HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-glow-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(207, 168, 129, 0.04) 0%, transparent 60%);
  transition: background 1.5s ease;
}

body.gh-golden .hero-glow-spotlight {
  background: radial-gradient(circle at 60% 40%, rgba(228, 184, 122, 0.06) 0%, transparent 65%);
}

body.gh-night .hero-glow-spotlight {
  background: radial-gradient(circle at 30% 70%, rgba(184, 122, 140, 0.08) 0%, transparent 60%);
}

body.gh-midday .hero-glow-spotlight {
  background: radial-gradient(circle at 50% 30%, rgba(201, 160, 112, 0.05) 0%, transparent 55%);
}

/* â”€â”€ INTERACTIVE MOOD SELECTOR CAPSULE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-actions-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  width: 100%;
  margin-top: 24px;
}

.hero-mood-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mood-selector-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}

.mood-selector-btns {
  display: flex;
  background: rgba(10, 4, 5, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: 30px;
  gap: 2px;
}

.mood-btn {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 400;
}

.mood-btn:hover {
  color: #fff;
}

.mood-btn.active {
  background: rgba(207, 168, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(207, 168, 129, 0.25);
  box-shadow: 0 0 15px rgba(207, 168, 129, 0.1);
}

@media (max-width: 768px) {
  .hero-actions-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* â”€â”€ INTERACTIVE TRAVEL MEMOIRS (ABOUT PAGE) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.travel-memoirs-section {
  padding: 100px 0 120px;
  border-top: 1px solid rgba(195,139,140,0.08);
}

.travel-header {
  text-align: center;
  margin-bottom: 70px;
}

.travel-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.travel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.travel-city-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.travel-city-btn:hover,
.travel-city-btn.active {
  border-left-color: var(--accent);
  background: rgba(207, 168, 129, 0.02);
}

.city-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(240, 230, 220, 0.4);
  transition: color 0.3s ease;
  line-height: 1.2;
}

.travel-city-btn.active .city-name,
.travel-city-btn:hover .city-name {
  color: var(--heading);
}

.city-coords {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
  margin-top: 8px;
}

/* Polaroid Container */
.polaroid-frame {
  background: #fdfcfb;
  padding: 16px 16px 64px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transform: rotate(-1.5deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-width: 390px;
  margin: 0 auto;
}

.polaroid-frame:hover {
  transform: rotate(1deg) scale(1.02);
}

.polaroid-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: #0d0608;
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) brightness(0.92) contrast(1.05);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-caption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.94rem;
  color: #2b2420;
  text-align: center;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity 0.5s ease;
  line-height: 1.45;
}

.polaroid-caption.visible {
  opacity: 0.85;
}

/* â”€â”€ CONCIERGE BOOKING FLOW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.concierge-container {
  background: rgba(10, 4, 5, 0.45);
  border: 1px solid rgba(195, 139, 140, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 4px;
  padding: clamp(32px, 6vw, 60px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.concierge-progress-container {
  margin-bottom: 48px;
}

.concierge-progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
  position: relative;
  border-radius: 1px;
}

.concierge-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  width: 25%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--accent);
}

.concierge-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.concierge-step-pill {
  transition: color 0.3s;
}

.concierge-step-pill.active {
  color: var(--accent);
  font-weight: 500;
}

.concierge-steps-wrapper {
  position: relative;
  min-height: 280px;
}

.concierge-step {
  display: none;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.concierge-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.concierge-step-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 300;
  font-style: italic;
  color: var(--heading);
  margin-bottom: 32px;
  line-height: 1.2;
}

.concierge-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.concierge-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  text-align: left;
  position: relative;
}

.concierge-card:hover {
  background: rgba(195, 139, 140, 0.02);
  border-color: rgba(195, 139, 140, 0.2);
}

.concierge-card.selected {
  background: rgba(207, 168, 129, 0.04);
  border-color: var(--accent);
}

.concierge-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--heading);
  margin-bottom: 8px;
}

.concierge-card-desc {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}

.concierge-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
}

.concierge-btn {
  background: transparent;
  border: 1px solid rgba(240, 230, 220, 0.25);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}

.concierge-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.concierge-btn.primary {
  background: transparent;
  border-color: rgba(207, 168, 129, 0.45);
  color: var(--accent);
}

.concierge-btn.primary:hover {
  background: rgba(207, 168, 129, 0.05);
  border-color: var(--accent);
}

.concierge-btn[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

@media (max-width: 800px) {
  .travel-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .travel-memoirs-section {
    padding: 60px 0 80px;
  }
}

/* â”€â”€ PAGE-TO-PAGE FADE TRANSITION OVERLAY â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #090305;
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay.fade-out {
  opacity: 0;
}

/* â”€â”€ AMBIENT AUDIO PILL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ambient-audio-pill {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 100;
  background: rgba(10, 4, 5, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ambient-audio-pill:hover {
  background: rgba(207, 168, 129, 0.05);
  border-color: rgba(207, 168, 129, 0.25);
  transform: translateY(-2px);
}

.sound-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 12px;
  width: 15px;
}

.sound-wave .bar {
  width: 2px;
  height: 4px;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.ambient-audio-pill.playing .sound-wave .bar {
  animation: sound-bounce 1s ease infinite alternate;
}

.ambient-audio-pill.playing .sound-wave .bar:nth-child(1) { animation-delay: 0.1s; }
.ambient-audio-pill.playing .sound-wave .bar:nth-child(2) { animation-delay: 0.4s; }
.ambient-audio-pill.playing .sound-wave .bar:nth-child(3) { animation-delay: 0.2s; }

@keyframes sound-bounce {
  0%   { height: 3px; }
  100% { height: 12px; }
}

.sound-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.ambient-audio-pill:hover .sound-label,
.ambient-audio-pill.playing .sound-label {
  color: var(--heading);
}

@media (max-width: 600px) {
  .ambient-audio-pill {
    bottom: 20px;
    left: 20px;
    padding: 8px 14px;
  }
}

/* â”€â”€ PASSCODE PROTECT MODAL & TRIGGER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-links .unlock-portfolio-btn {
  color: var(--accent) !important;
  border: 1px solid rgba(207, 168, 129, 0.3) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.65rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-left: 10px;
}
.nav-links .unlock-portfolio-btn:hover {
  background: rgba(207, 168, 129, 0.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 15px rgba(207, 168, 129, 0.15) !important;
}

.passcode-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 4, 0.88);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden; /* Performance: hides modal from the browser rendering tree when inactive */
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.passcode-modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.passcode-card {
  position: relative;
  background: rgba(15, 8, 10, 0.88); /* Increased opacity to compensate for removed blur */
  border: 1px solid rgba(207, 168, 129, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  /* Removed redundant nested backdrop-filter to prevent dual-blur GPU overhead */
  padding: 48px 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.passcode-modal.active .passcode-card {
  transform: translateY(0);
}

.passcode-header {
  margin-bottom: 28px;
}

.passcode-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 12px;
}

.passcode-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--heading);
  line-height: 1.2;
}

.passcode-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 300;
}

.passcode-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.passcode-input-wrapper {
  position: relative;
}

.passcode-input {
  width: 100%;
  background: rgba(10, 4, 5, 0.7);
  border: 1px solid rgba(207, 168, 129, 0.25);
  border-radius: 8px;
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-align: center;
  transition: all 0.3s ease;
  outline: none;
}

.passcode-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(207, 168, 129, 0.1);
}

.passcode-submit-btn {
  background: var(--accent);
  color: #0c0506;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.passcode-submit-btn:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(207, 168, 129, 0.2);
}

.passcode-error-msg {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #e57373;
  margin-top: 8px;
  min-height: 18px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.passcode-error-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.passcode-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
  padding: 4px;
}

.passcode-close-btn:hover {
  color: var(--accent);
}

/* Shake animation for errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.passcode-card.shake {
  animation: shake 0.4s ease;
}
.passcode-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
}

.passcode-contact-link {
  display: inline-block;
  text-decoration: none;
}

.gallery-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 4, 0.95);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.video-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 20001;
}

.gallery-video-player {
  max-width: 90%;
  max-height: 85%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(207, 168, 129, 0.2);
  border-radius: 8px;
}
