/* Spire Residences: a new-development sales site.
   Interpreted from the Tesla and SpaceX design references: radical subtraction, full-bleed imagery, one accent used for
   actions only, type doing the work. Archivo carries all of it, expanded and heavy for display, normal width for text. */

:root {
  --ground: #E9E7E2;
  --paper: #F5F4F1;
  --ink: #14171A;
  --ink2: #3A3F45;
  --mute: #5A6169;
  --accent: #2340FF;
  --accent-soft: #9DB0FF;
  --night: #0C0F12;
  --night2: #141A20;
  --on-night: #F4F3F0;
  --on-night-mute: #B4BBC2;
  --plan-bg: #ECEAE4;
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wmax: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --strip: 44px;
  --hdr-h: 72px;
  --hdr-probe: 50px;
  --focus: #2340FF;
  --rd-bg: var(--paper);
  --rd-ink: var(--ink);
  /* the shared menu, themed */
  --dm-bg: #0C0F12;
  --dm-ink: #F4F3F0;
  --dm-line: rgba(244, 243, 240, .3);
  --dm-accent: #9DB0FF;
  --dm-font: var(--f);
  --dm-font-ui: var(--f);
  --dm-size: clamp(26px, 6.6vw, 38px);
  --dm-ls: .02em;
  --dm-weight: 700;
}
.dm__primary a { font-stretch: 112%; }
.dm__secondary a, .dm__contact { font-stretch: 100%; }

