/* ==========================================================================
   BOOTES ALIVA — page additions (About, Contact, Floor Plans, Clubhouse)
   Loaded after style.css on every page.
   ========================================================================== */

/* ---------- Active nav state ---------- */
.main-nav a[aria-current="page"]::after{ right: 0; }
.nav-dropdown-menu a[aria-current="page"]{ background: var(--cream); color: var(--terracotta-deep); }
.nav-dropdown.is-current > .nav-dropdown-trigger::after{ right: 0; }
.mobile-nav a[aria-current="page"]{ color: #f1c9b6; }

/* ---------- Hero logo (homepage) ---------- */
.hero-project img.aliva-mark{
  width: clamp(190px, 22vw, 290px);
  height: auto;
  background: none;
  filter: drop-shadow(0 4px 18px rgba(40,15,20,.28));
}

/* ---------- Inner page hero ---------- */
.page-hero{
  position: relative; isolation: isolate;
  min-height: clamp(460px, 78vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: #3b2533;
}
.page-hero .page-hero-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 14s var(--ease) forwards;
}
@keyframes heroDrift{ to{ transform: scale(1); } }
.page-hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,20,40,.35) 0%, rgba(23,20,40,.05) 38%, rgba(30,14,28,.78) 100%);
}
.page-hero .container{ position: relative; z-index: 2; padding-bottom: clamp(40px, 7vw, 88px); width: 100%; }
.page-hero .eyebrow{ color: rgba(255,255,255,.85); }
.page-hero h1{
  font-weight: 300; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.04;
  letter-spacing: .04em; text-transform: uppercase; margin-top: 12px; max-width: 14ch;
}
.page-hero .page-hero-sub{
  font-family: var(--font-script); font-style: italic; font-size: clamp(19px, 2vw, 26px);
  margin-top: 16px; color: rgba(255,255,255,.92); max-width: 36ch;
}
.page-hero .hero-mark{ width: clamp(150px, 16vw, 220px); height: auto; background: none; margin-bottom: 26px; }
.page-hero.compact{ min-height: clamp(340px, 52vh, 520px); }

