:root {
  --background: 40 20% 96%;
  --foreground: 0 0% 7%;
  --primary: 45 65% 52%;
  --primary-foreground: 0 0% 5%;
  --secondary: 36 30% 78%;
  --secondary-foreground: 0 0% 8%;
  --muted: 35 18% 86%;
  --muted-foreground: 35 8% 35%;
  --destructive: 0 72% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 42 23% 28%;
  --card: 40 22% 92%;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 18px 56px rgba(72, 55, 18, 0.16);
  --shadow-lg: 0 34px 100px rgba(72, 55, 18, 0.22);
  --transition-fast: 180ms ease;
  --transition-smooth: 700ms cubic-bezier(0.19, 1, 0.22, 1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
}

.dark {
  --background: 0 0% 4%;
  --foreground: 60 20% 95%;
  --primary: 45 65% 52%;
  --primary-foreground: 0 0% 5%;
  --secondary: 35 28% 72%;
  --secondary-foreground: 0 0% 7%;
  --muted: 30 9% 14%;
  --muted-foreground: 35 15% 72%;
  --destructive: 0 72% 52%;
  --destructive-foreground: 0 0% 100%;
  --border: 42 24% 28%;
  --card: 0 0% 8%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #F8F6EF 48%, #ffffff 100%);
  color: hsl(var(--foreground));
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
}
body.drawer-open, body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input { font: inherit; }
input { font-size: max(16px, 1rem); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #0B0B0B;
  transition: opacity 700ms ease, visibility 700ms ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 92px;
  height: 92px;
  border: 1px solid hsl(var(--primary));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  animation: pulseGold 1.8s infinite alternate;
}
.loader-line {
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
  transform: translateY(78px);
  position: absolute;
}
@keyframes pulseGold { from { opacity: .45; transform: scale(.96); } to { opacity: 1; transform: scale(1.03); } }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 76px;
  padding: calc(14px + env(safe-area-inset-top)) 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #F5F5F0;
  transition: background var(--transition-smooth), border var(--transition-smooth), backdrop-filter var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.86);
  color: hsl(var(--foreground));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 14px 46px rgba(72,55,18,.08);
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand-monogram {
  width: 42px;
  height: 42px;
  border: 1px solid hsl(var(--primary));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
  font-family: 'Playfair Display', serif;
  font-size: .8rem;
  letter-spacing: .14em;
}
.brand-text { font-family: 'Playfair Display', serif; letter-spacing: .06em; font-size: 1rem; }
.desktop-nav { display: none; gap: 28px; align-items: center; }
.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .95rem;
  letter-spacing: .08em;
  color: rgba(245, 245, 240, .86);
}
.navbar.scrolled .desktop-nav a { color: rgba(11,11,11,.76); }
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 0;
  height: 1px;
  background: hsl(var(--primary));
  transition: width var(--transition-fast);
}
.desktop-nav a:hover::after { width: 100%; }
.menu-toggle, .drawer-close {
  min-width: 44px;
  min-height: 44px;
  background: rgba(255,255,255,.06);
  color: hsl(var(--foreground));
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 999px;
}
.navbar .menu-toggle { color: #F5F5F0; }
.navbar.scrolled .menu-toggle { background: rgba(11,11,11,.04); color: hsl(var(--foreground)); }
.menu-toggle { display: grid; place-items: center; gap: 0; }
.menu-toggle span { width: 20px; height: 1px; background: hsl(var(--primary)); display: block; margin: 3px 0; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.drawer-panel {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin-left: auto;
  padding: calc(22px + env(safe-area-inset-top)) 22px 22px;
  background: rgba(255,255,255,.96);
  color: hsl(var(--foreground));
  backdrop-filter: blur(18px);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-title { font-family: 'Playfair Display', serif; color: hsl(var(--primary)); font-size: 1.4rem; }
.drawer-panel a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid rgba(212,175,55,.18); font-size: 1.4rem; }
.drawer-cta { margin-top: 20px; justify-content: center; border: 1px solid hsl(var(--primary)) !important; color: hsl(var(--primary)); border-radius: 999px; }

.section { padding: 88px 20px; position: relative; }
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 20px 100px;
  color: #F5F5F0;
}
.hero-video, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: radial-gradient(circle at 50% 45%, rgba(212,175,55,.12), transparent 34%), linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.84)); }
.hero-content { position: relative; z-index: 2; max-width: 980px; }
.eyebrow { color: hsl(var(--primary)); letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; font-family: 'Playfair Display', serif; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3.3rem, 12vw, 8.8rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.6rem, 7vw, 5.8rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.hero-subtitle { font-size: clamp(1.5rem, 4vw, 2.6rem); margin: 16px 0 10px; color: hsl(var(--secondary)); }
.hero-copy { max-width: 680px; margin: 0 auto 34px; font-size: 1.25rem; color: rgba(245,245,240,.78); line-height: 1.65; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.btn {
  min-height: 48px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.52);
  background: transparent;
  color: hsl(var(--primary));
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(212,175,55,.14); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-ghost { background: rgba(255,255,255,.05); backdrop-filter: blur(12px); }
.btn-small { padding: 12px 18px; min-height: 44px; font-size: .82rem; }
.scroll-indicator { position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%); display: grid; gap: 10px; place-items: center; color: rgba(245,245,240,.72); font-size: .9rem; }
.scroll-indicator i { width: 1px; height: 46px; background: linear-gradient(hsl(var(--primary)), transparent); animation: scrollLine 1.5s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(.3); transform-origin: top; } 100% { transform: scaleY(1); transform-origin: top; opacity: .25; } }

