/* Square One — palette and type lifted from the printed brochure */
:root {
  --olive: #6b7f22;          /* brochure cover */
  --olive-deep: #4f5c1a;     /* floor-plan spread */
  --olive-ink: #23290d;
  --sun: #f2e300;            /* the yellow square under the logo */
  --slate: #4f5677;          /* specifications page */
  --slate-deep: #353a54;
  --brick: #8a3a1c;          /* diagonal bands, red-brick walls */
  --paper: #e6e8d6;          /* location-map page */
  --paper-2: #f4f5ec;
  --ink: #1e2312;
  --muted: #5b6148;
  --line: rgba(30, 35, 18, .16);
  --line-light: rgba(244, 245, 236, .2);

  --f-display: 'Federo', 'Josefin Sans', Georgia, serif;
  --f-body: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 80px);
  --max: 1320px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.mark {
  display: inline-block;
  background: currentColor;
  -webkit-mask: url(../img/mark.svg) center / contain no-repeat;
  mask: url(../img/mark.svg) center / contain no-repeat;
}

/* ------------------------------------------------------------------ type */
.display {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: .005em;
  text-wrap: balance;
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 34px; height: 3px; background: currentColor; transform: scaleX(var(--draw, 1)); transform-origin: left; }
.eyebrow--sun { color: var(--sun); }
.mini {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.mini--sun { color: var(--sun); }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 14px; }
.fineprint--light { color: rgba(244, 245, 236, .7); }
.impression {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  font-size: 11px; font-style: italic; letter-spacing: .04em;
  color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.impression--dark { color: rgba(244, 245, 236, .6); text-shadow: none; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--sun); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg);
  font-weight: 500; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--line { --bg: transparent; --fg: var(--paper-2); border-color: rgba(244, 245, 236, .6); }
