/* ============================================================
   Typefaces, self-hosted.

   The theme has been naming fonts it never loaded. `--font-head`
   asked for Roboto Slab and `--font-body` for Inter, but nothing
   in the theme ever fetched either — no @font-face, no enqueue.
   Neither ships with Windows, macOS or Android, so every visitor
   has been reading the fallbacks: Georgia for headings and
   whatever `system-ui` resolves to for body copy. The site was
   set in fonts nobody chose.

   Self-hosted rather than loaded from Google Fonts. The Academy
   is a UK charity with an EU audience and a consent plugin
   installed; Google Fonts sends the visitor's IP to a third party
   on every page load, which is a lawful-basis question nobody
   needs. These files are served from the same origin, so there is
   no third party and no consent question. Both faces are SIL Open
   Font Licence 1.1, which permits exactly this.

   Total: 92KB for five faces, latin subset, cached across the
   whole site. The old GiveWP scripts alone were more than three
   times that.
   ============================================================ */

/* Source Serif 4 — Frank Grießhammer for Adobe, OFL 1.1.
   A text serif, not a display serif: it was drawn for long reading
   at small sizes, which is what the constitution, the abstracts
   and the governance pages actually are. */
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	/* `swap`, never `block`: the text must be readable while the
	   font arrives. Invisible text is a worse accessibility failure
	   than a moment of the fallback. */
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* Inter — Rasmus Andersson, OFL 1.1. Kept for the small uppercase
   work: eyebrows, table headers, chips, the contents rail. It is a
   deliberately neutral face, which is a virtue at 12px in caps and
   a liability in a paragraph — hence it is not the body face. */
@font-face {
	font-family: Inter;
	src: url("../fonts/inter-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("../fonts/inter-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("../fonts/inter-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
