@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --dark-black: #1a1515;
  --black-gray: #b4b4b4;
  --red: #931f23;
  --gray: #f3f3f3;
  --white: #ffffff;

  --page-x: 40px;
  --site-max: 2056px;
  --header-h: 56px;
  --skeleton-a: #f4f4f4;
  --skeleton-b: #e8e8e8;
  --skeleton-c: #fafafa;
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-gallery: cubic-bezier(0.22, 1, 0.36, 1);
  --space-80: clamp(56px, 5.55vw, 80px);
  --space-140: clamp(82px, 9.72vw, 140px);
  --space-160: clamp(96px, 11.11vw, 160px);
}

@media (min-width: 1600px) {
  :root {
    --page-x: 60px;
  }
}

@media (min-width: 1920px) {
  :root {
    --page-x: 80px;
  }
}

@media (min-width: 2056px) {
  :root {
    --page-x: 100px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--white);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--dark-black);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

p,
h1,
h2,
h3,
li,
a,
button {
  text-wrap: pretty;
}

body.is-locked {
  overflow: hidden;
}

html.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.page-shell {
  width: min(100%, var(--site-max));
  min-height: 100%;
  margin-inline: auto;
  background: var(--white);
  overflow: visible;
}

.container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.hero,
.scroll-gallery,
.production,
.commercial-projects {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.menu-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.caps-m {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.text-xxl {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
}

.text-xl {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.text-l {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.text-l-bold {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.text-m {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.text-m-bold {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.text-s {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.text-s-bold {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.text-xs {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.caps-xxl {
  font-size: 120px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.caps-xl {
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.caps-l {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.paragraph {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.button-m {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1440px) {
  .text-xxl {
    font-size: clamp(34px, 3.889vw, 56px);
  }

  .text-xl {
    font-size: clamp(24px, 2.222vw, 32px);
  }

  .caps-xxl {
    font-size: clamp(54px, 8.333vw, 120px);
  }
}

@media (max-width: 760px) {
  :root {
    --page-x: 12px;
    --space-80: 48px;
    --space-140: 76px;
    --space-160: 88px;
  }

  .text-xxl {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
  }

  .text-xl {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
  }

  .text-l,
  .text-l-bold {
    font-size: 18px;
    line-height: 1.2;
  }

  .text-l {
    font-weight: 400;
  }

  .text-l-bold {
    font-weight: 500;
  }

  .text-m,
  .text-m-bold {
    font-size: 16px;
    line-height: 1.2;
  }

  .text-m {
    font-weight: 400;
  }

  .text-m-bold {
    font-weight: 600;
  }

  .text-s,
  .text-s-bold {
    font-size: 14px;
    line-height: 1.2;
  }

  .text-s {
    font-weight: 400;
  }

  .text-s-bold {
    font-weight: 600;
  }

  .text-xs {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
  }

  .caps-xxl,
  .caps-xl {
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.06em;
  }

  .caps-l {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .paragraph {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
  }

  .button-m {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  width: 100%;
  height: var(--header-h);
  color: var(--white);
  overflow: visible;
  transition: color 260ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--white);
  transform: translateY(-100%);
  transition: transform 280ms var(--ease-soft);
}

.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.15);
  transition: background 260ms ease;
}

.site-header.is-solid {
  color: var(--black);
}

.site-header.is-solid::before {
  transform: translateY(0);
}

.site-header.is-solid::after {
  background: rgba(0, 0, 0, 0.08);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, var(--site-max));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.logo-link {
  display: block;
  width: 103px;
  height: 32px;
}

.logo-img {
  display: block;
  width: 103px;
  height: 32px;
  object-fit: contain;
  transition: filter 260ms ease;
}

.site-header.is-solid .logo-img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(52%) saturate(3274%) hue-rotate(341deg) brightness(87%) contrast(91%);
}

.icon-mask {
  display: block;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.main-nav {
  position: absolute;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: 20px;
  transform: translateX(-50%);
}

.nav-link {
  position: relative;
  display: inline-flex;
  padding-block: 8px 9px;
  transition: color 220ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.nav-link:hover {
  color: currentColor;
}

.site-header.is-solid .nav-link:hover {
  color: var(--red);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding-inline: 20px;
  border-radius: 12px;
  color: var(--black);
  background: var(--gray);
  transition:
    color 220ms var(--ease-soft),
    background-color 220ms var(--ease-soft);
}

.main-nav .nav-link,
.contact-link {
  text-transform: uppercase;
}

.contact-link:hover,
.site-header.is-solid .contact-link:hover {
  color: var(--black);
  background: #ededed;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0, rgba(0, 0, 0, 0) 300px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0, rgba(0, 0, 0, 0) 400px),
    radial-gradient(circle at 24% 18%, rgba(147, 31, 35, 0.42), transparent 34%),
    linear-gradient(135deg, #3e2e22, #13100f 48%, #534534);
}

.hero.has-media {
  background:
    #13100f;
}

.hero.has-media::before,
.production.has-media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero.has-media::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0, rgba(0, 0, 0, 0) 300px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0, rgba(0, 0, 0, 0) 400px);
}

.section-bg-img,
.section-bg-video,
.media-fill-img,
.gallery-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-bg-img,
.media-fill-img,
.gallery-thumb-img {
  opacity: 0;
  filter: blur(16px);
  transform: scale(1.015);
  transition:
    opacity 720ms var(--ease-soft),
    filter 720ms var(--ease-soft),
    transform 720ms var(--ease-soft);
}

.section-bg-img.is-loaded,
.media-fill-img.is-loaded,
.gallery-thumb-img.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.section-bg-img-picture,
.media-fill-img-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.section-bg-img,
.section-bg-video {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.section-bg-img-picture {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.media-fill-img {
  position: absolute;
  inset: 0;
}

.media-fill-img-picture {
  position: absolute;
  inset: 0;
}

.video-block,
.square-placeholder,
.landscape-placeholder,
.scroll-gallery-slide,
.gallery-thumb,
.benefit-image,
.floor-plan-item,
.project-card {
  background:
    linear-gradient(100deg, var(--skeleton-a) 0%, var(--skeleton-b) 38%, var(--skeleton-c) 50%, var(--skeleton-b) 62%, var(--skeleton-a) 100%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1600ms var(--ease-soft) infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 100px;
}

.hero-kicker {
  margin: 0 0 4px;
}

.hero-title {
  margin: 0;
}

.hero-copy {
  align-self: end;
  width: min(850px, 100%);
  margin: 0;
}

.section {
  padding-inline: var(--page-x);
}

.section-gap-top {
  margin-top: var(--space-160);
}

.project-description {
  margin-top: var(--space-140);
}

.description-text {
  max-width: 1554px;
  margin: 0;
}

.video-block {
  position: relative;
  height: min(850px, calc(100svh - 80px));
  min-height: 520px;
  margin-top: var(--space-80);
  padding: 20px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 42%),
    linear-gradient(135deg, #1f1a18, #6c5a44);
  cursor: pointer;
  overflow: visible;
}

.video-block::before {
  position: absolute;
  inset: 20px;
  content: "Видео превью";
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-block.has-media::before {
  display: none;
}

.video-meta {
  position: sticky;
  top: calc(50svh - 17px);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.play-button {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 240ms ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.play-icon {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.two-column-title {
  margin: 0 0 40px;
}

.task-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: transparent;
}

.task-card h3 {
  margin: 0 0 15px;
}

.task-card > div:first-child h3,
.task-card > div:first-child .point-list li {
  padding-right: 20px;
}

.task-card > div:last-child h3,
.task-card > div:last-child .point-list li {
  padding-left: 48px;
}

.point-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-left: 28px;
  border-bottom: 1px solid var(--gray);
}

.point-list li::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--red);
  transform: translateY(-50%);
}

.point-list.is-check li::before {
  left: 20px;
  width: 16px;
  height: 22px;
  background: url("../icons/check.svg") center / contain no-repeat;
}

.cta-row {
  margin-top: 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 270px;
  height: 62px;
  padding-inline: 28px;
  border: 0;
  border-radius: 16px;
  color: var(--red);
  background: var(--gray);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.cta-button:hover {
  color: var(--white);
  background: var(--red);
}

.image-text-section {
  display: grid;
  grid-template-columns: calc(50vw - var(--page-x) - 20px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.square-placeholder {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, #2f2924, #756653);
}

.sticky-copy {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  width: min(664px, 100%);
}

.sticky-copy h2 {
  margin: 0 0 20px;
}

.sticky-copy p {
  margin: 0;
}

.floor-plan {
  margin-top: 40px;
}

.floor-plan h3 {
  margin: 0 0 20px;
}

.floor-plan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.floor-plan-item {
  position: relative;
  width: 160px;
  height: 160px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray);
  cursor: pointer;
}

.floor-plan-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 460ms var(--ease-soft),
    transform 460ms var(--ease-soft);
}

.floor-plan-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.floor-plan-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.floor-plan-label {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--white);
  background: var(--black);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.split-gallery {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 850px minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
  min-height: 100svh;
}

.split-gallery-media {
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.split-gallery-media,
.benefit-grid,
.projects-rail,
.image-lightbox-thumbs {
  scrollbar-width: none;
}

.split-gallery-media::-webkit-scrollbar,
.benefit-grid::-webkit-scrollbar,
.projects-rail::-webkit-scrollbar,
.image-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.landscape-placeholder {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 850 / 566;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, #251e1b, #76624b);
  cursor: pointer;
}

.split-sticky-top,
.split-sticky-bottom {
  position: sticky;
}

.split-sticky-top {
  top: calc(var(--header-h) + 40px);
}

.split-sticky-bottom {
  top: calc(var(--header-h) + 40px);
  min-height: calc(100svh - var(--header-h) - 100px);
  display: flex;
  align-items: flex-end;
}

.split-sticky-top p,
.split-sticky-bottom p {
  margin: 0;
}

.scroll-gallery {
  position: relative;
  height: calc(var(--gallery-slides, 3) * 100svh);
  margin-top: var(--space-160);
  color: var(--white);
}

.scroll-gallery-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  background: #171312;
}

.scroll-gallery-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, var(--slide-a), var(--slide-b));
  clip-path: inset(100% 0 0 0);
  transform: translateY(42px) scale(1.04);
  will-change: clip-path, transform;
}

.scroll-gallery.is-ready .scroll-gallery-slide {
  transition:
    clip-path 920ms var(--ease-gallery),
    transform 920ms var(--ease-gallery);
}

.scroll-gallery-slide.is-active {
  clip-path: inset(0 0 0 0);
  transform: translateY(0) scale(1);
}

.scroll-gallery-slide.is-under {
  clip-path: inset(0 0 0 0);
  transform: translateY(-18px) scale(1.02);
}

.scroll-gallery-copy {
  position: relative;
  z-index: 5;
  padding-top: calc(var(--header-h) + 60px);
}

.scroll-gallery-copy h2 {
  width: min(900px, 100%);
  margin: 0;
}

.scroll-gallery-copy::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 480px;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent);
  transform: translateX(-50%);
}

.gallery-product {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: max(var(--page-x), calc((100vw - var(--site-max)) / 2 + var(--page-x)));
  width: min(415px, calc(100vw - var(--page-x) * 2));
  transform: translateY(-50%);
}

.gallery-product p {
  margin: 0;
}

.gallery-thumbs {
  position: absolute;
  z-index: 6;
  bottom: 60px;
  left: max(var(--page-x), calc((100vw - var(--site-max)) / 2 + var(--page-x)));
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: linear-gradient(135deg, #756653, #2f2924);
  cursor: pointer;
}

.gallery-thumb-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gallery-thumb::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: background 220ms ease;
}

.gallery-thumb::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 220ms ease;
}

.gallery-thumb:hover {
  box-shadow: none;
}

.gallery-thumb:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.gallery-thumb.is-active {
  box-shadow: none;
}

.gallery-thumb.is-active::before {
  border-color: var(--white);
}

.gallery-thumb.is-active::after {
  background: transparent;
}

.production {
  position: relative;
  min-height: 140svh;
  padding-bottom: 60px;
  margin-top: var(--space-160);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0, rgba(0, 0, 0, 0) 480px),
    linear-gradient(135deg, #171312, #493c32 52%, #211b18);
}

.production.has-media {
  background: #171312;
}

.production.has-media::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0, rgba(0, 0, 0, 0) 480px);
}

.production-inner {
  position: sticky;
  z-index: 2;
  top: 0;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 60px;
}

.production h2 {
  width: min(1560px, 100%);
  margin: 0;
}

.cycle-section {
  margin-top: var(--space-160);
}

.cycle-heading {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cycle-heading h2,
.cycle-heading p {
  margin: 0;
}

.cycle-heading h2 {
  grid-column: 1 / span 2;
  padding-right: 20px;
}

.cycle-heading p {
  grid-column: 3 / span 2;
  padding-left: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-card {
  min-width: 0;
}

.benefit-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 415 / 560;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, #28231f, #766856);
}

.benefit-title {
  margin: 20px 0 0;
}

.benefit-divider {
  height: 1px;
  margin-top: 15px;
  background: #dedede;
}

.benefit-text {
  margin: 15px 0 0;
}

.contact-section {
  margin-top: 200px;
  padding-bottom: 0;
}

.contact-title {
  max-width: 1320px;
  margin: 0;
}

.contact-form {
  margin-top: 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.form-field {
  position: relative;
  display: block;
}

.form-field input,
.form-field select {
  width: 100%;
  height: 74px;
  padding: 32px 16px 13px;
  border: 0;
  border-radius: 16px;
  outline: 0;
  color: var(--dark-black);
  background: var(--gray);
  appearance: none;
  transition: background 220ms ease;
}

.form-field input:hover,
.form-field select:hover {
  background: #ededed;
}

.form-field label {
  position: absolute;
  top: 50%;
  left: 16px;
  color: rgba(26, 21, 21, 0.2);
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    color 260ms var(--ease-soft),
    font-size 260ms var(--ease-soft),
    font-weight 260ms var(--ease-soft),
    line-height 260ms var(--ease-soft),
    transform 260ms var(--ease-soft);
}

.form-field.is-filled label,
.form-field:focus-within label {
  color: rgba(26, 21, 21, 0.45);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  transform: translateY(-21px);
}

.form-submit {
  width: 100%;
  height: 94px;
  margin-top: 30px;
  border: 1px solid var(--gray);
  border-radius: 16px;
  color: rgba(26, 21, 21, 0.15);
  background: var(--white);
  cursor: not-allowed;
  transition:
    color 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

.contact-form.is-valid .form-submit {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  cursor: pointer;
}

.contact-policy {
  margin: 30px 0 0;
  color: rgba(26, 21, 21, 0.48);
  white-space: nowrap;
}

.contact-policy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-modal {
  position: fixed;
  z-index: 210;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 24px 40px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 360ms var(--ease-soft),
    visibility 0ms linear 360ms;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 360ms var(--ease-soft),
    visibility 0ms linear 0ms;
}

.contact-modal.is-closing {
  visibility: visible;
  pointer-events: none;
}

.contact-modal-panel {
  width: min(620px, calc(100vw - 48px));
  max-height: calc(100svh - 80px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--gray);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  clip-path: inset(calc(100% - 54px) calc(50% - 82px) 0 calc(50% - 82px) round 16px);
  transform: scale(0.26, 0.14);
  transform-origin: 50% 100%;
  transition:
    clip-path 620ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms var(--ease-soft),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-panel > * {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 260ms var(--ease-soft),
    transform 360ms var(--ease-soft);
}

.contact-modal.is-open .contact-modal-panel {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 16px);
  transform: scale(1);
}

.contact-modal.is-open .contact-modal-panel > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 180ms;
}

.contact-modal.is-closing .contact-modal-panel {
  opacity: 0;
  clip-path: inset(calc(100% - 54px) calc(50% - 82px) 0 calc(50% - 82px) round 16px);
  transform: scale(0.26, 0.14);
}

.contact-modal.is-closing .contact-modal-panel > * {
  opacity: 0;
  transform: translateY(8px);
  transition-delay: 0ms;
}

.contact-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-modal-head h2 {
  margin: 0;
}

.contact-modal-close {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.contact-modal-close::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: var(--gray);
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 320ms var(--ease-soft),
    transform 320ms var(--ease-soft);
}

.contact-modal-close:hover::before {
  opacity: 1;
  transform: scale(1);
}

.contact-modal-close img {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: block;
}

.contact-modal-form {
  margin-top: 30px;
}

.contact-modal .form-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.contact-modal .form-field input,
.contact-modal .form-field select {
  height: 64px;
  padding: 29px 16px 8px;
}

.contact-modal .form-submit {
  height: auto;
  margin-top: 30px;
  padding: 22px 16px;
}

.contact-modal .contact-policy {
  max-width: 500px;
  margin: 30px auto 0;
  text-align: center;
  white-space: normal;
}

.city-contact-modal {
  position: fixed;
  z-index: 215;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 320ms var(--ease-soft),
    visibility 0ms linear 320ms;
}

.city-contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 320ms var(--ease-soft),
    visibility 0ms linear 0ms;
}

.city-contact-panel {
  width: min(840px, 100%);
  height: calc(100svh - 80px);
  max-height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--gray);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 360ms var(--ease-soft),
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.city-contact-modal.is-open .city-contact-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.city-contact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.city-contact-head h2,
.city-contact-description,
.city-contact-card h3,
.city-contact-address,
.city-contact-note {
  margin: 0;
}

.city-contact-description {
  max-width: 650px;
  margin-top: 20px;
}

.city-contact-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  margin-top: 30px;
}

.city-filter {
  position: relative;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: var(--black);
  background: var(--gray);
  cursor: pointer;
  transition:
    color 220ms var(--ease-soft),
    background 220ms var(--ease-soft);
}

.city-filter::after {
  width: 0;
  height: 16px;
  flex: 0 0 0;
  content: "";
  background: url("../icons/close-city.svg") center / contain no-repeat;
  opacity: 0;
  transform: scale(0.82);
  transition:
    flex-basis 280ms var(--ease-soft),
    width 280ms var(--ease-soft),
    opacity 180ms var(--ease-soft),
    transform 280ms var(--ease-soft);
}

.city-filter:hover {
  background: #ededed;
}

.city-filter.is-active {
  color: var(--white);
  background: var(--black);
}

.city-filter.is-active::after {
  width: 16px;
  flex-basis: 16px;
  opacity: 1;
  transform: scale(1);
}

.city-contact-results {
  display: none;
  margin-top: 0;
  min-height: 0;
  overflow-y: auto;
}

.city-contact-modal.has-city .city-contact-results {
  display: block;
  flex: 1 1 auto;
  margin-top: 30px;
}

.city-contact-group {
  display: grid;
  gap: 10px;
}

.city-contact-group[hidden] {
  display: none;
}

.city-contact-card {
  padding: 18px 20px;
  border: 1px solid var(--gray);
  border-radius: 12px;
  background: var(--white);
}

.city-contact-card h3 {
  color: var(--red);
}

.city-contact-address {
  margin-top: 16px;
}

.city-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.city-contact-action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--dark-black);
  background: var(--gray);
  text-decoration: none;
  transition: background 220ms var(--ease-soft);
}

.city-contact-action:hover {
  background: #ededed;
}

.city-contact-note {
  color: rgba(26, 21, 21, 0.58);
}

.city-contact-actions + .city-contact-note,
.city-contact-address + .city-contact-note,
.city-contact-card h3 + .city-contact-note {
  margin-top: 16px;
}

.city-contact-note + .city-contact-note {
  margin-top: 2px;
}

@media (max-height: 760px) and (min-width: 761px) {
  .city-contact-modal {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .city-contact-panel {
    max-height: calc(100svh - 40px);
    height: calc(100svh - 40px);
  }
}

.project-hub {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  color: var(--white);
  background: var(--dark-black);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  cursor: pointer;
}

.home-slider-backgrounds,
.home-slider-bg,
.home-slider-bg::after,
.home-slider-bg img,
.home-slider-bg video {
  position: absolute;
  inset: 0;
}

.home-slider-backgrounds {
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.08) 36%, rgba(0, 0, 0, 0.3) 100%),
    var(--dark-black);
}

.home-slider-bg {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(1.04);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
}

.home-slider-bg::after {
  content: "";
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.42) 100%),
    rgba(0, 0, 0, 0.16);
}

.home-slider-bg.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0);
}

.home-slider-bg img,
.home-slider-bg video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slider-bg video {
  opacity: 0;
  transition: opacity 720ms var(--ease-soft);
}

.home-slider-bg video.is-playing {
  opacity: 1;
}

.project-hub-top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: calc(50vw - var(--page-x) - 20px) minmax(0, 1fr);
  gap: 40px;
  padding-top: calc(var(--header-h) + 40px);
  pointer-events: none;
  cursor: default;
}

.project-hub-text,
.project-hub-brand p {
  margin: 0;
}

.project-hub-text {
  max-width: 500px;
  justify-self: start;
}

.project-hub-brand {
  justify-self: start;
  text-align: left;
}

.project-hub-brand .caps-xl {
  margin-top: 5px;
}

.home .main-nav,
.front-page .main-nav {
  display: none;
}

.home-slider-list {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100vw;
  height: 26px;
  transform: translate(-50%, -50%);
}

.home-slide {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(180px, auto) 1fr;
  align-items: center;
  min-height: 26px;
  padding: 0 var(--page-x);
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, calc(-50% + (var(--home-offset, 0) * 26px)), 0);
  transition:
    opacity 920ms var(--ease-gallery),
    transform 920ms var(--ease-gallery),
    background-color 360ms var(--ease-soft),
    color 360ms var(--ease-soft);
}

.home-slide:not(.is-visible) {
  pointer-events: none;
}

.home-slide.is-visible {
  opacity: var(--home-opacity, 1);
}

.home-slide.is-active {
  color: var(--dark-black);
  background: var(--white);
  opacity: 1;
}

.home-slide-eyebrow {
  text-align: left;
}

.home-slide-title {
  text-align: center;
}

.home-slide-area {
  text-align: right;
}

.project-hub-footer {
  position: absolute;
  z-index: 4;
  right: var(--page-x);
  bottom: 40px;
  left: var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  pointer-events: none;
  cursor: default;
}

.project-hub-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  pointer-events: auto;
}

