/* 굿덕 랜딩 스타일.
   기준: Claude Design의 '굿덕' 디자인 시스템(https://claude.ai/artifact/FFLZ2YtvdRitDTPMTqsYK1).
   tokens·components 두 덩어리는 scripts/sync_design.py가 디자인 시스템에서 옮겨 오므로 직접 고치지 않는다.
   사이트에만 있는 배치는 맨 아래 '사이트' 구역에 토큰으로만 쓴다. */
@import url("assets/fonts/pretendard.css");

/* tokens:start */
/* 디자인 시스템 tokens.json에서 scripts/sync_design.py가 옮긴 값. 여기서 직접 고치지 않는다. */
:root {
  --lime: #DCFD52;
  --bg: #FFFFFF;
  --surface: #F7F7F7;
  --card: #FFFFFF;
  --line: #F0F0F0;
  --text: #2F2F2F;
  --text-muted: #707070;
  --text-faint: #CBCBCB;
  --action: #2F2F2F;
  --on-action: #FFFFFF;
  --inverse: #000000;
  --inverse-raised: #1F1F1F;
  --on-inverse: #FFFFFF;
  --on-inverse-muted: rgba(255,255,255,0.6);
  --on-inverse-line: rgba(255,255,255,0.25);
  --on-inverse-fill: rgba(255,255,255,0.08);
  --deco: #7D7D7D;
  --star: #FF9900;
  --glass: rgba(255,255,255,0.86);
  --glass-inverse: rgba(0,0,0,0.88);
  --scrim: rgba(0,0,0,0.5);
  --focus: #2F2F2F;
  --focus-on-inverse: #DCFD52;
  --shadow-float: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-device: 0 24px 64px rgba(0,0,0,0.12);
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-160: 160px;
  --content-max: 1440px;
  --radius-6: 6px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-40: 40px;
  --radius-full: 9999px;
  --t-display: clamp(40px, 26.41px + 3.625vw, 96px);
  --t-heading-1: clamp(32px, 24.23px + 2.071vw, 64px);
  --t-metric: clamp(32px, 26.17px + 1.553vw, 56px);
  --t-heading-2: clamp(26px, 22.60px + 0.906vw, 40px);
  --t-heading-3: clamp(20px, 17.09px + 0.777vw, 32px);
  --t-body-large: clamp(17px, 14.33px + 0.712vw, 28px);
  --t-tab: clamp(17px, 14.33px + 0.712vw, 28px);
  --t-artist-name: clamp(15px, 12.33px + 0.712vw, 26px);
  --t-body: clamp(15px, 12.82px + 0.583vw, 24px);
  --t-label: clamp(15px, 12.82px + 0.583vw, 24px);
  --t-nav: clamp(16px, 15.03px + 0.259vw, 20px);
  --t-caption: clamp(13px, 11.79px + 0.324vw, 18px);
  --section-y: clamp(80px, 60.58px + 5.178vw, 160px);
  --stack-title: clamp(32px, 24.23px + 2.071vw, 64px);
  --gutter: clamp(20px, 10.91px + 2.424vw, 40px);
  --header-h: clamp(64px, 56.23px + 2.071vw, 96px);
  --card-pad: clamp(24px, 20.12px + 1.036vw, 40px);
  --grid-gap: clamp(16px, 10.17px + 1.553vw, 40px);
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lime: #DCFD52;
    --bg: #0B0B0B;
    --surface: #151515;
    --card: #1C1C1C;
    --line: #2A2A2A;
    --text: #F2F2F2;
    --text-muted: #A3A3A3;
    --text-faint: #4A4A4A;
    --action: #F2F2F2;
    --on-action: #111111;
    --inverse: #000000;
    --inverse-raised: #1F1F1F;
    --on-inverse: #FFFFFF;
    --on-inverse-muted: rgba(255,255,255,0.6);
    --on-inverse-line: rgba(255,255,255,0.25);
    --on-inverse-fill: rgba(255,255,255,0.08);
    --deco: #7D7D7D;
    --star: #FF9900;
    --glass: rgba(11,11,11,0.82);
    --glass-inverse: rgba(0,0,0,0.88);
    --scrim: rgba(0,0,0,0.6);
    --focus: #DCFD52;
    --focus-on-inverse: #DCFD52;
    --shadow-float: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-device: 0 24px 64px rgba(0,0,0,0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --lime: #DCFD52;
  --bg: #0B0B0B;
  --surface: #151515;
  --card: #1C1C1C;
  --line: #2A2A2A;
  --text: #F2F2F2;
  --text-muted: #A3A3A3;
  --text-faint: #4A4A4A;
  --action: #F2F2F2;
  --on-action: #111111;
  --inverse: #000000;
  --inverse-raised: #1F1F1F;
  --on-inverse: #FFFFFF;
  --on-inverse-muted: rgba(255,255,255,0.6);
  --on-inverse-line: rgba(255,255,255,0.25);
  --on-inverse-fill: rgba(255,255,255,0.08);
  --deco: #7D7D7D;
  --star: #FF9900;
  --glass: rgba(11,11,11,0.82);
  --glass-inverse: rgba(0,0,0,0.88);
  --scrim: rgba(0,0,0,0.6);
  --focus: #DCFD52;
  --focus-on-inverse: #DCFD52;
  --shadow-float: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-device: 0 24px 64px rgba(0,0,0,0.6);
  color-scheme: dark;
}
/* tokens:end */

/* components:start */
/* 디자인 시스템 components/bundle.css 그대로. 여기서 직접 고치지 않는다. */
/* 굿덕 구성 요소 스타일. 값은 tokens.css 변수만 쓴다. 기준 폭: 768px(bp-md), 1200px(bp-lg). */

/* 바탕 */
.gd-root, body.gd-page { background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
/* 일본어: 한자·가나는 일본어 글꼴로(Pretendard에 없음), 낱말 사이 띄어쓰기가 없으니 keep-all 대신 구절 단위 줄바꿈 */
:lang(ja) { --font-sans: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; }
.gd-root:lang(ja), body.gd-page:lang(ja) { word-break: normal; line-break: strict; }
@supports (word-break: auto-phrase) { .gd-root:lang(ja), body.gd-page:lang(ja) { word-break: auto-phrase; } }
.gd-root *, .gd-root *::before, .gd-root *::after { box-sizing: border-box; }
.gd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gd-muted { color: var(--text-muted); }
.gd-wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.gd-section { padding-block: var(--section-y); }
.gd-section--surface { background: var(--surface); }
.gd-stack { display: flex; flex-direction: column; gap: var(--stack-title); }
.gd-icon { display: block; flex: none; }
.gd-br-md { display: none; }
@media (min-width: 768px) { .gd-br-md { display: inline; } .gd-br-sp { display: none; } }
.gd-rot-90 { transform: rotate(90deg); }
.gd-rot-270 { transform: rotate(-90deg); }

/* 반응형 글자 */
.gd-t-display, .gd-t-heading-1, .gd-t-metric, .gd-t-heading-2, .gd-t-heading-3, .gd-t-body-large, .gd-t-tab, .gd-t-artist-name, .gd-t-body, .gd-t-label, .gd-t-nav, .gd-t-caption { font-family: var(--font-sans); margin: 0; }
.gd-t-display { font-size: var(--t-display); line-height: 1.1875; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.gd-t-heading-1 { font-size: var(--t-heading-1); line-height: 1.3125; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.gd-t-metric { font-size: var(--t-metric); line-height: 1.2143; font-weight: 700; font-variant-numeric: tabular-nums; }
.gd-t-heading-2 { font-size: var(--t-heading-2); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.gd-t-heading-3 { font-size: var(--t-heading-3); line-height: 1.375; font-weight: 700; letter-spacing: -0.02em; }
.gd-t-body-large { font-size: var(--t-body-large); line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; }
.gd-t-tab { font-size: var(--t-tab); line-height: 1.4286; font-weight: 700; letter-spacing: -0.01em; }
.gd-t-artist-name { font-size: var(--t-artist-name); line-height: 1.3846; font-weight: 500; }
.gd-t-body { font-size: var(--t-body); line-height: 1.4167; font-weight: 400; }
.gd-t-label { font-size: var(--t-label); line-height: 1.4167; font-weight: 700; }
.gd-t-nav { font-size: var(--t-nav); line-height: 1.4; font-weight: 400; }
.gd-t-caption { font-size: var(--t-caption); line-height: 1.4444; font-weight: 400; letter-spacing: -0.01em; }

/* 포커스 */
.gd-root :focus-visible, :where([class*="gd-"]):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-6); }
.gd-hero :focus-visible, .gd-footer :focus-visible, .gd-header--dark :focus-visible { outline-color: var(--focus-on-inverse); }

/* 로고 */
.gd-logo { display: inline-flex; align-items: center; gap: var(--space-12); color: var(--text); text-decoration: none; }
.gd-logo--dark { color: var(--on-inverse); }
.gd-logo__icon { width: clamp(32px, 2.08vw + 24px, 40px); height: auto; aspect-ratio: 1; border-radius: 21.4%; }
.gd-logo__symbol { width: clamp(28px, 1.6vw + 22px, 36px); height: auto; aspect-ratio: 36.04 / 33.9; }
.gd-logo__word { width: clamp(132px, 3.88vw + 117px, 192px); height: auto; aspect-ratio: 192 / 24.95; }

/* 머리글 */
.gd-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; color: var(--text); transition: background-color .2s ease, box-shadow .2s ease; }
.gd-header--dark { color: var(--on-inverse); }
.gd-header--overlay { position: fixed; left: 0; right: 0; top: 0; padding-top: env(safe-area-inset-top, 0px); }
.gd-header.is-solid { background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-float); }
.gd-header--dark.is-solid { background: var(--glass-inverse); box-shadow: none; }
.gd-header__bar { display: flex; align-items: center; gap: var(--space-24); height: var(--header-h); max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.gd-header__logo { flex: none; }
.gd-header--dark .gd-logo { color: var(--on-inverse); }
.gd-header__nav { display: none; flex: 1; }
.gd-header__links { display: flex; gap: clamp(32px, 4vw, 64px); list-style: none; margin: 0; padding: 0; }
.gd-header__links a, .gd-sheet__links a { color: inherit; text-decoration: none; font-size: var(--t-nav); line-height: 1.4; font-weight: 400; padding-block: var(--space-12); display: inline-block; }
.gd-header__links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gd-header__links a[aria-current="page"], .gd-sheet__links a[aria-current="page"] { font-weight: 700; }
.gd-header .gd-header__lang { margin-left: auto; }
.gd-header__toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--radius-12); }
.gd-burger { position: relative; width: 22px; height: 14px; display: block; }
.gd-burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.gd-burger span:first-child { top: 2px; }
.gd-burger span:last-child { top: 10px; }
.gd-header.is-open .gd-burger span:first-child { top: 6px; transform: rotate(45deg); }
.gd-header.is-open .gd-burger span:last-child { top: 6px; transform: rotate(-45deg); }
.gd-header__sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); color: var(--text); box-shadow: var(--shadow-float); padding: var(--space-16) max(var(--gutter), env(safe-area-inset-right, 0px)) var(--space-32) max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: var(--space-24); border-top: 1px solid var(--line); }
.gd-header__sheet[hidden] { display: none; }
.gd-sheet__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gd-sheet__links a { font-size: var(--t-heading-3); font-weight: 700; padding-block: var(--space-12); }
.gd-sheet__links a:not([aria-current="page"]) { font-weight: 500; }
@media (min-width: 768px) {
  .gd-header__nav { display: flex; }
  .gd-header__nav { justify-content: center; }
  .gd-header__toggle, .gd-header__sheet { display: none !important; }
}
@media (min-width: 1200px) { .gd-header__nav { justify-content: flex-start; padding-left: clamp(0px, 9vw - 40px, 144px); } }

