:root {
  --night: #0d1014;
  --night-2: #151a20;
  --paper: #eef1f4;
  --muted: #8e98a4;
  --line: rgba(238, 241, 244, .12);
  --light: #f2c879;          /* window light */
  --free: #f4efe6;
  --reserved: #e3a23b;
  --sold: #5d6672;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4.5vw, 64px);
  --cx-color: #f2c879;       /* the custom cursor (Task 9): window light */
}

* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 60; top: 12px; left: 12px; background: var(--paper); color: var(--night); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
.kicker { margin: 0 0 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--light); }
.section-title { margin: 0 0 18px; font: 600 clamp(36px, 5.4vw, 76px)/1 var(--sans); letter-spacing: -.02em; }
.hint { margin: 0 0 34px; color: var(--muted); max-width: 52ch; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 22px;
  padding: 16px var(--pad); background: rgba(13, 16, 20, .84);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(238, 241, 244, .06);
}
.mark { font: 700 20px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; text-decoration: none; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--paper); }
.lang { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; }
/* dusk / day: only with the 3D scene (the fallback has no sky to re-light) */
.daynight { display: none; align-items: center; gap: 7px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px 7px 10px; font-size: 13px; cursor: pointer; }
body.gl-on .daynight { display: inline-flex; }
.daynight:hover, .lang:hover { border-color: rgba(238, 241, 244, .32); }
.dn-icon { width: 13px; height: 13px; border-radius: 50%; flex: none; }
/* at dusk it offers the day (a sun); by day it offers the evening (a crescent) */
.daynight[data-state="dusk"] .dn-icon { background: var(--light); box-shadow: 0 0 0 2px rgba(242, 200, 121, .22); }
.daynight[data-state="day"] .dn-icon { background: transparent; box-shadow: inset -4px -2px 0 0 #cfd6e4; transform: rotate(-20deg); }
.top-cta { text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 15px; border-radius: 999px; background: var(--light); color: var(--night); }

#gl { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#gl canvas { display: block; width: 100%; height: 100%; }
/* Task 9 fix round: while the 3D builds (2–4 s on a phone), a still of the same dusk hero (rendered from the scene,
   ~30 kB) stands where the canvas will be; the canvas fades in over it once its first frames are drawn (gl-live) */
body:is(.tier-full, .tier-lite) #gl { background: #0d1014 url(img/hero-poster.webp) center / cover no-repeat; }
@media (max-width: 640px) { body:is(.tier-full, .tier-lite) #gl { background-image: url(img/hero-poster-m.webp); } }
body.gl-on #gl canvas { opacity: 0; transition: opacity .6s ease; }
body.gl-live #gl canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) { body.gl-on #gl canvas { transition: none; } }
/* the tag that follows the pointer over the tower (Task 7): fixed, moved by transform, never in the way */
.tower-tag {
  position: fixed; left: 0; top: 0; z-index: 4; pointer-events: none;
  padding: 7px 12px 7px 11px; border-radius: 3px; white-space: nowrap;
  font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--paper);
  background: rgba(13, 16, 20, .78); border: 1px solid rgba(242, 200, 121, .55);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tower-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--light); box-shadow: 0 0 8px var(--light); }
