/* 공유 웹폰트 정의 — 모든 페이지 공통 (ogg / Pretendard / 숫자 전용 PretendardNum) */
@font-face {
  font-family: "ogg";
  src: url("https://use.typekit.net/af/5a8cd9/0000000000000000775aaec3/31/l")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ogg-text";
  src: url("https://use.typekit.net/af/39eb4b/00000000000000007758160e/31/l")
    format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ogg-text";
  src: url("https://use.typekit.net/af/83d153/000000000000000077581609/31/l")
    format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Light.woff2")
    format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* 숫자만 Pretendard로 렌더 (한국어 페이지에서 라틴 본문은 ogg 유지) */
@font-face {
  font-family: "PretendardNum";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Light.woff2")
    format("woff2");
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "PretendardNum";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2")
    format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0030-0039;
}

/* 동작 줄이기(prefers-reduced-motion) 대응 — 모든 페이지 공통.
   OS 접근성 "동작 줄이기"를 켠 사용자에게만 CSS 애니메이션·전환·부드러운
   스크롤을 사실상 중지 (배경 물결 ripple, 페이드, 로고 이동 등).
   p5 블롭·three.js 회전 등 JS 구동 애니메이션은 각 스크립트에서 별도 처리. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto !important;
  }
}
