/* Hot project pages: the CSS of the team's landing site (nadalsheba.propertyinvest.ae, src/app/globals.css and components.css), unchanged. */
/* NAS12 design system: Wadeem Gardens structure, green accent (NAS12-DESIGN-PROMPT.md §1).
   Every text/background pair is contrast-checked: `npm run contrast`. Re-measure after any change. */
:root {
  /* ── Ground ─────────────────────────────────────────── */
  --warm-white: #f7f4ee;   /* page background */
  --off-white:  #f0ece3;   /* alternating sections */
  --sand:       #e6e2d5;   /* inset panels */
  --sand-deep:  #d6d1c0;

  /* ── Ink ────────────────────────────────────────────── */
  --ink:        #1b1f1c;   /* headings + body */
  --ink-soft:   #58605a;   /* secondary text */
  --ink-faint:  #5e665f;   /* small print, hints, disclaimers: do not lighten */

  /* ── Dark surfaces ──────────────────────────────────── */
  --charcoal:   #141a16;   /* dark sections */
  --charcoal-2: #1e2620;   /* raised panel on dark */
  --on-dark:      #eef2ec;
  --on-dark-soft: #a9b3ab;

  /* ── Accent: green replaces Wadeem's bronze ────────── */
  --green:       #2f4a3a;  /* primary buttons, eyebrows, numbers, rules: light surfaces only */
  --green-soft:  #46644f;  /* hover, secondary accent on light */
  --green-light: #8fae98;  /* accent on dark surfaces ONLY (--green is 1.82:1 on charcoal) */

  /* ── Lines ──────────────────────────────────────────── */
  --line:        #dde0d6;
  --line-strong: #c6ccbf;
  --line-dark:   rgba(238, 242, 236, 0.2);

  /* ── Focus ──────────────────────────────────────────── */
  --focus: var(--green);

  /* ── Radii / elevation / rhythm / motion (Wadeem) ───── */
  --r-xs: 8px; --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-pill: 999px;
  --e-1: 0 1px 2px rgba(20,26,22,.05), 0 4px 14px -8px rgba(20,26,22,.14);
  --e-2: 0 2px 6px rgba(20,26,22,.06), 0 14px 34px -16px rgba(20,26,22,.22);
  --e-3: 0 6px 18px rgba(20,26,22,.08), 0 28px 62px -26px rgba(20,26,22,.34);
  --maxw: 1280px; --maxw-text: 720px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 132px);
  --header-h: 62px; --tabbar-h: 62px;
  --t: 0.2s cubic-bezier(.3,.7,.4,1);
  --t-slow: 0.55s cubic-bezier(.3,.7,.4,1);

  /* ── Glass (structure from property-investment.ae, NAS12 green tint) ── */
  --r-xl: 28px;
  --glass-light: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .80);
  --glass-dark: rgba(16, 24, 19, .52);
  --glass-edge: rgba(20, 40, 28, .14);
  --glass-shine: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 45%);
  --glass-shine-dark: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 40%);

  --sans: var(--font-latin), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wa: #25d366; --wa-hover: #1da851;
  --wa-ink: #0b3d20; /* white on #25D366 is 1.98:1 (fails AA); this is 6.22:1 */
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--warm-white); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }

/* ── Type (Wadeem scale: the tight tracking is the character; keep it exact) ── */
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: .98; letter-spacing: -0.042em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -0.025em; }
.lede { font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; line-height: 1.42; color: var(--ink-soft); }
.small { font-size: 12px; line-height: 1.5; color: var(--ink-faint); }
.dark .lede, .dark .small { color: var(--on-dark-soft); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-soft); }
.dark .eyebrow { color: var(--on-dark-soft); }
.eyebrow__num { color: var(--green); }
.eyebrow__num::after { content: ''; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-left: 10px; background: currentColor; opacity: .6; }
.dark .eyebrow__num { color: var(--green-light); }

/* ── Focus & a11y ── */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .on-dark :focus-visible { outline-color: var(--green-light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 12px 20px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ── Layout ── */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--off-white); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.s-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 56px); display: grid; gap: 14px; }
.s-head .lede { max-width: var(--maxw-text); }

/* ── Buttons: four Wadeem variants + ghost on light ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; text-decoration: none; text-align: center; cursor: pointer; transition: background var(--t), border-color var(--t), color var(--t), transform var(--t); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: linear-gradient(180deg, #3a5a47, var(--green)); border-color: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -10px rgba(47, 74, 58, .6); }
.btn--primary:hover { background: linear-gradient(180deg, #4a6d57, var(--green-soft)); border-color: var(--green-soft); }
.btn--on-dark { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--on-dark:hover { background: #fff; border-color: #fff; }
.btn--ghost-dark { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .08); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn[disabled] { opacity: .7; cursor: progress; }

.glass { background: var(--glass-shine), var(--glass-light); backdrop-filter: saturate(1.8) blur(28px); -webkit-backdrop-filter: saturate(1.8) blur(28px); border: 1px solid var(--glass-edge); }
.glass-strong { background: var(--glass-shine), var(--glass-strong); backdrop-filter: saturate(1.8) blur(28px); -webkit-backdrop-filter: saturate(1.8) blur(28px); border: 1px solid var(--glass-edge); }
.glass-dark { background: var(--glass-shine-dark), var(--glass-dark); backdrop-filter: saturate(1.6) blur(24px); -webkit-backdrop-filter: saturate(1.6) blur(24px); border: 1px solid rgba(255, 255, 255, .16); }
/* Fallback where backdrop-filter is unsupported: keep text readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .92); }
  .glass-strong { background: rgba(255, 255, 255, .96); }
  .glass-dark { background: rgba(16, 24, 19, .88); }
}

/* Ambient glows behind a section: the soft gradient look. Decorative, never over text contrast. */
.ambient { position: relative; isolation: isolate; overflow: hidden; }
.ambient::before, .ambient::after { content: ''; position: absolute; z-index: -1; width: 820px; height: 820px; border-radius: 50%; pointer-events: none; }
.ambient::before { left: -260px; top: -220px; background: radial-gradient(circle, rgba(143, 174, 152, .38), rgba(143, 174, 152, 0) 62%); }
.ambient::after { right: -280px; bottom: -300px; background: radial-gradient(circle, rgba(214, 196, 160, .42), rgba(214, 196, 160, 0) 62%); }

