@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* =========================================================
   Cloud Infinity, Old Goa — design tokens
   Palette: laterite terracotta / deep olive / warm limestone / brass
   Type: Cormorant Garamond (display) · Jost (body/UI)
   Signature: colonial-arch hero frame, parallax reveal, horizontal
   scroll-snap highlights, flip-reveal villa cards
   ========================================================= */

:root {
  --terracotta: #F0A226;
  --terracotta-dark: #C97F14;
  --terracotta-light: #F5BE5E;

  --olive-950: #1C2117;
  --olive-900: #232A1D;
  --olive-800: #2E3626;
  --olive-700: #3C4630;

  --stone-50: #FBF7EF;
  --stone-100: #F4EADA;
  --stone-200: #E9DBC1;

  --brass-300: #F5BE5E;
  --brass-500: #F0A226;
  --brass-600: #C97F14;

  --ink: #211A12;
  --ink-soft: #5C5142;
  --paper: #FBF7EF;

  --line-light: rgba(33, 26, 18, 0.13);
  --line-lighter: rgba(33, 26, 18, 0.07);
  --line-dark: rgba(251, 247, 239, 0.16);

  /* Previous Cloud typography:
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
  */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brass-500); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 {
  font-family: var(--font-display);
  /* Previous Cloud heading weight: font-weight: 600; */
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--olive-950);
}
/* Previous Cloud paragraph line-height: 1.68; */
p { line-height: 1.65; margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  /* Previous Cloud eyebrow: font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; */
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 16px;
}
.eyebrow::after { content: ""; width: 22px; height: 1.5px; background: var(--terracotta); display: inline-block; }
.eyebrow--light { color: var(--brass-300); }
.eyebrow--light::after { background: var(--brass-300); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none;
}
.btn:hover::before { left: 120%; }

.btn-brass { background: var(--brass-500); color: var(--olive-950); box-shadow: 0 10px 24px rgba(240, 162, 38, 0.3); }
.btn-brass:hover { background: var(--brass-300); box-shadow: 0 14px 30px rgba(240, 162, 38, 0.4); }

.btn-terracotta { background: var(--terracotta); color: var(--olive-950); box-shadow: 0 10px 24px rgba(240, 162, 38, 0.32); }
.btn-terracotta:hover { background: var(--terracotta-dark); }

.btn-ghost { background: transparent; color: var(--stone-50); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--brass-300); color: var(--brass-300); }

.btn-outline { background: transparent; color: var(--olive-950); border-color: var(--line-light); }
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }

.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; text-align: center; }

/* Keep enquiry controls static on hover. */
[data-open-popup="enquiry-popup"],
#enquiry-submit,
#contact-submit {
  transition: none !important;
}
[data-open-popup="enquiry-popup"]:hover,
#enquiry-submit:hover,
#contact-submit:hover {
  transform: none !important;
}
[data-open-popup="enquiry-popup"]::before,
#enquiry-submit::before,
#contact-submit::before {
  display: none;
}

/* ---------- reveal ---------- */
.reveal-up { opacity: 0; transform: translateY(28px) scale(0.97); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-up.d1 { transition-delay: 0.08s; }
.reveal-up.d2 { transition-delay: 0.16s; }
.reveal-up.d3 { transition-delay: 0.24s; }
.reveal-up.d4 { transition-delay: 0.32s; }

.count-pop { display: inline-block; animation: count-pop 0.4s var(--ease-out); }
@keyframes count-pop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 0;
  transition: padding 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(33, 26, 18, 0.1);
}
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }

.mark { display: flex; align-items: center; gap: 10px; color: var(--olive-950); transition: color 0.3s ease; }
.is-scrolled .mark { color: var(--olive-950); }
.brand-logo { display: block; height: auto; object-fit: contain; }
.brand-logo--header { width: 132px; padding: 5px 7px; border-radius: 4px; }
.brand-logo--footer { width: 180px; padding: 7px 9px; border-radius: 4px; background-color: white; }
.brand-logo--scrolled { display: none; }
.is-scrolled .brand-logo--default { display: none; }
.is-scrolled .brand-logo--scrolled { display: block; }

.site-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; font-size: 0.82rem; font-weight: 500; }
.site-nav a { position: relative; color: var(--ink-soft); padding-bottom: 4px; transition: color 0.2s ease; }
.is-scrolled .site-nav a { color: var(--ink-soft); }
.site-nav a:hover, .is-scrolled .site-nav a:hover { color: var(--terracotta-dark); }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--terracotta); transition: right 0.25s var(--ease-out); }
.site-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-light); color: var(--olive-950); flex-shrink: 0; background: none;
}
.is-scrolled .menu-toggle { color: var(--olive-950); border-color: var(--line-light); }
.menu-toggle .icon-close { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--olive-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav-link { font-family: var(--font-display); font-size: 1.6rem; color: var(--stone-100); }
.mobile-menu .btn { margin-top: 12px; }
.mobile-menu-close {
  position: absolute; top: 24px; right: 28px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--stone-50); display: flex; align-items: center; justify-content: center; background: none;
}

/* ---------- hero (colonial arch frame) ---------- */
.hero {
  position: relative; width: 100%; aspect-ratio: 8001 / 3388;
  color: var(--stone-50); background: var(--olive-950); overflow: hidden;
}
.hero > .wrap { width: 100%; }
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,33,23,0) 0%, rgba(28,33,23,0) 70%, rgba(28,33,23,0.5) 100%);
}
.hero-arch {
  position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: min(1040px, 94vw); pointer-events: none; z-index: 1;
}
.hero-arch svg { width: 100%; height: auto; display: block; }

.hero-content { position: relative; z-index: 2; max-width: 760px; }

