/* ════════════════════════════════════════════════════════════════════
   COORG HERITAGE INN — CHELAVARA VILLAGE, KARADA
   "Heritage living in the heart of Coorg" — sandstone · forest · editorial
   Brand DNA: coffee-estate green · warm sandstone · cream parchment
   Palette: Sandstone-Teal Heritage · Cormorant Garamond (display) + Inter (body)
   NATIVE scroll (no Lenis)
═══════════════════════════════════════════════════════════════════ */

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --t-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --t-sm: clamp(0.84rem, 0.8rem + 0.18vw, 0.95rem);
  --t-base: clamp(0.96rem, 0.92rem + 0.25vw, 1.08rem);
  --t-lg: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --t-xl: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
  --t-2xl: clamp(1.6rem, 1.35rem + 1vw, 2rem);
  --t-3xl: clamp(2rem, 1.6rem + 1.7vw, 2.8rem);
  --t-4xl: clamp(2.5rem, 1.9rem + 2.6vw, 3.8rem);
  --t-5xl: clamp(3.1rem, 2.2rem + 3.6vw, 5rem);
  --t-6xl: clamp(3.6rem, 2.5rem + 4.8vw, 6.5rem);
  --t-7xl: clamp(4rem, 2.7rem + 6.4vw, 8.5rem);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 40px; --sp-8: 56px;
  --sp-9: 72px; --sp-10: 96px; --sp-11: 128px; --sp-12: 168px;

  --r-sm: 6px; --r-md: 14px; --r-lg: 20px; --r-xl: 30px; --r-2xl: 44px; --r-full: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.3, 1);
  --tf: 0.28s; --tb: 0.5s;
  --maxw: 1280px; --maxw-wide: 1480px;
}

/* LIGHT — default · Sandstone-Teal Heritage */
:root, [data-theme="light"] {
  --bg: #F2EBDC;
  --bg-1: #FBF7EE;
  --bg-2: #FFFFFF;
  --bg-3: #E8DDC9;
  --card: rgba(255,253,248,0.75);
  --card-solid: #FBF7EE;

  --text: #1E3A3A;
  --text-soft: #2A4848;
  --text-muted: #5A4F42;
  --text-faint: #7A6E5D;

  --gold: #8A6535;            /* sandstone amber — darker for AA on cream */
  --gold-bright: #B5894F;
  --gold-deep: #6B4C24;
  --olive: #2D5A1A;           /* Coorg coffee-estate green */
  --olive-deep: #1F3F11;

  --line: rgba(138,101,53,0.22);
  --line-strong: rgba(138,101,53,0.44);
  --line-faint: rgba(30,58,58,0.09);

  --sh-md: 0 10px 30px rgba(30,20,10,0.1);
  --sh-lg: 0 26px 64px rgba(30,20,10,0.18);
  --glow: 0 0 70px rgba(138,101,53,0.2);

  --ov-hero: linear-gradient(177deg, rgba(12,24,14,0.58) 0%, rgba(12,24,14,0.22) 28%, rgba(12,24,14,0.34) 58%, rgba(12,24,14,0.9) 100%);
  --ov-deep: linear-gradient(180deg, rgba(242,235,220,0.45) 0%, rgba(242,235,220,0.78) 55%, rgba(242,235,220,0.97) 100%);
  --scheme: light;
}

/* DARK — Forest Night */
[data-theme="dark"] {
  --bg: #0C1A0C;
  --bg-1: #0F2010;
  --bg-2: #132814;
  --bg-3: #183219;
  --card: rgba(18,36,18,0.55);
  --card-solid: #132814;

  --text: #F2EBDC;
  --text-soft: #D8CCB5;
  --text-muted: #9AA882;
  --text-faint: #6C7D5A;

  --gold: #CDA468;
  --gold-bright: #E2C99A;
  --gold-deep: #9A7035;
  --olive: #4A9030;           /* brighter forest green for dark bg */
  --olive-deep: #5CAA3C;

  --line: rgba(181,137,79,0.16);
  --line-strong: rgba(181,137,79,0.34);
  --line-faint: rgba(242,235,220,0.07);

  --sh-md: 0 10px 34px rgba(0,0,0,0.48);
  --sh-lg: 0 26px 70px rgba(0,0,0,0.62);
  --glow: 0 0 70px rgba(181,137,79,0.18);

  --ov-hero: linear-gradient(177deg, rgba(12,26,12,0.65) 0%, rgba(12,26,12,0.22) 26%, rgba(12,26,12,0.36) 58%, rgba(12,26,12,0.94) 100%);
  --ov-deep: linear-gradient(180deg, rgba(12,26,12,0.55) 0%, rgba(12,26,12,0.82) 55%, rgba(12,26,12,0.97) 100%);
  --scheme: dark;
}