/* ── Motion: visible resting state. Elements are never parked at opacity 0;
   the fade-up runs only as an element scrolls in (PageEffects adds .is-in). ── */
@keyframes rise { from { opacity: .35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal.is-in { animation: rise .26s cubic-bezier(.3,.7,.4,1) both; }
@media (prefers-reduced-motion: reduce) { .reveal.is-in { animation: none; } }

/* Components: Wadeem Gardens anatomy, NAS12 palette. */

/* ── 0 · Announcement bar (charcoal, as Wadeem) ─────────── */
.announce { background: var(--charcoal); color: var(--on-dark); font-size: 12px; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.announce__msg { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); flex: none; }
.announce__cta { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 10px 0; min-height: 42px; color: var(--green-light); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.announce__cta svg { width: 14px; height: 14px; }
.announce__cta:hover { color: var(--on-dark); }
.announce :focus-visible { outline-color: var(--green-light); }
.tb-long { display: none; }
@media (min-width: 760px) { .tb-long { display: inline; } .tb-short { display: none; } }

/* ── 1 · Nav ────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(247, 244, 238, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.nav__brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; padding: 6px 0; margin-right: auto; min-width: 0; }
.nav__name { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.nav__sub { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nav__links { display: none; gap: 24px; }
.nav__links a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--ink); }
@media (min-width: 600px) { .icon-btn { display: inline-flex; } }
@media (min-width: 1100px) { .nav__links { display: flex; margin-inline: auto; } .nav__brand { margin-right: 0; } }

/* ── 2 · Hero: photograph + directional scrim, copy left / form right ── */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--charcoal); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; }
/* Stand-in until the toolkit render arrives (phase12-swap.md). Not the design: the photo is. */
.hero__fallback { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 55% at 78% 18%, rgba(143, 174, 152, .38), transparent 70%),
  radial-gradient(ellipse 50% 40% at 30% 60%, rgba(70, 100, 79, .35), transparent 70%),
  linear-gradient(170deg, #3d5a47 0%, #263a2d 40%, #182219 100%); }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  /* Directional scrim, tuned for the bright daytime aerial: dark bottom-left under the copy, a soft
     top band so the eyebrow stays readable over the sky, clearing toward the top-right. */
  background:
    linear-gradient(to bottom, rgba(16, 20, 17, .42) 0%, rgba(16, 20, 17, 0) 38%),
    linear-gradient(to top right, rgba(16, 20, 17, .9) 0%, rgba(16, 20, 17, .58) 48%, rgba(16, 20, 17, .2) 100%); }
@media (max-width: 1023px) { .hero__scrim { background: linear-gradient(to top, rgba(16, 20, 17, .92) 0%, rgba(16, 20, 17, .6) 45%, rgba(16, 20, 17, .25) 100%); } }
.hero__grid { display: grid; gap: 32px; padding-top: clamp(28px, 9vw, 150px); padding-bottom: clamp(32px, 5vw, 72px); }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); gap: clamp(40px, 5vw, 80px); align-items: end; } }
.hero__copy { display: grid; align-content: end; min-width: 0; }
/* Separators sit BEFORE every item; the negative indent + overflow clip hides the one that
   would start each wrapped line, so no line ever begins with a stray "|". */
.hero__eyebrow { overflow: hidden; font-size: 11.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: rgba(238, 242, 236, .9); margin-bottom: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero__eyebrow-in { display: flex; flex-wrap: wrap; row-gap: 4px; margin-left: -29px; }
.hero__eyebrow-in > span { white-space: nowrap; }
.hero__eyebrow-in > span::before { content: '|'; display: inline-block; width: 29px; text-align: center; opacity: .55; }
.hero h1 { max-width: 14ch; }
.hero__sub { margin-top: 16px; font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; line-height: 1.42; color: rgba(238, 242, 236, .88); max-width: 40ch; }
.hero__hook { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--green-light); }
.hero__facts { margin: 22px 0 0; max-width: 660px; border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: var(--r);
  /* background + blur come from .glass-dark */ }
