@layer reset, base, components, sections, responsive;

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

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  figure,
  dl,
  dd,
  ol {
    margin: 0;
  }

  ol {
    padding: 0;
    list-style: none;
  }

  ul.hero__catalog {
    margin-block: 0;
    list-style: none;
  }

  img {
    display: block;
    max-width: 100%;
  }

  button,
  input {
    font: inherit;
  }
}

@layer base {
  :root {
    --ink: #12161d;
    --muted: #61656e;
    --accent: #ebd4ab;
    --sand: #f2ece7;
    --white: #fff;
    --radius: 8px;
    --content: 1280px;
    --side: max(80px, calc((100vw - var(--content)) / 2));
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--white);
    color: var(--ink);
    font-family: "Cygre", "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: inherit;
  }

  :focus-visible {
    outline: 3px solid #d5a957;
    outline-offset: 4px;
  }

  .container {
    width: min(var(--content), calc(100% - 2 * var(--side)));
    margin-inline: auto;
  }

  .section {
    position: relative;
  }

  .section--sand {
    background: var(--sand);
  }

  .section-title {
    max-width: 650px;
    font-size: clamp(38px, 3.35vw, 48px);
    font-weight: 500;
    line-height: 1.17;
    letter-spacing: -0.045em;
  }

  .section-copy {
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
  }

  .section-intro {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 50px;
    align-items: start;
  }

  .section-intro > .section-copy {
    max-width: 650px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-160%);
    transition: transform 180ms ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1);
  }

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

@layer components {
  .button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 38px;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  }

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

  .button:active {
    transform: translateY(0);
  }

  .button--accent {
    background: var(--accent);
  }

  .button--accent:hover {
    background: #f2ddb6;
  }

  .button--outline-light {
    border: 2px solid rgba(255, 255, 255, .94);
    background: rgba(255, 255, 255, .04);
    color: var(--white);
    backdrop-filter: blur(8px);
  }

  .button--outline-light:hover,
  .button--glass:hover {
    background: rgba(255, 255, 255, .22);
  }

  .button--glass {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .22);
    color: var(--white);
    backdrop-filter: blur(18px);
  }

  .button--wide {
    min-width: 410px;
  }
}

