/* ============================================================
   Contact Us — page styles
   Desktop geometry measured at a 1440px viewport against
   _source/spec/contact-us-ref-1440.png (inner pages keep the
   transparent fixed header, as on the live site).
   ============================================================ */

.contact-hero {
  position: relative;
  height: 957px;
  overflow: hidden;
  background: var(--gray-soft);
}

.contact-hero__inner {
  position: relative;
  width: var(--container);
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding-top: 100px;
}

.contact-title {
  margin: 0 0 0 12px;
  font-size: 101px;
  line-height: 101px;
  letter-spacing: 0;
}

.contact-info {
  width: 429px;
  margin: 72px 0 0 17px;
}

.contact-info__line {
  margin: 0 0 10px;
  font-family: var(--font-bold);
  font-size: 18px;
  line-height: 28.9px;
  letter-spacing: normal;
  color: var(--text);
}

.contact-info__address p {
  margin: 0;
  font-family: var(--font-bold);
  font-size: 18px;
  line-height: 30.6px;
  letter-spacing: normal;
  color: var(--text);
}

.contact-blurb {
  width: 429px;
  margin: 41px 0 0 17px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 28.9px;
  letter-spacing: normal;
  color: var(--text);
}

/* ---------- phone mockup (hover swaps the screen on) ---------- */

.contact-phone {
  position: absolute;
  top: 66px;
  left: calc(50% - 30px);
  width: 605px;
  height: 816px;
  margin: 0;
}

.contact-phone__frame {
  width: 605px;
  height: 816px;
}

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

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .contact-hero {
    height: auto;
    padding: 40px 0 56px;
    overflow: visible;
  }

  .contact-hero__inner {
    width: auto;
    max-width: none;
    padding: 0 24px;
  }

  .contact-title {
    margin-left: 0;
    font-size: clamp(42px, 9vw, 84px);
    line-height: 1;
  }

  .contact-info {
    width: auto;
    margin: 28px 0 0;
  }

  .contact-info__line {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 6px;
  }

  .contact-info__address p {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-blurb {
    width: auto;
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-phone {
    position: static;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 32px 0 0;
  }

  .contact-phone__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 605 / 816;
  }
}
