/* STIEGE Immobilien · Wien · Demo von ELYX Systematix */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/syne-latin-ext-wght-normal.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: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/syne-latin-wght-normal.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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.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-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.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: "Azeret Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/azeret-mono-latin-ext-400-normal.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: "Azeret Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/azeret-mono-latin-400-normal.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: "Azeret Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/azeret-mono-latin-ext-500-normal.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: "Azeret Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/azeret-mono-latin-500-normal.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; }

/* --------------------------------------------------------------- tokens */
:root {
  --canvas: #1E2440;
  --panel: #283052;
  --deep: #161A30;
  --accent: #FFB862;
  --accent-muted: #6B5A4A;
  --daylight: #E3E6EE;
  /* animated palette (scroll tweens these on :root) */
  --bg: #1E2440;
  --ink: #ECE9F1;
  --muted: #A4A9C4;
  --line: rgba(236,233,241,0.14);
  --line-strong: rgba(236,233,241,0.28);
  --card: #283052;

  --f-display: "Syne", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(18px, 5.4vw, 88px);
  --hdr: 72px;
  --r: 6px;
}
@media (max-width: 899px) { :root { --hdr: 62px; --pad: 18px; } }

/* static (no motion / no JS): daylight chapters carry their own palette */
html:not(.motion) [data-palette="day"] {
  --bg: #E3E6EE; --ink: #1E2440; --muted: #4C5375; --line: rgba(30,36,64,0.14); --line-strong: rgba(30,36,64,0.3); --card: #F3F4F8;
  background: var(--bg); color: var(--ink);
}

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #1E2440; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
html.is-day :focus-visible { outline-color: #1E2440; box-shadow: 0 0 0 5px rgba(255,184,98,.65); }
[data-palette="day"] :focus-visible { outline-color: #1E2440; box-shadow: 0 0 0 5px rgba(255,184,98,.65); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); }
main:focus { outline: none; }
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200; padding: .8em 1.2em; border-radius: 999px;
  background: var(--accent); color: #1E2440; font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ------------------------------------------------------------- overlays */
.ambient { position: fixed; inset: 0; z-index: 6; pointer-events: none; opacity: .55; overflow: hidden; contain: strict; }
.amb { position: absolute; border-radius: 50%; will-change: transform; }
.amb--a { width: 80vmax; height: 80vmax; left: -25vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(96,104,180,.16), rgba(96,104,180,0)); animation: driftA 84s ease-in-out infinite alternate; }
.amb--b { width: 70vmax; height: 70vmax; right: -25vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(150,112,150,.12), rgba(150,112,150,0)); animation: driftB 102s ease-in-out infinite alternate; }
.amb--stars {
  inset: -10%; border-radius: 0; filter: none; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(236,233,241,.6), transparent 60%),
    radial-gradient(1px 1px at 140px 90px, rgba(236,233,241,.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 260px 160px, rgba(236,233,241,.5), transparent 60%),
    radial-gradient(1px 1px at 330px 40px, rgba(236,233,241,.35), transparent 60%);
  background-size: 380px 220px;
  animation: driftS 140s linear infinite;
}
@keyframes driftA { to { transform: translate3d(18vmax, 14vmax, 0) scale(1.12); } }
@keyframes driftB { to { transform: translate3d(-16vmax, -10vmax, 0) scale(.92); } }
@keyframes driftS { to { transform: translate3d(-380px, 110px, 0); } }

.grain {
  position: fixed; left: -8%; top: -8%; width: 116%; height: 116%; z-index: 90; pointer-events: none; opacity: .065;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-3%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.vignette { position: fixed; inset: 0; z-index: 89; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10,12,30,.42) 100%); }

