@font-face {
  font-family: "Corsica LX";
  src: url("../fonts/corsica-light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Corsica LX";
  src: url("../fonts/corsica-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Corsica LX";
  src: url("../fonts/corsica-medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Corsica LX";
  src: url("../fonts/corsica-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #111310;
  --paper: #f6f3eb;
  --accent: #f7b500;
  --accent-bright: #ffc119;
  --line: rgba(255, 255, 255, 0.44);
  --shell: min(100% - 5rem, 1480px);
  --section-space: clamp(3rem, 4.5vw, 4.5rem);
  --content-gap: clamp(1.5rem, 2.2vw, 2rem);
  --heading-gap: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: #111713;
  font-family: "Corsica LX", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c2a1e;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(110px, 12vw, 180px);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .06) 32%, rgba(255, 255, 255, .28) 62%, rgba(255, 255, 255, .76) 86%, #fff 100%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .24) 42%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .24) 42%, #000 100%);
  pointer-events: none;
  content: "";
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background: url("../images/hero-house-v8.jpg") center center / cover no-repeat;
  animation: image-settle 1.8s cubic-bezier(.2,.7,.2,1) both;
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 10, 15, .58) 0%, rgba(4, 10, 15, .24) 13%, transparent 29%),
    radial-gradient(ellipse 54% 46% at 22% 58%, rgba(5, 11, 6, .52) 0%, rgba(5, 11, 6, .38) 42%, rgba(5, 11, 6, .14) 72%, transparent 100%),
    linear-gradient(0deg, rgba(5, 10, 6, .22) 0%, transparent 30%);
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  min-height: 78px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.055em;
}

.brand__line {
  font-size: 23px;
  font-weight: 700;
}

.brand__line strong {
  color: var(--accent);
}

.brand__sub {
  align-self: flex-end;
  margin-top: 5px;
  margin-right: 4px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .08em;
  opacity: .72;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 3vw, 3.5rem);
  font-size: 15px;
  font-weight: 500;
}

.main-nav a,
.header-contact__phone,
.text-link {
  position: relative;
}

.main-nav a::after,
.header-contact__phone::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

.main-nav a:hover::after,
.header-contact__phone:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.7vw, 2rem);
  padding-left: clamp(1rem, 1.7vw, 2rem);
}

.header-contact::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, .28);
  content: "";
  transform: translateY(-50%);
}

.header-contact__phone {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 38px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--outline {
  gap: 14px;
  min-width: 184px;
  min-height: 44px;
  padding-inline: 20px;
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  font-size: 15px;
}

.button--outline svg {
  width: 21px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: stroke .25s ease, transform .25s ease;
}

.button--outline:hover {
  color: var(--ink);
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.button--outline:hover svg {
  stroke: var(--ink);
  transform: translateX(4px);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(5rem, 10vh, 9rem);
  padding-bottom: clamp(2.4rem, 5.8vh, 5.2rem);
}

.hero__copy {
  max-width: 1000px;
  margin-bottom: 0;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.35rem, 4.6vw, 5.35rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .32), 0 1px 2px rgba(0, 0, 0, .24);
  animation: enter-up .9s .25s cubic-bezier(.2,.7,.2,1) both;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero__copy > p {
  margin: clamp(1.25rem, 2.4vh, 2rem) 0 0;
  font-size: clamp(1.15rem, 1.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .38);
  animation: enter-up .9s .38s cubic-bezier(.2,.7,.2,1) both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: clamp(1.8rem, 3.4vh, 2.8rem);
  animation: enter-up .9s .5s cubic-bezier(.2,.7,.2,1) both;
}

.button--primary {
  min-width: 286px;
  min-height: 68px;
  color: #10110e;
  background: var(--accent);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .13);
}

.button--primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 19px;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .38);
}

.text-link svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform .25s ease;
}

.text-link:hover svg {
  transform: translateX(7px);
}

.advantages {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: clamp(1.25rem, 2.5vh, 1.75rem) 0 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  animation: enter-up .9s .62s cubic-bezier(.2,.7,.2,1) both;
}

.advantages li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.advantages li:not(:last-child)::after {
  width: 1px;
  height: 31px;
  margin: 0 40px;
  background: var(--line);
  content: "";
}

.menu-toggle {
  display: none;
}

.quiz-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-space) 0;
  color: #f5f3ed;
  background: #171a17;
}

.quiz-section::before {
  position: absolute;
  top: 0;
  right: 7vw;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, .08);
  content: "";
}

.quiz-section__heading {
  margin-bottom: var(--content-gap);
}

.quiz-section__heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.quiz-section__heading > div > p {
  max-width: 650px;
  margin: var(--heading-gap) 0 0;
  color: rgba(245, 243, 237, .62);
  font-size: 18px;
  line-height: 1.55;
}

