/* Vistora — riverside residential complex showcase demo by e-site.dev.
   Warm graphite night + warm paper, one accent (brass, the golden-hour light on the limestone). Manrope + Cormorant italic + JetBrains Mono. */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 300 600; src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 300 600; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #0c0d0f; --night-2: #121316; --night-3: #191a1e; --night-4: #222327;
  --on-d: #f3efe8; --on-d2: rgba(240, 233, 222, .72); --on-d3: rgba(240, 233, 222, .48); --hair-d: rgba(240, 226, 205, .13);
  --paper: #f4f1eb; --paper-2: #ece8e0; --white: #fffdf9; --ink: #15140f; --ink-2: #585349; --ink-3: #8b857a; --line: #e4ddd1; --line-2: #d4ccbe;
  --acc: #c9a46a; --acc-2: #dcbd8a; --acc-ink: #8a652e; --acc-soft: rgba(201, 164, 106, .16); --acc-glow: rgba(201, 164, 106, .4);
  --on-acc: #1a150d;
  --sold: #dcd6cb; --sold-d: #34343a;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: max(20px, 5vw);
  --top-h: 66px;
  --sheet: 44px;
  --r: 22px; --r-lg: 30px;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sh-1: 0 1px 2px rgba(20, 18, 14, .05), 0 12px 32px rgba(20, 18, 14, .07);
  --sh-2: 0 2px 4px rgba(20, 18, 14, .05), 0 30px 80px rgba(20, 18, 14, .16);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; background: var(--night); overflow-x: clip; }
