:root {
  --green: #1a2f23;
  --green-2: #24382c;
  --navy: #0e2923;
  --cream: #f5f0e6;
  --ivory: #faf7f0;
  --sand: #e8dfd0;
  --gold: #8b9a3b;
  --gold-2: #a3b352;
  --gold-3: #6f7c2e;
  --ink: #1a2f23;
  --muted: #5c6b61;
  --line: rgba(139, 154, 59, 0.28);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(14, 41, 35, 0.18);
  --nav-h: 84px;
  --hero-nav-gap: 1.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 1000;
  background: var(--gold);
  color: var(--green);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.display {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section {
  padding: 6rem 0;
}

.section-cream,
.section-alt {
  background: var(--cream);
}

.section-head {
  width: 100%;
  margin-bottom: 2.6rem;
}

.section-head h2,
.section-head .display {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  margin: 0.75rem 0 1rem;
}

.section-head > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48rem;
}

.prose-full .section-head > p:not(.eyebrow),
.prose-full .container.stack > p,
.prose-full .hero-map-sub {
  max-width: none;
}

.section-follow {
  margin-top: 1.8rem;
}

.stack p + p,
.stack p + ul,
.stack p + .fact-table-wrap,
.stack ul + p {
  margin-top: 1.2rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(14, 41, 35, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(139, 154, 59, 0.18);
}

.nav-inner {
  width: min(1360px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.2rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex: 0 0 auto;
  color: var(--cream);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 9.6rem;
  color: var(--cream);
}

.brand-wordmark-name {
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-wordmark-line {
  display: block;
  margin-top: 0.34em;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.brand-name {
  font-size: clamp(0.88rem, 1vw + 0.5rem, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.15rem 1.05rem;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links > li {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--gold-2);
}

.nav-register-mobile {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  padding: 0.9rem 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--green);
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-ghost,
.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(245, 240, 230, 0.35);
  color: var(--cream);
}

.nav-inner > .btn,
.nav-register {
  flex-shrink: 0;
  padding: 0.7rem 1rem;
  font-size: 0.68rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: white;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: white;
  position: relative;
  margin-inline: auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* FULL VIEWPORT HERO */
.hero-full {
  position: relative;
  min-height: 100svh;
  display: grid;
  color: var(--white);
  overflow: hidden;
}

.hero-full-media,
.hero-full-overlay {
  grid-area: 1 / 1;
}

.hero-full-media {
  min-height: 100svh;
}

.hero-full-img,
.hero-full-media .placeholder {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
}

.hero-full-overlay {
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 5.5rem;
  background:
    linear-gradient(180deg, rgba(14, 41, 35, 0.28) 0%, rgba(14, 41, 35, 0.18) 32%, rgba(14, 41, 35, 0.78) 100%);
}

.hero-full .display {
  font-size: clamp(2.2rem, 4.6vw, 3.75rem);
  max-width: none;
  margin: 0.6rem 0 1rem;
}

.hero-full-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(245, 240, 230, 0.88);
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.hero-full .subnav {
  margin-bottom: 1.4rem;
}

.hero-full .subnav a {
  background: var(--cream);
  color: var(--green);
  border-color: rgba(245, 240, 230, 0.7);
}

.hero-full .subnav a[aria-current="page"] {
  background: var(--green);
  color: var(--cream);
  border-color: var(--cream);
}

/* MAP HERO — image first, copy on a band below. Never overlay baked-in map labels. */
.hero-map {
  display: flex;
  flex-direction: column;
}

.hero-map-media {
  padding-top: var(--nav-h);
  background: #0a1014;
}

.hero-map-img,
.hero-map-media .placeholder,
.hero-map-media img.img-contain,
.hero-map-media .placeholder.img-contain {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.hero-map-copy {
  background: var(--sand);
  color: var(--ink);
  padding: 2.6rem 0 3.2rem;
}

.hero-map-copy .display {
  font-size: clamp(2.2rem, 4.6vw, 3.75rem);
  max-width: none;
  margin: 0.6rem 0 1rem;
}

.hero-map-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* PAGE HERO — form first in source; CSS order swaps on desktop */
.page-hero {
  position: relative;
  color: var(--white);
  padding: calc(var(--nav-h) + var(--hero-nav-gap) + 0.6rem) 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 80% -10%, rgba(139, 154, 59, 0.22), transparent 55%),
    linear-gradient(160deg, #0e2923 0%, var(--green) 48%, #24382c 100%);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-bottom: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  list-style: none;
}

.breadcrumb-dark ol {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-light ol {
  color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: var(--gold);
}

.breadcrumb-dark a {
  color: var(--gold-2);
}

.breadcrumb-light a {
  color: var(--gold-3);
}

.breadcrumb [aria-current="page"] {
  color: inherit;
}

.page-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.page-hero-form {
  order: 1;
}

.page-hero-copy {
  order: 2;
}

.page-hero-head {
  margin-bottom: 1rem;
}

.page-hero-head .display {
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  margin: 0.5rem 0 0;
}

.page-hero-sub {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  color: rgba(245, 240, 230, 0.84);
}

.page-hero-body > p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42rem;
}

.page-hero .form {
  width: 100%;
}

.page-hero .subnav a {
  background: var(--cream);
  color: var(--green);
  border-color: rgba(245, 240, 230, 0.55);
}

.page-hero .subnav a[aria-current="page"] {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
}

.fact-table-wrap {
  margin-top: 1.4rem;
  overflow-x: auto;
  background: rgba(250, 247, 240, 0.97);
  color: var(--ink);
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 18rem;
}

.fact-table caption:not(.hp) {
  caption-side: top;
  text-align: left;
  padding: 0.85rem 1rem 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 600;
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(139, 154, 59, 0.22);
  vertical-align: top;
}

.fact-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 600;
  background: rgba(139, 154, 59, 0.08);
}

.fact-table tbody th {
  font-weight: 600;
  width: 32%;
}

.fact-table--split {
  table-layout: fixed;
}

.fact-table--split col {
  width: 50%;
}

.fact-table--split tbody th {
  width: 50%;
}

.fact-table tbody tr:last-child th,
.fact-table tbody tr:last-child td {
  border-bottom: 0;
}

.fact-note {
  margin-top: 0.9rem;
  color: rgba(245, 240, 230, 0.78);
  font-size: 0.95rem;
}

.section .fact-note,
.stack .fact-note {
  color: var(--muted);
}

.compare-wrap {
  margin-top: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(139, 154, 59, 0.18);
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.45;
}

.compare-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--green);
  color: var(--cream);
  white-space: nowrap;
}

.compare-table tbody th {
  font-weight: 600;
  min-width: 8.75rem;
  max-width: 11.5rem;
}

.compare-table thead th:first-child,
.compare-table tbody th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 6px 0 10px rgba(14, 41, 35, 0.08);
}

.compare-table thead th:first-child {
  z-index: 3;
  background: var(--green);
}

.compare-table tbody tr:nth-child(odd) th:first-child {
  background: var(--white);
}

.compare-table tbody tr:nth-child(even) th:first-child {
  background: #eef2ea;
}

.compare-table tbody tr:nth-child(odd) td {
  background: var(--white);
}

.compare-table tbody tr:nth-child(even) td {
  background: #f4f6f1;
}

.compare-table thead th.compare-col-ghadeer {
  background: #24382c;
  box-shadow: inset 3px 0 0 var(--gold);
}

.compare-table tbody td.compare-col-ghadeer {
  box-shadow: inset 3px 0 0 var(--gold);
}

.compare-table tbody tr:nth-child(odd) td.compare-col-ghadeer {
  background: #f7f8f1;
}

.compare-table tbody tr:nth-child(even) td.compare-col-ghadeer {
  background: #eef1e3;
}

.compare-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.compare-badge-yes {
  background: rgba(139, 154, 59, 0.22);
  color: var(--green);
}

.compare-badge-varies {
  background: rgba(92, 107, 97, 0.14);
  color: var(--muted);
}

.compare-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52rem;
}

.compare-table tbody tr.compare-row-ghadeer th,
.compare-table tbody tr.compare-row-ghadeer td {
  background: #f7f8f1;
  box-shadow: inset 3px 0 0 var(--gold);
}

.compare-table tbody tr.compare-row-ghadeer th:first-child {
  background: #f7f8f1;
}

.corridor-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.15rem;
  border-left: 3px solid #1a2f23;
  display: grid;
  gap: 1.35rem;
}

.corridor-timeline li {
  position: relative;
  padding-left: 1.1rem;
}

.corridor-timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.15rem - 7px);
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #8b9a3b;
  box-shadow: 0 0 0 3px var(--ivory);
}

