/* The Legation. Plain CSS, no build step.
   Motion rule for this page: only transform and opacity are animated (plus one clip-path wipe on pictures below the tower). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../vendor/fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../vendor/fonts/cormorant-garamond-italic-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../vendor/fonts/hanken-grotesk-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A0E16;          /* the stage */
  --black: #05070B;        /* buttons, cards, the dark between states */
  --pool: #1B2438;         /* the lighter pool behind the model */
  --cream: #EDE6D6;        /* all words */
  --brass: #C8A56A;        /* the one accent */
  --cream-70: rgba(237, 230, 214, .7);
  --cream-50: rgba(237, 230, 214, .5);
  --hair: rgba(237, 230, 214, .16);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --out: cubic-bezier(.2, .7, .2, 1);
  --lux: cubic-bezier(.16, 1, .3, 1);   /* the slow, confident ease of everything below the tower */
  --paper: #EEE8DB;        /* the cream chapters */
  --bark: #17120C;         /* words on paper */
  --bark-60: rgba(23, 18, 12, .64);
  --bark-rule: rgba(23, 18, 12, .2);
  --brass-deep: #94702F;   /* the accent, darkened to read on paper */
  --night: #0C0A08;        /* the dark chapters: warm, like the gallery */
  --gut: clamp(24px, 6.4vw, 112px);
  --pad: 36px;
  --bar-h: 76px;
  --tower-top: 0px;        /* on narrow screens the tower picture starts this far down, so the crown clears the top bar */
  --sky-top: #3A609F;      /* the colour along the top edge of the tower picture; the sky is carried up from it */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--ink); }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* The baht sign is not in the Latin font files, so it is set in the system font, a little smaller. */
.baht { font-family: system-ui, "Segoe UI", Thonburi, Tahoma, sans-serif; font-size: .74em; font-weight: 400; margin-right: .09em; position: relative; top: -.07em; }

/* ---------- Tiny spaced caps: every label ---------- */
.nav a, .brand__place, .btn, .hint, .eyebrow, .cap__eyebrow, .panel__eyebrow, .card__label, .card__tag, .spot__chip, .panel__rows dt, .facts, .foot {
  font-family: var(--sans);
  text-transform: uppercase;
  line-height: 1;
}

/* ---------- Buttons: small, square, tiny caps ---------- */
.btn {
  display: inline-block;
  padding: 11px 15px 10px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .2em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, outline-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--cream { background: var(--cream); color: var(--black); outline: 1px solid transparent; outline-offset: 3px; }
.btn--ink { background: var(--black); color: var(--cream); }
.btn--ink[aria-current="true"] { background: var(--cream); color: var(--black); }
@media (hover: hover) {
  .btn--ink:hover { border-color: var(--cream); }
  .btn--cream:hover { outline-color: var(--cream); }
}
.btn:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }

/* ---------- Top bar: stays over every state ---------- */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 34px;
  padding: 6px var(--pad) 0;
  pointer-events: none;      /* the crown underneath stays clickable between the words */
}
.bar a { pointer-events: auto; }
html.is-locked .bar { position: fixed; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  flex: none; width: 27px; height: 27px;
  display: grid; place-items: center;
  border: 1px solid var(--cream);
  font: 500 18px/1 var(--serif);
  padding-bottom: 2px;
}
.brand__words { display: flex; align-items: center; gap: 14px; }
.brand__name { font: 600 14px/1 var(--serif); letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.brand__place {
  padding-left: 14px; border-left: 1px solid var(--cream-50);
  font-size: 8.5px; font-weight: 500; letter-spacing: .26em; white-space: nowrap; color: rgba(237, 230, 214, .86);
  line-height: 14px;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; padding: 8px 0;
  font-size: 9.5px; font-weight: 500; letter-spacing: .22em; color: rgba(237, 230, 214, .9);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: .22em; bottom: 2px; height: 1px; background: var(--cream);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--out);
}
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }

/* ---------- First screen: the tower ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 480px;
  overflow: hidden;
  background: var(--black);
}
.tower { position: absolute; inset: 0; }
.tower__zoom {
  position: absolute; inset: 0;
  will-change: transform, opacity;
  transition: transform .9s var(--out), opacity .6s ease;
}
/* Leaving for a floor plan: push in toward the chosen floor and fade to dark. */
.tower.is-leaving .tower__zoom {
  transform: scale(2.6); opacity: 0;
  transition: transform .76s cubic-bezier(.5, .05, .75, .45), opacity .5s ease-in .22s;
}
.pic { position: absolute; left: 0; top: var(--tower-top); width: 100%; height: calc(100% - var(--tower-top)); }
.pic::before {               /* more sky above the picture, for the screens where it starts lower */
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: calc(var(--tower-top) + 1px);
  background: linear-gradient(180deg, #1C2F56 0, var(--sky-top) 100%);
}
.pic__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; }
.js .pic__img { opacity: 0; transition: opacity .9s ease; }
.js .pic__img.is-ready { opacity: 1; }
.tower__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, .52) 0, rgba(5, 7, 11, .16) 12%, rgba(5, 7, 11, 0) 24%),
    linear-gradient(0deg, rgba(5, 7, 11, .66) 0, rgba(5, 7, 11, .2) 12%, rgba(5, 7, 11, 0) 24%);
  transition: opacity .4s ease;
}

