/* =========================================================
   Capri Village — main stylesheet
   No frameworks. Hand-written. Mobile first.
   ========================================================= */

:root {
  /* Brand palette — Capri Village (sage teal + ink, no beige) */
  --ink: #1a2326;
  --ink-soft: #3a4548;
  --ink-mute: #6a7479;
  --line: #d8e0de; /* sage tinted hairline */
  --line-soft: #ecf0ef;
  --cream: #ffffff; /* white — used as the light surface */
  --cream-deep: #f4f6f5; /* whisper-grey for pricing strip etc */
  --paper: #ffffff;
  --sage: #9eb5b1;
  --sage-soft: #c0d0cc;
  --sage-deep: #6a8682;
  --sage-ink: #2f4845;
  --shadow: 0 30px 60px -30px rgba(26, 35, 38, 0.35);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:
    "Jost", "Futura", "Futura PT", "Trebuchet MS", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Layout tokens */
  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 2px;

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overscroll-behavior-y: none; /* no rubber-band bounce past top/bottom */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* prevents 100vw full-bleed elements from creating horizontal scroll */
}
html {
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Hidden from view but kept for SEO + screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Page loader ---------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--sage);
  display: grid;
  place-items: center;
  transition:
    opacity 0.6s var(--ease),
    visibility 0.6s var(--ease);
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.loader__inner img {
  width: 180px;
  height: auto;
  opacity: 0;
  animation: loaderLogoIn 0.8s var(--ease) 0.15s forwards;
}
.loader__ring {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: loaderSpin 0.85s linear infinite;
}
@keyframes loaderLogoIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.loading {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .loader__ring {
    animation: none;
  }
  .loader__inner img {
    animation: none;
    opacity: 1;
  }
}

/* ---------- Typography ------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.4vw, 5.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.h-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.h-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--sage-deep);
  display: inline-block;
}

.h-section {
  font-size: clamp(1.9rem, 3.85vw, 3.4rem);
  font-weight: 300;
  line-height: 1.08;
}
.h-section em {
  font-style: italic;
  font-weight: 300;
  font-size: 0.92em;
  color: var(--sage-deep);
  display: inline-block;
  line-height: 1.1;
}

.lead {
  font-family: var(--sans);
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 56ch;
}

p {
  margin: 0 0 1rem;
  max-width: 68ch;
}
p:last-child {
  margin-bottom: 0;
}

.caps {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 400;
}

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

/* ---------- Layout helpers ------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section {
  padding-block: var(--section-y);
  position: relative;
}

.section-cream {
  background: var(--paper);
}
.section-paper {
  background: var(--paper);
}
/* Developer section sits on whisper-grey to swap tones with the CTA band below */
#developer.section-paper {
  background: var(--cream-deep);
}
.section-tone {
  background: var(--cream-deep);
}
.section-sage {
  background: var(--sage);
  color: #fff;
}
.section-sage h1,
.section-sage h2,
.section-sage h3 {
  color: #fff;
}
.section-sage .h-eyebrow {
  color: #fff;
}
.section-sage .h-eyebrow::before {
  background: #fff;
}
.section-sage .lead {
  color: rgba(255, 255, 255, 0.92);
}
.section-sage em {
  color: #fff;
}
.section-ink {
  background: var(--ink);
  color: #fff;
}
.section-ink h1,
.section-ink h2,
.section-ink h3 {
  color: #fff;
}
.section-ink .h-eyebrow {
  color: #fff;
}
.section-ink .h-eyebrow::before {
  background: #fff;
}
.section-ink em {
  color: #fff;
}
.section-ink .lead {
  color: rgba(255, 255, 255, 0.88);
}
.section-ink p {
  color: rgba(255, 255, 255, 0.88);
}

.rule {
  display: none;
}

/* Pricing strip: more pronounced one-at-a-time stagger */
.pricing-strip .reveal {
  transition-duration: 0.5s;
}
.pricing-strip .reveal[data-delay="1"] {
  transition-delay: 0s;
}
.pricing-strip .reveal[data-delay="2"] {
  transition-delay: 0.1s;
}
.pricing-strip .reveal[data-delay="3"] {
  transition-delay: 0.2s;
}
.pricing-strip .reveal[data-delay="4"] {
  transition-delay: 0.3s;
}

/* ---------- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}
.btn--pill {
  border-radius: 999px;
  padding: 0.8rem 1.55rem;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn--sage {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--cream);
}
.btn--sage:hover {
  background: transparent;
  color: var(--sage-deep);
}
.btn--inverse {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.btn--inverse:hover {
  background: transparent;
  color: var(--cream);
}
.btn .arrow {
  transition: transform 0.35s var(--ease);
  display: inline-block;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.text-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.text-link:hover {
  opacity: 0.8;
}
.text-link .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.text-link:hover .arrow {
  transform: translateX(4px);
}

/* Body copy → text-link spacing (e.g. "Explore Salta Sibaya" after the paragraph) */
.lead + .text-link,
p + .text-link {
  margin-top: 1.75rem;
}

/* ---------- Phase 4 launch banner (in-flow band on the home page) ------ */
.price-banner {
  display: flex;
  flex-direction: column; /* headline / prices / CTA stacked */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.55rem 1.25rem;
  background: var(--sage-ink);
  color: var(--cream);
}
.price-banner__msg {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  max-width: none; /* global p{max-width:68ch} would clip it over the CTA */
  min-width: 0; /* let the message shrink + ellipsize instead of colliding with the CTA */
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-banner__cta {
  flex-shrink: 0;
}
.price-banner__cta {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.price-banner__cta .arrow {
  transition: transform 0.35s var(--ease);
}
.price-banner__cta:hover .arrow {
  transform: translateX(3px);
}
@media (max-width: 640px) {
  .hero__banners {
    top: 76px;
  }
  .pricing-strip {
    gap: 0.6rem;
    padding: 0.7rem 0.75rem;
  }
  .pricing-strip .h-eyebrow {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }
  .pricing-strip__num {
    font-size: 0.9rem;
  }
  .price-banner {
    gap: 0.45rem;
    padding: 0.7rem 0.75rem;
    text-align: center;
  }
  .price-banner__msg {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }
  .price-banner__cta {
    font-size: 0.7rem;
  }
}

/* ---------- Header ---------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition:
    background 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease),
    -webkit-backdrop-filter 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease),
    padding 0.5s var(--ease);
}
.site-header__cta {
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.site-nav a {
  transition: color 0.5s var(--ease);
}
.site-header__logo-dark,
.site-header__logo-light {
  transition: opacity 0.5s var(--ease);
}
.site-header[data-transparent="true"]:not(.is-scrolled) {
  background: rgba(26, 35, 38, 0.4);
  backdrop-filter: blur(18px) saturate(0.8);
  -webkit-backdrop-filter: blur(18px) saturate(0.8);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-nav a,
.site-header[data-transparent="true"]:not(.is-scrolled) .site-header__cta {
  color: var(--cream);
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-header__cta {
  border-color: var(--cream);
}
.site-header__logo {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.site-header__logo-dark,
.site-header__logo-light {
  transition: opacity 0.5s var(--ease);
}
.site-header__logo-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.site-header[data-transparent="true"]:not(.is-scrolled)
  .site-header__logo-dark {
  opacity: 0;
}
.site-header[data-transparent="true"]:not(.is-scrolled)
  .site-header__logo-light {
  opacity: 1;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  transition: padding 0.5s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  padding-block: 0.6rem;
}

.site-header__logo img {
  height: 38px;
  width: auto;
  transition: filter 0.35s var(--ease);
}

.site-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  justify-content: flex-end;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition:
    width 0.35s var(--ease),
    left 0.35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
  left: 0;
}

.site-header__cta {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.site-header__cta:hover {
  background: var(--ink);
  color: var(--cream);
}

.site-header__toggle {
  display: none;
  background: transparent;
  border: none;
  width: 22px;
  height: 18px;
  padding: 0;
  cursor: pointer;
  position: relative;
  color: var(--ink);
  z-index: 2;
}
.site-header__toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition:
    top 0.3s var(--ease),
    opacity 0.2s var(--ease),
    transform 0.3s var(--ease);
}
.site-header__toggle span:nth-child(1) {
  top: 2px;
}
.site-header__toggle span:nth-child(2) {
  top: calc(50% - 1px);
}
.site-header__toggle span:nth-child(3) {
  top: calc(100% - 4px);
}

.site-header[aria-expanded="true"] .site-header__toggle span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}
.site-header[aria-expanded="true"] .site-header__toggle span:nth-child(2) {
  opacity: 0;
}
.site-header[aria-expanded="true"] .site-header__toggle span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}
.site-header[data-transparent="true"]:not(.is-scrolled) .site-header__toggle {
  color: #fff;
}

/* Mobile nav drawer — slides down from BELOW the fixed header, sits behind it */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  padding: 6rem var(--gutter) 3rem;
  overflow-y: auto;
  z-index: 48;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s var(--ease),
    visibility 0s linear 0.45s;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s var(--ease),
    visibility 0s linear 0s;
}
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 5.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  display: block;
  color: #fff;
  padding: 0.25rem 0;
  letter-spacing: -0.012em;
}
.mobile-nav__cta .arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.35s var(--ease);
}
.mobile-nav__cta:hover .arrow {
  transform: translateX(4px);
}
.mobile-nav a[aria-current="page"] {
  color: var(--sage-soft);
}
.mobile-nav__cta {
  margin-top: 2rem;
  align-self: center;
  background: #fff !important;
  color: var(--ink) !important;
  padding: 1rem 2.25rem !important;
  font-family: var(--sans) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none !important;
  border-radius: 0 !important;
}

