/* ============================================================
 * font-pretendard-alias.css
 *
 * 목적: 사이트 전체의 'Noto Sans KR' 폰트 참조를 Pretendard 로 alias.
 *
 * 배경:
 *   reset.css 가 Pretendard CDN 을 @import 하지만 다수의 페이지/포트폴리오
 *   CSS 가 'font-family: "Noto Sans KR"' 를 직접 지정하고 있어 Pretendard 로
 *   통일이 되지 않음. 사용자 요청으로 사이트 전역 Pretendard 적용.
 *
 * 방식 (per-file 수정 회피):
 *   @font-face { font-family: "Noto Sans KR"; src: Pretendard 파일 }
 *   → 브라우저 폰트 lookup 단계에서 "Noto Sans KR" 가 Pretendard 파일로 해석됨.
 *     CSS 의 font-family 값은 그대로 두고 실제 렌더링만 Pretendard 로 전환.
 *
 * 로드 순서: layout.html head 의 reset.css 직후 (specificity 무관, 선언적).
 *
 * 우선순위:
 *   src 1) local('Pretendard Variable') — OS 설치된 사용자에 즉시 적용
 *   src 2) local('Pretendard')          — Pretendard 정적 폰트가 설치된 경우
 *   src 3) jsdelivr CDN woff2          — 둘 다 없으면 다운로드
 * ============================================================ */

@font-face {
  font-family: "Noto Sans KR";
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard Thin"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-Thin.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard ExtraLight"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-ExtraLight.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard Light"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard Regular"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard Medium"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard SemiBold"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard Bold"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard ExtraBold"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-ExtraBold.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans KR";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
       local("Pretendard Black"),
       url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/Pretendard-Black.woff2") format("woff2");
}