.quiz {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
  color: #191b18;
  background: #fff;
}

.quiz [hidden] {
  display: none !important;
}

.quiz__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(2rem, 3.5vw, 4rem);
}

.quiz__topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #777a73;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quiz__step-label b {
  color: var(--accent);
  font-weight: 500;
}

.quiz__progress {
  height: 1px;
  margin-top: 18px;
  background: rgba(25, 27, 24, .16);
}

.quiz__progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}

.quiz__steps {
  display: grid;
  flex: 1;
  align-items: center;
  padding: 2.5rem 0;
}

.quiz__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  animation: quiz-enter .35s ease both;
}

.quiz__step[hidden],
.quiz__success[hidden] {
  display: none;
}

.quiz__step legend {
  max-width: 650px;
  margin-bottom: clamp(2rem, 3vw, 3.25rem);
  padding: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quiz-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option span {
  display: flex;
  min-height: 112px;
  align-items: flex-end;
  padding: 20px;
  border: 1px solid rgba(25, 27, 24, .2);
  color: rgba(25, 27, 24, .78);
  font-size: 17px;
  line-height: 1.3;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}

.quiz-option span::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(25, 27, 24, .4);
  border-radius: 50%;
  content: "";
  transition: border-color .25s ease, background-color .25s ease;
}

.quiz-option:hover span,
.quiz-option input:focus-visible + span {
  border-color: rgba(247, 181, 0, .72);
  color: #191b18;
}

.quiz-option input:checked + span {
  border-color: var(--accent);
  color: #191b18;
  background: rgba(247, 181, 0, .08);
}

.quiz-option input:checked + span::before {
  border: 5px solid var(--accent);
  background: #fff;
}

.quiz__step.is-invalid .quiz-option span {
  border-color: rgba(247, 181, 0, .68);
}

.quiz__step--contact > p {
  max-width: 580px;
  margin: -1.4rem 0 2rem;
  color: #70726d;
  font-size: 16px;
  line-height: 1.55;
}

.quiz__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quiz__fields label span {
  display: block;
  margin-bottom: 9px;
  color: #777a73;
  font-size: 13px;
}

.quiz__fields input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(25, 27, 24, .22);
  outline: 0;
  color: #191b18;
  background: transparent;
  font: inherit;
}

.quiz__fields input:focus {
  border-color: var(--accent);
}

.quiz__fields input::placeholder {
  color: rgba(25, 27, 24, .34);
}

.quiz__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz__back {
  padding: 12px 0;
  border: 0;
  color: rgba(25, 27, 24, .68);
  background: transparent;
  cursor: pointer;
}

.quiz__back:disabled {
  opacity: .25;
  cursor: default;
}

.quiz__next,
.quiz__submit {
  min-width: 220px;
  min-height: 58px;
  cursor: pointer;
}

.quiz__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #fff;
}

.quiz__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz__visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 9, 6, .82) 100%);
}

.quiz__visual-copy {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  left: clamp(1.5rem, 3vw, 3rem);
}

.quiz__visual-copy strong {
  display: block;
  max-width: 340px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.quiz__success {
  align-self: center;
  animation: quiz-enter .4s ease both;
}

.quiz__success > span {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.quiz__success h3 {
  max-width: 620px;
  margin: 1rem 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
}

.quiz__success p {
  max-width: 520px;
  margin: 0;
  color: #70726d;
  line-height: 1.55;
}

.projects-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-space) 0;
  color: #191b18;
  background: #fff;
}

.projects-section::before {
  display: none;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: var(--content-gap);
}

