/* =============================================================================
   ALASKA TOWERS — design system & page styles
   "Where Dreams Reach New Heights"
   -----------------------------------------------------------------------------
   00  Tokens
   01  Reset & base
   02  Typography (kicker, titles, statements, em)
   03  Layout primitives (.container, .sec, .sec-head, grids)
   04  Buttons & links
   05  Cards, frames, badges, chips
   06  Icons
   07  Marquee
   08  Stats
   09  Forms
   10  Accordion & tabs
   11  Tick list
   12  Hotspots (masterplan)
   13  Navigation
   14  Fullscreen menu overlay
   15  Preloader
   16  Custom cursor
   17  Hero
   18  Page hero (compact)
   19  Mission / statement
   20  Horizontal scroll — residences
   21  Sticky pillar cards
   22  Amenity rows & facility grids
   23  Masterplan section
   24  Experience band
   25  Distances
   26  Gallery (marquee strip + masonry)
   27  Blog cards & prose
   28  Timeline
   29  Testimonials
   30  Residence detail (specs, rooms, calculator, unit nav)
   31  Contact split
   32  FAQ layout
   33  Map
   34  CTA band
   35  Footer mega
   36  404 & misc pages
   37  Utilities
   38  Animation-state guards (html.js scope)
   39  Reduced motion & print
   ========================================================================== */

/* ========================================================================== */
/* 00 — TOKENS                                                                */
/* ========================================================================== */

:root {
  --ink:      #050e1d;
  --ink-2:    #0a1a33;
  --ink-3:    #10264a;
  --blue:     #0473fa;
  --blue-2:   #045fd6;
  --sky:      #4f9dff;
  --gold:     #c8a468;
  --paper:    #f5f9fd;
  --ice:      #e9f2fa;
  --white:    #ffffff;
  --t-body:   rgba(233, 242, 250, .72);
  --t-mute:   rgba(233, 242, 250, .45);
  --d-body:   #43597a;
  --d-head:   #071729;
  --line:     rgba(233, 242, 250, .12);
  --line-d:   rgba(7, 23, 41, .10);
  --f-display: 'Fraunces', serif;
  --f-sans:    'Manrope', sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 100px;
  --ease: cubic-bezier(.65, .05, 0, 1);
  --nav-h: 84px;

  --fs-hero: clamp(2.9rem, 7.2vw, 7rem);
  --fs-h2:   clamp(2.1rem, 4.6vw, 4.2rem);
  --fs-h3:   clamp(1.4rem, 2.4vw, 2rem);

  --glow: radial-gradient(closest-side, rgba(4, 115, 250, .32), rgba(4, 115, 250, .08) 55%, transparent 72%);
}

/* ========================================================================== */
/* 01 — RESET & BASE                                                          */
/* ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-3) var(--ink);
}

body {
  background: var(--ink);
  color: var(--t-body);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; overflow-x: clip; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 700; }

::selection { background: var(--blue); color: var(--white); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-2); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 3000;
  background: var(--blue); color: var(--white);
  padding: 12px 22px; border-radius: var(--r-pill);
  font: 700 13px/1 var(--f-sans);
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* honeypot — never visible to humans */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ========================================================================== */
/* 02 — TYPOGRAPHY                                                            */
/* ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 420;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--white);
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: 1.15rem; line-height: 1.3; }

.sec--light h1, .sec--light h2, .sec--light h3, .sec--light h4 { color: var(--d-head); }

/* Emphasised words inside display type: italic Fraunces, gold on dark / blue on light */
h1 em, h2 em, h3 em, .statement em, .cta-band__title em {
  font-style: italic;
  font-weight: 380;
  color: var(--gold);
}
.sec--light :is(h1, h2, h3, .statement) em { color: var(--blue); }

p { max-width: 62ch; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.75; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 700 11px/1 var(--f-sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(16px, 2.4vw, 26px);
}
.kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: .7;
  flex: none;
}
.sec--light .kicker { color: var(--blue); }
.kicker--blue { color: var(--blue); }
.kicker--bare::before { display: none; }

/* ========================================================================== */
/* 03 — LAYOUT PRIMITIVES                                                     */
/* ========================================================================== */

.container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}
.container--nar { max-width: 1080px; }

.sec { position: relative; padding-block: clamp(84px, 11vw, 160px); }
.sec--light { background: var(--paper); color: var(--d-body); }
.sec--ink2 { background: var(--ink-2); }
.sec--flush-b { padding-bottom: 0; }
.sec--flush-t { padding-top: 0; }
.sec--hairline-t { border-top: 1px solid var(--line); }

.sec-head { margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head .sec-title { max-width: 20ch; }
.sec-sub { color: var(--t-body); max-width: 44ch; }
.sec--light .sec-sub { color: var(--d-body); }
.sec-sub p { max-width: none; }

@media (min-width: 900px) {
  .sec-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
  }
  .sec-head--split .sec-sub { justify-self: end; text-align: left; padding-bottom: 8px; }
}

.grid-2 { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }

.flow > * + * { margin-top: 1.1em; }

/* ========================================================================== */
/* 04 — BUTTONS & LINKS                                                       */
/* ========================================================================== */

.btn {
  --swipe: var(--ice);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 30px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: 700 14px/1 var(--f-sans);
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--swipe);
  transform: translateY(103%);
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .ic { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:hover .ic--up { transform: translate(3px, -3px); }
.btn:hover .ic--dl { transform: translateY(3px); }
.btn:hover .ic--still { transform: none; }

.btn--blue  { background: var(--blue); color: var(--white); --swipe: var(--ice); }
.btn--blue:hover, .btn--blue:focus-visible { color: var(--ink); }

.btn--ghost { border-color: var(--line); color: var(--ice); --swipe: var(--ice); background: transparent; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--ice); }
.sec--light .btn--ghost { border-color: rgba(7, 23, 41, .22); color: var(--d-head); --swipe: var(--ink); }
.sec--light .btn--ghost:hover, .sec--light .btn--ghost:focus-visible { color: var(--ice); border-color: var(--ink); }

.btn--dark  { background: var(--ink); color: var(--ice); --swipe: var(--blue); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--white); }

.btn--white { background: var(--white); color: var(--ink); --swipe: var(--blue); }
.btn--white:hover, .btn--white:focus-visible { color: var(--white); }

.btn--sm { height: 44px; padding: 0 22px; font-size: 13px; }
.btn--lg { height: 60px; padding: 0 40px; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1.4 var(--f-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice);
  padding-bottom: 6px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size .5s var(--ease), color .35s var(--ease);
}
.link-arrow .ic { width: 15px; height: 15px; flex: none; transition: transform .45s var(--ease); }
.link-arrow:hover { color: var(--sky); background-size: 40% 1px; }
.link-arrow:hover .ic { transform: translateX(5px); }
.sec--light .link-arrow { color: var(--d-head); }
.sec--light .link-arrow:hover { color: var(--blue); }

/* ========================================================================== */
/* 05 — CARDS, FRAMES, BADGES, CHIPS                                          */
/* ========================================================================== */

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .55s var(--ease), border-color .55s var(--ease), box-shadow .55s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--ink-3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.card--pad { padding: clamp(26px, 3vw, 44px); }
.sec--light .card { background: var(--white); border-color: var(--line-d); }

.img-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  background: var(--ink-2);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.img-frame--43  img { aspect-ratio: 4 / 3; }
.img-frame--169 img { aspect-ratio: 16 / 9; }
.img-frame--45  img { aspect-ratio: 4 / 5; }
.img-frame--sq  img { aspect-ratio: 1 / 1; }

