/* ============================================================
   글꼴 — 사이트에 직접 담아 쓴다 (self-host)

   전에는 구글·jsdelivr 두 곳에서 받아왔다. 그래서 첫 화면에서 글자가
   늦게 뜨거나 폰트가 바뀌며 깜빡였고, 그 서비스가 느려지면 우리도
   같이 느려졌다. 이제 우리 서버에서 바로 준다.

   파일은 쓰는 글자만 남겨 다이어트했다 (4.9MB → 1.3MB).
   담은 글자 = 사이트에 실제 등장하는 글자 + 완성형 2,350자 + 영문·기호.

   ⚠ 글을 고쳐 쓰다 완성형 밖 글자(예: 옛 한글, 희귀 한자)를 넣으면
     그 글자만 다른 글꼴로 튄다. 그럴 때는 `python _tools/build-fonts.py`
     를 다시 돌려 폰트를 새로 만들 것.

   굵기는 두 계열 모두 정해진 것만 담았다. 여기 없는 굵기를 CSS에 쓰면
   브라우저가 억지로 굵게/가늘게 흉내 내 글자가 뭉개진다.
     Pretendard(본문)   400 · 500 · 600 · 700
     Noto Serif KR(제목) 400 · 500
   ============================================================ */

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

@font-face {
  font-family: 'Noto Serif KR';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/NotoSerifKR-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif KR';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/NotoSerifKR-500.woff2') format('woff2');
}
