﻿/* ==========================================================================
   Self-hosted fonts — GDPR

   These were previously pulled from fonts.googleapis.com, which sends every
   visitor's IP address to Google in the US on page load, with no consent and
   no legal basis. A German court (LG Munchen I, 20 Jan 2022, 3 O 17493/20)
   awarded damages against a site operator for exactly this.

   Serving them from our own origin removes the third-party transfer entirely.
   Both families are OFL-licensed, so redistribution this way is permitted.
   Only greek + latin subsets are shipped; cyrillic and vietnamese are not used.
   ========================================================================== */

/* Commissioner - greek */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/commissioner-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* Commissioner - latin */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/commissioner-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;
}

/* GFS Didot - greek */
@font-face {
  font-family: 'GFS Didot';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/gfs-didot-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* GFS Didot - latin */
@font-face {
  font-family: 'GFS Didot';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/gfs-didot-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;
}