/* radial azure glow behind key imagery */
.glow { position: relative; }
.glow::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: var(--glow);
  z-index: -1;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 10.5px/1 var(--f-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(4, 115, 250, .12);
  border: 1px solid rgba(79, 157, 255, .28);
  border-radius: var(--r-pill);
  padding: 8px 14px;
}
.badge--gold { color: var(--gold); background: rgba(200, 164, 104, .1); border-color: rgba(200, 164, 104, .3); }
.badge--ice  { color: var(--ice); background: rgba(233, 242, 250, .07); border-color: var(--line); }
.sec--light .badge--ice { color: var(--d-head); background: rgba(7, 23, 41, .05); border-color: var(--line-d); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font: 700 12.5px/1 var(--f-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t-body);
  background: transparent;
  cursor: pointer;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.chip:hover { color: var(--white); border-color: var(--ink-3); background: rgba(233, 242, 250, .04); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.sec--light .chip { border-color: rgba(7, 23, 41, .18); color: var(--d-body); }
.sec--light .chip:hover { color: var(--d-head); background: rgba(7, 23, 41, .04); }
.sec--light .chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ========================================================================== */
/* 06 — ICONS                                                                 */
/* ========================================================================== */

.ic {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ic--lg { width: 28px; height: 28px; }
.ic--xl { width: 36px; height: 36px; stroke-width: 1.4; }

.ic-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  color: var(--sky);
  background: rgba(4, 115, 250, .08);
  flex: none;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.sec--light .ic-tile { border-color: var(--line-d); background: rgba(4, 115, 250, .07); color: var(--blue); }

/* ========================================================================== */
/* 07 — MARQUEE                                                               */
/* ========================================================================== */

.marquee {
  overflow: clip;
  white-space: nowrap;
  position: relative;
  user-select: none;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(28px, 4vw, 64px);
  width: max-content;
  animation: marquee-x 40s linear infinite;
  will-change: transform;
}
.marquee--slow .marquee__track { animation-duration: 70s; }
.marquee--fast .marquee__track { animation-duration: 26s; }
.marquee--rev  .marquee__track { animation-direction: reverse; }
.marquee--pause:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-x { to { transform: translateX(-50%); } }

/* outlined display text (stroke only) */
.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 242, 250, .5);
  paint-order: stroke;
}
.sec--light .outline { -webkit-text-stroke-color: rgba(7, 23, 41, .3); }

/* tagline band on home */
.tagline-band { padding-block: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); }
.tagline-band .marquee__item {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.1;
  color: var(--ice);
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.tagline-band .marquee__item::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ========================================================================== */
/* 08 — STATS                                                                 */
/* ========================================================================== */

.stat { min-width: 0; }
.stat__num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__num .stat__aff { font-size: .5em; color: var(--sky); font-family: var(--f-sans); font-weight: 600; }
.stat__label {
  margin-top: 10px;
  font: 600 12px/1.5 var(--f-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-mute);
}
.sec--light .stat__num { color: var(--d-head); }
.sec--light .stat__label { color: var(--d-body); }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stats-strip .stat { padding: clamp(22px, 3vw, 40px) clamp(18px, 2.6vw, 44px); border-bottom: 1px solid var(--line); }
.stats-strip .stat:nth-child(odd) { border-right: 1px solid var(--line); }
@media (min-width: 900px) {
  .stats-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-strip .stat { border-bottom: 0; border-right: 1px solid var(--line); }
  .stats-strip .stat:last-child { border-right: 0; }
}

/* full stats table (about page) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stats-grid .stat { padding: clamp(26px, 3.4vw, 48px); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.stats-grid .stat:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-grid .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stats-grid .stat:nth-child(4n) { border-right: 0; }
  .stats-grid .stat:nth-last-child(-n+4) { border-bottom: 0; }
}

/* ========================================================================== */
/* 09 — FORMS                                                                 */
/* ========================================================================== */

.form-grid { display: grid; gap: clamp(20px, 2.6vw, 30px); }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--full { grid-column: 1 / -1; }
}

.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 0 12px;
  color: var(--white);
  font: 500 15.5px/1.4 var(--f-sans);
  transition: border-color .4s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
.field label {
  position: absolute;
  left: 0; top: 22px;
  font: 600 15px/1 var(--f-sans);
  color: var(--t-mute);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label,
.field--float ~ label,
.field.is-filled label,
.field--select label {
  transform: translateY(-20px) scale(.72);
  color: var(--sky);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field select { cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--ice); }
.field--select::after {
  content: "";
  position: absolute;
  right: 4px; top: 32px;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--t-mute);
  border-bottom: 1.6px solid var(--t-mute);
  transform: rotate(45deg);
  pointer-events: none;
}

/* fields on light surfaces */
.sec--light .field input, .sec--light .field select, .sec--light .field textarea {
  border-bottom-color: rgba(7, 23, 41, .2);
  color: var(--d-head);
}
.sec--light .field label { color: rgba(7, 23, 41, .45); }
.sec--light .field input:focus ~ label,
.sec--light .field input:not(:placeholder-shown) ~ label { color: var(--blue); }

.form-note { font-size: 12.5px; color: var(--t-mute); line-height: 1.6; }
.form-note a { color: var(--sky); }
.form-note--ok { color: var(--sky); }

.form-errors {
  border: 1px solid rgba(255, 120, 120, .4);
  background: rgba(255, 90, 90, .08);
  color: #ffb4b4;
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 26px;
}
.form-errors li { padding-left: 16px; position: relative; }
.form-errors li::before { content: "—"; position: absolute; left: 0; }

.form-success { text-align: center; padding: clamp(30px, 5vw, 60px) 0; }
.form-success .ic-tile { width: 74px; height: 74px; border-radius: 50%; margin-bottom: 22px; color: var(--sky); }

/* ========================================================================== */
/* 10 — ACCORDION & TABS                                                      */
/* ========================================================================== */

.accordion { border-bottom: 1px solid var(--line); }
.accordion:first-of-type { border-top: 1px solid var(--line); }
.accordion__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: clamp(20px, 2.6vw, 30px) 0;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 420;
  color: var(--white);
  line-height: 1.3;
  transition: color .35s var(--ease);
}
.accordion__q:hover { color: var(--sky); }
.accordion__icon {
  flex: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
  transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.accordion__icon .ic { width: 15px; height: 15px; }
.accordion.is-open .accordion__icon {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.accordion__a { overflow: hidden; height: 0; }
.accordion__body { padding: 4px 0 clamp(22px, 3vw, 32px); max-width: 68ch; color: var(--t-body); }
html:not(.js) .accordion__a { height: auto; }

.sec--light .accordion { border-color: var(--line-d); }
.sec--light .accordion__q { color: var(--d-head); }
.sec--light .accordion__q:hover { color: var(--blue); }
.sec--light .accordion__icon { border-color: rgba(7, 23, 41, .2); color: var(--d-head); }
.sec--light .accordion__body { color: var(--d-body); }

/* tabs */
[data-tab] { cursor: pointer; }
[data-tab-panel] { display: none; }
[data-tab-panel].is-active { display: block; }
html:not(.js) [data-tab-panel] { display: block; }

/* ========================================================================== */
/* 11 — TICK LIST                                                             */
/* ========================================================================== */

.tick-list { display: grid; gap: 14px 32px; }
@media (min-width: 640px) { .tick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tick-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
  color: var(--ice);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 19px; height: 19px;
  background-color: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" opacity=".35"/><path d="m7.5 12.2 3.1 3.1 5.9-6.4"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" opacity=".35"/><path d="m7.5 12.2 3.1 3.1 5.9-6.4"/></svg>') center / contain no-repeat;
}
.sec--light .tick-list li { color: var(--d-head); }

/* ========================================================================== */
/* 12 — HOTSPOTS                                                              */
/* ========================================================================== */

.hotspot {
  position: absolute;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid rgba(233, 242, 250, .85);
  cursor: pointer;
  z-index: 3;
  transition: transform .35s var(--ease), background-color .35s var(--ease), opacity .35s var(--ease);
}
.hotspot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(79, 157, 255, .9);
  animation: hotspot-ping 2.2s var(--ease) infinite;
  pointer-events: none;
}
@keyframes hotspot-ping {
  0%   { transform: scale(1); opacity: .9; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
/* Lift the active dot above its siblings so its tooltip (z-index:5 inside it)
   clears the other dots instead of being painted over by them. */
.hotspot:hover, .hotspot.is-active { transform: scale(1.25); background: var(--sky); z-index: 10; }
/* While one point is active, fade the rest so the active dot + its tooltip are unmistakable. */
.masterplan.is-focusing .hotspot:not(.is-active) { opacity: .18; }
.masterplan.is-focusing .hotspot:not(.is-active)::after { opacity: 0; }

.hotspot__tip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 190px;
  max-width: 250px;
  background: rgba(10, 26, 51, .96);
  border: 1px solid var(--ink-3);
  border-radius: var(--r-md);
  padding: 14px 16px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  z-index: 5;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
}
.hotspot__tip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: rgba(10, 26, 51, .96);
}
.hotspot:hover .hotspot__tip,
.hotspot.is-active .hotspot__tip,
.hotspot:focus-visible .hotspot__tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.hotspot__tip .num {
  font: 700 10px/1 var(--f-sans);
  letter-spacing: .22em;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.hotspot__tip .t {
  font-family: var(--f-display);
  font-size: 1.02rem;
  color: var(--white);
  display: block;
  line-height: 1.2;
}
.hotspot__tip .d { font-size: 12px; color: var(--t-body); display: block; margin-top: 4px; line-height: 1.5; }

/* Points near the top of the plan: flip the tooltip BELOW the point (JS adds
   .hotspot--flip) so overflow:hidden on .masterplan can't clip it off the image. */
.hotspot--flip .hotspot__tip { bottom: auto; top: calc(100% + 14px); transform: translate(-50%, -8px); }
.hotspot--flip .hotspot__tip::after {
  top: auto; bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: rgba(10, 26, 51, .96);
}

/* ========================================================================== */
/* 13 — NAVIGATION                                                            */
/* ========================================================================== */

.nav-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1200;
  pointer-events: none;
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1100;
  transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 14, 29, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-102%); }