@media (max-width: 980px) {
  .site-nav,
  .site-header__cta {
    display: none;
  }
  .site-header__toggle {
    display: block;
    grid-column: -1;
    justify-self: end;
  }
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }
}

/* ─────── Mobile-only refinements ──────── */
@media (max-width: 720px) {
  /* Smaller CTAs on mobile */
  .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    gap: 0.45rem;
  }
  .btn--pill {
    padding: 0.7rem 1.2rem;
  }
  .text-link {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  /* Centered footer */
  .site-footer__inner {
    text-align: center;
  }
  .site-footer__brand {
    align-items: center;
    text-align: center;
  }
  .site-footer__brand img {
    margin-inline: auto;
    margin-bottom: 1.25rem;
  }
  .site-footer__tag {
    margin-inline: auto;
    max-width: 32ch;
  }
  .site-footer__phone {
    margin-top: 0;
  }
  .site-footer__whatsapp {
    margin-top: 0;
  }
  .site-footer__phone,
  .site-footer__whatsapp {
    margin-inline: auto;
    justify-content: center;
  }
  /* Keep the brand-block socials visible on mobile (under the WhatsApp link).
     The separate mobile-only set after Visit is no longer used. */
  .site-footer__brand .site-footer__socials {
    justify-content: center;
    margin-inline: auto;
  }
  .site-footer ul {
    align-items: center;
  }
  .site-footer h4 {
    text-align: center;
  }
  .site-footer__base {
    text-align: center;
  }
  .site-footer__legal {
    justify-content: center;
  }
  /* Break the sales-office address into 3 lines on mobile */
  .footer-addr span {
    display: block;
  }
}
/* Mobile-only socials list is no longer used — keep it hidden at all viewports. */
.site-footer ul.site-footer__socials--mobile {
  display: none !important;
}

/* ---------- Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: grid;
  align-items: end;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding-top: 5rem;
  padding-bottom: clamp(3rem, 6.5vh, 5.5rem);
}
@media (max-width: 780px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: clamp(2.5rem, 5.5vh, 4.5rem);
    min-height: 100svh;
    height: auto;
  }
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.hero.is-ready .hero__media img,
.hero.is-ready .hero__media video {
  transform: scale(1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 35, 38, 0.72) 0%,
    rgba(26, 35, 38, 0.55) 25%,
    rgba(26, 35, 38, 0.18) 55%,
    rgba(26, 35, 38, 0) 78%
  );
  z-index: -1;
}
/* Mobile: home hero gradient extends further right for better text legibility */
@media (max-width: 880px) {
  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(26, 35, 38, 0.75) 0%,
      rgba(26, 35, 38, 0.62) 40%,
      rgba(26, 35, 38, 0.4) 70%,
      rgba(26, 35, 38, 0.15) 95%
    );
  }
}
.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.25rem;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--cream);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.05rem, 3.4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 22ch;
  margin: 0;
}
.hero h1 em {
  font-style: italic;
  color: var(--cream);
}
.hero__sub {
  max-width: 56ch;
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  color: #fff;
  line-height: 1.45;
  margin-top: 0.5rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.hero__actions .btn {
  color: var(--cream);
  border-color: var(--cream);
  background: transparent;
}
.hero__actions .btn:hover {
  background: var(--cream);
  color: var(--ink);
}
.hero__actions .btn--solid {
  background: var(--cream);
  color: var(--ink);
}
.hero__actions .btn--solid:hover {
  background: transparent;
  color: var(--cream);
}

.hero__phase {
  justify-self: start;
  background: var(--sage-deep);
  color: #fff;
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.25rem;
}
a.hero__phase {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
a.hero__phase:hover {
  background: var(--ink);
  transform: translateY(-1px);
}
a.hero__phase .arrow {
  transition: transform 0.25s ease;
}
a.hero__phase:hover .arrow {
  transform: translateX(3px);
}
@media (max-width: 780px) {
  .hero__phase {
    font-size: 0.62rem;
    padding: 0.5rem 0.75rem;
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
  z-index: 2;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 28px;
  background: var(--cream);
  animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}
@media (max-width: 780px) {
  .hero__scroll {
    display: none;
  }
}

/* ---------- Hero entrance (auto-fires on page load) ------------------ */
@keyframes heroIntro {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroIntroFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero .hero__eyebrow,
.hero h1,
.hero .hero__sub,
.hero .hero__actions,
.hero .hero__phase,
.hero .hero__scroll {
  opacity: 0;
  will-change: opacity, transform;
  animation: heroIntro 1.05s var(--ease) forwards;
}
.hero .hero__phase {
  animation-delay: 0.4s;
}
.hero .hero__eyebrow {
  animation-delay: 0.25s;
}
.hero h1 {
  animation-delay: 0.45s;
  animation-duration: 1.2s;
}
.hero .hero__sub {
  animation-delay: 0.7s;
}
.hero .hero__actions {
  animation-delay: 0.9s;
}
.hero .hero__scroll {
  animation: heroIntroFade 1s var(--ease) 1.25s forwards;
}

/* Inner page hero entrance */
.subhero .breadcrumb,
.subhero h1,
.subhero__sub {
  opacity: 0;
  will-change: opacity, transform;
  animation: heroIntro 1s var(--ease) forwards;
}
.subhero .breadcrumb {
  animation-delay: 0.15s;
}
.subhero h1 {
  animation-delay: 0.3s;
  animation-duration: 1.15s;
}
.subhero__sub {
  animation-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero__eyebrow,
  .hero h1,
  .hero .hero__sub,
  .hero .hero__actions,
  .hero .hero__phase,
  .hero .hero__scroll,
  .subhero .breadcrumb,
  .subhero h1,
  .subhero__sub {
    animation: none;
    opacity: 1;
  }
}

/* ---------- Inner hero (non-home) ------------------------------------ */
.subhero {
  position: relative;
  min-height: 90vh;
  padding-top: 5rem;
  padding-bottom: clamp(6rem, 14vh, 11rem);
  display: grid;
  align-items: end;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.subhero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.subhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: 50% 50%;
  opacity: 0.92;
  animation: subheroZoom 20s linear 0.15s forwards;
  will-change: transform, opacity;
}
@keyframes subheroZoom {
  from {
    transform: scale(1);
    opacity: 0.92;
  }
  to {
    transform: scale(1.28);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .subhero__media img {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(26, 35, 38, 0.72) 0%,
    rgba(26, 35, 38, 0.55) 25%,
    rgba(26, 35, 38, 0.18) 55%,
    rgba(26, 35, 38, 0) 78%
  );
}
/* Mobile: inner-page banners shorter, vertical bottom-up gradient, content lower */
@media (max-width: 880px) {
  .subhero {
    min-height: 72vh;
    padding-bottom: clamp(3rem, 6vh, 5rem);
  }
  .subhero::after {
    background: linear-gradient(
      180deg,
      rgba(26, 35, 38, 0.1) 0%,
      rgba(26, 35, 38, 0.35) 25%,
      rgba(26, 35, 38, 0.6) 55%,
      rgba(26, 35, 38, 0.85) 100%
    );
  }
}
.subhero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.25rem;
}
.subhero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.subhero__eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: #fff;
}
.subhero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 18ch;
  margin: 0 0 1rem;
}
.subhero h1 em {
  color: var(--cream);
  font-style: italic;
}
/* Homes page: "Space to / thrive." — descender (p) + ascender (h) collide,
   so loosen the line-height on this heading only. */
.page-homes .subhero h1 {
  line-height: 1.1;
}
.subhero__sub {
  max-width: 56ch;
  color: #fff;
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  line-height: 1.45;
  margin-top: 0.5rem;
}

/* Compact subhero (legal pages — no media, shorter) */
.subhero--compact {
  min-height: 48vh;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 6vh, 5rem);
  background: var(--sage-ink);
}
.subhero--compact::after {
  display: none;
}
@media (max-width: 880px) {
  .subhero--compact {
    min-height: 38vh;
    padding-top: 7rem;
  }
}

/* Sage backdrop — no-image hero, e.g. FAQ */
.subhero--ink {
  background: #9eb5b1;
}

/* ---------- Legal prose (privacy / terms) ---------------------------- */
.legal-section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.legal-prose {
  max-width: 72ch;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-prose .legal-meta {
  color: var(--ink-mute);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.legal-prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 2.75rem 0 0.85rem;
}
.legal-prose h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
}
.legal-prose p {
  margin: 0 0 1rem;
}
.legal-prose ul,
.legal-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.legal-prose li {
  margin-bottom: 0.4rem;
}
.legal-prose li::marker {
  color: var(--sage-deep);
}
.legal-prose a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.legal-prose a:hover {
  color: var(--ink);
}
.legal-prose strong {
  color: var(--ink);
}
.legal-prose em {
  font-style: italic;
}

.breadcrumb {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(246, 240, 228, 0.7);
}
.breadcrumb a {
  color: inherit;
}
.breadcrumb span {
  margin: 0 0.65rem;
  opacity: 0.5;
}

/* ---------- Asset patterns (low-opacity background ornaments) -------- */
.asset-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.07;
  z-index: 0;
}

