/* Solenne. White like a gallery wall, black type, warm light on the buttons, copper only for the line of light. Dark only for the last moment and over full pictures.
   Oranienbaum for headlines, Cormorant italic for the words that matter (each in the colour of what it names: harbour, oak, sunset, olive, light), Instrument Sans for everything else.
   Type steps: 14, 16, 18, 24, then display sizes. Spacing on a 4 px grid. Controls are capsules with a lit disc; framed renders have the turned corners. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --stone: #f4f1ec;
  --ink: #141618;
  --soft: #4a4e52;
  --deep: #141618;
  --mist: #c9cbcb;
  --copper: #c9743c;
  --light: #ffc79a;
  --harbour: #0f5566;
  --oak: #8a5a2b;
  --sunset: #b4512a;
  --olive: #56662c;
  --water: #a8e2dc;
  --leaf: #d6e6a8;
  --rule: rgba(20, 22, 24, 0.2);
  --ruleD: rgba(255, 255, 255, 0.24);
  --display: "Oranienbaum", "Times New Roman", serif;
  --cursive: "Cormorant", "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4.4vw, 72px);
  --sec: clamp(72px, 11vw, 160px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --leaf-lg: clamp(32px, 4vw, 64px) 4px clamp(32px, 4vw, 64px) 4px;
  --i-floor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5 10 3l3.5 3.5M6.5 13.5 10 17l3.5-3.5M4 10h12'/%3E%3C/svg%3E");
  --i-3d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2.8 16.6 6.5v7L10 17.2 3.4 13.5v-7zM3.4 6.5 10 10.2l6.6-3.7M10 10.2v7'/%3E%3C/svg%3E");
  --i-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.2h10v13.6H5zM10 3.2v13.6M5 10h10'/%3E%3C/svg%3E");
  --i-plan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 3.4h13.2v13.2H3.4zM3.4 9.2h5.4V3.4M16.6 11.6h-5.2v5'/%3E%3C/svg%3E");
  --i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3v9.6M5.8 8.6 10 12.8l4.2-4.2M4 16.8h12'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E");
  --i-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 4.4 7 10l5.6 5.6'/%3E%3C/svg%3E");
  --i-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.4 4.4 13 10l-5.6 5.6'/%3E%3C/svg%3E");
  --i-drag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8 10 3.5 14.5 8M5.5 12l4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--white); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.55 var(--body); overflow-x: clip; }
::selection { background: var(--ink); color: var(--white); }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.deep :focus-visible, .hero :focus-visible, .floorStage :focus-visible, .see3d :focus-visible { outline-color: var(--white); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--ink); border-radius: 99px; }
.skip:focus { top: 16px; }

.display { font: 400 clamp(44px, 6.4vw, 96px)/1.04 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
.h2 { font: 400 clamp(36px, 4.4vw, 64px)/1.08 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.statement { font: 400 clamp(36px, 4.9vw, 72px)/1.1 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.5; max-width: 44ch; }
small { font-size: 14px; }
.deep { background: var(--deep); color: var(--white); }
.paper { background: var(--white); color: var(--ink); }
.stone { background: var(--stone); color: var(--ink); }
.stone .lead, .paper .lead { color: var(--soft); }
.deep .lead { color: var(--mist); }

/* The words that matter: a flowing italic, in the colour of what they name */
.hl { font-family: var(--cursive); font-style: italic; font-weight: 500; font-size: 1.14em; line-height: 1; letter-spacing: -0.012em; color: var(--hl, currentColor); }
.hl-harbour { --hl: var(--harbour); }
.hl-oak { --hl: var(--oak); }
.hl-sunset { --hl: var(--sunset); }
.hl-olive { --hl: var(--olive); }
.hl-light { --hl: var(--light); }
.hl-water { --hl: var(--water); }
.hl-leaf { --hl: var(--leaf); }
.ln-mask { padding: 0.04em 0.08em 0.24em; margin: -0.04em -0.08em -0.24em; }
.inl { color: var(--harbour); font-weight: 500; transition: color 0.18s; }
@media (hover: hover) and (pointer: fine) { .inl:hover { color: var(--sunset); } }

