/* ============================================================
   Villa Dudanov — Design System
   Cormorant Garamond (display) + Inter (body)
   ============================================================ */

:root {
  /* Palette — charcoal + cream + warm brass accent */
  --ink: #1c1a16;
  --charcoal: #2a2823;
  --stone: #6f685c;
  --mist: #b7b1a6;
  --cream: #f5f1e9;
  --paper: #fbf8f2;
  --white: #ffffff;
  --gold: #a8854e;
  --gold-deep: #8a6c3c;
  --line: rgba(28, 26, 22, 0.12);
  --line-soft: rgba(28, 26, 22, 0.07);

  /* Spacing scale — 8 / 16 / 24 / 32 / 48 / 64 / 96 / 128 */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;

  --maxw: 1320px;
  --radius: 3px;

  /* Motion — luxury moves slowly */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-slow: 0.8s;
  --t-med: 0.6s;
  --t-fast: 0.4s;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { margin: 0; font-weight: 500; }

p { margin: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: var(--paper); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--s5);
}

.section { padding-block: clamp(var(--s7), 12vw, var(--s8)); }
.section-tight { padding-block: var(--s6); }

/* ---------- Typography ---------- */
.display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  color: var(--ink);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--s3);
}
.eyebrow.light { color: var(--cream); opacity: 0.85; }

.section-head { max-width: 760px; margin-bottom: var(--s7); }
.section-intro {
  margin-top: var(--s4);
  color: var(--stone);
  font-size: 1.15rem;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 1.1rem 2.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--t-med) var(--ease),
              color var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              transform var(--t-med) var(--ease);
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }

.btn-ghost { border-color: rgba(245, 241, 233, 0.5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(245, 241, 233, 0.08); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              height var(--t-med) var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1; color: var(--cream); transition: color var(--t-med) var(--ease); }
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.8;
}

.nav { display: flex; align-items: center; gap: var(--s5); }
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-block: 4px;
  transition: color var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  opacity: 0.85;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta {
  border: 1px solid rgba(245, 241, 233, 0.45);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  opacity: 1;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* Scrolled state */
.site-header.scrolled {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  height: 70px;
}
.site-header.scrolled .brand,
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav .nav-cta { border-color: var(--line); }
.site-header.scrolled .nav .nav-cta:hover { background: var(--ink); color: var(--cream); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--cream); transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.nav-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.mobile-menu a {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(var(--s6), 10vh, 140px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.72) 0%, rgba(20, 18, 15, 0.25) 45%, rgba(20, 18, 15, 0.35) 100%);
}
.hero-content { color: var(--cream); }
/* Legibility halo so type reads against vibrant photography */
.hero-content .eyebrow,
.hero-title,
.hero-lede {
  text-shadow:
    0 1px 1px rgba(16, 14, 10, 0.45),
    0 2px 14px rgba(16, 14, 10, 0.55),
    0 0 2px rgba(16, 14, 10, 0.35);
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero-lede {
  margin-top: var(--s4);
  max-width: 46ch;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(245, 241, 233, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }

.scroll-cue {
  position: absolute;
  bottom: var(--s5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  color: var(--cream);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
.scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--cream), transparent); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; top: -56px; left: 0;
  width: 1px; height: 56px; background: var(--cream);
  animation: scrollDrop 2.4s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { top: -56px; } 60%, 100% { top: 56px; }
}

/* ---------- Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--s5), 8vw, 140px);
  align-items: start;
}
.intro-text .display { margin-top: 0; }
.intro-body { color: var(--stone); display: flex; flex-direction: column; gap: var(--s3); font-size: 1.12rem; padding-top: var(--s2); }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.stat { display: flex; flex-direction: column; gap: var(--s1); text-align: center; }
.stat-num { font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat-label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }

/* ---------- Stay ---------- */
.stay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.stay-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.stay-card--tall { grid-row: span 1; }
.stay-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(28, 26, 22, 0.35); }
.stay-card-media { overflow: hidden; aspect-ratio: 4 / 5; }
.stay-card--tall .stay-card-media { aspect-ratio: 4 / 5; }
.stay-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.stay-card:hover .stay-card-media img { transform: scale(1.05); }
.stay-card-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.stay-card-body h3 { font-family: "Cormorant Garamond", serif; font-size: 1.85rem; font-weight: 500; color: var(--ink); }
.stay-card-body p { color: var(--stone); font-size: 1rem; }
.card-link {
  margin-top: var(--s1);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
}
.card-link::after { content: "→"; transition: transform var(--t-med) var(--ease); }
.stay-card:hover .card-link::after { transform: translateX(6px); }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}
.filter {
  padding: 0.7rem 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--mist); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.gallery-more { display: flex; justify-content: center; margin-top: var(--s5); }
.gallery-more[hidden] { display: none; }
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 3 / 2;
  background: var(--cream);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-med) var(--ease);
}
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 18, 15, 0);
  transition: background var(--t-med) var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { background: rgba(20, 18, 15, 0.12); }
.g-item .g-plus {
  position: absolute;
  bottom: var(--s2); right: var(--s2);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 241, 233, 0.9);
  color: var(--ink);
  border-radius: 50%;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  z-index: 2;
}
.g-item:hover .g-plus { opacity: 1; transform: translateY(0); }

