/* ============================================================
   NIRVANA VILLAS BY CLEDOR — styles.css
   Replace placeholders in /images/ and update --bronze, --olive
   etc. here to tune the palette.
   ============================================================ */

:root {
  /* Palette — warm ivory, stone, bronze (from brochure mood) */
  --ivory:        #F4EFE5;
  --cream:        #EDE5D2;
  --sand:         #E4DAC2;
  --stone:        #D7CDB7;
  --ink:          #26241D;
  --ink-soft:     #4A453B;
  --muted:        #857F70;
  --hairline:     rgba(38, 36, 29, 0.12);
  --hairline-2:   rgba(38, 36, 29, 0.06);
  --bronze:       #8A6E48;
  --bronze-soft:  #B59770;
  --olive:        #717A5C;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", "Garamond", serif;
  --sans:  "Helvetica Neue", "Helvetica", "Arial", "Jost", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --pad-x:        clamp(20px, 5vw, 96px);
  --pad-section:  clamp(80px, 12vw, 180px);
  --max:          1480px;

  /* Motion */
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1.5px solid var(--bronze); outline-offset: 3px; }

/* -------- Type primitives -------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.04;
  color: var(--ink);
  font-feature-settings: "liga", "kern";
}
.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
.rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--ink);
  opacity: 0.5;
  margin: 0 0 28px;
}

/* -------- Layout -------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { position: relative; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 22px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: background 600ms var(--ease), border-color 600ms var(--ease), padding 400ms var(--ease), color 600ms var(--ease);
  color: #F4EFE5;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(244, 239, 229, 0.96);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom-color: var(--hairline);
  color: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo — image-based, centered */
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo > img {
  display: block;
  height: 48px;
  width: auto;
  transition: opacity 480ms var(--ease);
}
.header .logo .logo-ink { position: absolute; inset: 0; margin: auto; opacity: 0; }
.header.is-solid .logo .logo-white { opacity: 0; }
.header.is-solid .logo .logo-ink   { opacity: 1; }
.header.is-solid .logo > img { height: 42px; }

/* Nav — split left + right of the centered logo */
.nav { display: flex; align-items: center; gap: 32px; }
.nav-left  { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }
.nav > a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: opacity 200ms var(--ease);
  opacity: 0.9;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms var(--ease);
}
.nav > a:not(.btn):hover { opacity: 1; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

/* CTA button shared */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  transition: background 360ms var(--ease), color 360ms var(--ease), border-color 360ms var(--ease), transform 360ms var(--ease);
  cursor: pointer;
}
.btn.is-filled {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.btn:hover { background: var(--bronze); color: var(--ivory); border-color: var(--bronze); }
.btn.is-filled:hover { background: var(--bronze); border-color: var(--bronze); }
.btn.is-small { padding: 11px 18px; font-size: 11px; }

/* Mobile menu trigger */
.menu-trigger {
  display: none;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 0;
}
.menu-trigger span {
  display: block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.menu-trigger span::before, .menu-trigger span::after {
  content: ""; position: absolute; left: 0; width: 14px; height: 1px;
  background: currentColor;
}
.menu-trigger span::before { top: -5px; }
.menu-trigger span::after  { top:  5px; }

/* Mobile menu overlay */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 22px var(--pad-x) 48px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.m-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.m-menu-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 64px;
}
.m-menu-close {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  position: relative;
}
.m-menu-close::before, .m-menu-close::after {
  content: ""; position: absolute;
  width: 16px; height: 1px; background: var(--ink);
}
.m-menu-close::before { transform: rotate(45deg); }
.m-menu-close::after  { transform: rotate(-45deg); }

.m-menu-links { display: flex; flex-direction: column; gap: 4px; }
.m-menu-links a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  padding: 8px 0;
  display: block;
  transition: color 320ms var(--ease), transform 320ms var(--ease);
}
.m-menu-links a:hover { color: var(--bronze); transform: translateX(6px); }
.m-menu-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  color: var(--ivory);
}
.hero-media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-media .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 2400ms var(--ease);
}
.hero-media .img picture { display: block; width: 100%; height: 100%; }
.hero-media .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero.is-loaded .hero-media .img { transform: scale(1); }
.hero-media::after {
  /* soft overlay — strong at bottom, fades to clear at top so the hero image stays open */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.12) 20%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(64px, 9vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
}
.hero-eyebrow {
  color: rgba(244,239,229,0.85);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--bronze-soft);
  border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 8.4vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin: 0 0 22px;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  color: var(--ivory);
  font-weight: 300;
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
  color: rgba(244,239,229,0.86);
  max-width: 46ch;
  margin: 0 0 32px;
  font-weight: 300;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: clamp(13px, 0.95vw, 15px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,229,0.92);
  white-space: nowrap;
}
.hero-points .hp-dot {
  width: 6px;
  height: 6px;
  background: var(--bronze-soft);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 6px;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero .btn { border-color: rgba(244,239,229,0.6); color: var(--ivory); }
.hero .btn.is-filled { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero .btn:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ivory); }

