/* =====================================================================
   FOREAL – real-estate landing template
   Design tokens, typography, layout, animation. Edit the :root tokens
   to re-skin the whole site for a new client.
   ===================================================================== */

:root {
  /* colour tokens (from the Framer project) */
  --blue: #16232b;
  --white: #ffffff;
  --gray: #4f5f69;
  --pink: #ffd4c6;
  --red: #7e4b3a;
  --orange: #ffebc6;
  --bg: #f8f8f8;
  --mid: #c7c7c7;
  --light: #d9d9d9;
  --blue-12: rgba(21, 34, 43, 0.12);
  --dark-54: rgba(4, 19, 25, 0.54);
  --dark-50: rgba(22, 35, 43, 0.5);
  --sky: rgb(200, 222, 230);

  /* fonts */
  --f-body: "Inter", system-ui, sans-serif;
  --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-logo: "Host Grotesk", "Inter", sans-serif;

  /* layout */
  --maxw: 1356px;
  --pad: 30px;
  --radius: 20px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.35, 0.5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--blue);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- typography ------------------------------------------------ */
.eyebrow { font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; color: var(--gray); }
.h2 { font: 400 80px/1 var(--f-head); letter-spacing: -0.04em; color: var(--blue); }
.h3 { font: 400 60px/60px var(--f-head); letter-spacing: -0.04em; color: var(--blue); }
.h4 { font: 400 30px/36px var(--f-head); letter-spacing: -0.02em; color: var(--blue); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.body-l { font: 400 18px/1.4 var(--f-body); letter-spacing: -0.05em; color: var(--gray); }
.body-m { font: 400 16px/1.5 var(--f-body); letter-spacing: -0.06em; color: var(--gray); }
.label { font: 500 18px/20px var(--f-head); letter-spacing: -0.02em; }
.small { font: 400 14px/1.3 var(--f-body); letter-spacing: -0.04em; }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; }

/* ---------- buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 53px; padding: 0 36px; border-radius: 10px;
  font: 500 18px/20px var(--f-head); letter-spacing: -0.02em;
  background: var(--blue); color: var(--white);
  transition: transform 0.35s var(--spring), background-color 0.25s, color 0.25s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--gray); }
.btn:active { transform: scale(0.97); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--light); }
.btn--line { background: transparent; border: 1px solid var(--white); }

/* ---------- scroll reveal -------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--ry, 0px), 0) scale(var(--rs, 1));
  transition: opacity 0.8s var(--ease) var(--rd, 0s), transform 0.95s var(--spring) var(--rd, 0s);
  will-change: opacity, transform;
}
[data-reveal="up"] { --ry: 30px; }
[data-reveal="up-sm"] { --ry: 20px; }
[data-reveal="up-lg"] { --ry: 56px; --rs: 0.94; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* hero entrance (replayed on slide change) */
@keyframes rise { from { opacity: 0; transform: translateY(var(--from, 20px)); } to { opacity: 1; transform: none; } }
@keyframes titleIn { from { opacity: 0; transform: scale(1.2); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- navigation ------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.4s, box-shadow 0.4s; color: var(--white); }
.nav__bar {
  max-width: var(--maxw); margin: 0 auto; padding: 15px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.nav.is-solid { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--blue-12); color: var(--blue); }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 700 25px/1 var(--f-logo); letter-spacing: -0.06em; }
