/*
 * The fonts.
 *
 * **Two families, both variable, both self-hosted.** The display face
 * is a grotesque for the sentences a reader is meant to remember; the
 * text face is a serif for the evidence they are meant to believe.
 * Neither is mixed inside a single heading.
 *
 * **A variable font is one file for every weight.** Space Grotesk
 * carries weights 300 to 700 in one file and Source Serif 4 carries
 * 200 to 900 plus an optical size axis, so the page downloads two
 * files rather than eight.
 *
 * **The optical size axis is set where it belongs.** Source Serif 4's
 * `opsz` axis makes the letterforms open up as they get larger: at
 * 8pt it is a text face, at 60pt it is a display face. The body copy
 * asks for 20 and the headlines ask for 60, so the same file does
 * both jobs properly.
 *
 * **These are the licences.** Space Grotesk is under the SIL Open Font
 * License 1.1 and Source Serif 4 is under the same, and the
 * `THIRD_PARTY_NOTICES.md` file in the kit names both.
 */

@font-face {
  font-family: 'Luros Display';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/SpaceGrotesk-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Luros Text';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/SourceSerif4-Variable.woff2') format('woff2');
  /* **The optical size axis.** A text face at 8 and a display face at
   * 60, from one file. */
  font-variation-settings: 'opsz' 20;
}

@font-face {
  font-family: 'Luros Text';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/SourceSerif4-Variable.woff2') format('woff2');
  font-variation-settings: 'opsz' 20;
}

/* **The large type opens up.** The optical axis is worth using: a
 * headline set at 60 optical points has thinner joins and finer
 * detail than the same letterforms at 20, and the difference is
 * visible on a full-bleed statement. */
.large-type {
  font-variation-settings: 'opsz' 60;
}
