/* Strata: architectural hologram by night, blueprint paper by day. */
:root[data-theme="dark"] {
  --bg: #091a33; --bg-2: #0d2342; --bg-3: #12305a; --bg-glass: rgba(10, 30, 58, .82);
  --ink: #e7eff8; --ink-2: #b0c3d9; --ink-3: #8aa2bf;
  --line: #4ea9e2; --line-soft: rgba(94, 176, 230, .34); --line-faint: rgba(94, 176, 230, .1); --line-ghost: rgba(94, 176, 230, .05);
  --accent: #86c9f3; --focus: #9fd6ff;
  --gold: #e8c97f; --gold-fill: rgba(232, 201, 127, .05); --gold-fill-hi: rgba(232, 201, 127, .17); --gold-ink: #f1d9a0;
  --hold: #79b4e0; --hold-fill: rgba(121, 180, 224, .06); --sold-fill: rgba(136, 156, 186, .16); --sold-ink: #93a8c2;
  --btn: #8fcdf4; --btn-ink: #06203d; --btn-hover: #b4def8;
  --tower-line: #58b4ee; --tower-base: #000000; --tower-hi: #f3e2b0; --tower-garden: #7ddfc3; --tower-scan: #8fd5ff;
  --chart-p: #58b4ee; --chart-i: rgba(232, 201, 127, .8);
  --shadow: 0 24px 60px rgba(2, 10, 24, .5);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f8fb; --bg-2: #ffffff; --bg-3: #e9eff6; --bg-glass: rgba(255, 255, 255, .9);
  --ink: #0c2847; --ink-2: #2e4b6c; --ink-3: #4b6584;
  --line: #1c4f84; --line-soft: rgba(28, 79, 132, .32); --line-faint: rgba(28, 79, 132, .1); --line-ghost: rgba(28, 79, 132, .045);
  --accent: #1c4f84; --focus: #0b5cad;
  --gold: #b07f22; --gold-fill: rgba(226, 184, 88, .34); --gold-fill-hi: rgba(226, 184, 88, .58); --gold-ink: #7a540c;
  --hold: #1c4f84; --hold-fill: rgba(28, 79, 132, .03); --sold-fill: rgba(12, 40, 71, .09); --sold-ink: #566d88;
  --btn: #0f3a66; --btn-ink: #ffffff; --btn-hover: #1c4f84;
  --tower-line: #1a4f86; --tower-base: #f6f8fb; --tower-hi: #0a63b8; --tower-garden: #1f7a62; --tower-scan: #2a6fb5;
  --chart-p: #1c4f84; --chart-i: rgba(196, 146, 46, .85);
  --shadow: 0 24px 60px rgba(12, 40, 71, .12);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 'Sora', system-ui, sans-serif; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'Azeret Mono', ui-monospace, monospace; letter-spacing: -0.01em; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--btn); color: var(--btn-ink); }
.skip:focus { top: 12px; }
svg { display: block; }

/* ---------- header */
.top {
  position: sticky; top: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-faint);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: var(--line); stroke-width: 1.4; }
.brand-mark .brand-edge { stroke: var(--gold); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ink); }
.theme-btn, .icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line-soft); background: transparent;
  color: var(--ink); border-radius: 50%; cursor: pointer;
}
.theme-btn svg, .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-btn:hover, .icon-btn:hover { border-color: var(--line); }
:root[data-theme="dark"] .i-moon, :root[data-theme="light"] .i-sun { display: none; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  font: 500 15px/1 'Sora', sans-serif; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; border-radius: 2px;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-soft); }
.btn-quiet:hover { border-color: var(--line); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 14px; background: transparent; color: var(--ink); border-color: var(--line-soft); }
.btn-small:hover { border-color: var(--line); }
.btn-block { width: 100%; }

