/* ==========================================================================
   site.css: Olamia components, one block per Blueprint section, mobile-first
   (390) → 834 → 1440. Only tokens, no raw values beyond geometry.
   ========================================================================== */

/* ── Brand marks (SVG masks, coloured by currentColor) ──────────────── */
.logo, .mono {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--mask-logo) center / contain no-repeat;
          mask: var(--mask-logo) center / contain no-repeat;
  aspect-ratio: 382 / 231;
}
.mono { -webkit-mask-image: var(--mask-mono); mask-image: var(--mask-mono); aspect-ratio: 178 / 326; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader { display: none; }
.is-loading .loader, .loader.is-leaving { display: grid; }
.is-loading { overflow: hidden; }
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  place-items: center; padding: var(--gutter);
  color: var(--c-paper);
  background: var(--loader-ground);   /* warm stand-in while the photo loads, so its fade-in is near-seamless */
}
.is-loading .loader { animation: loader-failsafe 0.6s ease 9s forwards; }
.loader.is-leaving { opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease-out), visibility 0s 900ms; }
.loader picture { position: absolute; inset: 0; }
.loader__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transition: opacity 600ms var(--ease-out); }
.loader.has-bg .loader__bg { opacity: 1; }
.loader::after {   /* soft centre vignette so the light type holds over the bright sky */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 55%, color-mix(in srgb, #301c0c 22%, transparent), transparent 70%);
}
.loader__inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; width: 100%; }
.loader__inner > * { animation: loader-in 800ms var(--ease-out) both; }
.loader__inner > :nth-child(2) { animation-delay: 100ms; }
.loader__inner > :nth-child(3), .loader__inner > :nth-child(4) { animation-delay: 200ms; }
.loader__mark { width: clamp(67px, 8.32vw, 160px); color: var(--c-linen); }   /* 80% of the first build (Stacey, 9 Nov) */
.loader__tagline {
  margin-top: clamp(22px, 3.36vw, 64px);
  font-size: clamp(14.4px, 1.62vw, 31px); font-style: italic; font-weight: var(--fw-medium);
  letter-spacing: 0.04em; line-height: 1.3;
  text-shadow: 0 1px 14px color-mix(in srgb, #28160a 25%, transparent);
}
.loader__tagline span { font-weight: var(--fw-light); }
.loader__bar {
  margin-top: clamp(13px, 2.2vw, 42px);
  width: min(548px, max(28.56vw, 192px), 100%); height: clamp(3px, 0.38vw, 7px);
  border-radius: var(--r-pill); background: var(--c-paper); overflow: hidden;
}
.loader__fill { display: block; width: 100%; height: 100%; background: var(--c-gold); transform: scaleX(0); transform-origin: left center; }
.loader__pct { margin-top: clamp(5px, 0.64vw, 12px); font-size: clamp(10px, 0.64vw, 12px); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .loader__tagline { font-size: 16px; }
  .loader__tagline span { display: block; }   /* second line on its own row on phones */
}
@keyframes loader-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ==========================================================================
   Top stack: fixed header (00 announcement lives at the foot of the hero)
   ========================================================================== */
.site-top {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: transform var(--t-nav) var(--ease-out);
}
.nav-hidden .site-top { transform: translateY(-100%); }

/* Header */
.header {
  position: relative;
  height: var(--header-h);
  color: var(--c-paper);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out), box-shadow var(--t-med), height var(--t-med) var(--ease-out);
}
.header::before {   /* soft top shade so the transparent header reads over any image */
  content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--header-h) * 1.8);
  background: linear-gradient(to bottom, var(--header-shade), transparent);
  pointer-events: none; transition: opacity var(--t-med);
}
.site-top--classic.is-solid .header { background: var(--c-sand); color: var(--c-forest); box-shadow: var(--shadow-s); }
.site-top--urchin.is-solid .header { background: var(--nav-solid-bg); color: var(--nav-solid-fg); box-shadow: var(--nav-solid-shadow); }
.is-solid .header::before { opacity: 0; }

/* Tablet / mobile: logo top-left, actions right */
.header__inner {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding-inline: var(--line-1);   /* on the outer line (Stacey, 12 Nov; was gutter + 15px) */
}
.header__brand { display: block; border-radius: var(--r-xs); }
.header__logo { height: var(--logo-h); transition: opacity var(--t-fast), height var(--t-med) var(--ease-out); }
.header__brand:hover .header__logo { opacity: 0.8; }
.header__brand:active .header__logo { opacity: 0.65; }

.header__nav { display: none; }
.header__nav a, .header__link {
  position: relative; padding-block: var(--s-1);
  font-size: var(--fs-nav); font-weight: var(--fw-light); letter-spacing: var(--ls-nav); white-space: nowrap;
  transition: color var(--t-fast);
}
/* Hover: no underline; the link softens to the unselected-language tone (Stacey, 13 Nov: no underline, no yellow) */
.header__nav a { transition: opacity var(--t-med) var(--ease-out); }
.header__nav a:hover, .header__nav a:focus-visible { opacity: var(--link-hover-off); }
.header__nav a:active, .header__link:active { opacity: 0.45; }

/* Private Residences drop-down: opens on hover or keyboard focus; each type jumps to its card */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop__top { display: inline-flex; align-items: center; gap: 0.4em; }
.nav-drop__chev { width: 0.7em; height: 0.7em; transform: rotate(90deg); transition: transform var(--t-med) var(--ease-out); }
.nav-drop:hover .nav-drop__chev, .nav-drop:focus-within .nav-drop__chev { transform: rotate(-90deg); }
.header__nav .nav-drop__list {   /* .header__nav: outranks the ul[class] reset. No panel, no frame: just the words, like the nav (Stacey, 9 Nov) */
  position: absolute; top: 100%; left: 0; min-width: 12rem;
  padding: var(--s-1) 0 0; margin-top: var(--s-1);
  display: grid; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.nav-drop__list::before { content: ""; position: absolute; inset: calc(-1 * var(--s-2)) 0 100%; }   /* hover bridge over the gap */
.nav-drop:hover .nav-drop__list, .nav-drop:focus-within .nav-drop__list {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.header__nav .nav-drop__list a {   /* clean white Urbanist SemiBold, a soft shade so it reads over any image */
  display: block; width: max-content; padding-block: 0.4rem;
  font-weight: var(--fw-semibold); color: var(--c-paper);
  text-shadow: 0 1px 12px color-mix(in srgb, var(--c-forest) 55%, transparent);
}
/* drop-down items soften on hover like the rest of the nav (no gold; Stacey, 13 Nov) */
/* solid (sand) header: the list hangs over the page, so it takes the header's own sand ground (no frame) and the nav's forest */
.is-solid .header__nav .nav-drop__list { left: calc(-1 * var(--s-3)); padding: var(--s-1) var(--s-3) var(--s-2); margin-top: 0; top: calc(100% + var(--s-1)); background: var(--c-sand); }
.site-top--classic.is-solid .header__nav .nav-drop__list a { color: var(--c-forest); text-shadow: none; }
.site-top--classic.is-solid .header__nav .nav-drop__list a:hover { color: var(--c-khaki); }
.site-top--urchin.is-solid .header__nav .nav-drop__list { background: var(--nav-solid-bg); }
.site-top--urchin.is-solid .header__nav .nav-drop__list a { text-shadow: none; color: var(--c-on-urchin); }

/* FAQs + Listing Platform (Stacey, 13 Nov): plain nav text, like the links on the left. Listing Platform no longer underlined (Stacey, 13 Nov);
   both soften on hover like the nav. */
.header__link { transition: opacity var(--t-med) var(--ease-out); }
.header__link:hover, .header__link:focus-visible { opacity: var(--link-hover-off); }
.header__wide { display: none; }   /* Blog + FAQs: desktop only; phones + tablet find them in the menu */

.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-2); }

/* Language switcher (Stacey, 13 Nov): EN | FR in two touching boxes on the far right, the height of the buttons.
   Active = glass (the old Register button); the other clear with a hairline (like the old Listing Platform outline). */
.lang { display: inline-flex; flex: none; }
.lang__opt {
  min-height: var(--lang-h); min-width: var(--lang-h); padding: var(--lang-pad-y) var(--lang-pad-x);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;   /* links to /fr/… and back (17 Nov) */
  font-size: var(--fs-lang); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.05em; line-height: 1.1;
  color: inherit; background: transparent; border: 1px solid var(--outline-bd);
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out);
}
.lang__opt:first-child { border-radius: var(--r-s) 0 0 var(--r-s); }
.lang__opt:last-child  { border-radius: 0 var(--r-s) var(--r-s) 0; margin-left: -1px; }   /* touching: one shared hairline */
.lang__opt:hover, .lang__opt:focus-visible { background: var(--outline-bg-hover); }
.lang__opt:active { transform: translateY(1px); }
.lang__opt[aria-current="true"] {   /* active: the glass of the old Register button (Stacey, 13 Nov) */
  position: relative; cursor: default; color: var(--c-paper); border-color: var(--glass-bd);
  background: linear-gradient(180deg, var(--glass-top), transparent 55%, var(--glass-foot)), var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 var(--glass-lo);
  text-shadow: 0 1px 8px color-mix(in srgb, var(--c-forest) 25%, transparent);
}
.lang__opt:focus-visible { outline-offset: 2px; }
.site-top--classic.is-solid:not(.menu-open *) .lang__opt { border-color: var(--c-forest); }
.site-top--urchin.is-solid:not(.menu-open *) .lang__opt { border-color: color-mix(in srgb, var(--c-on-urchin) 85%, transparent); }   /* sand on the Urchin header (13 Nov) */
.site-top--urchin.is-solid:not(.menu-open *) .lang__opt[aria-pressed="true"] { color: var(--c-on-urchin); }

@media (max-width: 833px) { .header__signin { display: none; } }   /* phones: Listing Platform lives in the menu (Stacey, 13 Nov) */
@media (max-width: 379px) {   /* small phones (360): a touch tighter so the menu stays on screen */
  .header__inner { gap: var(--s-1); }
  .header__actions { gap: var(--s-1); }
  .header__signin { font-size: 0.875rem; letter-spacing: 0.03em; }
}
.header__register { display: none; }
.header__menu {
  display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  border-radius: var(--r-s); transition: background-color var(--t-fast);
}
.header__menu:hover { background: var(--c-paper-a20); }
.header__menu:active { background: var(--glass-bg-strong); }
.header__menu .ico--close { display: none; }
.menu-open .header__menu .ico--menu { display: none; }
.menu-open .header__menu .ico--close { display: block; }
.menu-open .header { background: transparent; color: var(--c-paper); box-shadow: none; }
.menu-open .header::before { opacity: 0; }

@media (min-width: 834px) {
  .header__actions { gap: var(--s-3); }
  .header__register { display: inline-flex; }
}

/* Desktop: logo on the outer line (left); nav + actions together on the right, one even rhythm (Stacey, 13 Nov).
   From 1366: below that the full row is too tight beside the logo (22px at 1280), so laptops under 1366 keep the menu. */
@media (min-width: 1366px) {
  .header__inner { gap: var(--nav-gap); }
  .header__brand { order: -1; margin-right: auto; align-self: flex-start; margin-top: calc((var(--header-h) - var(--cta-h)) / 2); }   /* logo top level with Register + EN/FR (Stacey, 13 Nov) */
  .header__nav { display: flex; align-items: center; gap: var(--nav-gap); }
  .header__actions { gap: var(--nav-gap); }
  .header__wide { display: inline-block; }
  .header__register { margin-left: var(--s-1); }   /* a breath more before the buttons */
  .header__menu { display: none; }
  .is-solid { --header-h: var(--header-h-solid); --logo-h: var(--logo-h-solid); }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-header) - 1);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + var(--s-4)) var(--gutter) calc(var(--s-4) + env(safe-area-inset-bottom));
  background: var(--c-forest); color: var(--c-paper);
  opacity: 0; transition: opacity var(--t-med) var(--ease-out);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; }
