/**
 * Self-hosted chapter fonts.
 *
 * Replaces the Google Fonts requests that previously sent every visitor's
 * IP address to Google. These are the same typefaces (Fraunces, Karla,
 * Caveat), served from the chapter's own site.
 *
 * Each file is a variable font: one file covers the whole weight range,
 * so weights 300 / 500 / 600 / 700 all come from the same download.
 */

/* ---- Nunito Sans (the site's headings and body text) ----
   This is what --font-heading and --font-body resolve to, so it carries
   almost every word on the site. */
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url('../fonts/nunito-sans-wght-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Nunito Sans';
	font-style: italic;
	font-display: swap;
	font-weight: 200 1000;
	src: url('../fonts/nunito-sans-wght-italic.woff2') format('woff2');
}

/* ---- Fraunces (chapter-events widget headings) ---- */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('../fonts/fraunces-wght-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	src: url('../fonts/fraunces-wght-italic.woff2') format('woff2');
}

/* ---- Karla (chapter-events widget body text) ---- */
@font-face {
	font-family: 'Karla';
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url('../fonts/karla-wght-normal.woff2') format('woff2');
}

@font-face {
	font-family: 'Karla';
	font-style: italic;
	font-display: swap;
	font-weight: 200 800;
	src: url('../fonts/karla-wght-italic.woff2') format('woff2');
}

/* ---- Caveat (site accent font, and chapter-events handwriting accents) ---- */
@font-face {
	font-family: 'Caveat';
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url('../fonts/caveat-wght-normal.woff2') format('woff2');
}
