/**
 * SUIT 폰트 정의
 * 
 * font-display: swap - 시스템 폰트로 먼저 표시 후 폰트 로드되면 교체 (FOIT 방지)
 * woff2 우선 사용 (가장 작은 용량)
 * 
 * @package Boxkun_Preline
 */

/* 폴백 폰트 메트릭 조정 (CLS 방지) */
@font-face {
    font-family: 'SUIT Fallback';
    src: local('Apple SD Gothic Neo'), local('Malgun Gothic'), local('sans-serif');
    size-adjust: 100%;
    ascent-override: normal;
    descent-override: normal;
    line-gap-override: normal;
}

/* SUIT Regular (400) */
@font-face {
    font-family: 'SUIT';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../font/SUIT-Regular.woff2') format('woff2'),
         url('../font/SUIT-Regular.otf') format('opentype');
}

/* SUIT Medium (500) */
@font-face {
    font-family: 'SUIT';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../font/SUIT-Medium.woff2') format('woff2'),
         url('../font/SUIT-Medium.otf') format('opentype');
}

/* SUIT Bold (700) */
@font-face {
    font-family: 'SUIT';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../font/SUIT-Bold.woff2') format('woff2'),
         url('../font/SUIT-Bold.otf') format('opentype');
}

/* SUIT ExtraBold (800-900) */
@font-face {
    font-family: 'SUIT';
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
    src: url('../font/SUIT-ExtraBold.woff2') format('woff2'),
         url('../font/SUIT-ExtraBold.otf') format('opentype');
}