/* Buttons. From the references: Belgrade Arbor's capsule inside a capsule and its streak of light, Loam House's disc that floods the button. Ours: the disc is a small light; on hover it fills the button, as if a light came on. */
.ico-floor { --i: var(--i-floor); } .ico-3d { --i: var(--i-3d); } .ico-light { --i: var(--i-light); } .ico-plan { --i: var(--i-plan); } .ico-down { --i: var(--i-down); } .ico-plus { --i: var(--i-plus); } .ico-prev { --i: var(--i-prev); } .ico-next { --i: var(--i-next); }
.btn { --bg: var(--ink); --fg: var(--white); --ring: rgba(255, 255, 255, 0.3); --disc: var(--light); --discFg: var(--ink); --floodFg: var(--ink); --k: 14; --streak: #fff4ea; position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px 0 8px; border: 0; border-radius: 99px; background: var(--bg); color: var(--fg); font: 500 14px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: color 0.3s var(--ease), transform 0.1s; }
.btn::before { content: ""; position: absolute; inset: 3px; z-index: 3; border: 1px solid var(--ring); border-radius: inherit; pointer-events: none; transition: border-color 0.3s; }
.btn::after { content: ""; position: absolute; z-index: 4; top: -30%; bottom: -30%; left: -8%; width: 2px; opacity: 0; pointer-events: none; transform: rotate(16deg); background: linear-gradient(180deg, rgba(255, 244, 234, 0), var(--streak) 50%, rgba(255, 244, 234, 0)); box-shadow: 0 0 14px 3px rgba(255, 199, 154, 0.75); }
.btnDisc { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--discFg); transition: color 0.3s var(--ease); }
.btnDisc::before { content: ""; position: relative; z-index: 1; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.btnDisc::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 50%; background: var(--disc); transition: transform 0.55s var(--ease), background-color 0.3s; }
.btnLabel { position: relative; z-index: 2; }
.btn:active { transform: scale(0.975); }
.btn:focus-visible { color: var(--floodFg); }
.btn:focus-visible .btnDisc::after { transform: scale(var(--k)); }
.btn.lit::after { animation: streak 1s var(--ease) 1 both; }
@keyframes streak { 0% { left: -8%; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { left: 108%; opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--floodFg); }
  .btn:hover .btnDisc::after { transform: scale(var(--k)); }
  .btn:hover::after { animation: streak 0.9s var(--ease) 1 both; }
}
.hero .btn, .floorStage .btn, .see3d .btn, .deep .btn, .stop .btn { --bg: var(--white); --fg: var(--ink); --ring: rgba(20, 22, 24, 0.2); --streak: var(--copper); }
.btn.ghost { --bg: rgba(20, 20, 22, 0.34); --fg: var(--white); --ring: rgba(255, 255, 255, 0.5); --disc: rgba(255, 255, 255, 0.18); --discFg: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.outline { --bg: transparent; --fg: var(--ink); --ring: var(--ink); --disc: var(--ink); --discFg: var(--white); --floodFg: var(--white); --streak: var(--light); }
.btn.outline::before { inset: 0; }
.btn.small { min-height: 44px; padding: 0 16px 0 6px; gap: 8px; }
.btn.small::before { inset: 2px; }
.btn.small .btnDisc { width: 32px; height: 32px; }
.btn.small .btnDisc::before { width: 16px; height: 16px; }
.btn.big { --k: 28; min-height: 72px; padding: 0 12px 0 10px; gap: 16px; font: 400 clamp(22px, 2vw, 24px)/1 var(--display); letter-spacing: -0.005em; }
.btn.big .btnDisc { width: 52px; height: 52px; }
.btn.big .btnDisc::before { width: 24px; height: 24px; }
.btnFloor { position: relative; z-index: 2; margin-left: 8px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: var(--light); font: 400 18px/1 var(--display); font-variant-numeric: lining-nums; }
@media (prefers-reduced-motion: reduce) { .btn::after { display: none; } .btnDisc::after { transition-duration: 0.01s; } }
.round { --i: var(--i-next); position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.1s; }
.round::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.round::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--rule); border-radius: 50%; }
.round:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .round:hover { background: var(--ink); color: var(--white); } }