/* ─── RESET + OVERFLOW GUARDS ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; padding: 0; width: 100%; max-width: 100vw; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern','liga','ss01';
  transition: background-color var(--tb) var(--ease), color var(--tb) var(--ease);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: #1a1305; }

/* Grain */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.65 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─── SCROLL PROGRESS ──────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--olive));
  z-index: 9999; box-shadow: 0 0 12px rgba(217,180,90,0.6);
}

/* ─── LOADER ───────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-6);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark { width: 78px; height: auto; animation: floatPulse 2.6s var(--ease-io) infinite; }
.loader__bar { width: 200px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: loadBar 1.5s var(--ease-io) infinite; }
.loader__text { font-family: var(--font-display); font-style: italic; color: var(--gold); letter-spacing: 0.2em; font-size: 1rem; }
@keyframes floatPulse { 0%,100% { transform: translateY(0) scale(1); opacity: 0.85; } 50% { transform: translateY(-6px) scale(1.04); opacity: 1; } }
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ─── CURSOR ───────────────────────────────────────────────────── */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; border-radius: 50%; transform: translate(-50%,-50%); mix-blend-mode: difference; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; background: var(--gold-bright); transition: width .2s, height .2s; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(217,180,90,0.6); transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s; }
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: var(--gold); background: rgba(217,180,90,0.06); }
.cursor-dot.is-hover { width: 0; height: 0; }
@media (max-width: 1024px), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ─── LAYOUT ───────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-6); }
.container--wide { width: 100%; max-width: var(--maxw-wide); margin-inline: auto; padding-inline: var(--sp-6); }
.section { position: relative; padding-block: clamp(var(--sp-10), 8vw, var(--sp-12)); overflow: hidden; }

/* ─── TYPE ─────────────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; margin: 0; color: var(--text); }
.d-4xl { font-size: var(--t-4xl); } .d-5xl { font-size: var(--t-5xl); } .d-6xl { font-size: var(--t-6xl); }
.eyebrow { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 0; display: inline-flex; align-items: center; gap: var(--sp-3); }
.lead { font-size: var(--t-lg); color: var(--text-soft); line-height: 1.7; }
em { font-style: italic; color: var(--gold); }
p { margin: 0; }

/* Floret divider (echoes real logo mark) */
.floret { display: inline-flex; align-items: center; gap: var(--sp-4); color: var(--gold); }
.floret::before, .floret::after { content: ''; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.floret::after { background: linear-gradient(90deg, var(--gold), transparent); }
.floret svg { width: 22px; height: 22px; }
.floret--center { justify-content: center; }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: var(--sp-5); }
.section-head h2 { margin-bottom: var(--sp-4); }
.section-head .lead { margin-top: var(--sp-4); }

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); padding: 15px 32px; font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--r-full); transition: all var(--tf) var(--ease); position: relative; white-space: nowrap; isolation: isolate; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #1a1305; box-shadow: 0 8px 26px rgba(217,180,90,0.3), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(217,180,90,0.5), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-primary.is-sent { background: linear-gradient(135deg, #2f7a45, #3c9457); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(217,180,90,0.08); }
.btn-light { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(0,0,0,0.2); }
.btn-light:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ─── NAV ──────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: var(--sp-5) var(--sp-7); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); transition: padding var(--tb) var(--ease), background-color var(--tb) var(--ease), backdrop-filter var(--tb); }
.nav.scrolled { padding-block: var(--sp-3); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--line-faint); }
.nav__logo { display: flex; align-items: center; gap: var(--sp-3); }
.nav__logo img { height: 46px; width: auto; transition: height var(--tb) var(--ease); }
.nav.scrolled .nav__logo img { height: 40px; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--text); }
.nav__logo-sub { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav__links { display: flex; gap: var(--sp-7); list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: var(--t-sm); color: var(--text-soft); letter-spacing: 0.03em; position: relative; padding: 6px 2px; transition: color var(--tf); }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav__theme { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-soft); border: 1px solid var(--line); transition: all var(--tf); }
.nav__theme:hover { color: var(--gold); border-color: var(--gold); }
.btn-nav { padding: 10px 24px; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--gold); border-radius: var(--r-full); color: var(--gold); transition: all var(--tf); }
.btn-nav:hover { background: var(--gold); color: #1a1305; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__burger span { width: 24px; height: 1.5px; background: var(--text); transition: all .3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__overlay { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-5); }
.nav__overlay.open { display: flex; }
.nav__overlay a { font-family: var(--font-display); font-size: var(--t-3xl); color: var(--text); }
.nav__overlay a:hover { color: var(--gold); }
@media (max-width: 1024px) {
  .nav { padding-inline: var(--sp-5); }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .btn-nav { display: none; }
}

/* ═════════════════════════════════════════════════════════════════
   HERO
═════════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: clamp(130px, 16vh, 184px) var(--sp-6) var(--sp-8); }
.hero__bgwrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg { position: absolute; inset: -8% -4%; background-size: cover; background-position: center 42%; will-change: transform; animation: kenburns 22s var(--ease-io) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: var(--ov-hero); }
/* drifting mist */
.hero__mist { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background: radial-gradient(120% 60% at 50% 100%, rgba(243,236,220,0.12), transparent 60%);
  animation: mistDrift 16s ease-in-out infinite alternate; }
@keyframes mistDrift { from { transform: translateX(-3%); opacity: 0.35; } to { transform: translateX(3%); opacity: 0.6; } }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: 2; pointer-events: none; }

