/* Gmarket Sans — 웹폰트 임베드 (방문자 PC에 폰트가 없어도 동일하게 보임) */
@font-face {
  font-family: "Gmarket Sans";
  src: url("fonts/GmarketSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gmarket Sans";
  src: url("fonts/GmarketSans-Medium.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gmarket Sans";
  src: url("fonts/GmarketSans-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* KoPubWorld 돋움 — 본문 폰트 (한글·영문·사용 한자만 서브셋) */
@font-face {
  font-family: "KoPubWorld Dotum";
  src: url("fonts/KoPubWorldDotum-Medium.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KoPubWorld Dotum";
  src: url("fonts/KoPubWorldDotum-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  /* ground */
  --canvas: #f7f6f3;
  --cream: #efece5;
  --mat: #eae6dd;
  --mat-deep: #e4dfd4;
  --ink: #1b1a17;
  --charcoal: #3d3931;
  --steel: #6b665d;
  --stone: #6f695f;
  --mute: #7a746a;
  --rule: #ded8cc;
  --rule-deep: #d6cfc2;
  --dark: #1b1a17;
  --on-dark: #f3f1ec;
  --on-dark-dim: #cdc6b8;
  --on-dark-mute: #a8a193;
  --accent: #b68235;
  --accent-soft: #e3a276;
  --logo: #352821;

  /* type */
  --font-body: "KoPubWorld Dotum", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-head: "Gmarket Sans", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;

  --t-hero: clamp(40px, 5.4vw, 76px);
  --t-h2: clamp(28px, 3.2vw, 42px);
  --t-h3: 25px;
  --t-figure: 44px;
  --t-lede: 19px;
  --t-body: 16px;
  --t-sm: 15px;
  --t-label: 13px;
  --t-micro: 12px;

  /* layout */
  --page-max: 1240px;
  --gutter: 48px;
  --section-gap: 54px;
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-gap: 36px; --t-figure: 34px; --t-h3: 21px; }
}
