/**
 * 이 사이트가 **제 레포에 들고 있는** 글꼴.
 *
 * 편집기 라이브러리(@storkspear/post-editor-core)는 npm 으로 오는 글꼴만 싣는다 —
 * 그쪽은 공개 패키지라 **라이선스 전문이 파일과 함께 오는 것**만 재배포할 수 있다.
 * 아래 글꼴들은 손으로 내려받은 것이라 그 조건을 못 맞춘다.
 *
 * 그래서 파일은 이 레포의 `public/fonts/` 에 있고, 선언도 여기 있다.
 * `tools/sync-vendor.mjs` 는 이 파일을 건드리지 않는다 — 라이브러리 몫이 아니다.
 *
 * ⚠ 이 레포는 비공개다. 공개로 돌리기 전에 글꼴 재배포 권한을 다시 확인할 것.
 *   출처와 조건은 CREDITS.md 에 적어 뒀다.
 */

/* ── 고정폭 — site.css 의 `--mono` 가 부르는 글꼴 ───────────────────────────
   파일은 npm(@fontsource/jetbrains-mono)에서 왔고 `/assets/fonts.css` 에도 같은 선언이
   있다. 그런데 그 60KB 시트는 **고른 글꼴이 이 파일에 없을 때만** 실린다(bake.mjs 의
   `fontSheet`). 이 사이트는 표제·본문을 둘 다 여기서 고르므로 그 시트가 안 실리고,
   그러면 `--mono` 가 부르는 이름만 선언 없이 남아 번호·날짜·꼬리표가 시스템 고정폭으로
   떨어진다. 그래서 여기에도 선언을 둔다 — 같은 파일을 가리키므로 두 번 받지 않는다.
   네 벌을 다 선언한다. 500·600 을 빼면 site.css 가 그 굵기를 불러도 400·700 으로
   반올림돼 번호·꼬리표의 굵기 위계가 한 칸씩 어긋난다. 파일은 npm 이 다 들고 온다. */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); }

/* ── 네이버 본문용 3종 — hangeul.naver.com 의 zip 을 `tools/build-fonts.py` 가 줄인 것 ──
   굵기 400·700 을 둘 다 넣는다. 400 만 있으면 브라우저가 굵게를 **지어내** 획이 뭉개진다. */