.catalog-heading h2 {
  margin: 0;
  font-size: clamp(2.75rem, 3.7vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(520px, 2fr) minmax(280px, .8fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: var(--content-gap);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 0;
  color: #6f716c;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-kicker span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(22, 25, 21, .26);
  border-radius: 50%;
  color: #191b18;
  font-size: 11px;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-heading h2 span {
  display: block;
}

.section-heading__note {
  padding-top: 10px;
}

.section-heading__note p {
  max-width: 360px;
  margin: 0;
  color: #62645f;
  font-size: 17px;
  line-height: 1.55;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(25, 27, 24, .38);
  font-size: 16px;
  color: #c77f00;
  font-weight: 500;
}

.catalog-link svg {
  width: 25px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform .25s ease;
}

.catalog-link:hover svg {
  transform: translateX(6px);
}

.catalog-filters {
  display: flex;
  align-items: stretch;
  margin-bottom: var(--content-gap);
  border-bottom: 1px solid rgba(25, 27, 24, .2);
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-filters::-webkit-scrollbar {
  display: none;
}

.catalog-filters button {
  position: relative;
  flex: 0 0 auto;
  padding: 0 clamp(1.6rem, 2.5vw, 3rem) 18px;
  border: 0;
  color: #777873;
  background: transparent;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  transition: color .25s ease;
}

.catalog-filters button:first-child {
  padding-left: 0;
}

.catalog-filters button + button::before {
  position: absolute;
  top: 2px;
  bottom: 20px;
  left: 0;
  width: 1px;
  background: rgba(25, 27, 24, .18);
  content: "";
}

.catalog-filters button::after {
  position: absolute;
  right: clamp(1.6rem, 2.5vw, 3rem);
  bottom: -1px;
  left: clamp(1.6rem, 2.5vw, 3rem);
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .25s ease, transform .25s ease;
}

.catalog-filters button:first-child::after {
  left: 0;
}

.catalog-filters button:hover,
.catalog-filters button.is-active {
  color: #191b18;
}

.catalog-filters button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.75rem, 4vw, 4.75rem) clamp(1.25rem, 2.1vw, 2rem);
  align-items: start;
}

.project-card[hidden] {
  display: none;
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 2px solid transparent;
  background: #eceae4;
  transition: border-color .25s ease;
}

.project-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(8, 11, 8, .08));
  content: "";
  pointer-events: none;
}

.project-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}

.project-card:hover .project-card__media img {
  filter: saturate(.88) contrast(1.04);
  scale: 1.035;
}

.project-card:hover .project-card__media {
  border-color: var(--accent);
}

.project-card__body {
  padding-top: 14px;
}

.project-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 47px;
  padding: 0 2px 13px 0;
  border-bottom: 1px solid rgba(25, 27, 24, .2);
}

.project-card__title h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.55vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

.project-card__title > span {
  flex: 0 0 auto;
  color: #747770;
  font-size: clamp(1.15rem, 1.25vw, 1.4rem);
  font-weight: 400;
}

.project-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(25, 27, 24, .14);
}

.project-card__facts div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 30px;
  padding: 0 12px;
}

.project-card__facts div + div {
  border-left: 1px solid rgba(25, 27, 24, .14);
}

.project-card__facts div:first-child {
  padding-left: 0;
}

.project-card__facts div:last-child {
  padding-right: 0;
}

.project-card__facts dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.project-card__facts dd {
  margin: 0;
  white-space: nowrap;
  color: #4d514b;
  font-size: clamp(.88rem, 1vw, 1.08rem);
  font-weight: 400;
}

.project-card__facts svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #d48b00;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.project-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  margin: 0;
  padding: 14px 2px;
  border-bottom: 1px solid rgba(25, 27, 24, .14);
}

.project-card__price span {
  color: #7a7c76;
  font-size: 14px;
}

.project-card__price strong {
  color: #191b18;
  font-size: clamp(1rem, 1.12vw, 1.2rem);
  font-weight: 700;
}

.project-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(25, 27, 24, .14);
  border-top: 2px solid var(--accent);
  color: #191b18;
  background: linear-gradient(90deg, rgba(247, 181, 0, .055), transparent 65%);
  font-size: 16px;
  font-weight: 500;
  transition: color .25s ease, background-color .25s ease;
}

.project-card__action svg {
  width: 27px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform .25s ease;
}

.project-card__action:hover {
  background: rgba(247, 181, 0, .1);
}

.project-card__action:hover svg {
  transform: translateX(5px);
}

.catalog-more {
  margin-top: clamp(2.75rem, 5vw, 4.75rem);
}

.catalog-more__button {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 64px;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  min-height: 128px;
  padding: 24px clamp(1.5rem, 3vw, 3rem);
  border: 1px solid rgba(25, 27, 24, .17);
  border-top: 2px solid var(--accent);
  overflow: hidden;
  color: #191b18;
  background: #fff;
}

.catalog-more__button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 48%, rgba(247, 181, 0, .11) 100%);
  content: "";
  opacity: .45;
  transform: translateX(18%);
  transition: opacity .35s ease, transform .55s cubic-bezier(.2, .75, .2, 1);
}

.catalog-more__copy {
  display: block;
}

.catalog-more__copy strong {
  font-size: clamp(1.55rem, 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.catalog-more__meta {
  color: #656a63;
  font-size: 16px;
}

.catalog-more__arrow {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #171e19;
  background: var(--accent);
  transition: transform .35s cubic-bezier(.2, .75, .2, 1);
}

.catalog-more__arrow svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.catalog-more__button:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.catalog-more__button:hover .catalog-more__arrow {
  transform: translateX(7px);
}

.payment-calculator {
  padding: var(--section-space) 0;
  color: #171a17;
  background: #fff;
}

.payment-calculator__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.payment-calculator__heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.2vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
}

.payment-calculator__heading p {
  margin: .8rem 0 0;
  color: #777a74;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.payment-calculator__tabs {
  display: flex;
  gap: 22px;
  flex: 0 0 auto;
}

.payment-calculator__tabs button {
  min-width: 142px;
  padding: 0 14px 12px;
  border: 0;
  border-bottom: 2px solid rgba(25, 27, 24, .16);
  color: #747670;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.payment-calculator__tabs button.is-active {
  border-bottom-color: var(--accent);
  color: #171a17;
  font-weight: 500;
}

.payment-calculator__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.payment-calculator__controls {
  padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 2vw, 1.5rem) 0 0;
}

