/* 마이타임 — 웹폰트 (셀프호스팅)
 *
 * ── 3성부 위계 ──
 * 헤드라인 = MaruBuri (네이버 마루부리, 명조 디스플레이)  — 격조·신뢰
 * 본문     = Pretendard                                  — 가독
 * 수치     = S-Core Dream (숫자·라틴 서브셋 4KB)          — 계기판 인상
 *
 * ★ 라이선스 실사 결과 (~/pp-dev/fonts/LICENSE-AUDIT.json):
 *   창고의 명조 32종 중 웹폰트 임베딩이 실제로 허용된 건 마루부리(SIL OFL 1.1) 하나뿐이다.
 *   큐레이션 1픽인 "국립박물관문화재단클래식"은 license=불명 / webfont=확인불가 /
 *   fsType=4(Print&Preview only) + 감사노트 "고객 사이트 배포 금지" → 채택 불가.
 *   KoPubWorld 바탕도 _webfont-restricted/ 격리(사전승인 필요). 그래서 명조는 마루부리 유지가 정답이고,
 *   대신 웨이트를 Light~Bold 4단으로 넓혀 위계를 만들었다.
 *   S-Core Dream = 자체 무료 라이선스(상업·재배포 가능, 공식약관 s-core.co.kr) — 숫자 전용으로만 사용.
 *
 * ★ 전부 로컬 woff2. 외부 CDN 의존 없음 (jsdelivr gh/ 직링은 조용히 404 나는 전례가 있다).
 * ★ unicode-range 로 라틴(53KB)을 한글(1.7MB)과 분리 — 숫자/영문이 먼저 뜬다.
 * ★ font-display:swap — 폰트 대기로 텍스트가 사라지지 않게 한다.
 */

/* ── 본문: Pretendard ── */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/Pretendard-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20A9, U+20AC, U+2190-2193, U+2713, U+00D7;
}
@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/Pretendard-ko.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+AC00-D7A3, U+FF01-FF5E, U+2460-246F;
}

/* ── 헤드라인: MaruBuri ──
 * Light(300) 를 추가한 게 이번 개편의 핵심. 큰 명조는 400도 무거워 보이는데
 * 디스플레이 크기에서 300 을 쓰면 인쇄 활자의 가는 획이 살아난다.
 */
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/fonts/MaruBuri-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/fonts/MaruBuri-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/fonts/MaruBuri-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/fonts/MaruBuri-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── 수치: S-Core Dream (숫자·라틴만) ──
 * 200KB 원본을 U+0030-0039 등으로 서브셋해 4KB. 한글 글리프는 아예 없으므로
 * unicode-range 로 라틴/숫자 구간에 가둬 한글이 여기로 새지 않게 한다.
 * 기하학적 산세리프라 명조 옆에서 계기판 숫자처럼 읽힌다.
 */
@font-face {
  font-family: "SCDreamNum";
  src: url("/assets/fonts/SCDreamMedium-num.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020, U+0025, U+002B-002D, U+002E, U+0030-0039, U+003A, U+0041-005A, U+0061-007A, U+007E, U+00B7;
}
@font-face {
  font-family: "SCDreamNum";
  src: url("/assets/fonts/SCDreamBold-num.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020, U+0025, U+002B-002D, U+002E, U+0030-0039, U+003A, U+0041-005A, U+0061-007A, U+007E, U+00B7;
}