@keyframes hero-slide-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero-content .eyebrow, .hero-content h1, .hero-lede, .hero-actions, .hero-stat-strip { animation: hero-slide-in 0.9s var(--ease-out) both; }
.hero-content .eyebrow { animation-delay: 0.05s; }
.hero-content h1 { animation-delay: 0.18s; }
.hero-lede { animation-delay: 0.32s; }
.hero-actions { animation-delay: 0.46s; }
.hero-stat-strip { animation-delay: 0.6s; }

.hero h1 { color: var(--stone-50); font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 600; }
.hero h1 em { color: var(--brass-300); font-style: italic; }
.hero-lede { color: rgba(251, 247, 239, 0.82); font-size: 1.12rem; max-width: 54ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stat-strip { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 26px; }
.hero-stat { padding: 0 28px; border-left: 1px solid var(--line-dark); }
.hero-stat:first-child { padding-left: 0; border-left: none; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--brass-300); }
.hero-stat span { font-size: 0.76rem; color: rgba(251,247,239,0.68); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- section basics ---------- */
.section { padding: 110px 0; }
.section-tight { padding: 90px 0; }
.section:not(.section--stone):not(.section--olive) {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 50% 100%, transparent 0 19px, rgba(138,106,47,0.04) 19.5px 20.5px, transparent 21px),
    radial-gradient(ellipse at 50% 100%, transparent 0 19px, rgba(201,127,20,0.028) 19.5px 20.5px, transparent 21px);
  background-size: 48px 38px;
  background-position: 0 0, 24px 19px;
}
.section:not(.section--stone):not(.section--olive) p {
  color: #473c30;
  font-weight: 500;
}
.section--stone { background: var(--stone-100); }
.section--olive { background: var(--olive-950); color: var(--stone-50); }
.section--olive h2 { color: var(--stone-50); }
.section--olive p { color: rgba(251,247,239,0.75); }

.section-head { max-width: 680px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2,
.overview-copy h2,
.contact-copy h2 {
  /* Previous Cloud heading size: font-size: clamp(1.9rem, 3.6vw, 2.7rem); */
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700;
}
.section-head p { font-size: 1.04rem; margin: 0; }

/* ---------- overview ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.overview-photo {
  position: relative; border-radius: 4px; overflow: hidden; height: 460px;
  background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(33,26,18,0.2);
}
.overview-badge {
  position: absolute; left: 14px; top: 14px; background: var(--stone-50); border-radius: 7px;
  padding: 8px 11px; box-shadow: 0 10px 24px rgba(33,26,18,0.22); display: flex; align-items: center; gap: 8px;
}
.overview-badge .ring { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--brass-500); display: flex; align-items: center; justify-content: center; color: var(--brass-500); }
.overview-badge .ring svg { width: 12px; height: 12px; }
.overview-badge strong { display: block; font-family: var(--font-display); font-size: 0.8rem; color: var(--olive-950); }
.overview-badge span { font-size: 0.6rem; color: var(--ink-soft); }
.overview-badge strong + span { color: var(--brass-600); font-size: 0.58rem; letter-spacing: 0.06em; }

.overview-copy p { font-size: 1.02rem; }
.overview-facts { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.overview-facts li { display: flex; flex-direction: column; }
.overview-facts strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--olive-950); }
.overview-facts strong .count {  text-transform: none; letter-spacing: normal; }
.overview-facts span { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- highlights: compact editorial grid ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.highlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 18px 34px 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--brass-500);
  border-radius: 8px;
  background: rgba(251,247,239,0.72);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease;
}
.highlight-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--brass-500);
  transform: rotate(45deg);
}
.highlight-card:hover { transform: translateX(5px); box-shadow: 0 12px 28px rgba(33,26,18,0.11); background: var(--stone-50); }
.hl-icon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--brass-500); background: transparent; color: var(--olive-950); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease; }
.hl-icon svg { display: block; }
.highlight-card:hover .hl-icon { transform: rotate(-5deg); background: var(--olive-950); color: var(--brass-300); }
.highlight-card h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
.highlight-card p { font-size: 0.88rem; margin: 6px 0 0; }

/* ---------- configuration: triptych ---------- */
.config-triptych {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.config-panel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 52px 34px; border-right: 1px solid var(--line-light);
}
.config-panel:last-child { border-right: none; }
.config-panel-index { font-family: var(--font-display); font-size: 2.6rem; color: var(--brass-500); margin-bottom: 16px; }
.config-panel h3 { font-size: 1.25rem; margin: 0 0 8px; color: var(--olive-950); }
.config-panel-tag { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.config-panel-divider { width: 34px; height: 1px; background: var(--brass-500); margin: 26px 0; }
.config-panel-area { margin-bottom: 28px; }
.config-panel-area strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--olive-950); }
.config-panel-area span { font-size: 0.76rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.config-note { margin-top: 30px; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* ---------- amenities ---------- */
.amenities-carousel { position: relative; }
.amenities-track-wrap { overflow: hidden; padding: 10px 0; margin: -10px 0; }
.amenities-track { display: flex; gap: 16px; transition: transform 0.5s var(--ease-out); }
.amenities-nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.amenities-nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: rgba(251,247,239,0.06); color: var(--stone-50); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.amenities-nav-btn:hover { border-color: var(--brass-500); color: var(--brass-300); }
.amenity-chip {
  flex: 0 0 calc(25% - 12px); min-width: 0;
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: rgba(251,247,239,0.05); border: 1px solid var(--line-dark); border-radius: 4px;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}
.amenity-chip:hover { transform: translateY(-4px); background: rgba(240,162,38,0.1); border-color: var(--brass-500); }
.amenity-chip .a-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: var(--brass-500); color: #fff; display: flex; align-items: center; justify-content: center; }
.amenity-chip .a-icon svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.amenity-chip span { font-size: 0.9rem; font-weight: 500; color: var(--stone-50); }

/* ---------- gallery ---------- */
.gallery-scroll { position: relative; }
.gallery-grid {
  position: relative; height: 330px; overflow: hidden;
  margin: 0 42px;
}
.gallery-item {
  position: absolute; left: 50%; top: 50%; width: 360px; height: auto; aspect-ratio: 4 / 3;
  border-radius: 4px; overflow: hidden; cursor: zoom-in; background: var(--stone-100);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(0.45);
  box-shadow: 0 12px 28px rgba(28,33,23,0.14);
  transition: transform 0.55s var(--ease-out), opacity 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item.is-active {
  z-index: 5; opacity: 1; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 24px 48px rgba(28,33,23,0.22);
}
.gallery-item.is-prev-1 { z-index: 4; opacity: 0.92; pointer-events: auto; transform: translate(calc(-50% - 292px), -50%) scale(0.76); }
.gallery-item.is-next-1 { z-index: 4; opacity: 0.92; pointer-events: auto; transform: translate(calc(-50% + 292px), -50%) scale(0.76); }
.gallery-item.is-prev-2 { z-index: 3; opacity: 0.72; pointer-events: auto; transform: translate(calc(-50% - 500px), -50%) scale(0.54); }
.gallery-item.is-next-2 { z-index: 3; opacity: 0.72; pointer-events: auto; transform: translate(calc(-50% + 500px), -50%) scale(0.54); }
.gallery-item.is-prev-1,
.gallery-item.is-next-1,
.gallery-item.is-prev-2,
.gallery-item.is-next-2 { cursor: pointer; }
.gallery-item.is-prev-1 img,
.gallery-item.is-next-1 img,
.gallery-item.is-prev-2 img,
.gallery-item.is-next-2 img { filter: saturate(0.82) brightness(0.9); }
.gallery-item.is-active img { filter: none; }
.gallery-item:focus-visible {
  outline: 3px solid var(--brass-500); outline-offset: 4px;
}
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28,33,23,0.86) 100%); opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out), filter 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 7;
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--stone-50); border: 1px solid var(--line-light); color: var(--olive-950);
  box-shadow: 0 10px 24px rgba(28,33,23,0.16);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery-arrow:hover { background: var(--olive-950); color: var(--brass-300); border-color: var(--olive-950); }
