@charset "utf-8";

@font-face {
  font-family: "Manrope Var";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope Var";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope Var";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-var-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Cormorant Garamond Var";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond Var";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond Var";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-var-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --bg: #10110d;
  --bg-deep: #080907;
  --surface: rgba(246, 241, 231, .055);
  --surface-strong: rgba(246, 241, 231, .095);
  --ink: #f4f0e7;
  --ink-soft: rgba(244, 240, 231, .72);
  --ink-muted: rgba(244, 240, 231, .52);
  --line: rgba(244, 240, 231, .13);
  --line-strong: rgba(244, 240, 231, .22);
  --gold: #c7a86a;
  --gold-bright: #e0c986;
  --green: #6d775e;
  --stone: #b7b0a2;
  --shadow: 0 24px 64px rgba(0, 0, 0, .42);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Manrope Var", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --serif: "Cormorant Garamond Var", "Times New Roman", Georgia, serif;
  --container: min(1500px, calc(100vw - clamp(32px, 7vw, 120px)));
  --header-h: 74px;
  --cursor-x: 50%;
  --cursor-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(135deg, #0c0d0a 0%, #14140f 42%, #0a0d09 100%);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background:
    linear-gradient(120deg, rgba(199, 168, 106, .06), transparent 36%, rgba(109, 119, 94, .07) 70%, transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 84px);
}

.grain {
  position: fixed;
  inset: -60px;
  z-index: 500;
  pointer-events: none;
  opacity: .045;
  /* No mix-blend-mode: blending a full-viewport layer against everything
     beneath it forces the compositor to re-evaluate on every scroll/paint,
     which is a real jank source. Plain low-opacity noise reads almost the
     same against this dark palette without that cost. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.1s steps(4) infinite;
}

@keyframes grainShift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-2%, 2%, 0); }
  50% { transform: translate3d(2%, -1%, 0); }
  75% { transform: translate3d(-1%, -2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .3s ease;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold-bright);
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(224, 201, 134, .55);
  transition: opacity .3s ease, width .3s var(--ease), height .3s var(--ease), border-color .3s ease, background .3s ease;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
  opacity: 1;
}

body.has-cursor.cursor-hover .cursor-ring {
  width: 46px;
  height: 46px;
  border-color: rgba(224, 201, 134, .85);
  background: rgba(224, 201, 134, .07);
}

body.has-cursor.cursor-hover .cursor-dot {
  opacity: 0;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

.magnetic {
  will-change: transform;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(244, 240, 231, .06);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.dot-nav {
  position: fixed;
  right: clamp(16px, 2.4vw, 30px);
  top: 50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transform: translateY(-50%);
}

.dot-nav button {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(244, 240, 231, .38);
  border-radius: 50%;
  background: transparent;
  transition: transform .3s var(--ease), background .3s ease, border-color .3s ease;
}

.dot-nav button:hover,
.dot-nav button:focus-visible {
  border-color: var(--gold-bright);
  transform: scale(1.35);
}

.dot-nav button.is-active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: scale(1.5);
}

.dot-nav__tooltip {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 9, 7, .88);
  backdrop-filter: blur(12px);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.dot-nav button:hover .dot-nav__tooltip,
.dot-nav button:focus-visible .dot-nav__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.marquee {
  overflow: hidden;
  padding: clamp(14px, 2.4vw, 22px) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  animation-play-state: paused;
}

.marquee.is-current .marquee__track {
  animation-play-state: running;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
  padding-right: clamp(20px, 2.6vw, 34px);
}

.marquee__group span:not(.marquee__dot) {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.1vw, 32px);
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee__dot {
  color: var(--gold-bright);
  font-size: 13px;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 40px);
  z-index: 2;
  width: 1px;
  height: 54px;
  background: rgba(244, 240, 231, .22);
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: scrollCue 2.4s ease-in-out infinite;
  animation-play-state: paused;
}

.panel.is-current .scroll-cue::after {
  animation-play-state: running;
}

@keyframes scrollCue {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.header-call,
.primary-btn {
  position: relative;
  overflow: hidden;
}

.header-call::before,
.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-18deg);
  transition: left .7s var(--ease);
  pointer-events: none;
}

.header-call:hover::before,
.primary-btn:hover::before {
  left: 130%;
}

.spotlight {
  position: relative;
  overflow: hidden;
  transition: border-color .32s ease, background .32s ease, box-shadow .32s ease, transform .32s ease;
}

.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 201, 134, .3), transparent 72%);
  transition: opacity .4s ease;
}

.spotlight:hover::after {
  opacity: 1;
}

.spotlight:hover {
  border-color: rgba(224, 201, 134, .46);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.spotlight > * {
  position: relative;
  z-index: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 60px);
  opacity: 0;
  pointer-events: none;
  background: rgba(2, 3, 2, .92);
  backdrop-filter: blur(14px);
  transition: opacity .32s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: min(1400px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.lightbox.is-open .lightbox__img {
  opacity: 1;
  transform: scale(1);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  background: rgba(8, 9, 7, .6);
  backdrop-filter: blur(16px);
  transition: transform .25s var(--ease), border-color .25s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
}

.lightbox__close {
  top: 18px;
  right: 18px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }

.lightbox.is-static .lightbox__prev,
.lightbox.is-static .lightbox__next {
  display: none;
}

.lightbox.is-static .lightbox__img {
  max-width: min(1800px, calc(100vw - 40px));
  max-height: calc(100svh - 48px);
}

.gallery__track figure {
  cursor: zoom-in;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: .001em;
}

h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.8vw, 72px);
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  font-size: clamp(32px, 3.6vw, 58px);
  line-height: 1.08;
}

h3 {
  font-size: clamp(20px, 1.9vw, 30px);
}

.panel {
  position: relative;
  min-height: 100svh;
  scroll-margin-top: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .018), transparent 34%),
    linear-gradient(160deg, #11120e 0%, #15150f 52%, #0b0e0a 100%);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .36;
  background:
    radial-gradient(circle at 18% 22%, rgba(199, 168, 106, .11), transparent 26%),
    radial-gradient(circle at 86% 74%, rgba(109, 119, 94, .13), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .017) 0 1px, transparent 1px 96px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: 10px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(244, 240, 231, .08);
  background: rgba(8, 9, 7, .56);
  transition: height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

/* backdrop-filter lives on a pseudo-element (not the header itself) so it
   doesn't establish a containing block for the fixed-position mobile .nav
   overlay, which needs to size against the real viewport, not the header. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Kept modest: this layer blurs whatever scrolls behind a fixed, always-
     visible header, so its cost is paid continuously, not just on hover. */
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  --header-h: 64px;
  background: rgba(8, 9, 7, .88);
  border-color: rgba(199, 168, 106, .22);
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* Height is derived from --header-h (minus the header's own vertical
   padding, with a little breathing room) so the logo always fits inside
   the header box - in any state - instead of overflowing it. Width is
   auto so the aspect ratio is preserved without distortion. */
.brand img {
  height: calc(var(--header-h) - 28px);
  width: auto;
  max-width: 170px;
  object-fit: contain;
  transition: height .35s var(--ease);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, .9vw, 14px);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  position: relative;
  color: rgba(244, 240, 231, .66);
  transition: color .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform .3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-call,
.primary-btn,
.slider-controls button,
.slider-btn,
.text-button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, color .25s ease;
}

.header-call,
.primary-btn {
  border-color: rgba(224, 201, 134, .58);
  color: #15130d;
  font-weight: 650;
  background: linear-gradient(135deg, #ead68e, #b99352);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .28);
}

.header-call:hover,
.primary-btn:hover,
.slider-controls button:hover,
.slider-btn:hover,
.text-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
}

.text-button {
  width: fit-content;
  color: var(--ink);
  background: transparent;
}

.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 110;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 240, 231, .24);
  border-radius: 6px;
  background: rgba(8, 9, 7, .78);
  backdrop-filter: blur(14px);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