/* Floors: real buttons laid over the picture, in % of the picture. */
.floors { position: absolute; inset: 0; pointer-events: none; }
.floor {
  position: absolute; margin: 0; padding: 0; border: 0; background: none;
  pointer-events: auto; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.floor:focus, .floor:focus-visible { outline: none; }
.floor__fill, .floor__rule {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
/* The warm light: a faint fill that is screened over the stone, so the stone still shows. */
.floor__fill {
  background: linear-gradient(90deg, rgba(255, 184, 92, .28), rgba(255, 206, 130, .46) 50%, rgba(255, 184, 92, .28));
  mix-blend-mode: screen;
}
.floor__rule {
  border-top: 1px solid #F3D69C;
  border-bottom: 1px solid #F3D69C;
  box-shadow: 0 0 26px 2px rgba(240, 178, 88, .62), inset 0 0 18px rgba(255, 204, 128, .3);
}
/* The crown is lit along its own stepped outline, with a warm halo into the sky. */
svg.floor__fill { background: none; fill: rgba(255, 194, 108, .22); overflow: visible; filter: drop-shadow(0 0 18px rgba(255, 184, 92, .9)); }
svg.floor__rule {
  border: 0; box-shadow: none; overflow: visible;
  fill: none; stroke: #FFE6B4; stroke-width: 1.25;
  filter: drop-shadow(0 0 6px rgba(240, 178, 88, .9));
}
svg.floor__rule polygon { vector-effect: non-scaling-stroke; }
.floor.is-lit .floor__fill, .floor.is-lit .floor__rule { opacity: 1; transition-duration: .16s; }
.floor:focus-visible .floor__rule { border-color: #FFF1CF; stroke: #FFF1CF; }
.debug .floor { outline: 1px solid rgba(0, 255, 255, .8); outline-offset: -1px; }
.debug .spot { outline: 1px dashed rgba(0, 255, 255, .9); outline-offset: -1px; }

/* The card beside the tower. */
.card {
  position: absolute; left: 0; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 18px;
  padding: 13px 22px 13px 18px;
  background: rgba(6, 9, 15, .9);
  border: 1px solid var(--hair);
  white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .26s var(--out), opacity .2s ease, visibility 0s .2s;
}
.card.is-on { opacity: 1; visibility: visible; transition: transform .26s var(--out), opacity .2s ease, visibility 0s; }
.tower.is-leaving .card, .tower.is-leaving .hint, .tower.is-leaving .fine { opacity: 0; transition: opacity .25s ease; }
.card__line {
  position: absolute; right: 100%; top: 0; width: 400px; height: 1px;
  background: linear-gradient(90deg, var(--brass), rgba(237, 230, 214, .55));
  transform-origin: 100% 50%;
}
.card__dot {
  position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 4px rgba(200, 165, 106, .24);
}
.card__num { display: flex; flex-direction: column; gap: 6px; padding-right: 18px; border-right: 1px solid var(--hair); }
.card__label { font-size: 8px; font-weight: 600; letter-spacing: .28em; color: var(--cream-70); }
.card__no { font: 500 42px/.8 var(--serif); font-variant-numeric: lining-nums; padding-bottom: 3px; }
.card__no small { font: 600 8px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cream-70); margin-right: -.22em; position: relative; top: -.95em; }
.card__name { font: 500 20px/1 var(--serif); }
.card__spec { margin-top: 7px; font: 400 10.5px/1 var(--sans); letter-spacing: .03em; color: var(--cream-70); }
.card__tag { display: inline-block; margin-top: 9px; padding: 3px 5px 3px 7px; border: 1px solid; font-size: 7.5px; font-weight: 600; letter-spacing: .24em; }
.card__tag[data-tag="view"] { color: var(--brass); }
.card__tag[data-tag="reserved"] { color: rgba(237, 230, 214, .82); }
.card__tag[data-tag="sold"] { color: rgba(237, 230, 214, .55); }
.card__go { display: none; }
/* Docked: phones and narrow windows. The card sits near the bottom with a clear button. */
.card.is-docked {
  left: 16px; right: 16px; top: auto; bottom: 66px; max-width: 430px; margin: 0 auto;
  transform: translate3d(0, 10px, 0); gap: 14px; padding: 14px 14px 14px 16px;
}
.card.is-docked.is-on { transform: none; }
.card.is-docked.is-on .card__go { pointer-events: auto; }
@media (hover: none) { .card.is-docked.is-on { pointer-events: auto; } }      /* on a touch screen the whole card opens the floor */
.card.is-docked .card__line, .card.is-docked .card__dot { display: none; }
.card.is-docked .card__num { padding-right: 14px; }
.card.is-docked .card__no { font-size: 36px; }
.card.is-docked .card__info { min-width: 0; flex: 1; }
.card.is-docked .card__tag { position: absolute; top: -8px; right: 14px; margin: 0; background: var(--black); }   /* SOLD or RESERVED sits on the card's top edge */
.card.is-docked .card__tag[data-tag="view"] { display: none; }
.card.is-docked .card__go { display: block; flex: none; padding: 14px 16px 13px; }

.hint {
  position: absolute; left: var(--pad); bottom: 30px; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: .26em; color: rgba(237, 230, 214, .92);
  transition: opacity .3s ease;
}
.hint__dot { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.hint__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--brass);
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(.7); opacity: 0; } 50% { transform: scale(1.15); opacity: .7; } }
.fine {
  position: absolute; right: var(--pad); bottom: 30px; z-index: 4;
  font: 400 9.5px/1 var(--sans); letter-spacing: .04em; color: rgba(237, 230, 214, .62);
  transition: opacity .3s ease;
}