/* The bar: glass with a real edge, so headings passing under it never just vanish */
.bar { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; width: min(600px, calc(100vw - 32px)); min-height: 52px; padding: 3px; border: 1px solid rgba(20, 22, 24, 0.14); border-radius: 99px; background: rgba(255, 255, 255, 0.88); color: var(--ink); box-shadow: 0 10px 30px rgba(20, 22, 24, 0.16), 0 1px 2px rgba(20, 22, 24, 0.08); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.barLogo { font: 400 24px/44px var(--display); text-decoration: none; padding: 0 8px; }
.barBtn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: none; border: 0; border-radius: 99px; color: inherit; font: 500 14px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.18s; }
.bar > :first-child { justify-self: start; }
.bar > :last-child { justify-self: end; }
@media (hover: hover) and (pointer: fine) { .barBtn:hover { background: var(--stone); } }
@media (prefers-reduced-transparency: reduce) { .bar { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; } .btn.ghost { --bg: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.menu { position: fixed; z-index: 49; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 96px var(--gut) 40px; background: var(--white); color: var(--ink); }
.menu ul { display: grid; gap: 4px; }
.menu li a { display: inline-block; font: 400 clamp(36px, 6vw, 72px)/1.12 var(--display); text-decoration: none; transition: color 0.2s, transform 0.5s var(--ease); }
.menu li:nth-child(4n+1) a { --hover: var(--harbour); } .menu li:nth-child(4n+2) a { --hover: var(--sunset); } .menu li:nth-child(4n+3) a { --hover: var(--oak); } .menu li:nth-child(4n) a { --hover: var(--olive); }
@media (hover: hover) and (pointer: fine) { .menu li a:hover { font-family: var(--cursive); font-style: italic; font-weight: 500; color: var(--hover); transform: translateX(16px); } }
.menuNote { color: var(--soft); }
.paper .fine { color: var(--soft); }

/* Opening: the drawing builds on the exact place the tower stands, then the render takes over */
#curtain { position: fixed; z-index: 60; inset: 0; background: var(--white); pointer-events: none; transition: opacity 0.7s ease; }
#curtain.out { opacity: 0; }
#curtainDraw { position: absolute; left: 0; top: 0; width: 100%; height: var(--screen, 100svh); min-height: 560px; }
#curtainDraw path { fill: none; stroke: var(--ink); stroke-width: 0.9; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.3s linear; }
#curtainDraw path.on { stroke-dashoffset: 0; }
#curtainDraw path.vt { opacity: 0.55; stroke-width: 0.7; }
#curtainDraw path.cr { opacity: 0.8; stroke-width: 0.8; }
.curtainBy { position: absolute; left: var(--gut); bottom: 24px; margin: 0; font-size: 14px; color: var(--soft); }
.noCurtain #curtain { display: none; }

/* Hero: the word stands behind the tower. It stays while the page slides over it */
.hero { position: sticky; top: 0; z-index: 0; height: var(--screen, 100svh); min-height: 560px; overflow: hidden; background: var(--deep); color: var(--white); }
.heroStage { position: absolute; inset: 0; transform-origin: 56.6% 42%; will-change: transform; }
.heroImg, .heroTower { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroSky { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 20, 36, 0.56), rgba(26, 20, 36, 0.2) 46%, rgba(26, 20, 36, 0) 66%); }
.heroWord { position: absolute; left: 0; right: 0; top: clamp(72px, 9.6svh, 120px); display: flex; justify-content: center; overflow: hidden; color: var(--white); font: 400 min(29.6vw, 60svh)/0.9 var(--display); letter-spacing: -0.018em; white-space: nowrap; user-select: none; }
.heroWord > span, .finWord > span { display: inline-block; will-change: transform; }
.heroWord i, .finWord i { display: inline-block; font-style: normal; }
#heroSvg, #finSvg, #floorSvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; will-change: transform; }
#heroSvg path, #finSvg path { fill: none; stroke-linecap: round; }
#heroGlow, #finGlow { stroke: var(--light); stroke-opacity: 0.42; stroke-width: 8; }
#heroLine, #finLine { stroke: #fff4ea; stroke-width: 2.2; }
.heroShade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(86% 66% at 0% 100%, rgba(18, 14, 24, 0.86), rgba(18, 14, 24, 0.46) 52%, rgba(18, 14, 24, 0) 80%), linear-gradient(0deg, rgba(18, 14, 24, 0.5), rgba(18, 14, 24, 0) 30%); }
.heroDim { position: absolute; inset: 0; background: #141618; opacity: 0; pointer-events: none; will-change: opacity; }
.heroCopy { position: absolute; left: var(--gut); bottom: clamp(32px, 6.4svh, 64px); display: grid; gap: 24px; justify-items: start; width: min(47vw, 700px); }
.heroCopy .display { --hl: var(--light); font-size: clamp(44px, min(6.4vw, 10.4svh), 96px); }
.heroCopy .btn { --k: 16; min-height: 60px; padding: 0 28px 0 8px; font-size: 16px; }
.heroCopy .btn .btnDisc { width: 44px; height: 44px; }
.heroCopy .btn .btnDisc::before { width: 20px; height: 20px; }
.win3d { position: absolute; right: var(--gut); bottom: clamp(32px, 6.4svh, 64px); isolation: isolate; display: block; width: clamp(190px, 19vw, 300px); aspect-ratio: 16/10; overflow: hidden; border-radius: 32px 4px 32px 4px; color: var(--white); text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 18px 48px rgba(10, 8, 14, 0.42); }
.win3d img, .win3d video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.win3d video { opacity: 0; transition: opacity 0.6s ease; }
.win3d video.on { opacity: 1; }
.win3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(14, 12, 20, 0.1), rgba(14, 12, 20, 0.62)); }
.win3dBig { position: absolute; z-index: 1; left: 16px; top: 8px; font: 400 clamp(36px, 3.4vw, 52px)/1.1 var(--display); }
.win3dL { position: absolute; z-index: 1; right: 16px; bottom: 12px; font: 500 14px/1 var(--body); }
.win3dRing { position: absolute; z-index: 1; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 50%; transition: transform 0.5s var(--ease), background-color 0.3s; }
.win3dRing::before { content: ""; position: absolute; inset: 12px; background: var(--white); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
@media (hover: hover) and (pointer: fine) { .win3d:hover img { transform: scale(1.08); } .win3d:hover .win3dRing { transform: scale(1.3); background: rgba(255, 199, 154, 0.3); } }

/* Everything after the hero slides over it */
main > :not(.hero) { position: relative; z-index: 1; }
.finale { z-index: 1; }

/* The idea */
.idea { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px var(--gut); padding: var(--sec) var(--gut); overflow: hidden; border-radius: clamp(32px, 5vw, 80px) clamp(32px, 5vw, 80px) 0 0; }
.ideaText { display: grid; gap: 24px; justify-items: start; align-content: start; }
.ideaFrames { position: relative; min-height: clamp(420px, 46vw, 720px); }
.frame { position: absolute; overflow: hidden; border-radius: var(--leaf-lg); box-shadow: 0 24px 60px rgba(20, 22, 24, 0.14); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.f1 { right: 0; top: 0; width: 88%; aspect-ratio: 16/10; }
.f2 { left: 0; bottom: 0; width: 46%; aspect-ratio: 4/5; border-radius: 4px clamp(32px, 4vw, 64px) 4px clamp(32px, 4vw, 64px); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.facts dt { font-size: 14px; color: var(--soft); }
.facts dd { font: 400 clamp(36px, 4.4vw, 64px)/1.1 var(--display); font-variant-numeric: lining-nums; letter-spacing: -0.01em; }

/* Your floor */
.floorStage { position: relative; height: var(--screen, 100svh); min-height: 640px; overflow: hidden; background: var(--deep); color: var(--white); }
.floorImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.floorShade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, 0.82), rgba(20, 20, 22, 0.46) 30%, rgba(20, 20, 22, 0) 52%); pointer-events: none; }
#floorSvg path { fill: none; stroke-linecap: round; }
#floorSel { stroke: #fff4ea; stroke-width: 2.4; }
#floorGlow { stroke: var(--light); stroke-opacity: 0.5; stroke-width: 9; }
#floorHov { stroke: rgba(236, 232, 224, 0.8); stroke-width: 1; }
.floorRail { --step: 40px; position: absolute; left: 0; top: 0; width: 64px; margin-left: -32px; cursor: grab; touch-action: none; background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px var(--step)); background-size: 1px 100%, 11px 100%; background-position: center, center; background-repeat: no-repeat; }
.floorEnd { position: absolute; left: 44px; font: 500 14px/1 var(--body); font-variant-numeric: tabular-nums; color: var(--white); text-shadow: 0 1px 8px rgba(20, 20, 22, 0.8); pointer-events: none; }
.floorEnd.top { top: 34px; } .floorEnd.bot { bottom: -8px; }
.floorMark { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; transition: transform 0.28s var(--ease); }
.dragging .floorMark, .quiet .floorMark { transition: none; }
.floorMark i.tick { position: absolute; top: -1px; right: 28px; width: var(--tick, 48px); height: 2px; background: var(--light); box-shadow: 0 0 10px rgba(255, 199, 154, 0.9); }
.floorKnob { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink); pointer-events: auto; cursor: grab; touch-action: none; box-shadow: 0 0 0 5px rgba(255, 199, 154, 0.45), 0 10px 26px rgba(20, 20, 22, 0.42); transition: transform 0.18s var(--ease), box-shadow 0.18s; }
.floorKnob::before { content: ""; position: absolute; inset: 14px; background: currentColor; -webkit-mask: var(--i-drag) center / contain no-repeat; mask: var(--i-drag) center / contain no-repeat; }
.floorKnob::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--light); opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .floorKnob:hover { transform: scale(1.08); } }
.dragging, .dragging * { cursor: grabbing !important; }
.dragging .floorKnob { transform: scale(0.94); box-shadow: 0 0 0 9px rgba(255, 199, 154, 0.55), 0 6px 16px rgba(20, 20, 22, 0.5); }
.floorStage.teach .floorKnob::after { animation: knobPing 1.7s var(--ease) infinite; }
.floorStage.teach .floorKnob::before { animation: knobNudge 1.7s ease-in-out infinite; }
@keyframes knobPing { 0% { opacity: 0.9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes knobNudge { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-3px); } 62% { transform: translateY(3px); } }
#floorRange:focus-visible ~ .floorMark .floorKnob { outline: 2px solid var(--white); outline-offset: 7px; }
.floorMark b { position: absolute; left: 44px; top: 0; transform: translateY(-52%); font: 400 clamp(56px, 7.4vw, 112px)/1 var(--display); font-variant-numeric: lining-nums; text-shadow: 0 0 28px rgba(20, 20, 22, 0.6), 0 1px 3px rgba(20, 20, 22, 0.4); }
.floorDrag { position: absolute; left: 44px; top: clamp(32px, 4vw, 60px); padding: 4px 12px; border-radius: 99px; background: rgba(20, 20, 22, 0.72); color: var(--white); font: 500 14px/1.2 var(--body); white-space: nowrap; transition: opacity 0.3s; }
.floorStage:not(.teach) .floorDrag { opacity: 0; }
#floorRange { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.floorCopy { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(30vw, 420px); display: grid; gap: 16px; justify-items: start; }
.floorCopy .h2 { --hl: var(--light); }
.hint { font-size: 14px; }
.floorCard { width: 100%; padding-top: 16px; border-top: 1px solid var(--ruleD); display: grid; gap: 12px; justify-items: start; }
.cardTitle b { display: block; font: 400 24px/1.2 var(--display); }
.cardTitle span { display: block; margin-top: 2px; font-size: 14px; color: var(--mist); }
.cardFacts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.cardFacts dt { font-size: 14px; color: var(--mist); }
.cardFacts dd { font-size: 18px; font-variant-numeric: tabular-nums; }
.floorView { position: absolute; right: var(--gut); bottom: clamp(24px, 5vh, 48px); width: clamp(240px, 27vw, 420px); aspect-ratio: 16/9; border-radius: 24px 4px 24px 4px; overflow: hidden; background: var(--deep); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 18px 48px rgba(10, 8, 14, 0.42); }
.floorView img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#viewB { opacity: 0; transition: opacity 0.35s ease; }
#viewB.on { opacity: 1; }
.floorView figcaption { position: absolute; left: 12px; bottom: 8px; font-size: 14px; color: var(--white); text-shadow: 0 1px 8px rgba(20, 20, 22, 0.9); }

