/*
  1.6 글꼴. woff2 파일은 `tools/build-fonts.ts`가 만든다(직접 고치지 않는다). 이 파일은 손으로 쓴다.

  역할이 둘이고 언어마다 한 벌씩이다.
  - Serif: 제목. 라틴은 Newsreader, 한글은 마루부리를 잘라 이름을 바꾼 것
  - Sans: 본문·버튼·숫자. 라틴은 Instrument Sans, 한글은 SUIT를 잘라 이름을 바꾼 것

  쓰는 쪽은 라틴 → 한글 → 시스템 순으로 나열한다(`styles.css`의 --serif, --sans).
  브라우저가 글자마다 앞에서부터 찾으므로, 라틴 글꼴에 없는 한글은 한글 글꼴에서,
  한글 글꼴에도 없는 글자(일본어·중국어, 잘라낸 뒤 새로 생긴 한글)는 시스템
  글꼴에서 나온다. 마지막 경우는 `tests/fonts.test.ts`가 막는다.

  라틴 글꼴은 가운뎃점(U+00B7)을 범위에서 뺀다. Instrument Sans의 ·은 양옆 여백이 없어서
  「보통 · 크게」가 한 단어처럼 붙는다. 빼 두면 한글 글꼴(SUIT·마루부리)의 ·이 받는다.

  font-display: swap. 앱과 다르다. 앱은 글꼴이 번들 안에 있어 수 ms면 오지만,
  웹에서는 글꼴이 네트워크로 온다. 느린 회선에서 block이면 글자가 최대 3초 비므로,
  시스템 글꼴로 먼저 보여 주고 글꼴이 오면 바꾼다. 이 사본은 `tools/build-fonts.ts --site`가
  앱의 fonts.css에서 만든다(직접 고치지 않는다).
*/

@font-face { font-family: 'Prism Serif'; src: url('./serif-400.woff2') format('woff2'); unicode-range: U+0000-00B6, U+00B8-FFFF; font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Prism Serif'; src: url('./serif-400-italic.woff2') format('woff2'); unicode-range: U+0000-00B6, U+00B8-FFFF; font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Prism Serif'; src: url('./serif-500.woff2') format('woff2'); unicode-range: U+0000-00B6, U+00B8-FFFF; font-weight: 500 700; font-style: normal; font-display: swap; }

@font-face { font-family: 'Prism Serif KR'; src: url('./serif-kr-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Prism Serif KR'; src: url('./serif-kr-600.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

@font-face { font-family: 'Prism Sans'; src: url('./sans-400.woff2') format('woff2'); unicode-range: U+0000-00B6, U+00B8-FFFF; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Prism Sans'; src: url('./sans-500.woff2') format('woff2'); unicode-range: U+0000-00B6, U+00B8-FFFF; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Prism Sans'; src: url('./sans-600.woff2') format('woff2'); unicode-range: U+0000-00B6, U+00B8-FFFF; font-weight: 600 700; font-display: swap; }

@font-face { font-family: 'Prism Sans KR'; src: url('./sans-kr-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Prism Sans KR'; src: url('./sans-kr-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Prism Sans KR'; src: url('./sans-kr-600.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