.project-hub-cta {
  position: relative;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  border-radius: 16px;
  color: var(--white);
  background: var(--red);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 18px rgba(147, 31, 35, 0);
  pointer-events: auto;
  transition:
    transform 360ms var(--ease-soft),
    box-shadow 360ms var(--ease-soft),
    background-color 360ms var(--ease-soft);
}

.project-hub-cta::after,
.floating-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 45%, rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  transform: translateX(-120%) skewX(-16deg);
  pointer-events: none;
  transition:
    opacity 360ms var(--ease-soft),
    transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hub-cta:hover {
  background: #a5262b;
  box-shadow: 0 14px 30px rgba(147, 31, 35, 0.24);
  transform: translateY(-4px) scale(1.035);
}

.project-hub-cta:hover::after,
.floating-cta:hover::after {
  opacity: 1;
  transform: translateX(120%) skewX(-16deg);
}

.project-hub-cta:active {
  transform: translateY(-1px) scale(0.99);
}

.commercial-projects {
  position: relative;
  min-height: 100svh;
  margin-top: var(--space-160);
  color: var(--white);
  background: var(--dark-black);
  overflow: hidden;
}

.commercial-projects-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 60px);
}

.commercial-projects h2 {
  margin: 0;
}

.projects-rail {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  transform: translate(calc(-50% + var(--projects-shift, 0px)), -50%);
  transition: transform 680ms var(--ease-soft);
  will-change: transform;
}