.kicker {
  display: inline-grid;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: .72;
}

.hero {
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 34px) clamp(22px, 7vw, 110px) clamp(34px, 7vh, 82px);
}

.hero__bg,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__bg {
  object-fit: cover;
  transform: scale(1.035);
  animation: heroDrift 18s var(--ease) infinite alternate;
  animation-play-state: paused;
}

.panel.is-current .hero__bg {
  animation-play-state: running;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 6, 5, .82), rgba(4, 6, 5, .34) 48%, rgba(4, 6, 5, .62)),
    linear-gradient(0deg, rgba(4, 6, 5, .74), transparent 55%, rgba(4, 6, 5, .46));
}

.hero__title {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  place-items: center;
}

.hero__logo {
  justify-self: center;
  width: clamp(150px, 24vw, 320px);
  margin: 0;
  opacity: .96;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(28px, 4vh, 56px);
  padding: calc(var(--header-h) + 46px) clamp(22px, 6vw, 90px) 56px;
}

.about__top,
.about__bottom {
  width: 100%;
  max-width: var(--container);
  min-width: 0;
  margin: 0 auto;
}

.about__top {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(380px, 1fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
}

.about__copy h2 {
  margin-bottom: 28px;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about__facts div,
.location__metrics div,
.map__distances div {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .026));
}

