/* ==================================================================
   PASSION SQUARE — STYLESHEET
   Design tokens are declared once as CSS custom properties, then
   referenced everywhere below. To restyle the brand, change the
   values in :root only.
   ================================================================== */

:root {
  --navy-950: #080D18;
  --navy-900: #0B1220;
  --navy-800: #121D33;
  --navy-700: #1B2A47;
  --gold-500: #C9A961;
  --gold-300: #F0D6A0;
  --maroon-700: #7C1B2C;
  --maroon-500: #A7293E;
  --maroon-400: #C7415A;
  --ivory-50: #FBF8F3;
  --ink-900: #141821;
  --ink-500: #5B6272;
  --border-soft: rgba(20, 24, 33, 0.09);
  --border-on-dark: rgba(240, 214, 160, 0.22);

  /* Typography — Plus Jakarta Sans used site-wide per brand spec */
  --font-display: 'Plus Jakarta Sans', -apple-system, 'system-ui', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, 'system-ui', 'Segoe UI', sans-serif;

  --max-width: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 4px;
  --radius-md: 10px;
  --header-h: 72px;
  --sticky-mobile-h: 62px;
  --sticky-desktop-h: 84px;
}

/* ------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--ivory-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-mobile-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy-900); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
svg { width: 20px; height: 20px; }

/* Heading scale anchored to the brand spec: 34px / 700 / 40.8px
   line-height at desktop width, easing down for smaller screens. */
h2 { font-size: clamp(1.55rem, 1.1rem + 2vw, 2.125rem); line-height: 1.2; margin-bottom: 18px; }
@media (min-width: 1080px) {
  h2 { font-size: 2.125rem; line-height: 1.2; }
}

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

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

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

/* ------------------------------------------------------------------
   SCROLL REVEAL — one restrained treatment used everywhere
   ------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   SECTION KICKER — a small ascending "skyline" mark (echoing the
   logo) instead of a plain rule under the heading.
   ------------------------------------------------------------------ */
.section-kicker {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--maroon-500);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-kicker__mark { width: 30px; height: 19px; flex-shrink: 0; }
.section-kicker__mark rect { fill: var(--maroon-500); }
.section-kicker__mark rect:nth-child(3) { fill: var(--gold-500); }
.section-kicker--light { color: var(--gold-300); }
.section-kicker--light .section-kicker__mark rect { fill: var(--gold-300); }
.section-kicker--light .section-kicker__mark rect:nth-child(3) { fill: var(--maroon-400); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; padding: 0 var(--gutter); }
/* Wider on desktop so headlines have room to stay on one line
   rather than wrapping awkwardly at the 640px mobile-first width. */
@media (min-width: 900px) { .section-head { max-width: 900px; } }
@media (min-width: 900px) {
  .section-head h2, .highlights .section-head h2 { white-space: nowrap; }
}
.section-head .section-kicker { justify-content: center; }
.section-head h2 { margin-bottom: 20px; }
.section-sub { color: var(--ink-500); font-size: 1.02rem; }
.section-head--light h2 { color: var(--ivory-50); }
.section-sub--light { color: rgba(251, 248, 243, 0.72); }

/* ------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.96rem; font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
/* Every CTA button uses the same maroon / white treatment, per
   request — the variant class names are kept so templates don't
   need touching, they just all resolve to one look now. */
.btn--primary, .btn--gold, .btn--maroon, .btn--outline, .btn--outline-dark {
  background: var(--maroon-500); color: #fff; border-color: var(--maroon-500);
}
.btn--primary:hover, .btn--gold:hover, .btn--maroon:hover, .btn--outline:hover, .btn--outline-dark:hover {
  background: var(--maroon-700); border-color: var(--maroon-700);
}
.btn--full { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }

.link-btn { background: none; border: none; padding: 0; color: var(--maroon-500); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-family: inherit; font-size: 0.95rem; }

