/* ---------- 폰트 ---------- */
@font-face { font-family:'Pretendard'; font-weight:400; font-display:swap; src:url('../fonts/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:500; font-display:swap; src:url('../fonts/Pretendard-Medium.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:600; font-display:swap; src:url('../fonts/Pretendard-SemiBold.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:700; font-display:swap; src:url('../fonts/Pretendard-Bold.woff2') format('woff2'); }
@font-face { font-family:'Pretendard'; font-weight:800; font-display:swap; src:url('../fonts/Pretendard-ExtraBold.woff2') format('woff2'); }

/* ---------- 레이아웃 상수 (designs/001 3절) ---------- */
:root{
  --container: 1200px;
  --gutter: 24px;
  --pad: 0px;              /* 브레이크포인트별 좌우 여백 */
  --rhythm: 120px;         /* 섹션 세로 리듬 */
  --header-h: 80px;
  --topbar-h: 0px;         /* GNB B안에서 40px */
  --hero-h: 800px;
  --marquee-h: 320px;
  --copy-h: 420px;
  --radius: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:'Pretendard',-apple-system,'Segoe UI','Malgun Gothic',sans-serif;
  font-weight:400;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  word-break:keep-all;
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul,ol{ margin:0; padding:0; list-style:none; }

.container{ width:100%; max-width:calc(var(--container) + var(--pad) * 2); margin:0 auto; padding-left:var(--pad); padding-right:var(--pad); }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- 섹션 공통 ---------- */
.section{ padding-block:var(--rhythm); }
.section--tint{ background:var(--surface); }

/* 섹션 타이틀 — 중앙 정렬 (시안 계승) */
.sec-head{ text-align:center; margin-bottom:56px; }
.sec-head .eyebrow{
  display:block; font-size:14px; font-weight:700; letter-spacing:.34em;
  color:var(--accent); margin-bottom:14px; text-transform:uppercase;
}
.sec-head .title{
  margin:0; font-size:40px; font-weight:800; letter-spacing:-.02em; line-height:1.25; color:var(--ink);
}
.sec-head .lead{ margin:14px 0 0; font-size:16px; color:var(--ink-60); }

/* 버튼 */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:52px; padding:0 34px; border-radius:999px;
  font-size:15px; font-weight:600; letter-spacing:-.01em;
  background:var(--btn-bg); color:var(--btn-fg);
  transition:filter .2s var(--ease), transform .2s var(--ease);
}
.btn:hover{ filter:brightness(1.08); transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--ink); border:1px solid var(--line); }
.sec-foot{ margin-top:56px; text-align:center; }

/* 카테고리 뱃지 */
.badge{
  display:inline-flex; align-items:center; height:28px; padding:0 12px;
  border-radius:999px; font-size:12px; font-weight:600; letter-spacing:-.01em;
  background:var(--badge-bg); color:var(--badge-fg);
}

/* 16:9 썸네일 */
.thumb{ position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:var(--radius); background:var(--ph-bg); }
.thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.card:hover .thumb img{ transform:scale(1.04); }

/* noimage 플레이스홀더 (자료 미도착 구간 — designs/001 7절) */
.ph{
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:10px;
  background:
    repeating-linear-gradient(135deg, var(--ph-line) 0 1px, transparent 1px 11px),
    var(--ph-bg);
  color:var(--ph-fg);
}
.ph svg{ width:34px; height:34px; opacity:.55; }
.ph span{ font-size:11px; font-weight:600; letter-spacing:.16em; }


:root{--pad:24px;--sub-hero-h:280px;--block-gap:40px}
p,h1,h2,h3{margin-top:0}button,input,select,textarea{font:inherit}button:disabled{cursor:default}
img{height:auto}svg{flex-shrink:0}a,button{touch-action:manipulation}
:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
[hidden]{display:none!important}.hscroll{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.skip-link{position:fixed;top:8px;left:8px;z-index:2000;padding:12px 20px;background:var(--bg);color:var(--ink);transform:translateY(-150%)}.skip-link:focus{transform:none}
.sub{--rhythm:80px}.empty-state{padding:48px 24px;text-align:center;color:var(--ink-60);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
@media(max-width:1024px){:root{--pad:32px;--rhythm:80px;--sub-hero-h:220px;--hero-h:600px;--block-gap:32px}.sub{--rhythm:64px}}
@media(max-width:768px){:root{--pad:20px;--rhythm:56px;--sub-hero-h:160px;--hero-h:480px;--header-h:64px;--block-gap:24px}.sub{--rhythm:48px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
