/* ============================================================
   ATRIC Developments — Elevated Living
   Design language: cinematic imagery, disciplined modern type,
   editorial composition, ATRIC blue / cream / terracotta palette.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../assets/fonts/ibm-plex-sans-arabic-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../assets/fonts/ibm-plex-sans-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../assets/fonts/ibm-plex-sans-arabic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../assets/fonts/ibm-plex-sans-arabic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../assets/fonts/ibm-plex-sans-arabic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  /* ATRIC brand palette — 2021 color guideline */
  --ink: #18183d;          /* Big Stone — ATRIC blue */
  --ink-soft: #18183d;
  --cream: #ece7e2;        /* Pampas — warm section background */
  --paper: #f6f3f0;        /* lightened Pampas — page background */
  --sand: #f2d3b6;         /* Mandys Pink — soft accent */
  --bronze: #a75f46;       /* Cape Palliser — terracotta accent */
  --bronze-text: #98503a;  /* Accessible terracotta for small text */
  --navy: #18183d;         /* Big Stone — brand navy */
  --navy-rgb: 24, 24, 61;
  --white: #ffffff;
  --text-dark: #18183d;
  --text-mute: #6d675e;
  --text-on-dark: #ece7e2;
  --text-on-dark-mute: #bbb8b3;  /* Cotton Seed */
  --line: rgba(24, 24, 61, .16);
  /* Single family sitewide: Inter */
  --serif: "Inter", "Segoe UI", Arial, sans-serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --motion-press: 140ms;
  --motion-ui: 220ms;
  --motion-overlay: 280ms;
  --page-gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(82px, 8vw, 126px);
  --content-wide: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: rgba(var(--navy-rgb), .58) var(--paper);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: rgba(var(--navy-rgb), .58);
  border: 2px solid var(--paper);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--bronze);
  color: var(--white);
}

:where(a, button, input, select, textarea, summary) {
  -webkit-tap-highlight-color: transparent;
}

:where(h1, h2, h3, h4, .display) {
  text-wrap: balance;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

:where(p, li) { text-wrap: pretty; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 12000;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--bronze);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
html[dir="rtl"] .skip-link { left: auto; right: 16px; }

/* BOHO's exposed gutters use the same warm off-white as text on dark sections. */
.boho-page { background: var(--text-on-dark); }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--navy);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--motion-ui) var(--ease-out), visibility 0s linear var(--motion-ui);
  /* CSS-only failsafe: even if scripts never run, the loader clears itself. */
  animation: site-loader-failsafe 0s linear 9s forwards;
}
.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(.22, .61, .36, 1), visibility 0s linear 420ms;
}
.site-loader img {
  width: min(170px, 44vw);
  height: auto;
  /* The first frame ships inside this stylesheet as this element's
     background, so the wordmark shows from the very first paint and the
     animated gif paints exactly over it. One element, no duplicates. */
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAABMBAMAAAAl0JeoAAAAMFBMVEX///////7+/v77+/z19ffMzNVqaoIlJUgbG0AZGT4YGD4YGD0YGDwXFzwSEjgICC/MjEy5AAALsUlEQVR42u1abXQU1Rl+5s4iUsjubD5oNNndyYJogGyWRNtjrZBWPZ5ixVgOBO0R/DoiqFB+1JzoOUj5ASYcFKEi8TMFtVgQAyrxNCAJYD0tbLJJQCiYZTYxECVkZxNIQTJ3+uPOfs3O5mv54Y/kT2bvnZn73Pfzed87XC1+in8Eo7BGYY3CGoU1CmsU1iisnzAs0+C3+AaedgJUSjyne4sz9gYqyZYxRQD2qVz0HKcjNq2yNl4QHkoVBkPd4zaeuro73a5dSr8FACj1YtS8/cCl4lSh2ytCLkB3V3WqmAiWqUjbRlXohSgcWFrn22hHsfEUZ153G9VgzdWQNkembdX35ssvy6okAFbkLrKsy7Abw6L2Km38sTZt6Lt/yQPCmjoh7UQCJXK3rKqYKwGAMmuhNpISlqz9s8cvr5TP12k/53HONRVjXIa2dXyHVwAAlX8pBEu+umNA47yR8mqiO277fuNfXQAgQlt+eUp48pM/l/l2YlJIGTtwz5ItJ/e6DGARrov6AIBrO+sNbYu/awBxcRDM4G5VEyj43etzo9/CWSJLHSl96sKuQlzwaL8LcbpOLRsvSvGwsm7fpF3lb8wODSoXvAMEGHIfoDYqxpM5075xaNtTvDJAXJGlCp4/fbDwQlj91ENmCG/KlW+742FJNr+2gDuwhJeSjT60lbdNXN/CfggxMqc1Z48ccntihjyTCj4mG7a59bDIsZ02DUvvSfHQNQiLCv8P50wjOTY+99AhW4NutJW4d/58Sbs+yvcLXWG5NX7lvRbhunVaW7PBcFbGs3ts8dqg3uknPvTqYTlKekKX6rQ91yaN9Jx7RowX1uGSd+xGNkKbfzj1iKhT4qcP14dsl5LA0rbh5lfRIGf52/8Wnyaym5cWhDToTBUAdMvsftpyfJIoxsAippfyw+qWt781XFicNfqX5mVKzjfmOOvyLU6xhXPIUQDg3RpO5c6LPbHSysqppwBQ0ADA75RZCAGfFkk/mkMXRsUtmYbQKDGOhUJ2L8WEuA2c3C+2MknM8GC+AOCHal7D1X5debsUDUua2SsDQAMAKClr7CzKKPvjXhu1vml2KESKU6KVyNFati16srxdZ0bKgmc0YxE988VxqwCUPv/tLrcXAM7415pd0bCO2+oUAGTuLgVAtzwdAGCZ+FTkllOyF4Dp8ainXmj/VLu6oTJ67QDe1Xav6o27feZuBovzz89d1bUPQJlwLpXdT13S9FjbWp/fAIC4dwFA29eV7RKArAcjFqv+QQZAUB419E5YRrQ8Jh9uOS95AUDi9MLuXclsmNhv/uj7ck4A4MH8jV3NPgDo6aw8FA1LoADAkxW7PAC4M6gTAZCPIuH5Ae3/K+MjyooQMy6GAn3bnJ7AZ2hOM6M7ounvlcHQQ7V9H5hFCQB3QBWjYCklT9gBQORsihegOaVmEQAmRe4IGbdVcQ/ql86WnPc0gYo6LeZvZdpJvePHyMudth/uv5gGgEtdmxIFSwzktALIc51j3KY/MDu5xPPYSobqDd0m1Mw9CgBwTYdfj+RudHg//JnmRSQCi9Q0pQAAse429QAA6ZzVnky2/r0AUQKgBs2xE3yAhQf7L+Q5UQvQ+/o051JpBBYVegCAb6mtes3M4vOlancSsOoXQgIArkyX9KnAwJDM12MCbcfnmiufaovAst2xzQsAnDKNm+WTANW1OjsZJfa9pHmCzrbIsR0OHwC+reJgLNz7KlTNiyKpWlLrAED8jZmrtAMAVbofuSbZmtObQr8ZABw5qi6JtwtWq9VqFaKSDzm8U/QBSLml3iQztL3/FYa1vBpTUarWY3mG3IhqaYE6e6VEdWVYWv2OLjMA/qLQTC0ZEuNcHcMz+UD0X98CSQaAOJpPf8UmhCnVg1fVjjvflwGgrWwbZtv3NwBQ8jYOy7hIafSvy88xliT+WhKNd8fJg8OqW1ifAkDkUSQhKHZLAEjg2eGI69ziGKG8zdBw1g9mjrgHQfuW5zcASLlZltBRwyJNsNM8jFdJui0UMp7BCROSaI1wVykAcjFzUxGoq28rAEhtFnEY4pokGLAf4i8bQVAOwVIXsJjnd3UDyFqxEgCU/FK7axjlhNGgy+Vvw4j7W8fpbi8AmvPHYgCSPIuFlMCEJGMW32zdk0TbLfXFfABwFkoSAP4juwAA3s5FSXb18u4uL04ClkOmAEAnfs6oF0+gUZ+kYLkv5b4mjbwbqEzrlQGQMTdO9wHAxdV2AFCca1OSydakaV554uJcFQaTlijUSQA4//LGQCAQCFy1ukUAGC/lJSMs8a7NmxJOyq3Fg0iL7D3h8AFw3DQ2FKltCgD0dhYN3b2jy1etnZr75ty4x/kakeWTPqoPP9obfCElBs+bAYDS+eG9yCxynd0z5BBB45u/skFJH6o4OIe5Rzd15AgAIE3j8leffkY2CtRQXa8NPS3eGmUr/XUAQL/e8p0UzyAyegBA9b6hxm6ZlupooFkr3CJ6YFqgSqCsZaiGlDErvJuxzW4vgHbSY0Bws0peYX1a/42xqHgtqWayEoO07FcT6KF3e8WQpZURqXObzvKs77Mm24g5MC5Papo/sEc3jCyn6gBgzAusxLjqPuhK0M2SSIY05NAV6QE0rE5hfZ+TBgGCpjLF+nPWjpsZ0TGpXna4EAAX1AKEeHviMxZx1UgiQz5X5AaA4AEYOLL8gBsAFHriqaowIXX+uHiZ3ePxeBql52ACQPaW+BMxMmV8m3kEsLgttgsAIM1YG59V+e1mJgbJl1mxYZ4PAEj2jrEHWikAONLHzyEAKLcykDA49VyZM6Lkkd4LAEq/bLArNSPItFl4ovT5HRIAHHm/dPEpP3OznKBkAkCLmuy++HMi5otSmqNHHn6PedzqV0QJAH/SwJOnPs0m0WjGki3dHKDeOq7U96kNAIiQ+fpMEwA1U1tY54aCDIAeGRbnCv0VccyYvbxB4uO236+15NJOB0puUgRc6sSZLzW3O75QgQlARx6LWpN1LrePkQB56gi02FEjsE6GqzQ7LnKZgpO1nlir8+jRuwGgywsnQ+WYuJR1A7kNLI6kxp6Fqf2yF4B8btFIWhHqZC8A0H7ZHq/i39mPygyEj8zYBwB8QQPTFbH8cpMbJoDgdAoAOKe8HPv0kx4AaO9gfa5hGtds26sAgOZvKuN31VEz+b3w2YUTAGiolzyDf/VLwARkuVmFaE4ri7GD/ymEdafWpIxAi7Jllk8CAIcBl6e5i33dXqPTXd6zfF0hYAK+6oQEgFy0zIqRivTvg6IE0PHSSPpcl7bbuxkp2WzgMmMqnfVGRRXJm7KyivGt4IU6dlb3QnsMcNuKnd0AQK4Uj+D4h1rSGW1JkW8wmM1d0L8tHhdxHX/grbkSQEC4oB0A8h8Mxt4m+Vmd0eTbPJLjn6zVfhaPv15uYJr89jX3S07dhNN+bOmSNAmACVlTH2IbyKx26lhkOjtFapw9IXJ86DT6SkE0OOZUg0UBGQB35g3VFf9k7pXN/MfOAjn8VYCTszSYnli/voBlCdXSm5YGcN45Oq5I6F+qCgFA6H64zYhe6v6EWGzcFzZVBqDe0TQ1FJy5SCbi/3ndJnK+roBLC1N7zEvd/HaBlrxqznoAgLvpxa16H7dmM6pyeF0IFvNjk3E9HUutiJxexTytZFFL6El/flRn+crWZek7Iw/cY719+Xot9JoIF5zHKGEcr/rui3tkbYUQf9NONGJLKctlNjpWd8D6eE9EuvKUKQCAZV9GgtfpvsrLqWroGesNf7pcESpIuNqeU2ziXo8+SRDpYUa2uCe0u6UntaOAGOeg2mHPjwd123o0fNBBmlaw6/9EWQrJ+izt0csan7tudVfrV67I5xn2DHbxffzZtG0ve7HlXTGWf+q+2FCYp/K6fSl1LC2SAsD+CTOgSdEqIVnV6vVaO8HyosAXS1FfjWhLjTHgCdqnLZEDFKfhZzdaYUITtEJ9Az1ZG1LivOgprjZSMyYsSGkypwZDrHlj1/g/VixdRdd3WC4AAAAASUVORK5CYII=) center / contain no-repeat;
  transition: opacity 380ms cubic-bezier(.22, .61, .36, 1), transform 380ms cubic-bezier(.22, .61, .36, 1);
}
.site-loader.is-done img {
  opacity: 0;
  transform: translateY(-14px);
}
.site-loader.is-transitioning {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: none;
  transition: opacity 220ms var(--ease-out);
}
.site-loader.is-transitioning img {
  opacity: 1;
  transform: none;
}
@keyframes site-loader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
/* Freeze the page while the loader is covering it. */
html:has(.site-loader:not(.is-done)) { overflow: hidden; }

/* Opacity only: a transform here would turn body into the containing
   block for the fixed site loader and push it below the viewport. */
@keyframes page-enter {
  from { opacity: .985; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .site-loader,
  .site-loader.is-done,
  .site-loader.is-transitioning,
  .site-loader img { transition: none; }
  .news-card,
  .news-card img,
  .event-filter { transition: none; }
}

img { max-width: 100%; display: block; }
picture.responsive-picture {
  display: block;
  width: 100%;
  height: 100%;
}
picture.responsive-picture > img { width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- type helpers ---------- */

.kicker {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--bronze-text);
  margin-bottom: 18px;
}

.display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1.display { font-size: clamp(38px, 5.2vw, 62px); }
h2.display { font-size: clamp(28px, 3.6vw, 44px); }
h3.display { font-size: clamp(21px, 2.3vw, 27px); }

.lead {
  font-size: 15.5px;
  font-weight: 400;
  max-width: 640px;
  color: var(--text-mute);
  line-height: 1.75;
  text-wrap: pretty;
}

.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 15px 34px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--white);
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--motion-ui) var(--ease-out), border-color var(--motion-ui) var(--ease-out), color var(--motion-ui) var(--ease-out), transform var(--motion-press) var(--ease-out);
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 4px;
}
.btn:active { transform: scale(.98); }