.hero__content { position: relative; z-index: 5; max-width: 1100px; }
.hero__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 var(--sp-6); opacity: 0; transform: translateY(20px); text-shadow: 0 2px 14px rgba(0,0,0,0.6); display: inline-flex; align-items: center; gap: var(--sp-4); }
.hero__eyebrow::before, .hero__eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--gold); }
.hero__headline { font-size: clamp(3rem, 7.5vw, 7.5rem); font-weight: 500; line-height: 1.0; letter-spacing: -0.02em; color: #fff; margin: 0 0 var(--sp-6); text-shadow: 0 6px 50px rgba(0,0,0,0.6), 0 2px 14px rgba(0,0,0,0.55); }
.hero__headline em { color: var(--gold-bright); font-style: italic; }
.word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word-inner { display: inline-block; transform: translateY(110%); will-change: transform; }
.hero__sub { font-size: var(--t-lg); color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto var(--sp-8); line-height: 1.65; opacity: 0; transform: translateY(20px); text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }
.hero__cta .btn { opacity: 0; transform: translateY(20px); }

/* hero meta bar — pinned bottom on desktop, inline on mobile */
.hero__meta { position: relative; width: min(940px, 100%); z-index: 6; opacity: 0; display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr; align-items: center; gap: var(--sp-5); margin-top: clamp(var(--sp-8), 6vh, var(--sp-10)); padding: var(--sp-5) var(--sp-6); background: rgba(7,20,12,0.55); backdrop-filter: blur(14px) saturate(160%); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.hero__meta-item { text-align: center; }
.hero__meta-num { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 500; color: var(--gold-bright); line-height: 1; }
.hero__meta-label { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: var(--sp-2); }
.hero__meta-div { width: 1px; height: 38px; background: var(--line-strong); justify-self: center; }
@media (max-width: 760px) {
  .hero { min-height: auto; padding: clamp(120px, 20vh, 160px) var(--sp-5) var(--sp-8); }
  .hero__headline { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .hero__meta { width: 100%; max-width: 460px; margin-top: var(--sp-7); grid-template-columns: 1fr 1fr; gap: var(--sp-3); padding: var(--sp-4); opacity: 1; }
  .hero__meta-div { display: none; }
  .hero::after { display: none; }
}

/* ═════════════════════════════════════════════════════════════════
   INTRO / STORY
═════════════════════════════════════════════════════════════════ */
.intro { background: var(--bg); }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-10); align-items: center; }
.intro__visual { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.intro__visual img { width: 100%; height: 100%; object-fit: cover; }
.intro__float { position: absolute; right: -7%; bottom: -7%; width: 46%; aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--sh-lg); }
.intro__float img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge { position: absolute; top: 6%; left: -5%; background: var(--gold); color: #1a1305; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); text-align: center; box-shadow: var(--glow), var(--sh-md); transform: rotate(-4deg); z-index: 2; }
.intro__badge b { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.intro__badge span { display: block; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }
.intro__body p { color: var(--text-soft); margin-bottom: var(--sp-5); }
.intro__quote { margin: var(--sp-7) 0; padding-left: var(--sp-6); border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: var(--t-2xl); font-style: italic; color: var(--text); line-height: 1.4; }
.intro__sign-name { font-family: var(--font-display); font-style: italic; font-size: var(--t-lg); color: var(--text); }
.intro__sign-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; gap: var(--sp-9); }
  .intro__visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .intro__float { right: 0; width: 42%; }
  .intro__badge { left: 0; }
}

/* ═════════════════════════════════════════════════════════════════
   FULL-BLEED FEATURE (infinity pool "edge of the valley")
═════════════════════════════════════════════════════════════════ */
.feature { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.feature__bgwrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.feature__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.feature__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,12,0.35) 0%, rgba(7,20,12,0.25) 45%, rgba(7,20,12,0.9) 100%); }
.feature__content { position: relative; z-index: 2; padding: var(--sp-11) 0; color: #fff; }
.feature__content h2 { color: #fff; max-width: 760px; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.feature__content .lead { color: rgba(255,255,255,0.9); max-width: 580px; margin-top: var(--sp-5); text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.feature .eyebrow { color: var(--gold-bright); margin-bottom: var(--sp-5); }

/* ═════════════════════════════════════════════════════════════════
   VILLA / ROOM CARDS — editorial: image top, solid panel below (readable)
═════════════════════════════════════════════════════════════════ */
.villas { background: var(--bg-1); }
.villas__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); margin-top: var(--sp-9); }
.villa-card { background: var(--card-solid); border: 1px solid var(--line-faint); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--tb) var(--ease), box-shadow var(--tb), border-color var(--tb); display: flex; flex-direction: column; }
.villa-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.villa-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.villa-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.villa-card:hover .villa-card__media img { transform: scale(1.06); }
.villa-card__tag { position: absolute; top: var(--sp-4); left: var(--sp-4); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: #fff; background: rgba(7,20,12,0.55); backdrop-filter: blur(6px); border: 1px solid var(--line-strong); padding: 6px 14px; border-radius: var(--r-full); }
.villa-card__body { padding: var(--sp-6) var(--sp-6) var(--sp-7); display: flex; flex-direction: column; flex: 1; }
.villa-card__name { font-size: var(--t-2xl); margin-bottom: var(--sp-3); }
.villa-card__desc { color: var(--text-muted); font-size: var(--t-sm); line-height: 1.65; margin-bottom: var(--sp-5); }
.villa-card__amenities { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.villa-amenity { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; padding: 5px 12px; background: rgba(217,180,90,0.08); border: 1px solid var(--line); border-radius: var(--r-full); color: var(--text-soft); }
.villa-amenity svg { width: 12px; height: 12px; color: var(--gold); }
.villa-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--line-faint); }
.villa-card__price small { display: block; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }
.villa-card__price b { font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 600; color: var(--text); }
.villa-card__price b span { font-size: 0.5em; color: var(--text-muted); }
.villa-card__cta { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); transition: gap var(--tf); }
.villa-card__cta:hover { gap: 12px; }
@media (max-width: 760px) { .villas__grid { grid-template-columns: 1fr; } }

