:root {
  color-scheme: light;
  --bg: #eef3f0;
  --surface: #fff;
  --ink: #12302f;
  --muted: #486561;
  --deep: #0d2a2c;
  --line: #c9d8d3;
  --accent: #ad4034;
  --accent-hover: #8d3027;
  --focus: #1e747e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 4.5rem);
  --section-space: clamp(2.75rem, 7vw, 7rem);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}

main { flex: 1; }
h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.028em;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 7.2vw, 6.75rem); }
h2 { font-size: clamp(2.3rem, 4.7vw, 4.3rem); }
h3 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); }

a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.shell {
  width: 100%;
  max-width: 100rem;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.section { padding-block: var(--section-space); }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  padding: .65rem 1rem;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header {
  padding-top: env(safe-area-inset-top);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 2rem;
  min-height: 5rem;
  padding-block: .8rem;
}

.brand {
  display: inline-block;
  font: italic 600 clamp(1.28rem, 2.55vw, 1.85rem)/1.08 var(--serif);
  text-decoration: none;
}

.brand span { white-space: nowrap; }

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem clamp(.75rem, 2.2vw, 2.25rem);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.button):is(:hover, [aria-current]) { text-decoration: underline; }
.site-nav .button[aria-current] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent); }

.menu-toggle {
  min-height: 2.75rem;
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--accent-hover); }
.button-small { min-height: 2.75rem; padding: .5rem 1rem; }
.button-outline { background: transparent; border-color: #a5c0b9; }
.button-outline:hover { background: #ffffff20; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  font-weight: 600;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-description, .lede { font-size: clamp(1.05rem, 1.65vw, 1.25rem); max-width: 39ch; margin-top: 1.3rem; }
.lede { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.7rem; }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .65rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3.5vw, 2.6rem);
}

.preview-grid, .amenity-grid, .gallery-grid {
  display: grid;
  gap: clamp(.85rem, 2vw, 1.7rem);
}

.preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preview-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--surface);
}
.preview-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
.preview-grid figcaption { padding: .8rem 1rem; font: 600 clamp(1.32rem, 2.15vw, 1.75rem)/1.14 var(--serif); }

.feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.8rem, 6vw, 6rem);
}

.feature-photo {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--line);
}

