/* ==========================================================================
   Planta Luxury Boutique Resort — homepage
   Design system: warm editorial luxury. Ivory + deep forest + brass.
   Type: Cormorant (display) / Montserrat (text).
   ========================================================================== */

/* Fonts are served from this site (latin subset, variable weight), so no request leaves for a font host. */
@font-face {
  font-family: "Cormorant"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("/fonts/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* colour */
  --bg: #FAF7F2;
  --sand: #EDE3D3;
  --surface: #FFFFFF;
  --ink: #1C1917;
  --ink-soft: #57534E;
  --line: #DDD5C7;
  --brass: #855608;        /* accent text on light, 5.9:1 on --bg */
  --gold: #D8B466;         /* accent on dark, button fill */
  --gold-hover: #E6C988;
  --forest: #14231C;
  --forest-2: #1E352A;
  --on-dark: #F5F0E6;
  --on-dark-soft: #CBC5B7;
  --line-dark: rgba(245, 240, 230, .18);
  --focus: var(--ink);

  /* type */
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1240px;
  --section: clamp(72px, 10vw, 148px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.75 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2.15rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--gold); color: var(--on-dark); }
/* sections on the warm sand ground: the ground and hairline tokens change, every component follows */
.on-sand { --bg: var(--sand); --line: #D6CAB6; background: var(--sand); }

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

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 14px 20px; background: var(--ink); color: var(--bg);
  text-decoration: none; font-weight: 600; font-size: .875rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }

/* ---------- shared atoms ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  color: var(--brass);
  font: 600 .75rem/1.4 var(--font-body);
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.on-dark .eyebrow { color: var(--gold); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
}
.on-dark .lead { color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: 22px; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); max-width: 60ch; }
.on-dark .section-head p:not(.eyebrow) { color: var(--on-dark-soft); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section-head--row h2 { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 22px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--forest-2); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(245, 240, 230, .14); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font: 600 .78rem/1.3 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
  cursor: pointer;
}
.link-arrow svg { transition: transform .3s var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--on-dark); }

/* ---------- reveal on scroll (only when JS is running) ---------- */

.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { position: relative; display: block; flex: none; width: 138px; height: 44px; }
.brand__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .35s var(--ease); }
.brand__logo--dark { opacity: 0; }

.nav { display: none; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 500 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer;
}

.site-header.is-scrolled {
  background: rgba(237, 227, 211, .94); /* --sand, so the bar reads as one piece with the sand sections */
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 #D6CAB6;
  color: var(--ink);
}
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.site-header:not(.is-scrolled) { --focus: #fff; }

@media (min-width: 480px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- mobile menu ---------- */

.menu {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--forest); color: var(--on-dark); --focus: var(--gold);
}
.menu[open] { display: flex; flex-direction: column; animation: menu-in .35s var(--ease); }
.menu::backdrop { background: var(--forest); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }

.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); flex: none; }
.menu__top img { width: 138px; height: 44px; object-fit: contain; object-position: left center; }
.menu__close { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }

.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px var(--gutter); overflow-y: auto; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font: 500 clamp(1.9rem, 8vw, 2.6rem)/1.15 var(--font-display); text-decoration: none;
}
.menu__nav a span { font: 500 .72rem/1 var(--font-body); letter-spacing: .18em; color: var(--gold); min-width: 22px; }
.menu__foot { display: grid; gap: 12px; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); flex: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(28px, 5vh, 56px);
  background: var(--forest);
  --focus: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 13, .62) 0%, rgba(10, 18, 13, .12) 26%, rgba(10, 18, 13, .30) 52%, rgba(10, 18, 13, .88) 100%);
}
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { animation: hero-drift 24s ease-out both; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content { position: relative; }
.hero .eyebrow { color: #fff; }
.hero h1 { max-width: 13ch; color: #fff; }
.hero h1 em { color: var(--gold-hover); }
.hero__lede { max-width: 54ch; margin: 26px 0 0; font-size: clamp(1rem, 1.25vw, 1.125rem); color: rgba(255, 255, 255, .92); }

/* booking bar */
.booking {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: clamp(28px, 4.5vh, 48px); max-width: 860px;
  background: rgba(16, 28, 22, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px;
}
.booking__field { position: relative; padding: 12px 16px 8px; border-bottom: 1px solid rgba(255, 255, 255, .18); min-width: 0; }
.booking__field + .booking__field { border-left: 1px solid rgba(255, 255, 255, .18); }
.booking label { display: block; font: 600 .68rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hover); }
.booking input[type="date"] {
  width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: #fff; font: 500 1rem/1.2 var(--font-body); color-scheme: dark; cursor: pointer;
}
.booking input[type="date"]:focus-visible { outline-offset: 6px; }
.booking .btn { grid-column: 1 / -1; margin: 12px; }
.booking__msg { grid-column: 1 / -1; margin: 0; padding: 0 16px 14px; font-size: .8125rem; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.booking__msg.is-error { color: #FFC9C0; font-weight: 500; }
/* the row only exists while there is a validation message to show */
.booking__msg:empty { display: none; }

.hero__toggle {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 16px);
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%;
  background: rgba(16, 28, 22, .45); color: #fff; cursor: pointer;
  transition: background-color .25s var(--ease);
}
.hero__toggle[hidden] { display: none; }
.hero__toggle:hover { background: rgba(16, 28, 22, .8); }
.hero__toggle .icon-play, .hero__toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }

@media (min-width: 760px) {
  .booking { grid-template-columns: 1fr 1fr auto; align-items: stretch; }
  .booking__field { border-bottom: 0; padding: 14px 22px 10px; }
  .booking .btn { grid-column: auto; margin: 10px; min-height: 56px; }
  .booking__msg { border-top: 1px solid rgba(255, 255, 255, .18); padding: 10px 22px 12px; }
}
/* the film toggle only drops to the bottom corner once the booking bar no longer spans the full width */
@media (min-width: 1100px) {
  .hero__toggle { top: auto; bottom: clamp(28px, 5vh, 56px); }
}

/* ==========================================================================
   The resort
   ========================================================================== */

.intro__grid { display: grid; gap: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 96px); }
.intro__text h2 { margin-bottom: 28px; }
.intro__text p:not(.eyebrow):not(.lead) { color: var(--ink-soft); max-width: 58ch; }
.intro__text .link-arrow { margin-top: 12px; }

/* the pool seen through three arched windows; the garden detail as a round medallion echoing the logo ring.
   The clip path (#intro-windows, in index.html) is drawn for a 5:4 image, so keep this aspect ratio. */
.intro__media { position: relative; padding: 0 0 16% 10%; }
.intro__windows { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; clip-path: url(#intro-windows); }
.intro__medal {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 10px solid var(--bg); outline: 1px solid var(--brass); outline-offset: 6px;
}

.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; padding: 24px 0; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(odd) { padding-right: 16px; }
.stats > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { font: 600 .72rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.stats dd { margin: 0 0 6px; font: 500 clamp(2.6rem, 5vw, 4rem)/1 var(--font-display); font-variant-numeric: lining-nums; }
.stats small { font-size: .4em; letter-spacing: .02em; color: var(--ink-soft); }

@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div { padding: 32px 0 32px 28px; border-left: 1px solid var(--line); border-bottom: 0; }
  .stats > div:first-child { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(odd) { padding-right: 0; }
}

/* ==========================================================================
   Suites
   ========================================================================== */


.suites__tabs {
  display: flex; gap: 0; margin: 0 calc(-1 * var(--gutter)) clamp(28px, 4vw, 48px); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.suites__tabs::-webkit-scrollbar { display: none; }
.suites__tab {
  position: relative; flex: 1 0 auto; min-width: 148px; scroll-snap-align: start;
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline;
  padding: 18px 20px 20px 0; text-decoration: none; cursor: pointer; color: var(--ink-soft);
  transition: color .25s var(--ease);
}
.suites__tab::after {
  content: ""; position: absolute; left: 0; right: 20px; bottom: -1px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.suites__tab-num { font: 500 .72rem/1 var(--font-body); letter-spacing: .16em; color: var(--brass); }
.suites__tab-name { font: 500 1.75rem/1.1 var(--font-display); color: inherit; }
.suites__tab-meta { grid-column: 2; margin-top: 4px; font-size: .78rem; line-height: 1.4; white-space: nowrap; }
.suites__tab:hover, .suites__tab[aria-selected="true"] { color: var(--ink); }
.suites__tab[aria-selected="true"]::after { transform: scaleX(1); }
.suites__tab:focus-visible { outline-offset: -3px; }

.suite { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.suite + .suite { margin-top: 72px; }
.js .suite + .suite { margin-top: 0; }
.js .suite:not(.is-active) { display: none; }
.js .suite.is-active { animation: suite-in .6s var(--ease); }
@keyframes suite-in { from { opacity: 0; transform: translateY(14px); } }

.suite__gallery { min-width: 0; }
.suite__frame { overflow: hidden; background: var(--line); aspect-ratio: 3 / 2; }
.suite__main { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease); }
.suite__main.is-swapping { opacity: 0; }
.suite__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumb {
  flex: 1 1 0; max-width: 132px; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--line);
  cursor: pointer; overflow: hidden; opacity: .62; transition: opacity .25s var(--ease);
  min-height: 44px;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { opacity: 1; outline: 1px solid var(--ink); outline-offset: 3px; }
.thumb:focus-visible { opacity: 1; outline: 2px solid var(--ink); outline-offset: 3px; }

.suite__num { margin: 0 0 6px; font: 400 italic 1.5rem/1 var(--font-display); color: var(--brass); }
.suite__body h3 { font-size: clamp(2.6rem, 5vw, 4.25rem); margin-bottom: 18px; }
.suite__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.suite__meta li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .8125rem; font-weight: 500; line-height: 1.5; }
.suite__body > p:not(.suite__num) { color: var(--ink-soft); max-width: 52ch; }
.suite__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 30px; }

.amenities { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: grid; gap: 24px 64px; }
.amenities h2, .amenities h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.amenities ul { columns: 2 220px; column-gap: 40px; }
.amenities li { position: relative; break-inside: avoid; padding: 7px 0 7px 22px; font-size: .9375rem; line-height: 1.5; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }

@media (min-width: 900px) {
  .suite { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .amenities { grid-template-columns: 240px 1fr; }
  .amenities ul { columns: 3 200px; }
}

/* ==========================================================================
   5 bedroom villa (exclusive use)
   ========================================================================== */

.villa { background: var(--forest); }
.villa__grid { display: grid; gap: clamp(40px, 7vw, 96px); align-items: center; }
.villa__media { position: relative; padding: 0 12% 16% 0; }
.villa__img-a { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.villa__img-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid var(--forest); border-right: 0; border-bottom: 0; }
.villa__text h2 { margin-bottom: 26px; }
.checklist { margin: 30px 0 0; border-top: 1px solid var(--line-dark); }
.checklist li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-soft); line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 1.45em; width: 14px; height: 7px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}
.villa__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }

@media (min-width: 900px) {
  .villa__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .villa__img-a { aspect-ratio: 4 / 5; }
}
@media (max-width: 899px) { .villa__img-a { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Experiences (bento)
   ========================================================================== */

.bento { display: grid; gap: 14px; }
.card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 340px; background: var(--forest); color: #fff; }
.card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 13, .05) 0%, rgba(10, 18, 13, .30) 30%, rgba(10, 18, 13, .78) 55%, rgba(10, 18, 13, .94) 100%); }
.card:hover img { transform: scale(1.05); }
.card__body { padding: clamp(22px, 2.6vw, 34px); }
.card__body h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 2.3vw, 2.1rem); }
.card__body p { max-width: 42ch; font-size: .9375rem; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.card--tall { min-height: 460px; }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--tall { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 360px; }
  .card { min-height: 0; }
}