.hero-content > .btn {
  background: transparent;
  border-color: #fff;
  color: var(--white);
  font-weight: 600;
}
.hero-content > .display {
  text-wrap: balance;
}
.hero-content > .display + .btn {
  margin-top: 32px;
}
.hero-content > .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.btn-solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn-solid:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn-dark {  /* outlined on light backgrounds */
  color: var(--ink);
}
.btn-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  isolation: isolate;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  padding: 0 clamp(22px, 3vw, 58px);
  background: transparent;
  box-shadow: none;
  transition: background-color var(--motion-overlay) var(--ease-out), box-shadow var(--motion-overlay) var(--ease-out);
}
.nav-scroll-sentinel {
  position: absolute;
  top: 40px;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav.scrolled {
  background: rgba(var(--navy-rgb), var(--nav-scroll-opacity, 1));
  box-shadow: none;
}

.nav-logo {
  min-width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-logo img { height: 40px; width: auto; }
.nav > nav { min-width: 0; }

.nav-links {
  display: flex;
  gap: clamp(14px, 1.55vw, 30px);
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color var(--motion-ui) var(--ease-out), border-color var(--motion-ui) var(--ease-out);
}
.nav-links a:hover { color: #fff; border-color: var(--bronze); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.15vw, 22px);
}
.nav-contact {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  min-height: 44px;
}
.nav-contact-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}
.nav-contact:hover { color: #fff; }
.nav .btn { padding: 11px 22px; font-size: 10.5px; white-space: nowrap; }
.nav .btn:hover { color: #06060a; }

.language-switch {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.38);
  border-radius: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 5px 0 4px;
  background: transparent;
  color: rgba(255,255,255,.9);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.language-switch:hover,
.language-switch:focus-visible {
  color: #fff;
  border-color: var(--bronze);
  outline: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span { height: 1px; background: #fff; display: block; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: auto;
  min-height: max(640px, 100dvh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}
.hero.dropdown-open {
  overflow: visible;
  z-index: 4;
  opacity: 1;
  transform: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 800ms var(--ease-out);
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 9s var(--ease) forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--navy-rgb),.72) 0%, rgba(var(--navy-rgb),.15) 45%, rgba(var(--navy-rgb),.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 4vw 150px;
  max-width: 900px;
}
.hero-content .kicker { color: rgba(255,255,255,.75); }
.hero-content p {
  margin: 18px 0 30px;
  font-size: 15.5px;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  max-width: 560px;
}

/* search bar over hero bottom */
.hero-search {
  position: absolute;
  left: 4vw; right: 4vw;
  bottom: 0;
  z-index: 3;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  box-shadow: 0 -18px 50px rgba(0,0,0,.18);
}
.hs-field {
  padding: 16px 26px;
  border-right: 1px solid #e8e2d8;
}
.hs-field label {
  display: block;
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 2px;
}
.hs-field select {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  background: transparent;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2318183d' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.hero-search .btn-solid {
  border: none;
  padding: 0 46px;
  font-size: 11px;
  letter-spacing: .24em;
}

/* ---------- generic sections ---------- */

.section { padding: var(--section-space) var(--page-gutter); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark .lead { color: var(--text-on-dark-mute); }
.section-cream { background: var(--cream); }

.section-head { max-width: 760px; margin: 0 auto 64px; }

/* Section titles carry their own hierarchy. Eyebrow labels are retired
   site-wide (owner decision, 2026-08-23): they were visually redundant and
   made unrelated pages share the same template. The markup keeps the elements
   for structure/i18n; they simply never render. */
.kicker { display: none; }

/* Keep the project gallery bright so the photography, not a color block, leads. */
#developments {
  padding-top: clamp(78px, 7vw, 104px);
  padding-bottom: clamp(64px, 6vw, 84px);
  background: var(--paper);
  color: var(--ink);
}
#developments .section-head { margin-bottom: 46px; }
#developments .lead { color: var(--text-mute); }
#developments .carousel-nav { margin-top: 28px; }

/* ---------- developments carousel ---------- */

.carousel-wrap { margin: 0 -4vw; }

.carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 4vw;
}
.carousel::-webkit-scrollbar { display: none; }

.comm-card {
  position: relative;
  flex: 0 0 min(72vw, 860px);
  scroll-snap-align: center;
  overflow: hidden;
  display: block;
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(var(--navy-rgb),.1);
}
.comm-card img {
  width: 100%;
  height: clamp(380px, 58vh, 560px);
  object-fit: cover;
  object-position: var(--media-position, center);
  transition: transform 520ms var(--ease-out);
}
.comm-card:hover img { transform: scale(1.025); }
.comm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--navy-rgb),.65), rgba(var(--navy-rgb),0) 55%);
}
.comm-label {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 2;
  color: #fff;
}
.comm-label .loc {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 6px;
}
.comm-label .name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.comm-label .cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--motion-ui) var(--ease-out), transform var(--motion-ui) var(--ease-out);
}
.comm-card:hover .cta { opacity: 1; transform: none; }
.comm-card:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 5px;
}
.comm-card:focus-visible .cta { opacity: 1; transform: none; }

.comm-badge {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(var(--navy-rgb),.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 44px;
}
.carousel-nav button {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  transition: color .3s;
}
.carousel-nav button:hover { color: var(--bronze); }
.carousel-nav button:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

/* ---------- discover / stats ---------- */

.company-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 66px);
  padding: 24px 4vw;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.company-nav a {
  color: var(--text-dark);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.company-nav a:hover { color: var(--bronze); }
.company-stats {
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.company-stats .stat { display: flex; flex-direction: column; align-items: center; }
.company-stats .cap { max-width: 170px; }
.section-white { background: var(--white); }
.company-about .split,
#purpose .mission-grid { max-width: 1280px; margin-left: auto; margin-right: auto; }
.company-about .split > div:first-child { max-width: 570px; }
.bridge-focus { object-position: 64% center; }
.values-intro { padding: 84px 4vw 68px; }
.values-intro .section-head { margin-bottom: 0; }
.values-intro-copy {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--text-on-dark-mute);
}
.value-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 500px;
  padding: 0;
  border-bottom: 1px solid rgba(var(--navy-rgb),.1);
}
.value-story-media { min-height: 500px; overflow: hidden; }
.value-story-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: var(--media-position, center);
}
.value-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 620px;
  padding: clamp(52px, 6vw, 96px);
}
.value-story-copy p {
  max-width: 480px;
  margin-top: 24px;
  color: var(--text-mute);
  font-size: 15px;
}
.value-story-copy .display br { display: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--bronze);
  color: var(--text-dark);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color var(--motion-ui) var(--ease-out), transform var(--motion-ui) var(--ease-out);
}
.text-link:hover { color: var(--bronze); transform: translateX(3px); }
html[dir="rtl"] .text-link:hover { transform: translateX(-3px); }
.text-link span { font-size: 18px; line-height: .6; }
.value-story-reverse .value-story-media { order: 2; }

/* Break the five-row zigzag on Discover with one immersive editorial moment. */
.value-story-immersive {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: min(76vh, 760px);
  overflow: hidden;
  background: var(--navy);
}
.value-story-immersive::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(var(--navy-rgb), .88) 0%, rgba(var(--navy-rgb), .5) 54%, rgba(var(--navy-rgb), .12) 100%);
}
.value-story-immersive .value-story-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.value-story-immersive .value-story-media img { min-height: 100%; }
.value-story-immersive .value-story-copy {
  position: relative;
  z-index: 2;
  min-height: min(76vh, 760px);
  max-width: 720px;
  color: var(--white);
}
.value-story-immersive .value-story-copy .display { color: var(--white); }
.value-story-immersive .value-story-copy p { color: rgba(255,255,255,.82); }
.value-story-immersive .text-link { color: var(--white); }
html[dir="rtl"] .value-story-immersive::after {
  background: linear-gradient(270deg, rgba(var(--navy-rgb), .88) 0%, rgba(var(--navy-rgb), .5) 54%, rgba(var(--navy-rgb), .12) 100%);
}
html[dir="rtl"] .value-story-immersive .value-story-copy { margin-left: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

/* Keep section content composed on very wide screens. */
.features-grid,
.news-grid,
.dev-grid,
.contact-grid {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}
.split .lead { margin-top: 22px; }
.split-img img {
  width: 100%;
  height: clamp(400px, 60vh, 620px);
  object-fit: cover;
  object-position: var(--media-position, center);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}
.stat .num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
}
.stat .cap {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 10px;
}

/* ---------- happenings ---------- */

.happenings-section {
  background: var(--cream);
  padding-top: 12px;
}
.happenings-head {
  margin-bottom: 26px;
}
.happenings-head .section-title {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 39px);
}
.happenings-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  overflow-anchor: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-inline: -4vw;
  padding: 12px 4vw 15px;
  margin-bottom: 38px;
  background: var(--cream);
  border-bottom: 1px solid rgba(45, 41, 34, .18);
  box-shadow: 0 10px 24px rgba(var(--navy-rgb), .045);
}
.event-result-count {
  flex: 0 0 auto;
  margin: 0 0 4px;
  min-height: 24px;
  white-space: nowrap;
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.event-result-count strong { color: var(--ink); font-size: 14px; }
.event-filters {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: clamp(18px, 2vw, 30px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.event-filters::-webkit-scrollbar { display: none; }
.event-filter {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-mute);
  padding: 0 0 9px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s ease;
}
.event-filter::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -16px;
  width: 100%;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-ui) var(--ease-out);
}
.event-filter:hover,
.event-filter[aria-pressed="true"] {
  color: var(--ink);
}
.event-filter[aria-pressed="true"]::after { transform: scaleX(1); }
html[dir="rtl"] .event-filter::after { transform-origin: right center; }
.event-filter:focus-visible,
.news-card:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  overflow-anchor: none;
}
.content-empty {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: clamp(42px, 7vw, 78px) 24px;
  border-top: 1px solid rgba(45, 41, 34, .14);
  border-bottom: 1px solid rgba(45, 41, 34, .14);
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
#carousel > .content-empty { flex: 0 0 100%; }
.news-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(45, 41, 34, .08);
  box-shadow: none;
  transition: border-color var(--motion-ui) var(--ease-out);
}
.news-card:hover {
  border-color: rgba(179, 144, 91, .3);
}
.news-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: var(--media-position, center);
  transition: transform 480ms var(--ease-out), filter 480ms var(--ease-out);
}

#event-grid .news-card[href$="event-atric-roadmap-2024"] {
  --media-position: center bottom;
  --media-position-mobile: center bottom;
}
.event-picture {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.news-card > .event-picture { height: 230px; }
.news-card > .event-picture > img { height: 100%; }
.news-card:hover img { transform: scale(1.02); }
.news-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.news-body .tag {
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.news-body h2,
.news-body h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.news-body p { font-size: 14px; color: var(--text-mute); flex: 1; }
.news-body .more {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--bronze);
  align-self: flex-start;
  padding-bottom: 3px;
}
.news-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr);
  min-height: 440px;
}
.news-card--featured > img,
.news-card--featured > .event-picture {
  height: 100%;
  min-height: 440px;
}
.news-card--featured > .event-picture > img { min-height: 440px; }
.news-card--featured .news-body {
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
}
.news-card--featured .news-body h2,
.news-card--featured .news-body h3 {
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.18;
}
.news-card--featured .news-body p { font-size: 15px; line-height: 1.8; }
.news-card[hidden] { display: none !important; }

/* The archive keeps one featured story, then uses a repeatable 7/5 + three
   column editorial rhythm instead of 24 identical cards. */
.happenings-section .news-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.happenings-section .news-card { grid-column: span 4; }
.happenings-section .news-card--featured { grid-column: 1 / -1; }
.happenings-section .news-card:nth-child(5n + 2) { grid-column: span 7; }
.happenings-section .news-card:nth-child(5n + 3) { grid-column: span 5; }

/* ---------- register interest ---------- */

.register {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  min-height: 720px;
  padding: clamp(88px, 8vw, 132px) max(5vw, calc((100vw - 1480px) / 2));
  background:
    linear-gradient(100deg, rgba(var(--navy-rgb),.96) 0%, rgba(var(--navy-rgb),.86) 44%, rgba(var(--navy-rgb),.58) 100%),
    url("../assets/img/lifestyle-hammock-master-4k.webp") center 46%/cover no-repeat;
  color: var(--text-on-dark);
  /* The document already reserves the fixed header with scroll-padding-top. */
  scroll-margin-top: 0;
  box-shadow: inset 0 1px rgba(255,255,255,.12), inset 0 -1px rgba(255,255,255,.08);
}
.register.is-general-enquiry {
  background:
    linear-gradient(100deg, rgba(var(--navy-rgb),.96) 0%, rgba(var(--navy-rgb),.86) 44%, rgba(var(--navy-rgb),.58) 100%),
    url("../assets/img/lifestyle-hammock-master-4k.webp") center 46%/cover no-repeat;
}
.register .section-head {
  max-width: 500px;
  margin: 0;
  text-align: left;
}
.register .kicker { color: var(--sand); }
.register .section-head .lead {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.84);
  line-height: 1.8;
}

.form {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.register .form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(32px, 4vw, 54px);
  background: rgba(246,243,240,.97);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(var(--navy-rgb),.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 2px;
  outline: none;
  transition: border-color .3s;
  border-radius: 0;
}
.field select { appearance: none; }
.field select option { color: var(--text-dark); }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--bronze); }

.register .field label {
  color: rgba(var(--navy-rgb),.68);
  font-weight: 600;
}
.register .field input,
.register .field select,
.register .field textarea {
  border-bottom-color: rgba(var(--navy-rgb),.24);
  color: var(--ink);
}
.register .field input:focus,
.register .field select:focus,
.register .field textarea:focus { border-color: var(--bronze); }
.register .form .field .dd-trigger {
  min-height: 48px;
  padding: 0 14px;
  background: rgba(var(--navy-rgb),.035);
  border: 1px solid rgba(var(--navy-rgb),.2);
  color: var(--ink);
}
.register .field .dd-chevron { stroke: var(--ink); }
.register .form .dd-menu { background: rgba(var(--navy-rgb),.97); }
.register .form .field .dd-trigger:hover,
.register .form .field .dd.open .dd-trigger {
  background: rgba(var(--navy-rgb),.065);
  border-color: var(--bronze);
}

.form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 14px;
}
.register .form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(var(--navy-rgb),.18);
}
.register .form-actions .btn:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(var(--navy-rgb),.2);
}
.register .form-actions .btn:disabled {
  opacity: .68;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: var(--text-on-dark-mute);
  margin-top: 6px;
}
.register .form-note { color: rgba(var(--navy-rgb),.68); }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.privacy-notice {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: rgba(var(--navy-rgb),.68);
  font-size: 11.5px;
  line-height: 1.65;
  text-align: center;
}
.privacy-notice a {
  color: var(--navy);
  border-bottom: 1px solid var(--bronze);
}
.cms-managed-form .privacy-notice { text-align: left; }
html[dir="rtl"] .cms-managed-form .privacy-notice { text-align: right; }

/* ---------- footer ---------- */

.footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: 90px 4vw 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h4 {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 13px; }
.footer-grid a,
.footer-grid p {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  line-height: 1.9;
  transition: color var(--motion-ui) var(--ease-out);
}
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 46px; margin-bottom: 26px; }
.footer-public-contact {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
.footer-public-contact a {
  width: fit-content;
  color: var(--text-on-dark-mute);
  font-size: 12px;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.footer-public-contact a:hover,
.footer-public-contact a:focus-visible { color: var(--white); }
.footer-tagline {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-on-dark-mute);
  text-transform: none !important;
  letter-spacing: .02em !important;
}
.hotline {
  margin-top: 26px;
}
.hotline .num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.1;
}
.hotline .num a {
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: #fff;
}
.footer-grid .hotline .num a {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: .02em;
  text-transform: none;
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
}
.socials { display: flex; gap: 20px; }
.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transition: color .3s;
}
.socials a:hover { color: var(--bronze); }
.socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }

/* ---------- project pages ---------- */

.p-hero {
  position: relative;
  height: auto;
  min-height: max(600px, 92dvh);
  background-size: cover;
  background-position: var(--hero-position, center);
  display: flex;
  align-items: flex-end;
}
.event-hero[style*="ev-atric-roadmap-2024-1"] {
  background-size: auto 190%;
  background-repeat: no-repeat;
  background-color: #6d4937;
}
@supports (background-image: image-set(url("data:image/avif;base64,AAAA") type("image/avif"))) {
  .event-hero { background-image: var(--event-hero-image) !important; }
}
.p-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.p-hero-media > img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-position, center);
}
.p-hero > .cms-managed-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-position, center);
}
.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--navy-rgb),.75), rgba(var(--navy-rgb),.1) 55%, rgba(var(--navy-rgb),.35));
}
.p-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 4vw 90px;
  max-width: 860px;
}
.p-hero-content .kicker { color: rgba(255,255,255,.75); }
.p-hero-content p {
  margin: 16px 0 30px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  max-width: 620px;
}

.facts {
  background: var(--ink);
  color: var(--text-on-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 4vw;
}
.fact {
  padding: 36px 30px;
  border-left: 1px solid rgba(255,255,255,.09);
}
.fact:first-child { border-left: none; }
.fact .cap {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  margin-bottom: 8px;
}
.fact .val {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.09);
}
.feature {
  background: var(--ink);
  padding: 40px 34px;
}
.feature h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  color: #fff;
}
.feature p { font-size: 14px; line-height: 1.75; color: var(--text-on-dark-mute); }

/* Project-only lifestyle stories. INDEX and BAYA retain the compact feature grid. */
.project-features-intro { padding-bottom: clamp(68px, 7vw, 106px); }
.project-features-intro .section-head { margin-bottom: 0; }
.project-features-intro .lead {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--text-on-dark-mute);
}
.project-features {
  background: var(--paper);
}
.project-feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  min-height: 430px;
  border-bottom: 1px solid rgba(var(--navy-rgb),.1);
  background: var(--paper);
}
.project-feature-story:nth-child(even) .project-feature-media { order: 2; }
.project-feature-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #d8d3cd;
}
.project-feature-media picture,
.project-feature-media img {
  width: 100%;
  height: 100%;
}
.project-feature-media img {
  max-width: none;
  object-fit: cover;
  object-position: var(--feature-position, center);
}
.project-feature-media figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  padding: 7px 10px;
  background: rgba(var(--navy-rgb),.78);
  color: rgba(255,255,255,.9);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(52px, 6vw, 90px);
  background: var(--paper);
}
.project-feature-copy > * { max-width: 480px; }
.project-feature-copy .kicker { margin-bottom: 18px; }
.project-feature-copy h3.display { font-size: clamp(27px, 3vw, 38px); }
.project-feature-copy p {
  margin-top: 20px;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.8;
}
.project-feature-link { margin-top: 30px; }

