/* Bridge — агентство нерухомості. Night Kyiv: deep navy ground, ivory type, champagne light for the action. */
:root {
  --bg: #0a1336;
  --bg-2: #0e1a47;
  --bg-3: #15225b;
  --navy: #1f2f86;
  --ivory: #f1ece2;
  --text-2: #b4bbdc;          /* 9:1 on --bg */
  --text-3: #8f96bd;          /* labels only, 5.6:1 */
  --line: rgb(241 236 226 / .12);
  --line-2: rgb(241 236 226 / .22);
  --gold: #eaae3f;            /* the action and the active state only */
  --gold-2: #f6c766;
  --error: #ff9c8a;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-text: "Wix Madefor Text", "Segoe UI", sans-serif;

  --max: 1360px;
  --pad: clamp(20px, 4.4vw, 72px);
  --gap: 24px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ivory); font: 400 17px/1.65 var(--font-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
html { scrollbar-color: var(--navy) var(--bg); }
.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* film grain: one fixed layer, under the reduced-motion and print radar */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 48ch; }
.gold { color: var(--gold); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ivory); color: var(--bg); padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* page transition: a curtain in the brand navy */
.curtain { position: fixed; inset: 0; z-index: 95; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease-io); }
.is-leaving .curtain { opacity: 1; }
.js body { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--gold); color: #10132a; font-weight: 600; font-size: 16px; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s var(--ease), color .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--line { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line::before { background: var(--ivory); }
.btn--line:hover { color: #10132a; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ivory); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease), color .3s; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold); }
.link svg { width: 14px; height: 14px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .4s var(--ease), transform .5s var(--ease), box-shadow .4s; }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 44px; }
.header.is-solid { background: rgb(10 19 54 / .82); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.logo { flex: none; display: block; width: 58px; }
.logo img { width: 100%; height: auto; }
.nav { display: flex; gap: 34px; font-size: 15px; }
.nav a { position: relative; padding: 8px 0; color: var(--text-2); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__end { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.header__tel { font-weight: 500; font-size: 15px; }
.header .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.is-menu .burger span:first-child { top: 22px; transform: rotate(45deg); }
.is-menu .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg-2); padding: calc(var(--header-h) + 24px) var(--pad) 40px; display: flex; flex-direction: column; overflow: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s; }
.is-menu .menu { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-io); }
.menu a.menu__link { font: 300 clamp(32px, 8vw, 48px)/1.15 var(--font-display); letter-spacing: -0.04em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 32px; }
.menu__tel { margin-top: 20px; font-weight: 500; }
@media (max-width: 1180px) { .nav, .header__tel { display: none; } .burger { display: block; } }
@media (max-width: 640px) { :root { --header-h: 70px; } .header .btn { display: none; } .logo { width: 48px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 75%); transform: scale(1.12); animation: heroZoom 3s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(10 19 54 / .94) 0%, rgb(10 19 54 / .7) 40%, rgb(10 19 54 / .15) 75%), linear-gradient(0deg, rgb(10 19 54 / .9) 0%, rgb(10 19 54 / 0) 30%); }
.hero .wrap { display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 80px); padding-bottom: 56px; }
.hero h1 { max-width: 12.5ch; }
.hero--page h1 { max-width: 15ch; font-size: clamp(40px, 5.4vw, 88px); }
.hero .lead { margin-top: 32px; }
.quick { margin-top: 40px; display: flex; gap: 8px; padding: 7px; border-radius: 999px; background: rgb(241 236 226 / .07); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(14px); width: min(580px, 100%); transition: box-shadow .3s; }
.quick:focus-within { box-shadow: inset 0 0 0 1px var(--gold); }
.quick input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 22px; font-size: 17px; outline: none; }
.quick input::placeholder { color: var(--text-2); }
.note { margin-top: 14px; font-size: 14px; color: var(--text-2); min-height: 22px; }
.note.is-error { color: var(--error); }
.note.is-ok { color: var(--gold); }
.facts { margin-top: clamp(48px, 9vh, 104px); padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.fact strong { display: block; font: 300 clamp(28px, 2.8vw, 44px)/1 var(--font-display); letter-spacing: -0.04em; }
.fact span { display: block; margin-top: 12px; font-size: 14px; color: var(--text-2); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ivory); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgb(10 19 54 / .9) 0%, rgb(10 19 54 / .82) 64%, rgb(10 19 54 / .2) 100%); }
  .hero .wrap { justify-content: flex-start; padding-top: calc(var(--header-h) + 36px); padding-bottom: 110px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; margin-top: 40px; }
  .quick { flex-direction: column; border-radius: 22px; padding: 8px; }
  .quick input { padding: 16px 14px; }
  .quick .btn { width: 100%; }
}

