/* ==========================================================================
   Guardian Alarm - menu fonts
   Montserrat (SIL Open Font License 1.1, see fonts/OFL.txt), Latin subset,
   bundled with the plugin so the menus don't wait for the theme's font
   loader (webfont.js, which runs at the end of the page).

   It has its own family name, "Guardian Montserrat", so it never clashes
   with the theme's Google Fonts copy of Montserrat.

   font-display: fallback = for the first ~0.1s the text waits for
   Montserrat instead of flashing another font. The 600 weight used by the
   nav bar is preloaded in the page head, so it normally arrives in time.
   ========================================================================== */

@font-face {
  font-family: "Guardian Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("fonts/montserrat-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Guardian Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url("fonts/montserrat-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Guardian Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: fallback;
  src: url("fonts/montserrat-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Guardian Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url("fonts/montserrat-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arial resized to Montserrat's proportions. Only used on a slow first visit,
   if Montserrat takes longer than ~0.1s: the swap then causes no jump. */
@font-face {
  font-family: "Guardian Montserrat Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 110.87%;
  ascent-override: 87.31%;
  descent-override: 22.64%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Guardian Montserrat Fallback";
  font-style: normal;
  font-weight: 500;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 112.55%;
  ascent-override: 86.0%;
  descent-override: 22.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Guardian Montserrat Fallback";
  font-style: normal;
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 107.4%; /* tuned on the nav bar: items move about 2px at most when Montserrat arrives */
  ascent-override: 90.13%;
  descent-override: 23.37%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Guardian Montserrat Fallback";
  font-style: normal;
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 108.95%;
  ascent-override: 88.85%;
  descent-override: 23.04%;
  line-gap-override: 0%;
}