/* ------------------------------------------------------------------
   HEADER — light background, no dark strip
   ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ivory-50);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 52px; width: auto; max-width: 46vw; object-fit: contain; }

.main-nav {
  display: none; gap: 22px; overflow-x: auto; scrollbar-width: none;
  flex: 1; justify-content: center;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: var(--ink-500); font-size: 0.88rem; font-weight: 600; white-space: nowrap; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--maroon-500); }

.site-header__actions { display: none; align-items: center; gap: 14px; flex-shrink: 0; }
.site-header__actions .btn { padding: 11px 18px; font-size: 0.86rem; }

.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; padding: 0; flex-shrink: 0; }
.nav-toggle span { width: 22px; height: 2px; background: var(--maroon-500); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: flex; flex-direction: column; max-height: 0; overflow-y: auto; background: var(--ivory-50); transition: max-height 0.25s ease; }
.mobile-nav.is-open { max-height: 70vh; }
.mobile-nav a { padding: 13px var(--gutter); color: var(--ink-900); border-top: 1px solid var(--border-soft); font-weight: 600; font-size: 0.94rem; }
.mobile-nav__call { color: var(--maroon-500) !important; }

/* CTA visible earlier than the full nav — this page's whole job is
   to capture leads, so the button shouldn't disappear on tablets. */
@media (min-width: 760px) {
  .site-header__actions { display: flex; }
}
@media (min-width: 1180px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ------------------------------------------------------------------
   HERO — pure banner image, no overlay/scrim and no HTML text or
   CTAs on top of it (the creative itself carries the message).
   Mobile and desktop use different source images via <picture>,
   each shown at its own natural aspect ratio.
   ------------------------------------------------------------------ */
.hero { position: relative; background: var(--ivory-50); }
.hero__media { display: block; width: 100%; }
.hero__media img { width: 100%; height: auto; display: block; aspect-ratio: 500 / 800; object-fit: cover; }
@media (min-width: 760px) {
  .hero__media img { aspect-ratio: 2000 / 900; }
}

.hero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--ivory-50);
  border-top: 1px solid var(--border-soft);
}
.hero__fact { padding: 18px var(--gutter); border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 4px; }
.hero__fact:last-child { border-right: none; }
.hero__fact-value { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--maroon-500); }
.hero__fact-label { font-size: 0.8rem; color: var(--ink-500); }

@media (min-width: 720px) {
  .hero__facts { grid-template-columns: repeat(4, 1fr); }
  .hero__fact { border-bottom: none; }
}

/* ------------------------------------------------------------------
   OVERVIEW
   ------------------------------------------------------------------ */
.overview { padding: 96px var(--gutter); }
.overview__inner { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 44px; }
.overview__text h2 { margin-bottom: 24px; }
.overview__lede { font-size: 1.08rem; color: var(--ink-900); margin-bottom: 16px; }
.overview__text p { margin-bottom: 15px; color: var(--ink-500); }
.overview__media { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.overview__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.overview__media-badge { position: absolute; bottom: 18px; left: 18px; background: var(--maroon-500); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); }
.overview__media-badge span { display: block; font-size: 0.76rem; color: rgba(251,248,243,0.65); }
.overview__media-badge strong { font-family: var(--font-display); font-size: 1.05rem; }

