@font-face { font-family: "Archivo"; src: url("fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #282828;
  --white: #fff;
  --band: #f4ece6;            /* sampled from tower-iso-n.webp background */
  --pad: clamp(16px, 2.8vw, 40px);
  --gap: clamp(12px, 1.4vw, 20px);
  --track-d: -0.055em;
  --t0: clamp(64px, 11vw, 170px);
  --t1: clamp(52px, 7.4vw, 112px);
  --t2: clamp(44px, 5vw, 72px);
  --t3: clamp(26px, 2.9vw, 42px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; padding: 0; }
ol { list-style: none; }

/* type */
.caps {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-d);
  line-height: 0.86;
}
.t0 { font-size: var(--t0); }
.t1 { font-size: var(--t1); }
.t2 { font-size: var(--t2); }
.t3 { font-size: var(--t3); line-height: 0.92; letter-spacing: -0.045em; }
.ui {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.muted { opacity: 0.38; }

/* sections */
.sec { padding: clamp(80px, 9vw, 140px) var(--pad); }
.dark { background: var(--ink); color: var(--white); }
.light { background: var(--white); color: var(--ink); }
.sec__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec__aside { opacity: 0.55; text-align: right; padding-bottom: 0.4em; }

/* hero */
.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,.55) 0%, rgba(20,20,20,0) 34%);
}
.brand, .nav, .hero__title, .hero__foot, .credit { position: absolute; z-index: 2; }
.brand { top: 26px; left: var(--pad); }
.nav { top: 26px; right: var(--pad); display: flex; gap: 28px; }
.nav a, .brand, .go, .hero__link { transition: opacity .2s; }
.nav a:hover, .brand:hover { opacity: .6; }
.hero__title {
  top: clamp(72px, 9vh, 100px); left: var(--pad);
  font-size: clamp(64px, 8.6vw, 170px);
  color: #fff;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__foot {
  left: var(--pad); bottom: 30px;
  max-width: 400px;
}
.hero__line { font-size: 15px; line-height: 1.45; margin-bottom: 18px; }
.hero__link { display: inline-block; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; }
.hero__link:hover { opacity: .7; }
.credit { right: var(--pad); bottom: 30px; opacity: .75; font-size: 10px; text-align: right; max-width: 240px; }