.about__facts strong,
.location__metrics strong,
.map__distances strong {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 560;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about__facts span,
.location__metrics span,
.map__distances span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.about__image,
.about__wide,
.architecture__images,
.location__image {
  margin: 0;
}

.about__image {
  height: min(56vh, 560px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image img,
.about__wide img,
.architecture__images img,
.location__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}

.about__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: end;
}

.about__wide {
  height: clamp(230px, 34vh, 390px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.about__text {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.72;
}

.video {
  padding: 0;
}

.video__kicker {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-h) + 28px);
  left: clamp(22px, 6vw, 90px);
  text-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.video__frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg-deep);
}

.video__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 6, 5, .58) 0%, transparent 24%, transparent 76%, rgba(4, 6, 5, .4) 100%);
}

.video__frame video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* contain (not cover) so the film's real 16:9 frame is always shown
     intact - same proportions on every device, letterboxed rather than
     cropped differently depending on the viewport's aspect ratio. */
  object-fit: contain;
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  padding: calc(var(--header-h) + 42px) clamp(22px, 6vw, 90px) 58px;
}

.plans__media {
  position: relative;
  min-height: min(72vh, 720px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, .28);
  box-shadow: var(--shadow);
}

.plans__track,
.gallery__track {
  position: absolute;
  inset: 0;
}

.plans__track figure,
.gallery__track figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}

.plans__track figure.is-active,
.gallery__track figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.plans__track img,
.gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #11130f;
}

.plans__track figure:nth-child(n + 3) img {
  padding: clamp(10px, 2vw, 26px);
  object-fit: contain;
  background: #e9e6dd;
}

.slider-controls {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(244, 240, 231, .14);
  border-radius: 8px;
  background: rgba(8, 9, 7, .68);
  backdrop-filter: blur(18px);
}

.slider-controls button {
  min-height: 42px;
  width: 42px;
  padding: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, .06);
}

.slider-controls span {
  min-width: 54px;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}

.plans__copy {
  align-self: center;
  max-width: 520px;
}

.plans__copy h2 {
  margin-bottom: 24px;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--ink-muted);
  font-size: 14px;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

.architecture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .62fr);
  align-items: center;
  gap: clamp(30px, 5vw, 86px);
  padding: calc(var(--header-h) + 42px) clamp(22px, 6vw, 90px) 58px;
}

.architecture__images {
  display: grid;
  grid-template-columns: 1fr .76fr;
  gap: 14px;
  height: min(72vh, 700px);
}

.architecture__images img {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.architecture__images img:first-child {
  height: 100%;
}

.architecture__images img:last-child {
  height: 78%;
  align-self: end;
}

.architecture__copy p:not(.kicker) {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.76;
}

.infrastructure {
  padding: 0;
}

.infra-stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 42px) clamp(22px, 5vw, 76px) clamp(22px, 5vw, 58px);
}

.infra-bg,
.infra-bg figure,
.infra-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.infra-bg figure {
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .65s var(--ease), transform 1.2s var(--ease);
}

.infra-bg figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.infra-bg img {
  object-fit: cover;
  filter: brightness(1.12) saturate(1.08);
}

.infra-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 5, .38), rgba(4, 6, 5, .02) 54%, rgba(4, 6, 5, .18)),
    linear-gradient(0deg, rgba(4, 6, 5, .48), transparent 46%, rgba(4, 6, 5, .12));
}