.booking-bar {
  margin: -58px 20px 20px;
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(212,175,55,.26);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  padding: 20px;
  display: grid;
  gap: 16px;
}
.booking-field label { display: block; color: hsl(var(--primary)); letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; margin-bottom: 8px; }
.booking-field input, .newsletter input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.28);
  background: rgba(255,255,255,.72);
  color: hsl(var(--foreground));
  padding: 0 16px;
  outline: none;
}
.booking-btn { width: 100%; }

.section-heading { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.section-heading p:not(.eyebrow) { color: hsl(var(--muted-foreground)); font-size: 1.2rem; line-height: 1.7; }
.suite-grid, .spa-grid { display: grid; gap: 24px; }
.suite-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(212,175,55,.30);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.suite-image-wrap { overflow: hidden; aspect-ratio: 4/3; }
.suite-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth), filter var(--transition-smooth); }
.suite-card:hover img { transform: scale(1.07); filter: saturate(1.08); }
.suite-body { padding: 24px; }
.suite-kicker { color: hsl(var(--primary)); letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.suite-body p, .split-content p, .spa-card p, .wedding-content p, .footer p, .testimonial-slide p { color: hsl(var(--muted-foreground)); line-height: 1.72; font-size: 1.12rem; }

.split-section { display: grid; gap: 34px; align-items: center; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(212,175,55,.25); box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.luxury-list { padding: 0; margin: 24px 0; list-style: none; color: hsl(var(--foreground)); }
.luxury-list li { padding: 11px 0 11px 28px; border-bottom: 1px solid rgba(212,175,55,.20); position: relative; }
.luxury-list li::before { content: '✦'; position: absolute; left: 0; color: hsl(var(--primary)); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; color: hsl(var(--primary)); border-bottom: 1px solid hsl(var(--primary)); letter-spacing: .08em; text-transform: uppercase; }

.spa-card {
  min-height: 240px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(212,175,55,.22);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border var(--transition-fast);
}
.spa-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.52); }
.spa-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(212,175,55,.46); border-radius: 50%; color: hsl(var(--primary)); font-size: 1.3rem; margin-bottom: 22px; }

.weddings { min-height: 82vh; display: grid; place-items: center; overflow: hidden; text-align: center; color: #F5F5F0; }
.wedding-bg { position: absolute; inset: -10%; background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.82)), url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1800&q=88') center/cover fixed; }
.wedding-content { position: relative; z-index: 2; max-width: 760px; background: rgba(10,10,10,.42); border: 1px solid rgba(212,175,55,.25); border-radius: var(--radius-lg); backdrop-filter: blur(14px); padding: 42px 24px; }
.wedding-content p { color: rgba(245,245,240,.82); }