/* meal plan note */
.mealplans { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); }
.mealplan { padding: var(--sp-5); border: 1px solid var(--line-faint); border-radius: var(--r-md); background: var(--card); }
.mealplan b { font-family: var(--font-display); font-size: var(--t-lg); color: var(--text); }
.mealplan p { font-size: var(--t-xs); color: var(--text-muted); margin-top: var(--sp-1); }
@media (max-width: 760px) { .mealplans { grid-template-columns: 1fr 1fr; } }

/* ═════════════════════════════════════════════════════════════════
   FACILITIES
═════════════════════════════════════════════════════════════════ */
.facilities { background: var(--bg); }
.facilities__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: var(--sp-5); margin-top: var(--sp-9); }
.facility-card { position: relative; background: var(--card); border: 1px solid var(--line-faint); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--tb) var(--ease), box-shadow var(--tb), border-color var(--tb); display: flex; flex-direction: column; }
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.facility-card--hero { grid-column: span 2; grid-row: span 2; }
.facility-card__media { overflow: hidden; flex: 1; min-height: 180px; }
.facility-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.facility-card:hover .facility-card__media img { transform: scale(1.05); }
.facility-card__body { padding: var(--sp-6); }
.facility-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-md); background: rgba(217,180,90,0.1); border: 1px solid var(--line); color: var(--gold); margin-bottom: var(--sp-4); }
.facility-card__icon svg { width: 20px; height: 20px; }
.facility-card__name { font-size: var(--t-xl); margin-bottom: var(--sp-2); }
.facility-card--hero .facility-card__name { font-size: var(--t-2xl); }
.facility-card__desc { color: var(--text-muted); font-size: var(--t-sm); line-height: 1.65; }
@media (max-width: 1024px) { .facilities__grid { grid-template-columns: repeat(2, 1fr); } .facility-card--hero { grid-column: span 2; grid-row: auto; } }
@media (max-width: 620px) { .facilities__grid { grid-template-columns: 1fr; } .facility-card--hero { grid-column: span 1; } .facility-card__media { min-height: 200px; } }

