/* 1111 Pearl Court · Pristine Bay — design tokens.
   Sand surfaces, deep-water teals, Caribbean aqua, and sunset accents. */
:root {
  --sand-50: #fffdf9;
  --sand-100: #fbf6ec;
  --sand-200: #f3ebdd;
  --sand-300: #e7dbc8;

  --teal-900: #052528;
  --teal-800: #0b3437;
  --teal-700: #12484c;
  --teal-600: #1b6164;

  --aqua-600: #16847d;
  --aqua-500: #2ba39a;
  --aqua-300: #86d3cb;
  --aqua-100: #dbf1ee;

  --coral-600: #d8603f;
  --coral-500: #ee7c5c;
  --coral-300: #f8b19a;
  --sun-400: #f3c479;

  /* Aliases kept so every legacy rule keeps resolving. */
  --ivory: var(--sand-100);
  --paper: var(--sand-50);
  --teal: var(--teal-800);
  --teal-2: var(--teal-600);
  --ink: #16302f;
  --muted: #5e7173;
  --coral: var(--coral-500);
  --white: #fff;

  --line: rgba(11, 52, 55, .12);
  --line-soft: rgba(11, 52, 55, .07);
  --line-bright: rgba(255, 255, 255, .16);

  --shadow-xs: 0 1px 2px rgba(9, 42, 45, .05);
  --shadow-sm: 0 1px 2px rgba(9, 42, 45, .04), 0 6px 18px -10px rgba(9, 42, 45, .16);
  --shadow-md: 0 2px 6px rgba(9, 42, 45, .04), 0 18px 38px -18px rgba(9, 42, 45, .22);
  --shadow-lg: 0 4px 12px rgba(9, 42, 45, .05), 0 34px 72px -28px rgba(9, 42, 45, .32);
  --shadow: var(--shadow-lg);

  --r-xs: .5rem;
  --r-sm: .8rem;
  --r-md: 1.1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;

  --ease: cubic-bezier(.22, .78, .28, 1);

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.material-symbols-rounded { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
a:focus-visible, button:focus-visible, video:focus-visible, select:focus-visible {
  outline: 3px solid var(--coral-500);
  outline-offset: 3px;
}
::selection { background: var(--aqua-300); color: var(--teal-900); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 2000;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 1.1rem, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes settle {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: none; }
}
@keyframes driftZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 150, 106, .38); }
  70% { box-shadow: 0 0 0 .55rem rgba(52, 150, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 150, 106, 0); }
}

.app-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 5.25rem;
  background: linear-gradient(180deg, rgba(255, 253, 249, .93), rgba(255, 253, 249, .78));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.app-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 52, 55, .16) 18%, rgba(11, 52, 55, .16) 82%, transparent);
}
.nav-shell {
  display: flex;
  width: min(1440px, calc(100% - 3rem));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.brand small { margin-top: .22rem; color: var(--aqua-600); font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 0;
  border-radius: 50% 50% 50% .35rem;
  background: linear-gradient(145deg, var(--aqua-500), var(--teal-800) 78%);
  box-shadow: 0 6px 16px -6px rgba(9, 42, 45, .45);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.brand:hover .brand-mark { box-shadow: 0 10px 22px -8px rgba(9, 42, 45, .5); transform: rotate(-6deg); }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-button {
  position: relative;
  padding: .64rem .95rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 600;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-button:hover { background: rgba(43, 163, 154, .1); color: var(--teal-700); }
.nav-button.is-active { background: rgba(43, 163, 154, .14); color: var(--teal-800); font-weight: 700; }
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .005em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary, .btn-book {
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  box-shadow: 0 10px 24px -12px rgba(6, 40, 43, .7);
  color: var(--white);
}
.btn-primary:hover, .btn-book:hover {
  background: linear-gradient(150deg, var(--aqua-600), var(--teal-800));
  box-shadow: 0 16px 34px -14px rgba(6, 40, 43, .62);
}
.btn-book { min-height: 2.8rem; padding: .62rem 1.2rem; font-size: .86rem; }
.btn-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--shadow-xs);
  color: var(--teal-800);
}
.btn-quiet:hover { border-color: var(--aqua-500); background: var(--white); color: var(--teal-700); box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(27, 97, 100, .35);
  background: none;
  color: var(--teal-700);
  cursor: pointer;
  font-weight: 700;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.text-link:hover { border-color: var(--coral-500); color: var(--coral-600); gap: .75rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .4rem .8rem .4rem .7rem;
  border: 1px solid rgba(43, 163, 154, .2);
  border-radius: 999px;
  background: rgba(43, 163, 154, .09);
  color: var(--aqua-600);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: .38rem;
  height: .38rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral-500);
}
.eyebrow.light {
  border-color: rgba(134, 211, 203, .3);
  background: rgba(134, 211, 203, .14);
  color: var(--aqua-300);
}
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }

.view { min-height: calc(100vh - 8.25rem); }
.view[hidden] { display: none !important; }

