/*
  웹폰트 — 설치 폰트(local)를 쓰지 않는다. 어느 PC 에서나 같은 파일로 그린다.

  Pretendard: 설치본 1.309(.otf = CFF 윤곽, Bold 만 .ttf)를 그대로 woff2 로 싼 것
  (tools/assets/pretendard_woff2.py). 예전 CDN(jsDelivr v1.3.9)은 local() 을 먼저 두고,
  없으면 TrueType 으로 바꾼 woff2 를 받아 설치 여부에 따라 글자가 살짝 달랐다.
  기준은 설치본 모양이다. 같은 패밀리명이라도 @font-face 가 있으면 설치 폰트는 끼어들지 않는다.

  "Hyundai Sans Head Pro"(설치명) · "Whyte"(파일 없음)도 여기서 묶는다 — 설치된 PC 에서만
  다른 글꼴로 바뀌지 않게. 둘 다 지금 화면에 그려지던 HyundaiSansHeadPro 파일을 가리킨다.
  HyundaiSansHeadPro 자체는 src/index.css 에 있다(같은 파일).
*/

@font-face { font-family: "Pretendard"; font-weight: 100; font-display: swap; src: url("./pretendard/Pretendard-Thin.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 200; font-display: swap; src: url("./pretendard/Pretendard-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 300; font-display: swap; src: url("./pretendard/Pretendard-Light.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("./pretendard/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("./pretendard/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("./pretendard/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("./pretendard/Pretendard-Bold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; font-display: swap; src: url("./pretendard/Pretendard-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 900; font-display: swap; src: url("./pretendard/Pretendard-Black.woff2") format("woff2"); }

/* Pretendard 에 없는 본문 한자(時性比) — 시스템 대체 글꼴 대신 기준 PC 에서 그려지던 Noto Sans KR 그대로
   (tools/assets/hanja_woff2.py). 본문 400 은 Regular, 소제목 600 은 Bold 로 그려졌다.
   ⚠ 굵기는 위 Pretendard 와 한 값씩 똑같이 적는다 — 크롬은 굵기 설명이 같은 face 끼리만
     unicode-range 로 묶는다. '100 500' 처럼 범위로 적으면 400 Pretendard 와 따로 놀아 쓰이지 않았다 */
@font-face { font-family: "Pretendard"; font-weight: 100; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 200; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 300; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 400; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-700.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-700.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-700.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 900; unicode-range: U+6027, U+6642, U+6BD4; src: url("./noto-sans-kr-hanja-700.woff2") format("woff2"); }

@font-face { font-family: "Hyundai Sans Head Pro"; font-weight: 300; src: url("./HyundaiSansHeadPro-Light.woff2") format("woff2"); }
@font-face { font-family: "Hyundai Sans Head Pro"; font-weight: 400; src: url("./HyundaiSansHeadPro-Regular.woff2") format("woff2"); }
@font-face { font-family: "Hyundai Sans Head Pro"; font-weight: 500; src: url("./HyundaiSansHeadPro-Medium.woff2") format("woff2"); }
@font-face { font-family: "Hyundai Sans Head Pro"; font-weight: 700; src: url("./HyundaiSansHeadPro-Bold.woff2") format("woff2"); }

@font-face { font-family: "Whyte"; font-weight: 300; src: url("./HyundaiSansHeadPro-Light.woff2") format("woff2"); }
@font-face { font-family: "Whyte"; font-weight: 400; src: url("./HyundaiSansHeadPro-Regular.woff2") format("woff2"); }
@font-face { font-family: "Whyte"; font-weight: 500; src: url("./HyundaiSansHeadPro-Medium.woff2") format("woff2"); }
@font-face { font-family: "Whyte"; font-weight: 700; src: url("./HyundaiSansHeadPro-Bold.woff2") format("woff2"); }