.gallery-arrow--prev { left: 0; }
.gallery-arrow--next { right: 0; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(28,33,23,0.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img-wrap { width: 60vw; height: 55vh; max-width: 60vw; max-height: 55vh; }
.lightbox-img-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox-caption { text-align: center; color: var(--stone-100); margin-top: 16px; font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--stone-50); background: rgba(251,247,239,0.06); }
.lightbox-close { top: 26px; right: 28px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--brass-500); color: var(--brass-300); }

/* ---------- floor plans (site plan showcase) ---------- */
.floorplan-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.floorplan-showcase--single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.floorplan-frame {
  position: relative; height: 280px; margin: 0; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line-light); box-shadow: 0 30px 60px rgba(33,26,18,0.2);
}
.fp-photo-bg {
  position: absolute; inset: -10px; background-size: cover; background-position: center;
  filter: blur(6px); transform: scale(1.08);
}
.fp-body h4 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--olive-950); }
.fp-note { margin-top: 22px; text-align: center; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- connectivity (compass list, no fabricated distances) ---------- */
.connectivity-showcase {
  display: grid; grid-template-columns: minmax(380px, 0.85fr) minmax(0, 1.15fr);
  gap: 30px; align-items: start;
}
.connectivity-visual { margin: 0; align-self: center; }
.connectivity-image-wrap {
  overflow: hidden; border: 1px solid var(--line-light); border-radius: 12px;
  background: var(--stone-100); box-shadow: 0 24px 55px rgba(28,33,23,0.14);
  cursor: zoom-in; transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.connectivity-image-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 65px rgba(28,33,23,0.2);
}
.connectivity-image-wrap img { display: block; width: 100%; height: auto; }
.connectivity-details {
  margin: 0; padding: 22px; border: 1px solid var(--line-light); border-radius: 12px;
  background: var(--stone-50); box-shadow: 0 18px 45px rgba(28,33,23,0.08);
}
.destination-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.destination-row { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line-lighter); }
.destination-row .d-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--stone-100); color: var(--terracotta-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.destination-row:hover .d-icon { transform: scale(1.1) rotate(-6deg); }
.destination-row strong { display: block; color: var(--olive-950); font-size: 0.98rem; font-weight: 600; }
.destination-row span { font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- developer ---------- */
.developer-band { text-align: center; padding: 90px 0; }
.developer-band .section-head { margin-bottom: 22px; }
.developer-placeholder { max-width: 640px; margin: 0 auto; padding: 30px; border: 1px dashed var(--line-dark); border-radius: 6px; }
.developer-placeholder p { margin: 0; font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--olive-950); color: var(--stone-50); padding: 90px 0; text-align: center; }
.cta-band h2 { color: var(--stone-50); font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 720px; margin: 0 auto 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: stretch; }
.contact-copy { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.contact-copy .eyebrow { align-self: flex-start; align-items: center; text-align: left; }
.contact-details { list-style: none; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 18px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .c-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--stone-100); color: var(--terracotta-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.contact-details li:hover .c-icon { transform: scale(1.1) rotate(-6deg); }
.contact-details strong { display: block; color: var(--olive-950); font-size: 0.95rem; }
.contact-details span { font-size: 0.88rem; color: var(--ink-soft); }
.contact-map { position: relative; flex: 1; min-height: 222px; margin-top: 26px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line-light); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.qr-box { margin-top: 22px; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed var(--line-light); border-radius: 6px; }
.qr-placeholder { width: 64px; height: 64px; border-radius: 4px; background: var(--stone-100); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); flex-shrink: 0; }
.qr-box span { font-size: 0.84rem; color: var(--ink-soft); }

.contact-form-wrap { background: var(--stone-50); border: 1px solid var(--line-light); border-radius: 8px; padding: 36px; box-shadow: 0 24px 50px rgba(33,26,18,0.1); }
.contact-form-wrap h3 { font-size: 1.35rem; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--olive-950); margin-bottom: 7px; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-light); border-radius: 3px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass-500); }
.field textarea { resize: vertical; min-height: 96px; }
.form-input.is-invalid { border-color: #B44A3A; }
.form-input.is-valid { border-color: #4E7A5C; }
.form-error-msg { display: none; font-size: 0.78rem; color: #B44A3A; margin-top: 6px; text-align: left; }
.form-error-msg.visible { display: block; }
.form-consent { font-size: 0.78rem; color: var(--ink-soft); margin: 4px 0 18px; }

/* ---------- enquiry popup ---------- */
.popup-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(28,33,23,0.72); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-card { position: relative; width: 100%; max-width: 460px; background: var(--stone-50); border-radius: 8px; padding: 40px 36px; box-shadow: 0 40px 80px rgba(28,33,23,0.4); transform: translateY(16px) scale(0.98); transition: transform 0.3s var(--ease-out); }
.popup-overlay.active .popup-card { transform: translateY(0) scale(1); }
.popup-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); background: none; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; }
.popup-close:hover { border-color: var(--brass-500); color: var(--brass-600); }
.popup-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.popup-card > p { margin-bottom: 24px; font-size: 0.92rem; }

.form-success { padding: 28px 4px; text-align: center; }
.form-success .status-icon { margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: #16190F; color: rgba(251,247,239,0.7); padding: 70px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.footer-top > * { min-width: 0; }
.footer-brand .mark-text { color: var(--stone-50); }
.footer-brand p { color: rgba(251,247,239,0.6); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: var(--stone-100); }
.footer-social a:hover { border-color: var(--brass-500); color: var(--brass-300); }
.footer-col h4 { color: var(--stone-50); font-family: var(--font-body); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  column-gap: 34px;
  row-gap: 11px;
  width: 100%;
}
.footer-col--center {
  width: 100%;
  max-width: 300px;
  justify-self: center;
  text-align: center;
}
.footer-col--center h4 { text-align: left; }
.footer-col--center .footer-links-grid { text-align: left; }
.footer-col a, .footer-col span { font-size: 0.9rem; color: rgba(251,247,239,0.65); }
.footer-col a:hover { color: var(--brass-300); }
.footer-bottom { padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.footer-legal { font-size: 0.78rem; line-height: 1.7; color: rgba(251,247,239,0.5); }
.footer-legal strong { color: rgba(251,247,239,0.75); }
.footer-legal a { color: var(--brass-300); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(251,247,239,0.45); }

/* ---------- sticky enquire ---------- */
.sticky-enquire {
  display: inline-flex;
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  align-items: center; justify-content: center;
  box-shadow: 0 16px 34px rgba(28,33,23,0.35);
}
.sticky-enquire svg { width: 19px; height: 19px; }

.scroll-top {
  position: fixed; left: 26px; bottom: 26px; z-index: 40;
  width: 46px; height: 46px; padding: 0; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--olive-950); color: var(--brass-300);
  box-shadow: 0 16px 34px rgba(28,33,23,0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { transform: translateY(-4px) scale(1.05); }
@media (max-width: 720px) {
  .scroll-top { left: 18px; bottom: 18px; width: 40px; height: 40px; }
}

/* ---------- status pages ---------- */
.status-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--stone-100); padding: 40px 20px; font-family: var(--font-body); }
.status-card { max-width: 480px; width: 100%; background: var(--stone-50); border-radius: 10px; padding: 48px 40px; text-align: center; box-shadow: 0 30px 60px rgba(33,26,18,0.16); }
.status-card--wide { max-width: 680px; text-align: left; }
.status-card--wide .eyebrow, .status-card--wide h1 { text-align: center; display: block; }
.status-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(78,122,92,0.15); color: #4E7A5C; margin: 0 auto 18px; }
.status-icon--error { background: rgba(180,74,58,0.15); color: #B44A3A; }
.status-card h1 { font-size: 1.7rem; text-align: center; }
.status-card p { text-align: left; }
.status-card .btn { margin-top: 8px; }
.eyebrow--error { color: #B44A3A; }
.policy-block { margin-bottom: 22px; }
.policy-block h3 { font-size: 1.05rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .amenity-chip { flex: 0 0 calc(50% - 8px); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .header-actions { justify-self: end; }
  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--olive-950);
    background: rgba(251, 247, 239, 0.82);
    border-color: rgba(33, 26, 18, 0.2);
  }
  .menu-toggle svg { width: 20px; height: 20px; stroke-width: 2; }
  .overview-grid, .contact-grid { grid-template-columns: 1fr; }
  .connectivity-showcase { grid-template-columns: 1fr; }
  .floorplan-showcase { grid-template-columns: 1fr; gap: 32px; }
  .overview-photo { height: 340px; }
  .config-triptych { grid-template-columns: 1fr; }
  .config-panel { border-right: none; border-bottom: 1px solid var(--line-light); }
  .config-panel:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .floorplan-frame { height: 320px; }
}

@media (max-width: 720px) {
  .header-row { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .header-actions .btn { display: none; }
  .sticky-enquire { display: inline-flex; }
  .hero { aspect-ratio: 3476 / 5214; }
  .gallery-grid { height: 240px; margin: 0 28px; }
  .gallery-item { width: min(240px, 100%); height: auto; }
  .gallery-item.is-prev-1 { transform: translate(calc(-50% - 178px), -50%) scale(0.68); }
  .gallery-item.is-next-1 { transform: translate(calc(-50% + 178px), -50%) scale(0.68); }
  .gallery-item.is-prev-2,
  .gallery-item.is-next-2 { opacity: 0; pointer-events: none; }
  .gallery-arrow { width: 38px; height: 38px; }
  .fp-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stat-strip { gap: 10px; }
  .hero-stat { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .lightbox-img-wrap { width: 80vw; max-width: 80vw; height: 64vh; max-height: 64vh; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .sticky-enquire span.long { display: none; }
  .highlights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .amenity-chip { flex: 0 0 100%; }
}
.footer-meta-link { color: #4da3ff; }
.policy-actions { display: flex; justify-content: center; }
@media (max-width: 600px) {
  .policy-actions .btn { width: 100%; }
}
.footer-contact-list .footer-contact-icon {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brass-300); background: rgba(245,190,94,0.1);
}
.footer-contact-list li { display: flex; align-items: center; gap: 10px; }
.footer-contact-list a,
.footer-contact-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.footer-contact-list .footer-contact-icon svg { width: 14px; height: 14px; }


/* Use ForDummy's motion-child entrance without stacked parent transforms. */
.project-motion .reveal-up,
.project-motion #overview .overview-copy.reveal-up,
.project-motion #overview .overview-photo.reveal-up {
  opacity: 1; filter: none; transform: none; clip-path: none; animation: none; transition: none;
}
    .project-motion .motion-child { opacity: 0; filter: blur(6px); transform: translateY(110px); transition: opacity 2s cubic-bezier(.22,1,.36,1), transform 2s cubic-bezier(.22,1,.36,1), filter 2s cubic-bezier(.22,1,.36,1); transition-delay: var(--motion-delay, 0ms); will-change: transform, opacity, filter; }
    .project-motion .reveal-up.is-visible .motion-child,
    .project-motion .motion-child.reveal-up.is-visible { opacity: 1; filter: blur(0); transform: translate(0, 0) scale(1); }

/* The overview ID rules must not override an individual image entrance. */
.project-motion #overview .overview-photo.motion-child {
  opacity: 0; filter: blur(6px); transform: translateY(110px);
  transition: opacity 2s cubic-bezier(.22,1,.36,1), transform 2s cubic-bezier(.22,1,.36,1), filter 2s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--motion-delay, 0ms);
}
.project-motion #overview .overview-photo.motion-child.is-visible { opacity: 1; filter: none; transform: none; }
    @keyframes hero-arrival {
      from { opacity: .25; transform: translateY(40px) scale(1.12); filter: blur(8px) brightness(.68); }
      to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0) brightness(1); }
    }
    @keyframes nav-arrival {
      from { opacity: 0; transform: translateY(-24px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes nav-link-arrival {
      from { opacity: 0; transform: translateY(-12px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes hero-light-sweep {
      from { transform: translateX(-120%); }
      to { transform: translateX(120%); }
    }
    @keyframes line-draw {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    @keyframes point-arrival {
      from { opacity: 0; filter: blur(5px); transform: translateY(48px) scale(.96); }
      to { opacity: 1; filter: blur(0); transform: none; }
    }
    @keyframes benefit-icon-arrival {
      from { opacity: 0; transform: scale(.45) rotate(-18deg); }
      to { opacity: 1; transform: scale(1) rotate(0); }
    }
    @keyframes legacy-badge-arrival {
      from { opacity: 0; transform: scale(.45) rotate(20deg); }
      to { opacity: 1; transform: scale(1) rotate(0); }
    }
    @keyframes ring-breathe {
      0%, 100% { transform: scale(1); opacity: .75; }
      50% { transform: scale(1.06); opacity: 1; }
    }
    @keyframes number-pulse {
      0%, 100% { transform: translateX(0); }
      45% { transform: translateX(7px); color: #fff; }
    }
    @keyframes collection-image-left {
      from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-80px) scale(.97); }
      to { opacity: 1; clip-path: inset(0); transform: none; }
    }
    @keyframes collection-image-right {
      from { opacity: 0; clip-path: inset(0 0 0 100%); transform: translateX(80px) scale(.97); }
      to { opacity: 1; clip-path: inset(0); transform: none; }
    }
    @keyframes collection-label-arrival {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes collection-photo-arrival {
      from { filter: brightness(.72); transform: scale(1.12); }
      to { filter: brightness(1); transform: scale(1); }
    }
    @keyframes collection-light-sweep {
      from { transform: translateX(-130%); }
      to { transform: translateX(130%); }
    }


@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .hero-slide-img, .hero-bg-img { animation: hero-arrival 2.35s cubic-bezier(.22,1,.36,1) both; }
  .site-header { animation: nav-arrival .9s .25s cubic-bezier(.22,1,.36,1) both; }
  .site-nav a { animation: nav-link-arrival .7s cubic-bezier(.22,1,.36,1) both; }
  .site-nav a:nth-child(1) { animation-delay: .38s; }
  .site-nav a:nth-child(2) { animation-delay: .46s; }
  .site-nav a:nth-child(3) { animation-delay: .54s; }
  .site-nav a:nth-child(n+4) { animation-delay: .62s; }
  .hero::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%); transform: translateX(-120%); animation: hero-light-sweep 1.5s 1.1s cubic-bezier(.22,1,.36,1) both; }
}
@media (max-width: 980px) {
  .hero-slide.is-active .hero-slide-img, .hero-bg-img, .site-header { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up, #overview .overview-photo.reveal-up, #overview .overview-copy.reveal-up,
  .project-motion .reveal-up, .project-motion .motion-child, .project-motion .motion-title {
    opacity: 1 !important; filter: none !important; transform: none !important; clip-path: none !important;
    transition: none !important; animation: none !important;
  }
  .project-motion .motion-image::before { display: none; }
}

/* Eleva footer branding and referral area; Explore retains its existing styles. */
.site-footer { background: #021421; }
.footer-logo-row { display: flex; align-items: center; gap: 18px; }
.footer-logo-row a { display: block; flex: 1; min-width: 0; }
.footer-logo-row img { width: 100%; height: auto; display: block; }
.footer-project-links { display: grid; gap: 10px; max-width: 260px; margin-top: 26px; }
.footer-project-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; color: rgba(255,255,255,.66); font-size: .86rem; }
.footer-project-links span { color: #f0bd5f; font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.footer-project-links a:hover { border-color: #f0bd5f; color: white; }
.footer-eleva-info p { margin: 0; color: rgba(255,255,255,.62); font-size: .86rem; line-height: 1.75; }
.footer-eleva-info .footer-site-address { margin-top: 16px; }
.footer-referral-cta { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; margin-top: 22px; padding: 14px 20px; border: 0; border-radius: 5px; color: #031c32; background: #f0bd5f; font-family: var(--font-body); font-size: .82rem; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.footer-referral-cta:hover { background: #ffd078; }
.footer-referral-cta:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 720px) {
  .footer-logo-row { max-width: 420px; }
}

/* Glass pill navbar matched to Aria's glass-header reference. */
.site-header { padding: 22px 0 0; transition: padding .3s ease, background .3s ease, box-shadow .3s ease; }
.site-header .header-row {
  width: calc(100% - 48px); padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 12px;
  background: linear-gradient(110deg, rgba(221,218,200,.48), rgba(112,108,105,.46) 55%, rgba(102,113,113,.44));
  box-shadow: 0 10px 28px rgba(10,42,39,.12), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter: blur(32px) saturate(85%); -webkit-backdrop-filter: blur(32px) saturate(85%);
}
.site-header .brand-logo--header { padding: 0; background: transparent; }
.site-header .site-nav a { color: #fff; }
.site-header .site-nav a:hover { color: #f0bd5f; }
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(251, 247, 239, 0.94);
  box-shadow: 0 8px 24px rgba(33, 26, 18, 0.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled .header-row {
  border-color: transparent; border-radius: 0; background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.is-scrolled .site-nav a { color: var(--ink-soft); }
.site-header.is-scrolled .site-nav a:hover { color: var(--terracotta-dark); }
@media (max-width: 980px) {
  .site-header { padding: 12px 0; }
  .site-header.is-scrolled { padding: 5px 0; }
}

/* Match Aria's Jost headings/UI and Manrope body copy.
   Previously these elements inherited Cormorant Garamond or Jost from the tokens above. */
.eyebrow, h2, h3, .amenity-chip span, button, a,
.destination-row strong, .overview-facts strong, .overview-facts strong .count, .hl-icon, .fp-body h4 {
  font-family: "Jost", var(--font-body) !important;
}
#highlights .highlight-card h3 { font-weight: 600; }
/* Previous Cloud amenity label weight: font-weight: 500; */
.amenity-chip span { font-weight: 600; }

/* Font weights matched to Aria; previous Cloud values retained below. */
/* Previous: .site-nav { font-weight: 500; } */
.site-nav { font-weight: 600; }
.site-header .site-nav a { font-weight: 700; }
/* Previous: .hero h1 { font-weight: 600; } */
.hero h1 { font-weight: 500; }
/* Previous: .amenity-tab, .fp-tab, .field label { font-weight: 600; } */
.field label { font-weight: 700; }
#highlights .section-head h2 { font-weight: 700; }
#highlights .section-head p { font-weight: 400; }

/* Required consent for enquiry, contact and referral forms. */
.field .consent-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .78rem; font-weight: 400; line-height: 1.5; }
.field .consent-check input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; margin: 3px 0 0; padding: 0; accent-color: #c97f14; cursor: pointer; }
.consent-check span { flex: 1; min-width: 0; text-align: left; }
.consent-field .form-error-msg { text-align: left; margin-left: 26px; }
.consent-check input:focus-visible { outline: 2px solid #c97f14; outline-offset: 3px; }

/* Match Aria typography while retaining Cloud's component layouts. */
.site-header .site-nav a { font-size: 14px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
.hero-stat strong { font-size: 1.7rem; }
.hero-stat span { font-size: 0.78rem; }
.overview-badge strong { font-size: 0.76rem; }
.overview-badge span { font-size: 0.58rem; }
.overview-facts strong { font-size:0.82rem; color: var(--ink-soft);}
.overview-facts span { font-size: 0.82rem; }
.highlight-card h3 { font-size: clamp(0.68rem, 1.05vw, 0.88rem); }
.amenity-chip span { font-size: 0.92rem; }
.fp-tab { font-size: 0.88rem; }
.fp-body h4 { font-size: 1.08rem; font-weight: 500; }
.contact-form-wrap h3 { font-size: 2rem; }
.popup-card h3 { font-size: 1.4rem; }

@media (max-width: 720px) {
  .highlight-card h3 { font-size: clamp(0.68rem, 3vw, 0.88rem); }
}

/* Overview entrances: image from the right, content from the left. */
@media (prefers-reduced-motion: no-preference) {
  #overview { overflow-x: clip; }
  .project-motion #overview .overview-photo.motion-child:not(.is-visible) {
    transform: translateX(80px);
  }
  .project-motion #overview .overview-copy.reveal-up:not(.is-visible) > .motion-child {
    transform: translateX(-80px);
  }
}

/* Connectivity entrances match the overview directions. */
@media (prefers-reduced-motion: no-preference) {
  #connectivity { overflow-x: clip; }
  .project-motion #connectivity .connectivity-visual.motion-child:not(.is-visible) {
    transform: translateX(80px);
  }
  .project-motion #connectivity .connectivity-details.motion-child:not(.is-visible),
  .project-motion #connectivity .connectivity-details .motion-child:not(.is-visible) {
    transform: translateX(-80px);
  }
}

.destination-points { margin: 6px 0 0; padding-left: 18px; font-size: .84rem; color: var(--ink-soft); }
.destination-points li + li { margin-top: 4px; }

/* Project highlights: a vertical feature list beside the project image. */
.highlights-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: stretch; }
#highlights .highlights-showcase .highlights-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
#highlights .highlights-showcase .highlight-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; min-height: 76px; padding: 16px 20px; border: 1px solid rgba(138,106,47,.2); border-radius: 6px; background: rgba(255,255,255,.25); gap: 18px; }
#highlights .highlights-showcase .highlight-card::before,
#highlights .highlights-showcase .highlight-card::after { display: none; }
#highlights .highlights-showcase .highlight-card:hover { transform: none; box-shadow: none; border-color: rgba(138,106,47,.4); background: rgba(255,255,255,.4); }
#highlights .highlights-showcase .hl-icon { display: flex; width: 38px; height: 38px; border: 0; border-radius: 0; background: transparent; color: var(--brass-600); }
#highlights .highlights-showcase .hl-icon svg { width: 28px; height: 28px; }
#highlights .highlights-showcase .highlight-card:hover .hl-icon { transform: none; background: transparent; color: var(--brass-600); }
#highlights .highlights-showcase .highlight-card h3 { font-family: "Jost", var(--font-body); font-size: 1.12rem; font-weight: 500; line-height: 1.5; margin: 0; color: var(--olive-950); }
.highlights-visual { position: relative; align-self: center; margin: 0; overflow: hidden; border-radius: 12px; background: var(--stone-50); min-height: 0; }
.highlights-visual img { position: static; display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .highlights-showcase { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .highlights-visual img { position: static; height: auto; }
  #highlights .highlights-showcase .highlight-card { min-height: 72px; padding: 14px 16px; gap: 14px; }
  #highlights .highlights-showcase .highlight-card h3 { font-size: 1rem; }
}

/* Contact entrances: content from the left and form from the right. */
@media (prefers-reduced-motion: no-preference) {
  #contact { overflow-x: clip; }
  .project-motion #contact .contact-copy.motion-child:not(.is-visible) {
    transform: translateX(-80px);
  }
  .project-motion #contact .contact-form-wrap.motion-child:not(.is-visible) {
    transform: translateX(80px);
  }
}

/* Project highlights enter from opposite sides. */
@media (prefers-reduced-motion: no-preference) {
  #highlights { overflow-x: clip; }
  .project-motion #highlights .highlights-visual.motion-child:not(.is-visible) {
    transform: translateX(80px);
  }
  .project-motion #highlights .highlight-card.motion-child:not(.is-visible) {
    transform: translateX(-80px);
  }
}

/* Split layout with an architectural frame around the plan preview. */
.floorplan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.floorplan-layout .floorplan-copy { margin: 0; text-align: left; }
.floorplan-copy .eyebrow { align-items: flex-start; }
.floorplan-copy h2 { max-width: 520px; }
.floorplan-layout .floorplan-copy p { font-size: 0.98rem; line-height: 1.9; color: var(--ink-soft); }
.floorplan-showcase--request {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(201, 127, 20, 0.3);
  border-radius: 100px 12px 100px 12px;
  background: linear-gradient(145deg, var(--stone-50), var(--stone-200));
  box-shadow: 0 24px 50px rgba(33, 26, 18, 0.09);
}
.floorplan-showcase--request::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 127, 20, 0.2);
  border-radius: 92px 7px 92px 7px;
  pointer-events: none;
}
.floorplan-showcase--request .floorplan-frame {
  height: clamp(300px, 31vw, 380px);
  border: 0;
  border-radius: 82px 4px 82px 4px;
  box-shadow: none;
  background: var(--stone-200);
}
.floorplan-showcase--request .floorplan-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,33,23,0.02) 25%, rgba(28,33,23,0.55));
  pointer-events: none;
}
.floorplan-enquire {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 36px 24px;
}
.floorplan-enquire .btn {
  gap: 16px;
  box-shadow: 0 8px 28px rgba(28, 33, 23, 0.2);
}
@media (max-width: 960px) {
  .floorplan-layout { grid-template-columns: 1fr; gap: 32px; }
  .floorplan-layout .floorplan-copy { max-width: 680px; }
  .floorplan-copy h2 { max-width: none; }
  .floorplan-showcase--request { max-width: 680px; justify-self: center; }
}
@media (max-width: 480px) {
  .floorplan-showcase--request { padding: 8px; }
  .floorplan-showcase--request .floorplan-frame { height: 290px; }
  .floorplan-enquire { padding-bottom: 28px; }
}

