/* ==========================================================================
   IRELE BEACH RESORT — Design System
   Where the Ocean Meets Wellness · Eleko Beach, Ibeju-Lekki, Lagos
   --------------------------------------------------------------------------
   Architecture:
     1. Design tokens (custom properties)
     2. Reset & base
     3. Typography
     4. Layout primitives
     5. Buttons & links
     6. Header / navigation
     7. Hero
     8. Section furniture (eyebrow, titles)
     9. Components (cards, collections, split-slide, gallery, stats)
    10. Footer
    11. Legal / prose
    12. Reveal animation utilities
    13. Utilities
    14. Responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ========================================================= */
:root {
  /* Palette — drawn from the resort itself: green pools, black roofs,
     warm sand, deep foliage, Atlantic haze, gold light. */
  --sand-50:  #FBF8F1;
  --sand-100: #F5EFE2;
  --sand-200: #EADFC9;
  --sand-300: #DccBab;

  --ocean-950: #0B211D;
  --ocean-900: #0E2621;
  --ocean-800: #143A33;
  --ocean-700: #1E5049;
  --teal-500:  #2C7A70;
  --teal-400:  #3E9A8E;

  --gold-600:  #B48A3C;
  --gold-500:  #C39A4E;
  --gold-400:  #D4B36E;

  --ink:       #1B2B27;
  --ink-soft:  rgba(27, 43, 39, 0.72);
  --ink-faint: rgba(27, 43, 39, 0.55);
  --white:     #ffffff;

  /* Semantic */
  --bg:            var(--sand-100);
  --bg-alt:        var(--sand-50);
  --surface-dark:  var(--ocean-900);
  --text:          var(--ink);
  --accent:        var(--gold-500);
  --accent-strong: var(--gold-600);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing / rhythm */
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --container: 1240px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 6px 20px rgba(11, 33, 29, 0.08);
  --shadow-md: 0 18px 44px rgba(11, 33, 29, 0.16);
  --shadow-lg: 0 34px 70px rgba(11, 33, 29, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.075rem);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--ocean-800); color: var(--sand-50); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ocean-900); color: var(--sand-50);
  padding: 10px 18px; border-radius: var(--radius-pill);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 3. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.h-display { font-size: clamp(2.7rem, 6vw, 5.4rem); font-weight: 500; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }

.serif { font-family: var(--font-display); }
.italic { font-style: italic; }
.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}
.text-balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* 4. LAYOUT PRIMITIVES ===================================================== */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.4rem, var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark { background: var(--surface-dark); color: var(--sand-100); }
.section--sand { background: var(--sand-50); }
.section--deep { background: var(--ocean-950); color: var(--sand-100); }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: var(--sand-50); }

.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.items-center { align-items: center; }
.gap-lg { gap: clamp(2rem, 5vw, 4.5rem); }