/* ---------- Reveal animations ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
/* From-state variants (override base translateY before .in resets) */
.reveal.from-right {
  transform: translateX(40px);
}
.reveal.from-left {
  transform: translateX(-40px);
}
.reveal.from-scale {
  transform: scale(0.94);
}
.reveal.from-up-far {
  transform: translateY(40px);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.45s;
}
.reveal[data-delay="6"] {
  transition-delay: 0.6s;
}

/* ---------- Generic two-column ---------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
  }
  .split--wide-text {
    grid-template-columns: 1fr 1.1fr;
  }
  .split--right > :first-child {
    order: 2;
  }
}
.split__media {
  position: relative;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split__media--landscape img {
  aspect-ratio: 5/4;
}
.split__media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--sage-deep);
  color: #fff;
  padding: 0.55rem 1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Marquee / floating phase ribbon -------------------------- */
.ribbon {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.ribbon__track {
  display: flex;
  gap: 3rem;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}
.ribbon__track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.ribbon__track span::after {
  content: "✦";
  color: var(--sage);
  font-size: 1rem;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Stat row -------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-row__item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-row__item:last-child {
  border-right: none;
}
@media (max-width: 720px) {
  .stat-row__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stat-row__item:last-child {
    border-bottom: none;
  }
}
.stat-row__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--sage-deep);
  display: block;
}
.stat-row__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.65rem;
  display: block;
}

/* ---------- Feature card grid ---------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.feature {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.feature__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sage-deep);
  color: var(--sage-deep);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: 1rem;
}
.feature h3 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Activity grid (typographic) ------------------------------ */
.activity-grid--type {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 880px) {
  .activity-grid--type {
    grid-template-columns: repeat(3, 1fr);
  }
}
.activity-tile {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
}
@media (min-width: 880px) {
  .activity-tile {
    padding: 2.5rem 1.75rem;
    border-right: 1px solid var(--line);
  }
  .activity-tile:nth-child(3n) {
    border-right: none;
  }
}
.activity-tile__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 1rem;
}
.activity-tile__cat {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 0.35rem;
}
.activity-tile h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.activity-tile p {
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Activity grid (legacy photo version) --------------------- */
.activity-grid:not(.activity-grid--type) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.activity {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.activity img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s var(--ease),
    opacity 0.6s var(--ease);
  opacity: 0.85;
}
.activity:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.activity::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 35, 38, 0.85));
}
.activity__inner {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  z-index: 1;
}
.activity__cat {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 0.35rem;
}
.activity__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
}

/* ---------- Cards (homes) -------------------------------------------- */
.product-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 880px) {
  .product-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.product-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(26, 35, 38, 0.12);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -22px rgba(26, 35, 38, 0.22);
}
.product-card__media {
  aspect-ratio: 2/1;
  overflow: hidden;
  background: #eee;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.05);
}
.product-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.product-card__price {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
}
.product-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.7vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0;
}
.product-card p {
  font-family: var(--sans);
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}
.product-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-start;
}

/* ---------- Config grid: image-led overlay cards (Homes page) ------- */
.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .config-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .config-card--wide {
    grid-column: span 2;
  }
}
.config-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.config-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.1s var(--ease);
}
.config-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 35, 38, 0) 0%,
    rgba(26, 35, 38, 0) 45%,
    rgba(26, 35, 38, 0.55) 72%,
    rgba(26, 35, 38, 0.95) 100%
  );
  z-index: 1;
  transition: background 0.4s var(--ease);
}
.config-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -22px rgba(26, 35, 38, 0.35);
}
.config-card:hover > img {
  transform: scale(1.05);
}
.config-card:hover::after {
  background: linear-gradient(
    180deg,
    rgba(26, 35, 38, 0) 0%,
    rgba(26, 35, 38, 0) 45%,
    rgba(26, 35, 38, 0.7) 72%,
    rgba(26, 35, 38, 1) 100%
  );
}
.config-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #fff;
}
.config-card__cat {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.config-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.9vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: #fff;
  margin: 0;
}
.config-card p {
  font-family: var(--sans);
  font-size: 0.825rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: none;
}
.config-card .text-link {
  align-self: flex-start;
  margin-top: 0.35rem;
  color: #fff;
}
.config-card .text-link .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.config-card:hover .text-link .arrow {
  transform: translateX(4px);
}

/* ---------- Configurations (homes) — legacy block kept ---------- */
.config-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 880px) {
  .config-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.config {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.config__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-deep);
  font-size: 1rem;
}
.config h3 {
  font-size: 1.75rem;
  margin: 0;
}
.config p {
  color: var(--ink-soft);
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.65;
}

/* ---------- Testimonial ---------------------------------------------- */
.testimonial {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.testimonial__mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--sage);
  display: block;
  margin-bottom: -1.5rem;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}
.testimonial cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 1.5rem;
  display: inline-block;
}