/* Hero stagger on load */
.hero .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.hero.is-loaded .stagger > * { opacity: 1; transform: translateY(0); }
.hero.is-loaded .stagger > *:nth-child(1) { transition-delay: 200ms; }
.hero.is-loaded .stagger > *:nth-child(2) { transition-delay: 400ms; }
.hero.is-loaded .stagger > *:nth-child(3) { transition-delay: 700ms; }
.hero.is-loaded .stagger > *:nth-child(4) { transition-delay: 900ms; }
.hero.is-loaded .stagger > *:nth-child(5) { transition-delay: 1100ms; }

/* Scroll cue — centered beneath the hero CTAs */
.scroll-cue {
  margin-top: 30px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(244,239,229,0.8);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(244,239,229,0.7), rgba(244,239,229,0));
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -40%; left: 0;
  width: 1px; height: 40%;
  background: var(--bronze-soft);
  animation: cue 2400ms var(--ease) infinite;
}
@keyframes cue {
  0%   { top: -40%; opacity: 0; }
  20%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Hero side meta — small line on left */
.hero-meta {
  position: absolute;
  left: var(--pad-x);
  bottom: 38px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,239,229,0.7);
  display: flex; align-items: center; gap: 14px;
}
.hero-meta .pipe { width: 1px; height: 14px; background: rgba(244,239,229,0.5); }

/* ============================================================
   PLACEHOLDER IMAGE SYSTEM
   Striped warm-toned blocks with monospace label.
   Replace .ph elements with real <img src="/images/..."> tags.
   ============================================================ */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(38,36,29,0.05) 0px,
      rgba(38,36,29,0.05) 1px,
      transparent 1px,
      transparent 14px),
    linear-gradient(160deg, var(--sand) 0%, var(--stone) 60%, #C5B99B 100%);
  color: var(--ink);
  overflow: hidden;
}
.ph.is-dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(244,239,229,0.06) 0px,
      rgba(244,239,229,0.06) 1px,
      transparent 1px,
      transparent 14px),
    linear-gradient(160deg, #5b5746 0%, #3a3729 55%, #26241D 100%);
  color: var(--ivory);
}
.ph.is-olive {
  background:
    repeating-linear-gradient(135deg,
      rgba(38,36,29,0.06) 0px,
      rgba(38,36,29,0.06) 1px,
      transparent 1px,
      transparent 14px),
    linear-gradient(160deg, #8a906e 0%, #5e6549 55%, #424733 100%);
  color: var(--ivory);
}
.ph .ph-label {
  position: absolute;
  left: 18px; bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.7;
  text-transform: lowercase;
}
.ph .ph-label::before { content: "/images/"; opacity: 0.55; }
.ph .ph-tag {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
}
/* Optional soft circle motif (still simple — circle only) */
.ph .ph-circle {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.25;
  right: -8%;
  top: -8%;
}

/* ============================================================
   REVEAL ANIMATIONS (intersection observer driven)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms var(--ease), transform 1100ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal > * {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
  transition: clip-path 1400ms var(--ease), transform 1800ms var(--ease);
  transition-delay: var(--reveal-delay, 100ms);
}
.img-reveal.is-in > * {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* ============================================================
   1. INTRO EDITORIAL
   ============================================================ */
.intro {
  padding: var(--pad-section) 0;
  text-align: center;
}
.intro .display {
  font-size: clamp(38px, 5.4vw, 76px);
  margin: 0 auto 32px;
  max-width: 16ch;
}
.intro .lede {
  margin: 0 auto;
  text-align: center;
}
.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--hairline);
}
.intro-highlights > div {
  padding: 36px 24px;
  border-right: 1px solid var(--hairline);
  text-align: center;
}
.intro-highlights > div:last-child { border-right: none; }
.intro-highlights .num {
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}
.intro-highlights .num sup {
  font-size: 0.4em;
  vertical-align: top;
  letter-spacing: 0.08em;
  font-family: var(--sans);
  font-weight: 400;
  margin-left: 4px;
  color: var(--bronze);
}
.intro-highlights .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   2. EXPERIENCE HERO — full-bleed image with centred overlay
   ============================================================ */
.experience-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
}
.experience-hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.experience-hero .bg picture { display: block; width: 100%; height: 100%; }
.experience-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.experience-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,12,0.35), rgba(20,18,12,0.55));
  z-index: 1;
}
.experience-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.experience-hero .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  letter-spacing: 0.32em;
}
.experience-hero .display {
  color: var(--ivory);
  font-size: clamp(38px, 5.4vw, 76px);
  margin: 0 auto 28px;
  max-width: 18ch;
}
.experience-hero p {
  color: rgba(244, 239, 229, 0.86);
  font-size: clamp(15px, 1.1vw, 17px);
  margin: 0 auto;
  max-width: 56ch;
  line-height: 1.7;
}