/* ---------- Generic helpers ---------- */
.lead-copy{ font-size: clamp(15px, 1.35vw, 18px); line-height: 1.8; font-weight: 300; color: var(--ink); }
.lead-copy strong{ font-weight: 500; color: var(--navy); }
.sig{ font-family: var(--font-script); font-style: italic; font-size: clamp(20px, 2vw, 27px); color: var(--terracotta-deep); }
.sig.on-dark{ color: #f6d3c1; }
.img-cover{ width: 100%; height: 100%; object-fit: cover; display: block; }
.rounded{ border-radius: 4px; overflow: hidden; }
.link-arrow{
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease);
}
.link-arrow:hover{ gap: 16px; }
.link-arrow.on-dark{ color: #f6d3c1; }

/* ---------- About: intro split ---------- */
.about-intro{ display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-intro .media{ position: relative; aspect-ratio: 4/5; }
.about-intro .media .inset{
  position: absolute; right: -8%; bottom: -8%; width: 46%; aspect-ratio: 1;
  border: 8px solid var(--paper); box-shadow: 0 18px 40px rgba(23,35,63,.18);
}
.about-intro .heading-xl{ color: var(--navy); margin: 10px 0 24px; }
.about-intro .lead-copy + .lead-copy{ margin-top: 1.1em; }
@media (max-width: 900px){
  .about-intro{ grid-template-columns: 1fr; }
  .about-intro .media{ aspect-ratio: 4/3.4; margin-right: 8%; }
}

/* ---------- About: key numbers band ---------- */
.numbers-band{ background: linear-gradient(120deg, #33255a 0%, #7a4f60 55%, #c1665a 100%); color: var(--white); }
.numbers-grid{ display: grid; grid-template-columns: repeat(6, 1fr); }
.numbers-grid .num{ padding: clamp(28px, 3.4vw, 46px) clamp(14px, 1.6vw, 24px); border-left: 1px solid rgba(255,255,255,.2); }
.numbers-grid .num:first-child{ border-left: none; }
.numbers-grid .n{ font-size: clamp(26px, 2.8vw, 40px); font-weight: 300; letter-spacing: .02em; line-height: 1.1; }
.numbers-grid .n small{ font-size: .45em; letter-spacing: .12em; font-weight: 500; }
.numbers-grid .l{ font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; opacity: .82; line-height: 1.6; }
@media (max-width: 1000px){
  .numbers-grid{ grid-template-columns: repeat(3, 1fr); }
  .numbers-grid .num:nth-child(3n+1){ border-left: none; }
  .numbers-grid .num:nth-child(n+4){ border-top: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 560px){
  .numbers-grid{ grid-template-columns: 1fr 1fr; }
  .numbers-grid .num{ border-left: 1px solid rgba(255,255,255,.2) !important; border-top: 1px solid rgba(255,255,255,.2); }
  .numbers-grid .num:nth-child(odd){ border-left: none !important; }
  .numbers-grid .num:nth-child(-n+2){ border-top: none; }
}

/* ---------- About: four circles ---------- */
.circles-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: 46px; }
.circle-card{ position: relative; aspect-ratio: 3/4.3; overflow: hidden; border-radius: 4px; color: var(--white); isolation: isolate; }
.circle-card img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.circle-card::after{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,36,0) 35%, rgba(20,16,36,.82) 100%); }
.circle-card:hover img{ transform: scale(1.06); }
.circle-card .cc-body{ position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); }
.circle-card .cc-num{ font-size: 11px; letter-spacing: .2em; opacity: .8; }
.circle-card .cc-title{ font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 8px 0 8px; }
.circle-card .cc-text{ font-size: 12.5px; line-height: 1.65; font-weight: 300; opacity: .92; }
@media (max-width: 1000px){ .circles-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .circles-grid{ grid-template-columns: 1fr; } .circle-card{ aspect-ratio: 4/3.6; } }

/* ---------- About / amenities: clubhouse ---------- */
.club-wrap{ display: grid; grid-template-columns: 1.1fr 1fr; min-height: 620px; }
.club-media{ position: relative; min-height: 360px; overflow: hidden; }
.club-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.club-media .club-badge{
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px);
  background: rgba(255,253,249,.94); color: var(--navy); padding: 18px 22px; border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.club-badge .b-n{ font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; line-height: 1; }
.club-badge .b-l{ font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-top: 8px; color: var(--terracotta-deep); font-weight: 600; }
.club-panel{ padding: clamp(40px, 5.5vw, 90px); background: linear-gradient(165deg, #f6c9b8 0%, #fbe6da 55%, #faf6ef 100%); display: flex; flex-direction: column; justify-content: center; }
.club-panel .heading-lg{ color: var(--navy); margin: 10px 0 20px; }
.levels{ margin-top: 26px; border-top: 1px solid var(--line); }
.level{ display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.level .lv{ font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-deep); padding-top: 2px; }
.level .li{ font-size: 13px; line-height: 1.7; color: var(--ink); font-weight: 300; }
@media (max-width: 900px){
  .club-wrap{ grid-template-columns: 1fr; }
  .club-media{ aspect-ratio: 4/3; min-height: 0; }
  .level{ grid-template-columns: 1fr; gap: 4px; }
}

.club-strip{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.club-strip figure{ margin: 0; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.club-strip img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.club-strip figure:hover img{ transform: scale(1.05); }
.club-strip figcaption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20,16,36,.75));
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
@media (max-width: 700px){ .club-strip{ grid-template-columns: 1fr; } }

/* ---------- About: health-first ---------- */
.health{ position: relative; color: var(--white); overflow: hidden; }
.health > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.health::before{ content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(23,20,48,.92) 0%, rgba(23,20,48,.78) 50%, rgba(23,20,48,.35) 100%); }
.health .container{ position: relative; z-index: 2; }
.health .inner{ max-width: 620px; }
.health .heading-xl{ color: var(--white); margin: 10px 0 20px; }
.health-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.25); }
.health-grid > div{ padding: 22px 18px 4px 0; }
.health-grid svg{ width: 26px; height: 26px; color: #f6d3c1; margin-bottom: 12px; }
.health-grid .t{ font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.health-grid .c{ font-size: 12px; line-height: 1.6; font-weight: 300; opacity: .85; margin-top: 6px; }
@media (max-width: 760px){ .health-grid{ grid-template-columns: 1fr 1fr; } }

/* ---------- About: life mosaic ---------- */
.mosaic{ display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 6px; margin-top: 46px; }
.mosaic figure{ margin: 0; position: relative; overflow: hidden; border-radius: 3px; }
.mosaic figure.w2{ grid-column: span 2; }
.mosaic figure.h2{ grid-row: span 2; }
.mosaic img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img{ transform: scale(1.05); }
.mosaic figcaption{
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,253,249,.92); color: var(--navy);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 7px 11px; border-radius: 2px;
}
@media (max-width: 760px){
  .mosaic{ grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .mosaic figure.h2{ grid-row: span 1; }
}

/* ---------- About: quote ---------- */
.eco-quote{ text-align: center; padding-block: clamp(64px, 8vw, 110px); background: var(--cream); }
.eco-quote .lines{ font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .28em; text-transform: uppercase; color: var(--navy); line-height: 2.1; font-weight: 300; }
.eco-quote .lines strong{ font-weight: 600; color: var(--terracotta-deep); }
.eco-quote .cta-row{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Floor plans ---------- */
.plan-summary{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
.plan-summary a{ background: var(--white); padding: 20px 18px; display: block; transition: background .3s var(--ease); }
.plan-summary a:hover{ background: var(--cream); }
.plan-summary .ps-type{ font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-deep); font-weight: 600; }
.plan-summary .ps-conf{ font-size: 15px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.plan-summary .ps-area{ font-size: 12px; font-weight: 300; color: var(--ink); margin-top: 4px; }
@media (max-width: 1000px){ .plan-summary{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .plan-summary{ grid-template-columns: 1fr; } }

.cluster-grid{ display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 18px; }
.cluster-grid figure{ margin: 0; background: var(--white); border: 1px solid var(--line); padding: 14px; }
.cluster-grid figure img{ width: 100%; height: auto; background: none; }
@media (max-width: 900px){ .cluster-grid{ grid-template-columns: 1fr; } }

.unit-card.v2{ grid-template-columns: 0.9fr 1.35fr; }
.unit-card.v2:nth-of-type(even) .unit-text{ order: 2; }
.unit-card.v2 .unit-floorplan{ padding: clamp(14px, 2.4vw, 36px); min-height: 380px; }
.unit-card.v2 .unit-floorplan a{ display: block; width: 100%; cursor: zoom-in; }
.unit-card.v2 .unit-floorplan img{ height: auto; max-height: 680px; background: none; margin: 0 auto; }
.unit-card .unit-points{ margin-top: 18px; display: grid; gap: 10px; }
.unit-card .unit-points div{ font-size: 12.5px; line-height: 1.6; font-weight: 300; color: var(--ink); }
.unit-card .unit-points strong{ display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
@media (max-width: 1100px){
  .unit-card.v2{ grid-template-columns: 1fr; }
  .unit-card.v2:nth-of-type(even) .unit-text{ order: 0; }
}

/* Spec tables */
.spec-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: 40px; }
.spec-card{ background: var(--white); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.spec-card h3{ background: var(--navy); color: #fff; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; padding: 14px 18px; }
.spec-card dl{ margin: 0; padding: 4px 18px 10px; }
.spec-card .sr{ display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; }
.spec-card .sr:last-child{ border-bottom: none; }
.spec-card dt{ font-weight: 600; color: var(--navy); }
.spec-card dd{ margin: 0; font-weight: 300; color: var(--ink); }
@media (max-width: 1000px){ .spec-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .spec-grid{ grid-template-columns: 1fr; } }
.spec-note{ font-size: 11.5px; line-height: 1.7; color: var(--ink); opacity: .72; margin-top: 22px; max-width: 900px; }

/* ---------- Contact page ---------- */
.contact-layout{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-info .heading-xl{ color: var(--navy); margin: 10px 0 18px; }
.contact-cards{ display: grid; gap: 12px; margin-top: 30px; }
.contact-card{ display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
a.contact-card:hover{ border-color: var(--terracotta); transform: translateY(-2px); }
.contact-card svg{ width: 22px; height: 22px; flex-shrink: 0; color: var(--terracotta-deep); margin-top: 2px; }
.contact-card .cc-l{ font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--terracotta-deep); }
.contact-card .cc-v{ font-size: 14px; color: var(--navy); margin-top: 4px; line-height: 1.55; }
.contact-card .cc-s{ font-size: 12px; font-weight: 300; color: var(--ink); opacity: .8; margin-top: 2px; }

.contact-form-card{ background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 24px 60px rgba(23,35,63,.08); }
.contact-form-card .heading-lg{ color: var(--navy); margin-top: 6px; }
.enquiry-form .field-row.three{ grid-template-columns: 1fr 1fr 1fr; }
.enquiry-form .field-help{ font-size: 11px; color: #c0392b; min-height: 0; display: none; }
.enquiry-form.was-validated .field :invalid ~ .field-help{ display: block; }
.enquiry-form select:invalid.touched, .enquiry-form.was-validated select:invalid,
.enquiry-form textarea:invalid.touched, .enquiry-form.was-validated textarea:invalid{ border-color: #c0392b; }
.pill-group{ display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pill-group input{ position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pill-group label{
  font-size: 12px !important; letter-spacing: .04em !important; text-transform: none !important; font-weight: 500 !important;
  border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px; cursor: pointer; color: var(--ink) !important;
  transition: all .25s var(--ease); background: var(--paper);
}
.pill-group input:checked + label{ background: var(--navy); border-color: var(--navy); color: #fff !important; }
.pill-group input:focus-visible + label{ outline: 2px solid var(--terracotta); outline-offset: 2px; }
.consent{ display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.6; color: var(--ink); }
.consent input{ margin-top: 3px; accent-color: var(--terracotta-deep); width: 16px; height: 16px; flex-shrink: 0; }
.consent a{ text-decoration: underline; }
.enquiry-form.was-validated .consent input:invalid + span{ color: #c0392b; }
.form-status{ font-size: 12.5px; margin-top: 4px; }
.contact-success{ text-align: center; padding: 40px 10px; }
.contact-success svg{ color: var(--terracotta-deep); margin: 0 auto; }
@media (max-width: 960px){ .contact-layout{ grid-template-columns: 1fr; } }
@media (max-width: 560px){ .enquiry-form .field-row, .enquiry-form .field-row.three{ grid-template-columns: 1fr; } }

.map-band{ background: var(--cream); }
.map-band .map-frame{ aspect-ratio: 21/8; min-height: 320px; }
@media (max-width: 700px){ .map-band .map-frame{ aspect-ratio: 4/3; } }

/* Visit steps */
.visit-steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.visit-steps > div{ background: var(--paper); padding: clamp(22px, 2.6vw, 34px); }
.visit-steps .vs-n{ font-family: var(--font-script); font-style: italic; font-size: 34px; color: var(--terracotta); line-height: 1; }
.visit-steps .vs-t{ font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-top: 12px; }
.visit-steps .vs-c{ font-size: 12.5px; line-height: 1.65; font-weight: 300; color: var(--ink); margin-top: 8px; }
@media (max-width: 760px){ .visit-steps{ grid-template-columns: 1fr; } }

/* ---------- Header contrast fixes ---------- */
/* light (white) nav only while the header is transparent over a dark area */
.site-header.is-light.is-scrolled .main-nav a,
.site-header.is-light.is-scrolled .nav-dropdown-trigger{ color: var(--navy); }
.site-header.is-light.is-scrolled .main-nav a::after,
.site-header.is-light.is-scrolled .nav-dropdown-trigger::after{ background: var(--navy); }
.site-header.is-light.is-scrolled .nav-toggle span{ background: var(--navy); }
.site-header.is-light .nav-dropdown-menu a{ color: var(--navy); }
.site-header.is-light:not(.is-scrolled) .btn-outline-dark{ color: var(--white); border-color: rgba(255,255,255,.75); }
.site-header.is-light:not(.is-scrolled) .btn-outline-dark:hover{ background: var(--white); color: var(--navy); }
.enquiry-form label.consent{ text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 300; color: var(--ink); }

/* ==========================================================================
   HOMEPAGE (index.html) — visual introduction
   ========================================================================== */
.hp-hero-loc{
  margin-top: 18px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.92); padding-left: .32em; text-shadow: 0 1px 12px rgba(60,20,30,.25);
}
.hp-hero-cta{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero .scroll-cue{ text-decoration: none; }
@media (max-width: 640px){ .hero .scroll-cue{ display: none; } }

/* Intro */
.hp-intro{ background: linear-gradient(180deg,#fbe6da 0%,#faf6ef 70%); }
.hp-intro-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hp-intro-media{ position: relative; aspect-ratio: 1/1.02; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px rgba(122,79,96,.22); }
.hp-intro-tag{ position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 22px; background: linear-gradient(180deg, transparent, rgba(40,18,30,.7)); }
.hp-intro-copy .heading-xl{ color: var(--navy); margin: 10px 0 22px; }
.hp-circles{ display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border-top: 1px solid var(--line); }
.hp-circles div{ padding: 18px 10px 0 0; display: flex; flex-direction: column; gap: 10px; }
.hp-circles svg{ width: 22px; height: 22px; color: var(--terracotta-deep); }
.hp-circles span{ font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); line-height: 1.5; }
@media (max-width: 900px){ .hp-intro-grid{ grid-template-columns: 1fr; } .hp-intro-media{ aspect-ratio: 4/3.4; } }
@media (max-width: 480px){ .hp-circles{ grid-template-columns: 1fr 1fr; row-gap: 6px; } }

/* At a glance */
.hp-glance{ position: relative; color: var(--white); overflow: hidden; padding-block: clamp(90px, 13vw, 180px) clamp(40px, 5vw, 64px); isolation: isolate; }
.hp-glance-bg{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hp-glance::before{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,24,50,.15) 0%, rgba(20,24,50,.35) 40%, rgba(24,18,40,.86) 100%); }
.hp-glance-head{ max-width: 760px; }
.hp-glance-head .heading-xl{ color: var(--white); margin: 12px 0 14px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hp-glance-stats{ display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(60px, 9vw, 130px); border-top: 1px solid rgba(255,255,255,.35); }
.hp-glance-stats > div{ padding: 24px 16px 6px 0; }
.hp-glance-stats .n{ font-size: clamp(28px, 3.2vw, 46px); font-weight: 300; line-height: 1; }
.hp-glance-stats .n small{ font-size: .45em; letter-spacing: .08em; }
.hp-glance-stats .l{ font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; margin-top: 10px; opacity: .85; }
@media (max-width: 800px){ .hp-glance-stats{ grid-template-columns: repeat(3, 1fr); } .hp-glance-stats > div:nth-child(n+4){ border-top: 1px solid rgba(255,255,255,.2); } }
@media (max-width: 480px){ .hp-glance-stats{ grid-template-columns: 1fr 1fr; } .hp-glance-stats > div:nth-child(n+3){ border-top: 1px solid rgba(255,255,255,.2); } }

/* Clubhouse */
.hp-club-grid{ display: grid; grid-template-columns: 1.25fr 1fr; background: linear-gradient(165deg, #f6c9b8 0%, #fbe6da 55%, #faf6ef 100%); }
.hp-club-main{ position: relative; min-height: 540px; overflow: hidden; }
.hp-club-main img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hp-club-main:hover img{ transform: scale(1.04); }
.hp-club-copy{ padding: clamp(40px, 5.5vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.hp-club-copy .heading-lg{ color: var(--navy); margin: 10px 0 16px; }
.hp-levels{ margin-top: 20px; border-top: 1px solid var(--line); }
.hp-levels li{ padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 300; color: var(--ink); }
.hp-levels strong{ display: inline-block; min-width: 118px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-deep); font-weight: 600; }
.hp-club-thumbs{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.hp-club-thumbs img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
@media (max-width: 900px){ .hp-club-grid{ grid-template-columns: 1fr; } .hp-club-main{ min-height: 0; aspect-ratio: 4/3.2; } }
@media (max-width: 420px){ .hp-levels strong{ display: block; margin-bottom: 2px; } }

/* Row head with button */
.hp-row-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hp-row-head .heading-xl{ color: var(--navy); margin-top: 10px; }

/* Amenity tiles */
.hp-tiles{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); margin-top: 40px; }
.hp-tile{ position: relative; aspect-ratio: 4/3.1; border-radius: 4px; overflow: hidden; color: var(--white); display: block; isolation: isolate; }
.hp-tile img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.hp-tile::after{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,36,0) 40%, rgba(20,16,36,.8) 100%); transition: background .4s var(--ease); }
.hp-tile:hover img{ transform: scale(1.07); }
.hp-tile:hover::after{ background: linear-gradient(180deg, rgba(20,16,36,.1) 20%, rgba(20,16,36,.85) 100%); }
.hp-tile > div{ position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 1.8vw, 24px); }
.hp-tile b{ display: block; font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hp-tile span{ display: block; font-size: 12px; font-weight: 300; opacity: .9; margin-top: 6px; }
@media (max-width: 900px){ .hp-tiles{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){
  .hp-tiles{ grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .hp-tiles::-webkit-scrollbar{ display: none; }
  .hp-tile{ scroll-snap-align: start; aspect-ratio: 3/3.6; }
}

/* Homes */
.hp-homes{ display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); }
.hp-homes-media{ position: relative; min-height: 520px; overflow: hidden; order: 2; }
.hp-homes-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-homes-copy{ padding: clamp(40px, 5.5vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.hp-homes-copy .heading-lg{ color: var(--navy); margin: 10px 0 20px; }
.hp-types{ border-top: 1px solid var(--line); }
.hp-types a{ display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s var(--ease); }
.hp-types a:hover{ padding-left: 12px; background: var(--cream); }
.hp-types span{ font-size: 14px; font-weight: 600; color: var(--navy); }
.hp-types em{ font-style: normal; font-size: 12px; color: var(--terracotta-deep); font-weight: 500; white-space: nowrap; }
@media (max-width: 900px){ .hp-homes{ grid-template-columns: 1fr; } .hp-homes-media{ order: 0; min-height: 0; aspect-ratio: 16/10; } }

/* Reach */
.hp-reach{ display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.hp-reach .map-diagram{ max-width: none; margin: 0; width: 100%; }
.hp-times{ border-top: 1px solid rgba(255,255,255,.22); }
.hp-times li{ display: flex; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); font-size: 13px; letter-spacing: .06em; }
.hp-times b{ color: #f1c9b6; font-weight: 600; }
@media (max-width: 900px){ .hp-reach{ grid-template-columns: 1fr; } }

/* Health + developer */
.hp-duo{ display: grid; grid-template-columns: 1.3fr 1fr; }
.hp-duo-card{ position: relative; display: flex; align-items: flex-end; min-height: 460px; padding: clamp(32px, 4.5vw, 70px); overflow: hidden; isolation: isolate; }
.hp-duo-card h3{ font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; margin: 10px 0 16px; }
.hp-duo-card p{ font-size: 13.5px; line-height: 1.75; font-weight: 300; max-width: 46ch; }
.hp-duo-health{ color: var(--white); }
.hp-duo-health > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.hp-duo-health::after{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,20,48,.25) 0%, rgba(23,20,48,.88) 75%); }
.hp-duo-health:hover > img{ transform: scale(1.04); }
.hp-duo-health ul{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hp-duo-health li{ font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.45); border-radius: 30px; padding: 6px 12px; }
.hp-duo-dev{ background: linear-gradient(165deg, #e8d9c2 0%, #f3e9d8 100%); color: var(--navy); align-items: center; }
.hp-duo-dev p{ color: var(--ink); }
.hp-dev-logo{ width: 150px; height: auto; background: none; margin-bottom: 30px; }
@media (max-width: 900px){ .hp-duo{ grid-template-columns: 1fr; } .hp-duo-card{ min-height: 380px; } }
@media (max-width: 560px){ .hp-reach .map-diagram{ display: none; } }