/* Sage-background testimonial section */
.section-sage.testimonial-band {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
/* JS parallax target on the testimonial block */
.testimonial-band .testimonial {
  will-change: transform;
  transition: transform 0.1s linear;
}
.section-sage.testimonial-band::before,
.section-sage.testimonial-band::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  background: url("../images/palm-leaves.webp") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
.section-sage.testimonial-band::after {
  right: -7%;
  bottom: -33%;
  width: 39%;
  max-width: 640px;
  background-position: center right;
  opacity: 0.2;
}
.section-sage.testimonial-band::before {
  left: -5%;
  top: -11%;
  width: 29%;
  max-width: 444px;
  background-position: center left;
  opacity: 0.17;
  transform: rotateY(180deg);
}
.section-sage.testimonial-band .wrap {
  position: relative;
  z-index: 1;
}
.section-sage .testimonial blockquote {
  color: #fff;
}
.section-sage .testimonial__mark {
  color: rgba(255, 255, 255, 0.55);
}
.section-sage .testimonial cite {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- CTA band ------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.cta-band p {
  color: rgba(246, 240, 228, 0.85);
  margin-inline: auto;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- CTA with background image + parallax -------------------- */
.cta-band--image {
  background-image: url("../images/asset-2.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 10vw, 9rem);
}
.cta-band--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.cta-band--image h2,
.cta-band--image p {
  color: #fff;
}
.cta-band--image .h-eyebrow {
  color: #fff;
}
.cta-band--image .h-eyebrow::before {
  background: #fff;
}
.cta-band--image .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.cta-band--image .btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
@media (max-width: 780px) {
  .cta-band--image {
    background-attachment: scroll;
  }
}

.cta-band--sage {
  background: var(--sage);
  color: #fff;
}
.cta-band--sage h2,
.cta-band--sage p {
  color: #fff;
}
.cta-band--sage .h-eyebrow {
  color: #fff;
}
.cta-band--sage .h-eyebrow::before {
  background: #fff;
}
.cta-band--sage .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.cta-band--sage .btn:hover {
  background: transparent;
  color: #fff;
}
.cta-band--sage .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cta-band--sage .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- Footer ---------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(246, 240, 228, 0.75);
  padding: clamp(1.75rem, 3.5vw, 3rem) 0 0;
  font-size: 0.78rem;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem 3rem;
}
@media (max-width: 880px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}
.site-footer__brand img {
  margin-bottom: 1.25rem;
}
.site-footer__tag {
  color: rgba(246, 240, 228, 0.7);
  max-width: 28ch;
  font-size: 0.9rem;
}
.site-footer__phone,
.site-footer__whatsapp {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  width: max-content;
}
.site-footer__phone {
  margin-top: 1rem;
}
.site-footer__whatsapp {
  margin-top: 0.35rem;
}
.site-footer__contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: translateY(10px);
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site-footer ul.site-footer__socials {
  flex-direction: row;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.site-footer .site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 240, 228, 0.25);
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.7);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.site-footer .site-footer__socials a:hover {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}
.site-footer a {
  color: rgba(246, 240, 228, 0.7);
  transition: color 0.25s var(--ease);
}
.site-footer a:hover {
  color: var(--cream);
}
.site-footer__base {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(246, 240, 228, 0.1);
  padding: 1rem var(--gutter);
  text-align: center;
}
.site-footer__base small {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.site-footer__legal {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__legal a {
  color: rgba(246, 240, 228, 0.55);
  transition: color 0.25s var(--ease);
}
.site-footer__legal a:hover {
  color: var(--cream);
}
.site-footer__legal span {
  color: rgba(246, 240, 228, 0.3);
}

/* ---------- Forms ----------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  min-width: 0;
}
.form-grid .field {
  min-width: 0;
}
.form-grid .field input,
.form-grid .field select,
.form-grid .field textarea {
  max-width: 100%;
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage-deep);
  outline: none;
  box-shadow: 0 0 0 1px var(--sage-deep);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-top: 1.5rem;
}
/* Honeypot — visually removed but still submittable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  background: #fdecea;
  color: #8a2a1d;
  border: 1px solid #e9b8b0;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  cursor: pointer;
}
.consent-check input {
  margin-top: 0.2em;
  flex: none;
  accent-color: var(--sage-deep);
}
.consent-check a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Explore cards (home) ------------------------------------- */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 880px) {
  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.explore-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.explore-card__media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
.explore-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.explore-card:hover .explore-card__media img {
  transform: scale(1.05);
}
.explore-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.explore-card__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0;
}
.explore-card__body p {
  color: var(--ink-soft);
  font-size: 0.825rem;
  line-height: 1.65;
  margin: 0;
}
.explore-card__body .text-link {
  margin-top: auto;
  padding-top: 0.5rem;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

/* ---------- Gallery -------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery > * {
  overflow: hidden;
}
.gallery .g1 {
  grid-column: 1 / 8;
  aspect-ratio: 16/10;
}
.gallery .g2 {
  grid-column: 8 / 13;
  aspect-ratio: 4/5;
  grid-row: 1 / 3;
}
.gallery .g3 {
  grid-column: 1 / 5;
  aspect-ratio: 1/1;
}
.gallery .g4 {
  grid-column: 5 / 8;
  aspect-ratio: 1/1;
}
@media (max-width: 780px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery .g1,
  .gallery .g2,
  .gallery .g3,
  .gallery .g4 {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1/1;
  }
  .gallery .g1 {
    grid-column: 1 / -1;
    aspect-ratio: 16/10;
  }
}

/* ---------- Pricing strip -------------------------------------------- */
/* Banners overlaid at the top of the home hero, just below the fixed nav */
.hero__banners {
  position: absolute;
  top: 77px; /* fixed header height */
  left: 0;
  right: 0;
  z-index: 3;
}
.pricing-strip {
  background: var(--sage);
  color: #fff;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.pricing-strip .h-eyebrow {
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.pricing-strip .h-eyebrow::before {
  display: none;
  content: none;
}
.pricing-strip__item .h-eyebrow {
  justify-content: center;
}
.pricing-strip__num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}

/* ---------- Map / location ------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}
.location-card {
  background: var(--paper);
  padding: 1.15rem 1.4rem 1.35rem;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--sage);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-left-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px -20px rgba(26, 35, 38, 0.2);
  border-left-color: var(--sage-deep);
  background: #fbfdfc;
}
.location-card__meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--sage-deep);
  font-weight: 500;
}
.location-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.12;
  margin: 0;
}
.location-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Distance list (location page — "Everything close by") */
.distance-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.distance-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.distance-list li:last-child {
  border-bottom: none;
}
.distance-list__time {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--sage-deep);
  min-width: 5.5rem;
}
.distance-list__place {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

/* Softened map — Snazzy-style filter on the embedded iframe */
.map-soft {
  position: relative;
  overflow: hidden;
  aspect-ratio: 24/9;
  border: 1px solid var(--line-soft);
  background: #f4f6f5;
}
.map-soft iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7) brightness(1.08) contrast(0.92);
}
.map-soft--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-left: 0;
  border-right: 0;
  margin-bottom: 0;
  aspect-ratio: auto;
  height: calc(100vw * 9 / 24 + 100px);
}
.map-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* ---------- Interactive proximity map (portable — includes/walk-map.php) */
.walk-map__head {
  max-width: 50rem;
}
/* No bottom padding — the full-bleed map sits flush against the next section */
.walk-map-section {
  padding-bottom: 0;
}
/* Full-bleed band, taller than the viewport so it fills the screen and runs
   right up to the next section. The aerial fills the full width and is cropped
   top/bottom (object-fit: cover). object-position-Y < 50% biases the crop so
   more of the bottom (ocean) is cut while some ocean still shows. */
.walk-map {
  --walk-map-stack: 70px; /* clears the sticky nav */
  margin-top: 2.25rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: calc(100vh - var(--walk-map-stack));
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--sage-ink);
}
.walk-map__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%; /* keep in sync with data-focus-y in the markup */
  display: block;
}
/* Static map (POIs hidden): the Sibaya base is a wide panorama, so show it
   full-width at its natural ratio rather than cover-cropping the full-height
   container to a narrow vertical slice. Mirrors the mobile treatment below. */
