/* =========================================================================
 * hoan-design-system.css — 세무법인 호안 디자인 시스템 (단일 진실 소스)
 * -------------------------------------------------------------------------
 * 출처: _shared/호안_통합지침_v2.md §4 (마스터 단일 소스)
 * 배포: 서버 루트 /assets/css/hoan-design-system.css
 * 참조: 정적 홈페이지 + WordPress(/insights/) 글상세 — ★공동 단일 소스★
 *
 * ★편집 규칙★ 토큰 값 변경은 통합지침 §4 → 본 파일 한 곳에서만.
 *            프로젝트(자식테마/정적)는 이 파일을 enqueue만 하고 :root 재정의 금지.
 *
 * 구성: ① 토큰(:root)  ② @font-face(v8 교체 셋)
 * ===================================================================== */

:root {
	/* ── 브랜드 3컬러 (통합지침 §4 — 이 3계열만) ── */
	--blue: #1E50A2;
	--blue-dark: #143E80;
	--blue-deep: #0A2754;
	--gold: #B8893D;        /* 골드 어두운톤 */
	--gold-light: #EAC97E;  /* 골드 밝은톤 (확정) — #D4A659 폐기 */
	--black: #0F0F0F;

	/* ── 중립 스케일 (그레이) ──
	   본문/메타/보더 등 구조 중립색. v8 표준 스케일 + 승격분(구 약식토큰). */
	--ink: #2A2A2A;       /* 본문 텍스트 */
	--ink-2: #4A4A4A;     /* 보조 텍스트 */
	--meta: #767676;      /* 메타·캡션 — WCAG AA(4.5:1) 대비 확보용 darken(구 #888888) */
	--mute: #C0C0C0;      /* 약한 텍스트·랭크·비활성 점 (승격: 구 --cc0) */
	--border: #ECECEC;    /* 기본 헤어라인 */
	--border-2: #F0F0F0;  /* 연한 헤어라인 (승격: 구 --cf0) */
	--line-2: #D9D9D9;    /* 폼 인풋 보더 (승격: 구 하드코딩 #D9D9D9) */
	--white: #FFFFFF;
	--paper: #FAFAFA;     /* 옅은 배경면 */
	--gray-bg: #F5F5F5;

	/* ── 틴트 (3박스·표 hover 배경) ──
	   브랜드색의 옅은 면. 액센트 아님 — 박스 배경 전용. */
	--gold-tint: #FFFAF0;     /* 주의 박스(call--warn) 배경 */
	--blue-tint: #F5F8FF;     /* 법령 박스(call--law) 배경·표 hover */
	--gold-light-2: #E6BC78;  /* gold-light hover */

	/* ── 라운드 (통합지침 §4 — 이 둘만; 3·4·14px 하드코딩 금지) ── */
	--r: 8px;
	--r-lg: 12px;

	/* ── 보더·그림자 (1px 단일 / 그림자 최소) ── */
	--border-w: 1px;
	--shadow-sm: 0 1px 3px rgba(15, 15, 15, .05);

	/* ── 레이아웃 ── */
	--maxw: 1200px;

	/* ── 폰트 (조선일보명조 / Pretendard / JetBrains Mono) ── */
	--serif: "ChosunIlboMyungjo", "Noto Serif KR", serif;
	--chosun: "ChosunIlboMyungjo", "Noto Serif KR", serif;
	--sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	--mono: "JetBrains Mono", "Pretendard", ui-monospace, monospace;
}

/* =========================================================================
 * ② @font-face — v8 교체 셋 (단일 소스: 폰트도 여기 한 곳에서만 선언)
 *    정적 Pretendard 3 + JBM 2(weight 레인지 보존) + 조선일보명조 1.
 *    파일 단일 소스 = 서버 루트 /assets/fonts/. 구 셋(Variable·JBM 4분할) 폐기.
 *    ★드리프트 방지★ 정적·WP가 동일 @font-face를 이 파일에서 공유.
 * ===================================================================== */
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/Pretendard-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/Pretendard-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/Pretendard-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "ChosunIlboMyungjo"; src: url("/assets/fonts/ChosunIlboMyungjo.woff") format("woff"); font-weight: normal; font-style: normal; font-display: swap; }