@layer sections {
  .hero {
    position: relative;
    min-height: 1100px;
    overflow: hidden;
    background: #284357;
    color: var(--white);
  }

  .hero__backdrop {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, .12) 69%, rgba(255, 255, 255, .04) 81%, #fff 100%),
      radial-gradient(circle at 22% 34%, rgba(0, 0, 0, .25), transparent 43%),
      url('/assets/images/hero-city.webp');
    background-repeat: no-repeat;
    background-position: center, center, center top;
    background-size: cover, cover, cover;
    transform: scale(1.015);
    will-change: transform;
  }

  .hero__inner {
    position: relative;
    min-height: 1100px;
  }

  .hero__header {
    display: flex;
    height: 113px;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 49px;
  }

  .wordmark {
    margin-top: 13px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero__consult {
    width: 410px;
  }

  .hero__copy {
    position: relative;
    z-index: 1;
    margin-top: 54px;
  }

  .hero__copy h1 {
    max-width: 900px;
    font-size: clamp(64px, 5.05vw, 73px);
    font-weight: 500;
    line-height: .99;
    letter-spacing: -.055em;
  }

  .hero__copy p {
    margin-top: 25px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.45;
  }

  .hero__actions {
    display: flex;
    gap: 19px;
    margin-top: 18px;
  }

  .hero__actions .button:first-child {
    width: 233px;
  }

  .hero__actions .button:last-child {
    width: 231px;
  }

  .hero__signature {
    position: absolute;
    z-index: 1;
    top: 492px;
    left: 730px;
    width: 303px;
    height: auto;
  }

  .hero__catalog {
    position: absolute;
    z-index: 2;
    top: 739px;
    left: 50%;
    display: grid;
    width: 1136px;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 13px 9px 42px rgba(80, 99, 116, .29);
    transform: translateX(-50%);
  }

  .property-tile {
    position: relative;
    height: 252px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--tile-image) center / cover no-repeat;
  }

  .property-tile--penthouse {
    --tile-image: url('/assets/images/category-penthouse.webp');
  }

  .property-tile--clubhouse {
    --tile-image: url('/assets/images/category-residence.webp');
  }

  .property-tile--residence {
    --tile-image: url('/assets/images/category-clubhouse.webp');
  }

  .property-tile--country {
    --tile-image: url('/assets/images/category-country-house.webp');
  }

  .property-tile::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 58%, rgba(0, 0, 0, .18));
    content: "";
    transition: background-color 300ms ease, transform 500ms ease;
  }

  .property-tile:hover::before {
    background-color: rgba(0, 0, 0, .07);
  }

  .property-tile h2 {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(224, 211, 190, .66);
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    backdrop-filter: blur(9px);
  }

  .about {
    min-height: 796px;
    padding-top: 118px;
  }

  .about__grid {
    display: grid;
    grid-template-columns: 550px 680px;
    gap: 50px;
  }

  .about__content {
    padding-top: 8px;
  }

  .about__copy {
    margin-top: 24px;
  }

  .stats {
    display: grid;
    max-width: 555px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 78px;
  }

  .stats dt {
    font-size: 39px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.045em;
  }

  .stats dd {
    margin-top: 14px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.2;
  }

  .about .button {
    margin-top: 61px;
  }

  .about__portrait {
    height: 556px;
    overflow: hidden;
    border-radius: var(--radius);
  }

  .about__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 51% 40%;
  }

  .principles {
    min-height: 641px;
    padding-top: 126px;
  }

  .principles__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 352px));
    justify-content: space-between;
    gap: 0;
    margin-top: 85px;
  }

  .item-number {
    display: block;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1;
  }

  .principles__list h3 {
    font-size: 37px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.045em;
  }

  .principles__list p {
    max-width: 385px;
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.55;
  }

  .services {
    min-height: 974px;
    padding-top: 120px;
  }

  .services__grid {
    display: grid;
    grid-template-columns: 680px 550px;
    gap: 50px;
  }

  .services__right {
    display: flex;
    flex-direction: column;
  }

  .services__intro {
    min-height: 304px;
    padding-top: 5px;
  }

  .services__intro .section-copy {
    max-width: 531px;
    margin-top: 23px;
  }

  .service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    isolation: isolate;
    background: var(--service-image) center / cover no-repeat;
    color: var(--white);
  }

  .service-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 20, 18, .63), rgba(23, 20, 18, .08) 70%);
    content: "";
  }

  .service-card::after,
  .case-card::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--service-image, var(--case-image)) center / cover no-repeat;
    content: "";
    transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
  }

  .service-card:hover::after,
  .case-card:hover::after {
    transform: scale(1.025);
  }

  .service-card--purchase {
    --service-image: url('/assets/images/private-selection.webp');
    height: 734px;
  }

  .service-card--sale {
    --service-image: url('/assets/images/private-sale.webp');
    height: 430px;
  }

  .service-card__body {
    position: absolute;
    right: 28px;
    bottom: 36px;
    left: 28px;
  }

  .service-card h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.04em;
  }

  .service-card p {
    max-width: 575px;
    margin-top: 21px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
  }

  .service-card .button {
    margin-top: 20px;
    padding-inline: 30px;
  }

  .service-card--sale .service-card__body {
    bottom: 36px;
  }

  .service-card--sale p {
    max-width: 410px;
  }

  .process {
    min-height: 884px;
    overflow: hidden;
    padding-top: 125px;
  }

  .process__inner {
    position: relative;
    min-height: 759px;
  }

  .process__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 352px));
    justify-content: space-between;
    gap: 87px 0;
    margin-top: 85px;
  }

  .process-step {
    position: relative;
    min-height: 170px;
    padding-top: 23px;
  }

  .process-step::before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 122px;
    height: 175px;
    background: var(--step-art) left top / contain no-repeat;
    content: "";
  }

  .process-step--one {
    --step-art: url('/assets/vectors/step-1.svg');
  }

  .process-step--two {
    --step-art: url('/assets/vectors/step-2.svg');
  }

  .process-step--three {
    --step-art: url('/assets/vectors/step-3.svg');
  }

  .process-step--four {
    --step-art: url('/assets/vectors/step-4.svg');
  }

  .process-step--five {
    --step-art: url('/assets/vectors/step-5.svg');
  }

  .process-step h3 {
    font-size: 37px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.045em;
  }

  .process-step p {
    max-width: 365px;
    margin-top: 21px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
  }

  .process__building {
    position: absolute;
    z-index: 0;
    right: -174px;
    bottom: -230px;
    width: 701px;
    opacity: .8;
    pointer-events: none;
  }

  .results {
    min-height: 1208px;
    padding-top: 120px;
  }

  .results__grid {
    position: relative;
    display: grid;
    grid-template-columns: 550px 680px;
    grid-template-rows: 196px 772px;
    gap: 0 50px;
  }

  .results__title {
    grid-column: 1;
    grid-row: 1;
    padding-top: 9px;
  }

  .case-card {
    position: relative;
    z-index: 0;
    overflow: hidden;
    border-radius: var(--radius);
    isolation: isolate;
    color: var(--white);
  }

  .case-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, .28);
    content: "";
  }

  .case-card--purchase {
    --case-image: url('/assets/images/case-purchase.webp');
    grid-column: 1;
    grid-row: 2;
    height: 772px;
  }

  .case-card--sale {
    --case-image: url('/assets/images/case-sale.webp');
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 968px;
  }

  .case-card__content {
    padding: 40px 38px;
  }

  .case-card__content h3 {
    margin-top: 59px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.035em;
  }

  .case-card__content h3:first-child {
    margin-top: 0;
  }

  .case-card__content p {
    max-width: 475px;
    margin-top: 19px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
  }

  .case-card__result {
    position: absolute;
    right: 29px;
    bottom: 25px;
    left: 29px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .case-card__result dd {
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.03em;
  }

  .contact {
    position: relative;
    min-height: 888px;
    overflow: hidden;
    background: #090909;
    color: var(--white);
  }

  .contact__backdrop {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)),
      url('/assets/images/category-penthouse.webp') center / cover no-repeat;
  }

  .contact__inner {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 127px;
  }

  .contact h2 {
    max-width: 550px;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.045em;
    text-align: center;
  }

  .lead-form {
    display: flex;
    width: 592px;
    align-items: center;
    flex-direction: column;
    margin-top: 48px;
  }

  .field {
    position: relative;
    width: 100%;
    margin-bottom: 13px;
  }

  .field input {
    width: 100%;
    height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    padding: 0 18px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
  }

  .field input::placeholder {
    color: var(--muted);
    opacity: 1;
  }

  .field input[aria-invalid="true"] {
    border-color: #9b2f2f;
    box-shadow: 0 0 0 3px rgba(155, 47, 47, .18);
  }

  .field__error {
    position: absolute;
    z-index: 2;
    top: 52px;
    left: 18px;
    color: #ffd5d5;
    font-size: 11px;
  }

  .lead-form__submit {
    width: 226px;
    margin-top: 1px;
  }

  .lead-form__notice {
    max-width: 390px;
    margin-top: 13px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.27;
    text-align: center;
  }

  .lead-form__notice a {
    text-underline-offset: 2px;
  }

  .lead-form__status {
    min-height: 18px;
    margin-top: 12px;
    color: var(--accent);
    font-size: 12px;
    text-align: center;
  }

  .contact__signature {
    width: 303px;
    height: auto;
    margin-top: 52px;
  }
}