/* ---------- The dark between states, and the crown close-up ---------- */
.veil, .crown, .plan, .room {
  position: fixed; inset: 0; overflow: hidden;
  opacity: 0; visibility: hidden;
}
/* A layer that is off never takes a click or a tap, whatever its children do. */
.veil:not(.is-on), .crown:not(.is-on), .plan:not(.is-on), .room:not(.is-on) { pointer-events: none; }
.veil { z-index: 20; background: var(--black); transition: opacity .3s ease, visibility 0s .3s; }
.veil.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.crown { z-index: 25; background: var(--black); transition: opacity .55s ease, visibility 0s .55s; }
.crown.is-on { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.crown img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.crown.is-on img { animation: push 3s cubic-bezier(.3, .5, .4, 1) both; }
.crown::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 11, .62) 0, rgba(5, 7, 11, .22) 12%, rgba(5, 7, 11, 0) 24%);
}
@keyframes push { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ---------- Floor plan: the model in the sales gallery ---------- */
.plan {
  z-index: 30;
  background: #0A0705;
  transition: opacity .45s ease, visibility 0s .45s;
}
.plan.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.plan__inner {
  position: absolute; inset: 0;
  display: grid;
  grid-template: "model" minmax(0, 1fr) "foot" auto / minmax(0, 1fr);
  padding: var(--bar-h) var(--pad) 30px;
}
.plan[data-home="penthouse"] .plan__inner {
  grid-template: "model panel" minmax(0, 1fr) "foot foot" auto / minmax(0, 1fr) auto;
  column-gap: 4vw;
}
/* The model is one photograph: the miniature on a mahogany table in the sales gallery. It fills the screen
   (cover-fit, centred) and the caption, the hint and the panel sit over its quiet edges. */
.strip { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.strip::after {                /* darker toward the bar and the caption, so the words always read */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 5, 3, .7) 0, rgba(8, 5, 3, .22) 13%, rgba(8, 5, 3, 0) 26%, rgba(8, 5, 3, 0) 68%, rgba(8, 5, 3, .78) 100%);
}
.plan[data-home="penthouse"] .strip::after {
  background:
    linear-gradient(270deg, rgba(8, 5, 3, .86) 0, rgba(8, 5, 3, .62) 22%, rgba(8, 5, 3, 0) 46%),
    linear-gradient(180deg, rgba(8, 5, 3, .7) 0, rgba(8, 5, 3, .22) 13%, rgba(8, 5, 3, 0) 26%, rgba(8, 5, 3, 0) 68%, rgba(8, 5, 3, .78) 100%);
}
.model {
  position: relative; flex: none;
  width: max(100vw, calc(100svh * 1.7684));
  aspect-ratio: 2688 / 1520;
  opacity: 0; transform: scale(1.06);
  transition: opacity .3s ease, transform .3s ease;
}
.model:focus { outline: none; }
/* The lights come up and the picture settles; after that it drifts a few pixels against the pointer. */
.plan.is-in .model {
  opacity: 1;
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -8px), 0) scale(1.025);
  transition: opacity 1.1s ease, transform 1.5s var(--out);
}
/* A warm glow behind and a shadow underneath, so the model sits on the stage. */
.model__glow, .model__shadow { display: none; }      /* the photograph has its own light and shadow */
.model__glow {
  position: absolute; inset: -14% -9%; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 52%, rgba(216, 170, 104, .22), rgba(216, 170, 104, .08) 46%, rgba(216, 170, 104, 0) 70%);
}
.model__shadow {
  position: absolute; left: 3%; right: 3%; bottom: -8%; height: 30%; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, .78), rgba(0, 0, 0, .42) 46%, rgba(0, 0, 0, 0) 72%);
}
.model__pics { position: absolute; inset: 0; }
.model__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; visibility: hidden; }
.model__img.is-on { opacity: 1; visibility: inherit; }     /* inherit, never "visible": a visible child of the hidden plan would sit over the tower and take its clicks */