.home-view {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(28rem, .97fr);
  background:
    radial-gradient(105% 70% at 100% -5%, rgba(43, 163, 154, .13), transparent 60%),
    radial-gradient(80% 60% at 88% 105%, rgba(243, 196, 121, .16), transparent 62%),
    var(--sand-50);
}
.home-photo { position: relative; height: clamp(38rem, calc(100svh - 5.25rem), 47rem); min-height: 0; overflow: hidden; background: var(--teal-900); }
.home-photo picture { position: absolute; inset: 0; display: block; }
.home-photo picture, .home-photo img { width: 100%; height: 100%; }
.home-photo img { object-fit: cover; }
.home-photo-shade, .photo-credit { display: none; }
.home-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 28, 30, .62), rgba(4, 28, 30, .1) 34%, transparent 58%),
    linear-gradient(180deg, rgba(4, 28, 30, .34), transparent 26%);
  pointer-events: none;
}
.home-photo-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.home-photo-link:focus-visible { outline: 3px solid var(--coral-500); outline-offset: -6px; }
.photo-credit {
  position: absolute;
  z-index: 3;
  right: 1.4rem;
  bottom: 1.3rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(5, 30, 32, .42);
  color: rgba(255, 255, 255, .92);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .01em;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-content {
  display: flex;
  height: clamp(38rem, calc(100svh - 5.25rem), 47rem);
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.25rem, 4vh, 3.5rem);
  padding: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 5.25vw, 5.8rem);
}
.home-copy { max-width: 38rem; }
.home-copy .eyebrow, .local-experiences-heading .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.home-copy .eyebrow::before, .local-experiences-heading .eyebrow::before { display: none; }
.home-copy h1 { margin-bottom: 1.4rem; font-size: clamp(3.2rem, 4.1vw, 5rem); line-height: .94; }
.home-copy h1 .title-line { display: block; color: inherit; font: inherit; white-space: nowrap; }
.home-lead { max-width: 35rem; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.home-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.property-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.property-facts > a {
  position: relative;
  display: block;
  min-width: 0;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5));
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.property-facts strong, .property-facts small { display: block; }
.property-facts .feature-icon {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  margin-bottom: .7rem;
  border-radius: 50%;
  background: #e3f0e9;
  box-shadow: none;
  color: var(--teal-600);
  font-size: 1.15rem;
}
.property-facts strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; line-height: 1.2; }
.property-facts small { margin-top: .4rem; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.property-facts em { display: block; margin-top: .7rem; color: var(--teal-700); font-size: .66rem; font-style: normal; font-weight: 700; }
.local-experiences {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(22rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem) 2.25rem;
  background: var(--teal-900);
  color: var(--white);
}
.local-experiences-heading {
  display: block;
  max-width: 28rem;
  margin: 0;
  align-self: center;
}
.local-experiences-heading h2 { margin-bottom: 1.7rem; font-size: clamp(2.75rem, 3.6vw, 4.35rem); line-height: .96; }
.local-experiences-heading > p { max-width: 26rem; margin: 0; color: rgba(255, 255, 255, .68); font-size: clamp(.92rem, 1.05vw, 1.03rem); }
.experience-grid {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.experience-card {
  position: relative;
  min-height: clamp(25rem, 34vw, 31rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1.25rem;
  background: var(--teal-800);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
  isolation: isolate;
}
.experience-card picture { position: absolute; inset: 0; }
.experience-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.experience-card-scuba img { object-position: 58% center; }
.experience-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(3, 24, 26, .88) 100%);
}
.experience-copy {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
}
.experience-copy small, .experience-copy strong, .experience-copy em { display: block; }
.experience-copy small { margin-bottom: .55rem; color: var(--aqua-300); font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.experience-copy strong { max-width: 28rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1; }
.experience-copy em { margin-top: 1.1rem; color: rgba(255, 255, 255, .72); font-size: .75rem; font-style: normal; font-weight: 600; }
.experience-note { display: flex; grid-column: 1 / -1; max-width: none; align-items: center; gap: .4rem; margin: .2rem auto 0; color: rgba(255, 255, 255, .5); font-size: .68rem; }
.experience-note i { color: var(--aqua-300); font-size: .95rem; font-style: normal; }
.villa-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(22rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3.5rem, 6vw, 6.5rem) clamp(1.5rem, 5vw, 5rem) clamp(2.25rem, 3.5vw, 3.5rem);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 55% at 8% 0%, rgba(43, 163, 154, .1), transparent 62%),
    radial-gradient(60% 50% at 95% 100%, rgba(238, 124, 92, .08), transparent 65%),
    var(--sand-100);
}
.villa-details-intro { align-self: start; max-width: 31rem; }
.villa-details-intro > .eyebrow { display: none; }
.villa-details-intro h2 { margin-bottom: 1.2rem; font-size: clamp(2.8rem, 3.7vw, 4.5rem); line-height: .94; white-space: nowrap; }
.villa-details-intro > p:not(.eyebrow) { color: var(--muted); }
.villa-details-intro .text-link { margin-top: 1rem; font-size: .82rem; }
.villa-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.villa-detail-grid > a {
  position: relative;
  display: block;
  min-width: 0;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--white), var(--sand-50));
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.villa-detail-grid > a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua-500), var(--sun-400) 55%, var(--coral-500));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.villa-detail-grid span { color: var(--coral-600); font-size: .67rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.villa-detail-grid .villa-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: #e3f0e9;
  color: var(--teal-600);
  font-size: 1.45rem;
}
.villa-detail-grid h3 { margin: .6rem 0 .7rem; font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
.villa-detail-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.villa-detail-grid em { display: block; margin-top: 1rem; color: var(--teal-700); font-size: .7rem; font-style: normal; font-weight: 700; }
.villa-detail-strip {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .78rem;
}
.villa-detail-strip span {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
}
.villa-detail-strip i { color: var(--teal-600); font-size: 1.15rem; font-style: normal; }
.villa-detail-strip strong { color: var(--teal-800); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.villa-detail-strip small { margin-left: .35rem; padding-left: .9rem; border-left: 1px solid var(--line-soft); color: var(--muted); font-size: .68rem; }

.gallery-view {
  overflow: hidden;
  padding: 2.25rem clamp(1.5rem, 4vw, 4rem) 1.75rem;
  background:
    radial-gradient(85% 60% at 0% 0%, rgba(43, 163, 154, .1), transparent 58%),
    var(--sand-50);
}
.gallery-heading { display: flex; max-width: 1440px; margin: 0 auto 1.4rem; align-items: end; justify-content: space-between; gap: 2rem; }
.gallery-heading > div:first-child { max-width: 40rem; }
.gallery-heading h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: .95; }
.gallery-lead { max-width: 35rem; margin: .85rem 0 0; color: var(--muted); font-size: .88rem; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.gallery-filter-mobile { display: none; }
.filter-button {
  padding: .55rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 600;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.filter-button:hover { border-color: var(--aqua-500); color: var(--teal-700); transform: translateY(-1px); }
.filter-button.is-active {
  border-color: transparent;
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  box-shadow: 0 10px 22px -12px rgba(6, 40, 43, .7);
  color: var(--white);
  font-weight: 700;
}
/* The stage height drives the grid row so the thumbnail rail scrolls inside it
   instead of stretching the page. */
.gallery-workspace {
  --stage-h: min(68vh, 720px);
  display: grid;
  min-width: 0;
  max-width: 1440px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 14rem;
  grid-template-rows: var(--stage-h);
  gap: 1.1rem;
}
.gallery-stage {
  position: relative;
  min-height: 0;
  height: var(--stage-h);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--teal-900);
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}
.gallery-stage picture, .gallery-stage img { width: 100%; height: 100%; }
.gallery-stage img { object-fit: cover; background: var(--teal-900); }
.gallery-stage-shade {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(3, 22, 24, .78));
  pointer-events: none;
}
.stage-arrow, .lightbox-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(5, 30, 32, .5);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.stage-arrow:hover, .lightbox-arrow:hover { border-color: rgba(255, 255, 255, .5); background: rgba(5, 30, 32, .78); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6); }
.stage-prev { left: 1.1rem; }
.stage-next { right: 1.1rem; }
.expand-button {
  position: absolute;
  z-index: 4;
  top: 1.1rem;
  right: 1.1rem;
  padding: .6rem .9rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(5, 30, 32, .5);
  color: var(--white);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
}
.expand-button:hover { border-color: rgba(255, 255, 255, .5); background: rgba(5, 30, 32, .8); transform: translateY(-1px); }
.stage-caption {
  position: absolute;
  z-index: 3;
  right: 1.4rem;
  bottom: 1.25rem;
  left: 1.4rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
}
.stage-caption div { display: grid; gap: .3rem; }
.stage-caption div span { color: var(--aqua-300); font-size: .67rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.stage-caption strong { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 500; letter-spacing: -.015em; }
.stage-caption > span {
  flex: 0 0 auto;
  padding: .32rem .7rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.thumbnail-panel { display: flex; min-width: 0; max-width: 100%; min-height: 0; flex-direction: column; }
.thumbnail-heading { display: grid; margin-bottom: .65rem; }
.thumbnail-heading strong { font-size: .82rem; }
.thumbnail-heading span { color: var(--muted); font-size: .68rem; }
.thumbnail-rail { display: grid; min-width: 0; max-width: 100%; min-height: 0; flex: 1; grid-template-columns: repeat(2, 1fr); gap: .5rem; overflow-y: auto; padding-right: .35rem; scrollbar-color: rgba(11, 52, 55, .22) transparent; scrollbar-width: thin; }
.thumb {
  position: relative;
  min-height: 4.8rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--sand-300);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  box-shadow: inset 0 -1.6rem 1.4rem -1.2rem rgba(3, 22, 24, .55);
  transition: border-color .3s var(--ease);
  pointer-events: none;
}
.thumb.is-active { box-shadow: var(--shadow-sm); }
.thumb.is-active::after { border-color: var(--coral-500); }
.thumb span {
  position: absolute;
  z-index: 2;
  right: .3rem;
  bottom: .25rem;
  padding: .1rem .3rem;
  border-radius: .25rem;
  background: rgba(5, 30, 32, .6);
  color: var(--white);
  font-size: .58rem;
  font-variant-numeric: tabular-nums;
}

.activities-view {
  padding: 2rem clamp(1.5rem, 4vw, 4rem) 1.25rem;
  background:
    radial-gradient(55% 35% at 4% 0%, rgba(43, 163, 154, .1), transparent 60%),
    radial-gradient(45% 35% at 98% 0%, rgba(243, 196, 121, .12), transparent 62%),
    var(--sand-50);
}
.activities-hero { display: grid; max-width: 1440px; margin: 0 auto 1.25rem; grid-template-columns: minmax(23rem, .75fr) minmax(0, 1.25fr); align-items: center; gap: 2rem; }
.activities-intro { max-width: 39rem; }
.activities-intro h2 { margin: 0 0 1rem; font-size: clamp(2.8rem, 4.3vw, 5.25rem); line-height: .94; }
.activities-intro > p:last-child { max-width: 38rem; margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.activity-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .65rem; }
.activity-category { position: relative; display: grid; min-width: 0; overflow: hidden; grid-template-rows: auto 6.2rem auto auto 1fr; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: rgba(255, 255, 255, .78); box-shadow: var(--shadow-xs); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.activity-category-icon { display: grid; width: 2.25rem; height: 2.25rem; margin: .65rem; place-items: center; border-radius: 50%; background: var(--aqua-100); color: var(--teal-700); }
.activity-category-icon.sun { background: #fff0cc; color: #cb7b00; }
.activity-category-icon.coral { background: #ffe3d4; color: #c65e3e; }
.activity-category-icon i { font-size: 1.2rem; font-style: normal; }
.activity-category img { width: 100%; height: 6.2rem; object-fit: cover; }
.activity-category strong { padding: .55rem .65rem 0; font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.activity-category small { padding: .15rem .65rem 0; color: var(--muted); font-size: .61rem; line-height: 1.4; }
.activity-category em { align-self: end; padding: .55rem .65rem .65rem; color: var(--teal-700); font-size: .62rem; font-style: normal; font-weight: 700; }
.activities-map-card { display: grid; max-width: 1440px; min-height: 27rem; margin: 0 auto 1rem; overflow: hidden; grid-template-columns: minmax(0, 1.35fr) minmax(25rem, .65fr); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.activities-map { min-height: 27rem; background: #dce8df; }
.activities-map .leaflet-tile-pane { filter: saturate(.75) contrast(.94); }
.nearby-panel { padding: 1.1rem 1.5rem; background: radial-gradient(80% 100% at 100% 0%, rgba(43, 163, 154, .25), transparent 65%), var(--teal-900); color: var(--white); }
.nearby-list { margin-top: .55rem; border-top: 1px solid rgba(255,255,255,.14); }
.nearby-list a { display: grid; min-height: 2.55rem; grid-template-columns: 1.8rem minmax(0, 1fr) 5.3rem auto; align-items: center; gap: .7rem; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--white); text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); }
.nearby-list b { display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 50%; background: var(--aqua-300); color: var(--teal-900); font-size: .66rem; }
.nearby-list a:nth-child(3n + 1) b { background: #9bd14f; }
.nearby-list a:nth-child(3n) b { background: var(--sun-400); }
.nearby-list strong { font-size: .72rem; }
.nearby-list span { color: rgba(255,255,255,.64); font-size: .64rem; }
.nearby-list i { color: var(--aqua-300); font-size: 1rem; font-style: normal; }
.nearby-list a.is-active { background: rgba(255,255,255,.1); transform: translateX(.2rem); }
.nearby-panel > small { display: block; margin-top: .7rem; color: rgba(255,255,255,.55); font-size: .6rem; }
.activity-guides { display: grid; max-width: 1440px; margin: 0 auto 1rem; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.activity-guides > section { padding: 1rem 1.15rem; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: rgba(255,255,255,.64); }
.activity-guides h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.activity-guides > section > p { margin: .1rem 0 .75rem; color: var(--muted); font-size: .62rem; }
.route-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.route-ideas article { display: grid; min-width: 0; overflow: hidden; grid-template-columns: 4.7rem 1fr; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--white); }
.route-ideas img { width: 100%; height: 100%; min-height: 7.2rem; object-fit: cover; }
.route-ideas div { padding: .7rem .6rem; }
.route-ideas strong, .close-grid strong { display: block; font-family: var(--serif); font-size: .8rem; }
.route-ideas p, .close-grid p { margin: .3rem 0; color: var(--muted); font-size: .6rem; }
.route-ideas a { color: var(--teal-700); font-size: .59rem; font-weight: 700; }
.close-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.close-grid article { padding: 0 .75rem; border-left: 1px solid var(--line-soft); }
.close-grid article:first-child { border-left: 0; padding-left: 0; }
.close-grid i { display: grid; width: 2.1rem; height: 2.1rem; margin-bottom: .45rem; place-items: center; border-radius: 50%; background: var(--aqua-100); color: var(--teal-700); font-size: 1.1rem; font-style: normal; }
.activities-disclaimer { display: flex; max-width: 1440px; margin: 0 auto; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--r-sm); color: var(--muted); font-size: .66rem; text-align: center; }
.activities-disclaimer i { color: var(--teal-600); font-size: 1rem; font-style: normal; }

.explore-view {
  display: grid;
  grid-template-columns: minmax(22rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.25rem, 4vw, 4rem) clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(75% 55% at 4% 0%, rgba(43, 163, 154, .16), transparent 58%),
    radial-gradient(60% 50% at 100% 40%, rgba(243, 196, 121, .14), transparent 62%),
    var(--sand-50);
  color: var(--ink);
}
.explore-intro { align-self: center; max-width: 34rem; }
.explore-intro h2 { margin-bottom: 1.25rem; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .92; }
.explore-intro > p:not(.eyebrow) { color: var(--muted); }
.explore-intro .eyebrow.light {
  border-color: rgba(22, 132, 125, .22);
  background: rgba(43, 163, 154, .1);
  color: var(--aqua-600);
}
.video-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: center; }
.video-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.video-frame { width: 100%; aspect-ratio: 16 / 10; background: var(--teal-900); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; background: var(--teal-900); }
.video-card > div:last-child { padding: 1.1rem 1.25rem 1.25rem; }
.video-card span { color: var(--aqua-600); font-size: .67rem; font-weight: 700; letter-spacing: .15em; }
.video-fullscreen {
  float: right;
  padding: .2rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--teal-700);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 700;
  transition: color .25s var(--ease);
}
.video-fullscreen:hover { color: var(--coral-600); }
.video-card strong { display: block; margin-top: .45rem; font-family: var(--serif); font-size: 1.28rem; font-weight: 500; letter-spacing: -.02em; }
.video-card p { margin: .4rem 0 0; color: var(--muted); font-size: .82rem; }
.video-frame video:fullscreen,
.video-frame video:-webkit-full-screen { width: 100vw; height: 100vh; object-fit: contain !important; background: #000; }
.setting-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.7rem; }
.setting-features span { display: grid; place-items: center; gap: .45rem; padding: .75rem .35rem; border-right: 1px solid var(--line-soft); color: var(--teal-800); font-size: .66rem; font-weight: 600; text-align: center; }
.setting-features span:last-child { border-right: 0; }
.setting-features i { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; background: var(--aqua-100); color: var(--teal-700); font-size: 1.15rem; font-style: normal; }

/* Essential Leaflet presentation is kept local so the map remains stable if CDN CSS is unavailable. */
.leaflet-container { position: relative; overflow: hidden; font: 500 .75rem/1.5 var(--sans); outline-offset: 1px; -webkit-tap-highlight-color: transparent; }
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; top: 0; left: 0; }
.leaflet-tile, .leaflet-marker-icon { -webkit-user-drag: none; user-select: none; }
.leaflet-container .leaflet-tile { width: auto; max-width: none !important; max-height: none !important; padding: 0; visibility: hidden; }
.leaflet-container .leaflet-tile-loaded { visibility: inherit; }
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-marker-icon.leaflet-interactive { pointer-events: auto; cursor: pointer; }
.leaflet-control { position: relative; z-index: 800; clear: both; pointer-events: auto; }
.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-left .leaflet-control { float: left; margin: 10px 0 0 10px; }
.leaflet-right .leaflet-control { float: right; margin: 0 10px 10px 0; }
.leaflet-bar { overflow: hidden; border: 1px solid rgba(9, 42, 45, .16); border-radius: var(--r-xs); box-shadow: 0 6px 18px -8px rgba(9, 42, 45, .35); }
.leaflet-bar a { display: block; width: 2rem; height: 2rem; border-bottom: 1px solid rgba(9, 42, 45, .12); background: var(--white); color: var(--teal-800); font: 700 1.2rem/2rem var(--sans); text-align: center; }
.leaflet-bar a:last-child { border-bottom: 0; }
.leaflet-bar a:hover, .leaflet-bar a:focus { background: var(--sand-100); color: var(--aqua-600); }
.leaflet-control-attribution { padding: .15rem .35rem; background: rgba(255, 255, 255, .88); color: #405052; }
.leaflet-control-attribution a { color: var(--teal-700); text-decoration: underline; }
.leaflet-attribution-flag { display: inline !important; width: 1em; height: .67em; vertical-align: baseline; }
.leaflet-popup { position: absolute; margin-bottom: 1.25rem; text-align: center; }
.leaflet-popup-content-wrapper { padding: 1px; border-radius: var(--r-sm); background: var(--white); box-shadow: 0 12px 32px -12px rgba(9, 42, 45, .45); text-align: left; }
.leaflet-popup-content { min-height: 1px; margin: .8rem 1rem; }
.leaflet-popup-tip-container { position: absolute; left: 50%; width: 2.5rem; height: 1.25rem; margin-left: -1.25rem; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 1rem; height: 1rem; margin: -.55rem auto 0; background: var(--white); box-shadow: 0 5px 24px rgba(9, 42, 45, .2); transform: rotate(45deg); }
.leaflet-popup-close-button { position: absolute; z-index: 2; top: .1rem; right: .2rem; width: 1.5rem; height: 1.5rem; color: var(--muted); text-align: center; }
.location-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(43, 163, 154, .32), transparent 62%),
    radial-gradient(70% 70% at 90% 100%, rgba(238, 124, 92, .16), transparent 60%),
    linear-gradient(150deg, var(--teal-800), var(--teal-900));
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.location-map { z-index: 0; height: 100%; min-height: 32rem; background: #dce5de; }
.map-fallback { display: grid; min-height: inherit; margin: 0; place-items: center; padding: 2rem; text-align: center; }
.map-fallback a { color: var(--teal-800); font-weight: 700; text-decoration: underline; }
.location-map .leaflet-tile-pane { filter: saturate(.82) contrast(.95); }
.location-map .leaflet-control-attribution { font: 500 .57rem var(--sans); }
.map-pin {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}
.map-pin-shape {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% .35rem;
  background: linear-gradient(140deg, var(--sun-400), var(--coral-500));
  box-shadow: 0 8px 22px -6px rgba(2, 18, 20, .5);
  transform: rotate(-45deg);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.map-pin-shape b { transform: rotate(45deg); color: var(--white); font: 700 .82rem var(--sans); }
.map-pin.is-active .map-pin-shape { background: linear-gradient(140deg, var(--aqua-500), var(--teal-800)); box-shadow: 0 0 0 .4rem rgba(43, 163, 154, .28), 0 12px 30px -8px rgba(2, 18, 20, .5); transform: rotate(-45deg) scale(1.18); }
.leaflet-popup-content-wrapper { border-radius: var(--r-sm); color: var(--ink); font: 600 .75rem/1.4 var(--sans); }
.leaflet-popup-content { margin: .8rem 1rem; }
.location-copy { position: relative; align-self: center; padding: clamp(1.75rem, 3vw, 3rem); }
.location-copy h3 { margin: 0 0 .85rem; font-family: var(--serif); font-size: clamp(2.2rem, 3.5vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: .95; }
.location-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .76); }
.location-copy > small { display: block; margin-top: 1.1rem; color: rgba(255, 255, 255, .52); font-size: .68rem; line-height: 1.45; }
.amenity-links { display: grid; gap: .6rem; margin-top: 1.35rem; }
.amenity-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.amenity-links a.is-active { border-color: rgba(248, 177, 154, .55); background: rgba(255, 255, 255, .14); transform: translateX(.25rem); }
.amenity-links b {
  display: grid;
  width: 1.95rem;
  height: 1.95rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sun-400), var(--coral-500));
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5);
  color: var(--teal-900);
  font-size: .72rem;
}
.amenity-links a > span { display: grid; min-width: 0; }
.amenity-links strong { color: var(--white); font-size: .82rem; }
.amenity-links small { color: rgba(255, 255, 255, .6); font-size: .68rem; }
.amenity-links em { color: var(--aqua-300); font-size: .68rem; font-style: normal; font-weight: 600; text-align: right; }

