/* ==========================================================================
   Yangi Jahon Bozori — "Andijan Modern" design system
   Day: warm sand + deep green + terracotta.  Night: ink blue + luminous green + amber.
   ========================================================================== */

:root {
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  /* ---- Day (default) ---- */
  --bg: #F2EEE6;
  --bg-2: #E8E1D5;
  --surface: #FAF8F4;
  --card: #FFFFFF;
  --ink: #111916;
  --ink-2: #34413B;
  --muted: #6A746F;
  --line: rgba(17, 25, 22, .12);
  --line-strong: rgba(17, 25, 22, .22);
  --brand: #0B5B43;
  --brand-2: #127A5A;
  --brand-ink: #FFFFFF;
  --brand-soft: rgba(11, 91, 67, .09);
  --accent: #C8693F;
  --accent-soft: rgba(200, 105, 63, .12);
  --glass: rgba(255, 255, 255, .66);
  --glass-line: rgba(255, 255, 255, .7);
  --shadow-sm: 0 2px 10px -4px rgba(17, 25, 22, .18);
  --shadow: 0 24px 60px -28px rgba(17, 25, 22, .38);
  --shadow-lg: 0 50px 120px -40px rgba(17, 25, 22, .45);

  --free: #1FA673;
  --booked: #E09A2D;
  --sold: #9AA39F;
  --free-soft: rgba(31, 166, 115, .14);
  --booked-soft: rgba(224, 154, 45, .16);
  --sold-soft: rgba(154, 163, 159, .16);

  --plan-bg: #FBFAF7;
  --plan-wall: #1A2420;
  --plan-grid: rgba(17, 25, 22, .05);

  color-scheme: light;
}