.logo .ico { width: 19px; height: 19px; }
.nav__menu { display: flex; gap: 57px; position: absolute; left: 50%; transform: translateX(-50%); }
.roll { display: block; height: 20px; overflow: hidden; font: 500 18px/20px var(--f-head); letter-spacing: -0.02em; }
.roll span { display: block; transition: transform 0.45s var(--ease); }
.roll:hover span { transform: translateY(-20px); }
.roll em { display: block; font-style: normal; height: 20px; }
.nav__cta { display: flex; align-items: center; gap: 30px; }
.nav .btn { transition: transform 0.35s var(--spring), background-color 0.25s; }
.nav.is-solid .btn { background: var(--blue); color: var(--white); }
.burger { display: none; width: 29px; height: 19px; color: inherit; }
.burger svg { width: 29px; height: 19px; stroke: currentColor; }
.menu-panel {
  position: absolute; right: var(--pad); top: calc(100% - 4px); width: 356px; max-width: calc(100vw - 2 * var(--pad));
  background: var(--white); color: var(--blue); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 30px;
  opacity: 0; transform: translateY(-10px) scale(0.98); transform-origin: top right; pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--spring); box-shadow: 0 20px 60px rgba(22, 35, 43, 0.18);
}
.menu-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.menu-panel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.menu-panel__links { display: flex; flex-direction: column; gap: 22px; font: 500 24px/1 var(--f-head); letter-spacing: -0.02em; }
.menu-close { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: var(--white); font-size: 18px; line-height: 1; }
.menu-panel hr { border: 0; height: 1px; background: var(--blue-12); width: 100%; margin: 0; }
.menu-panel .small, .menu-panel a.small { font: 500 14px/1.4 var(--f-body); letter-spacing: -0.06em; }
.menu-panel__socials { display: flex; flex-direction: column; gap: 10px; color: var(--gray); }

/* ---------- hero ------------------------------------------------------ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 700px; overflow: hidden; color: var(--white); background: var(--blue); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__bg.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 20, 28, 0.35) 0%, rgba(8, 20, 28, 0) 28%, rgba(8, 20, 28, 0) 62%, rgba(8, 20, 28, 0.22) 100%); }
.hero__inner {
  position: relative; z-index: 3; height: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 112px var(--pad) 22px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero__text { container-type: inline-size; display: flex; flex-direction: column; gap: 14px; }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }
.hero__meta p:first-child { width: 131px; }
.hero__line { height: 1px; background: rgba(255, 255, 255, 0.2); }
.hero__title { font: 500 8.84cqw/1.143 var(--f-head); letter-spacing: -0.04em; text-align: center; white-space: nowrap; }
.hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.hero__title .br { display: inline; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero__btn { align-self: flex-end; }

.promos { position: absolute; left: calc(50% - 76px); bottom: 0; width: 152px; height: 217px; }
.promo {
  position: absolute; inset: 0; border-radius: 20px; background: var(--white); padding: 6px; color: var(--blue);
  display: flex; flex-direction: column; gap: 14px; opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--spring);
}
.promo.is-active { opacity: 1; pointer-events: auto; transform: none; }
.promo__win { width: 100%; height: 112px; border-radius: 17px; background-repeat: no-repeat; flex: none; }
.promo__body { padding: 0 8px 8px; display: flex; flex-direction: column; flex: 1; }
.promo__body h4 { font: 500 18px/20px var(--f-head); letter-spacing: -0.02em; }
.promo__body .small { color: var(--gray); }
.promo__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; color: var(--gray); }
.promo__foot .ico { width: 12px; height: 12px; color: var(--blue); transition: transform 0.4s var(--spring); }
.promo:hover .promo__foot .ico { transform: translate(3px, 3px); }

.hero__counter { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 176px; }
.hero__arrows { display: flex; gap: 10px; align-items: center; }
.hero__arrows button { color: var(--white); height: 20px; display: flex; align-items: center; transition: transform 0.35s var(--spring), opacity .3s; }
.hero__arrows button:first-child { opacity: 0.85; }
.hero__arrows button:hover { transform: translateX(var(--nudge, 4px)); }
.hero__arrows button:first-child:hover { --nudge: -4px; }
.hero__arrows svg { height: 15px; width: auto; fill: currentColor; }
.hero__count { font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; cursor: pointer; }

/* replay animations when .is-play is (re)applied */
.is-play .hero__title { animation: titleIn 1.1s var(--spring) both; }
.is-play .hero__meta p, .is-play .hero__line { animation: fadeIn 0.9s var(--ease) 0.6s both; }
.is-play .hero__btn { animation: rise 0.9s var(--ease) 0.3s both; --from: 50px; }
.is-play .hero__counter { animation: fadeIn 0.9s var(--ease) 0.6s both; }
.is-play .promo.is-active { animation: rise 1.3s var(--spring) both; --from: 20px; }

