/* ============================================================
   ATRIC Developments — Elevated Living
   Design language: cinematic imagery, high-contrast serif
   display type, spaced uppercase labels, ATRIC blue / cream palette.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&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 */
  --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);
}

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

html { scroll-behavior: smooth; }

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;
  animation: page-enter .18s var(--ease) both;
}

/* 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 .45s var(--ease), visibility 0s linear .45s;
  /* 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 .7s var(--ease) .15s, visibility 0s linear .85s;
}
.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,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) center / contain no-repeat;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.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 .24s var(--ease);
}
.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; }
  .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: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--bronze);
  margin-bottom: 18px;
}

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

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);
}

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

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

.btn {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 15px 34px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 4px;
}

.hero-content > .btn {
  background: rgba(255,255,255,.96);
  border-color: #fff;
  color: var(--ink);
  font-weight: 600;
}
.hero-content > .btn:hover {
  background: var(--sand);
  border-color: var(--sand);
  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: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 4vw;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  transition: background .4s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,8,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.nav-links a:hover { color: #fff; border-color: var(--bronze); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 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;
}
.nav-contact:hover { color: #fff; }
.nav .btn { padding: 11px 22px; font-size: 10.5px; }
.nav .btn:hover { color: #06060a; }

.language-switch {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.38);
  border-radius: 0;
  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: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}
.hero.dropdown-open {
  overflow: visible;
  z-index: 4;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.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: 110px 4vw; }
.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; }

/* 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;
  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;
  transition: transform 1.2s var(--ease);
}
.comm-card:hover img { transform: scale(1.05); }
.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: .3em;
  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: .28em;
  text-transform: uppercase;
  color: var(--bronze);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.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;
  padding: 8px 14px;
  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: .2em;
  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;
}
.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;
}
.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: .2em;
  text-transform: uppercase;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.text-link:hover { color: var(--bronze); gap: 24px; }
.text-link span { font-size: 18px; line-height: .6; }
.value-story-reverse .value-story-media { order: 2; }

.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;
}

.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: .24em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 10px;
}

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

.happenings-section {
  background: var(--cream);
  padding-top: 78px;
}
.happenings-head {
  margin-bottom: 26px;
}
.happenings-head .section-title {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 39px);
}
.happenings-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 15px;
  margin-bottom: 38px;
  border-bottom: 1px solid rgba(45, 41, 34, .18);
}
.event-result-count {
  flex: 0 0 auto;
  margin: 0 0 4px;
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.event-result-count strong { color: var(--ink); font-size: 14px; }
.event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.event-filter {
  appearance: none;
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-mute);
  padding: 0 0 9px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.event-filter::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width .25s ease;
}
.event-filter:hover,
.event-filter[aria-pressed="true"] {
  color: var(--ink);
}
.event-filter[aria-pressed="true"]::after { width: 100%; }
.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;
}
.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: 0 12px 34px rgba(30, 25, 15, .055);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(30,25,15,.12);
  border-color: rgba(179, 144, 91, .3);
}
.news-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.news-card:hover img { transform: scale(1.035); }
.news-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.news-body .tag {
  font-size: 9.5px;
  letter-spacing: .28em;
  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: .26em;
  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 { height: 100%; 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; }

/* ---------- 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/responsive/1672/atric-hammock-hires.webp") center 46%/cover no-repeat;
  color: var(--text-on-dark);
  scroll-margin-top: calc(var(--nav-h) + 18px);
  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/responsive/1672/atric-hammock-hires.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 .field .dd-trigger {
  border-bottom-color: rgba(var(--navy-rgb),.24);
  color: var(--ink);
}
.register .field .dd-chevron { stroke: var(--ink); }
.register .form .dd-menu { background: rgba(var(--navy-rgb),.97); }

.form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 14px;
}
.register .form-actions .btn {
  min-width: 190px;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}
.register .form-actions .btn:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}
.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); }

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

.footer {
  background: #070707;
  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: .24em;
  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: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  line-height: 1.9;
  transition: color .3s;
}
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 46px; margin-bottom: 26px; }
.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 { 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: 92vh;
  min-height: 600px;
  background-size: cover;
  background-position: var(--hero-position, center);
  display: flex;
  align-items: flex-end;
}
.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;
}

/* ---------- 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);
  transition: padding-top .42s var(--ease);
  will-change: padding-top;
}
.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);
}
.hero.dropdown-open + .stats-band {
  padding-top: 380px;
}
.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: 1px;
  background: rgba(var(--navy-rgb),.16);
  border: 1px solid rgba(var(--navy-rgb),.16);
}
.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: var(--paper);
}
.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;
  margin-top: 30px;
}
.store-button {
  display: inline-flex;
  align-items: center;
  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;
  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 { justify-content: center; }
  .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 .35s var(--ease);
}
.partner-tile img {
  max-width: 158px;
  max-height: 82px;
  width: auto;
  height: auto;
  filter: grayscale(1) opacity(.55);
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.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 select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: 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;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.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);
}

/* ---------- 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;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: var(--text-on-dark);
  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;
}

/* ---------- 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 { background: var(--navy); }
.p-hero.contact-hero::after { background: rgba(var(--navy-rgb),.12); }
.p-hero.developments-hero {
  align-items: center;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.p-hero.developments-hero::after { background: transparent; }
.developments-hero .p-hero-content {
  max-width: 900px;
  padding: var(--nav-h) 4vw 0;
}
.developments-hero .p-hero-content::before {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  margin-bottom: 30px;
  background: var(--bronze);
}
.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: 62vh; min-height: 440px; }

.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;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.mission-card {
  background: var(--white);
  padding: 48px 42px;
}
.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; }
.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 .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-row .btn { padding: 11px 24px; font-size: 10.5px; white-space: nowrap; }

.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: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 70px;
}
.contact-card {
  background: var(--white);
  padding: 44px 38px;
  text-align: center;
}
.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: .24em;
  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;
}

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

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

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

html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] .brand-ltr,
html[dir="rtl"] .comm-label .name,
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; }

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

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .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 (max-width: 760px) {
  #developments {
    padding-top: 64px;
    padding-bottom: 52px;
  }
  #developments .section-head { margin-bottom: 34px; }
  .hero {
    height: 100svh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
  }
  .hero-content {
    padding: 0 6vw 190px;
    max-width: none;
  }
  .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);
  }
  .hero.dropdown-open + .stats-band { padding-top: 300px; }
  .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;
  }
  .company-nav {
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .company-nav::-webkit-scrollbar { display: none; }
  .company-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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: center;
    max-width: none;
    padding: 48px 7vw 56px;
    text-align: center;
  }
  .value-story-copy p { margin-left: auto; margin-right: auto; }
  .project-features-intro { padding-top: 70px; padding-bottom: 64px; }
  .project-feature-story { grid-template-columns: 1fr; min-height: 0; }
  .project-feature-story:nth-child(even) .project-feature-media { order: 0; }
  .project-feature-media { min-height: 0; height: 300px; }
  .project-feature-copy {
    align-items: center;
    min-height: 310px;
    padding: 48px 7vw 54px;
    text-align: center;
  }
  .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: center; }
  .split .lead { margin-left: auto; margin-right: auto; }
  .bridge-focus { object-position: 64% center; }
  .p-hero { background-position: var(--hero-position-mobile, var(--hero-position, center)); }
  .p-hero-media > img { 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: 64px; }
  .happenings-head { margin-bottom: 24px; }
  .happenings-toolbar { margin-bottom: 30px; }
  .happenings-toolbar { display: block; }
  .event-filters {
    width: calc(100% + 7vw);
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    padding: 0 7vw 10px 0;
    scrollbar-width: none;
  }
  .event-filters::-webkit-scrollbar { display: none; }
  .event-filter { flex: 0 0 auto; }
  .event-result-count { margin-top: 18px; }
  .news-card--featured {
    grid-column: span 1;
    display: flex;
    min-height: 0;
  }
  .news-card--featured > img { height: 270px; min-height: 0; }
  .news-card--featured .news-body { padding: 30px 26px 34px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 240px; }
  .mission-grid { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .job-row { flex-direction: column; align-items: center; text-align: 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; }
  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: 8.5px;
    letter-spacing: .12em;
    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 (hover: none) {
  .comm-label .cta {
    opacity: 1;
    transform: none;
  }
}

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

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-on-dark);
  transition: transform .35s var(--ease), opacity .35s var(--ease), width .35s var(--ease);
}
.nav-burger span:nth-child(3) { width: 62%; }
html[dir="rtl"] .nav-burger span:nth-child(3) { align-self: flex-end; }
.nav-burger:hover span { background: #fff; }
.nav-burger:hover span:nth-child(3) { width: 100%; }
.nav-burger:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
html.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
html.menu-open .nav-burger span:nth-child(3) { width: 100%; transform: translateY(-7px) 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, .55);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  backdrop-filter: blur(26px) saturate(1.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
  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 .5s var(--ease), 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;
  transition: color .3s var(--ease), padding-left .35s var(--ease), padding-right .35s var(--ease);
}
.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; }
html[dir="ltr"] .site-menu-links a:hover { padding-left: 18px; }
html[dir="rtl"] .site-menu-links a:hover { padding-right: 18px; }
html.menu-open .site-menu-links a {
  animation: site-menu-link-in .65s var(--ease) both;
}
html.menu-open .site-menu-links a:nth-child(1) { animation-delay: .1s; }
html.menu-open .site-menu-links a:nth-child(2) { animation-delay: .17s; }
html.menu-open .site-menu-links a:nth-child(3) { animation-delay: .24s; }
html.menu-open .site-menu-links a:nth-child(4) { animation-delay: .31s; }
html.menu-open .site-menu-links a:nth-child(5) { animation-delay: .38s; }
@keyframes site-menu-link-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.menu-open .site-menu-links a { animation: 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: .22em;
  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); }

@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;
}

.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;
}
.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;
}
.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 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; }
}
