/* Colours, typography and layout live in theme.scss (named palette at the top).
   This file holds the self-hosted font faces (URLs resolve from the site root);
   the draft-content marker is styled in theme.scss. Fonts: Alegreya and Alegreya Sans, SIL OFL 1.1,
   licences in assets/fonts/. The .woff2 files are Latin subsets of the originals in
   fonts-source/ at the repository root; rebuild them with the command in that folder's README.md. */

@font-face {
  font-family: "Alegreya";
  src: url("assets/fonts/alegreya-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya";
  src: url("assets/fonts/alegreya-italic-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* Alegreya Sans is used only at regular weight (navigation, dates, small labels). */
@font-face {
  font-family: "Alegreya Sans";
  src: url("assets/fonts/alegreya-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
