/* ==========================================================================
   BOOTES ALIVA — Stay Close
   ========================================================================== */

/* ---------- Variables ---------- */
:root{
  --navy: #17233f;
  --navy-soft: #2c3a5e;
  --ink: #263354;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --terracotta: #c1665a;
  --terracotta-deep: #a34f45;
  --indigo: #33447d;
  --sky: #4fa3d1;
  --gold: #a9822f;
  --sand: #d8c3a5;
  --line: rgba(23,35,63,0.14);
  --white: #ffffff;

  --font-script: "Cormorant Garamond", serif;
  --font-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(24px, 5vw, 80px);
  --section-pad: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  width: 100%;
  position: relative;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.eyebrow::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.on-dark{ color: rgba(255,255,255,.78); }

.heading-xl{
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.32;
  font-size: clamp(22px, 2.3vw, 34px);
}
.heading-lg{
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  font-size: clamp(18px, 1.9vw, 26px);
}
.heading-md{
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: clamp(17px, 1.4vw, 20px);
}

.signature-line{
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.08em;
  color: var(--terracotta-deep);
}
.signature-line.on-dark{ color: var(--white); }

.body-copy{
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: 0.012em;
  color: var(--ink);
}
.body-copy + .body-copy{ margin-top: 1.2em; }
.body-copy p + p{ margin-top: 1.2em; }
.body-copy.small{ font-size: 13.5px; }
.body-copy.on-dark{ color: rgba(255,255,255,.86); }
.body-copy.centered{ text-align: center; max-width: 640px; margin-inline: auto; }

.stat-strip{
  border-top: 1px solid var(--line);
}
.stat-strip .stat-row{
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.stat-strip .stat-cell{
  flex: 1 1 0;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-left: 1px solid var(--line);
}
.stat-strip .stat-cell:first-child{ border-left: none; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
.btn-primary:hover{ background: var(--terracotta-deep); border-color: var(--terracotta-deep); transform: translateY(-2px); }
.btn-ghost{
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover{ background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-outline-dark{
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.btn-outline-dark:hover{ background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible{ transition-delay: .1s; }
.reveal-delay-2.is-visible{ transition-delay: .2s; }
.reveal-delay-3.is-visible{ transition-delay: .3s; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.is-scrolled{
  padding: 12px 0;
  background: rgba(250,246,239,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(23,35,63,0.08);
}

.brand-logo{ display: flex; align-items: center; gap: 10px; }
.brand-logo .b-mark{
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand-logo .b-text{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
}
.brand-logo .b-sub{
  display: block;
  font-size: 7.4px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--navy-soft);
  margin-top: 3px;
}
.site-header.is-light .brand-logo .b-text,
.site-header.is-light .brand-logo .b-sub{ color: var(--white); }

.main-nav{ display: flex; align-items: center; gap: 40px; }
.main-nav ul{ display: flex; gap: 34px; }
.main-nav a{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--terracotta-deep);
  transition: right .35s var(--ease);
}
.main-nav a:hover::after{ right: 0; }
.site-header.is-light .main-nav a{ color: var(--white); }
.site-header.is-light .main-nav a::after{ background: var(--white); }

.nav-cta{ display: flex; align-items: center; gap: 22px; }
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  padding: 6px 0;
  z-index: 1100;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform .35s var(--ease), opacity .35s var(--ease), background .3s;
}
.site-header.is-light .nav-toggle span{ background: var(--white); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle.is-open span{ background: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #f5b8a0;
}
.hero-bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,20,40,0.18) 0%, rgba(23,20,40,0) 35%, rgba(40,20,30,0.12) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.hero-logo{ margin-bottom: 56px; }
.hero-logo .b-mark{ width: 46px; height: 46px; }
.hero-logo .b-text{ font-size: 26px; }
.hero-logo .b-sub{ font-size: 9px; letter-spacing: 0.18em; margin-top: 4px; }

.hero-tagline{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-eyebrow-word{
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.7em;
  padding-left: 0.7em;
  color: var(--navy);
}
.hero-giant-img{
  width: clamp(280px, 46vw, 620px);
  height: auto;
  margin: 2px 0 30px;
  display: block;
}
.hero-project{ margin-top: 8px; }
.hero-project .aliva-word{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0.05em;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.18);
}
.hero-project .aliva-at{
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  color: rgba(255,255,255,0.85);
  margin: 6px 0 4px;
}
.hero-project .aliva-sub{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.55);
  padding-top: 10px;
  margin-top: 4px;
}
.scroll-cue{
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.scroll-cue .line{
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.6);
  overflow: hidden;
  position: relative;
}
.scroll-cue .line::after{
  content: "";
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--white);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}
.scroll-cue span{
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@media (max-width: 900px){
  .main-nav ul, .nav-cta .btn{ display: none; }
  .nav-toggle{ display: flex; }
}

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
.mobile-nav{
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  padding: 40px var(--gutter);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-nav.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-nav a{
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.mobile-nav .btn{ margin-top: 20px; }

/* ==========================================================================
   Section shell + two-column split layout (core pattern from the brochure)
   ========================================================================== */
section{ position: relative; }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }

.split-media{
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.split-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease);
}
.split-media:hover img{ transform: scale(1.045); }

.split-panel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px);
}
.split-panel .heading-xl, .split-panel .heading-lg{ color: var(--navy); margin-bottom: 26px; }
.split-panel.on-dark .heading-xl,
.split-panel.on-dark .heading-lg{ color: var(--white); }

/* tinted panel backgrounds, echoing each brochure spread's mood */
.panel-terracotta{ background: linear-gradient(165deg, #c4695d 0%, #e2a084 100%); }
.panel-terracotta .body-copy, .panel-terracotta .heading-xl, .panel-terracotta .heading-lg{ color: var(--white); }
.panel-terracotta .body-copy{ color: rgba(255,255,255,0.88); }

.panel-slate{ background: linear-gradient(165deg, #aab6bd 0%, #d7cfc0 100%); }
.panel-slate .heading-xl, .panel-slate .heading-lg{ color: var(--navy); }

.panel-indigo{ background: linear-gradient(165deg, #33447d 0%, #465a9e 100%); }
.panel-indigo .heading-xl, .panel-indigo .heading-lg, .panel-indigo .body-copy{ color: var(--white); }
.panel-indigo .body-copy{ color: rgba(255,255,255,0.85); }

.panel-plum{ background: linear-gradient(165deg, #4a3a63 0%, #7a4f60 100%); }
.panel-plum .heading-xl, .panel-plum .heading-lg, .panel-plum .body-copy{ color: var(--white); }
.panel-plum .body-copy{ color: rgba(255,255,255,0.85); }

.panel-cream{ background: var(--cream); }
.panel-cream .heading-xl, .panel-cream .heading-lg{ color: var(--navy); }

.panel-sand{ background: linear-gradient(165deg, #e8d9c2 0%, #f3e9d8 100%); }
.panel-sand .heading-xl, .panel-sand .heading-lg{ color: var(--navy); }

.panel-teal{ background: linear-gradient(200deg, #1c4a5f 0%, #3f8ea8 100%); }
.panel-teal .heading-xl, .panel-teal .heading-lg, .panel-teal .body-copy{ color: var(--white); }
.panel-teal .body-copy{ color: rgba(255,255,255,0.85); }

.panel-gold{ background: linear-gradient(165deg, #6f5327 0%, #a9822f 100%); }
.panel-gold .heading-xl, .panel-gold .heading-lg, .panel-gold .body-copy{ color: var(--white); }
.panel-gold .body-copy{ color: rgba(255,255,255,0.85); }

@media (max-width: 900px){
  .split, .split.reverse{ grid-template-columns: 1fr !important; direction: ltr; }
  .split-media{ min-height: 320px; }
}

/* ---------- Icon-list rows (feature groups like Region/Neighborhood/etc.) ---------- */
.icon-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
}
.icon-row .icon-item{
  flex: 1 1 180px;
  padding: 0 20px 0 0;
  margin-right: 20px;
  border-left: 1px solid rgba(255,255,255,0.35);
  padding-left: 20px;
}
.icon-row .icon-item:first-child{ border-left: none; padding-left: 0; }
.icon-row.on-light .icon-item{ border-left-color: var(--line); }
.icon-row svg{ width: 26px; height: 26px; margin-bottom: 12px; }
.icon-item .icon-title{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.icon-item .icon-caption{
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.55;
  opacity: 0.85;
}
@media (max-width: 640px){
  .icon-row{ flex-direction: column; gap: 22px; }
  .icon-row .icon-item{ border-left: none !important; padding-left: 0 !important; margin-right: 0; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 16px; }
  .icon-row .icon-item:first-child{ border-top: none; padding-top: 0; }
}

/* ---------- Feature grid (Arrive/Move/Restore.. Learn/Care/Work/GoOut etc.) ---------- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.feature-cell{
  padding: 30px 24px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.feature-cell:nth-child(-n+6){ border-top: none; }
.feature-grid.cols-4 .feature-cell:nth-child(4n+1){ border-left: none; }
.feature-grid.cols-6 .feature-cell:nth-child(6n+1){ border-left: none; }
.feature-cell svg{ width: 28px; height: 28px; margin-bottom: 16px; color: var(--terracotta-deep); }
.feature-cell .f-title{
  font-size: 15px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--navy);
}
.feature-cell .f-caption{ font-size: 12px; line-height: 1.6; color: var(--ink); opacity: 0.75; font-weight: 300; }
.feature-grid.on-dark .feature-cell{ border-color: rgba(255,255,255,0.2); }
.feature-grid.on-dark .f-title{ color: var(--white); }
.feature-grid.on-dark .f-caption{ color: rgba(255,255,255,0.78); }
.feature-grid.on-dark .feature-cell svg{ color: var(--white); }

@media (max-width: 700px){
  .feature-grid{ grid-template-columns: repeat(2, 1fr) !important; }
  .feature-grid .feature-cell:nth-child(2n+1){ border-left: none !important; }
  .feature-grid .feature-cell:nth-child(-n+2){ border-top: none !important; }
}

/* ---------- Photo trio / gallery blocks ---------- */
.trio{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4px;
}
.trio > div{ position: relative; overflow: hidden; /* aspect-ratio: 4/3; */ }
.trio img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.trio > div:hover img{ transform: scale(1.06); }
@media (max-width: 760px){ .trio{ grid-template-columns: 1fr 1fr; } .trio > div:first-child{ grid-column: span 2; } }

.duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.duo > div{ position: relative; overflow: hidden; /* aspect-ratio: 4/3; */ }
.duo img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.duo > div:hover img{ transform: scale(1.06); }
@media (max-width: 640px){ .duo{ grid-template-columns: 1fr; } }

/* ---------- Section header (centered intro used before some blocks) ---------- */
.section-intro{
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 72px);
  text-align: center;
}
.section-intro .heading-xl{ color: var(--navy); margin-top: 10px; }

.section-pad{ padding-block: var(--section-pad); }
.section-pad-sm{ padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Stats/specs table (used in unit cards, timings) ---------- */
.specs-table{ margin-top: 26px; border-top: 1px solid var(--line); }
.specs-table .row{
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.specs-table .row span:last-child{ color: var(--terracotta-deep); font-weight: 600; }
.specs-table.on-dark .row{ border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.9); }
.specs-table.on-dark .row span:last-child{ color: #f1c9b6; }

.timing-table{ margin-top: 30px; }
.timing-table .t-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23,35,63,0.12);
  align-items: baseline;
}
.timing-table .t-row:first-child{ border-top: 1px solid rgba(23,35,63,0.12); }
.timing-table .t-city{ font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.timing-table .t-desc{ font-size: 12.5px; line-height: 1.6; font-weight: 300; color: var(--ink); }
.timing-foot{
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(23,35,63,0.12);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-soft);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}

/* ---------- Chips / brand strip (Golden I brand list) ---------- */
.brand-chip-bar{
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 12px;
}
.brand-chip-bar span{
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; opacity: .8;
}

/* ---------- Callout banners (Practically next door...) ---------- */
.callout-banner{
  background: linear-gradient(120deg, #c4695d, #a34f45);
  color: var(--white);
  padding: 26px clamp(24px, 5vw, 64px);
}
.callout-banner + .callout-banner{ background: linear-gradient(120deg, #4a3a63, #33255a); }
.callout-banner .cb-title{ font-size: 15px; font-weight: 600; letter-spacing: 0.05em; }
.callout-banner .cb-sub{ font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: .75; margin-top: 6px; }

/* ==========================================================================
   Location diagram (custom SVG, page 7 "more directions open")
   ========================================================================== */
.map-diagram-wrap{
  background: var(--navy);
  padding: clamp(40px, 6vw, 90px) var(--gutter);
}
.map-diagram{ max-width: 900px; margin: 0 auto; }
.map-diagram svg{ width: 100%; height: auto; }
.map-diagram .city-label{ font-family: var(--font-sans); font-size: 13px; fill: rgba(255,255,255,.92); letter-spacing: 0.06em; text-transform: uppercase;}
.map-diagram .city-label.hub{ font-size: 15px; font-weight: 600; fill: #f1c9b6; }
.map-diagram .route-line{ stroke: rgba(255,255,255,0.35); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.map-diagram .city-dot{ fill: rgba(255,255,255,.85); }
.map-diagram .city-dot.hub{ fill: var(--terracotta); }

/* ==========================================================================
   Site plan / master plan
   ========================================================================== */
.masterplan-section{ background: var(--cream); }
.masterplan-figure{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  margin-top: 20px;
}
.masterplan-figure img{ width: 100%; height: auto; }

/* ---------- Unit cards ---------- */
.unit-card{
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.unit-card .unit-text{ padding: clamp(36px, 4vw, 64px); display:flex; flex-direction: column; justify-content: center; }
.unit-card .unit-tag{
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-deep);
  border-bottom: 1px solid var(--line); display: inline-block; padding-bottom: 10px; margin-bottom: 18px;
}
.unit-card .unit-floorplan{
  position: relative; overflow: hidden; background: #f4f1ea;
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.unit-card .unit-floorplan img{ width: 100%; height: 100%; object-fit: contain; }
.unit-card .unit-iso{
  position: relative; background: linear-gradient(165deg,#e8d9c2,#f3e9d8);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px,3vw,40px);
}
.unit-card .unit-iso img{ width: 100%; max-width: 320px; margin: 0 auto; }
.unit-card .unit-iso .signature-line{ text-align: center; margin-bottom: 18px; }
@media (max-width: 1100px){
  .unit-card{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interior finishes
   ========================================================================== */
.finish-media-stack{ display: grid; gap: 4px; }
.finish-media-stack > div{ position: relative; }
.finish-media-stack img{ width: 100%; display: block; }
.finish-caption-overlay{
  position: relative;
}
.finish-caption-overlay .fc-text{
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(0deg, rgba(15,15,20,0.72) 0%, rgba(15,15,20,0.05) 55%);
}
.finish-caption-overlay .fc-text p{ color: var(--white); font-family: var(--font-sans); font-size: clamp(15px,1.6vw,19px); font-weight: 500; letter-spacing: 0.02em; line-height: 1.4; }

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.closing-cta{
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.closing-cta::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,30,50,0.55), rgba(15,30,50,0.75));
}
.closing-cta-content{ position: relative; z-index: 2; padding: 40px 24px; color: var(--white); }
.closing-cta .hero-logo{ margin-bottom: 46px; }
.closing-cta .address-block{
  margin-top: 26px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.35); padding-top: 18px; display: inline-block;
}
.closing-cta .cta-buttons{ margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px var(--gutter) 28px;
}
.site-footer .footer-top{
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.site-footer .footer-disclaimer{
  font-size: 10.5px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,0.5);
  max-width: 900px; margin-top: 22px;
}
.site-footer .footer-bottom{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 18px; font-size: 11px; letter-spacing: 0.04em;
}

/* Back to top */
.back-to-top{
  position: fixed; right: 26px; bottom: 26px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  border: none;
}
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--terracotta-deep); }

/* ---------- Utility spacing ---------- */
.mt-lg{ margin-top: 40px; }
.center-text{ text-align: center; }

/* ==========================================================================
   Responsive refinements
   ========================================================================== */
@media (max-width: 640px){
  .container{ padding-inline: 22px; }
  .split-panel{ padding: 42px 24px; }
  .hero-eyebrow-word{ letter-spacing: 0.5em; padding-left: 0.5em; }
  .timing-table .t-row{ grid-template-columns: 1fr; gap: 6px; }
  .closing-cta{ min-height: 90vh; }
}

@media (min-width: 1600px){
  :root{ --container: 1480px; }
}

/* Loading fade for images
img{ background: #ece4d6; }
 */
/* Section anchor offset for sticky header */
section[id]{ scroll-margin-top: 84px; }

/* ==========================================================================
   Enquiry Modal (lead capture form)
   ========================================================================== */
.enquiry-overlay{
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(23,30,45,0.55);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.enquiry-overlay.is-open{ opacity: 1; visibility: visible; }
.enquiry-modal{
  position: relative;
  width: 100%; max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(15,20,35,0.35);
  transform: translateY(18px) scale(.98);
  transition: transform .4s var(--ease);
}
.enquiry-overlay.is-open .enquiry-modal{ transform: translateY(0) scale(1); }
.enquiry-body{ padding: clamp(28px, 5vw, 44px); }
.enquiry-close{
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--navy-soft);
  border-radius: 50%;
  transition: background .25s;
}
.enquiry-close:hover{ background: rgba(23,35,63,0.08); }

.enquiry-form{ margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.enquiry-form .field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form .field{ display: flex; flex-direction: column; gap: 6px; }
.enquiry-form label{
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-soft);
}
.enquiry-form input, .enquiry-form select, .enquiry-form textarea{
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  transition: border-color .25s;
  width: 100%;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus{
  outline: none; border-color: var(--terracotta-deep);
}
.enquiry-form textarea{ resize: vertical; min-height: 70px; }
.enquiry-form input:invalid.touched, .enquiry-form.was-validated input:invalid{ border-color: #c0392b; }

.enquiry-submit{
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  position: relative;
}
.enquiry-submit[disabled]{ opacity: .7; pointer-events: none; }
.enquiry-note{
  font-size: 10.5px; line-height: 1.6; color: var(--navy-soft); opacity: .75; text-align: center; margin-top: 4px;
}

.enquiry-success{ text-align: center; padding: 30px 0 10px; color: var(--navy); }
.enquiry-success svg{ color: var(--terracotta-deep); margin: 0 auto; }

@media (max-width: 520px){
  .enquiry-form .field-row{ grid-template-columns: 1fr; }
}

/* ---------- Admin leads-export button (only shown with ?admin=leads) ---------- */
.leads-export-btn{
  position: fixed; left: 22px; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 3px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.leads-export-btn:hover{ background: var(--terracotta-deep); }