.infra-copy,
.infra-accordion {
  position: relative;
  z-index: 2;
}

.infra-copy {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  width: min(680px, 100%);
  margin-bottom: clamp(28px, 6vh, 70px);
}

.infra-copy p:not(.kicker) {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 18px);
}

.infra-accordion {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.infra-accordion article {
  min-height: 208px;
  display: grid;
  align-content: end;
  padding: 18px;
  border: 1px solid rgba(244, 240, 231, .16);
  border-radius: 8px;
  background: rgba(8, 9, 7, .28);
  backdrop-filter: blur(18px);
  transition: min-height .45s var(--ease), background .35s ease, border-color .35s ease, transform .35s var(--ease);
}

.infra-accordion article.is-active {
  min-height: 208px;
  border-color: rgba(224, 201, 134, .42);
  background: rgba(16, 17, 13, .48);
  transform: translateY(-8px);
}

.infra-accordion span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
}

.infra-accordion h3 {
  margin-bottom: 12px;
}

.infra-accordion p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(280px, .34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: calc(var(--header-h) + 42px) clamp(22px, 6vw, 90px) 58px;
}

.gallery__intro {
  align-self: center;
}

.gallery__slider {
  position: relative;
  min-height: min(76vh, 760px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #11130f;
  box-shadow: var(--shadow);
}

.gallery__track img {
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 58px;
  min-height: 0;
  padding: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  background: rgba(8, 9, 7, .58);
  backdrop-filter: blur(16px);
}

.slider-btn:first-child {
  left: 16px;
}

.slider-btn:last-child {
  right: 16px;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  padding: calc(var(--header-h) + 42px) clamp(22px, 6vw, 90px) 58px;
}

.location__image {
  height: min(76vh, 740px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location__copy p:not(.kicker) {
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.75;
}

.location__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.location__metrics div {
  min-height: 138px;
  padding: 18px;
}

.location__metrics strong {
  font-size: clamp(23px, 2vw, 32px);
}

.map {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(26px, 4vh, 44px);
  padding: calc(var(--header-h) + 40px) 0 58px;
}

.map__kicker {
  width: var(--container);
}

.map__frame {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.map__frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.6s var(--ease);
}

.panel.is-current .map__frame img {
  transform: scale(1.02);
}

.map__distances {
  width: min(760px, var(--container));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.genplan {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(20px, 3.2vh, 34px);
  padding: calc(var(--header-h) + 42px) clamp(22px, 6vw, 90px) 58px;
  background:
    radial-gradient(circle at 68% 44%, rgba(224, 201, 134, .16), transparent 34%),
    linear-gradient(145deg, #11160f 0%, #0a0c09 48%, #14130d 100%);
}

.genplan__head {
  width: var(--container);
  display: grid;
  grid-template-columns: minmax(120px, .25fr) minmax(0, .75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.genplan__head h2 {
  max-width: 760px;
  margin: 0;
}

.genplan__frame {
  position: relative;
  width: min(1180px, 100%, calc(62svh * 2752 / 1536));
  aspect-ratio: 2752 / 1536;
  margin: 0;
  border: 1px solid rgba(224, 201, 134, .24);
  border-radius: 8px;
  overflow: hidden;
  background: #101522;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .42);
  cursor: zoom-in;
  outline: none;
}

.genplan__frame:focus-visible {
  border-color: rgba(224, 201, 134, .72);
  box-shadow: 0 0 0 3px rgba(224, 201, 134, .18), 0 34px 120px rgba(0, 0, 0, .42);
}

.genplan__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}

.panel.is-current .genplan__frame img {
  transform: none;
  filter: saturate(1.04) contrast(1.02);
}

.genplan__badge {
  position: absolute;
  left: clamp(18px, 2.2vw, 28px);
  bottom: clamp(18px, 2.2vw, 28px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(224, 201, 134, .5);
  border-radius: 999px;
  background: rgba(8, 10, 8, .62);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.genplan__open {
  position: absolute;
  right: clamp(18px, 2.2vw, 28px);
  bottom: clamp(18px, 2.2vw, 28px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(248, 241, 225, .26);
  border-radius: 999px;
  background: rgba(8, 10, 8, .44);
  color: rgba(248, 241, 225, .84);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s var(--ease);
}

.genplan__frame:hover .genplan__open,
.genplan__frame:focus-visible .genplan__open {
  color: var(--gold-bright);
  border-color: rgba(224, 201, 134, .58);
  background: rgba(8, 10, 8, .64);
  transform: translateY(-2px);
}

.genplan__caption {
  width: min(860px, var(--container));
  justify-self: end;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 1px solid rgba(224, 201, 134, .42);
}

.genplan__caption p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.7;
}

.developer {
  display: grid;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #080907;
  isolation: isolate;
}

.developer__slider,
.developer__shade,
.developer__slide,
.developer__slide img {
  position: absolute;
  inset: 0;
}

.developer__slider {
  z-index: 0;
  overflow: hidden;
}

.developer__shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 4, .78), rgba(4, 5, 4, .2) 44%, rgba(4, 5, 4, .04) 72%),
    linear-gradient(0deg, rgba(4, 5, 4, .48), rgba(4, 5, 4, .03) 45%, rgba(4, 5, 4, .18)),
    radial-gradient(circle at 62% 42%, transparent 42%, rgba(4, 5, 4, .28) 100%);
}

.developer__slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s ease, transform 5.8s var(--ease);
  will-change: opacity, transform;
}

.developer__slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.developer__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.02);
}

.developer__content {
  position: absolute;
  left: clamp(22px, 7vw, 110px);
  bottom: clamp(44px, 8vh, 86px);
  z-index: 2;
  width: min(620px, calc(100% - 44px));
  color: var(--ink);
  text-shadow: 0 18px 42px rgba(0, 0, 0, .52);
}

.developer__content h2 {
  margin: 10px 0 18px;
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: .92;
}

.developer__content > p:not(.kicker) {
  max-width: 590px;
  color: rgba(248, 241, 225, .88);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.72;
}

.developer__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 24px;
}

.developer__facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(222, 188, 116, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: rgba(248, 241, 225, .78);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}

.developer__facts span:hover {
  border-color: rgba(222, 188, 116, .72);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-2px);
}