.payment-calculator__controls h3 {
  margin: 0 0 clamp(2rem, 3vw, 3rem);
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  font-weight: 500;
}

.payment-range {
  display: block;
  margin-bottom: clamp(2.25rem, 3.5vw, 3.75rem);
}

.payment-range__heading,
.payment-range__limits {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.payment-range__heading {
  margin-bottom: 20px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.payment-range__heading strong {
  font-size: clamp(1.35rem, 1.75vw, 1.7rem);
  font-weight: 600;
}

.payment-range input[type="range"] {
  width: 100%;
  height: 5px;
  margin: 0;
  border-radius: 0;
  outline: 0;
  background: linear-gradient(90deg, var(--accent) var(--range-progress, 40%), #dedfdc var(--range-progress, 40%));
  appearance: none;
}

.payment-range input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: grab;
  appearance: none;
}

.payment-range input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: grab;
}

.payment-range__limits {
  margin-top: 13px;
  color: #7b7e77;
}

.payment-range__limits small {
  font-size: 14px;
}

.payment-calculator__note {
  max-width: 650px;
  margin: -1rem 0 0;
  color: #777a74;
  font-size: 14px;
  line-height: 1.5;
}

.payment-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(2rem, 3vw, 3rem);
  color: #f6f4ee;
  background: linear-gradient(135deg, #302a25, #211f1c);
}

.payment-result__eyebrow {
  margin: 0 0 1rem;
  color: rgba(246, 244, 238, .7);
  font-size: 18px;
}

.payment-result__amount {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 1.75rem;
}

.payment-result__amount strong {
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.payment-result__amount span {
  flex: 0 0 auto;
  font-size: 20px;
}

.payment-result__facts {
  margin: 0 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .32);
}

.payment-result__facts div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-size: 17px;
}

.payment-result__facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.payment-result__summary {
  margin: 0 0 1.5rem;
  color: rgba(246, 244, 238, .68);
  line-height: 1.45;
}

.payment-result__button {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: auto;
  color: #171a17;
  background: var(--accent);
  font-size: 19px;
  font-weight: 500;
  transition: background-color .25s ease;
}

.payment-result__button:hover {
  background: var(--accent-bright);
}

.payment-result__button svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.payment-result > small {
  margin-top: 14px;
  color: rgba(246, 244, 238, .52);
  text-align: center;
}

.work-stages {
  overflow: hidden;
  color: #171411;
  background: #faf8f3;
}

.work-stages__layout {
  display: grid;
  min-height: clamp(690px, 54vw, 900px);
  grid-template-columns: minmax(420px, 38%) minmax(0, 1fr);
}

.work-stages__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #b8aa94;
}

.work-stages__media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 23%;
  background: linear-gradient(180deg, transparent, rgba(21, 15, 10, .82));
  pointer-events: none;
  content: "";
}

.work-stages__caption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 3.2vw, 58px);
  bottom: clamp(25px, 3vw, 48px);
  left: clamp(24px, 3.2vw, 58px);
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  letter-spacing: -.01em;
}

.work-stages__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  scale: 1.025;
  visibility: hidden;
  transition: opacity .65s ease, scale 1.1s cubic-bezier(.2, .7, .2, 1), visibility .65s;
}

.work-stages__image.is-active {
  opacity: 1;
  scale: 1;
  visibility: visible;
}

.work-stages__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(54px, 5.3vw, 94px) clamp(46px, 5.2vw, 96px) clamp(42px, 4vw, 72px);
}

.work-stages__heading {
  margin-bottom: clamp(28px, 3.5vw, 60px);
}

.work-stages__heading h2 {
  margin: 0;
  font-size: clamp(3.2rem, 4.3vw, 5.2rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.048em;
}

.work-stages__heading p {
  margin: 16px 0 0;
  color: #69645f;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.4;
}

.work-stages__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d7d2c9;
}

.work-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(142px, 10vw, 174px);
  grid-template-columns: clamp(92px, 7.2vw, 134px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.5vw, 26px);
  padding: clamp(24px, 2vw, 35px) clamp(18px, 2vw, 34px) clamp(24px, 2vw, 35px) 8px;
  border: 0;
  border-bottom: 1px solid #d7d2c9;
  color: #171411;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color .35s ease;
}