.project-card {
  position: relative;
  overflow: hidden;
  width: 329px;
  height: 200px;
  border-radius: 4px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: rgba(26, 21, 21, 0.34);
  background:
    linear-gradient(100deg, var(--skeleton-a) 0%, var(--skeleton-b) 38%, var(--skeleton-c) 50%, var(--skeleton-b) 62%, var(--skeleton-a) 100%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1600ms var(--ease-soft) infinite;
  text-decoration: none;
  transition:
    width 760ms var(--ease-gallery),
    height 760ms var(--ease-gallery),
    color 260ms ease;
}

.project-card:visited,
.project-card:hover {
  text-decoration: none;
}

.project-card:hover {
  z-index: 3;
  width: 658px;
  height: 400px;
  color: var(--white);
}

@media (min-width: 2056px) {
  .project-card {
    width: 395px;
    height: 240px;
  }

  .project-card:hover {
    width: 790px;
    height: 480px;
  }
}

.project-card::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease-soft);
}

.project-card:hover::after,
.project-card:hover .project-card-meta {
  opacity: 1;
}

.project-card > span {
  position: relative;
  z-index: 1;
}

.project-card:hover > span {
  opacity: 0;
}

.project-card .media-fill-img {
  border-radius: 0;
}

.project-card-meta {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 420ms var(--ease-soft),
    transform 420ms var(--ease-soft);
}

