:root {
  --bg: #efe9df;
  --paper: #f8f5ef;
  --ink: #1d1c19;
  --ink-2: #3a3833;
  --muted: #6c675e;
  --line: rgba(29, 28, 25, 0.14);
  --terra: #b4532a;
  --terra-d: #93411f;
  --sage: #5f7f5a;
  --amber: #c98a2c;
  --sold: #8f8983;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ribbon: 30px;
  --top: 60px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.ribbon { height: var(--ribbon); line-height: var(--ribbon); display: block; padding: 0 16px; background: var(--ink); color: #e9e3d8; font-size: 12.5px; letter-spacing: 0.01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ribbon .short { display: none; }
.ribbon strong { color: #f2b58a; font-weight: 600; }

.top { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(239, 233, 223, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand svg { width: 26px; height: 26px; }
.brand em { color: var(--terra); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.nav a:hover { color: var(--terra); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-d); }
.btn-ghost { background: rgba(248, 245, 239, 0.7); border-color: rgba(29, 28, 25, 0.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center; flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.link { color: var(--terra); font-weight: 600; text-decoration: none; font-size: 14.5px; }
.eyebrow { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.eyebrow.light { color: #c9bfae; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }

/* ---------- stage ---------- */
.stage { position: relative; height: calc(100svh - var(--ribbon) - var(--top)); min-height: 560px; overflow: hidden; background: #dfe3e2; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; touch-action: none; }
.stage.immersive { position: fixed; inset: 0; z-index: 60; height: 100%; min-height: 0; }
.stage [data-show] { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.stage:not([data-mode="overview"]) [data-show="overview"],
.stage:not([data-mode="floor"]) [data-show="floor"],
.stage[data-mode="walk"] [data-show="overview floor"], .stage[data-mode="doll"] [data-show="overview floor"] { opacity: 0; pointer-events: none; transform: translateY(6px); }

.loader { position: absolute; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--bg); transition: opacity .6s var(--ease); }
.loader p { margin: 0; font-family: var(--serif); font-size: 22px; color: var(--ink-2); }
.loader-bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--terra); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.loader.done { opacity: 0; pointer-events: none; }

.hero { position: absolute; left: clamp(16px, 4vw, 56px); top: clamp(20px, 6vh, 64px); width: min(500px, 46vw); z-index: 5; }
.hero::before { content: ''; position: absolute; inset: -60px -120px -60px -200px; background: radial-gradient(closest-side, rgba(239,233,223,.92), rgba(239,233,223,.6) 55%, rgba(239,233,223,0)); z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 0.98; }
.hero h1 em { color: var(--terra); }
.lede { margin: 18px 0 24px; font-size: 17.5px; color: var(--ink-2); max-width: 40ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 26px; margin: 30px 0 0; justify-content: start; }
.facts dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 24px; white-space: nowrap; }

.rail { position: absolute; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 6; background: rgba(248, 245, 239, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px 10px; width: 176px; box-shadow: 0 10px 30px rgba(40, 30, 20, 0.08); }
.stage[data-mode="walk"] .rail, .stage[data-mode="doll"] .rail { display: none; }
.rail-title { margin: 0 8px 6px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rail ol { list-style: none; margin: 0; padding: 0; }
.rail li button { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 5px 8px; border: 0; border-radius: 9px; background: none; cursor: pointer; text-align: left; }
.rail li button:hover { background: rgba(180, 83, 42, 0.08); }
.rail li button[aria-current="true"] { background: var(--ink); color: var(--paper); }
.rail .n { font-family: var(--serif); font-size: 19px; line-height: 1; }
.rail .dots { display: flex; gap: 4px; }
.rail .left { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rail li button[aria-current="true"] .left { color: #cfc7b9; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.available { background: var(--sage); }
.dot.booked { background: var(--amber); }
.dot.sold { background: var(--sold); opacity: .55; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 10px 8px 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }

.floorpanel { position: absolute; left: clamp(16px, 4vw, 56px); bottom: 28px; z-index: 6; width: min(360px, calc(100vw - 32px)); background: rgba(248, 245, 239, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 14px 40px rgba(40, 30, 20, 0.12); }
.fp-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.fp-head h2 { font-size: 32px; line-height: 1; }
.fp-head .eyebrow { margin-bottom: 4px; }
.fp-units { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fp-units button { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; text-align: left; transition: border-color .2s, transform .2s var(--ease); }
.fp-units button:hover { border-color: var(--ink); transform: translateX(2px); }
.fp-units .num { font-family: var(--serif); font-size: 22px; line-height: 1; }
.fp-units .meta { font-size: 13.5px; color: var(--ink-2); }
.fp-units .meta small { display: block; color: var(--muted); font-size: 12px; }
.fp-note { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.available { background: rgba(95, 127, 90, .14); color: #3f6239; }
.pill.booked { background: rgba(201, 138, 44, .16); color: #8a5c14; }
.pill.sold { background: rgba(143, 137, 131, .18); color: #5f5a55; }

.tags { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.tag { position: absolute; transform: translate(-50%, -100%); padding: 5px 9px 5px 8px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.12); pointer-events: auto; cursor: pointer; display: flex; gap: 7px; align-items: center; }
.tag b { font-family: var(--serif); font-weight: 400; font-size: 17px; }
.tag::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.tip { position: absolute; z-index: 7; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 13px; white-space: nowrap; transform: translate(14px, 14px); }
.zoom { position: absolute; right: clamp(12px, 2vw, 28px); bottom: 24px; z-index: 6; display: flex; gap: 8px; }
.hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; z-index: 5; font-size: 13px; color: var(--ink-2); background: rgba(248,245,239,.8); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.stage[data-mode="floor"] .hint { display: none; }

.drawer { position: absolute; z-index: 8; top: 16px; right: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); overflow-y: auto; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); padding: 20px 22px 22px; box-shadow: 0 24px 60px rgba(40, 30, 20, 0.2); animation: slide .35s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.stage[data-mode="walk"] .drawer, .stage[data-mode="doll"] .drawer { display: none; }
.dr-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.dr-head h3 { font-size: 40px; line-height: 1; }
.dr-head .eyebrow { margin-bottom: 4px; }
#dr-pill { margin: 10px 0 4px; }
.dr-plan { margin: 10px -6px 6px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 8px 0 18px; }
.kv dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.dr-actions { display: grid; gap: 8px; }
.dr-actions .link { justify-self: center; margin-top: 4px; }

/* plans */
.plan-svg { width: 100%; height: auto; display: block; }
.plan-svg .wall { fill: var(--ink); }
.plan-svg .win { fill: var(--paper); stroke: var(--ink); stroke-width: 0.03; }
.plan-svg .glass { stroke: #6f8d96; stroke-width: 0.04; }
.plan-svg .rail { stroke: var(--ink-2); stroke-width: 0.05; }
.plan-svg .leaf { stroke: var(--ink); stroke-width: 0.05; }
.plan-svg .swing { fill: none; stroke: var(--muted); stroke-width: 0.02; stroke-dasharray: 0.08 0.06; }
.plan-svg .entry { fill: none; stroke: var(--terra); stroke-width: 0.07; stroke-linecap: round; stroke-linejoin: round; }
.plan-svg .rl { font-family: var(--sans); font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; }
.plan-svg .rd { font-family: var(--sans); fill: var(--muted); text-anchor: middle; dominant-baseline: middle; }
.plan-svg .room { transition: fill .2s; }
.plan-svg.mini .wall { fill: #2a2925; }
.plan-svg.mini .rl { fill: #3a3833; font-weight: 500; }
.me-dot { fill: var(--terra); stroke: #fff; stroke-width: 0.06; }
.me-halo { fill: rgba(180, 83, 42, 0.22); }
.me-cone { fill: rgba(180, 83, 42, 0.55); }

/* ---------- inside a home ---------- */
.hud { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.hud-title { padding: 6px 14px; border-radius: 12px; background: rgba(248, 245, 239, 0.9); box-shadow: 0 2px 10px rgba(0,0,0,.1); display: flex; flex-direction: column; line-height: 1.2; }
.hud-title strong { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.hud-title span { font-size: 12.5px; color: var(--muted); }
.seg { margin-left: auto; display: flex; background: rgba(248, 245, 239, 0.92); border-radius: 999px; padding: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.seg button { border: 0; background: none; height: 32px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.minimap { position: absolute; top: 70px; right: 14px; width: 230px; padding: 8px; border-radius: 14px; background: rgba(248, 245, 239, 0.92); box-shadow: 0 6px 20px rgba(0,0,0,.14); cursor: crosshair; }
.stage[data-mode="doll"] .minimap { display: none; }
.chips { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 6px; max-width: calc(100vw - 28px); overflow-x: auto; padding: 6px; border-radius: 999px; background: rgba(248, 245, 239, 0.92); box-shadow: 0 6px 20px rgba(0,0,0,.14); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 0; height: 34px; padding: 0 14px; border-radius: 999px; background: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.chips button:hover { background: rgba(180, 83, 42, .1); }
.chips button[aria-current="true"] { background: var(--terra); color: #fff; }
.joy { display: none; position: absolute; left: 22px; bottom: 82px; width: 120px; height: 120px; border-radius: 50%; background: rgba(248,245,239,.35); border: 1.5px solid rgba(248,245,239,.8); touch-action: none; }
.joy span { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: rgba(248,245,239,.92); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.touch .stage[data-mode="walk"] .joy { display: block; }
.fade { position: absolute; inset: 0; z-index: 8; background: #f1ece4; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.fade.on { opacity: 1; }
.lookprompt.gone { opacity: 0; }
.lookprompt { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); font-size: 14px; padding: 10px 18px !important; text-align: center; background: rgba(29, 28, 25, 0.78); color: #f3eee6; padding: 16px 22px; border-radius: 16px; pointer-events: none; transition: opacity .3s; }
.lookprompt p { margin: 0; }
.lookprompt .keys { margin-top: 6px; font-size: 13px; color: #cfc7b9; }
kbd { display: inline-block; min-width: 22px; padding: 1px 5px; margin: 0 1px; border-radius: 5px; border: 1px solid rgba(255,255,255,.35); font: 600 12px var(--sans); }
.stage[data-mode="doll"] .lookprompt, .stage.locked .lookprompt, .touch .lookprompt { opacity: 0; }
.crosshair { display: none; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) clamp(18px, 5vw, 72px); }
.section.alt { background: var(--paper); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.section h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; }
.sec-lede { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

.homes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 18px; }
.home-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home-card h3 { font-size: 44px; line-height: 1; }
.home-card .area { font-family: var(--serif); font-size: 26px; }
.home-card .area small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }
.home-card .plan-svg { max-height: 440px; }
.home-card .rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.home-card .rooms li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.home-card .rooms span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.home-card .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.home-card .row .note { font-size: 13px; color: var(--muted); }

.avail-wrap { overflow-x: auto; }
.avail { border-collapse: separate; border-spacing: 6px; min-width: 560px; }
.avail th { font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 6px; }
.avail td.fl { font-family: var(--serif); font-size: 22px; padding-right: 10px; }
.avail button { width: 100%; min-width: 120px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; font-size: 13px; transition: border-color .2s, transform .2s var(--ease); }
.avail button:hover { border-color: var(--ink); transform: translateY(-1px); }
.avail button b { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.avail button.sold { opacity: .55; }
.avail button.available { background: rgba(95, 127, 90, .1); }
.avail button.booked { background: rgba(201, 138, 44, .1); }

.spec { margin: 26px 0 0; display: grid; gap: 0; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--ink-2); }
.amen { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amen li { padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dist li { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
.dist li span:last-child { font-family: var(--serif); font-size: 24px; }

.pitch { background: var(--ink); color: #efe8dc; }
.pitch h2 { color: #fbf7f0; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid rgba(255,255,255,.14); color: #cfc7b9; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--serif); font-size: 28px; color: #f2b58a; line-height: 1; }
.steps strong { display: block; color: #fbf7f0; font-weight: 600; margin-bottom: 4px; }

.form { display: grid; gap: 14px; max-width: 460px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form input, .form select { height: 48px; border-radius: 12px; border: 1px solid rgba(29,28,25,.25); background: var(--paper); padding: 0 14px; font: 400 16px var(--sans); color: var(--ink); }
.form input:focus, .form select:focus { outline: 2px solid var(--terra); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; min-height: 1.5em; color: var(--sage); font-weight: 600; }
.form-msg.err { color: var(--terra); }

.foot { padding: 40px clamp(18px, 5vw, 72px) 56px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; }
.foot p { margin: 0; max-width: 90ch; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- tablet / phone ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .top { gap: 12px; }
  .top .btn { margin-left: auto; }
  .cols, .homes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --top: 54px; --ribbon: 26px; }
  .ribbon { font-size: 11px; }
  .ribbon .long { display: none; }
  .ribbon .short { display: inline; }
  .brand { font-size: 21px; }
  .top .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .stage { height: calc(100svh - var(--ribbon) - var(--top) - 36px); min-height: 520px; }
  .hero { left: 16px; right: 16px; top: 16px; width: auto; }
  .hero::before { inset: -40px -40px -60px -40px; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 15.5px; margin: 12px 0 16px; }
  .hero .btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .facts { display: none; }
  .rail { top: auto; bottom: 10px; right: 10px; left: 10px; transform: none; width: auto; padding: 8px; border-radius: 14px; }
  .rail-title, .legend { display: none; }
  .rail ol { display: flex; flex-direction: row-reverse; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .rail ol::-webkit-scrollbar { display: none; }
  .rail li button { grid-template-columns: auto; justify-items: center; gap: 3px; padding: 6px 9px; min-width: 44px; }
  .rail .left { display: none; }
  .rail .dots { gap: 3px; }
  .dot { width: 6px; height: 6px; }
  .zoom, .hint { display: none; }
  .floorpanel { left: 10px; right: 10px; bottom: 86px; width: auto; padding: 12px; }
  .fp-head h2 { font-size: 26px; }
  .fp-units { grid-template-columns: 1fr 1fr; }
  .fp-units button { grid-template-columns: 1fr; gap: 2px; padding: 8px 10px; }
  .fp-note { display: none; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 78%; border-radius: 22px 22px 0 0; padding: 18px; animation-name: rise; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .dr-head h3 { font-size: 34px; }
  .minimap { width: 132px; top: 64px; padding: 5px; }
  .hud-top { gap: 8px; }
  .hud-title { display: none; }
  .seg button { padding: 0 12px; }
  .chips { bottom: 12px; }
  .joy { bottom: 74px; }
  .home-card { padding: 20px; }
  .home-card h3 { font-size: 36px; }
  .home-card .plan-svg { max-height: 440px; }
.home-card .rooms { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
}
