/* =========================================================
   THE MONOLITH — Architectural Residences
   Palette: concrete #d9d4cc · bone #efebe4 · basalt #141414
            travertine #c9b79c · bronze #6e5435
   ========================================================= */

:root {
  --concrete: #d9d4cc;
  --bone: #efebe4;
  --basalt: #141414;
  --basalt-2: #1c1b1a;
  --travertine: #c9b79c;
  --bronze: #6e5435;
  --bronze-light: #b08a5c;

  --ink: #141414;
  --ink-muted: #57524b;          /* 6.1:1 on bone */
  --paper: #efebe4;
  --paper-muted: #a8a197;        /* 7:1 on basalt */
  --line-dark: rgba(20, 20, 20, 0.16);
  --line-light: rgba(239, 235, 228, 0.16);

  --f-display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;

  --z-gl: 0;
  --z-content: 2;
  --z-menu: 90;
  --z-nav: 100;
  --z-cursor: 200;
  --z-preloader: 300;
}

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

html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--basalt);
  color: var(--paper);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
::selection { background: var(--travertine); color: var(--basalt); }

:focus-visible {
  outline: 2px solid var(--travertine);
  outline-offset: 3px;
  border-radius: 2px;
}
.light :focus-visible { outline-color: var(--bronze); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 400;
  padding: 10px 16px; background: var(--bone); color: var(--basalt);
  transform: translateY(-160%); transition: transform .3s var(--ease);
  text-decoration: none; font-size: 14px;
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow--light { color: var(--travertine); }

h2, .h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h3 { font-family: var(--f-text); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  touch-action: manipulation;
  will-change: transform;
}
.btn--solid { background: var(--bone); color: var(--basalt); }
.btn--solid:hover { background: var(--travertine); }
.btn--ghost { border-color: rgba(239, 235, 228, 0.4); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); background: rgba(239,235,228,.08); }
.btn--light { background: var(--travertine); color: var(--basalt); }
.btn--light:hover { background: var(--bone); }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader { display: none; }
html.has-motion .preloader {
  display: grid;
  position: fixed; inset: 0; z-index: var(--z-preloader);
  place-items: center;
  background: var(--basalt);
  color: var(--bone);
  clip-path: inset(0 0 0% 0);
}
.preloader__inner { width: min(560px, 84vw); }
.preloader__word {
  display: flex; justify-content: space-between;
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 1;
  overflow: hidden;
  padding-bottom: .06em;
}
.preloader__word span { display: inline-block; }
.preloader__row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 22px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-muted);
}
.preloader__num { font-variant-numeric: tabular-nums; color: var(--travertine); }
.preloader__bar { height: 1px; background: rgba(239,235,228,.14); margin-top: 14px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--travertine); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   WEBGL STAGE
   ========================================================= */
.gl {
  position: fixed; inset: 0;
  z-index: var(--z-gl);
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 70% 100%, #6b4a3a 0%, rgba(107,74,58,0) 55%),
    linear-gradient(180deg, #23283a 0%, #4b3f45 55%, #8a6556 100%);
}
.gl__canvas { display: block; width: 100%; height: 100%; }
.gl__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.18) 45%, rgba(10,10,10,0) 70%),
    linear-gradient(0deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 35%);
  transition: opacity 1s var(--ease);
}
html.has-motion .gl { opacity: 0; }
html.is-webgl .gl { background: var(--basalt); }

main, .footer { position: relative; z-index: var(--z-content); }

