/* TaleWater self-hosted webfonts — the AUTHORED copy. DEF-1405.
 *
 * WHY this file exists: every public TaleWater web surface used to pull its type
 * from fonts.googleapis.com, which meant a person opening a shared fishing link
 * disclosed their IP address and browser to Google — a recipient the viewer never
 * chose and the policy had to name. Serving the same two families from our own
 * origin removes that recipient entirely rather than disclosing it better.
 *
 * The families are unchanged. This is a delivery change, not a visual one:
 * Inter Tight and JetBrains Mono render exactly as before.
 *
 * VARIABLE fonts, one file per unicode subset — `font-weight: 400 900` is a range,
 * so every weight the surfaces ask for is covered by one download instead of eight.
 * Subsets are latin + latin-ext, matching what Google served; a glyph outside both
 * falls back to the system stack, same as it did before.
 *
 * URLs are RELATIVE, deliberately: the share Worker serves this at
 * /s/assets/fonts/ and the landing site at /assets/fonts/, and a relative url()
 * resolves against the stylesheet, so one authored copy fits both without a
 * per-surface rewrite.
 *
 * Both families are SIL Open Font License 1.1 — self-hosting is expressly
 * permitted. The license texts ship beside the binaries (OFL-*.txt) because §2
 * requires it. Do not delete them.
 *
 * COPIED, never edited in place. Three scripts derive from this directory:
 * workers/share/scripts/sync-assets.mjs (the share Worker's gitignored public/),
 * scripts/sync-webfonts.mjs (`npm run sync-webfonts` — the committed landing/ and docs/
 * copies), and tools/onetree/lab/build.mjs (the lab's own dist/).
 */

/* Inter Tight — latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(inter-tight-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;
}

/* Inter Tight — latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(inter-tight-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;
}

/* JetBrains Mono — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(jetbrains-mono-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;
}

/* JetBrains Mono — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(jetbrains-mono-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;
}
