/* Sofia Sans by Botio Nikoltchev and Ani Petrova, Lettersoup. SIL OFL 1.1 (fonts/sofia-sans/OFL.txt).
   Source: github.com/lettersoup/Sofia-Sans, fonts/variable/Normal, commit 9a1f0ba, version 4.101.
   Subset: Latin, Latin Extended-A, typographic punctuation. Axis: wght 300–800.
   Changes (OFL 1.1 allows them): U+2011 maps to the hyphen. A new empty glyph (0.11 em) for U+202F and U+2009:
   the font has no narrow space, and the content uses U+202F (z. B., 150 000, 93 %). */
@font-face {
  font-family: "Sofia Sans";
  src: url("../fonts/sofia-sans/sofia-sans-roman.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans";
  src: url("../fonts/sofia-sans/sofia-sans-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* Arial with the width and height of Sofia Sans, so the swap does not move the text.
   size-adjust is measured on running text: the narrow word space (0.21 em) counts too. */
@font-face {
  font-family: "Sofia Sans Fallback";
  src: local("Arial");
  font-weight: 300 500;
  font-style: normal;
  size-adjust: 92.6%;
  ascent-override: 97.19%;
  descent-override: 32.4%;
  line-gap-override: 0%;
}

/* font-synthesis is off, so bold text needs a bold face during the swap. */
@font-face {
  font-family: "Sofia Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 800;
  font-style: normal;
  size-adjust: 89.1%;
  ascent-override: 101.01%;
  descent-override: 33.67%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Sofia Sans Fallback";
  src: local("Arial Italic"), local("Arial-ItalicMT");
  font-style: italic;
  size-adjust: 91.4%;
  ascent-override: 98.47%;
  descent-override: 32.82%;
  line-gap-override: 0%;
}