.menu__motif {
  position: absolute; inset: auto 0 0; height: 55%;
  background: var(--c-gold-dim);
  -webkit-mask: var(--mask-motif) center top / cover no-repeat; mask: var(--mask-motif) center top / cover no-repeat;
  pointer-events: none;
}
.menu__nav { position: relative; display: grid; gap: var(--s-1); }
.menu__nav a {
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-size: var(--fs-menu); line-height: 1.3;
  transform: translateY(12px); opacity: 0;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med), color var(--t-fast);
  transition-delay: calc(var(--i) * 50ms + 80ms);
}
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu__nav .menu__sub { font-family: var(--ff-body); font-style: normal; font-size: var(--fs-body); font-weight: var(--fw-light); letter-spacing: 0.04em; line-height: 1.6; padding-left: var(--s-3); color: var(--c-paper-a85); }
.menu__nav a:hover, .menu__nav a:active { color: var(--c-gold); }
.menu__foot { position: relative; display: grid; gap: var(--s-2); margin-top: var(--s-6); }
.menu__loc { font-size: var(--fs-micro); letter-spacing: 0.04em; color: var(--c-paper-a70); text-align: center; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   01 · Hero (Stacey's design, 7 Nov 2026: the image, one Register button, the launch bar)
   ========================================================================== */
.hero {
  /* Pinned: the hero holds still while .cover (everything after it) slides up over it.
     On very short screens the pin point moves up so the bottom of the hero (CTA, launch bar) is still seen. */
  position: sticky; top: 0; top: min(0px, calc(100svh - var(--bar-h) - var(--hero-min))); z-index: 0;
  min-height: calc(100svh - var(--bar-h));
  min-height: max(calc(100svh - var(--bar-h)), var(--hero-min));   /* phones: a lower floor, so the launch bar and its Register fit on screen one (23 Nov) */
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--c-paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { object-position: 55% 60%; transform-origin: 55% 60%; }
.js .hero__img { animation: hero-drift 26s var(--ease-soft) both; }
.has-loader:not(.page-intro) .hero__img { animation-play-state: paused; }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Film: no drift on the still (it must match the film's first frame); the film fades in over it, the tail loop
   takes over invisibly when the sunset ends (site.js sets .is-film / .is-tail) */
.hero--film .hero__img, .lp-hero--loop .hero__img { animation: none; }
/* Render hero (HERO_RENDER / ?hero=river, 17 Nov): a slow, slight push in on the still, once, then it holds. Starts
   after the loader like the drift; reduced motion: no zoom. */
.hero__img--zoom { object-position: 50% 12%; transform-origin: 50% 30%; }   /* roof line and sky clear the header; the zoom centres on the house */
.js .hero__img--zoom { animation: hero-zoom var(--hero-zoom-dur) var(--ease-soft) both; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(var(--hero-zoom)); } }
@media (prefers-reduced-motion: reduce) { .js .hero__img--zoom { animation: none; } }
.hero__video { object-position: 55% 60%; opacity: 0; transition: opacity 1200ms var(--ease-out); }
.hero--loop .hero__img, .hero--loop .hero__video,
.lp-hero--loop .hero__img, .lp-hero--loop .hero__video { object-position: 55% var(--hero-loop-y); }   /* still and film framed alike */
.hero.is-film .hero__video--main, .lp-hero.is-film .hero__video--main { opacity: 1; }
.hero--loop .hero__video, .lp-hero--loop .hero__video { transition: none; }   /* the loop swaps in on its first frame, no fade (site.js; 25 Nov 2026) */
.hero.is-tail .hero__video--tail { opacity: 1; transition: none; }
/* Render sequence after the film (site.js [data-hero-seq]): long crossfades, a slow settle on each render */
.hero__seq, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity var(--hero-fade) var(--ease-soft); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform calc(var(--hero-hold) + var(--hero-fade) * 2) linear; }
.hero__slide.is-on { opacity: 1; }
.hero__slide.is-on img { transform: scale(1); }
/* Dots: the Residences overlay style (white 1.5px rings, the current one filled; Stacey, 12 Nov) */
.hero__dots {
  position: absolute; left: var(--line-1); bottom: var(--s-4); z-index: 2;
  display: flex; align-items: center; margin-left: -2.8px;
  opacity: calc(1 - var(--cover, 0) * 1.4);
}
.hero__dots[hidden] { display: none; }
.hero__dot { display: grid; place-items: center; width: var(--dot-pitch); height: 32px; }
.hero__dot::before {
  content: ""; width: var(--dot-ring); height: var(--dot-ring); border-radius: 50%; box-sizing: content-box;
  border: 1.5px solid var(--c-white); box-shadow: 0 0 8px color-mix(in srgb, black 25%, transparent);
  background: radial-gradient(circle, var(--c-white) 0 0, transparent 0);
  transition: background var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.hero__dot[aria-current="true"]::before, .hero__dot[aria-current="true"]:hover::before { background: radial-gradient(circle, var(--c-white) 0 var(--dot-core), transparent calc(var(--dot-core) + 0.5px)); }
.hero__dot:hover::before { background: radial-gradient(circle, color-mix(in srgb, white 55%, transparent) 0 var(--dot-core), transparent calc(var(--dot-core) + 0.5px)); }
.hero__dot:active::before { transform: scale(0.88); }
/* The dots not showing sit back (hero + Residences; Stacey, 13 Nov); hover brings them up */
.hero__dot::before, .residences--overlay .res-gallery__dot::before { opacity: var(--dot-off); transition: opacity var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.hero__dot:hover::before, .residences--overlay .res-gallery__dot:hover::before { opacity: 0.85; }
.hero__dot[aria-current="true"]::before, .residences--overlay .res-gallery__dot[aria-current="true"]::before { opacity: 1; }
.hero__dot:focus-visible { outline: none; }
.hero__dot:focus-visible::before { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.hero::after {   /* dims as the content panel covers it (--cover 0 → 1 from site.js) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;   /* above the media, below the copy */
  background: var(--c-forest); opacity: calc(var(--cover, 0) * 0.55);
}
.hero__content { opacity: calc(1 - var(--cover, 0) * 1.4); transform: translateY(calc(var(--cover, 0) * -6vh)); }

/* Everything after the hero: a solid panel that pulls up over the pinned hero */
.cover {
  position: relative; z-index: 1;
  background: var(--c-sand);
  overflow: clip;
  box-shadow: 0 -24px 60px -20px var(--c-forest-a80);
}

.hero__scrim {   /* light touch: shade under the header and behind the button only, so the render reads true */
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--c-forest-a40) 0%, transparent 28%),
    linear-gradient(to top, var(--c-forest-a40) 0%, transparent 30%);
}
/* Looping apartments film (24 Nov 2026): a brighter sky, so a deeper shade from the top keeps the logo and menu readable */
.hero--loop .hero__scrim {
  background:
    linear-gradient(to bottom, var(--hero-loop-shade) 0%, color-mix(in srgb, var(--hero-loop-shade) 50%, transparent) var(--hero-loop-shade-mid), transparent var(--hero-loop-shade-end)),
    linear-gradient(to top, var(--c-forest-a40) 0%, transparent 30%);
}

.hero__content {
  display: flex; justify-content: center;
  padding: var(--header-h) var(--gutter) var(--s-6);
}
.hero__cta { width: var(--cta-w); }

/* Hero entrance (released by the loader via html.page-intro) */
.has-loader .hero__cta { opacity: 0; transform: translateY(24px); }
.has-loader .announce__inner { opacity: 0; }
.page-intro .announce__inner { opacity: 1; transition: opacity var(--t-reveal) var(--ease-out) 600ms; }
.page-intro .hero__cta {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--ease-out) 300ms, transform var(--t-reveal) var(--ease-out) 300ms;
}

/* 00 · Announcement: first thing in .cover. Shows at the foot of screen one, rides up with the content,
   then docks under the header (sticky). The motif is one shape shared with the status strip below. */
.announce {
  position: sticky; top: var(--header-h-solid); z-index: 5;
  transition: top var(--t-nav) var(--ease-out), box-shadow var(--t-med) var(--ease-out), height var(--t-med) var(--ease-out), margin var(--t-med) var(--ease-out), font-size var(--t-med) var(--ease-out);
  overflow: hidden; isolation: isolate;
  height: var(--bar-h);
  background: var(--c-forest);
  color: var(--c-paper);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
}
.nav-hidden .announce { top: 0; }   /* nav tucked away: the launch bar rises to the top, in step with it */
.announce.is-docked { box-shadow: 0 10px 28px -14px var(--c-forest-a80); }
/* Urchin theme (Stacey, 10 Nov): sand bar, Urchin text, a quieter shadow once docked under the Urchin header */
.announce--urchin { background: var(--bar-bg); color: var(--bar-fg); }
.announce--urchin .announce__msg { color: var(--bar-fg); font-weight: var(--fw-light); }
.announce--urchin.is-docked { box-shadow: var(--bar-docked-shadow); }
.announce__inner {   /* two lines, centred: headline, then launch line | countdown (Stacey, 13 Nov) */
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--bar-line-gap);
  padding-inline: var(--gutter); text-align: center;
}
.announce__head {   /* Nematho, scales with the bar's text size (so it shrinks with it when docked) */
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-bar-head); line-height: 1.1; letter-spacing: 0.03em;
}
.announce__row { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
.announce__sep { width: 1px; height: 1em; background: currentColor; opacity: 0.5; }
.announce__cta { margin-top: var(--bar-cta-gap); }   /* the sand-ground line button, like the form (Stacey, 13 Nov) */
/* Docked (Stacey, 13 Nov): back to one thin line under the nav, not stacked. The button folds away (the header has
   Register) and so does the headline below 1280; from 1280 the headline sits inline before the launch line. */
.announce.is-docked .announce__cta, .announce.is-docked .announce__head { display: none; }
@media (min-width: 1280px) {
  .announce.is-docked .announce__inner { flex-direction: row; gap: var(--s-3); }
  .announce.is-docked .announce__head { display: block; }
}
/* Phones: the bar slims to one line when it docks too; the margin gives the height back so nothing jumps */
@media (max-width: 833px) {
  .announce.is-docked { height: calc(var(--bar-h) - var(--bar-dock-cut)); margin-bottom: var(--bar-dock-cut); }
  .announce__head-2 { display: block; }
  .announce__head { font-size: calc(var(--fs-bar-head) + 3px); }   /* phones: 3px bigger (Stacey, 13 Nov) */
  .announce__inner { gap: 0; }
  .announce__row { margin-top: var(--bar-cta-gap); }               /* headline → date line = date line → button (equal gaps) */   /* headline stacked: "A limited release of Apartments," / "Penthouses and Villas" */
  .announce.is-docked .announce__row { margin-top: 0; }            /* docked: the headline has folded away, so no gap above; the line sits centred in the strip (18 Nov) */
  .announce.is-docked .announce__msg { font-weight: var(--fw-semibold); }   /* docked: "Launching" bold, like the countdown; the italic date keeps its weight (18 Nov) */
}
.announce__msg { color: var(--c-gold); font-weight: var(--fw-regular); white-space: nowrap; }
.announce__msg em { font-style: italic; font-weight: var(--fw-regular); }   /* the date reads as the moment (Stacey's reference, 10 Nov) */
.announce__full, .announce__mid { display: none; }
.countdown { display: flex; gap: 0.5em; font-variant-numeric: tabular-nums; font-weight: var(--fw-semibold); white-space: nowrap; }
.countdown i { font-style: normal; margin-left: 1px; }
.countdown__s { display: none; }

@media (min-width: 400px) { .countdown__s { display: inline; } }
@media (min-width: 834px) {
  .announce { font-size: var(--fs-body); }
  .announce__short { display: none; }
  .announce__mid { display: inline; }
  .announce__row { gap: var(--s-3); }
  .hero__content { padding-bottom: var(--s-8); }
}
@media (min-width: 1280px) {
  .announce { font-size: var(--fs-lead); }
  .announce__mid { display: none; }
  .announce__full { display: inline; }
}
/* Docked under the header (834+): 10px slimmer, text down to the nav size. The margin gives the 10px back,
   so the page below doesn't jump when it docks (Stacey, 10 Nov) */
@media (min-width: 834px) {
  .announce.is-docked { height: calc(var(--bar-h) - var(--bar-dock-cut)); margin-bottom: var(--bar-dock-cut); font-size: var(--fs-bar-docked); }
  .announce.is-docked .announce__row { gap: var(--s-2); }   /* docked: line and timer closer (Stacey, 13 Nov) */
}

/* ==========================================================================
   02 · Status strip (Stacey's design, 7 Nov 2026): four facts, centred, paper on forest.
   Continues the launch bar's panel and motif. Numbers count up; each fact settles in turn.
   ========================================================================== */
.status {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--s-5);
  background: var(--c-forest); color: var(--c-paper);
}
.status__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5) var(--s-2); text-align: center; }   /* phones: one fact per row (23 Nov; was 2 × 2) */
.status__item { display: grid; gap: var(--s-1); justify-items: center; align-content: start; }
.status__value {
  font-size: var(--fs-stat); font-weight: var(--fw-regular); line-height: 1.1; letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums lining-nums;
}
.status__num { display: inline-block; text-align: right; }
.status__label { font-size: var(--fs-small); font-weight: var(--fw-light); line-height: 1.4; letter-spacing: 0.08em; color: var(--c-paper-a85); }

/* Entrance: the facts appear one by one, left to right; each value lifts gently out of a soft blur, its label just after
   (Stacey, 13 Nov: no rolling numbers) */
.js .status__item > * {
  transition: opacity var(--t-soft) var(--ease-soft), transform var(--t-soft) var(--ease-out), filter var(--t-soft) var(--ease-out);
}
.js .status__value { transition-delay: calc(var(--i) * var(--t-status-step)); }
.js .status__label { transition-delay: calc(var(--i) * var(--t-status-step) + 300ms); }
.js .status:not(.is-in) .status__value { opacity: 0; transform: translateY(10px); filter: blur(3px); }
.js .status:not(.is-in) .status__label { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) {
  .js .status:not(.is-in) .status__value, .js .status:not(.is-in) .status__label { opacity: 1; transform: none; filter: none; }
}

@media (min-width: 834px) {
  .status { padding-block: var(--s-8); }
  .status__list { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
}
@media (min-width: 1440px) {
  .status { padding-block: var(--s-10); }
}

/* ==========================================================================
   03 · Vision / Introducing Olamia + collection teaser, wrapped in .flow (Stacey's design, 7 Nov 2026)
   The gold water motif (.flow__motif) sits at the foot of 03, holds at the bottom of the screen while the
   collection teaser scrolls up over it, then leaves with the end of .flow. Both sections are transparent
   and sit above the motif, so images and copy pass over the gold lines.
   ========================================================================== */
.flow {
  position: relative; overflow: clip;
  background: var(--c-linen);
  --fm-w: max(calc(100vw * 2 / 3 + var(--fm-shift)), 560px);   /* motif width: visible art ends on the right-hand third line (2/3), height follows, never stretched */
  --fm-h: calc(var(--fm-w) * 0.39);          /* visible height: the top ~55% of the art, as the design */
  --fm-early: 20px;                          /* locks this much scroll sooner, still flush with the bottom (Stacey, 7 Nov) */
  --fm-shift: clamp(40px, 7vw, 140px);       /* slid left so the art is cropped by the page edge (≈100px at 1440) */
}
.flow > :not(.flow__motif) { position: relative; z-index: 1; }   /* everything in a .flow passes over its motif */
.flow__motif {
  position: sticky; top: calc(100svh - var(--fm-h)); z-index: 0;
  width: var(--fm-w); height: var(--fm-h);
  margin-top: calc(var(--fm-h) * -0.92 - var(--fm-early));     /* tucked into the foot of 03 (higher = locks sooner) */
  margin-bottom: calc(var(--fm-h) * -0.08 + var(--fm-early));  /* the teaser still starts where it did, on top of it */
  margin-left: calc(-1 * var(--fm-shift));
  background: var(--c-motif-flow);
  -webkit-mask: var(--mask-motif) left top / 100% auto no-repeat;
          mask: var(--mask-motif) left top / 100% auto no-repeat;
  pointer-events: none;
}

/* Image frames: real aspect, a slow settle as they arrive */
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: color-mix(in srgb, var(--c-forest) 8%, transparent); }
.frame picture { display: block; height: 120%; margin-top: -10%; will-change: transform; }   /* headroom for the parallax drift */
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1800ms var(--ease-out); }
.reveal-ready .frame.reveal:not(.is-in) img { transform: scale(1.06); }
.frame__tbc { position: absolute; left: var(--s-2); bottom: var(--s-2); font-size: var(--fs-micro); }
[class*="__tbc"]:empty { display: none; }   /* TBC tags off (SHOW_TBC): their holders take no room */

/* 03 · Vision */
.vision { padding: var(--s-10) var(--gutter) calc(var(--fm-h) * 0.35); }
.vision__inner { display: grid; gap: var(--s-6); }
.vision__copy {
  display: grid; gap: var(--s-3); max-width: var(--vision-copy-w);
  font-size: var(--fs-body); line-height: 1.85; letter-spacing: 0.05em; color: var(--c-forest);
}
.vision__media { width: 100%; will-change: translate; }
.vision__media picture { height: 130%; margin-top: -15%; }   /* more headroom: the water drifts further here (Stacey, 12 Nov) */

/* Collection teaser */
.collection {
  display: grid; gap: var(--s-6);
  padding: var(--s-8) var(--gutter) var(--section-y);
}
.collection__copy { display: grid; justify-items: center; text-align: center; order: -1; }
.collection__title {
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-d1); line-height: 1.08; letter-spacing: var(--ls-display); color: var(--c-forest);
}
.collection__line { display: block; }
.collection__line--accent { color: var(--c-sunlight); }
.collection__price {
  margin-top: calc(var(--col-rhythm) - 0.2 * var(--fs-d1));   /* less the empty space under the headline's last line, so the gaps look even */
  font-size: var(--fs-col-price); font-style: normal; font-weight: var(--fw-medium); letter-spacing: 0.04em; line-height: var(--col-price-lh);
  color: var(--c-forest); font-variant-numeric: lining-nums; white-space: nowrap;
}
.collection__price-line { display: block; }
.collection__price-line + .collection__price-line { margin-top: 0.1em; }   /* Apartments From… / Villas From… (client, 23 Nov; closer 24 Nov) */
.collection__from { font-size: 0.72em; margin-right: 0.9em; font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.04em; vertical-align: 0.35em; }   /* small, light, sitting high (Stacey's design) */
.collection__stack { display: grid; justify-items: center; width: var(--col-stack-w); margin-top: var(--col-rhythm); }
.collection__cta { width: var(--cta-w); }
.collection__render { aspect-ratio: 3 / 2; }   /* a little more landscape: the 1.4:1 render trimmed from the bottom only (client, 25 Nov 2026; 24 Nov the whole render, before that square, then 4:5) */
.collection__render img { object-position: 50% 0; }   /* keep the top: sky, roofline and trees; the trim comes off the lawn */
.collection__render picture { height: 100%; margin-top: 0; }   /* no drift headroom: nothing is cropped (site.js leaves it still) */

@media (min-width: 834px) {
  .vision { padding-top: var(--s-12); }
  .vision__inner { grid-template-columns: minmax(0, 1fr) clamp(300px, 35vw, 760px); align-items: center; gap: var(--s-8); }   /* water image on the outer line */
  .vision__copy { padding-left: calc(var(--line-2) - var(--gutter)); margin-bottom: 18%; }   /* text on the inner line */

  .collection {
    /* render from the inner line, wider than half so the whole landscape render reads; copy centred between it and the
       outer line (client, 24 Nov 2026; was inner line → centre and centre → inner line) */
    grid-template-columns: minmax(0, var(--col-render-fr)) minmax(0, 1fr); align-items: start; column-gap: var(--col-gap);
    padding: var(--section-y) var(--line-1) var(--section-y) var(--gutter);   /* render on the page gutter, so its left edge lines up with the overview image below (client, 25 Nov 2026; was the inner line); a full section gap of linen under the image and the text */
  }
  .collection__copy { order: 0; padding-top: 0; margin-top: calc(-1 * var(--col-render-lift)); }   /* the copy stays where it was, clear of the waterfall above it */
  .collection__render { margin-top: calc(-1 * var(--col-render-rise)); }   /* the render rises a little into the space under the intro copy (left of the waterfall; client, 25 Nov 2026) */
}

/* ==========================================================================
   05 · The Setting: full view of the estate, inset on linen by the page gutter (Stacey's design, 7 Nov 2026)
   ========================================================================== */