.work-stage:nth-child(even) {
  padding-right: 8px;
  padding-left: clamp(22px, 2.8vw, 48px);
}

.work-stage__number {
  display: block;
  color: #d38a00;
  font-size: clamp(3.5rem, 4.7vw, 5.5rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.055em;
  transition: color .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.work-stage__copy,
.work-stage__copy strong,
.work-stage__copy small {
  display: block;
}

.work-stage__copy strong {
  margin-bottom: 9px;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  font-weight: 400;
  line-height: 1.2;
}

.work-stage__copy small {
  max-width: 240px;
  color: #69645f;
  font-size: clamp(.92rem, 1.05vw, 1.08rem);
  line-height: 1.35;
}

.work-stage:hover,
.work-stage.is-active {
  background: linear-gradient(90deg, rgba(247, 181, 0, .09), transparent 76%);
}

.work-stage:hover .work-stage__number,
.work-stage.is-active .work-stage__number {
  color: #f2a600;
  transform: translateY(-3px);
}

.work-stages__link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  align-self: flex-end;
  margin-top: auto;
  padding: 28px 0 8px;
  border-bottom: 1px solid currentColor;
  color: #d38a00;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.work-stages__link svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform .25s ease;
}

.work-stages__link:hover svg {
  transform: translateX(5px);
}

.contact-cta,
.site-footer.site-footer--rich {
  color: #f4f1eb;
  background:
    radial-gradient(circle at 36% 18%, rgba(111, 64, 34, .23), transparent 32%),
    radial-gradient(circle at 78% 72%, rgba(96, 53, 29, .17), transparent 35%),
    linear-gradient(135deg, #211914 0%, #171412 54%, #211711 100%);
}

.contact-cta {
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(4rem, 6vw, 6rem);
}

.contact-cta__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .34);
}

.contact-cta__heading h2 {
  margin: 0 0 12px;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.contact-cta__heading p {
  margin: 0;
  color: rgba(244, 241, 235, .61);
  font-size: clamp(1rem, 1.28vw, 1.25rem);
  line-height: 1.5;
}

.contact-cta__promise {
  display: grid;
  gap: 8px;
  min-width: 330px;
  padding-bottom: 5px;
  text-align: right;
}

.contact-cta__promise strong {
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  font-weight: 500;
}

.contact-cta__promise span {
  color: rgba(244, 241, 235, .58);
  font-size: 16px;
}

.contact-cta__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 22px 40px;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .34);
}

.contact-cta__field {
  display: grid;
  align-content: end;
  min-width: 0;
}

.contact-cta__field > span {
  margin-bottom: 14px;
  color: rgba(244, 241, 235, .58);
  font-size: 15px;
}

.contact-cta__field input {
  width: 100%;
  min-width: 0;
  padding: 0 0 15px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  font-weight: 300;
  line-height: 1;
  transition: border-color .25s ease;
}

.contact-cta__field input::placeholder {
  color: rgba(255, 255, 255, .9);
  opacity: 1;
}

.contact-cta__field input:focus {
  border-color: var(--accent);
}

.contact-cta__submit {
  display: grid;
  align-content: end;
  gap: 14px;
}

.contact-cta__submit button {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 24px;
  border: 0;
  color: #171512;
  background: var(--accent);
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.contact-cta__submit button:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
}

.contact-cta__submit button:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.contact-cta__submit svg,
.contact-cta__all svg,
.site-footer__project-link svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform .25s ease;
}

.contact-cta__submit small {
  color: rgba(244, 241, 235, .5);
  font-size: 14px;
  text-align: center;
}

.contact-cta__consent {
  grid-column: 1;
  margin: 0;
  color: rgba(244, 241, 235, .48);
  font-size: 14px;
}

.contact-cta__status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 16px;
}

.contact-cta__status.is-error {
  color: #ff8f85;
}

.contact-cta__details {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.35fr auto;
  align-items: center;
  gap: 0;
  padding-top: clamp(2.3rem, 3.5vw, 3.5rem);
}

.contact-cta__details > div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 30px;
}

.contact-cta__details > div:first-child {
  padding-left: 0;
}

.contact-cta__details > div + div,
.contact-cta__all {
  border-left: 1px solid rgba(255, 255, 255, .27);
}

.contact-cta__details a:not(.contact-cta__all),
.contact-cta__details strong {
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 500;
}

.contact-cta__details span {
  color: rgba(244, 241, 235, .52);
  font-size: 14px;
}

.contact-cta__all {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: 20px;
  padding: 12px 0 9px 30px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 16px;
  white-space: nowrap;
}

