/* ═══════════════════════════════════════════════════════
   GIL ARTISTS — style.css  v5
   3가지 테마를 한 파일에서 관리합니다.

     body.theme-a = White Gallery (퓨어 화이트 + 쿨 그레이)
     body.theme-b = Nocturne      (전면 다크, 공연의 밤)
     body.theme-c = Program Note  (흑백 모노크롬, 인쇄물 톤)

   ※ 테마 변경은 js/content.js 맨 위의 CONFIG 부분에서 합니다.
     이 파일을 직접 수정할 필요는 거의 없습니다.
   ═══════════════════════════════════════════════════════ */

/* ────────── 공통 토큰 (테마별로 덮어씀) ────────── */
:root {
  --accent: #6e2b28;
  --accent-deep: #571f1d;
  --serif: 'Fraunces', 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', sans-serif;
}

/* ═══ THEME A — White Gallery ═══ */
body.theme-a {
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --ink: #191817;
  --ink-body: #2e2c2a;
  --ink-sub: #4f4c48;
  --hairline: #e2e0dc;
  --dark: #1e1b18;             /* 히어로·푸터용 다크 */
  --dark-text: rgba(255,255,255,.82);
  --dark-sub: rgba(255,255,255,.55);
  --dark-line: rgba(255,255,255,.16);
  --hero-is-dark: 1;
}

/* ═══ THEME B — Nocturne (전면 다크) ═══ */
body.theme-b {
  --bg: #16130f;
  --bg-alt: #1e1a15;
  --ink: #f1ede6;
  --ink-body: #d6d0c6;
  --ink-sub: #a89f92;
  --hairline: #352f28;
  --accent: #b98a5e;           /* 어두운 배경용 웜 어스 포인트 */
  --accent-deep: #966f49;
  --dark: #16130f;
  --dark-text: #d6d0c6;
  --dark-sub: #a89f92;
  --dark-line: #352f28;
  --hero-is-dark: 1;
}

/* ═══ THEME C — Program Note (흑백 모노크롬) ═══ */
body.theme-c {
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --ink: #111111;
  --ink-body: #222222;
  --ink-sub: #3f3f3f;
  --hairline: #dcdcdc;
  --accent: #111111;           /* 포인트 = 검정 (완전 모노) */
  --accent-deep: #000000;
  --dark: #111111;
  --dark-text: rgba(255,255,255,.85);
  --dark-sub: rgba(255,255,255,.6);
  --dark-line: rgba(255,255,255,.16);
  --hero-is-dark: 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.75;
  font-weight: 400;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  transition: background .3s;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ────────── 내비게이션 ────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease;
}
.nav.scrolled, .nav.solid {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(8px);
}
/* 테마B는 처음부터 배경이 어두우므로 nav는 항상 밝은 글자 유지 */
body.theme-b .nav.scrolled, body.theme-b .nav.solid { background: rgba(22,19,15,.96); }

/* v54: nav-inner의 세로 여백 — 로고를 헤더 상단 부근에 배치 (약간 더 위로)
   + 메뉴/햄버거 아이콘을 로고의 "GIL ARTISTS" 텍스트 라인과 같은 가로선에 정렬
   (로고 이미지에서 큰 제목 글자의 세로 중심은 이미지 높이의 약 46% 지점 →
    메뉴/아이콘의 margin-top을 그 높이에 맞춤) */
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 4px 40px 52px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.nav-menu, .nav-toggle { align-self: flex-start; margin-top: 54px; }
/* v55: 모바일 햄버거 아이콘을 로고 'GIL ARTISTS' 텍스트 라인(y≈47)과 같은 가로선에 정렬 */
@media (max-width: 960px) { .nav-toggle { margin-top: 42px; } }
.nav-logo {
  font-family: var(--serif); font-size: 1.9rem; letter-spacing: .18em;
  color: #fff; text-decoration: none; font-weight: 500;
}
.nav.scrolled .nav-logo, .nav.solid .nav-logo { color: var(--ink); }
body.theme-b .nav.scrolled .nav-logo, body.theme-b .nav.solid .nav-logo { color: var(--ink); }

.nav-menu { display: flex; gap: 36px; align-items: center; }
.nav-menu a {
  color: rgba(255,255,255,.9); text-decoration: none;
  font-size: 1.1rem; letter-spacing: .1em; font-weight: 400; transition: color .3s;
}
.nav.scrolled .nav-menu a, .nav.solid .nav-menu a { color: var(--ink-body); }
body.theme-b .nav.scrolled .nav-menu a, body.theme-b .nav.solid .nav-menu a { color: var(--ink-body); }
.nav-menu a:hover { color: var(--accent); }

.lang-toggle {
  background: none; border: 1px solid rgba(255,255,255,.6); color: #fff;
  font-size: 1rem; letter-spacing: .12em; padding: 8px 16px; cursor: pointer;
  font-family: var(--sans); transition: all .3s; border-radius: 2px;
}
.nav.scrolled .lang-toggle, .nav.solid .lang-toggle { color: var(--ink); border-color: var(--ink); }
body.theme-b .nav.scrolled .lang-toggle, body.theme-b .nav.solid .lang-toggle { color: var(--ink); border-color: var(--ink-sub); }
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 6px 0; transition: .3s; }
.nav.scrolled .nav-toggle span, .nav.solid .nav-toggle span { background: var(--ink); }
body.theme-b .nav.scrolled .nav-toggle span { background: var(--ink); }

/* ────────── Hero ────────── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  padding: 0 0 110px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-placeholder.jpg');
  background-size: cover; background-position: center 40%;
  opacity: .3;
}
body.theme-c .hero-bg { filter: grayscale(1) contrast(1.05); opacity: .22; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark) 4%, transparent 90%);
  opacity: .8;
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1280px; }
.hero-eyebrow {
  color: rgba(255,255,255,.75); font-size: 1.2rem; letter-spacing: .06em;
  margin-bottom: 34px; font-weight: 400;
  border-left: 2px solid var(--accent); padding-left: 18px;
}
body.theme-b .hero-eyebrow, body.theme-c .hero-eyebrow { color: rgba(255,255,255,.7); }
.hero-tagline {
  font-family: var(--serif); color: #fff;
  font-size: clamp(2.9rem, 6.5vw, 5.2rem);
  font-weight: 400; line-height: 1.24; letter-spacing: -0.01em;
  max-width: none;
}
.hero-cta {
  display: inline-block; margin-top: 52px;
  color: #fff; text-decoration: none; font-size: 1.15rem;
  letter-spacing: .04em; font-weight: 400;
  border: 1px solid rgba(255,255,255,.5); padding: 19px 52px;
  transition: all .35s;
}
.hero-cta:hover { background: #fff; border-color: #fff; color: var(--dark); }

/* ────────── 공통 섹션 ────────── */
.section { padding: 120px 0; }
.section-eyebrow {
  color: var(--accent); font-size: 1.1rem; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 600;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 400; color: var(--ink); letter-spacing: 0;
  margin-bottom: 64px; line-height: 1.2;
}
.section-title::after {
  content: ''; display: block; width: 100%; height: 1px;
  background: var(--hairline); margin-top: 28px;
}