/* Section heads */
.secHead { display: grid; gap: 16px; padding: var(--sec) var(--gut) 48px; }

/* Inside */
.inside { overflow: hidden; }
.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--gut); scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 auto; width: min(72vw, 1040px); scroll-snap-align: start; }
.gallery figure:nth-child(even) { width: min(46vw, 640px); }
.imgBox { overflow: hidden; border-radius: 4px; }
.gallery figure:first-child .imgBox { border-radius: var(--leaf-lg); }
.gallery img { width: 100%; height: clamp(300px, 46vw, 660px); object-fit: cover; }
.gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--soft); }
.galleryCtl { display: flex; gap: 8px; padding: 16px var(--gut) 0; }
.compare { position: relative; margin: 96px var(--gut) 0; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; background: var(--stone); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmpTop { clip-path: inset(0 50% 0 0); }
.cmpLine { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white); pointer-events: none; }
.cmpLine span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 88px; min-height: 52px; padding: 0 16px; border-radius: 99px; background: var(--white); color: var(--ink); font: 500 14px/1 var(--body); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3), 0 10px 26px rgba(20, 20, 22, 0.35); }
.cmpL, .cmpR { position: absolute; bottom: 16px; font: 400 clamp(18px, 2vw, 28px)/1.1 var(--display); pointer-events: none; }
.cmpL { left: 16px; color: var(--ink); }
.cmpR { right: 16px; color: var(--white); text-shadow: 0 1px 10px rgba(20, 20, 22, 0.8); }
#cmpRange { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* Homes */
.homes { padding-bottom: var(--sec); overflow: hidden; }
.homeCols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0 var(--gut); }
.homeCol { display: grid; gap: 12px; align-content: start; padding-top: 16px; border-top: 1px solid var(--ink); text-decoration: none; }
.homeCol h3 { font: 400 28px/1.1 var(--display); }
.homeCol .plan { aspect-ratio: 1; transition: transform 0.6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .homeCol:hover .plan { transform: rotate(-2.5deg) scale(1.03); } }
.homeCol .plan svg { width: 100%; height: 100%; display: block; }
.homeNum { font: 400 clamp(36px, 3.4vw, 52px)/1 var(--display); font-variant-numeric: lining-nums; }
.homeNum span { font: 400 16px var(--body); }
.homeCol p { font-size: 14px; color: var(--soft); }
.homesCta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 64px var(--gut) 0; }
.ctaTile { --disc: var(--light); --discFg: var(--ink); --floodFg: var(--ink); --k: 32; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; min-height: clamp(168px, 16vw, 232px); padding: clamp(24px, 2.6vw, 40px); overflow: hidden; border-radius: var(--leaf-lg); text-decoration: none; transition: color 0.3s var(--ease), border-radius 0.6s var(--ease); }
.ctaTile .btnDisc { width: 64px; height: 64px; align-self: end; transition: color 0.3s var(--ease); }
.ctaTile .btnDisc::before { width: 26px; height: 26px; }
.ctaTxt { position: relative; z-index: 2; display: grid; gap: 8px; align-self: end; }
.ctaBig { font: 400 clamp(28px, 3.2vw, 48px)/1.06 var(--display); letter-spacing: -0.01em; }
.ctaSub { font-size: 14px; }
.ctaInk { background: var(--ink); color: var(--white); }
.ctaInk .ctaSub { color: var(--mist); }
.ctaStone { --disc: var(--ink); --discFg: var(--white); --floodFg: var(--white); background: var(--stone); color: var(--ink); padding-left: clamp(136px, 15vw, 224px); }
.ctaStone .ctaSub { color: var(--soft); transition: color 0.3s; }
.ctaCover { position: absolute; z-index: 2; left: clamp(20px, 2.4vw, 40px); top: 50%; width: clamp(104px, 11.6vw, 168px); margin-top: calc(clamp(104px, 11.6vw, 168px) * -0.354); aspect-ratio: 1123/794; border-radius: 2px; box-shadow: 0 14px 34px rgba(20, 22, 24, 0.3); transform: rotate(-5deg); transition: transform 0.6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .ctaTile:hover { color: var(--floodFg); }
  .ctaTile:hover .btnDisc::after { transform: scale(var(--k)); }
  .ctaInk:hover .ctaSub { color: var(--ink); }
  .ctaStone:hover .ctaSub { color: var(--white); }
  .ctaStone:hover .ctaCover { transform: rotate(2deg) scale(1.08) translateY(-4px); }
}
.ctaTile:focus-visible .btnDisc::after { transform: scale(var(--k)); }
.ctaTile:focus-visible { color: var(--floodFg); }
.plan svg { overflow: visible; }
.plan .pl-plate { fill: rgba(20, 34, 42, 0.03); stroke: var(--ink); stroke-width: 0.16; }
.plan .pl-fin { stroke: rgba(20, 34, 42, 0.35); stroke-width: 0.08; }
.plan .pl-other { fill: rgba(20, 34, 42, 0.06); stroke: rgba(20, 34, 42, 0.22); stroke-width: 0.06; }
.plan .pl-unit { fill: rgba(201, 116, 60, 0.13); stroke: var(--copper); stroke-width: 0.14; }
.plan .pl-room { fill: none; stroke: rgba(20, 34, 42, 0.55); stroke-width: 0.07; }
.plan .pl-core { fill: rgba(20, 34, 42, 0.12); stroke: rgba(20, 34, 42, 0.5); stroke-width: 0.08; }
.plan .pl-lift { fill: none; stroke: rgba(20, 34, 42, 0.45); stroke-width: 0.06; }
.plan .pl-bay { fill: rgba(201, 116, 60, 0.26); stroke: var(--copper); stroke-width: 0.1; }
.plan .pl-txt { fill: rgba(20, 34, 42, 0.8); font-family: var(--body); font-size: 0.92px; }
.plan .pl-txt--dim { fill: rgba(20, 34, 42, 0.5); }
.plan .pl-north { stroke: var(--copper); stroke-width: 0.1; fill: none; }
.plan .pl-north-t { fill: var(--copper); font-family: var(--body); font-size: 1.2px; }
.plan .pl-scale { stroke: rgba(20, 34, 42, 0.55); stroke-width: 0.08; }

