/* Self-hosted Pretendard (Latin + Korean subsets) + Fraunces display.
   Pretendard is SIL OFL 1.1. Latin subset ~58KB; Korean subset ~1.7MB
   only fetched when Hangul appears on the page (unicode-range gating). */

/* Pretendard - Latin subset.
   `optional` + <link rel=preload> = font arrives pre-paint on hard refresh
   (small 58KB file, same-origin). No FOUT; on truly slow connections the
   first paint uses fallback and Pretendard is cached for the next nav. */
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/static/fonts/pretendard-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;
}

/* Pretendard - Korean subset (Hangul syllables + jamo + CJK symbols).
   `block` hides Hangul for up to 3s rather than flashing a fallback serif.
   Korean pages preload this file so the 3s window rarely closes on the
   fallback side. */
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('/static/fonts/pretendard-korean.woff2') format('woff2');
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F,
    U+AC00-D7AF, U+D7B0-D7FF, U+FF00-FFEF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/static/fonts/fraunces-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;
}