.hero__fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 14px 16px; border-right: 1px solid rgba(238, 242, 236, .16); border-bottom: 1px solid rgba(238, 242, 236, .16); }
.hero__fact:nth-child(2n) { border-right: 0; }
.hero__fact:nth-child(n + 3) { border-bottom: 0; }
@media (min-width: 520px) {
  .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__fact { border-bottom: 0; border-right: 1px solid rgba(238, 242, 236, .16); }
  .hero__fact:nth-child(2n) { border-right: 1px solid rgba(238, 242, 236, .16); }
  .hero__fact:last-child { border-right: 0; }
}
.hero__fact-value { margin: 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hero__fact-label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero__blurb { margin-top: 20px; max-width: 58ch; font-size: 15px; line-height: 1.5; color: rgba(238, 242, 236, .82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 599px) { .hero__blurb { display: none; } .hero__ctas .btn { flex: 1 1 100%; } }
.hero__panel { min-width: 0; display: grid; gap: 14px; scroll-margin-top: calc(var(--header-h) + 12px); }
.hero .small, .hero .permit .small { color: var(--on-dark-soft); }

/* ── Form panel (hero + final) ──────────────────────────── */
.form { background: var(--warm-white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--e-3); }
.form.glass-strong { background: var(--glass-shine), var(--glass-strong); border-color: var(--glass-edge); }
.form.glass-strong .field input, .form.glass-strong .phone-row select { background: rgba(255, 255, 255, .88); }
/* Hero form: dark frosted glass: photo shows through, not milky. Inputs stay solid for legibility. */
.form--dark { color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form--dark.glass-dark { background: var(--glass-shine-dark), rgba(16, 24, 19, .62); border-color: rgba(255, 255, 255, .16); } /* .62 keeps small text ≥4.5:1 even over the brightest part of the photo */
.form--dark .form__sub, .form--dark .form-perks, .form--dark .privacy, .form--dark .field .opt { color: rgba(238, 242, 236, .84); }
.form--dark .field label { color: var(--on-dark); }
.form--dark .field input, .form--dark .phone-row select { background: rgba(255, 255, 255, .94); border-color: rgba(255, 255, 255, .4); }
.form--dark .form-perks svg { color: var(--green-light); }
.form--dark .privacy a { color: var(--on-dark); }
.form--dark .err { color: #ffb4a6; }
.form--dark .field.has-err input { border-color: #ffb4a6; }
.form--dark .villa-tag { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.form--dark .villa-tag svg { color: var(--green-light); }
.form--dark :focus-visible { outline-color: var(--green-light); }
.form--dark .field input:focus-visible, .form--dark .phone-row select:focus-visible { outline-color: var(--green-light); border-color: #fff; }
.form :focus-visible { outline-color: var(--green); }
.form__head { display: grid; gap: 6px; margin-bottom: 16px; }
.form__title { font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.form__sub { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.lead-form { display: grid; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-faint); }
.field input, .phone-row select { width: 100%; min-width: 0; min-height: 52px; font-size: 16px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color var(--t); }
.field input:hover, .phone-row select:hover { border-color: var(--line-strong); }
.field input:focus-visible, .phone-row select:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-color: var(--green); }
.field input::placeholder { color: var(--ink-faint); opacity: 1; }
.field.has-err input { border-color: #a3301f; }
.err { color: #a3301f; font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.phone-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.phone-row select { padding: 0 26px 0 10px; appearance: none; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-perks { list-style: none; padding: 0; margin: 2px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; color: var(--ink-soft); }
.form-perks li { display: flex; align-items: center; gap: 6px; }
.form-perks svg, .villa-tag svg { width: 14px; height: 14px; color: var(--green); flex: none; }
.villa-tag { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--green); background: var(--off-white); border-radius: var(--r-xs); padding: 9px 12px; }
.privacy { font-size: 12px; }
.privacy a { color: var(--ink-soft); }
.form-fail { display: grid; gap: 10px; background: #fbefe9; border: 1px solid #ecc9b8; border-radius: var(--r-sm); padding: 14px; font-size: 14px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn--wa .spinner { border-color: rgba(11, 61, 32, .3); border-top-color: var(--wa-ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.permit { display: flex; align-items: center; gap: 14px; }
.permit img { width: 96px; height: 96px; background: #fff; padding: 4px; border-radius: var(--r-xs); }

/* ── Cards (warm-white on off-white) ────────────────────── */
.card { background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e-1); padding: 22px; transition: box-shadow var(--t), border-color var(--t); }
.card:hover { box-shadow: var(--e-2); border-color: rgba(47, 74, 58, .3); }
.section:not(.section--sand) .card { background: #fff; }
.card__num { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--green); margin-bottom: 12px; }
.card__title { font-size: clamp(19px, 1.5vw, 21px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.card__body { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* EOI steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* Live / invest split: an inset panel, not another card */
.split { margin-top: clamp(32px, 4vw, 56px); padding: clamp(22px, 3.5vw, 40px); background: var(--sand); border-radius: var(--r-lg); }
.split__title { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.split__cols { display: grid; gap: 20px; }
.split__cols p:not(.eyebrow) { margin-top: 8px; color: var(--ink-soft); }
.split .eyebrow { color: var(--green); }
@media (min-width: 760px) { .split__cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.closing { margin-top: 28px; max-width: 52ch; font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; line-height: 1.42; }

/* ── 02 · Briefing ──────────────────────────────────────── */
.briefing { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .briefing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--green); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.byline__name { font-weight: 800; letter-spacing: -0.02em; }
.avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.avatar--sm { width: 44px; height: 44px; font-size: 15px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--charcoal); box-shadow: var(--e-2); }
.video iframe, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { padding: 0; cursor: pointer; background: var(--charcoal); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-fallback { position: absolute; inset: 0; background: linear-gradient(140deg, #2f4a3a, #141a16); }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; box-shadow: var(--e-3); transition: transform var(--t); }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-facade:hover .play { transform: scale(1.06); }
.vid--soon { display: grid; gap: 14px; justify-items: start; min-height: 260px; align-content: center; padding: clamp(22px, 4vw, 44px); border-radius: var(--r-lg); background: var(--charcoal); color: var(--on-dark); box-shadow: var(--e-2); }
.vid--soon .eyebrow { color: var(--green-light); }
.vid--soon p:not(.eyebrow) { color: var(--on-dark-soft); max-width: 44ch; }
.vid--soon :focus-visible { outline-color: var(--green-light); }

/* ── 03 · Villas ────────────────────────────────────────── */
.villas { display: grid; gap: 18px; }
@media (min-width: 860px) { .villas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.villa { display: flex; flex-direction: column; overflow: hidden; background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e-1); transition: box-shadow var(--t), border-color var(--t); }
.villa:hover { box-shadow: var(--e-2); border-color: rgba(47, 74, 58, .3); }
.villa__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.villa__body { display: grid; gap: 10px; padding: clamp(20px, 2.6vw, 28px); }
.villa__title { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; }
.villa__line { color: var(--ink-soft); }
.villa__facts { margin: 6px 0 8px; padding: 14px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; border-block: 1px solid var(--line); }
.villa__facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.villa__facts dd { margin: 4px 0 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 800; letter-spacing: -0.02em; }
.center { text-align: center; }
.villas + .small { margin-top: 18px; }
.villa-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* Placeholders: staging only (site.showAssetPlaceholders) */
.ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft);
  background: repeating-linear-gradient(135deg, var(--sand) 0 14px, var(--off-white) 14px 28px); }
.ph span { background: rgba(247, 244, 238, .92); padding: 6px 10px; border-radius: var(--r-xs); }
.ph.big { position: relative; width: min(90vw, 1100px); aspect-ratio: 3 / 2; }

/* ── 04 · Payment plan ──────────────────────────────────── */
.pay { display: grid; gap: 18px; }
@media (min-width: 900px) { .pay { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; } }
.pay__plan { display: grid; gap: 12px; align-content: start; justify-items: start; padding: clamp(22px, 3.5vw, 40px); background: var(--sand); border-radius: var(--r-lg); }
.pay__plan p:not(.eyebrow) { color: var(--ink-soft); }
.pay__plan .eyebrow, .pay__finance .eyebrow { color: var(--green); }
.pay__title { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.05; }
.pay__plan .btn { margin-top: 6px; }
.pay__finance { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.pay__finance .pay__title { font-size: clamp(20px, 1.8vw, 24px); }
.pay__finance p:not(.eyebrow):not(.small) { color: var(--ink-soft); }
.milestones { list-style: none; padding: 0; margin: 4px 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.milestones li { display: grid; padding: 14px; background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.milestones b { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.035em; }
.milestones span { font-size: 13px; color: var(--ink-soft); }

/* ── 05 · Matcher (dark) ────────────────────────────────── */
.matcher { display: grid; gap: 22px; max-width: 860px; }
.matcher fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.matcher legend { width: 100%; margin-bottom: 10px; font-weight: 700; }
.m-opt { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-dark); border-radius: var(--r-pill); cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--on-dark); }
.m-opt input { position: absolute; opacity: 0; pointer-events: none; }
.m-opt.on { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.m-opt:has(input:focus-visible) { outline: 2px solid var(--green-light); outline-offset: 3px; }
.m-result { display: grid; gap: 10px; justify-items: start; padding: 24px; background: var(--charcoal-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); }
.m-result .eyebrow { color: var(--green-light); }
.m-result .btn--primary { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }

/* ── 06 · Amenities ─────────────────────────────────────── */
.stats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.stats li { display: grid; gap: 4px; padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line-strong); }
.stats b { font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; overflow-wrap: anywhere; }
.stats span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 07 · Gallery ───────────────────────────────────────── */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery-grid li.wide { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .gallery-grid li.wide { grid-column: span 2; grid-row: span 2; }
  .gallery-grid li.wide .g-item { aspect-ratio: auto; height: calc(100% - 32px); min-height: 300px; }
}
.g-item { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.g-item:hover img { transform: scale(1.03); }
.g-cap { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-faint); }
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 16px; background: rgba(12, 16, 13, .95); color: var(--on-dark); }
.lightbox:focus { outline: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: var(--r-xs); }
.lightbox figcaption { font-size: 14px; text-align: center; }
.lb-count { margin-left: 8px; color: var(--on-dark-soft); }
.lb-x, .lb-nav { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--on-dark); cursor: pointer; }
.lb-x svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-x { position: absolute; top: 14px; right: 14px; }
.lb-nav.prev svg { rotate: 180deg; }
.lightbox :focus-visible { outline-color: var(--green-light); }
@media (max-width: 640px) { .lightbox { grid-template-columns: minmax(0, 1fr); } .lb-nav { position: absolute; bottom: 20px; } .lb-nav.prev { left: 20px; } .lb-nav.next { right: 20px; } }

/* ── 08 · Location ──────────────────────────────────────── */
.loc { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .loc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.loc__chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.loc__chips li { padding: 10px 16px; font-size: 14px; background: var(--warm-white); border: 1px solid var(--line); border-radius: var(--r-pill); }
.loc__chips b { font-weight: 800; }
.loc__map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }

/* ── 09 · Developer ─────────────────────────────────────── */
.dev { max-width: 920px; }
.dev__logo { height: 40px; width: auto; margin-bottom: 20px; }
.dev__copy { display: grid; gap: 14px; max-width: var(--maxw-text); color: var(--ink-soft); }
.disclaimer { padding-left: 14px; border-left: 2px solid var(--line-strong); font-size: 12.5px; color: var(--ink-faint); }

/* ── 10 · Advisors ──────────────────────────────────────── */
.advisors { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.advisor { display: flex; gap: 18px; align-items: flex-start; }
.advisor__body { display: grid; gap: 6px; min-width: 0; }
.advisor__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 420px) { .advisor { flex-direction: column; } }

/* ── 11 · FAQ accordion ─────────────────────────────────── */
.faq { max-width: 920px; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__trigger { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 700; letter-spacing: -0.018em; }
.acc__trigger::-webkit-details-marker { display: none; }
.acc__trigger::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); rotate: 45deg; translate: 0 -3px; transition: rotate var(--t), translate var(--t); }
.acc__item[open] .acc__trigger::after { rotate: 225deg; translate: 0 3px; }
.acc__panel { max-width: 70ch; padding: 0 0 22px; color: var(--ink-soft); }

/* ── 12 · Final CTA (dark) ──────────────────────────────── */
.final__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .final__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 64px; } }
.final h2 { margin: 14px 0 16px; }
.final__alt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ── Footer (dark) ──────────────────────────────────────── */
.footer { padding-block: 48px; background: var(--charcoal); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; } .footer { padding-bottom: 104px; } }
.footer a { color: var(--on-dark); }
.footer :focus-visible { outline-color: var(--green-light); }
.f-brand { margin-bottom: 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.f-contact { margin-top: 10px; font-weight: 700; }
.disclaimers { display: grid; gap: 10px; }

/* ── Mobile tab bar (Wadeem: icon over label, third filled) ── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: var(--safe-b); background: var(--warm-white); border-top: 1px solid var(--line); }
.tabbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: var(--tabbar-h); padding: 6px 4px; border: 0; background: transparent; color: var(--ink-soft); font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; }
.tabbar__btn svg { width: 20px; height: 20px; }
.tabbar__btn--wa svg { color: #128c4b; }
.tabbar__btn--primary { background: var(--green); color: #fff; }
.tabbar__btn--primary:focus-visible { outline-color: var(--green-light); outline-offset: -4px; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ── Desktop fact bar (Wadeem "deskbar") ────────────────── */
.deskbar { display: none; }
@media (min-width: 900px) {
  .deskbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(20, 26, 22, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border-top: 1px solid var(--line-dark); transform: translateY(100%); transition: transform var(--t-slow); }
  .deskbar.is-visible { transform: none; }
  .deskbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
  .deskbar__facts { display: flex; margin: 0; }
  .deskbar__facts > div { padding: 0 22px; border-left: 1px solid var(--line-dark); }
  .deskbar__facts > div:first-child { padding-left: 0; border-left: 0; }
  .deskbar__facts dt { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
  .deskbar__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
  .deskbar__cta { display: flex; gap: 8px; }
  .deskbar :focus-visible { outline-color: var(--green-light); }
}

/* ── Gate / popup ───────────────────────────────────────── */
.gate-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(12, 16, 13, .55); animation: fade .2s ease-out; }
.gate { position: relative; width: min(100%, 440px); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px 22px 22px; background: var(--warm-white); border-radius: var(--r-lg); box-shadow: var(--e-3); }
.gate:focus { outline: none; }
.gate-backdrop.sheet { place-items: end center; padding: 0; }
.gate-backdrop.sheet .gate { width: 100%; max-width: 560px; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(22px + var(--safe-b)); animation: up .26s ease-out; }
@media (max-width: 599px) { .gate-backdrop.modal { place-items: end center; padding: 0; } .gate-backdrop.modal .gate { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(22px + var(--safe-b)); } }
.gate-h { padding-right: 44px; font-size: 22px; letter-spacing: -0.03em; line-height: 1.1; }
.gate-sub { margin: 8px 0 16px; font-size: 14.5px; color: var(--ink-soft); }
.gate-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--off-white); cursor: pointer; }
.gate-x svg { width: 18px; height: 18px; }
.gate-done { display: grid; gap: 10px; }
.done-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.done-ic svg { width: 24px; height: 24px; }
.done-ic.big { width: 64px; height: 64px; margin-bottom: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* ── Consent ────────────────────────────────────────────── */
.consent { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 12px + var(--safe-b)); max-width: 520px; display: grid; gap: 12px; padding: 18px; font-size: 14px; background: var(--charcoal); color: var(--on-dark); border-radius: var(--r); box-shadow: var(--e-3); }
.consent a { color: var(--on-dark); }
.consent :focus-visible { outline-color: var(--green-light); }
.consent-btns { display: flex; gap: 8px; }
.consent-btns .btn { flex: 1; }
@media (min-width: 900px) { .consent { bottom: 20px; left: 20px; } }

/* ── Simple pages (thank-you, privacy, 404) ─────────────── */
.simple { min-height: 70vh; padding-block: clamp(48px, 8vw, 110px); }
.narrow { max-width: 760px; }
.simple h1 { margin: 8px 0 16px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.simple .lead, .simple > .shell > p { margin-bottom: 18px; font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; line-height: 1.42; color: var(--ink-soft); }
.ty-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 40px; }
.fasttrack { display: grid; gap: 12px; justify-items: start; margin-bottom: 28px; padding: clamp(22px, 4vw, 36px); background: var(--off-white); border-radius: var(--r-lg); }
.fasttrack .eyebrow { color: var(--green); }
.fasttrack h2 { font-size: clamp(24px, 3vw, 32px); }
.prose h2 { margin: 32px 0 10px; font-size: clamp(22px, 2.4vw, 28px); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { display: grid; gap: 6px; padding-left: 20px; }

/* ── Images inside media frames ─────────────────────────── */
.villa__media picture, .villa__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-item picture { display: block; width: 100%; height: 100%; }
.lightbox picture { display: contents; }
.loc__map { margin: 0; aspect-ratio: auto; background: transparent; box-shadow: var(--e-1); }
.loc__map img { width: 100%; height: auto; }
.s-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.s-head--center .eyebrow { justify-content: center; }

/* ── Payment plan: headline split + download rows ───────── */
.pp { max-width: 1100px; }
.pp__split { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin: 0 auto clamp(28px, 4vw, 48px); max-width: 900px; }
.pp__stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px clamp(12px, 3vw, 40px); }
.pp__stat + .pp__stat { border-left: 1px solid var(--line-strong); }
.pp__pct { font-size: clamp(48px, 7vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: .9; color: var(--ink); }
.pp__pct sup { font-size: .45em; letter-spacing: 0; vertical-align: .9em; margin-left: 2px; color: var(--green); }
.pp__pct--word { font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.035em; color: var(--green); white-space: nowrap; }
.pp__label { max-width: 16ch; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
@media (max-width: 599px) {
  .pp__split { grid-template-columns: 1fr; }
  .pp__stat { justify-content: flex-start; padding: 16px 0; }
  .pp__stat + .pp__stat { border-left: 0; border-top: 1px solid var(--line-strong); }
}
.pp__rows { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.pp__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pp__file { position: relative; display: grid; place-items: end center; width: 46px; height: 56px; padding-bottom: 7px; border: 2px solid var(--green); border-radius: 6px 14px 6px 6px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .06em; background: #fff; }
.pp__file::before { content: ''; position: absolute; top: 9px; left: 50%; width: 16px; height: 16px; translate: -50% 0; background: currentColor; opacity: .18; border-radius: 3px; }
.pp__name { font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 599px) {
  .pp__row { grid-template-columns: auto minmax(0, 1fr); row-gap: 14px; }
  .pp__btn { grid-column: 1 / -1; width: 100%; }
}

/* ── Amenities: small rounded image cards ───────────────── */
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
@media (min-width: 640px) { .amen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .amen { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 18px; } }
.amen__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--sand); box-shadow: var(--e-1); }
.amen__img picture, .amen__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.amen__card:hover .amen__img img { transform: scale(1.04); }
.amen__icon { position: absolute; inset: 0; display: grid; place-items: center; background: var(--green); color: var(--green-light); }
.amen__icon svg { width: 40%; height: 40%; max-width: 64px; }
.amen__title { margin-top: 12px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.amen__text { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }

/* ── 360 tour: full-bleed image + play ──────────────────── */
.tour .s-head { margin-bottom: clamp(24px, 3vw, 40px); }
.tour__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--charcoal); border-radius: 25px; }
.tour__btn { padding: 0; border: 0; cursor: pointer; }
.tour__btn picture, .tour__btn img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour__btn::after { content: ''; position: absolute; inset: 0; background: rgba(16, 20, 17, .32); transition: background var(--t); }
.tour__btn:hover::after { background: rgba(16, 20, 17, .22); }
.tour__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); color: #fff; background: rgba(16, 20, 17, .25); backdrop-filter: blur(4px); transition: transform var(--t); }
.tour__play svg { width: 34px; height: 34px; margin-left: 5px; }
.tour__btn:hover .tour__play { transform: scale(1.06); }
.tour__btn:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.tour__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 599px) { .tour__play { width: 68px; height: 68px; } }

/* ── Brochure ───────────────────────────────────────────── */
.bro { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .bro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.bro__h { margin: 14px 0 22px; }
.bro__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.bro__list li { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.bro__list svg { width: 16px; height: 16px; color: var(--green); flex: none; }
/* Brochure: transparent cut-out that floats gently, with a soft green glow and a ground shadow
   that breathes with it. Hover tilts it in 3D. All motion off under prefers-reduced-motion. */
.bro__img { position: relative; isolation: isolate; perspective: 1200px; padding: clamp(10px, 3vw, 40px) 0; }
.bro__img picture { display: block; position: relative; z-index: 1; animation: bro-float 6s ease-in-out infinite; transform-style: preserve-3d; }
.bro__img img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.3, .7, .4, 1); }
.bro__img:hover img { transform: rotateX(8deg) rotateY(-10deg) rotateZ(1deg) scale(1.03); }
.bro__glow { position: absolute; z-index: -1; inset: 4% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 174, 152, .45), rgba(143, 174, 152, 0)); filter: blur(10px); animation: bro-glow 6s ease-in-out infinite; }
.bro__shadow { position: absolute; z-index: 0; left: 18%; right: 18%; bottom: 4%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 26, 22, .22), rgba(20, 26, 22, 0)); animation: bro-shadow 6s ease-in-out infinite; }
@keyframes bro-float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }
@keyframes bro-glow { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes bro-shadow { 0%, 100% { opacity: 1; transform: scaleX(1); } 50% { opacity: .6; transform: scaleX(.88); } }
@media (prefers-reduced-motion: reduce) { .bro__img picture, .bro__glow, .bro__shadow { animation: none; } .bro__img:hover img { transform: none; } }

/* ── Amenity cards: stacked glass (image inset inside the card) ── */
.amen__card { padding: 8px 8px 14px; border-radius: var(--r-lg); box-shadow: var(--e-1); transition: transform var(--t), box-shadow var(--t); }
.amen__card:hover { transform: translateY(-3px); box-shadow: var(--e-2); }
.amen__card .amen__img { border-radius: 16px; box-shadow: none; }
.amen__img::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(16, 24, 19, .28)); pointer-events: none; }
.amen__card .amen__title, .amen__card .amen__text { margin-inline: 6px; }

/* ── 02 · Availability: phase tiles ─────────────────────── */
.phases { border-radius: var(--r-xl); padding: clamp(16px, 3vw, 32px); box-shadow: var(--e-2); }
.phases__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .phases__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .phases__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.phase { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 92px; padding: 14px 14px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .6); border: 1px solid var(--line); overflow: hidden; }
.phase b { font-size: clamp(16px, 1.6vw, 22px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink-faint); }
.phase span { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); }
.phase--sold b { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(94, 102, 95, .45); }
.phase--open { grid-column: span 3; background: linear-gradient(140deg, #3d5e4a, #2f4a3a 55%, #243b2d); border-color: transparent; box-shadow: 0 18px 40px -18px rgba(47, 74, 58, .7); }
@media (min-width: 560px) { .phase--open { grid-column: span 1; } }
@media (min-width: 960px) { .phase--open { grid-column: span 2; } }
.phase--open b { color: #fff; font-size: clamp(22px, 2.2vw, 30px); }
.phase--open span { color: #cfe0d3; }
.phase--open::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); background-size: 250% 100%; animation: sweep 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .phase--open::after { animation: none; } }
.phases__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }

/* ── 12 · Final CTA over a photograph ───────────────────── */
.final { position: relative; isolation: isolate; overflow: hidden; }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final__bg picture, .final__bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 20, 17, .88), rgba(16, 20, 17, .45)); }
@media (max-width: 959px) { .final::before { background: rgba(16, 20, 17, .72); } }
.final .form { color: var(--ink); }
.final .form :focus-visible { outline-color: var(--green); }