/* ═════════════════════════════════════════════════════════════════
   PACKAGES
═════════════════════════════════════════════════════════════════ */
.packages { background: var(--bg-1); }
.packages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); margin-top: var(--sp-9); }
.pkg-card { background: var(--card-solid); border: 1px solid var(--line-faint); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--tb) var(--ease), box-shadow var(--tb), border-color var(--tb); }
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.pkg-card__media { aspect-ratio: 3/2; overflow: hidden; }
.pkg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pkg-card:hover .pkg-card__media img { transform: scale(1.06); }
.pkg-card__body { padding: var(--sp-6); }
.pkg-card__tag { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.pkg-card__name { font-size: var(--t-xl); margin: var(--sp-3) 0; }
.pkg-card__desc { color: var(--text-muted); font-size: var(--t-sm); line-height: 1.6; margin-bottom: var(--sp-5); }
.pkg-card__link { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); transition: gap var(--tf); }
.pkg-card__link:hover { gap: 12px; }
@media (max-width: 1024px) { .packages__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packages__grid { grid-template-columns: 1fr; } }

/* ═════════════════════════════════════════════════════════════════
   REVIEWS MARQUEE
═════════════════════════════════════════════════════════════════ */
.reviews { background: var(--bg); }
.reviews__rating { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.reviews__stars { color: var(--gold-bright); font-size: 1.3rem; letter-spacing: 0.05em; }
.reviews__rating-text { color: var(--text-muted); font-size: var(--t-sm); }
.marquee { margin-top: var(--sp-9); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-5); width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { flex: 0 0 380px; max-width: 84vw; padding: var(--sp-7); background: var(--card-solid); border: 1px solid var(--line-faint); border-radius: var(--r-lg); }
.review-card__stars { color: var(--gold-bright); margin-bottom: var(--sp-4); letter-spacing: 0.05em; }
.review-card__text { font-family: var(--font-display); font-size: var(--t-lg); font-style: italic; color: var(--text); line-height: 1.5; margin-bottom: var(--sp-5); }
.review-card__author { display: flex; align-items: center; gap: var(--sp-3); }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1305; display: grid; place-items: center; font-weight: 700; }
.review-card__name { font-weight: 500; color: var(--text); font-size: var(--t-sm); }
.review-card__src { color: var(--text-faint); font-size: var(--t-xs); }

/* ═════════════════════════════════════════════════════════════════
   GALLERY
═════════════════════════════════════════════════════════════════ */
.gallery { background: var(--bg-1); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--sp-3); margin-top: var(--sp-9); }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r-md); cursor: pointer; background: var(--bg-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; filter: brightness(0.9) saturate(0.97); }
.gallery__item:hover img { transform: scale(1.07); filter: brightness(1) saturate(1.05); }
.gallery__item-ov { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,20,12,0.4); opacity: 0; transition: opacity 0.4s; color: var(--gold-bright); }
.gallery__item:hover .gallery__item-ov { opacity: 1; }
.gallery__item--xl { grid-column: span 2; grid-row: span 2; }
.gallery__item--w { grid-column: span 2; }
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } .gallery__item--xl, .gallery__item--w { grid-column: span 2; grid-row: auto; } }

.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.96); display: none; align-items: center; justify-content: center; padding: var(--sp-7); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 88%; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center; transition: all var(--tf); }
.lightbox__btn:hover { background: var(--gold); color: #1a1305; }
.lightbox__close { top: var(--sp-7); right: var(--sp-7); }
.lightbox__prev { left: var(--sp-6); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--sp-6); top: 50%; transform: translateY(-50%); }