/* Stops: each picture slides over the last, which steps back */
.stop { position: sticky; top: 0; height: var(--screen, 100svh); min-height: 520px; overflow: hidden; color: var(--white); background: var(--deep); transform-origin: 50% 40%; }
.stop img, .stop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stop video { opacity: 0; transition: opacity 0.8s ease; }
.stop video.on { opacity: 1; }
.stop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(62% 72% at 0% 100%, rgba(20, 20, 22, 0.88), rgba(20, 20, 22, 0.62) 46%, rgba(20, 20, 22, 0) 80%); }
.stopDim { position: absolute; z-index: 2; inset: 0; background: #0e0f12; opacity: 0; pointer-events: none; }
.stopCopy { position: absolute; z-index: 1; left: var(--gut); bottom: clamp(40px, 10vh, 96px); width: min(36vw, 480px); display: grid; gap: 8px; }
.stopCopy p { max-width: min(25vw, 380px); }
.stopCopy small { color: var(--white); }
.stopCopy .hl { text-shadow: 0 1px 14px rgba(20, 20, 22, 0.6); }

/* Progress */
.progress { padding: var(--sec) var(--gut); display: grid; gap: 48px; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { position: relative; display: grid; gap: 8px; padding-top: 16px; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform: scaleX(var(--s, 1)); transform-origin: 0 50%; }
.steps b { font: 400 clamp(28px, 3vw, 44px)/1 var(--display); font-variant-numeric: lining-nums; letter-spacing: -0.01em; }
.steps span { font-size: 14px; color: var(--soft); max-width: 22ch; }
.steps .now::before { height: 2px; background: var(--copper); box-shadow: 0 0 10px rgba(201, 116, 60, 0.5); }
.steps .now b { color: var(--copper); }

/* Location */
.location { padding-bottom: var(--sec); }
.mapWrap { position: relative; margin: 0 var(--gut); border-radius: var(--leaf-lg); overflow: hidden; background: var(--stone); }
.mapWrap img { width: 100%; height: auto; }
.pin { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-6px, -50%); padding: 0; border: 0; background: none; color: var(--white); font: 500 14px/1 var(--body); white-space: nowrap; text-shadow: 0 1px 8px rgba(20, 20, 22, 0.95); cursor: pointer; min-height: 44px; }
.pin span { padding: 4px 8px; border-radius: 99px; background: rgba(20, 20, 22, 0.72); }
.pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24); flex: none; }
.pin.main i { background: var(--light); box-shadow: 0 0 12px 3px rgba(255, 199, 154, 0.8); }
.pin.sel i { background: var(--copper); }
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px var(--gut) 0; }
.places li { padding-top: 12px; border-top: 1px solid var(--ink); }
.places b { display: block; font: 400 24px/1.2 var(--display); }
.places span { font-size: 14px; color: var(--soft); }