.section-cream .corridor-timeline li::before {
  box-shadow: 0 0 0 3px var(--cream);
}

.corridor-timeline-when {
  font-weight: 700;
  color: #8b9a3b;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.corridor-timeline-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
}

.corridor-timeline li.is-highlight::before {
  width: 15px;
  height: 15px;
  left: calc(-1.15rem - 9px);
  top: 0.28rem;
  background: var(--gold-2);
}

.corridor-timeline li.is-highlight .corridor-timeline-when {
  font-size: 1.2rem;
  color: var(--green);
}

.corridor-timeline li.is-highlight .corridor-timeline-card {
  background: #f7f8f1;
  border-color: rgba(139, 154, 59, 0.45);
}

@media (min-width: 1100px) {
  .compare-table {
    min-width: 0;
  }
}

.accuracy-note {
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.accuracy-note p:not(.eyebrow) {
  color: var(--muted);
  max-width: none;
  width: 100%;
}

.fact-intro {
  max-width: none;
  width: 100%;
  margin: 0 0 2.4rem;
}

.fact-cross {
  display: grid;
  gap: 1.6rem;
  align-items: stretch;
  margin-bottom: 2.4rem;
}

.fact-cross:last-of-type {
  margin-bottom: 0.4rem;
}

.fact-cross-copy,
.fact-cross-media {
  min-width: 0;
}

.fact-cross-copy .fact-table-wrap {
  height: 100%;
}

.fact-cross-media {
  margin: 0;
}

.fact-cross-media img,
.fact-cross-media .placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.fact-split {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.fact-split-media img,
.fact-split-media .placeholder,
.full-bleed-in-container img,
.full-bleed-in-container .placeholder {
  width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
}

.full-bleed-in-container {
  margin-bottom: 1.6rem;
}

/* SPLIT IMAGE + TEXT */
.split-section {
  display: grid;
  gap: 0;
}

.split-media img,
.split-media .placeholder {
  width: 100%;
  height: 100%;
  min-height: 52vw;
  max-height: none;
  object-fit: cover;
}

img.img-contain,
.placeholder.img-contain {
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}

.split-media img.img-contain,
.split-media .placeholder.img-contain,
.fact-split-media img.img-contain,
.full-bleed-in-container img.img-contain {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.cover-media img.img-contain,
.residence-card img.img-contain,
.launch-card img.img-contain,
.amenity-media img.img-contain,
.palette-grid img.img-contain,
.gallery-grid img.img-contain {
  object-fit: contain;
  min-height: 0;
}

.split-copy {
  padding: 3.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
}

.section-cream .split-copy {
  background: var(--cream);
}

.split-copy .display {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin: 0.55rem 0 1rem;
}

.split-copy p,
.split-copy li {
  color: var(--muted);
}

.split-copy p + p,
.split-copy p + .text-link,
.split-copy ul + p {
  margin-top: 1rem;
}

/* FORM */
.form {
  position: relative;
  z-index: 2;
  background: rgba(250, 247, 240, 0.97);
  color: var(--ink);
  padding: 1.7rem 1.45rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  border: 1px solid rgba(139, 154, 59, 0.32);
  background: white;
  padding: 0.8rem 0.85rem;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.phone-field {
  position: relative;
  display: grid;
  grid-template-columns: 8.1rem 1fr;
  align-items: stretch;
  border: 1px solid rgba(139, 154, 59, 0.32);
  background: white;
  text-transform: none;
  letter-spacing: 0;
}

.phone-field:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form .phone-field select,
.form .phone-field input,
.form .phone-field .code-picker-btn {
  border: 0;
  background-color: transparent;
  min-width: 0;
}

.form .phone-field select:focus,
.form .phone-field input:focus,
.form .phone-field .code-picker-btn:focus {
  outline: none;
}

.form .phone-field select {
  appearance: none;
  -webkit-appearance: none;
  border-right: 1px solid rgba(139, 154, 59, 0.28);
  padding: 0.8rem 1.85rem 0.8rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238B9A3B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5L6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 11px 7px;
}

.form .phone-field select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form .phone-field input {
  padding-left: 0.95rem;
}

.code-picker {
  position: relative;
}

.code-picker-btn {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
  width: 100%;
  height: 100%;
  padding: 0.8rem 1.7rem 0.8rem 0.85rem;
  border-right: 1px solid rgba(139, 154, 59, 0.28);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238B9A3B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5L6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 11px 7px;
}

.code-picker-btn .code-iso {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.code-picker-btn .code-dial {
  font-variant-numeric: tabular-nums;
}

.code-picker.open .code-picker-btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238B9A3B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 6.5L6 2l4.5 4.5'/%3E%3C/svg%3E");
}

.code-picker-list {
  position: absolute;
  top: calc(100% + 8px);
  left: -1px;
  z-index: 30;
  width: min(22rem, 78vw);
  max-height: 17.5rem;
  overflow: auto;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fffdf8;
  border: 1px solid rgba(139, 154, 59, 0.38);
  box-shadow: var(--shadow);
}

.code-picker-group {
  padding: 0.7rem 1rem 0.35rem;
  color: var(--gold-3);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.code-picker-list [role="option"] {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 1rem;
  color: var(--ink);
  font-size: 0.92rem;
  cursor: pointer;
}

.code-picker-list [role="option"] span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.code-picker-list [role="option"]:hover,
.code-picker-list [role="option"].is-active,
.code-picker-list [role="option"][aria-selected="true"] {
  background: rgba(139, 154, 59, 0.14);
}

.turnstile-field {
  min-height: 65px;
  margin: 0.1rem 0 0.15rem;
}

.turnstile-field[hidden] {
  display: block !important;
}

.form .btn {
  margin-top: 0.35rem;
}

.thanks {
  display: none;
  text-align: center;
  padding: 2.2rem 0.6rem;
}

.thanks h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.9rem;
}

.thanks .btn {
  margin: 0.4rem 0.3rem 0;
}

.form.submitted .form-grid {
  display: none;
}

.form.submitted .thanks {
  display: block;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  color: #b42318;
  font-size: 0.9rem;
  margin: 0.2rem 0 0;
}

.form-alert[hidden] {
  display: none;
}

.form-band {
  position: relative;
  padding: 5.5rem 0;
  background-color: var(--navy);
  background-image: var(--form-bg);
  background-size: cover;
  background-position: center;
}

.form-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 41, 35, 0.82), rgba(26, 47, 35, 0.62));
}

.form-band .container {
  position: relative;
  z-index: 1;
}

.form-band-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.form-band-copy {
  color: var(--cream);
}

.form-band-copy .display {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin: 0.6rem 0 1rem;
}

.form-band-copy p:not(.eyebrow) {
  color: rgba(245, 240, 230, 0.8);
  max-width: 34rem;
}

/* CONTENT BLOCKS */
.cover-grid,
.residence-grid,
.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cover-card,
.residence-card,
.launch-card,
.cross-sell,
.amenity-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.cover-card,
.cross-sell,
.launch-card,
.residence-card {
  display: grid;
}

.cover-card h3,
.amenity-card h3,
.launch-card h3,
.residence-card h3 {
  font-size: 1.15rem;
  margin: 1rem 1.2rem 0.45rem;
}

.cover-card p,
.amenity-card p,
.launch-card p,
.residence-card p {
  color: var(--muted);
  margin: 0 1.2rem 1.2rem;
}

.cover-media img,
.cover-media .placeholder,
.residence-card img,
.residence-card .placeholder,
.launch-card img,
.launch-card .placeholder,
.amenity-media img,
.amenity-media .placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.residence-card img,
.launch-card img,
.amenity-media img {
  height: 260px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.amenity-media {
  overflow: hidden;
  background: var(--navy);
}

.amenity-card img,
.cover-card img,
.residence-card img,
.launch-card img {
  transition: transform 0.9s var(--ease);
}

.amenity-card:hover img,
.cover-card:hover img,
.residence-card:hover img,
.launch-card:hover img {
  transform: scale(1.06);
}

.placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(139, 154, 59, 0.06),
      rgba(139, 154, 59, 0.06) 12px,
      rgba(26, 47, 35, 0.04) 12px,
      rgba(26, 47, 35, 0.04) 24px
    );
  border: 1px dashed rgba(139, 154, 59, 0.45);
  color: var(--muted);
  font-size: 0.92rem;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 2rem;
}