/* Fade-in for filtered items */
.g-item { animation: itemIn var(--t-med) var(--ease) both; }
@keyframes itemIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Lake ---------- */
.lake {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--s8);
}
.lake-media { position: absolute; inset: 0; z-index: -1; }
.lake-media img { width: 100%; height: 100%; object-fit: cover; }
.lake-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(18, 22, 28, 0.7) 0%, rgba(18, 22, 28, 0.35) 60%, rgba(18, 22, 28, 0.2) 100%); }
.lake-content { max-width: 640px; color: var(--cream); }
.lake-lede { margin-top: var(--s4); margin-bottom: var(--s5); font-size: 1.2rem; color: rgba(245, 241, 233, 0.92); }
.display.light { color: var(--cream); }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--s5), 8vw, 120px);
  align-items: start;
}
.contact-intro p { color: var(--stone); margin-top: var(--s3); max-width: 42ch; }
.contact-details {
  list-style: none;
  margin: var(--s6) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.contact-details li { display: grid; grid-template-columns: 90px 1fr; gap: var(--s3); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.cd-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); padding-top: 4px; }
.cd-value { color: var(--ink); }
.cd-value a { transition: color var(--t-med) var(--ease); }
.cd-value a:hover { color: var(--gold-deep); }

.contact-note {
  margin-top: var(--s4);
  color: var(--stone);
  font-size: 0.95rem;
  max-width: 42ch;
}
.note-star { color: var(--gold-deep); font-weight: 500; }

/* ---------- Contact methods (WhatsApp / Email / Call) ---------- */
.contact-methods { display: flex; flex-direction: column; gap: var(--s2); }
.method {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              background var(--t-med) var(--ease);
}
.method:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px rgba(28, 26, 22, 0.45);
  border-color: var(--mist);
}
.method--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.method--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.method-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.method-icon svg { width: 26px; height: 26px; }
.method--primary .method-icon { border-color: rgba(245, 241, 233, 0.3); color: var(--cream); }

.method-text { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.method-label {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.method--primary .method-label { color: rgba(245, 241, 233, 0.75); }
.method-value { font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; }
.method--primary .method-value { color: var(--cream); }
.method-tag {
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
  background: var(--gold); color: var(--ink);
}
.method-arrow { flex: 0 0 auto; opacity: 0.45; transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease); }
.method:hover .method-arrow { transform: translateX(6px); opacity: 1; }

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); }
.reviews-head { margin-bottom: var(--s6); }

/* Big average-score banner */
.score-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s3);
  padding: clamp(var(--s5), 6vw, var(--s7)) var(--s4);
  margin-bottom: var(--s6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
.score-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px -38px rgba(28, 26, 22, 0.5);
  border-color: var(--mist);
}
.score-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--s2);
  line-height: 0.85;
}
.score-num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(5.5rem, 20vw, 13rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.score-den {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: var(--stone);
}
.score-info { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.score-source {
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #003b95;
}
.score-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--s3);
}
.review {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -34px rgba(28, 26, 22, 0.5);
  border-color: var(--mist);
}
.review-top {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.review-score {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.review-score span {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--stone);
}
.review-source {
  margin-left: auto;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.review-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: var(--s3);
}
.review-body { color: var(--stone); font-size: 1rem; line-height: 1.7; }
.review-meta {
  margin-top: auto;
  padding-top: var(--s4);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-name { color: var(--ink); font-size: 1.05rem; }
.review-detail { font-size: 0.78rem; color: var(--stone); }
.reviews-cta { margin-top: var(--s6); display: flex; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: var(--s7) var(--s5); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s5); align-items: start; }
.footer-brand .brand-name { font-size: 2rem; }
.footer-brand p { margin-top: var(--s2); color: rgba(245, 241, 233, 0.6); max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: var(--s2); justify-self: end; }
.footer-nav a { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 241, 233, 0.7); transition: color var(--t-med) var(--ease); }
.footer-nav a:hover { color: var(--cream); }
.footer-fine { grid-column: 1 / -1; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(245, 241, 233, 0.12); font-size: 0.8rem; color: rgba(245, 241, 233, 0.45); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 15, 12, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
  padding: var(--s5);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.lb-figure img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  transform: scale(0.97);
  transition: transform var(--t-med) var(--ease);
}
.lightbox.open .lb-figure img { transform: scale(1); }
.lb-figure img.is-loading { filter: blur(12px); transition: filter var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.lb-figure img:not(.is-loading) { filter: blur(0); transition: filter 280ms var(--ease), transform var(--t-med) var(--ease); }
.lb-figure figcaption { color: rgba(245, 241, 233, 0.7); font-size: 0.85rem; letter-spacing: 0.08em; }
.lb-close, .lb-nav {
  position: absolute;
  color: var(--cream);
  background: rgba(245, 241, 233, 0.08);
  border: 1px solid rgba(245, 241, 233, 0.2);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1;
  transition: background var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(245, 241, 233, 0.2); }
.lb-close { top: var(--s4); right: var(--s4); }
.lb-prev { left: var(--s4); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--s4); top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .stay-grid { grid-template-columns: repeat(2, 1fr); }
  .stay-card--tall { grid-column: span 2; }
  .stay-card--tall .stay-card-media { aspect-ratio: 16 / 9; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s6); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .container { padding-inline: var(--s3); }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .scroll-cue { display: none; }
  .stay-grid { grid-template-columns: 1fr; }
  .stay-card--tall { grid-column: span 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .stats-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .stat { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--s4); }
  .footer-nav { justify-self: start; flex-direction: row; flex-wrap: wrap; gap: var(--s3); }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: var(--s2); }
  .lb-next { right: var(--s2); }
  .contact-details li { grid-template-columns: 1fr; gap: var(--s1); }
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