/* 언어 선택 */
.gd-lang { position: relative; display: inline-flex; align-items: center; color: inherit; }
.gd-lang__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius-full); background: none; color: inherit; cursor: pointer; }
.gd-lang__btn:hover, .gd-lang.is-open .gd-lang__btn { border-color: var(--line); }
.gd-lang--dark .gd-lang__btn:hover, .gd-lang--dark.is-open .gd-lang__btn { border-color: var(--on-inverse-line); }
.gd-lang__menu { position: absolute; top: calc(100% + var(--space-8)); right: 0; z-index: 60; min-width: 168px; list-style: none; margin: 0; padding: var(--space-8); background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-16); box-shadow: var(--shadow-float); }
.gd-lang__menu[hidden] { display: none; }
.gd-lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding: var(--space-12) var(--space-12); border-radius: var(--radius-12); color: inherit; text-decoration: none; font-size: var(--t-nav); line-height: 1.4; }
.gd-lang__menu a:hover { background: var(--surface); }
.gd-lang__menu a[aria-current] { font-weight: 700; }
.gd-lang__menu :focus-visible { outline-color: var(--focus); }

/* 스토어 버튼 */
.gd-stores { display: flex; flex-wrap: wrap; gap: var(--space-16); }
.gd-stores--center { justify-content: center; }
.gd-store { display: inline-flex; align-items: center; justify-content: center; gap: 12.8px; text-decoration: none; font-family: var(--font-sans); font-weight: 700; white-space: nowrap; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.gd-store--lg { height: clamp(56px, 2.39vw + 47px, 92.8px); min-width: clamp(164px, 5.75vw + 142px, 252.8px); padding-inline: var(--space-24); border-radius: clamp(12px, .26vw + 11px, 16px); font-size: var(--t-label); }
.gd-store--md { height: 52px; min-width: 156px; padding-inline: var(--space-16); border-radius: var(--radius-12); font-size: 16px; }
.gd-store__icon { width: auto; height: 1.3em; }
.gd-store--filled { background: var(--action); color: var(--on-action); }
.gd-store--filled:hover { transform: translateY(-2px); }
.gd-store--on-dark { background: var(--on-inverse-fill); color: var(--on-inverse); border-color: var(--on-inverse-line); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gd-store--on-dark:hover { background: var(--on-inverse-line); }
.gd-store--outline { background: transparent; color: var(--text); border-color: var(--text-faint); }
.gd-store--outline:hover { border-color: var(--text); }
.gd-store:not([href]) { cursor: default; }

/* 섹션 제목 */
.gd-heading { display: flex; flex-direction: column; gap: var(--space-24); }
.gd-heading--center { align-items: center; text-align: center; }
.gd-heading__title { margin: 0; color: var(--text); }
.gd-heading--dark .gd-heading__title { color: var(--on-inverse); }
.gd-heading__desc { margin: 0; color: var(--text-muted); max-width: 40ch; }
.gd-heading__eyebrow { margin: 0; font-size: var(--t-label); font-weight: 700; color: var(--text-muted); }

/* 기능 타일 */
.gd-tiles { display: grid; grid-template-columns: 1fr; gap: var(--space-16); }
@media (min-width: 360px) { .gd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gd-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); } }
.gd-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-16); padding: var(--card-pad); display: flex; flex-direction: column; gap: clamp(16px, 1vw + 12px, 32px); min-width: 0; }
@media (min-width: 768px) { .gd-tile { border-radius: var(--radius-24); } }
.gd-tile__icon { width: clamp(56px, 1.55vw + 50px, 80px); aspect-ratio: 1; border-radius: var(--radius-full); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.gd-tile__icon .gd-icon { width: 50%; height: 50%; }
.gd-tile__text { display: flex; flex-direction: column; gap: var(--space-12); }
.gd-tile h3 { color: var(--text); }

/* 아티스트 */
.gd-avatar { margin: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(12px, .78vw + 9px, 24px); color: var(--text); text-decoration: none; text-align: center; min-width: 0; }
.gd-avatar__photo { display: block; width: 100%; aspect-ratio: 1; border-radius: var(--radius-full); overflow: hidden; background: var(--surface); }
.gd-avatar__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.gd-avatar--md { width: clamp(104px, 4.66vw + 87px, 176px); }
.gd-avatar--lg { width: 100%; max-width: 256px; }
.gd-avatar__empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text-faint); }
.gd-avatar__empty svg { width: 34%; height: auto; opacity: .5; filter: grayscale(1); }
.gd-avatar__name { max-width: 100%; overflow-wrap: anywhere; }
a.gd-avatar:hover .gd-avatar__photo img { transform: scale(1.04); }
.gd-avatar__photo img { transition: transform .3s ease; }
.gd-artist-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); justify-items: center; }
@media (min-width: 560px) { .gd-artist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .gd-artist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gd-artist-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gd-artist-grid > li { width: 100%; display: flex; justify-content: center; }

/* 흐르는 띠 */
.gd-marquee { position: relative; overflow: hidden; }
.gd-marquee__track { display: flex; width: max-content; animation: gd-marquee var(--gd-marquee-dur, 40s) linear infinite; }
.gd-marquee--reverse .gd-marquee__track { animation-direction: reverse; }
.gd-marquee:hover .gd-marquee__track, .gd-marquee:focus-within .gd-marquee__track, .gd-marquee.is-paused .gd-marquee__track { animation-play-state: paused; }
.gd-marquee__row { display: flex; gap: var(--grid-gap); list-style: none; margin: 0; padding: 0 calc(var(--grid-gap) / 2); }
.gd-marquee__row > li { flex: none; }
.gd-marquee.is-still { overflow-x: auto; scrollbar-width: thin; }
.gd-marquee.is-still .gd-marquee__track { animation: none; padding-inline: var(--gutter); }
.gd-marquee__toggle { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 0; font: inherit; font-size: 13px; color: var(--text-muted); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-full); padding: 4px 12px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.gd-marquee:hover .gd-marquee__toggle, .gd-marquee__toggle:focus-visible, .gd-marquee.is-paused .gd-marquee__toggle { opacity: 1; }
@keyframes gd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 첫 화면 */
.gd-hero { position: relative; overflow: hidden; background: var(--inverse); color: var(--on-inverse); padding-top: var(--header-h); }
.gd-hero__inner { position: relative; display: grid; gap: var(--space-40); max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-64) max(var(--gutter), env(safe-area-inset-right, 0px)) var(--space-64) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.gd-hero__text { display: flex; flex-direction: column; gap: clamp(20px, 1.3vw + 15px, 40px); align-items: flex-start; position: relative; z-index: 1; }
.gd-hero__text h1 { color: var(--on-inverse); }
.gd-hero__desc { color: var(--on-inverse-muted); margin: 0; }
.gd-hero__media { position: relative; min-height: 360px; margin-inline: calc(-1 * var(--gutter)); }
.gd-hero__deco { position: absolute; inset: 0; pointer-events: none; color: var(--deco); }
.gd-deco { position: absolute; height: auto; }
.gd-deco--spark { width: clamp(220px, 31vw, 600px); left: -9%; top: -16%; }
.gd-deco--heart { width: clamp(280px, 36vw, 690px); left: -9%; bottom: -24%; }
.gd-deco--curve { width: clamp(200px, 23vw, 440px); left: 35%; bottom: -21%; }
@media (min-width: 1200px) {
  .gd-hero { min-height: clamp(640px, 56.25vw, 1080px); }
  .gd-hero__inner { grid-template-columns: minmax(0, 740fr) minmax(0, 700fr); align-items: center; min-height: inherit; padding-block: 0; }
  .gd-hero__media { position: absolute; top: 0; bottom: 0; right: 0; width: 50vw; min-height: 0; margin: 0; }
  .gd-hero--media .gd-hero__inner { grid-template-columns: minmax(0, 740fr) minmax(0, 700fr); }
}

/* 아티스트 사진 벽 */
.gd-wall { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.gd-wall__tilt { position: absolute; left: 6%; top: -30%; width: 120%; height: 160%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 24px); transform: rotate(-16deg); }
.gd-wall__col { display: flex; flex-direction: column; gap: clamp(12px, 1.2vw, 24px); animation: gd-wall 60s linear infinite; }
.gd-wall__col:nth-child(2) { animation-direction: reverse; margin-top: -12%; }
.gd-wall__card { margin: 0; background: var(--inverse-raised); border-radius: var(--radius-16); padding: 6% 6% 0; box-shadow: var(--shadow-device); }
.gd-wall__card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-12); }
.gd-wall__card figcaption { font-size: clamp(11px, .4vw + 8px, 16px); font-weight: 500; color: var(--on-inverse-muted); padding: .7em 0; }
@keyframes gd-wall { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* 캐러셀 */
.gd-carousel { position: relative; display: flex; flex-direction: column; gap: var(--space-24); }
.gd-carousel__track { list-style: none; margin: 0; padding: 0 0 var(--space-8); display: grid; grid-auto-flow: column; grid-auto-columns: min(620px, 82%); column-gap: clamp(16px, 1vw + 12px, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.gd-carousel__track::-webkit-scrollbar { display: none; }
.gd-carousel__item { scroll-snap-align: start; min-width: 0; display: flex; }
.gd-carousel__item > * { flex: 1; }
.gd-carousel__nav { display: flex; gap: var(--space-12); justify-content: flex-end; padding-right: var(--gutter); }
.gd-round { width: 48px; height: 48px; border-radius: var(--radius-full); border: 0; background: var(--action); color: var(--on-action); display: grid; place-items: center; cursor: pointer; }
.gd-round:disabled { background: var(--surface); color: var(--text-faint); cursor: default; }
@media (min-width: 768px) { .gd-carousel__track { grid-auto-columns: min(620px, 44%); } }
@media (min-width: 1200px) { .gd-carousel__track { grid-auto-columns: min(620px, 35%); } }

/* 가치 카드 */
.gd-value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-16); overflow: hidden; display: flex; flex-direction: column; min-width: 0; aspect-ratio: 620 / 660; }
@media (min-width: 768px) { .gd-value { border-radius: var(--radius-24); } }
.gd-value__text { padding: var(--card-pad) var(--card-pad) 0; display: flex; flex-direction: column; gap: var(--space-8); text-align: center; }
.gd-value__text h3 { color: var(--text); }
.gd-value__media { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: var(--space-32); overflow: hidden; }
.gd-device { display: block; width: 60%; max-width: 360px; height: auto; border-radius: clamp(20px, 1.6vw + 14px, 40px); border: 6px solid var(--card); outline: 1px solid var(--line); box-shadow: var(--shadow-device); }

/* 숫자 */
.gd-metrics { display: flex; justify-content: center; align-items: stretch; margin: 0; gap: 0; }
.gd-metric { display: flex; flex-direction: column-reverse; align-items: center; padding-inline: clamp(24px, 4vw, 96px); text-align: center; }
.gd-metric + .gd-metric { border-left: 1px solid var(--line); }
.gd-metric dd { margin: 0; color: var(--text); }

/* 별점·리뷰 */
.gd-stars { display: inline-flex; gap: var(--space-8); color: var(--star); }
.gd-stars .gd-icon { width: clamp(20px, .78vw + 17px, 32px); height: auto; }
.gd-review { margin: 0; width: clamp(280px, 20vw + 205px, 600px); min-height: clamp(220px, 11.6vw + 176px, 400px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-16); padding: clamp(20px, .78vw + 17px, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-24); }
@media (min-width: 768px) { .gd-review { border-radius: var(--radius-24); } }
.gd-review__text { margin: 0; color: var(--text); flex: 1; display: flex; align-items: center; }
.gd-review__text p { margin: 0; }

/* 교차 섹션(APP) */
.gd-split { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--bg); }
.gd-split__text { display: flex; flex-direction: column; gap: var(--space-24); justify-content: center; padding: var(--section-y) var(--gutter) var(--space-40); }
.gd-split__text h2 { color: var(--text); }
.gd-split__text p { margin: 0; }
.gd-split__eyebrow { margin: 0; color: var(--text-muted); }
.gd-split__media { background: var(--surface); border-radius: var(--radius-24); margin-inline: var(--gutter); display: flex; justify-content: center; align-items: center; padding: var(--space-48) var(--space-24); overflow: hidden; min-width: 0; }
.gd-split__media .gd-device { width: min(72%, 380px); }
@media (min-width: 1200px) {
  .gd-split { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--section-y) 64px; }
  .gd-split__text { padding: 0 clamp(48px, 13.33vw - 80px, 176px); }
  .gd-split__media { margin: 0; min-height: clamp(640px, 45vw, 860px); border-radius: var(--radius-40); padding: var(--space-64); }
  .gd-split--reverse .gd-split__text { order: 2; }
}