.walk-map--static {
  height: auto;
  min-height: 0;
}
.walk-map--static .walk-map__base {
  position: static;
  width: 100%;
  height: auto;
}
/* JS sets left/top/width/height to match the image's rendered cover-rect */
.walk-map__pins {
  position: absolute;
  inset: 0;
}
/* Brand callout — sage box with the logo and a small downward arrow tail */
.walk-map__brand {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 0.5rem 0.7rem;
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0 4px 12px rgba(26, 35, 38, 0.5));
  pointer-events: none;
}
.walk-map__brand-logo {
  display: block;
  width: clamp(82px, 9vw, 140px);
  aspect-ratio: 841.89 / 232.98; /* Capri Village wordmark viewBox */
  background: var(--sage-deep);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.walk-map__brand::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #fff;
}
.walk-map__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 6px;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}
.walk-map__dot {
  --size: clamp(34px, 4.4vw, 52px);
  position: relative;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  border: 2px solid #fff;
  box-shadow: 0 6px 16px -6px rgba(26, 35, 38, 0.55);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
/* Directional arrow beside the dot (e.g. the off-map airport) */
.walk-map__arrow {
  position: absolute;
  top: -34%;
  left: 64%;
  width: 58%;
  height: 58%;
  background: #fff;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(26, 35, 38, 0.6));
  pointer-events: none;
}
.walk-map__icon {
  width: 56%;
  height: 56%;
  background: #fff;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
/* Caption under the dot — name with the travel time on a second line */
.walk-map__cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  padding: 0.24rem 0.6rem;
  background: var(--sage-deep);
  border: 1.5px solid #fff;
  border-radius: 7px;
  box-shadow: 0 5px 12px -5px rgba(26, 35, 38, 0.55);
}
.walk-map__cap-name {
  font-family: var(--sans);
  font-size: clamp(0.62rem, 1.3vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
}
.walk-map__cap-time {
  font-family: var(--sans);
  font-size: clamp(0.55rem, 1.1vw, 0.66rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1px;
}
.walk-map__pin:hover .walk-map__dot,
.walk-map__pin:focus-visible .walk-map__dot,
.walk-map__pin.is-active .walk-map__dot {
  transform: scale(1.16);
  box-shadow: 0 10px 24px -8px rgba(26, 35, 38, 0.7);
}
.walk-map__pin:focus-visible {
  outline: none;
}
.walk-map__pin:focus-visible .walk-map__dot {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  /* Mobile: fit the whole map width (no side-cropping of points), with dots
     only — captions hidden to avoid overlap; tap a point for its details. */
  .walk-map {
    height: auto;
    min-height: 0;
  }
  .walk-map__base {
    position: static;
    width: 100%;
    height: auto;
  }
  .walk-map__pin {
    padding: 8px;
  }
  .walk-map__dot {
    --size: 32px;
    border-width: 1.5px;
  }
  .walk-map__arrow {
    filter: drop-shadow(0 1px 1px rgba(26, 35, 38, 0.6));
  }
  .walk-map__cap {
    display: none;
  }
  .walk-map__brand {
    top: 8% !important;
    padding: 0.35rem 0.5rem;
  } /* moved up, clear of the pins */
  .walk-map__brand-logo {
    width: 78px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .walk-map__dot {
    transition: none;
  }
}

/* Click popup — image + name + description */
.walk-map__popup {
  position: fixed;
  z-index: 55;
  width: min(280px, calc(100vw - 24px));
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 22px 55px -18px rgba(26, 35, 38, 0.55);
  font-family: var(--sans);
}
.walk-map__popup[hidden] {
  display: none;
}
.walk-map__popup-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--cream-deep);
}
.walk-map__popup-text {
  padding: 0.85rem 0.95rem 1rem;
}
.walk-map__popup-name {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.walk-map__popup-desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.walk-map__popup-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 35, 38, 0.55);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.walk-map__popup-close:hover {
  background: rgba(26, 35, 38, 0.8);
}

/* ---------- Cards (downloads / partners) ----------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tile h3 {
  font-size: 1.4rem;
}
.tile p {
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.65;
  color: var(--ink-soft);
}
.tile .text-link {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Utility -------------------------------------------------- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.mb-rule {
  margin-bottom: 1.5rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 880px) {
  .intro-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .intro-grid--collage {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
  }
}

/* Smaller-body block sitting beneath The Village heading */
.intro-body {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52ch;
}
.intro-body p {
  font-family: var(--sans);
  font-size: clamp(0.8125rem, 0.9vw, 0.9rem);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
.intro-body .text-link {
  align-self: flex-start;
  margin-top: 0.75rem;
}

/* ---------- Story grid: image-left with overlapping accent ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .story-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: calc(5rem + 20px);
    align-items: center;
    padding-bottom: 20px;
  }
}
.story-grid__media {
  position: relative;
}
.story-grid__main {
  aspect-ratio: 4/3;
  /* overflow: hidden; */
  background: #eee;
  width: 87%;
}

/* Mirror variant — portrait accent sits on the LEFT, landscape anchors RIGHT */
.story-grid--mirror .story-grid__main {
  margin-left: auto;
}
.story-grid--mirror .story-grid__accent {
  right: auto;
  left: -6%;
}
.story-grid__main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.story-grid__main:hover > img {
  transform: scale(1.04);
}
/* No zoom when the frame hosts the guard overlay (it is unclipped) */
.story-grid__main:has(.guard-overlay):hover > img {
  transform: none;
}
.story-grid__accent {
  position: absolute;
  right: -6%;
  bottom: calc(-9% - 20px);
  width: 44%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 28px 50px -20px rgba(26, 35, 38, 0.35);
  border: 4px solid #fff;
}
.story-grid__accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.story-grid__accent:hover img {
  transform: scale(1.04);
}
@media (max-width: 880px) {
  /* Story-grid mobile: landscape narrower & left-anchored,
     portrait floats bottom-right overlapping it.
     Equal gap on the landscape's LEFT and the portrait's RIGHT. */
  .story-grid__main {
    width: 88%;
    margin-left: 0;
    aspect-ratio: 4/3;
  }
  .story-grid__accent {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 52%;
    margin: -3.5rem 0 0 auto;
    aspect-ratio: 4/5;
    border-width: 4px;
  }
  /* Mirror variant: landscape right-anchored, portrait floats bottom-left */
  .story-grid--mirror .story-grid__main {
    margin-left: auto;
    margin-right: 0;
  }
  .story-grid--mirror .story-grid__accent {
    margin: -3.5rem auto 0 0;
  }
}

/* ---------- Register page: split layout + sage form band ------------ */
.register-section {
  position: relative;
  scroll-margin-top: 80px;
  padding-block: 0;
  overflow-x: clip;
  background: var(--cream-deep);
}
@media (min-width: 880px) {
  /* Half-and-half background — soft grey left, sage right, no seam.
     The grey separates the section from whatever sits above it. */
  .register-section {
    background: linear-gradient(
      to right,
      var(--cream-deep) 0 50%,
      var(--sage) 50% 100%
    );
  }
}
.register-section .wrap {
  position: relative;
  z-index: 1;
}
/* Home-page contact CTA band — full form now lives on /contact */
.register-section.register-section--cta {
  background: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.contact-cta {
  max-width: 640px;
}
.contact-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.register-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .register-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.register-grid__left {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3.5vw, 3rem)
    clamp(3rem, 6vw, 5rem) 0;
}
.register-grid__right {
  background: var(--sage);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem)
    clamp(1.5rem, 3.5vw, 3rem);
}
@media (min-width: 880px) {
  .register-grid__right {
    /* Background already painted by the section gradient — keep this transparent
       so the column doesn't introduce its own painted box that could mis-align. */
    background: transparent;
  }
}
@media (max-width: 879px) {
  .register-grid__right {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

/* Sales office card on left */
.sales-office {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.sales-office .h-eyebrow {
  margin-bottom: 0.65rem;
}
.sales-office__address {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  max-width: 28ch;
}
.sales-office__phone,
.sales-office__whatsapp {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
}
.sales-office__phone {
  margin-top: 0.25rem;
}
.sales-office__whatsapp {
  margin-top: -0.75rem;
}
.sales-office__phone:hover,
.sales-office__whatsapp:hover {
  color: var(--ink);
}
.sales-office__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: translateY(2px);
  /* Invert white-source SVGs to a dark sage so they read on the light card */
  filter: brightness(0);
  opacity: 0.65;
}
.sales-office__hours {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

/* Form on sage — placeholder-only, white inputs */
.register-form .form-grid {
  gap: 0.85rem 1rem;
}
.register-form .field input,
.register-form .field select,
.register-form .field textarea {
  background: #fff;
  color: var(--sage-deep);
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  padding: 1rem 1.1rem;
}
.register-form .field input::placeholder,
.register-form .field textarea::placeholder {
  color: var(--sage-deep);
  opacity: 0.55;
}
.register-form .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%236a8682' stroke-width='1.5' d='M1 1.5 6 6.5l5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 11px 8px;
  padding-right: 2.5rem;
}
.register-form .field input:focus,
.register-form .field select:focus,
.register-form .field textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.register-form .btn--full {
  width: 100%;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 600;
}
.register-form .btn--full:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.register-form .form-disclaimer {
  color: rgba(255, 255, 255, 0.85);
}

/* Resource list (register page Discover more) */
.resource-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.resource-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.resource-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.resource-list__meta {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
}
.resource-list__link {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.25s var(--ease);
}
.resource-list__link .arrow {
  transition: transform 0.35s var(--ease);
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1;
}
.resource-list__link:hover {
  color: var(--sage-deep);
}
.resource-list__link:hover .arrow {
  transform: translate(4px, 0);
}

/* ---------- Logo frame (Team page brand blocks) ----------------------- */
.logo-frame {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  min-height: 240px;
}
.logo-frame img {
  max-width: 100%;
  height: auto;
  width: auto;
  display: block;
}
.logo-frame__brand {
  max-width: 63%;
}
.logo-frame__text {
  max-width: 80%;
}
.logo-frame--small {
  gap: 3.25rem;
}
.logo-frame__divider {
  width: 35%;
  height: 1px;
  background: var(--sage);
  border: none;
  margin: 0;
}
.logo-frame--small .logo-frame__brand {
  max-width: 62%;
}
.logo-frame--small .logo-frame__text {
  max-width: 34%;
}

/* Neat stats strip — replaces big stat-row table on team page */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  justify-content: center;
  align-items: baseline;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip__item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  white-space: nowrap;
}
.stat-strip__num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}
.stat-strip__label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Partners header (heading LEFT, stats bullets RIGHT) */
.partners-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0 3rem;
}
@media (min-width: 880px) {
  .partners-header {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}
.stats-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.stats-bullets li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.stats-bullets li:first-child {
  border-top: none;
  padding-top: 0;
}
.stats-bullets li:last-child {
  padding-bottom: 0;
}
.stats-bullets__num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
  min-width: 3.25rem;
}
.stats-bullets__label {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Partner marquee (infinite logo loop) ---------------------- */
.partner-marquee-band {
  background: var(--cream-deep);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}
.partner-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.partner-marquee__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: partnerScroll 38s linear infinite;
}
.partner-marquee:hover .partner-marquee__track {
  animation-play-state: paused;
}
@keyframes partnerScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  min-width: 200px;
  text-align: center;
  flex-shrink: 0;
}
.partner-item__logo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-item__logo img {
  max-height: 73%;
  max-width: 220px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.35s var(--ease);
}