html.menu-open .nav { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; flex: none; position: relative; z-index: 1300; }
.nav__logo img { height: 40px; width: auto; }

.nav__menu { display: none; }
@media (min-width: 1100px) {
  .nav__menu { display: flex; align-items: center; gap: clamp(20px, 2vw, 34px); }
}
.nav__link {
  position: relative;
  font: 600 13.5px/1 var(--f-sans);
  letter-spacing: .04em;
  color: var(--t-body);
  padding: 8px 2px;
  transition: color .35s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

.nav__right { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.nav__phone {
  display: none;
  font: 700 13.5px/1 var(--f-sans);
  letter-spacing: .04em;
  color: var(--ice);
  align-items: center;
  gap: 9px;
  transition: color .35s var(--ease);
}
.nav__phone .ic { width: 15px; height: 15px; color: var(--sky); }
.nav__phone:hover { color: var(--sky); }
@media (min-width: 1280px) { .nav__phone { display: inline-flex; } }

.nav__cta { display: none; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; height: 46px; padding: 0 24px; } }

.burger {
  position: relative;
  z-index: 1300;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.burger span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--ice);
  border-radius: 2px;
  transition: transform .5s var(--ease), width .4s var(--ease);
}
.burger:hover { border-color: var(--sky); }
.burger:hover span:nth-child(2) { width: 12px; }
.burger.is-active span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.burger.is-active span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); width: 18px; }

/* ========================================================================== */
/* 14 — FULLSCREEN MENU OVERLAY                                               */
/* ========================================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(4, 115, 250, .16), transparent 55%),
    var(--ink);
  visibility: hidden;
  opacity: 0;
  transition: opacity .6s var(--ease), visibility .6s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-overlay.is-open { visibility: visible; opacity: 1; }

/* Dedicated close (✕) control. The nav (z-index 1100) is painted *under* the overlay
   (z-index 1200), so the burger's X transform is invisible while the menu is open —
   this button lives inside the overlay and sits exactly where the burger was. */
.menu-overlay__close {
  position: fixed;
  top: max(16px, calc((var(--nav-h) - 48px) / 2));
  right: calc(max(0px, (100vw - 1480px) / 2) + clamp(20px, 4vw, 64px));
  z-index: 2;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ice);
  background: rgba(233, 242, 250, .04);
  opacity: 0;
  transform: scale(.8) rotate(-45deg);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease),
              border-color .35s var(--ease), color .35s var(--ease);
}
.menu-overlay.is-open .menu-overlay__close {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: .15s;
}
.menu-overlay__close .ic { width: 22px; height: 22px; }
.menu-overlay__close:hover,
.menu-overlay__close:focus-visible {
  border-color: var(--sky);
  color: var(--sky);
  transform: rotate(90deg);
}

.menu-overlay__inner {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: clamp(36px, 6vh, 70px);
  padding-block: calc(var(--nav-h) + 30px) 60px;
}
@media (min-width: 900px) {
  .menu-overlay__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 110px);
    align-items: center;
  }
}

.menu-overlay__links { display: flex; flex-direction: column; gap: 2px; counter-reset: menu; }
.menu-overlay__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  width: fit-content;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vh, 3.6rem);
  line-height: 1.28;
  color: var(--ice);
  transition: color .4s var(--ease), transform .5s var(--ease);
  counter-increment: menu;
}
.menu-overlay__link::before {
  content: counter(menu, decimal-leading-zero);
  font: 700 11px/1 var(--f-sans);
  letter-spacing: .2em;
  color: var(--t-mute);
  transition: color .4s var(--ease);
}
.menu-overlay__link:hover { color: var(--white); transform: translateX(10px); font-style: italic; }
.menu-overlay__link:hover::before { color: var(--gold); }
.menu-overlay__link[aria-current="page"] { color: var(--sky); }

.menu-overlay__aside { display: grid; gap: clamp(24px, 4vh, 40px); align-content: start; }
.menu-overlay__img { border-radius: var(--r-lg); overflow: hidden; max-height: 260px; }
.menu-overlay__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-height: 760px) and (min-width: 900px) { .menu-overlay__img { max-height: 180px; } }

.menu-overlay__label {
  font: 700 10.5px/1 var(--f-sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.menu-overlay__contact a {
  display: block;
  color: var(--ice);
  font-weight: 600;
  padding: 4px 0;
  transition: color .35s var(--ease);
}
.menu-overlay__contact a:hover { color: var(--sky); }
.menu-overlay__contact address { font-style: normal; color: var(--t-body); font-size: 14.5px; line-height: 1.7; }

/* ========================================================================== */
/* 15 — PRELOADER                                                             */
/* ========================================================================== */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 55%, rgba(4, 115, 250, .18), transparent 70%);
}
html:not(.js) #preloader, #preloader.is-done { display: none; }

.preloader__center { position: relative; text-align: center; display: grid; justify-items: center; gap: 26px; }
.preloader__mark { height: 64px; width: auto; }
.preloader__word {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--ice);
  min-height: 1.4em;
}
.preloader__count {
  position: absolute;
  bottom: clamp(24px, 5vh, 56px);
  right: clamp(24px, 5vw, 64px);
  font-family: var(--f-display);
  font-weight: 340;
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.preloader__count::after { content: "%"; font-size: .32em; color: var(--sky); margin-left: 4px; }
.preloader__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--line);
}
.preloader__bar i {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  display: block;
}