/* ============================================================
   2. VILLA EXPERIENCE — image left / text right
   ============================================================ */
.experience {
  padding: var(--pad-section) 0;
  background: var(--cream);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.experience-media {
  aspect-ratio: 3 / 2;
  position: relative;
}
.experience-media .ph { position: absolute; inset: 0; }

/* Exterior slider — contained inside the left grid cell */
.exp-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.exp-track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: smooth;
}
.exp-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.exp-track::-webkit-scrollbar { display: none; }

.exp-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
}
.exp-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.exp-slide figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(20, 18, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ivory);
}
.exp-slide .cap-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--bronze-soft);
}
.exp-slide .cap-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.exp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 239, 229, 0.5);
  background: rgba(20, 18, 12, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 360ms var(--ease), border-color 360ms var(--ease), opacity 300ms var(--ease);
}
.exp-arrow.prev { left: 18px; }
.exp-arrow.next { right: 18px; }
.exp-arrow:hover { background: var(--bronze); border-color: var(--bronze); }
.exp-arrow:disabled { opacity: 0.25; cursor: not-allowed; }
.exp-arrow:disabled:hover { background: rgba(20, 18, 12, 0.35); border-color: rgba(244, 239, 229, 0.5); }

.exp-progress {
  position: absolute;
  right: 22px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ivory);
}
.exp-count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  display: inline-flex;
  gap: 6px;
}
.exp-count .sep { opacity: 0.55; }
.exp-count [data-slider-total] { opacity: 0.6; }
.exp-bar {
  position: relative;
  width: 88px;
  height: 1px;
  background: rgba(244, 239, 229, 0.32);
  overflow: hidden;
}
.exp-bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14%;
  background: var(--ivory);
  transition: width 600ms var(--ease);
}

@media (max-width: 960px) {
  .experience-media { aspect-ratio: 3 / 2; }
  .exp-arrow { width: 40px; height: 40px; }
  .exp-arrow.prev { left: 10px; }
  .exp-arrow.next { right: 10px; }
  .exp-progress { right: 14px; bottom: 16px; }
  .exp-bar { width: 60px; }
}
.experience-text .eyebrow { margin-bottom: 18px; display: block; }
.experience-text .display {
  font-size: clamp(34px, 4.4vw, 58px);
  margin: 0 0 24px;
}
.experience-text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
}
.experience-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.experience-list li {
  padding: 18px 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--hairline);
}
.experience-list li::before {
  content: "";
  width: 6px; height: 1px;
  background: var(--bronze);
  display: inline-block;
}

/* ============================================================
   2b. INTERIORS — horizontal slider with labels below tiles
   ============================================================ */
.interiors {
  padding: var(--pad-section) 0;
  background: var(--cream);
  overflow: hidden;
}
.interiors-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 80px);
}
.interiors-head .display {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 0;
  max-width: 14ch;
}
.interiors-head .lede { margin: 0; }

.interiors-slider .slide {
  /* override default slide width for these wider editorial tiles */
  width: min(64vw, 760px);
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.interior-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.interior-media .ph {
  position: absolute;
  inset: 0;
  transition: transform 1400ms var(--ease);
}
.interior-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1400ms var(--ease);
}
.interiors-slider .slide:hover .interior-media > img { transform: scale(1.03); }
.interiors-slider .slide:hover .interior-media .ph { transform: scale(1.03); }

.interior-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 18px;
  row-gap: 8px;
  padding-top: 22px;
}
.interior-meta .num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--bronze);
  grid-row: span 2;
  align-self: start;
  padding-top: 6px;
}
.interior-meta h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.interior-meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 44ch;
  grid-column: 2;
}

@media (max-width: 960px) {
  .interiors-head { grid-template-columns: 1fr; gap: 24px; }
  .interiors-slider .slide { width: 84vw; }
  .interior-meta h3 { font-size: 22px; }
}

/* ============================================================
   3. WELLNESS — horizontal slider (mirrors .interiors)
   ============================================================ */
.wellness {
  padding: var(--pad-section) 0;
  background: var(--ivory);
  overflow: hidden;
}
.wellness-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 80px);
}
.wellness-head .display {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 0;
  max-width: 14ch;
}
.wellness-head .lede { margin: 0; }