@media (min-width: 900px) { .overview__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

/* ------------------------------------------------------------------
   HIGHLIGHTS
   ------------------------------------------------------------------ */
.highlights { padding: 96px var(--gutter); background: #F3EEE3; }
.highlights-grid { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.highlight-card { background: var(--ivory-50); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 28px 26px; }
.highlight-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.highlight-card p { color: var(--ink-500); font-size: 0.96rem; }

/* ------------------------------------------------------------------
   CONFIGURATIONS
   ------------------------------------------------------------------ */
.configurations { padding: 96px var(--gutter); }
.config-grid { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.config-card { background: var(--ivory-50); border: 1px solid var(--border-soft); border-top: 3px solid var(--gold-500); padding: 32px 28px; border-radius: var(--radius-sm); display: flex; flex-direction: column; }
.config-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.config-card__area { color: var(--maroon-500); font-weight: 700; margin-bottom: 24px; flex-grow: 1; }
.config-card__cta { background: none; border: none; padding: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); font-weight: 700; font-size: 0.95rem; border-top: 1px solid var(--border-soft); padding-top: 18px; }
.config-card__cta svg { transition: transform 0.15s ease; }
.config-card__cta:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------
   PLANS — plain image carousel, styling shared with .carousel below
   ------------------------------------------------------------------ */
.plans { padding: 56px var(--gutter) 40px; background: var(--ivory-50); }

/* ------------------------------------------------------------------
   CAROUSEL — shared by Gallery and Floor Plans. Light background;
   arrows and dots styled for use on a light section. Image height
   is capped on desktop so the whole section (heading + carousel +
   dots) comfortably fits a normal laptop viewport without scrolling.
   ------------------------------------------------------------------ */
.gallery { padding: 56px var(--gutter) 40px; background: #F3EEE3; }
.carousel { max-width: var(--max-width); margin: 0 auto; position: relative; display: flex; align-items: center; gap: 12px; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius-sm); flex: 1;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; background: var(--ivory-50); }
.carousel__slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; cursor: zoom-in; }
.carousel__nav {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ivory-50); border: 1px solid var(--border-soft); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
}
.carousel__nav:hover { background: #F3EEE3; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-soft); border: none; padding: 0; }
.carousel__dot.is-active { background: var(--maroon-500); width: 22px; border-radius: 5px; transition: width 0.2s ease, background 0.2s ease; }
.gallery__disclaimer { max-width: var(--max-width); margin: 14px auto 0; padding: 0 var(--gutter); font-size: 0.78rem; color: var(--ink-500); }

@media (min-width: 960px) {
  .gallery, .plans { padding-top: 48px; padding-bottom: 36px; }
  .carousel__slide img { aspect-ratio: auto; height: 46vh; max-height: 440px; min-height: 280px; }
}

/* Gallery — taller frame so renders read clearly. Shows the photos at
   their own shape (approx. 1.43:1) and only trims edges when the screen
   is too short to fit the full height. */
.gallery .carousel { max-width: 1320px; }
.gallery .carousel__slide img { aspect-ratio: 1600 / 1118; height: auto; min-height: 0; max-height: calc(100vh - 140px); object-fit: cover; }
@media (min-width: 960px) {
  .gallery .carousel__slide img { height: auto; min-height: 0; max-height: min(calc(100vh - 140px), 860px); }
}
@media (max-width: 640px) {
  /* Arrows sit on the photo so the image gets the full screen width */
  .gallery { padding-left: 12px; padding-right: 12px; }
  .gallery .carousel { display: block; }
  .gallery .carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(251, 248, 243, 0.92); }
  .gallery .carousel__nav--prev { left: 8px; }
  .gallery .carousel__nav--next { right: 8px; }
  .gallery .gallery__disclaimer { padding: 0 8px; }
}

@media (max-width: 640px) {
  .carousel__nav { width: 36px; height: 36px; }
  .carousel__nav svg { width: 16px; height: 16px; }
}

/* ------------------------------------------------------------------
   MASTER PLAN — single large drawing on a light band, below Plans
   ------------------------------------------------------------------ */
.master-plan { padding: 56px var(--gutter) 48px; background: #FFFFFF; }
.master-plan__frame { max-width: var(--max-width); margin: 0 auto; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: clamp(10px, 1.6vw, 18px); background: #F7F3EC; }
.master-plan__figure { position: relative; margin: 0; }
.master-plan__figure img { width: 100%; max-height: 640px; object-fit: contain; display: block; cursor: zoom-in; margin: 0 auto; }
.master-plan__zoom {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 24, 33, 0.22); background: transparent; color: var(--navy-900);
  font: 600 0.92rem/1 var(--font-body); cursor: pointer;
}
.master-plan__zoom svg { width: 16px; height: 16px; }
.master-plan__zoom:hover { border-color: var(--navy-900); background: var(--ivory-50); }
.master-plan__pending { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 40px 20px; border: 1px dashed rgba(20, 24, 33, 0.18); border-radius: var(--radius-sm); }
.master-plan__pending-mark { width: 56px; height: 56px; color: var(--gold-500); }
.master-plan__pending p { color: var(--ink-500); max-width: 380px; margin: 0; }
.master-plan__caption { max-width: var(--max-width); margin: 14px auto 0; font-size: 0.85rem; color: var(--ink-500); text-align: center; }
.master-plan__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
@media (max-width: 640px) {
  .master-plan__figure img { max-height: 420px; }
  .master-plan__actions > * { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------
   VIDEOS
   ------------------------------------------------------------------ */
.videos { padding: 96px var(--gutter); background: var(--ivory-50); }
.video-poster { position: relative; max-width: var(--max-width); margin: 0 auto; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-soft); }
.video-poster img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.video-poster__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,13,24,0.2), rgba(8,13,24,0.75)); }
.video-poster__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--maroon-500); color: #fff;
  display: flex; align-items: center; justify-content: center; border: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-poster__play:hover { background: var(--maroon-700); transform: translate(-50%, -60%) scale(1.06); }
