/* Experience refinement: vivid calm, complete imagery, and a clear booking story. */
:root {
  --ink: #153b34;
  --muted: #5f746e;
  --paper: #f8fcfa;
  --mist: #e7f3ef;
  --forest: #236b58;
  --deep-forest: #123f35;
  --ocean: #2c8190;
  --gold: #d6a94b;
  --coral: #d4775f;
  --line: rgba(21, 59, 52, 0.15);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
}

html { scroll-padding-top: 92px; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
}
body * { letter-spacing: 0 !important; }
main#main { background: transparent; }
.three-showcase,
.motion-gallery,
.bird-flight-section { display: none !important; }

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
}
.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--deep-forest);
  background: rgba(248, 252, 250, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 32px rgba(18, 63, 53, 0.08);
}
.brand-mark { background: var(--coral); color: #fff; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; }
.desktop-nav a { font-size: 0.76rem; font-weight: 700; }
.header-cta { background: var(--forest); border-color: var(--forest); color: #fff; }

.hero { background: #dcece8; }
.hero .hero-brand-lockup {
  width: min(920px, 94vw);
  margin-inline: auto;
}
.hero .hero-brand-lockup h1 {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  line-height: 0.88 !important;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(5, 24, 20, 0.55);
}
.hero .hero-brand-lockup h1 span {
  letter-spacing: 0 !important;
  text-transform: uppercase;
}
.hero .hero-brand-lockup p {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0 !important;
}
.hero-copy { max-width: 710px; font-weight: 500; }
.hero-actions a:first-child { background: var(--coral); border-color: var(--coral); }
.hero-actions a:last-child { border-color: rgba(255, 255, 255, 0.65); }

.proof-band {
  color: #fff;
  background: linear-gradient(100deg, var(--deep-forest), var(--forest) 52%, var(--ocean));
}
.proof-band strong { font-family: var(--font-display); color: #fff; }

.section-kicker {
  color: var(--coral);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}
.section-heading h2,
.split-layout h2 {
  color: var(--deep-forest);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}
.section-heading h2 { max-width: 940px; }

.intro {
  background: linear-gradient(120deg, rgba(248, 252, 250, 0.98), rgba(231, 243, 239, 0.96));
}
.intro .split-layout { align-items: center; }
.intro-copy { color: #405d55; font-size: 1.02rem; }
.text-link { color: var(--forest); font-weight: 700; }

.villas-section {
  order: 40 !important;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(241, 249, 246, 0.98), rgba(255, 255, 255, 0.98)),
    url("./assets/gallery/our-mountain/original/03-tropical-garden-path.jpg") center / cover fixed;
}
.villas-section .section-heading { max-width: 1100px; margin-bottom: clamp(2rem, 4vw, 3.8rem); }
.villa-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.7rem);
}
.villa-card,
.villa-card[data-property-card] {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  overflow: hidden !important;
  border: 1px solid rgba(35, 107, 88, 0.18) !important;
  border-radius: 8px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 18px 44px rgba(18, 63, 53, 0.1) !important;
  transform: none !important;
}
.villa-card:hover { box-shadow: 0 24px 58px rgba(18, 63, 53, 0.16) !important; }

.property-window {
  position: relative;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #dcece7, #edf7f4 45%, #f4ead9);
}
.property-window-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  perspective: 1200px;
}
.property-window-slide {
  position: absolute !important;
  inset: 0 !important;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(2%) rotateY(-5deg) scale(0.985);
  transform-origin: center;
  transition: opacity 700ms ease, transform 800ms cubic-bezier(.2,.7,.2,1), visibility 700ms;
}
.property-window-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.property-window-slide img,
.villa-card .property-window-slide img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  background: transparent !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}
.property-window-controls {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: 48px;
  padding: 4px 8px;
  color: var(--deep-forest);
  background: rgba(238, 247, 244, 0.98);
  border-top: 1px solid rgba(35, 107, 88, 0.12);
}
.property-window-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--deep-forest);
  background: transparent;
  cursor: pointer;
}
.property-window-controls button:hover,
.property-window-controls button:focus-visible { color: #fff; background: var(--forest); }
.property-window-controls svg { width: 18px; height: 18px; }
.property-window-controls > span { justify-self: center; font-size: 0.76rem; font-weight: 700; }

.villa-card-content,
.villa-card[data-property-card] .villa-card-content {
  position: static !important;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2.2vw, 1.8rem) !important;
  color: var(--ink) !important;
  background: transparent !important;
}
.villa-card-content > span { color: var(--coral) !important; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.villa-card-content h3 { color: var(--deep-forest); font-family: var(--font-display); font-size: clamp(1.7rem, 2.2vw, 2.3rem); font-weight: 500; }
.villa-card-content p { color: #4c625c !important; line-height: 1.7; }
.stay-facts { margin-top: auto; border-top: 1px solid var(--line); }
.stay-facts strong { color: var(--forest); }
.villa-card-content > a {
  align-self: flex-start;
  margin-top: 1.1rem;
  color: #fff !important;
  background: var(--forest) !important;
  border-color: var(--forest) !important;
}
.villa-card-content > a:hover { background: var(--coral) !important; border-color: var(--coral) !important; }

.day-journey {
  order: 50 !important;
  isolation: isolate;
  color: var(--ink);
  background: linear-gradient(135deg, #f9fcfb 0%, #e5f3ef 48%, #fff3dc 100%) !important;
}
.day-journey::before,
.day-journey::after { display: none !important; }
.day-journey .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 1rem 3rem;
  align-items: end;
  max-width: 1180px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.day-journey .section-kicker { grid-column: 1 / -1; }
.day-journey-intro { margin: 0 0 0.3rem; color: #506b63; line-height: 1.7; }
.light-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(1rem, 2.5vw, 2rem);
  width: min(100%, 1240px);
  margin-inline: auto;
  align-items: stretch;
}
.light-story-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(35, 107, 88, 0.16);
  border-radius: 8px;
  background: #dcece7;
  box-shadow: 0 24px 58px rgba(18, 63, 53, 0.14);
}
.light-story-slide {
  position: absolute;
  isolation: isolate;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(2%) scale(0.99);
  transition: opacity 850ms ease, transform 950ms cubic-bezier(.2,.7,.2,1), visibility 850ms;
}
.light-story-slide::before {
  content: "";
  position: absolute;
  inset: -24px -24px 74px;
  z-index: 0;
  background: linear-gradient(rgba(231, 243, 239, 0.68), rgba(231, 243, 239, 0.68)), var(--scene-image) center / cover no-repeat;
  filter: blur(14px) saturate(0.78);
  transform: scale(1.08);
}
.light-story-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transform: none; }
.light-story-slide img {
  position: relative !important;
  z-index: 1;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}
.light-story-slide figcaption {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1.25rem;
  align-items: center;
  min-height: 74px;
  padding: 0.9rem 1.2rem;
  color: var(--deep-forest);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}
.light-story-slide figcaption span { color: var(--coral); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.light-story-slide figcaption strong { font-family: var(--font-display); font-size: clamp(1rem, 1.45vw, 1.35rem); font-weight: 500; }
.light-story-nav {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 0.65rem;
}
.light-story-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0.85rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(35, 107, 88, 0.17);
  border-radius: 7px;
  color: var(--deep-forest);
  text-align: left;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}
.light-story-nav button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 240ms ease;
}
.light-story-nav button:hover { transform: translateX(3px); background: #fff; }
.light-story-nav button.is-active { color: #fff; background: var(--deep-forest); }
.light-story-nav button.is-active::before { transform: scaleY(1); }
.light-story-nav span { font-size: 0.72rem; opacity: 0.72; }
.light-story-nav strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }

.house-gallery { order: 60 !important; background: #f8fcfa !important; }
.house-gallery .section-heading { max-width: 980px; }
.gallery-tabs { border-bottom-color: var(--line); }
.gallery-tab { color: #557068; }
.gallery-tab.is-active { color: var(--deep-forest); border-color: var(--coral); }
.gallery-showcase { align-items: start; }
.gallery-feature,
.gallery-photo { background: linear-gradient(135deg, var(--mist), #fff) !important; }
.gallery-feature img,
.gallery-photo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}
.gallery-photo-grid { align-items: start; gap: clamp(0.75rem, 1.4vw, 1.2rem) !important; }
.gallery-photo { border: 1px solid rgba(35, 107, 88, 0.12) !important; border-radius: 6px !important; overflow: hidden !important; }
.gallery-photo span { color: #fff; background: rgba(18, 63, 53, 0.78); }

body[data-atmosphere="sunset"] .villas-section,
body[data-atmosphere="sunset"] .day-journey,
body[data-atmosphere="sunset"] .house-gallery {
  color: var(--ink) !important;
  background: linear-gradient(135deg, #fffaf0, #ecf5ee 62%, #fde7d9) !important;
}
body[data-atmosphere="night"] .villas-section,
body[data-atmosphere="night"] .day-journey,
body[data-atmosphere="night"] .house-gallery {
  color: #eef8f4 !important;
  background: linear-gradient(135deg, #123f35, #185a50 55%, #2d6970) !important;
}
body[data-atmosphere="night"] .day-journey h2,
body[data-atmosphere="night"] .day-journey .day-journey-intro,
body[data-atmosphere="night"] .house-gallery h2,
body[data-atmosphere="night"] .house-gallery .section-kicker { color: #eef8f4 !important; }
body[data-atmosphere="night"] .light-story-nav button:not(.is-active) { color: #eef8f4; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }

@media (max-width: 1050px) {
  .villa-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
  .property-window-stage { aspect-ratio: 16 / 10; }
  .light-story { grid-template-columns: 1fr; }
  .light-story-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; }
  .light-story-nav button { grid-template-columns: 1fr; gap: 0.2rem; text-align: center; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .hero .hero-brand-lockup { width: min(94vw, 600px); }
  .hero .hero-brand-lockup h1 { line-height: 0.94 !important; }
  .day-journey .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .day-journey .section-kicker { grid-column: auto; }
  .light-story-stage { aspect-ratio: auto; min-height: min(74vh, 660px); }
  .light-story-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .light-story-nav button { min-height: 58px; }
  .light-story-slide figcaption { grid-template-columns: 1fr; gap: 0.2rem; min-height: 92px; }
}

@media (max-width: 480px) {
  .property-window-stage { aspect-ratio: 7 / 5; }
  .light-story-stage { min-height: 490px; }
  .light-story-nav strong { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .property-window-slide,
  .light-story-slide,
  .light-story-nav button { transition: none !important; }
}