.subnav a {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.subnav a[aria-current="page"] {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.faq-list {
  display: grid;
  gap: 1.2rem;
}

.faq-list div {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(26, 47, 35, 0.08);
}

.faq-list dt {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.faq-list dd {
  color: var(--muted);
  margin-top: 0.4rem;
  max-width: 52rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 0.85rem 1.75rem;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 0;
  padding-bottom: 3.5rem;
}

.page-links a,
.text-link {
  color: var(--gold-3);
  text-underline-offset: 0.22em;
  text-decoration: underline;
}

.cross-sell {
  margin-top: 2rem;
  padding: 1.6rem 1.4rem;
}

.cross-sell h2 {
  font-size: 1.35rem;
}

.cross-sell p {
  color: var(--muted);
  margin: 0.4rem 0 0.8rem;
}

.example-box {
  margin-top: 1.4rem;
  padding: 1.2rem 1.3rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.example-box h3 {
  margin-bottom: 0.45rem;
}

.palette-toggle,
.floor-tabs,
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
}

.palette-toggle button,
.floor-tabs button,
.gallery-filters button {
  background: transparent;
  border: 1px solid rgba(139, 154, 59, 0.35);
  color: var(--ink);
  padding: 0.62rem 0.9rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
}

.palette-toggle button.is-active,
.floor-tabs button.is-active,
.gallery-filters button.is-active,
.palette-toggle button:hover,
.floor-tabs button:hover,
.gallery-filters button:hover {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.palette-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.palette-grid figure,
.plan-grid figure {
  background: var(--white);
  border: 1px solid var(--line);
}

.palette-grid img,
.plan-grid img,
.palette-grid .placeholder,
.plan-grid .placeholder {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.plan-grid img {
  height: 280px;
  object-fit: contain;
  background: #fff;
}

.palette-grid figcaption,
.plan-grid figcaption,
.gallery-grid figcaption {
  padding: 0.75rem 0.9rem 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-page {
  padding: calc(var(--nav-h) + 2.4rem) 0 5rem;
}

.gallery-grid {
  columns: 3 240px;
  column-gap: 1rem;
}

.gallery-grid figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.gallery-grid img,
.gallery-grid .placeholder {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}

.gallery-grid figure[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(14, 41, 35, 0.92);
}

.lightbox:not([hidden]),
.lightbox.open {
  display: flex;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
}

.footer {
  background: var(--navy);
  color: rgba(245, 240, 230, 0.72);
  padding: 3.2rem 0 2rem;
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 0.8rem;
  max-width: 36rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 2.2rem;
  align-content: start;
  min-width: min(22rem, 100%);
}

.footer-nav-col {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer a {
  color: var(--gold-2);
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.52);
}

@media (min-width: 900px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
  }

  .split-section.is-reverse .split-media {
    order: 2;
  }

  .split-section.is-reverse .split-copy {
    order: 1;
  }

  .split-copy {
    padding: 4rem 3.4rem;
  }

  .split-media img,
  .split-media .placeholder {
    min-height: 560px;
  }

  .split-media img.img-contain,
  .split-media .placeholder.img-contain {
    min-height: 0;
    height: auto;
  }

  .fact-cross {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: stretch;
  }

  .corridor-timeline {
    position: relative;
    padding-left: 0;
    border-left: 0;
    gap: 1.6rem;
  }

  .corridor-timeline::before {
    content: "";
    position: absolute;
    left: calc(9.5rem + 0.8rem);
    top: 0.45rem;
    bottom: 0.45rem;
    width: 3px;
    background: #1a2f23;
  }

  .corridor-timeline li {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 1.6rem;
    padding-left: 0;
    align-items: start;
  }

  .corridor-timeline li::before {
    left: calc(9.5rem + 0.8rem - 4px);
    top: 0.55rem;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--ivory);
  }

  .corridor-timeline li.is-highlight::before {
    left: calc(9.5rem + 0.8rem - 6px);
    top: 0.48rem;
  }

  .corridor-timeline-when {
    text-align: right;
    padding-top: 0.35rem;
    margin-bottom: 0;
  }

  .corridor-timeline li.is-highlight .corridor-timeline-when {
    padding-top: 0.2rem;
  }

  .corridor-timeline-card {
    padding: 1.15rem 1.4rem;
  }

  .fact-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.2rem;
  }

  .form-band-grid {
    grid-template-columns: 1fr minmax(18rem, 26rem);
    gap: 3rem;
    align-items: center;
  }
}

@media (min-width: 1025px) {
  .page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24.5rem);
    align-items: start;
    column-gap: 3rem;
    row-gap: 0;
  }

  .page-hero-form {
    order: 2;
  }

  .page-hero-copy {
    order: 1;
  }
}

@media (max-width: 1199px) {
  .nav-toggle {
    display: block;
    order: 3;
    flex-shrink: 0;
  }

  .nav .brand {
    order: 1;
    flex: 1 1 auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 51;
    background: rgba(14, 41, 35, 0.98);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 1.4rem 1.5rem 1.8rem;
    display: none;
    gap: 1.05rem;
    max-height: calc(100svh - var(--nav-h));
    overflow: auto;
    order: 4;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links > li {
    white-space: normal;
  }

  .nav-inner > .btn,
  .nav-register {
    display: inline-flex;
    order: 2;
  }

  .nav-register-mobile {
    display: none;
  }
}

@media (max-width: 1100px) {
  .cover-grid,
  .residence-grid,
  .launch-grid,
  .amenity-grid,
  .palette-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    columns: 2 200px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 72px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero-full .display,
  .hero-map-copy .display {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .split-media img,
  .split-media .placeholder {
    min-height: 62vw;
  }

  .split-media img.img-contain,
  .split-media .placeholder.img-contain {
    min-height: 0;
    height: auto;
  }

  .cover-media img,
  .residence-card img,
  .launch-card img,
  .amenity-media img,
  .palette-grid img,
  .plan-grid img {
    height: 220px;
  }

  .amenity-grid,
  .cover-grid,
  .residence-grid,
  .launch-grid,
  .palette-grid,
  .plan-grid,
  .footer-top {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .gallery-grid {
    columns: 1;
  }

  .phone-field {
    grid-template-columns: 7.6rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .amenity-card:hover img,
  .cover-card:hover img,
  .residence-card:hover img,
  .launch-card:hover img {
    transform: none;
  }

  .reveal,
  .js-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* WhatsApp widget — same UI as theupsides.ae (international visitors only) */
#whatsapp-widget[hidden] {
  display: none !important;
}

.whatsapp-fab {
  position: fixed;
  z-index: 60;
  left: 1rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(26, 47, 35, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab svg {
  width: 1.75rem;
  height: 1.75rem;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  filter: brightness(0.95);
  box-shadow: 0 16px 36px rgba(26, 47, 35, 0.34);
  outline: none;
}

.whatsapp-fab:active {
  transform: scale(0.97);
}

.whatsapp-prompt {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.whatsapp-prompt[hidden] {
  display: none !important;
}

.whatsapp-prompt-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.whatsapp-prompt-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  padding-right: 2.2rem;
  margin-bottom: 0.45rem;
}

.whatsapp-prompt p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.whatsapp-prompt-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  height: 2.75rem;
  border-radius: 4px;
  background: #25d366;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}

.whatsapp-prompt-cta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.whatsapp-prompt-cta:hover,
.whatsapp-prompt-cta:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

@media (min-width: 640px) {
  .whatsapp-fab {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .whatsapp-prompt {
    left: 1.5rem;
    right: auto;
    width: 22.5rem;
    bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }
}
