/*
Pretendard Std (Korean subset) - 로컬 호스팅 (2026-04-23)
Copyright (c) 2021 Kil Hyung-jin, with Reserved Font Name Pretendard.
https://github.com/orioncactus/pretendard
SIL Open Font License, Version 1.1

2026-05-26: font-display: swap → optional 변경
- swap: LCP까지 폰트 다운로드 차단 (PSI critical chain에 폰트 woff2 5개 포함됨)
- optional: 100ms 안에 폰트 로드 못 하면 시스템 폰트 유지 → 첫 LCP 폰트 영향 0
- 캐시된 재방문 사용자는 정상 Pretendard 표시
*/

@font-face {
	font-family: 'Pretendard';
	font-weight: 400;
	font-display: optional;
	src: local('Pretendard Regular'),
	     url('/common/fonts/pretendard/PretendardStd-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 500;
	font-display: optional;
	src: local('Pretendard Medium'),
	     url('/common/fonts/pretendard/PretendardStd-Medium.woff2') format('woff2');
}

/* 2026-09-08: 600(SemiBold) 웨이트 제거 — 원장 지시.
   600 을 쓰는 요소는 14개(언어 스위처 등)뿐인데 파일은 136KB 였다.
   600 선언만 지우면 CSS 폰트 매칭 규칙(원하는 굵기>500 이면 같거나 굵은 쪽을
   오름차순 우선)에 따라 700 Bold 파일이 대신 쓰인다 — CSS 의 font-weight:600
   선언은 그대로 둬도 된다. woff2 파일 자체는 되돌릴 수 있게 남겨 뒀다. */

@font-face {
	font-family: 'Pretendard';
	font-weight: 700;
	font-display: optional;
	src: local('Pretendard Bold'),
	     url('/common/fonts/pretendard/PretendardStd-Bold.woff2') format('woff2');
}