/* ========================================================================== */
/* 16 — CUSTOM CURSOR                                                         */
/* ========================================================================== */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3000;
  mix-blend-mode: difference;
  /* Stay invisible until the JS cursor engine activates (it sets opacity inline on
     first mouse-move via GSAP). Prevents a broken dot/ring stuck at 0,0 when GSAP
     fails to load or the device isn't a fine-pointer desktop. */
  opacity: 0;
}
.cursor-dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--white);
}
.cursor-ring {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, .75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease),
              background-color .4s var(--ease), border-color .4s var(--ease);
}
.cursor-ring::after {
  content: attr(data-label);
  font: 700 10px/1 var(--f-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cursor-ring.is-label {
  width: 78px; height: 78px;
  margin: -39px 0 0 -39px;
  background: rgba(255, 255, 255, .96);
  border-color: transparent;
  mix-blend-mode: normal;
}
.cursor-ring.is-label::after { opacity: 1; color: var(--ink); }
.cursor-ring.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
html.cursor-on, html.cursor-on body, html.cursor-on a, html.cursor-on button { cursor: none; }

@media (hover: none), (pointer: coarse), (max-width: 899px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ========================================================================== */
/* 17 — HERO                                                                  */
/* ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bgimg { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__bgimg.is-active { opacity: 1; z-index: 1; }
.hero__bgimg img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
/* Background YouTube video — sized by JS to cover the hero (16:9, center-cropped). */
.hero__video { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-ready { opacity: 1; }
/* max-width:none defeats the global `iframe{max-width:100%}` reset so the JS
   cover() sizing (which is wider than the box on <16:9 viewports) isn't clamped. */
.hero__video iframe { position: absolute; top: 0; left: 0; border: 0; pointer-events: none; max-width: none; max-height: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bgimg.is-active img { animation: heroKen 9s ease-out both; }
}
@media (prefers-reduced-motion: reduce) { .hero__video { transition: none; } }
@keyframes heroKen { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0; z-index: 2;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(5, 14, 29, .55) 32%, rgba(5, 14, 29, .18) 60%, rgba(5, 14, 29, .45) 100%),
    radial-gradient(70% 45% at 28% 78%, rgba(4, 115, 250, .18), transparent 70%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; padding-block: clamp(40px, 7vh, 90px) clamp(36px, 6vh, 70px); }
.hero__panels { display: grid; }
.hero__panel {
  grid-area: 1 / 1; z-index: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.hero__panel.is-active { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__panel { transition: none; }
  .hero__bgimg { transition: none; }
}
.hero__dots { display: flex; gap: 10px; margin-top: clamp(26px, 4vh, 44px); }
.hero__dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(233, 242, 250, .32);
  transition: width .4s var(--ease), background-color .4s var(--ease);
}
.hero__dots button:hover { background: rgba(233, 242, 250, .6); }
.hero__dots button.is-active { width: 28px; border-radius: 20px; background: var(--ice); }
.hero__inner h1 { max-width: 13ch; margin-block: clamp(14px, 2.4vh, 26px); }
.hero__sub { max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--t-body); }
.hero__ctas { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; gap: 14px; }
.hero .stats-strip { position: relative; }

.scroll-badge {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(24px, 5vh, 60px);
  width: 112px; height: 112px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--ice);
  z-index: 4;
}
@media (min-width: 900px) { .scroll-badge { display: flex; } }
.scroll-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.scroll-badge svg text {
  font: 600 9.5px var(--f-sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  fill: var(--ice);
}
.scroll-badge .ic { width: 18px; height: 18px; color: var(--sky); animation: nudge-d 2.4s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge-d { 0%, 100% { transform: translateY(-3px); opacity: .7; } 50% { transform: translateY(3px); opacity: 1; } }

/* ========================================================================== */
/* 18 — PAGE HERO (compact)                                                   */
/* ========================================================================== */

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(64px, 11vh, 130px));
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 16ch; }
.page-hero .lead { margin-top: clamp(18px, 3vh, 30px); max-width: 58ch; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 4%, rgba(5, 14, 29, .72) 45%, rgba(5, 14, 29, .55) 100%);
}
.page-hero--tall { min-height: 72svh; display: flex; flex-direction: column; justify-content: flex-end; }

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 12px/1 var(--f-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t-mute);
  margin-bottom: 18px;
}
.crumb a { color: var(--t-body); transition: color .3s var(--ease); }
.crumb a:hover { color: var(--sky); }
.crumb .sep { color: var(--t-mute); }

/* ========================================================================== */
/* 19 — MISSION / STATEMENT                                                   */
/* ========================================================================== */

.statement {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--d-head);
  text-wrap: balance;
}
.sec:not(.sec--light) .statement { color: var(--white); }

.mission__grid { display: grid; gap: clamp(40px, 6vw, 90px); }
@media (min-width: 900px) {
  .mission__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
  .mission__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.mission__media { position: relative; }
.mission__media .img-frame img { aspect-ratio: 4 / 5; }
.mission__float {
  position: absolute;
  left: clamp(-60px, -6vw, -20px);
  bottom: clamp(-40px, -4vw, -20px);
  width: clamp(140px, 22vw, 240px);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(7, 23, 41, .35);
  border: 4px solid var(--paper);
  z-index: 2;
}
.mission__float img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mission__copy { margin-top: clamp(24px, 4vh, 40px); display: grid; gap: 22px; justify-items: start; }

/* ========================================================================== */
/* 20 — HORIZONTAL SCROLL — RESIDENCES                                        */
/* ========================================================================== */

/* Native horizontal scroll on every screen size (drag + arrow controls added in JS).
   Previously desktop relied on a GSAP-pinned translate that broke when the CDN
   stalled, leaving desktop users unable to scroll the strip at all. */
.h-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(20px, 4vw, 64px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.h-scroll::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) {
  .h-scroll { cursor: grab; }
  .h-scroll.is-grabbing { cursor: grabbing; scroll-snap-type: none; user-select: none; }
}
.h-scroll__track {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  width: max-content;
  padding-inline: clamp(20px, 4vw, 64px);
  padding-block: 16px 26px; /* room for the card hover-lift (-8px) + shadow (overflow-y is clipped) */
}
.h-scroll__track > * { scroll-snap-align: start; }

/* Carousel controls (prev / next), shown beside the section heading */
.res-head-side { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 900px) {
  .res-head-side { justify-self: end; justify-items: end; }
}
.h-scroll__nav { display: inline-flex; gap: 10px; }
.h-scroll__nav[hidden] { display: none; }
.h-scroll__btn {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ice);
  transition: color .35s var(--ease), border-color .35s var(--ease),
              background-color .35s var(--ease), opacity .35s var(--ease);
}
.h-scroll__btn .ic { width: 20px; height: 20px; }
.h-scroll__btn[data-scroll="prev"] .ic { transform: rotate(180deg); }
.h-scroll__btn:hover:not(:disabled),
.h-scroll__btn:focus-visible:not(:disabled) {
  color: var(--white);
  border-color: var(--sky);
  background: rgba(79, 157, 255, .08);
}
.h-scroll__btn:disabled { opacity: .28; cursor: default; }

.res-card {
  position: relative;
  width: clamp(300px, 82vw, 460px);
  flex: none;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  transition: transform .55s var(--ease), border-color .55s var(--ease);
}
.res-card:hover { transform: translateY(-8px); border-color: var(--ink-3); }
.res-card__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.6vw, 32px);
  /* Renders now have transparent backgrounds, so they float on a soft dark panel
     with just a gentle brand-blue glow behind them. */
  background:
    radial-gradient(70% 58% at 50% 24%, rgba(79, 157, 255, .22), transparent 72%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2) 92%);
  overflow: hidden;
}
.res-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .5));
  transition: transform .8s var(--ease);
}
.res-card:hover .res-card__media img { transform: scale(1.05) translateY(-4px); }
.res-card__media .badge { position: absolute; top: 18px; left: 18px; }
.res-card__body { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 14px; flex: 1; align-content: start; }
.res-card__name { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.res-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font: 600 13px/1.4 var(--f-sans);
  color: var(--t-mute);
}
.res-card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.res-card__meta .ic { width: 16px; height: 16px; color: var(--sky); }
.res-card__price { font: 500 14px/1.4 var(--f-sans); color: var(--t-body); border-top: 1px solid var(--line); padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.res-card__price strong { font-family: var(--f-display); font-weight: 420; font-size: 1.35rem; color: var(--white); }
.res-card__price .link-arrow { font-size: 11.5px; padding-bottom: 4px; }

.res-card--more {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border-style: dashed;
  min-height: 420px;
  gap: 18px;
  padding: 30px;
}
.res-card--more .t { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--white); max-width: 12ch; }
.res-card--more:hover { border-color: var(--blue); background: rgba(4, 115, 250, .05); }
.res-card--more .ic-tile { border-radius: 50%; width: 66px; height: 66px; }

/* residences index grid */
.res-grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
@media (min-width: 640px)  { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.res-grid .res-card { width: auto; }

/* ========================================================================== */
/* 21 — STICKY PILLAR CARDS                                                   */
/* ========================================================================== */

.pillars { display: grid; gap: clamp(20px, 3vh, 36px); }
.pillar-card {
  position: sticky;
  top: calc(var(--nav-h) + 18px + (var(--i, 0) * 16px));
  display: grid;
  gap: clamp(24px, 3vw, 56px);
  background: linear-gradient(150deg, var(--ink-2), var(--ink) 90%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.6vw, 60px);
  overflow: hidden;
  isolation: isolate;
}
.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 85% 15%, rgba(4, 115, 250, .12), transparent 65%);
  z-index: -1;
}
@media (min-width: 900px) {
  .pillar-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: min(560px, 72vh); }
}
.pillar-card__num {
  font-family: var(--f-display);
  font-weight: 340;
  font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  margin-bottom: clamp(14px, 2vh, 26px);
}
.pillar-card__body { display: grid; gap: 18px; justify-items: start; align-content: center; }
.pillar-card__body h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.pillar-card__body p { color: var(--t-body); max-width: 46ch; }
.pillar-card .img-frame img { aspect-ratio: 4 / 3; }