.masonry-gallery { columns: 1; column-gap: 18px; }
.gallery-item { width: 100%; display: block; margin: 0 0 18px; padding: 0; border: 1px solid rgba(212,175,55,.18); background: transparent; border-radius: 20px; overflow: hidden; cursor: zoom-in; min-height: 44px; }
.gallery-item img { width: 100%; transition: transform var(--transition-smooth), opacity var(--transition-fast); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); opacity: .86; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity var(--transition-fast), visibility var(--transition-fast); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid rgba(212,175,55,.35); }
.lightbox-close { position: fixed; top: calc(18px + env(safe-area-inset-top)); right: 18px; min-width: 48px; min-height: 48px; border-radius: 50%; border: 1px solid hsl(var(--primary)); background: rgba(0,0,0,.4); color: hsl(var(--primary)); font-size: 2rem; }

.testimonial-shell { max-width: 900px; margin: auto; overflow: hidden; border: 1px solid rgba(212,175,55,.24); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); box-shadow: var(--shadow-md); }
.testimonial-track { display: flex; transition: transform var(--transition-smooth); }
.testimonial-slide { min-width: 100%; padding: 34px 24px; text-align: center; }
.testimonial-slide p { font-size: clamp(1.35rem, 4vw, 2.1rem); color: hsl(var(--foreground)); }
.testimonial-slide span { color: hsl(var(--primary)); letter-spacing: .08em; }
.testimonial-dots { display: flex; gap: 10px; justify-content: center; padding: 0 0 24px; }
.testimonial-dots button { width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.testimonial-dots button::after { content: ''; position: absolute; inset: 18px 12px; border-radius: 999px; background: rgba(212,175,55,.28); }
.testimonial-dots button.active::after { background: hsl(var(--primary)); }

.footer { background: #050505; color: #F5F5F0; border-top: 1px solid rgba(212,175,55,.2); padding: 70px 20px calc(94px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 34px; max-width: 1180px; margin: auto; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 2rem; color: hsl(var(--primary)); margin-bottom: 16px; }
.footer h3 { color: hsl(var(--primary)); font-size: 1.4rem; margin-bottom: 14px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border: 1px solid rgba(212,175,55,.32); border-radius: 50%; display: grid; place-items: center; color: hsl(var(--primary)); }
.newsletter-row { display: grid; gap: 12px; }
.newsletter button { min-height: 48px; border: 0; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding: 0 22px; cursor: pointer; }
.newsletter small { display: block; margin-top: 10px; color: hsl(var(--primary)); min-height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(212,175,55,.22);
  box-shadow: 0 -12px 36px rgba(72,55,18,.08);
}
.bottom-nav a { min-height: 48px; display: grid; place-items: center; color: rgba(11,11,11,.70); font-size: .9rem; }
.bottom-nav a.active { color: hsl(var(--primary)); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 900ms ease, transform 900ms cubic-bezier(0.19, 1, 0.22, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .drawer-panel { max-width: 390px; }
  .booking-bar { grid-template-columns: repeat(2, 1fr); }
  .booking-btn { grid-column: span 2; }
  .masonry-gallery { columns: 2; }
  .newsletter-row { grid-template-columns: 1fr auto; }
}
@media (min-width: 900px) {
  .section { padding: 120px 48px; }
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .bottom-nav { display: none; }
  .booking-bar { max-width: 1100px; margin-left: auto; margin-right: auto; grid-template-columns: 1fr 1fr .7fr auto; align-items: end; }
  .booking-btn { grid-column: auto; width: auto; }
  .suite-grid, .spa-grid { grid-template-columns: repeat(3, 1fr); }
  .split-section { grid-template-columns: 1.05fr .95fr; }
  .masonry-gallery { columns: 3; }
  .footer { padding-bottom: 70px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .wedding-bg { background-attachment: scroll; }
}