.wellness-slider .slide {
  width: min(64vw, 760px);
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.wellness-slider .slide:hover .interior-media > img { transform: scale(1.03); }
.wellness-slider .slide:hover .interior-media .ph { transform: scale(1.03); }

@media (max-width: 960px) {
  .wellness-head { grid-template-columns: 1fr; gap: 24px; }
  .wellness-slider .slide { width: 84vw; }
}

/* ============================================================
   3. FEATURE CARDS — Pool, Sauna, Outdoor Shower
   ============================================================ */
.features {
  padding: var(--pad-section) 0;
}
.features-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.features-head .display {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 0;
  max-width: 14ch;
}
.features-head .lede { margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  cursor: default;
}
.feature-card .media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.feature-card .media .ph {
  position: absolute; inset: 0;
  transition: transform 1200ms var(--ease);
}
.feature-card .media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1200ms var(--ease);
}
.feature-card:hover .media > img { transform: scale(1.04); }
.feature-card:hover .media .ph { transform: scale(1.04); }
.feature-card .num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--bronze);
}
.feature-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: transform 400ms var(--ease);
}
.feature-card:hover h3 { transform: translateX(4px); }
.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* ============================================================
   4. INVESTMENT — warm stone background
   ============================================================ */
.invest {
  padding: var(--pad-section) 0;
  background: var(--stone);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.invest::before {
  /* faint texture */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(38,36,29,0.04) 0 1px, transparent 1px 22px);
  pointer-events: none;
  opacity: 0.6;
}
.invest .wrap { position: relative; z-index: 1; }
.invest-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.invest-head .display {
  font-size: clamp(32px, 4.2vw, 56px);
  margin: 12px 0 0;
  max-width: 14ch;
}
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(38,36,29,0.18);
}
.invest-grid > div {
  padding: 40px 28px 36px;
  border-right: 1px solid rgba(38,36,29,0.18);
  border-bottom: 1px solid rgba(38,36,29,0.18);
  transition: background 400ms var(--ease);
}
.invest-grid > div:hover { background: rgba(244,239,229,0.4); }
.invest-grid > div:nth-child(3n) { border-right: none; }
.invest-grid .stat,
.invest-market .stat {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.invest-grid .stat sup,
.invest-market .stat sup {
  font-size: 0.4em;
  font-family: var(--sans);
  vertical-align: top;
  color: var(--bronze);
  letter-spacing: 0.08em;
  margin-left: 3px;
}
.invest-grid .label,
.invest-market .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.invest-grid p,
.invest-market p {
  font-size: 14px;
  line-height: 1.65;
  margin: 6px 0 0;
  color: var(--ink-soft);
}

/* Market context — visually separated band */
.invest-market {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(32px, 4vw, 48px) 0 0;
  border-top: 1px solid rgba(38,36,29,0.18);
}
.invest-market-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  flex-wrap: wrap;
}
.market-tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.market-tag::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
}
.market-intro {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 48ch;
  font-style: italic;
  font-family: var(--serif);
}
.invest-market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}
.market-stat {
  padding: 24px 0 0;
  border-top: 1px solid rgba(38,36,29,0.12);
}
.market-stat .stat {
  font-size: clamp(48px, 6vw, 84px);
}
.market-stat p { max-width: 38ch; }
.invest-foot {
  margin-top: 36px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ============================================================
   FLOOR PLANS
   ============================================================ */
.plans {
  padding: var(--pad-section) 0;
  background: var(--cream);
}
.plans-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.plans-head .display {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 0;
  max-width: 18ch;
}
.plans-head .lede { margin: 0; }

.plans-tabs {
  display: inline-flex;
  margin-bottom: clamp(40px, 5vw, 64px);
  border: 1px solid var(--hairline);
  background: rgba(244, 239, 229, 0.4);
}
.plan-tab {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 28px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 320ms var(--ease), color 320ms var(--ease);
}
.plan-tab + .plan-tab { border-left: 1px solid var(--hairline); }
.plan-tab .tab-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--bronze);
}
.plan-tab .tab-label {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  color: inherit;
}
.plan-tab:hover { color: var(--ink); }
.plan-tab.is-active {
  background: var(--ink);
  color: var(--ivory);
}
.plan-tab.is-active .tab-num { color: var(--bronze-soft); }

.plan-panel { display: block; }
.plan-panel[hidden] { display: none; }

.plan-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.plan-specs .eyebrow { display: block; margin-bottom: 14px; }
.plan-specs h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.plan-keyvals {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--hairline);
}
.plan-keyvals li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.plan-keyvals .k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-keyvals .v {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}
.plan-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 38ch;
}

.plan-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
}
.plan-image {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-image[data-plan-zoom] {
  cursor: zoom-in;
}
.plan-image[data-plan-zoom]::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(20, 18, 12, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 14px 1px, 1px 14px;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--ivory);
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
}
.plan-image[data-plan-zoom]:hover::after,
.plan-image[data-plan-zoom]:focus-visible::after { opacity: 1; }
.plan-image > img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--ivory);
  transition: filter 480ms var(--ease);
}
.plan-image[data-plan-zoom]:hover > img { filter: brightness(0.96); }
.plan-image--placeholder .ph {
  aspect-ratio: 1246 / 2179;
  width: 100%;
  position: relative;
}
.plan-image--placeholder .ph .ph-tag { letter-spacing: 0.32em; }
.plan-floor-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}
.plan-floor-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--bronze);
}