/* Rooms you can open: a region, a brass ring at rest, the name on hover or focus. */
.spots { position: absolute; inset: 0; }
.spot {
  position: absolute; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.spot:focus, .spot:focus-visible { outline: none; }
.spot__ring {
  position: absolute; left: var(--rx); top: var(--ry);
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  border: 1.5px solid #E6C88F;
  background: rgba(8, 11, 18, .5);
  box-shadow: 0 0 0 1px rgba(8, 11, 18, .35), 0 2px 10px rgba(0, 0, 0, .35);
  transition: transform .3s var(--out);
}
.spot__ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #E6C88F; }
.spot__ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid #E6C88F; opacity: 0; }
/* One gentle pulse when the plan arrives, so people see what opens. */
.plan.is-in .spot__ring::after { animation: ring 1.6s ease-out calc(1.1s + var(--i) * .18s) 1 both; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.9); opacity: 0; } }
.spot__chip {
  position: absolute; left: var(--rx); top: var(--ry);
  padding: 8px 10px 7px 12px;
  background: var(--black); border: 1px solid var(--hair);
  font-size: 8.5px; font-weight: 600; letter-spacing: .24em; white-space: nowrap; color: var(--cream);
  opacity: 0; transform: translate(-50%, calc(-100% - 16px)); pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--out);
}
.spot:focus-visible .spot__ring { transform: scale(1.3); }
.spot:focus-visible .spot__chip { opacity: 1; transform: translate(-50%, calc(-100% - 24px)); }
@media (hover: hover) {
  .spot:hover .spot__ring { transform: scale(1.3); }
  .spot:hover .spot__chip { opacity: 1; transform: translate(-50%, calc(-100% - 24px)); }
}

/* The line under the model: back, caption, hint. */
.planfoot, .panel { position: relative; z-index: 2; }
.planfoot { grid-area: foot; display: flex; align-items: flex-end; gap: 24px; min-height: 40px; }
.cap__eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .26em; color: var(--brass); white-space: nowrap; }
.cap__line { margin-top: 8px; font: 500 21px/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }
.plan[data-home="penthouse"] .planfoot .cap { display: none; }
.plan .btn--ink { border-color: var(--hair); background: rgba(12, 8, 5, .8); }      /* warm, with a hairline, so the buttons belong to the room */      /* a hairline, so the button still reads on the dark of the stone */
.hint--plan { position: static; margin-left: auto; padding-bottom: 13px; }
.roomlist { display: none; }

/* The penthouse panel. */
.panel {
  grid-area: panel; align-self: center;
  display: none; width: 272px; margin-right: 0;
  opacity: 0; transform: translate3d(18px, 0, 0);
  transition: opacity .3s ease, transform .3s ease;
}
.plan[data-home="penthouse"] .panel { display: block; }
@media (min-width: 761px) and (max-width: 1320px) {
  .panel { width: 250px; padding: 24px 22px; background: rgba(12, 8, 5, .78); border: 1px solid var(--hair); }
}
.plan.is-in .panel { opacity: 1; transform: none; transition: opacity .7s ease .3s, transform .9s var(--out) .3s; }
.panel__eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .26em; color: var(--brass); }
.panel__name { margin-top: 16px; font: 500 42px/1 var(--serif); letter-spacing: -.005em; }
.panel__price { margin-top: 12px; font: 500 25px/1 var(--serif); font-variant-numeric: lining-nums; color: rgba(237, 230, 214, .92); }
.panel__rows { margin-top: 28px; border-top: 1px solid var(--hair); }
.panel__rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 11px; border-bottom: 1px solid var(--hair); }
.panel__rows dt { font-size: 8.5px; font-weight: 500; letter-spacing: .24em; color: var(--cream-70); }
.panel__rows dd { font: 500 18px/1 var(--serif); font-variant-numeric: lining-nums; }
.panel__cta { display: block; margin-top: 28px; padding: 14px 10px 13px; text-align: center; }

