/*
 * Fonts for the Little Lantern demo, self-hosted.
 *
 * WHY SELF-HOSTED AND NOT A GOOGLE FONTS LINK
 * -------------------------------------------
 * verify_deploy.py fails the entire build if the site loads any third-party host. A
 * <link> to fonts.googleapis.com in a demo would break PRODUCTION, not just the demo.
 * The files were fetched at build time and ship with the plugin; nothing is requested
 * from another origin at runtime.
 *
 * WHY THESE TWO
 * -------------
 * The mock uses an unidentified heavy rounded sans. Baloo 2 ExtraBold was chosen by
 * rendering the mock's own headline in it and comparing side by side -- see
 * build/06-images/demos/little-lantern/type-compare.png. It is marginally wider than the
 * original; everything else matches. Nunito carries body text: rounded terminals that
 * harmonise with Baloo 2, and far more readable at 17px than a display face would be.
 *
 * Both are SIL Open Font License 1.1. The licences ship beside the fonts in
 * assets/fonts/, which is a condition of that licence and not a courtesy.
 *
 * Both are VARIABLE fonts. One file per subset covers 400 to 800, so asking for 600 gets
 * a real 600 rather than a weight the browser has synthesised by smearing 400.
 */

@font-face {
	font-family: "Baloo 2";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/baloo2-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Baloo 2";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/baloo2-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/nunito-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * MARIGOLD & THREAD (jewellery retail)
 *
 * Playfair Display for display and the wordmark, Montserrat for UI and body.
 *
 * CHOSEN BY COMPARISON, NOT FROM MEMORY
 * -------------------------------------
 * Both were picked by rendering the mock's own strings in each candidate at a matched
 * cap height and looking at them stacked against the original. The two comparison sheets
 * are kept:
 *
 *   build/06-images/demos/marigold-thread/type-compare-serif.png
 *   build/06-images/demos/marigold-thread/type-compare-sans.png
 *
 * Serif: Prata is arguably the closer letterform -- the J hook and the straight y tail
 * are nearly identical -- but it ships one weight only, and the wordmark, the headline
 * and the tracked-out section headings need three. Playfair Display matched the mock's
 * colour and width best at 400 and covers 400-700 from one file. Lora was too sturdy and
 * too low-contrast; Cormorant too calligraphic.
 *
 * The first comparison rendered Playfair at 700 and it looked far too heavy. That was the
 * test being unfair rather than the font being wrong, and re-running it at 400 and 500 is
 * what changed the answer.
 *
 * Sans: Poppins was eliminated on one letter -- its `a` is single-storey and the mock's is
 * plainly double-storey. Jost was too narrow, Karla too squared at the C. Montserrat
 * matches the mock's width and roundness.
 *
 * Both are SIL Open Font License 1.1 and both licences ship in assets/fonts/.
 * Both are variable: one file per subset covers 400-700, so a 600 is a real 600 and not
 * a 400 the browser has smeared.
 */

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/playfair-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/playfair-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/montserrat-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
