/* Pretendard Variable — 자체 호스팅 서브셋 (사이트 실제 사용 문자만)
   기존: jsdelivr 동적 서브셋 → 실측 22청크 612.8KiB 다운로드
   현재: 단일 파일 244KiB (wght 45-930 가변축 유지, pyftsubset 생성)
   생성/재생성: tools/_font_build.py
   라이선스: SIL Open Font License 1.1 — Copyright (c) 2021 Kil Hyung-jin, Pretendard
   https://github.com/orioncactus/pretendard */
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 45 930;
  font-display: swap;
  src: url('/fonts/pretendard-var-subset.woff2') format('woff2-variations');
}

/* 폴백 폰트 메트릭 보정 — 웹폰트 교체 시 텍스트 재배치(CLS) 최소화
   Pretendard 실측: upem 2048, hhea asc 1950(95.21%), desc 494(24.12%), lineGap 0
   → 폴백 폰트의 행 높이를 동일하게 강제해 폰트 스왑 순간의 시프트를 없앤다. */
@font-face {
  font-family: 'Pretendard Fallback';
  src: local('Malgun Gothic'), local('Apple SD Gothic Neo'), local('Noto Sans KR'),
       local('Roboto'), local('Helvetica Neue'), local('Arial');
  ascent-override: 95.21%;
  descent-override: 24.12%;
  line-gap-override: 0%;
  size-adjust: 100%;
}