.setting { padding: var(--gutter) var(--gutter) var(--s-12); }   /* transparent: the water motif shows until it has passed */
.setting { container-type: inline-size; }
/* With Location on one palm ground (24 Nov 2026): the overview's own space under it is the gap to A complete neighbourhood */
.setting + .location { padding-top: 0; }
@media (max-width: 833px) { .setting:has(+ .location) { padding-bottom: var(--s-8); } }
.setting__view { aspect-ratio: 16 / 9; }
@media (min-width: 834px) {   /* 90px shorter than 16:9, cropped evenly top and bottom (Stacey, 9 Nov) */
  .setting__view { aspect-ratio: auto; height: calc(100cqw * 9 / 16 - var(--setting-crop)); }
  .setting__view img { object-position: 50% 50%; }
  /* Markers: --y is % of the whole image, so the dot lands at y% of (frame + crop), less the half cropped off the top:
     it stays on its place at every width (24 Nov 2026). Labels (--top) stay % of the frame. */
  .setting .poi { height: calc((var(--y) - var(--top)) * 1% + var(--y) * var(--setting-crop) / 100 - var(--setting-crop) / 2); }
}
.setting__view picture { height: 100%; margin-top: 0; }   /* no parallax drift here: the markers must stay on their places */
.setting__view .frame__tbc { left: var(--s-3); bottom: var(--s-3); }

/* Points of interest (Lumara reference): label in the sky, hairline rule, line down to a glowing marker.
   Each .poi spans from its label (--top) down to its place (--y); all values are % of the image. */
.poi-map { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--c-paper); }
.poi {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--top) * 1%); height: calc((var(--y) - var(--top)) * 1%);
  display: flex; flex-direction: column; align-items: center; transform: translateX(-50%);
  --poi-delay: calc(var(--i) * 140ms);
}
.poi__label {
  position: relative; padding: 0 var(--s-2) var(--s-1); white-space: nowrap; text-align: center;
  font-family: var(--ff-body); font-size: var(--fs-poi); font-weight: var(--fw-light); line-height: 1.2; letter-spacing: 0.02em;
  color: var(--c-paper);
  text-shadow: 0 1px 12px color-mix(in srgb, var(--c-forest) 55%, transparent);
}
.poi__logo { height: calc(var(--fs-poi) * 3.2); margin-bottom: 2px; filter: drop-shadow(0 1px 10px color-mix(in srgb, var(--c-forest) 45%, transparent)); }
.poi__line { flex: 1; width: 1px; background: linear-gradient(var(--c-paper-a70), var(--c-paper)); }
.poi__dot {
  width: 9px; height: 9px; margin-bottom: -4.5px; border-radius: 50%; background: var(--c-paper);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-paper) 25%, transparent), 0 0 14px 2px color-mix(in srgb, var(--c-paper) 55%, transparent);
}
.poi--site .poi__dot { width: 12px; height: 12px; margin-bottom: -6px; }

/* Entrance: each line draws down, then its label and marker settle; one after another */
.js .poi__line { transform: scaleY(0); transform-origin: top; transition: transform 1100ms var(--ease-out) calc(var(--poi-delay) + 200ms); }
.js .poi__label { opacity: 0; transform: translateY(8px); transition: opacity 800ms var(--ease-out) var(--poi-delay), transform 800ms var(--ease-out) var(--poi-delay); }
.js .poi__dot { opacity: 0; transform: scale(0.4); transition: opacity 600ms var(--ease-out) calc(var(--poi-delay) + 1100ms), transform 600ms var(--ease-out) calc(var(--poi-delay) + 1100ms); }
.js .poi-map.is-on .poi__line { transform: none; }
.js .poi-map.is-on .poi__label { opacity: 1; transform: none; }
.js .poi-map.is-on .poi__dot { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .poi__line, .js .poi__label, .js .poi__dot { transform: none; opacity: 1; }
}
/* Phones: the image is small, so the place labels make way; the lines, markers and the Olamia logo stay */
@media (max-width: 833px) {
  .setting .poi:not(.poi--site) { display: none; }   /* phones: only the Olamia logo + its line; the placeholder places go (Stacey, 13 Nov) */
  .collection { padding-bottom: calc(var(--s-5) - 15px); }   /* villa → estate image: 104 → 64 → 49px (Stacey, 13 Nov) */
  .setting { padding-bottom: var(--s-5); }            /* less room under the estate image: 96 → 40px (Stacey, 13 Nov) */
  .poi:not(.poi--site) .poi__label { visibility: hidden; }
  .poi:not(.poi--site) { top: calc((var(--top) + (var(--y) - var(--top)) * 0.45) * 1%); height: calc((var(--y) - var(--top)) * 0.55 * 1%); }
  .poi__dot { width: 7px; height: 7px; margin-bottom: -3.5px; }
  .setting__view .frame__tbc { left: var(--s-1); bottom: var(--s-1); }
  .setting__view .frame__tbc .tbc { font-size: 9px; white-space: nowrap; }
}

/* ==========================================================================
   10 · Location (Stacey's design, 10 Nov 2026): category tabs, illustrated map with pins, aerial
   Sits on its own palm ground straight after the overview (client meeting, 24 Nov 2026). The map card is a container: pins are placed on a "stage" with the
   map image's own proportions, cropped like object-fit: cover, so they stay on their places at any card shape.
   ========================================================================== */
.location { padding-block: var(--section-y); }   /* ends with the map now (its aerial moved to the footer, 24 Nov 2026) */

/* Heading (brochure p.7, 17 Nov): "The West Coast," / "at your leisure". Phones: centred above the tabs, in the site's
   heading colours. From 834px it lies over the sea on the inner line, in the brochure's colours (see the grid below). */
.loc-head { display: grid; justify-items: center; padding: 0 var(--gutter) var(--s-5); text-align: center; }
.loc-head__title { margin: 0; }
.loc-head__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); }
.loc-head__display {
  display: block; margin-top: 0.05em;
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight);
}
.loc-map__link {
  display: inline-block; margin-top: var(--s-2); color: var(--c-ink); font-size: var(--fs-small); letter-spacing: 0.05em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
  text-decoration-color: color-mix(in srgb, currentColor 70%, transparent); transition: text-decoration-color var(--t-fast), opacity var(--t-fast);
}
.loc-map__link:hover { text-decoration-color: currentColor; }
.loc-map__link:active { opacity: 0.75; }
.loc-map__link:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }
/* Under the link: how to use the map (23 Nov). Hover devices see "Hover and click…", touch screens "Tap…". */
.loc-head__hint { margin: var(--s-3) 0 0; font-size: var(--fs-small); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.05em; line-height: 1.4; color: var(--c-ink); }
.loc-head__hint--tap { display: none; }
@media (hover: none) {
  .loc-head__hint--hover { display: none; }
  .loc-head__hint--tap { display: block; }
}

/* The category tabs (.loc-tabs) and their phone dropdown (.loc-pick) were removed (client, 26 Nov 2026). */

.loc-map { position: relative; margin: var(--loc-map-top) var(--gutter) 0; }
.loc-map__frame {
  position: relative; aspect-ratio: var(--loc-ar); container-type: size; overflow: hidden;
  border-radius: var(--r-card); background: var(--c-linen);
  /* worked out here, not in :root, so a smaller --loc-num on this card (upright phones) carries through */
  --loc-arrow: calc(var(--loc-num) * var(--loc-arrow-k));
  --loc-arrow-h: calc(var(--loc-arrow) * 0.75);
  --loc-edge: calc(var(--loc-num) / 2 + var(--loc-arrow-gap) + var(--loc-arrow-h) + var(--loc-edge-gap));
}
.loc-map__stage {
  --stage-w: max(100cqw, 100cqh * var(--loc-img-ar));
  position: absolute; top: 50%; left: calc((100cqw - var(--stage-w)) * var(--loc-fx)); translate: 0 -50%;
  width: var(--stage-w); aspect-ratio: 5850 / 3040;
}
.loc-map__stage picture, .loc-map__stage img { display: block; width: 100%; height: 100%; }
.loc-map__pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
/* Olamia's site in green under the pins (client, 17 Nov): multiplied so the paper grain shows through, soft-edged like the watercolour */
.loc-map__site-area { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
/* Latest brochure p.7 (23 Nov): the site solid gold, the dark logo above it with a small dark pointer under it, half way
   across, its tip just above the site. Was (19 Nov) a line from under the wordmark into the site; (18 Nov, Devon) white
   with a gold edge; (17 Nov) green. Sizes are shares of the logo's height, worked out here so the upright-phone logo
   carries them. */
.loc-map__site-area polygon { fill: var(--c-site); }
.loc-pin__tri {
  position: absolute; left: 0; bottom: 0; translate: -50% 0; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%);
  width: calc(var(--loc-logo-h) * var(--loc-tri-kw)); height: calc(var(--loc-logo-h) * var(--loc-tri-kh));
}
.loc-map .loc-pin--site .loc-pin__label { bottom: calc(var(--loc-logo-h) * (var(--loc-tri-kh) + var(--loc-logo-kgap))); translate: calc(var(--loc-logo-x) * -100%) 0; }

/* Numbered places (brochure p.7): a dark circle with a white number, centred on the place. Off-map places are held a
   fixed distance inside the card's edge (cqh / cqw = the card, % = the stage, which is centred on it) and carry the
   brochure's arrow pointing out to where they are. */
.loc-num { position: absolute; left: calc(var(--u) * 1% + var(--nx, 0) * var(--loc-num)); top: calc(var(--v) * 1% + var(--ny, 0) * var(--loc-num)); width: 0; height: 0; transition: opacity var(--t-slow) var(--ease-out); }
.loc-num--bottom { top: calc(50% + 50cqh - var(--loc-edge)); }
/* From 1280px: --lift raises one off the bottom row by circles (15, as in the brochure). Below it the circles are too big
   for the map (18px at least), so 15 stays on the row and .loc-num--tight places (13) take their own spot (--ut / --vt, location.php). */
@media (min-width: 1280px) { .loc-num--bottom { top: calc(50% + 50cqh - var(--loc-edge) - var(--lift, 0) * var(--loc-num)); } }
@media (max-width: 1279px) { .loc-num--tight { left: calc(var(--ut) * 1%); top: calc(var(--vt) * 1%); } }
.loc-num--top { top: calc(50% - 50cqh + var(--loc-edge)); }
.loc-num--right { left: calc(50% + 50cqw - var(--loc-edge)); }
/* The number is a button the size of its circle (a wider invisible hit area round it); the circle fills it */
.loc-num__btn {
  position: absolute; left: 0; top: 0; translate: -50% -50%; width: var(--loc-num); height: var(--loc-num); border-radius: 50%;
}
.loc-num__btn::before { content: ""; position: absolute; inset: calc(-1 * var(--loc-hit)); border-radius: 50%; }
.loc-num__btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.loc-num__badge {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--c-forest); color: var(--c-white); box-shadow: 0 0 0 1.5px var(--c-paper-a70);
  font-size: calc(var(--loc-num) * 0.46); font-weight: var(--fw-semibold); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast), color var(--t-fast), scale var(--t-med) var(--ease-out);
}
.loc-num__arrow { position: absolute; left: 0; top: 0; width: var(--loc-arrow); height: var(--loc-arrow-h); background: var(--c-forest); clip-path: polygon(0 0, 100% 0, 50% 100%); }   /* points down */
.loc-num--to-down .loc-num__arrow { translate: -50% calc(var(--loc-num) / 2 + var(--loc-arrow-gap)); }
.loc-num--to-up .loc-num__arrow { translate: -50% calc(-100% - var(--loc-num) / 2 - var(--loc-arrow-gap)); rotate: 180deg; }
.loc-num--to-right .loc-num__arrow { translate: calc(var(--loc-num) / 2 + var(--loc-arrow-gap) - (var(--loc-arrow) - var(--loc-arrow-h)) / 2) -50%; rotate: -90deg; }
.loc-num--to-upright .loc-num__arrow { translate: calc((var(--loc-num) / 2 + var(--loc-arrow-gap) + var(--loc-arrow-h) / 2) * 0.7071 - 50%) calc((var(--loc-num) / 2 + var(--loc-arrow-gap) + var(--loc-arrow-h) / 2) * -0.7071 - 50%); rotate: -135deg; }
.loc-num--to-downright .loc-num__arrow { translate: calc((var(--loc-num) / 2 + var(--loc-arrow-gap) + var(--loc-arrow-h) / 2) * 0.7071 - 50%) calc((var(--loc-num) / 2 + var(--loc-arrow-gap) + var(--loc-arrow-h) / 2) * 0.7071 - 50%); rotate: -45deg; }
/* Its name, beside it (23 Nov): shown on hover (devices that hover) and keyboard focus, hidden while its pop-up is open.
   Places from 60% across open their name to the left (.loc-num--name-l, location.php). */
.loc-num__name {
  position: absolute; top: 50%; left: calc(100% + var(--loc-name-gap)); translate: 0 -50%; width: max-content; max-width: var(--loc-name-w);
  padding: 0.4em 0.75em; background: var(--c-forest); color: var(--c-white); box-shadow: var(--loc-name-shadow);
  font-family: var(--ff-body); font-size: var(--fs-small); font-weight: var(--fw-regular); letter-spacing: 0.04em; line-height: 1.35; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity var(--t-fast);
}
.loc-num--name-l .loc-num__name { left: auto; right: calc(100% + var(--loc-name-gap)); }
.loc-num--bottom .loc-num__name { top: auto; bottom: 0; translate: 0 0; }   /* along the edges a two-line name grows away from the edge */
.loc-num--top .loc-num__name { top: 0; translate: 0 0; }
.loc-num__km { margin-left: 0.4em; font-weight: var(--fw-semibold); white-space: nowrap; }
.loc-num__soon { margin-left: 0.3em; font-style: italic; white-space: nowrap; }   /* "Coming soon", italic as in the brochure */
@media (hover: hover) { .loc-num__btn:hover .loc-num__name { opacity: 1; } }
.loc-num__btn:focus-visible .loc-num__name { opacity: 1; }
.loc-num.is-open .loc-num__name { opacity: 0; }
/* Chosen tab: its numbers stay, the rest soften. The number under the pointer, in focus or open comes forward in gold. */
.loc-num:hover, .loc-num:focus-within, .loc-num.is-open { opacity: 1; z-index: 2; }
.loc-num__btn:hover .loc-num__badge, .loc-num__btn:focus-visible .loc-num__badge, .loc-num.is-open .loc-num__badge { background: var(--c-gold); color: var(--c-forest); scale: 1.15; }
.loc-num__btn:active .loc-num__badge { scale: 1.05; }

/* The place pop-up (23 Nov): a native [popover], so Escape or a click outside closes it and it sits above the page.
   No script: centred on the screen (the browser default). From 834px site.js sets it beside its number, inside the
   screen; phones (below) get a sheet along the foot of the screen. */
.loc-pop {
  inset: 0; margin: auto; width: min(var(--loc-pop-w), calc(100vw - 2 * var(--gutter))); max-height: calc(100svh - 2 * var(--s-4)); overflow: auto;
  padding: var(--s-4); border: 0; background: var(--c-paper); color: var(--c-ink); box-shadow: var(--loc-pop-shadow);
}
.loc-pop__close {
  position: absolute; top: var(--s-1); right: var(--s-1); display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--c-ink); transition: color var(--t-fast), opacity var(--t-fast);
}
.loc-pop__close:hover { color: var(--c-gold); }
.loc-pop__close:active { opacity: 0.7; }
.loc-pop__close:focus-visible { outline: 1px solid var(--c-gold); outline-offset: -6px; }
.loc-pop__cat {
  display: flex; align-items: center; gap: var(--s-1); margin: 0 44px var(--s-2) 0;
  font-size: var(--fs-small); font-weight: var(--fw-semibold); letter-spacing: 0.05em; color: var(--c-gold);
}
.loc-pop__no {
  display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%;
  background: var(--c-forest); color: var(--c-white); font-variant-numeric: tabular-nums;
}
.loc-pop__name { margin: 0 44px 0 0; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-regular); letter-spacing: 0.03em; line-height: 1.3; }
.loc-pop__km { margin-left: 0.35em; font-size: var(--fs-small); font-style: normal; font-weight: var(--fw-semibold); letter-spacing: 0.05em; white-space: nowrap; }
.loc-pop__soon { display: block; margin-top: 0.2em; font-size: var(--fs-small); font-weight: var(--fw-regular); letter-spacing: 0.05em; color: var(--c-gold); }
.loc-pop__text { margin: var(--s-2) 0 0; font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.7; letter-spacing: 0.04em; }
@media (prefers-reduced-motion: no-preference) {
  .loc-pop:popover-open { transition: opacity var(--t-med) var(--ease-out), translate var(--t-med) var(--ease-out); }
  @starting-style { .loc-pop:popover-open { opacity: 0; translate: 0 8px; } }
}
@media (max-width: 833px) {
  .loc-pop {
    inset: auto 0 0; width: 100%; max-height: 72svh;
    padding: var(--s-5) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom)); box-shadow: var(--loc-sheet-shadow);
  }
}