@media (max-width: 960px) {
  .plans-head { grid-template-columns: 1fr; gap: 24px; }
  .plan-layout { grid-template-columns: 1fr; }
  .plan-images { grid-template-columns: 1fr; }
}

/* Floor plan zoom modal */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(20, 18, 12, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease);
}
.plan-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.plan-modal-inner {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(0.98);
  transition: transform 540ms var(--ease);
}
.plan-modal.is-open .plan-modal-inner { transform: scale(1); }
.plan-modal-img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--ivory);
}
.plan-modal-cap {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.85);
}
.plan-modal-close {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 3vw, 36px);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 239, 229, 0.5);
  background: transparent;
  color: var(--ivory);
  display: grid;
  place-items: center;
  transition: background 320ms var(--ease), border-color 320ms var(--ease);
}
.plan-modal-close:hover { background: rgba(244, 239, 229, 0.12); border-color: var(--ivory); }
.plan-modal-close span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.plan-modal-close span:first-child  { transform: rotate(45deg); }
.plan-modal-close span:last-child   { transform: rotate(-45deg); }

/* ============================================================
   5. LOCATION — horizontal map on top, text + list below
   ============================================================ */
.location {
  padding: var(--pad-section) 0;
}
.location-map {
  position: relative;
  margin: 0 auto clamp(56px, 7vw, 96px);
  max-width: min(1100px, 100%);
  display: flex;
  justify-content: center;
  /* show the full map — never crop to a fixed ratio */
  aspect-ratio: auto;
  overflow: visible;
}
.location-map > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.location-text .display {
  font-size: clamp(34px, 4.4vw, 58px);
  margin: 18px 0 24px;
  max-width: 14ch;
}
.location-text p {
  font-size: 16px; line-height: 1.75;
  max-width: 50ch;
  margin: 0;
}
.location-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--hairline);
}
.location-list li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.location-list .name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}
.location-list .time {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   6. GALLERY — horizontal scroll-snap slider (landscape tiles)
   ============================================================ */
.gallery {
  padding: var(--pad-section) 0;
  background: var(--ivory);
  overflow: hidden;
}

/* Atmosphere slider — mixed aspect, consistent height, portrait + landscape rhythm */
.atmos-slider { position: relative; margin: 0 calc(var(--pad-x) * -1); }
.atmos-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 24px);
  padding: 0 var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: smooth;
}
.atmos-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.atmos-track::-webkit-scrollbar { display: none; }

.atmos-tile {
  flex: 0 0 auto;
  position: relative;
  margin: 0;
  height: clamp(420px, 58vh, 680px);
  scroll-snap-align: start;
  overflow: hidden;
  user-select: none;
}
.atmos-tile.is-landscape { aspect-ratio: 4 / 3; }
.atmos-tile.is-portrait  { aspect-ratio: 3 / 4; }
.atmos-tile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1400ms var(--ease), filter 600ms var(--ease);
  -webkit-user-drag: none;
}
.atmos-tile:hover > img { transform: scale(1.03); filter: brightness(0.96); }

.atmos-tile figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ivory);
  font-family: var(--sans);
  padding: 9px 14px;
  background: rgba(20, 18, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.atmos-tile:hover figcaption { opacity: 1; transform: translateY(0); }
.atmos-tile .cap-num {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--bronze-soft);
}
.atmos-tile .cap-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.atmos-controls {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.atmos-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  max-width: 480px;
}
.atmos-count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}
.atmos-count .sep { color: var(--muted); }
.atmos-count [data-slider-total] { color: var(--muted); }
.atmos-bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(38, 36, 29, 0.18);
  overflow: hidden;
}
.atmos-bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 16%;
  background: var(--ink);
  transition: width 600ms var(--ease);
}
.atmos-arrows { display: flex; gap: 10px; }
.atmos-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease), opacity 300ms var(--ease);
}
.atmos-arrow:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.atmos-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.atmos-arrow:disabled:hover { background: transparent; color: var(--ink); border-color: var(--hairline); }

@media (max-width: 960px) {
  .atmos-tile { height: clamp(360px, 50vh, 520px); }
}
.gallery-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
  flex-wrap: wrap;
}
.gallery-head .display {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 0;
  max-width: 14ch;
}
.gallery-head .note {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Slider — break out of the .wrap padding so tiles flow off the right edge */
.slider {
  position: relative;
  margin: 0 calc(var(--pad-x) * -1);
  padding: 0;
}
.slider-track {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
  padding: 0 var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE / Edge legacy */
  cursor: grab;
  scroll-behavior: smooth;
}
.slider-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.slider-track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 auto;
  width: min(72vw, 880px);
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  user-select: none;
}
.slide .ph {
  position: absolute; inset: 0;
  transition: transform 1400ms var(--ease), filter 600ms var(--ease);
}
.slide > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1400ms var(--ease), filter 600ms var(--ease);
}
.slide:hover > img { transform: scale(1.03); filter: brightness(0.96); }
.slide:hover .ph { transform: scale(1.03); filter: brightness(0.96); }