/* 탭 */
.gd-tabs { display: flex; flex-direction: column; gap: var(--space-40); align-items: center; }
.gd-tabs__list { display: flex; gap: var(--space-8); padding: var(--space-8); background: var(--surface); border-radius: var(--radius-full); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.gd-tab { border: 0; background: transparent; color: var(--text-muted); font-family: var(--font-sans); padding: var(--space-8) clamp(16px, 1.3vw + 11px, 32px); border-radius: var(--radius-full); cursor: pointer; white-space: nowrap; }
.gd-tab[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: var(--shadow-float); }
.gd-tabs__panel { width: 100%; max-width: 720px; }
.gd-tabs__panel:focus-visible { outline-offset: 8px; }

/* 다운로드 권유 */
.gd-cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-24); text-align: center; padding-block: var(--section-y); padding-inline: var(--gutter); }
.gd-cta__icon { width: clamp(64px, 1vw + 60px, 80px); height: auto; border-radius: 21.4%; }
.gd-cta h2 { color: var(--text); }
.gd-cta .gd-stores { margin-top: var(--space-16); }

/* 바닥글 */
.gd-footer { position: relative; overflow: hidden; background: var(--inverse); color: var(--on-inverse); border-top: 1px solid var(--line); }
.gd-footer__deco { position: absolute; inset: 0; pointer-events: none; color: var(--deco); }
.gd-deco--f-curve { width: clamp(180px, 21vw, 400px); left: -10.5%; top: 23%; }
.gd-deco--f-spark { width: clamp(160px, 19vw, 360px); left: 48%; top: 48%; }
.gd-deco--f-heart { width: clamp(240px, 28vw, 530px); right: -7%; top: -21%; }
.gd-footer__inner { position: relative; display: grid; gap: var(--space-40); max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(48px, 1.9vw + 41px, 78px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(clamp(48px, 1.9vw + 41px, 78px) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); grid-template-areas: "logo" "cols" "company" "copy"; }
.gd-footer__logo { grid-area: logo; color: var(--on-inverse); }
.gd-footer__cols { grid-area: cols; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); }
.gd-footer__col ul { list-style: none; margin: var(--space-16) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-16); }
.gd-footer__head { color: var(--on-inverse-muted); font-weight: 400; }
.gd-footer a { color: var(--on-inverse); text-decoration: none; }
.gd-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gd-footer__company { grid-area: company; font-style: normal; display: flex; flex-direction: column; color: var(--on-inverse); }
.gd-footer__copy { grid-area: copy; margin: 0; color: var(--on-inverse-muted); }
@media (min-width: 1200px) {
  .gd-footer__inner { grid-template-columns: minmax(0, 1fr) 600px; grid-template-areas: "logo cols" "company copy"; row-gap: var(--space-40); align-items: start; }
  .gd-footer__cols { grid-template-columns: 210px 180px 110px; gap: 50px; }
  .gd-footer__copy { align-self: end; text-align: right; color: var(--on-inverse); }
}