.tower-tag.is-touch::after { content: attr(data-hint); display: block; margin-top: 3px; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.tower-tag[hidden] { display: none; }
main, .foot { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) clamp(56px, 10vh, 110px);
  background: radial-gradient(50% 60% at 72% 40%, rgba(242, 200, 121, .14), transparent 70%);
}
body.gl-on .hero { background: none; }
/* the city behind the headline (pale sky by day, lit windows at dusk): a soft shade under the words keeps them readable */
.hero { position: relative; }
.hero > * { position: relative; }
body.gl-on .hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
  background: linear-gradient(90deg, rgba(13, 16, 20, .66) 0%, rgba(13, 16, 20, .42) 38%, rgba(13, 16, 20, 0) 70%);
}
body.gl-on .hero::before { opacity: .75; }   /* at dusk the lit city stands behind the words too */
body.gl-on[data-time="day"] .hero::before { opacity: 1; }
@media (max-width: 760px) {
  body.gl-on .hero::before { background: linear-gradient(0deg, rgba(13, 16, 20, .72) 0%, rgba(13, 16, 20, .4) 45%, rgba(13, 16, 20, 0) 75%); }
}
@media (prefers-reduced-motion: reduce) { body.gl-on .hero::before { transition: none; } }
.hero-title { margin: 0; max-width: 13ch; font: 700 clamp(52px, 8.4vw, 132px)/.95 var(--sans); letter-spacing: -.035em; }
.hero-sub { margin: 24px 0 0; max-width: 44ch; color: #c9d0d8; font-size: clamp(17px, 1.5vw, 20px); }

/* ---------- the lift ---------- */
.lift { position: relative; padding: 0 var(--pad); min-height: 240vh; }
.lift-panel {
  position: sticky; top: 90px; z-index: 2; width: min(100%, 420px);
  padding: 22px 24px; background: rgba(21, 26, 32, .94); border: 1px solid var(--line); border-radius: 6px;
  backdrop-filter: blur(6px);
}
.lift-readout { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; align-items: end; }
.lift-cell { margin: 0; display: flex; flex-direction: column; }
.lift-cell-wide { grid-column: 1 / -1; }
.lift-label { font: 400 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lift-floor { font: 700 84px/.9 var(--sans); letter-spacing: -.04em; color: var(--light); font-variant-numeric: tabular-nums; }
.lift-value { font: 600 22px/1.2 var(--sans); }
.lift-steps { padding: 40vh 0 30vh; display: grid; gap: 52vh; }
.lift-step { margin: 0; max-width: 24ch; font: 500 clamp(22px, 2.4vw, 32px)/1.25 var(--sans); }
/* over the lit facade the lines need their own ground to stay readable */
/* (Task 7 fix: no wider than the panel, so a step passing under the sticky panel is covered by it, not half-shown) */
body.gl-on .lift-step { justify-self: start; width: min(100%, 420px); max-width: none; box-sizing: border-box; padding: 14px 18px; background: rgba(21, 26, 32, .8); border: 1px solid var(--line); border-radius: 6px; backdrop-filter: blur(6px); }

/* ---------- homes ---------- */
.homes { padding: 16vh var(--pad); }
/* phones (Task 9 fix round): the copy stands over the lit facade while the camera glides in — the hero's soft shade under the words */
@media (max-width: 760px) {
  .homes { position: relative; }
  .homes > * { position: relative; }
  body.gl-on .homes::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 16, 20, .74) 0%, rgba(13, 16, 20, .55) 30%, rgba(13, 16, 20, .4) 100%);
  }
}
.homes-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 240px) minmax(0, 520px); align-items: start; }
.floors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.floor-btn {
  padding: 12px 0; border: 1px solid var(--line); border-radius: 4px; background: rgba(21, 26, 32, .7);
  font: 600 16px/1 var(--sans); cursor: pointer; font-variant-numeric: tabular-nums;
}
.floor-btn:hover { border-color: var(--light); }
.floor-btn[aria-pressed="true"] { background: var(--light); color: var(--night); border-color: var(--light); }
.floor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.floor-name { margin: 0; font: 600 26px/1.1 var(--sans); }
.fv-open { flex: none; background: var(--night-2); border: 1px solid var(--light); color: var(--light); border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
.fv-open:hover { background: var(--light); color: var(--night); }
.home-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 18px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: rgba(21, 26, 32, .78);
}
.home-id { font: 700 22px/1 var(--sans); font-variant-numeric: tabular-nums; }
.home-facts { color: #c9d0d8; font-size: 15px; }
.home-price { font: 600 18px/1.1 var(--sans); text-align: right; }
.badge { justify-self: start; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid currentColor; }
.badge-free { color: var(--free); }
.badge-reserved { color: var(--reserved); }
.badge-sold { color: var(--sold); }
.home.is-sold .home-id, .home.is-sold .home-price { color: var(--sold); }
.home-open { grid-column: 3; justify-self: end; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; }
.home-open:hover { border-color: var(--light); }

/* ---------- the home card: a developer's apartment sheet, on the same paper as the floor board ---------- */
.card {
  --ink: #22252a; --ink-2: #5a5f67; --ink-3: #8a8e95; --hair: rgba(34, 37, 42, .14); --sheet: #f3f0ea; --sheet-2: #e9e5dd;
  --accent: #a86a0c; --cpad: 28px; --card-w: min(560px, 100vw);
  position: fixed; z-index: 50; inset: 0 0 0 auto; width: var(--card-w); overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--cpad); background: var(--sheet); color: var(--ink); border-left: 1px solid rgba(0, 0, 0, .2);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .28); scrollbar-width: thin; scrollbar-color: var(--hair) transparent;
  transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s;
  scroll-padding-bottom: 96px;   /* focus is never hidden under the sticky action */
}
.card.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.card:focus { outline: none; }
.card :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(8, 10, 13, .55); }
.card-head { position: relative; padding: 30px 0 22px; border-bottom: 1px solid var(--hair); }
.card-kicker { margin: 0 0 10px; padding-right: 48px; font: 400 10px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.card-title { margin: 0; font: 650 44px/1 var(--sans); letter-spacing: -.03em; }
.card-close { position: absolute; top: 22px; right: -6px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--hair); border-radius: 50%;
  background: var(--sheet); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.card-close:hover { border-color: var(--ink); }
.card-facts { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.card-pricebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.card-price { margin: 0; font: 650 34px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card.is-sold .card-price { color: var(--ink-3); }
.card-status { margin: 0; }
.card .badge { font-size: 10px; padding: 6px 10px; }
.card .badge-free { color: #2d6a4f; }
.card .badge-reserved { color: var(--accent); }
.card .badge-sold { color: #5d6672; }

.card-sec { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.card-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-sec-head .card-h { margin: 0; }
.card-h { margin: 0 0 12px; font: 400 10px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.card-small { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-2); }

/* the plan: the home's crop of the floor plate; the box keeps the crop's proportions, at most 440 px tall */
.card-zoom { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--hair); border-radius: 999px;
  background: none; color: var(--ink); font-size: 12px; cursor: pointer; }
.card-zoom:hover { border-color: var(--ink); }
.card-zoom-icon { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.card-zoom-icon::after { content: ''; position: absolute; width: 5px; height: 1.5px; background: currentColor; right: -5px; bottom: -3px; transform: rotate(45deg); }
.card-plan { position: relative; height: min(440px, calc((var(--card-w) - 2 * var(--cpad)) / var(--crop-aspect, 1.3))); overflow: hidden;
  background: var(--sheet-2); border: 1px solid var(--hair); border-radius: 3px; }
.card-plan.is-zoomed { overflow: auto; overscroll-behavior: contain; cursor: grab; touch-action: pan-x pan-y; }
.card-plan-in { position: relative; height: 100%; aspect-ratio: var(--crop-aspect, 1.3); max-width: 100%; margin: 0 auto; overflow: hidden; }
.card-plan-in.is-zoomed { height: 220%; max-width: none; }
.card-plan-img { position: absolute; display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
.card-keys { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.ck-veil { fill: var(--sheet); fill-opacity: .62; pointer-events: none; }
.ck-room { fill: transparent; stroke: none; transition: fill .2s ease; }
.ck.is-on .ck-room { fill: rgba(227, 162, 59, .26); }
.ck-dot { fill: var(--ink); stroke: rgba(243, 240, 234, .9); }
.ck-n { fill: var(--sheet); font-family: var(--sans); font-weight: 700; text-anchor: middle; }
.ck.is-on .ck-dot { fill: var(--accent); }
.card-plan-north { position: absolute; top: 8px; left: 8px; width: 18px; pointer-events: none; }
.card-plan-north svg { display: block; width: 100%; }
.card-plan-north path { fill: var(--ink); }
.card-plan-north text { font: 700 6px var(--sans); fill: var(--ink); }

/* the rooms: a numbered schedule with leaders, as on a sales sheet */
.card-rooms { list-style: none; margin: 0; padding: 0; }
.card-rooms li { display: grid; grid-template-columns: 22px auto minmax(12px, 1fr) auto; align-items: baseline; gap: 0 10px; padding: 6px 4px; border-radius: 3px; font-size: 15px; }
.card-rooms li.is-on { background: rgba(227, 162, 59, .14); }
.cr-key { align-self: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--sheet); font: 700 10px/20px var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.cr-lead { border-bottom: 1px dotted rgba(34, 37, 42, .35); transform: translateY(-4px); }
.cr-m2 { font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 0; padding: 12px 4px 0; border-top: 1px solid var(--ink); font-weight: 600; }
.card-total small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-2); }
.card-total b { font: 650 18px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* orientation: the compass rose, its wedge turned to the side the home faces */
.card-orient { display: grid; grid-template-columns: 116px 1fr; gap: 22px; align-items: center; }
.card-compass svg { display: block; width: 100%; overflow: visible; }
.cc-ring { fill: none; stroke: var(--ink); stroke-width: 1; }
.cc-ring-in { stroke: var(--hair); }
.cc-ticks line { stroke: var(--ink); stroke-width: .8; }
.cc-wedge { fill: rgba(227, 162, 59, .32); }
.cc-needle { fill: var(--accent); }
.cc-hub { fill: var(--ink); }
.cc-face { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cc-l { font: 700 9px var(--sans); fill: var(--ink); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: var(--sheet); stroke-width: 3px; }
.card-dir { margin: 0; font: 650 26px/1.05 var(--sans); letter-spacing: -.02em; }
.card-sun { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* the view: the panorama, framed by facing (x) and height (y) — the centre of the crop lands in the frame's centre */
.card-view { margin: 0; }
.card-view-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #c9d3dc; }
.card-view-img { position: absolute; left: 50%; top: 50%; height: 182%; width: auto; max-width: none;
  transform: translate(calc(var(--vx, .5) * -100%), calc(var(--vy, .5) * -100%)); }
.card-view figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.card-view-cap { font-weight: 600; color: var(--ink); }
.card-view-note a { color: inherit; }

/* the payment plan */
.card-slider { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.card-slider label { font-size: 14px; }
.card-slider output { font: 650 22px/1 var(--sans); font-variant-numeric: tabular-nums; }
.card-slider input { grid-column: 1 / -1; width: 100%; margin: 8px 0 0; accent-color: var(--ink); cursor: pointer; }
.card-slider-ends { grid-column: 1 / -1; display: flex; justify-content: space-between; font: 400 10px/1 var(--mono); color: var(--ink-3); }
.card-plan-rows { margin: 0; }
.card-plan-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hair); }
.card-plan-rows dt { font-size: 14px; }
.card-plan-rows dt small, .card-plan-rows dd small { display: block; font-size: 12px; color: var(--ink-2); }
.card-plan-rows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.card-monthly dd b { font: 650 26px/1 var(--sans); letter-spacing: -.01em; }
.card-pay-total { border-top-color: var(--ink) !important; }

/* the action stays at hand while the sheet scrolls */
.card-actions { position: sticky; bottom: 0; z-index: 2; margin: 0 calc(-1 * var(--cpad)); padding: 14px var(--cpad) max(18px, env(safe-area-inset-bottom));
  background: linear-gradient(rgba(243, 240, 234, .9), var(--sheet) 30%); border-top: 1px solid var(--hair); }
.card-note { margin: 0 0 10px; font-size: 13px; color: var(--accent); }
.card-note.is-sold { color: var(--ink-2); }
.card .cta { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.card .cta:hover:not(:disabled) { background: #000; }
.card .cta:disabled { background: transparent; color: #7b8089; border-color: #a7abb1; }
@media (max-width: 520px) {
  .card { --cpad: 18px; }
  .card-title { font-size: 38px; }
  .card-price { font-size: 30px; }
  .card-orient { grid-template-columns: 92px 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card.is-open, .cc-face, .ck-room { transition: none; }
}

.cta { width: 100%; padding: 14px 18px; border: 1px solid var(--light); border-radius: 999px; background: var(--light); color: var(--night); font: 700 15px/1 var(--sans); cursor: pointer; }
.cta:hover { background: #ffd98f; }
.cta:disabled { background: transparent; color: var(--sold); border-color: var(--sold); cursor: not-allowed; }

/* ---------- the floor view: an architect's presentation board ---------- */
main, .top, .foot { transition: opacity .45s ease; }
body.fv-rising main, body.fv-rising .top, body.fv-rising .foot { opacity: 0; }
.floorview {
  --ink: #22252a; --ink-2: #5a5f67; --hair: rgba(34, 37, 42, .16); --sheet: #efece6; --sheet-2: #e7e3db;
  --st-free: #f4efe6; --st-reserved: #e3a23b; --st-sold: #5d6672;
  position: fixed; inset: 0; z-index: 35; overflow-y: auto; overscroll-behavior: contain;
  background: var(--sheet); color: var(--ink);
  opacity: 0; transition: opacity .45s ease;
}
.floorview.is-open { opacity: 1; }
.floorview:not(.is-open) { pointer-events: none; }   /* transparent during the rise: nothing to click yet */
.floorview:focus { outline: none; }                    /* the dialog root holds the focus while it opens */
.floorview[hidden] { display: none; }
.floorview :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.fv-board {
  position: relative; min-height: 100%; display: grid; gap: 0 28px;
  grid-template: "stage head" auto "stage side" 1fr / minmax(0, 1fr) 330px;
  padding: 26px; height: 100vh; height: 100dvh;
}
/* the sheet border and the title column rule */
.fv-board::before { content: ''; position: absolute; inset: 12px; border: 1px solid var(--hair); pointer-events: none; }
.fv-head { grid-area: head; padding: 70px 8px 18px 22px; border-left: 1px solid var(--hair); }
.fv-side { grid-area: side; padding: 0 8px 12px 22px; border-left: 1px solid var(--hair); overflow-y: auto; min-height: 0; }
.fv-kicker { margin: 0 0 10px; font: 400 10px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.fv-title { margin: 0; font: 650 clamp(40px, 4.4vw, 60px)/.95 var(--sans); letter-spacing: -.03em; }
.fv-view { margin: 14px 0 6px; font: 500 16px/1.35 var(--sans); max-width: 26ch; }
.fv-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); }
.fv-height { font: 400 11px/1.9 var(--mono); letter-spacing: .06em; }
.fv-lang, .fv-close {
  position: absolute; z-index: 3; top: 22px; height: 38px; border: 1px solid var(--hair); background: var(--sheet);
  border-radius: 999px; cursor: pointer; color: var(--ink);
}
.fv-close { right: 22px; width: 38px; font-size: 24px; line-height: 1; padding: 0; }
.fv-lang { right: 68px; padding: 0 13px; font-size: 13px; }
.fv-close:hover, .fv-lang:hover { border-color: var(--ink); }

.fv-stage { grid-area: stage; position: relative; min-height: 0; min-width: 0; }
.fv-viewport {
  position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y;
  scrollbar-width: thin; scrollbar-color: var(--hair) transparent;
}
.fv-spacer { position: relative; display: flex; align-items: center; justify-content: center; }
.fv-canvas { position: relative; flex: none; }
.floorview.is-zoomed .fv-viewport { cursor: grab; }
.floorview.is-dragging .fv-viewport { cursor: grabbing; }
.floorview.is-dragging .fv-unit { pointer-events: none; }
.fv-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; opacity: 0; transition: opacity .35s ease; }
.fv-img.is-loaded { opacity: 1; }
.fv-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }

/* homes: a hit area, the status line on their own walls, a dim veil when another home is lifted */
.fv-unit { cursor: pointer; outline: none; }
.fv-hit { fill: transparent; }
.fv-dim { fill: var(--sheet); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.fv-svg.has-hot .fv-unit:not(.is-hot) .fv-dim { opacity: .42; }
.fv-sold { pointer-events: none; }
/* the status line: a dark casing with the colour on top (as the legend draws it), readable on travertine and on walls */
.fv-casing { fill: none; stroke: var(--ink); stroke-width: .3; stroke-opacity: .65; pointer-events: none; }
.fv-unit.is-sold .fv-casing { stroke-opacity: .25; }
.fv-outline { fill: none; stroke-width: .14; pointer-events: none; }
.fv-unit.is-free .fv-outline { stroke: var(--st-free); }
.fv-unit.is-reserved .fv-outline { stroke: var(--st-reserved); }
.fv-unit.is-sold .fv-outline { stroke: var(--st-sold); }
.fv-lift { pointer-events: none; visibility: hidden; opacity: 0; transform-box: view-box; transform: none;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s .3s; }
.fv-lift.is-on { visibility: visible; opacity: 1; transform: scale(1.022); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
.fv-lift-line { fill: none; stroke-width: .16; }
.fv-lift-line.is-free { stroke: var(--st-free); }
.fv-lift-line.is-reserved { stroke: var(--st-reserved); }
.fv-lift-line.is-sold { stroke: var(--st-sold); }

/* room names and m², in screen-size type with a paper halo (sizes set by floorview.js) */
.fv-labels { pointer-events: none; }
.fv-room { fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: rgba(239, 236, 230, .88); stroke-linejoin: round; }
.fv-rn { font-family: var(--sans); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.fv-ra { font-family: var(--sans); font-weight: 500; fill: var(--ink-2); font-variant-numeric: tabular-nums; }

/* home tags: id + status dot at rest, the full tag when the home is lifted */
.fv-tags { position: absolute; inset: 0; pointer-events: none; }
.fv-tag {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 0;
  padding: 4px 8px 4px 9px; border-radius: 999px; background: var(--ink); color: var(--sheet); white-space: nowrap;
  font: 500 11px/1 var(--sans); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); transition: background .2s ease, box-shadow .2s ease;
}
.fv-tag.is-start { transform: translate(0, -50%); }
.fv-tag-id { font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.fv-tag-more { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .3s ease, opacity .2s ease; }
.fv-tag-dot { width: 7px; height: 7px; border-radius: 50%; margin-left: 7px; flex: none; }
.fv-tag.is-free .fv-tag-dot { background: var(--st-free); box-shadow: 0 0 0 1px rgba(244, 239, 230, .4); }
.fv-tag.is-reserved .fv-tag-dot { background: var(--st-reserved); }
.fv-tag.is-sold .fv-tag-dot { background: #8e98a4; }
.fv-tag.is-sold { background: #4a5059; }
.fv-tag.is-hot { z-index: 2; box-shadow: 0 6px 18px rgba(20, 22, 26, .3); }
.fv-tag.is-hot .fv-tag-more { max-width: 16em; opacity: 1; }
.floorview.fv-compact .fv-tag { padding: 3px 6px; font-size: 10px; }

/* board furniture on the plate: north arrow, zoom, scale bar */
.fv-north { position: absolute; z-index: 2; top: 4px; left: 4px; width: 26px; pointer-events: none; }
.fv-north svg { display: block; width: 100%; }
.fv-north circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.fv-north path { fill: var(--ink); }
.fv-north text { font: 600 7px var(--sans); fill: var(--ink); }
.fv-tools { position: absolute; z-index: 2; left: 4px; bottom: 4px; display: flex; align-items: center; gap: 6px;
  padding: 4px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(239, 236, 230, .92); }
.fv-zoom { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair); background: var(--sheet); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.fv-zoom:hover:not(:disabled) { border-color: var(--ink); }
.fv-zoom:disabled { opacity: .35; cursor: default; }
.fv-zoom-level { min-width: 3.6em; text-align: center; font: 400 11px/1 var(--mono); color: var(--ink-2); }
.fv-scale { position: absolute; z-index: 2; right: 4px; bottom: 10px; display: flex; align-items: center; gap: 8px; font: 400 10px/1 var(--mono); color: var(--ink-2); pointer-events: none; }
.fv-scale-bar { display: block; height: 6px; border: 1px solid var(--ink); border-top: 0; background: linear-gradient(90deg, var(--ink) 50%, transparent 50%) bottom / 100% 2px no-repeat; }

/* the side column: free count, legend, the four homes */
.fv-free { margin: 6px 0 14px; font: 600 15px/1.3 var(--sans); }
.fv-legend { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); }
.fv-legend li { display: flex; align-items: center; gap: 7px; }
.fv-legend i { width: 18px; height: 11px; border: 3px solid; border-radius: 2px; background: var(--sheet-2); }
.fv-legend .is-free i { border-color: #22252a; box-shadow: inset 0 0 0 1.5px var(--st-free); }
.fv-legend .is-reserved i { border-color: var(--st-reserved); }
.fv-legend .is-sold i { border-color: var(--st-sold); background: repeating-linear-gradient(45deg, rgba(93, 102, 114, .5) 0 1px, transparent 1px 4px); }
.fv-list-title { margin: 0 0 8px; font: 400 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.fv-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--hair); }
.fv-list li { border-bottom: 1px solid var(--hair); }
.fv-home {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3px 14px; align-items: center; text-align: left;
  padding: 12px 8px; background: none; border: 0; color: var(--ink); cursor: pointer; transition: background .2s ease;
}
.fv-home:hover, .fv-home.is-hot { background: var(--sheet-2); }
.fv-home-id { grid-column: 1; grid-row: 1 / span 2; font: 700 22px/1 var(--sans); font-variant-numeric: tabular-nums; }
/* type · m² over the outlook, beside price over status: every part on one line */
.fv-home-facts, .fv-home-face { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fv-home-facts { grid-column: 2; grid-row: 1; }
.fv-home-face { grid-column: 2; grid-row: 2; }
.fv-home-price { grid-column: 3; grid-row: 1; font: 600 15px/1.1 var(--sans); text-align: right; }
.fv-home-badge { grid-column: 3; grid-row: 2; justify-self: end; }
.fv-home .badge-free { color: #2d6a4f; }
.fv-home .badge-reserved { color: #a86a0c; }
.fv-home .badge-sold { color: var(--st-sold); }
.fv-home.is-sold .fv-home-id, .fv-home.is-sold .fv-home-price { color: var(--st-sold); }
.fv-hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-2); max-width: 36ch; }

@media (max-width: 900px) {
  .fv-board { height: auto; min-height: 100%; grid-template: "head" auto "stage" auto "side" auto / minmax(0, 1fr); padding: 16px; gap: 0; }
  .fv-board::before { inset: 6px; }
  .fv-head { border-left: 0; padding: 14px 104px 14px 4px; }
  .fv-title { font-size: 40px; }
  .fv-view { font-size: 15px; margin-top: 10px; }
  .fv-lang, .fv-close { position: fixed; top: 16px; }
  .fv-close { right: 16px; }
  .fv-lang { right: 60px; }
  .fv-stage { aspect-ratio: var(--fv-aspect, 27.2 / 18.53); margin-bottom: 58px; }
  .fv-viewport { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .fv-north { top: auto; bottom: -50px; left: auto; right: 4px; width: 22px; }
  .fv-tools { bottom: -54px; left: 0; }
  .fv-scale { bottom: -38px; right: 40px; }
  .fv-side { border-left: 0; padding: 4px 4px 24px; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .floorview, .fv-img, .fv-dim, .fv-lift, .fv-lift.is-on, .fv-tag, .fv-tag-more, .fv-home { transition: none; }
  .fv-lift.is-on { transform: none; }
}

/* ---------- view ---------- */
.view { padding: 16vh var(--pad) 10vh; }
.pano { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.pano img { display: block; height: min(60vh, 520px); width: auto; max-width: none; }
.credit { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- enquire ---------- */
.enquire { display: grid; gap: clamp(28px, 6vw, 90px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); padding: 14vh var(--pad) 18vh; }
.enquire p { max-width: 40ch; color: #c9d0d8; }
.form { display: grid; gap: 8px; }
.form label { font: 400 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.form input { padding: 12px 14px; background: rgba(238, 241, 244, .04); border: 1px solid var(--line); border-radius: 4px; }
.form input:focus { border-color: var(--light); outline: none; }
.form .cta { margin-top: 16px; }
.form-out { margin: 12px 0 0; padding: 14px 16px; border-left: 2px solid var(--light); background: rgba(242, 200, 121, .08); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px var(--pad) 34px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot p { margin: 0; }
.foot a:hover { color: var(--light); }

@media (max-width: 760px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .top { gap: 12px; }
  body.gl-on .daynight { margin-left: auto; padding: 7px 9px; }
  body.gl-on .daynight + .lang { margin-left: 0; }
  .dn-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .homes-grid { grid-template-columns: 1fr; }
  .floors { grid-template-columns: repeat(6, 1fr); }
  .home { grid-template-columns: auto 1fr; }
  .home-price { text-align: left; grid-column: 1 / -1; }
  .home-open { grid-column: 1 / -1; justify-self: stretch; }
  .lift-floor { font-size: 64px; }
}

/* ?still=<pose> (still.js, Task 8): only the 3D frame shows, for the amenity pictures */
body.still main, body.still .top, body.still .foot, body.still .tower-tag { visibility: hidden; }

/* ---------- Task 8: the building, the finishes, the location, the build, the questions ---------- */
/* Opaque from here to the bottom (enquiry and footer included): once .more reaches the top of the screen the
   canvas is covered and the 3D rests (tower.js checkBelow). */
.more, .enquire, .foot { background: var(--night); }
.more > section { padding: clamp(84px, 13vh, 150px) var(--pad); }
.sec-lead { margin: 0 0 30px; max-width: 46ch; color: #c9d0d8; font-size: clamp(17px, 1.35vw, 19px); }
.more h3 { margin: 0; }

/* the building */
.amen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: start; border-top: 1px solid var(--line); }
.amen-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.amen-list li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.amen-n { font: 400 11px/1.9 var(--mono); letter-spacing: .14em; color: var(--light); }
.amen-list h3 { font: 600 20px/1.25 var(--sans); letter-spacing: -.01em; }
.amen-list p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 48ch; }
.amen-figs { position: relative; padding-bottom: 8px; }
.amen-fig { margin: 0; }
.amen-fig img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--night-2); }
.amen-fig figcaption, .amen-note { font: 400 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.amen-fig-lobby { width: 62%; margin: -16% 0 0 auto; position: relative; }
.amen-fig-lobby img { outline: 8px solid var(--night); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.amen-note { margin-top: 26px; color: #6d7783; }

/* the finishes: on the paper of the plans */
.fin { --ink: #22252a; --ink-2: #5a5f67; background: #f3f0ea; color: var(--ink); }
.fin .kicker { color: #a86a0c; }
.fin .sec-lead { color: var(--ink-2); }
.fin-head { max-width: 760px; }
.fin-grid { list-style: none; margin: 18px 0 0; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); }
.fin-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; border: 1px solid rgba(34, 37, 42, .14); background: #e9e5dd; }
.fin-floors { margin: 18px 0 6px; font: 400 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.fin-card h3 { font: 650 clamp(28px, 2.6vw, 38px)/1 var(--sans); letter-spacing: -.025em; }
.fin-card p:not(.fin-floors) { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.fin-chips { display: flex; gap: 8px; margin-top: 16px; }
.fin-chips i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(34, 37, 42, .18); }
.fin-ph { margin: clamp(30px, 4vw, 48px) 0 0; padding-top: 18px; border-top: 1px solid rgba(34, 37, 42, .14); color: var(--ink-2); font-size: 15px; }

/* the location */
.loc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.loc-h { font: 400 10px/1.4 var(--mono) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px !important; }
.loc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.loc-list li { display: grid; grid-template-columns: 92px 1fr; gap: 0 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-list b { font: 650 28px/1 var(--sans); letter-spacing: -.02em; color: var(--light); font-variant-numeric: tabular-nums; white-space: nowrap; }
.loc-name { display: block; font: 600 18px/1.3 var(--sans); }
.loc-list small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.loc-fig { margin: 0; }
.loc-mapbox { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #11161c; }
.loc-map { display: block; width: 100%; height: auto; }
.loc-label, .loc-plot { position: absolute; left: calc(var(--x) / 800 * 100%); top: calc(var(--y) / 560 * 100%); transform: translate(-50%, -50%); }
.loc-label { font: 500 clamp(8.5px, 1vw, 11px)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c9d0d8; white-space: nowrap; text-shadow: 0 0 6px #11161c, 0 0 2px #11161c; pointer-events: none; }
.loc-l-square { transform: translate(-50%, 0); top: calc(108 / 560 * 100%); }
.loc-l-park { color: #9fc3a8; }
.loc-l-lake { color: #a9c6dc; }
.loc-plot { width: 14px; height: 14px; border-radius: 50%; background: var(--light); box-shadow: 0 0 0 4px rgba(242, 200, 121, .25), 0 0 18px rgba(242, 200, 121, .6); }
.loc-plot span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 4px 9px; border-radius: 999px; background: var(--light); color: var(--night); font: 700 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.loc-plot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--light); animation: locpulse 2.6s ease-out infinite; }
@keyframes locpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.loc-north { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 22px; font: 700 10px/1 var(--sans); color: #c9d0d8; }
.loc-north svg { width: 14px; fill: #c9d0d8; }
.loc-north svg { order: 2; }
.loc-fig figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* the build */
.prog { background: var(--night-2); }
.prog-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.prog-head .kicker { flex-basis: 100%; }
.prog-updated { margin: 0; font: 400 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.prog-line { --fill: 46%; list-style: none; margin: clamp(30px, 5vw, 64px) 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(14px, 2vw, 28px); }
.prog-line::before { content: ''; position: absolute; left: 7px; right: 0; top: 7px; height: 2px;
  background: linear-gradient(90deg, var(--light) var(--fill), rgba(238, 241, 244, .14) var(--fill)); }
.pg-step { position: relative; padding-top: 36px; }
.pg-dot { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night-2); border: 2px solid rgba(238, 241, 244, .3); }
.pg-step.is-done .pg-dot { background: var(--light); border-color: var(--light); }
.pg-step.is-done .pg-dot::after { content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pg-step.is-now .pg-dot { border-color: var(--light); box-shadow: 0 0 0 5px rgba(242, 200, 121, .16); }
.pg-step.is-now .pg-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--light); }
.pg-when { margin: 0 0 6px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--light); }
.pg-step:not(.is-done):not(.is-now) .pg-when { color: var(--muted); }
.pg-step h3 { font: 600 clamp(20px, 1.8vw, 26px)/1.15 var(--sans); letter-spacing: -.01em; }
.pg-state { margin: 8px 0 0; font-size: 14px; color: #c9d0d8; }
.pg-step.is-done .pg-state { color: var(--muted); }
.pg-step.is-done .pg-state::before { content: '✓ '; color: var(--light); }
.pg-step.is-now .pg-state { color: var(--paper); font-weight: 600; }
.pg-text { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 26ch; }
.pg-bar { display: block; margin-top: 12px; height: 4px; border-radius: 2px; background: rgba(238, 241, 244, .12); overflow: hidden; max-width: 200px; }
.pg-bar i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--light); }

/* the questions: plain <details>, so they open with JavaScript off too */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 88px); align-items: start; }
.faq-more { margin: 0; color: var(--muted); }
.faq-more a { color: var(--light); text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font: 600 clamp(18px, 1.5vw, 21px)/1.35 var(--sans); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--light); transition: transform .25s ease; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--light); }
.faq-list details p { margin: 0; padding: 0 48px 24px 0; color: #c9d0d8; max-width: 62ch; }

@media (max-width: 1180px) { .nav a[href="#view"], .nav a[href="#amenities"] { display: none; } }
@media (max-width: 900px) {
  .amen, .loc, .faq { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr; gap: 34px; }
  .fin-card { display: grid; grid-template-columns: minmax(0, 132px) 1fr; gap: 0 18px; align-items: start; }
  .fin-card picture { grid-row: 1 / 5; }
  .fin-card .fin-floors { margin-top: 2px; }
  .amen-fig-lobby { width: 100%; margin-top: 22px; }
  .amen-fig-lobby img { outline: none; box-shadow: none; }
  .loc-list li { grid-template-columns: 92px 1fr; }   /* fix round 1: a fixed minutes column wide enough for "18 min" at 24 px */
  .loc-list b { font-size: 24px; }
  .prog-line { grid-template-columns: 1fr; gap: 26px; }
  .prog-line::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--light) var(--fill), rgba(238, 241, 244, .14) var(--fill)); }
  .pg-step { padding: 0 0 0 36px; }
  .pg-text { max-width: none; }
}
@media (max-width: 520px) {
  .loc-label { letter-spacing: .08em; }
  .loc-plot span { font-size: 9.5px; padding: 3px 7px; }
  .faq-list summary { padding-right: 36px; }
  .faq-list details p { padding-right: 0; }
}
/* fix round 1: the header fits one line on 360–430 px phones in both languages ("Na kontaktoni") */
@media (max-width: 460px) {
  .top { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .mark { font-size: 17px; letter-spacing: .24em; }
  .lang { padding: 6px 10px; font-size: 12px; }
  body.gl-on .daynight { padding: 6px 8px; }
  .top-cta { white-space: nowrap; padding: 7px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .loc-plot::after { animation: none; }
  .faq-list summary::before, .faq-list summary::after { transition: none; }
}

/* ---------- the custom cursor (Task 9: shared/motion/cursor.css) ---------- */
/* its ring says "Drag" over a zoomed plan: the system's grab hand would be a second cursor */
html.cx-on .floorview .fv-viewport, html.cx-on .card-plan.is-zoomed { cursor: none; }
