/* Astra Tower. The reference's (5151 Apartments) layout language and
 * components, in Astra's palette. Tokens follow docs/rebuild/design-brief.md
 * "Final brief / Tokens". */

@font-face {
  font-family: Satoshi;
  src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff;
  --mist: #efeeea;
  --panel: #dfdcd4;
  --ink: #2f3639;
  --ink-2: #465155;
  --slate: #465155;
  --muted: #5c6669;
  --accent: #49777d;
  --accent-dark: #40686d;
  --accent-tint: #d3e0e1;
  --brass: #b9935c;
  /* Availability (explorer, plan tiles): champagne and brass on the dark glass
     and white frame. Text tokens hold 4.5:1 on white and on --avail-tint;
     --avail-line holds 3:1 for strokes and pins; white on --avail-deep 7.6:1. */
  --avail: #c9a96e;
  --avail-fill: rgba(201, 169, 110, 0.55);
  --avail-line: #9c7a45;
  --avail-deep: #6b4f26;
  --avail-tint: #f3ead8;
  --avail-text: #7a5a2b;
  --notice: var(--notice);
  --error: var(--error);
  --stone: #a7a09a;
  --line: #dfdcd4;
  --line-dark: #4d585c;
  --ink-soft: #bdbec4;
  --gutter: clamp(22px, 4.8vw, 88px);
  --opening-gutter: clamp(22px, 2.25vw, 44px);
  --opening-font: Satoshi, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-both: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 56px;
  --shadow-float: 0 12px 44px rgba(47, 54, 57, 0.2);
  --shadow-ctrl: 0 0 0 1px rgba(47, 54, 57, 0.12), 0 2px 8px rgba(47, 54, 57, 0.08);
}

* { box-sizing: border-box; }
html {
  color-scheme: light;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Satoshi, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button, a, input, select, summary { touch-action: manipulation; }
button:disabled, button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.5; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--ink); color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -100px; left: 20px; background: #fff; padding: 15px; z-index: 100; }
.skip-link:focus-visible { top: 12px; }
.skip-link:focus:not(:focus-visible) { top: -100px; }
main:focus { outline: none; }
.arrow-glyph { font-family: Satoshi, sans-serif; font-variant-emoji: text; display: inline-block; }
.num { font-variant-numeric: tabular-nums; }