/* Olamia: the logo on a line above its dot (Stacey, 10 Nov) */
.loc-pin { position: absolute; left: calc(var(--u) * 1%); top: calc(var(--v) * 1%); width: 0; height: 0; color: var(--c-forest); }
.loc-pin__label { position: absolute; left: 0; bottom: 0; translate: -50% 0; width: max-content; }
.loc-pin__logo { height: var(--loc-logo-h); aspect-ratio: 1.6; color: var(--c-forest); }


@media (min-width: 834px) {
  /* The heading shares the map's grid cell and sits over the sea, its left edge on the inner line, 11.8% down the card
     (percentage margins on a grid item are of the cell's width: the card is that less two gutters, × 850 / 1815). */
  .location { display: grid; grid-template-columns: minmax(0, 1fr); }
  .loc-near { grid-row: 1; }   /* A complete neighbourhood, above the map (23 Nov) */
  .loc-map { grid-row: 2; grid-column: 1; }
  .loc-head {
    grid-row: 2; grid-column: 1; z-index: 2; align-self: start; justify-self: start; justify-items: start; text-align: left;
    margin: calc(var(--loc-map-top) + (100% - 2 * var(--gutter)) * var(--loc-head-y)) 0 0 var(--line-2); padding: 0;
  }
  .loc-head__kicker { color: var(--c-sunlight); }   /* the brochure's colours: a gold lead-in, the display line in white */
  .loc-head__display, .loc-head .loc-map__link, .loc-head__hint { color: var(--c-white); }
}

/* A complete neighbourhood (client, 17 Nov; heading 20 Nov): heading and intro at the top of the section, centred, above
   the tabs (23 Nov; it sat under the map with the brief's six places, which now open from the map's numbers). */
.loc-near { display: grid; justify-items: center; padding: 0 var(--line-1) var(--loc-near-gap); text-align: center; color: var(--c-ink); }
.loc-near__title { margin: 0; }
.loc-near__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; }
.loc-near__display {
  display: block; margin-top: 0.05em; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight);
}
.loc-near__lead { max-width: 50rem; margin: var(--s-5) 0 0; font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; }
@media (min-width: 834px) {
  .loc-near { padding-inline: var(--line-2); }   /* inner line to inner line */
}

/* 08 · Make it your own (client meeting, 24 Nov 2026): the Interior Pack copy between Residences and the estate view.
   Linen like Residences, whose bottom padding is the space above; centred, inner line to inner line. */
.interiors { display: grid; justify-items: center; padding: 0 var(--line-1) var(--section-y); text-align: center; color: var(--c-ink); background: var(--c-linen); }
.interiors__title { margin: 0; }
.interiors__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; }
.interiors__display {
  display: block; margin-top: 0.05em; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight);
}
.interiors__lead { max-width: 50rem; margin: var(--s-5) 0 0; font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; }
@media (min-width: 834px) { .interiors { padding-inline: var(--line-2); } }

/* Aerial: full bleed, the logo drops a line to the site (reuses the Setting's points of interest). The footer's image
   since 24 Nov 2026 (includes/sections/aerial.php): its own 2:1 / 4:5 shape, no gap above, no parallax drift. */
.loc-aerial { position: relative; margin: var(--section-y) 0 0; aspect-ratio: var(--loc-aerial-ar); overflow: hidden; }
.loc-aerial picture, .loc-aerial img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poi-map--aerial .poi__logo { height: var(--loc-aerial-logo); aspect-ratio: 1.6; color: var(--c-urchin); filter: none; }   /* Urchin on the sky (Stacey, 13 Nov) */
.poi-map--aerial .poi__line { background: var(--c-urchin); }   /* Urchin, like the logo (Stacey, 13 Nov) */
.poi-map--aerial .poi__dot { background: var(--c-urchin); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-paper) 45%, transparent); }   /* Urchin dot, a soft paper ring so it reads over the town (Stacey, 13 Nov) */
.loc-aerial__tbc { position: absolute; left: var(--gutter); bottom: var(--s-2); }
@media (max-width: 833px) {
  .loc-aerial { aspect-ratio: 4 / 5; }
  .poi-map--aerial .poi { left: calc(var(--xm) * 1%); height: calc((var(--ym) - var(--top)) * 1%); }   /* phone cut has its own spot */
}

/* ==========================================================================
   13 · How to buy + 14 · Register (Stacey's design, 11 Nov 2026), inside one .flow (water motif holds at the foot)
   The Bower pattern: the stage pins under the header + launch bar while scroll steps the highlight 1 → 4 (site.js
   [data-steps] adds .is-run and sets the active step); the form flows after it and is never inside the pin.
   ========================================================================== */
.flow--buy > .flow__motif { margin-top: 0; margin-bottom: calc(-1 * var(--fm-h)); }   /* rides in with the section, then holds */
.buy { padding: var(--s-6) var(--gutter) var(--s-8); overflow-x: clip; }
.buy__grid { display: grid; gap: var(--s-6); }
.buy__laptop { position: relative; margin: 0; width: 100%; }   /* phones: the whole laptop + phone image, nothing cut (23 Nov; was 25% bigger, cropped off the left) */
.buy__laptop img { display: block; width: 100%; height: auto; }
.buy__tbc { position: absolute; left: 40%; top: 6%; }   /* in the visible part of the laptop screen */
.buy__title { margin-bottom: var(--s-6); }
.buy__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); }
.buy__display { display: block; margin-top: 0.05em; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight); }
.buy__lead { max-width: 30em; margin: 0 0 var(--s-8); font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.6; letter-spacing: 0.04em; color: var(--c-ink); }   /* the intro line (client, 20 Nov), set like the step text */
.buy__steps { display: grid; gap: var(--buy-step-gap); margin: 0; padding: 0; list-style: none; }
.buy__step { display: grid; grid-template-columns: clamp(52px, 4.4vw, 84px) minmax(0, 1fr); align-items: start; }
.buy__num { font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-buy-num); line-height: 0.85; color: var(--c-sunlight); }
.buy__step-title { margin: 0.15em 0 0; font-size: var(--fs-buy-step); font-style: italic; font-weight: var(--fw-regular); letter-spacing: 0.04em; color: var(--c-ink); }
.buy__step-text { max-width: 30em; margin: 0.45em 0 0; font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.6; letter-spacing: 0.04em; color: var(--c-ink); }

/* 834px+: the device column is sticky (Makai pattern); the steps scroll past beside it, the one in focus full,
   the rest softened (site.js adds .is-focus once running; nothing is hidden without JS) */
@media (min-width: 834px) {
  :root { --top-stack: calc(var(--header-h-solid) + var(--bar-h) - var(--bar-dock-cut)); }
  .buy__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; align-items: start; }   /* device: outer line → centre; steps from the centre line */
  .buy__media { position: sticky; top: var(--top-stack); height: calc(100svh - var(--top-stack)); display: grid; align-items: center; }
  .buy__media { justify-items: end; padding-right: var(--s-6); }   /* right edge holds near the centre line */
  .buy__laptop { margin: 0; width: min(100%, var(--buy-laptop-w), (100svh - var(--top-stack) - var(--s-6)) * 1.65); }   /* the whole laptop + phone inside the column, nothing cut (23 Nov; was 25% bigger, run off the left). Image is 1.65:1 */
  .buy__copy { padding: var(--buy-copy-top) 0 var(--buy-copy-end); }
  .buy__steps.is-running .buy__step { transition: opacity 700ms var(--ease-out), filter 700ms var(--ease-out), transform var(--t-soft) var(--ease-out); }
  .buy__steps.is-running .buy__step:not(.is-focus) { opacity: var(--buy-off); }
}

/* Register: underline fields, two columns from 834px */
.register { padding: var(--s-6) calc(var(--gutter) + var(--reg-inset)) var(--section-y); }
.reg-form { display: grid; gap: var(--s-5); }
.reg-form__grid { display: grid; gap: var(--s-2) var(--reg-col-gap); }
.field, .field-pair { position: relative; display: flex; align-items: end; gap: clamp(var(--s-3), 2.4vw, 47px); }
.field { border-bottom: 1px solid color-mix(in srgb, var(--c-urchin) 70%, transparent); transition: border-color var(--t-med) var(--ease-out); }
.field-pair { border: 0; }
.field-pair > .field { flex: 1; }
.field-pair > .field--code { flex: none; width: var(--reg-code-w); }
.field:hover { border-color: var(--c-urchin); }
.field:focus-within { border-color: var(--c-sunlight); }
.field.is-invalid { border-color: #A4423A; }
.field input, .field select, .field__shown {
  width: 100%; min-height: 48px; padding: var(--s-2) var(--s-2) 0.4rem; border: 0; border-radius: 0; background: none;
  font-family: var(--ff-body); font-size: var(--fs-field); font-weight: var(--fw-light); letter-spacing: 0.05em; color: var(--c-ink);
  -webkit-appearance: none; appearance: none; outline: none;
}
.field input::placeholder { color: var(--c-ink); opacity: 1; }
.field select { cursor: pointer; padding-right: 2.25rem; text-overflow: ellipsis; }
.field select:invalid { color: var(--c-ink); }
.field--select::after {   /* thin chevron */
  content: ""; position: absolute; right: var(--s-2); bottom: 1.1rem; width: 9px; height: 9px; pointer-events: none;
  border-right: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); transform: rotate(45deg);
}
/* Dial code: the select stays (accessible, native list); only "+27" shows */
.field--code .field__shown { display: flex; align-items: center; line-height: normal; pointer-events: none; }   /* line-height as the inputs: the code row was 8px taller, so the lines weren't evenly spaced (13 Nov) */
.field--code select { position: absolute; inset: 0; opacity: 0; }
.field:has(select:focus-visible) { outline: 1px solid var(--c-sunlight); outline-offset: 4px; }

.reg-form__foot { display: grid; gap: var(--s-3); align-items: center; }
.reg-form__checks { display: grid; gap: var(--s-2); }
.check { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-check); letter-spacing: 0.04em; color: var(--c-ink); cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.check a:hover { text-decoration-color: currentColor; }
.check input { position: absolute; right: 0; width: 16px; height: 16px; margin: 0; opacity: 0; cursor: pointer; }
.check__box { flex: none; position: relative; width: 15px; height: 15px; border: 1px solid var(--c-ink); border-radius: 1px; transition: background-color var(--t-fast); }
.check:hover .check__box { background: color-mix(in srgb, var(--c-urchin) 8%, transparent); }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border-right: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); transform: rotate(45deg); }
.check input:focus-visible + .check__box { outline: 1px solid var(--c-sunlight); outline-offset: 3px; }
.check.is-invalid .check__box { border-color: #A4423A; }
/* Phones (23 Nov): the tick box sits first, on the left of its line, level with the first line of text */
@media (max-width: 833px) {
  .check { display: flex; align-items: flex-start; }
  .check__box { order: -1; margin-top: 0.2em; margin-top: calc((1lh - 15px) / 2); }
  .check input { left: 0; right: auto; top: 0; }
}
.reg-form__submit, .reg-form__signin { width: 100%; }
.reg-form__already { margin: 0; font-size: var(--fs-field); font-weight: var(--fw-light); letter-spacing: 0.05em; color: var(--c-ink); }
.form__msg:empty { display: none; }
.form__msg { margin: 0; font-size: var(--fs-body); color: var(--c-ink); }
.form__msg.is-error { color: #A4423A; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn__spinner { width: 1em; height: 1em; margin-right: 0.5em; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 834px) {
  .reg-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }   /* Interested In: a full row ONLY when there's no Preferred language beside it (register.php), so the fields always end on the password pair */
  .reg-form__foot { grid-template-columns: minmax(0, 1fr) var(--reg-btn-w); column-gap: var(--s-3); row-gap: var(--s-3); }
  .reg-form__checks { display: flex; justify-content: flex-end; gap: var(--s-5); }
  .reg-form__already { justify-self: end; }
}
@media (max-width: 833px) {
  .reg-form__already { margin-top: var(--s-2); text-align: center; }
}

/* ==========================================================================
   06b · Estate view: one full-bleed 16:9 render with the four residence types pinned on it (client, 25 Nov 2026, as the
   brochure: Urchin labels on the sky, a line down to a dot). Reuses .poi (position + draw-in); the label floats above the
   line start. (13 Nov: Stacey's white labels on an Urchin shade; 24 Nov: no labels.)
   ========================================================================== */
.estate-types { position: relative; container-type: inline-size; background: var(--c-linen); }
.estate-types__view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.estate-types__layer { position: absolute; inset: 0; }
.estate-types__view picture, .estate-types__view img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 834px+: the frame is a little shorter than the image (never taller than the screen), and the 16:9 layer (image + pins)
   drifts inside it: parallax with the dots locked to their buildings (Stacey, 13 Nov). Since 25 Nov it rests at
   --et-rest, low enough that the car under the carport shows, and drifts less (client). */
@media (min-width: 834px) {
  .estate-types__view { aspect-ratio: auto; height: var(--et-frame-h); }
  .estate-types__layer { inset: 0 0 auto; aspect-ratio: 16 / 9; will-change: transform; transform: translate3d(0, var(--et-y, 0px), 0); }
}
.poi-map--types { color: var(--et-ink); }
.poi-map--types .poi { --top: var(--et-top); }
.poi-map--types .poi__label {
  position: absolute; bottom: calc(100% + var(--et-gap)); left: 50%; translate: -50% 0; padding: 0;
  font-size: var(--fs-et); font-style: normal; font-weight: var(--fw-medium); letter-spacing: 0.04em; line-height: normal;
  color: var(--et-ink); text-shadow: none; pointer-events: auto; text-decoration: none;
  transition: opacity 800ms var(--ease-out) var(--poi-delay), transform 800ms var(--ease-out) var(--poi-delay), color var(--t-med) var(--ease-out);
}
.poi-map--types .poi__label:hover { color: color-mix(in srgb, var(--et-ink) calc(var(--link-hover-off) * 100%), transparent); }   /* soften, as the nav */
.poi-map--types .poi__label:focus-visible { outline: 1px solid var(--et-ink); outline-offset: 6px; }
.poi-map--types .poi__label:active { color: color-mix(in srgb, var(--et-ink) 55%, transparent); }
.poi-map--types .poi__line { width: var(--et-line); background: var(--et-ink); }
.poi-map--types .poi__dot { width: var(--et-dot); height: var(--et-dot); margin-bottom: calc(var(--et-dot) / -2); background: var(--et-ink); box-shadow: none; }
.poi-map--types .poi__num { display: none; }
.estate-types__key { display: none; }