/* 5. BUTTONS & LINKS ======================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.92em 1.95em;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sand-50); background: var(--ocean-900);
  border-radius: var(--radius-pill);
  border: 1px solid var(--ocean-900);
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ocean-950); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(27,43,39,0.4); }
.btn--ghost:hover { background: var(--ocean-900); border-color: var(--ocean-900); color: var(--sand-50); }
.btn--on-dark.btn--ghost { color: var(--sand-50); border-color: rgba(255,255,255,0.55); }
.btn--on-dark.btn--ghost:hover { background: var(--sand-50); border-color: var(--sand-50); color: var(--ocean-950); }

.btn--gold { background: var(--gold-500); border-color: var(--gold-500); color: var(--ocean-950); }
.btn--gold:hover { background: var(--ocean-900); border-color: var(--ocean-900); color: var(--sand-50); }

.btn--light { background: var(--sand-50); border-color: var(--sand-50); color: var(--ocean-950); }
.btn--light:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ocean-950); }

.btn--sm { padding: 0.74em 1.5em; font-size: 0.7rem; letter-spacing: 0.16em; }
.btn--block { display: flex; width: 100%; }

.link-underline {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}
.link-underline:hover { background-size: 100% 1.5px; color: var(--accent-strong); }
.link-underline .arrow { transition: transform 0.35s var(--ease); }
.link-underline:hover .arrow { transform: translateX(5px); }
.section--dark .link-underline, .section--deep .link-underline { color: var(--sand-100); }

/* 6. HEADER / NAVIGATION =================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; line-height: 1; color: var(--sand-50); }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.14em; }
.brand__tag { font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase; margin-top: 5px; opacity: 0.82; font-weight: 400; }

/* Logo (white on dark headers/footer, black on light/scrolled headers) */
.brand__logo { height: 50px; width: auto; display: block; }
.brand__logo--dark { display: none; }
.site-header.is-scrolled .brand__logo--light,
.site-header--solid .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--dark,
.site-header--solid .brand__logo--dark { display: block; }
.site-footer .brand__logo { height: 58px; }
@media (max-width: 560px) { .brand__logo { height: 40px; } .site-footer .brand__logo { height: 48px; } }

.site-header.is-scrolled {
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(27, 43, 39, 0.08);
  box-shadow: 0 6px 24px rgba(11, 33, 29, 0.06);
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav__link,
.site-header.is-scrolled .nav-toggle { color: var(--ink); }

/* When page has no dark hero behind header, force solid look */
.site-header--solid { background: rgba(251, 248, 241, 0.92); backdrop-filter: blur(14px); border-bottom-color: rgba(27,43,39,0.08); }
.site-header--solid .brand,
.site-header--solid .nav__link,
.site-header--solid .nav-toggle { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(0.85rem, 1.5vw, 1.6rem); }
.nav__link {
  display: inline-flex; align-items: center; line-height: 1;
  color: var(--sand-50); font-size: 0.74rem; letter-spacing: 0.11em;
  text-transform: uppercase; font-weight: 400; position: relative; padding: 10px 0;
  transition: color 0.3s var(--ease);
}
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__link:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width 0.35s var(--ease);
}
.nav__link:not(.btn):hover::after { width: 100%; }
.nav__link:hover { color: var(--accent); }
.nav__link.btn:hover { color: var(--ocean-950); }
.nav__link .caret { display: inline-block; margin-left: 4px; font-size: 0.7em; transition: transform 0.3s var(--ease); }
.nav__item:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 210px; background: var(--sand-50); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 10px; border: 1px solid rgba(27,43,39,0.06);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px; color: var(--ink);
  font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 400;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__dropdown a:hover { background: var(--sand-100); color: var(--accent-strong); }

.nav-toggle { display: none; color: var(--sand-50); font-size: 1.7rem; line-height: 1; padding: 6px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ocean-950);
  padding: calc(var(--header-h) + 1rem) 1.6rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.nav-drawer.is-open { transform: translateX(0); visibility: visible; }