.contact-cta__all:hover svg,
.site-footer__project-link:hover svg {
  transform: translateX(5px);
}

.site-footer.site-footer--rich {
  padding: clamp(4.5rem, 7vw, 7rem) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4rem;
  align-items: start;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.site-footer__brand .brand__line {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: .035em;
}

.site-footer__brand .brand__sub {
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .55em;
  opacity: 1;
}

.site-footer__top > div:first-child > p {
  margin: 22px 0 0;
  color: rgba(244, 241, 235, .7);
  font-size: 16px;
  line-height: 1.55;
}

.site-footer__contact {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.site-footer__phone {
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}

.site-footer__contact > span {
  color: rgba(244, 241, 235, .62);
  font-size: 16px;
}

.site-footer__project-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding-bottom: 7px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 17px;
}

.site-footer__project-link svg {
  width: 23px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.site-footer__nav nav {
  display: grid;
  align-content: start;
  gap: 16px;
}

.site-footer__nav strong {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
}

.site-footer__nav a,
.site-footer__nav span {
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.35;
}

.site-footer__nav a {
  width: fit-content;
  transition: color .2s ease;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr 1fr;
  gap: 2rem;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  color: rgba(244, 241, 235, .62);
  font-size: 13px;
}

.site-footer__bottom span:last-child {
  text-align: right;
}

.building-types {
  position: relative;
  overflow: hidden;
  padding: var(--section-space) 0;
  color: #191b18;
  background: #fff;
}

.building-types__heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: var(--content-gap);
}

.building-types__heading h2 {
  margin: 0;
  font-size: clamp(3.5rem, 5.1vw, 6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.building-types__heading p {
  max-width: 760px;
  margin: var(--heading-gap) 0 0;
  color: #666861;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.5;
}

.building-types__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.building-card {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: .48;
  overflow: hidden;
  color: #f3f2ee;
  background: #242824;
}

.building-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.building-card > img {
  z-index: -2;
  display: block;
  object-fit: cover;
  transition: scale .75s cubic-bezier(.2,.7,.2,1);
}

.building-card:nth-child(1) > img { object-position: 48% center; }
.building-card:nth-child(2) > img { object-position: 62% center; }
.building-card:nth-child(3) > img { object-position: 52% center; }
.building-card:nth-child(4) > img { object-position: 50% center; }
.building-card:nth-child(5) > img { object-position: 50% center; }

.building-card::after {
  position: absolute;
  z-index: -1;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 7, .12) 40%, rgba(6, 9, 7, .5) 100%);
  pointer-events: none;
  content: "";
}

.building-card__content {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.building-card__title {
  max-width: 155px;
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
  font-weight: 400;
  line-height: 1.18;
}

.building-card__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  transition: color .28s ease, background-color .28s ease, transform .28s ease;
}

.building-card__arrow svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.building-card:hover > img {
  scale: 1.045;
}

.building-card:hover .building-card__arrow {
  color: #151815;
  background: var(--accent);
  transform: translateX(3px);
}

@keyframes image-settle {
  from { opacity: .5; }
  to { opacity: 1; }
}

@keyframes enter-down {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes enter-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes quiz-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1320px) {
  :root { --shell: min(100% - 3rem, 1120px); }

  .site-header__inner {
    grid-template-columns: 175px 1fr auto;
  }

  .main-nav {
    gap: 1.35rem;
    font-size: 14px;
  }

  .header-contact {
    padding-left: 0;
  }

  .header-contact::before,
  .header-contact__phone {
    display: none;
  }

  .hero__copy {
    margin-bottom: 0;
  }

  .section-heading {
    grid-template-columns: minmax(480px, 1fr) minmax(260px, .6fr);
    gap: 2rem;
  }

  .building-card__content {
    right: 16px;
    bottom: 18px;
    left: 16px;
  }

  .building-card__arrow {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 2rem, 760px); }

  .hero {
    min-height: 100svh;
    aspect-ratio: auto;
  }

  .hero__image {
    background-position: 58% center;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 10, 15, .66) 0%, rgba(4, 10, 15, .28) 19%, rgba(4, 10, 15, .18) 48%, rgba(5, 10, 6, .4) 100%),
      linear-gradient(90deg, rgba(3, 8, 5, .24) 0%, rgba(3, 8, 5, .12) 72%, rgba(3, 8, 5, .08) 100%);
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 70px;
    padding-block: 10px;
  }

  .brand__line {
    font-size: 22px;
  }

  .brand__sub {
    font-size: 9px;
  }

  .menu-toggle {
    position: relative;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border: 0;
    color: inherit;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .menu-toggle__icon {
    display: grid;
    gap: 6px;
    width: 28px;
  }

  .menu-toggle__icon i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform .25s ease;
  }

  .menu-open .menu-toggle__icon i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle__icon i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 11;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.4rem;
    padding: 110px 2rem 3rem;
    color: var(--paper);
    background: rgba(13, 20, 14, .97);
    font-size: clamp(2rem, 9vw, 4rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .menu-open {
    overflow: hidden;
  }

  .menu-open .menu-toggle {
    color: var(--paper);
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-contact {
    display: none;
  }

  .hero__content {
    height: auto;
    min-height: 100svh;
    justify-content: flex-end;
    padding-top: 20vh;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12.5vw, 5rem);
    line-height: .98;
  }

  .hero__copy > p br {
    display: none;
  }

  .hero h1 span {
    display: inline;
    white-space: normal;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .button--primary {
    width: min(100%, 360px);
    min-width: 0;
    min-height: 66px;
  }

  .advantages {
    position: static;
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 0;
    font-size: 15px;
  }

  .advantages li:not(:last-child)::after {
    height: 20px;
    margin: 0 15px;
  }

  .quiz-section {
    padding: var(--section-space) 0;
  }

  .quiz-section__heading {
    display: block;
    margin-bottom: var(--content-gap);
  }

  .quiz-section__heading .section-kicker {
    margin-bottom: 2.2rem;
  }

  .quiz {
    grid-template-columns: 1fr;
  }

  .quiz__main {
    min-height: 520px;
  }

  .quiz__visual {
    min-height: 340px;
  }

  .projects-section {
    padding: var(--section-space) 0;
  }

  .section-heading {
    display: block;
    margin-bottom: var(--content-gap);
  }

  .section-kicker {
    margin: 0 0 2.2rem;
  }

  .section-heading h2 span {
    display: inline;
  }

  .section-heading__note {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .section-heading__note p {
    max-width: 450px;
  }

  .catalog-link {
    flex: 0 0 auto;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card__title h3 {
    font-size: 1.45rem;
  }

  .building-types {
    padding: var(--section-space) 0;
  }

  .building-types__heading {
    display: block;
    margin-bottom: var(--content-gap);
  }

  .building-types__heading p {
    margin: var(--heading-gap) 0 0;
  }

  .building-types__grid {
    width: calc(100% + (100vw - 100%) / 2);
    grid-auto-columns: minmax(260px, 44vw);
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    padding-right: 1rem;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .building-types__grid::-webkit-scrollbar {
    display: none;
  }

  .building-card {
    aspect-ratio: .54;
    scroll-snap-align: start;
  }

  .payment-calculator__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.75rem;
  }

  .payment-calculator__grid {
    grid-template-columns: 1fr;
  }

  .payment-calculator__controls {
    padding-right: 0;
  }

  .work-stages__layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .work-stages__media {
    height: clamp(420px, 72vw, 620px);
    min-height: 0;
  }

  .work-stages__content {
    padding: 52px 40px 46px;
  }

  .work-stages__heading {
    margin-bottom: 34px;
  }

  .work-stage {
    min-height: 145px;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .work-stage:nth-child(even) {
    padding-left: 26px;
  }
}

@media (max-width: 520px) {
  .hero__copy {
    margin-bottom: 2.4rem;
  }

  .hero__copy > p {
    font-size: 1.05rem;
  }

  .text-link {
    font-size: 18px;
  }

  .advantages li {
    width: 100%;
  }

  .advantages {
    margin-top: 0;
  }

  .advantages li:not(:last-child)::after {
    display: none;
  }

  .quiz-section {
    padding: var(--section-space) 0;
  }

  .quiz-section__heading h2 {
    font-size: 2.65rem;
  }

  .quiz-section__heading > div > p {
    font-size: 16px;
  }

  .quiz__main {
    min-height: 570px;
    padding: 24px 18px;
  }

  .quiz__hint {
    display: none;
  }

  .quiz__steps {
    padding: 2rem 0;
  }

  .quiz__step legend {
    margin-bottom: 1.8rem;
    font-size: 2rem;
  }

  .quiz__options,
  .quiz__fields {
    grid-template-columns: 1fr;
  }

  .quiz-option span {
    min-height: 66px;
    align-items: center;
    padding: 15px 50px 15px 16px;
  }

  .quiz-option span::before {
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
  }

  .quiz__controls {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quiz__next,
  .quiz__submit {
    width: 100%;
    min-width: 0;
  }

  .quiz__back {
    align-self: flex-start;
  }

  .quiz__visual {
    min-height: 250px;
  }

  .projects-section {
    padding: var(--section-space) 0;
  }

  .section-heading h2 {
    font-size: 2.65rem;
  }

  .section-heading__note {
    display: block;
  }

  .section-heading__note p {
    font-size: 16px;
  }

  .catalog-link {
    margin-top: 0;
  }

  .catalog-heading {
    display: block;
  }

  .catalog-heading h2 {
    font-size: 2.75rem;
  }

  .catalog-heading .catalog-link {
    margin-top: 1.75rem;
  }

  .catalog-filters {
    width: calc(100% + 1rem);
    margin-bottom: var(--content-gap);
  }

  .catalog-filters button {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    font-size: 16px;
  }

  .catalog-filters button::after {
    right: 1.5rem;
    left: 1.5rem;
  }

  .project-grid {
    display: block;
  }

  .project-card,
  .project-card:nth-child(2),
  .project-card:nth-child(3) {
    width: 100%;
    margin-top: 0;
  }

  .project-card + .project-card {
    margin-top: 3.2rem;
  }

  .project-card__body {
    display: block;
  }

  .project-card__facts div {
    gap: 6px;
    padding: 0 7px;
  }

  .project-card__facts svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .project-card__facts dd {
    font-size: 13px;
  }

  .project-card__facts {
    display: grid;
  }

  .catalog-more__button {
    grid-template-columns: 1fr 52px;
    min-height: 112px;
    gap: 1rem;
    padding: 22px 20px;
  }

  .catalog-more__meta {
    grid-column: 1;
    color: #656a63;
    font-size: 14px;
  }

  .catalog-more__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
  }

  .payment-calculator__heading h2 {
    font-size: 2.7rem;
  }

  .payment-calculator__tabs {
    width: 100%;
    gap: 12px;
  }

  .payment-calculator__tabs button {
    min-width: 0;
    flex: 1;
    padding-inline: 6px;
    font-size: 18px;
  }

  .payment-calculator__controls h3 {
    font-size: 1.8rem;
  }

  .payment-range__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .payment-range__heading strong {
    font-size: 1.35rem;
  }

  .payment-result {
    padding: 26px 20px;
  }

  .payment-result__amount {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .payment-result__amount strong {
    font-size: 3rem;
  }

  .payment-result__button {
    min-height: 62px;
    padding-inline: 14px;
    font-size: 16px;
  }

  .work-stages__heading h2 {
    font-size: 2.85rem;
  }

  .work-stages__heading p {
    max-width: 310px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  .work-stages__media {
    height: 118vw;
    max-height: 520px;
  }

  .work-stages__content {
    padding: 38px 20px 34px;
  }

  .work-stages__steps {
    grid-template-columns: 1fr;
  }

  .work-stage,
  .work-stage:nth-child(even) {
    min-height: 116px;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 4px;
  }

  .work-stage__number {
    font-size: 3.7rem;
  }

  .work-stage__copy strong {
    margin-bottom: 5px;
    font-size: 1.08rem;
  }

  .work-stage__copy small {
    font-size: .92rem;
  }

  .work-stages__caption {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .work-stages__link {
    align-self: flex-start;
    margin-top: 12px;
    padding-top: 20px;
  }

  .building-types {
    padding: var(--section-space) 0;
  }

  .building-types__heading h2 {
    font-size: 3.1rem;
  }

  .building-types__heading p {
    font-size: 16px;
  }

  .building-types__grid {
    grid-auto-columns: 82vw;
  }

  .building-card {
    aspect-ratio: .58;
  }

  .building-card__title {
    max-width: 180px;
    font-size: 1.3rem;
  }
}

@media (max-width: 900px) {
  .contact-cta__heading,
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-cta__promise {
    min-width: 0;
    text-align: left;
  }

  .contact-cta__form {
    grid-template-columns: 1fr;
  }

  .contact-cta__submit {
    max-width: 420px;
  }

  .contact-cta__consent {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-cta__details {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }

  .contact-cta__details > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .contact-cta__all {
    align-self: stretch;
  }

  .site-footer__contact {
    justify-items: start;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom span:last-child {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .contact-cta {
    padding-block: 3.5rem;
  }

  .contact-cta__heading h2 {
    font-size: 2.8rem;
  }

  .contact-cta__form {
    gap: 18px;
    padding-block: 2.5rem;
  }

  .contact-cta__field input {
    font-size: 2rem;
  }

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

  .contact-cta__submit button {
    min-height: 64px;
    font-size: 17px;
  }

  .contact-cta__details {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 1.5rem;
  }

  .contact-cta__details > div {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .contact-cta__details > div + div {
    border-left: 0;
  }

  .contact-cta__all {
    margin: 18px 0 0;
    padding: 12px 0 8px;
    border-left: 0;
  }

  .site-footer.site-footer--rich {
    padding-top: 3.5rem;
  }

  .site-footer__top {
    margin-bottom: 3.5rem;
  }

  .site-footer__top > div:first-child > p br {
    display: none;
  }

  .site-footer__phone {
    font-size: 1.8rem;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