.developer__facts strong {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 560;
  letter-spacing: 0;
}

.developer__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(222, 188, 116, .7);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.developer__link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.legacy {
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 42px) clamp(22px, 7vw, 110px) clamp(42px, 8vh, 90px);
}

.legacy > img,
.legacy__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.legacy > img {
  object-fit: cover;
}

.legacy__shade {
  background:
    linear-gradient(90deg, rgba(4, 6, 5, .86), rgba(4, 6, 5, .24) 58%, rgba(4, 6, 5, .62)),
    linear-gradient(0deg, rgba(4, 6, 5, .82), transparent 54%);
}

.legacy__copy {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
}

.legacy__copy p:not(.kicker) {
  margin: 22px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.13vw, 18px);
  line-height: 1.76;
}

.footer {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(220px, .42fr) minmax(260px, .48fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(54px, 8vw, 96px) clamp(22px, 6vw, 90px) 36px;
}

.footer__brand img {
  width: min(190px, 52vw);
  margin-bottom: 24px;
}

.footer__messengers {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1;
}

.telegram-link__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(224, 201, 134, .36);
  border-radius: 50%;
  background: rgba(224, 201, 134, .08);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.telegram-link__icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.max-link__icon {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.vk-link__icon svg {
  width: 18px;
  height: 18px;
}

.telegram-link:hover .telegram-link__icon {
  border-color: rgba(224, 201, 134, .72);
  background: rgba(224, 201, 134, .16);
  transform: translateY(-2px);
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: var(--ink-soft);
  font-size: 14px;
}

.footer a,
.footer__contacts button {
  transition: color .25s ease, border-color .25s ease;
}

.footer a:hover {
  color: var(--ink);
}

.footer__nav,
.footer__contacts {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer__legal {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer__legal p {
  margin: 0 0 10px;
  color: rgba(244, 240, 231, .45);
  font-size: 12px;
  line-height: 1.55;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  background: rgba(2, 3, 2, .72);
  backdrop-filter: blur(16px);
  transition: opacity .32s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(244, 240, 231, .18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)),
    #11120e;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .58);
  transform: translateY(16px) scale(.98);
  transition: transform .36s var(--ease);
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
}

.modal__panel h2 {
  margin-bottom: 18px;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.1;
}

.modal__panel > p:not(.kicker) {
  margin-bottom: 26px;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--ink-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(244, 240, 231, .18);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
  outline: none;
}

.contact-form input:focus {
  border-color: rgba(224, 201, 134, .58);
}

.contact-form .primary-btn:disabled {
  cursor: wait;
  opacity: .68;
}

.form-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: rgba(244, 240, 231, .72);
  font-size: 12px;
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--gold-bright);
}

.form-status.is-error {
  color: #e8a49a;
}

.form-consent {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-consent a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--gold-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}

.split .word-inner {
  display: inline-block;
  transform: translateY(112%);
  transition: transform .85s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.split.is-visible .word-inner {
  transform: translateY(0);
}

.panel.is-current .about__image img,
.panel.is-current .about__wide img,
.panel.is-current .architecture__images img,
.panel.is-current .location__image img {
  transform: scale(1.025);
}

@keyframes heroDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, -1%, 0);
  }
}