@media (prefers-reduced-motion: reduce) {
  .gd-marquee__track, .gd-wall__col { animation: none !important; }
  .gd-store, .gd-avatar__photo img, .gd-header, .gd-burger span { transition: none !important; }
}
/* components:end */

/* ---------- 사이트 ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--inverse); }
img { max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: var(--space-16); top: -100px; z-index: 100; background: var(--action); color: var(--on-action); padding: var(--space-12) var(--space-16); border-radius: var(--radius-12); text-decoration: none; font-weight: 700; }
.skip:focus { top: var(--space-16); }
main { display: block; }
.gd-header--light { background: var(--bg); }
.gd-header--light.is-solid { background: var(--glass); }

/* 스프라이트 아이콘 */
.ico { width: 1em; height: 1em; flex: none; display: block; }
.gd-logo__icon, .gd-logo__word, .gd-logo__symbol { display: block; }

/* 미리 그려진 앱 화면(테두리·그림자 포함 이미지) */
.shot { display: block; width: 100%; height: auto; }

/* 첫 화면 공통 */
.gd-hero__inner { padding-top: var(--space-48); }
@media (min-width: 1200px) { .gd-hero__inner { padding-top: 0; } }

/* APP 첫 화면: 겹친 휴대폰 두 대 */
.hero-phones { position: relative; height: 100%; min-height: 420px; display: flex; justify-content: center; align-items: center; }
.hero-phones img { position: absolute; width: min(46%, 300px); height: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .45)); }
.hero-phones img:first-child { left: 50%; transform: translate(-82%, 4%); z-index: 2; }
.hero-phones img:last-child { left: 50%; transform: translate(-18%, -6%); }
@media (min-width: 1200px) {
  .hero-phones { position: absolute; inset: 0; min-height: 0; }
  .hero-phones img { width: min(17vw, 330px); }
}