/* demo */
.bld { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); position: relative; }
.bld + .bld { margin-top: clamp(80px, 9vw, 140px); }
.bld__media { display: block; overflow: hidden; }
.bld__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bld__media:hover img { transform: scale(1.02); }
.bld__text { display: flex; flex-direction: column; justify-content: flex-end; }
.bld .t1 { margin-bottom: 28px; }
.bld--tower .bld__media { grid-column: 1 / 7; aspect-ratio: 9 / 15; }
.bld--tower .bld__media img { object-position: 50% 70%; }
.bld--tower .bld__media { grid-row: 1 / 3; }
.bld__day { grid-column: 10 / 13; grid-row: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; }
.bld--tower .bld__text { grid-column: 7 / 13; grid-row: 2; padding-bottom: 4px; }
.bld--tower .t1 { margin-left: calc(-1 * (var(--gap) + 0.5em)); position: relative; }
.bld--block .bld__media { grid-column: 1 / 13; aspect-ratio: 16 / 8; grid-row: 1; }
.bld--block .bld__media img { object-position: 50% 60%; }
.bld--block .bld__text {
  grid-column: 1 / 13; grid-row: 2;
  flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
}
.bld--block .t1 { margin: calc(-0.43 * var(--t1)) 0 0 0; position: relative; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 40px; margin-bottom: 28px; }
.bld--block .facts { margin-bottom: 4px; }
.facts dt { opacity: .5; }
.facts dd { margin: 0; }
.go {
  display: inline-block; align-self: flex-start;
  border: 1px solid rgba(255,255,255,.55); border-radius: 1px;
  padding: 13px 18px 12px;
}
.go:hover { background: #fff; color: var(--ink); }
.bld--block .go { align-self: flex-end; }
.note { margin-top: clamp(56px, 6vw, 88px); opacity: .45; font-size: 10px; }

/* how it sells */
.sells { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.sells .sec__head { padding: 0 var(--pad); }
.pillar .num { display: block; margin-bottom: 18px; opacity: .5; }
.pillar .t3 { margin-bottom: 18px; max-width: 13em; }
.pillar p { max-width: 30em; }
.band {
  background: var(--band);
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: clamp(32px, 4vw, 64px) var(--pad);
}
.band img { grid-column: 4 / 13; grid-row: 1; width: 100%; }
.pillar--on-band { grid-column: 1 / 5; grid-row: 1; align-self: start; position: relative; z-index: 1; }
.plan-row, .strip-row {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: clamp(56px, 6vw, 96px) var(--pad) 0;
}
.plan-row .pillar { grid-column: 1 / 5; align-self: end; }
.plan { grid-column: 5 / 13; }
.plan img { width: 100%; }
figcaption { margin-top: 12px; opacity: .5; }
.plan figcaption, .strip figcaption { text-align: right; }
.strip-row { padding-bottom: clamp(80px, 9vw, 140px); row-gap: 48px; }
.strip-row .pillar { grid-column: 1 / 6; }
.strip { grid-column: 1 / 13; }
.strip img { width: 100%; }

/* case */
.case__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); position: relative; }
.case__no { grid-column: 8 / 13; grid-row: 1; align-self: start; margin-top: -0.06em; text-transform: none; }
.case__hero { grid-column: 1 / 7; grid-row: 1 / 3; }
.case__hero img { width: 100%; }
.case__text { grid-column: 8 / 13; grid-row: 2; align-self: end; }
.case__text .t3 { margin-bottom: 20px; }
.case__text p { max-width: 30em; }
.case__lbl { margin: 28px 0 8px; opacity: .5; }
.cost { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.cost dt { opacity: .5; margin-bottom: 14px; }
.cost dd { margin: 0; }
.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 72px) var(--gap); margin-top: clamp(80px, 9vw, 140px); }
.shot img { width: 100%; }
.shot { grid-column: span 6; }
.shot--wide { grid-column: 1 / 13; }
.shot--crm { grid-column: 4 / 13; }

/* pricing */
.pricing .sec__aside { opacity: .5; }
.prices { border-top: 1px solid rgba(40,40,40,.9); }
.prices li {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  align-items: baseline;
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(40,40,40,.18);
}
.pk { grid-column: 1 / 4; }
.prices p { grid-column: 4 / 9; max-width: 32em; opacity: .75; }
.price { grid-column: 9 / 13; text-align: right; white-space: nowrap; }
.price small { font-size: 11px; letter-spacing: .06em; margin-left: 10px; vertical-align: 0.35em; opacity: .6; }
.terms { margin-top: 28px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); border-top: 1px solid rgba(255,255,255,.25); }
.steps li { padding-top: 22px; }
.steps .num { display: block; opacity: .5; margin-bottom: clamp(48px, 6vw, 96px); }
.steps .t3 { margin-bottom: 18px; min-height: 1.84em; }
.steps p { max-width: 19em; opacity: .8; }

/* about */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.about .t2 { grid-column: 1 / 7; }
.about__text { grid-column: 7 / 12; font-size: 15px; max-width: 30em; }

/* offer */
.offer { padding-top: clamp(100px, 12vw, 180px); padding-bottom: clamp(80px, 9vw, 120px); }
.offer .t0 span { display: block; }
.offer__text { margin-top: clamp(40px, 5vw, 64px); margin-left: calc(100% * 6 / 12); max-width: 30em; }

/* footer */
.foot {
  background: var(--ink); color: rgba(255,255,255,.45);
  display: flex; justify-content: space-between; gap: 40px;
  padding: 28px var(--pad) 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 10px;
}
.foot span:last-child { max-width: 640px; text-align: right; }

