/* Boutique explorer: image-led, readable, and intentionally compact. */
:root {
  --boutique-paper: #f7fbf8;
  --boutique-mist: #e9f3ef;
  --boutique-forest: #123f36;
  --boutique-ink: #173832;
  --boutique-muted: #536c65;
  --boutique-coral: #c7653f;
  --boutique-line: rgba(23, 56, 50, 0.16);
  --hero-title-color: #fff7df;
  --hero-title-shadow: rgba(4, 34, 29, 0.92);
}

body[data-atmosphere="sunset"] {
  --boutique-paper: #fff9f3;
  --boutique-mist: #f3e9e0;
  --boutique-forest: #3d5145;
  --boutique-ink: #332e29;
  --boutique-muted: #665b53;
  --boutique-coral: #a94f31;
  --hero-title-color: #fff1d2;
  --hero-title-shadow: rgba(47, 23, 14, 0.92);
}

body[data-atmosphere="night"] {
  --boutique-paper: #f4faf9;
  --boutique-mist: #e2edef;
  --boutique-forest: #174d49;
  --boutique-ink: #16343a;
  --boutique-muted: #50676d;
  --boutique-coral: #9a5939;
  --hero-title-color: #eefcff;
  --hero-title-shadow: rgba(3, 24, 31, 0.96);
}

/* A legible, gently moving signature over the hero photograph. */
.hero .hero-brand-lockup h1 {
  color: var(--hero-title-color) !important;
  text-shadow:
    0 2px 2px var(--hero-title-shadow),
    0 8px 28px var(--hero-title-shadow),
    0 0 1px rgba(255, 255, 255, 0.95) !important;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.5);
  animation: hero-title-breathe 7.5s ease-in-out infinite;
  will-change: transform, filter;
}

.hero .hero-brand-lockup h1 span {
  color: inherit !important;
  display: inline-block;
  animation: hero-word-float 5.8s ease-in-out infinite;
}

.hero .hero-brand-lockup h1 span:nth-child(2) {
  animation-delay: -1.8s;
}

.hero .hero-brand-lockup h1 span:nth-child(3) {
  animation-delay: -3.6s;
}

@keyframes hero-title-breathe {
  0%, 100% { transform: translate3d(0, 0, 0); filter: brightness(1); }
  50% { transform: translate3d(0, -5px, 0); filter: brightness(1.09); }
}

@keyframes hero-word-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -3px, 0); }
}

body[data-atmosphere] main {
  color: var(--boutique-ink) !important;
}

body[data-atmosphere] main > .section-pad {
  color: var(--boutique-ink) !important;
}

/* Keep the experience focused: these stories repeat content already shown elsewhere. */
.bird-flight-section,
.experience,
.global-film,
.trust {
  display: none !important;
}

.site-header .desktop-nav {
  gap: clamp(16px, 2vw, 32px) !important;
}

.villas-section,
body[data-atmosphere] .villas-section {
  padding-block: clamp(78px, 9vw, 126px) !important;
  background: var(--boutique-paper) !important;
}

.villas-section > .section-heading,
.villas-section > .stay-selector,
.villas-section > .villa-grid {
  width: min(1440px, calc(100% - 64px)) !important;
}

.villas-section .section-heading h2 {
  max-width: 850px !important;
  color: var(--boutique-ink) !important;
  font-size: clamp(2.35rem, 4.8vw, 5.15rem) !important;
  line-height: 0.98 !important;
}

.stay-selector {
  border: 0 !important;
  border-top: 1px solid var(--boutique-line) !important;
  border-bottom: 1px solid var(--boutique-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.stay-selector-button,
body[data-atmosphere] .stay-selector-button {
  min-height: 94px !important;
  border-color: var(--boutique-line) !important;
  color: var(--boutique-muted) !important;
}

.stay-selector-button.is-active,
.stay-selector-button[aria-selected="true"] {
  background: var(--boutique-forest) !important;
}

.villas-section .villa-card,
.villas-section .villa-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr) !important;
  gap: clamp(48px, 7vw, 108px) !important;
  align-items: center !important;
}

.villas-section .property-window {
  padding-bottom: 56px !important;
  perspective: 1800px !important;
}