.nav-drawer__close { position: absolute; top: 26px; right: 22px; color: var(--sand-50); font-size: 2rem; }
.nav-drawer a { display: block; color: var(--sand-100); font-family: var(--font-display); font-size: 1.7rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-drawer a:hover { color: var(--gold-400); }
.nav-drawer .nav-drawer__sub { padding-left: 1rem; }
.nav-drawer .nav-drawer__sub a { font-size: 1.15rem; opacity: 0.85; }
.nav-drawer__cta { margin-top: 1.8rem; }
body.no-scroll { overflow: hidden; }

/* 7. HERO ================================================================== */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: var(--sand-50); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,33,29,0.55) 0%, rgba(11,33,29,0.28) 42%, rgba(11,33,29,0.72) 100%);
}
.hero__inner { padding-block: calc(var(--header-h) + 3rem) 5rem; }
.hero__eyebrow {
  font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 400;
  margin-bottom: 1.4rem; color: var(--sand-100);
}
.hero__title { color: var(--sand-50); max-width: 15ch; margin-bottom: 1.5rem; }
.hero__sub { max-width: 46ch; color: rgba(251,248,241,0.9); font-size: clamp(1.05rem, 1.3vw, 1.28rem); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band .hero__actions, .section--deep .hero__actions, .text-center .hero__actions { justify-content: center; }

/* Compact page hero (interior pages) */
.pagehero {
  position: relative; min-height: 62vh; display: grid; align-items: end;
  color: var(--sand-50); overflow: hidden;
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,33,29,0.35), rgba(11,33,29,0.78)); }
.pagehero__inner { padding-block: calc(var(--header-h) + 2rem) clamp(2.5rem, 5vw, 4rem); }
.pagehero__title { color: var(--sand-50); margin-bottom: 0.8rem; }
.pagehero .eyebrow { color: var(--gold-400); }
.pagehero__sub { max-width: 52ch; color: rgba(251,248,241,0.88); }

/* scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.scroll-cue span { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(251,248,241,0.8); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--sand-50), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 8. SECTION FURNITURE ===================================================== */
.eyebrow {
  display: inline-block; font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500; color: var(--accent-strong); margin-bottom: 1.1rem;
}
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--gold-400); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.head-row .section-head { margin-bottom: 0; }

.rule { width: 54px; height: 2px; background: var(--accent); margin: 1.3rem 0; border: 0; }
.rule--center { margin-inline: auto; }

/* 9. COMPONENTS ============================================================ */

/* Feature split (image + text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature__media { position: relative; }
.feature__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; object-fit: cover; }
.feature__media--tall img { aspect-ratio: 3 / 4; }
.feature__badge {
  position: absolute; inset-inline-start: -22px; bottom: -22px;
  background: var(--gold-500); color: var(--ocean-950);
  padding: 1.1rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow-md);
  max-width: 210px; font-size: 0.86rem; line-height: 1.4;
}
.feature__badge strong { font-family: var(--font-display); font-size: 1.5rem; display: block; }

.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.5; color: var(--ink); }
.quote-block { display: flex; gap: 1.2rem; align-items: center; margin-top: 2.2rem; }
.quote-block img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: none; }

/* Pillar / wellness cards */
.pillar { }
.pillar__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 11; margin-bottom: 1.3rem; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.07); }
.pillar h3 { margin-bottom: 0.7rem; }
.pillar__list li { position: relative; padding-left: 1.4rem; margin-bottom: 0.4rem; font-size: 0.96rem; color: var(--ink-soft); }
.section--dark .pillar__list li, .section--deep .pillar__list li { color: rgba(245,239,226,0.72); }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Collection Yoruba name (kicker above heading) */
.collection-name { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--gold-600); margin-bottom: 0.4rem; }
.collection-name__mean { display: block; font-style: normal; font-family: var(--font-sans); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.5rem; }
.section--dark .collection-name, .section--deep .collection-name { color: var(--gold-400); }
.section--dark .collection-name__mean, .section--deep .collection-name__mean { color: rgba(245,239,226,0.6); }

/* Collection / chalet cards */
.collection-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3; display: block; box-shadow: var(--shadow-sm);
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.collection-card:hover img { transform: scale(1.06); }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,33,29,0.86) 4%, rgba(11,33,29,0.15) 48%, transparent 74%); }
.collection-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.4rem, 2.5vw, 2.1rem); z-index: 2; color: var(--sand-50); }
.collection-card__meta { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.5rem; }
.collection-card__title { color: var(--sand-50); margin-bottom: 0.4rem; }
.collection-card__desc { font-size: 0.95rem; color: rgba(251,248,241,0.86); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.5s var(--ease); }
.collection-card:hover .collection-card__desc { max-height: 6rem; opacity: 1; margin-top: 0.3rem; }