body { margin: 0; font-family: Manrope, -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--night); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; font-size: 1.1em; line-height: .9; color: var(--acc-ink); }
.tone-dark h1 em, .tone-dark h2 em { color: var(--acc-2); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
dl, dd, ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100% - var(--gut) * 2); margin: 0 auto; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); display: inline-block; flex: none; }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.tone-dark .fine, .glass .fine { color: var(--on-d3); }
.m-only { display: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.nojs { position: fixed; inset: auto 12px 12px; z-index: 99; background: #fff; color: #111; padding: 10px 14px; border-radius: 12px; font-size: 14px; }

/* ---------------------------------------------------------------- buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--acc); color: var(--on-acc); transition: transform .3s var(--ease), box-shadow .3s, background .3s; white-space: nowrap; box-shadow: 0 10px 30px -12px var(--acc-glow); }
.pill:hover { transform: translateY(-1px); background: var(--acc-2); box-shadow: 0 16px 36px -12px var(--acc-glow); }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill.ghost { background: rgba(255, 255, 255, .08); color: var(--on-d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill.ghost:hover { background: rgba(255, 255, 255, .15); }
.pill.light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill.light:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink-3); }
.tone-dark .pill.light { background: rgba(255, 255, 255, .08); color: var(--on-d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pill.ink { background: var(--ink); color: #fff; box-shadow: none; }
.pill.ink:hover { background: #2a2822; }
.pill.sm { padding: 10px 16px; font-size: 14px; }
.pill-top { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--acc-ink); background: none; border: 0; padding: 0; }
.tone-dark .lnk, .lnk.light, .glass .lnk { color: var(--acc-2); }
.lnk svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.lnk:hover svg { transform: translateX(3px); }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--on-d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background .2s, transform .2s; flex: none; }
.round:hover { background: rgba(255, 255, 255, .16); }
.round svg { width: 20px; height: 20px; }
.round.light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.round.light:hover { background: var(--paper-2); }
.round.acc { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.round:disabled { opacity: .35; cursor: default; }
.glass { background: linear-gradient(160deg, rgba(42, 40, 36, .66), rgba(16, 16, 18, .66)); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255, 245, 230, .12), 0 30px 80px -20px rgba(0, 0, 0, .6); color: var(--on-d); border-radius: var(--r); }
.glass-l { background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); border-radius: var(--r-lg); }

/* ---------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: 30px; padding: 0 var(--gut); color: var(--on-d); transition: background .35s, box-shadow .35s, color .35s; }
.top.is-solid { background: rgba(12, 13, 15, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--hair-d); }
.top.on-light { color: var(--ink); background: rgba(244, 241, 235, .84); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand .logo { width: 28px; height: 28px; }
.nav { display: flex; gap: 24px; font-size: 14px; }
.nav a { text-decoration: none; opacity: .72; transition: opacity .2s; position: relative; white-space: nowrap; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--acc); }
.tact { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fav-top { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.on-light .fav-top { background: rgba(0, 0, 0, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.fav-top svg { width: 18px; height: 18px; }
.fav-top b { font-size: 13px; font-variant-numeric: tabular-nums; }
.fav-top.has svg { color: var(--acc); }
.fav-top.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }
.lng { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.on-light .lng { background: rgba(0, 0, 0, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.lng button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: inherit; opacity: .7; }
.lng button[aria-pressed="true"] { background: #fff; color: var(--ink); opacity: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.top-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); opacity: .85; }
.credit-fab { position: fixed; left: 16px; bottom: 14px; z-index: 45; font-size: 11.5px; font-weight: 650; text-decoration: none; color: var(--on-d2); background: rgba(12, 13, 15, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 6px 12px 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); display: inline-flex; gap: 7px; align-items: center; transition: opacity .4s, transform .4s var(--ease); }
.credit-fab::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
html.past-hero .credit-fab { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* ---------------------------------------------------------------- tones, sheets, grain, editorial heads */
.tone-dark { background: var(--night); color: var(--on-d); position: relative; }
.tone-light { background: var(--paper); color: var(--ink); position: relative; }
.sheet { z-index: 2; margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; }
.tone-dark::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .05; mix-blend-mode: overlay; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tone-dark > * { position: relative; z-index: 1; }
section { padding: clamp(84px, 9vw, 140px) 0 calc(clamp(84px, 9vw, 140px) + var(--sheet)); }
.kicker { display: flex; align-items: center; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-ink); margin-bottom: 18px; }
.tone-dark .kicker { color: var(--acc-2); }
.kicker[data-idx]::before { content: attr(data-idx); display: inline-block; margin-right: 12px; padding-right: 12px; border-right: 1px solid currentColor; opacity: .6; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
h2 { font-size: clamp(34px, 4.3vw, 62px); letter-spacing: -0.045em; }
.sec-lead { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-2); line-height: 1.6; max-width: 560px; }
.tone-dark .sec-lead { color: var(--on-d2); }
.sec-head.ed { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(30px, 6vw, 90px); align-items: end; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: clamp(36px, 4vw, 56px); }
.tone-dark .sec-head.ed { border-top-color: var(--hair-d); }
.sec-head.ed .kicker { grid-column: 1 / -1; }
.sec-head.ed h2 { grid-column: 1; }
.sec-head.ed .sec-lead { grid-column: 2; margin-bottom: 6px; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- HERO film */
.film { height: 420vh; padding: 0; background: #08090b; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.reduced .film { height: auto; }
html.reduced .film-stage { position: relative; height: 100svh; min-height: 640px; }
.film-media { position: absolute; inset: 0; }
.film-poster img, .film-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.film-cv { opacity: 0; transition: opacity .4s; }
.film-cv.on { opacity: 1; }
.film-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 9, 11, .78) 0%, rgba(8, 9, 11, .5) 30%, rgba(8, 9, 11, 0) 54%), linear-gradient(0deg, rgba(8, 9, 11, .72) 0%, rgba(8, 9, 11, 0) 28%), linear-gradient(180deg, rgba(8, 9, 11, .5) 0%, rgba(8, 9, 11, 0) 16%); }
.film-copy { position: absolute; left: var(--gut); top: 50%; transform: translateY(-56%); width: min(640px, 46vw); color: var(--on-d); }
.hello { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; color: var(--on-d2); padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); margin-bottom: 22px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hello .dot { width: 6px; height: 6px; }
h1 { font-size: clamp(40px, 4.4vw, 68px); letter-spacing: -0.048em; line-height: 1.02; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
h1 em { display: inline-block; }
.lead { margin-top: 20px; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.55; color: var(--on-d2); max-width: 520px; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.chip-l { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; text-decoration: none; color: var(--on-d2); background: rgba(12, 13, 15, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s; }
.chip-l:hover { background: rgba(255, 255, 255, .12); }
.chip-l b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.chip-l .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px var(--acc-soft); }
.chips small { font-size: 11.5px; color: var(--on-d2); margin-left: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.film-steps { position: absolute; left: var(--gut); bottom: 62px; display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 18px; color: var(--on-d2); }
.film-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; font-size: 13.5px; line-height: 1.35; opacity: .55; transition: opacity .4s; }
.film-steps li.on, .film-steps li.done { opacity: 1; }
.film-steps b { font-size: 11.5px; color: var(--acc); font-weight: 800; padding-top: 2px; font-family: var(--mono); }
.film-steps li > span { color: var(--on-d); font-weight: 600; }
.film-steps small { display: block; font-weight: 500; color: var(--on-d3); font-size: 12px; margin-top: 2px; }
.fs-bar { grid-column: 1 / -1; display: block; height: 2px; margin-top: 12px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.fs-bar i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.film-cue { position: absolute; right: var(--gut); bottom: 30px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--on-d3); transition: opacity .4s; }
.film-stage[data-p-high] .film-cue { opacity: 0; }
.mouse { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); display: grid; justify-items: center; padding-top: 7px; }
.mouse i { width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
html.reduced .mouse i { animation: none; }
.film-card { position: absolute; right: var(--gut); bottom: 56px; width: 300px; padding: 20px 22px; display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.film-stage.carded .film-card { opacity: 1; transform: none; pointer-events: auto; }
html.reduced .film-card { opacity: 1; transform: none; pointer-events: auto; }
.fc-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-d2); font-weight: 650; }
.fc-name { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.fc-row { display: flex; gap: 18px; font-size: 14px; color: var(--on-d2); }
.fc-row b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.fc-row small { font-size: 12.5px; }

/* ---------------------------------------------------------------- SIGNATURE: facade picker + window */
.floor { padding-bottom: calc(clamp(84px, 9vw, 130px) + var(--sheet)); }
.fp { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.fc { margin: 0; position: sticky; top: calc(var(--top-h) + 16px); }
/* crop window onto the 1792×2400 render: x 150…1642, y 110…2330 — the image and the SVG share one inner box, so they stay aligned at any width */
.fc-stage { position: relative; aspect-ratio: 1492 / 2220; overflow: hidden; border-radius: var(--r-lg); background: #d9c8b0; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); max-height: calc(100svh - var(--top-h) - 70px); margin-inline: auto; }
.fc-inner { position: absolute; width: calc(100% * 1792 / 1492); height: calc(100% * 2400 / 2220); left: calc(-100% * 150 / 1492); top: calc(-100% * 110 / 2220); }
.fc-inner picture, .fc-inner img, .fc-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fc-inner img { object-fit: fill; }
.fc-svg { cursor: pointer; touch-action: pan-y; }
.fc-svg .fl { fill: rgba(255, 246, 228, 0); stroke: rgba(255, 246, 228, 0); stroke-width: 4; transition: fill .25s, stroke .25s; }
.fc-stage:hover .fc-svg .fl { fill: rgba(255, 246, 228, .03); stroke: rgba(255, 246, 228, .14); }
.fc-svg .fl.on, .fc-stage:hover .fc-svg .fl.on { fill: rgba(201, 164, 106, .34); stroke: var(--acc-2); stroke-width: 6; }
.fc-svg .fl.lobby { cursor: default; }
.fc-svg .fl.lobby.on { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .5); }
.fc-tag { position: absolute; transform: translate(14px, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(12, 13, 15, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-d); font-size: 12.5px; font-weight: 650; white-space: nowrap; pointer-events: none; transition: top .25s var(--ease), opacity .25s; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.fc-tag b { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-family: var(--mono); font-size: 13px; }
.fc-tag.left { transform: translate(calc(-100% - 14px), -50%); }
.fc-cap { margin-top: 12px; font-size: 12.5px; color: var(--on-d3); text-align: center; }
.fpanel { display: grid; gap: 22px; }
.fp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.fp-floor { display: grid; }
.fp-lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-d3); }
.fp-floor b { font-family: var(--mono); font-weight: 500; font-size: clamp(64px, 7vw, 104px); line-height: .9; letter-spacing: -.06em; color: var(--on-d); font-variant-numeric: tabular-nums; }
.fp-step { display: flex; align-items: center; gap: 10px; }
.fp-step #fp-up svg { transform: rotate(180deg); }
.fp-step input { width: 150px; }
.win { position: relative; aspect-ratio: 16 / 9.4; border-radius: 16px; overflow: hidden; background: #2a2620; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.win-view { position: absolute; inset: -6% 0; }
.win-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); transform: translateY(var(--vy, 0%)) scale(1.04); }
.win-view img.on { opacity: 1; }
.win-frame { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 10px #3a3127, inset 0 0 0 11px rgba(255, 230, 190, .18), inset 0 18px 40px rgba(0, 0, 0, .35); border-radius: 16px; }
.win-frame .mul { position: absolute; top: 0; bottom: 0; width: 8px; background: linear-gradient(90deg, #2e271f, #4a3e30 45%, #2e271f); box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.win-frame .m1 { left: 33.3%; } .win-frame .m2 { left: 66.6%; }
.win-frame .tr { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(180deg, #4a3e30, #2b241c); box-shadow: 0 -6px 16px rgba(0, 0, 0, .25); }
.win-cap { position: absolute; left: 22px; bottom: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(12, 13, 15, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-d); font-size: 13px; font-weight: 650; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.win-cap svg { width: 16px; height: 16px; color: var(--acc-2); }
.win-alt { position: absolute; right: 26px; top: 22px; bottom: 34px; width: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.win-alt i { position: absolute; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 5px rgba(201, 164, 106, .28); transform: translate(-50%, 50%); bottom: var(--alt, 50%); transition: bottom .6s var(--ease); }
.win-alt span { position: absolute; right: 16px; transform: translateY(50%); bottom: var(--alt, 50%); font-family: var(--mono); font-size: 11.5px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); white-space: nowrap; transition: bottom .6s var(--ease); }
.fp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair-d); border-bottom: 1px solid var(--hair-d); }
.fp-stats > div { padding: 16px 0; }
.fp-stats > div + div { padding-left: 18px; border-left: 1px solid var(--hair-d); }
.fp-stats dt { font-size: 12.5px; color: var(--on-d3); }
.fp-stats dd { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.fp-stats dd small { font-size: 13px; font-weight: 500; color: var(--on-d3); letter-spacing: 0; }
.fp-plan { border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair-d); padding: 12px 18px; }
.fp-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fp-act .fine { flex: 1 1 220px; }

/* ---------------------------------------------------------------- range inputs */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; --fill: 50%; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--fill), var(--line-2) var(--fill)); }
.tone-dark input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--acc) var(--fill), rgba(255, 255, 255, .18) var(--fill)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--acc); margin-top: -9px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
.tone-dark input[type=range]::-moz-range-track { background: rgba(255, 255, 255, .18); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--acc); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--acc); }
.rng { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.tone-dark .rng { color: var(--on-d2); }
.rng b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tone-dark .rng b { color: #fff; }

/* ---------------------------------------------------------------- segmented, chips, toggles */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); gap: 2px; }
.seg button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; transition: background .2s, color .2s; white-space: nowrap; }
.seg button small { font-size: 11px; font-family: var(--mono); color: var(--ink-3); }
.seg button svg { width: 16px; height: 16px; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.seg button[aria-checked="true"] small { color: rgba(255, 255, 255, .6); }
.seg.sm button { padding: 7px 13px; font-size: 13px; }
.chips-f { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chips-f button { border: 0; min-width: 42px; padding: 9px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 650; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.chips-f button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tgl { border: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 650; color: var(--ink-2); }
.tgl svg { width: 17px; height: 17px; color: var(--ink-3); }
.tgl[aria-pressed="true"] { background: var(--acc-soft); box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--ink); }
.tgl[aria-pressed="true"] svg { color: var(--acc-ink); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.sw-free { background: #ecd9b4; box-shadow: inset 0 0 0 1.5px var(--acc); }
.sw-reserved { background: repeating-linear-gradient(45deg, #d9d2c5 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px #c5bdae; }
.sw-sold { background: #efeeeb; box-shadow: inset 0 0 0 1px #d9d6d0; }
.sw-dim { background: #ecd9b4; opacity: .35; box-shadow: inset 0 0 0 1px var(--acc); }

/* ---------------------------------------------------------------- APARTMENT CHOOSER */
.flt { display: grid; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 22px; }
.flt-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.fgrp { display: flex; align-items: center; gap: 10px; }
.fgrp.tg { gap: 8px; flex-wrap: wrap; margin-left: auto; }
.flbl { font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.flt-row.rngs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 26px; }
.reset { color: var(--ink-2); font-size: 13.5px; }
.reset svg { width: 15px; height: 15px; }
.chooser { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.board { background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); padding: 18px 20px 16px; position: sticky; top: calc(var(--top-h) + 14px); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.fl-step { display: flex; align-items: center; gap: 12px; }
.fl-step .round { width: 40px; height: 40px; }
.fl-now { display: grid; text-align: center; min-width: 120px; line-height: 1.2; }
.fl-now span { font-size: 12px; color: var(--ink-3); font-weight: 650; }
.fl-now b { font-size: 20px; letter-spacing: -.03em; font-weight: 650; }
.fl-now small { font-size: 12.5px; color: var(--acc-ink); font-weight: 650; }
.board-body { position: relative; min-height: 260px; }
.plan-wrap svg { width: 100%; height: auto; }
.plan-wrap[hidden] + .plan-hint { display: none !important; }
.plan-hint { display: none; font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 8px; }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }
.legend .lg-demo { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.fc-demo { font-size: 11.5px; color: var(--on-d3); margin-top: -4px; }
/* floor plate drawing */
.plate { font-family: Manrope, sans-serif; }
.plate .pl-river path { fill: none; stroke: #9fb0b8; stroke-width: 2.2; opacity: .8; }
.plate .pl-river text, .plate .pl-yard { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: #7b8d96; }
.plate .pl-yard { fill: var(--ink-3); }
.plate .pl-slab { fill: #f1ede6; stroke: none; }
.plate .pl-roof { fill: #f3f0ea; stroke: #b9b1a3; stroke-width: 2; stroke-dasharray: 8 6; }
.plate .pl-core { fill: #ebe6dd; stroke: #2a2823; stroke-width: 2.5; }
.plate .pl-lift { fill: #fff; stroke: #2a2823; stroke-width: 2; }
.plate .pl-lift-x { stroke: #9a9387; stroke-width: 1.2; }
.plate .pl-stair { fill: #fff; stroke: #2a2823; stroke-width: 2; }
.plate .pl-step { stroke: #9a9387; stroke-width: 1.2; }
.plate .pl-terr, .aplan .pl-terr { fill: url(#deck); stroke: #b9ad98; stroke-width: 1.5; }
.aplan .pl-terr { fill: url(#deck2); }
.plate .pl-terr { cursor: pointer; }
.pt-bg { fill: #f6f4f0; } .pt-ln { stroke: #cbc3b5; stroke-width: 2.6; }
.dk-bg { fill: #efe6d6; } .dk-ln { stroke: #dccdb4; stroke-width: 1.4; }
.plate .apt { cursor: pointer; outline: none; }
.plate .ap-fill { fill: #fff; transition: fill .2s; }
.plate .rm { fill: none; stroke: #45413a; stroke-width: 1.4; }
.plate .ap-wall, .aplan .ap-wall { fill: none; stroke: #23211c; stroke-width: 5; stroke-linejoin: round; }
.plate .win, .aplan .win { stroke: #fff; stroke-width: 3.2; }
.plate .pl-door, .aplan .pl-door { fill: none; stroke: #6d675d; stroke-width: 1.4; }
.plate .ap-lbl text { text-anchor: middle; fill: var(--ink); font-variant-numeric: tabular-nums; }
.plate .ap-lbl .l1 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.plate .ap-lbl .l2 { font-size: 15px; font-weight: 600; fill: var(--ink-2); font-family: var(--mono); letter-spacing: -.04em; }
.plate .ap-lbl .l3 { font-size: 12px; font-weight: 700; fill: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.plate .ap-no { font-family: var(--mono); font-size: 12px; fill: var(--ink-3); }
.plate .st-free .ap-fill { fill: #ecd9b4; }
.plate .st-free:hover .ap-fill, .plate .st-free:focus-visible .ap-fill { fill: #e2c48f; }
.plate .st-reserved .ap-fill { fill: url(#hatch); }
.plate .st-sold .ap-fill { fill: #efeeeb; }
.plate .st-sold .rm, .plate .st-reserved .rm { stroke: #a7a196; }
.plate .st-sold .ap-wall { stroke: #4a4741; }
.plate .st-sold .ap-lbl text, .plate .st-reserved .ap-lbl text { fill: #9d978c; }
.plate .ap-lbl .l3.pr { font-size: 13.5px; fill: var(--acc-ink); text-transform: none; letter-spacing: -.01em; font-weight: 800; }
.plate .apt.dim { opacity: .3; }
.plate .apt.sel .ap-wall { stroke: var(--acc-ink); stroke-width: 9; }
.plate .apt:hover .ap-wall, .plate .apt:focus-visible .ap-wall { stroke: var(--acc-ink); stroke-width: 7; }
.plate .pl-scale line { stroke: var(--ink-2); stroke-width: 2; }
.plate .pl-scale text { font-size: 14px; fill: var(--ink-2); font-family: var(--mono); }
/* dark mini plan inside the facade panel */
.fp-plan .plate .pl-river path { stroke: rgba(160, 180, 190, .45); }
.fp-plan .plate .pl-slab { fill: rgba(255, 255, 255, .04); }
.fp-plan .plate .pl-roof { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .3); }
.fp-plan .plate .pl-core { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .45); }
.fp-plan .plate .pl-lift, .fp-plan .plate .pl-stair { fill: none; stroke: rgba(255, 255, 255, .35); }
.fp-plan .plate .pl-terr { fill: rgba(201, 164, 106, .1); stroke: rgba(201, 164, 106, .35); }
.fp-plan .plate .ap-fill { fill: rgba(255, 255, 255, .05); }
.fp-plan .plate .st-free .ap-fill { fill: rgba(201, 164, 106, .5); }
.fp-plan .plate .st-reserved .ap-fill { fill: rgba(255, 255, 255, .1); }
.fp-plan .plate .st-sold .ap-fill { fill: rgba(255, 255, 255, .04); }
.fp-plan .plate .rm { stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.fp-plan .plate .ap-wall { stroke: rgba(255, 255, 255, .7); stroke-width: 4; }
.fp-plan .plate .win { stroke: #1a1a1d; }
.fp-plan .plate .pl-door { stroke: rgba(255, 255, 255, .3); }
.fp-plan .plate .apt { cursor: default; }
.fp-plan .plate .pl-lift-x, .fp-plan .plate .pl-step { stroke: rgba(255, 255, 255, .2); }
/* tooltip */
.pl-tip { position: absolute; z-index: 3; width: 240px; padding: 14px 16px; pointer-events: none; font-size: 13.5px; border-radius: 16px; transform: translate(-50%, calc(-100% - 14px)); }
.pl-tip b { display: block; font-size: 16px; letter-spacing: -.02em; }
.pl-tip .tp-p { font-size: 18px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pl-tip small { color: var(--ink-3); }
/* chessboard («шахматка») */
.grid-wrap { overflow-x: auto; padding-bottom: 4px; }
.shx { display: grid; gap: 4px; min-width: 420px; }
.shx-r { display: grid; grid-template-columns: 36px repeat(var(--n, 8), minmax(0, 1fr)); gap: 4px; align-items: stretch; }
.shx-f { font-family: var(--mono); font-size: 12px; color: var(--ink-3); display: grid; place-items: center; border-radius: 6px; }
.shx-r.cur .shx-f { background: var(--ink); color: #fff; }
.shx-c { border: 0; height: 30px; border-radius: 6px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); padding: 0 4px; white-space: nowrap; overflow: hidden; }
.shx-c.st-free { background: #ecd9b4; box-shadow: inset 0 0 0 1px rgba(201, 164, 106, .8); }
.shx-c.st-free:hover { background: #e2c48f; }
.shx-c.st-reserved { background: repeating-linear-gradient(45deg, #e3ddd2 0 3px, #f3efe8 3px 7px); color: var(--ink-3); }
.shx-c.st-sold { background: #efeeeb; color: #a8a39a; }
.shx-c.dim { opacity: .28; }
.shx-c.sel { box-shadow: inset 0 0 0 2.5px var(--acc-ink); }
.shx-c.span2 { grid-column: span 4; }
.shx-head { font-size: 11.5px; color: var(--ink-3); text-align: center; font-family: var(--mono); }
/* results */
.res-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.res-n { font-size: 15px; color: var(--ink-2); }
.res-n b { color: var(--ink); font-size: 18px; }
.sort { position: relative; display: inline-flex; align-items: center; }
.sort select, .sel-w select { -webkit-appearance: none; appearance: none; border: 0; padding: 9px 36px 9px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 650; }
.sort svg, .sel-w svg { position: absolute; right: 12px; width: 16px; height: 16px; pointer-events: none; }
.res-list { display: grid; gap: 10px; }
.card { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s var(--ease); cursor: pointer; position: relative; }
.card:hover, .card.hl { box-shadow: inset 0 0 0 1.5px var(--acc), var(--sh-1); }
.card-pl { aspect-ratio: 1.35; border-radius: 12px; background: var(--paper); display: grid; place-items: center; padding: 6px; }
.card-pl svg { width: 100%; height: 100%; }
.card h3 { font-size: 16.5px; letter-spacing: -.02em; font-weight: 700; }
.card-m { font-size: 13px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.tag svg { width: 13px; height: 13px; }
.tag.acc { background: var(--acc-soft); color: var(--acc-ink); }
.tag.res { background: #ece6dc; color: var(--ink-3); }
.card-p { text-align: right; display: grid; gap: 6px; justify-items: end; }
.card-p > div:first-child { display: grid; justify-items: end; line-height: 1.25; }
.card-p b { font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card-p small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card-a { display: flex; gap: 6px; }
.ic-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); transition: background .2s, color .2s; }
.ic-btn svg { width: 17px; height: 17px; }
.ic-btn:hover { background: var(--paper-2); color: var(--ink); }
.ic-btn[aria-pressed="true"] { background: var(--acc-soft); color: var(--acc-ink); }
.res-more { display: flex; justify-content: center; margin-top: 14px; }
.res-empty { padding: 26px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; justify-items: start; color: var(--ink-2); }

/* ---------------------------------------------------------------- drawers (quick view, compare, favourites) */
.drawer { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: flex-end; }
.dr-back { position: absolute; inset: 0; background: rgba(10, 10, 12, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s; }
.dr-panel { position: relative; width: min(640px, 100%); height: 100%; overflow-y: auto; background: var(--paper); color: var(--ink); box-shadow: -30px 0 80px rgba(0, 0, 0, .3); animation: slide .45s var(--ease); overscroll-behavior: contain; }
.dr-panel.narrow { width: min(440px, 100%); }
.sheet-d { align-items: flex-end; justify-content: center; }
.dr-panel.wide { width: min(1080px, 100%); height: auto; max-height: 88vh; border-radius: 28px 28px 0 0; animation: rise .45s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
html.reduced .dr-panel, html.reduced .dr-back { animation: none; }
.dr-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 24px 16px; background: rgba(244, 241, 235, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dr-h h3 { font-size: 24px; letter-spacing: -.03em; }
.dr-h p { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.dr-b { padding: 20px 24px 28px; display: grid; gap: 20px; }
.qv-tabs { display: flex; gap: 6px; }
.qv-view { border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; position: relative; }
.qv-view .aplan { width: 100%; height: auto; max-height: 420px; padding: 8px; }
.qv-view img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.qv-view .qv-note { position: absolute; left: 12px; bottom: 12px; font-size: 11.5px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: rgba(12, 13, 15, .6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.aplan .rm { fill: #fbf9f5; stroke: #45413a; stroke-width: 2; }
.aplan .rm.dry { fill: #f1ede6; }
.aplan .fur rect, .aplan .fur circle { fill: none; stroke: #b7ae9f; stroke-width: 1.6; }
.aplan .rm-lbl text { text-anchor: middle; }
.aplan .rm-lbl .n { font-size: 15px; font-weight: 700; fill: var(--ink); }
.aplan .rm-lbl .a { font-size: 14px; font-family: var(--mono); fill: var(--acc-ink); font-weight: 500; }
.aplan .rm-lbl.sm .n { font-size: 12px; }
.aplan .rm-lbl.sm .a { font-size: 12px; }
.aplan .rm-lbl.terr .n { fill: #6d5c40; }
.aplan .dim line { stroke: var(--ink-3); stroke-width: 1.5; }
.aplan .dim text { font-size: 14px; font-family: var(--mono); fill: var(--ink-2); }
.aplan .orient { font-size: 14px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; fill: #7b8d96; }
.aplan.mini .rm { fill: #fff; stroke: #6b665d; stroke-width: 1; }
.aplan.mini .rm.dry { fill: #e9e4da; }
.aplan.mini .ap-wall { stroke-width: 2.6; }
.aplan.mini .win { stroke: var(--paper); stroke-width: 1.8; }
.aplan.mini .pl-door { stroke-width: .8; }
.aplan.mini .pl-terr { fill: #eadfcb; stroke: #c9b996; stroke-width: 1; }
.qv-price { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; padding: 18px 20px; border-radius: 20px; background: var(--ink); color: #fff; }
.qv-price b { font-size: 34px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.qv-price small { color: rgba(255, 255, 255, .6); font-size: 13px; }
.qv-price .qv-inst { grid-column: 1 / -1; font-size: 13.5px; color: rgba(255, 255, 255, .8); padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
.qv-price .qv-inst b { font-size: 15px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.specs > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--ink-3); }
.specs dd { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.rooms-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; font-size: 13.5px; }
.rooms-l li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line-2); padding: 5px 0; }
.rooms-l span:last-child { font-family: var(--mono); color: var(--ink-2); }
.qv-act { display: flex; flex-wrap: wrap; gap: 8px; }
.qv-act .pill { flex: 1 1 auto; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; padding: 4px 10px; border-radius: 999px; }
.st-pill.free { background: var(--acc-soft); color: var(--acc-ink); }
.st-pill.reserved { background: #e9e3d8; color: var(--ink-2); }
.st-pill.sold { background: #e4e0d9; color: var(--ink-3); }
/* compare */
.cmp-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; border-radius: 999px; animation: rise .4s var(--ease); max-width: calc(100% - 24px); }
.ct-items { display: flex; gap: 6px; }
.ct-items span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; font-family: var(--mono); }
.ct-items button { width: 20px; height: 20px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; padding: 0; }
.ct-items button svg { width: 12px; height: 12px; }
.cmp-tray .pill { padding: 10px 18px; font-size: 14px; }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-t th, .cmp-t td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-t thead th { vertical-align: bottom; border-bottom: 0; }
.cmp-t tbody th { color: var(--ink-3); font-weight: 600; width: 22%; }
.cmp-t td { font-variant-numeric: tabular-nums; font-weight: 600; }
.cmp-t td.best { color: var(--acc-ink); }
.cmp-t td.best::after { content: ' ●'; font-size: 9px; vertical-align: middle; }
.cmp-h { display: grid; gap: 8px; }
.cmp-h .card-pl { aspect-ratio: 1.6; }
.cmp-h b { font-size: 16px; }
.cmp-h small { color: var(--ink-3); font-weight: 600; }
.cmp-wrap { overflow-x: auto; }
/* favourites */
.fav-l { display: grid; gap: 10px; }
.fav-l .card { grid-template-columns: 80px minmax(0, 1fr) auto; }
.fav-empty { color: var(--ink-2); display: grid; gap: 14px; justify-items: start; }

/* ---------------------------------------------------------------- PAYMENT */
.calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.calc-l { display: grid; gap: 18px; }
.pay-apt { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: var(--r); }
.pay-apt .card-pl { background: rgba(255, 255, 255, .92); }
.pay-apt b { font-size: 18px; letter-spacing: -.02em; display: block; }
.pay-apt small { display: block; color: var(--on-d3); font-size: 13px; margin-top: 2px; }
.pay-apt .pa-p { font-size: 22px; font-weight: 700; margin-top: 8px; font-variant-numeric: tabular-nums; }
.pay-pick { display: flex; align-items: center; gap: 12px; }
.pay-pick label { font-size: 13px; color: var(--on-d3); }
.sel-w { position: relative; display: inline-flex; align-items: center; flex: 1; }
.sel-w select { width: 100%; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: var(--on-d); }
.sel-w select option { color: #111; }
.pay-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pay-modes button { text-align: left; border: 0; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--on-d); display: grid; gap: 3px; transition: background .2s, box-shadow .2s; }
.pay-modes button b { font-size: 15px; }
.pay-modes button small { font-size: 12.5px; color: var(--on-d3); }
.pay-modes button[aria-checked="true"] { background: var(--acc-soft); box-shadow: inset 0 0 0 1.5px var(--acc); }
.mort-p { display: grid; gap: 16px; padding: 4px 2px; }
.calc-r { padding: clamp(22px, 2.5vw, 32px); border-radius: var(--r-lg); display: grid; gap: 14px; }
.co-l { font-size: 14px; color: var(--on-d2); }
.co-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.co-big b { font-size: clamp(44px, 5vw, 72px); letter-spacing: -.05em; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-big span { color: var(--on-d3); font-size: 16px; }
.co-lines { display: grid; }
.co-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair-d); font-size: 14.5px; }
.co-lines dt { color: var(--on-d2); }
.co-lines dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.co-lines dd small { display: block; font-weight: 500; color: var(--on-d3); font-size: 12px; }
.co-lines .gain dd { color: var(--acc-2); }
.sched svg { width: 100%; height: auto; }
.sched .bar { fill: rgba(255, 255, 255, .22); }
.sched .bar.first { fill: var(--acc); }
.sched .bar.key { fill: var(--acc-2); }
.sched text { font-size: 11px; fill: var(--on-d3); font-family: var(--mono); }
.sched .lbl-big { font-size: 12px; fill: var(--on-d2); font-family: Manrope, sans-serif; font-weight: 650; }
.sched .base { stroke: rgba(255, 255, 255, .18); }
.co-act { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- MAP */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: 22px; align-items: start; }
.map { overflow: hidden; padding: 0; position: relative; }
.map svg { width: 100%; height: auto; display: block; }
.mp-land { fill: #efebe3; }
.mp-water { fill: #c9d3d6; }
.mp-water-l { fill: none; stroke: #b5c2c6; stroke-width: 1.5; }
.mp-island { fill: #dfe2d6; }
.mp-park { fill: #dfe3d4; }
.mp-tree { fill: #c8cfba; }
.mp-blk { fill: #e5dfd4; stroke: #ddd5c8; stroke-width: 1; }
.mp-road { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.mp-road.main { stroke-width: 12; }
.mp-road.sec { stroke-width: 7; }
.mp-prom { fill: none; stroke: #d8c39f; stroke-width: 5; stroke-dasharray: 2 6; stroke-linecap: round; }
.mp-ring { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .75; }
.mp-ring-t { font-size: 12px; font-family: var(--mono); fill: var(--acc-ink); font-weight: 500; }
.mp-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: #7d8f95; }
.mp-label.dk { fill: #a19a8d; letter-spacing: .08em; font-size: 12px; }
.mp-home rect { fill: var(--ink); }
.mp-home .pulse { fill: var(--acc); opacity: .25; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.2); opacity: 0; } }
html.reduced .mp-home .pulse { animation: none; }
.mp-home text { font-size: 13px; font-weight: 800; fill: var(--ink); }
.mp-poi { cursor: pointer; }
.mp-poi circle { fill: #fff; stroke: var(--ink); stroke-width: 1.8; transition: fill .2s; }
.mp-poi use { color: var(--ink); }
.mp-poi.on circle { fill: var(--acc); stroke: var(--acc-ink); }
.mp-poi:focus-visible circle { stroke: var(--acc-ink); stroke-width: 3; }
.mp-route { fill: none; stroke: var(--acc-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.mp-route-bg { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.mp-mins rect { fill: var(--ink); }
.mp-mins text { fill: #fff; font-size: 13px; font-weight: 800; }
.poi-side { display: grid; gap: 14px; }
.poi-list { display: grid; gap: 6px; }
.poi-list button { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 14px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow .2s, background .2s; }
.poi-list button:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.poi-list button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--acc); background: #fffaf1; }
.poi-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); }
.poi-ic svg { width: 19px; height: 19px; }
.poi-list b { font-size: 14.5px; font-weight: 650; display: block; line-height: 1.25; }
.poi-list small { font-size: 12px; color: var(--ink-3); }
.poi-min { font-family: var(--mono); font-size: 14px; font-weight: 500; white-space: nowrap; }
.poi-card { padding: 16px 18px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; gap: 6px; }
.poi-card b { font-size: 26px; letter-spacing: -.03em; }
.poi-card p { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ---------------------------------------------------------------- PROGRESS */
.pg { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.pg-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #1a1a1c; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.pg-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.pg-imgs img.on { opacity: 1; }
.pg-badge { position: absolute; left: 16px; top: 16px; padding: 9px 14px; border-radius: 14px; display: grid; }
.pg-badge span { font-weight: 700; font-size: 15px; }
.pg-badge span::first-letter, .pg-ticks li::first-letter { text-transform: uppercase; }
.pg-badge small { font-size: 11.5px; color: var(--on-d3); }
.pg-side { display: grid; gap: 20px; }
.pg-scrub { display: grid; gap: 8px; }
.pg-ticks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); font-size: 12px; color: var(--on-d3); }
.pg-ticks li { text-align: center; cursor: pointer; }
.pg-ticks li:first-child { text-align: left; } .pg-ticks li:last-child { text-align: right; }
.pg-ticks li.on { color: var(--on-d); font-weight: 700; }
.pg-cap { font-size: 15px; color: var(--on-d2); min-height: 4.5em; }
.pg-cap b { color: var(--on-d); }
.pg-bars { display: grid; gap: 14px; }
.pg-bar { display: grid; grid-template-columns: 74px minmax(0, 1fr) 44px; align-items: center; gap: 12px; font-size: 14px; }
.pg-bar span { color: var(--on-d2); }
.pg-bar i { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pg-bar i i { height: 100%; background: var(--acc); border-radius: 8px; width: var(--w, 0%); transition: width .8s var(--ease); }
.pg-bar b { font-family: var(--mono); font-weight: 500; text-align: right; }
.pg-hand { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-d); }
.pg-hand svg { width: 26px; height: 26px; color: var(--acc-2); flex: none; }
.pg-hand b { display: block; font-size: 16px; }
.pg-hand small { color: var(--on-d3); font-size: 12.5px; }

/* ---------------------------------------------------------------- SPACES */
.sp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.sp { display: grid; gap: 14px; align-content: start; }
.sp-1 { grid-column: span 7; } .sp-2 { grid-column: span 5; } .sp-3 { grid-column: span 5; } .sp-4 { grid-column: span 7; }
.sp figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.sp-1 figure, .sp-4 figure { aspect-ratio: 16 / 10; }
.sp-2 figure, .sp-3 figure { aspect-ratio: 5 / 4.4; }
.sp img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sp:hover img { transform: scale(1.03); }
.sp h3 { font-size: 22px; letter-spacing: -.03em; }
.sp p { font-size: 15px; color: var(--ink-2); margin-top: 4px; max-width: 460px; }
.sp-fine { margin-top: 22px; }

/* ---------------------------------------------------------------- CONSULTANT */
.ai-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ai-copy h2 { font-size: clamp(32px, 3.6vw, 52px); }
.ai-copy .sec-lead { margin-top: 18px; }
.ai-q { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.ai-q button { border: 0; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: var(--on-d); font-size: 14px; font-weight: 600; text-align: left; transition: background .2s; }
.ai-q button:hover { background: rgba(201, 164, 106, .2); }
.chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: min(620px, 78vh); border-radius: var(--r-lg); overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--hair-d); }
.ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); flex: none; }
.ava svg { width: 24px; height: 24px; }
.chat-h b { display: block; font-size: 15px; }
.chat-h small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--on-d3); }
.chat-h .dot { width: 6px; height: 6px; }
.chat-log { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: rise .35s var(--ease); }
html.reduced .msg { animation: none; }
.msg.bot { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--acc); color: var(--on-acc); border-bottom-right-radius: 6px; align-self: flex-end; font-weight: 600; }
.msg .lnk { margin-top: 8px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-d3); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.m-cards { display: grid; gap: 6px; margin-top: 10px; }
.m-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); text-align: left; transition: transform .2s; }
.m-card:hover { transform: translateX(2px); }
.m-card .card-pl { aspect-ratio: 1.35; padding: 3px; background: var(--paper); border-radius: 8px; }
.m-card b { font-size: 13.5px; display: block; }
.m-card small { font-size: 11.5px; color: var(--ink-3); }
.m-card .mc-p { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.chat-f { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hair-d); }
.chat-f input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 12px 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--on-d); }
.chat-f input::placeholder { color: var(--on-d3); }
.ai-fab { position: fixed; right: 16px; bottom: 16px; z-index: 48; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 999px; border: 0; text-align: left; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
html.past-hero .ai-fab { opacity: 1; transform: none; pointer-events: auto; }
html.at-consult .ai-fab, html.at-foot .ai-fab, html.cmp-on .ai-fab { opacity: 0; transform: translateY(14px); pointer-events: none; }
.ai-fab .ava { width: 38px; height: 38px; }
.fab-t b { display: block; font-size: 14px; }
.fab-t small { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--on-d3); }
.fab-t .dot { width: 6px; height: 6px; }
.fab-go { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .1); }

/* ---------------------------------------------------------------- VISIT */
.vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.vs-ph { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--paper-2); }
.vs-ph img { width: 100%; aspect-ratio: 3 / 2.3; object-fit: cover; }
.vs-ph figcaption { display: grid; gap: 12px; padding: 18px 20px; background: var(--white); }
.vs-addr { display: flex; gap: 12px; align-items: flex-start; }
.vs-addr svg, .vs-tel svg { width: 20px; height: 20px; color: var(--acc-ink); flex: none; margin-top: 2px; }
.vs-addr b { display: block; font-size: 15px; }
.vs-addr small, .vs-tel small { color: var(--ink-3); font-size: 12.5px; }
.vs-tel { display: flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 700; }
.vs-form { display: grid; gap: 18px; padding: clamp(20px, 2.5vw, 30px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.vs-form legend { font-size: 12.5px; font-weight: 750; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.vs-fmt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vs-fmt button { border: 0; display: grid; justify-items: start; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 650; text-align: left; }
.vs-fmt button svg { width: 22px; height: 22px; color: var(--ink-3); }
.vs-fmt button[aria-checked="true"] { background: var(--acc-soft); box-shadow: inset 0 0 0 1.5px var(--acc); }
.vs-fmt button[aria-checked="true"] svg { color: var(--acc-ink); }
.vs-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.vs-days button { border: 0; flex: none; display: grid; justify-items: center; gap: 1px; width: 58px; padding: 9px 0; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.vs-days button small { font-size: 11px; color: var(--ink-3); font-weight: 650; text-transform: uppercase; }
.vs-days button b { font-size: 19px; letter-spacing: -.02em; }
.vs-days button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.vs-days button[aria-pressed="true"] small { color: rgba(255, 255, 255, .6); }
.vs-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-slots button { border: 0; padding: 9px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; }
.vs-slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.vs-slots button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.vs-apts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-2); }
.vs-apts .tag { font-family: var(--mono); }
.vs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fld { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.fld input { border: 0; border-radius: 12px; padding: 13px 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; color: var(--ink); }
.fld input::placeholder { color: #b0a99c; }
.fld input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acc); }
.fld input.bad { box-shadow: inset 0 0 0 2px #b4553c; }
.vs-err { color: #a2452e; font-size: 13.5px; font-weight: 600; }
.vs-btn { justify-self: start; }
.vs-ok { padding: 16px 18px; border-radius: 16px; background: var(--acc-soft); box-shadow: inset 0 0 0 1px var(--acc); font-size: 14.5px; color: var(--ink); }

/* ---------------------------------------------------------------- FOOTER */
.foot { padding: 70px 0 40px; margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; z-index: 3; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--hair-d); }
.ft-brand p { color: var(--on-d2); margin-top: 14px; max-width: 320px; font-size: 14.5px; }
.ft-col { display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--on-d2); }
.ft-col b { color: var(--on-d); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.ft-col a { text-decoration: none; }
.ft-col a:hover { color: var(--on-d); }
.ft-col small { color: var(--on-d3); font-size: 12px; }
.ft-bot { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; align-items: flex-end; }
.ft-bot .fine { max-width: 720px; }
.ft-made { font-size: 13.5px; color: var(--on-d2); white-space: nowrap; }
.ft-made a { color: var(--acc-2); font-weight: 700; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 80; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- cursor spotlight */
.card, .glass, .poi-list button, .pay-modes button { --mx: -999px; --my: -999px; }
.glass::after, .card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 238, 210, .1), transparent 60%); }
.card::after { background: radial-gradient(220px circle at var(--mx) var(--my), rgba(201, 164, 106, .12), transparent 60%); }
.glass > * { position: relative; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .nav { gap: 18px; font-size: 13.5px; }
}
@media (max-width: 1120px) {
  .nav { display: none; }
  .chooser { grid-template-columns: minmax(0, 1fr); }
  .board { position: relative; top: 0; }
  .flt-row.rngs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flt-row.rngs .reset { grid-column: 1 / -1; justify-self: start; }
  .fgrp.tg { margin-left: 0; }
  .map-grid, .pg { grid-template-columns: minmax(0, 1fr); }
  .poi-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .poi-side .fine { grid-column: 1 / -1; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .film-shade { background: linear-gradient(90deg, rgba(8, 9, 11, .9) 0%, rgba(8, 9, 11, .72) 42%, rgba(8, 9, 11, 0) 72%), linear-gradient(0deg, rgba(8, 9, 11, .78) 0%, rgba(8, 9, 11, 0) 30%), linear-gradient(180deg, rgba(8, 9, 11, .5) 0%, rgba(8, 9, 11, 0) 16%); }
}
@media (max-width: 1024px) {
  .fp { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 28px; }
  .film-copy { width: min(560px, 54vw); }
  .film-card { display: none; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --top-h: 58px; --sheet: 28px; --r-lg: 22px; }
  .d-only { display: none; } .m-only { display: inline; }
  .top { gap: 10px; padding: 0 14px; }
  .brand span { font-size: 18px; }
  .lng button { padding: 5px 9px; }
  .fav-top { height: 36px; padding: 0 10px; }
  .pill-top { padding: 9px 14px; }
  section { padding: 64px 0 calc(64px + var(--sheet)); }
  .sec-head.ed { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .sec-head.ed .sec-lead { grid-column: 1; }
  h2 { font-size: clamp(30px, 8.6vw, 40px); }
  /* hero: copy on top, square film card below */
  .film { height: 340vh; }
  .film-stage { display: flex; flex-direction: column; padding: calc(var(--top-h) + 14px) 16px 16px; gap: 16px; }
  .film-copy { position: relative; left: auto; top: auto; transform: none; width: 100%; order: 1; }
  .hello { display: none; }
  h1 { font-size: clamp(32px, 9vw, 40px); }
  .lead { font-size: 15px; margin-top: 12px; }
  .chips { margin-top: 14px; gap: 6px; }
  .chip-l { padding: 6px 11px; font-size: 13px; }
  .cta-row { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cta-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .cta-row .pill { padding: 13px 12px; font-size: 14.5px; gap: 7px; }
  .film-media { position: relative; inset: auto; order: 2; flex: 1 1 auto; min-height: 0; border-radius: 22px; overflow: hidden; }
  .film-poster img, .film-cv { object-position: 50% 50%; }
  .film-shade { display: none; }
  .film-steps { left: 32px; right: 32px; bottom: 62px; grid-template-columns: minmax(0, 1fr); gap: 0; z-index: 3; }
  .film-steps li { display: none; }
  .film-steps li.on { display: grid; }
  .film-steps li > span { text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
  .film-cue { display: none; }
  html.reduced .film-stage { min-height: 0; height: auto; }
  html.reduced .film-media { aspect-ratio: 1; flex: none; }
  .credit-fab { left: 50%; transform: translateX(-50%); bottom: 22px; }
  html.past-hero .credit-fab { transform: translate(-50%, 10px); }
  /* facade */
  .fp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fc { position: relative; top: 0; }
  .fc-stage { max-height: none; width: min(100%, 420px); }
  .fp-head { align-items: center; }
  .fp-floor b { font-size: 64px; }
  .fp-step input { width: 110px; }
  .win-cap { left: 14px; bottom: 24px; font-size: 12px; }
  .fp-stats > div + div { padding-left: 12px; }
  .fp-stats dd { font-size: 19px; }
  .fp-act .pill { width: 100%; }
  /* chooser */
  .flt { padding: 14px; gap: 12px; }
  .flt-row { gap: 10px; }
  .fgrp { flex-wrap: wrap; gap: 8px; }
  .fgrp .flbl { width: 100%; }
  .flt-row.rngs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .board { padding: 14px 10px 12px; }
  .plan-wrap { overflow-x: auto; margin: 0 -10px; padding: 0 10px; scrollbar-width: none; }
  .plan-wrap svg { width: 640px; max-width: none; }
  .plan-hint { display: block; }
  .board-top { justify-content: center; }
  .card { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .card-p { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; text-align: left; padding-top: 8px; border-top: 1px solid var(--line); }
  .card-p > div:first-child { display: grid; }
  .pl-tip { display: none; }
  .specs, .rooms-l { grid-template-columns: minmax(0, 1fr); }
  .dr-h, .dr-b { padding-left: 16px; padding-right: 16px; }
  .dr-panel.wide { max-height: 92vh; }
  .cmp-t { min-width: 600px; }
  .msg { max-width: 94%; }
  .m-card { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; }
  .m-card b { font-size: 13px; }
  .m-card small { font-size: 11px; }
  .cmp-tray { bottom: 10px; gap: 8px; padding: 6px 8px; }
  .cmp-tray .lnk { display: none; }
  .ct-items span { padding: 5px 6px 5px 9px; font-size: 11.5px; }
  /* pay */
  .pay-apt { grid-template-columns: 90px minmax(0, 1fr); }
  .pay-modes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pay-modes button { padding: 12px; }
  /* map, progress */
  .poi-side { grid-template-columns: minmax(0, 1fr); }
  .pg-bar { grid-template-columns: 64px minmax(0, 1fr) 40px; }
  .sp-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sp-1, .sp-2, .sp-3, .sp-4 { grid-column: auto; }
  .sp figure, .sp-1 figure, .sp-2 figure, .sp-3 figure, .sp-4 figure { aspect-ratio: 4 / 3; }
  .chat { height: 560px; }
  .ai-fab { right: 12px; bottom: 12px; padding: 6px; }
  .ai-fab .fab-t, .ai-fab .fab-go { display: none; }
  .vs-fmt { grid-template-columns: minmax(0, 1fr); }
  .vs-fmt button { grid-template-columns: auto 1fr; align-items: center; }
  .vs-row { grid-template-columns: minmax(0, 1fr); }
  .vs-btn { justify-self: stretch; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
  .ft-bot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .lng button { padding: 4px 7px; font-size: 12px; }
  .pill-top { padding: 8px 11px; font-size: 13px; }
}
html.reduced *, html.reduced *::before, html.reduced *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
html.rec .credit-fab { display: none; }
html.rec .ai-fab { display: none; }
@media (max-width: 760px) { html.rec .film-copy .lead, html.rec .film-copy .chips { display: none; } }
html:not(.js) .film { height: auto; } html:not(.js) .film-stage { position: relative; }