.video-poster__play svg { width: 28px; height: 28px; }
.video-poster__caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(251,248,243,0.85); font-size: 0.9rem; }

/* ------------------------------------------------------------------
   AMENITIES
   ------------------------------------------------------------------ */
.amenities { padding: 96px var(--gutter); background: #F3EEE3; }
.amenities-grid { max-width: var(--max-width); margin: 0 auto 44px; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--border-soft); border-left: 1px solid var(--border-soft); }
.amenity-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--ivory-50); }
.amenity-item__mark { width: 7px; height: 7px; border-radius: 50%; background: var(--maroon-500); flex-shrink: 0; }
.amenity-item__title { color: var(--ink-900); font-weight: 600; font-size: 0.98rem; }
.amenities__cta { text-align: center; }

/* ------------------------------------------------------------------
   SPECIFICATIONS
   ------------------------------------------------------------------ */
.specifications { padding: 96px var(--gutter); }
.specs-grid { max-width: var(--max-width); margin: 0 auto; column-count: 1; column-gap: 36px; }
@media (min-width: 640px) { .specs-grid { column-count: 2; } }
@media (min-width: 900px) { .specs-grid { column-count: 3; } }
.specs-group { border-top: 2px solid var(--maroon-500); padding-top: 16px; margin-bottom: 30px; break-inside: avoid; page-break-inside: avoid; }
.specs-group h3 { font-size: 1.05rem; margin-bottom: 12px; }
.specs-group li { padding: 8px 0; border-bottom: 1px dashed var(--border-soft); color: var(--ink-500); font-size: 0.94rem; }
.specs-group li:last-child { border-bottom: none; }

/* ------------------------------------------------------------------
   LOCATION
   ------------------------------------------------------------------ */
.location { padding: 96px var(--gutter); }
.location-grid { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.location-group h3 { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--maroon-500); color: var(--navy-900); }
.location-group li { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--border-soft); font-size: 0.96rem; }
.location-group li span { color: var(--ink-500); }
.location-group li strong { color: var(--navy-900); font-family: var(--font-display); }

/* ------------------------------------------------------------------
   BROCHURE
   ------------------------------------------------------------------ */