/* Connectivity Accordion */
.connectivity-accordion {
  width: 100%;
  display: grid;
  gap: 10px;
}

.connectivity-accordion .accordion-item {
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.connectivity-accordion .accordion-item:hover {
  border-color: var(--brass-300);
}

.connectivity-accordion .accordion-item.active {
  border-color: var(--brass-300);
  background: linear-gradient(135deg, #fffaf0, #fffdf9);
  box-shadow: 0 6px 18px rgba(33, 26, 18, 0.06);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
}

.connectivity-accordion .accordion-header:focus-visible {
  outline: 2px solid var(--terracotta-dark);
  outline-offset: -4px;
  border-radius: 12px;
}

.connectivity-accordion .d-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--stone-200);
  border-radius: 11px;
  background: var(--stone-100);
  color: var(--terracotta-dark);
  transition: background 0.25s ease, color 0.25s ease;
}

.connectivity-accordion .d-icon svg {
  width: 20px;
  height: 20px;
}

.connectivity-accordion .active .d-icon {
  background: var(--olive-800);
  border-color: var(--olive-800);
  color: var(--brass-300);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}

.accordion-plus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--stone-200);
  border-radius: 50%;
  background: var(--stone-50);
  color: var(--olive-800);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.35s ease;
}

/* Smooth content animation */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}