.light { background: var(--bone); color: var(--ink); }
.light--concrete { background: var(--concrete); }
.dark { background: var(--basalt); color: var(--paper); }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor { display: none; }
html.has-cursor .cursor {
  display: block;
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor);
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--bone);
}
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--bone);
}
.cursor__ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; border: 1px solid rgba(239,235,228,.7);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.cursor__label {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transition: opacity .3s var(--ease);
  color: var(--basalt);
  white-space: nowrap;
}
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--bone); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--bone); border-color: var(--bone); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  color: var(--bone);
  mix-blend-mode: difference;
  transition: transform .7s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display); font-size: 22px; letter-spacing: .14em; text-transform: uppercase;
  min-height: 44px;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: 13px; letter-spacing: .06em; text-decoration: none;
  padding: 12px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 20px; border: 1px solid currentColor; border-radius: 999px;
  font-size: 13px; letter-spacing: .04em; text-decoration: none;
}
.nav__toggle {
  display: none;
  margin-left: auto;
  background: none; border: 0; padding: 0 0 0 12px;
  min-height: 44px; min-width: 44px;
  align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.nav__toggle-icon { display: grid; gap: 6px; width: 24px; }
.nav__toggle-icon i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--basalt);
  color: var(--bone);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
}
.menu[hidden] { display: none; }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display);
  font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15;
  text-decoration: none;
  padding: 4px 0;
}
.menu__links small { font-family: var(--f-text); font-size: 11px; letter-spacing: .2em; color: var(--travertine); }
.menu__foot { margin-top: auto; font-size: 13px; color: var(--paper-muted); }

/* =========================================================
   HERO
   ========================================================= */
.stage { position: relative; background: transparent; }
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 28px;
}
.hero__inner { padding-bottom: clamp(40px, 8vh, 96px); }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 10.4vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin: 22px 0 28px;
  max-width: 11ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title em { font-style: normal; color: var(--travertine); }