.feature-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.feature-tall img { object-position: center 60%; }
.amenities { background: var(--deep); color: #f5faf6; }
.amenity-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.amenity-grid article { padding-block: 1rem; border-top: 1px solid #547570; }
.amenity-grid p { margin-top: .65rem; color: #c1dad2; }

.page-intro { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.page-intro .lede { max-width: 48ch; }
.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.gallery-item { display: block; overflow: hidden; border-radius: .8rem; background: var(--line); }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
@media (hover: hover) { .gallery-item:hover img { transform: scale(1.035); } }

.lightbox {
  width: min(58rem, calc(100% - 1rem));
  max-width: none;
  max-height: calc(100dvh - 1rem);
  padding: clamp(.55rem, 2vw, 1.1rem);
  border: 1px solid #547570;
  border-radius: 1rem;
  background: var(--deep);
  color: #fff;
}
.lightbox::backdrop { background: #061213df; }
.lightbox img { width: 100%; height: min(65dvh, 40rem); object-fit: contain; }
.lightbox figcaption { margin-top: .55rem; text-align: center; }
.lightbox-toolbar, .lightbox-controls { display: flex; gap: .75rem; }
.lightbox-toolbar { justify-content: end; margin-bottom: .6rem; }
.lightbox-controls { justify-content: center; margin-top: .65rem; }
.lightbox button {
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid #91aaa6;
  border-radius: 2rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox button:hover { background: #ffffff20; }
.lightbox button:focus-visible { outline-color: #a0e9f1; }

.booking-contacts {
  display: grid;
  gap: .65rem;
  max-width: 24rem;
  margin-top: 1.65rem;
  font-style: normal;
}
.booking-contacts a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  text-decoration: none;
}
.booking-contacts a:hover { border-color: var(--accent); color: var(--accent); }

.site-footer {
  background: radial-gradient(ellipse at top right, #183a38, transparent 55%), var(--deep);
  color: #eef7f2;
  padding-block: clamp(2.4rem, 5.4vw, 5rem) env(safe-area-inset-bottom);
  border-top: 1px solid #547570;
}
.site-footer :focus-visible { outline-color: #a4edf1; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .65fr) minmax(0, .73fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3.4rem);
  padding-bottom: clamp(1.6rem, 3.8vw, 3rem);
}

.footer-identity .brand { font-size: clamp(1.85rem, 3.15vw, 3.2rem); }
.footer-identity p { margin-top: .85rem; color: #bfd6ce; }
.footer-identity strong { color: #eef7f2; font-weight: 600; }
.footer-label {
  margin-bottom: .35rem;
  color: #bfd6ce;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav a, .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}
.footer-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.footer-links { display: grid; justify-items: start; font-style: normal; }
.booking-contacts a, .footer-links a, .hero-stay > a:not(.button) { font-variant-numeric: tabular-nums; }
.footer-links a { font-size: clamp(1.05rem, 1.65vw, 1.3rem); font-weight: 600; }
.footer-booking {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  margin-top: .65rem;
  padding-inline: .75rem;
  border: 1px solid #8baca5;
  border-radius: 2rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-booking:hover { background: #ffffff17; }

.footer-instagram {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  max-width: 23rem;
  margin-top: .7rem;
  padding: .55rem .75rem .55rem .55rem;
  border: 1px solid #547570;
  border-radius: .8rem;
  background: #ffffff0a;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.footer-instagram:hover { border-color: #b5d5cb; background: #ffffff17; }
.footer-instagram img {
  height: 3.2rem;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 65%;
  border-radius: .4rem;
}
.footer-instagram-copy { display: grid; min-width: 0; line-height: 1.35; }
.footer-instagram-copy span { color: #bfd6ce; font-size: .75rem; }
.footer-instagram-copy strong { font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }
.footer-instagram-arrow { color: #cce5db; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .1rem 1rem;
  padding-block: .55rem;
  border-top: 1px solid #496764;
  color: #d1e3dd;
  font-size: .88rem;
}
.footer-top, .footer-motion {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
}
.footer-top { margin-right: auto; }
.footer-motion {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}

@media (max-width: 70rem) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .footer-identity, .footer-social { grid-column: 1 / -1; }
  .footer-social { padding-top: 1.15rem; border-top: 1px solid #496764; }
}

@media (max-width: 22rem) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

.menu-backdrop { display: none; }

@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; min-height: 4.35rem; }
  .site-nav { flex-basis: 100%; gap: .25rem .85rem; }
  .site-nav .button { margin-block: .2rem; }

  .site-header.nav-enhanced { position: sticky; top: 0; z-index: 3; }
  .nav-enhanced .header-inner { flex-wrap: nowrap; gap: .65rem; }
  .nav-enhanced .header-inner .brand { min-width: 0; }
  .nav-enhanced .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    min-width: 5.6rem;
    margin-left: auto;
    padding-inline: .75rem;
  }

  .menu-icon {
    position: relative;
    width: .9rem;
    height: .9rem;
  }
  .menu-icon::before, .menu-icon::after {
    position: absolute;
    right: 0;
    left: 0;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    content: "";
    transition: transform .22s ease;
  }
  .menu-icon::before { top: .25rem; }
  .menu-icon::after { bottom: .25rem; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(.15rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-.15rem) rotate(-45deg); }

  .nav-enhanced .menu-backdrop {
    position: fixed;
    z-index: 1;
    display: block;
    inset: var(--menu-top, 4.35rem) 0 0;
    background: #071a1bd1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }

  .nav-enhanced .site-nav {
    position: fixed;
    z-index: 2;
    top: var(--menu-top, 4.35rem);
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: min(22rem, 88vw);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(.8rem, 4vw, 1.8rem) max(1.1rem, env(safe-area-inset-right))
             max(1.1rem, env(safe-area-inset-bottom)) 1.1rem;
    border-left: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s;
  }
  .menu-open .menu-backdrop, .menu-open .site-nav { visibility: visible; transition-delay: 0s; }
  .menu-open .menu-backdrop { opacity: 1; }
  .menu-open .site-nav { transform: translateX(0); }

  .nav-enhanced .site-nav a {
    flex-shrink: 0;
    min-height: 3.25rem;
    padding-inline: .6rem;
    font-size: 1.02rem;
  }
  .nav-enhanced .site-nav a:not(.button) { border-bottom: 1px solid var(--line); }
  .nav-enhanced .site-nav a[aria-current="page"]:not(.button) { font-weight: 700; }
  .nav-enhanced .site-nav .button { align-self: stretch; margin-top: 1.1rem; }

  #main, #shared-spaces { scroll-margin-top: 5.5rem; }
  body:has(.site-header.menu-open) { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-enhanced .site-nav, .nav-enhanced .menu-backdrop, .menu-icon::before, .menu-icon::after { transition: none; }
}

@media (max-width: 42rem) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
}

@media (max-width: 34rem) {
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid figure:last-child { grid-column: 1 / -1; }
  .preview-grid figure:last-child img { aspect-ratio: 2 / 1; }
}

@media (max-width: 21rem) {
  .preview-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-grid figure:last-child img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101e1e;
    --surface: #182b2b;
    --ink: #eef6f2;
    --muted: #b2cbc4;
    --line: #36534e;
    --accent-hover: #96382e;
    --focus: #8bd9dd;
  }

  .booking-contacts a:hover { border-color: #eea49a; color: #eea49a; }
  .site-nav .button[aria-current] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px #eea49a; }
}

.home {
  --hero-nav: calc(5rem + env(safe-area-inset-top));
  --hero-focus: #a4edf1;
}

.home .site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  border: 0;
  background: var(--deep);
  color: #fff;
  transition: background-color .35s, box-shadow .35s;
}

.home.scene-ready main { margin-top: calc(-1 * var(--hero-nav)); }
.home.scene-ready .site-header:not(.scrolled, :has(.menu-toggle[aria-expanded="true"])) {
  background: transparent;
}
.home .site-header.scrolled { box-shadow: 0 .4rem 1.7rem #0003; }
.home .menu-toggle { color: #fff; border-color: #ffffff80; }
.home .site-header :focus-visible, .home-hero :focus-visible { outline-color: var(--hero-focus); }
@media (max-width: 52rem) {
  .home .site-header .site-nav :focus-visible { outline-color: var(--focus); }
}
.home .skip-link { z-index: 5; }

.home-hero {
  --scene-brightness: 1;
  --scene-warmth: 0;
  --scene-saturation: 1;
  --scene-hue: 0;
  --sun: #ffd7a1;
  --mist-light: .65;
  --night: .15;
  --sun-x: 1160;
  --sun-y: 305;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

.scene-frame, .scene-image, .villa-scene, .scene-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.scene-frame { z-index: -2; overflow: hidden; }
.scene-image, .villa-scene {
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0) scale(1.065);
  transform-origin: 80% center;
}
.scene-image {
  object-fit: cover;
  object-position: right center;
  filter: brightness(var(--scene-brightness)) sepia(var(--scene-warmth))
          saturate(var(--scene-saturation)) hue-rotate(calc(var(--scene-hue) * 1deg));
}
.scene-sun {
  transform: translate(calc(var(--sun-x) * 1px), calc(var(--sun-y) * 1px));
  opacity: calc(.95 - var(--night) * .55);
  mix-blend-mode: screen;
}
.scene-stars { opacity: var(--night); }
.scene-mist { opacity: var(--mist-light); }

.scene-ready .mist-far { animation: drift-far 42s ease-in-out infinite alternate; }
.scene-ready .mist-near { animation: drift-near 28s ease-in-out infinite alternate; }
.scene-ready .pool-ripples { animation: ripple 4s ease-in-out infinite alternate; }
.scene-ready .scene-stars circle { animation: twinkle var(--duration) var(--delay) ease-in-out infinite alternate; }
.scene-ready.scene-paused .villa-scene * { animation-play-state: paused; }

@keyframes drift-far { from { transform: translateX(-95px); } to { transform: translateX(120px); } }
@keyframes drift-near { from { transform: translateX(110px); } to { transform: translateX(-120px); } }
@keyframes ripple { from { transform: translateX(-16px); opacity: .45; } to { transform: translateX(14px); opacity: .9; } }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }

.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #091822db 0%, #101a2799 29%, transparent 70%),
              linear-gradient(180deg, #081821bd 0%, transparent 22%, transparent 72%, #071820b5 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 1.5rem;
  min-height: clamp(43rem, 100svh, 67rem);
  padding-block: calc(clamp(2.6rem, 8vh, 6.5rem) + var(--hero-nav)) max(1.4rem, env(safe-area-inset-bottom));
}
.home:not(.scene-ready) .hero-inner { padding-top: clamp(2rem, 7vh, 5rem); }

.hero-copy { max-width: 38rem; }
.home-hero .eyebrow { color: #e6f0e9; }
.home-hero h1 {
  font-size: clamp(4.6rem, 9.5vw, 9.2rem);
  font-weight: 500;
  line-height: .83;
  letter-spacing: -.045em;
  text-shadow: 0 .2rem 2rem #101a2770;
}
.hero-line { display: block; overflow: hidden; padding: 0 .12em .15em 0; }
.hero-line + .hero-line { margin-top: -.09em; }
.hero-line > * { display: inline-block; }
.hero-line em { color: #d7f1e6; font-weight: 500; }
.hero-description { margin-top: .65rem; color: #edf6f2; text-shadow: 0 .1rem 1rem #0009; }
.home-hero .button-outline { background: #12242d92; }
.home-hero .button-outline:hover { background: #29424bd9; }

@media (prefers-reduced-motion: no-preference) {
  .scene-ready .hero-line > * { animation: title-rise 1.1s cubic-bezier(.16,.84,.24,1) both; }
  .scene-ready .hero-line + .hero-line > * { animation-delay: .15s; }
  .scene-ready .hero-copy :is(.hero-description, .actions), .scene-ready .hero-stay { animation: hero-fade .75s ease-out both; }
  .scene-ready .hero-copy .hero-description { animation-delay: .3s; }
  .scene-ready .hero-copy .actions { animation-delay: .45s; }
  .scene-ready .hero-stay { animation-delay: .55s; }
}
@keyframes title-rise { from { transform: translateY(120%); } to { transform: translateY(0); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(.55rem); } to { opacity: 1; transform: none; } }

.scene-controls {
  display: grid;
  gap: .15rem;
  justify-self: end;
  padding: .55rem .8rem;
  border: 1px solid #ffffff58;
  border-radius: 1.3rem;
  background: #102431c9;
  backdrop-filter: blur(12px);
}
.scene-controls label { font-size: .74rem; letter-spacing: .045em; }
.scene-range { display: flex; align-items: center; gap: .45rem; }
.scene-range input { width: clamp(5rem, 10vw, 9rem); min-height: 1.6rem; margin: 0; accent-color: #ffbd88; }
.hero-stay {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: .7rem 1.1rem;
  width: min(100%, 52rem);
  justify-self: center;
  padding: .65rem .75rem .65rem 1.35rem;
  border: 1px solid #ffffff62;
  border-radius: 3rem;
  background: #142e3ac9;
  backdrop-filter: blur(16px);
  box-shadow: 0 1rem 3rem #0004;
  font-weight: 600;
}
.hero-stay small { display: block; color: #d2e3df; font-size: .78rem; font-weight: 400; }
.hero-stay > span { padding-right: .65rem; border-right: 1px solid #ffffff45; }
.hero-stay > a:not(.button) { min-height: 2.75rem; }

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6rem);
}
.intro-copy .text-link { margin-top: .8rem; }
.intro-photo { overflow: hidden; border-radius: 1.1rem; background: var(--line); }
.intro-photo img { aspect-ratio: 5 / 4; object-fit: cover; object-position: center 60%; }
.amenity-strip { overflow: hidden; padding-block: .9rem; background: var(--deep); color: #d7efe9; }
.amenity-track { display: flex; width: max-content; }
.amenity-track p { white-space: nowrap; font: italic 600 clamp(1.48rem, 2.7vw, 2.1rem)/1.3 var(--serif); }
.amenity-track i { margin-inline: .75rem; color: #88d4d3; font-style: normal; }
.scene-ready .amenity-track { animation: amenities-slide 32s linear infinite; }
.scene-paused .amenity-track, .amenity-strip:hover .amenity-track { animation-play-state: paused; }
@keyframes amenities-slide { to { transform: translateX(-50%); } }

.reveal-pending { opacity: 0; transform: translateY(1.5rem); }
.reveal-in { animation: hero-fade .75s cubic-bezier(.2,.8,.2,1) both; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .button, .preview-grid figure { transition: transform .3s, box-shadow .3s, background-color .3s; }
  .home .button:hover { transform: translateY(-.16rem); }
  .preview-grid figure:hover { transform: translateY(-.45rem) rotate(-.55deg); box-shadow: 0 .9rem 2rem #102d2c25; }
}

@media (max-width: 52rem) {
  .home { --hero-nav: calc(4.35rem + env(safe-area-inset-top)); }
  .hero-inner { padding-top: calc(2.5rem + var(--hero-nav)); }
}

@media (max-width: 42rem) {
  .home-hero { background: linear-gradient(#142331, #172736 60%, #101f2c); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 1.25rem; min-height: 0; }
  .home-hero h1 { font-size: clamp(3.85rem, 14.5vw, 6.5rem); }
  .hero-copy .actions { margin-top: 1.2rem; }
  .scene-controls { justify-self: start; }
  .scene-frame {
    top: auto;
    bottom: 5rem;
    height: clamp(18rem, 81vw, 31rem);
    mask-image: linear-gradient(transparent, #000 25%, #000 84%, transparent);
  }
  .scene-image, .villa-scene { transform: none; }
  .home-hero::before { display: none; }
  .hero-stay { margin-top: clamp(11rem, 49vw, 20rem); }
  .home-intro { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 34rem) {
  .scene-frame { bottom: 8rem; }
  .hero-stay { grid-template-columns: 1fr 1fr; border-radius: 1rem; padding: .85rem; }
  .hero-stay .button { grid-column: 1 / -1; }
}

@media (max-width: 22rem) {
  .scene-frame { bottom: 10rem; }
  .hero-stay { grid-template-columns: minmax(0, 1fr); }
  .hero-stay > span { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home .site-header, .home .button { transition: none; }
  .scene-ready .home-hero *, .scene-ready .amenity-track, .reveal-in { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  main > .feature > *, .page-intro { animation: hero-fade .65s cubic-bezier(.2,.8,.2,1) both; }
  main > .feature > figure { animation-delay: .12s; }
}

@media (prefers-reduced-motion: reduce) {
  .amenity-track { width: auto; }
  .amenity-track p { padding-inline: var(--gutter); white-space: normal; }
  .amenity-track p[aria-hidden] { display: none; }
}

.villa-outdoors, .visit-area {
  background: var(--deep);
  color: #f5faf6;
}
.villa-outdoors .lede, .visit-area p { color: #c1dad2; }
.villa-outdoors :focus-visible, .visit-area :focus-visible { outline-color: #a4edf1; }

.outdoors-layout, .home-location, .arrival-layout, .booking-questions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.outdoors-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.outdoors-copy .text-link, .home-location .text-link, .arrival-layout .text-link,
.booking-questions .text-link { margin-top: .85rem; }
.outdoors-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(.65rem, 2vw, 1.4rem);
  align-items: center;
}
.outdoors-photos figure { overflow: hidden; border-radius: .9rem; }
.outdoors-photos figure:nth-child(2) { margin-top: 18%; }
.outdoors-photos img { aspect-ratio: 4 / 5; object-fit: cover; }
.home-location .feature-photo img { aspect-ratio: 8 / 5; object-position: center 55%; }
.arrival-layout .feature-photo img { aspect-ratio: 7 / 5; object-position: center 55%; }

.stay-banner { background: #d5e5dd; color: #12302f; }
.stay-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.stay-banner p { max-width: 52ch; margin-top: .6rem; color: #35544f; }
.stay-banner :focus-visible { outline-color: #1e747e; }

.editorial-grid, .visit-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2.8rem);
}
.editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-grid .feature-photo { margin-bottom: 1rem; }
.editorial-grid .feature-photo img { aspect-ratio: 16 / 10; object-position: center 58%; }
.editorial-grid p { color: var(--muted); margin-top: .55rem; }
.visit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.visit-grid article { padding-block: 1rem; border-top: 1px solid #547570; }
.visit-grid p { margin-top: .65rem; max-width: 35ch; }
.visit-area .text-link { margin-top: 1.1rem; }

.booking-questions { align-items: start; }
.question-list { border-top: 1px solid var(--line); }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.35rem;
  padding-block: .8rem;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after {
  content: '';
  flex: 0 0 .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.question-list details[open] summary::after { transform: rotate(225deg); }
.question-list p { margin-bottom: 1.1rem; color: var(--muted); max-width: 50ch; }

@media (max-width: 48rem) {
  .outdoors-layout, .home-location, .arrival-layout, .booking-questions {
    grid-template-columns: minmax(0, 1fr);
  }
  .outdoors-copy { grid-row: 1; }
}

@media (max-width: 40rem) {
  .editorial-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
}