.book-view {
  display: grid;
  grid-template-columns: minmax(20rem, .65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  /* Tighter block padding than the other views: the calendar needs the height. */
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(2.25rem, 5vw, 5rem);
  background:
    radial-gradient(70% 55% at 0% 0%, rgba(43, 163, 154, .12), transparent 58%),
    radial-gradient(60% 50% at 100% 100%, rgba(243, 196, 121, .16), transparent 60%),
    var(--sand-100);
}
.book-intro { align-self: center; max-width: 34rem; }
.book-intro h2 { margin-bottom: 1.4rem; font-size: clamp(2.8rem, 4.2vw, 4.8rem); line-height: .94; }
.book-intro > p { color: var(--muted); }
.booking-cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  box-shadow: 0 12px 26px -12px rgba(6, 40, 43, .7);
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.booking-cta:hover { background: linear-gradient(150deg, var(--aqua-600), var(--teal-800)); box-shadow: 0 18px 34px -14px rgba(6, 40, 43, .6); transform: translateY(-2px); }
.booking-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: .7rem; margin-top: .8rem; }
.booking-actions .booking-cta { margin-top: 0; }
.booking-contact { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .4rem; padding: .68rem 1rem; border: 1px solid var(--teal-600); border-radius: 999px; color: var(--teal-800); font-size: .76rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.booking-contact span { font-size: 1rem; }
.booking-contact:hover { background: var(--aqua-100); color: var(--teal-700); transform: translateY(-2px); }
.booking-note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .5));
  box-shadow: var(--shadow-xs);
}
.booking-note strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.booking-note p { margin: .4rem 0 .6rem; color: var(--muted); font-size: .8rem; }
.booking-note a { color: var(--teal-700); font-size: .74rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; }
.booking-note a:hover { color: var(--coral-600); }
.booking-shell {
  width: min(100%, 34rem);
  align-self: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.booking-toolbar { display: flex; min-height: 3.4rem; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--sand-50), var(--white)); font-size: .78rem; }