/* Gate in glass */
.gate { background: var(--glass-shine), rgba(247, 244, 238, .9); backdrop-filter: saturate(1.6) blur(24px); -webkit-backdrop-filter: saturate(1.6) blur(24px); border: 1px solid var(--glass-edge); border-radius: var(--r-xl); }
/* The final form is light glass inside a dark section: reset the dark-section text colours. */
.final .form .small, .final .form .privacy, .final .form .field .opt { color: var(--ink-faint); }
.final .form .privacy a { color: var(--ink-soft); }
.final .form .err { color: #a3301f; }
@media (max-width: 559px) {
  .phase { min-height: 76px; padding: 12px 10px 10px; }
  .phase b { font-size: 15px; white-space: nowrap; }
  .phase span { font-size: 9.5px; letter-spacing: .08em; white-space: nowrap; }
  .phases__foot .btn { width: 100%; }
}

/* ── Logos ──────────────────────────────────────────────── */
.nav__brand { flex-direction: row; align-items: center; gap: 10px; }
.nav__phase { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(47, 74, 58, .35); border-radius: var(--r-pill); padding: 4px 9px; white-space: nowrap; }
@media (max-width: 380px) { .nav__logo { --wm-h: 30px !important; } .nav__phase { display: none; } }
.hero__logo { margin-bottom: 22px; }
@media (max-width: 599px) { .hero__logo { --wm-h: 44px !important; margin-bottom: 16px; } }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.f-phase { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-light); border: 1px solid rgba(143, 174, 152, .4); border-radius: var(--r-pill); padding: 4px 9px; }
.dev__logo { height: 40px; width: auto; margin-bottom: 22px; }
.simple__logo { display: inline-block; margin-bottom: 28px; }
.tour__len { position: absolute; z-index: 1; right: 16px; bottom: 16px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(16, 20, 17, .6); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.tour__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ── Video tour frame: rounded, animated green gradient stroke, soft glow ── */
@property --tour-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.tour__frame { position: relative; padding: 3px; border-radius: 28px; isolation: isolate;
  background: conic-gradient(from var(--tour-a), #2f4a3a, #8fae98, #d9e8dc, #46644f, #2f4a3a 55%, #8fae98 75%, #2f4a3a);
  box-shadow: 0 36px 80px -36px rgba(47, 74, 58, .65), 0 10px 30px -18px rgba(20, 26, 22, .35);
  animation: tour-spin 9s linear infinite; }
.tour__frame::before { content: ''; position: absolute; z-index: -1; inset: -18px; border-radius: 46px;
  background: radial-gradient(60% 60% at 50% 60%, rgba(143, 174, 152, .45), rgba(143, 174, 152, 0) 70%); filter: blur(18px); pointer-events: none; }
@keyframes tour-spin { to { --tour-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .tour__frame { animation: none; } }
@media (max-width: 599px) { .tour__frame { border-radius: 22px; padding: 2.5px; } .tour__media { border-radius: 19.5px; } }
/* Glassy play button with a green ring */
.tour__play { width: 104px; height: 104px; border: 0; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 9px rgba(143, 174, 152, .35), 0 20px 40px -12px rgba(0, 0, 0, .5); }
.tour__play::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(143, 174, 152, .7); animation: tour-pulse 2.4s ease-out infinite; }
@keyframes tour-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tour__play::after { animation: none; } }
.tour__btn:focus-visible { outline: 3px solid var(--green-light); outline-offset: -6px; }
.tour__len { background: rgba(16, 24, 19, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .2); }

/* ── Mobile hero (<768 px): the villa photo IS the top half of the screen, text sits below it ── */
@media (max-width: 767px) {
  .hero__bg { position: relative; inset: auto; z-index: 0; height: 52svh; min-height: 320px; max-height: 520px; }
  .hero__bg picture, .hero__img { display: block; width: 100%; height: 100%; position: relative; z-index: 1; }
  .hero__img { object-fit: cover; object-position: 50% 42%; }

  /* ── The film ──────────────────────────────────────────────────────────
     Sits directly over the still and cross-fades in once its first frame has
     decoded, so the still stays the LCP and a phone that never plays it loses
     nothing. pointer-events:none keeps every tap going through to the CTAs
     underneath: the film is scenery, not a control. */
  .hero__video {
    position: absolute; inset: 0; z-index: 2;
    width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 42%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .9s cubic-bezier(.3, .7, .4, 1);
  }
  .hero__video[data-on='true'] { opacity: 1; }

  /* Only a short fade at the bottom edge into the text area: the villa stays bright and clear.
     z-index 3 so it sits over the film as well as the still. */
  .hero__bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 26%; background: linear-gradient(to bottom, rgba(20, 26, 22, 0), var(--charcoal)); pointer-events: none; z-index: 3; }

  .hero__scrim { display: none; }
  .hero__grid { padding-top: 6px; }
  .hero__logo { display: none; } /* the header already carries the logo */
}