/* 섹션 머리말 줄바꿈과 정렬 */
.sec-head { margin-bottom: var(--stack-title); }
.sec-head--start { text-align: left; align-items: flex-start; }

/* 아티스트 띠 */
.strip { padding-block: var(--space-8); }
.gd-marquee .gd-avatar--md { width: clamp(104px, 4.66vw + 87px, 176px); }

/* 가치 캐러셀: 왼쪽만 여백, 오른쪽은 화면 끝까지 */
.value-rail { padding-left: max(var(--gutter), calc((100vw - var(--content-max)) / 2), env(safe-area-inset-left, 0px)); }
.value-rail .gd-carousel__nav { padding-right: max(var(--gutter), calc((100vw - var(--content-max)) / 2)); }
.gd-value__media { padding: var(--space-24) 0 0; align-items: flex-end; }
.gd-value__media .shot { width: 100%; max-width: 620px; }

/* 평점·리뷰 */
.reviews { display: flex; flex-direction: column; gap: var(--grid-gap); margin-top: var(--stack-title); }

/* APP 교차 섹션 */
.gd-split__icon { width: clamp(32px, 1vw + 28px, 48px); height: clamp(32px, 1vw + 28px, 48px); color: var(--text); }
.steps { list-style: none; margin: var(--space-24) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-32); }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-16); row-gap: var(--space-4); }
.steps b { font-size: var(--t-body); line-height: 1.4167; font-weight: 700; color: var(--text); }
.steps .n { font-size: var(--t-body); line-height: 1.4167; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.steps p { grid-column: 2; margin: 0; font-size: var(--t-body); line-height: 1.4167; color: var(--text-muted); }
.gd-split__media .shot { width: min(100%, 560px); }
.gd-split + .gd-split { padding-top: 0; }
@media (min-width: 1200px) { .gd-split + .gd-split { padding-top: 0; } }

/* APP 아티스트 콘텐츠 탭 */
.tab-shot { display: block; width: min(100%, 520px); margin: 0 auto; height: auto; }

/* APP 팬 커뮤니티: 설명과 실제 화면 카드가 엇갈린다 */
.community { display: flex; flex-direction: column; gap: var(--space-48); }
.community__row { display: grid; gap: var(--space-24); align-items: center; }
.community__text { display: flex; flex-direction: column; gap: var(--space-12); }
.community__text h3 { margin: 0; color: var(--text); }
.community__text p { margin: 0; }
.community__card { width: 100%; max-width: 560px; height: auto; display: block; border-radius: var(--radius-24); }
@media (min-width: 900px) {
  .community__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 140px); }
  .community__row--reverse .community__text { order: 2; }
  .community__row--reverse .community__card { justify-self: end; }
}