/* ========================================================================== */
/* 22 — AMENITY ROWS & FACILITY GRIDS                                         */
/* ========================================================================== */

.amenity-row {
  display: grid;
  gap: clamp(26px, 4vw, 80px);
  padding-block: clamp(36px, 5vw, 70px);
  border-top: 1px solid var(--line-d);
  align-items: center;
}
.sec:not(.sec--light) .amenity-row { border-top-color: var(--line); }
.amenity-row:last-child { border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) {
  .amenity-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .amenity-row--flip .amenity-row__media { order: 2; }
}
.amenity-row__media .img-frame img { aspect-ratio: 16 / 11; }
.amenity-row__body { display: grid; gap: 18px; justify-items: start; }
.amenity-row__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.amenity-row__body p { max-width: 50ch; }

.facility-grid { display: grid; gap: clamp(14px, 1.8vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px)  { .facility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .facility-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facility-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-d);
  background: var(--white);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.facility-card:hover { transform: translateY(-6px); border-color: rgba(4, 115, 250, .35); box-shadow: 0 24px 46px -26px rgba(7, 23, 41, .25); }
.facility-card h4 { font-size: 1.1rem; color: var(--d-head); }
.facility-card p { font-size: 14px; line-height: 1.6; color: var(--d-body); }
.sec:not(.sec--light) .facility-card { background: var(--ink-2); border-color: var(--line); }
.sec:not(.sec--light) .facility-card h4 { color: var(--white); }
.sec:not(.sec--light) .facility-card p { color: var(--t-body); }
.facility-card:hover .ic-tile { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* compact icon mini-grid (home) */
.facility-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (min-width: 480px) { .facility-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facility-mini__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-d);
  border-radius: var(--r-md);
  background: var(--white);
  font: 600 14px/1.35 var(--f-sans);
  color: var(--d-head);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.facility-mini__item:hover { border-color: rgba(4, 115, 250, .4); transform: translateY(-3px); }
.facility-mini__item .ic { width: 22px; height: 22px; color: var(--blue); }

/* ========================================================================== */
/* 23 — MASTERPLAN SECTION                                                    */
/* ========================================================================== */

.masterplan-wrap { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1200px) {
  .masterplan-wrap { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); align-items: start; }
}
.masterplan {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.masterplan > img { width: 100%; height: auto; display: block; }
.masterplan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 14, 29, .34), transparent 40%);
  pointer-events: none;
}

.masterplan-legend { display: grid; gap: 4px; align-content: start; }
.masterplan-legend li { border-bottom: 1px solid var(--line); }
.masterplan-legend button, .masterplan-legend .legend-item {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  text-align: left;
  padding: 15px 6px;
  color: var(--t-body);
  font: 500 15px/1.45 var(--f-sans);
  border-radius: 8px;
  transition: color .35s var(--ease), background-color .35s var(--ease), padding-left .35s var(--ease);
}
.masterplan-legend .num {
  font: 700 11px/1 var(--f-sans);
  letter-spacing: .16em;
  color: var(--gold);
  flex: none;
}
.masterplan-legend button:hover,
.masterplan-legend button.is-active,
.masterplan-legend .legend-item.is-active {
  color: var(--white);
  background: rgba(4, 115, 250, .1);
  padding-left: 14px;
}

/* ========================================================================== */
/* 24 — EXPERIENCE BAND                                                       */
/* ========================================================================== */