@font-face { font-family: 'NanumBarunGothic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumBarunGothic-400.woff2') format('woff2'); }  /* 나눔바른고딕 */
@font-face { font-family: 'NanumBarunGothic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/NanumBarunGothic-700.woff2') format('woff2'); }  /* 나눔바른고딕 */
@font-face { font-family: 'NanumSquare'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumSquare-400.woff2') format('woff2'); }  /* 나눔스퀘어 */
@font-face { font-family: 'NanumSquare'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/NanumSquare-700.woff2') format('woff2'); }  /* 나눔스퀘어 */
@font-face { font-family: 'MaruBuri'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/MaruBuri-400.woff2') format('woff2'); }  /* 마루 부리 */
@font-face { font-family: 'MaruBuri'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/MaruBuri-700.woff2') format('woff2'); }  /* 마루 부리 */

/* ── 눈누(noonnu.cc)에서 고른 15종 — **내려받아 파일째** 들고 온다 ──
   눈누의 jsDelivr 주소를 그대로 물면 그 서비스가 바뀌는 날 지난 글의 글씨체가 통째로 바뀐다.

   **서브셋을 만들지 않았다.** 여러 글꼴이 「폰트 파일의 수정·개작」을 금지한다 —
   글자를 덜어내는 것도 수정이다. 배포자가 웹용으로 내놓은 파일을 그대로 쓴다.
   (그래서 나눔손글씨처럼 500KB 로 줄지 않는다. 조선궁서체는 3.5MB 다.)

   라이선스는 전부 **웹사이트·임베딩 사용 가능**이다.
   「여기어때 잘난체」는 라이선스 전문 포함 또는 **출처 표기**가 조건이다 — README 에 적어 뒀다.

   넣지 않은 둘:
     · 메모먼트 꾹꾹체 — 「폰트를 웹서비스에 직접 임베딩」을 라이선스가 막는다
     · 뒤틀림(Distort)  — 임베딩은 별도 유료 라이선스, 파일 재배포 금지 */
@font-face { font-family: 'Paperlogy'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Paperlogy.woff2') format('woff2'); }  /* 페이퍼로지 — 노트폴리오 */
@font-face { font-family: 'SUIT'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/SUIT.woff2') format('woff2'); }  /* 수트 — sunn.us */
@font-face { font-family: 'Freesentation'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Freesentation.woff2') format('woff2'); }  /* 프리젠테이션 — 한국장애인고용공단 */
@font-face { font-family: 'SBAggroB'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/SBAggroB.woff') format('woff'); }  /* 어그로체 — 삼립 */
@font-face { font-family: 'JalnanGothic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/JalnanGothic.woff') format('woff'); }  /* 여기어때 잘난체 — 여기어때컴퍼니 */
@font-face { font-family: 'BookkMyungjo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/BookkMyungjo.woff2') format('woff2'); }  /* 부크크 명조 — 부크크 */
@font-face { font-family: 'RIDIBatang'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/RIDIBatang.woff') format('woff'); }  /* 리디바탕 — 리디 (OFL) */
@font-face { font-family: 'ChosunGs'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ChosunGs.woff') format('woff'); }  /* 조선궁서체 — 조선일보 */
@font-face { font-family: 'GangwonEduAll'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/GangwonEduAll.woff') format('woff'); }  /* 강원교육모두체 — 강원도교육청 */
@font-face { font-family: 'SeoulAlrim'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/SeoulAlrim.woff2') format('woff2'); }  /* 서울알림체 — 서울특별시 */
@font-face { font-family: 'HiKR'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/HiKR.woff2') format('woff2'); }  /* 하이커체 — 한국관광공사 */
@font-face { font-family: 'GriunPolSensibility'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/GriunPolSensibility.woff2') format('woff2'); }  /* 그리운 경찰감성체 — 그리운 */
@font-face { font-family: 'LeeSeoyun'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/LeeSeoyun.woff') format('woff'); }  /* 이서윤체 — 이서윤 */
@font-face { font-family: 'Cloudsofa'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Cloudsofa.woff2') format('woff2'); }  /* CLOUD SOFA — 클라우드소파 */
@font-face { font-family: 'Galmuri9'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Galmuri9.woff2') format('woff2'); }  /* 갈무리9 — 이민서 (OFL) */

/* ── 네이버 클로바 손글씨 16종 (나눔손글씨) ──
   `tools/build-clova-fonts.py` 가 clova.ai 에서 받아 KS X 1001 상용 2,350자로 줄인 것이다.
   통짜는 한 벌에 2.6MB 라 한 편의 글이 무거워진다 — 줄이면 500KB 다.

   `unicode-range` 를 안 쓴다: 상용 집합을 정확히 적으면 @font-face 하나가 14KB 라
   16종이면 CSS 만 500KB 가 된다. 상용 밖 글자(똠·뷁·햏 …)는 그 글자만 본문 기본 글꼴로
   그려진다 — 네모(tofu)가 아니라 다른 글씨체다.

   라이선스: 「기업·단체·개인 누구나 무료. 유상 제공·판매·배포는 금지」(clova.ai 고지).
   파일째 들고 오는 이유는 위와 같다 — 남의 CDN 을 물면 그날 지난 글의 글씨체가 바뀐다. */
@font-face { font-family: 'NanumGaRamYeonGgoc'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGaRamYeonGgoc.woff2') format('woff2'); }  /* 나눔손글씨 가람연꽃 */
@font-face { font-family: 'NanumGarMaesGeur'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGarMaesGeur.woff2') format('woff2'); }  /* 나눔손글씨 갈맷글 */
@font-face { font-family: 'NanumGangBuJangNimCe'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGangBuJangNimCe.woff2') format('woff2'); }  /* 나눔손글씨 강부장님체 */
@font-face { font-family: 'NanumGomSinCe'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGomSinCe.woff2') format('woff2'); }  /* 나눔손글씨 곰신체 */
@font-face { font-family: 'NanumGyuRiEuiIrGi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGyuRiEuiIrGi.woff2') format('woff2'); }  /* 나눔손글씨 규리의 일기 */
@font-face { font-family: 'NanumGeumEunBoHwa'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGeumEunBoHwa.woff2') format('woff2'); }  /* 나눔손글씨 금은보화 */
@font-face { font-family: 'NanumGiBbeumBarkEum'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGiBbeumBarkEum.woff2') format('woff2'); }  /* 나눔손글씨 기쁨밝음 */
@font-face { font-family: 'NanumGgeuTeuMeoRiCe'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumGgeuTeuMeoRiCe.woff2') format('woff2'); }  /* 나눔손글씨 끄트머리체 */
@font-face { font-family: 'NanumNaMuJeongWeon'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumNaMuJeongWeon.woff2') format('woff2'); }  /* 나눔손글씨 나무정원 */
@font-face { font-family: 'NanumDaSiSiJagHae'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumDaSiSiJagHae.woff2') format('woff2'); }  /* 나눔손글씨 다시 시작해 */
@font-face { font-family: 'NanumBaReunHiPi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumBaReunHiPi.woff2') format('woff2'); }  /* 나눔손글씨 바른히피 */
@font-face { font-family: 'NanumURiDdarSonGeurSsi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumURiDdarSonGeurSsi.woff2') format('woff2'); }  /* 나눔손글씨 우리딸 손글씨 */
@font-face { font-family: 'NanumDaHaengCe'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumDaHaengCe.woff2') format('woff2'); }  /* 나눔손글씨 다행체 */
@font-face { font-family: 'NanumDdaAgDanDan'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumDdaAgDanDan.woff2') format('woff2'); }  /* 나눔손글씨 따악단단 */
@font-face { font-family: 'NanumDdaDdeusHanJagByeor'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumDdaDdeusHanJagByeor.woff2') format('woff2'); }  /* 나눔손글씨 따뜻한 작별 */
@font-face { font-family: 'NanumDdarEGeEomMaGa'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/NanumDdarEGeEomMaGa.woff2') format('woff2'); }  /* 나눔손글씨 딸에게 엄마가 */