/* phone */
@media (max-width: 760px) {
  .nav { gap: 16px; }
  .nav a:last-child { display: none; }
  .hero__img { object-position: 52% 50%; }
  .hero__title { top: 76px; right: var(--pad); }
  .hero__title span { white-space: normal; }
  .hero__foot { right: var(--pad); bottom: 92px; max-width: none; }
  .credit { left: var(--pad); right: var(--pad); bottom: 24px; text-align: left; max-width: none; }
  .hero__scrim { background: linear-gradient(to top, rgba(20,20,20,.7) 0%, rgba(20,20,20,0) 50%); }

  .sec__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec__aside { text-align: left; }

  .bld--tower .bld__media { grid-column: 1 / 13; }
  .bld--tower .bld__media { grid-row: 1; }
  .bld__day { display: none; }
  .bld--tower .bld__text { grid-column: 1 / 13; grid-row: 2; }
  .bld--tower .t1 { margin: calc(-0.43 * var(--t1)) 0 28px 0; }
  .facts { gap: 8px 22px; }
  .bld--block .bld__media { aspect-ratio: 4 / 3; }
  .bld--block .bld__text { flex-direction: column; align-items: flex-start; gap: 0; }
  .bld--block .facts { margin-bottom: 28px; }
  .bld--block .go { align-self: flex-start; }

  .band img, .pillar--on-band { grid-column: 1 / 13; }
  .band img { grid-row: 2; margin-top: 24px; }
  .plan-row .pillar, .plan { grid-column: 1 / 13; }
  .plan { margin-top: 32px; }
  .strip-row .pillar { grid-column: 1 / 13; }
  .strip img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; }

  .case__no { grid-column: 1 / 13; margin-bottom: 28px; }
  .case__hero { grid-column: 1 / 13; grid-row: 2; }
  .case__text { grid-column: 1 / 13; grid-row: 3; margin-top: 40px; }
  .steps .t3 { min-height: 0; }
  .shot, .shot--crm { grid-column: 1 / 13; }

  .prices li { grid-template-columns: 1fr auto; row-gap: 10px; }
  .pk { grid-column: 1; }
  .price { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .prices p { grid-column: 1 / 3; }

  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 22px 0 40px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .steps .num { margin-bottom: 28px; }

  .about .t2, .about__text { grid-column: 1 / 13; }
  .about__text { margin-top: 28px; }
  .offer__text { margin-left: 0; }
  .foot { flex-direction: column; gap: 12px; }
  .foot span:last-child { text-align: left; }
}

/* ---------- 08: full-screen slides (from 05-chapters, without the sticky stacking) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chap { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.chap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chap__img--top { object-position: 50% 18%; }
.chap--dark { color: var(--white); background: var(--ink); }
.chap--dark::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.62) 100%); }
.chap--light { color: var(--ink); background: var(--white); align-items: stretch; }
.chap--light .chap__img--plan { object-fit: contain; inset: 6vh 4vw 6vh 40vw; width: auto; height: auto; max-width: 56vw; max-height: 88vh; margin: auto; }
.chap__body { position: relative; z-index: 1; padding: 0 var(--pad) clamp(40px, 6vw, 88px); max-width: 1100px; }
.chap--light .chap__body { display: flex; flex-direction: column; justify-content: flex-end; max-width: 38vw; }
.chap__body .ui { display: block; margin-bottom: 20px; opacity: .8; }
.chap__body h3 { margin-bottom: 24px; }
.chap__body p { max-width: 420px; font-size: 15px; opacity: .85; }
@media (max-width: 760px) {
  .chap--light { flex-direction: column; justify-content: flex-end; }
  .chap--light .chap__img--plan { position: relative; inset: auto; max-width: 100%; max-height: none; margin: 72px auto 24px; padding: 0 var(--pad); }
  .chap--light .chap__body { max-width: none; }
}
.chap__img--mid { object-position: 50% 33%; }             /* tower-north-focus: roof edge stays in the fold */
.chap--dark:last-child::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%); }
@media (min-width: 761px) {
  .chap--light .chap__img--plan { inset: 6vh 4vw 6vh 50vw; max-width: 46vw; }
  .chap--light .chap__body { max-width: 50vw; }
}
@media (min-width: 761px) {
  .chap--light .chap__img--plan { inset: 6vh 4vw 6vh 50vw; width: 46vw; height: 88vh; max-width: none; max-height: none; margin: 0; object-fit: contain; }
}

