/* Final shared contact box style for every page that uses the contact sheet. */
.contact-redesign-hero,
.home-contact-hero,
.about-contact-hero {
  border-bottom: 0 !important;
}

.contact-sheet {
  width: min(100%, 470px) !important;
}

.contact-page .contact-sheet,
.home-page #contact .contact-sheet,
.about-contact-section .contact-sheet {
  width: min(100%, 470px) !important;
  transform: rotate(3.5deg) !important;
}

.contact-page .contact-sheet-inner,
.home-page #contact .contact-sheet-inner,
.about-contact-section .contact-sheet-inner,
.contact-sheet-inner {
  border: 1px solid rgba(191, 255, 0, 0.54) !important;
  border-radius: 10px !important;
  padding: clamp(24px, 3.4vw, 40px) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 34%),
    rgba(0, 0, 0, 0.78) !important;
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.52),
    0 0 54px rgba(191, 255, 0, 0.09) !important;
}

.contact-page .contact-sheet h2,
.home-page #contact .contact-sheet h2,
.about-contact-section .contact-sheet h2,
.contact-sheet h2 {
  max-width: 100% !important;
  margin: clamp(22px, 2.8vw, 30px) 0 0 !important;
  font-size: clamp(1.65rem, 2.25vw, 2.2rem) !important;
  font-weight: 850 !important;
  line-height: 1.02 !important;
  text-transform: uppercase !important;
}

.contact-page .contact-sheet-copy,
.home-page #contact .contact-sheet-copy,
.about-contact-section .contact-sheet-copy,
.contact-sheet-copy {
  max-width: 330px !important;
  margin: 12px 0 clamp(20px, 2.4vw, 28px) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: clamp(0.95rem, 1.05vw, 1.04rem) !important;
  line-height: 1.5 !important;
}

.contact-page .contact-sheet-links a,
.home-page #contact .contact-sheet-links a,
.about-contact-section .contact-sheet-links a,
.contact-sheet-links a {
  grid-template-columns: 38px minmax(0, 1fr) 24px !important;
  gap: 18px !important;
  min-height: 74px !important;
}

@media (max-width: 768px) {
  .contact-page .contact-sheet,
  .home-page #contact .contact-sheet,
  .about-contact-section .contact-sheet {
    width: min(100%, 358px) !important;
    justify-self: start !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .contact-page .contact-sheet-inner,
  .home-page #contact .contact-sheet-inner,
  .about-contact-section .contact-sheet-inner,
  .contact-sheet-inner {
    padding: 22px !important;
  }

  .contact-page .contact-sheet-links a,
  .home-page #contact .contact-sheet-links a,
  .about-contact-section .contact-sheet-links a,
  .contact-sheet-links a {
    grid-template-columns: 28px minmax(0, 1fr) 18px !important;
    gap: 10px !important;
    min-height: 68px !important;
  }
}

/* Match Home and About contact blocks to the Contact page hero exactly. */
.home-page #contact .home-contact-hero,
.about-contact-section .about-contact-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 0.62fr) minmax(330px, 0.38fr) !important;
  gap: clamp(48px, 8vw, 122px) !important;
  align-items: center !important;
  min-height: auto !important;
  padding-top: clamp(26px, 3.2vw, 44px) !important;
  padding-bottom: clamp(54px, 6vw, 76px) !important;
}

.home-page #contact .contact-hero-copy h2,
.about-contact-section .contact-hero-copy h2 {
  max-width: 820px !important;
  font-size: clamp(3.2rem, 5vw, 4.95rem) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

.home-page #contact .contact-hero-copy h2 span,
.about-contact-section .contact-hero-copy h2 span {
  white-space: normal !important;
}

.home-page #contact .contact-hero-lead,
.about-contact-section .contact-hero-lead {
  max-width: 580px !important;
  margin-top: clamp(20px, 2.6vw, 30px) !important;
}

.home-page #contact .contact-outline-cta,
.about-contact-section .contact-outline-cta {
  margin-top: clamp(24px, 3vw, 34px) !important;
}

@media (max-width: 1024px) {
  .home-page #contact .home-contact-hero,
  .about-contact-section .about-contact-hero {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    align-items: start !important;
  }
}

@media (max-width: 640px) {
  .home-page #contact .home-contact-hero,
  .about-contact-section .about-contact-hero {
    gap: 32px !important;
    padding-bottom: 42px !important;
  }

  .home-page #contact .contact-hero-copy h2,
  .about-contact-section .contact-hero-copy h2 {
    font-size: clamp(2.35rem, 10vw, 3.15rem) !important;
    line-height: 1 !important;
  }
}