.experience-band { position: relative; }
.experience-band .grid-2 { align-items: center; }
.experience-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  display: block;
}
.experience-frame img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; transition: transform .9s var(--ease); }
.experience-frame:hover img { transform: scale(1.04); }
.experience-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 14, 29, .5), transparent 55%);
}
.experience-frame .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(233, 242, 250, .12);
  border: 1px solid rgba(233, 242, 250, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 2;
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.experience-frame:hover .play { transform: scale(1.12); background: var(--blue); }

/* full 3D page iframe */
.experience-embed {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.experience-embed iframe { width: 100%; height: min(80vh, 860px); border: 0; display: block; }
.experience-embed--home iframe { height: clamp(360px, 56vh, 640px); }
.experience-embed--full iframe { height: min(84vh, 940px); }
.experience-embed.is-fs {
  position: fixed;
  inset: 0;
  z-index: 5000;
  border: 0;
  border-radius: 0;
  background: var(--ink);
}
.experience-embed.is-fs iframe { height: 100vh; height: 100dvh; }
html.fs-lock, html.fs-lock body { overflow: hidden; }
.experience-embed__expand {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 40px;
  background: rgba(5, 14, 29, .72);
  color: var(--ice);
  border: 1px solid rgba(233, 242, 250, .2);
  font: 700 12px/1 var(--f-sans);
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.experience-embed__expand .ic { width: 15px; height: 15px; }
.experience-embed__expand:hover, .experience-embed__expand:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Click-to-load facade for the heavy 3D iframe — keeps landing/residence pages
   light and scrolling smooth; the WebGL app only runs once the visitor opts in. */
.model-facade { cursor: pointer; }
.experience-embed--home.model-facade { height: clamp(360px, 56vh, 640px); display: grid; place-items: center; }
.model-facade__poster { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.model-facade::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 60% at 50% 44%, rgba(4, 115, 250, .28), transparent 70%),
    linear-gradient(180deg, rgba(5, 14, 29, .55), rgba(5, 14, 29, .82));
}
.model-facade__play {
  position: relative; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--ice); font: 700 12px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase;
}
.model-facade__play .disc {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(233, 242, 250, .1); border: 1px solid rgba(233, 242, 250, .35);
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.model-facade__play .disc .ic { width: 28px; height: 28px; margin-left: 3px; }
.model-facade__play:hover .disc { background: var(--blue); border-color: var(--blue); transform: scale(1.07); }
.model-facade.is-loaded { cursor: default; }
.model-facade.is-loaded::after,
.model-facade.is-loaded .model-facade__poster,
.model-facade.is-loaded .model-facade__play { display: none; }
.model-facade iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.experience-embed.model-facade .experience-embed__expand { z-index: 3; }
/* Cinematic expanding 3D stage — pinned, scaled from a centered card to ~89% (Resimo-style).
   Rendered at full native size and scaled DOWN, so it stays crisp (no upscale blur). */
.exp-stage { position: relative; padding-inline: clamp(20px, 4vw, 64px); }
.exp-stage__track { display: grid; place-items: center; }
.exp-stage__screen { position: relative; width: 100%; margin-inline: auto; }
@media (min-width: 900px) {
  .exp-stage { padding-inline: 0; }
  .exp-stage__track { height: 100vh; }
  .exp-stage__screen.experience-embed--home {
    width: 92vw; height: 89vh;
    transform: scale(0.62); transform-origin: center center;
    border-radius: 16px;
    box-shadow: 0 60px 160px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(233, 242, 250, .07);
    will-change: transform;
  }
}

/* ========================================================================== */
/* 25 — DISTANCES                                                             */
/* ========================================================================== */

.distances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 900px)  { .distances { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .distances--six { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.distance {
  background: var(--ink);
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.2vw, 30px);
  display: grid;
  gap: 8px;
  align-content: start;
  transition: background-color .5s var(--ease);
}
.distance:hover { background: var(--ink-2); }
.distance__min {
  font-family: var(--f-display);
  font-weight: 360;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.distance__min .u { font: 600 11px/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }
.distance__place { font: 700 15px/1.35 var(--f-sans); color: var(--ice); }
.distance__detail { font-size: 13px; line-height: 1.6; color: var(--t-mute); }

/* ========================================================================== */
/* 26 — GALLERY                                                               */
/* ========================================================================== */

/* two-row opposing marquee strip (home) */
.gallery-strip { display: grid; gap: clamp(14px, 2vw, 24px); }
.gallery-strip .marquee__track { gap: clamp(14px, 2vw, 24px); padding-right: clamp(14px, 2vw, 24px); }
.gallery-strip .g-thumb {
  width: clamp(240px, 30vw, 420px);
  aspect-ratio: 3 / 2;
  border-radius: var(--r-md);
  overflow: hidden;
  flex: none;
  position: relative;
}
.gallery-strip .g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-strip .g-thumb:hover img { transform: scale(1.06); }

/* masonry via CSS columns */
.masonry { columns: 1; column-gap: clamp(16px, 2vw, 26px); }
@media (min-width: 640px)  { .masonry { columns: 2; } }
@media (min-width: 1200px) { .masonry { columns: 3; } }
.masonry > * { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 26px); }

.g-item {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-2);
}
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-item--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.g-item:hover img { transform: scale(1.05); }
.g-item__veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(16px, 2vw, 26px);
  background: linear-gradient(to top, rgba(5, 14, 29, .82), rgba(5, 14, 29, .12) 55%, transparent);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.g-item:hover .g-item__veil, .g-item:focus-visible .g-item__veil { opacity: 1; }
.g-item__veil .t { font-family: var(--f-display); font-size: 1.2rem; color: var(--white); line-height: 1.2; transform: translateY(8px); transition: transform .5s var(--ease); }
.g-item:hover .g-item__veil .t { transform: translateY(0); }
.g-item__veil .badge { align-self: flex-start; }
@media (hover: none) {
  .g-item__veil { opacity: 1; background: linear-gradient(to top, rgba(5, 14, 29, .7), transparent 45%); }
}

/* ========================================================================== */
/* 27 — BLOG CARDS & PROSE                                                    */
/* ========================================================================== */

.post-grid { display: grid; gap: clamp(22px, 3vw, 40px); }
@media (min-width: 640px)  { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.post-card { display: grid; gap: 18px; align-content: start; }
.post-card__cover {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.post-card__cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.05); }
.post-card__cover .badge { position: absolute; top: 16px; left: 16px; background: rgba(5, 14, 29, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.post-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.22; transition: color .35s var(--ease); }
.post-card:hover h3 { color: var(--sky); }
.sec--light .post-card:hover h3 { color: var(--blue); }
.post-card p { font-size: 15px; line-height: 1.7; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font: 600 12px/1.4 var(--f-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t-mute);
}
.sec--light .post-meta { color: rgba(7, 23, 41, .45); }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* featured post */
.post-card--featured { gap: 0; }
@media (min-width: 900px) {
  .post-card--featured {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
  }
}
.post-card--featured h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.post-card--featured .post-card__body { display: grid; gap: 18px; justify-items: start; padding-block: 20px; }

/* prose — trusted HTML bodies */
.prose { max-width: 720px; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.85; color: var(--d-body); }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3 { color: var(--d-head); margin-top: 1.8em; line-height: 1.2; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.prose p { max-width: none; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--blue-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: none; position: relative; padding-left: 8px; margin-top: .5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1em; top: .72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.prose ol li { list-style: decimal; margin-top: .5em; }
.prose blockquote {
  border-left: 2px solid var(--gold);
  padding: .4em 0 .4em 1.4em;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25em;
  line-height: 1.5;
  color: var(--d-head);
}
.prose img { border-radius: var(--r-md); }
.prose hr { border: 0; border-top: 1px solid var(--line-d); margin-block: 2.4em; }
.prose strong { color: var(--d-head); }
.prose figcaption { font-size: .82em; color: rgba(7, 23, 41, .5); margin-top: .6em; }

/* dark-surface prose */
.prose--dark { color: var(--t-body); }
.prose--dark h2, .prose--dark h3, .prose--dark strong, .prose--dark blockquote { color: var(--white); }
.prose--dark a { color: var(--sky); }
.prose--dark hr { border-top-color: var(--line); }

.share-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-row a {
  width: 46px; height: 46px;
  border: 1px solid var(--line-d);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--d-head);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.share-row a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.sec:not(.sec--light) .share-row a { border-color: var(--line); color: var(--ice); }

/* ========================================================================== */
/* 28 — TIMELINE                                                              */
/* ========================================================================== */

.timeline { position: relative; display: grid; gap: clamp(30px, 5vh, 56px); padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue), var(--line) 80%);
}
.timeline__item { position: relative; display: grid; gap: 10px; max-width: 620px; }
.timeline__dot {
  position: absolute;
  left: -34px; top: 7px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--blue);
}
.timeline__dot::after {
  content: "";
  position: absolute;
  inset: 3.5px;
  border-radius: 50%;
  background: var(--blue);
}
.timeline__date {
  font: 700 12px/1 var(--f-sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.timeline__item h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.timeline__bar {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  max-width: 340px;
  margin-top: 8px;
}
.timeline__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: inherit; width: var(--p, 0%); }
.timeline__pct { font: 700 12px/1 var(--f-sans); color: var(--sky); }

/* ========================================================================== */
/* 29 — TESTIMONIALS                                                          */
/* ========================================================================== */

.t-slider { position: relative; max-width: 860px; }
.t-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; display: grid; gap: 26px; align-content: start; }
.t-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.t-stars { display: flex; gap: 4px; color: var(--gold); }
.t-stars .ic { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.t-quote {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.4;
  color: var(--white);
  text-wrap: balance;
}
.t-who { display: flex; align-items: center; gap: 16px; }
.t-who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.t-who .n { font: 700 15px/1.3 var(--f-sans); color: var(--ice); display: block; }
.t-who .r { font: 500 13px/1.4 var(--f-sans); color: var(--t-mute); }
.t-dots { display: flex; gap: 10px; margin-top: 30px; }
.t-dot { width: 34px; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .4s var(--ease); }
.t-dot.is-active { background: var(--blue); }

/* ========================================================================== */
/* 30 — RESIDENCE DETAIL                                                      */
/* ========================================================================== */

.unit-hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 100px)); padding-bottom: clamp(48px, 7vh, 90px); overflow: hidden; }
.unit-hero__grid { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 900px) {
  .unit-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
}
.unit-hero__body { display: grid; gap: 20px; justify-items: start; }
.unit-hero__media { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(10px, 3vw, 40px); }
.unit-hero__media img {
  position: relative;
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .5));
}

.spec-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(233, 242, 250, .03);
  font: 600 13.5px/1.3 var(--f-sans);
  color: var(--ice);
}
.spec-chip .ic { width: 17px; height: 17px; color: var(--sky); }
.spec-chip small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--t-mute); font-weight: 700; }

/* rooms table */
.rooms-split { display: grid; gap: clamp(32px, 4vw, 72px); }
@media (min-width: 900px) { .rooms-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.rooms-table { border-top: 1px solid var(--line-d); }
.rooms-table__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-d);
  font: 500 15px/1.4 var(--f-sans);
  color: var(--d-body);
  transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}
.rooms-table__row:hover { background: rgba(4, 115, 250, .04); padding-left: 12px; }
.rooms-table__row .a { font-variant-numeric: tabular-nums; color: var(--d-head); font-weight: 600; white-space: nowrap; }
.rooms-table__row--total {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--d-head);
  border-bottom: 2px solid var(--d-head);
}
.rooms-table__row--total .a { font-size: 1.35rem; }
.sec:not(.sec--light) .rooms-table { border-top-color: var(--line); }
.sec:not(.sec--light) .rooms-table__row { border-bottom-color: var(--line); color: var(--t-body); }
.sec:not(.sec--light) .rooms-table__row .a, .sec:not(.sec--light) .rooms-table__row--total { color: var(--white); border-bottom-color: var(--ice); }

/* payment calculator */
.calc-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink) 90%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 56px);
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.calc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 90% 0%, rgba(4, 115, 250, .16), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
/* Payment plan — fixed two-phase breakdown on the residence page */
.plan { gap: clamp(22px, 3vw, 34px); }
.plan .k { font: 700 10.5px/1.4 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--t-mute); display: block; margin-bottom: 10px; }
.plan__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.plan__total { display: flex; flex-direction: column; }
.plan__total--sub { text-align: right; }
.plan__total-v { font-family: var(--f-display); font-size: clamp(2.4rem, 5.4vw, 3.6rem); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.plan__duration-v { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; color: var(--t-body); font-variant-numeric: tabular-nums; }
.plan__duration-v small { font-family: var(--f-sans); font-size: .5em; font-weight: 600; letter-spacing: .06em; color: var(--t-mute); }
.plan__bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--ink-3); }
.plan__seg { display: block; height: 100%; }
.plan__seg--1 { background: linear-gradient(90deg, var(--sky), var(--blue)); }
.plan__seg--2 { background: rgba(233, 242, 250, .16); }
.plan__phases { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .plan__phases { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.plan__phase { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255, 255, 255, .02); }
.plan__phase--hero { border-color: rgba(4, 115, 250, .42); background: rgba(4, 115, 250, .07); }
.plan__tag { font: 700 10px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.plan__phase--hero .plan__tag { color: var(--sky); }
.plan__amt { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.05; color: var(--white); font-variant-numeric: tabular-nums; margin-top: 4px; }
.plan__meta { font-size: 14px; line-height: 1.5; color: var(--t-body); }
.plan__meta strong { color: var(--white); font-weight: 600; }
.plan__mo { margin-top: 8px; font: 600 13.5px/1 var(--f-sans); color: var(--t-body); }
.plan__mo--hero { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--sky); }

input[type="range"] {
  width: 100%;
  height: 26px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--line) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--blue);
  margin-top: -9.5px;
  transition: transform .3s var(--ease);
  box-shadow: 0 4px 14px rgba(4, 115, 250, .45);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--blue); }
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--blue);
  box-shadow: 0 4px 14px rgba(4, 115, 250, .45);
}