/* Under 1100px the names would overlap, so each pin shows its number and a key sits under the image */
@media (max-width: 1099px) {
  .poi-map--types .poi__num {
    display: grid; place-items: center; width: var(--et-num); height: var(--et-num); border: 1px solid var(--c-white); border-radius: 50%;
    font-size: 0.8125rem; font-style: normal; letter-spacing: 0; color: var(--c-white);
    background: color-mix(in srgb, var(--c-urchin) 70%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .poi-map--types .poi__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .poi-map--types .poi__label { bottom: calc(100% + var(--s-1)); }
  .estate-types .estate-types__key {   /* .estate-types: outranks the ol[class] reset, which zeroes the padding */
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-4); margin: 0; padding: var(--et-key-pad) var(--gutter); list-style: none;
    font-size: var(--fs-body); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.04em; color: var(--c-ink);
  }
  .estate-types__key a { display: inline-flex; align-items: center; gap: 0.35em; color: inherit; text-decoration: none; }
  .estate-types__key a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
  .estate-types__n { font-style: inherit; }   /* plain "1." before each name (Stacey, 13 Nov) */
  .estate-types__n::after { content: "."; }
}
/* Phones: a square cut to the right (estate-view-m), so all four pins fit; they use their phone positions (xm) */
@media (max-width: 833px) {
  .estate-types__view { aspect-ratio: 1 / 1; }
  .poi-map--types .poi { left: calc(var(--xm) * 1%); top: calc(var(--top) * 1%); height: calc((var(--y) - var(--top)) * 1%); }
  .poi-map--types .poi .poi__label { visibility: visible; }   /* the Setting hides its labels on phones; these stay (as numbers) */
  .poi-map--types .poi__dot { width: 7px; height: 7px; margin-bottom: -3.5px; }
  .estate-types .estate-types__key { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: var(--s-2) var(--s-3); }
}

/* ==========================================================================
   A limited opportunity + brand film (Stacey's design, 9 Nov 2026)
   White ground with soft palm shadows at the edges. The film block opens from 62.5% of the width to full screen as
   it scrolls into view: --open (0 → 1) from site.js drives a clip-path, so the layout never shifts while it grows.
   ========================================================================== */
.opportunity {
  position: relative; isolation: isolate;
  padding: var(--section-y) 0 0;   /* no space under the film: it runs straight into Amenities (Stacey, 9 Nov) */
  background: var(--c-white-ground);
}
/* Palm shadows (Stacey's image): held to the screen while the section scrolls past, like light falling on a wall,
   so the whole frame of leaves stays in view however tall the section is. Touch devices: ordinary cover. */
@media (hover: hover) and (min-width: 834px) {
  .opportunity { background: var(--palm-veil), var(--tex-palm) center / cover no-repeat fixed, var(--c-white-ground); }
}
@media not ((hover: hover) and (min-width: 834px)) {
  .opportunity { background: var(--palm-veil), var(--tex-palm) center top / cover no-repeat, var(--c-white-ground); }
}
.opportunity__intro { display: grid; justify-items: center; text-align: center; padding-inline: var(--gutter); }
.opportunity__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); }
.opportunity__display {
  display: block; margin-top: 0.05em;
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight);
}
.opportunity__lead {
  display: grid; gap: var(--s-4);
  margin-top: var(--s-5); max-width: var(--opp-lead-w);   /* the family story: wide, centred (Stacey, 12 Nov) */
  font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.85; letter-spacing: 0.05em; color: var(--c-ink);
}
.opportunity__benefits {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3);
  width: min(100%, 46rem); margin-top: var(--s-8);
}
.opportunity__benefits li { display: grid; justify-items: center; align-content: start; gap: var(--s-3); }
.opportunity__icon {
  display: block; height: var(--icon-benefit); aspect-ratio: var(--ar, 1); background: var(--c-urchin);   /* Stacey's icon SVGs, Urchin */
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.opportunity__icon--residency { --m: url('../images/brand/icon-residency.svg'); --ar: 52 / 65; }
.opportunity__icon--elevated  { --m: url('../images/brand/icon-elevated.svg');  --ar: 81 / 70; }
.opportunity__icon--ocean     { --m: url('../images/brand/icon-ocean.svg');     --ar: 76 / 75; }
.opportunity__benefit { max-width: 14em; font-size: var(--fs-small); line-height: 1.45; letter-spacing: 0.04em; color: var(--c-ink); }
.opportunity__note { margin-top: var(--s-6); max-width: 64rem; font-size: var(--fs-micro); line-height: 1.5; color: var(--c-ink-soft); }

.opportunity__film { margin-top: var(--s-8); }   /* straight after the story now the icons are gone */
@media (min-width: 834px) { .opportunity__film { padding-bottom: var(--film-after); } }   /* space before River frontage (client, 25 Nov 2026; it ran straight in) */
.opportunity--no-film { padding-bottom: var(--section-y); }
.opportunity__register { width: var(--cta-w); margin-top: var(--s-6); }   /* under the family story (client meeting, 24 Nov 2026) */
.opportunity__screen {
  --o: var(--open, 0);
  --inset-x: calc((1 - var(--o)) * (100% - var(--film-start)) / 2);
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background: var(--c-film);
  /* same proportion top/bottom as left/right, so the block keeps 16:9 while it opens */
  clip-path: inset(var(--inset-x) var(--inset-x) var(--inset-x) var(--inset-x));
  will-change: clip-path;
}
.opportunity__placeholder {
  font-size: var(--fs-d3); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.04em; color: var(--c-paper);
  transform: scale(calc(0.8 + 0.2 * var(--o, 0)));
}
/* The teaser (24 Nov 2026): its first frame as a still, a play button in the middle; a click plays it with sound and
   the browser's controls (pause, volume, full screen) take over (site.js [data-brand-film]). Browsers do not allow
   sound to start on its own, so it waits for the click (client, 24 Nov: play button rather than muted autoplay). */
.opportunity__screen { width: min(100%, (100svh - var(--top-stack) - var(--film-gap)) * 16 / 9); margin-inline: auto; }   /* the whole film fits under the header + launch bar, with a little of the next section showing */
.opportunity__screen > picture, .opportunity__poster, .opportunity__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opportunity__screen > picture { display: block; }   /* picture() puts the class on the img: the wrapper must leave the grid too */
.opportunity__video { opacity: 0; transition: opacity 900ms var(--ease-out); }
.opportunity__screen.is-playing .opportunity__video { opacity: 1; }
.opportunity__play {   /* round glass, like the Residences arrows, larger */
  position: relative; z-index: 2; display: grid; place-items: center;
  width: var(--film-play); height: var(--film-play); border-radius: 50%;
  color: var(--c-paper); background: var(--res-smoke);
  border: 1px solid color-mix(in srgb, var(--c-paper) 70%, transparent);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out), opacity var(--t-med) var(--ease-out);
}
.opportunity__play svg { width: 34%; height: 34%; translate: 6% 0; }   /* the triangle's optical centre */
.opportunity__play:hover { background: var(--c-paper); color: var(--c-forest); }
.opportunity__play:active { transform: scale(0.95); }
.opportunity__play:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 4px; }
.opportunity__screen.is-playing:not(.is-paused) .opportunity__play { opacity: 0; pointer-events: none; }   /* back when paused */
.opportunity__screen .rotate-hint { position: absolute; inset: 0; z-index: 1; align-content: center; pointer-events: none; }

@media (max-width: 833px) {
  .opportunity__benefits { gap: var(--s-2); }
  .opportunity__benefit { font-size: var(--fs-micro); }
}

/* ==========================================================================
   09 · Amenities & lifestyle (Stacey's design, 9 Nov 2026), inside .flow--forest
   Same mechanics as the intro .flow: the water motif (paper, 10%) locks to the bottom of the screen while the
   amenities, gallery and icon row scroll over it. Only the ground and motif colour change.
   ========================================================================== */
.flow--forest { background: var(--c-urchin); color: var(--c-on-urchin); --c-motif-flow: var(--c-motif-forest); }

.life-intro { display: grid; gap: var(--s-6); padding: var(--section-y) var(--gutter) calc(var(--fm-h) * 0.35); }
.amenities__head { margin-bottom: var(--s-5); }   /* "Life elevated.": same headline as "River frontage." */
.life-intro__title, .amenities__head { font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1.08; color: var(--c-on-urchin); }
.life-intro__text, .amenities__intro { font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-on-urchin-a85); }
.life-intro__text { display: grid; gap: var(--s-3); margin-top: var(--s-5); max-width: 34rem; }

.amenities { display: grid; gap: var(--s-6); padding: var(--s-8) var(--gutter) var(--section-y); }
.amenities__intro { max-width: var(--amen-intro-w); }
.amenities__title { margin-top: var(--s-6); font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.04em; }
.amenities__list { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.amenities__cta { width: var(--cta-w); margin-top: var(--s-6); }   /* under the last amenity (client meeting, 24 Nov 2026) */
.amenities__list li {
  display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: var(--s-2);
  font-size: var(--fs-body); font-weight: var(--fw-light); letter-spacing: 0.05em; color: var(--c-on-urchin-a85);
}
.amenities__list li::before {   /* the spiral bullet: Stacey's SVG (images/brand/bullet.svg, 18 × 17), as a mask so the colour follows the copy */
  content: ""; width: 18px; aspect-ratio: 18 / 17; background: var(--c-on-urchin-a85);
  -webkit-mask: var(--mask-bullet) center / contain no-repeat; mask: var(--mask-bullet) center / contain no-repeat;
}
.amenities__stones { width: min(60vw, 300px); justify-self: end; }   /* the shadow is part of the image */
/* One line at a time: the list fades up item by item once it comes into view (site.js adds .is-in to the ul) */
.reveal-ready [data-stagger] > li { transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--t-stagger)); }
.reveal-ready [data-stagger]:not(.is-in) > li { opacity: 0; transform: translateY(14px); }

/* Gallery: a quiet horizontal strip, swipe or arrows; images keep their own proportions */
.life-gallery { position: relative; padding-bottom: var(--section-y); }
.life-gallery__track {
  display: flex; gap: var(--s-4); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.life-gallery__track::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .life-gallery__track { cursor: grab; } }   /* mouse drag (site.js) */
.life-gallery__track.is-dragging { cursor: grabbing; user-select: none; }
.life-gallery__track img { -webkit-user-drag: none; user-select: none; }
.life-gallery__track:focus-visible { outline-offset: -4px; }
.life-gallery__item { flex: none; height: var(--gallery-h); scroll-snap-align: start; overflow: hidden; }
.life-gallery__item picture, .life-gallery__item img { height: 100%; width: auto; display: block; }
.life-gallery__btn {   /* the Residences glass arrows (res-arrow.svg: white ring + chevron, blur behind; Stacey, 13 Nov) */
  position: absolute; top: calc((var(--gallery-h)) / 2); translate: 0 -50%;
  width: var(--res-ov-arrow); height: var(--res-ov-arrow); padding: 0; border: 0; border-radius: 50%; background: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.life-gallery__btn img { display: block; width: 100%; height: 100%; }
.life-gallery__btn--prev img { transform: scaleX(-1); }
.life-gallery__btn:hover { box-shadow: 0 0 0 4px color-mix(in srgb, white 14%, transparent); }
.life-gallery__btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.life-gallery__btn:active { transform: scale(0.95); }
.life-gallery__btn--next { right: var(--gutter); }
.life-gallery__btn--prev { left: var(--gutter); }
.life-gallery__tbc { padding: var(--s-2) var(--gutter) 0; }

.life-icons { padding: 0 var(--gutter) var(--section-y); }
.life-icons__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5) clamp(var(--s-5), 7vw, 9rem); }
.life-icons__list li { display: grid; justify-items: center; gap: var(--s-2); font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--c-paper-a85); }
.life-icons__icon { height: var(--icon-benefit); aspect-ratio: var(--ar); background: var(--c-paper); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.life-icons__icon--gym       { --m: url('../images/icon-gym.webp');       --ar: 96 / 72; }
.life-icons__icon--clubhouse { --m: url('../images/icon-clubhouse.webp'); --ar: 50 / 70; }
.life-icons__icon--pool      { --m: url('../images/icon-pool.webp');      --ar: 46 / 70; }
.life-icons__icon--deck      { --m: url('../images/icon-deck.webp');      --ar: 96 / 64; }
.life-icons__icon--water     { --m: url('../images/icon-water.webp');     --ar: 64 / 59; }

@media (min-width: 834px) {
  .life-intro { grid-template-columns: minmax(0, 1fr) clamp(300px, 35vw, 760px); align-items: start; }   /* image on the outer line */
  .life-intro__copy { padding: 4.5vw 0 0 calc(var(--line-2) - var(--gutter)); }   /* inner line */
  .amenities { grid-template-columns: 26vw minmax(0, 30rem) minmax(0, 1fr); column-gap: calc(50vw - var(--line-2) - 26vw); align-items: start; padding-left: var(--line-2); padding-right: 0; }   /* image on the inner line, copy on the centre line */   /* lines up with the intro headline */
  .amenities__media { margin-top: calc(-1 * var(--amen-media-lift)); }
  /* Palm leaves: once it reaches the middle of the space under the header + launch bar it holds there while the
     amenities list scrolls on (Stacey, 13 Nov). Image is 26vw wide at 4:5, so 32.5vw tall. */
  .amenities__media { position: sticky; top: max(calc(var(--top-stack) + var(--s-3)), calc((100svh + var(--top-stack)) / 2 - 16.25vw)); }
  .life-intro__media { margin-top: var(--life-media-drop); }
  .amenities__copy { padding-top: var(--s-5); translate: calc(-1 * var(--amen-copy-shift)) 0; }   /* 20px left of the centre line, so the long lines clear the stones (23 Nov) */
  /* The list wraps before the stones (width measured off the stones' edge; no effect from ≈1600px, where the column is narrower) */
  .amenities__list { max-width: var(--amen-list-max); }
  /* The stones fill the left 53% of the image (its shadow runs off to the right), so the shift counts from the
     rocks' old place (right edge of the screen), not the image edge. The gallery strip starts below them (--gallery-gap). */
  .life-gallery { margin-top: var(--gallery-gap); }
  .amenities__stones { --stones-w: clamp(240px, 27vw, 520px); width: var(--stones-w); max-width: none; align-self: end; margin-bottom: calc(-1 * var(--s-6)); translate: calc(var(--stones-w) * 0.47 - var(--stones-shift-x)) var(--stones-shift-y); pointer-events: none; }
}

/* ==========================================================================
   06 · Residences (Stacey, 9 Nov 2026): pick a type on the left, its renders on the right.
   All 4 detail panels (and all 4 galleries) share one grid cell; only .is-active shows, so switching
   is a cross-fade and nothing below jumps.
   ========================================================================== */
.residences { position: relative; isolation: isolate; background-color: var(--c-linen); padding: var(--section-y) var(--gutter); }   /* plain linen, no texture (Stacey, 10 Nov) */
.residences__intro { display: grid; justify-items: center; text-align: center; }
.residences__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); }
.residences__display {
  display: block; margin-top: 0.05em;
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight);
}
.residences__lead {
  display: grid; gap: var(--s-2); margin-top: var(--s-5); max-width: var(--res-lead-w);
  font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-ink);
}
.residences__body { margin-top: var(--res-gap); }

/* the four types across: chosen in forest, the rest gold; a thin gold line slides under the chosen one */
.residences__tabs {
  position: relative; display: flex; gap: clamp(var(--s-4), 4.2vw, 5rem); justify-content: center;
  overflow-x: auto; scrollbar-width: none; padding: 0 var(--s-1) var(--res-tab-under);
  margin-top: calc(var(--s-1) + var(--res-tab-drop));   /* 20px lower than before (Stacey, 10 Nov) */
}
.residences__tabs::-webkit-scrollbar { display: none; }
.residences__tab {
  flex: none; padding: 0;
  font-family: var(--ff-body); font-size: var(--fs-res-tab); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.06em; line-height: 1.3;
  color: var(--res-tab-off); transition: color var(--t-med) var(--ease-out);
}
.residences__tab:hover { color: var(--res-tab-hover); }
.residences__tab:active { color: var(--c-ink-soft); }
.residences__tab[aria-selected="true"] { color: var(--c-ink); font-weight: var(--fw-medium); }
.residences__tab:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }
.residences__ind {
  position: absolute; left: 0; bottom: calc(var(--res-tab-under) - var(--res-tab-line)); height: 1px; width: var(--ind-w, 0); background: var(--c-urchin);   /* Urchin, like the chosen name (Stacey, 10 Nov) */
  transform: translateX(var(--ind-x, 0)); pointer-events: none;
  transition: transform var(--t-res) var(--ease-soft), width var(--t-res) var(--ease-soft);
}

/* the product card: hairline frame, renders left, the chosen type right */
.res-card {
  display: grid; gap: var(--s-4); margin-top: calc(var(--s-5) + var(--s-2) + var(--s-1) - var(--res-tab-under) - var(--res-tab-drop));   /* card stays where it was */ padding: var(--res-pad);
  background: var(--res-card-bg); border-radius: var(--r-card);
  border: 1px solid color-mix(in srgb, var(--c-forest) 12%, transparent);
}