/* ---------- Room: the picture, full screen ---------- */
.room { z-index: 40; background: var(--black); touch-action: none; transition: opacity .45s ease, visibility 0s .45s; }
.room.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.room__pics { position: absolute; inset: 0; }
.room__pic {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity .6s ease;
}
.room__pic.is-on { opacity: 1; z-index: 2; animation: settle 1.2s var(--out) both; }
.room__pic.is-under { opacity: 1; z-index: 1; transition: none; }
@keyframes settle { from { transform: scale(1.05); } to { transform: scale(1); } }
.room__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, .56) 0, rgba(5, 7, 11, .18) 11%, rgba(5, 7, 11, 0) 22%),
    linear-gradient(0deg, rgba(5, 7, 11, .88) 0, rgba(5, 7, 11, .5) 14%, rgba(5, 7, 11, 0) 34%);
}
.roomfoot {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 30px;
  display: flex; align-items: flex-end; gap: 26px;
}
.cap--room { min-width: 0; }
.cap__name { margin-top: 9px; font: 500 clamp(30px, 2.5vw, 40px)/.95 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.tabs { margin-left: auto; display: flex; gap: 8px; }
.tabs .btn { flex: none; }

/* ---------- Below the first screen: five chapters, cream paper and warm night in turn ---------- */
/* The tower stays where it is and the first chapter rises over it like a curtain. */
.hero { position: sticky; top: 0; z-index: 1; }
.hero::after {                 /* the tower dims as the page comes up over it */
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: var(--night); opacity: calc(var(--dim, 0) * .72);
}
.below { position: relative; z-index: 2; background: var(--night); }

.ch { position: relative; padding: clamp(96px, 12.5vw, 204px) 0; }
.ch--paper { background: var(--paper); color: var(--bark); --rule: var(--bark-rule); --soft: var(--bark-60); --gold: var(--brass-deep); }
.ch--night { background: var(--night); color: var(--cream); --rule: rgba(237, 230, 214, .2); --soft: var(--cream-70); --gold: var(--brass); }
.wrap { max-width: 1520px; margin: 0 auto; padding: 0 var(--gut); }

/* Chapter line: a roman numeral, the name, and a rule that draws itself. */
.ch__head {
  position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-bottom: 22px; margin-bottom: clamp(48px, 6.4vw, 104px);
}
.ch__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule);
  transform-origin: 0 50%;
}
.js .ch__head[data-reveal]::after { transform: scaleX(0); transition: transform 1.6s var(--lux) .15s; }
.js .ch__head[data-reveal].is-in::after { transform: none; }
.ch__no { display: flex; align-items: baseline; gap: 18px; font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.roman { min-width: 1.1em; font: 500 27px/1 var(--serif); letter-spacing: .04em; color: var(--gold); }
.ch__aside { font-size: 9.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }

/* Display type. Words arrive one by one from under a line (js/scroll.js wraps them). */
.display { font: 400 clamp(46px, 7.5vw, 136px)/.95 var(--serif); letter-spacing: -.024em; text-wrap: balance; }
.display em { font-style: italic; letter-spacing: -.012em; color: var(--gold); }
.display--mid { font-size: clamp(34px, 4.1vw, 70px); line-height: 1; letter-spacing: -.018em; }
.display--xl { font-size: clamp(62px, 12.6vw, 232px); line-height: .9; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .06em .2em; margin: -.1em -.06em -.2em; }
.w__i { display: inline-block; }
.js [data-split] .w__i { transform: translate3d(0, 112%, 0); transition: transform 1.25s var(--lux); transition-delay: calc(var(--i) * 52ms); }
.js [data-split].is-in .w__i { transform: none; }

/* Everything else rises a little as it comes into view. */
.js [data-reveal]:not(.frame) { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1.1s ease var(--d, 0ms), transform 1.3s var(--lux) var(--d, 0ms); }
.js [data-reveal]:not(.frame).is-in { opacity: 1; transform: none; }

/* A picture opens from the bottom up, eases back from a slight push-in, then drifts as you scroll. */
.frame { position: relative; display: block; overflow: hidden; background: #1B1610; }
.frame__in { position: absolute; inset: 0; display: block; }
.frame__in img, .addr__pic img {
  position: absolute; left: 0; top: -9%; width: 100%; height: 118%; max-width: none; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
/* The wipe is on the inner layer: a frame that clipped itself away would never be seen arriving by the observer. */
.js .frame[data-reveal] { background: transparent; }
.js .frame[data-reveal] .frame__in { clip-path: inset(100% 0 0 0); transform: scale(1.2); transition: clip-path 1.5s var(--lux), transform 2.1s var(--lux); }
.js .frame[data-reveal].is-in .frame__in { clip-path: inset(0 0 0 0); transform: none; }

.lede { font: 400 clamp(24px, 2.45vw, 40px)/1.17 var(--serif); letter-spacing: -.01em; }
.body { margin-top: 28px; max-width: 46ch; font: 400 15px/1.78 var(--sans); color: var(--soft); }
.link {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 40px;
  font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
}
.link::after { content: ""; width: 44px; height: 1px; background: var(--gold); transform-origin: 0 50%; transition: transform .6s var(--lux); }
@media (hover: hover) { .link:hover::after { transform: scaleX(1.8); } }

/* I · The House */
.house__line { max-width: 13.6ch; }
.house__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 5fr); align-items: end;
  margin-top: clamp(64px, 9vw, 152px);
}
.house__pic { grid-column: 1; margin: 0; }
.house__pic .frame { aspect-ratio: 4 / 5; }
.house__pic figcaption { margin-top: 16px; font-size: 9px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }
.house__text { grid-column: 3; padding-bottom: 5%; }
.figures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(72px, 10vw, 164px); border-top: 1px solid var(--rule);
}
.figures > div { padding: 28px 24px 0 0; }
.figures > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.figures > div:nth-child(2) { --d: 90ms; } .figures > div:nth-child(3) { --d: 180ms; } .figures > div:nth-child(4) { --d: 270ms; }
.figures dt { font-size: 9.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); }
.figures dd { margin-top: 20px; font: 300 clamp(54px, 7.4vw, 132px)/.86 var(--serif); letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; }

/* II · The Residences */
.homes { padding-bottom: 0; }
.homes__line { max-width: 11ch; }
.homes__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5.4vw, 104px); align-items: start;
  margin-top: clamp(64px, 8vw, 132px);
}
.home--low { margin-top: clamp(88px, 15vw, 260px); }
.home__pic { aspect-ratio: 16 / 10; }
.home--low .home__pic { aspect-ratio: 4 / 5; }
.home__pic .frame__in img { transition: none; }
@media (hover: hover) { .js .home__pic.is-in:hover .frame__in { transform: scale(1.045); } }
.home__tag {
  position: absolute; left: 18px; top: 18px; padding: 9px 11px 8px 13px;
  background: rgba(12, 10, 8, .78); border: 1px solid var(--hair);
  font-size: 8.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cream);
}
.home__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.home__name { font: 400 clamp(30px, 3.1vw, 50px)/1 var(--serif); letter-spacing: -.014em; }
.home__spec { margin-top: 12px; font-size: 9.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); }
.home__price { font: 400 clamp(18px, 1.55vw, 25px)/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; color: rgba(237, 230, 214, .92); }
.home .link { margin-top: 26px; }