/* Belt and braces: the component never mounts the film above the phone
   breakpoint, and motion sensitivity is a medical setting, not a preference. */
@media (min-width: 768px) { .hero__video { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

.field-hint { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); display: flex; gap: 6px; align-items: center; }
.field-hint::before { content: ''; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.staging-banner { position: fixed; z-index: 200; top: 0; left: 50%; translate: -50% 0; padding: 4px 12px; border-radius: 0 0 10px 10px; background: #b45309; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; pointer-events: none; }

/* Broker disclosure (25 Oct 2026): footer only, below the logo */
.broker-legal { display: grid; gap: 2px; }
.broker-legal p { margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--ink-faint); }
.broker-legal__disc { font-weight: 600; color: var(--ink-soft) !important; }
.broker-legal.on-dark { margin: 4px 0 12px; }
.broker-legal.on-dark p { color: var(--on-dark-soft); }
.broker-legal.on-dark .broker-legal__disc { color: var(--on-dark) !important; }

/* Text wordmark (31 Oct 2026): replaces the Nad Al Sheba Gardens image logo. Scales from --wm-h. */
.wordmark { --wm-h: 36px; display: inline-flex; align-items: center; gap: calc(var(--wm-h) * .26); height: var(--wm-h); line-height: 1; white-space: nowrap; }
.wordmark__mark { flex: none; width: var(--wm-h); height: var(--wm-h); border-radius: calc(var(--wm-h) * .28); display: grid; place-items: center; font-weight: 800; font-size: calc(var(--wm-h) * .56); letter-spacing: -0.04em; }
.wordmark__text { display: flex; flex-direction: column; gap: calc(var(--wm-h) * .08); }
.wordmark__top { font-weight: 800; font-size: calc(var(--wm-h) * .44); letter-spacing: -0.03em; }
.wordmark__bot { font-weight: 700; font-size: calc(var(--wm-h) * .23); letter-spacing: .34em; text-transform: uppercase; }
.wordmark--dark .wordmark__mark { background: var(--green); color: var(--on-dark); }
.wordmark--dark .wordmark__top { color: var(--ink); }
.wordmark--dark .wordmark__bot { color: var(--green); }
.wordmark--light .wordmark__mark { background: var(--green-light); color: var(--charcoal); }
.wordmark--light .wordmark__top { color: var(--on-dark); }
.wordmark--light .wordmark__bot { color: var(--green-light); }

/* Homes.me additions: the in-page thank-you (that site has a page for it), and the viewer's colors on this page's dark. */
.thanks-panel { display: grid; gap: 12px; text-align: center; justify-items: center; }
.thanks-panel .btn { width: 100%; }
.g-item.tile { display: block; }
[hidden] { display: none !important; }
.viewer { --accent: #8fae98; --gold: #8fae98; --line: rgba(238, 242, 236, .14); --muted: #a9b3ab; --bg: #141a16; --text: #eef2ec; --ink: #eef2ec; --tint: rgba(255, 255, 255, .05); --seam: 4px; }
/* consent.js is homes.me's, and its buttons carry homes.me's class names. */
.consent .btn-line { background: transparent; border: 1px solid var(--on-dark-soft); color: var(--on-dark); }
.consent .btn-line:hover { background: rgba(255, 255, 255, .1); }