/* ═════════════════════════════════════════════════════════════════
   CONTACT / CTA
═════════════════════════════════════════════════════════════════ */
.cta { position: relative; padding-block: clamp(var(--sp-11), 12vw, var(--sp-12)); overflow: hidden; text-align: center; }
.cta__bgwrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.cta__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; filter: brightness(0.5) saturate(0.85); will-change: transform; }
.cta::before { content: ''; position: absolute; inset: 0; background: var(--ov-deep); z-index: 1; }
.cta__content { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.cta__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 var(--sp-5); }
.cta__headline { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw + 1rem, 5rem); font-weight: 500; color: #fff; line-height: 1.05; margin: 0 0 var(--sp-5); text-shadow: 0 4px 30px rgba(0,0,0,0.55); }
.cta__sub { color: rgba(255,255,255,0.9); font-size: var(--t-lg); line-height: 1.6; margin: 0 0 var(--sp-8); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.enquiry { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-7); padding: var(--sp-3); background: rgba(7,20,12,0.6); border: 1px solid var(--line-strong); border-radius: var(--r-full); backdrop-filter: blur(14px) saturate(160%); }
.enquiry > * { min-width: 0; }
.enquiry input { background: transparent; border: 0; border-radius: var(--r-full); padding: 14px 20px; font-size: var(--t-sm); color: #fff; outline: none; }
.enquiry input::placeholder { color: rgba(255,255,255,0.55); }
.enquiry input:focus { background: rgba(255,255,255,0.06); }
.enquiry .btn { padding: 14px 26px; font-size: 0.76rem; white-space: nowrap; }
.cta__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .enquiry { grid-template-columns: 1fr; border-radius: var(--r-lg); padding: var(--sp-4); }
  .enquiry input { background: rgba(255,255,255,0.06); }
  .enquiry .btn { width: 100%; padding: 16px; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
}

/* ═════════════════════════════════════════════════════════════════
   FOOTER
═════════════════════════════════════════════════════════════════ */
.footer { background: var(--bg); border-top: 1px solid var(--line-faint); padding-block: var(--sp-10) var(--sp-6); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding-bottom: var(--sp-9); border-bottom: 1px solid var(--line-faint); }
.footer__logo img { height: 52px; width: auto; margin-bottom: var(--sp-4); }
.footer__tagline { font-family: var(--font-display); font-style: italic; color: var(--text-muted); font-size: var(--t-base); margin-bottom: var(--sp-5); line-height: 1.5; }
.footer__contact { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--text-muted); font-size: var(--t-sm); margin-bottom: var(--sp-3); }
.footer__contact svg { color: var(--gold); margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; }
.footer__contact a:hover { color: var(--gold); }
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-muted); transition: all var(--tf); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #1a1305; }
.footer__col-title { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-5); }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links a { display: block; color: var(--text-muted); padding: 6px 0; font-size: var(--t-sm); transition: color var(--tf), padding var(--tf); }
.footer__links a:hover { color: var(--gold); padding-left: 6px; }
.footer__rate { margin-top: var(--sp-6); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.footer__rate small { font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer__rate b { display: block; font-family: var(--font-display); font-size: var(--t-3xl); color: var(--text); margin-top: 4px; }
.footer__rate span { font-size: var(--t-xs); color: var(--text-faint); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-6); font-size: var(--t-xs); color: var(--text-faint); gap: var(--sp-3); }
.footer__bottom a { color: var(--gold); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__bottom { flex-direction: column; text-align: center; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ─── PAGE HEADER (interior pages) ─────────────────────────────── */
.pagehead { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: var(--sp-9); }
.pagehead__bgwrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.pagehead__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; will-change: transform; }
.pagehead__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,12,0.55) 0%, rgba(7,20,12,0.3) 40%, rgba(7,20,12,0.9) 100%); }
.pagehead__content { position: relative; z-index: 2; }
.pagehead__content h1 { font-size: var(--t-6xl); color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.55); }
.pagehead__content .lead { color: rgba(255,255,255,0.88); max-width: 560px; margin-top: var(--sp-4); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.pagehead .eyebrow { color: var(--gold-bright); margin-bottom: var(--sp-4); }
.crumb { font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: var(--sp-5); }
.crumb a:hover { color: var(--gold-bright); }

/* ─── REVEAL UTILITIES ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(44px); }
.reveal-left { opacity: 0; transform: translateX(-44px); }
.reveal-right { opacity: 0; transform: translateX(44px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .word-inner { transform: none; }
  .hero__bg, .hero__mist { animation: none; }
}