.villas-section .property-window-stage {
  aspect-ratio: 16 / 10 !important;
  overflow: visible !important;
  transform-style: preserve-3d !important;
}

/* Retire the older canvas carousel so it cannot duplicate or crop photographs. */
.villas-section .stay-orbit-canvas {
  display: none !important;
}

.villas-section .property-window-stage.is-stay-orbit-ready > .property-window-slide {
  display: grid !important;
}

.villas-section .property-window-stage.is-stay-orbit-ready > .property-window-slide {
  visibility: hidden !important;
  opacity: 0 !important;
}

.villas-section .property-window-stage.is-stay-orbit-ready > .property-window-slide.is-active {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2 !important;
}

.villas-section .property-window-slide {
  transform: translate3d(8%, 0, -100px) rotateY(22deg) scale(0.94) !important;
  transition: opacity 520ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1), visibility 520ms ease !important;
}

.villas-section .property-window-slide.is-active {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2 !important;
  transform: translate3d(0, 0, 0) rotateY(var(--stay-tilt-y, 0deg)) rotateX(var(--stay-tilt-x, 0deg)) scale(1) !important;
}

.villas-section .property-window-slide img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: 0 30px 80px rgba(22, 61, 52, 0.17) !important;
}

.villas-section .villa-card-content {
  padding: 12px 0 12px clamp(30px, 4vw, 60px) !important;
  border-left: 1px solid var(--boutique-line) !important;
}

.villas-section .villa-card-content h3 {
  color: var(--boutique-ink) !important;
  font-size: clamp(3rem, 5vw, 5.4rem) !important;
}

.villas-section .villa-card-content > p {
  color: var(--boutique-muted) !important;
  line-height: 1.72 !important;
}

.villas-section .stay-facts > * {
  border: 0 !important;
  border-bottom: 1px solid var(--boutique-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--boutique-ink) !important;
}

.stay-gallery-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-left: 10px;
  padding: 10px 15px;
  border: 1px solid var(--boutique-line);
  border-radius: 4px;
  background: transparent;
  color: var(--boutique-ink);
  font: 700 0.78rem/1 var(--font-sans, Arial, sans-serif);
  cursor: pointer;
}

.stay-gallery-trigger svg {
  width: 17px;
  height: 17px;
}

.stay-gallery-trigger:hover,
.stay-gallery-trigger:focus-visible {
  border-color: var(--boutique-forest);
  background: var(--boutique-forest);
  color: #fff;
}

/* The complete gallery is now a window, not another long page section. */
.house-gallery {
  display: none !important;
}

.house-gallery.is-gallery-window-open {
  position: fixed !important;
  z-index: 190 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100dvh !important;
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 76px) 54px !important;
  overflow: auto !important;
  background: rgba(244, 250, 247, 0.985) !important;
  color: var(--boutique-ink) !important;
  animation: boutique-window-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gallery-window-close {
  position: fixed;
  z-index: 195;
  top: 22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(18, 63, 54, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--boutique-ink);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(17, 54, 47, 0.14);
}

.house-gallery.is-gallery-window-open .gallery-panels {
  perspective: 1600px !important;
}

.house-gallery.is-gallery-window-open .gallery-photo,
.house-gallery.is-gallery-window-open .gallery-feature {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform-style: preserve-3d;
  transition: transform 360ms ease, filter 360ms ease !important;
}

.house-gallery.is-gallery-window-open .gallery-photo:hover,
.house-gallery.is-gallery-window-open .gallery-feature:hover {
  z-index: 3;
  transform: translate3d(0, -7px, 34px) rotateX(1.5deg) !important;
  filter: drop-shadow(0 22px 25px rgba(18, 56, 48, 0.16));
}

.house-gallery.is-gallery-window-open img {
  object-fit: contain !important;
  background: transparent !important;
}

body.has-gallery-window {
  overflow: hidden !important;
}

.day-journey {
  padding-block: clamp(72px, 8vw, 108px) !important;
}

.day-journey .light-story {
  max-width: 1380px !important;
  margin-inline: auto !important;
}

@keyframes boutique-window-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .villas-section .villa-card,
  .villas-section .villa-card:nth-child(even) {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .villas-section .villa-card-content {
    padding: 30px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--boutique-line) !important;
  }
}

