:root {
  --forest: #173F35;
  --deep-forest: #102D27;
  --sage: #AFC6B4;
  --mist: #DDEAE6;
  --cream: #F7F5EF;
  --sand: #D9C8AA;
  --white: #FFFFFF;
  --charcoal: #202725;
  --muted: #54605B;
  --nav-h: 5.75rem;
}
html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: clip; }
body {
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}
body.nav-open, body.modal-open, body.lightbox-open { overflow: hidden; }
#waFloat { transition: opacity 200ms ease, transform 200ms ease; }
#waFloat.wa-float-hidden {
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
}
.img-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.dest-card.img-cover,
.dest-card > img { position: absolute; inset: 0; }
.villa-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mist);
}
.villa-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.dest-card > img,
.villa-media img,
.hero-slide { will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.is-active { opacity: 1; }
.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 240ms cubic-bezier(0.4, 0, 0.2, 1), transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero-dot.is-active { background: #fff; transform: scale(1.25); }
.hero-dots {
  display: flex;
  justify-content: flex-start;
  gap: 0.65rem;
}
.hero-dot {
  width: 0.7rem;
  height: 0.7rem;
  min-width: 0.7rem;
  min-height: 0.7rem;
}
.hero-copy-block a,
.hero-copy-block button { pointer-events: auto; }
.hero-nav-btn {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 45, 39, 0.38);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-nav-btn:hover { background: rgba(16, 45, 39, 0.58); }
@media (max-height: 780px) {
  #top .hero-copy,
  #top .hero-badge,
  #top .hero-meta { display: none; }
}
@media (max-height: 680px) {
  #top .hero-kicker,
  #top .hero-cta a:last-of-type { display: none; }
  #top .hero-title { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.nav-glass,
.nav-glass.is-solid {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(23, 63, 53, 0.08);
  border-bottom: 1px solid rgba(23, 63, 53, 0.08);
}
#top {
  margin-top: var(--nav-h);
  overflow: hidden;
}
.hero-section {
  min-height: calc(100dvh - var(--nav-h));
}
@media (max-width: 767px) {
  #top.hero-section {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: calc(var(--nav-h) + 0.75rem) 1rem 0;
    min-height: min(34rem, calc(100dvh - var(--nav-h) - 1.5rem));
    border-radius: 1.35rem;
  }
  #top .hero-nav-btn { display: none; }
}
.btn-arrow { transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1); will-change: transform; }
.group:hover .btn-arrow, .group:focus-visible .btn-arrow { transform: translateX(4px); }
#contactForm select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354605B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  cursor: pointer;
}
#contactForm select {
  background-position: right 0.85rem center;
  background-size: 1rem;
  padding-right: 2.4rem;
}
#contactForm input[type="date"],
#contactForm select,
#contactForm input[type="text"] {
  color: var(--charcoal);
  font-weight: 500;
}
#contactForm input[type="date"]:focus,
#contactForm select:focus,
#contactForm input[type="text"]:focus,
#contactForm textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 63, 53, 0.12);
  outline: none;
}
#contactForm input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.6; cursor: pointer; }
#contactForm input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.villa-media img { transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.villa-media:hover img { transform: scale(1.04); }
.dest-panel { transition: flex-grow 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.amenity-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: amenity-flow 48s linear infinite;
  will-change: transform;
}
@keyframes amenity-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}
@media (min-width: 1024px) { .gallery-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grain::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
input, select, textarea { color-scheme: light; }
:focus-visible {
  outline: 2px solid #173F35;
  outline-offset: 3px;
}
button, a, select, input[type="submit"] { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .amenity-track { animation: none; }
}