/* ---------- listings -------------------------------------------------- */
.listings { padding: 80px var(--pad); background: var(--bg); }
.listings .container { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.tabs { display: flex; gap: 4px; justify-content: center; }
.tab { padding: 6px 12px; border-radius: 10px; background: var(--white); color: var(--gray); font: 600 14px/1.3 var(--f-body); letter-spacing: -0.02em; text-transform: uppercase; transition: background-color 0.25s, color 0.25s, transform 0.3s var(--spring); }
.tab:hover { transform: translateY(-1px); }
.tab.is-active { background: var(--blue); color: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.card-l { display: block; background: var(--white); border-radius: var(--radius); padding-bottom: 16px; overflow: hidden; transition: transform 0.5s var(--spring), box-shadow 0.4s; }
.card-l:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 35, 43, 0.08); }
.card-l.is-hidden { display: none; }
.card-l__img { position: relative; height: 260px; border-radius: 14px 14px 0 0; overflow: hidden; }
.card-l__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-l:hover .card-l__img img { transform: scale(1.05); }
.card-l__tags { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; }
.chip { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; background: var(--white); font: 600 14px/1 var(--f-body); letter-spacing: -0.02em; text-transform: uppercase; }
.chip--type { background: var(--orange); color: var(--red); padding: 0 10px; }
.card-l__body { padding: 19px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.card-l__title { font: 500 16px/20px var(--f-head); letter-spacing: -0.02em; transition: color 0.25s; }
.card-l:hover .card-l__title { color: var(--gray); }
.card-l__loc { display: flex; align-items: center; gap: 6px; color: var(--gray); }
.card-l__loc .ico { width: 14px; height: 17px; color: var(--mid); }
.card-l__rule { height: 1px; background: var(--bg); background: #ececec; margin: 4px 0 6px; }
.card-l__meta { display: flex; justify-content: space-between; align-items: center; }
.card-l__stats { display: flex; gap: 16px; color: var(--gray); }
.card-l__stats span { display: inline-flex; align-items: center; gap: 6px; }
.card-l__stats .ico { color: var(--mid); width: 18px; height: 15px; }
.card-l__price { font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }

/* ---------- features / about ----------------------------------------- */
.features { position: relative; overflow: clip; padding: 50px var(--pad) 0; background: linear-gradient(180deg, var(--sky) 30%, var(--white) 125%); display: flex; flex-direction: column; gap: 39px; }
.features__mark { position: absolute; top: 50px; left: 0; right: 0; margin: 0 auto; width: min(1140px, calc(100% - 60px)); z-index: 0; pointer-events: none; text-align: center; }
.features__mark span { display: inline-block; font: 600 100px/0.95 var(--f-head); letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.3); white-space: nowrap; }
.features__head { position: relative; z-index: 1; height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.features__bg-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 742px; background: url("https://framerusercontent.com/images/kXVCnlyTmcJWuE4Mcy7sziUcNS0.png") center bottom / 100% 100% no-repeat; z-index: 0; pointer-events: none; }
.features__tower { position: absolute; left: -32px; bottom: 0; width: 912px; max-width: none; z-index: 1; pointer-events: none; }
.features__row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 16px; width: 367px; }
.card-d { background: var(--blue); border-radius: var(--radius); padding: 6px 6px 35px; display: flex; flex-direction: column; gap: 30px; }
.card-d__img { height: 241px; border-radius: 14px; overflow: hidden; }
.card-d__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-d:hover .card-d__img img { transform: scale(1.06); }
.card-d__row { display: flex; justify-content: space-between; padding: 0 20px; color: var(--white); }
.card-d__row span:last-child { color: var(--mid); }
.card-d p { padding: 0 20px; color: var(--mid); margin-top: -14px; max-width: 317px; }
.features__content { position: sticky; top: 120px; width: 370px; display: flex; flex-direction: column; gap: 20px; }
.features__content .h3 { text-align: left; }
.features__titlegrp { display: flex; flex-direction: column; gap: 16px; }
.cta-row { display: flex; align-items: center; gap: 16px; padding: 2px; }
.avatars { display: flex; align-items: center; position: relative; height: 60px; }
.avatars img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white); margin-right: -20px; background: #ddd; position: relative; }
.avatars .arrow-btn { width: 60px; height: 60px; position: relative; flex: none; transition: transform 0.4s var(--spring); }
.avatars + .cta-label { margin-left: 0; }
.avatars:hover .arrow-btn { transform: translateX(4px); }
.cta-label { font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; color: var(--gray); }