/* ==========================================================================
   Dining
   ========================================================================== */

.dining { padding-bottom: clamp(48px, 7vw, 96px); }
.dining__grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dining__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 0 0; }
.dining__text h2 { margin-bottom: 26px; }
.dining__text p:not(.eyebrow):not(.lead) { color: var(--ink-soft); max-width: 54ch; }
.dining__text .link-arrow { margin-top: 12px; }

.dishes {
  display: flex; gap: 14px; margin-top: clamp(48px, 7vw, 88px); padding: 4px var(--gutter);
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.dishes img { flex: none; width: clamp(230px, 26vw, 340px); aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }

@media (min-width: 900px) {
  .dining__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .dining__media { max-width: 460px; }
}
@media (max-width: 899px) { .dining__media { max-width: 340px; } }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery { columns: 2; column-gap: 12px; }
.gallery__item { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; break-inside: avoid; }
.gallery__item img { width: 100%; transition: transform 1s var(--ease), opacity .3s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 16px; } .gallery__item { margin-bottom: 16px; } }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 18, 14, .96); color: #fff; --focus: var(--gold); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12, 18, 14, .96); }
.lightbox > img { max-width: min(92vw, 1400px); max-height: 82dvh; width: auto; height: auto; object-fit: contain; }
.lightbox__btn { position: absolute; display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(12, 18, 14, .6); cursor: pointer; transition: background-color .2s var(--ease); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; font-size: .8125rem; letter-spacing: .16em; }
@media (max-width: 699px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } }

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews { background: var(--forest); }
.reviews__grid { display: grid; gap: clamp(36px, 6vw, 88px); margin-bottom: clamp(36px, 5vw, 56px); }
.review { margin: 0; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.review blockquote { margin: 0 0 26px; }
.review blockquote p { font: 400 italic clamp(1.4rem, 2.1vw, 1.8rem)/1.42 var(--font-display); color: var(--on-dark); }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.review__name { font: 600 .78rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.review__from { font-size: .875rem; color: var(--on-dark-soft); }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Location
   ========================================================================== */

.location__grid { display: grid; gap: clamp(36px, 6vw, 88px); align-items: stretch; }
.location__text h2 { margin-bottom: 26px; }
.location__text > p:not(.eyebrow):not(.lead) { color: var(--ink-soft); max-width: 56ch; }
.facts { margin: 34px 0 36px; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .72rem/1.9 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.facts dd { margin: 0; line-height: 1.6; }
.location__map { min-height: 380px; background: var(--line); }
.location__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.7) contrast(1.02); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 170px 1fr; } }
@media (min-width: 900px) { .location__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__grid { display: grid; gap: clamp(32px, 6vw, 96px); }
.faq__head h2 { margin-bottom: 22px; }
.faq__head p:not(.eyebrow) { color: var(--ink-soft); max-width: 40ch; }
.faq__head .link-arrow { margin-top: 10px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 18px 0; list-style: none; cursor: pointer;
  font: 500 clamp(1.3rem, 1.9vw, 1.6rem)/1.25 var(--font-display);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brass); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-soft); max-width: 62ch; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */

.cta { position: relative; isolation: isolate; padding-block: clamp(96px, 14vw, 200px); text-align: center; background: var(--forest); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 20, 15, .72); }
.cta .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.cta h2 { max-width: 16ch; margin: 0 auto 22px; color: #fff; }
.cta p:not(.eyebrow) { max-width: 46ch; margin-inline: auto; color: rgba(255, 255, 255, .92); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: #0E1813; padding-top: clamp(56px, 8vw, 96px); font-size: .9375rem; color: var(--on-dark-soft); }
.site-footer__grid { display: grid; gap: 44px 48px; padding-bottom: clamp(48px, 6vw, 72px); }
.site-footer__brand img { width: 170px; height: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__title { margin-bottom: 18px; font: 600 .72rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.site-footer address { margin-bottom: 16px; line-height: 1.7; }
.site-footer__list li { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: center; }
.site-footer__list span { min-width: 104px; }
.site-footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--on-dark); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .8125rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 26px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 1.5fr .7fr .9fr; } }

/* ==========================================================================
   Floating actions
   ========================================================================== */

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: none; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px 0 18px;
  background: var(--forest); color: #fff; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font: 600 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 30px rgba(12, 20, 15, .28);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s var(--ease);
  --focus: var(--gold);
}
.wa-float:hover { background: var(--forest-2); }
.past-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }

.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.past-hero .mobile-bar { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.mobile-bar__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 2px; font: 600 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.mobile-bar .btn { min-height: 48px; }

@media (min-width: 768px) {
  .wa-float { display: inline-flex; }
  .mobile-bar { display: none; }
}
@media (max-width: 767px) { .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- page banner ---------- */
.page-hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: clamp(440px, 64vh, 660px);
  padding: calc(var(--header-h) + 56px) 0 clamp(40px, 6vw, 72px);
  background: var(--forest); --focus: #fff;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 18, 13, .5) 0%, rgba(10, 18, 13, .12) 62%, rgba(10, 18, 13, 0) 100%),
    linear-gradient(180deg, rgba(10, 18, 13, .64) 0%, rgba(10, 18, 13, .3) 30%, rgba(10, 18, 13, .58) 60%, rgba(10, 18, 13, .92) 100%);
}
.page-hero--plain { min-height: 0; padding-top: calc(var(--header-h) + 72px); }
.page-hero--plain::after { display: none; }
.page-hero__content { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.page-hero h1 { max-width: 18ch; color: #fff; font-size: clamp(2.6rem, 6vw, 4.75rem); }
.page-hero .eyebrow { color: #fff; }
.page-hero__lede { max-width: 58ch; margin: 22px 0 0; font-size: clamp(1rem, 1.2vw, 1.125rem); color: rgba(255, 255, 255, .92); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-bottom: 18px; font-size: .8125rem; color: rgba(255, 255, 255, .82); }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- text ---------- */
.prose { max-width: 720px; }
.prose > p { color: var(--ink-soft); }
.prose h2 { margin: 2em 0 .55em; font-size: clamp(1.75rem, 2.6vw, 2.3rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; }
.prose li { position: relative; padding: 7px 0 7px 22px; line-height: 1.6; color: var(--ink-soft); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }
.prose a { color: var(--brass); text-underline-offset: 4px; }
.note { margin-top: 28px; padding: 18px 22px; border-left: 2px solid var(--brass); background: var(--surface); color: var(--ink-soft); font-size: .9375rem; }

/* ---------- suite list (Studio & suites) ---------- */
.suite-row { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 72px); border-top: 1px solid var(--line); }
.suite-row:first-child { padding-top: 0; border-top: 0; }
.suite-row:last-child { padding-bottom: 0; }
.suite-row__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.suite-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.suite-row__media:hover img { transform: scale(1.04); }
.suite-row h2 { margin-bottom: 18px; font-size: clamp(2.5rem, 4.8vw, 4rem); }
.suite-row h2 a { text-decoration: none; }
.suite-row__body > p:not(.suite__num) { color: var(--ink-soft); max-width: 52ch; }
@media (min-width: 900px) {
  .suite-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .suite-row--flip .suite-row__media { order: 2; }
}

/* ---------- suite detail ---------- */
.detail { display: grid; gap: clamp(36px, 6vw, 88px); align-items: start; }
.detail__body h2 { margin-bottom: 22px; }
.detail__body .lead { margin-bottom: 1em; }
.detail__body > p:not(.eyebrow):not(.lead) { color: var(--ink-soft); max-width: 62ch; }
@media (min-width: 980px) {
  .detail { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .85fr); }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 36px 0 0; border-top: 1px solid var(--line); }
.keyfacts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font: 600 .72rem/1.6 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.keyfacts dd { margin: 2px 0 0; font: 500 1.5rem/1.2 var(--font-display); font-variant-numeric: lining-nums; }
@media (min-width: 640px) { .keyfacts { grid-template-columns: repeat(3, 1fr); } }

.book-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: var(--surface); }
.book-card h2 { margin-bottom: 8px; font-size: 2rem; }
.book-card > p { font-size: .9375rem; color: var(--ink-soft); }
.book-card .link-arrow { margin-top: 10px; }
.booking.booking--card {
  grid-template-columns: 1fr 1fr; max-width: none; margin-top: 20px;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--line); border-radius: 2px;
}
.booking--card .booking__field { padding: 12px 14px 8px; border-bottom: 1px solid var(--line); }
.booking--card .booking__field + .booking__field { border-left: 1px solid var(--line); }
.booking--card label { color: var(--brass); }
.booking--card input[type="date"] { color: var(--ink); color-scheme: light; }
.booking--card .btn { grid-column: 1 / -1; margin: 12px; min-height: 52px; }
.booking--card .booking__msg { grid-column: 1 / -1; padding: 0 14px 14px; border-top: 0; color: var(--ink-soft); }
.booking--card .booking__msg.is-error { color: #A32D2D; }
/* on narrow phones the two date fields stack, so the full date is always readable */
@media (max-width: 439px) {
  .booking.booking--card { grid-template-columns: 1fr; }
  .booking--card .booking__field + .booking__field { border-left: 0; }
}

/* ---------- photo grid (suite pages) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photo-grid .gallery__item { margin: 0; aspect-ratio: 4 / 3; }
.photo-grid .gallery__item img { height: 100%; object-fit: cover; }
.photo-grid .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .photo-grid .gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- small cards (other suites, bedrooms) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 16px; }
.mini { display: block; text-decoration: none; }
.mini__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mini:hover .mini__media img { transform: scale(1.05); }
.mini h3 { margin: 16px 0 4px; font-size: 1.8rem; }
.mini p { margin: 0; font-size: .875rem; color: var(--ink-soft); }
.on-dark .mini p { color: var(--on-dark-soft); }

/* ---------- feature rows (experiences) ---------- */
.feature { display: grid; gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 5vw, 60px); }
.feature:first-child { padding-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature__media { overflow: hidden; background: var(--line); }
.feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.feature__body > p:not(.eyebrow) { color: var(--ink-soft); max-width: 54ch; }
.feature__body .link-arrow, .feature__body .btn { margin-top: 14px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--flip .feature__media { order: 2; }
}

/* ---------- spaces (estate facilities) ---------- */
.spaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 20px; }
@media (min-width: 1000px) {
  /* three across; a last row of two shares the full width instead of leaving one card alone */
  .spaces { grid-template-columns: repeat(6, 1fr); }
  .space { grid-column: span 2; }
  .space:nth-child(3n+1):nth-last-child(2), .space:nth-child(3n+2):last-child { grid-column: span 3; }
}
.space img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.space h3 { margin: 18px 0 8px; font-size: 1.75rem; }
.space p { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--ink-soft); }
.on-dark .space p { color: var(--on-dark-soft); }