/* Named chalet chip grid */
.name-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.name-card {
  background: var(--sand-50); border: 1px solid rgba(27,43,39,0.08); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.name-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.name-card__name { font-family: var(--font-display); font-size: 1.6rem; color: var(--ocean-800); }
.name-card__pron { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-faint); text-transform: uppercase; margin-top: 2px; }
.name-card__meaning { margin-top: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }
.name-card__meaning b { color: var(--accent-strong); font-weight: 500; }

/* Amenity / feature list */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.2rem 2rem; }
.amenity { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid rgba(27,43,39,0.1); }
.section--dark .amenity, .section--deep .amenity { border-top-color: rgba(255,255,255,0.12); }
.amenity__icon { flex: none; width: 26px; height: 26px; color: var(--accent); }
.amenity h4 { font-family: var(--font-sans); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 2px; }
.amenity p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }
.section--dark .amenity p { color: rgba(245,239,226,0.66); }

/* Tag pills */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tag { padding: 0.55em 1.2em; border-radius: var(--radius-pill); background: var(--sand-200); color: var(--ocean-800); font-size: 0.85rem; font-family: var(--font-display); }
.section--dark .tag, .section--deep .tag { background: rgba(255,255,255,0.08); color: var(--sand-100); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-400); line-height: 1; }
.stat__label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.6rem; color: rgba(245,239,226,0.75); }

/* Split-slide booking (the Ziba effect) */
.split { display: flex; min-height: 560px; }
.split__panel {
  position: relative; flex: 1 1 0; overflow: hidden; color: var(--sand-50);
  display: grid; place-items: center; text-align: center;
  transition: flex-grow 0.7s var(--ease);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.split__panel:last-child { border-right: 0; }
.split__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.split__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,33,29,0.5); transition: background 0.6s var(--ease); }
.split:hover .split__panel { flex-grow: 0.7; }
.split:hover .split__panel:hover { flex-grow: 1.7; }
.split__panel:hover img { transform: scale(1.06); }
.split__panel:hover::after { background: rgba(11,33,29,0.34); }
.split__label { font-family: var(--font-display); font-style: italic; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.05; margin-bottom: 1.6rem; color: var(--sand-50); }
.split__meta { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.4rem; color: rgba(251,248,241,0.82); }
.split__inner { padding: 2rem; max-width: 30ch; }
.split__badge { display: inline-block; margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }

/* Booking option row */
.book-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.book-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--sand-50);
  border: 1px solid rgba(27,43,39,0.09); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.book-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.book-link h4 { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; margin: 0; }
.book-link p { margin: 2px 0 0; font-size: 0.84rem; color: var(--ink-faint); }
.book-link .arrow { color: var(--accent); font-size: 1.2rem; }
.book-link.is-soon { opacity: 0.85; }
.book-link .pill-soon { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; background: var(--sand-200); color: var(--ocean-800); padding: 4px 10px; border-radius: var(--radius-pill); }

/* Gallery */
.gallery { columns: 3; column-gap: 1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery__item img { width: 100%; transition: transform 0.9s var(--ease), filter 0.5s var(--ease); }
.gallery__item::after { content: "⤢"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: rgba(11,33,29,0.28); opacity: 0; transition: opacity 0.4s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,22,19,0.94); display: grid; place-items: center; padding: 4vw; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; font-size: 2.2rem; padding: 12px; opacity: 0.8; transition: opacity 0.3s var(--ease); }
.lightbox__close { top: 18px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; color: var(--sand-50); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: rgba(11,33,29,0.68); }
.cta-band .container { position: relative; }

/* Info / contact cards */
.info-card { background: var(--sand-50); border: 1px solid rgba(27,43,39,0.08); border-radius: var(--radius); padding: 1.8rem; height: 100%; }
.info-card h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.info-card__icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 1rem; }
.info-card a { color: var(--ocean-700); }
.info-card a:hover { color: var(--accent-strong); }