/* load-in and scroll-in: content is visible without script */
.js .rise { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.js .is-loaded .rise { animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 200ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* headlines rise line by line through a mask */
.js [data-lines] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-lines] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--w, 0) * 40ms); }
.js [data-lines].is-in .w > span { transform: none; }
/* photographs uncover from the bottom */
.js [data-uncover] { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.4s var(--ease-io); }
.js [data-uncover] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js [data-uncover].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.js [data-uncover].is-in img { transform: scale(1); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.deal { display: flex; align-items: baseline; gap: 14px; padding: 22px 40px; white-space: nowrap; font-size: 15px; border-right: 1px solid var(--line); }
.deal b { font: 300 19px var(--font-display); letter-spacing: -0.02em; }
.deal span { color: var(--text-2); }
.deal i { font-style: normal; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(96px, 12vw, 180px); position: relative; }
.section--2 { background: var(--bg-2); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.head h2 { grid-column: 1 / span 8; }
.head p, .head .head__side { grid-column: 9 / span 4; color: var(--text-2); }
@media (max-width: 900px) { .head h2, .head p, .head .head__side { grid-column: 1 / -1; } }

/* statement */
.statement { font: 300 clamp(26px, 3.2vw, 50px)/1.22 var(--font-display); letter-spacing: -0.035em; max-width: 26ch; }
.statement em { font-style: normal; color: var(--text-3); }
.sign { margin-top: 56px; display: flex; gap: 48px; flex-wrap: wrap; }
.sign div { padding-top: 20px; border-top: 1px solid var(--line); min-width: 240px; }
.sign b { display: block; font-weight: 500; }
.sign span { color: var(--text-2); font-size: 15px; }

/* services list with a photograph that follows the pointer */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-item a { display: grid; grid-template-columns: minmax(0, 5fr) 168px minmax(0, 4fr) auto; gap: var(--gap); align-items: center; padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc-item h3 { font: 300 clamp(28px, 3.4vw, 54px)/1.05 var(--font-display); letter-spacing: -0.04em; transition: transform .6s var(--ease), color .3s; }
.svc-item p { color: var(--text-2); max-width: 42ch; }
.svc-item .go { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease); }
.svc-item .go svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.svc-item a:hover h3 { transform: translateX(16px); color: var(--gold); }
.svc-item a:hover .go { background: var(--gold); color: #10132a; }
.svc-item a:hover .go svg { transform: rotate(0); }
.svc-thumb { width: 168px; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) brightness(.7); transform: scale(1.08); transition: filter .5s var(--ease), transform .7s var(--ease); }
.svc-item a:hover .svc-thumb img, .svc-item a:focus-visible .svc-thumb img { filter: none; transform: scale(1); }
@media (max-width: 1100px) { .svc-item a { grid-template-columns: minmax(0, 5fr) 128px minmax(0, 4fr) auto; } .svc-thumb { width: 128px; } }
@media (max-width: 760px) { .svc-item a { grid-template-columns: 1fr auto; } .svc-thumb { display: none; } .svc-item p { grid-column: 1 / -1; grid-row: 2; } .svc-item .go { width: 52px; height: 52px; } }

/* cases */
.cases-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: 56px; }
.big { grid-column: 1 / span 6; font: 200 clamp(110px, 17vw, 260px)/.8 var(--font-display); letter-spacing: -0.07em; color: var(--ivory); }
.big .gold { font-weight: 300; }
.cases-head__text { grid-column: 7 / span 4; }
.cases-head__text p { margin-top: 18px; color: var(--text-2); }
.cases-head__text .link { margin-top: 24px; }
.arrows { grid-column: 11 / span 2; justify-self: end; display: flex; gap: 10px; }
.arrow { width: 60px; height: 60px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s, transform .18s var(--ease); }
.arrow:hover { background: var(--ivory); color: var(--bg); }
.arrow:active { transform: scale(.94); }
.arrow:disabled { opacity: .3; pointer-events: none; }
.arrow svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .big, .cases-head__text { grid-column: 1 / -1; } .arrows { grid-column: 1 / -1; justify-self: start; } }