/* Marine Walk logo is wordmark-heavy — give it more horizontal room */
.partner-item__logo img[src*="Marine-Walk"] {
  max-width: 360px;
  max-height: 110%;
}
/* Craft of Architects — uses full container height */
.partner-item__logo img[src*="coa"] {
  max-width: 380px;
  max-height: 100%;
}
/* Land Art Studios — shrunk smaller */
.partner-item__logo img[src*="LandArtStudios"] {
  max-width: 160px;
  max-height: 51%;
}
/* Sibaya Coastal City — smaller than the standard cap */
.partner-item__logo img[src*="sibaya-precinct"] {
  max-width: 110px;
  max-height: 48%;
}
/* Val's Café — uses full container height */
.partner-item__logo img[src*="val-cafe"] {
  max-width: 340px;
  max-height: 100%;
}
.partner-item:hover .partner-item__logo img {
  filter: grayscale(0) opacity(1);
}
@media (max-width: 880px) {
  .partner-item {
    min-width: 200px;
    gap: 0.6rem;
  }
  .partner-marquee__track {
    gap: 2.5rem;
  }
  .partner-item__logo {
    height: 130px;
  }
  .partner-item__logo img {
    max-width: 240px;
  }
}
.partner-item__cat {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}
.partner-item__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Scene-section variant: shorter config-card aspect for activity cards */
.scene-section .config-card {
  aspect-ratio: auto;
  height: 380px;
}
@media (max-width: 720px) {
  .scene-section .config-card {
    aspect-ratio: auto;
    height: 320px;
  }
  .scene-section .config-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ---------- Parallax banner (full-bleed image break) ---------------- */
.banner-parallax {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
@media (max-width: 780px) {
  .banner-parallax {
    height: 50vh;
    background-attachment: scroll;
  }
}

/* ---------- Feature list (Step Outdoors etc) ------------------------ */
.feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.feature-list--single {
  grid-template-columns: 1fr;
}
.feature-list li {
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--sage-deep);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scene list (Lifestyle "Live the Day") ------------------- */
.scene-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.scene-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.scene-list li:last-child {
  border-bottom: none;
}
.scene-list h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin: 0 0 0.3rem;
  color: var(--ink);
}
.scene-list p {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Trio-grid quad: 3 stacked images on right (instead of 2) */
.trio-grid--quad .trio-grid__b,
.trio-grid--quad .trio-grid__c,
.trio-grid--quad .trio-grid__d {
  flex: 1;
  overflow: hidden;
  background: #eee;
  border: 4px solid #fff;
}
.trio-grid--quad .trio-grid__b {
  border-bottom-width: 2px;
  box-shadow: 0 14px 30px -14px rgba(26, 35, 38, 0.22);
}
.trio-grid--quad .trio-grid__c {
  border-top-width: 2px;
  border-bottom-width: 2px;
  box-shadow: 0 18px 36px -16px rgba(26, 35, 38, 0.26);
}
.trio-grid--quad .trio-grid__d {
  border-top-width: 2px;
  box-shadow: 0 22px 44px -16px rgba(26, 35, 38, 0.3);
}

/* ---------- Trio grid: 3 images left, text right (reusable) --------- */
.trio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .trio-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: calc(5rem + 20px);
    align-items: center;
    padding-block: 20px;
  }
  .trio-grid__main {
    /* nudge the main image left so it sits further from the overlapping stack */
    transform: translateX(-28px);
  }
}
.trio-grid__media {
  position: relative;
}
.trio-grid__main {
  width: 66%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #eee;
  position: relative;
  z-index: 1;
}
.trio-grid__stack {
  position: absolute;
  top: 6%;
  bottom: -8%;
  right: -6%; /* matches the story-grid accent overflow — same visual gap to text */
  width: 54%; /* widened so the stack overlaps further onto the main image */
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(16px);
  z-index: 2;
}
.trio-grid__b,
.trio-grid__c {
  overflow: hidden;
  background: #eee;
  border: 4px solid #fff;
}
.trio-grid__b {
  flex: 1;
  border-bottom-width: 2px;
  box-shadow: 0 18px 35px -16px rgba(26, 35, 38, 0.25);
}
.trio-grid__c {
  flex: 1.15;
  border-top-width: 2px;
  box-shadow: 0 22px 45px -15px rgba(26, 35, 38, 0.32);
}
.trio-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.trio-grid__main img {
  /* Landscape source in a 4/5 frame — bias the crop right so both subjects stay in view */
  object-position: 62% center;
}
.trio-grid__main:hover img,
.trio-grid__b:hover img,
.trio-grid__c:hover img {
  transform: scale(1.04);
}

@media (max-width: 880px) {
  /* Portrait on top, landscape pair overlapping the bottom of it */
  .trio-grid__media {
    position: relative;
  }
  .trio-grid__main {
    width: 100%;
    aspect-ratio: 1/1;
  }
  .trio-grid__stack {
    position: relative;
    width: 88%;
    margin: -3.5rem auto 0 auto;
    flex-direction: row;
    gap: 5px;
    transform: none;
    inset: auto;
    z-index: 2;
  }
  .trio-grid__b,
  .trio-grid__c,
  .trio-grid__d {
    flex: 1;
    aspect-ratio: 4/3;
    border: 4px solid #fff;
    border-bottom-width: 4px;
    border-top-width: 4px;
    box-shadow: 0 14px 28px -14px rgba(26, 35, 38, 0.25);
  }
}

/* ---------- Move-in Ready: sticky scroll storytelling ----------------
   Text panel locks on the left, image frames scroll past on the right.
   Each frame swaps the active text slide via IntersectionObserver. */
.movein-section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.movein-scroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 880px) {
  .movein-scroll {
    grid-template-columns: 0.85fr 1.25fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
}

/* Sticky text column */
.movein-text {
  position: relative;
}
@media (min-width: 880px) {
  .movein-text {
    position: sticky;
    /* Clears the sticky nav (60px) + price banner (~80px) + breathing room */
    top: clamp(160px, 18vh, 200px);
    align-self: start;
  }
}
.movein-text__inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.movein-text__header {
  margin-bottom: 9.5rem;
}
.movein-text__header .h-section {
  margin: 0;
}

.movein-text__slide-wrap {
  position: relative;
  min-height: 220px;
}
.movein-text__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease);
  pointer-events: none;
}
.movein-text__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.movein-text__title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.movein-text__body {
  font-family: var(--sans);
  font-size: clamp(0.875rem, 0.95vw, 0.95rem);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

/* Image stack column — each frame ~100vh so the scroll has reach */
.movein-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 880px) {
  .movein-stack {
    gap: 2rem;
  }
}
.movein-frame {
  position: relative;
  background: transparent;
  aspect-ratio: 4/3;
  opacity: 1;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, opacity;
}
@media (min-width: 880px) {
  .movein-frame {
    min-height: 70vh;
    aspect-ratio: auto;
  }
}
.movein-frame__media {
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 18px 22px 40px -12px rgba(26, 35, 38, 0.25);
}
.movein-frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.movein-frame__body {
  display: none;
} /* hidden on desktop — sticky panel handles text */
.movein-frame.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Mobile fallback — text inline under each image, no sticky behaviour */
@media (max-width: 880px) {
  .movein-text {
    display: none;
  }
  .movein-frame {
    opacity: 1;
    transform: none;
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
  }
  .movein-frame__media {
    aspect-ratio: 4/3;
  }
  .movein-frame__body {
    display: block;
    padding: 1.25rem 0 0;
  }
  .movein-frame__body h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.012em;
    margin: 0 0 0.35rem;
    color: var(--ink);
  }
  .movein-frame__body p {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
  }
}

/* Final move-in row — runs after the sticky scroll, scrolls normally with the page */
.movein-final {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.movein-final__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 880px) {
  .movein-final__inner {
    grid-template-columns: 0.85fr 1.25fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
}
.movein-final__text {
  padding-top: 1rem;
}
.movein-final__media {
  overflow: hidden;
  box-shadow: 18px 22px 40px -12px rgba(26, 35, 38, 0.25);
}
.movein-final__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Spec grid: image cards for feature specs ---------------- */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
  }
}
@media (min-width: 1024px) {
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.spec-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(26, 35, 38, 0.12);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -22px rgba(26, 35, 38, 0.22);
}
.spec-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}
.spec-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.spec-card:hover .spec-card__media img {
  transform: scale(1.06);
}
.spec-card__body {
  padding: 1.6rem 1.6rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.spec-card__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-deep);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.spec-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0;
}
.spec-card p {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

/* ---------- Phase grid: text+list left, wide landscape right -------- */
.phase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .phase-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
  }
}
.phase-grid__media {
  overflow: hidden;
  background: #eee;
  aspect-ratio: 5/4;
}
.phase-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.phase-grid__media:hover img {
  transform: scale(1.04);
}

/* ---------- Simple 2-image vertical stack (Village page) ------------ */
.stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
}
.stack > div {
  overflow: hidden;
  background: #eee;
}
.stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.stack > div:hover img {
  transform: scale(1.04);
}
.stack__top {
  aspect-ratio: 3/2;
}
.stack__bottom {
  aspect-ratio: 3/2;
}

