﻿@charset "utf-8";

@font-face {
  font-family: 'Nanum Barun Gothic';
  font-style: normal;
  font-weight: 300;
  src: local('Nanum Barun Gothic Light'), local('Nanum Barun Gothic-Light'), local('NanumBarunGothic Light');
  src: url(../fonts/kr/NanumBarunGothicLight.eot);
  src: url(../fonts/kr/NanumBarunGothicLight.eot?#iefix) format('embedded-opentype'),
       url(../fonts/kr/NanumBarunGothicLight.woff) format('woff'),
       url(../fonts/kr/NanumBarunGothicLight.ttf) format('truetype');
}

@font-face {
  font-family: 'Nanum Barun Gothic';
  font-style: normal;
  font-weight: 400;
  src: local('Nanum Barun Gothic Regular'), local('Nanum Barun Gothic-Regular'), local('NanumBarunGothic Regular');
  src: url(../fonts/kr/NanumBarunGothic.eot);
  src: url(../fonts/kr/NanumBarunGothic.eot?#iefix) format('embedded-opentype'),
       url(../fonts/kr/NanumBarunGothic.woff) format('woff'),
       url(../fonts/kr/NanumBarunGothic.ttf) format('truetype');
}

@font-face {
  font-family: 'Nanum Barun Gothic';
  font-style: normal;
  font-weight: 700;
  src: local('Nanum Barun Gothic Bold'), local('Nanum Barun Gothic-Bold'), local('NanumBarunGothic Bold');
  src: url(../fonts/kr/NanumBarunGothicBold.eot);
  src: url(../fonts/kr/NanumBarunGothicBold.eot?#iefix) format('embedded-opentype'),
       url(../fonts/kr/NanumBarunGothicBold.woff) format('woff'),
       url(../fonts/kr/NanumBarunGothicBold.ttf) format('truetype');
}

/* ── Pretendard (가변) ────────────────────────────────────────────────────
   본문·UI 글꼴. 나눔바른고딕은 작은 크기(12~13px)에서 힌팅이 약해 한글 획이
   픽셀 격자에 안 붙고 뭉개졌다. 프리텐다드는 화면 UI를 상정한 글꼴이라
   같은 크기에서 훨씬 또렷하다.

   - 가변 폰트 한 벌(2.0MB)로 45~930 굵기를 모두 덮는다(wght 축 실측값).
     쓰이는 굵기가 400·500·600·700·800·900 여섯이라 정적 파일을 굵기마다
     두는 것(한 벌 약 750KB)보다 이쪽이 싸다.
   - woff2 를 못 읽는 옛 브라우저는 이 @font-face 를 통째로 버리고
     스택 다음 자리인 나눔바른고딕(위 woff/eot)으로 내려간다 — 지금과 같다.
   - 파일 안의 이름은 'Pretendard Variable' 이지만 CSS 이름은 위 font-family
     선언이 정한다 — 스택에서는 'Pretendard' 로 부르면 된다.
   - local() 은 일부러 뺐다. 기기에 정적 프리텐다드가 깔려 있으면 그쪽이
     잡혀 굵기가 가짜 볼드로 그려진다.
   - 원본 : https://github.com/orioncactus/pretendard (v1.3.9, SIL OFL 1.1)
     ../fonts/pretendard/LICENSE.txt 참고
   ──────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 45 930;
  font-display: swap;
  src: url(../fonts/pretendard/PretendardVariable.woff2) format('woff2');
}