/* ------------------------------------------------------------ preloader */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; cursor: pointer;
  animation: plFailsafe 0s 4s forwards;
}
@keyframes plFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.pl-door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: linear-gradient(180deg, #232a4b, #1a1f3a); }
.pl-door--l { left: 0; box-shadow: inset -1px 0 0 rgba(236,233,241,.12); }
.pl-door--r { right: 0; box-shadow: inset 1px 0 0 rgba(236,233,241,.12); }
.pl-door::after { content: ""; position: absolute; inset: 9% 12%; border: 1px solid rgba(236,233,241,.06); border-radius: 2px; }
.pl-panel { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; color: var(--ink); }
.pl-brand { font: 800 1.1rem/1 var(--f-display); letter-spacing: .32em; padding-left: .32em; color: var(--muted); }
.pl-display {
  display: flex; align-items: center; gap: 12px; padding: 16px 26px; min-width: 170px; justify-content: center;
  background: #0f1226; border: 1px solid rgba(201,162,108,.45); border-radius: 6px;
  box-shadow: inset 0 0 24px rgba(0,0,0,.6), 0 0 0 6px rgba(201,162,108,.08);
  font: 500 2.6rem/1 var(--f-mono); color: var(--accent); text-shadow: 0 0 14px rgba(255,184,98,.65);
}
.pl-arrow { font-size: .9rem; opacity: .85; }
.pl-floor { min-width: 2.2ch; text-align: center; display: inline-block; }
.pl-row { display: flex; gap: 10px; font: 500 .72rem/1 var(--f-mono); color: rgba(164,169,196,.5); }
.pl-row i { font-style: normal; transition: color .15s; }
.pl-row i.on { color: var(--accent); }
.pl-skip { font: 400 .68rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(164,169,196,.55); }

/* --------------------------------------------------------------- header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hdr); color: var(--ink); transition: background-color .4s, box-shadow .4s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent), transparent); opacity: 1; pointer-events: none; transition: opacity .4s; }
.site-header.is-scrolled::before { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.hdr-inner { position: relative; height: 100%; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); padding-inline: var(--pad); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.28rem/1 var(--f-display); letter-spacing: .14em; margin-right: auto; min-height: 44px; }
.wm-glyph { width: 26px; height: 26px; }
.wm-glyph rect { fill: var(--accent); }
.wm-glyph .wm-cross { stroke: var(--bg); stroke-width: 1.6; fill: none; }
.wm-glyph .wm-step { stroke: var(--ink); stroke-width: 2; fill: none; stroke-linejoin: round; }
.hdr-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.hdr-nav a { position: relative; text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .01em; padding: 10px 0; color: var(--ink); }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-lift { display: none; }
.menu-btn { display: none; }

@media (max-width: 899px) {
  .hdr-nav, .site-header .hdr-cta { display: none; }
  .hdr-lift {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 4px; background: #0f1226;
    border: 1px solid rgba(201,162,108,.4); font: 500 .82rem/1 var(--f-mono); color: var(--accent); text-shadow: 0 0 8px rgba(255,184,98,.5); overflow: hidden;
  }
  .hl-arrow { font-size: .6rem; }
  .hl-floor { display: inline-block; min-width: 2ch; text-align: center; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px;
    background: transparent; border: 1px solid var(--line-strong); font-weight: 600; font-size: .9rem;
  }
  .menu-lines { display: grid; gap: 5px; width: 16px; }
  .menu-lines i { display: block; height: 1.5px; background: currentColor; }
  .menu-lines i:last-child { width: 10px; }
}

/* ----------------------------------------------------------- lift panel */
.lift {
  position: fixed; right: 16px; top: 50%; z-index: 45; transform: translateY(-50%);
  display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono);
}
.lift-cap { font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lift-dir { font-size: .6rem; color: var(--accent); }
.lift-list { display: flex; flex-direction: column-reverse; gap: 2px; }
.lift-list a {
  display: grid; place-items: center; width: 34px; height: 30px; border-radius: 999px; text-decoration: none;
  font: 500 .7rem/1 var(--f-mono); color: var(--muted); transition: color .3s, background-color .3s, box-shadow .3s;
}
.lift-list a:hover { color: var(--ink); }
.lift-list a.is-current { color: #1E2440; background: var(--accent); box-shadow: 0 0 16px rgba(255,184,98,.55); }
@media (max-width: 899px) { .lift { display: none; } }

/* -------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75em; min-height: 52px; padding: 0 1.55em 0 1.2em;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: .005em; line-height: 1.1;
  transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s; will-change: transform; background: none;
}
.btn--sm { min-height: 44px; font-size: .9rem; padding: 0 1.2em; }
.btn--accent { background: var(--accent); color: #1E2440; box-shadow: 0 10px 34px -12px rgba(255,184,98,.7); }
.btn--accent:hover { background: #FFC680; box-shadow: 0 14px 40px -10px rgba(255,184,98,.85); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn-dot { width: 9px; height: 9px; border-radius: 50%; background: #1E2440; box-shadow: 0 0 0 3px rgba(30,36,64,.18); transition: background-color .3s, box-shadow .3s; flex: none; }
.btn--accent:hover .btn-dot { background: #FFF6EA; box-shadow: 0 0 0 3px rgba(30,36,64,.25), 0 0 10px #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-top: 2px; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------------------------------------------------------- typography */
.floor-label { display: flex; align-items: center; gap: .9em; font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fl-num { flex: none; display: inline-grid; place-items: center; min-width: 2.7em; height: 2em; padding: 0 .4em; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); letter-spacing: .04em; }
.h2 { font: 700 clamp(2.1rem, 4.3vw, 4.4rem)/1.0 var(--f-display); letter-spacing: -.035em; max-width: 16ch; text-wrap: balance; }
.lead { max-width: 50ch; color: var(--muted); font-size: clamp(1rem, 1.12vw, 1.15rem); }
.small { font-size: .85rem; color: var(--muted); }
.tag { display: inline-flex; align-items: center; font: 500 .6rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: .42em .65em; border: 1px solid currentColor; border-radius: 999px; color: var(--accent); vertical-align: middle; white-space: nowrap; }
[data-palette="day"] .tag, html.is-day .calc .tag, html.is-day .sell .tag { color: #7A4C12; }
.demo-note { font: 500 .66rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ln-mask { padding-bottom: .14em; margin-bottom: -.14em; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100vh; height: 100svh; z-index: 1; }
.motion .hero { height: 220vh; height: 220svh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #141933; isolation: isolate; }
.hero-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--scrim, 1);
  background: linear-gradient(90deg, rgba(18,22,46,.94) 0%, rgba(18,22,46,.86) 30%, rgba(18,22,46,.5) 42%, rgba(18,22,46,0) 54%);
}
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,24,48,0) 45%, rgba(20,24,48,.6)); opacity: 0; }
.facade { position: absolute; inset: 0; z-index: 0; overflow: hidden; touch-action: pan-y; }
.facade-cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.facade-sky, .facade-world { position: absolute; left: 0; top: 0; width: 100%; height: 125%; will-change: transform; }
.facade-sky { background: linear-gradient(180deg, #10152E, #2E3566 60%, #7E6C8C); }
.facade canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fc-glow { pointer-events: none; }
.facade-nojs { position: absolute; right: 4%; bottom: 0; height: 82%; width: auto; }
.facade-ready .facade-nojs { display: none; }
.facade:not(.facade-ready) canvas { display: none; }
.facade-dim { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(70% 70% at 30% 50%, rgba(14,17,36,0) 10%, rgba(14,17,36,.72) 75%); }
.facade.is-over-window { cursor: pointer; }
.hero-copy > *, .hero-foot, .hero-stage::before { transition: opacity .6s var(--ease), visibility .6s; }
.is-visiting .hero-copy > *, .is-visiting .hero-foot { opacity: 0 !important; visibility: hidden; }
.is-visiting .hero-stage::before { opacity: 0; }
.is-visiting .lift { opacity: 0; pointer-events: none; }
.lift { transition: opacity .5s; }
.fc-buttons { position: absolute; inset: 0; pointer-events: none; }
.fc-btn { position: absolute; pointer-events: none; background: transparent; border: 0; padding: 0; border-radius: 3px; opacity: 1; }
.fc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; box-shadow: 0 0 0 8px rgba(255,184,98,.18); }

.hero-copy { position: relative; z-index: 2; padding: calc(var(--hdr) + clamp(28px, 10vh, 120px)) var(--pad) 0; max-width: min(50vw, 720px); pointer-events: none; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero-title { margin-top: clamp(18px, 3vh, 30px); font: 700 clamp(2.7rem, 5.1vw, 6.2rem)/.96 var(--f-display); letter-spacing: -.04em; text-wrap: balance; max-width: 11ch; }
.hero-sub { margin-top: clamp(18px, 3vh, 30px); max-width: 40ch; color: #C7CAE0; font-size: clamp(1rem, 1.15vw, 1.16rem); text-shadow: 0 1px 18px rgba(14,17,36,.8); }
.hero-actions { margin-top: clamp(22px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-foot { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(16px, 3vh, 30px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; pointer-events: none; }
.hero-hint { display: flex; align-items: center; gap: 10px; max-width: 46ch; font: 400 .7rem/1.5 var(--f-mono); letter-spacing: .04em; color: #B6BAD4; text-shadow: 0 1px 10px rgba(14,17,36,.9); }
.hint-dot { flex: none; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 10px rgba(255,184,98,.8); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.hero-scroll { display: flex; align-items: center; gap: 12px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-scroll i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: scrollCue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.no-gsap .facade-world, .no-gsap .facade-sky { transform: translateY(-20%); }

@media (max-width: 899px) {
  .hero-stage::before { background: linear-gradient(180deg, rgba(18,22,46,.78) 0%, rgba(18,22,46,.5) 38%, rgba(18,22,46,0) 58%); }
  .hero-copy { max-width: none; padding-top: calc(var(--hdr) + 20px); }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.6rem); max-width: 10ch; }
  .hero-sub { font-size: .98rem; max-width: 34ch; }
  .hero-sub .sub-long { display: none; }
  .hero-actions .link-arrow { display: none; }
  .hero-actions { gap: 6px 22px; }
  .hero-scroll { display: none; }
  .hero-hint { font-size: .66rem; max-width: 30ch; padding: 8px 12px; border-radius: 10px; background: rgba(18,22,46,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}


/* ------------------------------------------------------------ listings */
.listings {
  position: relative; z-index: 2; overflow: hidden;
  background: radial-gradient(90% 70% at 85% 10%, #323b6c 0%, rgba(50,59,108,0) 60%), radial-gradient(80% 60% at 0% 100%, #2a2448 0%, rgba(42,36,72,0) 60%), #232A4C;
}
.motion .listings { margin-top: -100vh; margin-top: -100svh; }
.listings-inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: 100vh; height: 100svh; padding: calc(var(--hdr) + 24px) var(--pad) 72px; width: max-content; will-change: transform; }
.listings-head { flex: none; width: clamp(300px, 30vw, 460px); display: grid; gap: 22px; align-content: center; }
.listings-head .h2 { font-size: clamp(2.2rem, 3.6vw, 3.8rem); }
.track-wrap { flex: none; }
.track { display: flex; gap: clamp(20px, 2.4vw, 40px); align-items: stretch; }
.card { flex: none; width: clamp(310px, 27vw, 420px); perspective: 1200px; }
.card-in { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg, #2c345e, #262d54); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transform-style: preserve-3d; box-shadow: 0 30px 60px -30px rgba(6,8,22,.7); }
.photo { position: relative; overflow: hidden; background: #2a3158; aspect-ratio: 4 / 5; }
.card .photo { aspect-ratio: auto; height: clamp(200px, calc(100svh - 520px), 460px); }
.photo > img, .photo > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.motion .card .photo > img, .motion .card .photo > svg { width: 116%; max-width: none; left: -8%; }
.photo > img { opacity: 0; transition: opacity .6s; }
.photo.has-photo > img { opacity: 1; }
.photo.has-photo > svg { display: none; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,48,0) 60%, rgba(20,24,48,.45)); pointer-events: none; }
.card-body { display: grid; gap: 14px; padding: 20px 22px 22px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-title { font: 700 clamp(1.35rem, 1.7vw, 1.7rem)/1.05 var(--f-display); letter-spacing: -.025em; }
.card-line { font-size: .92rem; line-height: 1.55; color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.specs dt { font: 500 .58rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.specs dd { font: 500 .86rem/1.35 var(--f-mono); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-k { width: 100%; font: 500 .58rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price-v { font: 500 1.2rem/1.1 var(--f-mono); letter-spacing: -.02em; }
.card--owner { display: flex; }
.owner-in { align-self: stretch; display: grid; align-content: center; gap: 22px; padding: 34px 30px; border: 1px dashed var(--line-strong); border-radius: var(--r); background: radial-gradient(80% 60% at 50% 0%, rgba(255,184,98,.12), rgba(255,184,98,0) 70%); }
.owner-title { font: 700 clamp(1.7rem, 2.4vw, 2.4rem)/1.02 var(--f-display); letter-spacing: -.03em; }
.owner-text { color: var(--muted); }
.listings-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 18px; font: 500 .7rem/1 var(--f-mono); color: var(--muted); pointer-events: none; }
.lp-count b { color: var(--ink); font-weight: 500; }
.lp-bar { flex: 1; max-width: 280px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.lp-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.swipe-hint { display: none; margin-left: auto; letter-spacing: .12em; text-transform: uppercase; }

html:not(.motion) .listings-inner, .listings-inner { }
/* desktop: intro column stays put, only the cards travel */
@media (min-width: 900px) {
  .motion .listings-inner { width: 100%; display: grid; grid-template-columns: clamp(280px, 27vw, 420px) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 64px); will-change: auto; }
  .motion .listings-head { width: auto; position: relative; z-index: 2; }
  .motion .listings-head .h2 { font-size: clamp(2rem, 2.75vw, 3.1rem); text-wrap: balance; }
  .motion .card .photo { height: clamp(180px, calc(100svh - 560px), 440px); }
  .motion .listings-inner { padding-bottom: 64px; }
  .motion .track-wrap { min-width: 0; height: 100%; display: flex; align-items: center; overflow: hidden; margin-right: calc(var(--pad) * -1); padding-left: 0; margin-left: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 90px), transparent); }
  .motion .track { width: max-content; padding-left: 56px; padding-right: calc(var(--pad) + 6vw); will-change: transform; }
  .motion .listings-progress { left: calc(var(--pad) + clamp(280px, 27vw, 420px) + clamp(28px, 3.5vw, 64px)); }
}

@media (min-width: 900px) {
  html:not(.motion) .listings-inner { width: auto; height: auto; flex-direction: column; align-items: stretch; padding-top: clamp(90px, 14vh, 150px); padding-bottom: 110px; }
  html:not(.motion) .listings-head { width: auto; max-width: 900px; }
  html:not(.motion) .track { flex-wrap: wrap; }
  html:not(.motion) .card { width: calc((100% - 2 * clamp(20px, 2.4vw, 40px)) / 3); min-width: 280px; }
  html:not(.motion) .card .photo { height: auto; aspect-ratio: 4 / 3.4; }
  html:not(.motion) .listings-progress { display: none; }
}
@media (max-width: 899px) {
  .listings-inner { display: block; width: auto; height: auto; padding: clamp(84px, 14vh, 120px) 0 96px; }
  .listings-head { width: auto; padding-inline: var(--pad); margin-bottom: 30px; }
  .track-wrap { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
  .track-wrap::-webkit-scrollbar { display: none; }
  .track { padding-inline: var(--pad); width: max-content; gap: 14px; }
  .card { width: min(84vw, 380px); scroll-snap-align: start; }
  .card .photo { height: auto; aspect-ratio: 4 / 3.6; }
  .motion .card .photo > img, .motion .card .photo > svg { width: 100%; left: 0; }
  .listings-progress { bottom: 34px; }
  .swipe-hint { display: inline; }
}

/* -------------------------------------------------------------- stairs */
.stairs { position: relative; z-index: 3; background: radial-gradient(70% 70% at 64% 46%, #262d55 0%, #181d38 70%); overflow: hidden; }
.stairs-inner { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: grid; grid-template-columns: minmax(300px, 40%) 1fr; align-items: center; padding: calc(var(--hdr) + 10px) var(--pad) 40px; }
.stairs-copy { position: relative; z-index: 2; display: grid; gap: 22px; align-content: center; max-width: 520px; }
.stairs-title { font-size: clamp(2.1rem, 3.8vw, 4rem); max-width: 13ch; }
.stairs-counter { display: flex; align-items: baseline; gap: 14px; }
.sc-label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sc-num { display: inline-block; overflow: hidden; font: 800 clamp(3.4rem, 7vw, 6.6rem)/1 var(--f-display); letter-spacing: -.05em; color: var(--accent); text-shadow: 0 0 30px rgba(255,184,98,.35); padding: .04em 0; }
.sc-val { display: inline-block; }
.stairs-items { display: grid; gap: 12px; counter-reset: st; max-width: 44ch; }
.stairs-items li { position: relative; padding-left: 34px; color: var(--muted); font-size: .98rem; transition: color .5s, opacity .5s; }
.stairs-items li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: .1em; font: 500 .68rem/1.9 var(--f-mono); width: 22px; height: 22px; text-align: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.stairs-items b { color: var(--ink); font-weight: 700; }
.motion .stairs-items li { opacity: .32; }
.motion .stairs-items li.is-on { opacity: 1; color: var(--ink); }
.motion .stairs-items li.is-on::before { background: var(--accent); color: #1E2440; border-color: var(--accent); }
html:not(.motion) .stairs-counter { display: none; }
.stairs-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stairs-svg { position: absolute; top: 50%; left: 66%; width: max(1100px, 100vmax); height: max(1100px, 100vmax); transform: translate(-50%, -50%); }
.stairs-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.st-band { fill: rgba(236,233,241,.035); stroke: none; }
.stairs-svg path.st-band { fill: rgba(236,233,241,.035); }
.st-wall { stroke: rgba(164,169,196,.22); stroke-width: 1; }
.st-land { stroke: rgba(236,233,241,.45); stroke-width: 2; }
.st-tread { stroke: rgba(164,169,196,.34); stroke-width: 1; }
.st-iron { stroke: rgba(236,233,241,.5); stroke-width: .9; }
.st-string { stroke: rgba(236,233,241,.55); stroke-width: 1.4; }
.st-rail { stroke: #E2C9A6; stroke-width: 3.4; }
.st-num { fill: rgba(236,233,241,.6); font-family: var(--f-mono); text-anchor: middle; }
.st-sky-ring { fill: none; stroke: #2A1F1A; stroke-width: 1.4; opacity: .8; }
.stairs-copy::before { content: ""; position: absolute; inset: -40% -30% -40% -60%; z-index: -1; background: radial-gradient(closest-side, rgba(22,26,52,.85), rgba(22,26,52,0)); }
.minutenlicht { position: absolute; z-index: 3; right: calc(var(--pad) + 40px); bottom: 34px; display: flex; align-items: center; gap: 12px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.minutenlicht svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.ml-track { fill: none; stroke: var(--line); stroke-width: 2; }
.ml-ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 119.4; }
.ml-btn { fill: #F59A3A; filter: drop-shadow(0 0 6px rgba(255,160,70,.8)); }
.stairs-dark { position: absolute; inset: 0; z-index: 4; background: #161A30; opacity: 0; pointer-events: none; }
html:not(.motion) .stairs-dark { display: none; }
@media (max-width: 899px) {
  .stairs-inner { grid-template-columns: 1fr; align-items: end; padding-bottom: 96px; }
  .stairs-svg { left: 50%; top: 36%; width: 1000px; height: 1000px; }
  .stairs-copy { gap: 14px; }
  .stairs-copy::before { inset: -20% -20% -10% -20%; background: radial-gradient(closest-side, rgba(22,26,52,.92), rgba(22,26,52,.4)); }
  .stairs-items li { font-size: .92rem; }
  .motion .stairs-items li:not(.is-on) { display: none; }
  .minutenlicht { right: var(--pad); bottom: 30px; }
  .sc-num { font-size: 3.2rem; }
}
@media (max-width: 899px) and (max-height: 760px) { .stairs-title { font-size: 1.9rem; } }

/* --------------------------------------------------------------- quiet */
.quiet { position: relative; z-index: 3; overflow: hidden; background: radial-gradient(60% 50% at 50% 42%, #1d2240 0%, #161A30 70%); }
.quiet-inner { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; padding: calc(var(--hdr) + 18px) var(--pad) clamp(40px, 9vh, 96px); gap: clamp(20px, 4vh, 44px); text-align: center; }
.quiet-label { justify-self: start; }
.quiet-window { position: relative; width: clamp(150px, 17vw, 240px); }
.quiet-window svg { position: relative; z-index: 1; width: 100%; height: auto; }
.qw-glow { position: absolute; left: 50%; top: 50%; width: 260%; height: 180%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,184,98,.32), rgba(255,184,98,.08) 50%, rgba(255,184,98,0)); }
.quiet-line { font: 700 clamp(2rem, 4.6vw, 4.8rem)/1.04 var(--f-display); letter-spacing: -.035em; max-width: 17ch; text-wrap: balance; }
.quiet-line .qw { display: inline-block; }
@media (max-width: 899px) { .quiet-window { width: 140px; } }

/* ---------------------------------------------------------------- sell */
.sell { position: relative; z-index: 3; color: var(--ink); }
.sell-inner { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; gap: clamp(26px, 5vh, 52px); padding: calc(var(--hdr) + 28px) var(--pad) clamp(40px, 7vh, 80px); }
.sell-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px 6vw; align-items: end; }
.sell-head .floor-label { grid-column: 1 / -1; }
.sell-head .h2 { max-width: 15ch; font-size: clamp(2.1rem, 3.9vw, 4rem); }
.deck { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.deck-card {
  position: relative; display: grid; align-content: start; gap: 14px; min-height: clamp(270px, 36vh, 340px); padding: clamp(20px, 2vw, 30px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 50px -30px rgba(30,36,64,.45);
}
.deck-card:nth-child(1) { z-index: 4; } .deck-card:nth-child(2) { z-index: 3; } .deck-card:nth-child(3) { z-index: 2; } .deck-card:nth-child(4) { z-index: 1; }
.dc-no { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); }
.dc-icon { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dc-icon .dc-acc { stroke: #E0902F; fill: #FFB862; }
.deck-card h3 { font: 700 clamp(1.25rem, 1.6vw, 1.6rem)/1.05 var(--f-display); letter-spacing: -.02em; }
.deck-card p { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.sell-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
@media (max-width: 1100px) and (min-width: 900px) { .deck-card p { font-size: .88rem; } }
@media (max-width: 899px) {
  .sell-head { grid-template-columns: 1fr; }
  .deck { grid-template-columns: 1fr; }
  .deck-card { min-height: 0; grid-template-columns: auto 1fr; column-gap: 16px; }
  .deck-card .dc-no { grid-column: 1 / -1; }
  .deck-card .dc-icon { grid-row: span 2; width: 38px; height: 38px; }
  .sell-inner { min-height: 0; }
}
@media (min-width: 900px) and (max-width: 1199px) { html:not(.motion) .deck { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- calc */
.calc {
  --bg: #E3E6EE; --ink: #1E2440; --muted: #4C5375; --line: rgba(30,36,64,0.14); --line-strong: rgba(30,36,64,0.3); --card: #F3F4F8;
  position: relative; z-index: 3; color: var(--ink); background: var(--bg);
}
.calc .tag { color: #7A4C12; }
.calc :focus-visible { outline-color: #1E2440; box-shadow: 0 0 0 5px rgba(255,184,98,.65); }
.calc input[type="date"] { color-scheme: light; }
.calc-inner { display: grid; gap: clamp(26px, 5vh, 48px); padding: clamp(80px, 14vh, 150px) var(--pad) clamp(80px, 14vh, 150px); }
.calc-head { display: grid; gap: 20px; }
.calc-panel { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(30,36,64,.5); }
.jalousie { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: repeat(8, 1fr); pointer-events: none; }
.jalousie i { display: block; background: var(--bg); border-bottom: 1px solid var(--line); transform: scaleY(0); transform-origin: 50% 0; }
html:not(.motion) .jalousie { display: none; }
.calc-form { display: grid; gap: 26px; padding: clamp(22px, 3vw, 44px); border-right: 1px solid var(--line); }
.field { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend, .two label:not(.switch) { display: flex; justify-content: space-between; font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field output { color: var(--ink); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.two { grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
.two > div { display: grid; gap: 10px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 4px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--bg) 40%, transparent);
  color: var(--ink); font-size: 1rem; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
select { padding-right: 40px; }
select option { color: #1E2440; background: #F3F4F8; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input[type="date"] { color-scheme: dark; }
[data-palette="day"] input[type="date"], html.is-day input[type="date"] { color-scheme: light; }
input[type="range"] {
  --p: 30%; width: 100%; height: 44px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line-strong) var(--p)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line-strong) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px; border-radius: 50%; background: var(--accent); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line-strong), 0 6px 16px -6px rgba(30,36,64,.6); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid var(--card); }
.range-scale { display: flex; justify-content: space-between; font: 400 .62rem/1 var(--f-mono); color: var(--muted); margin-top: -6px; }
.seg-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; gap: 4px; }
.seg-row label { position: relative; }
.seg-row input { position: absolute; z-index: 2; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-row span { display: grid; place-items: center; min-height: 42px; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: background-color .35s, color .35s; }
.seg-row input:checked + span { background: var(--ink); color: var(--card); }
.seg-row input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggles { display: grid; gap: 6px; padding-top: 22px; }
.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .92rem; cursor: pointer; position: relative; }
.switch input { position: absolute; z-index: 2; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.sw { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); transition: background-color .35s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .45s var(--ease); }
.switch input:checked + .sw { background: var(--ink); }
.switch input:checked + .sw::after { transform: translateX(18px); background: var(--accent); }
.switch input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 3px; }
.calc-out { display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(22px, 3vw, 44px); background: radial-gradient(80% 60% at 80% 0%, rgba(255,184,98,.16), rgba(255,184,98,0) 70%); }
.mini-house { width: 120px; height: auto; margin-bottom: 4px; }
.mh-roof { fill: var(--ink); opacity: .85; }
.mh-wall { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.mh-line { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.mh-row rect { fill: var(--line-strong); transition: fill .5s; }
.mh-row[data-row="dg"] rect { fill: var(--card); }
.mh-row.on rect { fill: var(--accent); }
.mh-door { fill: var(--ink); opacity: .7; }
.out-label { display: flex; align-items: center; gap: 10px; font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.out-range { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font: 500 clamp(1.6rem, 2.9vw, 2.7rem)/1.1 var(--f-mono); letter-spacing: -.04em; }
.out-sep { font: 500 .8rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.odo { display: inline-flex; white-space: nowrap; }
.od-d { display: inline-block; height: 1.1em; overflow: hidden; }
.od-col { display: flex; flex-direction: column; transition: transform .95s cubic-bezier(.2, .9, .2, 1); }
.od-col span { height: 1.1em; line-height: 1.1em; }
.odo-static .od-col { transition: none; }
.out-sqm { font-size: .8rem; color: var(--muted); }
.out-disclaimer { max-width: 46ch; font-size: .85rem; line-height: 1.5; color: var(--muted); padding: 12px 14px; border-left: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.out-disclaimer strong { color: var(--ink); }
@media (max-width: 899px) {
  .calc-panel { grid-template-columns: 1fr; }
  .calc-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .two { grid-template-columns: 1fr; }
  .toggles { padding-top: 0; }
}

/* ------------------------------------------------------------- arrive */
.arrive {
  --bg: #1E2440; --ink: #ECE9F1; --muted: #A4A9C4; --line: rgba(236,233,241,0.14); --line-strong: rgba(236,233,241,0.28); --card: #283052;
  position: relative; z-index: 3; color: var(--ink);
  background: linear-gradient(180deg, #1A1F3A 0%, #1E2440 22%, #1E2440 100%);
}
.arrive .tag { color: var(--accent); }
.roofline { position: relative; height: clamp(150px, 22vw, 300px); overflow: hidden; }
.roofline svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl-win rect { fill: #FFB862; }
.rl-win--lower rect { opacity: .85; }
.rl-win--lower rect:nth-child(3n+2) { opacity: .25; }
.rl-win--lower rect:nth-child(4n) { opacity: .5; }
.rl-roofs, .rl-dormers { will-change: transform; }
.arrive-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); padding: clamp(36px, 7vh, 80px) var(--pad) clamp(80px, 12vh, 140px); align-items: start; }
.arrive-copy { display: grid; gap: 22px; position: sticky; top: calc(var(--hdr) + 30px); }
.office { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.office div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
.office dt { font: 500 .64rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.office dd { font-size: .98rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.form-door { position: relative; background: linear-gradient(180deg, rgba(40,48,82,.75), rgba(34,41,74,.75)); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 44px); box-shadow: 0 40px 90px -50px rgba(6,8,22,.8); }
.req-form { display: grid; gap: 18px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.f-row { display: grid; gap: 8px; align-content: start; }
.f-row > label:not(.check) { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--accent); }
.opt { text-transform: none; letter-spacing: 0; opacity: .8; }
.f-date { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.f-err { min-height: 0; font-size: .82rem; color: #FFB4A6; }
.f-err:empty { display: none; }
.is-error input, .is-error select, .is-error textarea { border-color: #FF9C8A; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; position: relative; line-height: 1.5; }
.check input { position: absolute; z-index: 2; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.cb { flex: none; width: 24px; height: 24px; border-radius: 4px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.cb::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #1E2440; border-bottom: 2px solid #1E2440; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease); }
.check input:checked + .cb { background: var(--accent); border-color: var(--accent); }
.check input:checked + .cb::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + .cb { outline: 2px solid var(--accent); outline-offset: 3px; }
.is-error .cb { border-color: #FF9C8A; }
.f-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 6px; }
.req-done { display: grid; gap: 18px; justify-items: start; padding: 10px 0; }
.req-done svg { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.req-done svg rect { fill: rgba(255,184,98,.9); stroke: none; }
.done-title { font: 700 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--f-display); letter-spacing: -.03em; max-width: 18ch; }
.req-done p:not(.done-title) { color: var(--muted); max-width: 52ch; }
.req-done strong { color: var(--ink); }
@media (max-width: 899px) {
  .arrive-inner { grid-template-columns: 1fr; }
  .arrive-copy { position: static; }
  .f-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- footer */
.site-footer { position: relative; z-index: 3; padding: clamp(40px, 8vh, 90px) var(--pad) 40px; border-top: 1px solid var(--line); overflow: hidden; }
.ft-word { font: 800 clamp(4.6rem, 19vw, 19rem)/.8 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-left: -.04em; user-select: none; }
.ft-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; margin-top: 34px; }
.ft-claim { color: var(--muted); }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ft-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; }
.ft-links a:hover { border-color: currentColor; }
.ft-note { margin-top: 24px; max-width: 80ch; font: 400 .72rem/1.6 var(--f-mono); color: var(--muted); }

/* --------------------------------------------------------------- visit */
.visit { position: fixed; z-index: 70; right: clamp(16px, 3vw, 48px); top: calc(var(--hdr) + 10px); bottom: 20px; width: min(430px, calc(100vw - 32px)); display: flex; align-items: center; pointer-events: none; }
.visit[hidden] { display: none; }
.visit-card { pointer-events: auto; position: relative; width: 100%; max-height: 100%; overflow: auto; overscroll-behavior: contain; background: rgba(28,33,62,.94); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 40px 100px -30px rgba(4,6,18,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #ECE9F1; }
.visit-card:focus { outline: none; }
.visit-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(236,233,241,.3); background: rgba(20,24,48,.6); color: #ECE9F1; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.visit-close:hover { background: rgba(20,24,48,.9); }
.visit-photo { aspect-ratio: 16 / 10; }
.visit--lived .visit-photo { display: none; }
.visit--lived .visit-body { padding-top: 64px; }
.visit-body { display: grid; gap: 14px; padding: 22px 24px 24px; }
.visit .card-meta { color: #A4A9C4; padding-right: 40px; }
.visit--lived .card-meta { padding-right: 52px; }
.visit-title { font: 700 1.7rem/1.05 var(--f-display); letter-spacing: -.025em; }
.visit-line { color: #A4A9C4; font-size: .95rem; }
.visit .specs { border-color: rgba(236,233,241,.14); }
.visit .specs dt, .visit .price-k { color: #A4A9C4; }
.visit .tag { color: #FFB862; }
.visit .btn--ghost { color: #ECE9F1; border-color: rgba(236,233,241,.3); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.visit--lived .visit-specs, .visit--lived .visit-price { display: none; }
@media (max-width: 899px) {
  .visit { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; align-items: flex-end; }
  .visit-card { max-height: 62vh; max-height: 62svh; }
  .visit-photo { aspect-ratio: 16 / 8; }
  .visit-body { padding: 18px; gap: 10px; }
  .visit-title { font-size: 1.4rem; }
  .visit .specs { gap: 8px 12px; }
}

/* ---------------------------------------------------------------- menu */
.menu { position: fixed; inset: 0; z-index: 80; background: #1A2039; color: #ECE9F1; overflow: auto; }
.menu[hidden] { display: none; }
.menu-in { min-height: 100%; display: grid; align-content: start; gap: 22px; padding: 14px var(--pad) 30px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.menu-cap { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #A4A9C4; }
.menu-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(236,233,241,.3); background: transparent; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; color: #ECE9F1; }
.menu-lift { display: grid; gap: 4px; }
.menu-lift a { display: flex; align-items: center; gap: 18px; min-height: 56px; text-decoration: none; padding: 4px 0; border-bottom: 1px solid rgba(236,233,241,.1); }
.menu-lift b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201,162,108,.55); background: #0f1226; font: 500 .82rem/1 var(--f-mono); color: #FFB862; box-shadow: inset 0 0 10px rgba(0,0,0,.5); }
.menu-lift span { font: 700 1.5rem/1 var(--f-display); letter-spacing: -.02em; }
.menu-cta { justify-self: start; margin-top: 8px; }

/* -------------------------------------------------------------- cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cur-ring, .cur-dot { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background-color .35s, border-color .35s, opacity .35s, box-shadow .35s; }
.cur-ring { width: 34px; height: 34px; border: 1px solid rgba(236,233,241,.55); opacity: 0; }
.cur-dot { width: 5px; height: 5px; background: var(--ink); opacity: 0; }
.cursor.is-on .cur-ring, .cursor.is-on .cur-dot { opacity: 1; }
.cursor.is-link .cur-ring { width: 54px; height: 54px; border-color: var(--accent); }
.cursor.is-window .cur-ring { width: 64px; height: 64px; border-color: transparent; background: radial-gradient(closest-side, rgba(255,214,150,.55), rgba(255,184,98,.15) 60%, rgba(255,184,98,0)); box-shadow: 0 0 40px rgba(255,184,98,.35); }
.cursor.is-window .cur-dot { background: #FFE0B0; box-shadow: 0 0 10px #FFB862; }
html.is-day .cur-ring { border-color: rgba(30,36,64,.5); }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor .facade, .has-cursor label, .has-cursor select { cursor: none; }
.has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor input[type="tel"], .has-cursor textarea { cursor: text; }

/* ------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grain, .amb, .hero-scroll i { animation: none !important; }
  .od-col, .btn, .sw::after, .cb::after { transition: none !important; }
}
