/* 제작: Claude Opus 5.5 (Anthropic), 2026-09-25 */
/* 샛별 — 색 토큰
   라이트: 26-1 포스터의 구겨진 종이 + 옅은 노랑
   다크: 26-2 포스터의 먹색 밤하늘 + 금빛 별 */
:root {
  color-scheme: light;
  --bg: #f1efe8;
  --bg-alt: #e8e5db;
  --surface: #faf8f2;
  --ink: #23211d;
  --muted: #58534a;
  --line: #d3cec1;
  --accent: #7a5c1e;          /* 본문용 금갈색: 배경 대비 6:1 이상 */
  --accent-strong: #5e4614;
  --accent-soft: #f2e2a8;     /* 포스터의 옅은 노랑 */
  --gold: #b88f3d;            /* 장식 전용 */
  --blob: #f3dfa0;
  --on-accent: #fffaf0;
  --spark: #c89c3e;
  --sky-line: #9c9481;
  --paper-opacity: .55;
  --shadow: 0 1px 0 rgba(0,0,0,.03), 0 10px 30px rgba(60, 48, 20, .08);
  --radius: 14px;
  --font-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-hand: "Gaegu", "IBM Plex Sans KR", cursive;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #22211f;
    --bg-alt: #2b2a27;
    --surface: #312f2b;
    --ink: #f1ece1;
    --muted: #c3bbab;
    --line: #4a463f;
    --accent: #e2c27f;
    --accent-strong: #f0d69c;
    --accent-soft: #4a3e25;
    --gold: #8a6d3b;
    --blob: #6b5530;
    --on-accent: #22211f;
    --spark: #d9b56a;
    --sky-line: #8b8577;
    --paper-opacity: .12;
    --shadow: 0 1px 0 rgba(255,255,255,.03), 0 12px 32px rgba(0,0,0,.35);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #22211f;
  --bg-alt: #2b2a27;
  --surface: #312f2b;
  --ink: #f1ece1;
  --muted: #c3bbab;
  --line: #4a463f;
  --accent: #e2c27f;
  --accent-strong: #f0d69c;
  --accent-soft: #4a3e25;
  --gold: #8a6d3b;
  --blob: #6b5530;
  --on-accent: #22211f;
  --spark: #d9b56a;
  --sky-line: #8b8577;
  --paper-opacity: .12;
  --shadow: 0 1px 0 rgba(255,255,255,.03), 0 12px 32px rgba(0,0,0,.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

/* 구겨진 종이 질감: 인라인 SVG 노이즈 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: var(--paper-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='3' seed='7'/><feDiffuseLighting lighting-color='%23fff' surfaceScale='2.2'><feDistantLight azimuth='45' elevation='58'/></feDiffuseLighting></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: multiply;
}

img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.hand { font-family: var(--font-hand); font-weight: 700; }

.placeholder {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .92em;
  color: var(--muted);
  background: var(--accent-soft);
  padding: 0 .35em;
  border-radius: 4px;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand-star { width: 22px; height: 22px; fill: var(--spark); }
.brand-name { font-family: var(--font-hand); font-weight: 700; font-size: 1.75rem; line-height: 1; }

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 2px;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.site-nav a[aria-current="true"] {
  color: var(--ink);
  background: var(--accent-soft);
  font-weight: 700;
}

.theme-toggle, .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle[aria-pressed="true"] .icon-moon { display: none; }
.theme-toggle[aria-pressed="true"] .icon-sun { display: block; }

.menu-toggle { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; order: 2; }
  .theme-toggle { order: 3; }
  .theme-label { display: none; }
  .theme-toggle { padding: 0 11px; }
  .site-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    width: min(1120px, 100% - 32px);
    margin: 0 auto;
    padding: 8px 0 14px;
  }
  .site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  padding: 72px 0 96px;
  isolation: isolate;
}
.hero-sky {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero-sky .blob { fill: var(--blob); opacity: .75; }
.hero-sky .constellation polyline { fill: none; stroke: var(--sky-line); stroke-width: 1.2; opacity: .8; }
.hero-sky .spark { fill: var(--ink); opacity: .55; }
.hero-sky .spark.gold { fill: var(--spark); opacity: 1; }
.hero-sky .dots circle { fill: var(--spark); opacity: .7; }

.hero-inner {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  text-align: center;
}
.hero-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}
.hero-title {
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font-size: clamp(5.5rem, 22vw, 11rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.title-star {
  width: .42em; height: .42em;
  margin-top: .06em;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linejoin: round;
  transform: rotate(-8deg);
}
.hero-lead {
  max-width: 34em;
  margin: 18px auto 28px;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--ink);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; background: var(--ink); color: var(--bg); }
.btn-small:hover { color: var(--bg); background: var(--accent-strong); }

.hero-facts {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-facts li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
}
.fact-k { color: var(--muted); }
.fact-v { font-weight: 600; }

.hero-guitar {
  position: absolute;
  right: -20px; bottom: 18px;
  width: min(360px, 60vw);
  fill: none;
  stroke: var(--sky-line);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
  transform: rotate(-6deg);
  z-index: -1;
}

/* ---------- 섹션 공통 ---------- */
.section { padding: 88px 0; }
.section-alt { background: color-mix(in srgb, var(--bg-alt) 80%, transparent); }
.section-head { margin-bottom: 36px; }
.eyebrow {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.section-desc { margin: 10px 0 0; color: var(--muted); max-width: 44em; }
.sub-title {
  margin: 56px 0 18px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sub-title::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--spark);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  flex: none;
}

/* ---------- 소개 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin: 0 0 16px; font-size: 1.05rem; }
.about-text strong { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 30px; top: 12px; bottom: 12px;
  border-left: 1.5px dashed var(--sky-line);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 10px 0;
}
.tl-year {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  padding: 2px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}
.tl-text { color: var(--ink); }

.session-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.session-card {
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.session-card svg {
  width: 42px; height: 42px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.session-card svg .fill { fill: var(--accent); stroke: none; }
.session-card h4 { margin: 10px 0 6px; font-size: 1.1rem; }
.session-card h4 span { font-family: var(--font-hand); color: var(--muted); font-weight: 400; font-size: 1.05rem; margin-left: 4px; }
.session-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- 활동 ---------- */
.activity-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: act;
}
.activity-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: act;
}
.activity-card::after {
  content: counter(act, decimal-leading-zero);
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.act-when {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
}
.activity-card h3 { margin: 12px 0 6px; font-size: 1.12rem; line-height: 1.4; padding-right: 28px; }
.activity-card p { margin: 0 0 8px; font-size: .95rem; }
.act-note { color: var(--muted); font-size: .88rem !important; margin: 0 !important; border-top: 1px dashed var(--line); padding-top: 8px; }

/* ---------- 공연 ---------- */
.next-show {
  position: relative;
  padding: 30px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}
.next-show::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
}
.next-show > * { position: relative; z-index: 1; }
.next-show-badge {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.next-show h3 { margin: 12px 0 8px; font-size: clamp(1.4rem, 3.6vw, 1.9rem); }
.next-show p { margin: 0 0 18px; max-width: 40em; opacity: .92; }
.next-show-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.next-show-meta div {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent);
  border-radius: 10px;
}
.next-show-meta dt { font-size: .85rem; opacity: .85; }
.next-show-meta dd { margin: 2px 0 0; }
.next-show .placeholder { background: color-mix(in srgb, var(--bg) 16%, transparent); color: var(--bg); }
.next-show .btn-small { background: var(--bg); color: var(--ink); }
.next-show .btn-small:hover { background: var(--accent-soft); color: var(--ink); }