html, body { overflow-x: clip; }
body { margin: 0; font: 400 17px/1.6 var(--f); font-stretch: 100%; color: var(--ink2); background: var(--night); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.w { width: 100%; max-width: var(--wmax); margin-inline: auto; padding-inline: var(--gut); }

/* ── type ───────────────────────────────────────────────────────────── */
.eb { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.h2 { font-stretch: 125%; font-weight: 700; font-size: clamp(32px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -.012em; color: var(--ink); margin-bottom: clamp(20px, 2.4vw, 32px); max-width: 20ch; text-wrap: balance; }
.h3 { font-stretch: 112%; font-weight: 650; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -.005em; color: var(--ink); margin-bottom: 12px; }
.h4 { font-stretch: 108%; font-weight: 650; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; color: var(--ink); margin-bottom: 8px; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink2); max-width: 46ch; }
.body { max-width: 56ch; margin-top: 20px; }
.fine { font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.hd2 { max-width: 1000px; margin-bottom: clamp(36px, 5vw, 72px); }

/* ── grounds ────────────────────────────────────────────────────────── */
.ch { position: relative; padding: clamp(80px, 11vw, 168px) 0; }
.ch--ground { background: var(--ground); }
.ch--paper { background: var(--paper); }
.ch--night, .ch--night2 { --focus: #fff; color: var(--on-night-mute); }
.ch--night { background: var(--night); }
.ch--night2 { background: var(--night2); }
.ch--night .h2, .ch--night .h3, .ch--night .h4, .ch--night2 .h2, .ch--night2 .h3, .ch--night2 .h4 { color: #fff; }
.ch--night .eb, .ch--night2 .eb { color: var(--accent-soft); }
.ch--night .lede, .ch--night2 .lede { color: var(--on-night-mute); }

/* ── buttons ────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px; font: 700 12.5px/1 var(--f); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: transform .25s var(--ease), background-color .33s, color .33s, border-color .33s; }
.btn:hover { transform: translateY(-2px); }
.btn--on { background: var(--accent); color: #fff; }
.btn--on:hover { background: #1A32D6; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ch--night .btn--ghost, .ch--night2 .btn--ghost { color: #fff; }
.ch--night .btn--ghost:hover, .ch--night2 .btn--ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
.btn--full { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn .sm { display: none; }
.rnd { flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: var(--ink); transition: background-color .33s, color .33s, border-color .33s; }
.rnd:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rnd svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ch--night .rnd, .ch--night2 .rnd { color: #fff; }
.ch--night .rnd:hover { background: #fff; color: var(--night); border-color: #fff; }
.rnd .pp-pause, .rnd .pp-play { fill: currentColor; stroke: none; }
.rnd[aria-pressed="true"] .pp-pause, .rnd:not([aria-pressed="true"]) .pp-play { display: none; }

/* ── header: a utility strip over a main bar, with a scroll progress bar ── */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: transform .45s var(--ease); }
html[data-scrolled="1"] .hd { transform: translateY(calc(-1 * var(--strip))); }
.hd-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--strip); padding: 0 var(--gut); background: var(--night); color: var(--on-night); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hd-strip p { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hd-strip p i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-soft); }
.hd-strip a { display: inline-flex; align-items: center; min-height: var(--strip); color: inherit; text-decoration: none; }
.hd-strip a:hover { color: var(--accent-soft); }
.hd-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding: 0 var(--gut); color: #fff; transition: background-color .35s, color .35s; }
html[data-hdr="dark"][data-scrolled="1"] .hd-bar { background: rgba(12, 15, 18, .62); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
html[data-hdr="light"] .hd-bar, html[data-hdr="tint"] .hd-bar { background: rgba(233, 231, 226, .86); color: var(--ink); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.hd-wm { display: inline-flex; align-items: baseline; gap: .8em; min-height: 44px; color: inherit; text-decoration: none; }
.hd-wm b { font-stretch: 125%; font-weight: 800; font-size: 16px; letter-spacing: .24em; text-transform: uppercase; }
.hd-wm i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.hd-act { display: flex; align-items: center; gap: 12px; }
.hd-menu { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px 0 18px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 700 12.5px/1 var(--f); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; transition: background-color .33s, color .33s, border-color .33s; }
.hd-menu:hover { background: currentColor; }
.hd-menu:hover .hd-menu-t { color: var(--night); }
html[data-hdr="light"] .hd-menu:hover .hd-menu-t, html[data-hdr="tint"] .hd-menu:hover .hd-menu-t { color: #fff; }
.hd-menu:hover .hd-ico i { background: var(--night); }
html[data-hdr="light"] .hd-menu:hover .hd-ico i, html[data-hdr="tint"] .hd-menu:hover .hd-ico i { background: #fff; }
.hd-ico { display: grid; gap: 5px; width: 18px; }
.hd-ico i { display: block; height: 1.5px; background: currentColor; transition: background-color .33s; }
.hd-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ── hero: the building, scrubbed from golden hour to night as you scroll ── */
.hero { position: relative; color: #fff; background: var(--night); }
.hero.is-scrub { height: 290vh; }
.hero-stick { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero.is-scrub .hero-stick { position: sticky; top: 0; }
.hero-ph, .hero-nt { position: absolute; inset: 0; margin: 0; }
.hero-ph img, .hero-nt img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-nt { display: none; opacity: 0; transition: opacity 1.4s ease; }
.hero.is-toggle .hero-nt { display: block; }
.hero[data-mode="night"] .hero-nt { opacity: 1; }
.hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.hero.is-scrub[data-live] .hero-cv { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 15, 18, .66), rgba(12, 15, 18, 0) 50%); pointer-events: none; }
.hero-in { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(44px, 10vh, 104px); }
.hero .eb { color: rgba(255, 255, 255, .86); margin-bottom: 18px; }
.hero-h { line-height: .86; }
.hero-name { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(56px, 14.5vw, 236px); letter-spacing: -.028em; }
.hero-suffix { display: block; margin-top: 1.1em; font-size: clamp(12px, 1.3vw, 18px); font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.hero-sub { margin-top: 22px; max-width: 34ch; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; color: #fff; }
.hero-btns { margin-top: 28px; }
.hero-tod { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(44px, 10vh, 104px); display: flex; align-items: center; gap: 16px; }
.tod-lbl { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.tod-tg { gap: 8px; }
.tod-tg button { min-height: 44px; padding: 0 20px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; background: rgba(12, 15, 18, .38); color: #fff; font: 700 12px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .33s, color .33s; }
.tod-tg button[aria-pressed="true"] { background: #fff; color: var(--night); }
.tod-tg { display: none; }
.hero.is-toggle .tod-tg { display: flex; }
.hero-cue { display: none; }
.hero.is-scrub .hero-cue { position: absolute; left: 50%; bottom: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .85); transform: translateX(-50%); transition: opacity .4s; }
.hero.is-scrub[data-live] .hero-cue { opacity: 0; }
.hero-cue i { width: 1px; height: 34px; background: #fff; transform-origin: top; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ── the building ───────────────────────────────────────────────────── */
.bd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.6vw, 56px) clamp(24px, 3vw, 48px); }
.specs dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.specs dd { margin-top: 6px; font-stretch: 125%; font-weight: 800; font-size: clamp(52px, 6.4vw, 104px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }

/* ── turn the tower ─────────────────────────────────────────────────── */
.ex-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.ex-tx .h2 { font-size: clamp(32px, 3.8vw, 62px); }
.ex-ctl { display: flex; align-items: center; gap: 12px; margin-top: 32px; max-width: 540px; }
.ex-range { flex: 1; min-width: 0; height: 48px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ex-range::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.ex-range::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.ex-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border: 0; border-radius: 50%; background: #fff; }
.ex-range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; }
.ex-ctl + .fine { margin-top: 22px; color: var(--on-night-mute); }
.ex-fig { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #10151A; }
.ex-still, .ex-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-cv { opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity .4s ease; }
.ex-cv:active { cursor: grabbing; }
.ex-fig.is-live .ex-cv { opacity: 1; }
.ex-load { position: absolute; left: 0; right: 0; bottom: 24px; width: max-content; margin-inline: auto; }
.ex-state { position: absolute; left: 20px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(12, 15, 18, .6); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* ── residences: tabs, a drawn plan, its facts ──────────────────────── */
.tab { min-height: 48px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 12.5px/1 var(--f); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; transition: background-color .33s, color .33s, border-color .33s; }
.tab:hover { background: rgba(20, 23, 26, .08); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.ch--night .tab { border-color: rgba(255, 255, 255, .55); color: #fff; }
.ch--night .tab:hover { background: rgba(255, 255, 255, .12); }
.ch--night .tab[aria-selected="true"] { background: #fff; color: var(--night); border-color: #fff; }
.rs-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.rs-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.plan-wrap { min-width: 0; padding: clamp(12px, 2vw, 28px); border-radius: 20px; background: var(--plan-bg); overflow-x: auto; }
.plan-wrap:focus-visible { outline-offset: -3px; }
.plan { display: block; width: 100%; height: auto; min-width: 540px; }
.rs-line { max-width: 40ch; margin-bottom: 26px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-bottom: 30px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin-top: 4px; font-stretch: 108%; font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink); }
.rs-act { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.rs-note { margin-top: 24px; }
.pw { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: miter; }
.pi { stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.pgap { stroke: var(--plan-bg); stroke-width: 9; }
.pg { stroke: var(--ink); stroke-width: 1; fill: none; }
.pd { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.pf { fill: none; stroke: var(--mute); stroke-width: 1.2; }
.pt { fill: #DEDCD5; stroke: #8B9299; stroke-width: 1; stroke-dasharray: 3 3; }
.pool { fill: #CBD6FF; stroke: var(--accent); stroke-width: 1; }
.pl { font: 600 9.5px var(--f); font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.plt { font: 600 9.5px var(--f); letter-spacing: .18em; text-transform: uppercase; fill: var(--mute); }
.pm { stroke: #8B9299; stroke-width: 1; }
.pm-t { font: 600 10.5px var(--f); fill: var(--mute); }
.pn circle { fill: none; stroke: var(--mute); }
.pn path { fill: var(--ink); }
.pn text { font: 700 9px var(--f); fill: var(--mute); }
.pv { font: 600 10px var(--f); letter-spacing: .1em; text-transform: uppercase; fill: var(--accent); }
.plan.is-armed :is(.pw, .pi, .pd, .pf, .pg) { stroke-dasharray: var(--len, 0) var(--len, 0); stroke-dashoffset: var(--len, 0); }
.plan.is-armed :is(.pl, .plt, .pm, .pm-t, .pv, .pn, .pt, .pool) { opacity: 0; }
.plan.is-armed.is-drawn :is(.pw, .pi, .pd, .pf, .pg) { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease) var(--d, 0s); }
.plan.is-armed.is-drawn .pw { --d: 0s; }
.plan.is-armed.is-drawn .pi { --d: .15s; }
.plan.is-armed.is-drawn .pg { --d: .3s; }
.plan.is-armed.is-drawn .pd { --d: .4s; }
.plan.is-armed.is-drawn .pf { --d: .5s; }
.plan.is-armed.is-drawn :is(.pl, .plt, .pm, .pm-t, .pv, .pn, .pt, .pool) { opacity: 1; transition: opacity .6s ease .7s; }

/* ── forms ──────────────────────────────────────────────────────────── */
.vip-grid, .va-grid, .co-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.form { padding: clamp(24px, 3vw, 44px); border-radius: 20px; background: rgba(255, 255, 255, .07); color: var(--on-night); }
.form--light { background: #fff; color: var(--ink2); }
.form-h { font-stretch: 112%; font-weight: 650; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; margin-bottom: 20px; color: inherit; }
.form--light .form-h { color: var(--ink); }
.fld { margin-bottom: 16px; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fld label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: inherit; }
.fld label span { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }
.fld input, .fld select, .fld textarea { display: block; width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font: 400 16px/1.4 var(--f); transition: border-color .25s, background-color .25s; }
.fld textarea { min-height: 96px; padding: 14px 16px; resize: vertical; }
.fld select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.fld select option { color: #14171A; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent-soft); background-color: rgba(255, 255, 255, .14); }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: #FF9B9B; }
.form--light .fld input, .form--light .fld select, .form--light .fld textarea { background-color: #EFEDE8; color: var(--ink); }
.form--light .fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314171A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.form--light .fld input:focus, .form--light .fld select:focus, .form--light .fld textarea:focus { border-color: var(--accent); background-color: #fff; }
.form--light .fld input[aria-invalid="true"] { border-color: #B00020; }
.chk { display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 4px 0 18px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.chk input { flex: none; width: 24px; height: 24px; accent-color: var(--accent); }
.err { margin-top: 14px; font-size: 14px; color: #FF9B9B; }
.form--light .err { color: #B00020; }
.done { outline: none; }
.done p:last-child { max-width: 46ch; }

/* ── featured residences ────────────────────────────────────────────── */
.fr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.fr figure { margin-bottom: 22px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #d8d5ce; }
.fr img { width: 100%; height: 100%; object-fit: cover; }
.fr-l { margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.fr-s { margin-bottom: 8px; }
.fr .fine { margin-bottom: 18px; }

/* ── recently sold ──────────────────────────────────────────────────── */
.so-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); }
.so-grid .hd2 { margin-bottom: 0; }
.so-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 2px 24px; align-items: center; padding: clamp(18px, 2.2vw, 30px) 0; }
.so-list .mark { grid-row: 1 / span 2; justify-self: start; }
.so-list .h4 { margin-bottom: 0; font-size: clamp(22px, 2.4vw, 34px); }
.mark { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; }
.mark--on { background: var(--accent); }

/* ── the penthouses: one photograph, one message ─────────────────────── */
.crown { --focus: #fff; position: relative; display: flex; align-items: flex-end; min-height: min(100vh, 900px); padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; background: var(--night); color: #fff; }
.crown-ph { position: absolute; inset: 0; margin: 0; }
.crown-ph img { width: 100%; height: 100%; object-fit: cover; }
.crown::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 15, 18, .74), rgba(12, 15, 18, 0) 58%); pointer-events: none; }
.crown-in { position: relative; z-index: 1; }
.crown .h2 { color: #fff; }
.crown .eb { color: rgba(255, 255, 255, .88); }
.crown .lede { color: rgba(255, 255, 255, .94); margin-bottom: 30px; }
.crown .btn--ghost { color: #fff; }
.crown .btn--ghost:hover { background: #fff; color: var(--night); border-color: #fff; }

/* ── amenities ──────────────────────────────────────────────────────── */
.hd2--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.am-btns { display: flex; gap: 10px; }
.am-row { display: flex; gap: 20px; margin-top: 8px; padding: 0 var(--gut) 16px; padding-inline: max(var(--gut), calc((100% - var(--wmax)) / 2 + var(--gut))); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); }
.am-row:focus-visible { outline-offset: -4px; }
.am { position: relative; flex: 0 0 min(340px, 78vw); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: #22282e; }
.am img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am div { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 24px; color: #fff; background: linear-gradient(to top, rgba(12, 15, 18, .82), rgba(12, 15, 18, 0)); }
.am h3 { margin-bottom: 6px; color: #fff; }
.am p { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .9); }

/* ── the neighborhood ───────────────────────────────────────────────── */
.ar-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.ar-map { border-radius: 20px; overflow: hidden; background: #0F141A; }
.ar-map svg { display: block; width: 100%; height: auto; }
.ar-map figcaption { padding: 12px 20px 16px; color: var(--on-night-mute); }
.m-land { fill: #121820; }
.m-water { fill: #0B2440; }
.m-grid path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.m-blvd { fill: none; stroke: rgba(255, 255, 255, .24); stroke-width: 2; stroke-dasharray: 2 7; }
.m-t { font: 600 11px var(--f); letter-spacing: .14em; text-transform: uppercase; fill: rgba(255, 255, 255, .55); }
.m-t--water { fill: #7FA2D6; }
.m-pin { cursor: pointer; }
.m-pin circle { fill: #fff; stroke: rgba(255, 255, 255, .26); stroke-width: 8; transition: fill .3s, stroke-width .3s; }
.m-pin text { font: 700 12px var(--f); letter-spacing: .06em; fill: #fff; }
.m-pin:hover circle { stroke-width: 12; }
.m-pin.is-on circle { fill: var(--accent-soft); stroke: rgba(157, 176, 255, .4); stroke-width: 14; }
.m-pin.is-on text { fill: var(--accent-soft); }
.m-ondine circle:first-child { fill: none; stroke: var(--accent-soft); stroke-width: 1.5; }
.m-ondine circle:last-child { fill: var(--accent-soft); }
.m-ondine text { font: 800 12px var(--f); letter-spacing: .2em; text-transform: uppercase; fill: var(--accent-soft); }
.ar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ar-panel figure { margin-bottom: 20px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.ar-panel img { width: 100%; height: 100%; object-fit: cover; }
.ar-dir { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.ar-panel p:last-child { color: var(--on-night-mute); max-width: 46ch; }

/* ── delivery timeline ──────────────────────────────────────────────── */
.tl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: rgba(20, 23, 26, .16); }
.tl::after { content: ""; position: absolute; left: 0; top: 11px; width: 0; height: 2px; border-radius: 2px; background: var(--accent); transition: width 1.4s var(--ease) .3s; }
.tl.in::after { width: 12%; }
.tl li { position: relative; }
.tl-n { position: relative; z-index: 1; display: block; width: 24px; height: 24px; margin-bottom: 26px; border-radius: 50%; border: 2px solid rgba(20, 23, 26, .3); background: var(--paper); }
.tl-on .tl-n { border-color: var(--accent); background: var(--accent); }
.tl .mark { margin-bottom: 14px; background: transparent; color: var(--mute); padding: 0; min-height: 0; }
.tl .mark--on { background: transparent; color: var(--accent); }
.tl p:last-child { max-width: 30ch; }

/* ── buyers ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(32px, 6vw, 96px); }
.sn { display: block; margin-bottom: 12px; font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.steps p { max-width: 40ch; }
.dep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); margin-top: clamp(56px, 7vw, 112px); padding: clamp(28px, 4vw, 64px); border-radius: 20px; background: var(--paper); }
.dep .h3 { max-width: 12ch; font-size: clamp(26px, 3vw, 44px); }
.dep p { max-width: 58ch; margin-bottom: 18px; }

/* ── calculator ─────────────────────────────────────────────────────── */
.ca-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.ca-form { max-width: 520px; margin-top: 30px; }
.ca-form .fld input, .ca-form .fld select { background-color: #ECEAE4; color: var(--ink); }
.ca-form .fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314171A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.ca-form .fld input:focus, .ca-form .fld select:focus { border-color: var(--accent); background-color: #fff; }
.ca-form .fld label { color: var(--ink2); }
.ca-big { margin-bottom: 12px; font-stretch: 125%; font-weight: 800; font-size: clamp(52px, 8vw, 132px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.ca-big output { display: block; }
.ca-sub { margin-bottom: 22px; font-size: 18px; }
.ca-sub output { color: var(--ink); font-weight: 600; }

/* ── sellers ────────────────────────────────────────────────────────── */
.se-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-bottom: 44px; }
.se-grid p { max-width: 32ch; }

/* ── the team ───────────────────────────────────────────────────────── */
.ab-list > div { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 10fr); gap: 12px 32px; align-items: baseline; padding: clamp(20px, 2.4vw, 32px) 0; }
.ab-list dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ab-list b { display: block; margin-bottom: 6px; font-stretch: 118%; font-weight: 700; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.1; color: var(--ink); }
.ab-list span { display: block; }

/* ── stories ────────────────────────────────────────────────────────── */
.st-list { display: grid; gap: clamp(32px, 4vw, 56px); margin-bottom: 44px; }
.st-list li { display: grid; grid-template-columns: clamp(56px, 6vw, 96px) minmax(0, 1fr); gap: 24px; }
.st-list .sn { margin: 4px 0 0; }
.st-list p { max-width: 62ch; }

/* ── questions ──────────────────────────────────────────────────────── */
.fq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.fq-grid .hd2 { margin-bottom: 0; }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; padding: 16px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--f); font-stretch: 108%; cursor: pointer; }
.acc-q i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); transition: background-color .33s; }
.acc-q i::before, .acc-q i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: #fff; transition: transform .33s var(--ease); }
.acc-q i::after { transform: rotate(90deg); }
.acc-q[aria-expanded="true"] i { background: var(--accent); }
.acc-q[aria-expanded="true"] i::after { transform: rotate(0); }
.acc-q:hover i { background: var(--accent); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-p > div { overflow: hidden; visibility: hidden; transition: visibility 0s .4s; }
.acc-p.is-open { grid-template-rows: 1fr; }
.acc-p.is-open > div { visibility: visible; transition-delay: 0s; }
.acc-p p { max-width: 56ch; padding-bottom: 22px; }

/* ── blog ───────────────────────────────────────────────────────────── */
.jo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.jo a { display: block; color: inherit; text-decoration: none; }
.jo figure { margin-bottom: 22px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #d8d5ce; }
.jo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.jo a:hover img { transform: scale(1.03); }
.jo p { margin-bottom: 8px; max-width: 34ch; }
.more { display: inline-flex; align-items: center; min-height: 44px; font: 700 12.5px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.jo a:hover .more { text-decoration: underline; text-underline-offset: 5px; }
.rd__sheet .eb { margin-bottom: 14px; }
.rd__sheet h3 { margin-bottom: 22px; font-stretch: 118%; font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; color: var(--ink); }
.rd__sheet p { margin-bottom: 18px; font-size: 18px; line-height: 1.7; color: var(--ink2); }

/* ── contact ────────────────────────────────────────────────────────── */
.co { overflow: hidden; }
.co-ph { position: absolute; inset: 0; margin: 0; }
.co-ph img { width: 100%; height: 100%; object-fit: cover; }
.co-shade { position: absolute; inset: 0; background: rgba(12, 15, 18, .78); }
.co .form { background: rgba(12, 15, 18, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.co-grid { position: relative; }
.co-dl { display: grid; gap: 20px; margin-top: 34px; }
.co-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.co-dl dd { margin-top: 4px; font-stretch: 108%; font-weight: 600; font-size: 19px; color: #fff; }
.co-dl a { color: inherit; text-underline-offset: 4px; }

/* ── footer and dock ────────────────────────────────────────────────── */
.ft { padding: clamp(56px, 7vw, 96px) 0 calc(48px + 64px); background: var(--night); color: var(--on-night-mute); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.ft-wm { font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.ft-sub { margin-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ft-legal p { max-width: 76ch; margin-bottom: 12px; font-size: 14px; line-height: 1.6; }
.dock { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 55; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 12.5px/1 var(--f); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .35s ease, transform .35s var(--ease), visibility 0s .35s, background-color .33s; }
.dock.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dock.is-on:hover { transform: translateY(-2px); background: #1A32D6; }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .fr-grid, .jo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr:nth-child(3), .jo:nth-child(3) { grid-column: 1 / -1; }
  .fr:nth-child(3) figure, .jo:nth-child(3) figure { aspect-ratio: 16 / 7; }
}
@media (max-width: 899px) {
  .hd-strip { font-size: 11px; }
  .bd-grid, .ex-grid, .rs-panel, .vip-grid, .so-grid, .ar-grid, .ca-grid, .va-grid, .fq-grid, .co-grid, .dep, .ft-grid, .steps, .se-grid { grid-template-columns: 1fr; }
  .hero-tod { top: calc(var(--strip) + 84px); right: var(--gut); bottom: auto; }
  .tl { grid-template-columns: 1fr; gap: 32px; }
  .tl::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl::after { display: none; }
  .tl li { padding-left: 52px; }
  .tl-n { position: absolute; left: 0; top: 0; margin: 0; }
  .fr-grid, .jo-grid { grid-template-columns: 1fr; }
  .fr:nth-child(3) figure, .jo:nth-child(3) figure { aspect-ratio: 4 / 3; }
  .so-list li { grid-template-columns: 84px minmax(0, 1fr); }
  .ab-list > div { grid-template-columns: 1fr; }
  .hd2--row { align-items: start; }
}
@media (max-width: 700px) {
  .hd-strip .hd-addr, .hd-strip p i { display: none; }
  .btn .lg { display: none; }
  .btn .sm { display: inline; }
  .facts, .fld-row { grid-template-columns: 1fr; }
  .fld-row { gap: 0; }
  .st-list li { grid-template-columns: 1fr; gap: 10px; }
  .am-btns { display: none; }
  .hd-bar { gap: 8px; }
  .hd-menu { padding: 0 18px 0 14px; }
  .dock { left: 16px; right: 16px; justify-content: center; }
}
@media (max-width: 420px) {
  .hd-wm i { display: none; }
  .hd-wm b { font-size: 14px; letter-spacing: .2em; }
  .hd-menu-t { display: none; }
  .hd-menu { padding: 0 16px; }
  .specs { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 340px) {
  .hd-act .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hd, .hero-nt, .hero-cv, .tl::after, .jo img, .acc-p, .dock { transition: none; }
  .hero-cue i { animation: none; }
  .plan.is-armed :is(.pw, .pi, .pd, .pf, .pg) { stroke-dasharray: none; stroke-dashoffset: 0; }
  .plan.is-armed :is(.pl, .plt, .pm, .pm-t, .pv, .pn, .pt, .pool) { opacity: 1; }
}