/* ARTIST 첫 화면 */
.artist-hero { padding: calc(var(--header-h) + var(--space-64)) var(--gutter) var(--space-48); text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 1.3vw + 11px, 40px); }
.artist-hero h1 { color: var(--text); }
.artist-hero p { margin: 0; color: var(--text-muted); max-width: 700px; }
@media (min-width: 1200px) { .artist-hero { padding-top: clamp(200px, 15.5vw, 297px); } }
.artist-list { padding-bottom: var(--section-y); }
.artist-status { text-align: center; color: var(--text-muted); margin: var(--space-24) 0 0; }
.gd-artist-grid:empty + .artist-status:empty::before { content: ""; }
.gd-artist-grid[aria-busy="true"] { min-height: 320px; }

/* 아티스트 사진이 늦게 오거나 실패할 때 */
.gd-avatar__photo img[data-failed] { visibility: hidden; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-24); text-align: center; padding: calc(var(--header-h) + var(--space-48)) var(--gutter) var(--space-64); }
.notfound a { font-weight: 700; }

/* 좁은 화면에서는 설명 문구의 수동 줄바꿈을 띄어쓰기로(제목은 그대로) */
@media (max-width: 767px) { .soft br { display: none; } }
.page-light::before { background: var(--bg); }
.gd-footer__company { display: block; }
.shot--narrow { width: auto !important; max-height: 100%; margin-inline: auto; }
.tab-text { display: flex; flex-direction: column; align-items: center; gap: var(--space-24); text-align: center; padding: var(--space-64) var(--space-24); background: var(--surface); border-radius: var(--radius-24); }
.tab-text p, .tab-caption { margin: 0; color: var(--text-muted); text-align: center; }
.tab-caption { margin-bottom: var(--space-24); }
.tab-icon { width: 64px; height: 64px; color: var(--text); }
