/* Graphik font: Commercial typeface licensed and included */
/* ascent/descent/line-gap overrides pin the metrics used for text layout to
   the font's own typo values (hhea/OS2 sTypoAscender+Descender+LineGap).
   Without this, Windows Chrome/Edge fall back to the taller OS2 usWinAscent/
   usWinDescent values (the font's USE_TYPO_METRICS flag is unset), rendering
   glyphs ~34% taller than macOS does for the same explicit line-height and
   letting descenders bleed into tightly-spaced elements below. */
@font-face {
  font-family: 'Graphik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/graphik-regular.ttf) format('truetype');
  ascent-override: 80.9%;
  descent-override: 19.1%;
  line-gap-override: 20%;
}

@font-face {
  font-family: 'Graphik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/graphik-medium.ttf) format('truetype');
  ascent-override: 80.9%;
  descent-override: 19.1%;
  line-gap-override: 20%;
}

/* sftn and Navigo substituted with Graphik until licensed */
@font-face {
  font-family: 'sftn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/graphik-medium.ttf) format('truetype');
  ascent-override: 80.9%;
  descent-override: 19.1%;
  line-gap-override: 20%;
}

@font-face {
  font-family: 'Navigo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/graphik-medium.ttf) format('truetype');
  ascent-override: 80.9%;
  descent-override: 19.1%;
  line-gap-override: 20%;
}
