/* Typography aligned with the IDEA test5 reference. */
html,
body,
body * {
  font-family: Arial, Helvetica, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

h1 {
  font-weight: 900 !important;
  letter-spacing: -.066em !important;
  line-height: .95;
}

h2 {
  font-weight: 800 !important;
  letter-spacing: -.055em !important;
  line-height: .98;
}

h3 {
  font-weight: 700 !important;
  letter-spacing: -.04em !important;
  line-height: 1.08;
}

h1 em,
h2 em,
h3 em {
  font-style: normal !important;
  font-weight: inherit !important;
}

.arch-hero h1,
.page-hero h1 {
  font-size: clamp(3.5rem, 5.35vw, 5.5rem);
}

.section-heading h2,
.detail-intro h2,
.faq-grid h2 {
  font-size: clamp(2.65rem, 6vw, 5.5rem);
}

.arch-world h2 {
  font-size: clamp(3rem, 5.7vw, 5rem);
}

@media (max-width: 900px) {
  .arch-section-head { display: block; }
  .arch-section-head>p { margin-top: 20px; }
  .career-page .career-application-card h3 { font-size: 1.5rem; }
}

@media (min-width: 521px) and (max-width: 900px) {
  .career-page .career-hero h1 { font-size: clamp(3.7rem, 8vw, 4.6rem); }
  .catalog-hero h1 { font-size: clamp(3.7rem, 9vw, 4.5rem); }
  .catalog-section-head h2 { font-size: clamp(2.7rem, 6vw, 3.2rem); }
  .certificates-page .cert-hero h1 { font-size: clamp(3.7rem, 9vw, 5rem); }
}

@media (max-width: 760px) {
  .arch-hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
    overflow-wrap: break-word;
  }

  .hero-title-line { white-space: normal; }

  .section-heading h2,
  .detail-intro h2,
  .faq-grid h2 {
    font-size: clamp(2.45rem, 10vw, 4rem);
    overflow-wrap: break-word;
  }
}

@media (max-width: 520px) {
  .career-page .career-hero h1,
  .catalog-hero h1,
  .ar-intro h1 {
    font-size: clamp(2.75rem, 13vw, 4.5rem);
    overflow-wrap: break-word;
  }

  .cta-inner h2,
  .career-section-heading h2,
  .ar-section-heading h2,
  .ar-next h2 {
    font-size: clamp(2.5rem, 10vw, 3.1rem);
    overflow-wrap: break-word;
  }

  .arch-section-head h2 {
    font-size: clamp(2.3rem, 11.5vw, 3.1rem);
    overflow-wrap: break-word;
  }

  .arch-manifesto h2,
  .arch-world h2,
  .needs-heading h2,
  .catalog-section-head h2,
  .catalog-specs-heading h2,
  .facility-gallery-head h2,
  .career-page .career-closing h2 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    overflow-wrap: break-word;
  }
}

@media (max-width: 600px) {
  .footer-signature-word { font-size: clamp(130px, 42vw, 200px); }
}

@media (max-width: 390px) {
  .catalog-card h3,
  .finder-card h3 {
    font-size: 1.35rem;
    overflow-wrap: break-word;
  }
}