@layer responsive {
  @media (max-width: 1199px) {
    :root {
      --side: 48px;
    }

    .hero__catalog {
      width: calc(100% - 96px);
      gap: 18px;
    }

    .hero__signature {
      left: 57%;
    }

    .about__grid {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
      gap: 40px;
    }

    .principles__list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      justify-content: stretch;
      gap: 40px;
    }

    .process__steps {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      justify-content: stretch;
      gap: 87px 40px;
    }

    .services__grid,
    .results__grid {
      grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
      gap: 38px;
    }

    .results__grid {
      grid-template-rows: 196px 772px;
    }
  }

  @media (max-width: 980px) {
    :root {
      --side: 40px;
    }

    .section-intro {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 32px;
    }

    .hero {
      min-height: 1060px;
    }

    .hero__inner {
      min-height: 1060px;
    }

    .hero__consult {
      width: auto;
      padding-inline: 26px;
    }

    .hero__copy h1 {
      font-size: clamp(54px, 7.2vw, 68px);
    }

    .hero__signature {
      top: 505px;
      left: auto;
      right: 5%;
    }

    .hero__catalog {
      top: 735px;
      width: calc(100% - 80px);
      grid-template-columns: repeat(4, 254px);
      overflow-x: auto;
      overscroll-behavior-inline: contain;
      scrollbar-width: thin;
      scroll-snap-type: x proximity;
    }

    .property-tile {
      scroll-snap-align: start;
    }

    .about {
      min-height: auto;
      padding-block: 100px;
    }

    .about__grid {
      grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
      gap: 32px;
    }

    .about__portrait {
      height: 530px;
    }

    .stats {
      gap: 12px;
    }

    .stats dt {
      font-size: 34px;
    }

    .about .button {
      min-width: 0;
      width: 100%;
      padding-inline: 20px;
    }

    .principles {
      min-height: auto;
      padding-block: 100px;
    }

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

    .principles__list h3,
    .process-step h3 {
      font-size: 31px;
    }

    .principles__list p {
      font-size: 16px;
    }

    .services {
      min-height: auto;
      padding-block: 100px;
    }

    .services__grid {
      grid-template-columns: 1.05fr .95fr;
      gap: 32px;
    }

    .service-card--purchase {
      height: 700px;
    }

    .services__intro {
      min-height: 310px;
    }

    .service-card--sale {
      height: 390px;
    }

    .process {
      min-height: auto;
      padding-block: 100px 60px;
    }

    .process__steps {
      grid-template-columns: repeat(2, 1fr);
      justify-content: stretch;
      gap: 87px 64px;
    }

    .process__building {
      right: -260px;
    }

    .results {
      min-height: auto;
      padding-block: 100px;
    }

    .results__grid {
      grid-template-rows: 180px 700px;
      gap: 32px;
    }

    .case-card--purchase {
      height: 700px;
    }

    .case-card--sale {
      height: 880px;
    }
  }

  @media (max-width: 767px) {
    :root {
      --side: 20px;
    }

    .section-title {
      font-size: clamp(34px, 10.2vw, 44px);
      line-height: 1.13;
    }

    .section-intro {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .hero {
      min-height: 950px;
    }

    .hero__backdrop {
      background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .13) 67%, rgba(255, 255, 255, .02) 82%, #fff 100%),
        radial-gradient(circle at 25% 28%, rgba(0, 0, 0, .33), transparent 52%),
        url('/assets/images/hero-city.webp');
      background-position: center, center, 58% top;
    }

    .hero__inner {
      min-height: 950px;
    }

    .hero__header {
      height: 84px;
      padding-top: 24px;
    }

    .wordmark {
      margin-top: 11px;
      font-size: 16px;
    }

    .hero__consult {
      min-height: 38px;
      padding: 8px 14px;
      font-size: 0;
    }

    .hero__consult::after {
      font-size: 13px;
      content: "Консультация";
    }

    .hero__copy {
      margin-top: 58px;
    }

    .hero__copy h1 {
      font-size: clamp(42px, 12.8vw, 58px);
      line-height: 1.02;
    }

    .hero__copy p {
      max-width: 520px;
      margin-top: 24px;
      font-size: 16px;
    }

    .hero__copy p br {
      display: none;
    }

    .hero__actions {
      align-items: stretch;
      flex-direction: column;
      gap: 12px;
      margin-top: 28px;
    }

    .hero__actions .button:first-child,
    .hero__actions .button:last-child {
      width: min(100%, 300px);
    }

    .hero__signature {
      top: 515px;
      right: 20px;
      width: 220px;
    }

    .hero__catalog {
      top: 682px;
      left: 20px;
      width: calc(100vw - 20px);
      grid-template-columns: repeat(4, 214px);
      gap: 12px;
      padding: 14px 14px 18px;
      transform: none;
    }

    .property-tile {
      height: 220px;
    }

    .property-tile h2 {
      min-height: 39px;
      font-size: 15px;
    }

    .about {
      padding-block: 78px;
    }

    .about__grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .about__copy br {
      display: none;
    }

    .stats {
      margin-top: 49px;
    }

    .stats dt {
      font-size: clamp(27px, 8vw, 34px);
    }

    .stats dd {
      margin-top: 9px;
      font-size: 15px;
    }

    .about .button {
      margin-top: 48px;
    }

    .about__portrait {
      height: min(128vw, 560px);
    }

    .principles {
      padding-block: 78px;
    }

    .principles__list {
      grid-template-columns: 1fr;
      gap: 54px;
      margin-top: 64px;
    }

    .item-number {
      margin-bottom: 22px;
    }

    .principles__list h3 {
      font-size: 34px;
    }

    .principles__list p {
      margin-top: 18px;
    }

    .services {
      padding-block: 78px;
    }

    .services__grid {
      display: flex;
      flex-direction: column-reverse;
      gap: 22px;
    }

    .services__right {
      display: contents;
    }

    .services__intro {
      order: 3;
      min-height: 0;
      margin-bottom: 24px;
    }

    .services__intro .section-copy {
      margin-top: 22px;
    }

    .service-card--purchase,
    .service-card--sale {
      height: 550px;
    }

    .service-card--purchase {
      order: 2;
    }

    .service-card--sale {
      order: 1;
      height: 460px;
    }

    .service-card__body {
      right: 22px;
      bottom: 24px;
      left: 22px;
    }

    .service-card h3 {
      font-size: 28px;
    }

    .service-card .button {
      width: 100%;
    }

    .process {
      padding-block: 78px 40px;
    }

    .process__steps {
      grid-template-columns: 1fr;
      gap: 38px;
      margin-top: 64px;
    }

    .process-step {
      min-height: 150px;
    }

    .process-step p {
      max-width: min(82%, 410px);
    }

    .process__building {
      right: -210px;
      bottom: -130px;
      width: 490px;
      opacity: .28;
    }

    .results {
      padding-block: 78px;
    }

    .results__grid {
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .results__title {
      padding: 0 0 26px;
    }

    .case-card--purchase,
    .case-card--sale {
      width: 100%;
      height: 610px;
    }

    .case-card__content {
      padding: 30px 26px;
    }

    .case-card__content h3 {
      margin-top: 38px;
      font-size: 27px;
    }

    .case-card__result {
      right: 24px;
      bottom: 24px;
      left: 24px;
    }

    .case-card__result dd {
      font-size: 24px;
    }

    .contact {
      min-height: 760px;
    }

    .contact__backdrop {
      background-position: 53% center;
    }

    .contact__inner {
      padding-top: 90px;
    }

    .contact h2 {
      font-size: clamp(34px, 10.2vw, 44px);
    }

    .lead-form {
      width: 100%;
      margin-top: 44px;
    }

    .lead-form__submit {
      width: 100%;
    }

    .contact__signature {
      width: 250px;
      margin-top: 38px;
    }
  }

  @media (max-width: 389px) {
    .hero__copy {
      margin-top: 42px;
    }

    .hero__copy h1 {
      font-size: 40px;
    }

    .hero__signature {
      top: 520px;
    }

    .stats {
      gap: 7px;
    }

    .stats dt {
      font-size: 26px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: .01ms !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
    }

    .hero__backdrop {
      transform: none !important;
    }

    .js .reveal {
      opacity: 1;
      transform: none;
    }
  }
}