.carousel { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding-left: max(var(--pad), (100% - var(--max)) / 2); scroll-padding-left: max(var(--pad), (100% - var(--max)) / 2); }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-drag { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-drag * { pointer-events: none; user-select: none; }
.track { display: flex; gap: var(--gap); width: max-content; list-style: none; margin: 0; padding: 0 max(var(--pad), (100vw - var(--max)) / 2) 8px 0; }
.track .case { width: clamp(292px, 30vw, 440px); flex: none; scroll-snap-align: start; }
.progress { width: min(var(--max), 100% - 2 * var(--pad)); margin: 40px auto 0; height: 1px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 30%; background: var(--gold); transition: transform .2s linear; }

.case { border-radius: var(--r); background: var(--bg-3); overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .4s; }
.case:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgb(0 0 0 / .7); }
.case__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.case__img img.plan { object-fit: contain; }
.case:hover .case__img img { transform: scale(1.05); }
.case__note { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 6px 11px; border-radius: 999px; background: rgb(10 19 54 / .66); color: var(--ivory); font-size: 12px; font-weight: 500; backdrop-filter: blur(6px); }
.case__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case__tag { font-size: 14px; color: var(--text-2); }
.case h3 { font-size: 21px; }
.case__nums { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; }
.case__nums--pair { grid-template-columns: 1fr 1fr; }
.case__nums small { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.case__nums b { font: 300 24px/1 var(--font-display); letter-spacing: -0.03em; white-space: nowrap; }
.case__nums .to { color: var(--gold); }
.case__nums svg { width: 18px; height: 18px; color: var(--text-3); margin-bottom: 4px; }
.case__days { font-size: 14px; color: var(--text-2); }
.case--more { background: var(--navy); }
.case--more .case__hero { padding: 30px 28px 0; font: 200 clamp(64px, 6vw, 96px)/.9 var(--font-display); letter-spacing: -0.06em; }
.case--more .case__hero small { display: block; margin-top: 16px; font: 400 16px/1.5 var(--font-text); letter-spacing: 0; color: var(--text-2); }
.case--more .case__body { justify-content: flex-end; }
.case--more .btn { align-self: flex-start; }
@media (max-width: 480px) { .case__nums b { font-size: 19px; } .case__body { padding: 22px 20px 24px; } }

.grid-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1080px) { .grid-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-cases { grid-template-columns: 1fr; } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); cursor: pointer; transition: background-color .3s, color .3s; }
.filters button:hover { color: var(--ivory); }
.filters button[aria-pressed="true"] { background: var(--gold); color: #10132a; box-shadow: none; }
.case[hidden] { display: none; }

/* full-bleed photograph with parallax */
.band { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.band__img { position: absolute; inset: -12% 0; z-index: -2; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 19 54 / .92) 0%, rgb(10 19 54 / .35) 55%, rgb(10 19 54 / .2) 100%); }
.band .wrap { padding-block: 120px 96px; }
.band .statement { max-width: 22ch; }

/* steps */
.process { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.process__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 56px); align-self: start; }
.process__intro p { margin-top: 26px; color: var(--text-2); max-width: 40ch; }
.process__intro .btn { margin-top: 40px; }
.steps { grid-column: 7 / span 6; position: relative; list-style: none; margin: 0; padding: 0 0 0 76px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: var(--end, 24px); width: 1px; background: var(--line-2); }
.steps::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); }
.no-js .steps::after { transform: none; }
.step { position: relative; padding-bottom: clamp(48px, 6vw, 80px); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: -76px; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 15px var(--font-text); color: var(--text-2); transition: background-color .5s var(--ease), color .5s, box-shadow .5s; }
.step.is-on .step__dot { background: var(--gold); color: #10132a; box-shadow: none; }
.step h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 300; padding-top: 6px; letter-spacing: -0.03em; }
.step p { margin-top: 14px; color: var(--text-2); max-width: 46ch; }
@media (max-width: 900px) { .process__intro { position: static; grid-column: 1 / -1; } .steps { grid-column: 1 / -1; margin-top: 56px; padding-left: 68px; } .step__dot { left: -68px; } }

/* features: two columns of numbered-free points with hairlines */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--line); }
.point { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 20px; }
.point svg { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.point h3 { font-size: 21px; }
.point p { margin-top: 8px; color: var(--text-2); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } .point { padding-right: 0; } }

/* split: words + photograph */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.split__text { grid-column: 1 / span 5; }
.split__text p { margin-top: 24px; color: var(--text-2); }
.split__text .btn, .split__text .link { margin-top: 36px; }
.split__media { grid-column: 7 / span 6; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split__text, .split__media { grid-column: 1 / -1; } .split__media { aspect-ratio: 4 / 3; } }

/* listings */
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.listing { border-radius: var(--r); overflow: hidden; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease); }
.listing:hover { transform: translateY(-6px); }
.listing__img { aspect-ratio: 4 / 3; overflow: hidden; }
.listing__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.listing:hover .listing__img img { transform: scale(1.05); }
.listing__body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.listing__price { font: 300 28px/1 var(--font-display); letter-spacing: -0.03em; }
.listing__body span { color: var(--text-2); font-size: 15px; }
.listing__body .link { margin-top: 10px; justify-self: start; font-size: 15px; }
@media (max-width: 1080px) { .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .listings { grid-template-columns: 1fr; } }