/* ---------- one block = one screen (Lev, 01.11) ---------- */
.offer__me { margin-top: clamp(48px, 6vw, 88px); margin-left: calc(100% * 6 / 12); max-width: 30em; }
.offer__me .t3 { margin-bottom: 16px; }
.offer__me p { opacity: .75; }
.offer__mail { display: inline-block; margin-top: clamp(28px, 3vw, 40px); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
@media (min-width: 761px) {
  .demo { padding-top: 64px; padding-bottom: 64px; }
  .demo .sec__head { margin-bottom: 32px; }
  .bld--tower .bld__media { aspect-ratio: auto; height: calc(100svh - 200px); }
  .bld + .bld { margin-top: 96px; }
  .bld--block { min-height: calc(100svh - 128px); align-content: center; }
  .case { min-height: 100svh; padding-top: 64px; padding-bottom: 64px; display: flex; align-items: center; }
  .case__top { width: 100%; }
  .case__hero img { height: calc(100svh - 128px); object-fit: cover; }
  .pricing { min-height: 100svh; padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; justify-content: center; }
  .process { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .offer { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 760px) { .offer__me { margin-left: 0; } }
.light.process { border-top: 1px solid rgba(40,40,40,.18); }

/* ---------- live apartment picker on slide 02 ---------- */
.pick { position: absolute; inset: 6vh 4vw 6vh 50vw; display: flex; align-items: center; justify-content: center; }
.pick__svg { width: 100%; height: 100%; }
.pu { fill: rgba(255,255,255,0); stroke: none; cursor: pointer; transition: fill .2s; outline: none; }
.pick__svg.hov .pu:not(.on) { fill: rgba(255,255,255,.42); }
.pu.on { fill: rgba(40,40,40,.06); stroke: #282828; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.apt { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; margin-top: clamp(24px, 3.5vh, 40px);
  padding-top: 20px; border-top: 1px solid rgba(40,40,40,.18); max-width: 520px; }
.apt__svg { width: 180px; height: 140px; }
.apt__no { opacity: .6; margin-bottom: 8px; }
.apt__sum { font-size: 15px; margin-bottom: 12px; }
.apt__rooms { list-style: none; padding: 0; margin: 0; }
.apt__rooms li { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border-bottom: 1px solid rgba(40,40,40,.08); }
.chap--light .chap__body .t1 { font-size: clamp(40px, 5.2vw, 84px); }
@media (max-width: 760px) {
  .pick { position: relative; inset: auto; padding: 72px var(--pad) 8px; }
  .pick__svg { height: auto; }
  .apt { grid-template-columns: 120px 1fr; }
  .apt__svg { width: 120px; height: 96px; }
}
.apt__rooms li span:last-child { text-transform: none; letter-spacing: 0; }
@media (min-width: 761px) { .apt { grid-template-columns: 220px 1fr; } .apt__svg { width: 220px; height: 170px; } }
.chap__img--cut { object-position: 66% 50%; }            /* tower of maisi-slice-dusk-ai sits at 49-83 % of the width */
@media (min-width: 761px) {
  .chaps .chap:first-of-type .chap__body h3 { font-size: clamp(48px, 5.1vw, 84px); max-width: 10.5ch; }
}
