/* 포가 디자인 시스템 토큰 — brand/design-system/tokens.css를 옮긴 것.
   차이: 글꼴을 Google Fonts 대신 직접 호스팅한다(KS X 1001 한글 2,350자 + 기본 문장부호로 줄인 파일).
   값을 바꿀 때는 brand/design-system/project/tokens.json → tokens.css → 이 파일 순서로 맞춘다. */

@font-face {
  font-family: "Gowun Batang";
  src: url("/fonts/GowunBatang-Regular.subset.53ca0fefd2.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gowun Batang";
  src: url("/fonts/GowunBatang-Bold.subset.75b73736b8.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard Variable";
  src: url("/fonts/PretendardVariable.subset.4f71fc71f0.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

/* 로고 파일이 검정 한 색뿐이라(어두운 바탕에 쓰지 않음) 사이트는 밝은 화면으로 고정한다.
   어두운 값은 디자인 시스템에 그대로 있으니, 밝은 로고가 생기면 tokens.css의 어두운 블록을 다시 붙인다. */
:root {
  --paper: #f7f2ec;
  --kraft: #eae5cf;
  --ink: #3c3c36;
  --ink-muted: #67635a;
  --clay: #a26c54;
  --ember: #8a3a10;
  --on-ember: #f7f2ec;
  --line: #d8cfc2;
  color-scheme: light;

  /* 에디션 바탕 (시안, Leo 확인 전). Patike처럼 '밝은 바탕 + 같은 계열의 제품' 한 쌍.
     시그니처: 선물상자(디자이너스칼라 X55 색지)를 사진에서 뽑은 근삿값 #A14423을 paper와 섞은 옅은 주황.
     슬리브: 슬리브 종이색 kraft. 새 에디션(후추맛 등)은 여기에 한 줄씩 더한다. */
  --edition-signature: #e6cbbd;
  --edition-sleeve: #eae5cf;
  --edition-pepper: #dcd9d1; /* 먹빛 회색: 진한 맛 (시안, 자사몰과 같은 값) */
  --edition-tasting: #e9dccd; /* 흙빛 베이지: 여러 맛 세트 (시안) */

  /* 한지 질감: 닥 섬유·두께 얼룩·잔결을 그린 768px 타일(tools/hanji.py로 만든다). 바탕색 위에 얹는다 */
  --hanji: url("/img/hanji.2eacc3e55b.webp") repeat 0 0 / 768px 768px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-pill: 999px;

  --font-serif: "Gowun Batang", "Nanum Myeongjo", "AppleMyungjo", serif;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", system-ui, sans-serif;

  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-reveal: 700ms;
  --dur-press: 300ms;
}

.display  { font-family: var(--font-serif); font-size: 72px; line-height: 1.05; font-weight: 400; letter-spacing: 0.12em; }
.headline { font-family: var(--font-serif); font-size: 40px; line-height: 1.25; font-weight: 400; }
.title    { font-family: var(--font-serif); font-size: 22px; line-height: 1.45; font-weight: 700; }
.story    { font-family: var(--font-serif); font-size: 17px; line-height: 1.9;  font-weight: 400; }
.body     { font-family: var(--font-sans);  font-size: 15px; line-height: 1.7;  font-weight: 400; }
.price    { font-family: var(--font-sans);  font-size: 20px; line-height: 1.3;  font-weight: 600; font-variant-numeric: tabular-nums; }
.small    { font-family: var(--font-sans);  font-size: 13px; line-height: 1.6;  font-weight: 400; }
.label    { font-family: var(--font-sans);  font-size: 12px; line-height: 1.4;  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.button   { font-family: var(--font-sans);  font-size: 15px; line-height: 1;    font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  :root { --dur-reveal: 0ms; --dur-press: 0ms; }
}
