/* ============ Skyline Villas — design system ============ */
:root {
  --teal: #1F5E5B;
  --teal-plan: #2A6766;      /* matches the site plan artwork background */
  --teal-deep: #123B39;
  --mist: #EEF3F1;
  --mist-2: #DDE8E5;
  --gold: #C9A45C;
  --gold-soft: #E3CC97;
  --ink: #1A2422;
  --ink-soft: #4C5B58;
  --white: #FFFFFF;
  --sky: #1E9BE0;

  --serif: "Michroma", "Eurostile", "Arial", sans-serif; /* display: wide caps, like the brochure */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 80px);
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============ Type ============ */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 20px;
}
.eyebrow--light { color: var(--gold-soft); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.25;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--teal-deep);
}
.h2 em, .h3 em, .hero__title em { font-style: normal; color: var(--teal); }
.h2--light { color: var(--white); }
.h2--light em { color: var(--gold-soft); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; margin: 0; }
.h3--light { color: var(--white); }
.lead { font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-soft); max-width: 34em; }
.lead--light { color: rgba(255,255,255,.78); }
.rule { display: block; width: 120px; height: 1px; background: var(--gold); margin: 8px 0 28px; transform-origin: left; }
.tagline { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 32px; }
.caption { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; letter-spacing: .05em; }

/* Split-text helpers (set up in JS) */
.line { display: block; overflow: hidden; }
.line > span { display: inline-block; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
[data-split] .w > span { display: inline-block; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  cursor: pointer;
}
.btn--gold { background: var(--gold); color: var(--teal-deep); }
.btn--gold:hover { background: var(--teal-deep); color: var(--gold-soft); border-color: var(--gold); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); backdrop-filter: blur(6px); background: rgba(18,59,57,.18); }
.btn--ghost:hover { background: var(--white); color: var(--teal-deep); }
.btn--block { width: 100%; }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--mist);
}
.preloader__mark { position: relative; width: min(300px, 60vw); }
.preloader__mark img { opacity: 0; }
.no-js .preloader, .reduced .preloader { display: none; }

/* ============ Header ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 var(--gutter);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), transform .6s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid {
  background: rgba(238,243,241,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(31,94,91,.12);
  --header-h: 70px;
}
.header__logo img { width: 128px; transition: width .5s var(--ease); }
.header.is-solid .header__logo img { width: 104px; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--teal-deep); position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
/* over the hero video: light header */
body:not(.menu-open) .header:not(.is-solid) .nav a { color: var(--white); }
body:not(.menu-open) .header:not(.is-solid) .header__logo img { filter: brightness(0) invert(1); }
body:not(.menu-open) .header:not(.is-solid) .menu-toggle span { background: var(--white); }
.header__cta { padding: 13px 22px; }
.menu-toggle { display: none; }