/* ── Wordmark: the Astra Tower logo lettering, in currentColor ── */
.wordmark { display: inline-flex; align-items: center; line-height: 1; }
.wordmark svg { width: 2.17em; height: 1em; flex: none; display: block; }
.mark svg { width: 100%; height: auto; display: block; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 25;
  height: var(--header-h);
  display: flex; align-items: center; gap: 36px;
  padding: 0 var(--opening-gutter);
  background: #fff;
  color: var(--ink);
  font-family: var(--opening-font);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, color 0.2s, border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.menu-toggle {
  width: 44px; height: 44px; margin-left: -6px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 6px;
}
.menu-toggle span { display: block; width: 32px; height: 1px; background: currentColor; }
.site-header .brand { margin-right: auto; font-size: 32px; display: inline-flex; align-items: center; min-height: 44px; }
/* The homepage keeps the smaller mark: the opening identity docks into it. */
.home-header .brand { font-size: 22px; }
/* Menu typography (client revisions 1): uppercase and tracked, as the 5151
   reference. Satoshi-Variable.woff2 is a single static weight (300), so
   font-weight cannot thicken it; a hairline stroke in the text colour gives the
   links a medium weight instead. */
.header-actions { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; -webkit-text-stroke: 0.025em currentColor; }
.header-actions a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.header-actions .btn-tour {
  background: var(--ink); color: #fff; padding: 0 18px; min-height: 36px;
  transition: background-color 0.2s;
}
.header-actions .btn-tour:hover { background: var(--ink-2); }
.header-actions a:not(.btn-tour):hover { text-decoration: underline; text-underline-offset: 5px; }

/* Home: the header floats over the opening and the identity docks into it. */
.home-header { position: fixed; inset: 0 0 auto; background: transparent; pointer-events: none; }
.home-header > * { pointer-events: auto; }
.home-header .brand { visibility: hidden; }
body.is-departed .home-header { background: var(--ink); color: #fff; }
body.is-departed .home-header .brand { visibility: visible; }
body.is-departed .home-header .btn-tour { background: #fff; color: var(--ink); }
body.nav-light .home-header { color: #fff; }

/* ── Drawer (Skyview side menu: stepped panel, exact timing) ──────────── */
.side-menu {
  position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none;
  border: 0; margin: 0; padding: 0; background: transparent; overflow: hidden;
  color: var(--ink); font-family: var(--opening-font);
}
.side-menu::backdrop { background: var(--ink); opacity: 0; transition: opacity 0.42s; }
.side-menu[data-visible="true"]::backdrop { opacity: 0.5; }
.side-menu-panel {
  position: relative; width: min(760px, 55vw); height: 100%; background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 92% 76%, 92% 100%, 0 100%);
  padding: 24px clamp(32px, 4.2vw, 80px) 48px;
  display: flex; flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.65s var(--ease-out);
  overflow-y: auto;
}
.side-menu[data-visible="true"] .side-menu-panel { transform: translateX(0); }
.side-menu[data-visible="false"] .side-menu-panel { transition-duration: 0.4s; transition-timing-function: var(--ease-in); }
.side-menu-top { display: flex; align-items: center; min-height: 32px; padding-left: 62px; font-size: 19px; }
.side-menu .menu-close { position: fixed; top: 6px; left: var(--opening-gutter); width: 44px; height: 44px; z-index: 3; margin-left: -6px; }
.side-menu .menu-close span {
  position: absolute; left: 6px; top: 18px; width: 32px; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.side-menu .menu-close span:last-child { top: 25px; }
.side-menu[data-visible="true"] .menu-close span:first-child { transform: translateY(3.5px) rotate(45deg); }
.side-menu[data-visible="true"] .menu-close span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.side-menu nav { margin: auto 0; padding: 48px 0; display: flex; flex-direction: column; }
.side-menu nav a {
  display: flex; align-items: center; gap: 20px; padding: 11px 0;
  font-size: clamp(18px, 1.55vw, 24px); font-weight: 500; line-height: 1.15; letter-spacing: 0.06em; text-transform: uppercase; -webkit-text-stroke: 0.022em currentColor;
  opacity: 0; transform: translateX(-48px);
  transition: opacity 0.42s, transform 0.55s var(--ease-out); transition-delay: 0s;
}
.side-menu nav a[aria-current="page"] { color: var(--accent); }
.side-menu nav a > .arrow-glyph { margin-left: auto; font-size: 20px; opacity: 0; transition: opacity 0.2s; }
.side-menu nav a:hover > .arrow-glyph, .side-menu nav a:focus-visible > .arrow-glyph { opacity: 1; }
.side-menu[data-visible="true"] nav a { opacity: 1; transform: none; transition-delay: 140ms; }
.side-menu[data-visible="false"] nav a { opacity: 0; transform: translateX(-48px); transition-duration: 0.25s; transition-delay: 0s; }
.side-menu-bottom { padding-right: 9%; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-family: Satoshi, Arial, sans-serif; }
.side-menu-bottom .btn { font-size: 12px; }
.side-menu-bottom p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.side-menu-bottom p a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* ── Buttons and links ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 48px; padding: 0 20px; background: var(--ink); color: #fff;
  font-size: 13px; letter-spacing: 0.02em; white-space: nowrap;
  transition: background-color 0.2s, transform 0.12s;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.text-link { border-bottom: 1px solid currentColor; padding: 10px 0; display: inline-flex; gap: 16px; align-items: center; font-size: 13px; letter-spacing: 0.02em; }
.text-link:hover { color: var(--accent); }
.inline-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-link:hover { color: var(--accent); }
.label { font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }

/* ── Home opening (Skyview clubhouse arrival, adapted) ─────────────────── */
.arrival {
  --arrival: 0; --identity-scale: 1; --identity-x: var(--opening-gutter); --identity-y: 20svh;
  --panel-y: 20svh; --step-height: calc(4.24vw + 16px); --image-rise: 0px;
  position: relative; height: 300svh; background: #fff;
}
.arrival-stage { height: 100svh; position: sticky; top: 0; overflow: hidden; isolation: isolate; background: var(--panel); }
.arrival-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 125svh; max-width: none;
  object-fit: cover; object-position: 50% 30%;
  transform: translate3d(0, var(--image-rise), 0); will-change: transform;
}
.arrival-white-panel { position: absolute; inset: 0 0 auto; height: 100%; background: #fff; transform: translate3d(0, calc(var(--panel-y) - 100%), 0); will-change: transform; }
.arrival-white-step { position: absolute; top: 0; left: 0; width: 50.5%; height: var(--step-height); background: #fff; transform: translate3d(0, calc(var(--panel-y) - 1px), 0); }
.arrival-identity {
  position: fixed; top: 0; left: 0; z-index: 30;
  transform: translate3d(var(--identity-x), var(--identity-y), 0) scale(var(--identity-scale));
  transform-origin: top left; will-change: transform;
  color: color-mix(in srgb, var(--ink) calc((1 - var(--nav-light, 0)) * 100%), white);
  font-size: 7vw; /* the Astra Tower wordmark carries the opening */
}
.arrival-identity p { margin: 0; line-height: 1; }
.arrival-scroll { position: absolute; left: calc(50.5% - 36px); top: calc(var(--panel-y) + var(--step-height) - 29px); opacity: calc(1 - var(--arrival) * 2); }
.arrival-scroll::after { content: ""; position: absolute; inset: -16px; }
.arrival-scroll b { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform 0.25s; }
.arrival-scroll b svg { width: 8px; height: 8px; }
.arrival-scroll:hover b { transform: translateY(3px); }
.arrival[data-settled="true"] .arrival-scroll { visibility: hidden; }
/* Hero line, bottom right over the photo; fades out as the opening scrolls on. */
.arrival-claim {
  position: absolute; right: var(--opening-gutter); bottom: clamp(28px, 6svh, 64px); margin: 0; max-width: 12ch; text-align: right;
  font-family: Satoshi, Arial, sans-serif; font-weight: 300; font-size: clamp(40px, 5.2vw, 92px); line-height: 0.98; letter-spacing: -0.02em;
  color: #fff; text-shadow: 0 2px 24px rgba(47, 54, 57, 0.55), 0 1px 3px rgba(47, 54, 57, 0.45);
  opacity: clamp(0, calc(1 - var(--arrival) * 3), 1); pointer-events: none;
}
.arrival-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: #fff9; transform-origin: left; transform: scaleX(var(--arrival)); }

.following-layer { position: relative; z-index: 6; margin-top: -65svh; background: var(--ink); color: #fff; }
.next-chapter { position: relative; padding: 72px var(--opening-gutter) 72px; }
.next-chapter-tab { position: absolute; left: 0; top: -95px; height: 96px; width: 52%; background: var(--ink); }
.next-chapter h1 {
  font-size: clamp(26px, 3.1vw, 50px); font-weight: 300; line-height: 1.24; letter-spacing: -0.015em;
  text-indent: 28%; max-width: 1180px; text-wrap: pretty;
}
.next-chapter-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 52px; flex-wrap: wrap; }
.next-chapter-bottom p { font-size: 14px; color: var(--ink-soft); max-width: 42ch; }
.next-chapter-bottom a { border-bottom: 1px solid #ffffff9a; padding: 14px 0; display: inline-flex; gap: 40px; align-items: center; font-size: 14px; }
.next-chapter-bottom a .arrow-glyph { font-size: 22px; transition: transform 0.3s var(--ease-out); }
.next-chapter-bottom a:hover .arrow-glyph { transform: translate(4px, 4px); }

/* Boot cover (Skyview hero-boot) */
.hero-boot { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #fff; transition: opacity 0.55s ease 0.15s; }
.hero-boot[data-state="leaving"] { opacity: 0; pointer-events: none; }
.hero-boot-mark { font-size: clamp(30px, 6vw, 56px); color: var(--ink); will-change: transform; }
.hero-boot[data-state="loading"] .hero-boot-mark { animation: boot-beat 1.6s ease-in-out infinite; }
.hero-boot[data-state="leaving"] .hero-boot-mark { transition: transform 0.8s var(--ease-both); }
@keyframes boot-beat { 0%, 100% { transform: scale(1); opacity: 0.82; } 50% { transform: scale(1.045); opacity: 1; } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 96px var(--gutter); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 66px); }
.section-head p { color: var(--muted); max-width: 52ch; }
.page-intro { padding: 88px var(--gutter) 56px; }
.page-intro .label { margin-bottom: 22px; display: block; }
.page-intro h1 { font-size: clamp(48px, 7.5vw, 108px); letter-spacing: -0.055em; margin-bottom: 28px; }
.page-intro .intro-body { font-size: 18px; color: var(--muted); max-width: 640px; }
.page-intro .intro-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 34px; }
.crumb { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); min-height: 44px; }
.crumb:hover { color: var(--ink); }

/* Editorial chapters: large real photographs with a narrow text column. */
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; align-items: end; padding: 0 var(--gutter); margin-bottom: 96px; }
.chapter figure { grid-column: 1 / span 8; }
.chapter figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.chapter figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.chapter-text { grid-column: 10 / span 3; padding-bottom: 8px; }
.chapter-text h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 20px; }
.chapter-text p { color: var(--muted); margin-bottom: 22px; }
.chapter.flip figure { grid-column: 5 / span 8; grid-row: 1; }
.chapter.flip .chapter-text { grid-column: 1 / span 3; grid-row: 1; }
.chapter-wide { padding: 0 var(--gutter); margin-bottom: 96px; }
.chapter-wide img { width: 100%; height: min(78svh, 760px); object-fit: cover; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* Tour band (Skyview "waitlist band", adapted to booking a visit). */
.tour-band { padding: 88px var(--gutter); background: var(--mist); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.tour-band h2 { font-size: clamp(42px, 7vw, 104px); letter-spacing: -0.055em; line-height: 1.02; }
.tour-band h2 a { display: inline-block; }
.tour-band h2 a .arrow-glyph { font-weight: 300; margin-left: 0.15em; transition: transform 0.4s var(--ease-out); }
.tour-band h2 a:hover .arrow-glyph { transform: translate(8px, -8px); }
.tour-band-side { display: grid; gap: 18px; font-size: 15px; }
.tour-band-side p { color: var(--muted); }
.tour-band-side .row { display: flex; flex-wrap: wrap; gap: 12px; }
.tour-band-side .tour-band-criteria { font-size: 13px; }

/* ── Footer (Skyview four columns) ────────────────────────────────────── */
.site-footer { position: relative; z-index: 6; background: #fff; padding: 56px var(--gutter) 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; align-items: start; }
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-brand-col .brand { font-size: 36px; }
.footer-brand-col .powered-by-kiara { border-top: 1px solid var(--line); padding-top: 18px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 13px; }
.footer-group > h2 { margin: 0 0 8px; font-size: 12px; font-weight: 400; letter-spacing: 0.02em; color: var(--muted); }
.footer-group address { font-style: normal; line-height: 1.7; }
.footer-group a { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
.footer-group a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-hours { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 6px; }
.compliance-links a { gap: 10px; min-height: 40px; }
.compliance-links svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.footer-eho { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); max-width: 980px; }
.footer-eho svg { width: 40px; height: 40px; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--muted); margin-top: 22px; }
.footer-bottom > span:first-child { margin-right: auto; color: var(--ink); }
.powered-by-kiara { --kiara-orange: #f26440; display: inline-flex; align-items: center; gap: 12px; color: var(--muted); transition: opacity 0.2s; min-height: 44px; }
.pbk-label { font-size: 12px; white-space: nowrap; }
.pbk-lockup { display: inline-flex; align-items: center; gap: 9px; }
.pbk-mark, .pbk-wordmark { display: block; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.pbk-mark { width: 20px; height: 22px; color: var(--kiara-orange); -webkit-mask-image: url("/assets/brand/kiara-mark.png"); mask-image: url("/assets/brand/kiara-mark.png"); }
.pbk-wordmark { width: 79px; height: 19px; color: var(--ink); -webkit-mask-image: url("/assets/brand/kiara-wordmark.png"); mask-image: url("/assets/brand/kiara-wordmark.png"); }
.powered-by-kiara:hover { opacity: 0.72; }

/* ── Floor plan tiles (Skyview floor cards, two-up) ───────────────────── */
.plan-filter { margin: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; flex-wrap: wrap; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .seg a {
  font-size: 13px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); display: inline-flex; align-items: center;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.seg button:hover, .seg a:hover { border-color: var(--ink); }
.seg [aria-pressed="true"], .seg [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-results { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); margin: 22px var(--gutter); }
.plan-grid { margin: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 56px 44px; }
.plan-tile { display: block; position: relative; }
.plan-tile-image { display: block; aspect-ratio: 16 / 10; background: var(--mist); padding: 28px; position: relative; overflow: hidden; }
.plan-tile-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.65s var(--ease-both); }
.plan-tile:hover .plan-tile-image img { transform: scale(1.035); }
.plan-tile-image .arrow-glyph { position: absolute; right: 20px; top: 16px; font-size: 24px; }
.plan-tile-info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; }
.plan-tile-info h3 { font-size: 30px; }
.plan-tile-info span { font-size: 13px; }
.plan-tile-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.plan-tile-meta .avail { color: var(--avail-text); }
.plan-tile[hidden] { display: none; }
.plan-note { font-size: 13px; color: var(--muted); margin: 44px var(--gutter) 88px; max-width: 820px; }

/* ── Plan detail and apartment detail ─────────────────────────────────── */
.detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding: 0 var(--gutter) 88px; align-items: start; }
.detail-media { background: var(--mist); position: relative; }
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; padding: 28px; }
.detail-media figcaption { font-size: 12px; color: var(--muted); padding: 0 16px 14px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.facts div { padding: 14px 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.detail-rent { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.detail-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.detail-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.detail-links a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.notice { background: var(--notice); border-left: 3px solid var(--brass); padding: 14px 16px; font-size: 14px; margin-bottom: 20px; }
.notice[hidden] { display: none; }
.fees-block { font-size: 13px; color: var(--muted); max-width: 70ch; margin-top: 18px; }
.fees-block summary { cursor: pointer; color: var(--ink); min-height: 40px; display: flex; align-items: center; }
.fees-block ul { padding-left: 18px; margin: 6px 0 10px; }

/* ── Gallery ──────────────────────────────────────────────────────────── */
.gallery-seq { padding: 0 var(--gutter) 88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gallery-seq figure { margin: 0; }
.gallery-seq figure[hidden] { display: none; }
.gallery-seq button { display: block; width: 100%; overflow: hidden; }
.gallery-seq img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.65s var(--ease-both); }
.gallery-seq button:hover img { transform: scale(1.02); }
.gallery-seq figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }

/* Lightbox and tour dialogs */
.lightbox, .tour-dialog { border: 0; padding: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: #2f3639; color: #fff; }
.lightbox::backdrop, .tour-dialog::backdrop { background: #2f3639; }
.lightbox[open], .tour-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.dlg-bar { display: flex; align-items: center; gap: 12px; padding: 8px var(--opening-gutter); min-height: 60px; }
.dlg-bar h2 { font-size: 18px; letter-spacing: -0.01em; margin-right: auto; }
.dlg-bar button, .dlg-bar a { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid #ffffff40; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #fff; }
.dlg-bar button:hover, .dlg-bar a:hover { border-color: #fff; }
.lightbox figure { display: grid; place-items: center; padding: 0 var(--opening-gutter); min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; }
.lightbox figcaption, .dlg-foot { padding: 10px var(--opening-gutter) 16px; font-size: 13px; color: var(--ink-soft); }
.tour-frame { position: relative; margin: 0 var(--opening-gutter); background: #000; min-height: 0; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--ink-soft); }
.tour-loading[hidden] { display: none; }

/* ── Forms (Skyview underline fields) ─────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-size: 13px; }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; background: transparent; font-size: 16px; border-radius: 0; min-height: 44px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .hint { font-size: 12px; color: var(--muted); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field-error { font-size: 12px; color: var(--error); }
.form-status { margin-top: 18px; font-size: 14px; padding: 14px 16px; background: var(--mist); }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #f8ebe8; }
.consent { font-size: 12px; color: var(--muted); }

/* ── Prose (policies, accessibility) and FAQ ─────────────────────────── */
.prose { padding: 0 var(--gutter) 96px; max-width: calc(64ch + 2 * var(--gutter)); }
.prose h2 { font-size: 28px; letter-spacing: -0.02em; margin: 40px 0 14px; }
.prose p, .prose li { color: var(--slate); margin-bottom: 12px; }
.prose ul { padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.faq-group { padding: 0 var(--gutter); margin-bottom: 48px; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 32px; }
.faq-group h2 { font-size: 26px; letter-spacing: -0.02em; }
.faq-group details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
.faq-group summary { cursor: pointer; padding: 16px 32px 16px 0; font-size: 17px; position: relative; list-style: none; min-height: 44px; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 300; transition: transform 0.25s var(--ease-out); }
.faq-group details[open] summary::after { transform: rotate(45deg); }
.faq-group .answer { padding: 0 0 18px; color: var(--slate); max-width: 70ch; }
.faq-group .answer p { margin-bottom: 10px; }
.faq-group .answer a { text-decoration: underline; text-underline-offset: 3px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table th { text-align: left; font-weight: 400; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--ink); padding: 8px 8px 8px 0; }
.data-table td { border-bottom: 1px solid var(--line); padding: 12px 8px 12px 0; vertical-align: top; }
.data-table a { text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 0 var(--gutter) 88px; align-items: start; }
.contact-list { display: grid; gap: 18px; font-size: 16px; }
.contact-list dt { font-size: 12px; color: var(--muted); }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.hours { font-size: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 4px 24px 4px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-boot[data-state="loading"] .hero-boot-mark { animation: none; }
}

.ex-stage[data-view="3d"] .h2d, .ex-stage[data-view="2d"] .h3d { display: none; }

.ex-stage[data-view="3d"].is-pointing { cursor: pointer; }
.detail .explorer { padding: 0; }
@media (max-width: 760px) {
  .arrival-white-step { width: 82%; }
  .arrival-scroll { left: calc(82% - 36px); }
  .arrival-identity { font-size: 10vw; }
}
.seg button .label, .seg a .label { margin-left: 8px; font-variant-numeric: tabular-nums; }
.seg [aria-pressed="true"] .label { color: rgba(255, 255, 255, 0.75); }

/* ── Header mark, home chapters ─────────────────────────────────────── */
/* Larger mark on every page but home (home's opening identity docks into its header). */
.site-header:not(.home-header) .brand { font-size: 40px; }
.side-menu-top { font-size: 40px; min-height: 44px; margin-top: -11px; }
.following-layer + .chapter { position: relative; z-index: 6; background: #fff; padding-top: 96px; }
.next-chapter-bottom { justify-content: flex-end; }
.next-chapter-bottom a:hover .arrow-glyph { transform: translate(4px, -4px); }

/* Explorer filters: three labelled chip groups in one row; sort sits with the results. */
.ex-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 16px 0; border-top: 1px solid var(--line); }
.ex-filters + .ex-bar { border-top-style: dashed; }
.ex-filters .ex-group { gap: 12px; }
.ex-filters .ex-group > .label { margin: 0; min-width: 0; }
.ex-filters-head { order: 9; margin-left: auto; display: flex; align-items: center; }
.ex-filters-head > span { display: none; }
.ex-chipset, .ex-sort { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-chipset button, .ex-sort button {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 13px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition-property: background-color, color, border-color, transform; transition-duration: 0.15s; transition-timing-function: ease-out;
}
.ex-chipset button:hover, .ex-sort button:hover { border-color: var(--ink); }
.ex-chipset button:active, .ex-sort button:active { transform: scale(0.97); }
.ex-chipset button[aria-pressed="true"], .ex-sort button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ex-sort button { min-height: 36px; padding: 0 11px; font-size: 12px; }

/* Results: compact apartment cards, hover tied to the building highlight. */
.ex-side-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.ex-side-head .ex-count { padding: 0; font-variant-numeric: tabular-nums; }
.ex-results { list-style: none; margin: 0; padding: 10px 2px 2px 0; display: grid; gap: 8px; align-content: start; overflow: auto; max-height: min(58vw, 620px); }
.ex-results li { position: relative; }
/* No plan image: the apartment number leads; a 360° tour button sits in its own
   column at the right edge (kept on every card so rents line up). */
.ex-res {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 11px 62px 11px 16px; border: 1px solid var(--line); background: #fff; text-align: left;
  transition-property: border-color, background-color, box-shadow; transition-duration: 0.15s; transition-timing-function: ease-out;
}
.ex-res-main, .ex-res-side { display: grid; gap: 1px; min-width: 0; }
.ex-res-n { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.ex-res-meta, .ex-res-floor { font-size: 12px; color: var(--muted); line-height: 1.35; text-wrap: pretty; }
.ex-res-side { text-align: right; }
.ex-res-rent { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ex-res-date { font-size: 12px; color: var(--avail-text); }
.ex-results li.is-hover .ex-res, .ex-res:hover { border-color: var(--avail-line); background: var(--avail-tint); }
.ex-results li.is-selected .ex-res { border-color: var(--avail-deep); background: var(--avail-tint); box-shadow: inset 4px 0 0 var(--avail-deep); }
.ex-list-empty { padding: 20px 4px; font-size: 14px; color: var(--muted); }

/* 360° tour button: plan cards (top left), result cards, gallery picker. */
.tour-360 {
  position: absolute; left: 10px; top: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(47, 54, 57, 0.12), 0 2px 8px rgba(47, 54, 57, 0.12);
  transition-property: background-color, color, transform; transition-duration: 0.15s; transition-timing-function: ease-out;
}
.tour-360:hover { background: var(--ink); color: #fff; }
.tour-360:active { transform: scale(0.94); }
.i360 { width: 32px; height: 32px; display: block; }
.tour-360.ex-res-tour { left: auto; right: 11px; top: calc(50% - 19px); width: 38px; height: 38px; }
.tour-360.ex-res-tour::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; }
.tour-360.ex-res-tour .i360 { width: 28px; height: 28px; }
.ex-results li.is-hover .tour-360.ex-res-tour:not(:hover) { box-shadow: 0 0 0 1px rgba(47, 54, 57, 0.22), 0 2px 8px rgba(47, 54, 57, 0.12); }

/* Layouts: a compact grid, four across on desktop, two on phones. */
.layouts-head { padding: 0 var(--gutter); margin-bottom: 24px; grid-template-columns: minmax(0, 1fr); }
.plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.plan-grid-inset { margin: 0; }
.plan-tile-link { display: block; }
.plan-tile-image { aspect-ratio: 4 / 3; padding: 16px; }
.plan-tile-info { padding-top: 12px; flex-wrap: wrap; gap: 4px 12px; }
.plan-tile-info h3 { font-size: 24px; letter-spacing: -0.03em; }
.plan-tile-info span { font-size: 12px; color: var(--muted); }
.plan-tile-meta { gap: 2px 14px; font-size: 12px; margin-top: 4px; }
.plan-tile-meta .avail.is-none { color: var(--muted); }
.plan-tile-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 1280px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Plan page: live availability beside the render. */
.plan-avail { margin-bottom: 8px; }
.plan-avail h2 { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.plan-avail-none { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.plan-avail-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); font-variant-numeric: tabular-nums; }
.plan-avail-list a {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) auto 64px; gap: 12px; align-items: baseline;
  padding: 12px 6px; border-bottom: 1px solid var(--line); min-height: 48px; transition: background-color 0.15s ease-out;
}
.plan-avail-list a:hover { background: var(--mist); }
.pa-n { font-size: 17px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pa-f, .pa-date { font-size: 13px; color: var(--muted); }
.pa-rent { font-size: 17px; font-weight: 500; text-align: right; }
.pa-date { text-align: right; }
.plan-avail-note, .plan-avail-stamp { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Fees and deposits: a full-width row that reads as something to open. */
.fees-block { margin-top: 24px; max-width: none; border: 1px solid var(--ink); color: var(--muted); }
.fees-block summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 0 18px; font-size: 15px; color: var(--ink); transition: background-color 0.15s ease-out;
}
.fees-block summary::-webkit-details-marker { display: none; }
.fees-block summary:hover { background: var(--mist); }
.fees-block summary i { position: relative; width: 14px; height: 14px; flex: none; }
.fees-block summary i::before, .fees-block summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform 0.25s var(--ease-out); }
.fees-block summary i::after { transform: rotate(90deg); }
.fees-block[open] summary i::after { transform: rotate(0deg); }
.fees-block[open] summary { border-bottom: 1px solid var(--line); }
.fees-block p { padding: 14px 18px 18px; font-size: 13px; text-wrap: pretty; }

/* Gallery: virtual tours first, then a dense masonry of photographs. */
.vt { padding: 0 var(--gutter) 56px; }
.vt-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 18px; }
.vt-head h2 { font-size: clamp(30px, 3.2vw, 46px); }
.vt-head p { font-size: 14px; color: var(--muted); max-width: 52ch; }
.vt-spaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vt-space { position: relative; display: block; width: 100%; overflow: hidden; background: var(--mist); }
.vt-space img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.vt-space:hover img { transform: scale(1.03); }
.vt-space-name { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px 5px 7px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.2; transition: background-color 0.15s, color 0.15s; }
.vt-space:hover .vt-space-name { background: var(--ink); color: #fff; }
.vt-space-name .i360 { width: 32px; height: 32px; }
.vt-sub { font-size: 18px; font-weight: 500; letter-spacing: 0; margin: 24px 0 10px; }
.vt-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 10px; }
.vt-plan {
  width: 100%; display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 12px; align-items: center; text-align: left;
  padding: 8px 12px 8px 8px; border: 1px solid var(--line); min-height: 68px;
  transition-property: border-color, background-color; transition-duration: 0.15s; transition-timing-function: ease-out;
}
.vt-plan:hover { border-color: var(--ink); background: var(--mist); }
.vt-plan img { grid-row: 1 / span 2; width: 68px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--mist); mix-blend-mode: multiply; padding: 2px; }
.vt-plan-name { font-size: 19px; font-weight: 500; line-height: 1.2; }
.vt-plan-meta { font-size: 14px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.gallery-filter { margin-bottom: 18px; }
.gallery-seq { display: block; columns: 5 180px; column-gap: 8px; padding: 0 var(--gutter) 88px; }
.gallery-seq figure { break-inside: avoid; margin: 0 0 8px; }
.gallery-seq img { aspect-ratio: auto; height: auto; } /* each photo carries its own ratio inline (build.mjs ratioStyle) */

/* Contact: an interactive map of the building. */
.contact-map-band { padding: 0 var(--gutter) 88px; }
.contact-map { position: relative; aspect-ratio: 21 / 8; min-height: 360px; background: #353d40; overflow: hidden; }
.contact-map-canvas { position: absolute; inset: 0; }
.contact-map-status { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--ink-soft); pointer-events: none; }
.contact-map-status[hidden] { display: none; }
.contact-map-marker { width: 74px; height: 40px; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); position: relative; }
.contact-map-marker::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.contact-map-marker svg { width: 52px; height: auto; }
.contact-map-foot { margin-top: 12px; font-size: 14px; }
.contact-map .maplibregl-ctrl-group { border-radius: 0; }
.contact-map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Move in by: a native date input dressed as one of the chips. */
.ex-date { align-items: center; }
.ex-date input[type="date"] {
  min-height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--muted);
  font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 150px;
  transition-property: border-color, color, background-color; transition-duration: 0.15s; transition-timing-function: ease-out;
}
.ex-date input[type="date"]:hover { border-color: var(--ink); }
/* Date inputs focus their inner fields, which :focus-visible misses: ring on :focus. */
.ex-date input[type="date"]:focus, .field input[type="date"]:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.ex-date input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.55; padding: 4px; margin-left: 4px; transition: opacity 0.15s; }
.ex-date input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }
.ex-date.has-value input[type="date"] { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* Desktop: "Clear all" sits at the right of the view row below, so turning a
   filter on never adds a line and moves the map. */
@media (min-width: 761px) {
  .ex-toolbar { position: relative; }
  .ex-filters { position: relative; }
  .ex-filters-head { position: absolute; right: 0; top: calc(100% + 14px); height: 44px; margin: 0; }
}

/* ── Book a tour card (assets/js/book-tour.js) ── */
.book-dialog { border: 0; padding: 0; margin: auto; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(47, 54, 57, 0.6); overflow: auto; overscroll-behavior: contain; }
.book-dialog::backdrop { background: rgba(47, 54, 57, 0.62); backdrop-filter: blur(3px); }
.book-dialog[open] { animation: bt-in 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes bt-in { from { transform: translateY(14px); } to { transform: none; } }
.bt-card { padding: 34px 38px 32px; }
.book-inline { max-width: 680px; }
.bt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.bt-title { margin: 0; font-size: clamp(30px, 3.2vw, 42px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.bt-close { flex: none; width: 44px; height: 44px; margin: -8px -10px 0 0; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.bt-close:hover { background: var(--ink); color: #fff; }
.bt-context { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.bt-form { margin-top: 26px; display: grid; gap: 26px; }
.bt-form[hidden], .bt-done[hidden] { display: none; }
.bt-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.bt-step[hidden] { display: none; }
.bt-label { display: block; padding: 0; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.bt-label .hint { margin-left: 8px; }
.bt-loading { margin: 0; font-size: 14px; color: var(--muted); }
.bt-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bt-days button { flex: 0 0 64px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 0 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.bt-days small { font-size: 11px; color: var(--muted); }
.bt-days b { font-size: 22px; font-weight: 400; line-height: 1.1; }
.bt-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bt-times button { min-height: 44px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.bt-days button:hover, .bt-times button:hover { border-color: var(--ink); }
.bt-days button[aria-checked="true"], .bt-times button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bt-days button[aria-checked="true"] small { color: var(--ink-soft); }
.bt-days button:focus-visible, .bt-times button:focus-visible, .bt-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bt-evicted > span:first-child { font-size: 13px; }
.bt-yn { display: flex; gap: 22px; padding: 10px 0 6px; border-bottom: 1px solid transparent; }
.bt-yn label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.bt-yn input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.bt-form .consent { margin: -6px 0 0; }
.bt-submit { justify-self: start; min-width: 200px; }
.bt-done { margin-top: 22px; }
.bt-done:focus { outline: none; }
.bt-done .bt-done-when { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; }
.bt-done p { font-size: 15px; line-height: 1.6; }
.bt-where { color: var(--muted); font-size: 13px !important; }
html.has-dialog { overflow: hidden; }
@media (max-width: 760px) {
  .book-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .bt-card { padding: 22px 22px 28px; }
  .bt-form .form-grid { grid-template-columns: 1fr; }
  .bt-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .book-dialog[open] { animation: none; } }

/* ═══════════════════ Astra Tower ═══════════════════ */
.site-header .brand, .site-header:not(.home-header) .brand { font-size: 34px; }
.home-header .brand { font-size: 30px; }
.side-menu-top { font-size: 34px; padding-left: 62px; }
.offer-line { margin: 0; background: var(--panel); color: var(--ink); font-size: 13px; padding: 9px var(--opening-gutter); }
.offer-line a { display: inline-block; min-height: 24px; }
.offer-line .u { text-decoration: underline; text-underline-offset: 3px; }
.offer-line a:hover .u { color: var(--accent-dark); }
.header-actions a.ha-secondary { color: var(--ink); }
/* Home: while the photo is under the header, a dark scrim keeps the links at
   4.5:1 or better on the dusk sky, and they switch to white. */
.home-header { top: var(--offer-shift, 0px); transition: background-color 0.25s ease-out; }
body.nav-light:not(.is-departed) .home-header { background: rgba(30, 36, 38, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.nav-light .home-header a.ha-secondary, body.is-departed .home-header a.ha-secondary { color: #fff; }
body.nav-light .home-header .btn-tour { background: #fff; color: var(--ink); }
/* Reduced motion: no docking. The wordmark scrolls with the page like any
   heading, and the header shows the logo from the start. */
@media (prefers-reduced-motion: reduce) {
  .arrival { height: auto; }
  .arrival-stage { position: relative; }
  .following-layer { margin-top: 0; }
  .arrival-identity { position: absolute; z-index: 5; }
  .home-header .brand { visibility: visible; }
}
.page-intro .intro-body.small { font-size: 15px; margin-top: 10px; }
.small { font-size: 13px; }
.h2-chapter { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 16px; }
.h4 { font-size: 18px; font-weight: 500; letter-spacing: 0; margin: 28px 0 12px; }
.hint { font-size: 12px; color: var(--muted); }
.notice { background: var(--notice); }

/* Home: tower preview beside the live count */
.tower-preview { position: relative; z-index: 6; background: #fff; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: center; padding: 96px var(--gutter); }
.tower-preview-figure { position: relative; display: block; background: var(--mist); }
.tower-preview-figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; transition: transform 0.65s var(--ease-both); }
.tower-preview-figure:hover img { transform: scale(1.015); }
.tp-level { position: absolute; right: 14px; bottom: calc(var(--z) * 78% + 6%); font-size: 12px; color: var(--slate); background: rgba(255, 255, 255, 0.86); padding: 2px 8px; }
.tower-preview-text h2 { font-size: clamp(36px, 4.6vw, 66px); margin-bottom: 18px; }
.tp-count { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.tower-preview-text > p:not(.tp-count) { color: var(--muted); max-width: 46ch; margin-bottom: 16px; }
.tp-beds { list-style: none; padding: 0; margin: 28px 0 18px; border-top: 1px solid var(--line); }
.tp-beds li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.tp-beds a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tp-beds a:hover { color: var(--accent-dark); }
.tp-beds span { color: var(--muted); }
.tp-note { font-size: 13px; }
.chapter-text.wide { grid-column: 9 / span 4; }
.chapter.flip .chapter-text.wide { grid-column: 1 / span 4; }
.film { position: relative; }
.film video { width: 100%; height: auto; display: block; background: #000; }
.film-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-float); transition-property: transform, background-color, color; transition-duration: 0.15s; transition-timing-function: ease-out; }
.film-play svg { width: 28px; height: 28px; margin-left: 3px; }
.film-play:hover { background: var(--ink); color: #fff; }
.film-play:active { transform: scale(0.96); }
.award { margin-top: 8px; }
.award img { width: 120px; height: auto; }

/* ── The Astra Tower explorer ── */
.explorer { padding: 0 var(--gutter) 72px; scroll-margin-top: 80px; }
.explorer-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.explorer-head h2 { font-size: clamp(30px, 3.2vw, 46px); }
.explorer-summary { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-toolbar { margin-bottom: 14px; }
.ex-group { display: flex; align-items: center; flex-wrap: wrap; }
.ex-filters-close, .ex-filter-toggle { display: none; }
.ex-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.ex-tabs, .ex-bands { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-tabs button, .ex-bands button {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition-property: background-color, color, border-color, transform; transition-duration: 0.15s; transition-timing-function: ease-out;
}
.ex-tabs button:hover, .ex-bands button:hover { border-color: var(--ink); }
.ex-tabs button:active, .ex-bands button:active { transform: scale(0.97); }
.ex-tabs button[aria-pressed="true"], .ex-bands button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ex-bands { margin-left: auto; }
.ex-bands .count { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--avail-tint); color: var(--avail-text); font-size: 11px; font-weight: 500; }
.ex-bands button[aria-pressed="true"] .count { background: var(--avail); color: var(--ink); }
.ex-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ex-chips:empty { display: none; }
.ex-chips button { min-height: 36px; padding: 0 12px; background: var(--mist); font-size: 13px; transition: background-color 0.15s ease-out; }
.ex-chips button:hover { background: var(--panel); }
.ex-reset { font-size: 13px; min-height: 40px; }

.ex-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ex-main-col { min-width: 0; }
.ex-stepper { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 8px; }
.ex-stepper .ex-floor-label { margin-right: auto; font-size: 15px; font-variant-numeric: tabular-nums; }
.ex-stepper button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition-property: border-color, background-color, transform; transition-duration: 0.15s; transition-timing-function: ease-out; }
.ex-stepper button:hover { border-color: var(--ink); }
.ex-stepper button:active { transform: scale(0.95); }
.ex-stage { position: relative; height: clamp(480px, calc(100svh - 270px), 700px); background: var(--mist); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ex-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ex-fade { pointer-events: none; opacity: 0; }
.ex-overlay, .ex-plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.ex-stage[data-view="3d"] .ex-plan, .ex-stage[data-view="2d"] .ex-overlay, .ex-stage[data-view="2d"] canvas { display: none; }
.ex-stage[data-view="2d"] { background: #fff; }
.ex-stage.is-dragging { cursor: grabbing; }
.ex-overlay .hit { fill: transparent; stroke: none; cursor: pointer; outline: none; }
.ex-overlay .hit:focus-visible { stroke: var(--avail-deep); stroke-width: 3; }
.ex-overlay .xray { fill: none; stroke: var(--avail-deep); stroke-width: 1.2; stroke-dasharray: 3 2; pointer-events: none; }
.ex-overlay .xray-top { fill: rgba(201, 169, 110, 0.5); stroke: var(--avail-deep); stroke-width: 1.6; pointer-events: none; }
.ex-overlay .xray-top.is-selected { fill: rgba(107, 79, 38, 0.85); stroke: #fff; stroke-width: 2.5; }
.ex-pin { cursor: pointer; outline: none; }
.ex-pin line { stroke: var(--ink); stroke-width: 1; }
.ex-pin circle { fill: var(--avail-line); stroke: #fff; stroke-width: 1.5; }
.ex-pin rect { fill: #fff; stroke: var(--avail-line); stroke-width: 1.4; }
.ex-pin text { font: 500 11px Satoshi, Arial, sans-serif; text-anchor: middle; dominant-baseline: middle; fill: var(--ink); font-variant-numeric: tabular-nums; }
.ex-pin.is-hover rect, .ex-pin:focus-visible rect { fill: var(--avail-tint); stroke: var(--avail-deep); stroke-width: 2; }
.ex-pin.is-selected rect { fill: var(--avail-deep); stroke: var(--avail-deep); }
.ex-pin.is-selected text { fill: #fff; }
.ex-pin.is-quiet .ex-dot { fill: transparent; stroke: transparent; r: 7; }
.ex-pin.is-quiet:focus-visible .ex-dot { stroke: var(--avail-deep); stroke-width: 2.5; }
.ex-pin.is-selected .ex-dot { fill: var(--avail-deep); stroke: #fff; }
.ex-plan .unit { stroke: var(--stone); stroke-width: 2; vector-effect: non-scaling-stroke; transition-property: fill, stroke, stroke-width; transition-duration: 0.16s; }
.ex-plan .unit.is-avail { fill: var(--avail); fill-opacity: 0.55; stroke: var(--avail-line); stroke-width: 1.6; cursor: pointer; outline: none; }
.ex-plan .unit.is-filtered { stroke: var(--avail-line); stroke-dasharray: 5 4; }
.ex-plan .unit.is-avail.is-hover, .ex-plan .unit.is-avail:focus-visible { fill-opacity: 0.85; stroke: var(--avail-deep); stroke-width: 2.5; }
.ex-plan .unit.is-selected { fill: var(--avail-deep); fill-opacity: 1; stroke: var(--avail-deep); stroke-width: 2.5; }
.ex-plan .sel-no { font: 500 30px Satoshi, Arial, sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.ex-plan .sel-cover { fill: var(--avail-deep); stroke: var(--avail-deep); stroke-width: 2.5; vector-effect: non-scaling-stroke; pointer-events: none; }
.ex-plan .d-text { pointer-events: none; }
.ex-plan .street-label text { font: 500 30px Satoshi, Arial, sans-serif; letter-spacing: 0.08em; fill: var(--slate); text-anchor: middle; dominant-baseline: middle; text-transform: uppercase; }
.ex-plan .amenity-label { font: 500 26px Satoshi, Arial, sans-serif; fill: var(--slate); text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 6px; }
.ex-plan-note { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 1px; }
.ex-plan-note:empty { display: none; }
.ex-stage[data-view="3d"] ~ .ex-plan-note { display: none; }

/* Floor gauge: a narrow elevation of the tower, one band per floor. */
.ex-gauge { position: absolute; left: 12px; top: 54px; bottom: 70px; width: 56px; z-index: 4; display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-ctrl); padding: 4px 0 6px; cursor: ns-resize; touch-action: none; outline: none; }
.ex-gauge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.g-all { display: grid; place-items: center; height: 26px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.g-bands { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.g-band { flex: 1; position: relative; display: flex; align-items: center; min-height: 0; }
/* Per-floor availability on the rail: a tick whose length follows the count, and the count. */
.g-band i { display: block; flex: none; height: 1px; width: 8px; margin-left: 8px; background: var(--line); transition-property: background-color, width, height; transition-duration: 0.15s; transition-timing-function: ease-out; }
.g-band.has i { background: var(--avail-line); width: calc(6px + var(--n, 1) * 3.5px); height: 3px; }
.g-band em { font-style: normal; font-size: 9px; line-height: 1; font-weight: 600; color: var(--avail-text); margin-left: 4px; font-variant-numeric: tabular-nums; }
.g-band.in-band i { background: var(--avail-deep); }
.g-band.is-hover i { background: var(--avail-deep); }
.g-band.is-hover em { color: var(--avail-deep); }
.g-band.is-on i { background: var(--avail-deep); height: 3px; }
.g-band b { position: absolute; right: 5px; font-size: 9px; font-weight: 500; color: var(--muted); line-height: 1; }
.g-band.is-level i { background: var(--stone); width: 10px; }
.g-thumb { position: absolute; right: -14px; transform: translateY(-50%); min-width: 30px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--avail-deep); color: #fff; font-size: 11px; font-weight: 500; display: grid; place-items: center; font-variant-numeric: tabular-nums; pointer-events: none; top: 0; transition: top 0.12s ease-out; }
.ex-stage[data-view="2d"] .ex-gauge .g-all { opacity: 0.4; }

.ex-compass { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; z-index: 3; transition: transform 0.25s var(--ease-out); }
.ex-controls { position: absolute; left: 80px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 4px; background: #fff; box-shadow: var(--shadow-ctrl); padding: 4px; }
.ex-controls button { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; font-size: 13px; transition-property: background-color, color; transition-duration: 0.15s; }
.ex-controls button:hover { background: var(--mist); }
.ex-controls button:active { background: var(--panel); }
.ex-controls .sep { width: 1px; height: 22px; background: var(--line); margin: 0 2px; }
.ex-controls .ex-see-plan { display: none; }
.explorer[data-cut="1"] .ex-stage[data-view="3d"] .ex-see-plan { display: grid; }
.ex-hint { position: absolute; right: 70px; top: 26px; z-index: 2; font-size: 12px; color: var(--muted); pointer-events: none; transition: opacity 0.3s ease-out; }
.explorer.is-used .ex-hint, .explorer[data-cut="1"] .ex-hint { opacity: 0; }
.ex-tip { position: absolute; z-index: 6; width: 210px; padding: 10px 12px; background: #fff; box-shadow: var(--shadow-float); font-size: 13px; line-height: 1.45; pointer-events: none; opacity: 0; transform: translateY(4px); transition-property: opacity, transform; transition-duration: 0.12s; transition-timing-function: ease-out; font-variant-numeric: tabular-nums; }
.ex-tip.is-on { opacity: 1; transform: none; }
.ex-tip strong { display: block; font-size: 15px; font-weight: 500; }
.ex-tip .muted { color: var(--muted); }
.ex-status { font-size: 13px; color: var(--muted); margin-top: 12px; }
.ex-status.is-saved { color: var(--ink); background: var(--notice); padding: 8px 12px; border-left: 3px solid var(--brass); }
.ex-note { font-size: 12px; color: var(--muted); margin-top: 6px; max-width: 80ch; }

.ex-side { position: sticky; top: 72px; }
.ex-results { max-height: min(70vh, 720px); }
.ex-res { padding: 11px 14px 11px 16px; }
.ex-res-base { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-res-date { color: var(--avail-text); }
.ex-res-floor { display: flex; align-items: center; gap: 6px; }
.ex-res-ic { display: inline-flex; color: var(--avail-text); }
.ex-res-ic .i-play { width: 16px; height: 16px; }
.ex-res-ic .i360 { width: 22px; height: 22px; }
.ex-res:active { background: var(--panel); }

/* Detail card: docked over the stage's right third; a bottom sheet on phones. */
.unit-card {
  position: absolute; inset: 12px 12px 12px auto; left: auto; margin: 0; z-index: 8; width: min(400px, 46%); max-height: calc(100% - 24px);
  border: 0; padding: 22px 22px 18px; background: #fff; color: var(--ink); border-radius: 2px; box-shadow: var(--shadow-float); overflow: auto; overscroll-behavior: contain;
}
.unit-card[open] { animation: uc-in 0.35s var(--ease-out); }
@keyframes uc-in { from { transform: translateX(16px); } to { transform: none; } }
.uc-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.uc-head h3 { font-size: 28px; letter-spacing: -0.03em; outline: none; }
.uc-close { width: 44px; height: 44px; margin: -10px -10px 0 0; font-size: 24px; flex: none; transition: background-color 0.15s; }
.uc-close:hover { background: var(--mist); }
.uc-rent { margin-top: 10px; font-variant-numeric: tabular-nums; }
.uc-total { font-size: 34px; letter-spacing: -0.03em; font-weight: 400; }
.uc-rent small { font-size: 14px; color: var(--muted); }
.uc-base { font-size: 13px; color: var(--muted); margin-top: 4px; }
.uc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0; }
.uc-facts div { padding: 10px 0; }
.uc-facts dt { font-size: 12px; color: var(--muted); }
.uc-facts dd { font-size: 17px; font-variant-numeric: tabular-nums; }
.uc-figs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.uc-figs figure { margin: 0; }
.uc-plan button { display: block; width: 100%; background: var(--mist); }
.uc-plan img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.65s var(--ease-both); }
.uc-plan button:hover img { transform: scale(1.035); }
.uc-where svg { width: 100%; height: auto; background: var(--mist); aspect-ratio: 1; }
.uc-figs figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.uc-tours, .uc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.uc-tours .btn { justify-content: flex-start; gap: 10px; }
.uc-tours .i-play { width: 18px; height: 18px; }
.uc-tours .i360 { width: 26px; height: 26px; }
.uc-actions { flex-direction: row; flex-wrap: wrap; }
/* The two conversion actions stay in view at the card's foot while its body scrolls (round 2 finding 2). */
.uc-actions { position: sticky; bottom: -18px; z-index: 1; margin: 16px -22px 0; padding: 12px 22px 18px; background: #fff; box-shadow: 0 -10px 18px -14px rgba(47, 54, 57, 0.35); }
.uc-actions .btn { flex: 1; }
.uc-note { font-size: 13px; color: var(--muted); }
.uc-fees { margin-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.uc-fees summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--ink); }
.uc-copy { margin-top: 10px; font-size: 13px; }
.uc-copied { color: var(--accent-dark); }

/* Layouts and fees on the explorer page */
.layouts { padding-left: 0; padding-right: 0; }
.layouts-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding: 0 var(--gutter); margin-bottom: 8px; }
.layouts-head h2 { font-size: clamp(36px, 4.6vw, 66px); }
.tour-360 { right: 10px; left: auto; }
.fees-section .section-head { margin-bottom: 28px; }
.fees-grid { display: grid; gap: 28px; max-width: 980px; }
.data-table caption { text-align: left; font-size: 18px; font-weight: 500; padding-bottom: 8px; }
.data-table.fees th[scope="row"] { font-weight: 400; color: var(--ink); font-size: 14px; border-bottom: 1px solid var(--line); padding: 12px 8px 12px 0; }
.fees-block table { margin: 10px 18px 18px; width: calc(100% - 36px); }
.fees-grid .plan-note { margin: 0; }
.detail-actions .btn .i360 { width: 26px; height: 26px; }
.plan-intro h1 { margin-bottom: 0; }
.plan-intro { padding-bottom: 36px; }

/* Penthouses, features, amenities */
.ph-media { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; padding: 0 var(--gutter) 24px; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-list { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 32px; }
.split-list h2 { font-size: clamp(30px, 3.2vw, 46px); }
.two-col { columns: 2 260px; column-gap: 32px; }
.two-col li { break-inside: avoid; }
.ph-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.ph-perks h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.levels { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; padding: 0 var(--gutter) 40px; align-items: start; }
.levels-tower { position: sticky; top: 80px; aspect-ratio: 2 / 3; background: var(--mist); }
.levels-tower img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.2s linear; }
.levels-tower img.is-on { opacity: 1; }
.level { padding-bottom: 72px; }
.level h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 12px; }
.level-lead { color: var(--muted); max-width: 56ch; margin-bottom: 22px; }
.level figure { margin-bottom: 22px; }
.level figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.level-tours { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.level-tours .btn { gap: 10px; }
.level-tours .i360 { width: 26px; height: 26px; }
.level-strip { display: none; }
.steps { padding-left: 22px; margin: 0 0 18px; max-width: 64ch; }
.steps li { padding: 8px 0; font-size: 17px; }

/* Virtual tours page */
.vt-layouts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto auto; column-gap: 16px; }
/* Rows share the list's columns (subgrid), so a row without "Plan details" keeps its 3D tour button in line. */
.vt-layouts li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vt-l-name { font-size: 20px; font-weight: 500; }
.vt-l-meta { font-size: 14px; color: var(--muted); }
.vt-layouts .btn { gap: 10px; }
.vt-layouts .i360 { width: 26px; height: 26px; }
.vt-head + .vt-layouts, .vt-head + .vt-film { margin-top: 0; }
.vt .vt-head:not(:first-child) { margin-top: 48px; }
.vt-film { max-width: 980px; }
.vt-film img { width: 100%; height: auto; }
.vt .detail-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.vt .detail-sub .i-play { width: 18px; height: 18px; vertical-align: middle; }

/* Neighborhood: stacked photo journey, then the map */
.journey { padding: 0 var(--gutter) 40px; display: grid; gap: 72px; }
.journey-step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; align-items: end; }
.journey-step figure { grid-column: 1 / span 8; }
.journey-step figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.journey-step > div { grid-column: 10 / span 3; }
.journey-step.flip figure { grid-column: 5 / span 8; grid-row: 1; }
.journey-step.flip > div { grid-column: 1 / span 3; grid-row: 1; }
.journey-step h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 14px; }
.journey-step p { color: var(--muted); }
.insta { padding: 32px var(--gutter) 72px; }

/* Team */
.team { padding: 0 var(--gutter) 72px; display: grid; gap: 0; }
.person { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.person img { width: 160px; height: 160px; object-fit: cover; object-position: 50% 20%; }
.person h2 { font-size: 28px; letter-spacing: -0.03em; }
.person .role { color: var(--muted); margin-bottom: 12px; }
.person p { max-width: 70ch; margin-bottom: 10px; }
.person details summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.residents section h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; }
.residents { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sitemap-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding: 0 var(--gutter) 88px; }
.sitemap-groups h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.footer-mark { width: 120px; color: var(--ink); }
.footer-logos { display: flex; align-items: center; gap: 18px; }
.footer-logos img { height: auto; }
.footer-logos .kensington { width: 150px; filter: brightness(0.3); }
.footer-note { font-size: 13px; color: var(--muted); }
.contact-map-marker { width: 48px; height: 48px; }
.contact-map-marker svg { width: 32px; height: 32px; }
.location-map-marker.is-home svg { width: 28px; height: 28px; }
.arrival-image { object-position: 60% 50%; }

/* Penthouse collection, concise (client revisions 1) */
.ph-facts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.ph-facts h2 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.ph-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); font-size: 15px; }
.ph-list li { padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.ph-list.two-col { columns: 2 220px; column-gap: 32px; border-top: 0; }
.ph-list.two-col li:first-child { border-top: 1px solid var(--line); }
.ph-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 var(--gutter) 72px; }
.ph-photos figure { margin: 0; }
.ph-photos button { display: block; width: 100%; overflow: hidden; }
.ph-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.65s var(--ease-both); }
.ph-photos button:hover img { transform: scale(1.02); }
@media (max-width: 760px) {
  .ph-facts { grid-template-columns: minmax(0, 1fr); }
  .ph-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 48px; }
}
