/* Desktop-only type scale adjustment.
   Reduces major display headings by roughly 20% without changing mobile sizing. */

@media (min-width: 821px) {
  .home-page h2,
  .home-page .section-head h2,
  .home-page .about-benefits-heading h2,
  .home-page .team-header h2,
  .home-page .contact-intro h2 {
    font-size: clamp(2.16rem, 4.2vw, 4.96rem);
  }

  .home-page .editorial-hero .hero__content h1 {
    font-size: clamp(4.08rem, 6.96vw, 8.64rem);
  }

  .home-page .upload-section__copy h2 {
    font-size: clamp(2.04rem, 3.6vw, 4rem);
  }

  .home-page .team-name {
    font-size: clamp(1.92rem, 3.2vw, 3.76rem);
  }
}

@media (min-width: 781px) {
  body.project-page .project-hero-copy h1 {
    font-size: clamp(3.36rem, 6.4vw, 7.2rem);
  }

  body.project-page .section-head h2,
  body.project-page .mood-copy h2,
  body.project-page .contact-intro h2,
  body.project-page .team-header h2,
  body.project-page .about-benefits-heading h2 {
    font-size: clamp(2.56rem, 5.44vw, 6.4rem);
  }

  body.project-page .project-detail-panel h2 {
    font-size: clamp(1.88rem, 3.68vw, 4rem);
  }
}


/* Long one-word service title: keep the final letter on the same line. */
@media (min-width: 781px) {
  html.project-designerstellung body.project-page .project-hero-copy h1 {
    font-size: clamp(2.75rem, 4.65vw, 5.35rem);
    line-height: .9;
    letter-spacing: -.07em;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}