/* Interiors. Without JavaScript, on phones and with less motion: a row you slide. Otherwise the row is pinned
   and travels sideways as you scroll down (scroll.js sets --travel, --tx and --p). */
.gallery { position: relative; margin-top: clamp(96px, 12vw, 196px); padding-bottom: clamp(72px, 9vw, 150px); }
.gallery__pin { overflow: auto hidden; scrollbar-width: none; }
.gallery__pin::-webkit-scrollbar { display: none; }
.gallery__track { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 46px); width: max-content; padding: 0 var(--gut); }
.gallery__intro { flex: none; width: min(78vw, 500px); padding-right: 3vw; }
.gallery__intro .display { margin-top: 30px; }
.gallery__hint { display: inline-flex; align-items: center; gap: 14px; margin-top: 38px; font-size: 9.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); }
.gallery__hint::after { content: ""; width: 56px; height: 1px; background: var(--gold); }
.shot { flex: none; margin: 0; }
.shot { --h: min(58svh, 620px); }
.shot img { height: var(--h); width: calc(var(--h) * 1.6); max-width: none; object-fit: cover; background: #1B1610; }   /* sizes set outright, so the row is the same length before and after the pictures load */
.shot--small { --h: min(42svh, 450px); align-self: flex-end; }
.shot--small img { width: calc(var(--h) * 1.3333); }
.shot figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.shot figcaption span { color: var(--gold); }
.shot figcaption i { margin-left: auto; font-style: normal; font-weight: 500; color: var(--soft); }
.gallery__end { flex: none; width: min(78vw, 460px); padding-left: 3vw; display: flex; flex-direction: column; align-items: flex-start; }
.gallery__end .link { margin-top: 30px; }
.gallery__bar { display: none; }
.js.can-pin .gallery { height: calc(100svh + var(--travel, 0px)); padding-bottom: 0; }
.js.can-pin .gallery__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.js.can-pin .gallery__track { transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.js.can-pin .gallery__bar { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: 38px; height: 1px; background: var(--rule); }
.js.can-pin .gallery__bar i { display: block; height: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* III · The Amenities: the list turns the picture beside it. */
.amen__line { max-width: 12ch; }
.amen__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 136px); align-items: start;
  margin-top: clamp(56px, 7vw, 112px);
}
.amen__stage { position: sticky; top: 12svh; }
.amen__pics { position: relative; overflow: hidden; height: min(76svh, 780px); max-width: 100%; aspect-ratio: 3 / 4; background: #1B1610; }
.amen__pics img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  opacity: 0; transform: scale(1.07); transition: opacity .9s ease, transform 1.7s var(--lux);
}
.amen__pics img.is-on { opacity: 1; transform: none; }
.amen__count { margin-top: 16px; font-size: 9.5px; font-weight: 600; letter-spacing: .26em; color: var(--soft); }
.amen__count span { color: var(--bark); }
.amen__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.amen__row {
  position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: baseline;
  padding: clamp(24px, 2.7vw, 42px) 0; border-bottom: 1px solid var(--rule);
  opacity: .34; transition: opacity .7s ease;
}
.amen__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--lux);
}
.amen__row.is-on { opacity: 1; }
.amen__row.is-on::after { transform: none; }
.amen__row:focus { outline: none; }
.amen__row:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
.amen__no { font-size: 10px; font-weight: 600; letter-spacing: .24em; color: var(--gold); }
.amen__row h3 { font: 400 clamp(30px, 3.5vw, 60px)/1 var(--serif); letter-spacing: -.018em; transition: transform .9s var(--lux); }
.amen__row.is-on h3 { transform: translate3d(14px, 0, 0); }
.amen__row p { margin-top: 13px; max-width: 42ch; font: 400 14px/1.62 var(--sans); color: var(--soft); }

/* IV · The Address: one wide picture, the words along its foot. */
.addr { padding: 0; min-height: 112svh; display: flex; align-items: flex-end; overflow: hidden; }
.addr__pic { position: absolute; inset: 0; overflow: hidden; background: #14100B; }
.addr__pic img { top: -12%; height: 124%; }
.addr__pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, .5) 0, rgba(12, 10, 8, .04) 24%, rgba(12, 10, 8, .3) 46%, rgba(12, 10, 8, .82) 74%, rgba(12, 10, 8, .96) 100%);
}
.addr__in {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 6vw; align-items: end;
  padding-top: 34svh; padding-bottom: clamp(56px, 7vw, 112px);
}
.addr__line { margin-top: 28px; max-width: 10ch; }
.addr__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 17px 0 16px; border-top: 1px solid rgba(237, 230, 214, .24); }
.addr__list > div:last-child { border-bottom: 1px solid rgba(237, 230, 214, .24); }
.addr__list > div:nth-child(2) { --d: 80ms; } .addr__list > div:nth-child(3) { --d: 160ms; } .addr__list > div:nth-child(4) { --d: 240ms; }
.addr__list dt { font: 400 clamp(19px, 1.7vw, 25px)/1.1 var(--serif); }
.addr__list dd { font-size: 9px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-70); white-space: nowrap; }

