/*
Self-hosted @font-face declarations for the site's typefaces. Loading them
from fonts.googleapis.com or fonts.gstatic.com sends every visitor's IP to
Google on every pageview, which is the pattern behind the German Google-Fonts
warning-letter wave; self-hosting removes that and a render-blocking
third-party request with it.

Both are the upstream variable fonts (OFL 1.1, see the OFL-*.txt files next to
the woff2s in static/fonts/) rather than per-weight static instances, so the
full weight range and Fraunces' opsz/SOFT/WONK axes stay usable instead of
frozen at whatever point a static export picked. Nunito Sans is partially
instanced, its wdth/opsz/YTLC axes fixed at their defaults since this site
only varies weight, which keeps the file small.

Family names match --serif and --sans in tokens.css. The url() paths are
relative so WhiteNoise's manifest storage (settings.py) rewrites them to
hashed filenames during collectstatic; an absolute /static/... path is not
rewritten and 404s once hashed.
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Fraunces-Variable.2e8b56d84d4b.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Fraunces-Italic-Variable.98a05c66e6bb.woff2") format("woff2");
}

/*
The home hero headline's two faces. Unlike the two above, these are Google's
own latin and latin-ext subsets, stacked with unicode-range: they set one
headline in English and German, and a glyph outside both ranges falls back
to the next family in --display / --serif-accent rather than failing.
*/
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/Oswald-Variable-latin-ext.192877db9c16.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: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/Oswald-Variable-latin.22c3b00d2e65.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: "Playfair Display";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-BoldItalic-latin-ext.42f1ce50209d.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-BoldItalic-latin.566a4eeb6883.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;
}

/*
The German headline's second line only (components.css, .hero-title:lang(de)
em). DM Serif Display ships a single weight, so its italic is 400.
*/
@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/DMSerifDisplay-Italic-latin-ext.b6dc2f28ec50.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: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/DMSerifDisplay-Italic-latin.581414e1e577.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 Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/NunitoSans-Variable.5102e3c30b4a.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/NunitoSans-Italic-Variable.3276367e7ca2.woff2") format("woff2");
}

/*
Inter, for the ad landing page at /start/ and nothing else, which is why it is
not in any token: --p-body in static/css/funnel-lp.css names it directly. The
page was designed against it and Nunito Sans reads noticeably softer, so the
face is part of what the ad promised rather than a preference.

Google's own latin and latin-ext subsets, stacked with unicode-range like
Oswald above: English copy pays for the 48 KB latin file alone.
*/
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable-latin-ext.1ad231aac0a8.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable-latin.260c81a4759b.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;
}