/* partners chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.chain::before { content: ""; position: absolute; left: 32px; right: calc(100% / 3 - 32px + var(--gap) / 3); top: 32px; height: 1px; background: var(--line-2); }
.chain li { position: relative; }
.chain svg { box-sizing: content-box; width: 28px; height: 28px; padding: 18px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--gold); }
.chain h3 { margin-top: 28px; }
.chain p { margin-top: 10px; color: var(--text-2); max-width: 32ch; }
@media (max-width: 760px) { .chain { grid-template-columns: 1fr; gap: 40px; } .chain::before { right: auto; bottom: 32px; left: 32px; width: 1px; height: auto; } }

/* faq */
.faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faq-wrap .head-col { grid-column: 1 / span 4; }
.faq-wrap .head-col p { margin-top: 22px; color: var(--text-2); }
.faq { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 300 clamp(19px, 1.6vw, 24px)/1.3 var(--font-display); letter-spacing: -0.025em; transition: color .3s; }
.qa button:hover { color: var(--gold); }
.qa button i { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; transition: background-color .4s, transform .5s var(--ease); }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 13px; right: 13px; top: 19px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.is-open button i { background: var(--gold); }
.qa.is-open button i::before, .qa.is-open button i::after { background: #10132a; }
.qa.is-open button i::after { transform: rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 30px; color: var(--text-2); max-width: 62ch; }
.no-js .qa__a { grid-template-rows: 1fr; }
@media (max-width: 900px) { .faq-wrap .head-col, .faq { grid-column: 1 / -1; } }

/* lead */
.lead-box { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.lead-box__text { grid-column: 1 / span 5; }
.lead-box__text p { margin-top: 24px; color: var(--text-2); max-width: 42ch; }
.contacts { margin-top: 44px; display: grid; gap: 16px; }
.contacts a { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; transition: color .3s; }
.contacts a:hover { color: var(--gold); }
.contacts svg { width: 20px; height: 20px; color: var(--gold); }
.form { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: clamp(26px, 3.2vw, 48px); border-radius: var(--r); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 8px; }
.field--full, .form .btn, .form__status, .form__fine { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: var(--r-sm); border: 0; background: rgb(241 236 226 / .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; transition: box-shadow .25s, background-color .25s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a9adc5' stroke-width='1.6'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field select option { color: #10132a; }
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { background-color: rgb(241 236 226 / .08); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error); }
.field__err { font-size: 14px; color: var(--error); }
.field__err[hidden] { display: none; }
.form .btn { margin-top: 8px; min-height: 60px; }
.form__status { min-height: 24px; font-weight: 500; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-error { color: var(--error); }
.form__fine { font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) { .lead-box__text, .form { grid-column: 1 / -1; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* footer */
.footer { padding-block: 96px 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.footer__brand { grid-column: 1 / span 4; }
.footer__brand p { color: var(--text-2); max-width: 30ch; }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 6 / span 2; }
.footer__col h3 { font: 500 14px var(--font-text); color: var(--text-3); letter-spacing: 0; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--text-2); transition: color .25s; } .footer__col a:hover { color: var(--ivory); }
.wordmark { margin-top: 96px; font: 200 clamp(80px, 21vw, 340px)/.78 var(--font-display); letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; white-space: nowrap; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--text-3); flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ivory); }
@media (max-width: 900px) { .footer__brand { grid-column: 1 / -1; } .footer__col, .footer__col:first-of-type { grid-column: span 6; } }

/* reduced motion: many phones turn this on with battery saver, so keep fades and the bridge build,
   drop only what travels across the screen (slides, parallax, drifting light, auto-scroll) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js [data-reveal] { transform: none; filter: none; }
  .js [data-lines] .w > span { transform: none; }
  .js [data-uncover] { clip-path: none; } .js [data-uncover] img { transform: none; }
  .glow { animation: none; } .bridge { transform: none; }
}

/* ---------- merged from the single-page version: bridge scene, live objects, why Bridge, sell/buy tabs ---------- */
:root { --lamp: var(--gold); --lamp-hover: var(--gold-2); --navy-ink: #0e1330; --white: var(--ivory); --text-inv-2: var(--text-2); --line-inv: var(--line); --ease-out: var(--ease); --paper: var(--bg-3); }
.hero--scene { background: #0a1336; }
.hero--scene::before { background: linear-gradient(90deg, rgb(10 19 54 / .92) 0%, rgb(10 19 54 / .55) 38%, rgb(10 19 54 / 0) 66%), linear-gradient(0deg, rgb(10 19 54 / .8) 0%, rgb(10 19 54 / 0) 28%); }
@media (max-width: 760px) { .hero--scene::before { background: linear-gradient(180deg, rgb(10 19 54 / .85) 0%, rgb(10 19 54 / .5) 55%, rgb(10 19 54 / .1) 100%); } }
/* ---------- hero scene: night bridge in brand navy, lit by lamp amber ---------- */
.scene { position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background: radial-gradient(90% 75% at 70% 72%, #22338f 0%, #13206a 40%, #0a1336 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; will-change: transform; }
.glow--a { width: 48vw; height: 48vw; left: 46%; top: 34%; background: radial-gradient(circle, rgb(245 150 60 / .55) 0%, rgb(245 150 60 / 0) 62%); animation: drift-a 18s ease-in-out infinite alternate; }
.glow--b { width: 30vw; height: 30vw; left: 62%; top: -2%; background: radial-gradient(circle, rgb(255 210 122 / .32) 0%, rgb(255 210 122 / 0) 62%); animation: drift-b 23s ease-in-out infinite alternate; }
.glow--c { width: 64vw; height: 34vw; left: -8%; top: 64%; background: radial-gradient(closest-side, rgb(70 92 220 / .4), rgb(70 92 220 / 0)); animation: drift-b 27s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(-7vw, 4vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(6vw, 6vh) scale(.9); } }
.bridge { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(.7px); transform: translate3d(0, calc(var(--sy, 0) * 1px), 0); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lamp-halo { fill: #ffb45c; opacity: .3; animation: twinkle 3.6s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { 50% { opacity: .75; transform: scale(1.5); } }
.car { animation: drive var(--t) linear infinite; animation-delay: var(--d); }
.car--back { animation-direction: reverse; }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(1720px); } }
.grain { position: absolute; inset: -50%; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
  .bridge { width: 250%; left: -137%; right: auto; }
}

/* ---------- objects marquee ---------- */
.strip { background: var(--bg-2); padding-block: 72px 80px; overflow: hidden; border-bottom: 1px solid var(--line); }
.strip__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 36px; flex-wrap: wrap; }
.strip__head h2 { font-size: clamp(24px, 2.4vw, 36px); max-width: 18ch; }
.strip__head p { color: var(--text-inv-2); font-size: 15px; max-width: 44ch; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__group { display: flex; gap: 20px; padding: 6px 20px 6px 0; margin: 0; list-style: none; }
.obj { width: 300px; flex: none; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line-inv); transition: transform .45s var(--ease-out), box-shadow .3s; }
.obj:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(233 184 114 / .55), 0 24px 40px -24px rgb(245 150 60 / .5); }
.obj__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.obj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.obj:hover .obj__img img { transform: scale(1.05); }
.obj__badge { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: var(--lamp); color: var(--navy-ink); font-size: 12px; font-weight: 600; }
.obj--sold .obj__badge { background: rgb(14 19 48 / .72); color: var(--white); backdrop-filter: blur(6px); }
.obj__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.obj__price { font: 400 24px/1.1 var(--font-display); letter-spacing: -0.03em; }
.obj__meta { font-size: 15px; }
.obj__addr { font-size: 13px; color: var(--text-inv-2); }
.obj__acts { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.obj__call, .obj__more { min-height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; transition: background-color .2s, transform .16s var(--ease-out); }
.obj__call { flex: 1; background: var(--lamp); color: var(--navy-ink); }
.obj__call:hover { background: var(--lamp-hover); }
.obj__call svg { width: 16px; height: 16px; }
.obj__more { padding: 0 16px; box-shadow: inset 0 0 0 1px var(--line-inv); }
.obj__more:hover { background: rgb(255 255 255 / .08); }
.obj__call:active, .obj__more:active { transform: scale(.97); }
.obj--sold .obj__call { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--line-inv); }
.obj--sold .obj__call:hover { background: rgb(255 255 255 / .08); }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__track { animation: none; } }
.no-js .marquee { overflow-x: auto; }

/* ---------- why Bridge ---------- */
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); counter-reset: w; }
.why__list li { counter-increment: w; padding-top: 24px; border-top: 1px solid var(--line-inv); color: var(--text-inv-2); font-size: 16.5px; }
.why__list li::before { content: counter(w, decimal-leading-zero); display: block; margin-bottom: 20px; font: 300 14px var(--font-display); color: var(--lamp); }
.why__list b { display: block; margin-bottom: 12px; color: var(--white); font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--font-display); letter-spacing: -0.02em; }
@media (max-width: 1000px) { .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .why__list { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- sell / buy tabs ---------- */
.tabs { display: inline-flex; margin-top: 32px; padding: 5px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-weight: 600; cursor: pointer; transition: background-color .3s var(--ease-out), color .3s; }
.tabs button:hover { color: var(--ivory); }
.tabs [aria-selected="true"], .tabs [aria-selected="true"]:hover { background: var(--gold); color: #10132a; }
.steps:not([hidden]) { animation: panel .5s var(--ease-out); }
@keyframes panel { from { opacity: 0; transform: translateY(12px); } }


/* ---------- readability: nothing a reader needs is under 15px ---------- */
body { font-size: 18px; line-height: 1.65; }
.note, .crumbs, .fact span, .case__tag, .case__days, .field label, .form__fine, .footer__bottom, .sign span,
.listing__body span, .listing__body .link, .strip__head p, .obj__meta { font-size: 16px; }
.case__nums small, .obj__addr, .footer__col h3 { font-size: 15px; }
.case__note, .obj__badge { font-size: 13px; }
.nav { font-size: 16px; }
.why__list li, .point p, .step p, .qa__a p, .split__text p, .head p { font-size: 17.5px; line-height: 1.7; }
.text-3-fix, .form__fine, .footer__bottom, .case__nums small { color: var(--text-2); }
.head p, .step p, .split__text p { max-width: 62ch; }

/* filtered case rows have no big counter */
.big:empty { display: none; }
.big:empty + .cases-head__text { grid-column: 1 / span 8; }

/* ---------- owners: sale and rent side by side ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.duo__col { border-radius: var(--r); overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.duo__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo__col:hover .duo__img img { transform: scale(1.04); }
.duo__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 19 54 / .85), rgb(10 19 54 / 0) 55%); }
.duo__img h3 { position: absolute; left: 32px; bottom: 24px; z-index: 1; font: 300 clamp(30px, 3vw, 44px)/1 var(--font-display); letter-spacing: -0.04em; }
.duo__list { list-style: none; margin: 0; padding: 12px 32px 20px; }
.duo__list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.duo__list li:last-child { border-bottom: 0; }
.duo__list svg { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.duo__list h4 { margin: 0; font: 400 19px/1.3 var(--font-display); letter-spacing: -0.02em; }
.duo__list p { margin-top: 6px; color: var(--text-2); font-size: 16.5px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo__list { padding: 8px 22px 16px; } .duo__img h3 { left: 22px; } }

/* ---------- state programs ---------- */
.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.prog { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; border-radius: var(--r); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgb(234 174 63 / .1), rgb(234 174 63 / 0) 45%), var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .4s; }
.prog::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(closest-side, rgb(245 165 80 / .28), transparent); transition: transform .8s var(--ease); }
.prog:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgb(234 174 63 / .45), 0 30px 60px -30px rgb(245 150 60 / .35); }
.prog:hover::before { transform: scale(1.4); }
.prog:first-child { grid-column: span 2; background: linear-gradient(120deg, rgb(234 174 63 / .2), rgb(234 174 63 / 0) 55%), var(--bg-3); }
.prog:first-child h3 { font-size: clamp(40px, 4.4vw, 68px); }
.prog__tag { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.prog h3 { font: 300 clamp(26px, 2.4vw, 36px)/1.05 var(--font-display); letter-spacing: -0.04em; }
.prog__rate { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgb(234 174 63 / .14); color: var(--gold-2); font-size: 15px; font-weight: 600; }
.prog > p:not([class]) { color: var(--text-2); font-size: 17px; }
.prog__we { padding-top: 14px; border-top: 1px solid var(--line); font-size: 16.5px; color: var(--text-2); }
.prog__we b { color: var(--ivory); font-weight: 600; }
.prog .link { margin-top: auto; padding-top: 8px; align-self: flex-start; font-size: 16px; }
@media (max-width: 1000px) { .progs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .progs { grid-template-columns: 1fr; } .prog:first-child { grid-column: auto; } .prog { padding: 28px 22px 24px; } }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; font-size: 17.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgb(234 174 63 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6c766' stroke-width='2.4'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.person { padding: 40px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.person__mono { display: grid; place-items: center; width: 120px; height: 120px; margin-bottom: 28px; border-radius: 50%; font: 300 40px var(--font-display); letter-spacing: -0.04em; color: var(--gold-2);
  background: radial-gradient(circle at 30% 25%, rgb(234 174 63 / .3), rgb(29 39 96 / .9)); box-shadow: inset 0 0 0 1px rgb(234 174 63 / .35); }
.person h3 { font: 300 clamp(26px, 2.4vw, 36px)/1.1 var(--font-display); letter-spacing: -0.04em; }
.person__role { margin-top: 8px; color: var(--gold); font-weight: 600; font-size: 16px; }
.person p:last-child { margin-top: 16px; color: var(--text-2); }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } .person { padding: 28px 24px; } }
.sign .link { align-self: end; }
@media (max-width: 640px) { .hero--page h1 { font-size: clamp(30px, 8vw, 44px); } }
h1, h2, h3 { overflow-wrap: break-word; }