.project-location-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1440px;
  min-height: 500px;
  margin: 0 auto;
  background: var(--ink);
}
.project-location-map {
  display: flex;
  align-items: center;
  padding: clamp(26px, 5vw, 76px);
  background: var(--cream);
}
.project-location-map picture { height: auto; }
.project-location-map img {
  width: 100%;
  height: auto;
}
.project-location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 6vw, 90px);
  color: var(--text-on-dark);
}
.project-location-copy h2 { color: #fff; }
.project-location-copy > p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--text-on-dark-mute);
  font-size: 14.5px;
}
.project-distance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.project-distance-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.project-distance-grid div:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.14); }
.project-distance-grid div:last-child { grid-column: 1 / -1; }
.project-distance-grid strong {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.project-distance-grid span {
  color: var(--text-on-dark-mute);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-access {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  column-gap: clamp(46px, 7vw, 110px);
  row-gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(68px, 8vw, 116px) clamp(30px, 7vw, 108px);
}
.project-access-intro h2 { color: #fff; }
.project-access-intro > p {
  max-width: 470px;
  margin-top: 20px;
  color: var(--text-on-dark-mute);
  font-size: 14.5px;
}
.project-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.14);
}
.project-access-grid div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  padding: 20px 26px 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.project-access-grid div:nth-child(even) { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
.project-access-grid strong {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}
.project-access-grid span {
  margin-top: 5px;
  color: var(--text-on-dark-mute);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.project-access-note {
  grid-column: 2;
  color: rgba(255,255,255,.48);
  font-size: 10.5px;
}

.masterplan { padding: 0; }
.masterplan img {
  width: 100%;
  height: clamp(420px, 80vh, 760px);
  object-fit: cover;
  object-position: var(--media-position, center);
}

/* ---------- stats band (homepage showcase) ---------- */

.stats-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 104px);
  padding: clamp(78px, 7vw, 108px) max(4vw, calc((100vw - 1480px) / 2));
  background: var(--cream);
  color: var(--ink);
}
.stats-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(4vw, calc((100vw - 1480px) / 2));
  right: max(4vw, calc((100vw - 1480px) / 2));
  height: 1px;
  background: rgba(var(--navy-rgb),.16);
}
.stats-band .section-head {
  max-width: 360px;
  margin: 0;
  text-align: left;
}
.stats-band .section-head .kicker { margin-bottom: 15px; }
.stats-band .stats {
  max-width: none;
  margin: 0;
  gap: 0;
  background: transparent;
  border: 0;
}
.stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stats-band .stat {
  min-height: 124px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border-top: 1px solid rgba(var(--navy-rgb),.16);
}
.stats-band .stat:nth-child(-n + 4) { border-top: 0; }
.stats-band .stat:not(:nth-child(4n + 1)) { border-left: 1px solid rgba(var(--navy-rgb),.16); }
.stats-band .stat .num {
  color: var(--ink);
  font-size: clamp(34px, 3vw, 43px);
}
.stats-band .stat .cap {
  color: var(--text-mute);
  line-height: 1.5;
}
.section-dark .stat .num { color: #fff; }

/* ---------- ATRIC Living app ---------- */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 410px;
  margin-top: 30px;
}
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  min-height: 58px;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  transition: background .3s var(--ease);
}
.store-button:hover { background: var(--navy); }
.store-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: none;
}
.store-button small {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  line-height: 1.4;
}
.store-button b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.app-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-mute);
}
.app-section .store-button {
  background: #fff;
  color: var(--ink);
}
.app-section .store-button:hover { background: var(--sand); }
.app-section .store-button small { color: var(--text-mute); }
.app-section .app-note { color: var(--text-on-dark-mute); }
.app-shots {
  display: flex;
  direction: ltr;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
}
.app-shots img {
  width: min(46%, 248px);
  height: auto;
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(24, 24, 61, .16);
}
@media (max-width: 760px) {
  .app-shots { gap: 12px; }
  .app-section .store-buttons { width: 100%; margin-inline: auto; }
  .app-section .store-button { padding-inline: 16px; gap: 10px; }
  .app-section .app-note { text-align: center; }
}

/* ---------- partners ---------- */

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1120px;
  margin: 56px auto 0;
}
.partner-tile {
  background: var(--white);
  border: 1px solid #e6e0d8;
  width: 246px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--motion-ui) var(--ease-out);
}
.partner-tile img {
  max-width: 158px;
  max-height: 82px;
  width: auto;
  height: auto;
  filter: grayscale(1) opacity(.74);
  transition: filter var(--motion-ui) var(--ease-out), transform var(--motion-ui) var(--ease-out);
}
.partner-tile:hover { border-color: var(--bronze); }
.partner-tile:hover img { filter: none; transform: scale(1.03); }
@media (max-width: 760px) {
  .partner-tile { width: calc(50% - 8px); height: 104px; }
  .partner-tile img { max-width: 120px; max-height: 62px; }
}

/* ---------- custom dropdowns ---------- */

.dd {
  position: relative;
  width: 100%;
}
.dd.is-ready select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dd:not(.is-ready) > .dd-trigger,
.dd:not(.is-ready) > .dd-menu {
  display: none;
}
.dd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  user-select: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  transition: border-color .25s, background .25s, color .25s;
  border: 0;
  background: transparent;
  text-align: left;
}
.dd-trigger:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.dd-trigger:disabled { cursor: not-allowed; opacity: .6; }
.dd-trigger .dd-chevron {
  flex: none;
  width: 11px;
  height: 11px;
  transition: transform .3s var(--ease);
}
.dd.open .dd-trigger .dd-chevron { transform: rotate(180deg); }

/* closed-state contexts */
.hs-field .dd-trigger {
  padding: 6px 8px;
  color: var(--text-dark);
}
.hs-field .dd-chevron { stroke: var(--text-dark); }
.hs-field .dd.open .dd-trigger,
.hs-field .dd-trigger:hover { background: rgba(167,95,70,.08); }
.field .dd-trigger {
  padding: 10px 2px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: var(--text-on-dark);
}
.field .dd-chevron { stroke: var(--text-on-dark-mute); }
.dd.open .dd-trigger,
.field .dd-trigger:hover { border-color: var(--bronze); }

/* open menu */
.dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(var(--navy-rgb),.72);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 18px 45px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  max-height: 264px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--motion-ui) var(--ease-out), transform var(--motion-ui) var(--ease-out);
}
.dd-menu[hidden] { display: none; }
.dd.open .dd-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.dd.drop-up .dd-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(6px);
}
.dd.drop-up.open .dd-menu { transform: none; }
.dd-menu::-webkit-scrollbar { width: 6px; }
.dd-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); }
.dd-option {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--text-on-dark);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .18s, color .18s;
}
.dd-option:last-child { border-bottom: none; }
.dd-option:hover,
.dd-option.focused {
  background: rgba(255,255,255,.12);
}
.dd-option.selected {
  color: #f2d3b6;
  font-weight: 600;
  background: rgba(167,95,70,.16);
}
.dd-option.disabled {
  cursor: not-allowed;
  opacity: .48;
}
.dd-option.disabled:hover { background: transparent; }

/* ---------- form extras ---------- */