.btn--line:hover { --bg: var(--paper-2); --fg: var(--ink); }
.btn--olive { --bg: var(--olive); --fg: var(--paper-2); }
.btn--line-dark { --bg: transparent; --fg: var(--ink); border-color: rgba(30, 35, 18, .35); }
.btn--line-dark:hover { --bg: var(--ink); --fg: var(--paper-2); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  color: var(--paper-2);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(35, 41, 13, .94); backdrop-filter: blur(10px); padding-block: 10px; box-shadow: 0 1px 0 var(--line-light); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 28px; height: 28px; color: var(--paper-2); }
.brand__word { font-family: var(--f-display); font-size: 21px; letter-spacing: .14em; text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a.is-here { opacity: 1; border-bottom-color: var(--sun); }
.nav__call { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; background: var(--sun); color: var(--ink); letter-spacing: .04em; white-space: nowrap; }
.nav__call-label { font-weight: 400; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s; }
.nav__toggle span + span { margin-top: 8px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: max(640px, 100svh);
  background: var(--olive); color: var(--paper-2);
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__media { position: absolute; inset: 0 0 0 28%; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__slab { position: absolute; inset: 0 auto 0 0; width: 66%; z-index: -1; pointer-events: none; }
.hero__media::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(rgba(35, 41, 13, .6), transparent); z-index: 1; }
.hero__slab svg { width: 100%; height: 100%; display: block; }
.band--olive { fill: var(--olive); }
.band--sun { fill: var(--sun); }
.band--brick { fill: var(--brick); opacity: .92; }
.hero__copy { padding: 120px var(--gutter) 150px; max-width: calc(min(520px, 36vw) + var(--gutter)); }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(44px, 5.4vw, 86px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__lede { font-size: 18px; font-weight: 300; max-width: 46ch; margin-bottom: 34px; color: rgba(244, 245, 236, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  position: absolute; right: 0; bottom: 0; z-index: 1;
  display: grid; grid-template-columns: repeat(4, auto);
  margin: 0; padding: 0; list-style: none;
  background: rgba(35, 41, 13, .82); backdrop-filter: blur(8px);
}
.hero__facts li { padding: 18px 28px; border-left: 1px solid var(--line-light); display: grid; gap: 2px; }
.hero__facts b { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--sun); }
.hero__facts span { font-size: 12.5px; letter-spacing: .06em; color: rgba(244, 245, 236, .8); }
.hero .impression { right: 14px; top: 84px; bottom: auto; }

/* hero load sequence */
@media (prefers-reduced-motion: no-preference) {
  .hero__slab { animation: slab-in 1.1s var(--ease-out) both; }
  .hero__media img { animation: settle 2.4s var(--ease-out) both; }
  .hero__copy > * { animation: rise .9s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: .12s; }
  .hero__copy > :nth-child(3) { animation-delay: .24s; }
  .hero__copy > :nth-child(4) { animation-delay: .36s; }
  .hero__facts { animation: rise .9s .5s var(--ease-out) both; }
}
@keyframes slab-in { from { transform: translateX(-30%); } }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ------------------------------------------------------------------ sections */
section { position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__sub { margin-top: 18px; font-size: 18px; font-weight: 300; max-width: 60ch; color: var(--muted); }
.section-head--light { color: var(--paper-2); }
.section-head--light .section-head__sub { color: rgba(244, 245, 236, .78); }

.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.is-in) { opacity: 1; transform: none; } }

/* intro */
.intro {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.intro__text > p:not(.eyebrow) { margin-top: 22px; font-size: 18px; font-weight: 300; max-width: 52ch; }
.quote { margin: 36px 0 0; padding: 22px 0 0; border-top: 2px solid var(--olive); display: flex; gap: 16px; }
.quote::before { content: '\201D'; font-family: Georgia, serif; font-size: 84px; line-height: .8; color: var(--olive); }
.quote p { font-family: var(--f-display); font-size: 22px; line-height: 1.35; }
.intro__photo { clip-path: polygon(0 0, 100% 0, 100% 82%, 86% 100%, 0 100%); }
.intro__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }

/* ------------------------------------------------------------------ tower */
.tower {
  background: var(--olive-ink); color: var(--paper-2);
  padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(56px, 7vw, 96px);
}
.tower > * { max-width: var(--max); margin-inline: auto; }
.tower__rig { display: grid; grid-template-columns: 112px minmax(0, 1fr) 320px; gap: 20px; align-items: stretch; }

.lift {
  align-self: start;
  padding: 16px 14px 18px;
  background: linear-gradient(160deg, #d9dbdd, #a7acb2 55%, #c4c7cb);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 6px rgba(0,0,0,.18), 0 18px 40px rgba(0,0,0,.35);
  color: var(--ink);
}
.lift__display {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #11140a; border-radius: 3px; padding: 8px 6px; margin-bottom: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.7);
  color: var(--sun); font-weight: 600; font-size: 26px; letter-spacing: .08em;
  font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(242, 227, 0, .55);
}
.lift__arrow { font-size: 11px; opacity: .25; transition: opacity .3s, transform .3s; }
.lift__display.is-moving .lift__arrow { opacity: 1; }
.lift__display.is-down .lift__arrow { transform: rotate(180deg); }
.lift__display output { min-width: 2ch; text-align: center; }
.lift__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; justify-items: center; }
.lift__buttons button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #a8853d;
  background: radial-gradient(circle at 35% 30%, #fbf8ef, #cfc8b8 70%);
  box-shadow: 0 2px 3px rgba(0,0,0,.35), inset 0 -2px 3px rgba(0,0,0,.15);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: box-shadow .25s, transform .1s, background .25s;
}
.lift__buttons button:hover { box-shadow: 0 2px 3px rgba(0,0,0,.35), 0 0 0 3px rgba(242, 227, 0, .45); }
.lift__buttons button:active { transform: scale(.94); }
.lift__buttons button[aria-pressed="true"] {
  background: radial-gradient(circle at 35% 30%, #fffbb0, var(--sun) 70%);
  box-shadow: 0 0 0 3px rgba(242, 227, 0, .35), 0 0 18px rgba(242, 227, 0, .8);
}
.lift__buttons button:nth-child(1) { grid-column: 1 / -1; }
.lift__hint { margin-top: 14px; font-size: 11.5px; line-height: 1.35; color: #3a3f2b; text-align: center; }

.stage { position: relative; display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.stage__canvas {
  --sky: #cfdbe4; --sky-low: #e6e8d6;
  position: relative; height: clamp(440px, 68vh, 720px);
  background: linear-gradient(to bottom, var(--sky), var(--sky-low));
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%, 0 44px);
  transition: background .4s;
  touch-action: none;
}
.stage__canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.stage__loading.is-error { text-transform: none; letter-spacing: 0; padding: 24px; text-align: center; max-width: 40ch; margin: auto; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(30,35,18,.15); border-top-color: var(--olive); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage__tip {
  position: absolute; z-index: 3; pointer-events: none;
  padding: 8px 12px; background: var(--ink); color: var(--paper-2);
  font-size: 13px; line-height: 1.35; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 14px));
}
.stage__tip b { color: var(--sun); font-weight: 600; }
.stage__legend { position: absolute; top: 14px; right: 14px; display: flex; gap: 12px; font-size: 12px; color: var(--ink); background: rgba(244,245,236,.82); padding: 6px 10px; }
.stage__legend span { display: flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; display: inline-block; border: 1px solid rgba(0,0,0,.2); }
.sw--1 { background: #b7bfe6; } .sw--2 { background: #d5e19a; } .sw--3 { background: #f0b98f; }
.walkbar {
  position: absolute; left: 14px; bottom: calc(var(--sun-h, 120px) + 14px); z-index: 4;
  max-width: min(520px, calc(100% - 28px));
  background: rgba(30, 35, 18, .88); color: var(--paper-2); backdrop-filter: blur(6px);
  padding: 14px 16px 12px;
}
.walkbar__title { font-family: var(--f-display); font-size: 22px; line-height: 1.1; margin-bottom: 10px; }
.walkbar__rooms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.walkbar__rooms button { background: none; border: 1px solid var(--line-light); padding: 6px 11px; font-size: 13px; cursor: pointer; }
.walkbar__rooms button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.walkbar__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.walkbar__hint { font-size: 12.5px; color: rgba(244,245,236,.7); }
.stage.is-walking .stage__legend, .stage.is-walking .stage__help { display: none; }
.stage__help { position: absolute; left: 56px; top: 16px; font-size: 12px; color: var(--ink); opacity: .7; letter-spacing: .04em; }

.sun { padding: 16px 18px 14px; background: rgba(244, 245, 236, .06); border-top: 1px solid var(--line-light); }
.sun__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.sun__label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.sun__time { font-size: 18px; font-variant-numeric: tabular-nums; min-width: 7ch; }
.sun__season { margin-left: auto; display: flex; border: 1px solid var(--line-light); }
.sun__season button { background: none; border: 0; padding: 6px 12px; font-size: 13px; cursor: pointer; color: rgba(244,245,236,.75); }
.sun__season button[aria-checked="true"] { background: var(--paper-2); color: var(--ink); }
.sun input[type="range"] { width: 100%; accent-color: var(--sun); height: 28px; }
.sun__note { font-size: 13px; color: rgba(244, 245, 236, .7); min-height: 1.4em; }

.card { background: var(--paper-2); color: var(--ink); padding: 24px 22px; align-self: start; position: relative; }
.card::before { content: ''; position: absolute; left: 0; top: 0; width: 56px; height: 4px; background: var(--olive); }
.card__kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.card__empty p:last-child { font-size: 15px; }
.card__title { font-family: var(--f-display); font-size: 40px; line-height: 1; margin-bottom: 18px; }
.card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.card__stats div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.card__stats div:nth-child(odd) { padding-right: 10px; }
.card__stats dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card__stats dd { margin: 2px 0 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.card__stats .card__total dd { font-weight: 600; }
.card__stats dd small { font-size: 12px; color: var(--muted); }
.card__plan { background: #fbfbf7; border: 1px solid var(--line); margin-bottom: 18px; }
.card__plan svg { display: block; width: 100%; height: 170px; }
.card__plan figcaption { font-size: 11.5px; color: var(--muted); padding: 6px 10px; border-top: 1px solid var(--line); }
.card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card__body.is-fresh { animation: rise .5s var(--ease-out); }

.homes { margin-top: 28px; border-top: 1px solid var(--line-light); padding-top: 8px; }
.homes summary { cursor: pointer; padding: 14px 0; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; list-style: none; display: flex; align-items: center; gap: 12px; }
.homes summary::-webkit-details-marker { display: none; }
.homes summary::before { content: '+'; display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-light); color: var(--sun); transition: transform .3s; }
.homes[open] summary::before { transform: rotate(45deg); }
.homes__filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.homes__filters button { background: none; border: 1px solid var(--line-light); padding: 7px 14px; cursor: pointer; font-size: 14px; }
.homes__filters button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.homes__scroll { overflow-x: auto; max-height: 460px; overflow-y: auto; border: 1px solid var(--line-light); }
.homes__table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.homes__table th { position: sticky; top: 0; background: #2f3613; text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 12px 14px; color: rgba(244,245,236,.75); }
.homes__table td { padding: 11px 14px; border-top: 1px solid rgba(244,245,236,.08); white-space: nowrap; }
.homes__table .num { text-align: right; }
.homes__table tbody tr { cursor: pointer; transition: background .2s; }
.homes__table tbody tr:hover, .homes__table tbody tr:focus-visible { background: rgba(242, 227, 0, .1); outline: none; }
.homes__table tbody tr.is-picked { background: rgba(242, 227, 0, .2); }
.homes__table td:first-child { font-weight: 600; color: var(--sun); }
.homes .fineprint { color: rgba(244,245,236,.6); }

/* ------------------------------------------------------------------ walkthrough */
.tour {
  background: var(--olive-deep); color: var(--paper-2);
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  overflow: hidden;
}
.tour > * { max-width: var(--max); margin-inline: auto; }
.tour::before {
  content: ''; position: absolute; right: -12%; top: 0; width: 40%; height: 46%;
  background: linear-gradient(115deg, transparent 49.6%, rgba(138, 58, 28, .55) 49.6%, rgba(138, 58, 28, .55) 53%, transparent 53%);
  pointer-events: none;
}
.tour__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; position: relative; }
.tour__tabs button {
  background: rgba(244,245,236,.06); border: 1px solid var(--line-light); padding: 10px 16px; cursor: pointer; text-align: left;
  display: grid; gap: 1px; transition: background .25s, border-color .25s;
}
.tour__tabs button b { font-family: var(--f-display); font-weight: 400; font-size: 20px; }
.tour__tabs button span { font-size: 12.5px; color: rgba(244,245,236,.7); }
.tour__tabs button[aria-selected="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.tour__tabs button[aria-selected="true"] span { color: rgba(30,35,18,.75); }
.tour__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: center; position: relative; }
.tour__stage { position: relative; perspective: 1400px; display: grid; place-items: center; min-height: 520px; padding: 20px 0 30px; }
.tour__model {
  position: relative; width: min(100%, 760px);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out);
}
.tour__model.is-swapping { animation: swap .6s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.tour__model img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.35)); user-select: none; }
.tour__spots { position: absolute; inset: 0; transform: translateZ(30px); }
.spot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--sun); color: var(--ink);
  font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  transition: transform .25s var(--ease-out), background .25s;
}
.spot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--sun); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .spot::after { animation: ping 2.4s var(--ease-out) infinite; }
  .spot:nth-child(2n)::after { animation-delay: .6s; }
  .spot:nth-child(3n)::after { animation-delay: 1.2s; }
}
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(1.4); } }
.spot:hover { transform: scale(1.15); }
.spot[aria-pressed="true"] { background: var(--ink); color: var(--sun); border-color: var(--sun); transform: scale(1.2); }
.spot[aria-pressed="true"]::after { animation: none; }
.tour__gyro { position: absolute; left: 0; bottom: 0; background: none; border: 1px solid var(--line-light); padding: 8px 12px; font-size: 13px; cursor: pointer; }
.room { align-self: stretch; display: flex; flex-direction: column; }
.room__where { font-family: var(--f-display); font-size: 30px; line-height: 1.1; }
.room__area { font-size: 14px; color: rgba(244,245,236,.75); margin: 6px 0 22px; font-variant-numeric: tabular-nums; }
.room__detail { background: var(--paper-2); color: var(--ink); padding: 20px 20px 22px; min-height: 160px; position: relative; }
.room__detail::before { content: ''; position: absolute; left: 0; top: 0; width: 56px; height: 4px; background: var(--brick); }
.room__detail.is-fresh { animation: rise .45s var(--ease-out); }
.room__title { font-family: var(--f-display); font-size: 26px; margin-bottom: 8px; }
.room__text { font-size: 15.5px; line-height: 1.55; }
.room__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.room__list button { background: none; border: 1px solid var(--line-light); padding: 5px 10px; font-size: 13px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.room__list button i { font-style: normal; font-weight: 600; color: var(--sun); }
.room__list button[aria-pressed="true"] { background: rgba(242, 227, 0, .15); border-color: var(--sun); }

/* ------------------------------------------------------------------ rooftop */
.roof {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.roof__media { position: relative; display: grid; }
.roof__media img { width: 100%; height: auto; clip-path: polygon(0 0, 100% 0, 100% 100%, 9% 100%, 0 86%); grid-area: 1 / 1; }
.roof__spots { position: relative; grid-area: 1 / 1; }
.roof__media .impression { bottom: auto; top: 10px; }
.roof__caption { margin-top: 14px; padding: 14px 16px; background: var(--paper-2); border-left: 4px solid var(--olive); font-size: 15.5px; line-height: 1.5; min-height: 4.6em; }
.roof__caption b { display: block; font-weight: 600; color: var(--olive-deep); margin-bottom: 2px; }
.roof__copy > p:not(.eyebrow) { margin: 20px 0 30px; font-size: 18px; font-weight: 300; }
.roof__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ticks { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ticks li { padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.35; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; background: var(--olive); }
.ticks--light li { border-bottom-color: var(--line-light); }
.ticks--light li::before { background: var(--sun); }

/* ------------------------------------------------------------------ AR */
.ar {
  background: var(--slate-deep); color: var(--paper-2);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}
.ar__viewer {
  position: relative; height: clamp(380px, 60vh, 600px);
  background: radial-gradient(ellipse at 50% 65%, #6b7196, var(--slate-deep) 70%);
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}
.ar__viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--sun); }
.ar__poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: rgba(244,245,236,.7); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ar__mark { width: 72px; height: 72px; color: var(--sun); opacity: .8; }
@media (prefers-reduced-motion: no-preference) { .ar__mark { animation: spin 8s linear infinite; } }
.ar__copy { max-width: 520px; }
.ar__copy > p:not(.eyebrow) { margin: 20px 0 24px; font-size: 18px; font-weight: 300; color: rgba(244,245,236,.85); }
.steps { margin: 0 0 30px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-light); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 22px; color: var(--sun); width: 1.2em; }
.ar__qr { display: flex; gap: 18px; align-items: center; margin-top: 26px; padding: 16px; background: rgba(244,245,236,.06); border: 1px solid var(--line-light); }
.ar__qr-code { flex: none; background: #fff; padding: 8px; line-height: 0; }
.ar__qr-code img, .ar__qr-code svg { width: 112px; height: 112px; }
.ar__qr p { font-size: 14px; color: rgba(244,245,236,.85); }

/* ------------------------------------------------------------------ plans */
.plans { background: var(--paper-2); padding: clamp(72px, 9vw, 120px) var(--gutter); }
.plans > * { max-width: var(--max); margin-inline: auto; }
.plans .section-head { margin-bottom: 26px; }
.plans__tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.plans__tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; cursor: pointer; font-size: 15px; letter-spacing: .04em; color: var(--muted); margin-bottom: -1px; }
.plans__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--olive); font-weight: 500; }
.plans__fig a { display: block; background: #fbfbf7; border: 1px solid var(--line); cursor: zoom-in; }
.plans__fig img { width: 100%; max-width: 1100px; margin: 0 auto; height: auto; }
.plans__fig figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ------------------------------------------------------------------ specs */
.specs { background: var(--slate); color: var(--paper-2); padding: clamp(72px, 9vw, 120px) var(--gutter); }
.specs > * { max-width: var(--max); margin-inline: auto; }
.specs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; margin: 0 auto 56px; }
.specs__grid div { padding: 18px 0 20px; border-top: 1px solid var(--line-light); }
.specs__grid dt { font-family: var(--f-display); font-size: 22px; color: var(--sun); margin-bottom: 6px; }
.specs__grid dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(244,245,236,.88); }
.specs__special .ticks { columns: 3 260px; column-gap: 32px; }
.specs__special .ticks li { break-inside: avoid; }

