/* ==========================================================================
   고려대학교 고전기타부 — site styles
   ========================================================================== */

:root {
  --crimson: #9e1b32;
  --crimson-deep: #7a1226;
  --crimson-soft: #f6e7ea;
  --wood: #a9773f;
  --wood-soft: #f3eadf;

  --bg: #faf7f2;
  --bg-alt: #f3eee6;
  --surface: #ffffff;
  --ink: #1f1a17;
  --ink-2: #4a423c;
  --muted: #7a7068;
  --line: #e6dfd4;
  --line-strong: #d4cabc;

  --shadow-sm: 0 1px 2px rgba(31, 26, 23, .06), 0 1px 1px rgba(31, 26, 23, .04);
  --shadow-md: 0 8px 24px -8px rgba(31, 26, 23, .18), 0 2px 6px rgba(31, 26, 23, .06);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  /* 제목용 서체 — 명조를 빼고 본문과 같은 고딕 스택 사용 (변수명은 호환을 위해 유지) */
  --font-serif: var(--font-sans);

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --crimson: #e2566d;
    --crimson-deep: #f07a8d;
    --crimson-soft: #3a1a21;
    --wood: #d2a36b;
    --wood-soft: #2e251b;
    --bg: #151213;
    --bg-alt: #1c1819;
    --surface: #211c1d;
    --ink: #efe8e1;
    --ink-2: #cfc6bd;
    --muted: #9c928a;
    --line: #342d2d;
    --line-strong: #463d3c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --crimson: #e2566d;
  --crimson-deep: #f07a8d;
  --crimson-soft: #3a1a21;
  --wood: #d2a36b;
  --wood-soft: #2e251b;
  --bg: #151213;
  --bg-alt: #1c1819;
  --surface: #211c1d;
  --ink: #efe8e1;
  --ink-2: #cfc6bd;
  --muted: #9c928a;
  --line: #342d2d;
  --line-strong: #463d3c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--crimson); }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--font-serif); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.over-hero:not(.scrolled) { background: transparent; color: #fff; }
.site-header.over-hero:not(.scrolled) .brand-sub { color: rgba(255,255,255,.75); }
.site-header.over-hero:not(.scrolled) .brand-logo { background: #fff; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .01em; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: inherit; }
.nav a[aria-current="page"] { color: var(--crimson); font-weight: 700; }
.over-hero:not(.scrolled) .nav a[aria-current="page"] { color: #fff; }
.over-hero:not(.scrolled) .nav a:hover { background: rgba(255,255,255,.14); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 0; background: transparent; border-radius: 999px; cursor: pointer;
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.over-hero:not(.scrolled) .icon-btn:hover { background: rgba(255,255,255,.14); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg); color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:hover { background: transparent; }
  .over-hero:not(.scrolled) .nav a[aria-current="page"] { color: var(--crimson); }
  .site-header.menu-open { background: var(--bg); color: var(--ink); }
  .site-header.menu-open .brand-sub { color: var(--muted); }
  .brand-sub { display: none; }
}

/* ---------- buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-deep); color: #fff; }
.btn-ghost { border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--crimson); color: var(--crimson); }
.btn-light { background: #fff; color: #1f1a17; }
.btn-light:hover { background: #f1ebe4; color: #1f1a17; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line);
  white-space: nowrap;
}
.badge[data-type="정기"] { background: var(--crimson-soft); color: var(--crimson); border-color: transparent; }
.badge[data-type="신입"] { background: #e8f1ea; color: #2f6b42; border-color: transparent; }
.badge[data-type="교우"] { background: var(--wood-soft); color: var(--wood); border-color: transparent; }
:root[data-theme="dark"] .badge[data-type="신입"] { background: #1b2c21; color: #86c79b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge[data-type="신입"] { background: #1b2c21; color: #86c79b; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .count { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 12px;
}
.section-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 640px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--crimson); white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; transition: transform .15s; }
.more-link:hover svg { transform: translateX(3px); }

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 400px at 90% -10%, var(--crimson-soft), transparent 60%),
    var(--bg);
}
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 52px); font-weight: 700; }
.page-hero p { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 680px; }
.page-hero p.archive-note { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--crimson); }

/* ---------- home hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 820px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background: #1a1414;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,12,12,.55) 0%, rgba(20,12,12,.1) 30%, rgba(20,12,12,.35) 60%, rgba(20,12,12,.88) 100%),
    linear-gradient(90deg, rgba(20,12,12,.55) 0%, rgba(20,12,12,0) 60%);
}
.hero .wrap { padding-bottom: clamp(48px, 8vw, 96px); }
.hero-quote { font-family: var(--font-serif); font-weight: 700; font-size: clamp(36px, 6.4vw, 76px); line-height: 1.18; letter-spacing: -0.03em; max-width: 900px; }
.hero-quote em { font-style: normal; color: #ffb3bf; }
.hero-cite { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.78); }
.hero-cite span { font-style: italic; font-family: var(--font-sans); }
.hero-lead { margin-top: 28px; font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,.92); max-width: 560px; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--surface); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--crimson); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .5em; margin-left: 2px; color: var(--ink-2); }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- intro split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); }
.split-media .mascot {
  position: absolute; right: -18px; bottom: -28px; width: 120px; height: 120px;
  border-radius: 50%; background: #fff; padding: 10px; box-shadow: var(--shadow-md);
}
.split-body p + p { margin-top: 14px; }
.split-body p { color: var(--ink-2); font-size: 17px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--crimson); margin-top: 2px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media .mascot { width: 88px; height: 88px; right: 8px; bottom: -24px; }
}

/* ---------- activity cards ---------- */
.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activity {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.activity img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .5s; }
.activity:hover img { transform: scale(1.04); }
.activity-media { overflow: hidden; }
.activity-body { padding: 20px 22px 24px; }
.activity-when { font-size: 13px; font-weight: 700; color: var(--wood); letter-spacing: .04em; }
.activity h3 { font-size: 19px; margin-top: 4px; }
.activity p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .activities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .activities { grid-template-columns: 1fr; } }

/* ---------- poster cards ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.poster-grid.lg { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .poster-grid.lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }

.poster-card { display: flex; flex-direction: column; gap: 12px; color: inherit; }
.poster-card:hover { color: inherit; }
.poster-frame {
  position: relative; aspect-ratio: 1 / 1.414; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.poster-card:hover .poster-frame { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.poster-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--bg-alt); }
.poster-frame .play {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.72); color: #fff; display: grid; place-items: center;
}
.poster-frame .play svg { width: 14px; height: 14px; margin-left: 2px; }
.poster-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; color: var(--ink);
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in srgb, var(--wood) 7%, transparent) 22px 23px),
    linear-gradient(160deg, var(--wood-soft), var(--bg-alt));
}
.poster-fallback .pf-year { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--wood); line-height: 1; }
.poster-fallback .pf-title { font-family: var(--font-serif); font-weight: 700; font-size: 17px; line-height: 1.35; }
.poster-meta { display: flex; flex-direction: column; gap: 6px; }
.poster-meta h3 { font-size: 16px; font-weight: 700; line-height: 1.4; }
.poster-meta .sub { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- notices ---------- */
.notice-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-link { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 4px; }
.notice-link .title { font-weight: 600; }
.notice-link time { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .notice-link { grid-template-columns: 1fr; gap: 6px; }
}

.join-card {
  border-radius: var(--radius); padding: clamp(28px, 4vw, 40px);
  background: var(--crimson); color: #fff; position: relative; overflow: hidden;
}
.join-card h3 { font-family: var(--font-serif); font-size: 26px; }
.join-card p { margin-top: 12px; color: rgba(255,255,255,.88); }
.join-card .btn { margin-top: 24px; }
.join-card .strings {
  position: absolute; right: -40px; top: -20px; bottom: -20px; width: 180px; opacity: .18;
  background: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 26px);
  transform: rotate(12deg);
}
.home-news { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .home-news { grid-template-columns: 1fr; } }

/* ---------- archive toolbar ---------- */
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.toolbar .wrap { display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; }
.search {
  position: relative; flex: 1 1 260px; max-width: 380px; margin-left: auto;
}
.search input {
  width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px;
}
.search input:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px var(--crimson-soft); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
@media (max-width: 640px) { .search { max-width: none; margin-left: 0; } }

.decade { margin-top: 56px; }
.decade:first-child { margin-top: 40px; }
.decade-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.decade-head h2 { font-family: var(--font-serif); font-size: 30px; }
.decade-head span { color: var(--muted); font-size: 14px; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }
.search-hit { margin-top: 2px; font-size: 12.5px; color: var(--crimson); line-height: 1.45; }

/* ---------- concert detail ---------- */
.concert { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding: 48px 0 96px; }
.concert-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.concert-aside .poster-frame { box-shadow: var(--shadow-md); }
.concert-aside .poster-frame:hover { transform: none; }
.concert-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-top: 12px; }
.facts { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.concert-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.video-embed { margin-top: 36px; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.program { margin-top: 48px; }
.program > h2 { font-family: var(--font-serif); font-size: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.program-group { padding: 22px 0; border-bottom: 1px solid var(--line); }
.performers { font-size: 14px; font-weight: 700; color: var(--crimson); letter-spacing: .01em; }
.performers.conductor::before { content: "♪ "; }
.pieces { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.piece { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; }
.piece-title { font-weight: 600; }
.piece-composer { color: var(--ink-2); font-size: 15px; text-align: right; font-style: italic; }
.movements { grid-column: 1 / -1; margin: 2px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; list-style: none; }
.movements li::before { content: "– "; }
@media (max-width: 640px) {
  .piece { grid-template-columns: 1fr; }
  .piece-composer { text-align: left; }
}
.roster { margin-top: 16px; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; display: grid; gap: 4px; }
.roster div { display: flex; gap: 10px; }
.roster b { min-width: 36px; color: var(--wood); }

.concert-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.concert-nav a {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
}
.concert-nav a:hover { border-color: var(--crimson); color: inherit; }
.concert-nav span { font-size: 13px; color: var(--muted); }
.concert-nav strong { font-weight: 600; }
.concert-nav .next { text-align: right; }
@media (max-width: 820px) {
  .concert { grid-template-columns: 1fr; padding-top: 32px; }
  .concert-aside { position: static; max-width: 340px; }
  .concert-nav { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.prose { max-width: 720px; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.85; }
.prose p + p { margin-top: 16px; }
.quote-block { padding: clamp(40px, 6vw, 72px) 0; text-align: center; }
.quote-block blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.25; }
.quote-block .en { margin-top: 10px; font-family: var(--font-sans); font-style: italic; color: var(--muted); font-size: 18px; }
.quote-block figcaption { margin-top: 20px; color: var(--ink-2); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.feature h3 { font-family: var(--font-serif); font-size: 26px; }
.feature .when { color: var(--wood); font-weight: 700; font-size: 14px; margin-bottom: 6px; display: block; letter-spacing: .04em; }
.feature p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.8; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; padding: 28px 0; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 10px 0; position: relative; }
.timeline li::after {
  content: ""; position: absolute; left: 65px; top: 20px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--crimson);
}
.timeline li.major::after { background: var(--crimson); }
.timeline .yr { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--crimson); font-variant-numeric: tabular-nums; }
.timeline ul { list-style: none; padding: 0; margin: 0; }
.timeline ul li { display: block; padding: 2px 0; }
.timeline ul li::after { display: none; }
.timeline .items { padding-left: 4px; padding-top: 3px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.info-card h4 { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.info-card p { margin-top: 8px; font-weight: 600; }
.info-card a { color: var(--crimson); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 10px; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }

.name-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.name-list li { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.name-list .n { font-weight: 700; }
.name-list .m { font-size: 13px; color: var(--muted); }

/* ---------- people ---------- */
.current { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person {
  padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.person .role { font-size: 13px; font-weight: 700; color: var(--crimson); letter-spacing: .06em; }
.person .name { font-family: var(--font-serif); font-size: 26px; font-weight: 700; margin-top: 6px; }
.person .dept { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .current { grid-template-columns: repeat(2, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.officers { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.officers th, .officers td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.officers thead th { position: sticky; top: 0; background: var(--bg-alt); font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.officers tbody tr:last-child td { border-bottom: 0; }
.officers tbody tr:hover { background: color-mix(in srgb, var(--crimson-soft) 45%, transparent); }
.officers .gen { font-weight: 700; color: var(--crimson); white-space: nowrap; font-variant-numeric: tabular-nums; }
.officers .yr { color: var(--muted); font-variant-numeric: tabular-nums; }
.officers .p { display: block; }
.officers .p small { color: var(--muted); margin-left: 4px; }

/* ---------- rules ---------- */
.rules-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
.rules-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.rules-toc h4 { font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.rules-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.rules-toc a { display: block; padding: 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); }
.rules-toc a:hover { color: var(--crimson); }
.rules-toc a.active { border-left-color: var(--crimson); color: var(--crimson); font-weight: 600; }
.revisions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rules-body { max-width: 760px; }
.rule-chapter { padding-top: 12px; }
.rule-chapter + .rule-chapter { margin-top: 36px; }
.rule-chapter h2 { font-family: var(--font-serif); font-size: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.rule-article { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-article h3 { font-size: 17px; margin-bottom: 10px; }
.rule-article .art-no { color: var(--crimson); margin-right: 4px; }
.rule-article p { color: var(--ink-2); }
.rule-clause { display: grid; grid-template-columns: 22px 1fr; gap: 0 4px; margin-top: 6px; }
.rule-clause .cl-no { color: var(--muted); }
.cl-tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--bg-alt); border-radius: 4px; padding: 0 6px; margin-right: 4px; }
.rule-items { margin: 6px 0 4px 26px; padding-left: 18px; color: var(--ink-2); }
.rule-items li { padding: 1px 0; }
@media (max-width: 860px) {
  .rules-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .rules-toc { position: static; }
  .rules-toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .rules-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin: 0; }
  .rules-toc a.active { border-color: var(--crimson); }
}

/* ---------- notices page ---------- */
.notice-page { padding: 40px 0 96px; max-width: 820px; }
.notice-item { border-bottom: 1px solid var(--line); }
.notice-item:first-child { border-top: 1px solid var(--line); }
.notice-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center;
  padding: 22px 4px;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary .title { font-weight: 600; font-size: 17px; }
.notice-item summary time { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.notice-item summary .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.notice-item[open] summary .chev { transform: rotate(180deg); }
.notice-body { padding: 4px 4px 28px; color: var(--ink-2); display: grid; gap: 12px; }
.notice-body h4 { color: var(--ink); font-size: 16px; margin-top: 8px; }
.notice-body ul { margin: 0; padding-left: 20px; }
.attachment { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); width: fit-content; font-weight: 500; }
.attachment svg { width: 18px; height: 18px; color: var(--crimson); }
@media (max-width: 560px) {
  .notice-item summary { grid-template-columns: 1fr auto; }
  .notice-item summary .badge { grid-column: 1; width: fit-content; }
  .notice-item summary time { grid-column: 1; grid-row: 3; }
  .notice-item summary .chev { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- footer ---------- */
.site-footer { background: #171213; color: #d9d0c8; padding: 64px 0 36px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; padding: 4px; }
.footer-brand strong { font-family: var(--font-serif); font-size: 19px; color: #fff; display: block; }
.footer-brand span { color: #9c928a; font-size: 12px; letter-spacing: .06em; }
.footer-addr { margin-top: 20px; line-height: 1.7; color: #b3a99f; }
.site-footer h4 { font-size: 12px; letter-spacing: .12em; color: #8d837b; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.social { display: flex; gap: 8px; align-items: center; }
.social svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2c2526; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8d837b; font-size: 13px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- 팜플렛 스캔 갤러리 (concert/<슬러그>/ 페이지) ---------- */
.pamphlet { margin-top: 48px; }
.scan-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; margin-top: 16px;
}
.scan-grid a {
  display: block; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.scan-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.scan-grid img { display: block; width: 100%; height: auto; }

/* ---------- 팜플렛 라이트박스 ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 12, 16, .93);
}
.lightbox img {
  max-width: calc(100vw - 128px); max-height: 90vh;
  border-radius: 6px; box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
  transition: opacity .15s;
}
.lightbox img.lb-loading { opacity: .7; }
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  transition: background .15s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .25); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-cap {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: 14px; letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .lightbox img { max-width: 100vw; max-height: 86vh; border-radius: 0; }
  .lb-prev, .lb-next { display: none; }   /* 모바일은 스와이프로 넘김 */
}

/* ---------- 아카이브 보기 전환 + 연도별 리스트 ---------- */
.view-toggle {
  display: flex; flex: none; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.view-toggle button {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 38px; padding: 0; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); transition: background .15s, color .15s;
}
.view-toggle button + button { border-left: 1px solid var(--line); }
.view-toggle button:hover { color: var(--ink); }
.view-toggle button[aria-pressed="true"] { background: var(--crimson-soft); color: var(--crimson); }
.view-toggle svg { width: 18px; height: 18px; }

.year-group {
  display: grid; grid-template-columns: 96px 1fr; gap: 8px 36px;
  padding: 26px 0 30px; border-top: 1px solid var(--line);
}
.year-group:first-child { border-top: 0; padding-top: 8px; }
.year-label { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.year-label h2 {
  margin: 0; font-family: var(--font-serif); font-size: 32px; line-height: 1;
  letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.year-label span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }
.year-rows { display: flex; flex-direction: column; }
.list-row {
  display: grid; grid-template-columns: 48px auto 1fr auto; gap: 14px;
  align-items: baseline; padding: 11px 14px; border-radius: 10px;
  color: inherit; text-decoration: none; transition: background .15s;
}
.list-row + .list-row { border-top: 1px solid var(--line); }
.list-row:hover { background: var(--bg-alt); }
.list-row:hover .lr-title { color: var(--crimson); }
.lr-date { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.list-row .badge { justify-self: start; }
.lr-title { font-weight: 600; transition: color .15s; }
.lr-play { margin-left: 7px; color: var(--crimson); white-space: nowrap; }
.lr-play svg { width: 11px; height: 11px; }
.lr-venue { color: var(--muted); font-size: 13px; text-align: right; white-space: nowrap; }
@media (max-width: 700px) {
  .year-group { grid-template-columns: 1fr; gap: 6px; padding: 20px 0 22px; }
  .year-label { position: static; display: flex; align-items: baseline; gap: 10px; }
  .year-label h2 { font-size: 24px; }
  .list-row { grid-template-columns: 44px auto 1fr; padding: 10px 8px; }
  .lr-venue { display: none; }
}

/* ---------- 곡별 공연 영상 ---------- */
.piece .pv { margin-top: 6px; grid-column: 1 / -1; }  /* 제목/작곡가 2단을 가로질러 전체 폭 */
.pv summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  list-style: none; font-size: 13px; color: var(--crimson);
  padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.pv summary::-webkit-details-marker { display: none; }
.pv summary:hover { background: var(--crimson-soft); border-color: transparent; }
.pv[open] summary { background: var(--crimson-soft); border-color: transparent; }
.pv summary svg { width: 11px; height: 11px; }
.pv-len { color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-box { margin: 10px 0 6px; }
.pv-box iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 12px; background: #000;
}
.pv-box > a { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* ---------- 연주회 재생목록 플레이어 ---------- */
.player[hidden] { display: none; }
.player { margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.player-grid {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.player-grid .video-embed { margin: 0; border-radius: 0; aspect-ratio: 16 / 9; min-width: 0; }

.tracklist { border-top: 1px solid var(--line); }
.tracklist-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.tl-eyebrow {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 3px;
}
.tracklist-head strong { display: block; font-size: 14.5px; line-height: 1.35; }
.tl-meta { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tracklist ol {
  list-style: none; margin: 0; padding: 6px; max-height: 380px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.tracklist ol::-webkit-scrollbar { width: 8px; }
.tracklist ol::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

.track {
  width: 100%; display: grid; grid-template-columns: 22px 64px minmax(0, 1fr) auto;
  gap: 10px; align-items: center; padding: 6px 8px; border: 0; border-radius: 10px;
  background: transparent; text-align: left; cursor: pointer; transition: background .15s;
}
.track:hover { background: var(--bg-alt); }
.track .tno { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.track .tn { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track .tp { display: none; width: 12px; height: 12px; color: var(--ink); }
.track:hover .tn { display: none; }
.track:hover .tp { display: block; }
.track .tthumb {
  width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px;
  background: var(--bg-alt); display: block;
}
.track .tt {
  font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.track .td { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; align-self: start; margin-top: 3px; }

/* 재생 중: 번호 자리에 이퀄라이저 */
.track .eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 2px; padding: 4px 0; }
.track .eq span { width: 3px; height: 60%; border-radius: 1px; background: var(--crimson); transform-origin: bottom; animation: tl-eq 1s ease-in-out infinite; }
.track .eq span:nth-child(2) { animation-delay: .25s; }
.track .eq span:nth-child(3) { animation-delay: .5s; }
@keyframes tl-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .track .eq span { animation: none; transform: scaleY(.7); } }
.track.playing { background: var(--crimson-soft); }
.track.playing .tt { color: var(--crimson); font-weight: 700; }
.track.playing .tn, .track.playing:hover .tp { display: none; }
.track.playing .eq { display: flex; }