.field input[type="file"] {
  border-bottom: none;
  padding: 8px 0;
  font-size: 13px;
}
.field input[type="file"]::file-selector-button {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 18px;
  margin-right: 14px;
  /* Follow the surrounding form's text colour so the button stays visible on
     both the dark register panels and the light careers form. */
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.form-success p { font-size: 14.5px; color: var(--text-on-dark-mute); }
.form-error {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: #f2d3b6;
  margin-top: 4px;
}
.register .form-success h3 { color: var(--navy); }
.register .form-success p { color: var(--text-mute); }
.register .form-error { color: #8b2f2f; font-weight: 600; }

/* ---------- hero video ---------- */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-hero.video-hero { background: var(--navy); }
.p-hero.video-hero .hero-video { z-index: 0; }
.p-hero.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 82%, rgba(167,95,70,.2), transparent 32%),
    linear-gradient(135deg, #18183d 0%, #20204b 58%, #12122f 100%);
}
.p-hero.contact-hero::after {
  z-index: 0;
  background: radial-gradient(circle at 76% 42%, rgba(255,255,255,.075), transparent 52%);
}
.contact-hero .p-hero-content {
  align-self: end;
  padding-bottom: 72px;
}
.contact-hero-connect {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(520px, calc(100% - 56px));
  margin: calc(var(--nav-h) + 22px) 28px 28px 0;
  padding: clamp(30px, 4vw, 52px);
  background: rgba(246,243,240,.96);
  color: var(--navy);
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}
.contact-hero-label {
  display: block;
  margin-bottom: 12px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.contact-hero-connect strong {
  display: block;
  max-width: 330px;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.14;
}
.contact-hero-actions {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: rgba(var(--navy-rgb),.14);
}
.contact-hero-actions a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background: var(--paper);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.contact-hero-actions a:hover,
.contact-hero-actions a:focus-visible {
  background: var(--navy);
  color: var(--white);
}
.contact-hero-actions span {
  color: var(--text-mute);
  font-size: 12px;
}
.contact-hero-actions a:hover span,
.contact-hero-actions a:focus-visible span { color: rgba(255,255,255,.7); }
.contact-hero-actions b { font-size: 13px; letter-spacing: .08em; }
.contact-hours {
  margin-top: 22px;
  color: var(--text-mute);
  font-size: 12px;
}
.p-hero.developments-hero {
  align-items: center;
  height: min(72vh, 760px);
  min-height: 540px;
  background:
    linear-gradient(90deg, rgba(var(--navy-rgb),.9) 0%, rgba(var(--navy-rgb),.62) 46%, rgba(var(--navy-rgb),.18) 100%),
    url("../assets/img/developments-garden-walkway.jpg") center 58% / cover no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.p-hero.developments-hero::after {
  background: linear-gradient(to top, rgba(var(--navy-rgb),.52), transparent 48%);
}
@supports (background-image: image-set(url("data:image/avif;base64,AAAA") type("image/avif"))) {
  .p-hero.developments-hero {
    background-image:
      linear-gradient(90deg, rgba(var(--navy-rgb),.9) 0%, rgba(var(--navy-rgb),.62) 46%, rgba(var(--navy-rgb),.18) 100%),
      image-set(
        url("../assets/img/developments-garden-walkway.webp") type("image/webp"),
        url("../assets/img/developments-garden-walkway.jpg") type("image/jpeg")
      );
  }
}
.developments-hero .p-hero-content {
  max-width: 900px;
  padding: calc(var(--nav-h) + 72px) var(--page-gutter) 72px;
  align-self: end;
}
.developments-hero .p-hero-content::before {
  display: none;
}
.developments-hero .p-hero-content .kicker { color: var(--sand); }
.developments-hero .p-hero-content p { margin-bottom: 0; color: rgba(255,255,255,.72); }

/* ---------- content pages ---------- */

.p-hero.short { height: auto; min-height: max(440px, 62dvh); }

.features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.article {
  max-width: 760px;
  margin: 0 auto;
}
.article p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.9;
}
.article .date {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: var(--media-position, center);
}
.gallery > .event-picture { height: 320px; }
.gallery > .event-picture > img { height: 100%; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mission-card {
  background: transparent;
  padding: clamp(38px, 5vw, 70px);
}
.mission-card + .mission-card { border-left: 1px solid var(--line); }
.mission-card .kicker { margin-bottom: 12px; }
.mission-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.mission-card p { font-size: 14.5px; color: var(--text-mute); }

.jobs { max-width: 900px; margin: 0 auto; }
.careers-positions .kicker { color: #98503a; }
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid #ddd5cb;
}
.job-row h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.job-row h3 a {
  color: inherit;
  text-decoration: none;
}
.job-row h3 a:hover { color: var(--bronze); }
.job-row-copy { min-width: 0; }
.job-row .meta {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}
.job-summary {
  max-width: 650px;
  margin-top: 10px;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.65;
}
.job-posted {
  margin-top: 9px;
  color: var(--text-mute);
  font-size: 11px;
}
.job-row-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.job-row-actions .text-link {
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.job-row .btn { padding: 11px 24px; font-size: 10.5px; white-space: nowrap; }

.career-role-hero {
  background: linear-gradient(135deg, #252552 0%, var(--navy) 68%);
}
.career-role-hero .p-hero-content { max-width: 880px; }
.career-detail-section { background: var(--cream); }
.career-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px);
  background: #fff;
  border: 1px solid rgba(var(--navy-rgb), .1);
  box-shadow: 0 22px 60px rgba(var(--navy-rgb), .07);
}
.career-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.career-detail-meta li {
  padding: 9px 13px;
  background: rgba(var(--navy-rgb), .055);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.career-detail-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ddd5cb;
  color: var(--text-mute);
  font-size: 12px;
}
.career-detail-copy { padding-top: 36px; }
.career-detail-copy p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.82;
}
.career-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 38px;
}
.career-detail-actions .text-link {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dev-grid .comm-card { flex: none; }
.dev-grid .comm-card.wide { grid-column: 1 / -1; }
.dev-grid .comm-card.is-filtered-out { display: none; }
.dev-filter-status {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--text-mute);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin-bottom: 70px;
}
.contact-card {
  background: var(--white);
  padding: 44px 38px;
  text-align: left;
}
.contact-card:first-child {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  background: var(--navy);
  color: var(--white);
}
.contact-card:first-child .kicker { color: var(--sand); }
.contact-card:first-child .big { color: var(--white); font-size: clamp(38px, 4vw, 62px); }
.contact-card:first-child p { color: var(--text-on-dark-mute); }
.contact-card:first-child a.link { color: var(--white); }
html[dir="rtl"] .contact-card { text-align: right; }
.contact-card .kicker { margin-bottom: 14px; }
.contact-card p { font-size: 14.5px; color: var(--text-mute); margin-bottom: 18px; }
.contact-card a.link {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 3px;
}
.contact-card .big {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.contact-optional {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 18px;
}
.contact-router {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.contact-router button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(var(--navy-rgb),.22);
  background: transparent;
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.contact-router button:hover,
.contact-router button:focus-visible,
.contact-router button[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.register .contact-router button {
  border-color: rgba(255,255,255,.52);
  background: rgba(var(--navy-rgb),.2);
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0,0,0,.28);
}
.register .contact-router button:hover,
.register .contact-router button:focus-visible,
.register .contact-router button[aria-pressed="true"] {
  border-color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.96);
  color: var(--navy);
  text-shadow: none;
  box-shadow: 0 12px 30px rgba(var(--navy-rgb),.2);
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide,
  .hero-slide.active { animation: none; transition: none; }
}

/* ---------- Arabic / RTL ---------- */

html[dir="rtl"] {
  --serif: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "rlig" 1, "calt" 1, "liga" 1, "kern" 1;
}

/* Tracking designed for Latin capitals breaks Arabic cursive joining.
   Reset it for every RTL descendant, including page-scoped map controls. */
html[dir="rtl"] body * {
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

html[dir="rtl"] .brand-ltr,
html[dir="rtl"] .footer-logo,
html[dir="rtl"] input[type="email"] {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .footer-logo {
  text-align: right;
}

html[dir="rtl"] .footer-logo img {
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .nav-right {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .nav-links a,
html[dir="rtl"] .nav-contact,
html[dir="rtl"] .btn,
html[dir="rtl"] .kicker,
html[dir="rtl"] .cap,
html[dir="rtl"] .tag,
html[dir="rtl"] .more,
html[dir="rtl"] .text-link,
html[dir="rtl"] .event-filter,
html[dir="rtl"] .contact-card a.link,
html[dir="rtl"] .project-feature-media figcaption {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .nav-links a,
html[dir="rtl"] .nav-contact { font-size: 13px; }
html[dir="rtl"] .nav .btn { font-size: 12px; }
html[dir="rtl"] .btn { font-size: 13px; }
html[dir="rtl"] .kicker { font-size: 13px; }
html[dir="rtl"] .lead { line-height: 1.9; }

html[dir="rtl"] .hero-content,
html[dir="rtl"] .p-hero-content { margin-left: auto; }

html[dir="rtl"] .hero-content p,
html[dir="rtl"] .p-hero-content p { line-height: 1.9; }

html[dir="rtl"] .hs-field {
  border-right: 0;
  border-left: 1px solid #e8e2d8;
}

html[dir="rtl"] .hs-field:last-of-type { border-left: 0; }

html[dir="rtl"] .dd-trigger,
html[dir="rtl"] .dd-option,
html[dir="rtl"] .field input,
html[dir="rtl"] .field textarea { text-align: right; }

html[dir="rtl"] .dd-chevron { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .carousel { direction: rtl; }
html[dir="rtl"] .carousel-nav { direction: ltr; }
html[dir="rtl"] .form-note { text-align: center; }
html[dir="rtl"] .footer-bottom { direction: rtl; }

html[dir="rtl"] .comm-label {
  right: 34px;
  left: auto;
  text-align: right;
}

html[dir="rtl"] .register .section-head { text-align: right; }
html[dir="rtl"] .register .section-head .lead { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .register input[type="email"],
html[dir="rtl"] .register input[type="tel"] {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .fact {
  border-left: 0;
  border-right: 1px solid rgba(255,255,255,.09);
}

html[dir="rtl"] .fact:first-child { border-right: 0; }

html[dir="rtl"] .project-feature-media figcaption {
  right: 20px;
  left: auto;
}

html[dir="rtl"] .project-feature-copy,
html[dir="rtl"] .project-location-copy { align-items: flex-start; }

html[dir="rtl"] .cta,
html[dir="rtl"] .text-link span { display: inline-block; }

/* ---------- optional consent scaffold (disabled by default) ---------- */

.consent-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 8500;
  width: min(660px, calc(100vw - 44px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 24px;
  color: var(--text-on-dark);
  background: rgba(24,24,61,.97);
  border: 1px solid rgba(236,231,226,.18);
  box-shadow: 0 24px 70px rgba(6,6,20,.28);
}
.consent-banner strong { display: block; margin-bottom: 5px; }
.consent-banner p { color: var(--text-on-dark-mute); font-size: 12px; line-height: 1.6; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-actions .btn { min-height: 44px; padding: 10px 14px; white-space: nowrap; }
html[dir="rtl"] .consent-banner { right: auto; left: 22px; }
@media (max-width: 700px) {
  .consent-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); align-items: stretch; flex-direction: column; }
  html[dir="rtl"] .consent-banner { right: 12px; left: auto; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---------- legal pages ---------- */

.legal-hero {
  background:
    linear-gradient(110deg, rgba(24,24,61,.96), rgba(24,24,61,.78)),
    url("../assets/img/lifestyle-hammock-master-4k.webp") center 52% / cover no-repeat;
}
.legal-page { background: var(--paper); }
.legal-shell {
  width: min(880px, 100%);
  margin: 0 auto;
}
.legal-intro {
  margin-bottom: 52px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.55;
}
.legal-shell article {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.legal-shell article:first-of-type { padding-top: 0; }
.legal-shell h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(19px, 2vw, 26px);
}
.legal-shell p { color: var(--text-mute); }
.legal-shell a {
  color: var(--navy);
  border-bottom: 1px solid var(--bronze);
}
.footer-legal {
  display: inline-flex;
  gap: 14px;
  margin-inline-start: 18px;
}
.footer-legal a { color: inherit; border-bottom: 1px solid rgba(255,255,255,.28); }

/* ---------- branded 404 ---------- */

.error-page { background: var(--paper); }
.error-hero {
  min-height: min(760px, 82vh);
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 86px) 7vw 90px;
  color: var(--text-on-dark);
  text-align: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(167,95,70,.25), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(236,231,226,.1), transparent 38%),
    linear-gradient(135deg, #18183d 0%, #2a2b55 55%, #18183d 100%);
}
.error-copy { width: min(760px, 100%); }
.error-copy .kicker { margin-bottom: 20px; color: #d38a70; }
.error-copy .display {
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
}
.error-copy p {
  width: min(620px, 100%);
  margin: 0 auto;
  color: rgba(236,231,226,.8);
  font-size: clamp(15px, 1.5vw, 18px);
}
.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.error-actions .btn { min-width: 170px; }
.error-destinations { padding-top: 96px; }
.error-project-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  max-width: 1360px;
  margin: 52px auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.error-project-links a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px;
  background: var(--white);
  color: var(--navy);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.error-project-links a:hover,
.error-project-links a:focus-visible {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-3px);
}
.error-project-links span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.error-project-links strong { font-size: 17px; font-weight: 600; }
.error-contact-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 44px auto 0;
  color: var(--text-mute);
  font-size: 13px;
}
.error-contact-line a {
  color: var(--navy);
  border-bottom: 1px solid var(--bronze);
}
html[dir="rtl"] .error-project-links span { letter-spacing: 0; text-transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .happenings-section .news-card,
  .happenings-section .news-card:nth-child(5n + 2),
  .happenings-section .news-card:nth-child(5n + 3) { grid-column: span 6; }
  .happenings-section .news-card--featured { grid-column: 1 / -1; }
  .nav-contact span { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .stats-band .section-head {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  .register {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .register .section-head,
  html[dir="rtl"] .register .section-head {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }
  .register .section-head .lead,
  html[dir="rtl"] .register .section-head .lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1021px) and (max-width: 1320px) {
  .nav {
    gap: 12px;
    padding-inline: 22px;
  }
  .nav-links { gap: 13px; }
  .nav-links a {
    font-size: 10px;
    letter-spacing: .13em;
  }
  .nav-right { gap: 8px; }
  .nav-contact {
    font-size: 10px;
    letter-spacing: .08em;
  }
  .nav-contact span { display: none; }
  .nav .btn {
    padding-inline: 14px;
    letter-spacing: .12em;
  }
}

@media (max-width: 760px) {
  #developments {
    padding-top: 64px;
    padding-bottom: 52px;
  }
  #developments .section-head { margin-bottom: 34px; }
  .hero {
    height: auto;
    min-height: max(640px, 100dvh);
    display: flex;
    align-items: flex-end;
  }
  .hero-slide.active { animation: none; }
  .reveal {
    transform: translateY(16px);
    transition-duration: .55s;
  }
  .hero-content {
    padding: 0 5vw 190px;
    max-width: none;
  }
  .hero-content > .display + .btn { margin-top: 24px; }
  .nav {
    gap: 12px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .nav-logo img { height: 34px; }
  .nav-right { gap: 12px; }
  .nav-contact { display: none; }
  .language-switch { font-size: 11px; }
  .hero-search {
    position: absolute;
    left: 5vw;
    right: 5vw;
    bottom: 0;
    width: auto;
    margin: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: visible;
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
  }
  .hs-field {
    padding: 13px 14px;
    border-right: 1px solid #e8e2d8;
    border-bottom: 1px solid #e8e2d8;
  }
  .hs-field:nth-child(2) { border-right: none; }
  .hs-field label { margin-bottom: 4px; }
  .hs-field .dd-trigger {
    min-height: 34px;
    padding: 5px 0;
    font-size: 14px;
  }
  .hero-search .btn-solid {
    grid-column: 1 / -1;
    min-height: 58px;
    padding: 18px;
  }
  .hero-search .dd-menu {
    max-height: 240px;
  }
  .hero-search .dd-option { padding: 14px 18px; }
  .stats-band .stat { text-align: center; }
  .stats-band {
    gap: 38px;
    padding: 72px 6vw;
  }
  .stats-band .stat {
    min-height: 112px;
    padding: 20px 12px;
  }
  .stats-band .stat:nth-child(n) { border-top: 1px solid rgba(var(--navy-rgb),.16); }
  .stats-band .stat:nth-child(-n + 2) { border-top: 0; }
  .stats-band .stat:nth-child(odd) { border-left: 0; }
  .stats-band .stat:nth-child(even) { border-left: 1px solid rgba(var(--navy-rgb),.16); }
  /* Mobile: wrap the section links into centred rows — a clipped scroll strip
     with no affordance read as broken. */
  .company-nav {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 26px;
    row-gap: 14px;
    padding: 20px 6vw;
  }
  /* Mobile: the floating centred numbers read as scattered; a ledger grid with
     hairlines gives the figures visible structure. */
  .company-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    text-align: start;
  }
  .company-stats .stat {
    align-items: flex-start;
    padding: 20px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .company-stats .stat:nth-child(-n + 2) { border-top: 0; }
  .company-stats .stat:nth-child(even) { border-inline-start: 1px solid rgba(255, 255, 255, .16); }
  .company-stats .stat .num { font-variant-numeric: tabular-nums; }
  .company-stats .cap { max-width: none; }
  .values-intro { padding-bottom: 56px; }
  .value-story { grid-template-columns: 1fr; min-height: 0; }
  .value-story-media,
  .value-story-media img { min-height: 0; height: 280px; }
  .value-story-reverse .value-story-media { order: 0; }
  .value-story-copy {
    align-items: flex-start;
    max-width: none;
    padding: 48px 7vw 56px;
    text-align: left;
  }
  html[dir="rtl"] .value-story-copy { align-items: flex-end; text-align: right; }
  .project-features-intro { padding-top: 70px; padding-bottom: 64px; }
  /* Mobile: the features become a vertical editorial stack (full-bleed image,
     copy below, hairline separators) instead of a horizontal peek-carousel. */
  .project-features { padding: 0; }
  .project-feature-story {
    grid-template-columns: 1fr;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(var(--navy-rgb),.1);
  }
  .project-feature-story:nth-child(even) .project-feature-media { order: 0; }
  .project-feature-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .project-feature-copy {
    align-items: flex-start;
    min-height: 0;
    padding: 32px 7vw 46px;
    text-align: left;
  }
  .project-feature-copy .kicker { margin-bottom: 12px; }
  .project-feature-copy p { margin-top: 14px; }
  .project-feature-link { margin-top: 22px; }
  /* RTL column flex: inline-start (right) is flex-start, not flex-end */
  html[dir="rtl"] .project-feature-copy { align-items: flex-start; text-align: right; }
  .project-feature-media figcaption { left: 12px; bottom: 12px; }
  html[dir="rtl"] .project-feature-media figcaption { right: 12px; left: auto; }
  .project-location-story { grid-template-columns: 1fr; min-height: 0; }
  .project-location-map { min-height: 310px; padding: 32px 6vw; }
  .project-location-copy { padding: 56px 7vw 64px; text-align: center; }
  .project-location-copy > p { margin-left: auto; margin-right: auto; }
  .project-distance-grid { width: 100%; text-align: left; }
  .project-access {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 64px 7vw;
    text-align: center;
  }
  .project-access-intro > p { margin-left: auto; margin-right: auto; }
  .project-access-grid { width: 100%; text-align: left; }
  .project-access-note { grid-column: 1; margin-top: 0; text-align: center; }
  .split { grid-template-columns: 1fr; }
  .split-img { order: -1; }
  .split-img img { height: 320px; }
  .split > .reveal:not(.split-img) { text-align: left; }
  html[dir="rtl"] .split > .reveal:not(.split-img) { text-align: right; }
  .bridge-focus { object-position: 64% center; }
  .p-hero { background-position: var(--hero-position-mobile, var(--hero-position, center)); }
  .event-hero[style*="ev-atric-roadmap-2024-1"] {
    background-size: auto 158%;
  }
  @supports (background-image: image-set(url("data:image/avif;base64,AAAA") type("image/avif"))) {
    .event-hero { background-image: var(--event-hero-image-mobile, var(--event-hero-image)) !important; }
  }
  .p-hero-media > img,
  .p-hero > .cms-managed-hero-image { object-position: var(--hero-position-mobile, var(--hero-position, center)); }
  .p-hero-content {
    width: 100%;
    max-width: none;
    padding: 0 7vw 56px;
    text-align: center;
  }
  .p-hero-content p { margin-left: auto; margin-right: auto; }
  .developments-hero .p-hero-content { padding: var(--nav-h) 7vw 0; }
  .developments-hero .p-hero-content::before { margin-left: auto; margin-right: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats.cols-4 { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid.cols-2 { grid-template-columns: 1fr; }
  .happenings-section { padding-top: 8px; }
  .happenings-head { margin-bottom: 24px; }
  .happenings-toolbar {
    display: block;
    padding: 10px 4vw 12px;
    margin-bottom: 30px;
  }
  .event-filters {
    width: 100%;
    padding: 0;
  }
  .event-filter {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
  }
  .event-filter::after { bottom: 0; }
  .event-result-count { margin-top: 8px; }
  .news-card--featured {
    grid-column: span 1;
    display: flex;
    min-height: 0;
  }
  .news-card--featured > img,
  .news-card--featured > .event-picture {
    height: 270px;
    min-height: 0;
  }
  .news-card--featured > .event-picture > img { min-height: 0; }
  .news-card--featured .news-body { padding: 30px 26px 34px; }
  .happenings-section .news-grid { grid-template-columns: 1fr; }
  .happenings-section .news-card,
  .happenings-section .news-card--featured,
  .happenings-section .news-card:nth-child(5n + 2),
  .happenings-section .news-card:nth-child(5n + 3) { grid-column: 1; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img,
  .gallery > .event-picture { height: 240px; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card + .mission-card { border-left: 0; border-top: 1px solid var(--line); }
  .dev-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .contact-card:first-child { grid-row: auto; min-height: 300px; }
  .job-row { flex-direction: column; align-items: center; text-align: center; }
  .job-row-actions { flex-wrap: wrap; justify-content: center; }
  .career-detail { padding: 34px 22px; }
  .career-detail-meta,
  .career-detail-dates,
  .career-detail-actions { justify-content: center; text-align: center; }
  .career-detail-actions .btn { width: 100%; justify-content: center; }
  .fact { border-left: none; border-top: 1px solid rgba(255,255,255,.09); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-logo img { margin-left: auto; margin-right: auto; }
  .footer-public-contact { justify-items: center; }
  html[dir="rtl"] .footer-logo img { margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .comm-card { flex-basis: 86vw; }
  .comm-label { left: 22px; bottom: 22px; }
  html[dir="rtl"] .comm-label { right: 22px; left: auto; }
  .nav .btn {
    display: inline-flex;
    padding: 9px 12px;
    font-size: 9.5px;
    letter-spacing: .09em;
    white-space: nowrap;
  }
  html[dir="rtl"] .nav .btn { font-size: 10px; }
  .register {
    min-height: 0;
    gap: 34px;
    padding: 72px 6vw;
    background-position: 62% center;
  }
  .register .form {
    padding: 28px 20px 30px;
    gap: 20px;
  }
  .register .form-actions { margin-top: 8px; }

  html[dir="rtl"] .hs-field { border-left: 1px solid #e8e2d8; }
  html[dir="rtl"] .hs-field:nth-child(2) { border-left: none; }
  html[dir="rtl"] .fact { border-right: none; }
}

@media (max-width: 760px) {
  .value-story-immersive {
    display: block;
    min-height: 580px;
  }
  .value-story-immersive::after {
    background: linear-gradient(to top, rgba(var(--navy-rgb), .9) 0%, rgba(var(--navy-rgb), .5) 62%, rgba(var(--navy-rgb), .1) 100%);
  }
  .value-story-immersive .value-story-copy {
    justify-content: flex-end;
    min-height: 580px;
    padding-bottom: 58px;
  }
  .p-hero.developments-hero {
    height: 72dvh;
    min-height: 520px;
    background-position: 64% center;
  }
  .developments-hero .p-hero-content {
    align-self: end;
    padding: var(--nav-h) 7vw 56px;
    text-align: left;
  }
  html[dir="rtl"] .developments-hero .p-hero-content { text-align: right; }
}

@media (max-width: 760px) {
  .p-hero.contact-hero {
    min-height: 760px;
    height: auto;
    grid-template-columns: 1fr;
    align-content: end;
    padding-top: calc(var(--nav-h) + 42px);
  }
  .contact-hero .p-hero-content {
    align-self: auto;
    padding: 40px 6vw 28px;
  }
  .contact-hero-connect {
    width: auto;
    margin: 0 5vw 34px;
    padding: 28px 24px;
  }
  .contact-hero-connect strong { font-size: 28px; }
  .contact-hero-actions { margin-top: 24px; }
  .contact-router { width: 100%; }
  .contact-router button { flex: 1 1 130px; }
}

@media (hover: none) {
  .comm-label .cta {
    opacity: 1;
    transform: none;
  }
  .comm-card:hover img,
  .news-card:hover img,
  .partner-tile:hover img { transform: none; }
  .news-card:hover { transform: none; }
  .partner-tile img { filter: none; }
}

:where(.dd-trigger, .event-filter, .nav-burger, .carousel-nav button, .contact-router button, .project-card-cta):active {
  transform: scale(.98);
}

input,
textarea,
select { caret-color: var(--bronze); }

/* ---------- burger + full-screen glass menu ---------- */

.nav-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--motion-ui) var(--ease-out), transform var(--motion-press) var(--ease-out);
}
.nav-burger span {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  height: 2px;
  width: 22px;
  margin-block-start: -1px;
  margin-inline-start: -11px;
  border-radius: 999px;
  background: var(--text-on-dark);
  transform-origin: center;
  transition: background-color var(--motion-ui) var(--ease-out), transform var(--motion-ui) var(--ease-out), opacity var(--motion-ui) var(--ease-out);
}
.nav-burger span:nth-child(1) { transform: translateY(-7px); }
.nav-burger span:nth-child(3) { transform: translateY(7px); }
@media (hover: hover) and (pointer: fine) {
  .nav-burger:hover { background: rgba(255, 255, 255, .1); }
  .nav-burger:hover span { background: #fff; }
}
.nav-burger:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
html.menu-open .nav-burger span:nth-child(1) { transform: rotate(45deg); }
html.menu-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(.35); }
html.menu-open .nav-burger span:nth-child(3) { transform: rotate(-45deg); }

html.menu-open .nav {
  z-index: 9001;
  background: transparent;
  box-shadow: none;
}
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  background: rgba(24, 24, 61, .97);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-out), visibility 0s 240ms;
  overflow-y: auto;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-menu { background: rgba(24, 24, 61, .94); }
}
html.menu-open .site-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms var(--ease-out), visibility 0s;
}
html.menu-open { overflow: hidden; }

.site-menu-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 6vh) 0 44px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.site-menu-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 0;
}
.site-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: clamp(12px, 2.6vh, 24px) 6px;
  border-bottom: 1px solid rgba(236, 231, 226, .14);
  color: var(--text-on-dark);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(27px, 5.2vh, 46px);
  letter-spacing: -.01em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(7px);
  transition: color var(--motion-ui) var(--ease-out), opacity 580ms cubic-bezier(.25,.1,.25,1), transform 680ms cubic-bezier(.22,.61,.36,1);
}
.site-menu-links a i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--bronze);
  min-width: 34px;
}
.site-menu-links a:hover { color: #fff; transform: translateX(4px); }
html[dir="rtl"] .site-menu-links a:hover { transform: translateX(-4px); }
.site-menu-links a:focus-visible {
  outline: 1px solid var(--sand);
  outline-offset: 4px;
}
html.menu-open .site-menu-links a {
  opacity: 1;
  transform: none;
  transition-delay: 0ms, var(--menu-link-delay, 100ms), var(--menu-link-delay, 100ms);
}
html.menu-open .site-menu-links a:nth-child(1) { --menu-link-delay: 120ms; }
html.menu-open .site-menu-links a:nth-child(2) { --menu-link-delay: 280ms; }
html.menu-open .site-menu-links a:nth-child(3) { --menu-link-delay: 440ms; }
html.menu-open .site-menu-links a:nth-child(4) { --menu-link-delay: 600ms; }
html.menu-open .site-menu-links a:nth-child(5) { --menu-link-delay: 760ms; }
html.menu-open .site-menu-links a:nth-child(6) { --menu-link-delay: 920ms; }
html.menu-open .site-menu-links a:focus-visible { transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .nav-burger,
  .nav-burger span { transition: none; }
  html.menu-open .site-menu-links a { transition: none; opacity: 1; transform: none; }
}

.site-menu-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding-top: 30px;
}
.site-menu-tagline {
  max-width: 620px;
  margin-top: 24px;
  color: var(--text-on-dark-mute);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.7;
}
.site-menu-foot a {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  transition: color .3s var(--ease);
}
.site-menu-foot a:hover { color: #fff; }
.site-menu-foot .btn { margin-inline-start: auto; color: var(--white); }
.site-menu-foot .btn:hover { color: var(--navy); }

@media (max-width: 760px) {
  .site-menu {
    height: 100dvh;
    background: var(--navy);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-menu-inner {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .company-nav {
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .site-menu-links a { font-size: clamp(23px, 3.4vh, 32px); gap: 16px; }
  .site-menu-foot { padding-bottom: 12px; }
  .site-menu-foot .btn { margin-inline-start: 0; width: 100%; text-align: center; }
}

/* ---------- full-bleed location map (Boardwalk) ---------- */
.project-location-story.map-flush .project-location-map {
  padding: 0;
  background: var(--ink);
}
.project-location-story.map-flush .project-location-map a {
  display: block;
  width: 100%;
  height: 100%;
}
.project-location-story.map-flush .project-location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .project-location-story.map-flush .project-location-map a {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- control-centre reusable sections ---------- */
.cms-sections-region {
  display: contents;
}

.cms-managed-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--text-dark);
}
.cms-managed-section.cms-theme-sand { background: var(--cream); }
.cms-managed-section.cms-theme-blue,
.cms-managed-section.cms-theme-dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.cms-managed-section.cms-theme-transparent { background: transparent; }
.cms-managed-section.cms-theme-image { background: var(--navy); color: var(--text-on-dark); }

.cms-section-inner {
  width: min(1180px, 92vw);
  margin-inline: auto;
  padding-block: clamp(72px, 8vw, 120px);
}
.cms-section-copy {
  max-width: 720px;
}
.cms-section-copy > .display,
.cms-section-centered > .display {
  margin-bottom: 22px;
}
.cms-section-copy > p:not(.kicker),
.cms-section-centered > p:not(.kicker) {
  color: var(--text-mute);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  margin-top: 14px;
}
.cms-theme-blue .cms-section-copy > p:not(.kicker),
.cms-theme-dark .cms-section-copy > p:not(.kicker),
.cms-theme-image .cms-section-copy > p:not(.kicker),
.cms-theme-blue .cms-section-centered > p:not(.kicker),
.cms-theme-dark .cms-section-centered > p:not(.kicker),
.cms-theme-image .cms-section-centered > p:not(.kicker) {
  color: var(--text-on-dark-mute);
}
.cms-section-centered {
  text-align: center;
}
.cms-section-centered .cms-section-copy,
.cms-section-centered > p {
  margin-inline: auto;
}
.cms-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.cms-section-centered .cms-section-actions { justify-content: center; }

.cms-section-split,
.cms-section-form-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}
.cms-section-split.cms-image-right .cms-section-copy { order: 1; }
.cms-section-split figure {
  min-height: 420px;
  height: min(56vw, 640px);
}
.cms-section-split figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-position, center);
}

.cms-section-spotlight {
  width: 100%;
  min-height: min(72vh, 720px);
  padding-inline: max(4vw, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(var(--navy-rgb), .94), rgba(var(--navy-rgb), .56)),
    var(--cms-section-image, none) center / cover no-repeat;
  color: var(--text-on-dark);
}
.cms-section-spotlight .cms-section-copy > p:not(.kicker) {
  color: var(--text-on-dark-mute);
}
.cms-section-spotlight .btn-dark {
  color: var(--white);
  border-color: rgba(255,255,255,.72);
}

.cms-section-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 54px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.cms-section-stats > div {
  padding: 34px 22px;
  border-inline-end: 1px solid currentColor;
}
.cms-section-stats > div:last-child { border-inline-end: 0; }
.cms-section-stats strong {
  display: block;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.04em;
}
.cms-section-stats span {
  display: block;
  margin-top: 12px;
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.cms-theme-blue .cms-section-stats span,
.cms-theme-dark .cms-section-stats span { color: var(--text-on-dark-mute); }

.cms-section-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 48px;
  text-align: start;
}
.cms-section-gallery figure {
  grid-column: span 4;
  min-height: 320px;
}
.cms-section-gallery figure:nth-child(5n + 1),
.cms-section-gallery figure:nth-child(5n + 2) { grid-column: span 6; }
.cms-section-gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: var(--media-position, center);
}
.cms-section-gallery figcaption {
  padding-top: 9px;
  color: var(--text-mute);
  font-size: 12px;
}

.cms-section-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 48px;
  text-align: start;
}
.cms-section-features article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.3);
}
.cms-section-features article > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--media-position, center);
}
.cms-section-features article > div { padding: 28px; }
.cms-section-features article .display { margin-bottom: 14px; }
.cms-section-features article p:not(.kicker) { color: var(--text-mute); }
.cms-theme-blue .cms-section-features article,
.cms-theme-dark .cms-section-features article {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
}
.cms-theme-blue .cms-section-features article p:not(.kicker),
.cms-theme-dark .cms-section-features article p:not(.kicker) {
  color: var(--text-on-dark-mute);
}

.cms-managed-form {
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--line);
}
.cms-managed-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cms-managed-form label { display: block; }
.cms-managed-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.cms-managed-form input,
.cms-managed-form select,
.cms-managed-form textarea {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px;
  background: transparent;
  color: var(--text-dark);
  font: inherit;
}
.cms-managed-form .dd-trigger {
  min-height: 46px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dark);
}
.cms-managed-form .dd-chevron { stroke: var(--text-dark); }
.cms-managed-form .dd-trigger:hover,
.cms-managed-form .dd.open .dd-trigger { border-bottom-color: var(--bronze); }
.cms-managed-form .dd-menu { background: rgba(var(--navy-rgb),.97); }
.cms-managed-form textarea { resize: vertical; }
.cms-managed-form input:focus,
.cms-managed-form select:focus,
.cms-managed-form textarea:focus {
  outline: 0;
  border-bottom-color: var(--bronze);
}
.cms-managed-form-wide { grid-column: 1 / -1; }
.cms-managed-form .btn { margin-top: 24px; }
.cms-managed-form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--bronze);
  font-size: 13px;
}
.cms-managed-form-status.is-error { color: #9c342e; }

.cms-section-spacer { height: clamp(52px, 7vw, 100px); }
.cms-section-spacer[data-size="small"] { height: 34px; }
.cms-section-spacer[data-size="large"] { height: clamp(96px, 12vw, 180px); }

.nav-links > li { position: relative; }
.nav-submenu {
  position: absolute;
  inset-inline-start: -20px;
  top: calc(100% + 14px);
  width: 220px;
  padding: 12px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-links > li:hover .nav-submenu,
.nav-links > li:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-submenu li,
.nav-submenu a { display: block; }
.nav-submenu a { padding: 10px 9px; white-space: normal; }
.site-menu-links .site-menu-child {
  padding-inline-start: 44px;
  font-size: clamp(20px, 4vh, 34px);
}

@media (max-width: 900px) {
  .cms-section-split,
  .cms-section-form-layout {
    grid-template-columns: 1fr;
  }
  .cms-section-split.cms-image-right .cms-section-copy { order: initial; }
  .cms-section-split figure { min-height: 0; height: min(78vw, 520px); }
  .cms-section-gallery figure,
  .cms-section-gallery figure:nth-child(5n + 1),
  .cms-section-gallery figure:nth-child(5n + 2) { grid-column: span 6; }
}

@media (max-width: 640px) {
  .cms-section-inner { width: min(90vw, 1180px); padding-block: 64px; }
  .cms-section-spotlight { min-height: 560px; padding-inline: 5vw; }
  .cms-section-gallery { gap: 10px; }
  .cms-section-gallery figure,
  .cms-section-gallery figure:nth-child(5n + 1),
  .cms-section-gallery figure:nth-child(5n + 2) {
    grid-column: 1 / -1;
    min-height: 280px;
  }
  .cms-section-stats { grid-template-columns: repeat(2, 1fr); }
  .cms-section-stats > div:nth-child(2n) { border-inline-end: 0; }
  .cms-managed-form-grid { grid-template-columns: 1fr; }
  .cms-managed-form-wide { grid-column: auto; }
  .cms-section-actions .btn { width: 100%; text-align: center; }
}

/* ============================================================
   Project lead-capture layer — isolated 2026-08-05 enhancement
   ============================================================ */

.project-lead-inner {
  width: min(88vw, 1320px);
  margin-inline: auto;
}

.project-search-intro {
  background:
    linear-gradient(90deg, rgba(var(--navy-rgb), .035), transparent 38%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(38px, 5vw, 72px) 0;
}

.project-search-intro .project-lead-inner {
  width: min(90vw, 1020px);
  text-align: center;
}

.project-search-intro h2 {
  max-width: 900px;
  margin-inline: auto;
  color: var(--navy);
  font-size: clamp(28px, 3.25vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.project-search-intro p {
  max-width: 780px;
  margin: 20px auto 0;
  color: var(--text-mute);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.project-decision-section,
.project-proof-section,
.project-faq-section {
  padding: clamp(84px, 9vw, 140px) 0;
}

.project-decision-section {
  background: var(--paper);
}

.project-lead-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 82px);
}

.project-lead-heading > div:only-child {
  grid-column: 1 / -1;
}

.project-lead-heading > div:only-child .display {
  margin-top: 0;
}

.project-lead-heading .display {
  max-width: 760px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(38px, 4.7vw, 66px);
  line-height: .99;
  letter-spacing: -.045em;
}

.project-lead-heading > p,
.project-lead-heading > div > p {
  max-width: 600px;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.75;
}

.project-inline-map-link {
  display: inline-flex;
  margin-top: 20px;
}

.project-unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
}

.project-unit-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-unit-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-unit-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(var(--navy-rgb), .11);
  box-shadow: none;
  transition: border-color var(--motion-ui) var(--ease-out);
}

.project-unit-card:hover {
  border-color: rgba(167, 95, 70, .48);
}

.project-unit-card > img,
.project-unit-card > picture {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-unit-card > img {
  object-position: var(--media-position, center);
}

.project-unit-card > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-position, center);
}

.project-unit-card-copy {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: clamp(24px, 2.3vw, 36px);
}

.project-unit-card-copy h3 {
  color: var(--navy);
  font-size: clamp(22px, 1.75vw, 30px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.project-unit-card-copy p {
  margin-top: 14px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.7;
}

.project-card-cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 8px;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--bronze);
  background: transparent;
  color: var(--navy);
  font: 600 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-card-cta:hover {
  color: var(--bronze);
}

.project-card-cta:focus-visible,
.project-faq-list summary:focus-visible,
.project-mobile-action:focus-visible,
.project-mobile-actions-close:focus-visible,
.project-brochure-form input:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 4px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 54px);
}