.slide-cap {
  position: absolute;
  left: 22px; bottom: 18px;
  z-index: 2;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(20,18,12,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.slide:hover .slide-cap { opacity: 1; transform: translateY(0); }

/* Make every other tile a half-width portrait variant if you want rhythm:
   not enabled by default since renders are horizontal. */

/* Controls row */
.slider-controls {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.slider-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  max-width: 480px;
}
.slider-count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.slider-count .sep { color: var(--muted); }
.slider-count [data-slider-total] { color: var(--muted); }
.slider-bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(38,36,29,0.18);
  overflow: hidden;
}
.slider-bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 16%;
  background: var(--ink);
  transition: width 600ms var(--ease), transform 600ms var(--ease);
}

.slider-arrows { display: flex; gap: 10px; }
.slider-arrow {
  width: 48px; height: 48px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease), opacity 300ms var(--ease);
}
.slider-arrow:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.slider-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-arrow:disabled:hover { background: transparent; color: var(--ink); border-color: var(--hairline); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(20, 18, 12, 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  position: relative;
  width: min(86vw, 1200px);
  aspect-ratio: 16 / 10;
  transform: scale(0.98);
  transition: transform 600ms var(--ease);
}
.lightbox.is-open .lightbox-inner { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: -54px; right: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(244,239,229,0.6);
  color: var(--ivory);
  display: grid; place-items: center;
}
.lightbox-close::before, .lightbox-close::after {
  content: "";
  position: absolute;
  width: 16px; height: 1px; background: currentColor;
}
.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after  { transform: rotate(-45deg); }
.lightbox-caption {
  position: absolute;
  bottom: -32px; left: 0;
  color: rgba(244,239,229,0.75);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid rgba(244,239,229,0.5);
  color: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  transition: background 360ms var(--ease);
}
.lightbox-nav:hover { background: rgba(244,239,229,0.12); }
.lightbox-nav.prev { left: -68px; }
.lightbox-nav.next { right: -68px; }

/* ============================================================
   FACTSHEET MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,18,12,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 80px -30px rgba(20,18,12,0.4);
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 600ms var(--ease), opacity 600ms var(--ease);
  transition-delay: 80ms;
}
.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease);
}
.modal-close::before, .modal-close::after {
  content: ""; position: absolute;
  width: 14px; height: 1px; background: currentColor;
}
.modal-close::before { transform: rotate(45deg); }
.modal-close::after  { transform: rotate(-45deg); }
.modal-close:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.modal-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}
.modal-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.modal-title em { font-style: italic; color: var(--bronze); }
.modal-sub {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.modal-form {
  display: grid;
  gap: 22px;
  position: relative;
}
.modal-form .field { position: relative; }
.modal-form label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"] {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 400ms var(--ease);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.modal-form input:focus, .modal-form select:focus { outline: none; }
.modal-form select {
  width: 100%;
  padding: 12px 28px 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.modal-form select option { background: var(--ivory); color: var(--ink); font-family: var(--sans); }
.modal-form .field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease);
  pointer-events: none;
}
.modal-form .field:focus-within::after { transform: scaleX(1); }
.modal-form .field.is-invalid { animation: shake 300ms var(--ease-in); }
.modal-form .field.is-invalid::after {
  transform: scaleX(1);
  background: #B0563A;
}
@keyframes shake {
  10%,90% { transform: translateX(-1px); }
  20%,80% { transform: translateX(2px); }
  30%,50%,70% { transform: translateX(-3px); }
  40%,60% { transform: translateX(3px); }
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.modal-note {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 30ch;
  margin: 0;
}
.modal-submit { min-width: 220px; }
.modal-submit .spinner {
  display: inline-block;
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 300ms var(--ease);
  animation: spin 800ms linear infinite;
}
.modal-submit.is-loading .spinner { opacity: 1; }

.modal-success {
  display: none;
  text-align: center;
  padding: 8px 0 0;
}
.modal-success.is-visible {
  display: block;
  animation: fadeUp 700ms var(--ease) both;
}
.modal-success-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  display: grid; place-items: center;
  margin: 0 auto 22px;
}
.modal-success h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--ink);
}
.modal-success p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.modal-success a {
  color: var(--bronze);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.modal-form.is-submitted .field,
.modal-form.is-submitted .modal-actions { display: none; }

/* ============================================================
   7. PAYMENT PLAN
   ============================================================ */
.payment {
  padding: var(--pad-section) 0;
  text-align: center;
}
.payment .eyebrow { display: block; margin-bottom: 18px; }
.payment .display {
  font-size: clamp(36px, 4.6vw, 60px);
  margin: 0 auto 80px;
  max-width: 18ch;
}
.payment-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.payment-block { text-align: center; }
.payment-block .pct {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.payment-block .pct sup {
  font-size: 0.28em;
  font-family: var(--sans);
  vertical-align: top;
  color: var(--bronze);
  letter-spacing: 0.06em;
  margin-left: 4px;
  top: 1.6em;
}
.payment-block .lbl {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.payment-divider {
  width: 1px;
  height: clamp(80px, 16vw, 220px);
  background: var(--hairline);
}
.payment-foot {
  margin-top: 80px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   8. FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
}
.final-cta .bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.final-cta .bg .ph { position: absolute; inset: 0; }
.final-cta .bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.final-cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,12,0.3), rgba(20,18,12,0.55));
  z-index: 1;
}
.final-cta-inner {
  position: relative; z-index: 2;
  max-width: 760px;
}
.final-cta .display {
  color: var(--ivory);
  font-size: clamp(40px, 6vw, 84px);
  margin: 24px auto;
  max-width: 16ch;
}
.final-cta p {
  color: rgba(244,239,229,0.86);
  font-size: clamp(15px, 1.1vw, 17px);
  margin: 0 auto 40px;
  max-width: 52ch;
  line-height: 1.7;
}
.final-cta .hero-ctas { justify-content: center; }
.final-cta .btn { border-color: rgba(244,239,229,0.7); color: var(--ivory); }
.final-cta .btn.is-filled { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.final-cta .btn:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ivory); }