.brochure { padding: 70px var(--gutter); }
.brochure__card {
  max-width: var(--max-width); margin: 0 auto; background: #F3EEE3;
  border-radius: var(--radius-md); padding: 44px var(--gutter);
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
}
.brochure__text p { color: var(--ink-500); margin-top: 10px; max-width: 58ch; }
@media (min-width: 800px) { .brochure__card { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ------------------------------------------------------------------
   SITE VISIT
   ------------------------------------------------------------------ */
.site-visit { padding: 70px var(--gutter); background: #F3EEE3; }
.site-visit__inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.site-visit__text h2 { color: var(--navy-900); }
.site-visit__text p { color: var(--ink-500); margin-top: 10px; max-width: 58ch; }
@media (min-width: 800px) { .site-visit__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ------------------------------------------------------------------
   FINAL CTA BANNER
   ------------------------------------------------------------------ */
.cta-final { background: linear-gradient(120deg, var(--maroon-700), var(--maroon-500)); padding: 70px var(--gutter); }
.cta-final__inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; justify-content: space-between; }
.cta-final__text h2 { color: var(--ivory-50); margin-bottom: 10px; }
.cta-final__text p { color: rgba(251,248,243,0.85); max-width: 52ch; }
.cta-final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cta-final__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory-50); font-weight: 700; }
@media (min-width: 860px) { .cta-final__inner { flex-direction: row; align-items: center; } }

/* ------------------------------------------------------------------
   THANK YOU PAGE
   ------------------------------------------------------------------ */
.thankyou { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px var(--gutter); background: #F3EEE3; }
.thankyou__card { max-width: 560px; text-align: center; background: var(--ivory-50); border-radius: var(--radius-md); padding: 48px 36px; border-top: 4px solid var(--gold-500); }
.thankyou__mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--maroon-500); color: var(--ivory-50); margin-bottom: 22px; }
.thankyou__mark svg { width: 28px; height: 28px; }
.thankyou__card h1 { font-size: 1.7rem; margin-bottom: 14px; }
.thankyou__card p { color: var(--ink-500); margin-bottom: 30px; }
.thankyou__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 26px; }
.thankyou__back { color: var(--maroon-500); font-weight: 700; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------
   FOOTER — single colour (#FBF8F3) throughout, per request
   ------------------------------------------------------------------ */
.site-footer { background: var(--ivory-50); color: var(--ink-500); padding: 56px var(--gutter) 0; }
.site-footer__inner { max-width: var(--max-width); margin: 0 auto 0; display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); }
.site-footer__brand { display: flex; align-items: center; }
.site-footer__logo { height: 56px; width: auto; }
.site-footer__col h4 { color: var(--navy-900); font-size: 0.85rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.site-footer__col p { color: var(--ink-500); }
.site-footer__phone { display: block; color: var(--maroon-500); font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }

@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Credit strip: developer / project / marketer — same background
   as the rest of the footer now, just its own padded band. */
.credit-strip {
  background: var(--ivory-50);
  padding: 34px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 64px;
}
.credit-strip__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.credit-strip__label { font-size: 0.72rem; letter-spacing: 0.03em; color: var(--ink-500); font-weight: 600; }
.credit-strip__logo { height: 104px; width: auto; }
.credit-strip__logo--marketer { height: 52px; }
.credit-strip__divider { width: 1px; height: 96px; background: var(--border-soft); }
.credit-strip__project-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--navy-900); }

@media (max-width: 640px) {
  .credit-strip { gap: 28px; }
  .credit-strip__logo { height: 92px; }
  .credit-strip__logo--marketer { height: 44px; }
  .credit-strip__divider { display: none; }
}

.site-footer__legal { max-width: var(--max-width); margin: 0 auto; font-size: 0.78rem; display: flex; flex-direction: column; gap: 8px; color: var(--ink-500); padding: 20px 0 30px; border-top: 1px solid var(--border-soft); }

/* ------------------------------------------------------------------
   STICKY CTA — MOBILE (Call + Enquire Now only)
   ------------------------------------------------------------------ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--ivory-50); border-top: 1px solid var(--border-soft);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.sticky-cta__item { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 6px; color: var(--ink-900); font-size: 0.86rem; font-weight: 700; background: none; border: none; border-right: 1px solid var(--border-soft); }
.sticky-cta__item:last-child { border-right: none; }
.sticky-cta__item svg { width: 18px; height: 18px; }
.sticky-cta__item--primary { background: var(--maroon-500); color: #fff; }

/* ------------------------------------------------------------------
   STICKY CTA — DESKTOP: a slim vertical tab on the right edge
   instead of a bottom form/bar. The footer's inline form is hidden
   entirely on desktop; this tab is the only persistent desktop CTA.
   ------------------------------------------------------------------ */
.sticky-side-tab { display: none; }