/* See it in 3D: a window that opens to the whole screen as you arrive */
.see3d { position: relative; height: var(--screen, 100svh); min-height: 560px; overflow: hidden; color: var(--white); background: var(--deep); }
.see3d img, .see3d video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.see3d video { opacity: 0; transition: opacity 0.8s ease; }
.see3d video.on { opacity: 1; }
.see3dShade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, 0.88), rgba(20, 20, 22, 0.56) 40%, rgba(20, 20, 22, 0) 70%); }
.see3dCopy { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(44vw, 620px); display: grid; gap: 24px; justify-items: start; }
.see3dCopy .lead { color: var(--white); }
.see3dCopy .display { --hl: var(--light); }

/* FAQ */
.faq { padding: var(--sec) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.faqList details { border-top: 1px solid var(--rule); }
.faqList details:last-child { border-bottom: 1px solid var(--rule); }
.faqList summary { min-height: 44px; padding: 16px 32px 16px 0; font-size: 18px; cursor: pointer; list-style: none; position: relative; }
.faqList summary::-webkit-details-marker { display: none; }
.faqList summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--ink); transition: transform 0.2s; }
.faqList details[open] summary::after { transform: rotate(45deg); }
.faqList p { padding: 0 32px 16px 0; color: var(--soft); max-width: 60ch; }