/* prev / next unit navigation */
.unit-nav { display: grid; border-block: 1px solid var(--line); }
@media (min-width: 640px) { .unit-nav { grid-template-columns: 1fr 1fr; } }
.unit-nav a {
  display: grid;
  gap: 10px;
  padding: clamp(30px, 4.6vw, 60px) clamp(20px, 3vw, 48px);
  transition: background-color .5s var(--ease);
}
.unit-nav a:first-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .unit-nav a:first-child { border-bottom: 0; border-right: 1px solid var(--line); }
  .unit-nav a:last-child { text-align: right; justify-items: end; }
}
.unit-nav a:hover { background: var(--ink-2); }
.unit-nav .dir { font: 700 11px/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--t-mute); display: inline-flex; align-items: center; gap: 10px; }
.unit-nav .dir .ic { width: 14px; height: 14px; color: var(--sky); }
.unit-nav .name { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.6rem); color: var(--white); line-height: 1.1; transition: color .4s var(--ease); }
.unit-nav a:hover .name { color: var(--sky); }

/* ========================================================================== */
/* 31 — CONTACT SPLIT                                                         */
/* ========================================================================== */

.contact-split { display: grid; gap: clamp(40px, 5vw, 90px); }
@media (min-width: 1024px) {
  .contact-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
}

.info-list { display: grid; gap: 6px; }
.info-list__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list__item .ic-tile { width: 48px; height: 48px; }
.info-list__item .k {
  font: 700 10.5px/1 var(--f-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--t-mute);
  display: block;
  margin-bottom: 7px;
}
.info-list__item .v { color: var(--ice); font-weight: 600; line-height: 1.6; }
.info-list__item a.v { display: block; transition: color .3s var(--ease); }
.info-list__item a.v:hover { color: var(--sky); }

.form-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink) 96%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 50% at 100% 0%, rgba(4, 115, 250, .14), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.form-card .btn { margin-top: 8px; }

.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials a {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--t-body);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }

/* whatsapp band */
.wa-band { text-align: center; }
.wa-band .statement { margin-inline: auto; max-width: 22ch; }

/* ========================================================================== */
/* 32 — FAQ LAYOUT                                                            */
/* ========================================================================== */

.faq-split { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (min-width: 1024px) { .faq-split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 18px; }
.faq-aside .card--pad { display: grid; gap: 16px; justify-items: start; }
.faq-aside h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

/* ========================================================================== */
/* 33 — MAP                                                                   */
/* ========================================================================== */

.map-embed { position: relative; }
.map-embed iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg);
  transition: filter .8s var(--ease);
}
.map-embed:hover iframe { filter: grayscale(0) invert(0) contrast(1) hue-rotate(0deg); }
/* Admin-pasted embeds (e.g. satellite view) are shown as-is, without the dark
   roadmap-styling filter that would invert a satellite photo. */