.accordion-content > .destination-points {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 16px 0 66px;
  list-style: none;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.4s ease,
    padding 0.4s ease;
}

/* Open */
.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-item.active .accordion-content > .destination-points {
  padding-bottom: 20px;
  opacity: 1;
  transform: translateY(0);
}

/* Plus → X */
.accordion-item.active .accordion-plus {
  transform: rotate(45deg);
}

.destination-points li {
  position: relative;
  padding: 9px 0 9px 13px;
  border-top: 1px solid var(--line-lighter);
  margin-bottom: 0;
}

.connectivity-accordion .destination-points li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 16px;
}
.connectivity-accordion .destination-time {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.connectivity-accordion .destination-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta-dark);
}

.destination-points li:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  #connectivity .connectivity-details { padding: 12px; }
  .connectivity-accordion .accordion-header { padding: 13px 12px; }
  .connectivity-accordion .accordion-title { gap: 10px; font-size: 14px; }
  .connectivity-accordion .accordion-content > .destination-points { padding-left: 24px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .connectivity-accordion *,
  .connectivity-accordion .accordion-content > .destination-points { transition: none; }
}

/* Additional mobile enquiry bar; existing floating controls remain available. */
.mobile-enquiry-bar { display: none; }
@media (max-width: 720px) {
  .mobile-enquiry-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 247, 239, 0.95);
    box-shadow: 0 -4px 18px rgba(33, 26, 18, 0.08);
  }
  .mobile-enquiry-button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #f8d78f;
    border-radius: 5px;
    background: #f2bf60;
    color: #171710;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
  }
  .mobile-enquiry-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  body:has(.mobile-enquiry-bar) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body:has(.mobile-enquiry-bar) .sticky-enquire,
  body:has(.mobile-enquiry-bar) .scroll-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