/* ------------------------------------------------------------------ location */
.location { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.location > * { max-width: var(--max); margin-inline: auto; }
.location__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.location__map { background: #e3e6d2; border: 1px solid var(--line); position: relative; }
.location__map figcaption { position: absolute; left: 12px; bottom: 8px; font-size: 12px; color: var(--muted); }
.ladder { list-style: none; margin: 0 0 28px; padding: 0; }
.ladder li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ladder b { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--olive); font-variant-numeric: tabular-nums; }
.ladder b small { font-family: var(--f-body); font-size: 12px; color: var(--muted); margin-left: 3px; }
.ladder span { display: block; font-size: 15.5px; }
.ladder i { display: block; height: 4px; background: var(--olive); margin-top: 6px; width: calc(var(--m) / 15 * 100%); opacity: .55; }

/* ------------------------------------------------------------------ visit */
.visit {
  background: var(--olive); color: var(--paper-2);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  overflow: hidden;
}
.visit::after {
  content: ''; position: absolute; left: -6%; bottom: 0; width: 34%; height: 46%;
  background: linear-gradient(40deg, var(--brick) 0 38%, transparent 38% 41%, var(--sun) 41% 42%, transparent 42%);
  opacity: .85; pointer-events: none;
}
.visit__copy { position: relative; z-index: 1; }
.visit__copy > p:not(.eyebrow) { margin: 20px 0 30px; font-size: 18px; font-weight: 300; max-width: 42ch; }
.visit__phone { display: block; font-family: var(--f-display); font-size: clamp(36px, 4.6vw, 60px); line-height: 1; text-decoration: none; color: var(--sun); margin-bottom: 10px; }
.visit__mail { font-size: 15px; opacity: .85; word-break: break-all; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: rgba(35, 41, 13, .35); padding: clamp(20px, 3vw, 36px); position: relative; z-index: 1; }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field--half { grid-column: auto; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,245,236,.85); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px;
  background: var(--paper-2); color: var(--ink);
  border: 2px solid transparent; border-radius: 0;
  font: 16px var(--f-body);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sun); }