.project-gallery-grid figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--navy);
}

.project-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: var(--media-position, center);
}

.project-gallery-grid figcaption {
  position: absolute;
  inset-inline: 16px auto;
  bottom: 16px;
  padding: 8px 11px;
  background: rgba(var(--navy-rgb), .78);
  color: #fff;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-location-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .55fr);
  background: var(--navy);
  color: var(--text-on-dark);
}

.project-location-feature-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.project-location-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: var(--media-position, center);
}

.project-location-feature-media span {
  position: absolute;
  inset-inline: 24px auto;
  bottom: 22px;
  max-width: calc(100% - 48px);
  padding: 9px 12px;
  background: rgba(var(--navy-rgb), .82);
  color: #fff;
  font: 600 10px/1.35 var(--sans);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.project-location-feature-copy {
  align-self: center;
  padding: clamp(54px, 7vw, 105px) clamp(34px, 5vw, 82px);
}

.project-location-feature-copy .display {
  margin-top: 14px;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1;
}

.project-location-feature-copy p {
  margin: 24px 0 34px;
  color: var(--text-on-dark-mute);
  line-height: 1.8;
}

.project-location-empty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding: clamp(72px, 8vw, 120px) max(6vw, calc((100vw - 1320px) / 2));
  background: var(--navy);
  color: var(--text-on-dark);
}