/* ---------- hero */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: calc(100vh - 64px); min-height: calc(100svh - 64px);
  padding: 0 clamp(16px, 4vw, 48px); gap: 24px; overflow: hidden;
  background-image:
    linear-gradient(var(--line-faint) 1px, transparent 1px), linear-gradient(90deg, var(--line-faint) 1px, transparent 1px),
    linear-gradient(var(--line-ghost) 1px, transparent 1px), linear-gradient(90deg, var(--line-ghost) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px;
  border-bottom: 1px solid var(--line-faint);
}
:root[data-theme="dark"] .hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 68% 55%, rgba(78, 169, 226, .16), transparent 70%);
}
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 48px 0 64px; max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.045em; }
.lede { margin-top: 24px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-2); max-width: 32em; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.titleblock {
  margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-soft); max-width: 460px;
}
.titleblock div { padding: 10px 14px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.titleblock div:nth-child(2n) { border-right: 0; }
.titleblock div:nth-last-child(-n + 2) { border-bottom: 0; }
.titleblock dt { font-size: 12px; color: var(--ink-3); }
.titleblock dd { margin: 2px 0 0; font: 400 13px/1.4 'Azeret Mono', monospace; color: var(--ink); }

.stage { position: relative; min-height: 560px; }
.tower-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline-offset: -2px; }
.tower-canvas.is-dragging { cursor: grabbing; }
.stage-dims, .stage-tag { position: absolute; left: 0; top: 0; pointer-events: none; }
.dim-tick { position: absolute; left: 0; top: 0; white-space: nowrap; font: 400 11px/1 'Azeret Mono', monospace; color: var(--ink-3); }
.dim-tick b { font-weight: 500; color: var(--ink-2); margin-right: 4px; }
.stage-tag {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 18px; white-space: nowrap;
  font: 400 12px/1 'Azeret Mono', monospace; color: var(--ink);
}
.stage-tag::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--ink-2); }
.stage-tag b { font-weight: 600; color: var(--gold-ink); }
.stage-tag span { color: var(--ink-2); }
.stage-hint { position: absolute; right: 0; top: 28px; display: flex; gap: 10px; font: 400 12px/1 'Azeret Mono', monospace; color: var(--ink-3); pointer-events: none; }
.stage-hint span + span { padding-left: 10px; border-left: 1px solid var(--line-soft); }
.readout {
  position: absolute; right: 0; bottom: 96px; z-index: 3; display: flex; gap: 14px; align-items: center; width: 330px;
  padding: 14px; background: var(--bg-glass); border: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.readout-plan { width: 96px; height: 96px; flex: none; }
.readout-floor { font-size: 15px; font-weight: 500; line-height: 1.3; }
.readout-floor .mono { color: var(--gold-ink); font-weight: 500; margin-right: 4px; }
.readout-meta { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; }
.no-webgl .tower-canvas { display: none; }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.stage-fallback svg { height: 92%; width: auto; max-width: 100%; }

/* ---------- sections */
.sec { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px) 0; max-width: 1440px; margin: 0 auto; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.1; }
.sec-head p { margin-top: 14px; color: var(--ink-2); max-width: 40em; }
.field-label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.field-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input:not([type="radio"]):not([type="range"]) {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.3 'Sora', sans-serif; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 2px;
}
input.mono { font-family: 'Azeret Mono', monospace; }
input:not([type="radio"]):not([type="range"]):focus { border-color: var(--line); outline: 2px solid var(--focus); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: #e48a7a !important; }
input::placeholder { color: var(--ink-3); opacity: 1; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

/* range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; background: var(--line-soft); }
.range::-moz-range-track { height: 2px; background: var(--line-soft); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--bg); border: 2px solid var(--line); border-radius: 50%; }
.range::-moz-range-thumb { width: 18px; height: 18px; background: var(--bg); border: 2px solid var(--line); border-radius: 50%; }
.range:focus-visible { outline-offset: 0; }

/* ---------- explorer */
.explorer-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 48px); align-items: start; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; border: 1px solid var(--line-soft); }
.stepper input { border: 0 !important; text-align: center; font-size: 22px !important; font-weight: 500; background: transparent !important; min-height: 56px !important; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { background: transparent; border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.step-btn:first-child { border-right: 1px solid var(--line-soft); }
.step-btn:last-child { border-left: 1px solid var(--line-soft); }
.step-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.step-btn:hover { background: var(--line-faint); }
#floor-range { margin-top: 10px; }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: -6px; }
.floor-meta { margin: 18px 0 26px; font-size: 14px; color: var(--ink-2); line-height: 1.55; min-height: 66px; }
.floor-meta b { color: var(--ink); font-weight: 500; display: block; font-size: 16px; }
.zones { display: grid; gap: 0; border-top: 1px solid var(--line-faint); }
.zone {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 46px; padding: 0 2px; background: none;
  border: 0; border-bottom: 1px solid var(--line-faint); color: var(--ink); font: 400 14px/1.2 'Sora', sans-serif; text-align: left; cursor: pointer;
}
.zone .mono { font-size: 12px; color: var(--ink-3); }
.zone:hover { color: var(--accent); }
.zone[aria-current="true"] { color: var(--gold-ink); }

.plan-wrap { margin: 0; }
.plan { width: 100%; max-width: 620px; aspect-ratio: 1; margin: 0 auto; overflow: visible; }
.plan-art .wall { fill: none; stroke: var(--line); stroke-width: .5; }
.plan-art .glaze { fill: none; stroke: var(--line); stroke-width: .12; stroke-dasharray: .6 .5; opacity: .8; }
.plan-art .core { fill: var(--line-faint); stroke: var(--line); stroke-width: .25; }
.plan-art .lift { fill: none; stroke: var(--line-soft); stroke-width: .12; }
.plan-art .lift-x, .plan-art .stair { stroke: var(--line-soft); stroke-width: .1; fill: none; }
.plan-art .dims path { stroke: var(--ink-3); stroke-width: .1; fill: none; }
.plan-art .dims text { font: 400 1.25px 'Azeret Mono', monospace; fill: var(--ink-3); }
.plan-art .north circle { fill: none; stroke: var(--ink-3); stroke-width: .1; }
.plan-art .north path { fill: var(--ink-2); }
.plan-art .north text { font: 500 1.2px 'Azeret Mono', monospace; fill: var(--ink-2); }
.unit { cursor: pointer; outline: none; }
.u-shape { stroke: var(--line); stroke-width: .18; transition: fill .15s; }
.unit.is-available .u-shape { fill: var(--gold-fill); stroke: var(--gold); stroke-width: .4; }
.unit.is-available .u-code { fill: var(--gold-ink); }
.unit.is-hold .u-shape { stroke: var(--hold); }
.unit.is-sold .u-shape { fill: var(--sold-fill); stroke: var(--line-soft); }
.hatch { stroke: var(--hold); stroke-width: .22; opacity: .55; }
.u-code { font: 500 2.3px 'Azeret Mono', monospace; fill: var(--ink); letter-spacing: -0.03px; pointer-events: none; }
.u-status { font: 400 1.55px 'Sora', sans-serif; fill: var(--ink-2); pointer-events: none; }
.unit.is-available .u-status { fill: var(--gold-ink); }
.unit.is-sold .u-code, .unit.is-sold .u-status { fill: var(--sold-ink); }
.unit.is-available:hover .u-shape { fill: var(--gold-fill-hi); }
.unit:not(.is-available):hover .u-shape { stroke-width: .3; }
.unit.is-selected .u-shape { stroke: var(--ink); stroke-width: .55; }
.unit.is-available.is-selected .u-shape { fill: var(--gold-fill-hi); stroke: var(--gold); stroke-width: .75; }
.unit:focus-visible .u-shape { stroke: var(--focus); stroke-width: .6; }
.amenity { stroke: none; }
.soil { fill: var(--tower-garden); opacity: .5; }
.gridp { fill: none; stroke: var(--line-soft); stroke-width: .08; }
.tree { fill: none; stroke: var(--tower-garden); stroke-width: .16; }
.a-name { font: 500 1.9px 'Sora', sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: .8px; }
.readout-plan .u-shape { stroke-width: .5; }
.readout-plan .wall { stroke-width: .9; }
.readout-plan .glaze, .readout-plan .lift, .readout-plan .lift-x, .readout-plan .stair { display: none; }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg b { font-weight: 500; color: var(--ink); font-size: 13px; }
.lg i { width: 18px; height: 14px; border: 1px solid; display: inline-block; }
.lg-available i { background: var(--gold-fill); border-color: var(--gold); }
.lg-hold i { border-color: var(--hold); background: repeating-linear-gradient(45deg, var(--hold) 0 1px, transparent 1px 4px); opacity: .9; }
.lg-sold i { background: var(--sold-fill); border-color: var(--line-soft); }

.unit-card { border: 1px solid var(--line-soft); background: var(--bg-2); padding: 24px; position: relative; }
.unit-card::before, .unit-card::after { content: ''; position: absolute; width: 10px; height: 10px; border: 1px solid var(--line); }
.unit-card::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.unit-card::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.unit-card .empty { color: var(--ink-3); font-size: 15px; padding: 32px 0; }
.uc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.uc-code { font: 500 40px/1 'Azeret Mono', monospace; letter-spacing: -0.04em; }
.uc-status { font-size: 13px; padding: 4px 10px; border: 1px solid; white-space: nowrap; }
.uc-status.is-available { color: var(--gold-ink); border-color: var(--gold); }
.uc-status.is-hold { color: var(--ink-2); border-color: var(--hold); }
.uc-status.is-sold { color: var(--sold-ink); border-color: var(--line-soft); }
.uc-price { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; margin: 18px 0 2px; }
.uc-hoa { font-size: 13px; color: var(--ink-3); }
.uc-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0; border-top: 1px solid var(--line-faint); }
.uc-specs div { padding: 10px 0; border-bottom: 1px solid var(--line-faint); }
.uc-specs div:nth-child(odd) { padding-right: 12px; }
.uc-specs dt { font-size: 12px; color: var(--ink-3); }
.uc-specs dd { margin: 2px 0 0; font-size: 14px; }
.uc-specs dd.mono { font-size: 13px; }
.uc-specs .wide { grid-column: 1 / -1; }
.uc-actions { display: grid; gap: 10px; }
.uc-note { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- calculator */
.calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.mode { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-soft); margin-bottom: 28px; }
.mode-btn { min-height: 46px; padding: 0 20px; background: transparent; border: 0; color: var(--ink-2); font: 500 15px 'Sora', sans-serif; cursor: pointer; }
.mode-btn + .mode-btn { border-left: 1px solid var(--line-soft); }
.mode-btn[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.affix { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid var(--line-soft); background: var(--bg-2); }
.affix span { padding-left: 14px; color: var(--ink-3); font-family: 'Azeret Mono', monospace; }
.affix input { border: 0 !important; background: transparent !important; padding-left: 6px !important; font-size: 18px !important; }
.affix:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row output { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-soft); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 46px; font-size: 14px; color: var(--ink-2); padding: 0 6px; }
.seg label + label span { border-left: 1px solid var(--line-soft); }
.seg input:checked + span { background: var(--line-faint); color: var(--ink); box-shadow: inset 0 -2px 0 var(--line); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -2px; }
.calc-out { border-left: 1px solid var(--line-soft); padding-left: clamp(20px, 3vw, 48px); }
.calc-label { font-size: 15px; color: var(--ink-2); }
.calc-big { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1.05; margin: 6px 0 10px; }
.calc-big .mono { font-family: 'Sora', sans-serif; font-weight: 400; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.calc-sub { color: var(--ink-2); font-size: 14px; max-width: 36em; }
.chart { width: 100%; height: auto; margin-top: 28px; overflow: visible; }
.chart .bar-p { fill: var(--chart-p); }
.chart .bar-i { fill: var(--chart-i); }
.chart .axis { stroke: var(--line-soft); stroke-width: 1; }
.chart text { font: 400 11px 'Azeret Mono', monospace; fill: var(--ink-3); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 14px; height: 10px; display: inline-block; }
.lg-p i { background: var(--chart-p); }
.lg-i i { background: var(--chart-i); }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; border-top: 1px solid var(--line-soft); }
.totals div { padding: 12px 12px 0 0; }
.totals dt { font-size: 12px; color: var(--ink-3); }
.totals dd { margin: 2px 0 0; font-size: 16px; font-variant-numeric: tabular-nums; }

/* ---------- tour */
.tour-grid { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 380px); gap: clamp(24px, 5vw, 80px); align-items: start; }
.tour-aside { position: sticky; top: 96px; border-left: 1px solid var(--line-soft); padding-left: clamp(20px, 3vw, 40px); }
.tour-plan { width: 100%; max-width: 260px; aspect-ratio: 1; }
.tour-plan .u-shape { stroke-width: .35; }
.tour-plan .unit:not(.is-selected) .u-shape { fill: transparent; stroke: var(--line-soft); }
.tour-plan .unit.is-selected .u-shape { stroke: var(--gold); stroke-width: .9; fill: var(--gold-fill); }
.tour-sum { margin: 24px 0 16px; }
.tour-sum div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-faint); font-size: 14px; }
.tour-sum dt { color: var(--ink-3); }
.tour-sum dd { margin: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { position: relative; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day span { display: grid; place-items: center; gap: 2px; padding: 8px 2px; min-height: 64px; border: 1px solid var(--line-soft); text-align: center; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.day span b { font: 500 19px/1 'Sora', sans-serif; color: var(--ink); }
.day input:checked + span { border-color: var(--line); background: var(--line-faint); box-shadow: inset 0 -2px 0 var(--line); }
.day input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.day input:focus-visible + span, .slot input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 46px; border: 1px solid var(--line-soft); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); cursor: pointer; }
.slot input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.slot input:disabled + span { color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; border-style: dashed; opacity: .7; }
.form-error { color: #e9978a; font-size: 14px; min-height: 0; margin-bottom: 10px; }
:root[data-theme="light"] .form-error { color: #a8321f; }
.form-error:empty { display: none; }
.confirm { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(22px, 4vw, 40px); max-width: 720px; }
.confirm:focus { outline: none; }
.confirm-mark { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.6; margin-bottom: 16px; }
.confirm h3 { font-size: 28px; }
.confirm-ref { margin-top: 8px; color: var(--ink-2); }
.confirm-ref .mono { color: var(--gold-ink); font-size: 18px; font-weight: 500; margin-left: 4px; }
.confirm-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 24px 0; font-size: 15px; }
.confirm-list dt { color: var(--ink-3); }
.confirm-list dd { margin: 0; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }

/* ---------- lead card */
.lead-card { max-width: 920px; border: 1px solid var(--line-soft); background: var(--bg-2); box-shadow: var(--shadow); }
.lead-card.is-empty { box-shadow: none; background: transparent; border-style: dashed; }
.lead-card .empty { padding: 40px 24px; color: var(--ink-3); text-align: center; }
.lc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line-faint); font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.lc-bar .mono { color: var(--ink-2); }
.lc-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); }
.lc-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.lc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lc-who { padding: 22px 20px; border-right: 1px solid var(--line-faint); }
.lc-id { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.lc-avatar { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); font: 500 16px 'Azeret Mono', monospace; color: var(--ink); flex: none; }
.lc-name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.lc-contact { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.lc-fields { display: grid; gap: 0; margin: 0; }
.lc-fields div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-faint); font-size: 14px; }
.lc-fields dt { color: var(--ink-3); }
.lc-fields dd { margin: 0; }
.lc-fields .mono { font-size: 13px; }
.lc-unit { color: var(--gold-ink); font-weight: 500; }
.lc-activity { padding: 22px 20px; }
.lc-activity h3 { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); margin-bottom: 12px; }
.lc-activity ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-soft); }
.lc-activity li { position: relative; padding: 0 0 12px 18px; font-size: 14px; }
.lc-activity li::before { content: ''; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 50%; }
.lc-activity time { display: block; font: 400 11px 'Azeret Mono', monospace; color: var(--ink-3); }
.lc-activity q { quotes: '\201C' '\201D'; }

