/* Contact mobile refinements; keep the existing typography and desktop. */
@media (max-width: 767px) {
  .contact-page .faq-ribbon {
    display: none;
  }

  .contact-page .faq-section {
    min-height: calc(100svh + 16px);
    padding-bottom: 96px;
  }

  .contact-page .faq-heading p {
    margin-top: 12px;
  }

  .contact-page .contact-hero-blob video {
    transform: scale(.93);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .contact-page .contact-hero-transition {
    display: block;
  }

  .contact-page main {
    z-index: 1;
    /* Match the sticky frame, including its existing short-screen minimum. */
    margin-top: calc(-1 * max(100svh, 620px));
  }

  @media (max-width: 640px) {
    .contact-page main {
      margin-top: calc(-1 * max(100svh, 560px));
    }
  }
}