.stats { position: relative; z-index: 2; width: 100%; padding: 50px 0 0; display: flex; flex-direction: column; gap: 48px; }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.stat { position: relative; height: 292px; border-radius: 19px; padding: 28px 0 0 28px; background-size: cover; background-position: center; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 28px; }
.stat__num { display: flex; align-items: baseline; font: 400 67px/1 var(--f-body); letter-spacing: -0.04em; }
.stat__num .h3 { font-size: 60px; color: inherit; text-align: left; }
.stat__lbl { font: 500 18px/20px var(--f-head); letter-spacing: -0.02em; margin-top: 4px; }
.stat__desc { max-width: 140px; font: 400 16px/1.5 var(--f-body); letter-spacing: -0.06em; }
.stat--1 { color: var(--blue); } .stat--1 .stat__desc { color: var(--gray); }
.stat--2 { color: var(--blue); } .stat--2 .stat__desc { color: var(--gray); }
.stat--3 { color: var(--white); } .stat--3 .stat__desc { color: #f4f4f4; }
.filters { width: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 42px; padding-bottom: 22px; }
.filters__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filter { display: inline-flex; align-items: center; gap: 12px; font: 500 18px/20px var(--f-head); letter-spacing: -0.02em; }
.filter .ico { width: 12px; height: 12px; color: var(--mid); transition: transform 0.4s var(--spring), color 0.25s; }
.filter:hover .ico { transform: translate(3px, 3px); color: var(--blue); }
.filter.is-current .ico { color: var(--blue); }
.filters hr { border: 0; height: 1px; background: var(--blue); width: 100%; margin: 0; opacity: 0.9; }

/* ---------- showreel -------------------------------------------------- */
.showreel { padding: 80px var(--pad) 48px; display: flex; flex-direction: column; gap: 32px; align-items: center; background: var(--bg); }
.showreel__title { display: flex; flex-direction: column; align-items: center; }
.showreel__line { display: flex; gap: 8px; align-items: baseline; justify-content: center; }
.video-card { position: relative; width: 100%; max-width: var(--maxw); height: 654px; border-radius: var(--radius); overflow: hidden; background: var(--blue) center / cover no-repeat; cursor: pointer; }
.video-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.video-card.is-playing video { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; transition: transform 0.4s var(--spring), opacity 0.3s; z-index: 2; }
.play svg { width: 62px; height: 62px; }
.video-card:hover .play { transform: scale(1.12); }
.video-card.is-playing .play { opacity: 0; pointer-events: none; }

/* ---------- neighborhoods -------------------------------------------- */
.hoods { padding: 90px var(--pad) 70px; background: var(--bg); }
.hoods .container { display: flex; flex-direction: column; gap: 32px; }
.hoods__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hoods__head > div { display: flex; flex-direction: column; gap: 4px; }
.hoods__head .h3 { text-align: left; }
.hoods__head .body-l { width: 311px; }
.hood { display: block; background: var(--white); border-radius: var(--radius); padding-bottom: 24px; overflow: hidden; transition: transform 0.5s var(--spring), box-shadow 0.4s; }
.hood:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 35, 43, 0.08); }
.hood__img { height: 255px; border-radius: 14px 14px 0 0; overflow: hidden; }
.hood__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.hood:hover .hood__img img { transform: scale(1.06); }
.hood__info { padding: 20px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.hood__name { display: flex; align-items: center; gap: 6px; }
.hood__name .ico { width: 16px; height: 16px; color: var(--mid); }
.hood__tags { color: var(--gray); }

/* ---------- reviews --------------------------------------------------- */
.reviews { padding: 80px var(--pad); background: var(--bg); overflow: clip; }
.reviews .container { max-width: 1140px; display: flex; flex-direction: column; gap: 32px; }
.slider { position: relative; width: 100%; height: 553px; touch-action: pan-y; user-select: none; }
.slide { position: absolute; left: 0; top: 0; width: 374px; height: 553px; padding: 0 5px 0 0; transition: transform 0.85s var(--spring), opacity 0.5s; will-change: transform; }
.op { width: 363px; height: 520px; margin-top: 0; background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.op__top { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.op__top .h4 { flex: 1; }
.op__photo { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex: none; }
.op__quote { display: flex; flex-direction: column; gap: 30px; }
.op__by { display: flex; justify-content: space-between; align-items: center; font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }
.op__by .where { display: inline-flex; gap: 6px; align-items: center; }
.op__by .ico { width: 14px; height: 17px; color: var(--mid); }
.opv { position: relative; width: 367px; height: 525px; border-radius: var(--radius); overflow: hidden; background: var(--blue); color: var(--white); cursor: pointer; }
.opv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 125px; background: linear-gradient(180deg, rgba(21, 34, 43, 0.12) 43%, var(--blue) 230%); pointer-events: none; }
.opv .op__by { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 2; }
.opv .ico { color: var(--white); }
.opv .play { z-index: 3; }
.opv.is-playing .play { opacity: 0; pointer-events: none; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mid); transition: background-color 0.3s, transform 0.3s var(--spring); }
.dot.is-active { background: var(--blue); transform: scale(1.1); }

/* ---------- team ------------------------------------------------------ */
.team { position: relative; overflow: hidden; padding: 80px var(--pad) 450px; background: url("https://framerusercontent.com/images/ogjHtPwHMpqNpB92Gtwfv87jI.png") center bottom / cover no-repeat, var(--sky); }
.team .container { position: relative; display: flex; flex-direction: column; gap: 60px; align-items: center; }
.team__mark { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: min(1140px, 100%); text-align: center; pointer-events: none; z-index: 0; }
.team__mark span { display: inline-block; font: 600 200px/1 var(--f-head); letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.2); white-space: nowrap; }
.team__head, .team__grid { position: relative; z-index: 1; }
.team__grid { width: 100%; display: grid; grid-template-columns: 187fr 250fr 250fr 187fr 187fr; gap: 20px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 60px; }
.expert__img { width: 100%; border-radius: 20px; overflow: hidden; aspect-ratio: 187 / 214; background: #dcd7d1; }
.col--lg .expert__img { aspect-ratio: 250 / 288; }
.expert__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.expert:hover .expert__img img { transform: scale(1.05); }
.expert__txt { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.expert__txt b { font: 600 14px/1.3 var(--f-body); letter-spacing: -0.02em; text-transform: uppercase; }
.expert__txt span { font: 400 14px/1.3 var(--f-body); letter-spacing: -0.04em; }
.team__desc { width: 200px; font: 400 18px/1.4 var(--f-body); letter-spacing: -0.05em; color: var(--blue); }

/* ---------- faq ------------------------------------------------------- */
.faq { padding: 80px var(--pad); background: var(--bg); }
.faq .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.faq__side { display: flex; flex-direction: column; gap: 45px; }
.faq__side .h3 { text-align: left; width: 294px; margin-top: 4px; }
.faq__list { flex: 1; max-width: 753px; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--white); border-radius: var(--radius); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 35px 32px 36px; text-align: left; font: 500 24px/20px var(--f-head); letter-spacing: -0.02em; }
.qa__q .ico { width: 12px; height: 12px; transition: transform 0.5s var(--spring); }
.qa.is-open .qa__q .ico { transform: rotate(-90deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 35px 32px 36px; margin-top: -4px; }

/* ---------- inquiry form --------------------------------------------- */
.inquiry { position: relative; padding: 80px var(--pad); display: flex; flex-direction: column; align-items: center; gap: 80px; background: url("https://framerusercontent.com/images/WJcUIurh1DhFqRVWKNosxYzb7A.png") center / cover no-repeat, var(--blue); color: var(--white); overflow: hidden; }
.inquiry__wrap { width: 100%; max-width: 754px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.inquiry .h3, .inquiry .eyebrow { color: var(--white); }
.form-card { width: 100%; border-radius: var(--radius); background: var(--white); padding: 6px; display: grid; grid-template-columns: 362px 1fr; gap: 38px; color: var(--blue); }
.form-card__win { border-radius: 14px; min-height: 596px; padding: 30px 37px; color: var(--white); background-repeat: no-repeat; }
.form-card__win .h4 { color: var(--white); }
.form-card__win .h4.serif { font-size: 30px; line-height: 28px; }
.form-card__fields { padding: 30px 41px 30px 0; display: flex; flex-direction: column; gap: 24px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 2px; }
.field label { font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(22, 35, 43, 0.55); border-radius: 0; background: transparent;
  padding: 0; height: 48px; font: 400 14px/1.3 var(--f-body); color: var(--blue); outline: none; transition: border-color 0.3s;
}
.field textarea { height: 84px; padding-top: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dark-54); }
.field input:focus, .field textarea:focus { border-color: var(--blue); border-bottom-width: 2px; }
.form .btn { width: 100%; margin-top: 2px; font-family: var(--f-body); font-size: 15px; font-weight: 500; }
.form-ok { display: none; color: var(--gray); font-size: 14px; }
.form.is-sent .form-ok { display: block; }
.inquiry__big { display: flex; gap: 15px; align-items: baseline; justify-content: center; flex-wrap: wrap; font: 400 80px/1 var(--f-head); letter-spacing: -0.04em; color: var(--white); text-align: center; }
.inquiry__big .serif { font-size: 80px; }

/* ---------- footer ---------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding: 80px var(--pad) 32px; }
.footer__mark { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: min(1140px, 100%); text-align: center; pointer-events: none; }
.footer__mark span { display: inline-block; font: italic 400 300px/1 var(--f-serif); color: var(--dark-54); white-space: nowrap; }
.footer__inner { position: relative; display: flex; flex-direction: column; gap: 64px; max-width: var(--maxw); margin: 0 auto; }
.footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer__links { display: flex; flex-direction: column; gap: 7px; font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; color: var(--mid); }
.footer__links a { transition: color 0.25s; }
.footer__links a:hover { color: var(--white); }
.footer__social { width: 227px; display: flex; flex-direction: column; gap: 64px; font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }
.footer__social .addr { display: flex; flex-direction: column; gap: 21px; color: #f4f4f4; }
.footer__social .socials { display: flex; flex-direction: column; gap: 10px; color: var(--gray); }
.footer__social .socials a:hover { color: var(--white); }
.footer__news { width: 295px; display: flex; flex-direction: column; gap: 22px; }
.footer__news .h4 { color: #f4f4f4; }
.news { position: relative; }
.news input { width: 100%; height: 47px; background: var(--blue); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px; padding: 0 56px 0 14px; color: var(--white); font: 400 15px/1 var(--f-body); outline: none; transition: border-color 0.3s; }
.news input:focus { border-color: var(--white); }
.news input::placeholder { color: var(--gray); }
.news button { position: absolute; right: 4px; top: 3.5px; width: 40px; height: 40px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; }
.news button svg { width: 22px; fill: var(--white); transition: transform 0.35s var(--spring); }
.news button:hover svg { transform: translateX(3px); }
.contact { display: flex; flex-direction: column; gap: 20px; font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }
.contact div { display: flex; flex-direction: column; gap: 2px; }
.contact small { font-size: 14px; color: var(--mid); }
.contact .serif { font-size: 30px; line-height: 28px; letter-spacing: -0.02em; }
.footer__bottom { display: flex; flex-direction: column; gap: 24px; position: relative; }
.footer__bottom hr { border: 0; height: 1px; background: #f4f4f4; opacity: 0.25; margin: 0; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 30px; font: 500 14px/1.3 var(--f-body); letter-spacing: -0.06em; }
.footer__bar > div { display: flex; align-items: center; gap: 5px; }
.footer__spacer { height: 190px; }

/* ---------- responsive ------------------------------------------------ */
@media (max-width: 1199px) {
  .h2 { font-size: 64px; }
  .h3 { font-size: 50px; line-height: 60px; }
  .h4 { font-size: 24px; line-height: 33px; }
  .nav__menu { display: none; }
  .burger { display: block; }
  .hero__title { font-size: 14.8cqw; line-height: 1.036; white-space: normal; }
  .hero__title .br { display: block; }
  .hero__line { display: block; }
  .team__mark span, .features__mark span { font-size: 130px; }
  .footer__mark span { font-size: 220px; }
  .features__row { flex-direction: column; align-items: center; gap: 40px; }
  .features__content { position: static; width: 100%; max-width: 560px; }
  .stack { width: 100%; max-width: 420px; }
  .features__tower { left: 50%; transform: translateX(-60%); opacity: 0.55; }
  .features__head { height: 240px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .team { padding-bottom: 320px; }
  .col { gap: 30px; }
  .faq .container { flex-direction: column; }
  .faq__list { max-width: none; width: 100%; }
  .inquiry__big, .inquiry__big .serif { font-size: 64px; }
  .footer__row { flex-wrap: wrap; }
  .video-card { height: 420px; }
  .hoods__head .body-l { width: 240px; }
}
@media (max-width: 809px) {
  :root { --pad: 20px; }
  .h2 { font-size: 51px; }
  .h3 { font-size: 42px; line-height: 41px; }
  .h4 { font-size: 22px; line-height: 27px; }
  .nav__cta .btn { display: none; }
  .hero__inner { padding-top: 100px; }
  .hero__bottom { flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; }
  .promos { position: relative; left: auto; bottom: auto; width: 160px; height: 65px; order: -1; }
  .promo { flex-direction: row; padding: 10px; border-radius: 10px; gap: 10px; align-items: center; }
  .promo__win { width: 45px; height: 45px; border-radius: 8px; }
  .promo__body { padding: 0; justify-content: center; }
  .promo__body .small, .promo__foot .small { display: none; }
  .promo__foot { display: none; }
  .hero__count { display: none; }
  .hero__counter { align-items: center; width: auto; }
  .hero__title { font-size: 14.8cqw; }
  .hero__meta p:first-child { width: 110px; }
  .grid-3 { grid-template-columns: 1fr; }
  .tabs { flex-wrap: wrap; }
  .stats__row { grid-template-columns: 1fr; }
  .filters__row { gap: 14px 24px; justify-content: flex-start; }
  .showreel__line { flex-wrap: wrap; }
  .video-card { height: 300px; }
  .hoods__head { flex-direction: column; align-items: flex-start; }
  .hoods__head .body-l { width: auto; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .team__desc { grid-column: 1 / -1; width: auto; }
  .team__mark span { font-size: 90px; }
  .features__mark span { font-size: 100px; }
  .qa__q { font-size: 20px; line-height: 24px; padding: 24px 22px; }
  .qa__a p { padding: 0 22px 24px; }
  .form-card { grid-template-columns: 1fr; gap: 0; }
  .form-card__win { min-height: 200px; padding: 30px; }
  .form-card__fields { padding: 24px 20px; }
  .inquiry__big, .inquiry__big .serif { font-size: 44px; }
  .footer__row { flex-direction: column; }
  .footer__news, .footer__social { width: 100%; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .footer__mark span { font-size: 120px; }
  .footer__spacer { height: 70px; }
  .slider { height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- scroll animation helpers -------------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--pink), var(--blue)); pointer-events: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.16em; margin: 0 -0.04em -0.16em; }
.wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease) calc(var(--i, 0) * 70ms); will-change: transform; }
[data-split].is-in .wi { transform: none; }
.hero__text, .features__tower, .features__mark, .team__mark, .footer__mark, .video-card, .mapcard, .stat, .card-d__img img { will-change: translate, scale; }
.card-d__img, .stat { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .wi { transform: none; transition: none; } .scroll-progress { display: none; } }