@media (max-width: 700px) {
  .villas-section,
  body[data-atmosphere] .villas-section {
    padding-block: 48px 64px !important;
  }

  .villas-section > .section-heading,
  .villas-section > .stay-selector,
  .villas-section > .villa-grid {
    width: min(100% - 28px, 1440px) !important;
  }

  .stay-selector-button {
    min-height: 74px !important;
  }

  .villas-section .property-window-stage {
    aspect-ratio: 4 / 3 !important;
  }

  .stay-gallery-trigger {
    margin: 10px 0 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-brand-lockup h1,
  .hero .hero-brand-lockup h1 span,
  .villas-section .property-window-slide,
  .house-gallery.is-gallery-window-open,
  .house-gallery.is-gallery-window-open .gallery-photo,
  .house-gallery.is-gallery-window-open .gallery-feature {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Subtle property landscape visible throughout the experience. */
body[data-atmosphere] {
  background-color: #eaf4ee !important;
  background-image:
    linear-gradient(rgba(234, 246, 239, 0.36), rgba(225, 241, 235, 0.42)),
    url("./assets/mountain-retreat-pool-view.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

body[data-atmosphere]::before {
  display: none !important;
}

body[data-atmosphere] .ambient-page-tint {
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-atmosphere] main > .intro,
body[data-atmosphere] main > .villas-section,
body[data-atmosphere] main > .concierge,
body[data-atmosphere] main > .guest-voice,
body[data-atmosphere] main > .pay {
  background: rgba(249, 253, 250, 0.6) !important;
}

body[data-atmosphere] main > .media-experience,
body[data-atmosphere] main > .property-details,
body[data-atmosphere="sunset"] main > .media-experience,
body[data-atmosphere="sunset"] main > .property-details,
body[data-atmosphere="night"] main > .media-experience,
body[data-atmosphere="night"] main > .property-details {
  background: rgba(225, 243, 235, 0.6) !important;
}

body[data-atmosphere] main > .day-journey,
body[data-atmosphere] main > .channels,
body[data-atmosphere] main > .booking,
body[data-atmosphere="sunset"] main > .day-journey,
body[data-atmosphere="sunset"] main > .channels,
body[data-atmosphere="sunset"] main > .booking,
body[data-atmosphere="night"] main > .day-journey,
body[data-atmosphere="night"] main > .channels,
body[data-atmosphere="night"] main > .booking {
  background: rgba(224, 241, 243, 0.6) !important;
}

body[data-atmosphere] main > .amenities {
  background: rgba(247, 247, 231, 0.62) !important;
}

/* Panoramic wallpaper is applied directly so every section reveals the view. */
body[data-atmosphere] main > .intro,
body[data-atmosphere] main > .villas-section,
body[data-atmosphere] main > .concierge,
body[data-atmosphere] main > .guest-voice,
body[data-atmosphere] main > .pay {
  background-image: linear-gradient(rgba(249, 253, 250, 0.78), rgba(249, 253, 250, 0.78)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .media-experience,
body[data-atmosphere] main > .property-details {
  background-image: linear-gradient(rgba(225, 243, 235, 0.76), rgba(225, 243, 235, 0.76)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .day-journey,
body[data-atmosphere] main > .channels,
body[data-atmosphere] main > .booking {
  background-image: linear-gradient(rgba(224, 241, 243, 0.76), rgba(224, 241, 243, 0.76)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .amenities {
  background-image: linear-gradient(rgba(247, 247, 231, 0.8), rgba(247, 247, 231, 0.8)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .section-pad {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

@media (max-width: 700px) {
  body[data-atmosphere] main > .section-pad {
    background-attachment: scroll !important;
    background-position: 58% center !important;
  }
}

/* Floating stay photography: the landscape remains visible and no image is boxed. */
body[data-atmosphere] main > .villas-section {
  background-color: transparent !important;
  background-image:
    linear-gradient(rgba(238, 249, 243, 0.66), rgba(238, 249, 243, 0.66)),
    url("./assets/mountain-retreat-pool-view.webp") !important;
}

.villas-section .villas-grid,
.villas-section .villa-card,
.villas-section .villa-card:nth-child(even),
.villas-section .property-window,
.villas-section .property-window-stage,
.villas-section .property-window-slide,
.villas-section .villa-card-content {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.villas-section .villa-card,
.villas-section .villa-card:nth-child(even) {
  padding: clamp(22px, 3vw, 46px) 0 !important;
  border: 0 !important;
  overflow: visible !important;
}

.villas-section .property-window {
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
  filter: none !important;
}

.villas-section .property-window::before,
.villas-section .property-window::after,
.villas-section .property-window-stage::before,
.villas-section .property-window-stage::after,
.villas-section .property-window-slide::before,
.villas-section .property-window-slide::after {
  display: none !important;
  content: none !important;
}

.villas-section .property-window-stage {
  aspect-ratio: var(--stay-photo-ratio, 4 / 3) !important;
  overflow: visible !important;
  border: 0 !important;
  transition: aspect-ratio 620ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.villas-section .property-window-slide {
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
  border: 0 !important;
}

body[data-atmosphere] .villas-section .property-window-slide img,
body[data-atmosphere] .villas-section .property-window-slide.is-active img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 25px 24px rgba(9, 48, 37, 0.24)) saturate(1.12) contrast(1.025) !important;
  animation: none !important;
}

.villas-section .property-window-controls {
  position: relative !important;
  z-index: 8 !important;
  width: 150px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  color: var(--boutique-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.villas-section .property-window-controls button {
  color: #ffffff !important;
  background: rgba(20, 79, 62, 0.92) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 22px rgba(8, 45, 34, 0.18) !important;
}

.villas-section .villa-card-content {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.villas-section .villa-card-content::before,
.villas-section .villa-card-content::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 980px) {
  .villas-section .villa-card,
  .villas-section .villa-card:nth-child(even) {
    gap: 28px !important;
  }

  .villas-section .villa-card-content {
    padding: 28px 0 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }
}

/* Editorial bridge between the introduction and the four moments of the day. */
.day-journey-mantra {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto clamp(24px, 3.2vw, 44px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #174b3d !important;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

body[data-atmosphere="sunset"] .day-journey-mantra,
body[data-atmosphere="night"] .day-journey-mantra {
  color: #f7fff9 !important;
  -webkit-text-fill-color: #f7fff9 !important;
  text-shadow: 0 2px 18px rgba(5, 28, 23, 0.56) !important;
}

@media (max-width: 720px) {
  .day-journey-mantra {
    width: min(100% - 32px, 1380px);
    margin-bottom: 24px;
    font-size: clamp(1.18rem, 6vw, 1.55rem);
  }
}

/* Floating day journey: panoramic photography without cards or white frames. */
body[data-atmosphere] .day-journey .light-story {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(18px, 2.4vw, 30px) !important;
  width: min(100%, 1380px) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-atmosphere] .day-journey .light-story-stage {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[data-atmosphere] .day-journey .light-story-slide {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[data-atmosphere] .day-journey .light-story-slide::before {
  display: none !important;
}

body[data-atmosphere] .day-journey .light-story-slide::after {
  position: absolute !important;
  inset: auto 0 0 !important;
  z-index: 1 !important;
  display: block !important;
  height: 38% !important;
  content: "" !important;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 32, 25, 0.68), rgba(5, 32, 25, 0)) !important;
}

body[data-atmosphere] .day-journey .light-story-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[data-atmosphere] .day-journey .light-story-slide figcaption {
  position: absolute !important;
  right: clamp(22px, 4vw, 64px) !important;
  bottom: clamp(20px, 3.5vw, 52px) !important;
  left: clamp(22px, 4vw, 64px) !important;
  z-index: 2 !important;
  display: flex !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 24px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75) !important;
}

body[data-atmosphere] .day-journey .light-story-slide figcaption span,
body[data-atmosphere] .day-journey .light-story-slide figcaption strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body[data-atmosphere][data-atmosphere] main .day-journey .light-story-slide figcaption,
body[data-atmosphere][data-atmosphere] main .day-journey .light-story-slide figcaption * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body[data-atmosphere] .day-journey .light-story-slide figcaption span {
  flex: 0 0 auto;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
}

body[data-atmosphere] .day-journey .light-story-slide figcaption strong {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.55rem) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: right;
}

body[data-atmosphere] .day-journey .light-story-nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  gap: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(20, 76, 62, 0.26) !important;
  box-shadow: none !important;
}

body[data-atmosphere] .day-journey .light-story-nav button,
body[data-atmosphere="sunset"] .day-journey .light-story-nav button,
body[data-atmosphere="night"] .day-journey .light-story-nav button {
  position: relative !important;
  display: grid !important;
  min-height: 68px !important;
  padding: 12px 10px 16px !important;
  place-items: center !important;
  gap: 2px !important;
  color: #123f34 !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-atmosphere] .day-journey .light-story-nav button::before {
  position: absolute !important;
  inset: auto 0 -1px !important;
  width: auto !important;
  height: 3px !important;
  content: "" !important;
  background: var(--boutique-leaf) !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 360ms ease !important;
}

body[data-atmosphere] .day-journey .light-story-nav button:is(:hover, :focus-visible)::before,
body[data-atmosphere] .day-journey .light-story-nav button.is-active::before,
body[data-atmosphere] .day-journey .light-story-nav button[aria-selected="true"]::before {
  transform: scaleX(1) !important;
}

body[data-atmosphere] .day-journey .light-story-nav button.is-active,
body[data-atmosphere] .day-journey .light-story-nav button[aria-selected="true"] {
  color: #0a5f4a !important;
  background: transparent !important;
}

body[data-atmosphere] .day-journey .light-story-nav button span,
body[data-atmosphere] .day-journey .light-story-nav button strong {
  color: inherit !important;
}

@media (max-width: 700px) {
  body[data-atmosphere] .day-journey .light-story-stage {
    aspect-ratio: 4 / 3 !important;
  }

  body[data-atmosphere] .day-journey .light-story-slide figcaption {
    right: 18px !important;
    bottom: 18px !important;
    left: 18px !important;
    display: grid !important;
    gap: 5px !important;
  }

  body[data-atmosphere] .day-journey .light-story-slide figcaption strong {
    font-size: 1rem !important;
    text-align: left;
  }

  body[data-atmosphere] .day-journey .light-story-nav button {
    min-height: 60px !important;
    padding-inline: 4px !important;
  }

  body[data-atmosphere] .day-journey .light-story-nav button strong {
    font-size: 0.86rem !important;
  }
}

/* Forest-and-views background collection supplied by the property. */
body[data-atmosphere] {
  background-color: #e7f1ec !important;
  background-image:
    linear-gradient(rgba(235, 246, 240, 0.76), rgba(235, 246, 240, 0.76)),
    url("./assets/background-rainbow-valley.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

body[data-atmosphere] main > :is(
  .intro,
  .villas-section,
  .house-gallery,
  .property-details,
  .concierge,
  .guest-voice,
  .booking,
  .pay
) {
  background-image:
    linear-gradient(rgba(246, 252, 248, 0.8), rgba(238, 249, 243, 0.8)),
    url("./assets/background-rainbow-valley.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
}

body[data-atmosphere] main > :is(
  .media-experience,
  .bird-flight-section,
  .experience,
  .global-film
) {
  background-image:
    linear-gradient(rgba(224, 242, 234, 0.82), rgba(236, 248, 241, 0.82)),
    url("./assets/background-toucan.jpg"),
    url("./assets/background-rainbow-valley.webp") !important;
  background-position: center center, 92% 72%, center center !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-size: auto, min(30vw, 410px) auto, cover !important;
}

body[data-atmosphere] main > :is(
  .day-journey,
  .amenities,
  .trust,
  .channels
) {
  background-image:
    linear-gradient(rgba(239, 247, 229, 0.83), rgba(231, 244, 237, 0.83)),
    url("./assets/background-cattle.jpg"),
    url("./assets/background-rainbow-valley.webp") !important;
  background-position: center center, 8% 76%, center center !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-size: auto, min(28vw, 380px) auto, cover !important;
}

body[data-atmosphere="sunset"] main > .section-pad {
  background-color: rgba(247, 241, 229, 0.7) !important;
}

body[data-atmosphere="night"] main > .section-pad {
  background-color: rgba(224, 239, 235, 0.74) !important;
}

@media (max-width: 700px) {
  body[data-atmosphere] {
    background-attachment: scroll !important;
  }

  body[data-atmosphere] main > :is(
    .media-experience,
    .bird-flight-section,
    .experience,
    .global-film
  ) {
    background-position: center center, 94% 88%, 54% center !important;
    background-size: auto, 46vw auto, cover !important;
  }

  body[data-atmosphere] main > :is(
    .day-journey,
    .amenities,
    .trust,
    .channels
  ) {
    background-position: center center, 6% 90%, 54% center !important;
    background-size: auto, 44vw auto, cover !important;
  }
}

body[data-atmosphere] main > .intro,
body[data-atmosphere] main > .villas-section,
body[data-atmosphere] main > .concierge,
body[data-atmosphere] main > .guest-voice,
body[data-atmosphere] main > .pay {
  background-image:
    linear-gradient(rgba(249, 253, 250, 0.78), rgba(249, 253, 250, 0.78)),
    url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .media-experience,
body[data-atmosphere] main > .property-details {
  background-image:
    linear-gradient(rgba(225, 243, 235, 0.76), rgba(225, 243, 235, 0.76)),
    url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .day-journey,
body[data-atmosphere] main > .channels,
body[data-atmosphere] main > .booking {
  background-image:
    linear-gradient(rgba(224, 241, 243, 0.76), rgba(224, 241, 243, 0.76)),
    url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .amenities {
  background-image:
    linear-gradient(rgba(247, 247, 231, 0.8), rgba(247, 247, 231, 0.8)),
    url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .section-pad {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

@media (max-width: 700px) {
  body[data-atmosphere] main > .section-pad {
    background-attachment: scroll !important;
    background-position: 58% center !important;
  }
}

body[data-atmosphere] main > .section-pad {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.58);
}

@media (max-width: 700px) {
  body[data-atmosphere] {
    background-attachment: scroll !important;
    background-position: 58% center !important;
  }
}

/* Forest color system and contrast guardrails for every time-of-day mode. */
:root {
  --boutique-leaf: #2f7d50;
  --boutique-water: #167f8d;
  --boutique-sky: #dff1f2;
  --boutique-gold: #d6a13f;
  --boutique-bloom: #c95f54;
  --boutique-label: #245a4d;
}

body[data-atmosphere="sunset"] {
  --boutique-paper: #fffaf5;
  --boutique-mist: #f4eee5;
  --boutique-leaf: #347354;
  --boutique-water: #257b86;
  --boutique-sky: #e6f3f1;
  --boutique-gold: #bb792d;
  --boutique-bloom: #b85143;
  --boutique-label: #355e4d;
}

body[data-atmosphere="night"] {
  --boutique-paper: #f6fbfa;
  --boutique-mist: #e8f2f1;
  --boutique-leaf: #286f58;
  --boutique-water: #176f82;
  --boutique-sky: #dceff2;
  --boutique-gold: #b98532;
  --boutique-bloom: #b8534b;
  --boutique-label: #24584f;
}

body[data-atmosphere] main > section:not(.hero) {
  color: var(--boutique-ink) !important;
}

body[data-atmosphere] main > section:not(.hero) :is(
  p,
  small,
  li,
  figcaption,
  label,
  legend,
  .day-journey-intro,
  .stay-availability-note,
  .booking-rate-note,
  .booking-secure-note
) {
  color: var(--boutique-muted) !important;
  text-shadow: none !important;
}

body[data-atmosphere] main > section:not(.hero) :is(
  h1,
  h2,
  h3,
  h4,
  strong,
  .section-heading h2,
  .media-copy h2,
  .split-layout h2
) {
  color: var(--boutique-ink) !important;
  text-shadow: none !important;
}

body[data-atmosphere] main > section:not(.hero) :is(
  .section-kicker,
  .eyebrow,
  .villa-card-content > span:first-child,
  .booking-widget-heading > span,
  .detail-panel > span,
  .pay-box > span
) {
  color: var(--boutique-label) !important;
  font-size: max(0.78rem, 12px) !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}

body[data-atmosphere] main > section:not(.hero) :is(label, legend, label > span:first-child) {
  color: var(--boutique-ink) !important;
  font-size: max(0.8rem, 12px) !important;
}

body[data-atmosphere] .proof-band {
  border-block: 1px solid rgba(35, 91, 75, 0.14) !important;
  background: #fbfdf9 !important;
  color: var(--boutique-ink) !important;
}

body[data-atmosphere] .proof-band * {
  color: var(--boutique-ink) !important;
  text-shadow: none !important;
}

.hero .hero-premium-notes :is(strong, span),
.hero .hero-brand-lockup > p,
.hero .hero-content > .eyebrow,
.hero .hero-booking-bar :is(label, span),
.hero .kinetic-track span {
  font-size: max(0.78rem, 12.5px) !important;
  line-height: 1.35 !important;
  text-shadow: 0 2px 12px rgba(3, 31, 26, 0.92) !important;
}

.hero .hero-premium-notes strong {
  font-size: max(0.84rem, 13.5px) !important;
}

body[data-atmosphere] main > .intro,
body[data-atmosphere] main > .villas-section,
body[data-atmosphere] main > .concierge,
body[data-atmosphere] main > .guest-voice,
body[data-atmosphere] main > .pay {
  background: var(--boutique-paper) !important;
}

body[data-atmosphere] main > .media-experience,
body[data-atmosphere] main > .property-details {
  background: #e2f3ec !important;
}

body[data-atmosphere] main > .day-journey,
body[data-atmosphere] main > .channels,
body[data-atmosphere] main > .booking {
  background: #dff0f2 !important;
}

body[data-atmosphere] main > .amenities {
  background: #f4f2df !important;
}

body[data-atmosphere="sunset"] main > .media-experience,
body[data-atmosphere="sunset"] main > .property-details {
  background: #e5f3e8 !important;
}

body[data-atmosphere="sunset"] main > .day-journey,
body[data-atmosphere="sunset"] main > .channels,
body[data-atmosphere="sunset"] main > .booking {
  background: #e0eff1 !important;
}

body[data-atmosphere="night"] main > .media-experience,
body[data-atmosphere="night"] main > .property-details {
  background: #dff0e9 !important;
}

body[data-atmosphere="night"] main > .day-journey,
body[data-atmosphere="night"] main > .channels,
body[data-atmosphere="night"] main > .booking {
  background: #dbecef !important;
}

body[data-atmosphere] .trust-card span {
  color: var(--boutique-muted) !important;
  text-shadow: none !important;
}

body[data-atmosphere] main > .section-pad {
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgba(35, 91, 75, 0.1);
}

body[data-atmosphere] main > .section-pad::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--boutique-leaf) 0 29%, var(--boutique-water) 29% 58%, var(--boutique-gold) 58% 78%, var(--boutique-bloom) 78% 100%);
  background-size: 180% 100%;
  opacity: 0.72;
  animation: boutique-color-current 14s ease-in-out infinite alternate;
}

body[data-atmosphere] .section-heading {
  position: relative;
}

body[data-atmosphere] .section-heading::after {
  display: block;
  width: clamp(72px, 9vw, 132px);
  height: 3px;
  margin-top: 22px;
  content: "";
  background: var(--boutique-water);
  transform-origin: left center;
  animation: boutique-line-breathe 5.8s ease-in-out infinite;
}

body[data-atmosphere] :is(.villa-card-content h3, .section-heading h2, .media-copy h2) {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

body[data-atmosphere] :is(
  .property-window-slide img,
  .media-experience img,
  .light-story-slide img,
  .gallery-feature img,
  .gallery-photo img,
  .arrival-photo img
) {
  object-fit: contain !important;
  filter: saturate(1.1) contrast(1.035) brightness(1.015) !important;
  transition: filter 520ms ease, opacity 520ms ease !important;
}

body[data-atmosphere] :is(
  .property-window-slide.is-active img,
  .light-story-slide.is-active img,
  .gallery-photo:hover img,
  .gallery-feature:hover img
) {
  filter: saturate(1.18) contrast(1.05) brightness(1.025) !important;
}

body[data-atmosphere] .villas-section .property-window-slide img {
  box-shadow: 0 28px 74px rgba(25, 86, 69, 0.2) !important;
  animation: boutique-photo-color 8s ease-in-out infinite alternate;
}

body[data-atmosphere] .stay-selector-button:not(.is-active):not([aria-selected="true"]) {
  color: var(--boutique-label) !important;
  background: rgba(255, 255, 255, 0.38) !important;
}

body[data-atmosphere] .stay-selector-button.is-active,
body[data-atmosphere] .stay-selector-button[aria-selected="true"] {
  background: var(--boutique-leaf) !important;
  color: #fff !important;
}

body[data-atmosphere] :is(.btn.btn-primary, .pay-box > a, .arrival-map-waze) {
  background: var(--boutique-leaf) !important;
  border-color: var(--boutique-leaf) !important;
  color: #fff !important;
}

body[data-atmosphere] :is(.btn.btn-primary, .pay-box > a, .arrival-map-waze) * {
  color: #fff !important;
}

body[data-atmosphere] .atmosphere-switch button[aria-pressed="true"] {
  background: var(--boutique-leaf) !important;
  color: #fff !important;
}

@keyframes boutique-color-current {
  from { background-position: 0 50%; }
  to { background-position: 100% 50%; }
}

@keyframes boutique-line-breathe {
  0%, 100% { transform: scaleX(0.72); opacity: 0.72; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes boutique-photo-color {
  from { filter: saturate(1.08) contrast(1.025) brightness(1.01); }
  to { filter: saturate(1.18) contrast(1.055) brightness(1.025); }
}

@media (max-width: 700px) {
  body[data-atmosphere] main > .section-pad::before {
    height: 2px;
  }

  body[data-atmosphere] .section-heading::after {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-atmosphere] main > .section-pad::before,
  body[data-atmosphere] .section-heading::after,
  body[data-atmosphere] .villas-section .property-window-slide img {
    animation: none !important;
  }
}

/* Final transparency layer: keep the real mountain view visible behind every band. */
body[data-atmosphere] main > .intro,
body[data-atmosphere] main > .villas-section,
body[data-atmosphere] main > .concierge,
body[data-atmosphere] main > .guest-voice,
body[data-atmosphere] main > .pay {
  background: rgba(249, 253, 250, 0.6) !important;
}

body[data-atmosphere] main > .media-experience,
body[data-atmosphere] main > .property-details,
body[data-atmosphere="sunset"] main > .media-experience,
body[data-atmosphere="sunset"] main > .property-details,
body[data-atmosphere="night"] main > .media-experience,
body[data-atmosphere="night"] main > .property-details {
  background: rgba(225, 243, 235, 0.6) !important;
}

body[data-atmosphere] main > .day-journey,
body[data-atmosphere] main > .channels,
body[data-atmosphere] main > .booking,
body[data-atmosphere="sunset"] main > .day-journey,
body[data-atmosphere="sunset"] main > .channels,
body[data-atmosphere="sunset"] main > .booking,
body[data-atmosphere="night"] main > .day-journey,
body[data-atmosphere="night"] main > .channels,
body[data-atmosphere="night"] main > .booking {
  background: rgba(224, 241, 243, 0.6) !important;
}

body[data-atmosphere] main > .amenities {
  background: rgba(247, 247, 231, 0.62) !important;
}

/* Panoramic wallpaper final override. */
body[data-atmosphere] main > .intro,
body[data-atmosphere] main > .villas-section,
body[data-atmosphere] main > .concierge,
body[data-atmosphere] main > .guest-voice,
body[data-atmosphere] main > .pay {
  background-image: linear-gradient(rgba(249, 253, 250, 0.78), rgba(249, 253, 250, 0.78)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .media-experience,
body[data-atmosphere] main > .property-details {
  background-image: linear-gradient(rgba(225, 243, 235, 0.76), rgba(225, 243, 235, 0.76)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .day-journey,
body[data-atmosphere] main > .channels,
body[data-atmosphere] main > .booking {
  background-image: linear-gradient(rgba(224, 241, 243, 0.76), rgba(224, 241, 243, 0.76)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .amenities {
  background-image: linear-gradient(rgba(247, 247, 231, 0.8), rgba(247, 247, 231, 0.8)), url("./assets/mountain-retreat-pool-view.webp") !important;
}

body[data-atmosphere] main > .section-pad {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

@media (max-width: 700px) {
  body[data-atmosphere] main > .section-pad {
    background-attachment: scroll !important;
    background-position: 58% center !important;
  }
}