/* A slow band of outlined words before the last chapter. */
.ribbon { overflow: hidden; padding: clamp(38px, 5.4vw, 86px) 0 clamp(44px, 6vw, 96px); background: var(--night); }
.ribbon__track { display: flex; width: max-content; animation: ribbon 58s linear infinite; }
.ribbon span {
  flex: none; padding-right: .5em; white-space: nowrap;
  font: italic 300 clamp(54px, 9.4vw, 160px)/1 var(--serif); letter-spacing: -.012em;
  color: transparent; -webkit-text-stroke: 1px rgba(200, 165, 106, .7);
}
.ribbon span::after { content: "·"; margin-left: .5em; font-style: normal; }
@keyframes ribbon { to { transform: translate3d(-50%, 0, 0); } }

/* V · Private viewing */
.view__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.view .display--xl { margin-top: 34px; }
.view .lede { max-width: 31ch; margin-top: clamp(28px, 3vw, 44px); }
.ask {
  width: min(100%, 860px); margin-top: clamp(52px, 6.4vw, 96px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: left;
}
.ask label span { display: block; font-size: 9px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }
.ask input {
  width: 100%; margin-top: 8px; padding: 8px 0 12px; border: 0; border-bottom: 1px solid var(--bark); border-radius: 0;
  background: transparent; font: 400 23px/1.2 var(--serif); color: var(--bark); outline: none;
}
.ask input:focus { border-bottom-color: var(--brass-deep); box-shadow: 0 1px 0 var(--brass-deep); }
.ask .btn { grid-column: 1 / -1; justify-self: center; margin-top: 20px; padding: 19px 36px 18px; cursor: pointer; }
.btn--dark { background: var(--bark); color: var(--paper); border-color: var(--bark); transition: background .3s ease, color .3s ease; }
@media (hover: hover) { .btn--dark:hover { background: transparent; color: var(--bark); } }
.ask__done { grid-column: 1 / -1; text-align: center; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }

/* Foot: the name across the whole width, one letter at a time. */
.foot { padding: clamp(64px, 9vw, 150px) var(--gut) 38px; background: var(--night); color: var(--cream); overflow: hidden; }
.foot__mark { font: 400 clamp(38px, 11vw, 216px)/.92 var(--serif); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; text-align: center; margin-right: -.07em; }
.foot__mark .w__i { transition-delay: calc(var(--i) * 46ms); }
.foot__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  margin-top: clamp(44px, 6vw, 96px); padding-top: 22px; border-top: 1px solid var(--hair);
  font-size: 9px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.7; color: var(--cream-50);
}
.foot__row a { color: var(--cream); }

/* The bar follows you down the page: a dark strip that steps aside when you scroll down and returns when you scroll up. */
.bar { position: fixed; transition: transform .7s var(--lux); }
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(12, 10, 8, .93); border-bottom: 1px solid var(--hair);
  opacity: 0; transition: opacity .45s ease;
}
.bar__read { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); opacity: 0; transition: opacity .45s ease; }
html.is-scrolled:not(.is-locked) .bar::before, html.is-scrolled:not(.is-locked) .bar__read { opacity: 1; }
html.bar-away:not(.is-locked) .bar { transform: translate3d(0, -104%, 0); }

/* A quiet invitation to scroll, under the tower. */
.cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none;
  font-size: 8.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(237, 230, 214, .86);
  transition: opacity .3s ease;
}
.cue i { position: relative; width: 1px; height: 40px; overflow: hidden; background: rgba(237, 230, 214, .28); }
.cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--cream); animation: cue 2.2s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes cue { from { transform: translate3d(0, -110%, 0); } to { transform: translate3d(0, 260%, 0); } }
.tower.has-lit .cue, .tower.is-leaving .cue { opacity: 0; }