.project-card:hover .project-card-meta {
  transform: translateY(0);
}

.project-card-eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.project-card-title,
.project-card-area {
  margin: 0;
}

.project-card-area {
  flex: 0 0 auto;
  text-align: right;
}

.video-block,
.square-placeholder,
.landscape-placeholder,
.scroll-gallery-slide,
.gallery-thumb,
.benefit-image,
.floor-plan-item,
.project-card {
  background:
    linear-gradient(100deg, var(--skeleton-a) 0%, var(--skeleton-b) 38%, var(--skeleton-c) 50%, var(--skeleton-b) 62%, var(--skeleton-a) 100%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1600ms var(--ease-soft) infinite;
}

.square-placeholder > span,
.landscape-placeholder > span,
.scroll-gallery-slide > span,
.benefit-image > span,
.project-card > span {
  color: rgba(26, 21, 21, 0.34);
}

.video-block::before {
  color: rgba(26, 21, 21, 0.34);
  border-color: rgba(26, 21, 21, 0.12);
}

.video-block:not(.has-media) {
  color: var(--dark-black);
}

.commercial-footer {
  position: absolute;
  z-index: 2;
  right: var(--page-x);
  bottom: 30px;
  left: var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.commercial-footer span:nth-child(2) {
  text-align: center;
}

.commercial-footer span:nth-child(3) {
  text-align: right;
}

.floating-cta {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 40px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  border-radius: 16px;
  color: var(--white);
  background: var(--red);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 18px rgba(147, 31, 35, 0);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(0.96);
  transition:
    opacity 320ms var(--ease-soft),
    transform 360ms var(--ease-soft),
    box-shadow 360ms var(--ease-soft),
    background-color 360ms var(--ease-soft);
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.floating-cta.is-visible:hover {
  background: #a5262b;
  box-shadow: 0 14px 30px rgba(147, 31, 35, 0.24);
  transform: translate(-50%, -4px) scale(1.035);
}

.floating-cta.is-visible:active {
  transform: translate(-50%, -1px) scale(0.99);
}

.modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  place-items: center;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  padding: 0;
  background: #000;
  overflow: hidden;
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding-bottom: 56px;
  color: var(--white);
  background: #000;
  overflow: hidden;
}

.modal-panel video {
  width: 100vw;
  height: calc(100dvh - 56px);
  max-height: calc(100dvh - 56px);
  display: block;
  background: #000;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.image-lightbox {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: none;
  place-items: center;
  background: #000;
  touch-action: none;
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox-img {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100dvh;
  display: block;
  object-fit: contain;
  backface-visibility: hidden;
  transition:
    opacity 260ms var(--ease-soft),
    transform 260ms var(--ease-soft);
  transform: translate3d(0, 0, 0);
  user-select: none;
  will-change: transform, opacity;
}

.image-lightbox-img.is-changing {
  opacity: 0.92;
  transform: translate3d(var(--lightbox-shift, 0), 0, 0) scale(0.996);
}

.image-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
}

.image-lightbox-thumbs {
  position: absolute;
  z-index: 2;
  top: 50%;
  bottom: auto;
  left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-50%);
}

.image-lightbox-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.image-lightbox-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background: #000;
  opacity: 0.5;
  transition: opacity 460ms var(--ease-soft);
}