/* ────────── About ────────── */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.about-lead {
  font-family: 'Noto Serif KR', serif; font-size: 1.65rem;
  color: var(--ink); font-weight: 400; line-height: 1.8; margin-bottom: 48px;
}
.greeting-title {
  font-size: 1.15rem; color: var(--accent); letter-spacing: .14em;
  margin-bottom: 24px; font-weight: 600; text-transform: uppercase;
}
.greeting-text {
  white-space: pre-line; font-size: 1.22rem; color: var(--ink-body);
  line-height: 2.05; margin-bottom: 36px;
}
.greeting-sign strong { font-family: 'Noto Serif KR', serif; font-size: 1.45rem; color: var(--ink); }
.greeting-sign span { display: block; font-size: 1.05rem; color: var(--ink-sub); letter-spacing: .08em; margin-top: 6px; }

/* ── G·I·L 브랜드 가치 ── */
.values-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline); margin-top: 88px;
}
.value-item { padding: 52px 36px 52px 0; border-right: 1px solid var(--hairline); }
.value-item:last-child { border-right: none; padding-right: 0; }
.value-item + .value-item { padding-left: 36px; }
.value-letter { font-family: var(--serif); font-size: 5.4rem; color: var(--ink); font-weight: 300; line-height: 1; }
.value-word { font-family: var(--serif); font-size: 1.9rem; color: var(--accent); font-weight: 500; margin: 16px 0 10px; letter-spacing: .02em; }
.value-label { font-family: 'Noto Serif KR', serif; font-size: 1.3rem; color: var(--ink); font-weight: 600; margin-bottom: 16px; line-height: 1.5; }
.value-desc { font-size: 1.16rem; color: var(--ink-sub); line-height: 1.85; }

/* ────────── Services ────────── */
.services { background: var(--bg-alt); }
.service-list { display: flex; flex-direction: column; }
.service-item {
  display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 40px;
  padding: 48px 0; border-top: 1px solid var(--hairline); align-items: baseline;
}
.service-item:last-child { border-bottom: 1px solid var(--hairline); }
.service-num { font-family: var(--serif); font-size: 1.9rem; color: var(--accent); font-weight: 300; font-style: italic; }
.service-title { font-family: 'Noto Serif KR', serif; font-size: 1.8rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.service-desc { font-size: 1.18rem; color: var(--ink-body); line-height: 1.95; }

/* ────────── Artists ────────── */
.artists { background: var(--bg); }
.artist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.artist-grid.single { grid-template-columns: 1fr; max-width: 520px; }
.artist-card { cursor: pointer; text-decoration: none; display: block; }
.artist-card:hover .artist-photo img { transform: scale(1.03); }
.artist-photo { overflow: hidden; aspect-ratio: 3/4; background: var(--bg-alt); }
.artist-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease; display: block;
}
body.theme-c .artist-photo img { filter: grayscale(35%); }
body.theme-c .artist-card:hover .artist-photo img { filter: grayscale(0); }
.artist-meta { padding: 26px 4px 8px; }
.artist-name { font-family: 'Noto Serif KR', serif; font-size: 1.75rem; color: var(--ink); font-weight: 600; }
.artist-namesub { font-size: 1.12rem; color: var(--ink-sub); margin-top: 6px; letter-spacing: .04em; }
.artist-role { font-size: 1.2rem; color: var(--accent); margin-top: 10px; letter-spacing: .04em; font-weight: 600; }
.artist-more { font-size: 1.05rem; color: var(--ink-sub); margin-top: 16px; letter-spacing: .06em; }
.artist-card:hover .artist-more { color: var(--accent); }

/* ────────── Performances ────────── */
.performances { background: var(--bg); padding-top: 0; }
.perf-list { display: flex; flex-direction: column; }
.perf-card {
  display: grid; grid-template-columns: 200px 1fr 150px; gap: 48px;
  align-items: center; padding: 44px 0;
  border-top: 1px solid var(--hairline); transition: background .3s;
}
.perf-card:last-child { border-bottom: 1px solid var(--hairline); }
.perf-card:hover { background: var(--bg-alt); }
.perf-when { display: flex; flex-direction: column; gap: 8px; }
.perf-date { font-family: var(--serif); font-size: 2.3rem; color: var(--ink); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.perf-meta { font-size: 1.22rem; color: var(--accent); font-weight: 600; letter-spacing: .02em; }
.perf-title { font-family: 'Noto Serif KR', serif; font-size: 1.6rem; color: var(--ink); font-weight: 600; line-height: 1.5; }
.perf-venue { font-size: 1.2rem; color: var(--ink-body); margin-top: 12px; font-weight: 500; }
.perf-poster { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-alt); justify-self: end; width: 130px; }
.perf-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.perf-card:hover .perf-poster img { transform: scale(1.05); }