.project-location-empty-mark {
  display: none;
}

.project-location-empty .display {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(38px, 4.7vw, 66px);
  line-height: 1;
}

.project-location-empty p {
  max-width: 720px;
  margin: 22px 0 26px;
  color: var(--text-on-dark-mute);
  line-height: 1.8;
}

.project-location-empty .project-card-cta {
  color: #fff;
}

.project-proof-section {
  background: var(--cream);
}

.project-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 36px);
}

.project-proof-card {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(var(--navy-rgb), .1);
}

.project-proof-card > img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  object-position: var(--media-position, center);
}

.project-proof-card > div {
  align-self: center;
  padding: clamp(28px, 3vw, 48px);
}

.project-proof-card h3,
.project-proof-card .display {
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.project-proof-card p {
  margin: 18px 0 24px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.75;
}

.project-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 12px;
  background: rgba(167, 95, 70, .1);
  color: var(--bronze);
  font: 600 10px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-proof-card-wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
}

.project-proof-card-wide > img {
  min-height: 500px;
}

.project-pricing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: clamp(36px, 8vw, 130px);
  align-items: end;
  padding: clamp(74px, 9vw, 130px) max(6vw, calc((100vw - 1320px) / 2));
  background:
    radial-gradient(circle at 82% 15%, rgba(167, 95, 70, .25), transparent 28%),
    linear-gradient(125deg, #111133, var(--navy));
  color: #fff;
}

.project-pricing-cta .display {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

.project-pricing-cta p {
  max-width: 720px;
  margin-top: 24px;
  color: var(--text-on-dark-mute);
  line-height: 1.75;
}

.project-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.project-brochure-section {
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 255, 255, .58), transparent 34%),
    #ece5dd;
  border-block: 1px solid rgba(var(--navy-rgb), .08);
}

.project-brochure-layout {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(46px, 8vw, 125px);
  align-items: center;
}

.project-brochure-layout .display {
  max-width: 620px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -.04em;
}

.project-brochure-layout > div > p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--text-mute);
  line-height: 1.8;
}

.project-brochure-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 18px;
  padding: clamp(28px, 3.5vw, 50px);
  background: #fff;
  border: 1px solid rgba(var(--navy-rgb), .12);
  box-shadow: 0 20px 60px rgba(var(--navy-rgb), .08);
}

.project-brochure-form > label {
  display: grid;
  gap: 10px;
  color: var(--navy);
  font: 600 10px/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-brochure-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--navy-rgb), .22);
  border-radius: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 16px/1.2 var(--sans);
  text-transform: none;
}

.project-brochure-consent,
.project-brochure-status {
  grid-column: 1 / -1;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.6;
}

.project-brochure-consent a,
.project-brochure-status a {
  color: var(--navy);
  border-bottom: 1px solid var(--bronze);
}

.project-brochure-form .btn {
  justify-self: start;
}

.project-brochure-status {
  min-height: 20px;
}

.project-brochure-status.is-success {
  color: #2d6642;
}

.project-brochure-status.is-error {
  color: #9a2f2f;
}

.project-faq-section {
  background: #fff;
  border-top: 1px solid rgba(var(--navy-rgb), .08);
}

.project-faq-section > .project-lead-inner > .display {
  margin: 14px 0 clamp(36px, 5vw, 68px);
  color: var(--navy);
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1;
}

.project-faq-list {
  border-top: 1px solid rgba(var(--navy-rgb), .2);
}

.project-faq-list details {
  border-bottom: 1px solid rgba(var(--navy-rgb), .2);
}

.project-faq-list summary {
  position: relative;
  min-height: 74px;
  padding: 25px 58px 25px 0;
  color: var(--navy);
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.project-faq-list summary::-webkit-details-marker {
  display: none;
}

.project-faq-list summary::after {
  content: "+";
  position: absolute;
  inset-inline: auto 10px;
  top: 20px;
  color: var(--bronze);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transition: transform .25s var(--ease);
}

.project-faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.project-faq-list details p {
  max-width: 900px;
  padding: 0 58px 30px 0;
  color: var(--text-mute);
  line-height: 1.75;
}

.project-mobile-actions {
  display: none;
}

@media (max-width: 1120px) {
  .project-unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-proof-grid {
    grid-template-columns: 1fr;
  }

  .project-proof-card {
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1fr);
  }

  .project-pricing-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-pricing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .project-lead-heading,
  .project-brochure-layout {
    grid-template-columns: 1fr;
  }

  .project-location-feature {
    grid-template-columns: 1fr;
  }

  .project-location-feature-media,
  .project-location-feature-media img {
    min-height: 430px;
  }

  .project-location-empty {
    grid-template-columns: 1fr;
  }

  .project-location-empty-mark {
    width: 150px;
  }

  .project-proof-card,
  .project-proof-card-wide {
    grid-template-columns: 1fr;
  }

  /* height: 100% would resolve against the whole single-column card in iOS
     Safari and paint the copy row over the image; give the image its own
     explicit box instead. */
  .project-proof-card > img,
  .project-proof-card-wide > img {
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 0;
    max-height: 540px;
  }

  .project-brochure-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.has-project-actions {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .comm-card img,
  .value-story-media img,
  .split-img img,
  .news-card img,
  .masterplan img,
  .gallery img,
  .cms-section-split figure img,
  .cms-section-gallery img,
  .cms-section-features article > img,
  .project-unit-card > img,
  .project-unit-card > picture img,
  .project-gallery-grid img,
  .project-location-feature-media img,
  .project-proof-card > img {
    object-position: var(--media-position-mobile, var(--media-position, center));
  }

  .project-feature-media img {
    object-position: var(--feature-position-mobile, var(--feature-position, center));
  }

  .project-lead-inner {
    width: min(90vw, 1320px);
  }

  .project-search-intro {
    padding: 38px 0 46px;
  }

  .project-search-intro h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .project-decision-section,
  .project-proof-section,
  .project-faq-section {
    padding: 72px 0;
  }

  .project-lead-heading {
    gap: 24px;
    margin-bottom: 38px;
  }

  .project-unit-grid,
  .project-unit-grid-three,
  .project-unit-grid-two {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 360px);
    gap: 14px;
    margin-inline: -5vw;
    padding: 0 5vw 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 5vw;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .project-unit-grid::-webkit-scrollbar {
    display: none;
  }

  .project-unit-card {
    /* Centre the active card so both neighbours peek evenly instead of a
       stray sliver hanging on one edge. */
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .project-unit-card-copy {
    min-height: 218px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-location-feature-copy,
  .project-location-empty,
  .project-pricing-cta {
    padding: 66px 5vw;
  }

  .project-location-feature-media,
  .project-location-feature-media img {
    min-height: 320px;
  }

  .project-location-empty-mark {
    width: 110px;
    font-size: 72px;
  }

  .project-proof-card > img,
  .project-proof-card-wide > img {
    aspect-ratio: 4 / 3;
  }

  .project-pricing-actions,
  .project-pricing-actions .btn,
  .project-brochure-form .btn {
    width: 100%;
  }

  .project-pricing-actions .btn,
  .project-brochure-form .btn {
    justify-content: center;
    text-align: center;
  }

  .project-brochure-form {
    padding: 26px 20px;
  }

  .project-faq-list summary {
    padding-inline-end: 48px;
  }

  .project-faq-list details p {
    padding-inline-end: 12px;
  }

  .project-mobile-actions {
    position: fixed;
    z-index: 145;
    inset-inline: 3vw;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
    align-items: stretch;
    overflow: hidden;
    min-height: 58px;
    background: rgba(246, 243, 240, .96);
    border: 1px solid rgba(var(--navy-rgb), .16);
    box-shadow: 0 18px 50px rgba(var(--navy-rgb), .26);
    backdrop-filter: blur(16px);
  }

  .project-mobile-action {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 58px;
    padding: 8px 5px;
    border-inline-end: 1px solid rgba(var(--navy-rgb), .13);
    color: var(--navy);
    font: 600 9px/1.2 var(--sans);
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
  }

  .project-mobile-action-primary {
    background: var(--navy);
    color: #fff;
  }

  .project-mobile-actions-close {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: 300 27px/1 var(--sans);
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-unit-card,
  .project-faq-list summary::after {
    transition: none;
  }

  .project-unit-card:hover {
    transform: none;
  }
}

@media (max-width: 1020px) {
  .nav-burger { display: inline-flex; }
}

[dir="rtl"] .project-faq-list summary {
  padding: 25px 0 25px 58px;
}

[dir="rtl"] .project-faq-list details p {
  padding: 0 0 30px 58px;
}

/* ---------- track record (homepage stats redesign, 2026-08-23) ---------- */

.track-record {
  background: var(--cream);
  padding: clamp(84px, 8vw, 130px) 6vw;
}
.track-record .num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
  line-height: .95;
}
.track-record-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}
.track-record-title { font-size: clamp(32px, 3.4vw, 52px); }
.track-hero .num { font-size: clamp(58px, 6.6vw, 106px); letter-spacing: -.01em; }
.track-hero .num sup {
  font-size: .34em;
  vertical-align: super;
  color: var(--bronze);
  font-weight: 600;
}
.track-hero-accent .num { color: var(--bronze); }
.track-hero .cap {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--navy-rgb), .28);
  max-width: 300px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.track-skyline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  max-width: 1320px;
  margin: clamp(56px, 7vw, 110px) auto 0;
}
.track-skyline .stat {
  border: 1px solid rgba(var(--navy-rgb), .2);
  margin-inline-start: -1px;
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  background: transparent;
}
.track-skyline .stat:first-child { margin-inline-start: 0; }
.track-skyline .stat:nth-child(1) { min-height: 100px; }
.track-skyline .stat:nth-child(2) { min-height: 152px; }
.track-skyline .stat:nth-child(3) { min-height: 124px; }
.track-skyline .stat:nth-child(4) { min-height: 162px; }
.track-skyline .stat:nth-child(5) { min-height: 138px; }
.track-skyline .stat:nth-child(6) { min-height: 152px; }
.track-skyline .num { font-size: clamp(26px, 2.3vw, 38px); }
.track-skyline .cap {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

@media (max-width: 900px) {
  /* Heroes stay side by side (as in the approved mockup) so the section keeps
     its shape without doubling in height on small screens. */
  .track-record-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
  .track-record-title { grid-column: 1 / -1; font-size: clamp(30px, 6vw, 40px); }
}

@media (max-width: 760px) {
  .track-record { padding: 62px 0 56px; }
  .track-record-top { padding: 0 7vw; gap: 30px 20px; }
  .track-hero .num { font-size: clamp(40px, 11.5vw, 54px); }
  .track-hero .cap { margin-top: 12px; padding-top: 10px; font-size: 9px; letter-spacing: .15em; }
  .track-skyline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 38px;
    padding: 0 7vw;
  }
  .track-skyline .stat,
  .track-skyline .stat:nth-child(n) {
    min-height: 0;
    margin-inline-start: 0;
    border: 0;
    border-top: 1px solid rgba(var(--navy-rgb), .18);
    padding: 16px 14px 14px;
    gap: 6px;
  }
  .track-skyline .stat:nth-child(-n + 2) { border-top: 0; }
  .track-skyline .stat:nth-child(even) { border-inline-start: 1px solid rgba(var(--navy-rgb), .18); }
  .track-skyline .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .track-skyline .num { font-size: 24px; }
  .track-skyline .cap { font-size: 8.5px; }
}