/* ---------- what this shows */
.shows-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; max-width: 1040px; }
.shows-list li { padding: 16px 0; border-top: 1px solid var(--line-faint); color: var(--ink-2); font-size: 15px; }
.shows-list b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }
.foot { max-width: 1440px; margin: 0 auto; padding: 80px clamp(16px, 4vw, 48px) 96px; }
.foot p { font-size: 13px; color: var(--ink-3); max-width: 52em; border-top: 1px solid var(--line-faint); padding-top: 20px; }

/* ---------- concierge */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  background: var(--btn); color: var(--btn-ink); border: 0; border-radius: 26px; font: 500 15px 'Sora', sans-serif; cursor: pointer;
  box-shadow: 0 10px 30px rgba(4, 16, 36, .35);
}
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.fab:hover { background: var(--btn-hover); }
.fab-short { display: none; }
.fab[aria-expanded="true"] { display: none; }
.chat {
  position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 400px; height: min(640px, calc(100vh - 96px)); display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}
.chat[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line-faint); }
.chat-title { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.chat-note { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 88%; font-size: 15px; line-height: 1.55; }
.msg-bot { align-self: flex-start; color: var(--ink); padding-left: 12px; border-left: 2px solid var(--line); }
.msg-user { align-self: flex-end; background: var(--line-faint); border: 1px solid var(--line-soft); padding: 8px 12px; }
.msg-actions { margin-top: 10px; }
.msg .btn { min-height: 44px; font-size: 14px; }
.typing { display: inline-flex; gap: 5px; padding: 8px 0 8px 12px; border-left: 2px solid var(--line); align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chips { display: flex; gap: 8px; padding: 10px 20px 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-soft); background: transparent; color: var(--ink); font: 400 14px 'Sora', sans-serif; cursor: pointer; border-radius: 20px; }
.chip:hover { border-color: var(--line); }
.chat-form { display: grid; grid-template-columns: 1fr 48px; gap: 8px; padding: 12px 16px 16px; }
.send-btn { background: var(--btn); color: var(--btn-ink); border: 0; cursor: pointer; display: grid; place-items: center; border-radius: 2px; }
.send-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- responsive */
@media (max-width: 1180px) {
  .explorer-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .unit-card { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding: 36px 0 8px; }
  .titleblock { display: none; }
  .stage { min-height: 0; height: 520px; }
  .readout { left: 0; right: 0; width: auto; bottom: 16px; }
  .stage-hint { top: 10px; }
  .explorer-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 28px; }
  .lc-body { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); }
  .tour-aside { display: none; }
  .lc-who { border-right: 0; border-bottom: 1px solid var(--line-faint); }
  .shows-list { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .floor-meta { min-height: 0; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .theme-btn { margin-left: auto; }
  .hero h1 { font-size: 2.45rem; }
  .lede { margin-top: 16px; font-size: 1rem; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stage { height: auto; margin: 0 -16px; }
  .tower-canvas { position: relative; height: 500px; }
  .readout { position: relative; left: auto; right: auto; bottom: auto; margin: 0 16px 28px; }
  .stage-hint { top: 14px; right: 16px; flex-direction: column; align-items: flex-end; gap: 6px; }
  .stage-hint span + span { padding-left: 0; border-left: 0; }
  .chat-form { padding-bottom: 64px; }
  .zones { display: flex; overflow-x: auto; gap: 8px; border-top: 0; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .zone { flex: none; border: 1px solid var(--line-soft); padding: 0 14px; border-radius: 23px; }
  .zone .mono { display: none; }
  .stage-hint { right: 16px; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .field.two { grid-template-columns: 1fr; }
  .totals { grid-template-columns: 1fr 1fr; }
  .lc-fields div { grid-template-columns: 100px 1fr; }
  .fab { right: 12px; bottom: 12px; padding: 0 16px 0 14px; }
  .fab span { font-size: 14px; }
  .fab-long { display: none; }
  .fab-short { display: inline; }
  .chat { right: 0; left: 0; bottom: 0; width: auto; height: 82vh; height: 82svh; border-left: 0; border-right: 0; }
  .uc-code { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i { animation: none; opacity: .7; }
  * { transition: none !important; }
}

/* webgl fallback drawing */
.fb-plate { stroke: var(--tower-line); stroke-width: .6; opacity: .45; }
.fb-major { stroke: var(--tower-line); stroke-width: .8; opacity: .8; }
.fb-garden { stroke: var(--tower-garden); stroke-width: 1.2; }
.fb-col { fill: none; stroke: var(--tower-line); stroke-width: .7; opacity: .7; }
rect[data-floor] { cursor: pointer; }
rect[data-floor]:hover { fill: var(--gold-fill); }
.stage-tag[hidden] { display: none; }
.no-webgl .stage-dims, .no-webgl .stage-hint span:first-child { display: none; }
.no-webgl .stage-hint span + span { border-left: 0; padding-left: 0; }
.legend[hidden] { display: none; }

/* ---------- home types + 360 tour */
.btn-360 svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.type-card { display: flex; flex-direction: column; border: 1px solid var(--line-soft); background: var(--bg-2); }
.type-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line-soft); background: var(--bg-3); }
.type-card h3 { font-size: 20px; margin: 18px 20px 6px; letter-spacing: -0.02em; }
.type-meta { margin: 0 20px; font: 400 13px/1.5 'Azeret Mono', monospace; color: var(--ink-2); }
.type-rooms { margin: 10px 20px 18px; font-size: 14px; color: var(--ink-2); flex: 1; }
.type-card .btn { margin: 0 20px 20px; }
.types-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

html.t360-open { overflow: hidden; }
.t360 {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--ink); overflow: hidden;
}
.t360:not([open]) { display: none; }
.t360[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.t360::backdrop { background: var(--bg); }
.t360-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line-soft); min-height: 68px; }
.t360-head { min-width: 0; }
.t360-head h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -0.03em; }
.t360-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.t360-close {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line-soft);
  background: transparent; color: var(--ink); font: 500 15px 'Sora', sans-serif; cursor: pointer; border-radius: 22px;
}
.t360-close:hover { border-color: var(--line); }
.t360-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.t360-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
.t360-view { position: relative; overflow: hidden; background: #0b0d10; cursor: grab; touch-action: none; outline-offset: -3px; user-select: none; -webkit-user-select: none; }
.t360-view.is-dragging { cursor: grabbing; }
.t360-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.t360-veil { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }
.t360-spots { position: absolute; inset: 0; pointer-events: none; }
.hs {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; background: none;
  pointer-events: auto; cursor: pointer; color: #fff; border-radius: 50%; font: 500 13px/1.2 'Sora', sans-serif;
}
.hs[hidden] { display: none; }
.hs i {
  position: absolute; inset: 4px; border-radius: 50%; border: 2px solid #fff;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 4px, rgba(134, 201, 243, .55) 5px, rgba(134, 201, 243, .12) 70%);
  box-shadow: 0 0 0 5px rgba(134, 201, 243, .28), 0 0 22px 4px rgba(134, 201, 243, .75); animation: hs-glow 2.2s ease-in-out infinite;
}
.hs span {
  position: absolute; left: 50%; top: 52px; transform: translateX(-50%); white-space: nowrap; padding: 5px 11px; border-radius: 14px;
  background: rgba(6, 18, 36, .86); color: #fff; font: 500 13px/1.2 'Sora', sans-serif; letter-spacing: -0.01em;
}
.hs:hover i, .hs:focus-visible i { box-shadow: 0 0 0 7px rgba(134, 201, 243, .4), 0 0 30px 8px rgba(134, 201, 243, .9); }
.hs:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes hs-glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.t360-here, .t360-note, .t360-loading { position: absolute; margin: 0; background: var(--bg-glass); color: var(--ink); border: 1px solid var(--line-soft); }
.t360-here { left: 16px; top: 16px; padding: 10px 14px; max-width: calc(100% - 32px); pointer-events: none; }
.t360-room { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.t360-step { font: 400 12px/1.4 'Azeret Mono', monospace; color: var(--ink-2); }
.t360-note { left: 16px; bottom: 16px; padding: 7px 12px; font-size: 13px; max-width: calc(100% - 140px); pointer-events: none; }
.t360-loading { left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 16px; font-size: 14px; }
.t360-loading[hidden] { display: none; }
.t360-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 8px; }
.t360-zbtn { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg-glass); color: var(--ink); border: 1px solid var(--line-soft); cursor: pointer; border-radius: 50%; }
.t360-zbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.t360-side { border-left: 1px solid var(--line-soft); padding: 20px 22px 28px; overflow-y: auto; background: var(--bg-2); }
.t360-h { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; margin: 0 0 10px; }
.t360-rooms + .t360-h { margin-top: 24px; }
.t360-rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.t360-rbtn {
  width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 14px; text-align: left; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line-soft); font: 400 15px/1.3 'Sora', sans-serif;
}
.t360-rbtn:hover { border-color: var(--line); }
.t360-rbtn[aria-current="true"] { border-color: var(--gold); background: var(--gold-fill-hi); font-weight: 500; }
.t360-rnum { font-size: 12px; color: var(--ink-3); min-width: 1.2em; }
.t360-rbtn[aria-current="true"] .t360-rnum { color: var(--gold-ink); }
.t360-map { width: 100%; height: auto; display: block; }
.m-shell { fill: none; stroke: var(--line); stroke-width: .7; }
.m-extra rect { fill: var(--line-ghost); stroke: var(--line-soft); stroke-width: .3; }
.m-extra text { font: 400 2.7px 'Sora', sans-serif; fill: var(--ink-3); }
.m-room { cursor: pointer; }
.m-room rect { fill: var(--line-faint); stroke: var(--line); stroke-width: .4; }
.m-room text { font: 500 3.1px 'Sora', sans-serif; fill: var(--ink-2); }
.m-room.is-here rect { fill: var(--gold-fill-hi); stroke: var(--gold); stroke-width: .7; }
.m-room.is-here text { fill: var(--gold-ink); }
.m-north path { fill: var(--ink-2); }
.m-north text { font: 500 2.6px 'Sora', sans-serif; fill: var(--ink-2); }
.m-cone { fill: var(--accent); opacity: .32; stroke: var(--accent); stroke-width: .3; }
.m-me circle { fill: var(--accent); stroke: var(--bg-2); stroke-width: .6; }
.t360-hint { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.t360-credit { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.t360-mini { display: none; }
.t360-flat { position: absolute; inset: 0; overflow-x: auto; }
.t360-flat-img { display: block; height: 100%; width: auto; max-width: none; }

@media (max-width: 1180px) {
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .t360[open] { display: block; overflow-y: auto; }
  .t360-bar { position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 8px 16px; min-height: 60px; }
  .t360-sub { display: none; }
  .t360-body { display: block; }
  .t360-view { height: 58vh; height: 58svh; }
  .t360-side { border-left: 0; border-top: 1px solid var(--line-soft); padding: 18px 16px 40px; overflow: visible; }
  .t360-map { max-width: 360px; }
  .t360-room { font-size: 16px; }
  .t360-here { left: 12px; top: 12px; padding: 8px 12px; max-width: calc(100% - 156px); }
  .t360-mini {
    display: block; position: absolute; right: 12px; top: 12px; width: 124px; height: auto; padding: 4px;
    background: var(--bg-glass); border: 1px solid var(--line-soft); pointer-events: none;
  }
  .t360-mini .m-extra text, .t360-mini .m-north { display: none; }
  .t360-mini .m-room text { font-size: 4.6px; }
  .t360-note { left: 12px; bottom: 12px; font-size: 12px; max-width: calc(100% - 80px); }
  .t360-zoom { right: 12px; bottom: 12px; }
}
@media (max-width: 640px) {
  .types { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hs i { animation: none; }
}