@media (min-width: 960px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }

  .sticky-side-tab {
    display: flex; align-items: center; justify-content: center;
    position: fixed; right: 0; top: 50%; z-index: 55;
    transform: translateY(-50%);
    background: var(--maroon-500); color: #fff;
    border: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 22px 12px;
    box-shadow: -4px 4px 18px rgba(0,0,0,0.22);
    transition: background 0.15s ease, padding-right 0.15s ease;
  }
  .sticky-side-tab:hover { background: var(--maroon-700); padding-right: 16px; }
  .sticky-side-tab span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------
   ENQUIRY MODAL — compact
   ------------------------------------------------------------------ */
body.modal-open { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(8,13,24,0.72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative; background: var(--ivory-50); width: 100%; max-width: 380px;
  max-height: 92vh; overflow-y: auto; border-radius: var(--radius-md);
  border-top: 4px solid var(--gold-500); padding: 26px 24px 22px;
}
.modal-card__close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--border-soft); font-size: 1.2rem; line-height: 1; color: var(--ink-900); }
.modal-card__head h3 { font-size: 1.24rem; margin-bottom: 8px; padding-right: 24px; }
.modal-card__sub { color: var(--ink-500); font-size: 0.88rem; margin-bottom: 18px; }

.enquiry-form { display: flex; flex-direction: column; gap: 12px; }
.hp-field { position: absolute; left: -9999px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--navy-900); }
.form-field input { border: 1.5px solid var(--border-soft); border-radius: var(--radius-sm); padding: 10px 13px; font-family: var(--font-body); font-size: 0.92rem; background: #fff; color: var(--ink-900); }
.form-field input:focus { border-color: var(--gold-500); }
.form-field input.is-invalid { border-color: var(--maroon-500); }
.form-field__phone { display: flex; align-items: center; border: 1.5px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; }
.form-field__phone:focus-within { border-color: var(--gold-500); }
.form-field__prefix { padding: 10px 8px 10px 13px; color: var(--ink-500); font-weight: 700; }
.form-field__phone input { border: none; flex: 1; padding-left: 0; }
.form-field__error { font-size: 0.76rem; color: var(--maroon-500); display: none; }
.form-field__error.is-visible { display: block; }

.form-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 0.78rem; color: var(--ink-500); }
.form-consent input { margin-top: 3px; }

.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn__label { opacity: 0.6; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.enquiry-form__status { font-size: 0.85rem; min-height: 1.2em; }
.enquiry-form__status.is-success { color: #1F7A3D; }
.enquiry-form__status.is-error { color: var(--maroon-500); }

/* ------------------------------------------------------------------
   IMAGE LIGHTBOX — full-size popup for Gallery / Floor Plans images
   ------------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8, 13, 24, 0.9);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__image { max-width: 100%; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 1.6rem; line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 600;
}

@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav svg { width: 18px; height: 18px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ------------------------------------------------------------------
   SECTION BACKGROUND PATTERN — option "M" (shallow diagonal wave),
   applied at low opacity so it reads as texture, not decoration.
   The tile itself is a plain horizontal wave (seamless by
   construction); the diagonal look comes from rotating the whole
   tiled layer with a CSS transform, which sidesteps the seam math
   a truly-diagonal tile would otherwise need. The layer sits behind
   the section's content via z-index, and every section using it
   keeps its own solid background-color underneath so text contrast
   is completely unaffected.
   ------------------------------------------------------------------ */
.pattern-bg { position: relative; overflow: hidden; }
.pattern-bg::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 160%; height: 160%;
  transform: translate(-50%, -50%) rotate(25deg);
  background-image: url('../images/pattern-wave-tile.svg');
  background-repeat: repeat;
  background-size: 90px 22px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.pattern-bg > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------------
   MOBILE SPACING — the 96px/70px vertical rhythm reads fine on
   desktop but leaves too much dead air stacked on a phone screen;
   tighten it below 640px across every section that uses it.
   ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .overview,
  .highlights,
  .configurations,
  .videos,
  .amenities,
  .specifications,
  .location {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .brochure,
  .site-visit,
  .cta-final {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .thankyou { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 32px; }
}