/* FAQ (native details/summary) */
.faq { display: grid; gap: 0.8rem; }
.faq__item { background: var(--sand-50); border: 1px solid rgba(27,43,39,0.1); border-radius: var(--radius); padding: 0 1.4rem; transition: box-shadow 0.3s var(--ease); }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 0; font-family: var(--font-display); font-size: 1.12rem; color: var(--ocean-800); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.4rem; color: var(--accent); transition: transform 0.3s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.2rem; color: var(--ink-soft); font-size: 0.98rem; }
.faq__a a { color: var(--ocean-700); text-decoration: underline; text-underline-offset: 3px; }

/* Map frame */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(27,43,39,0.08); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid rgba(27,43,39,0.16);
  background: var(--sand-50); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(195,154,78,0.18); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Newsletter inline */
.newsletter { display: flex; gap: 0; max-width: 380px; border-radius: var(--radius-pill); overflow: hidden; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 0.9rem 1.2rem; color: var(--sand-50); }
.newsletter input::placeholder { color: rgba(245,239,226,0.5); }
.newsletter button { padding: 0 1.3rem; background: var(--gold-500); color: var(--ocean-950); }

/* 10. FOOTER =============================================================== */
.site-footer { background: var(--ocean-950); color: rgba(245,239,226,0.8); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); margin-bottom: 3rem; }
.footer-brand .brand { color: var(--sand-50); margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.2rem; font-weight: 500; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--sand-50); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ocean-950); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* 11. LEGAL / PROSE ======================================================== */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.6rem; margin-bottom: 0.9rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: 0.6rem; font-family: var(--font-sans); font-weight: 600; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul { margin-bottom: 1rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--ocean-700); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.legal-meta { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 2rem; }
.toc { background: var(--sand-50); border: 1px solid rgba(27,43,39,0.08); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2.4rem; }
.toc h4 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.8rem; }
.toc a { display: block; padding: 3px 0; color: var(--ocean-700); font-size: 0.92rem; }
.toc a:hover { color: var(--accent-strong); }

/* 12. REVEAL ANIMATION UTILITIES =========================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* 13. UTILITIES ============================================================ */
.text-center { text-align: center; }
/* layout helpers (replace one-off inline styles) */
.span-2 { grid-column: span 2; }
.ar-wide { aspect-ratio: 16 / 10; }
.ar-portrait { aspect-ratio: 3 / 4; }
.is-center { justify-content: center; }
.section--hero-offset { padding-top: calc(var(--header-h) + 3rem); }
.section--hero-offset-sm { padding-top: calc(var(--header-h) + 2.5rem); }
.full-height { min-height: 100vh; }
.quote--xl { color: var(--sand-50); font-size: clamp(1.5rem, 2.8vw, 2.3rem); max-width: 24ch; margin-inline: auto; }
.note-soon { color: var(--accent-strong); }
.text-muted-sm { font-size: 0.86rem; color: var(--ink-faint); }
/* CTA band self-styles its text so pages need no inline colour overrides */
.cta-band h2, .cta-band .h2 { color: var(--sand-50); }
.cta-band .lead, .cta-band p { color: rgba(251, 248, 241, 0.9); }
.cta-band .eyebrow { color: var(--gold-400); }
@media (max-width: 860px) { .span-2 { grid-column: span 1; } }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.max-60 { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.opacity-80 { opacity: 0.8; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.divider { height: 1px; background: rgba(27,43,39,0.1); border: 0; margin-block: clamp(3rem,6vw,5rem); }

/* 14. RESPONSIVE =========================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: -1; }
  .feature__badge { position: static; margin-top: 1.2rem; max-width: none; inset: auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split { flex-direction: column; }
  .split__panel { min-height: 340px; }
  .split:hover .split__panel, .split:hover .split__panel:hover { flex-grow: 1; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 1; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .feature__media img { aspect-ratio: 3 / 4; }
}
