/* 토큰: 색·글꼴·크기·간격. 값은 docs/리뉴얼-설계.md 7번 표의 hex를 OKLCH로 옮긴 것(next/_work/ui/colors.py로 계산·역변환 확인). */
:root {
  /* 설계 7번 색 */
  --stage: oklch(17.68% 0.007 258.37);        /* #0f1114 영상 배경 */
  --stage-0: oklch(17.68% 0.007 258.37 / 0);  /* 같은 색, 투명. 가림막 끝점 */
  --stage-2: oklch(22.55% 0.0107 260.68);     /* #191c21 */
  --stage-dim: oklch(17.68% 0.007 258.37 / 0.74); /* 무대 색 74%. 드라이어 단면에서 지금 글이 아닌 구간을 누르는 판 */
  --stage-veil: oklch(17.68% 0.007 258.37 / 0.78); /* 무대 색 78%. 홈에서 저절로 뜬 영상 카드 뒤(설계 38번), 뒤의 쪽이 어둡게 비친다 */
  --metal-1: oklch(94.82% 0.0034 247.86);     /* #eceef0 */
  --metal-2: oklch(71.04% 0.0117 256.71);     /* #9da2a9 */
  --metal-3: oklch(42.6% 0.0148 259.82);      /* #4a4f57 */
  --studio: oklch(100% 0 0);                  /* #ffffff 제품 사진 배경과 같아야 한다 */
  --ink: oklch(18.69% 0.0107 268.11);         /* #111318 */
  --ink-2: oklch(47.27% 0.0164 258.37);       /* #565c65 */
  --line: oklch(91.16% 0.0063 255.48);        /* #dfe2e6 */
  --plate: oklch(96.4% 0.0029 264.54);        /* #f2f3f5 홈 라인업 사진 판(설계 19번) */
  --render: oklch(88% 0.006 239.83);          /* #d4d8db 관절형·웨이브 비교 영상 배경: 두 영상 가장자리 8px 띠 평균(관절형 212,215,219 / 웨이브 213,216,220), _work/compare_film_report.json */
  --mdx: oklch(41.48% 0.1321 306.26);         /* #5E3383 로고 원본 */
  --mdx-on-stage: oklch(72% 0.1321 306.26);   /* 같은 색상각, 밝기만 올림. 무대 #0f1114 위 7.3:1 (영상 위 가림막 자리에서도 4.5:1 이상 남도록) */

  /* Hallmark 이름(base.css가 읽는다) = 스튜디오 기준. 무대 구역은 site.css에서 다시 건다 */
  --color-paper: var(--studio); --color-paper-2: var(--line); --color-paper-3: var(--line);
  --color-ink: var(--ink); --color-ink-2: var(--ink-2); --color-muted: var(--ink-2);
  --color-rule: var(--line);
  --color-accent: var(--mdx); --color-accent-ink: var(--studio); --color-focus: var(--mdx);

  /* 글꼴: 영문·숫자·모델 이름 큰 글자 = Barlow Condensed 600, 국문 전부·영문 본문 = Pretendard */
  --font-display: "Barlow Condensed", "Pretendard", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Pretendard", ui-sans-serif, system-ui, sans-serif;
  --font-body-ko: "Pretendard", ui-sans-serif, system-ui, sans-serif;   /* 영문 틀 안의 국문 묶음(404.html 한 파일에 영·국) */
  --font-outlier: var(--font-body);
  --w-strong: 600;  /* 강조 굵기. 영문(Barlow)은 600 원본이 없어 500 (site.css html[lang="en"]) */

  /* 크기 6단계: 14 / 17 / 22 / 34 / 56 / 96px. 폰은 96→52, 56→36, 34→26 */
  --text-xs: 0.875rem; --text-sm: 0.875rem; --text-md: 1.0625rem; --text-lg: 1.375rem;
  --text-xl: 2.125rem; --text-2xl: 3.5rem; --text-3xl: 6rem;
  --text-display: 6rem; --text-display-s: 3.5rem; --text-section: 3.5rem; --text-title: 2.125rem; --text-lead: 1.375rem;

  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-cross: 300ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);

  /* 본문 최대 1200px, 가운데 */
  --measure: 1200px; --gutter: 40px; --container: calc(var(--measure) + 2 * var(--gutter));
  --gap-columns: 40px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --nav-h: 72px; --control-h: 52px; --control-h-s: 44px;
  /* 붙는 무대(ANY AIR 2 공기 경로)의 최소 높이. 화면 높이가 이것 + --nav-h(= 672px = 42rem)보다 낮으면 폭이 넓어도 쌓는 배치(site.js stageOff, site.css 드라이어 단면 @media 와 같은 기준) */
  --stage-min-h: 600px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --radius-card: 2px; --radius-input: 2px; --radius-pill: 2px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.01em;
}
@media (max-width: 40rem) {
  :root { --text-3xl: 3.25rem; --text-display: 3.25rem; --text-2xl: 2.25rem; --text-display-s: 2.25rem; --text-section: 2.25rem; --text-xl: 1.625rem; --text-title: 1.625rem; }
}
