/* ==========================================================================
   MG12 Medium
   --------------------------------------------------------------------------
   Drop the supplied files into assets/fonts/ using these exact names:

       mg12-medium.woff2   (preferred)
       mg12-medium.woff    (fallback for older browsers)
       mg12-medium.ttf     (last resort)

   Nothing else needs to change.

   The @font-face for MG12 is NOT in this file. It is generated by
   nsn_font_face_css() in inc/assets.php and injected as an inline style
   attached to this stylesheet, listing only the formats that are actually on
   disk — together with a matching <link rel=preload>.

   A static @font-face would list all three formats unconditionally, and the
   browser would request and 404 on each one every page load until the files
   arrive. Generating it means a missing font costs exactly zero requests,
   and dropping the files in later needs no code change at all.

   No Google Fonts are loaded anywhere in this theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Metric-matched fallback.

   The fallback is declared as its own @font-face so its metrics can be bent
   to match MG12. That is what keeps the swap from shifting the layout: the
   fallback occupies the same vertical and horizontal space as the real face,
   so when MG12 arrives, nothing reflows.

   These are the real values, read from the supplied Mg12-Medium.ttf:

       unitsPerEm   1000
       hhea ascent   950  ->  ascent-override:    95%
       hhea descent -280  ->  descent-override:   28%
       hhea lineGap    0  ->  line-gap-override:   0%

   size-adjust was measured in the browser: the width of a pangram set in
   MG12 against the same string in the fallback stack. Together these four
   values make the fallback occupy the same space as MG12, so the swap when
   the webfont arrives does not reflow anything.
   -------------------------------------------------------------------------- */
@font-face {
	font-family: 'MG12 Fallback';
	src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
	font-weight: 500;
	font-style: normal;
	size-adjust: 100%;
	ascent-override: 95%;
	descent-override: 28%;
	line-gap-override: 0%;
}
