:root {
  --sea: #164249;
  --sea-deep: #0e2c31;
  --lagoon: #2a7174;
  --sun: #e0a13a;
  --sun-deep: #96600c;
  --sand: #f6f0e4;
  --sand-deep: #eadfcb;
  --paper: #fdfbf6;
  --ink: #1c2a2c;
  --muted: #5c6865;
  --line: #e4d8c4;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(14, 44, 49, 0.08);
  --radius: 1.25rem;
  --header-h: 4.5rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--lagoon);
}

a:hover {
  color: var(--sea);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--sea);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun-deep);
  margin-bottom: 0.7rem;
}

h1,
h2,
h3,
.brand-word {
  font-family: Fraunces, Georgia, serif;
  color: var(--sea);
  line-height: 1.15;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
}

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(253, 251, 246, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(253, 251, 246, 0.94);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--sea);
}

.brand img,
.brand svg {
  width: 2.4rem;
  height: 2.4rem;
}

.brand-word {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-word span {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--sea);
}

.stack-title {
  margin-top: 2rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.6rem;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--sea);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sun {
  background: var(--sun);
  color: #3a2604;
}

.btn-sun:hover {
  box-shadow: 0 10px 24px rgba(224, 161, 58, 0.35);
}

.btn-sea {
  background: var(--sea);
  color: var(--white);
}

.btn-sea:hover {
  box-shadow: 0 10px 24px rgba(22, 66, 73, 0.28);
}

.btn-ghost {
  background: var(--white);
  color: var(--sea);
  border-color: var(--sea);
}

.btn-ghost.light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero picture {
  display: contents;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 44, 49, 0.06) 0%, rgba(14, 44, 49, 0.1) 45%, rgba(14, 44, 49, 0.32) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 3.5rem;
}

/* Scrim tied to the text block, so the copy stays readable at every viewport
   without flattening the photograph. */
.hero-inner::before {
  content: "";
  position: absolute;
  left: -50vw;
  right: -50vw;
  top: 2.5rem;
  bottom: -3.5rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(14, 44, 49, 0) 0%,
    rgba(14, 44, 49, 0.55) 26%,
    rgba(14, 44, 49, 0.78) 62%,
    rgba(14, 44, 49, 0.86) 100%);
}

.hero .eyebrow {
  color: #ffe9b8;
  background: rgba(9, 36, 40, 0.72);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: #f6d48a;
}

.hero .tagline {
  margin: 1rem 0 1.6rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: #f4eee2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: #efe6d4;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

section {
  padding: 5.5rem 0;
}

.section-sand {
  background: var(--sand);
}

.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
  list-style: none;
}

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
}

.fact strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  color: var(--sea);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.fact span {
  color: var(--muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.note {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border-left: 3px solid var(--sun);
  border-radius: 0 0.8rem 0.8rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stay-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.stay-card h3 {
  margin-bottom: 0.4rem;
}

.stay-card p {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 11.5rem;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--sand-deep);
}

.gallery picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.04);
}

.gallery a:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.6rem;
  list-style: none;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1.1rem;
  font-weight: 400;
}

.amenity svg {
  flex: 0 0 1.4rem;
  color: var(--lagoon);
}

.dist {
  list-style: none;
  margin-top: 1.4rem;
}

.dist li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line);
}

.dist li span:last-child {
  color: var(--sea);
  font-weight: 600;
  white-space: nowrap;
}

.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.map-frame {
  position: relative;
  height: 18rem;
  border-radius: 0.9rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(160deg, #dfeae4 0%, #cfe0dd 55%, #e8dfc9 100%);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-load {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--sea);
  font-family: inherit;
}

.map-load-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
}

.map-load-sub {
  font-size: 0.85rem;
  color: #4e5a57;
}

.map-load:hover .map-load-title {
  text-decoration: underline;
}

.rules-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1.6rem 0 1.5rem;
}

.rule {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
}

.rule strong {
  display: block;
  color: var(--sea);
  margin-bottom: 0.25rem;
}

.cta-band {
  background: var(--sea-deep);
  color: #e9f2f0;
  padding: 5rem 0;
}

.cta-band h2,
.cta-band .eyebrow {
  color: #fff8ea;
}

.cta-band p {
  max-width: 36rem;
  color: #c9d8d4;
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  background: #0b2226;
  color: #c6d4d0;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer a {
  color: #f4d48a;
}

.fine-print {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: #8ea6a2;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 34, 38, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 68rem);
  max-height: 82vh;
  border-radius: 0.8rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-nav.prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  background:
    linear-gradient(180deg, #efe4cd 0%, var(--paper) 100%);
}

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
}

.rules-stack {
  display: grid;
  gap: 1rem;
}

.yes-no {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.list {
  list-style: none;
}

.list li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  color: var(--muted);
}

.list.yes li::before,
.list.no li::before {
  position: absolute;
  left: 0;
  font-weight: 600;
}

.list.yes li::before {
  content: "✓";
  color: var(--lagoon);
}

.list.no li::before {
  content: "×";
  color: #b14a3a;
}

.local-grid {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.local-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
}

.local-card strong {
  display: block;
  color: var(--sea);
}

.local-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-block .card-actions a {
  margin-right: 0;
}

.card-actions {
  margin-top: 1rem;
}

.section-title {
  margin-bottom: 1.6rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.breadcrumb span {
  margin-inline: 0.35rem;
}

.checklist {
  max-width: 44rem;
  columns: 2;
  column-gap: 2.5rem;
}

.checklist li {
  break-inside: avoid;
}

@media (max-width: 700px) {
  .checklist {
    columns: 1;
  }
}

@media (max-width: 980px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .footer-grid,
  .yes-no {
    grid-template-columns: 1fr;
  }

  .amenities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav.is-open {
    display: flex;
  }

  .facts,
  .gallery,
  .amenities,
  .rules-preview,
  .stay-grid,
  .local-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-auto-rows: 9.5rem;
  }

  .gallery a:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .facts,
  .amenities,
  .rules-preview,
  .stay-grid,
  .local-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 4.8rem;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
