/*
 * Self-hosted, glyph-subsetted fonts for the guowen.asia landing page.
 *
 * Source: Google Fonts upstream TTFs (OFL 1.1).
 * Subset: limited to the ~470 glyphs actually used on the page.
 * Format: woff2, variable where the upstream is variable (one file per family).
 *
 * Why self-host: fonts.googleapis.com / fonts.gstatic.com are unreliable from
 * mainland China (the target audience). Self-hosting eliminates that risk and
 * cuts the request count from 43 to 6.
 *
 * If the page text changes substantially, the subset must be regenerated:
 *   1) re-extract glyphs from landing/index.html
 *   2) re-run pyftsubset against the upstream TTFs
 *   3) drop the new .woff2 files into landing/fonts/
 */

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./Caveat.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./Fraunces.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./Fraunces-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Ma Shan Zheng';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./MaShanZheng.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./NotoSansSC.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./NotoSerifSC.woff2') format('woff2');
}