/* ============================================================
   9. ENQUIRY FORM
   ============================================================ */
.enquire {
  padding: var(--pad-section) 0;
  background: var(--ivory);
}
.enquire-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 120px);
}
.enquire-intro .display {
  font-size: clamp(34px, 4.2vw, 56px);
  margin: 18px 0 22px;
  max-width: 14ch;
}
.enquire-intro p {
  font-size: 16px; line-height: 1.75;
  max-width: 44ch; margin: 0 0 32px;
}
.enquire-meta {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.enquire-meta li {
  display: flex; gap: 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.enquire-meta .k {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  min-width: 110px;
}

/* Form */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.form .field { position: relative; grid-column: span 1; }
.form .field.full { grid-column: span 2; }
.form label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 14px 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 400ms var(--ease);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 22px, calc(100% - 11px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
/* Phone field: country-code select + number input on one line */
.phone-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.phone-row .phone-code {
  flex: 0 0 auto;
  width: auto;
  min-width: 150px;
  cursor: pointer;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.phone-row input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
}
/* Style the native dropdown list to match the warm palette */
.phone-code option {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 12px;
}
.phone-code option:checked {
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
}
.form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.form .field::after {
  /* bronze underline animation */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease);
  pointer-events: none;
}
.form .field:focus-within::after { transform: scaleX(1); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
}

.form-radio-group {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px;
}
.form-radio {
  position: relative;
}
.form-radio input { position: absolute; opacity: 0; pointer-events: none; }
.form-radio span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 320ms var(--ease);
}
.form-radio input:checked + span {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.form-radio:hover span { border-color: var(--bronze); color: var(--bronze); }
.form-radio input:checked + span:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ivory); }

.form-actions {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 12px;
}
.form-actions .form-submit { order: -1; }   /* button first, note below */
.form-actions .note {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 40ch;
}
.form-submit {
  position: relative;
  min-width: 220px;
}
.form-submit .spinner {
  display: inline-block;
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 300ms var(--ease);
  animation: spin 800ms linear infinite;
}
.form-submit.is-loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  grid-column: span 2;
  display: none;
  padding: 28px 32px;
  border: 1px solid var(--bronze);
  background: rgba(138,110,72,0.06);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
}
.form-success.is-visible { display: block; animation: fadeUp 800ms var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(244,239,229,0.72);
  padding: clamp(64px, 8vw, 100px) var(--pad-x) 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244,239,229,0.12);
}
.footer .logo { color: #FFFFFF; }
.footer .logo > img { height: 34px; }
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a { transition: color 320ms var(--ease); }
.footer a:hover { color: var(--bronze-soft); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244,239,229,0.5);
  flex-wrap: wrap;
}
.footer-bottom .disclaimer { max-width: 60ch; line-height: 1.6; }

/* ============================================================
   MOBILE CONTACT BAR (sticky bottom, mobile only) + in-menu actions
   ============================================================ */