/* the chosen type: all four share one cell and cross-fade, so nothing jumps */
.residences__details { display: grid; }
.res-type {
  grid-area: 1 / 1; align-self: end; display: grid; justify-items: start;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t-res) var(--ease-out), transform var(--t-res) var(--ease-out), visibility 0s linear var(--t-res);
}
.res-type.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: calc(var(--t-res) * 0.35), calc(var(--t-res) * 0.35), 0s; }
.res-type__name {
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-d2); line-height: 1.1; color: var(--c-ink);
}
.res-type__price { margin-top: var(--s-1); font-size: var(--fs-res-price); font-weight: var(--fw-regular); letter-spacing: 0.06em; color: var(--c-ink); }
.res-type__price span { font-size: var(--fs-body); font-weight: var(--fw-light); letter-spacing: 0.04em; vertical-align: 0.5em; margin-right: 0.3em; }
.res-type__text { margin-top: var(--s-4); font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-ink); }
.res-type__copy > .res-type__text:first-child { margin-top: var(--s-5); }
.res-type__cta { width: 100%; margin-top: var(--s-5); }

/* the gallery: slides cross-fade with a slow settle; counter bottom-left, arrows bottom-right; loops */
.residences__gallery { position: relative; display: grid; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-render); background: color-mix(in srgb, var(--c-forest) 8%, transparent); }
.res-gallery { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity var(--t-res) var(--ease-out), visibility 0s linear var(--t-res); }
.res-gallery.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.res-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 900ms var(--ease-out); }
.res-slide.is-active { opacity: 1; }
.res-slide picture, .res-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.res-slide img { transform: scale(1.04); transition: transform 2400ms var(--ease-out); }
.res-slide.is-active img { transform: none; }
.res-slide--plans { display: grid; place-items: center; background: var(--c-urchin); color: var(--c-on-urchin); text-align: center; }
.res-plans { display: grid; justify-items: center; gap: var(--s-2); padding: var(--s-3); }
@media (min-width: 834px) { .res-plans { gap: var(--s-3); padding: var(--s-4); } .res-plans .res-plans__cta { display: inline-flex; } }
.res-plans__title { font-family: var(--ff-display); font-style: var(--fs-display-style); font-size: var(--fs-d3); line-height: 1.1; }
.res-plans__text { max-width: 26rem; font-weight: var(--fw-light); letter-spacing: 0.05em; line-height: 1.7; color: var(--c-on-urchin-a85); }
.res-plans .btn { margin-top: var(--s-2); width: var(--cta-w); }
.res-plans__cta { display: none; }   /* phones: the card is small and Register sits just below it */
.res-gallery__tbc { position: absolute; left: var(--s-2); top: var(--s-2); font-size: var(--fs-micro); }
.res-gallery__dots {   /* three dots, as Stacey's Option 1: open rings, the current one filled with a ring around it */
  position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 2;
  display: flex; align-items: center; height: var(--res-btn);
}
.res-gallery__dot {
  display: grid; place-items: center; width: calc(var(--res-dot) + 12px); height: 32px; margin-inline: -2px;   /* tap area larger than the dot; ≈8px between dots */
}
.res-gallery__dot::before {
  content: ""; width: var(--res-dot); height: var(--res-dot); border-radius: 50%;
  border: 1.5px solid var(--c-paper); box-shadow: 0 0 8px color-mix(in srgb, black 30%, transparent);
  background: radial-gradient(circle, var(--c-paper) 0 0, transparent 0);
  transition: background var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.res-gallery__dot[aria-current="true"]::before { background: radial-gradient(circle, var(--c-paper) 0 38%, transparent 42%); }
.res-gallery__dot:hover::before { background: radial-gradient(circle, var(--c-paper-a70) 0 38%, transparent 42%); }
.res-gallery__dot[aria-current="true"]:hover::before { background: radial-gradient(circle, var(--c-paper) 0 38%, transparent 42%); }
.res-gallery__dot:active::before { transform: scale(0.88); }
.res-gallery__dot:focus-visible { outline: none; }
.res-gallery__dot:focus-visible::before { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.res-gallery__nav { position: absolute; right: var(--s-3); bottom: var(--s-3); display: flex; gap: var(--s-2); z-index: 2; }
.res-gallery__btn {
  display: grid; place-items: center; width: var(--res-btn); height: var(--res-btn); border-radius: 50%;
  color: var(--c-paper); background: var(--res-smoke);
  border: 1px solid color-mix(in srgb, var(--c-paper) 60%, transparent);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.res-gallery__btn:hover { background: var(--c-paper); color: var(--c-forest); }
.res-gallery__btn:active { transform: scale(0.95); }
.res-gallery__btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

@media (max-width: 833px) {
  .residences__tabs { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
}
@media (max-width: 1099px) {   /* phones + tablets: the card stacks (image, then details) */
  .res-type { align-self: start; }
  .res-card { gap: var(--s-3); padding-bottom: var(--s-3); }
}
@media (min-width: 834px) {
  .residences__body { margin-inline: var(--res-side); }
  .residences__gallery { aspect-ratio: 16 / 9; }
}
@media (min-width: 1100px) {   /* side by side once the render can stay large */
  .res-card { grid-template-columns: minmax(0, 1fr) var(--res-info); gap: clamp(var(--s-3), 1.5vw, 1.75rem); padding-right: calc(var(--res-pad) + clamp(0px, 0.9vw, 14px)); }
  .res-type { padding-bottom: calc(var(--s-3) + (var(--res-btn) - var(--cta-h)) / 2); }   /* Register's centre lines up with the arrows' */
}

/* --------------------------------------------------------------------------
   Residences · OVERLAY layout (live, Stacey 10 Nov 2026). The card layout above stays intact (RES_LAYOUT / ?res=card).
   Full-width render; name + price top-left, arrows top-right, dots + copy bottom-left, Register bottom-right.
   A soft blur + dark gradient sits behind the top and bottom bands so the white type reads on any render.
   -------------------------------------------------------------------------- */
.residences--overlay .residences__body { margin-inline: var(--res-ov-side); }
.residences--overlay .res-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; border: 0; background: none;
  border-radius: var(--r-card); overflow: hidden; isolation: isolate;
}
.residences--overlay .residences__gallery, .residences--overlay .residences__details { grid-area: 1 / 1; }
.residences--overlay .residences__gallery { aspect-ratio: var(--res-ov-ar-m); border-radius: 0; }
@media (max-width: 833px) { .residences--overlay { --res-sh-blur-h: 66%; --res-sh-bottom-h: 60%; } }
/* shade layers (Stacey's Figma, 1515 × 800 card): sizes are % of the card so they scale with it */
.res-shade, .res-shade > span { position: absolute; pointer-events: none; }
.res-shade { inset: 0; z-index: 1; }
.res-shade__blur {     /* bottom 39.75%: 2px blur under an Urchin ramp, clear for its top 40% → 54% at the foot */
  inset: auto 0 0; height: var(--res-sh-blur-h);
  -webkit-backdrop-filter: blur(var(--res-sh-blur)); backdrop-filter: blur(var(--res-sh-blur));
  background: linear-gradient(to top, color-mix(in srgb, var(--c-urchin) 54%, transparent), transparent 60%);
  -webkit-mask-image: linear-gradient(to top, black 55%, transparent); mask-image: linear-gradient(to top, black 55%, transparent);
}
.res-shade__bottom {   /* bottom 34.6%: Urchin → clear, Multiply */
  inset: auto 0 0; height: var(--res-sh-bottom-h); mix-blend-mode: multiply;
  background: linear-gradient(to top, var(--c-urchin), var(--res-sh-clear));
}
.res-shade__top {      /* top 33.25%: Urchin 50% → clear, Multiply */
  inset: 0 0 auto; height: var(--res-sh-top-h); mix-blend-mode: multiply;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--c-urchin) 50%, transparent), var(--res-sh-clear));
}
.res-shade__corner {   /* top-left 70.9% × 45.75%: diagonal Urchin wash behind the name, Multiply */
  inset: 0 auto auto 0; width: 70.9%; height: var(--res-sh-corner-h); mix-blend-mode: multiply;
  background: linear-gradient(164.9deg, var(--c-urchin) 9.07%, var(--res-sh-clear) 56.54%);
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent); mask-image: linear-gradient(to right, black 55%, transparent);   /* no hard right edge */
}
.residences--overlay .res-gallery__tbc { left: auto; right: var(--res-ov-pad-x); top: calc(var(--res-ov-pad) + var(--res-btn) + var(--s-1)); z-index: 3; }   /* dev flag: under the arrows */
.residences--overlay .res-gallery__nav { top: var(--res-ov-pad); right: var(--res-ov-pad-x); bottom: auto; }
.residences--overlay .res-gallery__nav { gap: var(--res-ov-arrow-gap); }
.res-gallery__btn--svg {
  width: var(--res-ov-arrow); height: var(--res-ov-arrow); padding: 0; background: none; border: 0; border-radius: 50%;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.res-gallery__btn--svg img { display: block; width: 100%; height: 100%; }
.res-gallery__btn--prev img { transform: scaleX(-1); }
.res-gallery__btn--svg:hover { background: none; box-shadow: 0 0 0 4px color-mix(in srgb, white 14%, transparent); }
.res-gallery__btn--svg:active { transform: scale(0.95); }
.residences--overlay .res-plans__cta { display: none !important; }   /* Register is already on the card */

.residences--overlay .residences__details { position: relative; z-index: 2; pointer-events: none; }
.residences--overlay .res-type {
  align-self: stretch; padding: var(--res-ov-pad) var(--res-ov-pad-x);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto auto auto;
  grid-template-areas: "name" "price" "." "dots" "copy" "cta";
  color: var(--c-paper);
}
.residences--overlay .res-type > * { pointer-events: auto; }
.residences--overlay .res-type__name { grid-area: name; font-size: var(--fs-res-ov-name); letter-spacing: 0.07em; color: var(--c-white); }
.residences--overlay .res-type__price { grid-area: price; margin-top: var(--s-1); font-size: var(--fs-res-ov-price); font-weight: var(--fw-medium); letter-spacing: 0.04em; color: var(--c-white); }
.residences--overlay .res-type__price span { font-size: var(--fs-res-ov-body); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.07em; vertical-align: 0.25em; }
.residences--overlay .res-gallery__dots { grid-area: dots; position: static; height: auto; margin: 0 0 var(--s-4) -2.8px; }
.residences--overlay { --res-dot: 20px; }   /* Figma: 20px rings, 2px stroke, 10px fill */
.residences--overlay .res-gallery__dot { width: var(--dot-pitch); margin-inline: 0; }   /* 25.6px centre to centre, as the Figma group */
.residences--overlay .res-gallery__dot::before { width: var(--dot-ring); height: var(--dot-ring); border: 1.5px solid var(--c-white);   /* 1.5px stroke, 20px outer (Stacey, 10 Nov) */ box-shadow: none; box-sizing: content-box; background: radial-gradient(circle, var(--c-white) 0 0, transparent 0); }
.residences--overlay .res-gallery__dot[aria-current="true"]::before, .residences--overlay .res-gallery__dot[aria-current="true"]:hover::before { background: radial-gradient(circle, var(--c-white) 0 var(--dot-core), transparent calc(var(--dot-core) + 0.5px)); }
.residences--overlay .res-gallery__dot:hover::before { background: radial-gradient(circle, color-mix(in srgb, white 55%, transparent) 0 var(--dot-core), transparent calc(var(--dot-core) + 0.5px)); }
.residences--overlay .res-type__copy { grid-area: copy; max-width: var(--res-ov-copy-w); text-wrap: balance; }   /* even lines, no long top line hanging over (Stacey, 13 Nov) */   /* as wide as the card allows beside Register, to hold the copy to ~2 lines */
.residences--overlay .res-type__text { display: inline; margin: 0; font-size: var(--fs-res-ov-copy); font-weight: var(--fw-regular); line-height: var(--lh-res-ov-copy); letter-spacing: 0.05em; color: var(--c-white); }   /* body copy size (Stacey, 10 Nov) */
.residences--overlay .res-type__cta { grid-area: cta; width: 100%; margin-top: var(--s-3); }
/* Register: the standard glass button, same as every Register on the site (Stacey, 10 Nov) */

@media (min-width: 834px) {
  .residences--overlay .residences__gallery { width: 100%; aspect-ratio: var(--res-ov-ar); max-height: var(--res-ov-max-h); }   /* tabs stay in view (render crops, never squashes) */
  .residences--overlay .res-type {
    grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4);
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas: "name ." "price ." ". ." "dots ." "copy cta";
  }
  .residences--overlay .res-type__cta { width: var(--res-ov-cta); min-width: max-content; margin-top: 0; align-self: center; }   /* lines up with the copy beside it (Stacey, 13 Nov); grows to fit a longer label ("Inscrivez-vous dès maintenant", 25 Nov 2026) */
}

/* ==========================================================================
   Lifestyle breaker (Stacey, 9 Nov 2026): a line of copy, then a staggered mood wall on the palm-shadow ground.
   Column offsets follow the design (1920 artboard: 115 · 0 · 75 · 187 · 0 px from the top line).
   ========================================================================== */
