/* Source Sans 3 -- the design system's text family, self-hosted.
 *
 * PM1 loads this face from Google Fonts. The host portal cannot: its
 * Content-Security-Policy is same-origin (font-src 'self'), so the files are
 * vendored under ../vendor/source-sans-3/ (see design_system/VENDORED.md).
 *
 * The family is declared as 'Source Sans 3' -- NOT the package's own
 * 'Source Sans 3 Variable' -- because that is the name finder.css puts in
 * --font-display and --font-text. Renaming it here would silently drop every page
 * back to the system fallback.
 *
 * One variable file per subset covers the three weights the design uses
 * (400 / 600 / 700). unicode-range lets the browser skip latin-ext until a page
 * actually contains a character from it.
 *
 * font-display: swap, per the Design Standards: never block first paint on a font.
 */

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../vendor/source-sans-3/source-sans-3-latin-ext-wght-normal.c6ba61588d7d.woff2") format("woff2-variations");
  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;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../vendor/source-sans-3/source-sans-3-latin-wght-normal.9ef356ea553a.woff2") format("woff2-variations");
  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;
}

/* Josefin Sans -- the one web font on Router's list of an organization's display fonts
 * (the design system's TENANT THEMES; design_system/tenant_theme.py): an organization's
 * theme may name it in --font-display, which draws only the page and section titles.
 * Every other face on that list is on the visitor's device.
 *
 * Declared as 'Josefin Sans', the name the theme writes (not the package's 'Josefin Sans
 * Variable'). A browser downloads a face only for text drawn in it, so declaring it here,
 * on every page, costs nothing on a page whose theme does not name it. The variable file
 * covers the 700 the display slot draws; latin and latin-ext, swap, as above. An
 * organization's finder whose theme names it preloads the latin file (<c-pm.assets
 * display_font>, design_system/assets.py), so its title does not snap into the face. */

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("../vendor/josefin-sans/josefin-sans-latin-ext-wght-normal.dee058d759c6.woff2") format("woff2-variations");
  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;
}

/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("../vendor/josefin-sans/josefin-sans-latin-wght-normal.4316a5aa6c07.woff2") format("woff2-variations");
  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;
}
