/* THE APP'S TYPEFACES, SERVED FROM THIS REPO (2026-09-19, Terry's decision after the CB-4 END panel).
 *
 * WHY. index.html used to fetch these three families from Google's CDN on every load. Self-hosting them:
 *   - sends no request to Google for a child using this product, which is the decisive argument for a children's app;
 *   - removes a failure mode — when Google is unreachable, a child was shown a fallback face and the Matrix reflowed;
 *   - makes production and the test harness draw from the SAME bytes, which is what the END panel found they did not
 *     (codex BLOCKER 2: the harness declared weight RANGES off Google's variable endpoint and drew a real 800 where a
 *     child's browser drew 700, so every screenshot baseline recorded a heavier book than exists).
 * The old "shared CDN cache across sites" argument no longer applies: browsers partitioned that cache years ago.
 *
 * THE WEIGHTS ARE DELIBERATELY UNCHANGED. Self-hosting means we could now serve the variable files and let book.css's
 * `font-weight: 800` (31 rules) and `900` (26 rules) render for the first time. That would be a visible redesign of the
 * whole product, so it is NOT done here: these are exactly the weights Google was asked for, one face each, so nothing a
 * child sees changes. Rendering heavier is a separate decision for Terry and Scott.
 *   Wix Madefor Display  400, 500, 600, 700   (was: wght@400;500;600;700)
 *   Playfair Display     400, 600 upright and italic   (was: ital,wght@0,400;0,600;1,400;1,600)
 *   Bebas Neue           400   (the Counting Bee's display face)
 * A request for 750, 800, 850 or 900 therefore resolves to the 700 face, exactly as it did from the CDN.
 *
 * LICENCES. All three are SIL Open Font License 1.1, which is what Google Fonts states, and each licence is filed beside
 * its file: OFL-WixMadeforDisplay.txt, OFL-PlayfairDisplay.txt, OFL-BebasNeue.txt. Terry's condition.
 *
 * THE FILES are the `latin` woff2 subsets Google Fonts serves (wixmadefordisplay v12, playfairdisplay v40, bebasneue
 * v16), unmodified. That subset carries U+0000-00FF plus the punctuation the Book needs, including U+2212 MINUS SIGN
 * (Chapter 4's titles) and U+2192 RIGHTWARDS ARROW (every handoff). No other subset is bundled: a page needing one would
 * fall back silently, so the browser suites assert the face is really in use rather than trusting these rules.
 *
 * `font-display: swap` — what production has always sent. The TEST HARNESS uses `block` instead, so that a screenshot can
 * never catch the fallback face and bake it into a baseline. That is the ONLY difference between this file and
 * production-face.css, it is generated rather than hand-kept (scripts/hc-build-harness-face.mjs), and
 * src/test/book-ui/productionFaceMirror.test.ts fails if the two ever differ in anything else. */

@font-face {
  font-family: "Wix Madefor Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./wix-madefor-display-latin-v12.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: "Wix Madefor Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./wix-madefor-display-latin-v12.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: "Wix Madefor Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./wix-madefor-display-latin-v12.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: "Wix Madefor Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./wix-madefor-display-latin-v12.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: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./playfair-display-latin-v40.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: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./playfair-display-latin-v40.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: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./playfair-display-italic-latin-v40.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: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("./playfair-display-italic-latin-v40.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: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./bebas-neue-latin-v16.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;
}