.hero__lede {
  max-width: 34rem;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 300;
  color: rgba(239,235,228,.88);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(239,235,228,.72);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i {
  position: relative; display: block; width: 1px; height: 36px; background: rgba(239,235,228,.25); overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--bone);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

html.has-motion .hero__title .line > span { transform: translateY(110%); }
html.has-motion [data-hero-sub],
html.has-motion [data-hero-cta] { opacity: 0; }

/* =========================================================
   VISION
   ========================================================= */
.vision { padding-top: clamp(96px, 16vh, 180px); overflow: hidden; }
.vision__quote { margin: 40px 0 0; }
.vision__quote blockquote { margin: 0; }
.quote {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  max-width: 22ch;
  text-wrap: pretty;
}
.vision__quote figcaption {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 14px; color: var(--ink-muted);
}
.vision__sig { font-family: var(--f-display); font-size: 28px; color: var(--ink); }
.vision__grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 120px);
  margin-top: clamp(80px, 12vh, 140px);
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}
.vision__body { max-width: 34rem; color: var(--ink-muted); font-size: 1.0625rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.stat dd {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1; margin-top: 12px;
  font-variant-numeric: tabular-nums;
}
.stat small, .amen__num small { font-family: var(--f-text); font-size: .32em; margin-left: 4px; letter-spacing: .04em; color: var(--bronze); }

.marquee {
  margin-top: clamp(96px, 14vh, 160px);
  background: var(--basalt); color: var(--bone);
  overflow: hidden;
  padding: 26px 0;
}
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 40px;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee__track i { font-style: normal; font-size: .4em; color: var(--travertine); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   TOWER (sticky story)
   ========================================================= */
.tower { height: 520vh; }
.tower__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.tower__layout {
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding-top: var(--nav-h);
}
.tower__panel {
  width: min(460px, 100%);
  padding: 32px;
  background: rgba(20,20,20,.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid var(--line-light);
}
.tower__title { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin: 16px 0 28px; }
.tower__steps { display: grid; gap: 4px; }
.tower__step {
  display: grid; grid-template-columns: 32px 1fr; gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
  opacity: .42;
  transition: opacity .6s var(--ease);
}
.tower__step h3 { font-size: 15px; letter-spacing: .01em; }
.tower__step p {
  font-size: 14px; color: var(--paper-muted); line-height: 1.55;
  overflow: hidden;
  max-height: 0;
  transition: max-height .7s var(--ease), margin .7s var(--ease);
}
.tower__step.is-active { opacity: 1; }
.tower__step.is-active p { max-height: 7em; margin-top: 6px; }
.tower__step-n { font-family: var(--f-display); font-size: 18px; color: var(--travertine); line-height: 1.2; }

.tower__hud {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 6vh, 56px);
  display: grid; gap: 18px; justify-items: end; text-align: right;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.hud__clock span {
  display: block;
  font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hud__clock small { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--travertine); }
.hud__level { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hud__level b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hud__bar { width: 180px; height: 1px; background: rgba(239,235,228,.25); margin-top: 10px; }
.hud__bar i { display: block; height: 100%; background: var(--bone); transform-origin: left; transform: scaleX(0); }

/* static fallback: no motion → tower is a normal section */
html:not(.has-motion) .tower { height: auto; }
html:not(.has-motion) .tower__sticky { position: relative; height: auto; padding: 120px 0; }
html:not(.has-motion) .tower__step { opacity: 1; }
html:not(.has-motion) .tower__step p { max-height: none; margin-top: 6px; }
html:not(.has-motion) .tower__hud { display: none; }

/* =========================================================
   RESIDENCES
   ========================================================= */
.residences { padding: 40vh 0 30vh; }
.residences__layout { display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: 40px; position: relative; }
.residences__tag {
  position: sticky; top: 50vh;
  align-self: start;
  display: inline-flex; gap: 14px; align-items: flex-start;
  margin-left: 8%;
  padding: 14px 18px;
  background: rgba(20,20,20,.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-light);
  width: max-content;
  font-size: 13px;
}
.residences__tag b { display: block; font-weight: 500; }
.residences__tag span { color: var(--paper-muted); }
.residences__tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--travertine); margin-top: 6px; box-shadow: 0 0 0 6px rgba(201,183,156,.18); }
.residences__col { display: grid; gap: 24px; }
.residences__head {
  padding: 36px;
  background: rgba(20,20,20,.66);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-light);
}
.residences__head h2 { margin: 16px 0 20px; font-size: clamp(2.4rem, 4.2vw, 4rem); }
.residences__intro { color: var(--paper-muted); }

.unit {
  display: grid; grid-template-columns: 1fr;
  background: rgba(239,235,228,.94);
  color: var(--ink);
  transition: transform .6s var(--ease);
}
.unit:hover { transform: translateY(-4px); }
.unit--ph { background: var(--travertine); }
.unit__plan { background: #e6e1d8; aspect-ratio: 22 / 12; padding: 20px 28px; overflow: hidden; }
.unit--ph .unit__plan { background: #d8cab2; }
.unit__plan svg { width: 100%; height: 100%; }
.p-wall { fill: none; stroke: var(--basalt); stroke-width: 3; }
.p-thin { fill: none; stroke: var(--basalt); stroke-width: 1.2; }
.p-core { fill: var(--basalt); opacity: .85; }
.p-furn { fill: none; stroke: var(--bronze); stroke-width: 1.2; }
.p-txt { font: 600 6.5px var(--f-text); letter-spacing: .14em; fill: var(--ink-muted); }
.unit__body { padding: 26px 28px 28px; }
.unit__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.unit__top h3 { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.unit__levels { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.unit__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; padding: 16px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.unit__specs dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.unit__specs dd { font-size: 14px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.unit__price { font-size: 14px; color: var(--ink-muted); }
.unit__price b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.unit__link {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; min-height: 44px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.unit__link span { transition: transform .45s var(--ease); }
.unit__link:hover span { transform: translateX(6px); }

/* =========================================================
   SECTION HEADS (light sections)
   ========================================================= */
.section-head { display: grid; gap: 20px; max-width: 900px; }
.section-head h2 { margin-top: 4px; }
.section-head__lede { color: var(--ink-muted); max-width: 36rem; font-size: 1.0625rem; }
.section-head--row { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: clamp(24px, 6vw, 96px); }
.section-head--row > div { display: grid; gap: 20px; }

/* =========================================================
   AMENITIES
   ========================================================= */
.amenities { padding: clamp(110px, 18vh, 200px) 0; }
.amen {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 10vh, 120px);
  border-top: 1px solid var(--line-dark);
}
.amen__item { padding: 36px 28px 8px 0; border-right: 1px solid var(--line-dark); }
.amen__item + .amen__item { padding-left: 28px; }
.amen__item:last-child { border-right: 0; }
.amen__icon { width: 44px; height: 44px; fill: none; stroke: var(--bronze); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.amen__num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: 1;
  margin: 40px 0 18px;
  font-variant-numeric: tabular-nums;
}
.amen__item h3 { font-size: 15px; letter-spacing: .02em; margin-bottom: 10px; }
.amen__item p:last-child { color: var(--ink-muted); font-size: 15px; }

/* =========================================================
   MATERIALS (horizontal)
   ========================================================= */
.materials { overflow: hidden; }
.materials__pin {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 16px) 0 48px;
}
.materials__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 5vh, 56px); }
.materials__head h2 { max-width: 14ch; font-size: clamp(2.4rem, 5vw, 5rem); }
.materials__viewport { width: 100%; }
.materials__track {
  display: flex; gap: clamp(16px, 2.4vw, 40px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.mat { width: clamp(260px, 30vw, 440px); flex: none; }
.mat__fig {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--basalt-2);
  max-height: 52vh;
}
.mat__fig svg { width: 100%; height: 100%; }
.mat__tex { will-change: transform; }
.mat__txt { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; margin-top: 20px; }
.mat__n { font-family: var(--f-display); color: var(--travertine); font-size: 18px; line-height: 1.4; grid-row: span 2; }
.mat__txt h3 { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; }
.mat__txt p { color: var(--paper-muted); font-size: 14px; margin-top: 8px; max-width: 32ch; }

html:not(.has-motion) .materials__viewport { overflow-x: auto; }

/* =========================================================
   LOCATION
   ========================================================= */
.location__stage {
  min-height: 130vh;
  display: flex; align-items: flex-end;
  padding-bottom: 14vh;
}
.location__intro { display: grid; gap: 20px; }
.location__intro h2 { max-width: 13ch; }
.location__intro p { max-width: 30rem; color: rgba(239,235,228,.86); }
.location__intro { text-shadow: 0 2px 30px rgba(0,0,0,.25); }

.location__map { padding: clamp(96px, 14vh, 160px) 0; }
.location__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.map { background: #e4dfd7; border: 1px solid var(--line-dark); }
.map svg { width: 100%; height: auto; }
.map-label { font: 600 10px var(--f-text); letter-spacing: .2em; fill: var(--ink-muted); }
.map-label--strong { fill: var(--basalt); }
.map-poi circle { fill: var(--bronze); }
.map-poi text { font: 600 10px var(--f-text); fill: var(--bone); text-anchor: middle; }
.map-pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

.places__title { font-family: var(--f-display); font-size: 2.4rem; line-height: 1.1; margin-bottom: 24px; }
.places__list li {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px;
  padding: 18px 0; border-top: 1px solid var(--line-dark);
}
.places__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.places__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze); color: var(--bone); font-size: 11px; font-weight: 600; }
.places__name { font-size: 15px; }
.places__t { font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.places__t b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.places__note { margin-top: 20px; font-size: 13px; color: var(--ink-muted); }

/* =========================================================
   AVAILABILITY
   ========================================================= */
.availability { padding: clamp(110px, 18vh, 200px) 0; }
.table-wrap { margin-top: clamp(48px, 8vh, 96px); }
.avail { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.avail th, .avail td { text-align: left; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line-dark); }
.avail thead th { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: 14px; }
.avail tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.avail tbody tr { transition: background-color .4s var(--ease); }
.avail tbody tr:hover { background: rgba(201,183,156,.22); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.status--open { color: #2f5a3a; }
.status--open::before { background: #2f5a3a; }
.status--held { color: var(--bronze); }
.status--held::before { background: linear-gradient(90deg, var(--bronze) 50%, transparent 50%); }
.status--sold { color: var(--ink-muted); text-decoration: line-through; }

/* =========================================================
   REGISTER
   ========================================================= */
.register { padding: clamp(110px, 18vh, 200px) 0; }
.register__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.register__intro { display: grid; gap: 22px; align-content: start; }
.register__intro > p { color: var(--paper-muted); max-width: 30rem; }
.register__contact { display: grid; gap: 18px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.register__contact dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--travertine); }
.register__contact dd { margin-top: 4px; }
.register__contact a { text-decoration: none; border-bottom: 1px solid var(--line-light); }

.form { display: grid; gap: 22px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(239,235,228,.3);
  color: var(--bone);
  font: 400 16px var(--f-text);
  padding: 12px 0;
  border-radius: 0;
  transition: border-color .4s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--travertine) 50%), linear-gradient(135deg, var(--travertine) 50%, transparent 50%);
  background-position: calc(100% - 12px) 24px, calc(100% - 7px) 24px;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { color: var(--basalt); }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(239,235,228,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--travertine); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--travertine); }
.field.is-invalid input { border-bottom-color: #e39a7d; }
.field__err { font-size: 13px; color: #f0b49c; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--paper-muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--travertine); }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--paper-muted); }
.form__success { font-family: var(--f-display); font-size: 1.8rem; line-height: 1.2; color: var(--travertine); }
.form__success:empty { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(64px, 10vh, 120px) 0 32px; overflow: hidden; }
.footer__big {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 20vw, 22rem);
  line-height: .8; letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--basalt);
  margin-bottom: clamp(48px, 8vh, 96px);
  white-space: nowrap;
}
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.footer h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; font-weight: 600; }
.footer p, .footer li { font-size: 15px; color: var(--ink); }
.footer a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.footer a:hover { border-bottom-color: currentColor; }
.footer__social { display: grid; gap: 4px; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line-dark);
}
.footer__legal p { font-size: 12px; color: var(--ink-muted); max-width: 70ch; }
.footer__credit { font-weight: 500; color: var(--ink) !important; border-bottom-color: var(--ink) !important; }

/* =========================================================
   MOTION SYSTEM HOOKS
   ========================================================= */
html.has-motion [data-split],
html.has-motion [data-reveal],
html.has-motion [data-reveal-item],
html.has-motion [data-image-reveal],
html.has-motion [data-mat-reveal] { visibility: hidden; }

.split-word-mask { padding-bottom: .1em; margin-bottom: -.1em; }
[tabindex="-1"]:focus { outline: none; }
html.has-cursor .cursor.is-label { mix-blend-mode: normal; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-flex; margin-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .amen__item:nth-child(2) { border-right: 0; }
  .amen__item:nth-child(3) { padding-left: 0; }
  .amen__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 860px) {
  .vision__grid, .location__grid, .register__grid, .section-head--row { grid-template-columns: 1fr; }
  .residences__layout { grid-template-columns: 1fr; }
  .residences__tag { position: relative; top: auto; margin: 0 0 24px; }
  .residences { padding: 70vh 0 20vh; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .gl__shade {
    background: linear-gradient(0deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.2) 55%, rgba(10,10,10,.1) 100%);
  }

  /* availability → cards */
  .avail thead { display: none; }
  .avail, .avail tbody, .avail tr, .avail th, .avail td { display: block; width: 100%; }
  .avail tr { padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .avail th, .avail td { border: 0; padding: 6px 0; }
  .avail tbody th { grid-column: 1 / -1; }
  .avail td::before { content: attr(data-label); display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav { gap: 12px; }
  .nav__cta { padding: 0 14px; font-size: 12px; }
  .nav__toggle-text { display: none; }
  .hero__meta span:first-child, .hero__meta span:last-child { display: none; }
  .hero__meta { justify-content: center; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .tower__panel { padding: 22px; margin-top: auto; margin-bottom: 18px; }
  .tower__title { font-size: 1.9rem; margin: 10px 0 14px; }
  .tower__step { padding: 10px 0; }
  .tower__step:not(.is-active) { display: none; }
  html:not(.has-motion) .tower__step { display: grid; }
  .tower__hud { top: calc(var(--nav-h) + 12px); bottom: auto; }
  .hud__clock span { font-size: 2.6rem; }
  .hud__bar { width: 120px; }
  .residences__head { padding: 24px; }
  .unit__body { padding: 22px 20px 24px; }
  .unit__specs { grid-template-columns: 1fr 1fr; }
  .amen { grid-template-columns: 1fr; }
  .amen__item, .amen__item + .amen__item { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line-dark); }
  .amen__item:first-child { border-top: 0; }
  .mat { width: 78vw; }
  .mat__fig { max-height: 46vh; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* Phones: the tower sits behind the hero copy, so give the text a soft dark backdrop. */
@media (max-width: 760px) {
  .hero { position: relative; isolation: isolate; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(20,20,20,.1) 0%, rgba(20,20,20,.62) 32%, rgba(20,20,20,.62) 78%, rgba(20,20,20,.15) 100%); }
  .hero__title, .hero__lede { text-shadow: 0 2px 18px rgba(20,20,20,.8); }
}