.split { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split h2 { margin-bottom: 22px; }
.on-dark .checklist + .villa__actions { margin-top: 36px; }
.checklist--light { border-top-color: var(--line); }
.checklist--light li { border-bottom-color: var(--line); color: var(--ink-soft); }
.checklist--light li::before { border-color: var(--brass); }

/* ---------- gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font: 500 .8125rem/1 var(--font-body); letter-spacing: .04em; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gallery__item[hidden] { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border: 1px solid var(--line); background: var(--surface); }
.contact-card h2 { font: 600 .72rem/1.6 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.contact-card a, .contact-card address { font: 500 1.45rem/1.3 var(--font-display); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-card a:hover { color: var(--brass); }
.contact-card p { margin: 0; font-size: .875rem; color: var(--ink-soft); }
.contact-card .contact-card__link { font: inherit; color: var(--brass); text-decoration: underline; text-underline-offset: 4px; }
.map-wide { min-height: 440px; background: var(--line); }
.map-wide iframe { width: 100%; height: clamp(440px, 60vh, 620px); border: 0; filter: saturate(.7) contrast(1.02); }

/* ---------- FAQ page ---------- */
.faq-group + .faq-group { margin-top: clamp(48px, 7vw, 88px); }

/* ==========================================================================
   Phones
   ========================================================================== */

@media (max-width: 699px) {
  /* slimmer fixed bars leave more of the screen for the page */
  :root { --header-h: 62px; }
  .brand { width: 118px; }
  .mobile-bar { padding-block: 8px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bar__wa, .mobile-bar .btn { min-height: 44px; }

  /* a long button label may wrap rather than push its column past the edge of the screen */
  .btn { max-width: 100%; padding: 8px 20px; line-height: 1.5; white-space: normal; text-align: center; }
  .split > *, .villa__grid > *, .detail > * { min-width: 0; }

  /* hero: the copy sits on the brightest part of the photo, so the scrim is heavier here */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10, 18, 13, .58) 0%, rgba(10, 18, 13, .16) 18%, rgba(10, 18, 13, .56) 42%, rgba(10, 18, 13, .92) 100%);
  }
  .hero h1 em { white-space: nowrap; }

  /* experiences: one swipeable row instead of five stacked screens */
  .bento {
    display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento .card { flex: none; width: 84%; min-height: 420px; scroll-snap-align: start; }

  /* suite cards: two across instead of a long single column; an odd last card takes the full row */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .cards .mini:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cards .mini:last-child:nth-child(odd) .mini__media { aspect-ratio: 16 / 9; }

  /* suite photos: an odd last photo takes the full row instead of leaving a gap */
  .photo-grid .gallery__item:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

  /* footer: the two lists of links sit side by side */
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .site-footer__grid > :nth-child(-n+2) { grid-column: 1 / -1; }
}

@media (max-width: 359px) {
  .booking__field { padding-inline: 10px; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__poster { animation: none; }
}