/* Latest launches — spacious project photography and a touch-friendly rail. */
.latest-launches {
  padding: clamp(72px, 8vw, 120px) 0 40px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.launches-intro {
  max-width: 1120px;
  margin: 0 auto clamp(48px, 6vw, 84px);
  padding-inline: var(--page-gutter);
  text-align: center;
}
.launches-intro .kicker {
  display: block;
  color: rgba(255,255,255,.6);
  font-family: var(--sans);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.launches-intro h2 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.15;
  margin: 20px 0 30px;
}
.launches-intro > p {
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.85;
  color: rgba(255,255,255,.84);
  text-wrap: pretty;
}
.launch-track {
  display: flex;
  gap: clamp(18px, 2.5vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--page-gutter);
  padding-inline: var(--page-gutter);
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.launch-track::-webkit-scrollbar { display: none; }
.launch-card {
  position: relative;
  flex: 0 0 min(68vw, 960px);
  height: clamp(420px, 48vw, 700px);
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
  isolation: isolate;
}
.launch-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.launch-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.76));
  z-index: 1;
  pointer-events: none;
}
.launch-type {
  position: absolute;
  top: clamp(18px, 2vw, 32px);
  inset-inline-start: clamp(18px, 2vw, 32px);
  background: #fff;
  color: var(--navy);
  padding: 10px 18px;
  font-size: clamp(10px, 1vw, 14px);
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}
.launch-caption { position: absolute; bottom: 32px; inset-inline: clamp(22px, 3vw, 48px); z-index: 2; }
.launch-caption p { text-transform: uppercase; font-size: 12px; letter-spacing: .15em; margin-bottom: 12px; }
.launch-caption h3 { color: #fff; font-size: clamp(28px, 3.6vw, 52px); font-weight: 400; line-height: 1.15; margin-bottom: 18px; }
.launch-discover { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.launch-controls { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 30px; }
.launch-controls > span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.launch-controls button { width: 54px; height: 54px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 30px; cursor: pointer; }
.launch-controls button:hover { background: rgba(255,255,255,.12); }
.launch-card:focus-visible, .launch-track:focus-visible, .launch-controls button:focus-visible { outline: 2px solid var(--sand); outline-offset: -4px; }
@media (hover: hover) { .launch-card:hover img { transform: scale(1.035); } }
@media (max-width: 760px) {
  .launch-card { flex-basis: 84vw; height: 480px; }
  .launches-intro { padding-inline: 24px; }
  .launch-caption { bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) { .launch-card img { transition: none; } }

/* App presentation: text beside three separate iPhone frames. */
.app-section .split { grid-template-columns: .85fr 1.25fr; gap: clamp(26px, 4vw, 64px); }
.app-shots.app-phones { position: relative; display: flex; direction: ltr; align-items: flex-start; gap: 3%; padding: 28px 0; }
.app-iphone { flex: 0 0 31.33%; position: relative; aspect-ratio: 1 / 2.14; padding: 4px; background: #111217; border: 2px solid #81838b; border-radius: 27px; box-shadow: 0 18px 35px rgba(0,0,0,.24), inset 0 0 0 1px #393a42; }
.app-iphone-community {
  transform: translateY(11%) scale(1.12);
  transform-origin: center bottom;
}
.app-iphone-login,.app-iphone-services {
  margin-top: 0;
  transform: scale(.9);
  transform-origin: center bottom;
}
.phone-screen { position: relative; height: 100%; overflow: hidden; background: #fff; border-radius: 21px; }
.phone-status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 9px; color: #15171c; font: 600 clamp(5px,.6vw,9px) var(--sans); background: white; z-index: 2; }
.phone-status i { position: absolute; left: 34%; top: 6px; width: 32%; height: 13px; background: #111217; border-radius: 12px; }
.phone-home { position: absolute; bottom: 4px; left: 32%; width: 36%; height: 3px; background: #17191d; border-radius: 5px; z-index: 3; }
.phone-community { position: absolute; inset: 30px 0 0; overflow: hidden; }
.app-shots .phone-community img { position: absolute; max-width: none; width: 153.1%; height: 163.9%; left: -30%; top: -54%; border-radius: 0; box-shadow: none; }
.phone-login,.phone-services { position: absolute; inset: 30px 0 0; color: #202c43; font-family: var(--sans); font-size: clamp(5px,.65vw,10px); }
.phone-contact { display: block; padding-left: 8px; font-size: .75em; }
.phone-brand { display: block; text-align: center; font-size: 2em; letter-spacing: -.06em; margin: 25% 0 22%; }
.phone-input { background: #f1f1f1; color: #afb1b5; padding: 7px; margin: 5px 8px; border-radius: 5px; font-size: .8em; }
.phone-input span { float: right; }
.phone-login > small { display: block; text-align: right; padding-right: 10px; font-size: .7em; }
.phone-login-button { display: block; background: #354258; color: white; text-align: center; width: 58%; margin: 22% auto 12%; padding: 4px; border-radius: 4px; font-size: .85em; }
.phone-login-copy { display: block; text-align: center; font-size: .7em; margin: 9px 3px; }
.phone-heading { display: flex; align-items: center; gap: 25%; padding: 0 8px 12px; font-size: 1.3em; }
.phone-heading b { font-size: .8em; }
.phone-tabs { display: flex; justify-content: space-around; align-items: center; font-size: .75em; }
.phone-tabs b { background: #202f46; color: #fff; border-radius: 6px; padding: 4px 7px; }
.phone-management { margin: 12px 6px 8px; background: #202f46; color: #fff; border-radius: 6px; padding: 5px; font-size: .8em; }
.phone-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 6px; }
.phone-tiles > div { background: #efefef; border-radius: 6px; padding: 7px 1px; text-align: center; font-size: .7em; }
.phone-tiles svg { display: block; margin: 0 auto 4px; width: 70%; max-width: 40px; fill: none; stroke: #343a40; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.phone-bottom { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: space-around; font-size: 1.5em; color: #a4a7aa; line-height: 1.2; }
.phone-bottom small { display: block; font-size: .45em; }
.phone-bottom > span:nth-child(2) { color: #354258; }
@media (max-width: 760px) {
  .app-section .split { grid-template-columns: 1fr; }
  .app-phones { width: 100%; max-width: 560px; margin: 10px auto 0; }
  .phone-status { font-size: 7px; }
  .phone-login,.phone-services { font-size: clamp(7px, 2vw, 10px); }
}

/* Shared reference-style chevrons for horizontal scrolling and galleries. */
:is(.launch-controls, .carousel-nav, .mp-lightbox) button.scroll-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  transition: opacity 180ms ease;
}
button.scroll-chevron svg { display: block; width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
:is(.launch-controls, .carousel-nav, .mp-lightbox) button.scroll-chevron:hover { background: transparent; color: #fff; opacity: .7; }
.carousel-nav button.scroll-chevron { color: var(--navy); }
.carousel-nav button.scroll-chevron:hover { color: var(--navy); }
button.scroll-chevron:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
html[dir="rtl"] .launch-controls button.scroll-chevron svg { transform: scaleX(-1); }

/* Brand book: declared digital RGB values, used as restrained accents.
   Terracotta 167/95/70 and neutral 187/184/179, with warm off-white.
   Keep the approved logo artwork intact and preserve the existing typeface. */
:root {
  --brand-terracotta: #a75f46;
  --brand-soft: #ece7e2;
  --brand-taupe: #bbb8b3;
}
.phone-login img.phone-brand {
  display: block;
  width: 66%;
  height: auto;
  margin: 25% auto 22%;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
.track-record { position: relative; border-top: 5px solid var(--brand-taupe); }
.track-record .track-hero-accent .num { color: var(--brand-terracotta); }
.launches-intro .kicker { color: var(--brand-terracotta); }
.launch-card:nth-child(2n) .launch-type { background: var(--brand-soft); }
.launch-controls { border-bottom: 1px solid rgba(187,184,179,.22); padding-bottom: 18px; margin-inline: var(--page-gutter); }
.app-section {
  background: var(--brand-soft);
  color: var(--navy);
  border-top: 6px solid var(--brand-terracotta);
}
.app-section .display { color: var(--navy); }
.app-section .lead, .app-section .app-note { color: #464b55; }
.app-section .store-button { background: var(--navy); color: #fff; }
.app-section .store-button small { color: #e6e9ec; }
.app-section .store-button:hover { background: var(--brand-terracotta); color: #fff; }
.stats-band { background: #e9e7e3; }
.project-feature-story:nth-child(even) .project-feature-copy { background: rgba(187,184,179,.14); }
.news-body .tag { color: var(--bronze-text); }
.footer h4 { color: var(--brand-soft); }
.footer { border-top: 4px solid var(--brand-terracotta); }
/* Preserve the source artwork's aspect ratio, including its wordmark. */
.app-shots .phone-community img { height: auto; }

/* Home news flows from brand navy into the enquiry section's image wash. */
#happenings {
  color: var(--text-on-dark);
  background:
    linear-gradient(180deg, transparent 35%, var(--navy) 100%),
    linear-gradient(115deg, var(--navy) 0%, #30304d 100%);
}
#happenings .section-head .display { color: #fff; }
#happenings .news-card { color: var(--navy); }
#happenings .news-card:hover { border-color: var(--brand-terracotta); }
#happenings > .center .btn,
#happenings .btn-dark {
  color: #fff;
  border-color: rgba(255,255,255,.65);
}
#happenings .btn-dark:hover { background: #fff; border-color: #fff; color: var(--navy); }
#happenings + .register {
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(var(--navy-rgb),0) 220px),
    linear-gradient(100deg, rgba(var(--navy-rgb),.96) 0%, rgba(var(--navy-rgb),.86) 44%, rgba(var(--navy-rgb),.58) 100%),
    url("../assets/img/lifestyle-hammock-master-4k.webp") center 46%/cover no-repeat;
  box-shadow: inset 0 -1px rgba(255,255,255,.08);
}

/* Small terracotta touches through the news-to-enquiry sequence. */
#happenings .news-card { border-top: 3px solid var(--brand-terracotta); }
#happenings .news-body .more { border-bottom-width: 2px; }
#happenings .btn-dark { border-color: var(--brand-terracotta); }
#happenings .btn-dark:hover { background: var(--brand-terracotta); border-color: var(--brand-terracotta); color: #fff; }
#happenings + .register .form { border-top: 3px solid var(--brand-terracotta); }
#happenings + .register .privacy-notice a { color: var(--bronze-text); text-decoration-color: var(--brand-terracotta); }
#happenings + .register .form-actions .btn { border-bottom: 3px solid var(--brand-terracotta); }

/* One continuous canvas avoids restarting the gradient at the section seam. */
.news-journey-flow {
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg,
      var(--navy) 0%,
      rgba(var(--navy-rgb), .98) 20%,
      rgba(var(--navy-rgb), .92) 40%,
      rgba(var(--navy-rgb), .83) 60%,
      rgba(var(--navy-rgb), .70) 80%,
      rgba(var(--navy-rgb), .58) 100%),
    url("../assets/img/lifestyle-hammock-master-4k.webp");
  background-position: center, center bottom;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.news-journey-flow #happenings,
.news-journey-flow #happenings + .register {
  background: transparent;
  box-shadow: none;
}
#happenings > .center .btn { border-color: var(--brand-terracotta); }

/* Reversible scroll-linked depth: the departing section fades into the page. */
.scroll-scene {
  opacity: var(--scene-opacity, 1);
  transform: translateY(var(--scene-shift, 0px)) scale(var(--scene-scale, 1));
  transform-origin: center bottom;
}
.scroll-scene:has(:focus-visible) {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-scene { opacity: 1; transform: none; }
}

/* App-store badges: white rounded surfaces and clear black store branding. */
.app-section .store-buttons { max-width: 560px; gap: 16px; }
.app-section .store-button {
  flex: 1 1 190px;
  min-height: 76px;
  padding: 14px 22px;
  gap: 13px;
  border-radius: 20px;
  background: #fff;
  color: #000;
  justify-content: center;
}
.app-section .store-button svg { width: 30px; height: 34px; }
.app-section .store-button small {
  color: #000;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}
.app-section .store-button b { color: #000; font-size: 24px; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.app-section .store-button:hover { background: #f9f8f6; color: #000; }
.app-section .store-button[href*="play.google"] small { text-transform: uppercase; }
.app-section .store-button[href*="play.google"] svg { fill: none; stroke: currentColor; stroke-width: 1.1; }
@media (min-width: 761px) and (max-width: 1100px) {
  .app-section .store-button { flex-basis: 100%; max-width: 250px; }
}
@media (max-width: 480px) {
  .app-section .store-button { flex-basis: 100%; max-width: 280px; margin-inline: auto; }
}

/* Compact store badges. */
.app-section .store-buttons { max-width: 450px; gap: 12px; }
.app-section .store-button { flex-basis: 160px; min-height: 60px; padding: 10px 16px; gap: 10px; border-radius: 16px; }
.app-section .store-button svg { width: 24px; height: 27px; }
.app-section .store-button small { font-size: 10px; }
.app-section .store-button b { font-size: 20px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .app-section .store-button { flex-basis: 100%; max-width: 210px; }
}
@media (max-width: 480px) {
  .app-section .store-button { flex-basis: 100%; max-width: 220px; }
}

.app-section .store-buttons { max-width: 370px; gap: 10px; }
.app-section .store-button { flex-basis: 140px; min-height: 48px; padding: 8px 13px; gap: 8px; border-radius: 13px; }
.app-section .store-button svg { width: 19px; height: 22px; }
.app-section .store-button small { font-size: 8px; }
.app-section .store-button b { font-size: 17px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .app-section .store-button { flex-basis: 100%; max-width: 175px; }
}
@media (max-width: 480px) {
  .app-section .store-button { flex-basis: 100%; max-width: 180px; }
}

/* Keep the compact download badges on a single row. */
.app-section .store-buttons { flex-wrap: nowrap; max-width: 360px; }
.app-section .store-button { flex: 1 1 0; max-width: 175px; min-width: 0; margin-inline: 0; }
@media (max-width: 1100px) {
  .app-section .store-button { flex: 1 1 0; max-width: 175px; padding-inline: 9px; gap: 6px; }
  .app-section .store-button b { font-size: clamp(13px, 1.8vw, 17px); }
  .app-section .store-button small { font-size: 7px; }
  .app-section .store-button svg { width: 17px; flex-shrink: 0; }
}

.app-section .store-button { border-radius: 0; }

/* Wordmark-only logo artwork: preserve its proportions and original width. */
.nav-logo img { width: 100px; height: auto; }
.footer-logo img { width: 116px; height: auto; }
@media (max-width: 760px) { .nav-logo img { width: 86px; height: auto; } }

#happenings > .center .btn { font-weight: 600; }

.company-about-tagline {
  margin-top: 20px;
  margin-bottom: 24px;
  color: var(--brand-terracotta);
  font-family: var(--sans);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
}

.company-about-text-only .split { display: block; max-width: 900px; }
.company-about-text-only .split > div:first-child { max-width: none; }

/* Open statistics layout over general coastal lifestyle photography. */
.trust-record {
  background: linear-gradient(110deg, rgba(24,24,61,.94), rgba(24,24,61,.78)),
    url("../assets/img/trust-ocean-waves.jpg") center / cover;
  padding-block: clamp(64px, 7vw, 108px);
}
.trust-record .section-head { margin: 0 auto 48px; max-width: 1000px; }
.trust-record .company-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 0;
}
.trust-record .stat {
  position: relative;
  justify-content: center;
  min-height: 158px;
  padding: 18px 10px;
  transform: scale(1);
  transform-origin: center;
  transition: transform 420ms cubic-bezier(.22,.61,.36,1);
}
.trust-record .stat .num { font-size: clamp(38px, 4vw, 60px); }
.trust-record .stat .cap { color: rgba(255,255,255,.85); line-height: 1.65; max-width: 210px; margin-top: 18px; font-size: 11px; }
@media (hover:hover) {
  .trust-record .stat:hover { transform: scale(1.12); z-index: 1; }
}
@media (max-width:760px) {
  .trust-record .company-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .trust-record .stat { min-height: 140px; padding: 18px 8px; }
}
@media (prefers-reduced-motion:reduce) { .trust-record .stat { transition: none; } }

.trust-record .section-head .display { color: #fff; font-size: clamp(34px, 4.5vw, 64px); }
.trust-record .stat .num { color: var(--brand-terracotta); }

/* Matching title lines keep the vision and mission copy aligned. */
#purpose .mission-card h3 { line-height: 1.5; margin-bottom: 22px; }
#purpose .mission-card h3 span { display: block; }
#purpose .mission-card p { text-wrap: balance; line-height: 1.7; }

/* Stacked vision and mission, each with a clear label beside its copy. */
#purpose .mission-grid { grid-template-columns: 1fr; }
#purpose .mission-card {
  display: grid;
  grid-template-columns: minmax(150px, .6fr) minmax(0, 1.4fr);
  align-items: start;
  column-gap: clamp(32px, 6vw, 90px);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 60px);
}
#purpose .mission-card + .mission-card { border-left: 0; border-top: 1px solid var(--line); }
#purpose .mission-card .kicker {
  display: block;
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--brand-terracotta);
  margin: 0;
}
#purpose .mission-copy { max-width: 680px; }
#purpose .mission-card h3 { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.4; margin-bottom: 20px; text-wrap: balance; }
#purpose .mission-card h3 span { display: inline; }
#purpose .mission-card h3 span + span::before { content: " "; }
#purpose .mission-card p { text-wrap: pretty; }
@media (max-width: 600px) {
  #purpose .mission-card { grid-template-columns: 1fr; gap: 18px; }
}

/* Combined community values: generous photography and a quieter editorial layout. */
.value-story-combined { min-height: 620px; }
.value-story-combined .value-story-media,
.value-story-combined .value-story-media img { min-height: 620px; }
.value-story-combined .value-story-copy {
  max-width: 760px;
  padding: clamp(40px, 5vw, 82px);
}
.value-story-combined .display { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.18; text-wrap: balance; }
.value-story-combined .value-story-copy p { font-size: 16px; line-height: 1.8; max-width: 540px; }
.value-story-combined .value-story-copy p + p { margin-top: 16px; }
@media (max-width:760px) {
  .value-story-combined { min-height: 0; }
  .value-story-combined .value-story-media,
  .value-story-combined .value-story-media img { min-height: 0; height: 360px; }
  .value-story-combined .value-story-copy { padding: 42px 7vw 54px; }
}

/* Individual values text follows the scroll rather than appearing as one block. */
.values-scroll-copy .value-copy-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease, transform 950ms cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--value-copy-delay, 0ms);
}
.values-scroll-copy .value-copy-visible { opacity: 1; transform: none; }
.values-scroll-copy:focus-within .value-copy-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .values-scroll-copy .value-copy-reveal { opacity: 1; transform: none; transition: none; }
}

/* News cards sit cleanly on the section background. */
#happenings .news-card,
#happenings .news-card:hover,
.happenings-section .news-card,
.happenings-section .news-card:hover { border: 0; box-shadow: none; }

/* Reserve the title space while typing, then gently reveal the introduction. */
.about-type-intro h2 { min-height: 1.25em; }
.about-type-intro > p {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.22,.61,.36,1);
}
.about-type-intro.about-typing-done > p { opacity: 1; transform: none; }
.about-type-intro.about-typing-done > p:nth-of-type(2) { transition-delay: 120ms; }
.about-type-intro.about-typing-done > p:nth-of-type(3) { transition-delay: 240ms; }
@media (prefers-reduced-motion:reduce) {
  .about-type-intro > p { opacity: 1; transform: none; transition: none; }
}

/* A clear, high-contrast Discover action over development photography. */
.dev-grid .comm-label .cta {
  margin-top: 16px;
  padding: 8px 14px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--brand-terracotta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
}
@media (hover:none) {
  .dev-grid .comm-label .cta { opacity: 1; transform: none; }
}

/* One wide community at a time, in the existing project order. */
.dev-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
.dev-grid .comm-card { grid-column: 1 / -1; }
.dev-grid .comm-card img { height: clamp(340px, 60vh, 650px); }
.dev-grid .development-reveal {
  opacity: 0;
  transform: translateY(42px) scale(.965);
  transition: opacity 800ms ease, transform 1000ms cubic-bezier(.22,.61,.36,1);
}
.dev-grid .development-visible,
.dev-grid .development-reveal:focus-visible { opacity: 1; transform: none; }
@media (max-width:760px) { .dev-grid .comm-card img { height: clamp(280px, 47vh, 420px); } }
@media (prefers-reduced-motion:reduce) {
  .dev-grid .development-reveal { opacity: 1; transform: none; transition: none; }
}

/* Breathing room between the Divina hero title and enquiry action. */
[data-project-slug="divina-gardens"] .p-hero-content h1 + .btn,
[data-project-slug="boho-sokhna"] .p-hero-content h1 + .btn,
[data-project-slug="boardwalk"] .p-hero-content h1 + .btn {
  margin-top: 32px;
}

/* Divina section titles enter before their supporting text. */
.project-title-reveal,
.project-body-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(.22,.61,.36,1);
}
.project-body-reveal { transition-delay: var(--project-text-delay, 500ms); }
.project-text-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion:reduce) {
  .project-title-reveal, .project-body-reveal { opacity: 1; transform: none; transition: none; }
}

/* Feature-specific, full-screen photographic galleries. */
.feature-gallery-media { position: relative; }
.feature-gallery-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.feature-gallery-expand {
  position: absolute;
  bottom: 22px;
  inset-inline-end: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(var(--navy-rgb),.75);
  transition: background 250ms ease;
}
.feature-gallery-expand svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.feature-gallery-trigger:hover .feature-gallery-expand { background: var(--navy); }
.feature-gallery-trigger:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
html.feature-gallery-open { overflow: hidden; }
.feature-gallery {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 3vw, 42px);
  border: 0;
  background: rgba(24,24,61,.98);
  color: #fff;
  overflow: hidden;
}
.feature-gallery[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 20px; }
.feature-gallery::backdrop { background: var(--navy); }
.feature-gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.feature-gallery-header h2 { color: #fff; font-family: var(--sans); font-size: clamp(20px,2.4vw,32px); font-weight: 500; }
.feature-gallery-close,
.feature-gallery-arrow { display: grid; place-items: center; border: 0; color: #fff; background: transparent; cursor: pointer; flex-shrink: 0; }
.feature-gallery-close { width: 44px; height: 44px; }
.feature-gallery-close svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.feature-gallery-stage { min-height: 0; position: relative; display: flex; justify-content: center; align-items: center; padding-inline: 60px; }
.feature-gallery-image { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 250ms ease; touch-action: pan-y; user-select: none; }
.feature-gallery-image.loaded { opacity: 1; }
.feature-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; }
.feature-gallery-arrow svg { width: 24px; height: 36px; stroke: currentColor; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.feature-gallery-prev { left: 0; }
.feature-gallery-next { right: 0; }
.feature-gallery button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.feature-gallery-count { text-align: center; font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: .14em; direction: ltr; }
@media (max-width:760px) {
  .feature-gallery-stage { padding-inline: 0; }
  .feature-gallery-arrow { background: rgba(var(--navy-rgb),.65); width: 38px; height: 52px; }
  .feature-gallery-arrow svg { width: 18px; height: 28px; }
}
@media (prefers-reduced-motion:reduce) { .feature-gallery-image, .feature-gallery-expand { transition: none; } }

/* Homepage track record: all figures share the brand terracotta. */
.track-record .num,
.track-record .track-hero-accent .num,
.track-record .num sup { color: var(--brand-terracotta); }

/* Remove decorative rules at section boundaries throughout the site. */
main > section,
main > .news-journey-flow > section,
.track-record,
.app-section,
.footer,
.value-story,
.project-feature-story,
.p-hero.developments-hero,
.project-faq-section,
.launch-controls,
.company-nav {
  border-top: 0;
  border-bottom: 0;
}
.register,
#happenings + .register { box-shadow: none; }

/* Featured Communities: image, title and description above a clear action. */
.developments-hero .p-hero-content { width: 100%; max-width: 1440px; margin-inline: auto; text-align: center; }
.dev-grid.dev-grid-editorial { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(50px,6vw,90px) clamp(22px,3vw,44px); max-width: 1440px; margin-inline: auto; align-items: start; }
.dev-grid-editorial .comm-card,
.dev-grid-editorial .comm-card.wide { grid-column: auto; overflow: visible; border-radius: 0; box-shadow: none; background: transparent; }
.dev-grid-editorial .comm-card::after { display: none; }
.dev-grid-editorial .comm-card > picture { display: block; overflow: hidden; }
.dev-grid-editorial .comm-card img { display: block; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.dev-grid-editorial .comm-card > img { transition: none; }
.dev-grid-editorial .comm-card:hover > img { transform: none; }
.dev-grid-editorial .comm-card .comm-label { position: static; padding-top: 24px; color: var(--navy); }
.dev-grid-editorial .comm-label .name { font-family: var(--sans); font-size: clamp(23px,2.3vw,34px); line-height: 1.25; font-weight: 500; margin: 0; letter-spacing: -.02em; }
.dev-grid-editorial .comm-description { margin-top: 12px; color: var(--text-mute); font-size: clamp(14px,1.15vw,17px); line-height: 1.7; max-width: 620px; min-height: 5.1em; }
.dev-grid-editorial .comm-label .cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; width: min(250px,100%); margin-top: 22px; padding: 13px 18px; opacity: 1; transform: none; background: var(--navy); border: 1px solid var(--navy); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: none; }
.dev-grid-editorial .comm-label .cta span:last-child { font-size: 22px; line-height: 1; }
.dev-grid-editorial .comm-card:hover .cta { background: #252550; }
@media (max-width:760px) {
  .dev-grid.dev-grid-editorial { grid-template-columns: 1fr; gap: 46px; }
  .dev-grid-editorial .comm-description { min-height: 0; }
}

/* Keep all three featured communities alongside one another on desktop. */
@media (min-width:1100px) {
  .dev-grid.dev-grid-editorial { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* The title hover treatment belongs only to the hamburger menu page links. */
@media (hover:hover) and (pointer:fine) {
  body .site-menu .site-menu-links a:hover {
    color: var(--brand-terracotta);
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion:reduce) {
  body .site-menu .site-menu-links a:hover { transform: none; }
}


/* Shared title palette for Divina and BOHO feature sections. */
.project-page .project-feature-copy h3.display { color: var(--navy); }
.project-page .project-features-intro .display { color: var(--text-on-dark); }

/* Home-type cards stay borderless, including on hover. */
.project-page .project-unit-card,
.project-page .project-unit-card:hover { border: 0; box-shadow: none; }

/* BOHO lifestyle descriptions wait until their own subtitle has finished typing. */
.feature-typed-body {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.22,.61,.36,1);
}
.feature-typed-body.feature-typed-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion:reduce) {
  .feature-typed-body { opacity: 1; transform: none; transition: none; }
}

/* BOHO home types: one full-width slide with shared chevron controls. */
.project-unit-grid.boho-homes-carousel {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  direction: ltr;
  overscroll-behavior-inline: contain;
}
.boho-homes-carousel::-webkit-scrollbar { display: none; }
.boho-homes-carousel .project-unit-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.boho-homes-carousel .project-unit-card > img { height: clamp(330px, 38vw, 520px); aspect-ratio: auto; }
.boho-homes-carousel .project-unit-card-copy { justify-content: center; padding: clamp(28px,4vw,64px); }
.boho-homes-carousel .project-card-cta { margin-top: 28px; }
html[dir="rtl"] .boho-homes-carousel .project-unit-card-copy { direction: rtl; }
.launch-controls.boho-homes-controls { margin-inline: 0; padding-bottom: 0; }
.launch-controls.boho-homes-controls button.scroll-chevron,
.launch-controls.boho-homes-controls button.scroll-chevron:hover { color: var(--navy); }
.launch-controls.boho-homes-controls > span { color: var(--text-mute); direction: ltr; min-width: 40px; text-align: center; }
.boho-homes-carousel:focus-visible { outline: 2px solid var(--brand-terracotta); outline-offset: 5px; }
@media (max-width:760px) {
  .boho-homes-carousel .project-unit-card { grid-template-columns: 1fr; }
  .boho-homes-carousel .project-unit-card > img { height: auto; aspect-ratio: 1.9; }
  .boho-homes-carousel .project-unit-card-copy { min-height: 240px; }
}

/* A compact location action aligned with the BOHO supporting paragraph. */
[data-project-slug="boho-sokhna"] .project-location-feature-copy .btn {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.85);
  background: transparent;
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .1em;
  white-space: normal;
  text-align: center;
}
[data-project-slug="boho-sokhna"] .project-location-feature-copy .btn:hover {
  background: #fff;
  color: var(--navy);
}

/* Upward scrolling returns to fully visible content without entrance effects. */
html.scrolling-up :is(.reveal, .scroll-scene, .value-copy-reveal, .project-title-reveal, .project-body-reveal, .feature-typed-body, .development-reveal),
html.scrolling-up .about-type-intro > p {
  opacity: 1;
  transform: none;
  transition: none;
}

/* A standalone brochure action opens the existing information and form. */
.project-brochure-launch { padding: clamp(48px,6vw,80px) 6vw; text-align: center; }
.project-brochure-launch .btn { background: var(--navy); border-color: var(--navy); color: #fff; white-space: normal; }
.project-brochure-launch .btn:hover { background: #252550; border-color: #252550; }
html.brochure-dialog-open { overflow: hidden; }
.brochure-dialog {
  position: fixed;
  inset: 0;
  width: min(1120px,calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: clamp(32px,4vw,64px);
  border: 0;
  background: var(--cream);
  color: var(--navy);
  overflow-y: auto;
}
.brochure-dialog::backdrop { background: rgba(24,24,61,.8); }
.brochure-dialog .project-lead-inner { padding: 0; max-width: none; width: 100%; }
.brochure-dialog .project-brochure-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,60px); }
.brochure-dialog .project-brochure-layout .display { font-size: clamp(28px,3vw,42px); line-height: 1.15; }
.brochure-dialog .project-brochure-form { grid-template-columns: 1fr; padding: clamp(22px,3vw,36px); }
.brochure-dialog-close { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; display: grid; place-items: center; background: transparent; border: 0; color: var(--navy); cursor: pointer; }
.brochure-dialog-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.brochure-dialog-close:focus-visible { outline: 2px solid var(--brand-terracotta); }
@media (max-width:760px) {
  .brochure-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 46px 22px 26px; }
  .brochure-dialog .project-brochure-layout { grid-template-columns: 1fr; }
}

/* The brochure has its own full-width visual section, separate from deliveries. */
.project-brochure-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px,38vw,460px);
  padding: 70px 6vw;
  isolation: isolate;
  background: linear-gradient(90deg,rgba(24,24,61,.38),rgba(24,24,61,.24)),url("../assets/img/boho-brochure-beach.webp") center 58% / cover no-repeat;
}
.project-brochure-launch .btn { padding: 17px 30px; border-color: rgba(255,255,255,.65); }

/* Let the brochure section flow with the page's warm neutral palette. */
.project-brochure-launch {
  min-height: clamp(260px,28vw,360px);
  background: linear-gradient(180deg,#f5f2ed 0%,var(--cream) 55%,#eee9e3 100%);
}
.project-brochure-launch .btn { border-color: var(--navy); }

/* Compact location enquiry, with the wording on a single line. */
[data-project-slug="boho-sokhna"] .project-location-feature-copy .btn {
  font-size: 9px;
  letter-spacing: .06em;
  min-height: 38px;
  padding: 10px 12px;
  white-space: nowrap;
}

/* Center Divina's location introduction above its destinations. */
main:is([data-project-slug="divina-gardens"], [data-project-slug="boardwalk"]) .project-access-intro {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 24px;
}
main:is([data-project-slug="divina-gardens"], [data-project-slug="boardwalk"]) .project-access-intro h2 {
  font-size: clamp(34px, 4.2vw, 60px);
}
main:is([data-project-slug="divina-gardens"], [data-project-slug="boardwalk"]) .project-access-grid {
  grid-column: 1 / -1;
}
main:is([data-project-slug="divina-gardens"], [data-project-slug="boardwalk"]) .project-access-note {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}

/* Consistent terracotta subtitle accents on Divina and BOHO. */
[data-project-slug="divina-gardens"] .divina-concept-title,
[data-project-slug="boho-sokhna"] .boho-concept-title,
[data-project-slug="boardwalk"] .boardwalk-concept-title,
main:is([data-project-slug="divina-gardens"], [data-project-slug="boardwalk"]) .project-access-grid strong {
  color: var(--brand-terracotta);
}
.project-page main:is([data-project-slug="divina-gardens"], [data-project-slug="boho-sokhna"], [data-project-slug="boardwalk"]) :is(h3.display, h3, .kicker) {
  color: var(--brand-terracotta);
}

[data-project-slug="boho-sokhna"] .project-proof-card:only-child { grid-column: 1 / -1; }

/* Boardwalk: measured title-first reveals that keep pace with scrolling. */
main:is([data-project-slug="boardwalk"], [data-project-slug="divina-gardens"]) :is(.project-title-reveal, .project-body-reveal) {
  transition-duration: 550ms, 650ms;
}

/* Boardwalk galleries use manual chevrons below the photograph. */
.feature-gallery-boardwalk .feature-gallery-stage { padding-inline: 0; }
.feature-gallery-controls { display: flex; align-items: center; justify-content: center; gap: clamp(18px,4vw,50px); flex-wrap: wrap; }
.feature-gallery-controls .feature-gallery-arrow { position: static; transform: none; width: 48px; height: 48px; background: transparent; }
.feature-gallery-controls .feature-gallery-count { margin: 0; min-width: 64px; }
.feature-gallery-controls[hidden] { display: none; }

[data-project-slug="boardwalk"] .project-access-grid > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Compact destination-only bar between the Happenings hero and stories. */
.happenings-toolbar { align-items: center; padding-top: 10px; padding-bottom: 10px; margin-bottom: 24px; }
.happenings-toolbar .event-result-count { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Compact navy heading band for the Careers vacancies. */
.careers-positions { padding-top: 0; }
.careers-positions > .section-head {
  width: calc(100% + 2 * var(--page-gutter));
  max-width: none;
  margin: 0 calc(-1 * var(--page-gutter)) 42px;
  padding: 20px var(--page-gutter);
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.careers-positions > .section-head .kicker { display: none; }
.careers-positions > .section-head .display { margin: 0; color: #fff; font-size: clamp(25px,3vw,38px); line-height: 1.2; }
@media(max-width:760px) {
  .careers-positions > .section-head { padding-block: 17px; margin-bottom: 30px; }
}

/* People-first introduction above the current Engineering vacancies. */
.careers-accessible-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.careers-culture { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(36px,7vw,110px); padding: clamp(48px,6vw,84px) var(--page-gutter); background: #faf9f7; color: var(--navy); }
.careers-culture h2 { font-size: clamp(32px,4vw,56px); line-height: 1.15; margin: 0; }
.careers-culture p { color: var(--text-mute); font-size: clamp(15px,1.2vw,18px); line-height: 1.8; margin: 0; }
.careers-culture p + p { margin-top: 20px; }
@media(max-width:680px) { .careers-culture { grid-template-columns: 1fr; gap: 26px; } }

/* Centre the culture heading vertically beside the introduction. */
.careers-culture { align-items: center; }

/* Crop the community artwork to its screen so only one device frame is visible. */
.app-iphone-community .phone-status { display: none; }
.app-iphone-community .phone-community { inset: 0; }
.app-shots .phone-community img {
  width: 150.9434%;
  height: 152.8698%;
  left: -29.2453%;
  top: -43.157%;
}

/* A compact shared footer, with grouped links on smaller screens. */
.footer { padding-top: 46px; }
.footer-grid { gap: 32px; padding-bottom: 28px; }
.footer h4 { margin-bottom: 14px; }
.footer li { margin-bottom: 7px; }
.footer-logo img { margin-bottom: 14px; }
.footer .hotline { margin-top: 14px; }
.footer-bottom { padding: 14px 0; }
@media (max-width: 680px) {
  .footer { padding: 30px 24px 0; }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px 18px; padding-bottom: 18px; text-align: start; }
  .footer-logo { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .footer-logo img, html[dir="rtl"] .footer-logo img { width: 104px; margin: 0; }
  .footer .hotline { margin: 0; text-align: end; }
  .footer .hotline .num { font-size: 26px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child ul { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 18px; }
  .footer h4 { font-size: 11px; margin-bottom: 8px; }
  .footer li { margin: 0; }
  .footer-grid li a { display: block; min-height: 32px; padding-block: 6px; font-size: 10.5px; line-height: 1.6; letter-spacing: .04em; }
  .footer-bottom { gap: 6px; padding: 14px 0 10px; font-size: 9px; letter-spacing: .08em; text-align: center; }
  .footer .socials { gap: 8px; }
}
