/* =========================================================
   더샵음악학원 — base.css : 토큰 · 리셋 · 타이포 · 유틸
   모바일 우선(min-width). 접두사 ts- = 그누보드 기본 클래스와 충돌 방지
   ========================================================= */
:root {
  /* 브랜드 (시안 근사값 — 스포이트 추출 후 확정) */
  --c-navy: #1b2e5c;
  --c-navy-deep: #13234a;
  --c-navy-soft: #2a4380;
  --c-ink: #1f2a44;
  --c-text: #3d4960;
  --c-muted: #5f6b80;
  --c-line: #e3e9f3;
  --c-bg: #f8faff;
  --c-white: #fff;

  /* 프로그램 카드 파스텔 + 아이콘 원 */
  --c-pink-bg: #fde9ef;   --c-pink: #c23459;
  --c-blue-bg: #e4effc;   --c-blue: #2f68bd;
  --c-purple-bg: #ece7fa; --c-purple: #6f4fc0;
  --c-green-bg: #e1f4ec;  --c-green: #1f7a5a;
  --c-icon-bg: #e8f1fd;   --c-icon: #2f68bd;
  --c-accent: #e95c7b;
  --c-accent-text: #c02f56;

  --font-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --font-en: "Montserrat", "Pretendard Variable", sans-serif;
  --font-script: "Allura", "Great Vibes", cursive;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --shadow-s: 0 4px 14px rgba(27, 46, 92, 0.07);
  --shadow-m: 0 10px 28px rgba(27, 46, 92, 0.1);

  --header-h: 60px;
  --mbar-h: 56px;
  --sec-gap: clamp(48px, 7vw, 96px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font: 400 16px/1.7 var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img, svg, video, audio { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 3px; border-radius: 4px; }
.ts-footer :focus-visible, .on-dark :focus-visible { outline-color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.container--narrow { max-width: 960px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ts-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--c-navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top 0.2s;
}
.ts-skip:focus { top: 12px; }

/* 아이콘 (스프라이트 <use>) */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* 타이포 */
.eyebrow {
  font: 600 11px/1 var(--font-en);
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--c-muted);
  margin-bottom: 12px;
}
.sec-title {
  font: 700 clamp(24px, 3.4vw, 34px)/1.35 var(--font-serif);
  color: var(--c-navy); letter-spacing: -0.01em;
}
.sec-desc { margin-top: 12px; font-size: 15px; color: var(--c-text); }
.script { font-family: var(--font-script); font-weight: 400; line-height: 1.1; }
.is-center { text-align: center; }
.sample-badge {
  display: inline-block; font: 600 11px/1 var(--font-sans); letter-spacing: 0;
  background: #fff4d6; color: #7a5600; border: 1px solid #f1d98c; border-radius: 999px; padding: 4px 8px; vertical-align: middle;
}