/* ---------- bridge v2: built in order — pylon rises, deck runs out, stays draw, lamps come on ---------- */
.bridge { filter: blur(.35px); }
.bridge__city { filter: blur(1.1px); opacity: .75; }
.bridge__city .win { fill: #ffcf80; opacity: 0; animation: win-on 1.2s var(--ease) forwards; animation-delay: calc(var(--d) + 1.4s); }
@keyframes win-on { to { opacity: .55; } }
.bridge__pylon { transform-box: fill-box; transform-origin: 50% 100%; animation: pylon-up 1.5s var(--ease) both .1s; }
@keyframes pylon-up { from { transform: scaleY(0); } }
.bridge__beacon { animation: beacon 2.4s steps(1) infinite 1.6s; }
@keyframes beacon { 50% { opacity: .15; } }
.bridge__girder { transform-box: fill-box; transform-origin: 0 50%; animation: deck-in 1.3s var(--ease-io) both .3s; }
@keyframes deck-in { from { transform: scaleX(0); } }
.cable { fill: none; stroke: url(#g-cable); stroke-width: .9; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards; animation-delay: calc(var(--k) * 35ms + .9s); }
.cable--back { stroke-width: .7; opacity: .32; }
.lamp-post { opacity: 0; animation: lamp-on .5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 1.3s); }
@keyframes lamp-on { 40% { opacity: 1; } 55% { opacity: .4; } to { opacity: 1; } }
.lamp { fill: #fff0cc; }
.lamp-halo { fill: #ffb54d; opacity: .45; }
.streak { opacity: 0; animation: lamp-on .5s var(--ease) forwards, shimmer 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * 45ms + 1.3s), calc(var(--i) * -.37s); }
@keyframes shimmer { 50% { opacity: .45; } }
.bridge__reflect { opacity: .38; }

/* state programs: a sample flat check that ticks itself off over the photo */
.split__media { position: relative; }
.checkcard { position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 380px; padding: 22px 24px; border-radius: 18px;
  background: rgb(10 19 54 / .72); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 30px 60px -20px rgb(0 0 0 / .5); }
.checkcard__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; }
.checkcard__head b { padding: 4px 12px; border-radius: 999px; background: rgb(234 174 63 / .18); color: var(--gold-2); font-size: 14px; }
.checkcard ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.checkcard li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgb(255 255 255 / .1); font-size: 15.5px; }
.checkcard li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .25);
  background: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1336' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-color: transparent; transition: background-color .4s var(--ease), box-shadow .4s; transition-delay: calc(1.2s + var(--i) * .45s); }