/* ---------- Phase list (Village "Now Selling") ---------------------- */
.phase-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.phase-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.phase-list__name {
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 6rem;
  color: var(--ink);
}
.phase-list__status {
  color: var(--ink-soft);
}
.phase-list__active {
  padding: 1.25rem 0;
}
.phase-list__active .phase-list__name {
  font-size: 1.35rem;
  color: var(--sage-deep);
}
.phase-list__active .phase-list__status {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--sage-deep);
}

/* Phase media placeholder block */
.phase-media {
  overflow: hidden;
  background: #eee;
  aspect-ratio: 4/5;
}
.phase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.phase-media:hover img {
  transform: scale(1.04);
}

/* Collage: tall portrait + two landscapes + full-width landscape
   Portrait spans rows 1-2 so it auto-sizes to (B + gap + C).
   B and C drive the row height via their aspect-ratio — equal heights. */
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.collage > div {
  overflow: hidden;
  background: #eee;
  display: block;
  min-height: 0;
  min-width: 0;
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.collage > div:hover img {
  transform: scale(1.05);
}
.collage__b {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 5/3;
}
.collage__c {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 5/3;
}
.collage__d {
  grid-column: 1 / -1;
  grid-row: 2;
  aspect-ratio: 16/7;
}

@media (max-width: 880px) {
  .collage {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .collage__b {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4/3;
  }
  .collage__c {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 4/3;
  }
  .collage__d {
    grid-column: 1 / -1;
    grid-row: 2;
    aspect-ratio: 16/7;
  }
}

/* ---------- Cookie banner -------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 60;
  max-width: 24rem;
  background: var(--ink);
  color: rgba(246, 240, 228, 0.85);
  border: 1px solid rgba(246, 240, 228, 0.12);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.45);
  padding: 1.1rem 1.2rem;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__msg {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 0.9rem;
}
.cookie-banner__msg a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.cookie-banner__msg a:hover {
  color: var(--sage-soft);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}
.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: rgba(246, 240, 228, 0.7);
  border: 1px solid rgba(246, 240, 228, 0.25);
}
.cookie-banner__btn--ghost:hover {
  color: var(--cream);
  border-color: var(--cream);
}
.cookie-banner__btn--solid {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream);
}
.cookie-banner__btn--solid:hover {
  background: var(--sage-soft);
  border-color: var(--sage-soft);
}
@media (max-width: 560px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

/* =========================================================
   One-pager rebuild additions (2026-06)
   New components only — everything else reuses the system above.
   ========================================================= */

/* Anchor targets clear the sticky header + banner */
#day,
#village-life,
#homes,
#peace-of-mind,
#faq,
#visit {
  scroll-margin-top: 102px;
}
/* Location tab lands lower in the Walk section */
#walk {
  scroll-margin-top: -20px;
}

/* ---------- Assurance strip (Security · Pets · Greenery · Totalcare) -- */
.assure-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 880px) {
  .assure-strip {
    grid-template-columns: repeat(4, 1fr);
    padding-block: 1.85rem;
  }
}
.assure-strip__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.assure-strip__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage-deep);
  background: var(--paper);
}
.assure-strip__icon svg {
  width: 21px;
  height: 21px;
  display: block;
}
.assure-strip__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- Walkable world path --------------------------------------- */
.walk-path {
  margin-top: 3.25rem;
}
.walk-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.walk-line::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 4%;
  right: 4%;
  border-top: 2px dashed var(--sage-deep);
  opacity: 0.45;
}
.walk-stop {
  position: relative;
  text-align: center;
  padding: 0 0.75rem;
}
.walk-stop__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage-deep);
  border: 5px solid var(--cream-deep);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}
.walk-stop--home .walk-stop__dot {
  background: var(--sage-ink);
}
.walk-stop strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.walk-stop__time {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-top: 0.2rem;
}
.walk-stop p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0.45rem 0 0;
}
@media (max-width: 860px) {
  .walk-line {
    grid-template-columns: 1fr;
    gap: 1.9rem;
  }
  .walk-line::before {
    top: 0;
    bottom: 0;
    left: 11px;
    right: auto;
    border-top: none;
    border-left: 2px dashed var(--sage-deep);
  }
  .walk-stop {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 1.1rem;
    text-align: left;
    align-items: start;
    padding: 0;
  }
  .walk-stop__dot {
    margin: 0;
  }
}

/* ---------- Quote grid (testimonial cluster on sage) ------------------ */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.75rem;
}
@media (min-width: 880px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.quote-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2rem 2.25rem;
}
.quote-card p {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}
.quote-card p.quote-card__plain {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}
.quote-card footer {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* ---------- Media tags (image caption labels) ------------------------- */
.has-tag {
  position: relative;
}
.media-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(26, 35, 38, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0.35rem 0.7rem;
  pointer-events: none;
  max-width: calc(100% - 1.5rem);
}

/* ---------- FAQ accordion ---------------------------------------------- */
.faq {
  margin-top: 2.25rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--sage-deep);
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin: 0.9rem 0 0;
  max-width: 52em;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Pinned aerial (estate context) ----------------------------- */
.pin-map {
  position: relative;
  overflow: hidden;
  background: #eee;
}
.pin-map img {
  width: 100%;
  height: auto;
  display: block;
}
.pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  pointer-events: none;
}
.pin::after {
  content: "";
  order: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage-ink);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.pin span {
  order: 1;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(26, 35, 38, 0.72);
  padding: 0.28rem 0.6rem;
  white-space: nowrap;
}
.pin--major::after {
  background: #fff;
  border-color: var(--sage-ink);
}
@media (max-width: 640px) {
  .pin span {
    font-size: 0.52rem;
    padding: 0.2rem 0.45rem;
    letter-spacing: 0.08em;
  }
}

/* ---------- Floating WhatsApp ------------------------------------------ */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  display: block;
}

/* ---------- Hero assurance list (stacked quartet inside the hero) ------ */
.hero-assure {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-assure li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-assure__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--cream);
}
.hero-assure__icon svg {
  width: 21px;
  height: 21px;
  display: block;
}
.hero-assure__label {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
}

/* ---------- Testimonial carousel (auto-advancing, 3-up) ---------------- */
.quote-carousel {
  position: relative;
  margin-top: 2.75rem;
}
.quote-carousel__viewport {
  overflow: hidden;
}
.quote-carousel__track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}
.quote-carousel .quote-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .quote-carousel .quote-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}
@media (min-width: 1024px) {
  .quote-carousel .quote-card {
    flex-basis: calc((100% - 3rem) / 3);
  }
}

/* Carousel arrows — minimal chevrons, overlaid at the edges */
.quote-carousel {
  position: relative;
}
.quote-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(26, 35, 38, 0.22);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.quote-carousel__btn:hover {
  background: #fff;
  color: var(--sage-ink);
  border-color: #fff;
}
.quote-carousel__btn svg {
  width: 17px;
  height: 17px;
  display: block;
}
.quote-carousel__btn--prev {
  left: 0.85rem;
}
.quote-carousel__btn--next {
  right: 0.85rem;
}
@media (max-width: 640px) {
  .quote-carousel__btn {
    width: 36px;
    height: 36px;
  }
}
/* From tablet up: arrows live in side gutters, clear of the cards */
@media (min-width: 641px) {
  .quote-carousel {
    padding-inline: 56px;
  }
  .quote-carousel__btn--prev {
    left: 0;
  }
  .quote-carousel__btn--next {
    right: 0;
  }
}

/* Testimonial carousel cards: white, inverted text on the sage band */
.quote-carousel .quote-card {
  background: var(--paper);
  border: none;
  box-shadow: 0 20px 45px -28px rgba(26, 35, 38, 0.4);
}
.quote-carousel .quote-card p {
  color: var(--sage-ink);
}
.quote-carousel .quote-card footer {
  color: var(--sage-deep);
}

/* Slimmer, smaller testimonial cards */
.quote-carousel .quote-card {
  padding: 1.3rem 1.6rem;
}
.quote-carousel .quote-card p {
  font-size: 1.02rem;
  line-height: 1.4;
}
.quote-carousel .quote-card footer {
  margin-top: 0.75rem;
  font-size: 0.68rem;
}

/* Palm leaf accents (testimonial band) — light, staggered left/right */
/* Shorter testimonial band */
.section-sage.palm-band {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.section-sage.palm-band .quote-carousel {
  margin-top: 1.75rem;
}

.palm-band {
  position: relative;
}
.palm-band::before,
.palm-band::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  background: url("../images/palm-leaves.webp") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
.palm-band::before {
  left: -6%;
  top: 16%;
  width: 26%;
  max-width: 430px;
  background-position: center left;
  opacity: 0.14;
  transform: rotateY(180deg);
}
.palm-band::after {
  right: -6%;
  top: 30%;
  width: 30%;
  max-width: 500px;
  background-position: center right;
  opacity: 0.16;
}
.palm-band .wrap {
  position: relative;
  z-index: 1;
}

/* Testimonial cards: rounded */
.quote-carousel .quote-card {
  border-radius: 12px;
}

/* ---------- Care continuum strip (typography-led) ----------------------- */
.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.25rem;
}
.care-step {
  background: var(--paper);
  padding: 1.75rem 1.5rem 1.9rem;
}
.care-step__marker {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--sage-deep);
}
.care-step h3 {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin: 0.85rem 0 0.45rem;
}
.care-step p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 960px) {
  .care-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .care-grid {
    grid-template-columns: 1fr;
  }
}
.care-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  max-width: 60ch;
}