/* ---------- Phones and narrow windows ---------- */
@media (max-width: 1100px) {
  :root { --tower-top: 58px; }
}
@media (max-width: 1000px) {
  .brand__place { display: none; }
  .nav { gap: 24px; }
  .bar { gap: 26px; }

  /* Room: caption over the buttons, the buttons in one row that slides sideways. */
  .roomfoot { right: 0; bottom: 22px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .cap--room { order: 1; }
  .cap__name { font-size: 34px; }
  .tabs { order: 2; margin-left: 0; width: 100%; overflow: auto hidden; scrollbar-width: none; padding-right: var(--pad); touch-action: pan-x; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs .btn { padding: 13px 14px 12px; }
  .roomfoot__back { order: 3; padding: 13px 14px 12px; }
  .room__shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 11, .72) 0, rgba(5, 7, 11, .3) 12%, rgba(5, 7, 11, 0) 23%),
      linear-gradient(0deg, rgba(5, 7, 11, .94) 0, rgba(5, 7, 11, .84) 15%, rgba(5, 7, 11, .52) 26%, rgba(5, 7, 11, 0) 42%);
  }
}
@media (max-width: 760px) {
  :root { --pad: 16px; --bar-h: 84px; --tower-top: 68px; }

  .bar {
    display: grid; grid-template: "brand cta" 30px "nav nav" 30px / 1fr auto;
    align-items: center; gap: 6px 12px; padding: 12px var(--pad) 0;
  }
  .brand { grid-area: brand; justify-self: start; gap: 11px; }
  .brand__words { flex-direction: column; align-items: flex-start; gap: 5px; }
  .brand__name { font-size: 13px; letter-spacing: .3em; }
  .brand__place { display: block; padding-left: 0; border-left: 0; font-size: 7.5px; line-height: 1; }
  .bar__cta { grid-area: cta; padding: 10px 11px 9px; font-size: 9px; letter-spacing: .16em; }
  .nav { grid-area: nav; margin-left: 0; gap: 24px; }
  .nav a { padding: 10px 0; font-size: 9px; }

  .hint { bottom: 44px; }
  .card.is-docked { bottom: 40px; padding: 12px 14px 12px 16px; }
  .fine { left: var(--pad); right: var(--pad); bottom: 18px; font-size: 9px; }
  .tower.has-lit .hint { opacity: 0; }

  /* Floor plan: the model in a strip that slides sideways, everything else stacked under it. */
  .plan__inner, .plan[data-home="penthouse"] .plan__inner {
    top: var(--bar-h); display: flex; flex-direction: column; padding: 0 0 28px;
    overflow: hidden auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .strip { position: relative; inset: auto; flex: none; display: flex; align-items: stretch; justify-content: flex-start; overflow: auto hidden; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 0 30px; }
  .strip::after, .plan[data-home="penthouse"] .strip::after { content: none; }
  .strip::-webkit-scrollbar { display: none; }
  .model, .plan[data-home="penthouse"] .model { flex: none; width: 156vw; margin: 0; }
  .plan.is-in .model { transform: none; }
  .model__pics { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%); }
  .model__glow { inset: -6% 0; }
  .planfoot { order: 2; flex: none; flex-wrap: wrap; align-items: center; gap: 0; padding: 0 var(--pad); }
  .panel { order: 3; flex: none; }
  .planfoot__back { order: 1; }
  .hint--plan { order: 2; padding-bottom: 0; }
  .roomlist { order: 3; display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 22px; }
  .roomlist .btn { padding: 13px 14px 12px; border-color: var(--hair); }
  .planfoot .cap { order: 4; width: 100%; margin-top: 26px; }
  .cap__line { font-size: 19px; white-space: normal; line-height: 1.15; }
  .panel { align-self: stretch; width: auto; margin: 30px var(--pad) 0; transform: translate3d(0, 14px, 0); }
  .panel__name { font-size: 38px; }

  /* Room: each picture has its own focus point, so the crop shows its best part. */
  .room__pic { object-position: var(--focus, 50%) 50%; }

  /* Below the tower: one column. */
  .ch__aside, .cue { display: none; }
  .house__grid { display: block; margin-top: 48px; }
  .house__text { margin-top: 44px; padding-bottom: 0; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div { padding: 22px 14px 26px 0; }
  .figures > div + div { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .homes__grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .home--low { margin-top: 0; }
  .home--low .home__pic { aspect-ratio: 16 / 10; }
  .home__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery__track { align-items: flex-start; }
  .shot, .shot--small { --h: 42svh; align-self: flex-start; }
  .shot img { width: calc(var(--h) * 1.25); }
  .shot--small img { width: calc(var(--h) * .9); }
  .amen__grid { display: block; }
  .amen__stage { top: 0; z-index: 3; margin: 0 calc(var(--gut) * -1); padding: 12px var(--gut) 12px; background: var(--paper); }
  .amen__pics { height: 38svh; width: 100%; aspect-ratio: auto; }
  .amen__count { margin-top: 10px; }
  .amen__row { grid-template-columns: 44px minmax(0, 1fr); padding: 26px 0; }
  .amen__row.is-on h3 { transform: none; }
  .addr { min-height: 100svh; }
  .addr__in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 24svh; }
  .ask { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .foot__row { flex-direction: column; }
}

/* ---------- Less motion: no zoom, no push-in, no pulse; plain short fades ---------- */
@media (prefers-reduced-motion: reduce) {
  .tower__zoom, .tower.is-leaving .tower__zoom { transform: none; transition: opacity .2s ease; }
  .crown.is-on img, .room__pic.is-on, .hint__dot::after, .plan.is-in .spot__ring::after { animation: none; }
  .model, .plan.is-in .model, .panel, .plan.is-in .panel { transform: none; transition: opacity .2s ease; }
  .card, .card.is-on { transition: opacity .2s ease, visibility 0s; }
  .card.is-docked { transform: none; }
  .veil, .veil.is-on, .crown, .crown.is-on, .plan, .plan.is-on, .room, .room.is-on { transition-duration: .2s, 0s; }
  .room__pic { transition-duration: .2s; }
  .spot__ring, .spot__chip, .nav a::after { transition: opacity .2s ease; }
  .js [data-split] .w__i { transform: none; transition: none; }
  .js [data-reveal]:not(.frame) { transform: none; transition: opacity .3s ease; }
  .js .frame[data-reveal] .frame__in, .js .frame[data-reveal].is-in .frame__in { clip-path: none; transform: none; transition: none; }
  .frame__in img, .addr__pic img { transform: none; }
  .amen__pics img { transform: none; transition: opacity .3s ease; }
  .ribbon__track, .cue i::after { animation: none; }
  .bar { transition: none; }
}