.image-lightbox-thumb:hover::after {
  opacity: 0.2;
}

.image-lightbox-thumb.is-active {
  border-color: var(--white);
}

.image-lightbox-thumb.is-active::after {
  opacity: 0;
}

.image-lightbox-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cursor-tooltip {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  padding: 10px 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  background: var(--red);
  pointer-events: none;
  opacity: 0;
  transform:
    translate3d(var(--tooltip-x, -100px), var(--tooltip-y, -100px), 0)
    translate(22px, 24px)
    scale(0.94);
  transition:
    opacity 340ms var(--ease-soft),
    transform 340ms var(--ease-soft);
  will-change: transform, opacity;
}

.cursor-tooltip.is-active {
  opacity: 1;
  transform:
    translate3d(var(--tooltip-x, -100px), var(--tooltip-y, -100px), 0)
    translate(14px, 16px)
    scale(1);
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(56px) scale(0.985);
  transition:
    opacity 1120ms var(--ease-soft),
    filter 1120ms var(--ease-soft),
    transform 1120ms var(--ease-soft);
  will-change: opacity, filter, transform;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.ui-page {
  padding: 96px var(--page-x);
  background: var(--white);
}

.ui-page h1 {
  margin: 0 0 56px;
}

.ui-grid {
  display: grid;
  gap: 12px;
}

.ui-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 32px;
  align-items: baseline;
  padding-block: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.ui-label {
  color: #777;
}

.ui-type-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  align-items: start;
}