/* ============ Hero ============ */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--mist); }
.hero__zoom {
  position: absolute; inset: 0;
  transform-origin: var(--hero-focus, 50% 62%);  /* zoom target: centre of the frame in the hero image */
  will-change: transform;
}
.hero__loop, .hero__seq { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__seq { opacity: 0; transition: opacity .6s var(--ease); }
.hero.is-scrubbing .hero__seq { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(238,243,241,.0) 0%, rgba(238,243,241,0) 40%, rgba(18,59,57,.0) 60%, rgba(18,59,57,.55) 100%),
    linear-gradient(180deg, rgba(18,59,57,.5) 0%, rgba(18,59,57,.18) 28%, rgba(18,59,57,0) 42%);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
  padding: calc(var(--header-h) + 4vh) var(--gutter) clamp(40px, 6vh, 80px);
  color: var(--white);
}
.hero__top, .hero__bottom { display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { color: var(--white); }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, min(5vh, 6.4vw), 58px);
  line-height: 1.2; letter-spacing: .04em; text-transform: uppercase;
  margin: 0;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(18,59,57,.5);
}
.hero__title em { color: var(--gold-soft); }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.badge {
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid rgba(227,204,151,.7); color: var(--gold-soft);
  background: rgba(18,59,57,.3); backdrop-filter: blur(6px);
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
/* logo revealed in the open sky at the end of the scroll clip */
.hero__logo {
  position: absolute; left: 50%; top: 46%; width: min(440px, 74vw); height: auto;
  opacity: 0; pointer-events: none; will-change: transform, opacity; /* centred by GSAP (xPercent/yPercent) */
  filter: drop-shadow(0 4px 24px rgba(18,59,57,.25));
}
.hero__fade { position: absolute; inset: -3px; background: var(--mist); opacity: 0; pointer-events: none; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.hero__scroll i { display: block; width: 60px; height: 1px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold-soft); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ============ Statement ============ */
.statement {
  min-height: 60vh;
  display: grid; place-items: center;
  padding: 100px var(--gutter) 80px;
  background: var(--mist);
}
.statement__text {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(19px, 2.4vw, 36px); line-height: 1.45; letter-spacing: .03em;
  text-transform: uppercase; max-width: 24em; margin: 0; text-align: center;
  color: var(--teal-deep);
}
.statement__text .word { opacity: .14; transition: none; }

/* ============ Stats ============ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) 120px;
}
.stat { padding: 34px 28px; border-left: 1px solid rgba(31,94,91,.18); }
.stat strong {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.3vw, 36px); line-height: 1.1; color: var(--teal);
  margin-bottom: 14px; white-space: nowrap;
}
.stat > span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

/* ============ About ============ */
.about {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--gutter) 160px;
}
.about__media { position: relative; padding-bottom: 18%; }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 3.4; }
.about__img--small {
  position: absolute; right: -8%; bottom: 0; width: 44%; aspect-ratio: 4 / 5;
  border: 10px solid var(--mist);
}
.about__text p { color: var(--ink-soft); }

/* ============ Masterplan ============ */
.masterplan {
  background: var(--teal-plan);
  color: var(--white);
  padding: 140px var(--gutter) 140px;
  position: relative;
}
.masterplan__intro { max-width: var(--max); margin: 0 auto 70px; }

