/*
  Pretendard — early @font-face (HTML head).
  Loaded before JS so fonts are discovered without waiting for React/GlobalStyle.
*/

/* Metric-matched fallback: reduces layout jump while webfont swaps in */
@font-face {
  font-family: 'Pretendard Fallback';
  src: local('Apple SD Gothic Neo'), local('Malgun Gothic'), local('Segoe UI'),
    local('Arial');
  size-adjust: 103%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

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

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

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

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