/* 서체 정의.
   Pretendard Variable -> 본문 + 한글 (굵기 45~930 무단계)
   Poppins             -> 라틴 제목 (static 400/500/600/700)
   Encode Sans Expanded-> About PROMISE 아코디언 제목 전용 (Thin 100)

   ── 왜 Variable 로 바꿨나 ──────────────────────────────────────────
   이전에는 Pretendard 를 Regular/Medium 두 벌만 들고, weight 400 자리에
   Medium 파일을 물려 "한글 기본 굵기 = Medium" 을 만들었다. 그런데 이러면
   600 이나 700 을 지정해도 물릴 파일이 없어 브라우저가 가장 가까운 500 을
   그대로 쓴다. 실측 결과 한글은 400·500·600·700·800 이 전부 같은 폭으로
   렌더됐다 — 즉 한글에는 굵기 차이가 아예 없었다. 제목을 굵게 지정해 놓아도
   본문과 똑같이 보였고, 이것이 "제목의 볼드한 느낌이 사라졌다"의 정체다.
   (영문 Poppins 는 네 벌이 다 있어 정상 동작하고 있었다.)

   Variable 한 벌이면 45~930 사이 어떤 값이든 진짜 굵기로 렌더된다.
   덤으로 파일도 준다 — 기존 static 두 벌 1,544KB → Variable 1,718KB 이지만
   아래처럼 라틴/한글을 갈라 두면 영문만 보는 방문자는 55KB 만 받는다.

   ── 왜 unicode-range 로 갈랐나 ────────────────────────────────────
   브라우저는 실제로 화면에 그려진 글자가 속한 구간의 파일만 내려받는다.
   이 사이트는 한 URL 에 국문·영문을 모두 심어 두고 CSS 로 한쪽만 보여주므로,
   영문으로 보는 방문자에게는 한글 글리프가 렌더되지 않아 1.66MB 를 건너뛴다.

   원본: Pretendard v1.3.9 Variable, fontTools 로 서브셋.
   한글은 현대 한글 11,172자를 통째로 넣었다 — CMS 로 새 글이 들어와도
   빠지는 글자가 없어야 하므로 글자 단위로 줄이지 않는다. */

@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 45 930;
  font-display: swap;
  src: url(/fonts/pretendard-var-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20A9, U+20AC,
    U+2122, U+2190-2193, U+2212, U+2215, U+3000-303F, U+FF01-FF5E;
}

@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 45 930;
  font-display: swap;
  src: url(/fonts/pretendard-var-ko.woff2) format('woff2-variations');
  unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/poppins-400.woff2) format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/poppins-500.woff2) format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/poppins-600.woff2) format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/poppins-700.woff2) format('woff2');
}

/* 히어로 굵기(--fw-hero: 800). 이게 없으면 브라우저가 700 파일을 억지로
   부풀려 획이 뭉개진다 — 굵어 보이는 게 아니라 번져 보인다. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/poppins-800.woff2) format('woff2');
}

/* About PROMISE 아코디언 제목 — 라이브가 쓰던 초경량 확장체. 이 한 곳 전용이다. */
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(/fonts/encode-sans-expanded-100.woff2) format('woff2');
}