.palm-ground { background: var(--palm-veil), var(--tex-palm) center top / cover no-repeat, var(--c-white-ground); }
.breaker { position: relative; padding-top: var(--section-y); overflow: hidden; }
.breaker__lead {
  max-width: 72rem; margin: 0 auto; padding-inline: var(--gutter); text-align: center;
  font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-ink);
}
.breaker__wall {
  display: flex; gap: var(--brk-gap); align-items: flex-start;
  margin-top: var(--brk-top); padding: 0 var(--gutter) var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.breaker__wall::-webkit-scrollbar { display: none; }
.breaker__col { flex: none; width: var(--brk-w); scroll-snap-align: start; margin-top: calc(var(--off, 0) * var(--brk-unit)); }
.breaker__col--1 { --off: 115; }
.breaker__col--3 { --off: 75; }
.breaker__col--4 { --off: 187; }
.breaker__drift { display: grid; gap: var(--brk-gap); will-change: transform; }
.breaker__tile { margin: 0; aspect-ratio: var(--ar); overflow: hidden; background: color-mix(in srgb, var(--c-forest) 8%, transparent); }
.breaker__tile picture, .breaker__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.breaker__tile img { transition: transform 1800ms var(--ease-out); }
.breaker__tile:hover img { transform: scale(1.03); }
.breaker__tbc { padding: var(--s-2) var(--gutter) 0; }
/* Phones (23 Nov): no sideways swipe. The tiles stack in two columns (masonry), each at its own proportions, so no image
   is cut; the column offsets and the drift (parallax) are for the desktop wall only. */
@media (max-width: 833px) {
  .breaker__wall { display: block; columns: 2; column-gap: var(--brk-gap); overflow: visible; scroll-snap-type: none; }
  .breaker__col, .breaker__drift { display: contents; }
  .breaker__tile { break-inside: avoid; margin-bottom: var(--brk-gap); }
}

@media (min-width: 834px) {
  .palm-ground { background: var(--palm-veil), var(--tex-palm) center / cover no-repeat fixed, var(--c-white-ground); }
  .breaker { --brk-w: 14.6vw; --brk-gap: 1.6vw; --brk-unit: calc(14.6vw / 280); --brk-top: clamp(var(--s-8), 10vw, 12rem); }
  .breaker__wall { justify-content: center; overflow: visible; padding-bottom: 0; }
}
@media (hover: none) { .palm-ground { background-attachment: scroll; } }

/* ==========================================================================
   07 · Investment (Stacey, 9 Nov 2026): same palm ground as the breaker; heading, three tax icons, then an
   accordion (one open at a time). Panels open with a height ease and a soft fade-up of their content.
   ========================================================================== */
.invest { padding: var(--inv-top) var(--gutter) var(--section-y); }
.invest__intro { display: grid; justify-items: center; text-align: center; }
.invest__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); }
.invest__display {
  display: block; margin-top: 0.05em;
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1; color: var(--c-sunlight);
}
.invest__lead {
  margin-top: var(--s-5); max-width: 50rem;
  font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-ink);
}
.invest__taxes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 12rem)); justify-content: center; gap: var(--s-3) var(--inv-tax-gap);
  margin-top: var(--s-10); text-align: center;
  font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-ink);
}
.invest__taxes li { display: grid; justify-items: center; align-content: start; gap: var(--s-3); }
.invest__icon {
  height: var(--inv-icon); aspect-ratio: var(--ar); background: var(--c-urchin);   /* full Urchin (Stacey, 13 Nov) */
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.invest__note {
  max-width: 44rem; margin: var(--s-6) auto 0; text-align: center;
  font-size: var(--fs-micro); font-weight: var(--fw-light); line-height: 1.7; letter-spacing: 0.04em; color: var(--c-ink-soft);
}
.invest__src { white-space: nowrap; }

.invest__acc { margin: var(--s-10) var(--inv-inset) 0; border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__head { margin: 0; font: inherit; }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  width: 100%; min-height: var(--acc-row); padding: 0; padding-right: var(--acc-btn-end);
  background: none; border: 0; color: var(--c-ink); cursor: pointer; text-align: left;
  font-family: var(--ff-body); font-size: var(--fs-acc); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em;
}
.acc__label { transition: color var(--t-med) var(--ease-out); }
.acc__icon {
  position: relative; flex: none; width: var(--acc-btn); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c-ink) 40%, transparent);
  transition: border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 36%; height: 1px; translate: -50% -50%;
  background: color-mix(in srgb, var(--c-ink) 65%, transparent); transition: rotate var(--t-acc) var(--ease-soft), opacity var(--t-acc) var(--ease-soft);
}
.acc__icon::after { rotate: 90deg; }
.acc__btn[aria-expanded="true"] .acc__icon::after { rotate: 0deg; opacity: 0; }   /* plus → minus */
.acc__btn:hover .acc__label { color: var(--c-khaki); }
.acc__btn:hover .acc__icon { border-color: var(--c-ink); background: color-mix(in srgb, var(--c-paper) 60%, transparent); }
.acc__btn:active .acc__icon { transform: scale(0.94); }
.acc__btn:focus-visible { outline: none; }
.acc__btn:focus-visible .acc__icon { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.acc__btn:focus-visible .acc__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Collapsed only once JS is running (no JS: everything shows) */
[data-accordion].is-ready .acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-acc) var(--ease-soft), visibility 0s linear var(--t-acc); visibility: hidden; }
[data-accordion].is-ready .acc__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--t-acc) var(--ease-soft), visibility 0s; }
.acc__inner { overflow: hidden; min-height: 0; }
.acc__body { padding-bottom: var(--s-5); }   /* full accordion width (tables run line to line); paragraphs keep their own measure (.acc__text) */
[data-accordion].is-ready .acc__body { opacity: 0; transform: translateY(12px); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
[data-accordion].is-ready .is-open .acc__body { opacity: 1; transform: none; transition: opacity var(--t-acc) var(--ease-out) 180ms, transform var(--t-acc) var(--ease-out) 180ms; }

.acc__display {
  margin-top: calc(-1 * var(--s-1));
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-acc-display); line-height: 1.2; letter-spacing: var(--ls-acc-display); color: var(--c-sunlight);
}
.acc__text { margin-top: var(--s-3); max-width: 75rem; font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; color: var(--c-ink); }
.acc__display + .acc__text { margin-top: var(--s-4); }
.acc__sub { margin-top: var(--s-6); font-family: var(--ff-body); font-size: var(--fs-acc-sub); font-weight: var(--fw-light); letter-spacing: 0.03em; line-height: 1.2; color: var(--c-ink); }
.acc__tag { margin-top: var(--s-3); font-size: var(--fs-body); font-style: italic; font-weight: var(--fw-regular); letter-spacing: 0.03em; color: var(--c-ink); }
.acc__tag + .acc__text { margin-top: var(--s-2); }
.acc__body > .acc__sub:first-child { margin-top: 0; }   /* a panel that opens on a sub-head (International Buyers) */
/* Bulleted list in a panel (Tax Benefits): the spiral bullet from the amenities list, in ink */
.acc__list { display: grid; gap: var(--s-1); max-width: 75rem; margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.acc__list li {
  display: grid; grid-template-columns: 16px 1fr; align-items: baseline; gap: var(--s-2);
  font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.6; letter-spacing: 0.05em; color: var(--c-ink);
}
.acc__list li::before {
  content: ""; width: 16px; aspect-ratio: 18 / 17; translate: 0 2px; background: currentColor;
  -webkit-mask: var(--mask-bullet) center / contain no-repeat; mask: var(--mask-bullet) center / contain no-repeat;
}

/* Costs table (Cost Breakdown panel; Stacey, 13 Nov). Hairline rows like the FAQ table; the cost name in the italic
   sub-head voice, "Paid by" quiet, the amount given the room. Phones: each row stacks into a small block. */
.cost-table { margin-top: var(--s-5); }
.cost-table table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--c-ink); font-variant-numeric: lining-nums; }
.cost-table col, .cost-table th, .cost-table td { text-align: left; vertical-align: top; }
.cost-table thead th {
  padding: 0 var(--s-4) var(--s-2) 0; border-bottom: 1px solid color-mix(in srgb, var(--c-ink) 40%, transparent);
  font-size: var(--fs-small); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.05em; color: var(--c-ink-soft);
}
.cost-table thead th:nth-child(1) { width: 28%; }
.cost-table thead th:nth-child(2) { width: 20%; }
.cost-table tbody th, .cost-table tbody td { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.cost-table tbody th { font-size: var(--fs-cost-name); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; line-height: 1.35; }
.cost-table tbody td { font-size: var(--fs-body); font-weight: var(--fw-light); letter-spacing: 0.04em; line-height: 1.7; }
.cost-table tbody td:nth-child(2) { color: var(--c-ink-soft); }
.cost-table tbody td:last-child { padding-right: 0; }
.acc__small { font-size: var(--fs-small); color: var(--c-ink-soft); }
.cost-table + .acc__small { margin-top: var(--s-4); }
.acc__link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color var(--t-fast); }
.acc__link:hover { text-decoration-color: currentColor; }
@media (max-width: 833px) {
  .cost-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cost-table table, .cost-table tbody, .cost-table tr, .cost-table th, .cost-table td { display: block; width: auto; }
  .cost-table tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
  .cost-table tbody th, .cost-table tbody td { padding: 0; border: 0; }
  .cost-table tbody td { margin-top: var(--s-1); }
  .cost-table tbody td::before { content: attr(data-label); display: block; font-size: var(--fs-micro); font-style: italic; letter-spacing: 0.05em; color: var(--c-ink-soft); }
}

@media (max-width: 833px) {
  .invest__taxes { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: var(--fs-small);   /* 4 icons: 2 × 2 on phones */ line-height: 1.5; letter-spacing: 0.03em; }
}
@media (prefers-reduced-motion: reduce) {
  [data-accordion].is-ready .acc__panel, [data-accordion].is-ready .acc__body, .acc__icon::before, .acc__icon::after { transition: none !important; }
}

/* ==========================================================================
   FAQs page (faqs.php; Stacey, 12 Nov 2026): the Investment accordion styling on the palm ground.
   ========================================================================== */
.faq { padding: calc(var(--header-h-solid) + var(--faq-top)) var(--gutter) var(--section-y); }
.faq__intro { display: grid; justify-items: center; text-align: center; }
.faq__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); }
.faq__display {
  display: block; margin-top: 0.05em;
  font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-h1); line-height: 1; color: var(--c-sunlight);
}
.faq__acc { margin: var(--s-10) var(--inv-inset) 0; border-top: 1px solid var(--c-line); }
.faq__acc .acc__btn { padding-block: var(--s-2); }   /* questions can run to two lines on phones */
.faq__acc .acc__body { padding-top: var(--s-1); }
.faq__acc .acc__text:first-child { margin-top: 0; }
.faq-table { margin-top: var(--s-4); max-width: var(--faq-table-w); }
.faq-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); font-weight: var(--fw-light); letter-spacing: 0.04em; color: var(--c-ink); font-variant-numeric: lining-nums tabular-nums; }
.faq-table th, .faq-table td { padding: var(--s-2) var(--s-3) var(--s-2) 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; font-weight: var(--fw-light); }
.faq-table thead th { font-size: var(--fs-small); font-style: italic; letter-spacing: 0.05em; color: var(--c-ink-soft); border-bottom-color: color-mix(in srgb, var(--c-ink) 40%, transparent); }
.faq-table td { white-space: nowrap; }
.faq-table__tbc { margin-top: var(--s-2); }
.faq__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-10); }
.faq__cta .btn { min-width: var(--cta-w); }
@media (max-width: 833px) {
  .faq-table th, .faq-table td { padding-right: var(--s-2); font-size: var(--fs-small); }
}

/* ==========================================================================
   Blog article (blog-article.php, 17 Nov 2026): the FAQs page pattern on the palm ground. The title centred, the
   picture between the outer lines, the text in one reading column centred on the page, then the Register button.
   ========================================================================== */
.post { padding: calc(var(--header-h-solid) + var(--faq-top)) 0 var(--section-y); }
.post__intro { display: grid; justify-items: center; gap: var(--s-3); padding: 0 var(--line-2); text-align: center; }
.post__back {
  font-size: var(--fs-small); letter-spacing: 0.05em; color: var(--c-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); transition: text-decoration-color var(--t-fast), opacity var(--t-fast);
}
.post__back:hover { text-decoration-color: currentColor; }
.post__back:active { opacity: 0.75; }
.post__back:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }
.post__title { margin: 0; }
.post__display {
  display: block; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-post-title); line-height: 1.05; color: var(--c-sunlight); text-wrap: balance;
}
.post__sub { display: block; margin-top: var(--s-2); font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; color: var(--c-ink); text-wrap: balance; }
.post__media { margin: var(--s-8) var(--line-1) 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r-card); }
.post__media picture, .post__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post__body { width: min(var(--post-measure), 100% - 2 * var(--line-1)); margin: var(--s-8) auto 0; color: var(--c-ink); }
.post__body > :first-child { margin-top: 0; }
.post__p { margin: var(--s-3) 0 0; font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; }
.post__p--strong, .post__p strong { font-weight: var(--fw-medium); }   /* a bold closing line, or a bold sentence inside a paragraph (**...** in posts.php) */
.post__h { margin: var(--s-6) 0 0; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-regular); letter-spacing: 0.03em; line-height: 1.3; color: var(--c-ink); }
.post__table { margin-top: var(--s-4); }
.post__cta { margin-top: var(--s-8); padding: 0 var(--line-1); }

/* Legal pages (privacy.php, terms.php; 26 Nov 2026): the starter kit's text in the blog article's reading column */
.legal h2 { margin: var(--s-6) 0 0; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-regular); letter-spacing: 0.03em; line-height: 1.3; }
.legal h3 { margin: var(--s-4) 0 0; font-size: var(--fs-body); font-weight: var(--fw-medium); letter-spacing: 0.05em; line-height: 1.5; }
.legal p, .legal li { font-size: var(--fs-body); font-weight: var(--fw-light); line-height: 1.75; letter-spacing: 0.05em; }
.legal p { margin: var(--s-3) 0 0; }
.legal ul, .legal ol { margin: var(--s-2) 0 0; padding-left: 1.25em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: var(--s-1); }
.legal strong { font-weight: var(--fw-medium); }
.legal a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; transition: text-decoration-color var(--t-med) var(--ease-out); }
.legal a:hover { text-decoration-color: var(--c-gold); }
.legal a:active { opacity: 0.75; }
.legal a:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }
.legal .legal__notice { font-style: italic; }
@media (min-width: 834px) {
  .post__body { width: min(var(--post-measure), 100% - 2 * var(--line-2)); }   /* centred between the inner lines */
}
@media (max-width: 833px) {
  .post__media { aspect-ratio: 4 / 5; }   /* the upright cut (img_m) */
}
/* Under an article: the other two posts at the home card size, centred */
@media (min-width: 834px) {
  .blog .blog__list[data-count="2"] { grid-template-columns: repeat(2, calc((100% - 2 * var(--blog-gap)) / 3)); justify-content: center; }
}

/* ==========================================================================
   Landing pages (includes/landing.php: france, uae, south-africa, uk-europe, mauritius; 17 Nov 2026). Home page
   parts only: a full-screen hero with the market's headline, the Vision layout for the intro and key points, then
   the Register form. Header: logo, Register and EN | FR (header.php, $headerLanding).
   ========================================================================== */
.lp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: max(100svh, var(--lp-hero-min));
  color: var(--c-paper);
}
.lp-hero__media { position: absolute; inset: 0; z-index: -1; }   /* the home page's looping film since 26 Nov 2026 (.lp-hero--loop: the .hero--loop rules above) */
.lp-hero__media picture, .lp-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.lp-hero__media::after {   /* the copy needs a quiet ground: forest from the foot, a light wash under the header */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--lp-hero-shade) 0%, transparent 62%), linear-gradient(to bottom, var(--lp-hero-shade-top) 0%, transparent 22%);
}
.lp-hero__content { display: grid; justify-items: start; gap: var(--s-2); width: 100%; padding: 0 var(--line-1) var(--s-8); }
.lp-hero__title {
  max-width: 14em; margin: 0; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400;
  font-size: var(--fs-d1); line-height: 1.02; color: var(--c-white); text-wrap: balance;
}
.lp-hero__sub { max-width: 34em; margin: 0; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; line-height: 1.35; text-wrap: balance; }
.lp-hero__cta { min-width: var(--cta-w); margin-top: var(--s-3); }
.lp-hero__launch { margin: 0; font-size: var(--fs-small); letter-spacing: 0.05em; }
.lp-residences .residences { background: none; }   /* the home page's Residences on the white palm ground (landing pages, 26 Nov 2026) */
@media (min-width: 834px) {
  .lp-hero__content { padding: 0 var(--line-2) var(--s-12); }   /* on the inner line */
}

/* Key points: the amenities spiral bullet, in gold, under the intro paragraphs; the footnote small beneath */
.lp-points { display: grid; gap: var(--s-2); margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.lp-points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: var(--s-2); font-weight: var(--fw-regular); line-height: 1.5; }
.lp-points li::before {
  content: ""; width: 18px; aspect-ratio: 18 / 17; background: var(--c-sunlight);
  -webkit-mask: var(--mask-bullet) center / contain no-repeat; mask: var(--mask-bullet) center / contain no-repeat;
}
.lp-note { margin-top: var(--s-2); font-size: var(--fs-small); line-height: 1.6; color: var(--c-ink-soft); }


/* ==========================================================================
   Floating mobile Register (thumb height, appears after the hero CTA)
   ========================================================================== */
.float-cta {
  position: fixed; z-index: var(--z-float);
  left: 0; right: 0; width: max-content; margin-inline: auto;   /* centred (Stacey, 13 Nov); Urchin with the paper outline, like the header Register */
  bottom: calc(var(--s-3) + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-m);
  transform: translateY(160%); transition: transform var(--t-med) var(--ease-out), background-color var(--t-med), border-color var(--t-med);
}
.float-cta.is-visible { transform: none; }
.menu-open .float-cta { transform: translateY(160%); }
@media (min-width: 834px) { .float-cta { display: none; } }

/* ==========================================================================
   DEV ONLY: anchor targets for Acts 2–4 (remove with the include)
   ========================================================================== */
.next-acts { padding-block: var(--s-8); background: var(--c-sand); }
.next-acts__title { margin-bottom: var(--s-2); font-size: var(--fs-micro); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-khaki); }
.next-acts ul { display: grid; gap: var(--s-1); list-style: none; padding: 0; }
.next-acts li { padding: var(--s-2); border: 1px dashed var(--c-line); border-radius: var(--r-s); color: var(--c-ink-soft); font-size: var(--fs-small); }
.next-acts li span { color: var(--c-khaki); margin-right: var(--s-1); }

/* ==========================================================================
   Simple pages (404)
   ========================================================================== */
.page-simple { min-height: 100svh; display: grid; place-items: center; }
.simple { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-8) var(--gutter); text-align: center; }
.simple__logo { width: 120px; color: var(--c-forest); margin-bottom: var(--s-4); }
.simple h1 .kicker { color: var(--c-forest); }

/* ==========================================================================
   Alignment lines overlay (dev / staging only; header.php). G toggles; ?guides opens with them on.
   ========================================================================== */
.guides { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: none; }
.show-guides .guides { display: block; }
.guides i { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--guide-c); }
.guides__l1 { left: var(--line-1); }
.guides__l2 { left: var(--line-2); border-left-style: dashed !important; }
.guides__c  { left: 50%; border-left-color: var(--guide-c-mid) !important; }
.guides__r2 { right: var(--line-2); border-left-style: dashed !important; }
.guides__r1 { right: var(--line-1); }