/* ────────── News ────────── */
.news { background: var(--bg-alt); }
.news-list { list-style: none; }
.news-item {
  display: block; width: 100%;
  border-bottom: 1px solid var(--hairline);
}
.news-item:first-child { border-top: 1px solid var(--hairline); }
.news-date { flex: 0 0 150px; color: var(--accent); font-size: 1.3rem; letter-spacing: .02em; padding-top: 8px; font-family: var(--serif); font-weight: 500; }
.news-title { font-family: 'Noto Serif KR', serif; font-size: 1.55rem; color: var(--ink); font-weight: 600; }
.news-summary { font-size: 1.18rem; color: var(--ink-body); margin-top: 14px; }
.news-link {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  align-items: start; gap: 44px;
  width: 100%; padding: 40px 0;
  text-decoration: none; color: inherit;
}
.news-body { min-width: 0; width: 100%; }
.news-title, .news-summary { display: block; width: 100%; word-break: keep-all; }
.news-arrow { float: none; display: inline-block; margin-left: 14px; }
.news-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ────────── Offices ────────── */
.offices { background: var(--bg); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.office-card { border-top: 2px solid var(--ink); padding: 36px 0 8px; transition: border-color .3s; }
.office-card:hover { border-color: var(--accent); }
.office-type { font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.office-city { font-family: var(--serif); font-size: 2.9rem; color: var(--ink); font-weight: 400; margin: 16px 0 12px; }
.office-detail { font-size: 1.18rem; color: var(--ink-sub); line-height: 1.8; }

/* ────────── Contact ────────── */
.contact { background: var(--dark); color: var(--dark-text); }
.contact .section-eyebrow { color: var(--accent); }
body.theme-a .contact .section-eyebrow, body.theme-c .contact .section-eyebrow { color: #d9a3a0; }
.contact .section-title { color: #fff; }
.contact .section-title::after { background: var(--dark-line); }
.contact-note { max-width: 680px; font-size: 1.25rem; margin-bottom: 48px; line-height: 1.9; }
.contact-cta {
  display: inline-block; background: var(--accent); color: #fff;
  text-decoration: none; font-size: 1.2rem; letter-spacing: .04em;
  font-weight: 400; padding: 20px 56px; margin-bottom: 64px; transition: background .3s;
}
.contact-cta:hover { background: var(--accent-deep); }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.contact-item h4 {
  color: #d9a3a0; font-size: 1.05rem; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 12px; font-weight: 600;
}
body.theme-b .contact-item h4 { color: var(--accent); }
.contact-item p, .contact-item a { font-size: 1.22rem; color: #fff; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 전화번호 2개 가로 나열 */
.contact-phones {
  display: flex; flex-direction: column; gap: 6px;
}
.contact-phone-num {
  display: block; font-size: 1.22rem; color: #fff;
  letter-spacing: .02em; line-height: 1.6;
}
/* 이메일 2개 가로 나열 */
.contact-emails {
  display: flex; flex-direction: column; gap: 10px;
}
.contact-email-item {
  display: flex; flex-direction: column; gap: 2px;
}
.contact-email-label {
  font-size: 1.0rem; color: rgba(255,255,255,.55);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ── SNS 아이콘 (공식 브랜드 컬러) ── */
.contact-sns { margin-top: 60px; display: flex; gap: 18px; align-items: center; }
.sns-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  transition: transform .3s, box-shadow .3s;
}
.sns-icon svg { width: 26px; height: 26px; fill: #fff; }
.sns-icon:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.sns-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sns-youtube { background: #ff0000; }

.footer {
  background: var(--dark); color: var(--dark-sub);
  text-align: center; font-size: 1.05rem; letter-spacing: .06em;
  padding: 34px 0; border-top: 1px solid var(--dark-line);
}

/* ══════════════════════════════════════════
   아티스트 상세 페이지 (artist.html)
   ══════════════════════════════════════════ */
.artist-hero {
  padding: 180px 0 90px;
  background: var(--dark);
  color: #fff;
}
.artist-hero-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: end;
}
.artist-hero-photo { overflow: hidden; aspect-ratio: 3/4; background: var(--bg-alt); }
.artist-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-hero-role { font-size: 1.25rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
body.theme-a .artist-hero-role, body.theme-c .artist-hero-role { color: #d9a3a0; }
.artist-hero-name {
  font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.4rem);
  font-weight: 400; line-height: 1.12; margin: 20px 0 8px;
}
.artist-hero-sub { font-size: 1.4rem; color: rgba(255,255,255,.72); letter-spacing: .04em; }
.artist-hero-sns { margin-top: 36px; display: flex; gap: 16px; }

.artist-back {
  display: inline-block; color: var(--ink-sub); text-decoration: none;
  font-size: 1.12rem; letter-spacing: .04em; margin-bottom: 40px;
}
.artist-back:hover { color: var(--accent); }

/* 언론 극찬 */
.press-section { background: var(--bg); padding: 100px 0 24px; }
.press-quote { max-width: 980px; margin: 0 auto 72px; text-align: center; }
.press-quote-text {
  font-family: var(--serif); font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  color: var(--ink); font-weight: 400; line-height: 1.55;
}
.press-quote-text::before { content: '\201C'; }
.press-quote-text::after { content: '\201D'; }
.press-quote-source {
  font-size: 1.15rem; color: var(--ink-sub); margin-top: 28px; letter-spacing: .1em;
}
.press-quote-source::before { content: '— '; }

/* 대표 영상 */
.artist-media-section { background: var(--bg-alt); padding: 28px 0 96px; }
.artist-media-inner { max-width: 1100px; }
.artist-media-intro { font-size: 1.16rem; color: var(--ink-sub); margin: -10px 0 28px; line-height: 1.9; }
.artist-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.artist-video-card { display: flex; flex-direction: column; }
.artist-video-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; overflow: hidden; border: 1px solid var(--hairline); }
.artist-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.artist-video-title { font-family: "Noto Serif KR", serif; font-size: 1.22rem; color: var(--ink); line-height: 1.6; margin-top: 14px; }

/* 상세 프로필 */
.profile-section { background: var(--bg); padding: 52px 0 120px; }
.profile-inner { max-width: 900px; margin: 0 auto; }
.profile-heading {
  font-family: var(--serif); font-size: 2.4rem; color: var(--ink);
  font-weight: 400; margin-bottom: 40px;
}
.profile-heading::after { content: ''; display: block; width: 48px; height: 2px; background: var(--accent); margin-top: 20px; }
.profile-text { white-space: pre-line; font-size: 1.3rem; color: var(--ink-body); line-height: 2.08; }
.profile-sns { margin-top: 48px; display: flex; gap: 16px; align-items: center; }
.profile-sns-label { font-size: 1.12rem; color: var(--ink-sub); margin-right: 8px; }

/* ────────── 스크롤 페이드인 ────────── */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ────────── 반응형 ────────── */
@media (max-width: 960px) {
  body { font-size: 17px; }
  .container { padding: 0 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-row { grid-template-columns: 1fr; margin-top: 64px; }
  .value-item, .value-item + .value-item { padding: 40px 0; border-right: none; border-top: 1px solid var(--hairline); }
  .value-item:first-child { border-top: none; }
  .value-letter { font-size: 4.2rem; }
  .service-item { grid-template-columns: 60px 1fr; gap: 24px; }
  .service-desc { grid-column: 2; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-grid.single { grid-template-columns: 1fr; max-width: 420px; }
  .perf-card { grid-template-columns: 1fr; gap: 20px; }
  .perf-poster { justify-self: start; width: 120px; }
  .office-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 88px 0; }
  .hero { padding-bottom: 80px; }
  .artist-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .artist-hero-photo { max-width: 400px; }
  .artist-video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
    background: var(--dark); flex-direction: column; padding: 110px 40px;
    gap: 32px; transition: right .4s ease; align-items: flex-start;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { color: #fff !important; font-size: 1.25rem; }
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .artist-grid { grid-template-columns: 1fr; }
  .hero-tagline { font-size: clamp(2.3rem, 9.5vw, 3.1rem); }
  .perf-date { font-size: 1.9rem; }
  .artist-hero { padding: 200px 0 70px; } /* v48: nav 아래 여백 확보 */
}

/* ═══ v8 — 아티스트 상세: 크레딧 / 사진 슬라이더 / 음반 ═══ */

/* 히어로 사진 크레딧 */
.artist-hero-credit {
  font-size: 0.95rem; color: var(--ink-sub); letter-spacing: .06em;
  margin-top: 12px;
}
body.theme-b .artist-hero-credit { color: rgba(255,255,255,.5); }

/* 사진 갤러리 (슬라이드 + 썸네일 스트립) */
.gallery-section { background: var(--bg); padding: 52px 0 100px; }
.gallery-note { font-size: 1.12rem; color: var(--ink-sub); margin: -16px 0 40px; line-height: 1.8; max-width: 720px; }
.gallery-slider {
  display: grid; grid-template-columns: 56px 1fr 56px; gap: 18px; align-items: center;
}
.gal-main {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16/10; background: #000; cursor: zoom-in;
}
.gal-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .35s ease;
}
.gal-credit {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 0.95rem; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.45); padding: 4px 12px; letter-spacing: .04em;
}
.gal-counter {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 0.95rem; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.45); padding: 4px 12px; letter-spacing: .08em;
}
.gal-arrow {
  width: 56px; height: 56px; border: 1px solid var(--hairline);
  background: transparent; color: var(--ink); font-size: 1.9rem;
  cursor: pointer; transition: background .25s, color .25s; line-height: 1;
}
.gal-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gal-thumbs {
  display: flex; gap: 10px; margin-top: 18px; overflow-x: auto; padding-bottom: 6px;
}
.gal-thumb {
  flex: 0 0 auto; width: 96px; height: 72px; padding: 0; border: 2px solid transparent;
  background: none; cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: .85; }
.gal-thumb.active { opacity: 1; border-color: var(--accent); }

/* 음반 */
.recordings-section { background: var(--bg-alt); padding: 90px 0; }
.rec-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 56px;
  align-items: center; max-width: 980px; margin: 0 auto;
}
.rec-cover img { width: 100%; display: block; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.rec-title { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--ink); }
.rec-works { font-size: 1.2rem; color: var(--ink-body); margin: 12px 0 6px; }
.rec-label { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-sub); margin-bottom: 30px; }
.rec-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rec-listen-label { font-size: 1.02rem; letter-spacing: .14em; color: var(--ink-sub); margin-right: 6px; text-transform: uppercase; }
.listen-btn {
  display: inline-block; text-decoration: none; color: #fff;
  font-size: 1.02rem; font-weight: 500; letter-spacing: .05em;
  padding: 12px 26px; transition: filter .25s, transform .25s;
}
.listen-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }
.listen-apple   { background: #1c1c1e; }
.listen-spotify { background: #1db954; }
.listen-youtube { background: #ff0000; }

@media (max-width: 960px) {
  .rec-card { grid-template-columns: 1fr; gap: 32px; max-width: 420px; }
  .gallery-slider { grid-template-columns: 44px 1fr 44px; gap: 10px; }
  .gal-arrow { width: 44px; height: 44px; font-size: 1.5rem; }
}

/* ═══ 브랜드 로고 (통합·최종본, v47)
   ──────────────────────────────────────────────────────────
   - 로고는 밝은 흰색/밝은 회색 선·텍스트 · 투명 배경 PNG (비율 약 1.8:1)
   - 기본(다크) 테마 B 위에서는 원본 그대로 선명하게 보이므로 별도 처리 불필요
   - 밝은 테마(A/C)에서 내비 배경이 밝아질 때만 반전(invert)으로 검정화
   - 크기는 이 블록에서만 관리 → 이후 다른 곳에서 재정의하지 않음 */
.nav-logo { display: flex; align-items: center; }
.nav-logo img,
.footer-logo {
  width: auto; display: block;
  image-rendering: -webkit-optimize-contrast;
}
.footer-logo { display: inline-block; opacity: 1; margin-bottom: 18px; }
/* 밝은 테마(A/C): 흰 배경 위에서 흰 로고가 사라지지 않도록 반전으로 검정화 */
body.theme-a .nav.scrolled .nav-logo img,
body.theme-c .nav.scrolled .nav-logo img,
body.theme-a .nav.solid .nav-logo img,
body.theme-c .nav.solid .nav-logo img { filter: invert(1); }
body.theme-a .footer-logo,
body.theme-c .footer-logo { filter: invert(1); }

/* ═══ v12 — 공연 프로그램 · 예매 버튼 · 프로필 액션 ═══ */

/* 공연 프로그램 상세 */
.perf-program { margin-top: 22px; border-top: 1px solid var(--hairline); padding-top: 18px; }
.perf-program-label {
  font-size: 1.02rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.perf-program ul { list-style: none; }
.perf-program li {
  font-size: 1.14rem; color: var(--ink-body); padding: 6px 0 6px 22px;
  position: relative; line-height: 1.7;
}
.perf-program li::before {
  content: ''; position: absolute; left: 0; top: 17px;
  width: 8px; height: 1px; background: var(--accent);
}

/* 예매 버튼 */
.perf-ticket-btn {
  display: inline-block; margin-top: 24px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 1.1rem; font-weight: 500; letter-spacing: .05em;
  padding: 15px 40px; transition: background .25s, transform .25s;
}
.perf-ticket-btn:hover { background: var(--accent-deep); transform: translateY(-2px); }

/* 프로필 액션 버튼 (복사 + PDF 다운로드) */
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: -16px 0 36px; }
.profile-btn {
  display: inline-block; font-family: var(--sans); font-size: 1.05rem;
  letter-spacing: .04em; padding: 12px 24px; cursor: pointer;
  border: 1px solid var(--hairline); background: transparent; color: var(--ink);
  text-decoration: none; transition: border-color .25s, background .25s, color .25s;
}
.profile-btn:hover { border-color: var(--accent); color: var(--accent); }
.profile-btn.copied { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ═══ v13 — 지면 압축 · 클릭 링크 · 버튼 수정 ═══ */

/* 섹션 여백 전면 축소 (스크롤 길이 단축) */
.section { padding: 72px 0; }
.section-title { margin-bottom: 44px; }
.values-row { margin-top: 56px; }
.value-item { padding: 36px 40px 36px 0; }
.value-letter { font-size: 4.6rem; }
.service-item { padding: 34px 0; }
.perf-card { padding: 36px 0; }
.contact-note { margin-bottom: 36px; }
.contact-cta { margin-bottom: 44px; padding: 17px 48px; }
.offices { padding-bottom: 72px; }

/* 아티스트 상세 페이지 압축 */
.artist-hero { padding: 220px 0 60px; } /* v48: nav 아래 여백 확보 (로고+구분선 겹침 방지) */
.artist-hero-grid { grid-template-columns: 320px 1fr; gap: 56px; }
.press-section { padding: 64px 0 8px; }
.press-quote { margin-bottom: 44px; }
.press-quote-text { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.press-quote-source { margin-top: 18px; }
.gallery-section { padding: 36px 0 64px; }
.gallery-note { margin: -10px 0 26px; }
.recordings-section { padding: 60px 0; }
.rec-card { grid-template-columns: 240px 1fr; gap: 44px; }
.artist-media-section { padding: 20px 0 64px; }
.artist-video-grid { gap: 26px; }
.profile-section { padding: 44px 0 84px; }
.profile-heading { margin-bottom: 28px; }
.profile-text { line-height: 1.95; }
.profile-actions { margin: -8px 0 28px; }
.gal-main { aspect-ratio: 16/9; }

/* 뉴스 클릭 링크 */
.news-item:has(.news-link) { transition: background .25s; }
.news-item:has(.news-link):hover { background: var(--bg-alt); }
.news-arrow { color: var(--accent); font-weight: 400; }
.news-item .news-title { transition: color .25s; }
.news-item:hover .news-title { color: var(--accent); }

/* 애플뮤직 버튼 — 다크 배경에서 경계가 보이도록 */
.listen-apple { background: #2c2c2e; border: 1px solid rgba(255,255,255,.35); }
body.theme-a .listen-apple, body.theme-c .listen-apple { background: #1c1c1e; border-color: rgba(0,0,0,.2); }

/* 유튜브 영상이 섹션 배경에 가려지는 문제 수정 */
.artist-media-section { position: relative; z-index: 1; }
.artist-video-frame iframe { position: absolute; inset: 0; z-index: 2; }

@media (max-width: 960px) {
  .section { padding: 56px 0; }
  .rec-card { grid-template-columns: 1fr; max-width: 360px; }
}

/* ═══ v14 — 프로필 PDF 아이콘 (히어로 SNS 옆) ═══ */
.sns-pdf {
  background: transparent; border: 1.5px solid rgba(255,255,255,.45);
  flex-direction: column; gap: 1px; color: #fff;
}
.sns-pdf svg { width: 18px; height: 18px; fill: currentColor; }
.sns-pdf span { font-size: .62rem; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.sns-pdf:hover { border-color: var(--accent); color: var(--accent); }
body.theme-a .sns-pdf, body.theme-c .sns-pdf { border-color: rgba(0,0,0,.3); color: var(--ink); }

/* ═══ v15 — 히어로 배경 가시성 복구 + 보조 CTA ═══ */

/* 핵심 문제: 사진 위에 덮인 어두운 덮개가 너무 진했음 → 대폭 연하게 */
.hero-bg { filter: none; }
.hero-bg::after {
  background: linear-gradient(
    to bottom,
    rgba(10,8,6,.42) 0%,
    rgba(10,8,6,.18) 42%,
    rgba(10,8,6,.30) 68%,
    rgba(10,8,6,.62) 100%
  );
}

/* 히어로 보조 버튼 (팬/방문자용 '아티스트 보기') */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.hero-cta-ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55);
}
.hero-cta-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* 사진 크레딧 — 히어로 우하단에 작게 (작가 권리 존중) */
.hero-credit {
  position: absolute; right: 20px; bottom: 16px; z-index: 3;
  font-size: .82rem; letter-spacing: .08em; color: rgba(255,255,255,.55);
}

/* ═══ v16 — 문의 폼 (Netlify Forms) ═══ */
.contact-form { max-width: 720px; margin-bottom: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field {
  width: 100%; background: transparent; border: 1px solid var(--dark-line);
  color: #fff; font-family: var(--sans); font-size: 1.15rem;
  padding: 16px 18px; margin-bottom: 16px; outline: none;
  transition: border-color .25s;
}
.form-field::placeholder { color: rgba(255,255,255,.45); }
.form-field:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit { border: none; cursor: pointer; margin-bottom: 0; }
.contact-mail-line { font-size: 1.15rem; margin-bottom: 56px; }
.contact-mail-line a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--dark-line); }
.contact-mail-line a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ═══ v17 — 슬로건 이탤릭 · 가치 관계도 (로고 크기 규칙은 v46 단일 블록에서 관리) ═══ */
.hero-tagline { font-style: italic; font-weight: 300; letter-spacing: -0.01em; }

.values-map {
  display: flex; align-items: stretch; margin-top: 64px; padding: 44px 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.vm-item { flex: 1; text-align: center; padding: 0 20px; }
.vm-word {
  display: block; font-family: var(--serif); font-size: 1.6rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.vm-text { display: block; font-size: 1.08rem; color: var(--ink-body); margin-top: 12px; line-height: 1.7; }
.vm-role {
  display: inline-block; margin-top: 14px; font-size: .92rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-sub);
  border: 1px solid var(--hairline); padding: 5px 16px; border-radius: 999px;
}
.vm-connector { align-self: center; width: 56px; height: 1px; background: var(--hairline); flex: 0 0 auto; position: relative; }
.vm-connector::after {
  content: ''; position: absolute; right: 0; top: -3.5px;
  border-left: 8px solid var(--hairline); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.value-role {
  display: inline-block; font-size: .9rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
  border-bottom: 1px solid var(--accent); padding-bottom: 5px;
}
@media (max-width: 960px) {
  .values-map { flex-direction: column; gap: 26px; }
  .vm-connector { width: 1px; height: 34px; margin: 0 auto; }
  .vm-connector::after { right: -3.5px; top: auto; bottom: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 8px solid var(--hairline); border-bottom: none; }
}

/* ═══ v18 — 첫 페이지 구조 재편 (아티스트·공연 우선) ═══ */
/* 밝아진 배경에 맞춰 오버레이를 더 연하게 — 사진이 선명히 보이도록 */
.hero-bg::after {
  background: linear-gradient(
    to bottom,
    rgba(10,8,6,.38) 0%,
    rgba(10,8,6,.10) 45%,
    rgba(10,8,6,.22) 70%,
    rgba(10,8,6,.55) 100%
  );
}

/* ═══ v22 — 글자 크기 소폭 축소 · 로고 확대 · 아티스트 카드 축소 · 정렬 정리 ═══ */

/* (1) 전체 글자 크기 소폭 축소 — rem 기준 16px → 15.2px (약 5%, 가독성 유지) */
html { font-size: 15.2px; }

/* ※ 대표님 지정: 크기 유지 2곳 — 첫 화면 대표문구 · 아티스트 긴 프로필 (축소분 보정) */
.hero-tagline { font-size: clamp(3.05rem, 6.85vw, 5.47rem); }
.profile-text { font-size: 1.37rem; }

/* (2) 아티스트 카드 사진 살짝 축소 + 앞으로 아티스트가 늘어나도 균일한 그리드 */
.artist-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px; }
.artist-grid.single { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

/* (4) 아티스트 페이지 섹션 제목 정렬 — 데스크톱은 왼쪽 라인, 모바일은 가운데 정렬 (v37) */
@media (min-width: 961px) {
  .profile-section .profile-inner { margin: 0; }
  .recordings-section .rec-card { margin: 0; max-width: 980px; }
  .gallery-section .profile-heading,
  .recordings-section .profile-heading,
  .profile-section .profile-heading { text-align: left; margin-left: 0; }
}

/* (6) 방문자 경험 개선 — 메뉴로 섹션 이동 시 고정 내비게이션에 제목이 가려지지 않게 (v46: 로고 확대분 반영) */
.section, .hero { scroll-margin-top: 205px; }
@media (max-width: 960px) { .section, .hero { scroll-margin-top: 140px; } }

/* ═══ v23 — 히어로 배경을 콘서트홀 사진으로 교체 + fade-in 안전장치 ═══ */
.hero-bg { background-image: url('../images/hero-hall.jpg'); background-position: center 40%; }
/* 페이드인 관찰 실패 대비: 1.6초 뒤엔 무조건 보이게 */
.fade-in { animation: fadeEnsure .1s 1.6s forwards; }
@keyframes fadeEnsure { to { opacity: 1; transform: none; } }

/* ═══ v25 — 공연 슬라이더 카드 · 공연/뉴스 상세 페이지 ═══ */

/* 첫 페이지 공연: 가로 3장 카드 슬라이더 (기존 세로 목록 덮어씀) */
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.perf-card { border: 1px solid var(--hairline); padding: 0; display: block; background: var(--bg); transition: border-color .3s, transform .3s; }
.perf-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.perf-link { display: block; text-decoration: none; color: inherit; }
.perf-poster { width: 100%; aspect-ratio: 3/4; justify-self: stretch; }
.perf-card-body { padding: 22px 24px 26px; }
.perf-date { font-size: 1.7rem; }
.perf-card-body .perf-weekday { font-size: 1.1rem; color: var(--accent); font-weight: 600; margin-top: 6px; }
.perf-card-body .perf-venue { font-size: 1.05rem; color: var(--ink-body); margin-top: 6px; font-weight: 500; }
.perf-card-body .perf-title { font-size: 1.25rem; margin-top: 14px; line-height: 1.45; }
.perf-slider-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* 뉴스 '전체 보기' 링크 */
.news-all-link { display: inline-block; margin-top: 28px; font-size: 1.1rem; color: var(--accent); text-decoration: none; letter-spacing: .04em; }
.news-all-link:hover { text-decoration: underline; }

/* ── 공연 상세 페이지 ── */
.detail-hero { padding: 150px 0 70px; }
.detail-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; margin-top: 30px; }
.detail-poster img { width: 100%; display: block; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.detail-date { font-size: 2.6rem; }
.detail-title { font-family: 'Noto Serif KR', serif; font-size: 2rem; color: var(--ink); font-weight: 600; line-height: 1.4; margin: 18px 0 8px; }
.detail-venue { font-size: 1.3rem; }
.detail-meta { margin: 30px 0; border-top: 1px solid var(--hairline); }
.meta-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.meta-key { font-size: .98rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.meta-val { font-size: 1.12rem; color: var(--ink-body); }
.detail-ticket { margin-top: 6px; }
.detail-program { padding-top: 20px; }
.detail-program-list { list-style: none; max-width: 780px; }
.detail-prog-item { font-size: 1.2rem; color: var(--ink-body); padding: 14px 0; border-bottom: 1px solid var(--hairline); line-height: 1.7; }
.detail-prog-item.is-intermission { text-align: center; color: var(--ink-sub); letter-spacing: .5em; font-size: .95rem; border-bottom: none; text-transform: uppercase; }

/* ── 뉴스 상세 ── */
.detail-news-hero { padding: 150px 0 80px; }
.news-detail-card { max-width: 820px; padding-bottom: 20px; }
.news-detail-body { font-size: 1.25rem; color: var(--ink-body); line-height: 2; margin: 26px 0 34px; white-space: pre-line; }
.news-list-full .news-item { border-top: 1px solid var(--hairline); }

@media (max-width: 960px) {
  .perf-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-poster { max-width: 340px; }
  .detail-date { font-size: 2rem; }
}

/* ── v26: 공연 상세 레이아웃 확대 ── */

/* 공연 상세: 포스터 크게 + 정보 패널 정돈 */
.detail-grid { grid-template-columns: minmax(420px, 46%) 1fr; gap: 72px; align-items: start; }
.detail-poster img { width: 100%; box-shadow: 0 28px 70px rgba(0,0,0,.45); }
.detail-poster { position: sticky; top: 150px; }

/* 일정·장소·시간·티켓 한눈에 보이는 핵심정보 박스 */
.detail-hero-info {
  margin: 26px 0 30px;
  padding: 26px 30px;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px;
}
.detail-hero-info .info-item { display: flex; flex-direction: column; gap: 4px; }
.detail-hero-info .info-label {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.detail-hero-info .info-val {
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); line-height: 1.35;
}
.detail-hero-info .ticket-item { grid-column: 1 / -1; margin-top: 6px; }
.ticket-big-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; background: var(--ink); color: var(--bg);
  font-size: 1rem; letter-spacing: .08em; font-weight: 500;
  transition: opacity .25s; text-decoration: none;
}
.ticket-big-btn:hover { opacity: .85; }
body.theme-b .ticket-big-btn { background: var(--accent); color: #0e0d0b; }

/* 메타 정보표: 빈 행 없이 촘촘하게 */
.meta-row { grid-template-columns: 150px 1fr; padding: 11px 0; gap: 24px; }
.detail-prog-item { font-size: 1.08rem; line-height: 1.75; }

/* 섹션 간격 미세 정돈 (빈 공간 축소) */
.section { padding: 88px 0; }
.section:first-of-type { padding-top: 76px; }

@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-poster { position: static; max-width: 420px; }
  .detail-hero-info { grid-template-columns: 1fr; padding: 22px; }
  .detail-hero-info .info-val { font-size: 1.18rem; }
  .section { padding: 64px 0; }
}

/* ── v27: 뉴스 레이아웃 균형 + 프로그램 악장 ── */
.news-item { max-width: none !important; width: 100%; }
#newsList, #newsFullList { max-width: none !important; width: 100%; }
.news-title { white-space: normal !important; word-break: keep-all; }
.news-summary { max-width: none !important; }
.news-full-item { width: 100%; max-width: none !important; }
@media (max-width: 960px) {
  .news-link .news-summary { display: none; }
}
/* 프로그램 악장 */
.work-composer { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 26px; }
/* 곡별 작곡가 (다중 작곡가 공연) — 곡명 바로 위에 표시 */
.work-item-composer { font-family: var(--font-serif); font-size: 1.08rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .02em; }
.work-block { margin-bottom: 34px; }
.work-title { font-size: 1.14rem; margin-bottom: 2px; }
.work-title-en { font-size: 1.02rem; color: var(--muted); margin-bottom: 10px; }
.work-movements { list-style: none; padding: 0; margin: 0; }
.work-movements li { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.9; }
.work-intermission { text-align: center; letter-spacing: .5em; font-size: .85rem; color: var(--muted); margin: 46px 0; }
/* 포스터 고해상도 렌더링 */
.detail-poster img, .perf-poster img { image-rendering: auto; }

/* 로고 크기 (v46 최종 · 단일 규칙)
   - PC: 히어로/스크롤 상관없이 144px 고정 (기존 크기 유지)
   - 모바일: 폭 기준으로 조금 더 크게 (기존 58vw/235px → 66vw/270px)
     · 로고 자체를 키우되 배너/공연 배너 영역은 건드리지 않음
     · 화면 좁을수록 vw가 우세, 넓어지면 상한(270px)이 걸림 */
.nav-logo img  { height: 144px; }
.footer-logo   { height: 150px; margin-bottom: 22px; }
@media (max-width: 960px) {
  .nav-logo img { height: auto; width: min(66vw, 270px); }
  .footer-logo  { height: auto; width: min(72vw, 310px); }
}

/* ── v29: 첫 화면 대형 공연 배너 슬라이더 ── */
.banner {
  position: relative; overflow: hidden;
  height: min(82vh, 780px); min-height: 560px;
  margin-top: 200px; /* 고정 내비 아래 (v45 로고 확대분 반영) */
  background: var(--bg);
  /* v49: 배너 최상단 극소 픽셀만 nav 배경으로 자연스럽게 페이드 (콘텐츠 침범 없음).
     3px 안에서만 alpha 전환되므로 실제 배너 콘텐츠(포스터/텍스트)에는 영향 없이 경계선만 제거 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 3px, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 3px, #000 100%);
}
.banner-track { position: absolute; inset: 0; }
.banner-slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
  color: inherit; text-decoration: none;
}
.banner-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 22%;
  filter: blur(26px) brightness(.55) saturate(.9);
  transform: scale(1.12);
}
/* v50: 포스터 색이 밝은 공연(예: 북유럽의 밤)도 배경이 어둡게 통일되도록
   블러 배경 위에 반투명 검은 덧막을 한 겹 깐다. (어두운 테마 전용)
   theme-a(라이트 테마)는 원래 밝은 디자인이므로 아래에서 덧막을 끈다. */
.banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .45);
}
body.theme-a .banner-bg::after { background: none; }
body.theme-a .banner-bg { filter: blur(26px) brightness(.9) saturate(.85); }
.banner-inner {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 60px; align-items: center;
}
.banner-eyebrow {
  font-size: .85rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; font-weight: 500;
}
.banner-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.25;
  color: #fff; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
body.theme-a .banner-title { color: var(--ink); text-shadow: none; }
.banner-meta {
  font-family: var(--font-serif); font-size: 1.35rem;
  color: rgba(255,255,255,.92); margin-bottom: 8px;
}
.banner-venue { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 34px; }
body.theme-a .banner-meta { color: var(--ink); }
body.theme-a .banner-venue { color: var(--muted); }
.banner-cta {
  display: inline-block; padding: 14px 32px;
  border: 1px solid rgba(255,255,255,.6); color: #fff;
  font-size: .95rem; letter-spacing: .1em; transition: all .3s;
}
.banner-slide:hover .banner-cta { background: #fff; color: #111; }
body.theme-a .banner-cta { border-color: var(--ink); color: var(--ink); }
body.theme-a .banner-slide:hover .banner-cta { background: var(--ink); color: var(--bg); }
.banner-poster { display: flex; justify-content: center; }
.banner-poster img {
  height: min(62vh, 560px); width: auto; max-width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: cover;
}
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(0,0,0,.32); color: #fff; border: 1px solid rgba(255,255,255,.35);
  font-size: 1.6rem; cursor: pointer; transition: background .3s;
  display: flex; align-items: center; justify-content: center;
}
.banner-arrow:hover { background: rgba(0,0,0,.55); }
.banner-prev { left: 26px; }
.banner-next { right: 26px; }
.banner-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 12px;
}
.banner-dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8); background: transparent;
  cursor: pointer; padding: 0; transition: background .3s;
}
.banner-dot.active { background: #fff; }
@media (max-width: 960px) {
  .banner { height: auto; min-height: 0; margin-top: 120px; padding: 0 0 84px; }
  .banner-inner { display: flex; flex-direction: column; gap: 30px; text-align: center; }
  .banner-poster { order: -1; width: 100%; }
  .banner-poster img { height: min(58vh, 560px); width: auto; max-width: 100%; margin: 0 auto; display: block; box-shadow: 0 22px 60px rgba(0,0,0,.55); }
  .banner-arrow { display: none !important; }
  .banner-title { font-size: 1.7rem; }
  .banner-eyebrow { margin-bottom: 14px; }
  .banner-meta { font-size: 1.15rem; }
}

/* ── v30/v46: 서브페이지 레이아웃 (About / Services)
   - 상단 패딩은 하단 v37-fix 블록에서 최종 값(240/200)으로 적용되므로
     여기서는 본문 폭·간격만 지정 ── */
.subpage-hero .section-title { margin-bottom: 34px; }
.subpage-hero .service-list { margin-top: 20px; }
.about-lead {
  max-width: 820px; font-size: 1.18rem; line-height: 1.95;
  color: var(--ink); white-space: pre-line;
}
/* About: 소개글과 가치 블록 사이 구분선·간격 */
.values-section { position: relative; padding-top: 10px; padding-bottom: 96px; }
.values-section::before {
  content: ''; display: block; max-width: 100%; height: 1px;
  background: var(--hairline); margin: 0 auto 64px;
}
/* 가치 관계도(vm)와 카드열(value) 간 간격 */
.values-map { margin-bottom: 72px; }
@media (max-width: 960px) {
  .about-lead { font-size: 1.05rem; line-height: 1.85; }
  .values-map { margin-bottom: 48px; }
  .values-section { padding-bottom: 64px; }
}

/* ── v31/v46: 뉴스 레이아웃 (헤더 겹침 해소) ── */
.news-list, #newsList, #newsFullList { width: 100%; max-width: none !important; padding-left: 0; }
/* 뉴스 상세 본문: 읽기 폭 확보 + 문단 나눔 표시 */
.news-detail-card { max-width: 880px; }
.news-detail-card .detail-title { line-height: 1.45; word-break: keep-all; }
.news-detail-body { white-space: pre-line; line-height: 1.95; font-size: 1.1rem; }

/* 서브페이지(뉴스·공연 상세) 상단이 고정 헤더에 가려지지 않도록 */
.detail-section, .news-page-section { padding-top: 220px; }
#newsDetail { padding-top: 0; }


@media (max-width: 960px) {
  .news-link { gap: 18px !important; }
  .news-date { flex: 0 0 100px; }
  section:has(.artist-back) { padding-top: 160px !important; }
}

/* ── About 가치 카드(G·I·L) 3열 그리드 (v44) ── */
.values-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 48px !important;
}
.values-row .value-item {
  text-align: left !important;
  padding: 0 0 8px !important;
  border-right: none !important;
  border-top: none !important;
}
.values-row .value-item + .value-item {
  border-left: 1px solid var(--hairline);
  padding-left: 48px !important;
}
.values-row .value-role { display: none !important; }
@media (max-width: 960px) {
  .values-row { grid-template-columns: 1fr !important; row-gap: 34px !important; }
  .values-row .value-item + .value-item {
    border-left: none; border-top: 1px solid var(--hairline); padding-left: 0 !important; padding-top: 34px !important;
  }
}

/* ── 공연 프로그램 (v42): 전체 열은 중앙 + 곡명 x축 일치 + 빠르기말 들여쓰기 ── */
#pfProgram { max-width: 640px; margin: 44px auto 0; }
#pfProgram + *, .program-heading { text-align: center; }
.work-composer { text-align: center; }
.work-block { margin: 0 0 34px; text-align: left; }
.work-block .work-title, .work-block .work-title-en { text-align: left; }
.work-movements { list-style: none; padding: 0; margin: 10px 0 0; display: block; }
.work-movements li { padding-left: 1.5em; }
@media (max-width: 800px) {
  #pfProgram { max-width: 92%; }
}


/* ── 뉴스 리스트 반응형 (통합본, v36) ── */
@media (max-width: 960px) {
  .news-link { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .news-link { grid-template-columns: 1fr; gap: 10px; }
  .news-date { padding-top: 0; }
}


/* ── v37: 모바일 아티스트 페이지 가운데 정렬 + 음반 버튼 한 줄 ── */
@media (max-width: 960px) {
  .recordings-section .rec-card { margin: 0 auto !important; max-width: 560px; text-align: center; }
  .recordings-section .rec-links { justify-content: center; flex-wrap: nowrap; gap: 6px; }
  .recordings-section .rec-listen-label { display: none; }
  .recordings-section .listen-btn { padding: 10px 10px; font-size: .84rem; white-space: nowrap; letter-spacing: 0; }
  .recordings-section .profile-heading,
  .media-section .profile-heading,
  .profile-section .profile-heading,
  .gallery-section .profile-heading { text-align: center !important; }
  .profile-section .profile-heading::after,
  .recordings-section .profile-heading::after,
  .media-section .profile-heading::after,
  .gallery-section .profile-heading::after { margin-left: auto; margin-right: auto; }
  .profile-section .profile-inner { margin: 0 auto !important; text-align: center; }
  .profile-actions { justify-content: center; }
  .profile-sns { justify-content: center; }
  .profile-text { text-align: left; }
  .artist-hero-grid { justify-items: center; text-align: center; }
  .artist-hero-sns { justify-content: center; }
  .artist-hero-credit { text-align: center; }
  .artist-hero-photo { margin: 0 auto; }
}
/* ── v37: 관리자 페이지 아티스트 탭 전용 ── */
.admin-artist-photo { width: 120px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid #ddd; border-radius: 6px; display: block; margin-bottom: 8px; }

/* ── v37-fix / v46: About·Services 서브페이지 상단 여백 (헤더 겹침 해소 · 단일 우선 규칙) ── */
.section.subpage-hero { padding-top: 240px !important; padding-bottom: 64px !important; }
@media (max-width: 960px) {
  .section.subpage-hero { padding-top: 200px !important; }
}

/* ── v37-fix / v46: 모바일 음반 버튼 한 줄 확정 (두 규칙 통합) ── */
@media (max-width: 960px) {
  .recordings-section .rec-links {
    display: flex !important; flex-wrap: nowrap !important;
    justify-content: center !important; gap: 6px !important;
  }
  .recordings-section .rec-links .listen-btn {
    padding: 9px 8px !important; font-size: .8rem !important;
    white-space: nowrap !important; letter-spacing: 0 !important;
  }
}



/* ── v39: 모바일 배너 — 포스터 대형 + 상하 잘림 없음 ── */
@media (max-width: 960px) {
  /* min-height 대신 height 고정 → 배너가 정확히 첫 화면에 꽉 차도록 유지
     (100svh 사용: iOS Safari 주소창 제외 실제 뷰포트 높이 기준)
     scroll-behavior:smooth 환경에서 배너가 화면을 꽉 채우지 않으면
     브라우저가 다음 섹션으로 자동 스크롤하는 현상 방지 */
  .banner { height: calc(100svh - 130px); height: calc(100vh - 130px); min-height: 480px; margin-top: 130px; padding: 0; overflow: hidden; }
  .banner-inner { display: flex; flex-direction: column; justify-content: center; gap: 14px; height: 100%; text-align: center; }
  .banner-poster { order: -1; }
  .banner-poster img { height: min(40vh, 430px); width: auto; max-width: 84%; margin: 0 auto; display: block; }
  .banner-eyebrow { margin-bottom: 4px; }
  .banner-title { font-size: 1.4rem; margin-bottom: 6px; }
  .banner-meta { font-size: 1.02rem; margin-bottom: 2px; }
  .banner-venue { font-size: .92rem; margin-bottom: 12px; }
  .banner-cta { padding: 11px 26px; font-size: .9rem; }
  .banner-dots { bottom: 16px; }
}

/* ── v38: 모바일 아티스트 페이지 사용 폭 확장 ── */
@media (max-width: 960px) {
  .press-section .container, .recordings-section .container, .media-section .container,
  .profile-section .container, .gallery-section .container { padding: 0 20px; }
  .press-quote { max-width: none; }
  .recordings-section .rec-card { max-width: 640px; }
}

/* (v39로 통합) */


/* ── v40: 모바일 아티스트 히어로 2열 광폭 (사진+이름 나란히, 화면 폭 최대 사용) ── */
@media (max-width: 960px) {
  .artist-hero .container { padding: 0 20px; }
  .artist-hero-grid { grid-template-columns: minmax(0,42%) minmax(0,1fr) !important; gap: 18px; align-items: center; }
  .artist-hero-photo { max-width: none; margin: 0; }
  .artist-hero-name { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .artist-hero-sub { font-size: 1rem; }
  .artist-hero-sns { justify-content: flex-start; margin-top: 18px; gap: 10px; }
  .artist-hero-sns .sns-icon { width: 44px; height: 44px; }
  .artist-hero-sns .sns-icon svg { width: 20px; height: 20px; }
  .artist-hero { padding: 210px 0 60px; } /* v48: nav 아래 여백 확보 */
}


/* ── v40: 모바일 갤러리 사진칸 확대 (인물 상단 잘림 방지) ── */
@media (max-width: 960px) {
  .gal-main { aspect-ratio: 4/3 !important; }
  .gal-main img { object-position: center 20%; }
}
