/* Claremont Music Club — the site's two typefaces, self-hosted.
   Montserrat is the wordmark's face, so it sets headings, the nav and every
   small label; Source Serif 4 sets the reading text. Both are the variable
   woff2 Google Fonts serves (SIL OFL 1.1, licences in this directory), split
   latin / latin-ext the same way, so a page in plain English downloads only
   the latin half of each. Nothing here reaches for a CDN at runtime. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("montserrat-latin.c154477b9aff.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;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("montserrat-latin-ext.f143fb4877cf.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("source-serif-4-latin.6a682eb0234e.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;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("source-serif-4-latin-ext.20f95b1e4359.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Stand-ins for the moment before the woff2 arrive, and for good if they
   never do. Each is a local face scaled so a line of it is as wide as the
   real face, which is what keeps the nav from re-wrapping on the swap.
   Measured with fontTools: Montserrat at the nav's weight (500) on the nav's
   own words against Arial; Source Serif 4 (400, opsz 17) on listing copy
   against Georgia. The overrides are the real faces' hhea metrics divided
   by the size-adjust, so the line box doesn't move either. */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial");
  size-adjust: 112.69%;
  ascent-override: 85.9%;
  descent-override: 22.27%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Source Serif 4 Fallback";
  src: local("Georgia");
  size-adjust: 104.15%;
  ascent-override: 99.47%;
  descent-override: 32.17%;
  line-gap-override: 0%;
}

/* The two stacks. They live here, not in site.css, because the social-image
   skill swaps exactly these two names for its own bundled fonts, and
   shows/tests/test_social_tokens.py forbids site.css from defining them.
   Past the stand-ins, each stack is the system stack Sumi used, so a phone
   with neither Arial nor Georgia still gets its own sans and serif. */
:root {
  --s-font-sans: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --s-font-serif: "Source Serif 4", "Source Serif 4 Fallback", Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
}
