:root {
  color-scheme: light;
  --dark: #141a24;
  --ice: #eef1f4;
  --ink: #1b2230;
  --muted: #49566a;
  --line: #aab4c0;
  --accent: #d9622b;
  --cta: #ae4319;
  font-family: Onest, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ice);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
body { line-height: 1.5; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap { width: min(100% - 112px, 1248px); margin-inline: auto; }
.dark { color: var(--ice); background: var(--dark); }
.section { padding-block: clamp(64px, 8vw, 132px); }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; line-height: 1.06; }
h2 { font-size: clamp(2rem, 4.2vw, 4.25rem); letter-spacing: -.05em; }
.masthead {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 12px;
  color: white;
  border-bottom: 1px solid #eef1f477;
}
.wordmark { font: 800 1.45rem Manrope, sans-serif; letter-spacing: -.06em; text-decoration: none; }
.motion { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .875rem; min-height: 44px; }
.motion input { width: 18px; height: 18px; margin: 0; accent-color: var(--dark); }
.hero { position: relative; display: grid; align-items: end; min-height: 100svh; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 75%; height: 100%; object-fit: cover; object-position: 57% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--dark) 14%, #141a24df 31%, #141a2400 77%), linear-gradient(0deg, #141a24c9, transparent 68%, #141a249e); }
.hero-body { padding-block: 116px clamp(50px, 9vh, 108px); color: white; }
.concept { font-size: .875rem; margin-bottom: 22px; }
h1 { font-size: clamp(3rem, 5.6vw, 5.75rem); letter-spacing: -.065em; max-width: 11em; }
h1 span { display: block; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 0; list-style: none; padding: 0; margin-block: 30px; font-weight: 650; font-size: clamp(1rem, 2vw, 1.5rem); }
.facts li + li { border-left: 1px solid #eef1f477; padding-left: clamp(12px, 2vw, 25px); margin-left: clamp(12px, 2vw, 25px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 12px 20px; border: 1px solid currentColor; background: transparent; color: inherit; font-weight: 650; text-decoration: none; transition: background-color 180ms ease-out; }
.button:hover { background: #79889a26; }
.primary { background: var(--cta); border-color: var(--cta); color: white; }
.primary:hover { background: #903715; }
.section-heading { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-bottom: clamp(24px, 4vw, 48px); }
.section-heading > p { max-width: 32ch; }
.facade-layout { display: grid; grid-template-columns: min(60%, min(80vh, 900px) * 540 / 820) minmax(0, 1fr); align-items: start; gap: clamp(20px, 5vw, 76px); }
.facade-photo { width: 100%; height: min(80vh, 900px); }
#floor-map { display: block; width: 100%; height: 100%; }
#floor-map rect { fill: transparent; pointer-events: all; cursor: pointer; }
#floor-map rect:is(:hover, :focus, .selected, .group-selected) { fill: var(--accent); fill-opacity: .45; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
#floor-map rect:focus-visible { outline: none; stroke: white; stroke-width: 3; }
.floor-guides { pointer-events: none; }
.floor-guides line { stroke: white; stroke-opacity: .35; vector-effect: non-scaling-stroke; }
.floor-guides text { fill: white; stroke: var(--dark); stroke-width: 2; paint-order: stroke; dominant-baseline: middle; font-size: 20px; }
.floor-card { padding: clamp(24px, 4vw, 56px); align-self: stretch; display: grid; align-content: center; gap: 30px; }
.floor-card h3 { font-size: clamp(4rem, 9vw, 8rem); letter-spacing: -.07em; margin-block: 8px 12px; }
#floor-zone { font-size: 1.25rem; font-weight: 650; }
.minor { color: #c5cfdb; font-size: .875rem; }
.availability { border-top: 1px solid #657285; margin-top: 24px; padding-top: 18px; }
.floor-card .button { justify-self: start; }
.floor-groups, .group-hint { display: none; }
.fly { position: relative; }
.fly-stage { position: relative; height: 86svh; overflow: clip; }
.fly-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.fly-stage svg { transform-box: border-box; }
.fly-room { object-fit: cover; opacity: 0; }
.fly-credit { padding-block: 14px; }
.controls { display: flex; flex-wrap: wrap; gap: 6px; }
.controls button, .floor-groups button { border: 1px solid currentColor; background: transparent; color: inherit; padding: 8px 12px; min-height: 44px; }
.controls button:hover, .floor-groups button:hover { background: #79889a26; }
.controls [aria-pressed=true] { background: var(--ice); color: var(--dark); }
.controls [aria-selected=true] { background: var(--dark); color: var(--ice); }
.floor-groups button[aria-pressed=true], .floor-groups button[aria-pressed=true]:hover { background: #ae4319; border-color: #ae4319; color: #fff; opacity: 1; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { font-size: .875rem; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.plan-warning { font-size: clamp(1.125rem, 2vw, 1.65rem); font-weight: 650; }
.plan-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; margin-bottom: 24px; }
.plan-tabs { align-content: start; flex-direction: column; }
.plan-tabs button { text-align: left; }
.plan-panel { border: 1px solid var(--line); display: grid; justify-items: center; padding: clamp(12px, 3vw, 34px); background: #f8fafc; }
#plan-area { justify-self: start; font-weight: 700; }
#plan-drawing { display: block; width: min(100%, 530px); height: auto; }
#plan-drawing rect { fill: none; stroke: var(--ink); stroke-width: 2; }
#plan-drawing text { fill: var(--ink); font-size: 17px; text-anchor: middle; dominant-baseline: middle; }
.request-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 7vw, 100px); }
.request-layout h2 + p { margin-top: 16px; }
form { display: grid; gap: 14px; }
form label { display: grid; gap: 5px; }
form input { width: 100%; min-height: 46px; padding: 9px 12px; color: var(--ink); background: var(--ice); border: 1px solid var(--line); border-radius: 0; }
form input[readonly] { background: #272f3c; color: var(--ice); }
form input:focus-visible { outline-color: var(--ice); }
form .button { justify-self: start; }
#request-status:empty { display: none; }
.footer { display: grid; gap: 30px; grid-template-columns: 1fr 1.5fr; padding-block: 48px; font-size: .9rem; overflow-wrap: anywhere; }
.footer-note { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.footer h2 { font-size: 1.25rem; letter-spacing: -.025em; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 12px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 64px; }
  .hero-photo { width: 100%; object-position: 57% 50%; }
  .hero::after { background: linear-gradient(0deg, #141a24 0%, #141a24ed 24%, #141a2470 57%, #141a2422 80%, #141a249e 100%); }
  .hero-body { padding-bottom: 42px; }
  h1 { font-size: clamp(2.2rem, 9.4vw, 2.75rem); }
  .facts { margin-block: 24px; }
  .facade-layout, .request-layout, .plan-layout, .footer { grid-template-columns: minmax(0, 1fr); }
  .facade-photo { width: 100%; height: 70vh; cursor: pointer; }
  #floor-map rect { pointer-events: none; }
  #floor-map rect:not(.group-selected) { fill: transparent; stroke: none; }
  .floor-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .floor-groups button { padding-inline: 3px; }
  .group-hint { display: block; margin-top: 8px; font-size: .875rem; color: var(--muted); }
  .plan-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery img { aspect-ratio: 4 / 3; }
  .fly-stage { height: 78svh; }
}

.button:disabled { cursor: wait; opacity: .7; }

