/* Local mobile type preview: open-source alternatives to the reference families. */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-latin-italic-variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader/newsreader-light-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@media (max-width: 620px) {
  :root {
    --body: "Inter", "Helvetica Neue", Arial, sans-serif;
    --display: "Inter", "Helvetica Neue", Arial, sans-serif;
    --mono: "Inter", "Helvetica Neue", Arial, sans-serif;
    --reading: "Newsreader", Georgia, serif;
  }

  body { font-optical-sizing: auto; }

  h1, h2, h3,
  .page-title, .case-title, .section-title,
  .home-page .mobile-intro-one h1,
  .home-page .mobile-intro-two h1,
  .home-page #ways .work-accordion-intro h2 {
    font-weight: 300;
  }

  .home-page #ways .work-accordion-copy {
    font-family: var(--reading);
    font-weight: 300;
  }

  .home-page #ways .service-deliverables {
    font-weight: 300;
  }
}
