/* Self-hosted fonts for the design directions. Generated from Google Fonts css2; latin + latin-ext only.
   Hand-edited since: see the two notes below.

   font-display, per family, following what soyc settled on:

     Cormorant Garamond (--f-head, every heading)   BLOCK. A heading is held
       INVISIBLE until the font arrives rather than painted in Georgia and
       then flipping to a narrower serif. The preload is what keeps that
       inside the ~3s block period.
     Roboto (--f-body)                              BLOCK, on request
       30 Oct: no text anywhere is to paint in a fallback and then change.
       Both faces are preloaded, so in practice they arrive together and the
       page reveals in one go. The cost is the standard block period - up to
       ~3s on a very slow link, text invisible - which is the trade being
       chosen deliberately.

   This was briefly `optional` for both, which was wrong: optional gives the
   font one short window and then commits to the fallback FOR THE WHOLE PAGE
   LOAD. On a cold cache that is exactly the symptom it was meant to cure -
   the page rendering in the wrong face - so it is not a safer swap, it is a
   worse one. */
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: block;
  src: url(fonts/roboto-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: block;
  src: url(fonts/roboto-italic-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: block;
  src: url(fonts/roboto-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: block;
  src: url(fonts/roboto-normal-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: block;
  src: url(fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: block;
  src: url(fonts/cormorant-italic-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url(fonts/cormorant-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url(fonts/cormorant-normal-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks. The overrides are the real figures from the font
   files: Roboto is 2048upm with hhea ascent 1900 and descent -500, Cormorant
   1000upm with 924 and -287. A fallback declared this way occupies a line box
   the same height as the webfont's, so a page that does render in the
   fallback has the same vertical rhythm as one that does not.

   No size-adjust. That needs the average advance width of the LOCAL face to
   compare against, and neither Arial nor Georgia is installed on the build
   machine - so it could only be guessed, and a wrong size-adjust is worse
   than none. These matter for Roboto, which swaps: matching the line box
   means the swap changes the letterforms without moving the lines. Cormorant
   blocks instead of swapping, so its fallback is only reached if the font
   never arrives at all. */
@font-face {
  font-family: 'Roboto Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  ascent-override: 92.77%;
  descent-override: 24.41%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
  ascent-override: 92.4%;
  descent-override: 28.7%;
  line-gap-override: 0%;
}