.architecture,
.gallery,
.location {
  min-height: 100svh;
  display: grid;
  align-items: end;
  grid-template-columns: 1fr;
  padding: calc(var(--header-h) + 42px) clamp(22px, 7vw, 110px) clamp(38px, 7vh, 86px);
}

.architecture::after,
.gallery::after,
.location::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 6, 5, .86), rgba(4, 6, 5, .28) 56%, rgba(4, 6, 5, .66)),
    linear-gradient(0deg, rgba(4, 6, 5, .82), rgba(4, 6, 5, .18) 55%, rgba(4, 6, 5, .46));
}

.architecture__images,
.gallery__slider,
.location__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0f110d;
  box-shadow: none;
}

.architecture__images {
  display: block;
}

.architecture__images img,
.location__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

/* The first image is a persistent base, avoiding dark gaps between scenes. */
.architecture__images img {
  height: 100%;
  opacity: 1;
}

.architecture__images img:nth-child(n + 2) {
  height: 100%;
  opacity: 0;
  animation: architectureScene 21s var(--ease) infinite;
  animation-play-state: paused;
}

.panel.is-current .architecture__images img {
  animation-play-state: running;
}

.architecture__images img:nth-child(3) {
  animation-delay: 7s;
}

.architecture__copy,
.gallery__intro,
.location__copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-width: 720px;
  padding-left: clamp(18px, 2.4vw, 34px);
  border-left: 1px solid rgba(224, 201, 134, .42);
  text-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.architecture__copy p:not(.kicker),
.location__copy p:not(.kicker) {
  max-width: 640px;
  color: rgba(244, 240, 231, .78);
}

.gallery__slider {
  pointer-events: none;
}

.gallery__track figure {
  transform: scale(1.04);
  transition: opacity .85s var(--ease), transform 4.8s var(--ease);
}

.gallery__track figure.is-active {
  transform: scale(1.1) translate3d(-1.2%, -1%, 0);
}

.gallery .slider-btn {
  top: auto;
  bottom: clamp(34px, 7vh, 76px);
  z-index: 5;
  pointer-events: auto;
  background: rgba(8, 9, 7, .62);
}

.gallery .slider-btn:first-child {
  left: auto;
  right: clamp(96px, 10vw, 150px);
}

.gallery .slider-btn:last-child {
  right: clamp(36px, 6vw, 88px);
}

.location__image img {
  animation: locationScenePan 18s var(--ease) infinite alternate;
  animation-play-state: paused;
}

.panel.is-current .location__image img {
  animation-play-state: running;
}

.location__metrics {
  max-width: 560px;
}

.location__metrics div {
  border-color: rgba(244, 240, 231, .18);
  background: rgba(8, 9, 7, .4);
  backdrop-filter: blur(18px);
}

@keyframes architectureScene {
  0%, 28% { opacity: 0; }
  33.333%, 61.333% { opacity: 1; }
  66.666%, 100% { opacity: 0; }
}