.ui-type-card {
  display: grid;
  gap: 12px;
}

.ui-type-caption {
  color: #777;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.ui-mobile-preview.text-xxl {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.ui-mobile-preview.text-xl {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.ui-mobile-preview.text-l {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.ui-mobile-preview.text-l-bold {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.ui-mobile-preview.text-m {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.ui-mobile-preview.text-m-bold {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.ui-mobile-preview.text-s {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.ui-mobile-preview.text-s-bold {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.ui-mobile-preview.text-xs {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.ui-mobile-preview.caps-xxl,
.ui-mobile-preview.caps-xl {
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.ui-mobile-preview.caps-l {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ui-mobile-preview.paragraph {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.ui-mobile-preview.button-m {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 56px;
}

.swatch {
  min-height: 120px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e6e6e6;
  background: var(--swatch);
  color: var(--swatch-text, var(--black));
}

@media (max-width: 1024px) {
  .header-inner {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .task-card,
  .image-text-section,
  .split-gallery,
  .cycle-heading {
    grid-template-columns: 1fr;
  }

  .task-card > div:first-child h3,
  .task-card > div:first-child .point-list li,
  .task-card > div:last-child h3 {
    padding-right: 0;
    padding-left: 0;
  }

  .task-card > div:last-child .point-list li {
    padding-left: 28px;
  }

  .point-list.is-check li::before {
    left: 0;
  }

  .cycle-heading h2,
  .cycle-heading p {
    padding: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-sticky-top,
  .split-sticky-bottom,
  .sticky-copy {
    position: static;
  }

  .gallery-product {
    right: auto;
    left: var(--page-x);
    top: auto;
    bottom: 148px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding-inline: var(--page-x);
  }

  .site-header {
    height: var(--header-h);
  }

  .header-inner {
    padding-inline: var(--page-x);
  }

  .floating-cta {
    bottom: 16px;
  }

  .contact-modal {
    padding: 16px 12px;
  }

  .contact-modal-panel {
    width: 100%;
    max-height: calc(100svh - 32px);
  }

  .city-contact-modal {
    display: block;
    padding: 0;
  }

  .city-contact-panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    display: block;
    overflow-y: auto;
    padding: 20px;
    border: 0;
    border-radius: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .city-contact-description {
    margin-top: 20px;
  }

  .city-contact-filters {
    margin-top: 30px;
  }

  .city-contact-results {
    overflow: visible;
  }

  .hero {
    height: 500px;
    min-height: 500px;
  }

  .hero-inner {
    height: 500px;
    min-height: 500px;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 20px;
  }

  .hero-copy {
    width: 100%;
  }

  .project-description {
    margin-top: 40px;
  }

  .description-text {
    max-width: none;
  }

  .video-block {
    height: 240px;
    min-height: 240px;
    margin-top: 40px;
    padding: 12px;
    overflow: hidden;
  }

  .video-block::before {
    inset: 12px;
  }

  .video-meta {
    position: relative;
    top: auto;
    align-items: flex-start;
  }

  .play-button,
  .play-icon {
    width: 72px;
    height: 72px;
  }

  .section-gap-top {
    margin-top: 60px;
  }

  .two-column-title {
    margin-bottom: 20px;
  }

  .task-card {
    grid-template-columns: calc((100vw - 54px) * 0.6) calc(100vw - 54px);
    width: 100vw;
    margin-left: calc(var(--page-x) * -1);
    padding: 0 var(--page-x) 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: var(--page-x);
  }

  .task-card > div {
    scroll-snap-align: start;
  }

  .task-card > div:first-child h3,
  .task-card > div:first-child .point-list li,
  .task-card > div:last-child h3 {
    padding-right: 0;
    padding-left: 0;
  }

  .task-card > div:last-child .point-list li {
    padding-left: 28px;
  }

  .point-list.is-check li::before {
    left: 0;
  }

  .point-list li {
    min-height: 48px;
    padding-left: 18px;
  }

  .point-list:not(.is-check) li {
    padding-left: 0;
  }

  .point-list:not(.is-check) li::before {
    display: none;
  }

  .point-list.is-check li {
    padding-left: 28px;
  }

  .point-list.is-check li::before {
    width: 14px;
    height: 19px;
  }

  .cta-row {
    margin-top: 20px;
  }

  .image-text-section {
    gap: 0;
  }

  .square-placeholder {
    width: 100%;
  }

  .sticky-copy {
    margin-top: 40px;
    width: 100%;
  }

  .sticky-copy h2 {
    margin-bottom: 20px;
  }

  .floor-plan {
    margin-top: 40px;
  }

  .floor-plan-grid {
    width: 100vw;
    margin-left: calc(var(--page-x) * -1);
    padding-inline: var(--page-x);
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-x);
    scrollbar-width: none;
  }

  .floor-plan-grid::-webkit-scrollbar {
    display: none;
  }

  .floor-plan-item {
    flex: 0 0 160px;
    scroll-snap-align: start;
  }

  .split-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }

  .split-sticky-top,
  .split-sticky-bottom {
    width: 100%;
    min-height: 0;
    display: block;
    align-items: initial;
  }

  .split-gallery-media {
    display: flex;
    gap: 6px;
    width: 100vw;
    margin-left: calc(var(--page-x) * -1);
    padding-inline: var(--page-x);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-x);
  }

  .landscape-placeholder {
    flex: 0 0 calc(100vw - 54px);
    width: calc(100vw - 54px);
    height: auto;
    aspect-ratio: 321 / 214;
    border-radius: 4px;
    scroll-snap-align: center;
  }

  .scroll-gallery {
    height: auto;
    margin-top: 60px;
  }

  .scroll-gallery-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .scroll-gallery-slide {
    display: none;
    position: relative;
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 4px;
    clip-path: inset(0 0 0 0);
    transform: none;
  }

  .scroll-gallery-slide:first-child {
    display: block;
  }

  .scroll-gallery-copy {
    position: absolute;
    z-index: 5;
    inset: 0 auto auto 0;
    width: 100%;
    padding: 20px 12px 80px;
    color: var(--white);
  }

  .scroll-gallery-copy::before {
    height: 210px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent);
  }

  .scroll-gallery-copy h2 {
    width: 100%;
  }

  .gallery-thumbs {
    display: none;
  }

  .gallery-product {
    display: none;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .cursor-tooltip {
    display: none;
  }

  .production {
    min-height: 450px;
    height: 450px;
    margin-top: 60px;
    padding-bottom: 0;
  }

  .production::before,
  .production.has-media::before {
    height: 240px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent);
  }

  .production-inner {
    position: relative;
    top: auto;
    min-height: 450px;
    padding: 20px 12px 0;
  }

  .production h2 {
    width: 100%;
  }

  .cycle-section {
    margin-top: 60px;
  }

  .cycle-heading {
    display: block;
    white-space: normal;
  }

  .cycle-heading h2,
  .cycle-heading p {
    font-size: clamp(18px, 5.6vw, 22px);
  }

  .benefit-grid {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    width: 100vw;
    margin-top: 20px;
    margin-left: calc(var(--page-x) * -1);
    padding-inline: var(--page-x);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-x);
  }

  .benefit-card {
    position: relative;
    flex: 0 0 calc(100vw - 54px);
    width: calc(100vw - 54px);
    aspect-ratio: 321 / 360;
    scroll-snap-align: center;
  }

  .benefit-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 321 / 360;
    border-radius: 4px;
  }

  .benefit-image::after {
    position: absolute;
    inset: 0 0 auto;
    height: 160px;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent);
    pointer-events: none;
  }

  .benefit-title {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 12px;
    max-width: calc(100% - 24px);
    margin: 0;
    color: var(--white);
  }

  .benefit-divider,
  .benefit-text {
    display: none;
  }

  .contact-section {
    margin-top: 60px;
  }

  .contact-title {
    max-width: none;
  }

  .contact-form {
    margin-top: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-field input,
  .form-field select {
    height: 62px;
    padding: 28px 16px 8px;
  }

  .form-submit {
    height: 70px;
    margin-top: 20px;
  }

  .contact-policy {
    white-space: normal;
  }

  .project-hub {
    min-height: 100svh;
    height: 100svh;
  }

  .project-hub-top {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: calc(var(--header-h) + 20px);
  }

  .project-hub-text {
    max-width: none;
  }

  .project-hub-brand {
    justify-self: start;
    text-align: left;
  }

  .home-slider-list {
    width: 100vw;
  }

  .home-slide {
    grid-template-columns: 1fr auto;
    padding-inline: var(--page-x);
    font-size: 12px;
    min-height: 30px;
    transform: translate3d(0, calc(-50% + (var(--home-offset, 0) * 30px)), 0);
  }

  .home-slide-eyebrow {
    display: none;
  }

  .home-slide-title {
    text-align: left;
  }

  .project-hub-footer {
    right: var(--page-x);
    bottom: 16px;
    left: var(--page-x);
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .project-hub-copy {
    display: none;
  }

  .commercial-projects {
    min-height: 650px;
    height: 650px;
    margin-top: 60px;
  }

  .commercial-projects-inner {
    padding-top: 20px;
  }

  .projects-rail {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100vw;
    margin-top: 60px;
    margin-left: 0;
    padding-inline: var(--page-x);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    transform: none;
    transition: none;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-x);
  }

  .project-card,
  .project-card:hover {
    display: block;
    flex: 0 0 calc(100vw - 54px);
    width: calc(100vw - 54px);
    height: auto;
    overflow: visible;
    border-radius: 0;
    color: var(--white);
    background: transparent;
    scroll-snap-align: start;
  }

  .project-card .media-fill-img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 321 / 214;
    border-radius: 4px;
    object-fit: cover;
  }

  .project-card::after {
    display: none;
  }

  .project-card-meta,
  .project-card:hover .project-card-meta {
    position: static;
    display: block;
    margin-top: 10px;
    color: var(--white);
    opacity: 1;
    transform: none;
  }

  .project-card-eyebrow {
    margin-bottom: 4px;
  }

  .project-card-area {
    margin-top: 4px;
    text-align: left;
  }

  .image-lightbox-thumb {
    width: 45px;
    height: 45px;
  }

  .image-lightbox-thumbs {
    top: auto;
    right: var(--page-x);
    bottom: 16px;
    left: var(--page-x);
    flex-direction: row;
    justify-content: center;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    transform: none;
  }

  .commercial-footer {
    right: var(--page-x);
    bottom: 20px;
    left: var(--page-x);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .commercial-footer span,
  .commercial-footer span:nth-child(2),
  .commercial-footer span:nth-child(3) {
    text-align: left;
  }

  .ui-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ui-type-pair {
    grid-template-columns: 1fr;
  }
}
