/* pixon-tokens.css — 픽슨 홈페이지 표준 v1 토큰 (2026-10-05, 실측 20곳 기준)
   사이트마다 바꾸는 것: --accent, --bg, --fg, 제목 글꼴 1개. 나머지 수치는 고정.
   근거: 06_work/_web_study_20261005/00_PIXON_웹제작_표준_v1.md 2·3절 */
:root{
  /* 글꼴 */
  --font-body:"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --font-head:var(--font-body);

  /* 타입 스케일 (한글 실측: 본문 16px, 제목 700, 모바일 히어로 ≈ PC×0.45) */
  --fs-xs:.8125rem;  --fs-sm:.875rem;  --fs-body:1rem;  --fs-lead:clamp(1.0625rem,1rem + .3vw,1.25rem);
  --fs-h3:clamp(1.125rem,1rem + .6vw,1.5rem);
  --fs-h2:clamp(1.625rem,1.2rem + 1.8vw,2.75rem);
  --fs-h1:clamp(2rem,1.2rem + 4vw,4.75rem);
  --fs-display:clamp(2.5rem,1rem + 6.5vw,7.5rem);

  /* 한글 행간·자간 [실측] */
  --lh-body:1.6; --lh-head:1.3; --lh-display:1.2;
  --ls-body:0; --ls-head:-.02em; --ls-display:-.03em;

  /* 레이아웃 [실측: 컨테이너 1376~1400, 거터 PC 30~45 / 모바일 15~20] */
  --max:1400px; --read:38em;
  --gutter:clamp(1rem,3vw,3rem);
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.5rem; --sp-6:2rem; --sp-7:3rem; --sp-8:4rem;
  --sec:clamp(5rem,3rem + 7vw,10rem);           /* 섹션 세로 80~160px */
  --sec-s:clamp(3.5rem,2.5rem + 4vw,6rem);

  /* 모션 [실측] 곡선 3종만 */
  --ease-micro:cubic-bezier(.4,0,.2,1);   --dur-micro:.25s;
  --ease-move:cubic-bezier(.65,0,.35,1);  --dur-move:.45s;
  --ease-enter:cubic-bezier(.22,1,.36,1); --dur-enter:.8s;

  --radius:4px; --tap:48px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);letter-spacing:var(--ls-body);
  word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--fg)}
h1,h2,h3,h4{font-family:var(--font-head);line-height:var(--lh-head);letter-spacing:var(--ls-head);font-weight:700;margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit}
.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}
.read{max-width:var(--read)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@view-transition{navigation:auto}