.checkcard li b { font-weight: 600; color: var(--text-2); opacity: .35; transition: opacity .4s, color .4s; transition-delay: calc(1.2s + var(--i) * .45s); }
.checkcard__foot { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--gold); color: #10132a; font-weight: 600; font-size: 15.5px; text-align: center;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: 3.2s; }
.is-in .checkcard li::before, .no-js .checkcard li::before { background-color: var(--gold); box-shadow: none; }
.is-in .checkcard li b, .no-js .checkcard li b { opacity: 1; color: var(--ivory); }
.is-in .checkcard__foot, .no-js .checkcard__foot { opacity: 1; transform: none; }
@media (max-width: 900px) { .split__media { grid-column: 1 / -1; aspect-ratio: 4 / 5; } }

/* ---------- reels from Instagram ---------- */
.reels .strip__head { align-items: center; }
.reels .strip__head .btn svg { width: 18px; height: 18px; }
.reels .marquee__group { gap: 16px; padding-right: 16px; }
.reels .marquee__track { animation-duration: 70s; }
.reel { position: relative; display: block; width: 236px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .4s; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 19 54 / .92) 0%, rgb(10 19 54 / .2) 42%, rgb(10 19 54 / 0) 60%); }
.reel:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px var(--gold), 0 30px 50px -24px rgb(234 174 63 / .5); }
.reel:hover img { transform: scale(1.06); }
.reel__play { position: absolute; z-index: 1; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / .18); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); color: #fff; transition: transform .4s var(--ease), background-color .3s; }
.reel__play svg { width: 18px; height: 18px; margin-left: 2px; }
.reel:hover .reel__play { transform: scale(1.12); background: var(--gold); color: #10132a; }
.reel__body { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 8px; }
.reel__views { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.reel__views svg { width: 16px; height: 16px; }
.reel__cap { font-size: 16px; font-weight: 600; line-height: 1.35; color: #fff; }
@media (max-width: 640px) { .reel { width: 190px; } .reel__cap { font-size: 15px; } }

.player { width: min(400px, 92vw); padding: 0; border: 0; border-radius: 20px; background: var(--bg-2); color: var(--ivory); box-shadow: 0 40px 120px rgb(0 0 0 / .6); overflow: hidden; }
.player::backdrop { background: rgb(5 10 30 / .78); backdrop-filter: blur(6px); }
.player iframe { display: block; width: 100%; height: min(78vh, 700px); border: 0; background: #fff; }
.player__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; }
.player__bar .link { font-size: 16px; }
.player__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.player__close:hover { background: var(--gold); color: #10132a; }

/* phones: the bridge opens the screen as its own band above the headline instead of hiding behind the text */
@media (max-width: 760px) {
  .hero--scene .wrap { padding-top: 330px; padding-bottom: 72px; }
  .hero--scene .bridge { top: 0; bottom: auto; height: 440px; }
  .hero--scene::before { background: linear-gradient(180deg, rgb(10 19 54 / 0) 0%, rgb(10 19 54 / 0) 34%, rgb(10 19 54 / .88) 50%, rgb(10 19 54 / .95) 100%); }
}

/* phones and tablets: CSS blur and the animated water filter make Safari re-render the whole SVG every frame,
   so the bridge build ran at a few fps ("slides"). Without the filters the same animation runs smoothly. */
@media (max-width: 760px), (hover: none) {
  .bridge, .bridge__city { filter: none; }
  .bridge g[filter] { filter: none; }
  .bridge__reflect { opacity: .28; }
}

/* ---------- team page: typographic hero with the founders, hiring block on ivory ---------- */
.team-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(72px, 9vw, 130px);
  background: radial-gradient(60% 70% at 85% 30%, rgb(234 174 63 / .14), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgb(31 47 134 / .55), transparent 70%), var(--bg); }
.team-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.team-hero__text { grid-column: 1 / span 6; }
.team-hero h1 { font-size: clamp(40px, 5.6vw, 92px); max-width: 11ch; }
.team-hero .lead { margin-top: 28px; max-width: 46ch; }
.team-hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.founders { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.founder { border-radius: var(--r); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.founder img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder__body { padding: 20px 22px 24px; }
.founder h2 { font: 300 clamp(20px, 1.7vw, 26px)/1.1 var(--font-display); letter-spacing: -0.035em; }
.founder__role { margin-top: 6px; color: var(--gold); font-weight: 600; font-size: 15px; }
.founder__stats { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.founder__stats div { padding-top: 10px; border-top: 1px solid var(--line); }
.founder__stats dt { font-size: 13px; color: var(--text-3); }
.founder__stats dd { margin: 2px 0 0; font: 300 clamp(22px, 1.8vw, 28px)/1.1 var(--font-display); letter-spacing: -0.03em; }
.founder__fact { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgb(234 174 63 / .12); box-shadow: inset 0 0 0 1px rgb(234 174 63 / .35); display: grid; gap: 2px; }
.founder__fact span { font-size: 13px; color: var(--gold-2); }
.founder__fact b { font: 400 clamp(20px, 1.6vw, 24px)/1.15 var(--font-display); letter-spacing: -0.03em; color: var(--ivory); }
.values { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 640px; }
.values li { padding-top: 14px; border-top: 2px solid var(--gold); display: grid; gap: 6px; align-content: start; }
.values b { font-weight: 600; font-size: 17px; }
.values span { color: var(--text-2); font-size: 15px; line-height: 1.5; }

.careers { background: var(--ivory); color: var(--bg); }
.careers .head p, .careers p { color: #3d4570; }
.careers h2, .careers h3 { color: var(--bg); }
.careers__tag { display: inline-block; margin-bottom: 24px; padding: 6px 14px; border-radius: 999px; background: var(--bg); color: var(--gold-2) !important; font-weight: 600; font-size: 14px; }
.give { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.give li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 rgb(10 19 54 / .06), 0 18px 40px -28px rgb(10 19 54 / .35); }
.give svg { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--bg); color: var(--gold-2); }
.give h3 { font-size: 20px; }
.give p { margin-top: 8px; }
.careers__row { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); }
.careers__row > div > h3 { font: 300 clamp(26px, 2.4vw, 36px)/1.1 var(--font-display); letter-spacing: -0.035em; margin-bottom: 24px; }
.want .ticks li { color: #2a3160; }
.hire ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hire li { padding-top: 20px; border-top: 2px solid var(--bg); }
.hire li .num { font: 300 34px var(--font-display); color: var(--gold); }
.hire li h3 { margin-top: 10px; font-size: 19px; }
.hire li p { margin-top: 8px; font-size: 16px; }
.apply { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: clamp(24px, 4vw, 56px); border-radius: calc(var(--r) * 1.4); background: var(--bg); color: var(--ivory); }
.apply__text { grid-column: 1 / span 5; }
.apply__text h3 { color: var(--ivory); font: 300 clamp(30px, 3vw, 48px)/1.05 var(--font-display); letter-spacing: -0.04em; }
.apply__text p { margin-top: 18px; color: var(--text-2) !important; }
.apply .form { grid-column: 6 / span 7; }
.apply .form p { color: var(--text-2); }

.team-client__box { text-align: center; display: grid; justify-items: center; }
.team-client__box > p { margin-top: 18px; color: var(--text-2); }
.team-client .quick { margin-top: 32px; }

@media (max-width: 980px) {
  .team-hero__text, .founders { grid-column: 1 / -1; }
  .founders { margin-top: 24px; }
  .careers__row { grid-template-columns: 1fr; }
  .apply__text, .apply .form { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .give { grid-template-columns: 1fr; }
  .give li { grid-template-columns: 1fr; padding: 22px; }
  .founders { gap: 12px; }
  .founder__body { padding: 14px 14px 18px; }
  .founder h2 { font-size: 16px; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .founder__role { font-size: 13px; }
  .founder__stats { grid-template-columns: auto auto; justify-content: start; gap: 14px; } .founder__stats dd { font-size: 17px; white-space: nowrap; } .founder__fact { padding: 10px; } .founder__fact b { font-size: 17px; } .founder__fact span, .founder__stats dt { font-size: 12px; }
  .values { grid-template-columns: 1fr; gap: 14px; }
  .hire ol { grid-template-columns: 1fr; }
  .apply { padding: 20px 16px; }
  .apply .form { padding: 18px; grid-template-columns: 1fr; }
  .team-hero__cta .btn { width: 100%; justify-content: center; }
}

/* home: founders' faces next to their signatures */
.sign div:has(.sign__face) { display: flex; align-items: center; gap: 16px; border-top: 0; padding-top: 0; }
.sign__face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); }

/* hero bridge parallax on the compositor where supported: the JS version lagged a frame behind the scroll and jittered */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .bridge { transform: none; animation: bridge-par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes bridge-par { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 25vh, 0); } }
  }
}

/* reels strip is a real scroller now: swipe, drag, wheel, arrows; JS drifts it */
.reels .marquee { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.reels .marquee::-webkit-scrollbar { display: none; }
.reels .marquee__track { animation: none; }
.reels .marquee.is-drag { cursor: grabbing; }
.reels .marquee.is-drag a { pointer-events: none; }
.reels__ctrl { display: flex; align-items: center; gap: 16px; }
@media (max-width: 760px) { .reels__ctrl .arrows { display: none; } }

/* objects from rieltor.ua: four in a row, sale / rent tabs, link to the source listing */
.listings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.obj-tabs { margin-bottom: 32px; }
.listing__price small { display: block; margin-top: 6px; font: 400 14px var(--font-text); color: var(--text-3); letter-spacing: 0; }
.listing h3 { font-size: 18px; line-height: 1.3; }
.listing__agent { color: var(--gold) !important; font-size: 14px !important; font-weight: 600; }
.listing__links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.listing__body { flex: 1; }
.listing__body .listing__links .link { margin-top: 0; }
.listing__src { font-size: 14px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.listing__src:hover { color: var(--ivory); }
@media (max-width: 1100px) { .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .listings { grid-template-columns: 1fr; } }
.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hire ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .values, .hire ol { grid-template-columns: 1fr; } }
.listings[hidden] { display: none; }