.field input[aria-invalid="true"] { border-color: #ff8a65; }
.form__error { grid-column: 1 / -1; color: #ffe4d6; background: rgba(138, 58, 28, .6); padding: 10px 12px; font-size: 14px; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form .fineprint { grid-column: 1 / -1; margin-top: -6px; }

/* ------------------------------------------------------------------ footer */
.foot {
  background: var(--olive-ink); color: var(--paper-2);
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px;
  padding: 64px var(--gutter) 40px;
}
.foot .mini { color: rgba(244,245,236,.6); margin-bottom: 10px; }
.foot__mark { width: 44px; height: 44px; color: var(--paper-2); }
.foot__word { font-family: var(--f-display); font-size: 26px; letter-spacing: .14em; text-transform: uppercase; margin-top: 12px; }
.foot__tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.foot__tag::after { content: ''; display: block; width: 14px; height: 14px; background: var(--sun); margin-top: 14px; }
.foot__team { display: grid; grid-template-columns: auto auto 1fr; gap: 32px; align-items: start; }
.foot__team img { height: 55px; width: auto; }
.foot__ena { background: #e6e8d6; padding: 6px; height: 67px !important; }
.foot__credits { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.foot__credits dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.foot__credits dd { margin: 0; }
.foot__rera-no { font-family: var(--f-display); font-size: 24px; color: var(--sun); letter-spacing: .04em; }
.foot__rera a { font-size: 13px; opacity: .75; }
.foot__legal { grid-column: 1 / -1; font-size: 12px; line-height: 1.6; opacity: .55; border-top: 1px solid var(--line-light); padding-top: 24px; max-width: 120ch; }

.dock { display: none; }

/* ------------------------------------------------------------------ motion (GSAP + Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.lenis { scroll-behavior: auto; }

/* intro: shown once per visit, only when motion is allowed */
.intro-screen { display: none; }
.has-intro .intro-screen {
  position: fixed; inset: 0; z-index: 200; display: block;
  color: var(--paper-2); cursor: pointer;
  /* if the scripts never arrive, get out of the way */
  animation: intro-failsafe .01s 4s forwards;
}
.motion-ready .intro-screen { animation: none; }
@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; } }
.intro-screen__band, .intro-screen__panel { position: absolute; inset: 0; clip-path: polygon(0% 0%, 130% 0%, 100% 100%, 0% 100%); }
.intro-screen__band--brick { background: var(--brick); }
.intro-screen__band--sun { background: var(--sun); }
.intro-screen__panel { background: var(--olive); display: grid; place-items: center; }
.intro-screen__brand { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; }
.intro-screen__mark { width: 84px; height: 84px; color: var(--paper-2); }
.intro-screen__word { font-family: var(--f-display); font-size: clamp(34px, 6vw, 64px); letter-spacing: .16em; text-transform: uppercase; line-height: 1; padding-left: .16em; }
.intro-screen__tag { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.intro-screen__tag::after { content: ''; display: block; width: 14px; height: 14px; background: var(--sun); margin: 18px auto 0; }

/* hero waits for its entrance; shows anyway if motion never boots */
.motion:not(.motion-ready) .hero__copy > *,
.motion:not(.motion-ready) .hero__facts,
.motion:not(.motion-ready) .hero__slab { opacity: 0; animation: motion-failsafe .01s 2.5s forwards; }
@keyframes motion-failsafe { to { opacity: 1; } }
.motion-ready .hero__slab, .motion-ready .hero__media img, .motion-ready .hero__copy > *, .motion-ready .hero__facts { animation: none; }
.motion-ready .reveal { opacity: 1 !important; transform: none !important; transition: none; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(0); }

.ticker { background: var(--olive-ink); color: var(--paper-2); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line-light); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__track span { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 36px); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.ticker__track span::after { content: ''; width: 12px; height: 12px; background: var(--sun); transform: rotate(45deg); flex: none; }
.ticker__track span:nth-child(3n+2) { color: var(--sun); }

.split-line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .hero__slab { width: 76%; }
  .hero__copy { max-width: calc(min(460px, 44vw) + var(--gutter)); }
  .tower__rig { grid-template-columns: 100px minmax(0, 1fr); }
  .card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
  .card__body:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .card__body > .card__kicker, .card__body > .card__title { grid-column: 1; }
  .card__body > .card__plan { grid-column: 2; grid-row: 1 / span 4; }
  .tour__body { grid-template-columns: 1fr; }
  .foot__team { grid-template-columns: auto auto; }
  .foot__credits { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__team { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 auto; top: 64px; flex-direction: column; gap: 0;
    background: var(--olive-ink); padding: 8px var(--gutter) 20px;
    transform: translateY(-120%); transition: transform .35s var(--ease-out); visibility: hidden;
  }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
  .nav__toggle { display: block; }
  .nav { background: rgba(35, 41, 13, .94); padding-block: 10px; gap: 12px; }
  .nav__call { display: none; }

  .hero { min-height: 0; display: block; }
  .hero__media { position: relative; inset: auto; height: 58svh; min-height: 360px; }
  .hero__slab { display: none; }
  .hero__copy { max-width: none; padding: 40px var(--gutter) 36px; position: relative; }
  .hero__copy::before {
    content: ''; position: absolute; left: 0; right: 0; top: -48px; height: 50px;
    background: linear-gradient(to bottom right, transparent 49.5%, var(--brick) 50% 58%, var(--sun) 58% 60%, var(--olive) 60%);
  }
  .hero .impression { top: auto; bottom: 64px; }
  .hero__facts { position: static; grid-template-columns: 1fr 1fr; backdrop-filter: none; background: var(--olive-ink); }
  .hero__facts li { border-left: 0; border-top: 1px solid var(--line-light); padding: 16px var(--gutter); }
  .hero__facts li:nth-child(even) { border-left: 1px solid var(--line-light); }

  .intro, .roof, .ar, .visit, .location__grid { grid-template-columns: 1fr; }
  .intro__photo { order: -1; }
  .ar__viewer { order: -1; }

  .tower__rig { grid-template-columns: 1fr; }
  .lift { order: 2; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px; }
  .lift__display { margin: 0; padding: 6px 10px; font-size: 22px; }
  .lift__buttons { grid-template-columns: repeat(8, 1fr); gap: 6px; }
  .lift__buttons button { width: 36px; height: 36px; }
  .lift__buttons button:nth-child(1) { grid-column: auto; }
  .lift__hint { grid-column: 1 / -1; margin: 0; }
  .stage { order: 1; }
  .stage__canvas { height: 62svh; min-height: 380px; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); }
  .stage__help { display: none; }
  .stage__legend { top: 10px; right: 10px; gap: 8px; font-size: 11px; padding: 4px 8px; }
  .tour::before { display: none; }
  .walkbar { top: 10px; left: 10px; right: 10px; bottom: auto; max-width: none; padding: 10px 12px; }
  .walkbar__title { font-size: 17px; margin-bottom: 8px; }
  .walkbar__rooms { margin-bottom: 8px; flex-wrap: nowrap; overflow-x: auto; }
  .walkbar__rooms button { white-space: nowrap; padding: 5px 9px; font-size: 12.5px; }
  .walkbar__hint { display: none; }
  .spot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11.5px; border-width: 1.5px; }
  .card { order: 3; }
  .card__body:not([hidden]) { display: block; }

  .tour__stage { min-height: 0; }
  .roof__lists { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .foot, .foot__team { grid-template-columns: 1fr; }
  .foot__credits { grid-template-columns: 1fr; }

  body { padding-bottom: 64px; }
  .dock {
    display: flex; align-items: center; justify-content: center;
    position: fixed; bottom: 0; left: 0; width: 38%; height: 58px; z-index: 40;
    background: var(--olive-ink); color: var(--paper-2); text-decoration: none;
    font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 14px;
    border-top: 1px solid var(--line-light);
  }
  .dock--visit { left: 38%; width: 62%; background: var(--sun); color: var(--ink); }
}

@media (max-width: 520px) {
  .hero__title { font-size: 40px; }
  .lift { grid-template-columns: 1fr; }
  .lift__buttons { grid-template-columns: repeat(4, 1fr); justify-items: center; }
  .sun__season { margin-left: 0; }
  .tour__tabs button { flex: 1 1 calc(50% - 10px); }
  .card__title { font-size: 34px; }
}