.m-contact { display: none; }
@media (max-width: 768px) {
  .m-contact {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 92;
    background: var(--ink);
    color: var(--ivory);
    border-top: 1px solid rgba(244,239,229,0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  /* keep page content scrollable above the bar */
  body { padding-bottom: 58px; }
}
.m-contact-btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: background 280ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.m-contact-btn + .m-contact-btn { border-left: 1px solid rgba(244,239,229,0.16); }
.m-contact-btn:active { background: rgba(244,239,229,0.08); }
.m-contact-btn.is-wa svg { color: #25D366; }

/* In-menu (slide-out) action buttons — mirror the bar styling */
.m-menu-actions {
  display: flex;
  gap: 10px;
  margin: 32px 0 16px;
}
.m-menu-action {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--ink);
  border: 1px solid var(--ink);
  transition: background 280ms var(--ease), border-color 280ms var(--ease);
}
.m-menu-action:hover, .m-menu-action:active { background: var(--bronze); border-color: var(--bronze); }
.m-menu-action.is-wa svg { color: #25D366; }
.m-menu-action.is-wa:hover svg, .m-menu-action.is-wa:active svg { color: var(--ivory); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 95;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease), background 360ms var(--ease), border-color 360ms var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--bronze);
  border-color: var(--bronze);
}
.to-top svg { display: block; }
@media (max-width: 768px) {
  .to-top { width: 44px; height: 44px; bottom: calc(58px + env(safe-area-inset-bottom, 0px) + 14px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .header { grid-template-columns: 1fr auto; }
  .nav-left { display: none; }
  .nav-right > a:not(.btn) { display: none; }
  .nav-right > .btn { display: none; }
  .menu-trigger { display: inline-flex; }
  /* Logo flush-left, hamburger flush-right */
  .header .logo { justify-self: start; justify-content: flex-start; }
  .nav-right { justify-content: flex-end; }

  .intro-highlights { grid-template-columns: 1fr; }
  .intro-highlights > div { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 28px 0; }
  .intro-highlights > div:last-child { border-bottom: 0; }

  .experience-grid,
  .features-head,
  .invest-head,
  .location-grid,
  .enquire-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .experience-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }

  .invest-grid { grid-template-columns: 1fr 1fr; }
  .invest-grid > div:nth-child(3n) { border-right: 1px solid rgba(38,36,29,0.18); }
  .invest-grid > div:nth-child(2n) { border-right: none; }
  .invest-market-grid { grid-template-columns: 1fr; gap: 24px; }
  .invest-market-head { flex-direction: column; gap: 18px; }

  .location-map { aspect-ratio: auto; }

  .gallery-head { flex-direction: column; align-items: flex-start; }

  .slide { width: 86vw; }
  .slider-controls { flex-direction: column; align-items: stretch; gap: 18px; }
  .slider-arrows { justify-content: flex-end; }

  .form { grid-template-columns: 1fr; }
  .form .field.full, .form-actions, .form-success { grid-column: span 1; }
  .form-actions { flex-direction: column; align-items: flex-start; }

  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }

  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-meta { display: none; }
  .invest-grid { grid-template-columns: 1fr; }
  .invest-grid > div { border-right: none !important; }
  .payment-grid { grid-template-columns: 1fr; }
  .payment-divider { width: 60%; height: 1px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  /* Hero on mobile — full villa render with title+sub overlaid; buttons + cue flow below */
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    color: var(--ivory);
    background: var(--ivory);
    position: relative;
  }
  .hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 837 / 1500;
    flex: 0 0 auto;
  }
  .hero-media .img { transform: none !important; }   /* no scale / parallax on mobile */
  /* Re-enable a bottom-darkening overlay so the overlaid text stays legible */
  .hero-media::after {
    display: block;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.45) 75%, rgba(0,0,0,0.72) 100%);
  }

  /* Title + sub: anchored over the bottom of the image (measured from .hero top) */
  .hero-inner { position: static; padding-top: 28px; padding-bottom: 44px; height: auto; z-index: auto; }
  .hero-title, .hero-sub {
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
    margin: 0;
    z-index: 5;
  }
  .hero-title {
    top: calc(100vw * (1500 / 837) - 150px);
    font-size: 38px;
    color: var(--ivory);
  }
  .hero-title em { color: var(--ivory); }
  .hero-sub {
    top: calc(100vw * (1500 / 837) - 95px);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(244,239,229,0.92);
  }

  /* Buttons live below the image on the ivory background */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { justify-content: center; background: transparent; color: var(--ink); border-color: var(--ink); }
  .hero-ctas .btn.is-filled { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .hero-ctas .btn:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ivory); }

  /* Scroll cue: ink colors for the ivory background */
  .scroll-cue { color: var(--ink); margin-top: 24px; }
  .scroll-cue .line { background: linear-gradient(180deg, rgba(38,36,29,0.55), rgba(38,36,29,0)); }
  .scroll-cue .line::after { background: var(--bronze); }

  /* Phone field — stack country code over the number so both fit */
  .phone-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .phone-row .phone-code { width: 100%; min-width: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media .img { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .img-reveal > * { clip-path: inset(0 0 0 0) !important; transform: none !important; }
}
