/**
 * PUI Fonts - 한글 웹폰트 정의
 * 
 * Sans-serif: Pretendard, Noto Sans KR, 나눔고딕
 * Serif: Noto Serif KR, 나눔명조
 * Monospace: D2Coding, 나눔고딕 코딩
 */

/* =========================================================================
 * Pretendard (Variable Font)
 * ========================================================================= */
@font-face {
    font-family: 'Pretendard';
    src: url('./pretendard/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    ascent-override: 105%;
}

/* =========================================================================
 * Noto Sans KR
 * ========================================================================= */
@font-face {
    font-family: 'Noto Sans KR';
    src: url('./noto-sans-kr/noto-sans-kr-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans KR';
    src: url('./noto-sans-kr/noto-sans-kr-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans KR';
    src: url('./noto-sans-kr/noto-sans-kr-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================================================
 * 나눔고딕 (Nanum Gothic)
 * ========================================================================= */
@font-face {
    font-family: 'Nanum Gothic';
    src: url('./nanum-gothic/nanum-gothic-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 106%;
}

@font-face {
    font-family: 'Nanum Gothic';
    src: url('./nanum-gothic/nanum-gothic-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 106%;
}

/* =========================================================================
 * Noto Serif KR
 * ========================================================================= */
@font-face {
    font-family: 'Noto Serif KR';
    src: url('./noto-serif-kr/noto-serif-kr-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif KR';
    src: url('./noto-serif-kr/noto-serif-kr-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif KR';
    src: url('./noto-serif-kr/noto-serif-kr-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================================================
 * 나눔명조 (Nanum Myeongjo)
 * ========================================================================= */
@font-face {
    font-family: 'Nanum Myeongjo';
    src: url('./nanum-myeongjo/nanum-myeongjo-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 106%;
}

@font-face {
    font-family: 'Nanum Myeongjo';
    src: url('./nanum-myeongjo/nanum-myeongjo-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 106%;
}

/* =========================================================================
 * D2Coding
 * ========================================================================= */
@font-face {
    font-family: 'D2Coding';
    src: url('./d2coding/D2Coding-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 105%;
}

@font-face {
    font-family: 'D2Coding';
    src: url('./d2coding/D2Coding-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 105%;
}

/* D2Coding Ligature (합자 지원) */
@font-face {
    font-family: 'D2Coding Ligature';
    src: url('./d2coding/D2CodingLigature-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 105%;
}

@font-face {
    font-family: 'D2Coding Ligature';
    src: url('./d2coding/D2CodingLigature-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 105%;
}

/* =========================================================================
 * 나눔고딕 코딩 (Nanum Gothic Coding)
 * ========================================================================= */
@font-face {
    font-family: 'Nanum Gothic Coding';
    src: url('./nanum-gothic-coding/nanum-gothic-coding-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 104%;
}

@font-face {
    font-family: 'Nanum Gothic Coding';
    src: url('./nanum-gothic-coding/nanum-gothic-coding-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 104%;
}
