:root {
  /* 터치 · 안전 영역(노치·홈바 — viewport-fit=cover 일 때 값이 생긴다) */
  --tap-min: 44px;
  --tap-gap: 8px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  /* 원본 실측 글자 크기(PC 1440 / 모바일 390) */
  --fs-hero: clamp(36.4px, 2.4vw + 22px, 57.6px);
  --fs-hero-sub: clamp(19px, 0.7vw + 16px, 28px);
  --fs-eyebrow: clamp(16px, 0.1vw + 15.6px, 17px);
  --fs-section: clamp(39.2px, 2.6vw + 29px, 67.2px);
  --fs-who: clamp(30px, 2.5vw + 22px, 57.6px);
  --fs-sub-hero: clamp(44.8px, 2.6vw + 35px, 72px);
  --fs-page-title: clamp(34.7px, 1.4vw + 29px, 49.6px);
  --fs-xl: clamp(24px, 0.8vw + 20.6px, 32px);
  --fs-lg: clamp(18px, 0.2vw + 17.2px, 20px);
  --fs-md: clamp(17px, 0.2vw + 16.2px, 19px);
  --fs-base: 18px;
  --fs-sm: 17px;
  --fs-body: 16px;
  --fs-xs: 14px;
  --fs-caption: 13px;
  /* 원본 실측 여백 */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-60: 60px;
  --space-80: 80px;
  --space-section: clamp(80px, 5vw + 56px, 130px);
  --space-section-end: clamp(80px, 6vw + 60px, 150px);
  --container: 1409px;
  --gutter: 20px;
}

/* 기본 규칙(규칙 B) — :where() 특이도 0 */
:where(html) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 입력칸 16px 이상(iOS 자동 확대 방지) · 높이 44px 이상 */
:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="hidden"], [type="file"], [type="image"]), select, textarea) { font-size: max(16px, 1em); min-height: var(--tap-min); }
:where(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]) { min-height: var(--tap-min); }
:where(.hm-tap) { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap-min); min-height: var(--tap-min); }
:where(a, button, [role="button"], label, summary) { touch-action: manipulation; }
/* 이미지·영상은 칸을 넘지 않는다(비율 유지) */
:where(img, video) { max-width: 100%; height: auto; }
/* 화면 높이 — 100vh 대신(모바일 주소창 대응) */
:where(.hm-full-h) { min-height: 100vh; min-height: 100svh; min-height: 100dvh; }
/* 움직임 줄이기 설정이면 장식 애니메이션 끄기(규칙 B5) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