/* Trust strip: thin pipes between the three items (desktop) */
@media (min-width: 880px) {
  .pricing-strip__item + .pricing-strip__item {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
  }
  .pricing-strip__item {
    padding-inline: 1.25rem;
  }
}

/* Quote cards on light sections (families block on paper) */
.section-paper .quote-grid .quote-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 20px 45px -28px rgba(26, 35, 38, 0.25);
}
.section-paper .quote-grid .quote-card p {
  color: var(--sage-ink);
}
.section-paper .quote-grid .quote-card p.quote-card__plain {
  color: var(--ink-soft);
}
.section-paper .quote-grid .quote-card footer {
  color: var(--sage-deep);
}

/* Sales office: phone and WhatsApp as side-by-side buttons + directions */
.sales-office__btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}
.sales-office__btns .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  padding: 0.7rem 1.15rem;
}
.sales-office__btns .sales-office__icon {
  transform: none;
}
.sales-office__directions {
  margin-top: 0.75rem;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sales-office__directions:hover {
  color: var(--ink);
}

/* Map modal (Directions) */
.map-modal {
  width: min(900px, 92vw);
  border: none;
  padding: 0;
  background: var(--paper);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.map-modal::backdrop {
  background: rgba(26, 35, 38, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.map-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.map-modal__head h3 {
  margin: 0;
  font-size: 1.35rem;
}
.map-modal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.25rem 0.5rem;
}
.map-modal__close:hover {
  color: var(--ink);
}
.map-modal__body iframe {
  width: 100%;
  height: min(60vh, 520px);
  border: 0;
  display: block;
  filter: saturate(0.7) brightness(1.08) contrast(0.92);
}
.map-modal__foot {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: flex-end;
}

/* Full-page PDF viewer (leaflet, eBrochure) — native PDF view filling the tab */
.pdf-page {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.pdf-page__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #525659;
}
.pdf-page__fallback {
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

/* Sales office buttons: solid white, square corners */
.sales-office__btns .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(26, 35, 38, 0.35);
}
.sales-office__btns .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Plan cards (Cove / Bay / Reef): frosted content block, GCE style.
   No gradient over the image — the body is a blurred tinted block at the
   bottom and the photo stays fully visible above it. */
.config-card--frost::after {
  display: none;
}
.config-card--frost .config-card__body {
  background: rgba(26, 35, 38, 0.45);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1.35rem 1.5rem 1.5rem;
}

/* Stacked media: wide landscape on top, two cells below */
.media-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.media-stack__wide {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
.media-stack__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.media-stack__row > div {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}
.media-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Day timeline: time slots more visible */
#day .config-card__cat {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Frost plan cards v2: image ends where the content block begins.
   The body carries its own copy of the card image (inline style),
   blurred via a pseudo-element, with a dark tint above it. */
.config-card--frost {
  display: flex;
  flex-direction: column;
}
.config-card--frost > img {
  position: static;
  inset: auto;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}
.config-card--frost .config-card__body {
  position: relative;
  inset: auto;
  overflow: hidden;
  background-size: cover;
  background-position: center bottom;
}
.config-card--frost .config-card__body::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: inherit;
  filter: blur(14px) saturate(140%);
}
.config-card--frost .config-card__body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 38, 0.52);
}
.config-card--frost .config-card__body > * {
  position: relative;
  z-index: 1;
}

/* Wide media variant: shorter, shows the full landscape frame */
.split__media--wide img {
  aspect-ratio: 16/9;
}

/* Visit section: calmer left column */
#visit .feature-list li {
  border-bottom: none;
  padding-block: 0.45rem;
}
#visit .sales-office {
  border-top: none;
  padding-top: 0.25rem;
}
#visit .sales-office__hours {
  margin-top: 1.1rem;
}
#visit .sales-office__directions {
  margin-top: 0.3rem;
}
@media (min-width: 880px) {
  .register-grid {
    align-items: center;
  }
}

/* General-purpose cover media block (16:9) */
.media-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Developer stats: tighter rows */
.stats-bullets li {
  padding: 0.5rem 0;
}

/* Families Q&A: editorial list, no card boxes */
.qa-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  max-width: 36rem;
}
.qa-list li {
  display: grid;
  gap: 0.4rem;
}
.qa-list__label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
}
.qa-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Guard portrait pinned inside the gatehouse photo frame */
.guard-overlay {
  position: absolute;
  right: -5%;
  bottom: -18%;
  width: 48%;
  z-index: 2;
  border: 4px solid #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
}
.guard-overlay img {
  width: 100%;
  height: auto;
  display: block;
}
.guard-overlay .media-tag {
  left: 0.5rem;
  bottom: 0.5rem;
}

/* Contact button icons flip to white on hover with the text */
.sales-office__btns .btn:hover .sales-office__icon {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* ---------- Mobile refinements (2026-06-12) --------------------------- */
@media (max-width: 640px) {
  /* Banner: stack headline over CTA, centred */
  .price-banner {
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
  }

  /* Hero eyebrow: 2px smaller, tighter tracking */
  .hero__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  /* Hero pillar icons: tighter circles, same glyph, buttons ride up */
  .hero-assure__icon {
    width: 30px;
    height: 30px;
  }
  .hero-assure {
    gap: 0.45rem;
  }

  /* WhatsApp float: smaller circle, same icon */
  .wa-float {
    width: 46px;
    height: 46px;
  }

  /* Trust strip: stacked, label and value closer, half-width separators */
  .pricing-strip {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .pricing-strip .h-eyebrow {
    margin-bottom: 0.3rem;
  }
  .pricing-strip__item:not(:last-child)::after {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 1.1rem auto 0;
  }
}

/* Mobile: collage cells b and c go full width, stacked */
@media (max-width: 640px) {
  .collage__b {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16/9;
  }
  .collage__c {
    grid-column: 1 / -1;
    grid-row: 2;
    aspect-ratio: 16/9;
  }
  .collage__d {
    grid-row: 3;
  }

  /* Stacked media rows (Salta and families sections): full width, tighter */
  .media-stack {
    gap: 0.6rem;
  }
  .media-stack__row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .media-stack__row > div {
    aspect-ratio: 16/9;
  }
}

/* Mobile: text reads first, imagery follows; trio cells full width */
@media (max-width: 640px) {
  /* Braai banner matches the bowling green height */
  .collage__d {
    aspect-ratio: 16/9;
  }

  /* Content before media in trio sections (Salta order handled below) */
  .trio-grid__text {
    order: 1;
  }
  .trio-grid__media {
    order: 2;
  }
  .split > .media-stack {
    order: 2;
  }

  /* Trio image groups: flush full-width stack, no overlap collage */
  .trio-grid__main {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .trio-grid__stack {
    width: 100%;
    margin: 0.6rem 0 0;
    flex-direction: column;
    gap: 0.6rem;
  }
  .trio-grid__b,
  .trio-grid__c,
  .trio-grid__d {
    flex: none;
    aspect-ratio: 16/9;
    border: none;
    box-shadow: none;
  }
}

/* Trio media groups on mobile/tablet: flush, equal, aligned with the main
   image, exactly like the Salta media-stack. Final word in the cascade. */
@media (max-width: 880px) {
  .trio-grid__text {
    order: 1;
  }
  .trio-grid__media {
    order: 2;
  }
  .trio-grid__main {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .trio-grid__stack {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0.75rem 0 0;
    flex-direction: row;
    gap: 0.75rem;
    transform: none;
  }
  .trio-grid__b,
  .trio-grid__c,
  .trio-grid__d {
    flex: 1;
    aspect-ratio: 4/3;
    border: none;
    box-shadow: none;
  }
}
@media (max-width: 640px) {
  .trio-grid__stack {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.6rem;
  }
  .trio-grid__b,
  .trio-grid__c,
  .trio-grid__d {
    flex: none;
    aspect-ratio: 16/9;
  }
}

/* Mobile security frame: narrower gatehouse, guard clear of its caption */
@media (max-width: 640px) {
  .story-grid__main {
    width: 82%;
  }
  .guard-overlay {
    right: -14%;
    width: 46%;
  }
  .story-grid__main > .media-tag {
    max-width: 52%;
  }
}
