/* Ravintola OOBU - self-hosted webfonts.
 *
 * These used to come from fonts.googleapis.com, which meant every visitor's
 * browser contacted Google before the page could render - a GDPR question and
 * two extra DNS lookups. The files are now served from this domain.
 *
 * Both are variable fonts: one file covers every weight the site uses, so
 * Cormorant Garamond 400/500/600 and Jost 300/400/500/600 all come from three
 * files instead of nine. Subset to Latin + Latin Extended-A, which covers
 * Finnish, Swedish and English plus the typographic quotes and dashes.
 *
 * font-display:swap keeps text visible while the font loads, exactly as the
 * Google stylesheet did.
 */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond.woff2') format('woff2-variations'),
       url('../fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2-variations'),
       url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost.woff2') format('woff2-variations'),
       url('../fonts/jost.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
