.hero__slide {
  background-color: #f7f7f8;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 38%,
    #000 47% 57%,
    transparent 67%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 38%,
    #000 47% 57%,
    transparent 67%
  );
  pointer-events: none;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0 39%,
    rgba(247, 247, 248, 0.12) 45%,
    rgba(247, 247, 248, 0.68) 55%,
    #f7f7f8 66% 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.hero__copy {
  width: min(47%, 590px);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__copy > span {
  max-width: 470px;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.5;
}

.hero__copy .button {
  border: 0;
  cursor: pointer;
}

.hero__tabs {
  grid-template-columns: repeat(4, 1fr);
}

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

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.72);
  cursor: pointer;
}

.contact-popup__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-top: 5px solid #ff4f00;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.contact-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-popup__eyebrow {
  margin: 0 0 16px;
  color: #ff4f00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-popup h2 {
  max-width: 480px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.contact-popup__lead {
  max-width: 470px;
  margin: 0 0 30px;
  color: #55555a;
  line-height: 1.55;
}

.contact-popup form,
.contact-popup label {
  display: grid;
  gap: 9px;
}

.contact-popup form {
  gap: 18px;
}

.contact-popup label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-popup input,
.contact-popup textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 2px;
  background: #ffffff;
  padding: 14px 15px;
  color: #111111;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
}

.contact-popup input:focus,
.contact-popup textarea:focus {
  border-color: #ff4f00;
  outline: 2px solid rgba(255, 79, 0, 0.14);
}

.contact-popup textarea {
  resize: vertical;
}

.contact-popup .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-popup__status {
  min-height: 18px;
  color: #55555a;
  line-height: 1.4;
}

body.popup-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero__copy {
    width: 50%;
  }

  .hero__slide::after {
    background: linear-gradient(
      90deg,
      transparent 0 42%,
      rgba(255, 255, 255, 0.38) 56%,
      rgba(255, 255, 255, 0.96) 100%
    );
  }
}

@media (max-width: 760px) {
  .hero__slide {
    background-position: left top;
    background-size: auto 58%;
  }

  .hero__slide::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0 36%,
      rgba(255, 255, 255, 0.88) 58%,
      #ffffff 83%
    );
  }

  .hero__slide::before {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 33%,
      #000 43% 55%,
      transparent 66%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 33%,
      #000 43% 55%,
      transparent 66%
    );
  }

  .hero__content {
    justify-content: flex-end;
    padding-bottom: 86px;
  }

  .hero__copy {
    width: 100%;
    margin-left: 0;
  }

  .hero__copy h1,
  .hero__copy h2 {
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 50px);
  }

  .hero__copy p {
    margin-bottom: 10px;
  }

  .hero__copy > span {
    max-width: 340px;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hero__copy .button {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .contact-popup {
    padding: 12px;
  }

  .contact-popup__panel {
    max-height: calc(100vh - 24px);
    padding: 32px 22px 24px;
  }
}
