/* =====================================================================
   Josefin Sans, served from this site
   ---------------------------------------------------------------------
   The pages used to link fonts.googleapis.com, which meant every visitor's
   browser fetched the typeface from Google and Google saw their IP address —
   the only third party the site touched at all. The files are here now, so
   nothing about a visit leaves the server, the privacy notice has one less
   thing to disclose, and the Content-Security-Policy needs no exception for
   an outside host.

   Downloaded from fonts.gstatic.com, v34 of the variable font: one axis,
   weight 100 to 700, which is the range the design uses. Two subsets, the
   same split Google serves:

     latin      28 KB   everything the three languages actually print — the
                        Danish æ ø å and the German ä ö ü ß are all inside
                        U+00FF, so this one file serves En, Dk and De alike
     latin-ext  21 KB   the wider Latin range, for a customer or a place name
                        the catalogue does not have yet: Łódź, Plzeň, Bogaziçi

   The Vietnamese subset Google also offers is not here: nothing on this site
   is in Vietnamese, and it would be 20 KB nobody downloads. unicode-range is
   kept as Google wrote it, so a browser fetches only what a page needs — in
   practice latin-ext is never requested, which is why keeping it costs nothing
   and dropping it would only matter on the day someone types Łódź into admin.

   The font is licensed under the SIL Open Font License 1.1, which permits
   this; the licence text sits beside the files in fonts/OFL.txt.

   To update: fetch the css2 stylesheet Google serves for
   family=Josefin+Sans:wght@100..700 with a current browser's user agent, take
   the woff2 URLs out of it, and replace the two files. The version in the URL
   moves; the names here do not.
   ===================================================================== */

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/josefin-sans-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;
}

/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/josefin-sans-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;
}