[data-theme="night"] {
  --bg: #070B10;
  --bg-2: #0B1118;
  --surface: #0D141C;
  --card: #111A24;
  --ink: #ECF1EE;
  --ink-2: #C4CEC9;
  --muted: #8693A0;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --brand: #38C48D;
  --brand-2: #5FE0AA;
  --brand-ink: #03140C;
  --brand-soft: rgba(56, 196, 141, .12);
  --accent: #F2A25C;
  --accent-soft: rgba(242, 162, 92, .14);
  --glass: rgba(9, 15, 22, .6);
  --glass-line: rgba(255, 255, 255, .1);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .6);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --shadow-lg: 0 50px 120px -40px rgba(0, 0, 0, .9);

  --free: #3DDC97;
  --booked: #F4B54A;
  --sold: #56616B;
  --free-soft: rgba(61, 220, 151, .16);
  --booked-soft: rgba(244, 181, 74, .16);
  --sold-soft: rgba(86, 97, 107, .2);

  --plan-bg: #0B1118;
  --plan-wall: #B9C6C0;
  --plan-grid: rgba(255, 255, 255, .035);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px; background: var(--brand); color: var(--brand-ink);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 8.6vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--surface); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.display-1, .display-2, .display-3 { font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.display-1 { font-size: clamp(52px, 9.2vw, 156px); }
.display-2 { font-size: clamp(38px, 5.6vw, 88px); }
.display-3 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.04; letter-spacing: -.035em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--brand); }
.serif--accent { color: var(--accent); }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head > div:first-child { display: grid; gap: 18px; }
.section-head p { max-width: 520px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 13px; }
.btn--lg { --h: 60px; padding: 0 34px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { background: var(--brand-2); }
.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass {
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--white { background: #fff; color: #0B1712; }
.btn--white:hover { background: #E9F6F0; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips / status ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all .25s var(--ease); user-select: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip small { font-weight: 700; opacity: .6; font-size: 12px; }

.status { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--free { background: var(--free-soft); color: var(--free); }
.status--booked { background: var(--booked-soft); color: var(--booked); }
.status--sold { background: var(--sold-soft); color: var(--muted); }
.status--free::before { box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s infinite; }
.dot--free { background: var(--free); } .dot--booked { background: var(--booked); } .dot--sold { background: var(--sold); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; display: inline-block; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.live-dot { color: #3DDC97; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s, transform .5s var(--ease), color .4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner { height: 100%; max-width: 1680px; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; color: var(--brand); flex: none; }
.brand .logo-svg { height: 40px; width: auto; transition: color .4s; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav__link { position: relative; white-space: nowrap; padding: 10px 12px; font-size: 14px; font-weight: 600; border-radius: 999px; opacity: .86; transition: opacity .25s, background-color .25s; }
.main-nav__link:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.site-header__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.lang__item { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; opacity: .6; transition: all .25s; }
.lang__item:hover { opacity: 1; }
.lang__item.is-active { opacity: 1; background: currentColor; }
.lang__item.is-active { color: inherit; }
.site-header .lang__item.is-active { background: var(--ink); color: var(--bg); }

.site-header--solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom-color: var(--line); }
.site-header--over { color: #fff; }
.site-header--over .brand { color: #fff; }
.site-header--over .lang__item.is-active { background: #fff; color: #0B1712; }
.site-header--over.is-scrolled {
  color: var(--ink); background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom-color: var(--line);
}
.site-header--over.is-scrolled .brand { color: var(--brand); }
.site-header--over.is-scrolled .lang__item.is-active { background: var(--ink); color: var(--bg); }
.site-header.is-hidden { transform: translateY(-100%); }

/* theme toggle */
.theme-toggle { display: inline-flex; padding: 0; }
.theme-toggle__track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 64px; height: 34px; padding: 0 8px; border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, transparent); border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}
.theme-toggle svg { width: 16px; height: 16px; position: relative; z-index: 1; transition: opacity .4s, transform .6s var(--ease-out); }
.theme-toggle__sun { fill: currentColor; }
.theme-toggle__moon { fill: currentColor; }
.theme-toggle__thumb {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(140deg, #FFD27A, #F59E3D); box-shadow: 0 0 18px rgba(255, 190, 90, .7);
  transition: transform .6s var(--ease-out), background .6s, box-shadow .6s;
}
.theme-toggle__sun { color: #3A2A0A; }
[data-theme="day"] .theme-toggle__sun { opacity: 1; }
[data-theme="day"] .theme-toggle__moon { opacity: .55; }
[data-theme="night"] .theme-toggle__thumb { transform: translateX(30px); background: linear-gradient(140deg, #DCE6FF, #8EA6E8); box-shadow: 0 0 18px rgba(150, 180, 255, .6); }
[data-theme="night"] .theme-toggle__moon { color: #1B2440; opacity: 1; }
[data-theme="night"] .theme-toggle__sun { opacity: .55; color: inherit; }
[data-theme="day"] .theme-toggle__sun { color: #3A2A0A; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .7s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.mobile-menu__nav { display: grid; gap: 6px; }
.mobile-menu__nav a { font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -.04em; padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(.15s + var(--i) * .05s); }
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__foot { display: grid; gap: 18px; }
.mobile-menu__phone { font-size: 22px; font-weight: 700; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: var(--ink); }
body.menu-open .site-header .brand { color: var(--brand); }

@media (max-width: 1640px) { .header-phone { display: none; } }
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: inline-block; }
  .site-header__tools .lang { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand .logo-svg { height: 32px; }
  .header-cta { display: none; }
  .site-header__tools { gap: 8px; }
}

/* ---------- HERO / GENPLAN ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; overflow: clip; background: #05080C; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; overflow: hidden; overflow: clip; }
.hero__stage { position: absolute; inset: -2%; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.04); transition: transform 1.2s var(--ease-out); will-change: transform; backface-visibility: hidden; }
.hero__svg { width: 100%; height: 100%; display: block; }
.hero__svg--overlay { position: absolute; inset: 0; }
.hero__svg--base { will-change: transform; }
.hero__img { transition: opacity 1.4s var(--ease); }
.hero__img--night { opacity: 0; }
[data-theme="night"] .hero__img--night { opacity: 1; }
.hero__shade { fill: #03070B; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.hero.has-focus .hero__shade { opacity: .58; }
.hero__lit { opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.hero__lit.is-on { opacity: 1; }
.bld { cursor: pointer; outline: none; }
.bld__shape {
  fill: rgba(56, 196, 141, 0); stroke: rgba(255, 255, 255, .55); stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 6 7; animation: dash 30s linear infinite;
  transition: fill .5s var(--ease), stroke .4s, stroke-width .4s;
}
.bld:hover .bld__shape, .bld.is-active .bld__shape, .bld:focus-visible .bld__shape {
  fill: rgba(56, 196, 141, .16); stroke: #5FE0AA; stroke-width: 2.5; stroke-dasharray: none;
  filter: drop-shadow(0 0 14px rgba(95, 224, 170, .8));
}
.bld--soon:hover .bld__shape, .bld--soon.is-active .bld__shape { fill: rgba(242, 162, 92, .12); stroke: #F2A25C; filter: drop-shadow(0 0 14px rgba(242, 162, 92, .7)); }
@keyframes dash { to { stroke-dashoffset: -400; } }

.hero__vignette { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(70% 60% at 12% 22%, rgba(3,7,11,.62) 0%, rgba(3,7,11,0) 70%),
    linear-gradient(180deg, rgba(3,7,11,.72) 0%, rgba(3,7,11,0) 22%),
    linear-gradient(0deg, rgba(3,7,11,.86) 0%, rgba(3,7,11,.35) 30%, rgba(3,7,11,0) 52%),
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(3,7,11,.45) 100%);
}
.hero__markers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.marker {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); pointer-events: auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .4s, transform .5s var(--ease-out);
}
.marker__pin {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(8, 14, 20, .6); border: 1px solid rgba(255,255,255,.22); color: #fff;
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transition: background .3s, transform .4s var(--ease-out);
}
.marker__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #38C48D; color: #03140C; font-size: 12px; font-weight: 800; }
.marker--soon .marker__num { background: #F2A25C; color: #2A1503; }
.marker__stem { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.8), transparent); }
.marker__stem::after { content: ''; display: block; width: 7px; height: 7px; margin: 30px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.2); }
.marker.is-active .marker__pin { background: #38C48D; color: #03140C; transform: translateY(-4px) scale(1.04); }
.marker.is-active .marker__num { background: #03140C; color: #38C48D; }
.marker--soon.is-active .marker__pin { background: #F2A25C; color: #2A1503; }
.marker--soon.is-active .marker__num { background: #2A1503; color: #F2A25C; }
.hero.has-focus .marker:not(.is-active) { opacity: .25; }

.hero__content { position: absolute; inset: 0; z-index: 3; pointer-events: none; padding: calc(var(--header-h) + clamp(28px, 6vh, 72px)) 0 clamp(24px, 4.5vh, 56px); }
.hero__content .container { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.hero__title { pointer-events: auto; justify-self: start; max-width: 760px; }
.hero__title .eyebrow { color: #7EE8BC; margin-bottom: 18px; }
.hero__title h1 { color: #fff; text-shadow: 0 10px 50px rgba(0,0,0,.35); font-size: clamp(52px, 7.6vw, 128px); }
.hero__title h1 .serif { color: #7EE8BC; }
.hero__sub { margin-top: 18px; max-width: 460px; font-size: clamp(15px, 1.15vw, 17px); color: rgba(255,255,255,.8); text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-card { grid-row: 3; justify-self: end; }
.hero-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.hero-card__actions .btn--glass { padding: 0 18px; }
.hero-card {
  pointer-events: auto; width: 360px; padding: 22px; border-radius: var(--radius-lg);
  background: rgba(8, 14, 20, .5); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  transition: transform .5s var(--ease-out);
}
.hero-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 12px; color: rgba(255,255,255,.7); font-weight: 600; }
.hero-card__top .sync { display: inline-flex; gap: 8px; align-items: center; }
.hero-card__tabs { display: flex; gap: 4px; padding: 4px; margin: -4px 0 16px; border-radius: 999px; background: rgba(255,255,255,.07); }
.hero-card__tab { flex: 1; height: 32px; border-radius: 999px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7); transition: all .25s; }
.hero-card__tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.hero-card__tab.is-active { background: #38C48D; color: #03140C; }
.hero-card__tab.is-soon.is-active { background: #F2A25C; color: #2A1503; }
.hero-card__name { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.hero-card__desc { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 2px; min-height: 21px; }
.hero-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 18px 0; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.1); }
.hero-card__stats div { padding: 12px 12px 10px; background: rgba(8,14,20,.55); }
.hero-card__stats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-card__stats span { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero-card__bar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; gap: 2px; margin-bottom: 18px; }
.hero-card__bar i { display: block; height: 100%; }
.hero-card .btn { width: 100%; }

.hero__hint { position: absolute; z-index: 3; left: 50%; bottom: clamp(28px, 5vh, 60px); transform: translateX(-50%);
  display: inline-flex; gap: 10px; align-items: center; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(8,14,20,.45); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: opacity .5s;
}
.hero__hint svg { width: 16px; height: 16px; animation: tap 2s var(--ease) infinite; }
@keyframes tap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.hero.has-focus .hero__hint { opacity: 0; }

.scroll-cue { display: none; position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 980px) {
  .hero__hint { display: none; }
  .hero-card { width: min(100%, 420px); }
}
@media (max-width: 640px) {
  .hero { height: auto; min-height: 0; overflow: visible; }
  .hero__media { position: relative; inset: auto; height: 78svh; min-height: 480px; }
  .hero__content { position: static; padding: 0; }
  .hero__content .container { display: block; height: auto; }
  .hero__title { position: absolute; top: calc(var(--header-h) + 24px); left: var(--gutter); right: var(--gutter); }
  .hero__title h1 { font-size: clamp(46px, 14vw, 72px); }
  .hero__sub { font-size: 14px; }
  .hero-card { width: 100%; margin: -96px 0 0; position: relative; padding: 18px; }
  .hero { padding-bottom: 24px; }
  .hero-card__stats b { font-size: 17px; }
  .marker__pin { padding: 6px; font-size: 12px; }
  .marker__pin .marker__label { display: none; }
  .marker__stem { height: 22px; }
  .marker__stem::after { margin-top: 18px; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--brand); color: var(--brand-ink); padding: 18px 0; position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(15px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ticker__item::after { content: '✦'; font-size: .7em; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Concept ---------- */
.concept { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.concept__text { display: grid; gap: 28px; }
.concept__text .rich { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }
.concept__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.stat { padding: 26px 20px 22px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 28px; }
.stat__num { font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: 4px; color: var(--brand); }
.stat__label { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 10px; text-transform: uppercase; letter-spacing: .08em; }
.concept__media { position: relative; aspect-ratio: 4 / 4.6; }
.concept__img { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.concept__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.concept__img.is-in img { transform: scale(1); }
.concept__img--a { inset: 0 0 22% 14%; }
.concept__img--b { inset: 52% 46% 0 0; border: 6px solid var(--bg); border-radius: calc(var(--radius-lg) + 6px); }
.concept__badge {
  position: absolute; right: -10px; bottom: 6%; width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--accent); color: #fff; box-shadow: var(--shadow);
  font-weight: 800; font-size: 13px; line-height: 1.2; letter-spacing: .02em; padding: 18px;
}
.concept__badge b { display: block; font-size: 34px; letter-spacing: -.04em; }
.concept__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .concept { grid-template-columns: 1fr; } .concept__media { max-width: 560px; } }

/* ---------- Floors teaser (Blender) ---------- */
.floors-teaser { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.floors-teaser__visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #0B1118; min-height: 420px; box-shadow: var(--shadow-lg); }
.floor-list { display: grid; gap: 10px; align-content: start; }
.floor-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px;
  padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s, background-color .3s;
}
.floor-row:hover, .floor-row.is-active { border-color: var(--brand); transform: translateX(6px); box-shadow: var(--shadow); }
.floor-row__n { font-size: 40px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.floor-row__title { font-weight: 700; font-size: 16px; }
.floor-row__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.floor-row__bar { display: flex; height: 4px; border-radius: 4px; overflow: hidden; gap: 2px; margin-top: 10px; background: var(--line); }
.floor-row__bar i { display: block; }
.floor-row__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: all .3s; }
.floor-row__go svg { width: 16px; height: 16px; }
.floor-row--static { grid-template-columns: 64px 1fr; pointer-events: none; opacity: .7; }
.floor-row:hover .floor-row__go { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
@media (max-width: 980px) { .floors-teaser { grid-template-columns: 1fr; } }

/* ---------- Render stage (Blender building) ---------- */
.stage { position: relative; width: 100%; height: 100%; }
.stage__frame { position: absolute; inset: 0; }
.stage__svg { width: 100%; height: 100%; display: block; }
.stage__img { transition: opacity 1.4s var(--ease); }
.stage__img--night { opacity: 0; }
[data-theme="night"] .stage__img--night { opacity: 1; }
.floor-shape { fill: rgba(56, 196, 141, 0); stroke: rgba(255,255,255,0); stroke-width: 2; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .45s var(--ease), stroke .35s; }
.floor-hit:hover .floor-shape, .floor-hit.is-active .floor-shape { fill: rgba(56, 196, 141, .38); stroke: #7EE8BC; }
.floor-hit.is-empty .floor-shape { cursor: default; }
.floor-hit.is-empty:hover .floor-shape { fill: rgba(150, 160, 170, .25); stroke: rgba(255,255,255,.5); }
.stage__shade { fill: #03070B; opacity: 0; transition: opacity .5s; pointer-events: none; }
.stage.has-focus .stage__shade { opacity: .38; }

/* ---------- Building page ---------- */
.bpage { position: relative; min-height: 100svh; background: #05080C; color: #fff; overflow: hidden; }
.bpage__stage { position: absolute; inset: 0; }
.bpage__stage .stage__svg { width: 100%; height: 100%; }
.bpage__vignette { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,7,11,.78) 0%, rgba(3,7,11,.3) 30%, rgba(3,7,11,0) 50%),
              linear-gradient(0deg, rgba(3,7,11,.6), rgba(3,7,11,0) 30%),
              linear-gradient(180deg, rgba(3,7,11,.6), rgba(3,7,11,0) 22%); }
.bpage__ui { position: relative; z-index: 2; min-height: 100svh; display: grid; grid-template-columns: 400px 1fr; padding: calc(var(--header-h) + 28px) var(--gutter) 32px; gap: 32px; pointer-events: none; }
.bpage__panel { pointer-events: auto; align-self: center; display: grid; gap: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; opacity: .8; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
.bpage__title h1 { font-size: clamp(44px, 5vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.bpage__title p { margin-top: 14px; color: rgba(255,255,255,.72); max-width: 360px; }
.bfloors { display: grid; gap: 8px; }
.bfloor {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px;
  border-radius: 18px; background: rgba(8,14,20,.5); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  transition: background .3s, border-color .3s, transform .45s var(--ease-out);
}
.bfloor:hover, .bfloor.is-active { background: rgba(56,196,141,.18); border-color: #5FE0AA; transform: translateX(8px); }
.bfloor--static { grid-template-columns: 54px 1fr; cursor: default; opacity: .75; }
.bfloor__n { font-size: 34px; font-weight: 800; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.bfloor__t { font-weight: 700; font-size: 15px; }
.bfloor__m { font-size: 12px; color: rgba(255,255,255,.65); }
.bfloor__free { text-align: right; font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.bfloor__free b { display: block; font-size: 20px; color: #5FE0AA; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bpage__tip {
  position: absolute; z-index: 3; pointer-events: none; min-width: 240px; padding: 16px 18px; border-radius: 18px;
  background: rgba(8,14,20,.78); border: 1px solid rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translate(-50%, calc(-100% - 18px)) scale(.96); transition: opacity .25s, transform .3s var(--ease-out);
}
.bpage__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 24px)) scale(1); }
.bpage__tip h4 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.bpage__tip dl[hidden] { display: none; }
.bpage__tip dl { display: grid; grid-template-columns: auto auto; gap: 4px 18px; margin: 10px 0 0; font-size: 13px; }
.bpage__tip dt { color: rgba(255,255,255,.6); } .bpage__tip dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bpage__legend { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.bpage__note { font-size: 12px; color: rgba(255,255,255,.55); }
.bpage__fallback { position: absolute; inset: 0; background-size: cover; background-position: 70% 40%; }
@media (max-width: 980px) {
  .bpage__ui { grid-template-columns: 1fr; align-content: end; min-height: 100svh; }
  .bpage__vignette { background: linear-gradient(0deg, rgba(3,7,11,.92) 0%, rgba(3,7,11,.5) 45%, rgba(3,7,11,0) 70%), linear-gradient(180deg, rgba(3,7,11,.6), rgba(3,7,11,0) 22%); }
  .bpage__stage { bottom: 40%; }
  .bpage__legend { display: none; }
}

/* ---------- Section summary table ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.sec-card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.sec-card__letter { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--brand); }
.sec-card__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.sec-card__row b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Featured units / cards ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.units-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ucard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--card);
  border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
}
.ucard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ucard__plan { position: relative; aspect-ratio: 1 / .86; background: #fff; display: grid; place-items: center; overflow: hidden; }
[data-theme="night"] .ucard__plan { background: #E9EEF0; }
.ucard__plan img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.ucard:hover .ucard__plan img { transform: scale(1.06); }
.ucard__plan .status { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); }
.ucard__plan .ucard__floor { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(17,25,22,.06); color: #34413B; }
.ucard__body { padding: 18px 20px 20px; display: grid; gap: 12px; }
.ucard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ucard__name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ucard__area { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); white-space: nowrap; }
.ucard__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.ucard__price { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.ucard__price small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ucard__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: all .3s; }
.ucard__go svg { width: 16px; height: 16px; }
.ucard:hover .ucard__go { background: var(--brand); color: var(--brand-ink); }
.ucard__link { position: absolute; inset: 0; z-index: 1; }
.ucard--sold { opacity: .6; }

/* ---------- Gallery (horizontal scroll) ---------- */
.hgallery { position: relative; }
.hgallery__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hgallery__head { padding-inline: var(--gutter); max-width: var(--maxw); margin: 0 auto 32px; width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hgallery__track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; }
.hgallery__item { position: relative; flex: none; width: clamp(300px, 58vw, 980px); aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.hgallery__item:nth-child(even) { width: clamp(260px, 38vw, 640px); aspect-ratio: 4 / 5; align-self: center; }
.hgallery__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hgallery__cap { position: absolute; left: 20px; bottom: 18px; color: #fff; font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hgallery__cap span { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500; }
.hgallery__progress { height: 2px; background: var(--line); margin: 32px var(--gutter) 0; max-width: calc(var(--maxw) - 2 * var(--gutter)); position: relative; }
@media (min-width: 1441px) { .hgallery__progress { margin-inline: auto; width: calc(var(--maxw) - 2 * var(--gutter)); } }
.hgallery__progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand); }
@media (max-width: 760px) {
  .hgallery { height: auto !important; }
  .hgallery__sticky { position: relative; height: auto; padding-block: 80px; }
  .hgallery__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; transform: none !important; scrollbar-width: none; }
  .hgallery__track::-webkit-scrollbar { display: none; }
  .hgallery__item, .hgallery__item:nth-child(even) { width: 82vw; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .hgallery__progress { display: none; }
}

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.adv { position: relative; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.adv--a { grid-column: span 7; background: var(--brand); color: var(--brand-ink); border: 0; }
.adv--b { grid-column: span 5; }
.adv--c { grid-column: span 4; }
.adv--d { grid-column: span 4; }
.adv--e { grid-column: span 4; background: var(--accent); color: #fff; border: 0; }
.adv__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, currentColor 10%, transparent); }
.adv__icon svg { width: 26px; height: 26px; }
.adv h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.adv p { font-size: 15px; opacity: .8; margin-top: 10px; }
.adv__big { font-size: clamp(64px, 8vw, 128px); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.adv--a .adv__bg { position: absolute; right: -6%; bottom: -10%; width: 60%; opacity: .14; }
@media (max-width: 980px) { .adv--a, .adv--b, .adv--c, .adv--d, .adv--e { grid-column: span 12; } .adv { min-height: 220px; } }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.location__info { display: grid; gap: 28px; align-content: start; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); }
.contact-list span { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a:hover { color: var(--brand); }
.location__map { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; background: var(--bg-2); box-shadow: var(--shadow); }
.location__map iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
[data-theme="night"] .location__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .location__map { min-height: 360px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--bg-2); padding-top: clamp(72px, 9vw, 130px); }
[data-theme="night"] .site-footer { background: #04070A; }
.site-footer__cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.site-footer__cta h2 { max-width: 800px; }
.site-footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px; }
.site-footer__brand { display: grid; gap: 18px; align-content: start; }
.site-footer__brand p { color: var(--muted); max-width: 320px; font-size: 14px; }
.brand--footer .logo-svg { height: 44px; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.footer-links a { opacity: .8; transition: opacity .2s, color .2s; }
.footer-links a:hover { opacity: 1; color: var(--brand); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer__sync { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3,7,11,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal__dialog {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__aside { padding: clamp(28px, 4vw, 48px); background: var(--brand); color: var(--brand-ink); display: grid; gap: 18px; align-content: start; }
.modal__aside .eyebrow { color: inherit; }
.modal__aside .serif { color: inherit; opacity: .85; }
.modal__aside .muted { color: inherit; opacity: .75; }
.lead-unit { margin-top: 12px; padding: 16px; border-radius: 16px; background: color-mix(in srgb, currentColor 12%, transparent); display: grid; gap: 4px; }
.lead-unit strong { font-size: 20px; letter-spacing: -.02em; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; }
.lead-form { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field__label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--card);
  font-size: 16px; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.is-invalid input { border-color: #D9534F; }
.lead-form__note { font-size: 12px; color: var(--muted); text-align: center; }
.lead-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.lead-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 0; }
.lead-done svg { width: 72px; height: 72px; color: var(--free); }
.lead-done svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) { .modal__dialog { grid-template-columns: 1fr; } .modal__aside { padding-bottom: 24px; } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; visibility: hidden; transform: translate(-50%, calc(100% + 40px)); padding: 14px 22px; border-radius: 14px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transition: transform .5s var(--ease-out); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Floor page ---------- */
.fpage { padding-top: var(--header-h); min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); }
.fbar { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.fbar__row { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 14px var(--gutter); max-width: 1680px; margin: 0 auto; }
.fbar__title { display: flex; align-items: baseline; gap: 14px; margin-right: auto; }
.fbar__title h1 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.fbar__title .crumbs { opacity: .7; }
.floor-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 2px; }
.floor-switch a { min-width: 46px; height: 38px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); transition: all .25s; font-variant-numeric: tabular-nums; }
.floor-switch a:hover { color: var(--ink); }
.floor-switch a.is-active { background: var(--brand); color: var(--brand-ink); }
.floor-switch__label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 8px 0 12px; display: grid; place-items: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.seg button svg { width: 16px; height: 16px; }
.seg button.is-active { background: var(--ink); color: var(--bg); }

.filters { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 0 var(--gutter) 14px; max-width: 1680px; margin: 0 auto; }
.filters__group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filters__sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.range { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; }
.range input[type=range] { width: 120px; accent-color: var(--brand); }
.range output { font-variant-numeric: tabular-nums; min-width: 64px; font-weight: 800; }
.search { position: relative; }
.search input { height: 36px; width: 170px; padding: 0 14px 0 36px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px; font-weight: 600; transition: width .35s var(--ease-out), border-color .25s; }
.search input:focus { outline: none; border-color: var(--brand); width: 210px; }
.search svg { position: absolute; left: 12px; top: 10px; width: 16px; height: 16px; opacity: .55; }

.fmain { flex: 1; display: flex; flex-direction: column; position: relative; }
.plan-wrap { position: relative; flex: 1; min-height: 520px; height: calc(100svh - var(--header-h) - 140px); overflow: hidden; background: var(--plan-bg); touch-action: none; cursor: grab;
  background-image: linear-gradient(var(--plan-grid) 1px, transparent 1px), linear-gradient(90deg, var(--plan-grid) 1px, transparent 1px); background-size: 40px 40px; }
.plan-wrap.is-dragging { cursor: grabbing; }
.plan-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.plan-walls { position: absolute; inset: 0; background: var(--plan-wall); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; pointer-events: none; }
.plan-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cell { cursor: pointer; }
.cell__shape { stroke-width: calc(var(--sw, 2) * 1px); transition: fill .3s, opacity .3s, stroke .3s; }
.cell--free .cell__shape { fill: color-mix(in srgb, var(--free) 30%, transparent); stroke: color-mix(in srgb, var(--free) 70%, transparent); }
.cell--booked .cell__shape { fill: color-mix(in srgb, var(--booked) 30%, transparent); stroke: color-mix(in srgb, var(--booked) 60%, transparent); }
.cell--sold .cell__shape { fill: url(#hatch); stroke: color-mix(in srgb, var(--sold) 60%, transparent); }
.cell--none .cell__shape { fill: transparent; stroke: none; cursor: default; }
.cell:hover .cell__shape, .cell.is-active .cell__shape, .cell:focus-visible .cell__shape { stroke: var(--ink); stroke-width: calc(var(--sw, 2) * 2.4px); }
.cell:focus { outline: none; }
.cell--free:hover .cell__shape, .cell--free.is-active .cell__shape { fill: color-mix(in srgb, var(--free) 65%, transparent); }
.cell--booked:hover .cell__shape, .cell--booked.is-active .cell__shape { fill: color-mix(in srgb, var(--booked) 60%, transparent); }
.cell.is-dim { opacity: .14; }
.cell.is-found .cell__shape { stroke: var(--accent); stroke-width: calc(var(--sw, 2) * 4px); animation: found 1s ease-in-out 3; }
@keyframes found { 50% { stroke-width: calc(var(--sw, 2) * 8px); } }
.cell__label { font-family: var(--font); font-weight: 800; fill: var(--ink); pointer-events: none; text-anchor: middle; dominant-baseline: central; opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: var(--plan-bg); stroke-width: 6px; stroke-linejoin: round; }
.plan-wrap.show-labels .cell__label { opacity: .9; }
.sec-label { font-family: var(--font); font-weight: 800; fill: var(--brand); opacity: .18; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.plan-wrap.show-labels .sec-label { opacity: .08; }

.plan-ui { position: absolute; z-index: 5; pointer-events: none; inset: 0; }
.plan-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 6px; pointer-events: auto; }
.plan-zoom button { width: 44px; height: 44px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: background .2s; }
.plan-zoom button:hover { background: var(--bg-2); }
.plan-zoom svg { width: 18px; height: 18px; }
.plan-legend { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: auto; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan-legend .chip { height: 32px; border: 0; }
.plan-mini { position: absolute; right: 76px; bottom: 16px; width: 240px; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); pointer-events: auto; cursor: pointer; }
.plan-mini__walls { position: absolute; inset: 6px; background: var(--plan-wall); opacity: .7; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.plan-mini__view { position: absolute; border: 1.5px solid var(--brand); background: var(--brand-soft); border-radius: 3px; }
.plan-hint { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); transition: opacity .6s; white-space: nowrap; }
.plan-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.plan-loading::before { content: ''; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin 1s linear infinite; margin-bottom: 70px; position: absolute; }
@media (max-width: 760px) {
  .fbar__row { padding-block: 10px; gap: 10px; }
  .fbar__title h1 { font-size: 24px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filters > * { flex: none; }
  .filters__group { flex-wrap: nowrap; }
  .filters__sep { display: none; }
  .fsummary { display: none; }
  .seg button { height: 32px; padding: 0 12px; }
  .floor-switch a { min-width: 40px; height: 34px; }
  .plan-mini { display: none; }
  .plan-wrap { height: calc(100svh - var(--header-h) - 150px); min-height: 420px; }
  .plan-legend .chip { height: 28px; padding: 0 10px; font-size: 12px; }
  .plan-legend { left: 10px; bottom: 10px; right: 64px; border-radius: 16px; }
  .plan-zoom { right: 10px; bottom: 10px; }
  .fbar__title .crumbs { display: none; }
  .search input, .search input:focus { width: 140px; }
}

.ptip { position: fixed; z-index: 150; width: 260px; pointer-events: none; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .2s, transform .25s var(--ease-out); }
.ptip.is-on { opacity: 1; transform: none; }
.ptip__img { position: relative; aspect-ratio: 1.1; background: #fff; overflow: hidden; }
.ptip__img img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.ptip__body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.ptip__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ptip__name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.ptip__area { font-weight: 800; color: var(--brand); font-size: 18px; }
.ptip__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.ptip__price small { color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 4px; }

.sheet { position: fixed; z-index: 160; left: 8px; right: 8px; bottom: 8px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: translateY(120%); transition: transform .5s var(--ease-out); display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; align-items: center; }
.sheet.is-on { transform: none; }
.sheet__img { position: relative; aspect-ratio: 1; max-height: 34svh; background: #fff; border-radius: 16px; overflow: hidden; }
.sheet__img img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.sheet__body { display: grid; gap: 6px; }
.sheet__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); }
.sheet__close svg { width: 14px; height: 14px; }

.list-view { padding: 24px var(--gutter) 64px; max-width: 1680px; margin: 0 auto; width: 100%; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.list-head select { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font-weight: 600; font-size: 13px; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); font-weight: 600; }

.fsummary { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.fsummary b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---------- Unit page ---------- */
.upage { padding-top: calc(var(--header-h) + 24px); }
.upage__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.upage__nav { display: flex; gap: 8px; }
.upage__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.plan-viewer { position: relative; border-radius: var(--radius-xl); background: #fff; overflow: hidden; aspect-ratio: 1 / .92; border: 1px solid var(--line); cursor: zoom-in; }
[data-theme="night"] .plan-viewer { background: #EEF2F3; }
.plan-viewer img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: transform .6s var(--ease-out); transform-origin: var(--ox, 50%) var(--oy, 50%); mix-blend-mode: multiply; }
.plan-viewer.is-zoomed { cursor: zoom-out; }
.plan-viewer.is-zoomed img { transform: scale(2.2); }
.plan-viewer__tabs { position: absolute; left: 16px; top: 16px; z-index: 2; }
.plan-viewer__hint { position: absolute; right: 16px; bottom: 16px; z-index: 2; font-size: 12px; font-weight: 700; color: #34413B; padding: 8px 12px; border-radius: 999px; background: rgba(17,25,22,.06); display: inline-flex; gap: 8px; align-items: center; }
.plan-viewer__hint svg { width: 14px; height: 14px; }
.plan-viewer__empty { position: absolute; inset: 0; display: grid; place-items: center; color: #6A746F; font-weight: 600; }
.uinfo { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.uinfo h1 { font-size: clamp(36px, 3.8vw, 56px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.uinfo__sub { color: var(--muted); font-weight: 600; margin-top: 8px; }
.uinfo__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.uinfo__specs div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.uinfo__specs div:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.uinfo__specs div:nth-child(even) { padding-left: 18px; }
.uinfo__specs span { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.uinfo__specs b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.uinfo__price { display: grid; gap: 4px; }
.uinfo__price b { font-size: clamp(34px, 3.2vw, 46px); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.uinfo__price span { color: var(--muted); font-weight: 600; font-size: 14px; }
.uinfo__actions { display: grid; gap: 10px; }
.uinfo__actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uinfo__sync { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.uloc { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--plan-bg); position: relative; }
.uloc .plan-wrap { height: 340px; min-height: 0; }
.uloc__head { position: absolute; z-index: 6; left: 20px; top: 18px; display: grid; gap: 4px; pointer-events: none; }
.uloc__head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 980px) { .upage__grid { grid-template-columns: 1fr; } .uinfo { position: relative; top: 0; } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding: .04em 0 .22em; margin: -.04em 0 -.2em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- Day/Night view transition ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: reveal-theme .9s var(--ease-in-out); }
@keyframes reveal-theme { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0%)); } to { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 0%)); } }

/* ---------- Plain content pages ---------- */
.prose-page { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); padding-bottom: clamp(64px, 8vw, 120px); }
.prose { max-width: 820px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); letter-spacing: -.03em; line-height: 1.15; margin: 1.6em 0 .6em; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1.1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-line > span { opacity: 1; transform: none; }
}

/* ---------- Utilities / content from admin ---------- */
.d-block { display: block; }
.concept__title span { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--brand); letter-spacing: -.01em; }
.concept__badge > span { position: relative; z-index: 1; }

/* ---------- Cinematic overlay (Blender fly-in) ---------- */
.cine { position: fixed; inset: 0; z-index: 500; background: #05080C; opacity: 0; transition: opacity .45s var(--ease); }
.cine.is-on { opacity: 1; }
.cine__video { width: 100%; height: 100%; object-fit: cover; }
.hero.is-3d .bld__shape { stroke: rgba(255,255,255,.35); }
.cine--stage { position: absolute; z-index: 4; }
.bpage.is-intro .bpage__ui, .bpage.is-intro .bpage__legend { opacity: 0; }
.bpage__ui, .bpage__legend { transition: opacity .8s var(--ease) .1s; }

/* dive into a floor */
.bpage__stage { transition: transform 1s cubic-bezier(.7,0,.2,1), filter 1s, opacity .9s; }
.bpage.is-diving .bpage__stage { transform: scale(3.2); filter: blur(6px); opacity: .1; }
.bpage.is-diving .bpage__ui, .bpage.is-diving .bpage__tip, .bpage.is-diving .bpage__legend { opacity: 0; transition: opacity .3s; }
.bpage.is-diving { background: var(--plan-bg); }

.dive-bridge { position: fixed; inset: 0; z-index: 60; background: var(--plan-bg); display: grid; place-items: center; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.dive-bridge.is-on { opacity: 1; }
.dive-bridge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.06); transition: transform 1.2s var(--ease-out), opacity 1.4s var(--ease); }
.dive-bridge.is-on img { transform: scale(1); }
.fpage.is-dive-in .plan-canvas { opacity: 0; }
.fpage.is-dive-in .fbar { opacity: 0; transform: translateY(-12px); }
.fpage.is-dive-in.is-dive-done .plan-canvas { opacity: 1; transition: opacity .9s var(--ease); }
.fpage.is-dive-in.is-dive-done .fbar { opacity: 1; transform: none; transition: opacity .6s .2s, transform .8s .2s var(--ease-out); }
.fpage.is-dive-in.is-dive-done .plan-wrap { animation: plan-in 1.1s var(--ease-out); }
@keyframes plan-in { from { transform: scale(1.12); filter: blur(4px); } to { transform: none; filter: none; } }

/* ==========================================================================
   Living hero: night traffic, drifting clouds + shadows, fly-through-clouds intro
   ========================================================================== */
.traffic { opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; mix-blend-mode: screen; }
[data-theme="night"] .traffic { opacity: 1; }
.trail { fill: none; stroke-linecap: round; animation: drive var(--dur) linear var(--delay) infinite; }
.trail--halo { stroke: rgba(255, 190, 120, .22); stroke-width: 26; stroke-dasharray: 34 1966; }
.trail--tail { stroke: #FF3B2F; stroke-width: 7; stroke-dasharray: 30 1970; opacity: .85; }
.trail--head { stroke: #FFF4D6; stroke-width: 9; stroke-dasharray: 4 1996; animation-name: drive-head; }
@keyframes drive { from { stroke-dashoffset: 30; } to { stroke-dashoffset: -1000; } }
@keyframes drive-head { from { stroke-dashoffset: 4; } to { stroke-dashoffset: -1026; } }
.hero.is-paused .trail, .hero.is-paused .cloud-layer, .hero.is-paused .hero__shadows { animation-play-state: paused; }
[data-theme="day"] .trail { animation-play-state: paused; }

.hero__clouds, .hero__shadows { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero__clouds { transition: opacity 1.4s var(--ease); }
.cloud-layer { position: absolute; inset: 0; width: 300%; backface-visibility: hidden; background-repeat: repeat-x; background-position: 0 50%; will-change: transform; }
.cloud-layer--1 { background-image: url('../fx/clouds-1e.webp'); background-size: 33.334% 100%; opacity: .7; animation: drift 140s linear infinite; }
.cloud-layer--2 { background-image: url('../fx/clouds-2e.webp'); background-size: 33.334% 100%; opacity: .9; animation: drift 80s linear infinite; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-33.334%, 0, 0); } }
[data-theme="night"] .hero__clouds { opacity: .22; }

/* soft cloud shadows sliding over the city (day) */
.hero__shadows::before {
  content: ''; position: absolute; inset: -10% 0; width: 300%;
  background: url('../fx/clouds-shadow.webp') repeat-x 0 50% / 33.334% auto;
  opacity: .32;
  transform: translate3d(0, 0, 0); animation: drift 140s linear infinite; animation-delay: -6s;
}
[data-theme="night"] .hero__shadows { opacity: 0; }
.hero__shadows { transition: opacity 1.4s; }

/* intro: descending through clouds */
.hero__intro { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: none; }
.hero.is-intro .hero__intro { display: block; }
.intro-cloud { position: absolute; width: 95vmax; max-width: none; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.4); opacity: 1; filter: drop-shadow(0 30px 60px rgba(0,0,0,.15)); }
.intro-cloud--l { margin-left: -28vmax; }
.intro-cloud--r { margin-left: 28vmax; }
.intro-cloud--c { width: 120vmax; transform: translate(-50%, -50%) scale(1.6) rotate(180deg); }
[data-theme="night"] .intro-cloud { filter: brightness(.28) saturate(.7); }
.hero.is-intro.is-intro-go .intro-cloud--l { animation: cloud-out-l 2.6s var(--ease-in-out) forwards; }
.hero.is-intro.is-intro-go .intro-cloud--r { animation: cloud-out-r 2.6s var(--ease-in-out) forwards; }
.hero.is-intro.is-intro-go .intro-cloud--c { animation: cloud-out-c 2.2s var(--ease-in-out) forwards; }
@keyframes cloud-out-l { to { transform: translate(-115%, -50%) scale(2.4); opacity: 0; } }
@keyframes cloud-out-r { to { transform: translate(15%, -50%) scale(2.4); opacity: 0; } }
@keyframes cloud-out-c { to { transform: translate(-50%, -50%) scale(3.4) rotate(200deg); opacity: 0; } }
.hero.is-intro .hero__stage { transform: scale(1.32); }
.hero.is-intro.is-intro-go .hero__stage { transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.04); transition: transform 3s cubic-bezier(.22,.8,.2,1); }
.hero.is-intro .hero__content, .hero.is-intro .hero__markers, .hero.is-intro .hero__hint { opacity: 0; }
.hero.is-intro.is-intro-go .hero__content, .hero.is-intro.is-intro-go .hero__markers, .hero.is-intro.is-intro-go .hero__hint { opacity: 1; transition: opacity 1s 1.8s; }
@media (prefers-reduced-motion: reduce) { .hero__intro { display: none !important; } .cloud-layer, .hero__shadows::before { animation: none; } }

/* ---------- Day / night compare ---------- */
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden; background: #0B1118; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__night { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); box-shadow: 0 0 24px rgba(255,255,255,.6); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.85); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.compare__handle svg { width: 22px; height: 22px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 20px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(8,14,20,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.compare__tag--day { left: 20px; }
.compare__tag--night { right: 20px; }
.compare:focus-within .compare__handle span { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) { .compare { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); } }

/* push-in toward a building */
.hero.is-zooming .hero__stage { transition: transform 1.6s cubic-bezier(.55,0,.2,1); }
.hero.is-zooming .hero__content, .hero.is-zooming .hero__markers, .hero.is-zooming .hero__hint { opacity: 0; transition: opacity .35s; }
.hero.is-zooming .hero__intro { display: block; }
.hero.is-zooming .intro-cloud { opacity: 0; animation: cloud-in .9s cubic-bezier(.5,0,.3,1) .6s forwards; }
.hero.is-zooming .intro-cloud--l { animation-delay: .7s; }
.hero.is-zooming .intro-cloud--r { animation-delay: .8s; }
@keyframes cloud-in { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 70% { opacity: .9; } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); } }
.bpage { animation: page-in .9s var(--ease-out); }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .hero__vignette { background:
    linear-gradient(180deg, #05080C 0%, #05080C 24%, rgba(5,8,12,.55) 40%, rgba(5,8,12,0) 58%),
    linear-gradient(0deg, rgba(5,8,12,.95) 0%, rgba(5,8,12,0) 30%); }
  .hero__clouds { display: none; }
  .hero__title { z-index: 5; }
}

/* ---------- Building page with the Blender exploded model ---------- */
.bpage--3d { --sky-top: #8EA5BD; --sky-bot: #C9BEB0; background: linear-gradient(180deg, var(--sky-top) 0%, #B4BCC4 42%, var(--sky-bot) 100%); color: var(--ink); }
[data-theme="night"] .bpage--3d { --sky-top: #070B1C; --sky-bot: #070C18; background: radial-gradient(90% 70% at 62% 55%, #101B33 0%, #080D1C 60%, #060915 100%); color: #fff; }
.bpage--3d .bpage__vignette { display: none; }
.bpage--3d .bpage__stage { left: clamp(360px, 30vw, 470px); top: var(--header-h); right: 0; bottom: 0; }
.bpage--3d .stage__svg {
  position: absolute; inset: 0; margin: auto; height: auto;
  width: min(100%, calc((100svh - var(--header-h) - 40px) * var(--vb-w) / var(--vb-h)));
  aspect-ratio: var(--vb-w) / var(--vb-h);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect;
}
.bpage--3d .crumbs { opacity: .75; }
.bpage--3d .bpage__title p { color: var(--ink-2); }
[data-theme="night"] .bpage--3d .bpage__title p { color: rgba(255,255,255,.72); }
.bpage--3d .eyebrow--light { color: var(--brand); }
.bpage--3d .bfloor { background: rgba(255,255,255,.55); border-color: rgba(17,25,22,.1); color: var(--ink); }
.bpage--3d .bfloor__m, .bpage--3d .bfloor__free { color: var(--muted); }
.bpage--3d .bfloor__free b { color: var(--free); }
.bpage--3d .bfloor:hover, .bpage--3d .bfloor.is-active { background: rgba(255,255,255,.85); border-color: var(--brand); }
[data-theme="night"] .bpage--3d .bfloor { background: rgba(10,16,30,.55); border-color: rgba(255,255,255,.12); color: #fff; }
[data-theme="night"] .bpage--3d .bfloor__m, [data-theme="night"] .bpage--3d .bfloor__free { color: rgba(255,255,255,.62); }
[data-theme="night"] .bpage--3d .bfloor:hover, [data-theme="night"] .bpage--3d .bfloor.is-active { background: rgba(56,196,141,.16); border-color: #5FE0AA; }
.bpage--3d .bpage__note { color: var(--muted); }
.bpage--3d .floor-hit:hover .floor-shape, .bpage--3d .floor-hit.is-active .floor-shape { fill: rgba(31,166,115,.28); stroke: #1FA673; stroke-width: 2.5; }
[data-theme="night"] .bpage--3d .floor-hit:hover .floor-shape, [data-theme="night"] .bpage--3d .floor-hit.is-active .floor-shape { fill: rgba(61,220,151,.22); stroke: #5FE0AA; }
.bpage--3d .stage__shade { fill: var(--sky-bot); }
.bpage--3d.has-focus .stage__shade { opacity: .55; }
[data-theme="night"] .bpage--3d .stage__shade { fill: #03060E; }
.bpage--3d .bpage__legend .btn--glass { color: var(--ink); background: rgba(255,255,255,.5); border-color: rgba(17,25,22,.12); }
[data-theme="night"] .bpage--3d .bpage__legend .btn--glass { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.bpage--3d .bpage__ui { grid-template-columns: clamp(320px, 27vw, 420px) 1fr; }
.bpage--3d .bpage__tip { background: rgba(255,255,255,.92); color: var(--ink); border-color: var(--line); }
.bpage--3d .bpage__tip dt { color: var(--muted); }
[data-theme="night"] .bpage--3d .bpage__tip { background: rgba(8,14,24,.85); color: #fff; border-color: rgba(255,255,255,.16); }
[data-theme="night"] .bpage--3d .bpage__tip dt { color: rgba(255,255,255,.6); }
@media (max-width: 980px) {
  .bpage--3d { display: flex; flex-direction: column; }
  .bpage--3d .bpage__stage { position: relative; inset: auto; left: auto; height: 62vw; min-height: 260px; margin-top: var(--header-h); }
  .bpage--3d .bpage__ui { min-height: 0; padding-top: 8px; }
}
.stage__video {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: hidden; pointer-events: none; z-index: 2;
  width: min(100%, calc((100svh - var(--header-h) - 40px) * var(--vb-w) / var(--vb-h))); aspect-ratio: var(--vb-w) / var(--vb-h);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect;
  opacity: 0; transition: opacity .6s var(--ease);
}
.stage__video.is-on { opacity: 1; }
.stage__video video { position: absolute; width: calc(var(--img-w) / var(--vb-w) * 100%); left: calc(var(--vb-x) / var(--vb-w) * -100%); top: calc(var(--vb-y) / var(--vb-h) * -100%); height: auto; }
.bpage.is-intro .floor-hit { pointer-events: none; }

/* ---------- Day / night switch (same language as the language pill) ---------- */
.mode { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 3px; border-radius: 999px; flex: none;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent); color: inherit; }
.mode__thumb { position: absolute; top: 3px; left: 3px; width: 30px; height: 28px; border-radius: 999px; background: var(--ink);
  transition: transform .55s cubic-bezier(.65,0,.25,1), background-color .4s; }
.mode__icon { position: relative; z-index: 1; width: 30px; height: 28px; padding: 6px; transition: color .4s, opacity .4s, transform .6s var(--ease-out); opacity: .6; }
.mode__icon--sun { color: var(--bg); opacity: 1; }
.mode__rays { transform-origin: 12px 12px; transition: transform .7s var(--ease-out), opacity .4s; }
.mode__spark { opacity: 0; transform-origin: 17.2px 5.4px; transform: scale(.2); transition: opacity .4s .2s, transform .5s .2s var(--ease-out); }
[data-theme="night"] .mode__thumb { transform: translateX(32px); }
[data-theme="night"] .mode__icon--sun { color: inherit; opacity: .6; }
[data-theme="night"] .mode__rays { transform: rotate(90deg) scale(.85); opacity: .8; }
[data-theme="night"] .mode__icon--moon { color: var(--bg); opacity: 1; transform: rotate(-12deg); }
[data-theme="night"] .mode__spark { opacity: 1; transform: none; }
.mode:hover .mode__icon { opacity: 1; }
/* over the dark hero */
.site-header--over:not(.is-scrolled) .mode__thumb { background: #fff; }
.site-header--over:not(.is-scrolled) .mode__icon--sun { color: #0B1712; }
[data-theme="night"] .site-header--over:not(.is-scrolled) .mode__icon--sun { color: inherit; }
[data-theme="night"] .site-header--over:not(.is-scrolled) .mode__icon--moon { color: #0B1712; }
body.menu-open .site-header .mode__thumb { background: var(--ink); }

.bpage__tip.is-below { transform: translate(-50%, 18px) scale(.96); }
.bpage__tip.is-below.is-on { transform: translate(-50%, 26px) scale(1); }
.bpage__tip { z-index: 20; }

/* ---------- Moving cars on the masterplan ---------- */
.cars { pointer-events: none; }
.car__shadow { fill: rgba(0, 0, 0, .35); }
.car__glass { fill: rgba(20, 30, 40, .75); }
.car__head { fill: #FFFBE6; opacity: 0; transition: opacity 1s; }
.car__tail { fill: #FF2D20; opacity: .55; }
.car__beam { fill: rgba(255, 240, 200, .16); opacity: 0; transition: opacity 1s; }
[data-theme="night"] .car__body { filter: brightness(.35); }
[data-theme="night"] .car__head { opacity: 1; }
[data-theme="night"] .car__beam { opacity: 1; }
[data-theme="night"] .car__tail { opacity: 1; }
[data-theme="night"] .car__shadow { opacity: 0; }

/* slow drone drift over the masterplan */
.hero__svg { transform-origin: 58% 50%; animation: drone 46s ease-in-out infinite alternate; }
@keyframes drone {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  50%  { transform: scale(1.06) translate3d(-1.2%, .6%, 0); }
  100% { transform: scale(1.1) translate3d(.8%, -.8%, 0); }
}
.hero.is-paused .hero__svg, .hero.is-zooming .hero__svg { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero__svg { animation: none; } }

.marker--done .marker__num { background: #8FB8FF; color: #0A1A3A; }
.marker--done.is-active .marker__pin { background: #8FB8FF; color: #0A1A3A; }
.marker--done.is-active .marker__num { background: #0A1A3A; color: #8FB8FF; }
.bld--done:hover .bld__shape, .bld--done.is-active .bld__shape { fill: rgba(143,184,255,.14); stroke: #8FB8FF; filter: drop-shadow(0 0 14px rgba(143,184,255,.7)); }
.hero-card__tab.is-done.is-active { background: #8FB8FF; color: #0A1A3A; }


/* hero: title and card share the full height (no vertical stacking overflow on short screens) */
@media (min-width: 981px) {
  .hero__content .container { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr; gap: 32px; }
  .hero__title { grid-column: 1; grid-row: 1; align-self: start; }
  .hero-card { grid-column: 2; grid-row: 1; align-self: end; }
}
@media (min-width: 981px) and (max-height: 900px) {
  .hero__title h1 { font-size: clamp(48px, 6.4vw, 104px); }
  .hero-card { padding: 18px; width: 340px; }
  .hero-card__top { margin-bottom: 12px; }
  .hero-card__tabs { margin-bottom: 12px; }
  .hero-card__stats { margin: 12px 0; }
  .hero-card__stats div { padding: 9px 12px 8px; }
  .hero-card__name { font-size: 22px; }
  .hero-card__bar { margin-bottom: 14px; }
  .hero-card .btn { --h: 46px; }
  .hero__hint { display: none; }
}

/* until the Blender night render exists: night = day render graded to blue hour */
[data-theme="night"] .hero__stage--night-fallback .hero__img--night { filter: brightness(.42) saturate(.6) contrast(1.08) sepia(.15) hue-rotate(180deg); }

/* hero title scales with the viewport HEIGHT too, so it never runs under the header on short/zoomed screens */
@media (min-width: 641px) {
  .hero__content { padding-top: calc(var(--header-h) + clamp(16px, 4vh, 64px)); }
  .hero__title h1 { font-size: min(clamp(48px, 7.6vw, 128px), 15.5vh); }
  .hero__title .eyebrow { margin-bottom: clamp(8px, 1.6vh, 18px); }
  .hero__sub { margin-top: clamp(8px, 1.8vh, 18px); }
}
@media (min-width: 981px) and (max-height: 900px) { .hero__title h1 { font-size: min(clamp(48px, 6.4vw, 104px), 14vh); } }
@media (min-width: 641px) and (max-height: 560px) { .hero__sub { display: none; } .hero__title .eyebrow { display: none; } }

/* night cars: no light trails/beams — just small head- and tail-lights */
.car__beam { display: none; }
[data-theme="night"] .car__body { filter: brightness(.45); }
[data-theme="night"] .car__tail { opacity: .9; }

/* ---------- Hero cars v2 (volumetric: shadow / sides / roof) ---------- */
.cars { pointer-events: none; }
.cars--shadow rect { fill: rgba(18, 26, 34, .32); }
.car__glass { fill: rgba(18, 28, 40, .82); }
.car__glass--rear { fill: rgba(18, 28, 40, .6); }
.car__head { fill: #FFF8DC; opacity: 0; }
.car__tail { fill: #E5322B; opacity: .5; }
[data-theme="night"] .car__head { opacity: 1; }
[data-theme="night"] .car__tail { opacity: 1; fill: #FF3B30; }
[data-theme="night"] .car__top, [data-theme="night"] .car__side { fill-opacity: .55; }
[data-theme="night"] .cars--shadow { opacity: .5; }
.marker { transition: opacity .4s; }

@media (max-width: 760px) { .car-lite { display: none; } }

/* night street lamps on the hero (warm pools along curbs + median) */
.street-lamps, .street-lamp-heads { opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.street-lamps { mix-blend-mode: screen; }
.street-lamp-heads circle { fill: #FFF3D6; }
[data-theme="night"] .street-lamps { opacity: 1; }
[data-theme="night"] .street-lamp-heads { opacity: .95; }
.hero:not(.is-paused) [data-theme="night"] .street-lamps { animation: none; }

/* lamp posts (visible day and night; heads glow at night) */
.lamp-posts { pointer-events: none; }
.lamp-post__pole, .lamp-post__arm { stroke: #5A6168; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.lamp-post__shadow { stroke: rgba(20, 28, 36, .22); stroke-width: 1.6; stroke-linecap: round; }
.lamp-post__head { fill: #D9DDE1; }
.lamp-post__halo { fill: #FFD58A; opacity: 0; }
[data-theme="night"] .lamp-post__pole, [data-theme="night"] .lamp-post__arm { stroke: #39414A; }
[data-theme="night"] .lamp-post__shadow { opacity: 0; }
[data-theme="night"] .lamp-post__head { fill: #FFF6DE; }
[data-theme="night"] .lamp-post__halo { opacity: .45; filter: blur(1.5px); }

/* roundabout: wide warm wash + central high-mast */
.rb-light { opacity: 0; mix-blend-mode: screen; transition: opacity 1.4s var(--ease); pointer-events: none; }
[data-theme="night"] .rb-light { opacity: 1; }
.rb-mast { pointer-events: none; }
.rb-mast__pole { stroke: #5A6168; stroke-width: 2.4; stroke-linecap: round; }
.rb-mast__ring { fill: none; stroke: #6B737B; stroke-width: 1.4; }
.rb-mast__halo { fill: #FFD58A; opacity: 0; }
[data-theme="night"] .rb-mast__pole { stroke: #3A424B; }
[data-theme="night"] .rb-mast__halo { opacity: .55; filter: blur(2px); }

/* roundabout asphalt lit to the same level as the main road at night (render left it ~5x darker) */
.rb-asphalt { opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.rb-asphalt circle { fill: none; stroke: #6F655A; }
[data-theme="night"] .rb-asphalt { opacity: 0; }

/* ---------- "About" page content blocks (content is admin-editable HTML) ---------- */
.prose.prose--about { max-width: 1040px; }
.prose .about-lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.5; color: var(--ink); font-weight: 600; letter-spacing: -.01em; margin-bottom: 1.2em; }
.prose .about-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 2.6em 0 .2em; }
.prose .about-kicker + h2 { margin-top: .2em; }
.prose h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; }
.prose .about-figure { margin: 2em 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.prose .about-figure img { margin: 0; border-radius: 0; width: 100%; display: block; }
.prose .about-figure figcaption { padding: 12px 18px; font-size: 14px; color: var(--muted); background: var(--card); }
.prose .about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 1.6em 0; padding: 0; list-style: none; }
.prose .about-stats li { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.prose .about-stats b { display: block; white-space: nowrap; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.prose .about-stats span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--muted); font-weight: 600; }
.prose .about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 1.6em 0; padding: 0; list-style: none; }
.prose .about-cards li { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.prose .about-cards li b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.prose .about-cards li em { font-style: normal; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.prose .about-band { margin: 2em 0; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--brand); color: var(--brand-ink); }
.prose .about-band h3 { color: inherit; margin-top: 0; font-size: clamp(22px, 2.2vw, 30px); }
.prose .about-band p, .prose .about-band li { color: inherit; opacity: .9; }
.prose .about-steps { counter-reset: step; list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 10px; }
.prose .about-steps li { counter-increment: step; position: relative; margin: 0; padding: 18px 20px 18px 72px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.prose .about-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font-weight: 800; font-size: 22px; color: var(--brand); letter-spacing: -.03em; }
.prose .about-quote { margin: 2.4em 0 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; color: var(--brand); }

.floor-row__purpose { color: var(--ink-2); font-weight: 700; }

/* units the floor plan cannot place (different partitioning on that floor) */
.plan-unplaced { position: absolute; left: 16px; top: 56px; width: min(300px, calc(100% - 32px)); max-height: calc(100% - 140px); overflow: auto; pointer-events: auto;
  padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan-unplaced__head { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.plan-unplaced__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.up-chip { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; font-size: 12px; border: 1px solid transparent; transition: transform .2s; }
.up-chip:hover { transform: translateY(-1px); border-color: var(--ink); }
.up-chip b { font-size: 13px; }
.up-chip span { color: var(--muted); font-weight: 600; }
.up-chip--free { background: var(--free-soft); }
.up-chip--booked { background: var(--booked-soft); }
.up-chip--sold { background: var(--sold-soft); opacity: .75; }
@media (max-width: 760px) { .plan-unplaced { top: auto; bottom: 64px; max-height: 30%; } }

/* ---------- bosh sahifadagi jonli 3D ko'rinish (twin.js, embed rejimi) ---------- */
.twin-embed { background: linear-gradient(180deg, #DDE6EA 0%, #EDE8DF 55%, #E6DFD2 100%); min-height: 520px; }
[data-theme="night"] .twin-embed { background: radial-gradient(90% 70% at 50% 100%, rgba(56, 196, 141, .14), transparent 65%), linear-gradient(180deg, #05080D, #0A1119); }
.twin-embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease-out); }
.twin-embed__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--ease-out); touch-action: pan-y; }
.twin-embed.is-ready .twin-embed__canvas { opacity: 1; }
.twin-embed.is-ready .twin-embed__poster { opacity: 0 !important; pointer-events: none; }
.twin-embed__cta { position: absolute; left: 24px; bottom: 24px; }
.twin-embed.is-ready .twin-embed__cta { background: var(--ink); color: var(--bg); border-color: transparent; }
.twin-embed__badge { position: absolute; left: 24px; top: 24px; display: none; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.twin-embed.is-ready .twin-embed__badge { display: inline-flex; }
.twin-embed__tip { position: absolute; z-index: 3; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; background: var(--ink); color: var(--bg); white-space: nowrap; pointer-events: none; box-shadow: var(--shadow); }
.twin-embed__tip[hidden] { display: none; }
@media (max-width: 760px) { .twin-embed { min-height: 380px; } .twin-embed__cta { left: 16px; bottom: 16px; } .twin-embed__badge { left: 16px; top: 16px; } }

/* ---------- jonli 3D hero (hero3d.js) ---------- */
.hero__live { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease-out); touch-action: pan-y; }
.hero.is-live .hero__live { opacity: 1; }
.hero.is-live .hero__stage { opacity: 0; pointer-events: none; transition: opacity 1.4s var(--ease-out); }
.hero.is-live .hero__shadows { display: none; }
.hero.is-flying .hero__content, .hero.is-flying .hero__markers, .hero.is-flying .hero__hint { opacity: 0; transition: opacity .5s; pointer-events: none; }

/* jonli hero: sudrab aylantirish; belgilar har kadrda joylanadi — transform'ga o'tish effekti kerak emas */
.hero.is-live .marker { transition: opacity .35s; will-change: transform; }
.hero.is-orbiting .hero__live { cursor: grabbing !important; }
.hero.is-orbiting .hero__markers { pointer-events: none; }
.hero.is-orbiting .hero__title, .hero.is-orbiting .hero-card { opacity: .28; transition: opacity .35s; }
.hero .hero__title, .hero .hero-card { transition: opacity .5s; }

/* vizualizatsiya haqida eslatma */
.site-footer__legal { margin: 0; padding: 18px 0 20px; max-width: 86ch; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.twin-embed__legal { position: absolute; right: 24px; bottom: 28px; max-width: 260px; text-align: right; font-size: 11px; line-height: 1.4; font-weight: 500; color: var(--muted); pointer-events: none; }
@media (max-width: 760px) { .twin-embed__legal { left: 16px; right: 16px; bottom: 76px; max-width: none; text-align: left; } }

/* jonli hero: sarlavha fon bilan qo'shilib ketmasin — chapdan quyuqroq parda; sarlavha bosishni to'smaydi */
.hero__title { pointer-events: none; }
.hero__title a, .hero__title button { pointer-events: auto; }
.hero--h3 .hero__vignette {
  background:
    linear-gradient(90deg, rgba(3,7,11,.82) 0%, rgba(3,7,11,.62) 24%, rgba(3,7,11,.22) 46%, rgba(3,7,11,0) 60%),
    linear-gradient(180deg, rgba(3,7,11,.7) 0%, rgba(3,7,11,0) 20%),
    linear-gradient(0deg, rgba(3,7,11,.78) 0%, rgba(3,7,11,.25) 26%, rgba(3,7,11,0) 46%);
}
.hero--h3 .hero__title h1 { text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero--h3 .hero__sub { color: rgba(255,255,255,.92); text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.hero--h3 .hero__stage { inset: 0; transform: none !important; }     /* poster aynan jonli kadr bilan ustma-ust tushadi */
.marker.is-compact .marker__label { display: none; }
.marker.is-compact .marker__pin { padding: 5px; }
@media (max-width: 640px) {
  .hero--h3 .hero__vignette { background:
    linear-gradient(180deg, #05080C 0%, rgba(5,8,12,.92) 22%, rgba(5,8,12,.5) 38%, rgba(5,8,12,0) 54%),
    linear-gradient(0deg, rgba(5,8,12,.95) 0%, rgba(5,8,12,0) 30%); }
}

/* ---------- "Ichkarida sayr" bloki ---------- */
.walkin { background: var(--bg-2); }
.walkin__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.walkin__text .lead { margin-top: 22px; max-width: 46ch; }
.walkin__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; }
.walkin__list li { display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.walkin__list li:last-child { border-bottom: 1px solid var(--line); }
.walkin__list b { font-weight: 700; color: var(--ink); }
.walkin__cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.walkin__visual { position: relative; display: block; aspect-ratio: 1600 / 1076; border-radius: var(--radius-xl); overflow: hidden; background: #0B1118; box-shadow: var(--shadow-lg); }
.walkin__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), opacity 1.4s var(--ease); }
.walkin__visual:hover img { transform: scale(1.035); }
.walkin__keys { position: absolute; left: 22px; bottom: 22px; display: grid; grid-template-columns: repeat(3, 34px); grid-template-rows: repeat(2, 34px); gap: 4px; }
.walkin__keys kbd { display: grid; place-items: center; border-radius: 9px; font: 800 13px/1 var(--font); color: #10201A; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px -8px rgba(0,0,0,.6), inset 0 -2px 0 rgba(0,0,0,.14); }
.walkin__keys kbd:first-child { grid-column: 2; }
.walkin__keys kbd:nth-child(2) { grid-column: 1; grid-row: 2; }
.walkin__note { position: absolute; right: 22px; bottom: 22px; max-width: 240px; text-align: right; font-size: 11px; line-height: 1.4; font-weight: 500; color: rgba(255,255,255,.86); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
@media (max-width: 900px) {
  .walkin__grid { grid-template-columns: 1fr; }
  .walkin__visual { order: -1; border-radius: var(--radius-lg); }
  .walkin__list li { grid-template-columns: 1fr; gap: 4px; }
  .walkin__keys { display: none; }
  .walkin__note { left: 16px; right: 16px; bottom: 14px; max-width: none; text-align: left; }
}

/* jonli hero: suzuvchi bulut va soya qatlamlari kerak emas (ortiqcha rasm va kompozitsiya yuki) */
.hero--h3 .hero__shadows, .hero--h3 .hero__clouds { display: none; }
/* telefon: karta rasm ustida turadi va shaffof emas — hero'ning pastki cheti karta ichidan "chiziq" bo'lib ko'rinmaydi */
@media (max-width: 640px) {
  .hero-card { z-index: 4; background: #0B1118; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: rgba(255,255,255,.1); margin-top: -72px; }
  .hero--h3 .hero__vignette { background:
    linear-gradient(180deg, #05080C 0%, rgba(5,8,12,.9) 20%, rgba(5,8,12,.45) 36%, rgba(5,8,12,0) 52%),
    linear-gradient(0deg, #05080C 0%, rgba(5,8,12,.75) 12%, rgba(5,8,12,0) 34%); }
  .twin-embed__legal { top: 58px; bottom: auto; }
}
