/*
 * 웹폰트 정의 — 셀프호스팅 (static/fonts/, 외부 CDN 미의존)
 * Pretendard(본문): 정적 웨이트별 woff2(+woff 폴백) 9종 — 패밀리명 'Pretendard'
 * Paperlogy(제목·브랜드): 눈누/projectnoonnu 배포 woff2 4종 — 패밀리명 'Paperlogy'
 * SavetheChildren(브랜드 전용): earthemble 이관 woff 3종(300/500/700) — 패밀리명 'SavetheChildren'
 * 공통: 단일 패밀리명 + font-weight 매핑 (per-weight 패밀리명 방식 지양), font-display: swap
 * 사용: font-family 직접 기입 대신 tokens.css 의 --font-family-* 토큰을 참조한다
 */

/* ── Pretendard ─────────────────────────────────────────── */
@font-face {
  font-family: 'Pretendard';
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-Thin.woff2') format('woff2'),
       url('../fonts/Pretendard-Thin.woff') format('woff');
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-ExtraLight.woff2') format('woff2'),
       url('../fonts/Pretendard-ExtraLight.woff') format('woff');
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-Light.woff2') format('woff2'),
       url('../fonts/Pretendard-Light.woff') format('woff');
}

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

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

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

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

@font-face {
  font-family: 'Pretendard';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-ExtraBold.woff2') format('woff2'),
       url('../fonts/Pretendard-ExtraBold.woff') format('woff');
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-Black.woff2') format('woff2'),
       url('../fonts/Pretendard-Black.woff') format('woff');
}

/* ── Paperlogy ──────────────────────────────────────────── */
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Paperlogy-4Regular.woff2') format('woff2');
}

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

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

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

@font-face {
  font-family: 'Paperlogy';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Paperlogy-8ExtraBold.woff2') format('woff2');   /* 로그인 헤드라인 (JI-8100, 2026-08-03 추가) */
}

/* ── SavetheChildren (브랜드 전용) ───────────────────────── */
/* 세이브더칠드런 브랜드 서체 — earthemble(SafeCild-*.woff)에서 이관. 원본이 woff만 제공(woff2/otf/ttf 없음) */
@font-face {
  font-family: 'SavetheChildren';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/SavetheChildren-Light.woff') format('woff');
}

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

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