/* The ending: the tower at nightfall with your floor lit, the form, the big word behind the tower, the credits */
.finale { position: relative; overflow: clip; background: var(--deep); color: var(--white); }
.finStick { position: sticky; top: 0; height: var(--screen, 100svh); overflow: hidden; }
.finContent { position: relative; z-index: 5; margin-top: calc(var(--screen, 100svh) * -1); }
.finEnd { position: relative; display: flex; align-items: flex-end; height: var(--screen, 100svh); pointer-events: none; }
.finEnd .foot { width: 100%; pointer-events: auto; }
.finStick .finWord { bottom: 72px; font-size: min(29.6vw, 58svh); }
.reducedWord:not(.wordOn) .finWord { visibility: hidden; }
.finPic { position: absolute; inset: 0; }
.finImg, .finTower { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 53% 50%; }
.finImg { z-index: 0; }
.finShade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(14, 12, 22, 0.86), rgba(14, 12, 22, 0.52) 32%, rgba(14, 12, 22, 0) 54%), linear-gradient(0deg, rgba(14, 12, 22, 0.84), rgba(14, 12, 22, 0) 28%); }
.finWord { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; display: flex; justify-content: center; overflow: hidden; color: var(--white); font: 400 min(24.6vw, 40svh)/0.9 var(--display); letter-spacing: -0.018em; white-space: nowrap; user-select: none; }
.finTower { z-index: 3; }
#finSvg { z-index: 4; transform-origin: 53% 50%; }
.register { position: relative; z-index: 5; display: grid; gap: 16px; align-content: start; justify-items: start; width: min(46vw, 720px); min-height: var(--screen, 100svh); padding: clamp(96px, 14svh, 136px) 0 24px var(--gut); }
.register .display { font-size: clamp(44px, 5vw, 76px); --hl: var(--light); }
.sentence { display: grid; gap: 16px; justify-items: start; max-width: 860px; }
.line { font: 400 clamp(24px, 2.4vw, 34px)/1.6 var(--display); letter-spacing: -0.01em; }
.line input, .line select { font: inherit; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--white); border-radius: 0; padding: 0 4px; height: 44px; margin: -4px 0; }
.line select { appearance: none; -webkit-appearance: none; color: var(--light); cursor: pointer; font-variant-numeric: lining-nums; }
.line select option { color: var(--ink); background: var(--white); }
.line input { field-sizing: content; min-width: 5ch; max-width: 100%; }
.line input::placeholder { color: var(--white); opacity: 0.72; }
.line input:focus, .line select:focus { outline: none; border-bottom-width: 2px; background: rgba(255, 255, 255, 0.08); }
.line input:focus-visible, .line select:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.line input.bad { border-bottom-color: #ff9f8a; }
.err { min-height: 1.4em; margin-top: -8px; font-size: 14px; color: #ffc2b4; }
.fine { font-size: 14px; color: var(--mist); max-width: 60ch; }
.finale.stayLit #finGlow { stroke-width: 14; stroke-opacity: 0.6; }
.finale.lite { display: grid; grid-template-rows: 1fr auto; min-height: min(var(--screen, 100svh), 820px); }
.finale.lite .register { min-height: 0; padding-top: clamp(64px, 9svh, 96px); }
.register.inUse, .register:has(#vdone:not([hidden])) { opacity: 1 !important; }

/* Footer */
.foot { position: relative; z-index: 5; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 12px var(--gut) 16px; }
.footCredit { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mist); }
.footMark { display: inline-block; padding: 2px 0; }
.footMark img { display: block; width: clamp(108px, 9vw, 132px); height: auto; }
.footLinks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 14px; color: var(--mist); }
.footLinks a { position: relative; color: var(--white); transition: color 0.18s; }
.footLinks a::after, .linkb::after { content: ""; position: absolute; inset: -14px -6px; }
.linkb { position: relative; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; color: var(--light); transition: color 0.18s; }
@media (hover: hover) and (pointer: fine) { .footLinks a:hover, .linkb:hover { color: var(--light); } }
.foot.plainFoot { background: var(--deep); color: var(--white); padding: 24px var(--gut); }

/* Residences */
.pageHero { position: relative; height: 62svh; min-height: 420px; overflow: hidden; color: var(--white); background: var(--deep); }
.pageHero img { width: 100%; height: 100%; object-fit: cover; }
.pageHero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 22, 0.72), rgba(20, 20, 22, 0) 56%); }
.pageHero .display { position: absolute; z-index: 1; left: var(--gut); bottom: 32px; --hl: var(--light); }
.resWrap { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 48px; padding: 64px var(--gut) var(--sec); align-items: start; }
.filters { position: sticky; top: 80px; display: grid; gap: 24px; }
.filters h2 { font: 400 24px/1.2 var(--display); }
.fGroup { display: grid; gap: 8px; }
.fGroup > span { font-size: 14px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 99px; background: none; font: 500 14px/1 var(--body); color: var(--ink); cursor: pointer; transition: background-color 0.18s, color 0.18s, border-color 0.18s; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(255, 255, 255, 0.3); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }
.filters input[type="range"] { width: 100%; accent-color: var(--ink); height: 44px; margin: 0; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.count { font-size: 14px; color: var(--soft); }
.resMore { grid-column: -2 / -1; margin: 0; }
.resMore[hidden] { display: none; }
.resGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.resCard { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--rule); border-radius: 4px; background: none; text-align: left; cursor: pointer; color: var(--ink); transition: border-color 0.18s, box-shadow 0.3s var(--ease), border-radius 0.5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .resCard:hover { border-color: var(--ink); border-radius: 32px 4px 32px 4px; box-shadow: 0 16px 40px rgba(20, 22, 24, 0.12); } }
.resCard .plan { aspect-ratio: 1; }
.resCard .plan svg { width: 100%; height: 100%; display: block; }
.resCard h3 { font: 400 28px/1.1 var(--display); }
.resCard p { font-size: 14px; color: var(--soft); }
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.st i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.st.reserved i { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.st.sold i { background: var(--soft); opacity: 0.5; }
.st.sold { color: var(--soft); }
.resEmpty { padding: 32px 0; color: var(--soft); }
dialog.home { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 4px; background: var(--white); color: var(--ink); }
dialog.home::backdrop { background: rgba(20, 20, 22, 0.6); }
.homeIn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 32px; }
.homeIn .plan svg { width: 100%; height: auto; display: block; }
.homeInfo { display: grid; gap: 16px; align-content: start; justify-items: start; }
.homeInfo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 24px 4px 24px 4px; }
.homeInfo dl { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.homeInfo dt { font-size: 14px; color: var(--soft); }
.homeInfo dd { font-size: 18px; }
.homeBtns { display: flex; flex-wrap: wrap; gap: 8px; }
.close { position: sticky; top: 8px; float: right; margin: 8px 8px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--white); font-size: 20px; cursor: pointer; }