@keyframes locationScenePan {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.11) translate3d(-1.6%, -1.2%, 0);
  }
}

@media (max-width: 1180px) {
  .dot-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-content: center;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    background: rgba(8, 9, 7, .96);
    font-size: 16px;
    transform: translateY(-10px);
    transition: opacity .28s ease, transform .28s ease;
  }

  body.menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .header-call {
    justify-self: end;
    margin-right: 58px;
  }

  .about__top,
  .plans,
  .architecture,
  .gallery,
  .location {
    grid-template-columns: 1fr;
  }

  .plans__copy,
  .architecture__copy {
    max-width: 760px;
  }

  .architecture__images,
  .location__image,
  .plans__media,
  .gallery__slider {
    min-height: 0;
    height: min(62vh, 620px);
  }

  .infra-accordion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 60px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .site-header {
    padding: 10px 16px;
  }

  .header-call {
    display: none;
  }

  .hero,
  .about,
  .plans,
  .architecture,
  .gallery,
  .location,
  .genplan,
  .legacy {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about__top,
  .about__bottom {
    width: 100%;
  }

  .about__top,
  .about__bottom,
  .about__facts,
  .location__metrics,
  .map__distances,
  .genplan__head {
    grid-template-columns: 1fr;
  }

  .about__image,
  .about__wide,
  .architecture__images,
  .location__image,
  .plans__media,
  .gallery__slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .about__wide,
  .architecture__images,
  .location__image,
  .gallery__slider {
    aspect-ratio: 4 / 3;
  }

  .genplan__head,
  .genplan__caption {
    width: 100%;
  }

  .genplan__frame {
    width: 100%;
  }

  .genplan__frame img {
    min-height: 0;
  }

  .genplan__badge,
  .genplan__open {
    min-height: 34px;
    padding: 0 11px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .genplan__badge {
    left: 12px;
    bottom: 12px;
  }

  .genplan__open {
    right: 12px;
    bottom: 12px;
  }

  .developer__shade {
    background:
      linear-gradient(0deg, rgba(4, 5, 4, .76), rgba(4, 5, 4, .08) 58%, rgba(4, 5, 4, .22)),
      linear-gradient(90deg, rgba(4, 5, 4, .44), rgba(4, 5, 4, .04) 72%);
  }

  .developer__content {
    left: 18px;
    bottom: 30px;
    width: calc(100% - 36px);
  }

  .developer__content h2 {
    margin-bottom: 14px;
    font-size: clamp(38px, 13vw, 58px);
  }

  .developer__content > p:not(.kicker) {
    font-size: 14px;
    line-height: 1.58;
  }

  .developer__facts {
    gap: 8px;
    margin: 18px 0 16px;
  }

  .developer__facts span {
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .developer__facts strong {
    font-size: 17px;
  }

  .architecture__images {
    grid-template-columns: 1fr;
  }

  .architecture__images img:last-child {
    display: none;
  }

  .plans__track img {
    padding: 8px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .infra-stage {
    min-height: 100svh;
    align-content: end;
    padding: calc(var(--header-h) + 28px) 16px 18px;
  }

  .infra-copy {
    margin-bottom: 22px;
  }

  .infra-accordion {
    grid-template-columns: 1fr;
  }

  .infra-accordion article,
  .infra-accordion article.is-active {
    min-height: auto;
    transform: none;
  }

  .infra-accordion article:not(.is-active) p {
    display: none;
  }

  .gallery {
    align-content: center;
  }

  .slider-btn {
    width: 42px;
    height: 52px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .telegram-link {
    gap: 8px;
    font-size: 13px;
  }

  .telegram-link__icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .telegram-link__icon svg {
    width: 14px;
    height: 14px;
  }

  .modal {
    padding: 12px;
  }
}

@media (max-width: 1180px) {
  .architecture,
  .gallery,
  .location {
    min-height: 100svh;
    align-items: end;
    padding: calc(var(--header-h) + 38px) clamp(22px, 6vw, 72px) clamp(36px, 7vh, 72px);
  }

  .architecture__images,
  .gallery__slider,
  .location__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .architecture__copy,
  .gallery__intro,
  .location__copy {
    max-width: min(680px, 100%);
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(31px, 10.5vw, 46px);
  }

  .hero__logo {
    width: clamp(115px, 38vw, 180px);
    margin-bottom: 0;
  }

  .architecture,
  .gallery,
  .location {
    min-height: 100svh;
    padding: calc(var(--header-h) + 34px) 18px 28px;
  }

  .architecture__images,
  .gallery__slider,
  .location__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .architecture__images img:last-child {
    display: block;
  }

  .architecture__copy,
  .gallery__intro,
  .location__copy {
    width: 100%;
    padding-left: 14px;
  }

  .location__metrics {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .location__metrics div {
    min-height: auto;
  }

  .gallery .slider-btn {
    bottom: 24px;
  }

  .gallery .slider-btn:first-child {
    right: 78px;
  }

  .gallery .slider-btn:last-child {
    right: 18px;
  }
}

.gallery {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: calc(var(--header-h) + 46px) clamp(22px, 6vw, 90px) 58px;
  background:
    linear-gradient(135deg, rgba(244, 240, 231, .035), transparent 38%),
    linear-gradient(160deg, #0d0f0b 0%, #15150f 58%, #090b08 100%);
}

.gallery::after {
  display: none;
}

.gallery__intro {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 430px;
  padding-left: clamp(16px, 2vw, 26px);
  border-left: 1px solid rgba(224, 201, 134, .42);
  text-shadow: none;
}

.gallery__slider {
  position: relative;
  inset: auto;
  z-index: 2;
  width: 100%;
  height: min(68vh, 680px);
  min-height: 430px;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.gallery__slider::before {
  content: "";
  position: absolute;
  inset: -22px -34px -22px -22px;
  z-index: -1;
  border: 1px solid rgba(244, 240, 231, .1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018)),
    rgba(8, 9, 7, .28);
}

.gallery__track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gallery__track figure {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% - clamp(82px, 9vw, 140px));
  margin: 0;
  opacity: 0;
  transform: translate3d(34px, 0, 0) scale(.985);
  transition: opacity .65s var(--ease), transform .9s var(--ease), filter .65s ease;
  filter: saturate(.88) brightness(.72);
}

.gallery__track figure.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: saturate(.98) brightness(.96);
}

.gallery__track figure.is-next {
  left: auto;
  right: 0;
  z-index: 1;
  width: clamp(92px, 12vw, 170px);
  opacity: .62;
  transform: translate3d(0, 0, 0) scale(.965);
  filter: saturate(.82) brightness(.6);
}

.gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(244, 240, 231, .13);
  border-radius: 8px;
  background: #11130f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.gallery__track figure.is-next img {
  border-color: rgba(224, 201, 134, .3);
}

.gallery .slider-btn {
  top: auto;
  bottom: -22px;
  z-index: 5;
  width: 50px;
  height: 50px;
  color: var(--ink);
  background: rgba(8, 9, 7, .72);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.gallery .slider-btn:first-child {
  left: 22px;
  right: auto;
}

.gallery .slider-btn:last-child {
  left: 84px;
  right: auto;
}

@media (max-width: 1180px) {
  .gallery {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .gallery__intro {
    max-width: 720px;
  }

  .gallery__slider {
    height: min(58vh, 560px);
  }
}

@media (max-width: 760px) {
  .gallery {
    min-height: 100svh;
    padding: calc(var(--header-h) + 18px) 18px 34px;
    gap: 18px;
    align-content: start;
  }

  .gallery__intro {
    max-width: 100%;
  }

  .gallery__intro h2 {
    max-width: 310px;
    font-size: clamp(28px, 9vw, 40px);
  }

  .gallery__slider {
    height: min(44vh, 400px);
    min-height: 300px;
    aspect-ratio: auto;
  }

  .gallery__slider::before {
    inset: -12px -10px -16px -10px;
  }

  .gallery__track figure {
    width: calc(100% - 54px);
  }

  .gallery__track figure.is-next {
    width: 70px;
  }

  .gallery .slider-btn {
    bottom: -18px;
  }

  .gallery .slider-btn:first-child {
    left: 18px;
    right: auto;
  }

  .gallery .slider-btn:last-child {
    left: 76px;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .architecture__images img:nth-child(n + 2) {
    animation: none;
    opacity: 0;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