.booking-toolbar > div { display: flex; align-items: center; gap: .6rem; }
.booking-toolbar-actions { justify-content: flex-end; }
.booking-toolbar-actions button, .booking-toolbar-actions a {
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sand-50);
  color: var(--teal-800);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 700;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.booking-toolbar-actions button:hover, .booking-toolbar-actions a:hover { border-color: var(--aqua-500); background: var(--aqua-100); color: var(--teal-700); }
.status-dot { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; background: #34966a; animation: livePulse 2.6s var(--ease) infinite; }
/* The cross-origin calendar is rendered on a stable 500px canvas and scaled from
   the top centre only when the panel is narrower. A standard transform behaves
   consistently in Edge, Safari, and Chromium without collapsing the iframe box. */
.calendar-frame { position: relative; height: var(--cal-frame-h, 52.5rem); overflow: hidden; }
.calendar-frame iframe {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 31.25rem;
  height: 52.5rem;
  border: 0;
  background: var(--white);
  transform: translateX(-50%) scale(var(--cal-scale, 1));
  transform-origin: top center;
}
.calendar-loading { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .88rem; }
.calendar-frame.is-loaded .calendar-loading { display: none; }

/* Hover-only enrichment so touch devices never get stuck in a hover state. */
@media (hover: hover) and (pointer: fine) {
  .amenity-links a:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); transform: translateX(.25rem); }
  .property-facts > a:hover { border-color: rgba(43, 163, 154, .28); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
  .experience-card:hover img { transform: scale(1.04); }
  .experience-card:hover .experience-copy em { color: var(--white); }
  .villa-detail-grid > a:hover { border-color: rgba(43, 163, 154, .22); box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .villa-detail-grid > a:hover::before { opacity: 1; }
  .video-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .thumb:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
  .thumb:hover img { transform: scale(1.07); }
  .activity-category:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
  .activity-category:hover img { transform: scale(1.035); }
  .activity-category img { transition: transform .4s var(--ease); }
}

.app-footer {
  display: grid;
  min-height: 5.5rem;
  grid-template-columns: minmax(12rem, .65fr) minmax(22rem, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-soft);
  background: var(--sand-50);
  color: var(--muted);
  font-size: .74rem;
}
.footer-address strong, .footer-address span, .footer-management strong, .footer-management span { display: block; }
.footer-address, .footer-management { position: relative; padding-left: 2.2rem; }
.footer-address i, .footer-management i { position: absolute; top: .2rem; left: 0; color: var(--teal-600); font-size: 1.35rem; font-style: normal; }
.footer-address strong { color: var(--teal-800); font-family: var(--serif); font-size: .95rem; font-weight: 600; }
.footer-management strong { color: var(--teal-800); font-size: .68rem; letter-spacing: .06em; }
.footer-management a { color: var(--aqua-600); text-decoration: underline; text-decoration-color: rgba(22, 132, 125, .32); text-underline-offset: .2em; }
.footer-management span { margin-top: .2rem; }
.app-footer small { font-size: .7rem; }

.lightbox {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem 6rem;
  /* Fully opaque so nothing from the gallery reads through behind the photo. */
  background: radial-gradient(80% 60% at 50% 40%, #08302f, #021012);
}
.lightbox.open { display: flex; animation: fade .28s var(--ease) both; }
.lightbox figure { width: min(88vw, 1400px); margin: 0; }
.lightbox-media { display: grid; width: 100%; height: min(76vh, 900px); place-items: center; overflow: hidden; border-radius: var(--r-xs); cursor: zoom-in; touch-action: none; user-select: none; }
.lightbox-media.is-zoomed { cursor: grab; }
.lightbox-media.is-dragging { cursor: grabbing; }
.lightbox picture { display: grid; width: 100%; height: 100%; place-items: center; transform-origin: center; will-change: transform; }
.lightbox source { display: none; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 2rem; margin-top: .9rem; color: rgba(255, 255, 255, .82); font-size: .82rem; }
.lightbox figcaption span { color: var(--aqua-300); font-variant-numeric: tabular-nums; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lightbox-close:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .18); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-tools {
  position: absolute;
  z-index: 4;
  bottom: .8rem;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, 2.75rem);
  justify-items: center;
  gap: .35rem;
  transform: translateX(-50%);
}
.lightbox-tools button { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(255, 255, 255, .09); color: var(--white); cursor: pointer; font-weight: 700; transition: background .25s var(--ease); }
.lightbox-tools button:hover { background: rgba(255, 255, 255, .2); }
.lightbox-tools button:nth-child(2) { width: 3.4rem; border-radius: 999px; font-size: .64rem; font-variant-numeric: tabular-nums; }
.lightbox-tools small { grid-column: 1 / -1; margin-top: .2rem; color: rgba(255, 255, 255, .5); font-size: .6rem; white-space: nowrap; }

/* Entrance choreography, driven by the .is-active class the router already sets. */
.home-view.is-active .home-photo { animation: fade 1s var(--ease) both; }
.home-view.is-active .home-copy { animation: rise .85s var(--ease) both; }
.home-view.is-active .property-facts > a { animation: rise .7s var(--ease) both; }
.home-view.is-active .property-facts > a:nth-child(1) { animation-delay: .14s; }
.home-view.is-active .property-facts > a:nth-child(2) { animation-delay: .22s; }
.gallery-view.is-active .gallery-heading { animation: rise .6s var(--ease) both; }
.gallery-view.is-active .gallery-stage { animation: settle .7s var(--ease) both; }
.gallery-view.is-active .thumbnail-panel { animation: fade .9s var(--ease) both; animation-delay: .12s; }
.activities-view.is-active .activities-intro { animation: rise .65s var(--ease) both; }
.activities-view.is-active .activities-map-card { animation: settle .75s var(--ease) both; animation-delay: .08s; }
.explore-view.is-active .explore-intro { animation: rise .75s var(--ease) both; }
.explore-view.is-active .video-card { animation: rise .75s var(--ease) both; }
.explore-view.is-active .video-card:nth-child(2) { animation-delay: .12s; }
.book-view.is-active .book-intro { animation: rise .75s var(--ease) both; }
.book-view.is-active .booking-shell { animation: settle .8s var(--ease) both; animation-delay: .08s; }

/* A barely-there drift keeps the hero alive; never on touch or reduced motion,
   where a permanently-scaled crop would be the only lasting effect. */
@media (min-width: 701px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-view.is-active .home-photo img { animation: driftZoom 34s ease-in-out infinite alternate; }
  .home-photo:hover img { animation-play-state: paused; }
}

/* Below this width the side-by-side hero squeezes the aerial into a tall crop of
   roof tiles, so it stacks: full-width photo with the copy card lifted over its
   lower edge. */
@media (max-width: 900px) {
  .home-view { display: block; }
  .home-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .home-content {
    position: relative;
    z-index: 3;
    height: auto;
    min-height: auto;
    gap: 2.25rem;
    margin-top: -2.25rem;
    padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: linear-gradient(180deg, var(--sand-50) 0 65%, transparent);
  }
  /* Lift the credit clear of the copy card that now overlaps the photo. */
  .photo-credit { right: 1.1rem; bottom: 3.5rem; }
  .home-copy { max-width: 46rem; }
  .home-copy h1 { font-size: clamp(3.2rem, 7vw, 4.8rem); }
  .property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .property-facts > a { padding: .95rem 1rem 1rem; }
  .property-facts small { font-size: .7rem; }
  .villa-details { grid-template-columns: 1fr; }
  .villa-details-intro { max-width: 48rem; }
  .local-experiences { grid-template-columns: 1fr; }
  .local-experiences-heading { max-width: 46rem; }
  .local-experiences-heading > p { max-width: 46rem; }
  .villa-detail-strip small { width: 100%; margin-left: 0; padding: .65rem 0 0; border-top: 1px solid var(--line-soft); border-left: 0; }
  .gallery-workspace { --stage-h: min(60vh, 620px); grid-template-columns: 1fr; grid-template-rows: var(--stage-h) auto; }
  .thumbnail-panel { min-height: 7.8rem; }
  .thumbnail-rail { display: flex; overflow-x: auto; overflow-y: hidden; padding: .15rem 0 .45rem; }
  .thumb { min-width: 7.2rem; min-height: 5.4rem; }
  .activities-hero { grid-template-columns: 1fr; }
  .activity-category-grid { grid-template-columns: repeat(3, 1fr); }
  .activities-map-card { grid-template-columns: 1fr; }
  .activity-guides { grid-template-columns: 1fr; }
  .explore-view, .book-view { grid-template-columns: 1fr; }
  .explore-intro, .book-intro { max-width: 48rem; }
  .location-card { grid-template-columns: 1fr; }
  .location-map { height: 28rem; min-height: 28rem; }
}

@media (max-width: 700px) {
  .app-header { height: 4.6rem; }
  .nav-shell { width: calc(100% - 2rem); }
  .menu-toggle {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-content: center;
    gap: .4rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    box-shadow: var(--shadow-xs);
  }
  .menu-toggle > span:not(.sr-only) { display: block; width: 1rem; border-top: 1.5px solid var(--teal-800); }
  .nav-links {
    position: absolute;
    top: 4.15rem;
    right: 1rem;
    left: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: .15rem;
    padding: .6rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    /* Opaque on purpose: a translucent panel is unreadable over the booking iframe. */
    background: var(--sand-50);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; animation: rise .3s var(--ease) both; }
  .nav-button, .btn-book { width: 100%; min-height: 2.9rem; text-align: left; }
  .btn-book { justify-content: flex-start; margin-top: .3rem; }
  .view { min-height: calc(100vh - 7.6rem); }
  .home-photo { aspect-ratio: 4 / 3; }
  .photo-credit { display: none; }
  .home-content { gap: 2rem; margin-top: -1.75rem; padding: 2.25rem 1.15rem 2rem; }
  .home-copy h1 { font-size: clamp(2.15rem, 10.4vw, 3.2rem); letter-spacing: -.045em; line-height: .98; }
  .home-actions { align-items: stretch; flex-direction: column; margin-top: 1.6rem; }
  .property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .property-facts > a { padding: .9rem .85rem .95rem; }
  .property-facts span { width: 1.5rem; height: 1.5rem; margin-bottom: .55rem; }
  .property-facts strong { font-size: .92rem; }
  .property-facts small { font-size: .68rem; }
  .local-experiences { padding: 3.25rem 1.15rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: min(118vw, 30rem); }
  .experience-card-scuba img { object-position: 62% center; }
  .villa-details { display: block; padding: 2.75rem 1.15rem; }
  .villa-details-intro h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .villa-details-intro h2 { white-space: normal; }
  .villa-detail-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .villa-detail-grid > a { padding: 1.35rem 1.15rem; }
  .villa-detail-strip { margin-top: 1.75rem; gap: .5rem; }
  .villa-detail-strip span { width: calc(50% - .3rem); justify-content: center; }
  .gallery-view { padding: 1.35rem 1rem 1.15rem; }
  .gallery-heading { display: block; margin-bottom: 1rem; }
  .gallery-heading h2 { margin-bottom: 1rem; }
  .gallery-lead { font-size: .8rem; }
  .gallery-filters { display: none; }
  .gallery-filter-mobile { display: grid; gap: .4rem; margin-bottom: 1rem; }
  .gallery-filter-mobile label { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .gallery-filter-mobile select {
    width: 100%;
    min-height: 3rem;
    padding: .7rem 2.7rem .7rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2312484c' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 1.1rem center / .75rem auto,
      var(--white);
    box-shadow: var(--shadow-xs);
    color: var(--teal-800);
    font: 700 .86rem var(--sans);
    -webkit-appearance: none;
    appearance: none;
  }
  .thumbnail-rail { scrollbar-width: none; }
  .thumbnail-rail::-webkit-scrollbar { display: none; }
  .gallery-workspace { --stage-h: max(53vh, 22rem); }
  .gallery-stage { border-radius: var(--r-md); }
  .stage-arrow { width: 2.8rem; height: 2.8rem; }
  .stage-prev { left: .7rem; }
  .stage-next { right: .7rem; }
  .stage-caption { right: .9rem; bottom: .85rem; left: .9rem; gap: .75rem; }
  .stage-caption strong { font-size: 1rem; }
  .stage-caption > span { padding: .25rem .55rem; font-size: .66rem; }
  .expand-button { top: .8rem; right: .8rem; padding: .5rem .75rem; font-size: .7rem; }
  .activities-view { padding: 1.75rem 1.15rem 1rem; }
  .activities-hero { gap: 1.5rem; }
  .activities-intro h2 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .activity-category-grid { display: flex; margin-inline: -1.15rem; overflow-x: auto; padding: .2rem 1.15rem .7rem; scroll-snap-type: x proximity; scrollbar-width: none; }
  .activity-category-grid::-webkit-scrollbar { display: none; }
  .activity-category { min-width: 10rem; scroll-snap-align: start; }
  .activities-map-card { margin-inline: 0; border-radius: var(--r-md); }
  .activities-map { min-height: 23rem; }
  .nearby-panel { padding: 1.15rem; }
  .nearby-list a { grid-template-columns: 1.7rem minmax(0,1fr) auto; gap: .55rem; }
  .nearby-list a span { display: none; }
  .route-ideas { grid-template-columns: 1fr; }
  .route-ideas article { grid-template-columns: 5.5rem 1fr; }
  .close-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
  .close-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .activities-disclaimer { align-items: flex-start; text-align: left; }
  .explore-view { padding: 2.25rem 1.15rem; }
  .book-view { gap: 1.75rem; padding: 1.75rem 1.15rem 2.25rem; }
  .explore-intro h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .book-intro h2 { font-size: clamp(2.8rem, 12vw, 3.7rem); }
  .booking-actions { align-items: stretch; flex-direction: column; }
  .booking-cta { width: 100%; }
  .booking-contact { align-self: flex-start; }
  .booking-toolbar { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .booking-toolbar-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; padding-top: .4rem; }
  .booking-toolbar-actions button, .booking-toolbar-actions a { min-height: 2.75rem; flex: 1 1 auto; }
  .video-showcase { grid-template-columns: 1fr; }
  .video-card { width: 100%; margin-inline: auto; }
  .setting-features { grid-template-columns: repeat(2, 1fr); }
  .setting-features span:nth-child(2) { border-right: 0; }
  .location-map { height: 24rem; min-height: 24rem; }
  .location-copy { padding: 1.75rem 1.15rem; }
  .amenity-links a { grid-template-columns: auto minmax(0, 1fr); gap: .8rem; min-height: 4.6rem; }
  .amenity-links em { grid-column: 2; text-align: left; }
  .amenity-links a.is-active { transform: none; }
  .calendar-frame { height: var(--cal-frame-h, min(78svh, 44rem)); }
  .app-footer { grid-template-columns: 1fr; align-items: flex-start; gap: .8rem; }
  .lightbox { padding: 4.5rem .75rem 5rem; }
  .lightbox figure { width: 100%; }
  .lightbox-media { height: calc(100dvh - 12.5rem); min-height: 18rem; }
  .lightbox figcaption { gap: 1rem; font-size: .72rem; }
  .lightbox figcaption strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lightbox-arrow { top: auto; bottom: .8rem; width: 2.8rem; height: 2.8rem; transform: none; }
  .lightbox-tools small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