.plan {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 5vw, 90px);
  max-width: 1100px; margin: 0 auto 120px; align-items: start;
}
.plan__map { display: flex; justify-content: center; }
.plan__canvas { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1248 / 2000; }
.plan__overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke: none; stroke-width: 0; }
/* vector site plan */
.sp-mainroad { fill: #4E5A58; }
.sp-dash { stroke: rgba(255,255,255,.55); stroke-width: 3; stroke-dasharray: 26 22; }
.sp-land { fill: #CFDDCB; }
.sp-garden { fill: #A9C893; }
.sp-amenity { fill: #B5D195; }
.sp-walk { fill: none; stroke: #E7DCC4; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.sp-amphi { fill: none; stroke: #E7DCC4; stroke-width: 6; }
.sp-building { fill: #FBFAF6; stroke: #D9D2C2; stroke-width: 2; }
.sp-deck { fill: #D6A06A; }
.sp-road { fill: #6B7876; }
.sp-median { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 3; stroke-dasharray: 14 16; }
.sp-palm { fill: #6FA35F; }
.sp-gate { fill: #8A5A33; }
.sp-tree { fill: #5E8F5C; opacity: .92; }
.sp-tree-hi { fill: #8DB97E; opacity: .7; }
.sp-label { font-family: var(--sans); font-size: 30px; font-weight: 600; letter-spacing: .18em; fill: #3E6B47; }
.sp-label--sm { font-size: 20px; letter-spacing: .14em; font-weight: 500; }
.plan__overlay .plot {
  fill: #F4EFE1; stroke: #C9BC98; stroke-width: 2.5; cursor: pointer;
  transition: fill .35s var(--ease), stroke .35s var(--ease);
}
.plan__overlay .plot:hover, .plan__overlay .plot:focus { fill: #EBD9AE; stroke: var(--gold); outline: none; }
.plan__overlay .plot.is-active { fill: var(--gold); stroke: #A9853F; }
.plot-label { font-family: var(--serif); font-size: 30px; font-weight: 400; fill: #2C4A46; pointer-events: none; transition: fill .35s; }
.plot-label--area { font-size: 20px; font-weight: 500; fill: #6E7E73; letter-spacing: .04em; }
.plot-label.is-active { fill: #fff; }
.plan__panel { position: sticky; top: 110px; }
.plan__heading { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); margin: 0 0 28px; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; }
.plot-card {
  border: 1px solid rgba(227,204,151,.45);
  padding: 30px;
  background: rgba(18,59,57,.35);
}
.plot-card__no { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 18px; margin-bottom: 20px; }
.plot-card__no span { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.plot-card__no strong { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; }
.plot-card__grid { display: grid; gap: 16px; margin: 0 0 26px; }
.plot-card__grid dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.plot-card__grid dd { margin: 4px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.plan__legend { display: grid; gap: 8px; margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.75); }
.plan__legend span { display: flex; align-items: center; gap: 10px; }
.sw { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--gold); }
.sw--s { background: #F4EFE1; }
.sw--m { background: #E8D6A8; }
.sw--l { background: #D2AE67; }
.plan.show-sizes .plot[data-size="m"]:not(.is-active):not(:hover) { fill: #E8D6A8; }
.plan.show-sizes .plot[data-size="l"]:not(.is-active):not(:hover) { fill: #D2AE67; }
/* landscape plan (wide screens, set by main.js) */
.plan.is-landscape { max-width: var(--max); grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 3.5vw, 56px); align-items: center; }
.plan.is-landscape .plan__canvas { max-width: none; aspect-ratio: 2090 / 1180; }
.plan.is-landscape .plan__overlay { overflow: hidden; }
.plan.is-landscape .plot-label { font-size: 34px; }
.plan.is-landscape .plot-label--area { font-size: 17px; letter-spacing: 0; }
.plan.is-landscape .plan__heading { margin-bottom: 22px; }
.plan.is-landscape .plot-card { padding: 24px; }
.plan.is-landscape .plot-card__no strong { font-size: 44px; }
.plan.is-landscape .plot-card__grid { gap: 12px; margin-bottom: 22px; }
.plan.is-landscape .plot-card__no { padding-bottom: 14px; margin-bottom: 16px; }

.plot-table { max-width: 1100px; margin: 0 auto; }
.plot-table__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.unit-toggle { display: inline-flex; border: 1px solid rgba(227,204,151,.5); }
.unit-toggle button { background: none; border: 0; color: rgba(255,255,255,.75); padding: 10px 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.unit-toggle button.is-active { background: var(--gold); color: var(--teal-deep); }
.table-wrap { overflow-x: auto; }
.plot-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.plot-table th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); padding: 14px 16px; border-bottom: 1px solid rgba(227,204,151,.5); }
.plot-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
.plot-table th:not(:first-child), .plot-table td:not(:first-child) { text-align: right; }
.plot-table tbody tr { transition: background .3s; cursor: pointer; }
.plot-table tbody tr:hover { background: rgba(255,255,255,.06); }
.plot-table:not(.is-open) tbody tr:nth-child(n+11) { display: none; }
.plot-table__more {
  display: block; margin: 32px auto 0; padding: 14px 28px;
  background: none; border: 1px solid rgba(227,204,151,.6); color: var(--gold-soft);
  font: 500 12px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; cursor: pointer;
  transition: background .3s, color .3s;
}
.plot-table__more:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }

/* ============ Site gallery ============ */
.pg { background: var(--white); padding: 140px var(--gutter); }
.pg__head { max-width: var(--max); margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.pg__head .h2 { margin: 0; }
.pg__aside .lead { margin: 0 0 24px; }
.pg__tabs { display: flex; }
.pg__empty { max-width: var(--max); margin: 0 auto; padding: 70px 24px; border: 1px dashed rgba(31,94,91,.3); background: var(--mist); text-align: center; color: var(--ink-soft, #4C5B58); font-size: 15px; line-height: 1.7; }
.pg__empty[hidden] { display: none; }
.pg__empty a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.pg__empty-icon { display: block; width: 52px; height: 52px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; position: relative; }
.pg__empty-icon::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent var(--gold); }
.pg__tabs button { background: none; border: 1px solid rgba(31,94,91,.35); margin-left: -1px; padding: 11px 20px; font-size: 11px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); }
.pg__tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.pg__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 250px); grid-auto-flow: dense; gap: 14px; }
.pg__item { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--mist-2); }
.pg__item[hidden] { display: none; }
.pg__tabs sup { font-size: 9px; letter-spacing: 0; margin-left: 2px; opacity: .7; }
/* tile shapes come from each file's orientation (tools/build_gallery.py) */
.pg__item--land { grid-column: span 2; }
.pg__item--port { grid-row: span 2; }
.pg__item--feature { grid-column: span 2; grid-row: span 2; }
.pg__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pg__item img, .pg__item video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pg__item:hover img, .pg__item:hover video { transform: scale(1.05); }
.pg__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(12,32,31,.6)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.pg__item:hover::after, .pg__item[data-type="video"]::after { opacity: 1; }
.pg__item figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; margin: 0; font-size: 13px; line-height: 1.45; color: var(--white); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.pg__item:hover figcaption { opacity: 1; transform: none; }
.pg__item[data-type="video"] { cursor: pointer; }
.pg__item[data-type="video"] figcaption { left: 76px; }
.pg__play { position: absolute; left: 16px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); z-index: 1; transition: transform .4s var(--ease), background .3s; }
.pg__play::before { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--teal); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.pg__item:hover .pg__play { transform: scale(1.1); background: var(--gold); }
.pg__dur { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 4px 9px; font-size: 11px; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--white); background: rgba(12,32,31,.6); backdrop-filter: blur(4px); }

/* ============ 3D concept viewer ============ */
.v3d { max-width: var(--max); margin: 0 auto 140px; }
.v3d__head { max-width: var(--max); margin: 0 auto 50px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
.v3d__head .h2, .v3d__head .lead { margin: 0; }
.v3d__title { font-size: clamp(22px, 2.4vw, 34px); }
.v3d__stage { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; background: var(--teal-deep); outline: 1px solid rgba(227,204,151,.35); outline-offset: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.45); }
.v3d__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.v3d__tabs::-webkit-scrollbar { display: none; }
.v3d__tabs button { flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; color: rgba(255,255,255,.62); padding: 20px 22px 18px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; transition: color .3s, border-color .3s, background .3s; }
.v3d__tabs button:hover { color: var(--white); }
.v3d__tabs button[aria-selected="true"] { color: var(--gold-soft); border-bottom-color: var(--gold); background: rgba(255,255,255,.05); }
.v3d__view { position: relative; height: min(76vh, 780px); min-height: 440px; overflow: hidden; background: #E6E2D6; }
.v3d__view::after { content: ""; position: absolute; inset: 0 auto auto 0; width: 520px; height: 240px; max-width: 100%; background: radial-gradient(ellipse at 0 0, rgba(246,243,236,.85), rgba(246,243,236,0) 70%); pointer-events: none; }
.v3d__view canvas { display: block; width: 100%; height: 100%; outline: none; cursor: grab; }
.v3d__view canvas:active { cursor: grabbing; }
.v3d__loading { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); transition: opacity .8s; z-index: 1; }
.v3d.is-ready .v3d__loading { opacity: 0; pointer-events: none; }
.v3d__caption { position: absolute; z-index: 1; left: 26px; top: 24px; max-width: 340px; pointer-events: none; color: var(--teal-deep); text-shadow: 0 1px 12px rgba(246,243,236,.9); }
.v3d__tag { display: inline-block; margin: 0 0 10px; padding: 5px 10px; font-size: 10px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; background: var(--teal-deep); color: var(--gold-soft); text-shadow: none; }
.v3d[data-scene="towers"] .v3d__tag { background: var(--gold); color: var(--teal-deep); }
.v3d__caption .h3 { margin: 0 0 8px; }
.v3d__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.v3d__tools { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; gap: 8px; }
.v3d__tools button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: rgba(255,255,255,.88); border: 1px solid rgba(18,59,57,.12); color: var(--teal-deep); backdrop-filter: blur(6px); transition: background .3s, color .3s; }
.v3d__tools button:hover { background: var(--teal-deep); color: var(--gold-soft); }
.v3d__tools svg { width: 20px; height: 20px; }
.v3d__hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); margin: 0; padding: 10px 16px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--teal-deep); background: rgba(255,255,255,.82); backdrop-filter: blur(6px); pointer-events: none; transition: opacity .6s; }
.v3d.is-touched .v3d__hint { opacity: 0; }
.v3d__explore { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; box-shadow: 0 10px 30px rgba(18,59,57,.3); }
.v3d__explore svg { width: 18px; height: 18px; }
.v3d__chip { position: absolute; right: 18px; bottom: 18px; width: 290px; padding: 22px 22px 20px; background: var(--teal-deep); color: var(--white); box-shadow: 0 20px 50px rgba(12,32,31,.35); }
.v3d__chip[hidden], .v3d__chip-acts[hidden] { display: none; }
.v3d__chip-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; background: none; border: 0; color: rgba(255,255,255,.6); }
.v3d__chip-close:hover { color: var(--white); }
.v3d__chip-close svg { width: 16px; height: 16px; }
.v3d__chip-no { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.15); }
.v3d__chip-no span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.v3d__chip-no strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.v3d__chip-grid { display: grid; gap: 12px; margin: 0 0 14px; }
.v3d__chip-grid dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.v3d__chip-grid dd { margin: 3px 0 0; font-size: 15px; }
.v3d__chip-note { margin: 0 0 18px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.72); }
.v3d__chip-acts { display: flex; align-items: center; gap: 18px; }
.v3d__chip-acts .btn { padding: 13px 20px; }
.v3d__link { background: none; border: 0; padding: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); border-bottom: 1px solid currentColor; }
.v3d__note { margin: 0; padding: 15px 24px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.66); border-top: 1px solid rgba(255,255,255,.08); }
.v3d__note strong { color: var(--gold-soft); font-weight: 500; }
.v3d.is-failed .v3d__caption, .v3d.is-failed .v3d__tools, .v3d.is-failed .v3d__hint, .v3d.is-failed .v3d__explore { display: none; }
.v3d__stage.is-full { position: fixed; inset: 0; z-index: 95; max-width: none; outline: 0; }
.v3d__stage.is-full .v3d__view { height: auto; min-height: 0; flex: 1; }
html.v3d-lock, html.v3d-lock body { overflow: hidden; }
@media (pointer: coarse) {
  .v3d__hint { display: none; }
  .v3d__explore { display: inline-flex; }
  .v3d__stage.is-full .v3d__explore, .v3d__view:has(.v3d__chip:not([hidden])) .v3d__explore { display: none; }
}

/* ============ Amenities ============ */
.amenities { background: var(--mist); }
.amenities__pin {
  height: 100vh; height: 100svh;
  display: flex; align-items: center; gap: clamp(40px, 5vw, 90px);
  padding-left: var(--gutter);
  overflow: hidden;
}
.amenities__intro { flex: 0 0 min(440px, 34vw); }
.amenities__intro .h2 { font-size: clamp(20px, 1.9vw, 28px); }
.gallery { display: flex; gap: 28px; align-items: center; will-change: transform; padding-right: var(--gutter); }
.gallery__item { margin: 0; flex: 0 0 auto; height: min(62vh, 560px); position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__item img { height: 100%; width: auto; object-fit: cover; aspect-ratio: 1376 / 768; }
.gallery__item::after {
  content: "Artist's impression"; position: absolute; top: 14px; right: 14px;
  font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); background: rgba(18,59,57,.55); padding: 7px 10px; backdrop-filter: blur(4px);
}
.gallery__item figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 50px 24px 20px;
  background: linear-gradient(transparent, rgba(18,59,57,.85));
  color: var(--white);
  font-family: var(--serif); font-size: 16px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 14px;
}
.gallery__item figcaption span { font-family: var(--sans); font-size: 11px; letter-spacing: .25em; color: var(--gold-soft); }

.amenity-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--gutter) 140px;
  gap: 0;
}
.amenity {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 34px 14px;
  border-top: 1px solid rgba(31,94,91,.15);
  font-size: 13px; line-height: 1.45; color: var(--ink-soft);
}
.amenity svg { width: 40px; height: 40px; color: var(--teal); stroke-width: 1.2; transition: transform .6s var(--ease), color .6s; }
.amenity:hover svg { transform: translateY(-6px); color: var(--gold); }

/* ============ Location ============ */
.location {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--gutter) 160px;
}
.drives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 46px 0 40px; }
.drive h3 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
.drive h3 span { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: .02em; color: var(--teal); line-height: 1; margin-bottom: 6px; text-transform: none; }
.drive ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.drive li { padding: 5px 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--teal); border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.location__map { overflow: hidden; box-shadow: 0 40px 80px -40px rgba(18,59,57,.4); }
.location__map img { width: 100%; }

/* ============ Contact ============ */
.contact { position: relative; overflow: hidden; color: var(--white); padding: 160px var(--gutter); }
.contact__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center 80%; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,59,57,.94) 0%, rgba(18,59,57,.82) 50%, rgba(18,59,57,.55) 100%); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: clamp(40px, 6vw, 110px); max-width: var(--max); margin: 0 auto; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: rgba(255,255,255,.85); font-size: 15px; }
.contact__list svg { width: 22px; height: 22px; color: var(--gold-soft); flex: none; margin-top: 3px; }
.contact__list span { display: flex; flex-direction: column; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--gold-soft); }
.form { background: var(--mist); color: var(--ink); padding: clamp(28px, 3vw, 44px); }
.form__title { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 22px; color: var(--teal-deep); }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(31,94,91,.35);
  padding: 8px 0; border-radius: 0; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input.is-invalid { border-color: #B3412F; }
.form__note { font-size: 14px; margin: 14px 0 0; min-height: 1.4em; color: var(--teal); }
.form__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Footer ============ */
.footer {
  background: var(--teal-deep); color: rgba(255,255,255,.75);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px;
  padding: 90px var(--gutter) 40px;
}
.footer__brand img { width: 180px; margin-bottom: 14px; }
.footer__brand p { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-soft); margin: 0; }
.footer__by img { width: 150px; }
.footer__assoc-logos { background: var(--white); padding: 14px 18px; display: inline-block; }
.footer__assoc-logos img { width: 220px; }
.footer__disclaimer { grid-column: 1 / -1; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.12); padding-top: 30px; margin: 20px 0 0; }
.footer__copy { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }

/* ============ Floating actions ============ */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.fab__btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-deep); color: var(--gold-soft);
  box-shadow: 0 10px 30px rgba(18,59,57,.35);
  transition: transform .4s var(--ease);
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.fab__btn--call { background: linear-gradient(145deg, #E3C47E, var(--gold)); color: var(--teal-deep); box-shadow: 0 10px 28px rgba(201,164,92,.45); }
.fab__btn--call svg { width: 26px; height: 26px; }
.fab__btn--wa { position: relative; background: #25D366; color: var(--white); box-shadow: 0 10px 30px rgba(18,94,60,.35); }
.fab__btn--wa svg { width: 30px; height: 30px; flex: none; }
.fab__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1; animation: fab-pulse 2.6s ease-out infinite; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.fab__label { display: none; }
@media (prefers-reduced-motion: reduce) { .fab__btn--wa::before { animation: none; } }
@media (min-width: 821px) {
  .fab { right: 28px; bottom: 28px; }
  .fab__btn:not(.fab__btn--wa) { display: none; }  /* calling is for phones */
  .fab__btn--wa { width: auto; min-width: 58px; height: 58px; padding: 0 13px; display: flex; align-items: center; border-radius: 29px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
  .fab__btn--wa:hover { transform: none; text-decoration: none; box-shadow: 0 14px 36px rgba(18,94,60,.45); }
  .fab__label { display: block; max-width: 0; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: max-width .5s var(--ease), margin .5s var(--ease); }
  .fab__btn--wa:hover .fab__label, .fab__btn--wa:focus-visible .fab__label { max-width: 200px; margin-left: 10px; }
  .fab__btn--wa:hover::before { animation: none; opacity: 0; }
}

/* ============ Lightbox ============ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,32,31,.94); display: grid; place-items: center; padding: 40px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; }
.lightbox__close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: var(--white); width: 48px; height: 48px; }
.lightbox__close svg { width: 28px; height: 28px; }
.lightbox video { max-height: 86vh; width: auto; max-width: 100%; background: #000; }
.lightbox img[hidden], .lightbox video[hidden] { display: none; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.3); background: rgba(18,59,57,.5); color: var(--white); display: grid; place-items: center; transition: background .3s; }
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
.lightbox__nav--next { right: 18px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__count { position: absolute; bottom: 14px; left: 16px; right: 16px; text-align: center; margin: 0; font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.75); }

/* ============ Initial animation states (only when JS animations run) ============ */
.anim [data-reveal], .anim [data-drive], .anim .amenity, .anim .stat { opacity: 0; transform: translateY(30px); }
.anim [data-rule] { transform: scaleX(0); }
.anim .hero__title .line > span { transform: translateY(110%); }
.anim .hero__eyebrow, .anim .hero__badges, .anim .hero__ctas, .anim .header { opacity: 0; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header { gap: 16px; }
  .header__cta { margin-left: auto; }
  .menu-toggle {
    display: grid; gap: 6px; place-content: center;
    width: 44px; height: 44px; background: none; border: 0; padding: 0;
  }
  .menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--teal-deep); transition: transform .4s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-open .nav {
    display: flex; flex-direction: column; gap: 6px;
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--mist); padding: 24px var(--gutter) 36px;
    box-shadow: 0 20px 40px rgba(18,59,57,.15);
  }
  .menu-open .nav a { font-size: 14px; padding: 12px 0; border-bottom: 1px solid rgba(31,94,91,.12); }
  .menu-open .header { background: var(--mist); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(4, 1fr); }
  .plan { grid-template-columns: 1fr; }
  .v3d { margin-bottom: 90px; }
  .masterplan .v3d__title { font-size: 22px; }
  .v3d__stage { outline-offset: 8px; }
  .v3d__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  /* phones: all five scenarios on two rows, nothing hidden off screen to swipe for */
  .v3d__tabs { flex-wrap: wrap; overflow: visible; }
  .v3d__tabs button { flex: 1 1 auto; padding: 13px 10px 11px; font-size: 10px; letter-spacing: .12em; }
  .v3d__view { height: 72vh; min-height: 400px; max-height: 640px; }
  .v3d__stage.is-full .v3d__view { max-height: none; }
  .v3d__caption { left: 16px; top: 16px; right: 70px; }
  .v3d__caption .h3 { font-size: 15px; }
  .v3d__desc { font-size: 13px; }
  .v3d__tools { right: 12px; top: 12px; }
  .v3d__chip { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px 16px 16px; }
  .v3d__chip-no { margin-bottom: 10px; padding-bottom: 8px; }
  .v3d__chip-no strong { font-size: 26px; }
  .v3d__chip-grid { grid-template-columns: 1.3fr 1fr; gap: 10px; margin-bottom: 10px; }
  .v3d__chip-grid dd { font-size: 13px; }
  .v3d__chip-note { margin-bottom: 12px; font-size: 12px; }
  .v3d__chip-acts .btn { padding: 11px 16px; }
  .v3d__note { padding: 13px 16px; font-size: 11.5px; }
  .pg { padding: 100px var(--gutter); }
  .pg__head { grid-template-columns: 1fr; }
  .pg__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 10px; }
  .pg__item--feature { grid-row: span 1; }
  .pg__item figcaption { display: none; }
  .plan__panel { position: static; }
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .header__logo img { width: 100px; }
  .header__cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .about, .location { grid-template-columns: 1fr; }
  .about__img--small { right: 0; }
  .amenities__pin { height: auto; flex-direction: column; align-items: stretch; padding: 0 var(--gutter); overflow: visible; }
  .amenities__intro { flex: none; }
  .gallery { flex-direction: column; padding-right: 0; }
  .gallery__item { height: auto; width: 100%; }
  .gallery__item img { width: 100%; height: auto; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); padding-top: 70px; }
  .amenities { padding-top: 110px; }
  .drives { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr; }
  .masterplan, .contact { padding-top: 100px; padding-bottom: 100px; }
}
@media (max-width: 480px) {
  .stat { padding: 24px 16px; }
  .stat strong { font-size: 17px; }
  .drives { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .plot-table__head { flex-direction: column; align-items: flex-start; }
  .plot-table th, .plot-table td { padding: 12px 8px; white-space: nowrap; }
  .plot-table th { letter-spacing: .14em; }
  .hide-sm { display: none; }
}