/* Plain pages and legal pages */
.plain { padding: 120px var(--gut) var(--sec); display: grid; gap: 24px; max-width: 760px; }
.plain h2 { font: 400 28px/1.2 var(--display); margin-top: 16px; }
.legalNav { display: flex; flex-wrap: wrap; gap: 8px; }
.legalNav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 99px; font: 500 14px/1 var(--body); transition: border-color 0.18s; }
.legalNav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .legalNav a:hover { border-color: var(--ink); } }
.legalDate { font-size: 14px; color: var(--soft); }
.plain ul.legalList { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legalTable { width: 100%; border-collapse: collapse; font-size: 14px; }
.legalTable th, .legalTable td { padding: 12px 12px 12px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.legalTable th { font-weight: 500; color: var(--soft); }

@media (max-width: 820px) {
  .hero { min-height: 520px; }
  .heroWord { top: 24svh; font-size: 29.6vw; }
  .heroShade { background: linear-gradient(0deg, rgba(18, 14, 24, 0.82), rgba(18, 14, 24, 0.6) 26%, rgba(18, 14, 24, 0) 42%); }
  .heroCopy { left: 16px; right: 16px; bottom: 24px; width: auto; gap: 16px; }
  .win3d { right: 16px; bottom: 24px; width: 92px; border-radius: 18px 4px 18px 4px; }
  .win3dBig { left: 10px; top: 2px; font-size: 26px; }
  .win3dL, .win3dRing { display: none; }
  .display { font-size: 44px; }
  .h2, .statement { font-size: 36px; }
  .idea { grid-template-columns: 1fr; }
  .ideaFrames { min-height: 96vw; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floorShade { background: linear-gradient(0deg, rgba(20, 20, 22, 0.94), rgba(20, 20, 22, 0.72) 44%, rgba(20, 20, 22, 0) 62%); }
  .floorCopy { top: auto; bottom: 16px; right: 16px; left: 16px; width: auto; transform: none; gap: 8px; }
  .floorCard { gap: 8px; padding-top: 8px; }
  .cardFacts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; }
  .cardFacts dd { font-size: 14px; }
  /* Top left, in the free sky beside the tower: the handle runs up the right side and must never pass behind it. */
  .floorView { top: 76px; left: 16px; right: auto; bottom: auto; width: calc(36vw - 24px); min-width: 0; }
  .floorView figcaption { display: none; }
  .floorKnob { left: -24px; top: -24px; width: 48px; height: 48px; }
  .floorKnob::before { inset: 12px; }
  .floorMark i.tick { right: 24px; }
  .floorMark b { left: 36px; font-size: 56px; }
  .floorDrag { left: -24px; top: 32px; }
  .floorEnd { left: 40px; }
  .gallery figure, .gallery figure:nth-child(even) { width: 84vw; }
  .gallery img { height: 62vw; }
  .compare { margin-top: 48px; aspect-ratio: 4/5; }
  .homeCols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .homeCol h3 { font-size: 24px; }
  .homesCta { grid-template-columns: 1fr; margin-top: 40px; }
  .ctaTile { min-height: 136px; padding: 20px; }
  .ctaTile .btnDisc { width: 52px; height: 52px; }
  .ctaBig { font-size: 28px; }
  .ctaStone { padding-left: 124px; }
  .ctaCover { left: 16px; width: 96px; margin-top: -34px; }
  .stop::after { background: linear-gradient(0deg, rgba(20, 20, 22, 0.86), rgba(20, 20, 22, 0.3) 34%, rgba(20, 20, 22, 0) 52%); }
  .stopCopy { left: 16px; right: 16px; bottom: 32px; width: auto; }
  .stopCopy p { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pin { gap: 5px; font-size: 13px; }
  .pin span { padding: 3px 7px; }
  .pin-marina, .pin-opera { flex-direction: column-reverse; gap: 4px; transform: translate(-50%, calc(-100% + 5px)); }
  .resCard { grid-template-columns: 104px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
  .resCard .plan { grid-row: 1 / span 3; }
  .cmpL, .cmpR { font: 500 14px/1 var(--body); padding: 8px 12px; border-radius: 99px; background: rgba(20, 20, 22, 0.72); color: var(--white); text-shadow: none; }
  .see3dShade { background: linear-gradient(0deg, rgba(20, 20, 22, 0.9), rgba(20, 20, 22, 0.5) 46%, rgba(20, 20, 22, 0) 70%); }
  .see3dCopy { top: auto; bottom: 32px; transform: none; left: 16px; right: 16px; width: auto; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .line { font-size: 24px; line-height: 1.5; }
  .resWrap { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .filters { position: static; }
  .homeIn { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .barBtn { padding: 0 12px; }
  .bar { grid-template-columns: auto 1fr auto; }
  .barLogo { justify-self: center; }
  .bar .btn.small { padding: 0 14px; }
  .bar .btn.small .btnDisc { display: none; }
  .finale.lite { display: flex; flex-direction: column; min-height: 0; }
  .lite .finPic { position: relative; flex: none; height: calc(var(--screen, 100svh) * 0.64); }
  .finTower { display: none; }
  .lite .finShade { top: 0; bottom: auto; height: calc(var(--screen, 100svh) * 0.64); background: linear-gradient(0deg, var(--deep), rgba(20, 22, 24, 0) 44%); }
  .finale.lite .register { order: 1; width: auto; min-height: 0; margin-top: -88px; padding: 0 16px 16px; gap: 16px; }
  .register .display { font-size: 44px; }
  .lite .finWord { order: 2; position: relative; bottom: auto; font-size: 29.6vw; margin-top: 32px; }
  .lite .foot { order: 3; }
  /* The ending on phones, two moments like the laptop: the form alone on the picture, then the word and the credits. */
  .finale:not(.lite) .finShade { background: linear-gradient(0deg, rgba(14, 12, 22, 0.94), rgba(14, 12, 22, 0.78) 44%, rgba(14, 12, 22, 0) 70%); }
  .finale:not(.lite) .register { width: auto; align-content: end; justify-items: stretch; padding: 88px 16px 24px; }
  .finStick .finWord { bottom: 168px; font-size: 29.6vw; }
  .foot { display: grid; justify-content: stretch; gap: 14px; padding: 16px; }
  .footLinks { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 20px; }
  .footLinks li:nth-child(2) { order: -1; grid-column: 1 / -1; }
  .footLinks li:last-child { grid-column: 1 / -1; }
  /* On phones the big button joins the family: same size and type as Choose your floor, not a separate serif block. */
  .btn.big { --k: 14; min-height: 60px; padding: 0 28px 0 8px; gap: 12px; font: 500 16px/1 var(--body); letter-spacing: 0; }
  .btn.big:has(.btnFloor) { padding-right: 10px; }
  .btn.big .btnDisc { width: 44px; height: 44px; }
  .btn.big .btnDisc::before { width: 20px; height: 20px; }
  .btnFloor { margin-left: 4px; min-height: 40px; padding: 0 14px; font: 500 14px/1 var(--body); }
}
@media (min-width: 600px) and (max-width: 820px) { .heroWord { top: 6svh; } }
@media (max-width: 360px) { .heroCopy .btn { padding-right: 16px; } .win3d { width: 72px; height: 46px; } }
