/* SPEC-RNW-REBUILD-001 M1 — 폰트 6종 이식 (REQ-F-001/002, REQ-D-008)
 * 이식 기준: "선언된 폰트"가 아니라 실측 렌더 중인 6종 [FM §6] [DATA/fonts]
 *   Pretendard(본문 15px/400) · Noto Sans KR · Poppins · GmarketSans · Aggravo · Paperozi
 * 제외(복원 금지 — 복원하면 원본과 달라진다, REQ-F-002):
 *   Montserrat(선언 9면 렌더 6종 밖) / Noto Serif KR(28파일 전멸) / NanumSquare(8파일 전멸)
 * Aggravo·Paperozi는 noonnu CDN 원문 경로 유지 — 자체 호스팅 시 재배포 금지 조항 위반 (AC-D-09)
 * 원문 출처: 스냅샷 css/style.css @font-face (원문 추출)
 * M3 개정: 전 face font-display:swap 부여 — REQ-D-009 "레이아웃 무변경 성능 조치"
 *   (원본은 font-display 부재 → LH 시뮬레이션에서 웹폰트 ~5MB 가 FCP 를 차단. swap 은
 *   로딩 단계 폴백 표시만 바꾸고 정착 레이아웃은 동일 — Tier 1/2 는 fonts.ready 후 판정)
 * 생성기: scripts/build-style-tokens.mjs */

/* ── Pretendard (9 faces) · Noto Sans KR (7 faces) · GmarketSans (3 faces) ──
 * 전체 파일 선언은 2026-12-02 뺐다(대표 「정렬·속도」 2차 점검 승인). 같은 이름·굵기의 부분 파일 선언(legacy/style.css 끝)만 쓴다.
 * 이유: 부분 파일과 전체 파일을 같은 이름으로 두 번 선언하면 사파리가 팀 페이지에서 전체 파일 9굵기를 모두 받았다(글꼴 11.6MB → 3.1MB).
 * 부분 파일에 없는 아주 드문 글자는 그 글자만 다음 글꼴로 나온다. 되돌리기 = git 이력에서 이 자리 선언 복원 */
/* ── Poppins (9 faces) ── */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  src: url('/fonts/poppins-v15-latin-100.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-100.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-100.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/poppins-v15-latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-200.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-200.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/poppins-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-300.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/poppins-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/poppins-v15-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-500.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-500.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/poppins-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/poppins-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/poppins-v15-latin-800.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-800.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-800.svg#Poppins') format('svg'); /* Legacy iOS */
}
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('/fonts/poppins-v15-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/fonts/poppins-v15-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/fonts/poppins-v15-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('/fonts/poppins-v15-latin-900.woff') format('woff'), /* Modern Browsers */
       url('/fonts/poppins-v15-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/poppins-v15-latin-900.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* ── GmarketSans (3 faces) ── */
/* ── Aggravo (3 faces) ── */
@font-face {
    font-family: 'Aggravo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroL.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Aggravo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroM.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Aggravo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

/* ── Paperozi (4 faces) ── */
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