.other-location-field { margin-top: 10px; }
.other-location-field[hidden] { display: none; }

/* Compact enquiry forms with paired fields on larger screens. */
#enquiry-popup .popup-card { max-width: 640px; max-height: calc(100dvh - 48px); overflow-y: auto; }
#contact-section-form .field, #enquiry-form .field { min-width: 0; }
@media (min-width: 641px) {
  #contact-section-form, #enquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    align-items: start;
  }
  #contact-section-form > .field-row,
  #enquiry-form > .field-row,
  #contact-section-form > .consent-field,
  #enquiry-form > .consent-field,
  #contact-section-form > button,
  #enquiry-form > button { grid-column: 1 / -1; }
  #contact-section-form > .field-row,
  #enquiry-form > .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1025px) {
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; }
}

/* Custom location begins on its own row at the left edge. */
.field.other-location-field { grid-column: 1 / -1; margin-top: 0; text-align: left; }
@media (min-width: 641px) {
  .field.other-location-field { width: calc((100% - 18px) / 2); }
}

/* Reduce vertical whitespace without changing content or motion. */
@media (min-width: 1025px) {
  .section { padding-block: clamp(40px, 6vh, 64px); }
  .section-tight, .developer-band { padding-block: clamp(36px, 5vh, 52px); }
  .section-head { margin-bottom: 28px; }
  .overview-grid { gap: 40px; }
  .overview-photo { height: clamp(340px, 48vh, 400px); }
  .overview-facts { margin-top: 20px; padding-top: 16px; gap: 16px; }
  .highlights-marquee { padding-block: 16px; margin-bottom: 28px; }
  .config-tabs { margin-bottom: 24px; }
  .config-table th, .config-table td { padding-top: 12px; padding-bottom: 12px; }
  .amenities-nav { margin-top: 18px; }
  .contact-form-wrap { padding: 28px; }
  .contact-form-wrap h3 { margin-bottom: 22px; }
  .contact-details { margin-top: 20px; padding-top: 18px; gap: 14px; }
  .contact-map { margin-top: 18px; min-height: 190px; }
}
@media (max-width: 1024px) {
  .section, .section-tight, .developer-band { padding-block: 48px; }
  .section-head { margin-bottom: 28px; }
}

/* Give section content and introductions a little more horizontal room. */
@media (min-width: 981px) {
  .section > .wrap, .section-tight > .wrap, .developer-band > .wrap { max-width: 1320px; }
  .section .section-head, .section-tight .section-head, .developer-band .section-head { max-width: 900px; }
  .section .developer-copy > p { max-width: 1000px; }
}

/* Keep the complete overview photo centered beside the copy. */
#overview .overview-photo { height: auto; align-self: center; }
#overview .overview-photo > img { display: block; width: 100%; height: auto; }
@media (min-width: 981px) {
  #overview .overview-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}