.setlist-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tablist {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tablist [role="tab"] {
  flex: 1 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
}
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--accent);
}
.tabpanel { padding: 24px 26px 28px; }
.show-meta { margin: 0 0 4px; font-weight: 700; font-size: 1.15rem; }
.show-sub { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.songs {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 40px;
  counter-reset: song;
}
.songs li {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 2.2em 1fr;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.songs li.song::before {
  counter-increment: song;
  content: counter(song, decimal-leading-zero);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1.5;
}
.song-title { font-weight: 600; }
.tentative {                     /* 확정 전 정보 표시: 추측을 사실처럼 보이지 않게 */
  display: inline-block;
  margin-left: 4px;
  padding: 0 7px;
  border: 1px dashed currentColor;
  border-radius: 999px;
  font-size: .78em;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: .08em;
  opacity: .85;
}
.songs-more { display: none; }   /* 휴대폰(600px 이하)에서만 보인다 */
.act-nav { display: none; }      /* 활동 카드 넘기기: 휴대폰에서만 */
.song-artist { color: var(--muted); }
.songs li.intermission {
  grid-template-columns: 1fr;
  text-align: center;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--muted);
  border-bottom-style: solid;
}

.past-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.past-list li {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.past-list time { font-weight: 700; font-variant-numeric: tabular-nums; }
.past-name { font-weight: 500; }
.past-place { color: var(--muted); font-size: .95rem; }

/* ---------- 세션 편성 ---------- */
.semester-picker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.semester-picker legend {
  float: left;
  padding: 0 10px 0 12px;
  line-height: 44px;
  color: var(--muted);
  font-size: .9rem;
}
.semester-picker label { position: relative; }
.semester-picker input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.semester-picker span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
}
.semester-picker input:checked + span { background: var(--accent); color: var(--on-accent); }
.semester-picker input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.semester-picker label:hover span { color: var(--ink); }
.semester-picker input:checked + span:hover, .semester-picker label:hover input:checked + span { color: var(--on-accent); }

.roster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.roster-card {
  padding: 18px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}
.roster-card h3 {
  margin: 0 0 4px;
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--accent);
}
.roster-card .count { margin: 0 0 10px; font-size: .85rem; color: var(--muted); }
.roster-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.roster-card li {
  padding: 2px 10px;
  background: var(--bg-alt);
  border-radius: 999px;
  font-size: .92rem;
}
.roster-note { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- 모집 ---------- */
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.recruit-card {
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.recruit-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.recruit-card p { margin: 0 0 10px; }
.recruit-card .big { display: inline-block; font-size: 1.05rem; margin-bottom: 12px; }
.muted-note { color: var(--muted); font-size: .92rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .45em;
  width: 13px; height: 13px;
  background: var(--spark);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.check-list li.placeholder { display: table; padding-left: .35em; margin-left: 26px; }
.check-list li.placeholder::before { left: -24px; }

.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 20px;
  border: 1.5px dashed var(--sky-line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.3rem;
}
.steps h4 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .95rem; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details[open] summary { border-bottom: 1px dashed var(--line); border-radius: 12px 12px 0 0; }
.faq details p { margin: 0; padding: 14px 20px 18px; color: var(--ink); }

/* ---------- 사진 (인스타그램 26-1·26-2 게시물) ---------- */
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* 흐르는 사진 띠: 같은 줄을 두 번 이어 붙이고 script.js 가 왼쪽으로 흘린다 */
.marquee { --m-h: 280px; --m-gap: 16px; position: relative; }
#activities { overflow-x: clip; }   /* 100vw 가 스크롤바 폭만큼 넘치는 것을 섹션 끝에서 자른다 */
.marquee-viewport {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);   /* 본문 폭을 벗어나 화면 끝에서 끝까지 (가로 스크롤은 body 가 막는다) */
  padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee-track {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  width: max-content;
  will-change: transform;
}

.m-item { flex: none; padding-right: var(--m-gap); }   /* gap 대신 padding: 줄 절반 길이가 딱 한 바퀴가 된다 */
.m-item figure {
  padding: 7px 7px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.m-item img {
  height: var(--m-h);
  width: auto;
  max-width: none;
  border-radius: 9px;
}
.m-item figcaption { margin: 8px 4px 0; font-size: .85rem; white-space: nowrap; }

.marquee-viewport:focus-visible { outline-offset: -3px; }

.m-arrow {
  position: absolute;
  top: calc(6px + var(--m-h) / 2);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-top: -24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.m-arrow:hover { border-color: var(--accent); transform: scale(1.06); }
.m-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-prev { left: calc(50% - 50vw + 16px); }   /* 본문 폭 기준에서 화면 끝으로 */
.m-next { right: calc(50% - 50vw + 16px); }

.setlist-feature {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.poster img, .lineup-poster img, .recruit-poster img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.poster { position: sticky; top: 84px; }

.roster-wrap {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.roster-wrap .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lineup-poster figure[hidden] { display: none; }

.recruit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recruit-poster figcaption { text-align: center; }

@media (max-width: 1080px) {
  .marquee { --m-h: 240px; }
  .recruit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster-wrap .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .setlist-feature, .roster-wrap { grid-template-columns: 1fr; }
  .poster { position: static; max-width: 320px; }
  .lineup-poster { max-width: 320px; }
  .roster-wrap .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .marquee { --m-h: 200px; --m-gap: 12px; }
  .m-arrow { width: 40px; height: 40px; margin-top: -20px; }
  .recruit-grid { grid-template-columns: 1fr; }
  .recruit-poster { max-width: 320px; }
  .roster-wrap .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .roster-wrap .roster { grid-template-columns: 1fr; }
}

/* ---------- 접는 영역 (2025년 이전 기록) ---------- */
.year-title { margin: 0 0 8px; font-size: 1.15rem; }
.fold {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.fold-wide { margin-top: 16px; background: transparent; }
.fold summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 12px;
}
.fold summary:hover { color: var(--ink); }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px);
}
.fold[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.fold[open] summary { border-bottom: 1px dashed var(--line); border-radius: 12px 12px 0 0; }
.fold-list { list-style: none; margin: 0; padding: 12px 18px 16px; }
.fold-list li { padding: 5px 0; font-size: .95rem; }
.fold-list strong { display: inline-block; width: 3.4em; color: var(--accent); }
.fold-wide > .setlist-box { margin: 14px; box-shadow: none; }
.fold-wide > .past-list { margin: 0 14px 6px; border-top: 0; }
.past-date { font-weight: 700; color: var(--accent); }

/* ---------- 연락 ---------- */
.contact-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-card {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
a.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.contact-card svg {
  width: 30px; height: 30px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.contact-card svg .fill { fill: var(--accent); stroke: none; }
.contact-k { font-size: .88rem; color: var(--muted); }
.contact-v { font-weight: 700; }

/* ---------- 푸터 ---------- */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-brand { margin: 0; font-weight: 600; }
.footer-brand .hand { font-size: 1.6rem; margin-right: 6px; }
.footer-note { margin: 0; color: var(--muted); }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .session-grid { grid-template-columns: repeat(3, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .songs { columns: 1; }
  .past-list li { grid-template-columns: 110px 1fr; }
  .past-place { grid-column: 2; margin-top: -12px; }
  .br-wide { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 80px; min-height: auto; }
  .hero-facts li { font-size: .88rem; padding: 6px 12px; }
  .session-grid { grid-template-columns: repeat(2, 1fr); }
  .session-card:last-child { grid-column: 1 / -1; }
  .activity-grid { grid-template-columns: 1fr; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .next-show { padding: 24px 20px; }
  .next-show-meta { grid-template-columns: 1fr; }
  .tabpanel { padding: 20px 18px 22px; }
  .past-list li { grid-template-columns: 1fr; gap: 2px; }
  .past-place { grid-column: auto; margin-top: 0; }
  .semester-picker { border-radius: 18px; }
  .semester-picker legend { float: none; width: 100%; line-height: 1.6; padding: 4px 12px; }
  .semester-picker span { padding: 0 18px; }
}

@media (max-width: 400px) {
  .roster { grid-template-columns: 1fr; }
}

/* ---------- 휴대폰 전용 정리 ----------
   데스크톱에서 옆으로 놓이던 것이 휴대폰에서 전부 세로로 쌓여 페이지가 너무 길어졌다.
   카드는 옆으로 밀어 보는 줄로, 목록은 촘촘한 행으로, 본문과 겹치는 포스터는 숨긴다. */
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 22px; }
  .sub-title { margin: 36px 0 14px; font-size: 1.15rem; }
  .hero { padding: 40px 0 64px; }
  .hero-facts { margin-top: 28px; }

  /* 소개 > 세션: 아이콘·제목을 한 줄로, 설명은 작게 */
  .session-card { padding: 14px 14px 16px; }
  .session-card svg { width: 30px; height: 30px; }
  .session-card h4 { margin: 6px 0 4px; font-size: 1rem; }
  .session-card p { font-size: .86rem; line-height: 1.55; }

  /* 활동: 옆으로 밀어 보는 한 줄. 다음 카드가 살짝 보여 넘길 수 있음을 알린다 */
  .activity-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding: 4px 16px 14px;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .activity-grid::-webkit-scrollbar { display: none; }
  .activity-card { flex: 0 0 82%; scroll-snap-align: start; }
  .act-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
  .act-btn {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
  }
  .act-btn:disabled { opacity: .35; cursor: default; }
  .act-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .act-count { min-width: 4.5em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }

  /* 공연: 다음 공연 정보는 한 줄씩, 세트리스트 포스터는 숨김(곡 목록이 바로 아래에 있다) */
  .next-show-meta { gap: 0; margin-bottom: 18px; }
  .next-show-meta div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
    border-radius: 0;
  }
  .next-show-meta dt { flex: none; width: 2.6em; }
  .setlist-feature .poster { display: none; }
  .songs li { padding: 6px 0; }
  .songs.is-collapsed li.song:nth-child(n+9) { display: none; }
  .songs-more {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-alt);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  /* 세션 편성: 편성표 원본 이미지는 숨기고(같은 이름이 아래 목록에 있다), 파트는 촘촘한 행으로 */
  .lineup-poster { display: none; }
  .roster-wrap .roster, .roster { grid-template-columns: 1fr; gap: 10px; }
  .roster-card { padding: 12px 14px 14px; border-top-width: 3px; }
  .roster-card h3 { display: inline; margin-right: 8px; }
  .roster-card .count { display: inline; }
  .roster-card ul { margin-top: 10px; gap: 5px; }
  .roster-card li { padding: 1px 9px; font-size: .88rem; }

  /* 모집: 포스터는 작게, 절차는 번호 옆에 글이 오는 행으로 */
  .recruit-poster { max-width: 220px; margin-inline: auto; }
  .recruit-card { padding: 18px 16px; }
  .steps { gap: 10px; }
  .steps li {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
    padding: 14px 14px 14px 12px;
  }
  .steps li::before { width: 32px; height: 32px; margin: 0; font-size: 1.1rem; grid-row: span 2; }
  .steps h4 { margin: 4px 0 4px; }
  .steps p { font-size: .9rem; }

  .faq summary { min-height: 50px; padding: 10px 16px; font-size: .95rem; }
  .faq details p { padding: 12px 16px 16px; font-size: .95rem; }

  /* 연락: 아이콘 옆에 글이 오는 행 */
  .contact-grid { gap: 10px; }
  .contact-card {
    grid-template-columns: 28px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 14px 16px;
  }
  .contact-card svg { width: 26px; height: 26px; margin: 0; grid-row: span 2; }
}