/* ==========================================================================
   Footer (Stacey's design, 13 Nov 2026): render with gentle parallax, an Urchin monogram tab rising into it,
   "Follow Olamia", gold socials, hairline, legal row on the outer lines.
   ========================================================================== */
.site-footer { position: relative; z-index: 1; background: var(--c-urchin); color: var(--foot-fg); }   /* sand, not white (Stacey, 13 Nov) */
.site-footer__view { position: relative; aspect-ratio: var(--foot-img-ar); overflow: hidden; }
.site-footer__img { position: absolute; inset: auto 0; top: -14%; height: 128%; will-change: transform; }
.site-footer__img picture, .site-footer__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-footer__view--aerial { aspect-ratio: auto; }
.site-footer__view--aerial .loc-aerial { margin: 0; }
.site-footer__body { position: relative; display: grid; justify-items: center; padding: calc(var(--foot-tab) * 0.5 + var(--s-6)) var(--line-1) var(--s-5); text-align: center; }
.site-footer__tab {
  position: absolute; left: 50%; top: 0; translate: -50% -50%;
  display: grid; place-items: center; width: var(--foot-tab); aspect-ratio: 1; border-radius: 50%; background: var(--c-urchin);
  transition: transform var(--t-med) var(--ease-out);
}
.site-footer__tab:hover { transform: translateY(-3px); }
.site-footer__tab:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }
.site-footer__mono { display: block; height: var(--foot-mono-h); background: var(--foot-fg); translate: 0 22%; }
.site-footer__follow { margin: 0; text-wrap: balance; font-size: var(--fs-foot-follow); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.05em; line-height: 1.3; }
.site-footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) clamp(var(--s-4), 5vw, 5rem); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.site-footer__social a {
  color: var(--c-gold); font-size: var(--fs-small); font-weight: var(--fw-light); letter-spacing: 0.06em;
  padding-bottom: 3px; border-bottom: 1px solid color-mix(in srgb, var(--c-gold) 70%, transparent);
  transition: opacity var(--t-med) var(--ease-out);
}
.site-footer__social a:hover, .site-footer__social a:focus-visible { opacity: var(--link-hover-off); }
.site-footer__tbc { margin: var(--s-2) 0 0; }
.site-footer__legal { max-width: 52rem; margin: var(--s-8) 0 0; font-size: var(--fs-micro); line-height: 1.6; letter-spacing: 0.04em; color: color-mix(in srgb, var(--foot-fg) 55%, transparent); }
.site-footer__bar {
  justify-self: stretch; display: grid; gap: var(--s-1); margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px solid color-mix(in srgb, var(--foot-fg) 70%, transparent);
  font-size: var(--fs-micro); letter-spacing: 0.04em; color: color-mix(in srgb, var(--foot-fg) 75%, transparent);
}
.site-footer__bar p { margin: 0; }
.site-footer__bar a { color: inherit; transition: color var(--t-med) var(--ease-out); }
.site-footer__bar a:hover, .site-footer__bar a:focus-visible { color: var(--foot-fg); }
/* Plain (FAQs): no render; the monogram sits in the Urchin block, no rising tab */
.site-footer--plain .site-footer__body { padding-top: var(--s-10); }
.site-footer--plain .site-footer__tab { position: static; translate: none; width: auto; aspect-ratio: auto; margin-bottom: var(--s-5); background: none; }
.site-footer--plain .site-footer__mono { translate: none; }
@media (min-width: 834px) {
  .site-footer__bar { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .site-footer__bar p:first-child { text-align: left; }
  .site-footer__bar p:last-child { text-align: right; }
}
@media (max-width: 833px) {
  .site-footer { --foot-img-ar: 4 / 3; }
  .site-footer__body { padding-bottom: calc(var(--s-5) + 72px); }   /* room for the floating Register */
  .site-footer__social {   /* two per row, centred: Instagram Facebook / LinkedIn YouTube (18 Nov; was all four on one row, which broke 3 + 1 under 367px) */
    display: grid; grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; gap: var(--s-3) var(--s-5);
  }
}

/* Gallery: each image opens in a lightbox (Stacey, 13 Nov) */
.life-gallery__open { display: block; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.life-gallery__track.is-dragging .life-gallery__open { cursor: grabbing; }
.life-gallery__open:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -4px; }
.life-gallery__open img { transition: transform var(--t-slow) var(--ease-out); }
@media (hover: hover) { .life-gallery__open:hover img { transform: scale(1.02); } }

.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: color-mix(in srgb, var(--c-urchin) 94%, transparent); color: var(--c-on-urchin);
  opacity: 0; transition: opacity var(--t-slow) var(--ease-out), display var(--t-slow) allow-discrete, overlay var(--t-slow) allow-discrete;
}
.lightbox[open] { display: grid; place-items: center; opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: calc(100vw - 2 * var(--line-2)); max-height: calc(100dvh - 2 * var(--s-10)); width: auto; height: auto; object-fit: contain; transition: opacity var(--t-med) var(--ease-out); }
.lightbox__img.is-swapping { opacity: 0; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c-on-urchin) 45%, transparent); background: none; color: inherit; cursor: pointer;
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: color-mix(in srgb, var(--c-on-urchin) 12%, transparent); border-color: var(--c-on-urchin); outline: none; }
.lightbox__btn--close { top: var(--s-3); right: var(--line-1); }
.lightbox__btn--prev { left: var(--line-1); top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: var(--line-1); top: 50%; translate: 0 -50%; }
@media (max-width: 833px) {
  .lightbox__img { max-width: 100vw; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: var(--s-4); translate: none; }
}

/* ==========================================================================
   15 · Blog teaser (Stacey, 13 Nov 2026): three cards between the outer lines, on Urchin.
   Heading on the inner line; phones swipe the cards (scroll-snap). Whole card is the link.
   ========================================================================== */
.blog { padding: max(var(--s-5), calc(var(--section-y) - 80px)) 0 var(--section-y); background: var(--c-urchin); color: var(--c-on-urchin); }   /* Urchin ground, sand type (Stacey, 13 Nov) */
.blog__title { margin: 0 var(--line-2) var(--s-6); text-align: center; }   /* centred, all white (Stacey, 13 Nov) */
.blog__kicker { display: block; font-size: var(--fs-kicker); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.03em; }
.blog__display { display: block; margin-top: 0.05em; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-d1); line-height: 1; color: var(--c-on-urchin); }
.blog .blog__list {   /* .blog: outranks the ul[class] reset. Phones: the cards stack (23 Nov; they were a sideways swipe) */
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--blog-gap);
  margin: 0; padding: 0 var(--line-1); list-style: none;   /* cards run outer line to outer line (Stacey, 13 Nov; was the inner lines) */
}
/* The Residences overlay card, upright (Stacey, 13 Nov): same corners, blur + Urchin shade layers (.res-shade, with the
   tall-card sizes the phone Residences card uses), white type. */
.blog-card__link {
  --res-sh-blur-h: 66%; --res-sh-bottom-h: 60%;
  position: relative; display: grid; aspect-ratio: var(--blog-card-ar); overflow: hidden; isolation: isolate;
  border-radius: var(--r-card); color: var(--c-white); text-decoration: none;
}
.blog-card__media { position: absolute; inset: 0; }
/* Top shade: no corner wash (too heavy in the corner on an upright card; Stacey, 13 Nov), instead one soft Urchin fade
   spread evenly across the top, deep enough to hold the headline */
.blog-card .res-shade__top { height: var(--blog-sh-top-h); background: linear-gradient(to bottom, var(--blog-sh-top), var(--res-sh-clear)); }
.blog-card__media picture, .blog-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-card__media img { transition: transform 1.2s var(--ease-out); }
.blog-card__body { position: relative; z-index: 2; display: grid; grid-template-rows: auto 1fr; padding: var(--blog-card-pad); }
.blog-card__title { margin: 0; font-family: var(--ff-display); font-style: var(--fs-display-style); font-weight: 400; font-size: var(--fs-blog-title); letter-spacing: var(--ls-blog-title); line-height: 1.1; color: var(--c-white); }   /* Nematho, opened up (Stacey, 13 Nov) */
.blog-card__foot { align-self: end; display: grid; gap: var(--s-4); }
.blog-card__date { font-size: var(--fs-small); font-weight: var(--fw-light); letter-spacing: 0.05em; opacity: 0.8; margin-bottom: calc(-1 * var(--s-3)); }
.blog-card__excerpt {   /* the Residences card copy: nav size, regular, white; two lines, then … */
  font-size: var(--fs-res-ov-copy); font-weight: var(--fw-regular); line-height: var(--lh-res-ov-copy); letter-spacing: 0.05em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.blog-card__more { justify-self: start; font-size: var(--fs-body); font-weight: var(--fw-regular); letter-spacing: 0.05em; transition: opacity var(--t-med) var(--ease-out); }
.blog-card__link:hover .blog-card__media img, .blog-card__link:focus-visible .blog-card__media img { transform: scale(1.04); }
.blog-card__link:hover .blog-card__more, .blog-card__link:focus-visible .blog-card__more { opacity: var(--link-hover-off); }
.blog-card__link:active .blog-card__more { opacity: 0.45; }
.blog-card__link:focus-visible { outline-offset: 6px; }
@media (min-width: 834px) {
  .blog .blog__list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { .blog-card__media img { transition: none; } }

/* Phones: centred body copy sits a little further in from the edges (Stacey, 13 Nov: +15px each side) */
@media (max-width: 833px) {
  .opportunity__lead, .residences__lead, .invest__lead { padding-inline: var(--center-inset-m); }
  .breaker__lead { padding-inline: calc(var(--gutter) + var(--center-inset-m)); }
}

/* Phones: the brand film sits still, edge to edge on the outer lines (the logo and menu edges), no opening-out
   (Stacey, 13 Nov). The placeholder and its Register button show at full size. */
@media (max-width: 833px) {
  .opportunity__film { padding-inline: var(--line-1); padding-bottom: var(--s-6); }   /* inset, so it no longer runs into the next section */
  .opportunity__screen { --o: 1; clip-path: none; will-change: auto; align-content: center; gap: var(--s-2); }

}
/* "Turn your phone" prompt: phones held upright only. Sand line icon: the phone tips onto its side, holds, rights itself. */
.rotate-hint { display: none; }
@media (max-width: 833px) and (orientation: portrait) {
  .rotate-hint { display: grid; justify-items: center; gap: var(--s-1); margin: 0; color: var(--c-on-urchin); }
  .opportunity__screen .rotate-hint { opacity: 0; }   /* over the teaser: only once it plays, for a few seconds */
  .opportunity__screen.is-playing .rotate-hint { animation: film-hint 5s var(--ease-soft) both; }
  .rotate-hint__icon { width: 60px; height: 60px; }
  .rotate-hint__phone { transform-box: fill-box; transform-origin: center; animation: rotate-hint 3.2s var(--ease-soft) infinite; }
  .rotate-hint__arrow { animation: rotate-hint-arrow 3.2s var(--ease-soft) infinite; }
  .rotate-hint__text { font-size: var(--fs-micro); font-style: italic; font-weight: var(--fw-light); letter-spacing: 0.06em; }
  .opportunity__placeholder { font-size: var(--fs-kicker); }
}
@keyframes rotate-hint {
  0%, 18%   { transform: rotate(0deg); }
  42%, 72%  { transform: rotate(90deg); }
  92%, 100% { transform: rotate(0deg); }
}
@keyframes film-hint { 0% { opacity: 0; } 12%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rotate-hint-arrow { 0%, 12% { opacity: 0.35; } 30%, 72% { opacity: 1; } 92%, 100% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .rotate-hint__phone, .rotate-hint__arrow { animation: none; } }

/* Phones: the rock pile goes; the drifting gallery becomes a still viewer (Stacey, 13 Nov) */
.life-still { display: none; }
@media (max-width: 833px) {
  .amenities__stones, .life-gallery { display: none; }
  .life-still { display: block; padding: 0 var(--line-1) var(--section-y); }
  .life-still__frame { display: grid; aspect-ratio: var(--still-ar); overflow: hidden; }
  .life-still__item { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow); }
  .life-still__item.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
  .life-still__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
  .life-still__open picture, .life-still__open img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .life-still__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-3); }
  .life-still__cap { margin: 0; font-size: var(--fs-lead); font-weight: var(--fw-light); letter-spacing: 0.05em; color: color-mix(in srgb, var(--c-on-urchin) 70%, transparent); }
  .life-still__nav { display: flex; gap: var(--s-2); flex: none; }
  .life-still__btn { width: var(--still-btn); height: var(--still-btn); }   /* the Residences card's glass arrow (res-gallery__btn--svg) */
  .life-still__btn:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
}

/* Residences, phones: the four type tabs stacked 2 × 2; the chosen one underlined (the sliding line needs one row) */
@media (max-width: 833px) {
  .residences__tabs { display: grid; grid-template-columns: auto auto; justify-content: center; gap: var(--s-2) var(--s-5); justify-items: center; overflow: visible; }
  .residences__tab { text-align: center; white-space: nowrap; }
  .residences__tab[aria-selected="true"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
  .residences__ind { display: none; }
  .residences--overlay .residences__gallery { aspect-ratio: auto; height: calc((100vw - 2 * var(--line-1)) * 3 / 2 + var(--res-card-grow-m)); }   /* card 25px taller (Stacey, 13 Nov) */
  .residences--overlay .res-gallery__dots { display: none; }   /* no dots on phones: the arrows do it (Stacey, 13 Nov) */
  /* The arrows sat top-right, over long names ("Penthouses", "Premium River Villas"): on phones they get their own row at
     the foot of the card, centred under Register (23 Nov). The card's copy makes room for them. */
  .residences--overlay .res-gallery__nav { top: auto; right: 0; bottom: var(--res-ov-pad); left: 0; justify-content: center; }
  .residences--overlay .res-type { padding-bottom: calc(var(--res-ov-pad) + var(--res-ov-arrow) + var(--s-3)); }
}
@media (max-width: 379px) { .residences__tabs { column-gap: var(--s-3); } .residences__tab { font-size: 0.9375rem; } }   /* small phones: still one line each */

/* Amenities, phones (Stacey's reference, 13 Nov): centred and stacked. A bigger "Amenities", then one amenity per line
   with the spiral between them (not before the first). */
@media (max-width: 833px) {
  .amenities__title { text-align: center; font-size: var(--fs-amen-title-m); }
  .amenities__list { justify-items: center; gap: var(--s-2); margin-top: var(--s-4); text-align: center; }
  .amenities__cta { display: flex; margin-inline: auto; }   /* centred under the centred list */
  .amenities__list li { display: grid; grid-template-columns: none; justify-items: center; gap: var(--s-2); max-width: 20em; text-wrap: balance; }
  .amenities__list li:first-child::before { display: none; }
}

/* Location map, phones (Stacey, 13 Nov): the whole map in landscape, not a tall crop. Held upright it is too small for
   the numbers, so it shows dots, the Olamia logo and a "turn your phone" prompt over the sea; turned sideways the
   numbered circles come back. Either way a tap on a place opens its sheet with the name (23 Nov: the legend is gone). */
@media (max-width: 833px) {
  .loc-map__frame { aspect-ratio: 5850 / 3040; --loc-fx: 0.5; }   /* the map's own shape: nothing cropped */
}
@media (max-width: 833px) and (orientation: portrait) {
  .loc-map__frame { --loc-logo-h: var(--loc-logo-h-m); --loc-num: 7px; }   /* small logo and pointer, so they stay on the map */
  .loc-num__badge { font-size: 0; box-shadow: none; }   /* the numbers become plain dots: too small to read upright */
  .loc-num__btn { --loc-hit: 9px; }   /* a finger-sized target round each small dot */
  .loc-num__name { display: none; }
  .loc-num__arrow { display: none; }
  .rotate-hint--map {
    position: absolute; z-index: 3; left: 21%; top: 50%; translate: -50% -50%;
    color: var(--c-white); text-align: center; filter: drop-shadow(0 1px 6px color-mix(in srgb, var(--c-forest) 35%, transparent));
  }
  .rotate-hint--map .rotate-hint__icon { width: 44px; height: 44px; }
  .rotate-hint--map .rotate-hint__text { max-width: 13em; line-height: 1.3; }
}
