@font-face {
  font-family: Merriweather;
  src: url("../fonts/hero/merriweather-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Merriweather;
  src: url("../fonts/hero/merriweather-500-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/hero/inter-550.woff2") format("woff2");
  font-style: normal;
  font-weight: 550;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/hero/inter-650.woff2") format("woff2");
  font-style: normal;
  font-weight: 650;
  font-display: swap;
}

:is(.home-studio, .bosphorus-hero, .detail-hero, .about-hero, .software-hero, .technology-hero, .products-hero-copy, .needs-hero) h1 {
  font-family: Merriweather, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.022em;
}

.bosphorus-hero h1 em {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

:is(.home-studio, .software-hero, .ai-overview-hero) h1 > span {
  font-style: italic;
}

/* Scope Inter to the written introduction and actions, outside hero diagrams. */
:is(
  .home-studio .hero-copy,
  .bosphorus-copy,
  .detail-hero .detail-lead,
  .about-hero .detail-lead,
  .software-hero-copy,
  .technology-hero-copy,
  .products-hero-copy,
  .needs-hero .needs-lead
) > p {
  font-family: Inter, Arial, sans-serif;
  font-weight: 550;
  letter-spacing: -.015em;
}

:is(
  .home-studio .hero-copy,
  .bosphorus-copy,
  .detail-hero .detail-lead,
  .about-hero .detail-lead,
  .software-hero-copy,
  .technology-hero-copy,
  .products-hero-copy
) :is(.button, .text-link, .quiet-link, .bosphorus-button, .bosphorus-link),
.needs-hero :is(.needs-eyebrow, .needs-meta) {
  font-family: Inter, Arial, sans-serif;
  font-weight: 650;
}