.map-embed--raw iframe, .map-embed--raw:hover iframe { filter: none; }
@media (max-width: 639px) { .map-embed iframe { height: 400px; } }
.map-card {
  position: absolute;
  left: clamp(16px, 4vw, 64px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 2;
  background: rgba(5, 14, 29, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 36px);
  max-width: min(420px, calc(100% - 32px));
  display: grid;
  gap: 16px;
  justify-items: start;
}
.map-card address { font-style: normal; color: var(--ice); font-weight: 500; line-height: 1.7; }

/* ========================================================================== */
/* 34 — CTA BAND                                                              */
/* ========================================================================== */

.cta-band {
  position: relative;
  padding-block: clamp(96px, 14vw, 200px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(4, 115, 250, .22), transparent 70%),
    linear-gradient(rgba(5, 14, 29, .78), rgba(5, 14, 29, .82));
}
.cta-band__inner { display: grid; justify-items: center; gap: clamp(18px, 3vh, 28px); }
.cta-band__title { font-size: clamp(2.4rem, 5.6vw, 5.2rem); max-width: 16ch; }
.cta-band__body { max-width: 52ch; color: var(--t-body); }
.cta-band__body p { max-width: none; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(10px, 2vh, 20px); }

/* ========================================================================== */
/* 35 — FOOTER MEGA                                                           */
/* ========================================================================== */

.footer { position: relative; border-top: 1px solid var(--line); background: var(--ink); overflow: hidden; }
.footer__marquee { padding-block: clamp(36px, 6vw, 80px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.footer__word {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(4rem, 12vw, 10.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
  white-space: nowrap;
}
.footer__word.outline { color: transparent; }

.footer__grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  padding-block: clamp(56px, 7vw, 100px);
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1.3fr .8fr 1fr 1.2fr; } }

.footer__col h4 {
  font: 700 11px/1 var(--f-sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer__about { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer__about .h {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--white);
  line-height: 1.25;
}
.footer__about p { color: var(--t-body); font-size: 15px; max-width: 34ch; }

.footer__menu { display: grid; gap: 4px; }
.footer__menu a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: var(--t-body);
  font-weight: 500;
  font-size: 15px;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.footer__menu a::before {
  content: "";
  width: 0; height: 1px;
  background: var(--sky);
  transition: width .35s var(--ease);
}
.footer__menu a:hover { color: var(--white); }
.footer__menu a:hover::before { width: 16px; }

.footer__contact { display: grid; gap: 16px; align-content: start; }
.footer__contact li { display: flex; gap: 13px; align-items: flex-start; color: var(--t-body); font-size: 15px; line-height: 1.65; }
.footer__contact .ic { width: 17px; height: 17px; color: var(--sky); margin-top: 5px; }
.footer__contact a { color: var(--ice); font-weight: 600; transition: color .3s var(--ease); display: block; }
.footer__contact a:hover { color: var(--sky); }
.footer__contact address { font-style: normal; }

.newsletter { display: grid; gap: 16px; align-content: start; }
.newsletter p { font-size: 14.5px; color: var(--t-body); max-width: 34ch; }
.newsletter__row { position: relative; }
.newsletter__row input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  height: 56px;
  padding: 0 66px 0 24px;
  color: var(--white);
  font: 500 15px/1 var(--f-sans);
  transition: border-color .4s var(--ease);
}
.newsletter__row input::placeholder { color: var(--t-mute); }
.newsletter__row input:focus { outline: none; border-color: var(--blue); }
.newsletter__btn {
  position: absolute;
  right: 5px; top: 5px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.newsletter__btn:hover { background: var(--blue-2); transform: rotate(-40deg); }
.newsletter__btn .ic { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--t-mute);
}
.footer__bottom a { color: var(--t-body); transition: color .3s var(--ease); }
.footer__bottom a:hover { color: var(--sky); }

/* ========================================================================== */
/* 36 — 404 & MISC                                                            */
/* ========================================================================== */

.err {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 22px;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
  position: relative;
  isolation: isolate;
}
.err::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 40% at 50% 45%, rgba(4, 115, 250, .16), transparent 70%);
  z-index: -1;
}
.err__code {
  font-family: var(--f-display);
  font-weight: 340;
  font-style: italic;
  font-size: clamp(6rem, 22vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(233, 242, 250, .55);
}
.err h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.err p { color: var(--t-body); max-width: 42ch; }

/* ========================================================================== */
/* 37 — UTILITIES                                                             */
/* ========================================================================== */

.ta-c { text-align: center; }
.mw-60 { max-width: 60ch; }
.mt-1 { margin-top: clamp(16px, 2vw, 24px); }
.mt-2 { margin-top: clamp(28px, 4vw, 48px); }
.mt-3 { margin-top: clamp(48px, 6vw, 80px); }
.mb-2 { margin-bottom: clamp(28px, 4vw, 48px); }
.of-clip { overflow: clip; }
.text-gold { color: var(--gold); }
.text-sky { color: var(--sky); }
.text-mute { color: var(--t-mute); }

/* ========================================================================== */
/* 38 — ANIMATION-STATE GUARDS                                                */
/*  Content is only hidden when JS is confirmed running (html.js).            */
/*  main.js removes .js if gsap fails to load — nothing stays invisible.      */
/* ========================================================================== */

html.js [data-reveal],
html.js [data-stagger] > * {
  opacity: 0;
}
html.js [data-split]:not(.split-done) { opacity: 0; }

/* split structure */
[data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .wi { display: inline-block; will-change: transform; }

/* ========================================================================== */
/* 39 — REDUCED MOTION & PRINT                                                */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal],
  html.js [data-stagger] > *,
  html.js [data-split]:not(.split-done) { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .hotspot::after { animation: none; }
  .scroll-badge svg, .scroll-badge .ic { animation: none; }
  #preloader { display: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  body { background: #fff; color: #111; }
  .nav, .nav-progress, #preloader, .cursor-dot, .cursor-ring, .menu-overlay,
  .cta-band, .footer__marquee, .newsletter, .scroll-badge, .burger { display: none !important; }
  .sec { padding-block: 24px; }
  h1, h2, h3, h4, .stat__num { color: #000; }
  a { color: #000; text-decoration: underline; }
  .img-frame, .card { border: 1px solid #ccc; box-shadow: none; }
  html.js [data-reveal], html.js [data-stagger] > *, html.js [data-split] { opacity: 1 !important; transform: none !important; }
}

/* === page: about === */

/* shared copy column: kicker / heading / body / link rhythm */
.about-copy { display: grid; gap: clamp(14px, 2vw, 24px); justify-items: start; align-content: center; }
.about-copy .kicker { margin-bottom: 0; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
.about-copy .link-arrow { margin-top: clamp(8px, 1.4vw, 14px); }

/* story — editorial text columns + dropcap */
.about-story { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 900px) {
  .about-story { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
}
.about-story__cols { color: var(--d-body); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.85; }
.about-story__cols p { max-width: 58ch; }
.about-story__cols p + p { margin-top: 1.15em; }
.about-story__cols > p:first-child::first-letter {
  font-family: var(--f-display);
  font-weight: 420;
  font-size: 3.3em;
  line-height: .8;
  float: left;
  padding: .08em .14em 0 0;
  color: var(--d-head);
}
@media (min-width: 1280px) {
  .about-story__cols { columns: 2; column-gap: clamp(30px, 3vw, 52px); }
  .about-story__cols p { max-width: none; break-inside: avoid; }
}

/* vision & mission cards */
.about-vm { align-items: stretch; }
.about-vm .card { display: grid; gap: clamp(16px, 2vw, 24px); align-content: start; justify-items: start; }
.about-vm .card h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.about-vm .card p { color: var(--t-body); max-width: 50ch; }

/* overview — breathing room for stat affixes ("m²", "cars", "%") */
.about-overview .stat__aff { margin-left: 3px; }

/* nature — green percentage highlight over the courtyard image */
.about-nature__media { position: relative; }
.green-card {
  position: absolute;
  left: clamp(16px, 2.4vw, 30px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2.6vw, 32px) clamp(20px, 3vw, 38px);
  background: rgba(5, 14, 29, .74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-width: calc(100% - clamp(32px, 4.8vw, 60px));
}
.green-card__num {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.green-card__num small { font: 700 .42em/1 var(--f-sans); color: var(--sky); margin-left: 4px; }
.green-card__label {
  font: 600 11px/1.5 var(--f-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t-mute);
}

/* community — marquee band + centered statement */
.about-community { padding-block: clamp(72px, 10vw, 150px); }
.about-community .tagline-band { padding-top: 0; border-top: 0; }
.about-community__inner {
  margin-top: clamp(44px, 7vw, 90px);
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.6vw, 26px);
  text-align: center;
}
.about-community .statement p { max-width: 32ch; margin-inline: auto; }

/* cultural center — capacity badge icon sized to badge type */
.about-copy .badge { margin-top: clamp(6px, 1vw, 12px); }
.about-copy .badge .ic { width: 13px; height: 13px; }

/* developer strip — slimmer band */
.about-developer { padding-block: clamp(72px, 9vw, 128px); }
.about-developer .grid-2 { align-items: center; }

/* === page: home === */
/* Location band — full-bleed night-city backdrop behind the distance counters. */
.home-loc { isolation: isolate; overflow: hidden; }
.home-loc__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.home-loc__bg img {
  width: 100%;
  height: calc(100% + 160px);
  margin-top: -80px;
  object-fit: cover;
}
.home-loc__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(4, 115, 250, .14), transparent 70%),
    linear-gradient(to bottom, var(--ink) 0%, rgba(5, 14, 29, .72) 32%, rgba(5, 14, 29, .78) 72%, var(--ink) 100%);
}
.home-loc .distance { background: rgba(5, 14, 29, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.home-loc .distance:hover { background: rgba(10, 26, 51, .88); }

/* === page: location === */
.loc-duo { display: grid; gap: clamp(20px, 2.6vw, 34px); }
@media (min-width: 900px) { .loc-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.loc-duo__card { display: grid; gap: clamp(18px, 2.4vw, 26px); align-content: start; justify-items: start; }
.loc-duo__card .kicker { margin-bottom: 12px; }
.loc-duo__card h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.map-embed .map-card .kicker { margin-bottom: 0; }

/* === page: experience === */
.exp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 20px; }
.exp-foot .form-note { max-width: 52ch; }
.exp-fallback { display: grid; justify-items: center; text-align: center; gap: clamp(18px, 2.6vw, 26px); padding-block: clamp(48px, 8vw, 110px); }
.exp-fallback .statement { max-width: 18ch; }
.exp-fallback p:not(.statement) { max-width: 52ch; }
.exp-fallback .btn-row { justify-content: center; margin-top: 6px; }

/* === page: amenities === */
/* signature-features rows (icon tile + copy, hairline separated) */
.sig-list { display: grid; align-content: start; }
.sig-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-block: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
}
.sig-list li:last-child { border-bottom: 1px solid var(--line); }
.sig-list h4 { margin-bottom: 6px; }
.sig-list p { font-size: 14.5px; line-height: 1.65; color: var(--t-body); max-width: 46ch; }
/* zigzag rows sit on a dark section here — match the closing hairline */
.sec:not(.sec--light) .amenity-row:last-child { border-bottom-color: var(--line); }

/* === page: contact === */
.contact-info { display: grid; gap: clamp(26px, 3.4vw, 42px); align-content: start; }
.map-embed--mini { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-embed--mini iframe { height: 300px; }
.form-head { margin-bottom: clamp(24px, 3vw, 36px); display: grid; gap: 10px; }
.form-head h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.form-head p { color: var(--t-mute); font-size: 13.5px; }
.form-success { display: grid; justify-items: center; gap: 14px; }
.form-success p { max-width: 42ch; }
.form-success .btn-row { justify-content: center; margin-top: 10px; }
.wa-band .kicker { margin-inline: auto; }
.wa-band .btn-row { justify-content: center; margin-top: clamp(24px, 3.4vw, 38px); }

/* === page: page === */
.cms-prose { margin-inline: auto; }

/* === page: blog === */
.post-card--featured .post-card__cover img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .post-card--featured .post-card__cover img { aspect-ratio: 16 / 10; }
}

/* === page: post === */
.post-body .prose { margin-inline: auto; }
.post-share {
  max-width: 720px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-top: clamp(24px, 3.4vw, 40px);
  border-top: 1px solid var(--line-d);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.post-share .k {
  font: 700 11px/1 var(--f-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(7, 23, 41, .45);
}
.share-row .ic--fill { fill: currentColor; stroke: none; }
.unit-nav .ic--flip { transform: scaleX(-1); }
@media (min-width: 1200px) {
  .post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
