/* 클럽헤비 30년 아카이브 — 공통 스타일
   라이브클럽의 어둠 + 무대 조명 하나. 화려함보다 읽히는 것을 우선한다. */

:root {
  --bg: #0a0a0c;
  --bg-2: #121216;
  --bg-3: #1a1a20;
  --line: #2a2a32;
  --fg: #ece9e4;
  --fg-2: #a8a49c;
  --fg-3: #6e6a64;
  --hot: #ff3b30;      /* 무대 조명 */
  --warm: #ffb340;     /* 오래된 사진의 색 */
  --cool: #5ac8fa;
  --max: 1080px;
  --r: 10px;
  --mascot-red: #f1242f;
  --mascot-pink: #ff8fb3;
  --glass: rgba(18,18,22,.72);
  --glow-warm: 0 24px 80px rgba(255,179,64,.18);
  --glow-red: 0 20px 70px rgba(241,36,47,.22);
  --page-x: 20%;
  --page-y: 12%;
  --scroll-progress: 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
img { max-width: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
               "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--page-x) var(--page-y), rgba(241,36,47,.14), transparent 30%),
    radial-gradient(circle at calc(100% - var(--page-x)) 8%, rgba(255,179,64,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 34%);
  transform: translateZ(0);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .045;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
}
@keyframes mascotFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  25% { transform: translate3d(3px, -4px, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(1deg); }
  75% { transform: translate3d(-3px, -4px, 0) rotate(-7deg); }
}
@keyframes warmPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,179,64,0)); }
  50% { filter: drop-shadow(0 0 14px rgba(255,179,64,.28)); }
}

.nav,
header,
section,
footer {
  transition:
    opacity .34s ease,
    transform .34s cubic-bezier(.18, .72, .18, 1),
    filter .34s ease;
}
body[data-motion-mounted="1"]:not(.page-ready) .nav,
body[data-motion-mounted="1"]:not(.page-ready) header,
body[data-motion-mounted="1"]:not(.page-ready) section,
body[data-motion-mounted="1"]:not(.page-ready) footer {
  opacity: .001;
  transform: translate3d(0, 24px, 0);
  filter: blur(12px);
}
body.page-ready .nav,
body.page-ready header,
body.page-ready section,
body.page-ready footer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
body.is-leaving { pointer-events: none; }
body.is-leaving .nav,
body.is-leaving header,
body.is-leaving section,
body.is-leaving footer {
  opacity: .001;
  transform: translate3d(0, -12px, 0);
  filter: blur(10px);
  transition-duration: .22s;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--warm); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* ── 상단 내비 ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,12,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--hot), var(--warm), var(--mascot-pink));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  box-shadow: 0 0 16px rgba(255,179,64,.32);
  pointer-events: none;
}
.nav-in {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.nav-logo {
  font-weight: 800; letter-spacing: -.02em; margin-right: 12px;
  font-size: 15px; white-space: nowrap;
}
.nav-logo b { color: var(--hot); }
.nav a.item {
  padding: 6px 11px; border-radius: 99px; font-size: 14px; color: var(--fg-2);
  white-space: nowrap;
}
.nav a.item:hover { background: var(--bg-3); color: var(--fg); }
.nav a.item.on { background: var(--fg); color: var(--bg); font-weight: 700; }
.nav a.item,
.nav-logo {
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nav-logo:hover,
.nav a.item:hover {
  transform: translateY(-1px);
}
.nav a.item.on {
  box-shadow: 0 0 0 3px rgba(255,179,64,.08), 0 10px 26px rgba(0,0,0,.18);
}

/* ── 타이포 ─────────────────────────────────── */
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(21px, 3.4vw, 30px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
h1, h2 { text-wrap: balance; }
.lead { font-size: clamp(16px, 2.1vw, 19px); color: var(--fg-2); }
.muted { color: var(--fg-3); }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.hot { color: var(--hot); }
.warm { color: var(--warm); }

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; color: var(--fg-3);
  text-transform: uppercase; margin-bottom: 10px; font-weight: 700;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 9px 3px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot), var(--warm));
}

/* ── 카드/그리드 ───────────────────────────── */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
}

.card,
.panel,
.rank,
.show-card,
.story-card,
.year-card,
.spotlight-card {
  position: relative;
}
.card::before,
.panel::before,
.show-card::before,
.story-card::before,
.year-card::before,
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(255,179,64,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 42%);
  transition: opacity .22s ease;
}
.card:hover::before,
.panel:hover::before,
.show-card:hover::before,
.story-card:hover::before,
.year-card:hover::before,
.spotlight-card:hover::before {
  opacity: 1;
}
.card.link:hover { border-color: var(--warm); background: var(--bg-3); }

.stat { text-align: center; padding: 20px 12px; }
.stat .n {
  font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.04em;
  display: block; line-height: 1.1;
}
.stat .l { font-size: 13px; color: var(--fg-3); margin-top: 6px; display: block; }

/* ── 입력 ──────────────────────────────────── */
.field {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
input[type=text], input[type=date], input[type=search], select {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--fg);
  padding: 12px 14px; border-radius: var(--r); font-size: 16px; font-family: inherit;
  min-width: 0; flex: 1 1 220px;
}
input:focus, select:focus { outline: 2px solid var(--warm); outline-offset: 1px; }
button, .btn {
  background: var(--fg); color: var(--bg); border: 0; cursor: pointer;
  padding: 12px 20px; border-radius: var(--r); font-size: 15px; font-weight: 700;
  font-family: inherit; white-space: nowrap;
}
button:hover, .btn:hover { background: var(--warm); color: #000; }
.btn.ghost { background: transparent; color: var(--fg-2); border: 1px solid var(--line); }
.btn.ghost:hover { color: var(--fg); border-color: var(--warm); background: transparent; }

/* ── 태그/칩 ───────────────────────────────── */
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 13px; color: var(--fg-2); margin: 2px 3px 2px 0;
}
.chip.link:hover { border-color: var(--warm); color: var(--warm); }
.chip.hot { background: rgba(255,59,48,.13); border-color: rgba(255,59,48,.4); color: #ff8078; }

/* ── 30년 장부 — 연도별 밀도 막대(점 수천 개 대신 1줄) ────── */
.ledger {
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 2px);
  overflow: hidden;
  background: rgba(18,18,22,.55);
}
.ledger .yr {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(118px, auto);
  gap: 18px;
  align-items: center;
  padding: 11px 12px;
  line-height: 1.15;
  border-bottom: 1px solid var(--line);
  transition: background .12s, transform .12s;
}
.ledger .yr:last-child { border-bottom: 0; }
.ledger .yr:hover {
  background: linear-gradient(90deg, rgba(255,179,64,.08), rgba(255,255,255,.025));
}
.ledger .yr-num {
  font-size: 15px; font-weight: 800; color: var(--fg-2); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.ledger .yr:hover .yr-num { color: var(--fg); }
.ledger .yr-track {
  position: relative;
  display: block;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.ledger .yr-bar {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,179,64,.45), rgba(255,213,138,.78));
}
.ledger .yr-cnt {
  font-size: 13px; color: var(--fg-3); line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right;
}
.ledger .yr-cnt b { color: var(--fg); font-size: 15px; }
.ledger .yr.peak { background: rgba(255,179,64,.045); }
.ledger .yr.peak .yr-bar { background: linear-gradient(90deg, rgba(255,196,96,.68), rgba(255,230,170,.94)); }
.ledger .yr.low .yr-bar { background: linear-gradient(90deg, rgba(116,113,108,.34), rgba(168,164,156,.45)); }
.ledger .yr.now .yr-bar { background: linear-gradient(90deg, rgba(90,200,250,.42), rgba(149,222,255,.72)); }
.ledger .yr.now .yr-num { color: var(--cool); }
.ledger .yr.low .yr-num { color: var(--fg-3); }
.ledger-note { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; align-items:center; }
.legend-line {
  display:inline-block; width:28px; height:7px; border-radius:999px; margin-right:7px;
  vertical-align:middle; background:rgba(168,164,156,.45);
}
.legend-line.peak { background:linear-gradient(90deg, rgba(255,196,96,.68), rgba(255,230,170,.94)); }
.legend-line.low { background:linear-gradient(90deg, rgba(116,113,108,.34), rgba(168,164,156,.45)); }
@media (max-width: 700px) {
  .ledger .yr { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 10px 8px; }
  .ledger .yr-cnt { grid-column: 2; text-align: left; font-size: 12px; }
  .ledger .yr-cnt .muted { display: none; }
}

/* ── 밴드 목록 ─────────────────────────────── */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button {
  background: transparent; color: var(--fg-3); border: 0; border-bottom: 2px solid transparent;
  padding: 10px 14px; font-size: 15px; font-weight: 700; border-radius: 0;
}
.tabs button:hover { color: var(--fg); background: transparent; }
.tabs button.on { color: var(--fg); border-bottom-color: var(--hot); }
.rank { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px;
        align-items: baseline; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.rank:hover { background: var(--bg-2); }
.rank .no { color: var(--fg-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.rank .nm { font-weight: 600; }
.rank .yr { color: var(--fg-3); font-size: 12px; }
.rank .ct { color: var(--warm); font-variant-numeric: tabular-nums; font-weight: 700; }
.rank .bar2 { display: block; height: 3px; background: var(--hot); opacity:.5; border-radius: 2px; margin-top: 4px; }
.abc { margin-bottom: 26px; }
.abc h4 { color: var(--hot); font-size: 13px; letter-spacing: .1em; margin: 0 0 8px;
          border-bottom: 1px solid var(--line); padding-bottom: 6px; }

/* ── 결과 리스트 ───────────────────────────── */
.row {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
  align-items: baseline; flex-wrap: wrap;
}
.row .d { color: var(--fg-3); font-size: 13px; min-width: 92px; }
.row .m { flex: 1; min-width: 200px; }

.quote {
  border-left: 3px solid var(--hot); padding: 4px 0 4px 18px; margin: 18px 0;
  color: var(--fg); white-space: pre-wrap;
}
.byline { color: var(--fg-3); font-size: 13px; margin-top: 8px; }

.empty { color: var(--fg-3); padding: 36px 0; text-align: center; }

/* ── 사진 ──────────────────────────────────── */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.photos img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px;
  background: var(--bg-3); cursor: zoom-in; display: block;
}
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 72px 20px 22px;
  gap: 10px;
  background:
    radial-gradient(circle at var(--page-x) var(--page-y), rgba(255,179,64,.10), transparent 30%),
    rgba(0,0,0,.95);
  overscroll-behavior: contain;
}
.lightbox.on { display: flex; }
.lightbox img {
  max-width: min(94vw, 1440px);
  max-height: 74vh;
  object-fit: contain;
  user-select: none;
  cursor: zoom-in;
  transform: translate3d(var(--lb-x, 0%), var(--lb-y, 0%), 0) scale(var(--lb-scale, 1));
  transition: transform .28s cubic-bezier(.2,.72,.2,1), filter .2s ease;
  filter: drop-shadow(0 26px 70px rgba(0,0,0,.55));
}
.lightbox.inspecting img {
  cursor: crosshair;
  will-change: transform;
  transition-duration: .11s;
}
.lightbox.touch-inspecting img {
  cursor: grabbing;
  touch-action: none;
}
.lightbox .cap {
  position: relative;
  z-index: 2;
  max-width: min(760px, 92vw);
  color: var(--fg-2);
  font-size: 14px;
  text-align: center;
}
.lightbox .lb-close,
.lightbox .lb-reset {
  position: absolute;
  z-index: 3;
  top: 18px;
}
.lightbox .lb-close { right: 18px; }
.lightbox .lb-reset {
  left: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.lightbox.inspecting .lb-reset {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lb-hint {
  position: relative;
  z-index: 2;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(18,18,22,.68);
  color: var(--fg-3);
  font-size: 11px;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}
.touch-only { display: none; }

/* ── 푸터 ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--line); padding: 40px 0 60px;
  color: var(--fg-3); font-size: 13px;
}
footer a { color: var(--fg-2); text-decoration: underline; }

/* ── 접근성 ────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── 2026 공개본 UX 보강: 선명한 카드, 빠른 필터, 읽기 좋은 목록 ───── */
body {
  background:
    radial-gradient(circle at 18% -10%, rgba(255, 59, 48, .16), transparent 30vw),
    radial-gradient(circle at 82% 4%, rgba(255, 179, 64, .10), transparent 28vw),
    linear-gradient(180deg, #09090b 0%, #0d0d11 42%, #09090b 100%);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image:
    linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.nav {
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.nav-in { gap: 8px; }
.nav a.item {
  border: 1px solid transparent;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
}
.nav a.item:hover {
  border-color: rgba(255,179,64,.25);
  transform: translateY(-1px);
}
.nav a.item.on {
  box-shadow: 0 0 0 3px rgba(255,179,64,.12);
}

header .wrap {
  position: relative;
}
header .wrap::after {
  content: "";
  position: absolute;
  right: 20px;
  top: -16px;
  width: min(28vw, 260px);
  height: min(28vw, 260px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,179,64,.18), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

/* ── Home hero: insane-design식 토큰화 + Design-isms식 warm grain/card 계층 ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 10vw, 118px) 0 clamp(42px, 7vw, 78px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}
.hero::before {
  width: min(52vw, 680px);
  height: min(52vw, 680px);
  right: -18vw;
  top: -18vw;
  background:
    radial-gradient(circle at 42% 44%, rgba(255,143,179,.28), transparent 30%),
    radial-gradient(circle at 58% 56%, rgba(241,36,47,.22), transparent 42%),
    radial-gradient(circle, rgba(255,179,64,.12), transparent 70%);
}
.hero::after {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  left: -18vw;
  bottom: -24vw;
  background: radial-gradient(circle, rgba(90,200,250,.12), transparent 66%);
}
.hero .wrap::after { display: none; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, .94fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: .96;
  letter-spacing: -.075em;
  text-wrap: balance;
  text-shadow: 0 28px 80px rgba(0,0,0,.48);
}
.hero .lead {
  max-width: 690px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero .btn {
  box-shadow: var(--glow-warm);
}
.hero .btn:not(.ghost) {
  background:
    linear-gradient(135deg, #fff5df, var(--warm) 52%, #ff7b4a);
  color: #140d07;
}
.hero .btn.ghost {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.14);
}
.hero-art {
  position: relative;
  z-index: 1;
  min-height: clamp(310px, 38vw, 450px);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-orbit {
  position: relative;
  width: clamp(238px, 31vw, 368px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02)),
    radial-gradient(circle at 50% 38%, rgba(255,179,64,.22), transparent 42%),
    conic-gradient(from 230deg, rgba(255,143,179,.34), rgba(241,36,47,.50), rgba(255,179,64,.28), rgba(255,143,179,.34));
  box-shadow: var(--glow-red), inset 0 0 0 1px rgba(255,255,255,.10);
}
.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255,255,255,.20);
  border-radius: inherit;
}
.hero-orbit::after {
  content: "LIVE";
  position: absolute;
  right: 22px;
  top: 42px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(10,10,12,.70);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--warm);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero-mascot {
  width: clamp(132px, 18vw, 210px);
  height: auto;
  transform: rotate(-5deg);
  transform-origin: 50% 72%;
  filter: drop-shadow(0 22px 32px rgba(0,0,0,.42));
  animation: mascotFloat 4.2s ease-in-out -1.1s infinite;
}
.hero-orbit:hover .hero-mascot,
.hero-mascot:hover {
  animation-duration: 2.8s;
}
.hero-badge {
  position: absolute;
  z-index: 2;
  min-width: 164px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(12,12,16,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.hero-badge span {
  display: block;
  color: var(--fg-3);
  font-size: 12px;
}
.hero-badge b {
  display: block;
  margin-top: 2px;
  color: var(--fg);
  letter-spacing: -.02em;
}
.hero-badge.top { left: 0; top: 34px; }
.hero-badge.bottom { right: 0; bottom: 42px; }

.card {
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.card:hover {
  border-color: rgba(255,179,64,.35);
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(0,0,0,.22);
}
.card.link:hover { transform: translateY(-2px); }

.stat {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent),
    var(--bg-2);
}
.stat .n { color: var(--warm); }
.stat .l { color: var(--fg-2); }

.section-kicker {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-kicker .lead { margin: 0; max-width: 680px; }

.panel {
  background: rgba(18,18,22,.74);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.field.panel {
  align-items: stretch;
  margin-top: 20px;
}
.field.panel input,
.field.panel select {
  background-color: #0f0f13;
}
.result-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--fg-2);
  background: var(--bg-2);
  font-size: 13px;
}

:where(a, button, input, select):focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  background: rgba(255,255,255,.025);
}
.metric b {
  display: block;
  color: var(--warm);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.05;
}
.metric span {
  display: block;
  margin-top: 4px;
  color: var(--fg-3);
  font-size: 12px;
}

.tabs {
  flex-wrap: wrap;
  border-bottom: 0;
  gap: 8px;
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--fg-2);
  padding: 9px 14px;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
}
.tabs button:hover {
  background: var(--bg-3);
  border-color: rgba(255,179,64,.32);
  transform: translateY(-1px);
}
.tabs button.on {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.chip {
  transition: transform .15s, border-color .15s, color .15s, background .15s;
}
.chip.link:hover {
  background: rgba(255,179,64,.08);
  transform: translateY(-1px);
}

.ledger {
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 2px);
  overflow: hidden;
  background: rgba(18,18,22,.55);
}
.ledger .yr {
  grid-template-columns: 64px minmax(0, 1fr) minmax(118px, auto);
  padding: 10px 12px;
}
.ledger .yr:hover {
  background: linear-gradient(90deg, rgba(255,179,64,.10), rgba(255,255,255,.025));
}
.ledger .yr-num {
  font-size: 15px;
}
.ledger .dot {
  box-shadow: 0 0 10px rgba(255,59,48,.18);
}
.ledger .yr.peak {
  background: rgba(255,179,64,.06);
}
.ledger .yr-cnt {
  text-align: right;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.spotlight-card {
  display: block;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,179,64,.10), transparent 55%),
    var(--bg-2);
}
.spotlight-card:hover {
  border-color: var(--warm);
  transform: translateY(-2px);
}
.spotlight-card .name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.spotlight-card .meta {
  display: block;
  margin-top: 8px;
  color: var(--fg-2);
  font-size: 13px;
}
.spotlight-card .count {
  display: inline-block;
  margin-top: 14px;
  color: var(--warm);
  font-weight: 800;
}

.rank {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 13px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(18,18,22,.72);
}
.rank:hover {
  border-color: rgba(255,179,64,.35);
  transform: translateY(-1px);
}
.rank .nm {
  display: inline-block;
  max-width: 100%;
  font-size: 16px;
  letter-spacing: -.02em;
}
.rank .bar2 {
  height: 5px;
  background: linear-gradient(90deg, var(--hot), var(--warm));
  opacity: .78;
}
.rank .ct {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,179,64,.10);
}

.band-detail {
  display: grid;
  gap: 16px;
}
.band-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}
.show-scroll {
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}
.show-card,
.story-card,
.year-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(18,18,22,.68);
  padding: 16px;
  display: block;
}
.show-card + .show-card,
.story-card + .story-card { margin-top: 10px; }
.show-card:hover,
.story-card:hover,
.year-card:hover {
  border-color: rgba(255,179,64,.32);
  background: rgba(26,26,32,.86);
}
.show-date {
  color: var(--warm);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.show-title {
  margin: 6px 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.suggest {
  flex-basis: 100%;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 0;
}
.suggest:empty { display: none; }

.year-overview {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: start;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.month-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 800;
}
.mini-show {
  display: block;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mini-show:first-of-type { border-top: 0; }
.mini-show .bands {
  display: block;
  color: var(--fg);
  font-size: 13px;
  line-height: 1.55;
}
.mini-show .date {
  color: var(--fg-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.story-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(180px, .8fr) minmax(220px, 1.4fr) auto;
  gap: 8px;
}
.story-card {
  padding: 22px;
}
.story-card h3 {
  color: var(--warm);
  font-size: 20px;
}
.story-card .quote {
  margin: 12px 0;
  font-size: 17px;
  line-height: 1.85;
}
.story-card mark {
  background: rgba(255,179,64,.20);
  color: var(--fg);
  border-radius: 4px;
  padding: 0 3px;
}

.quote {
  border-left-color: var(--warm);
  background: linear-gradient(90deg, rgba(255,179,64,.08), transparent);
  border-radius: 0 var(--r) var(--r) 0;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.byline .chip { font-size: 12px; }
.story-card,
.show-card,
.rank {
  content-visibility: auto;
  contain-intrinsic-size: 180px;
}

.show-card { color: inherit; }

.photo-toolbar {
  position: sticky;
  top: 66px;
  z-index: 20;
  margin-bottom: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.photo-toolbar .tabs { margin-bottom: 12px; }
.photo-toolbar .field { align-items: center; }

.scroll-gallery {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}
.scroll-gallery img {
  border: 1px solid rgba(255,255,255,.06);
}
.photo-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 7px;
  overflow: hidden;
  background: var(--bg-3);
  color: inherit;
  cursor: zoom-in;
  aspect-ratio: 1;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease, filter .22s ease;
  border: 0;
}
.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,179,64,.20), transparent 34%),
    linear-gradient(180deg, transparent 42%, rgba(0,0,0,.34));
  transition: opacity .22s ease;
}
.photo-tile:hover {
  background: var(--bg-3);
  color: inherit;
}
.photo-tile:hover img {
  transform: scale(1.045);
  filter: saturate(1.10) contrast(1.06);
}
.photo-tile:hover::after,
.photo-tile:focus-visible::after {
  opacity: 1;
}
.photo-tile:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
}
.photo-dup {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(10,10,12,.74);
  border: 1px solid rgba(255,179,64,.28);
  color: var(--warm);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}
.band-photos {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  margin-top: 10px;
}
.scroll-sentinel {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
}

.heavy-scroll {
  position: fixed;
  top: 150px;
  bottom: 88px;
  right: max(12px, calc((100vw - var(--max)) / 2 - 58px));
  z-index: 45;
  width: 46px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity .16s ease, transform .16s ease;
}
.heavy-scroll.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.heavy-scroll-rail {
  position: absolute;
  inset: 2px 18px;
  border-radius: 999px;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255,179,64,.22), rgba(255,255,255,.04)),
    rgba(18,18,22,.76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.heavy-scroll-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 58px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,179,64,.46);
  color: var(--fg);
  background:
    radial-gradient(circle at 50% 18%, rgba(255,179,64,.28), transparent 38%),
    linear-gradient(180deg, rgba(32,26,22,.92), rgba(12,12,16,.92));
  box-shadow: 0 14px 34px rgba(0,0,0,.36), 0 0 0 3px rgba(255,179,64,.08);
  cursor: grab;
  touch-action: none;
  overflow: hidden;
}
.heavy-scroll-handle:active,
body.dragging-heavy-scroll .heavy-scroll-handle {
  cursor: grabbing;
  border-color: rgba(255,179,64,.72);
  animation: warmPulse .9s ease-in-out infinite;
}
.heavy-scroll-mascot {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 7px auto 0;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.36));
  transform: rotate(-5deg);
}
body.dragging-heavy-scroll {
  cursor: grabbing;
  user-select: none;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s, transform .16s, background .16s;
}
.scroll-top.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.photos img {
  transition: transform .18s, filter .18s, box-shadow .18s;
}
.photos img:hover {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.04);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

@media (max-width: 860px) {
  .nav-in {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-in::-webkit-scrollbar { display: none; }
  .nav-logo {
    position: sticky;
    left: 0;
    z-index: 1;
    padding-right: 10px;
    background: rgba(10,10,12,.94);
  }
  .heavy-scroll {
    display: none;
  }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 260px;
    order: -1;
  }
  .hero-orbit {
    width: min(74vw, 300px);
  }
  .hero-mascot {
    width: min(42vw, 168px);
  }
  .hero-badge {
    min-width: 142px;
    padding: 10px 12px;
  }
  .hero-badge.top { left: max(0px, 8vw); top: 18px; }
  .hero-badge.bottom { right: max(0px, 8vw); bottom: 16px; }
}
@media (max-width: 760px) {
  header .wrap::after { display: none; }
  .metric-strip,
  .year-overview,
  .story-toolbar,
  .band-hero {
    grid-template-columns: 1fr;
  }
  .section-kicker {
    display: block;
  }
  .ledger .yr {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .ledger .yr-cnt {
    grid-column: 2;
    text-align: left;
  }
  .rank {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .rank .ct {
    grid-column: 2;
    justify-self: start;
  }
  .photo-toolbar {
    position: static;
  }
  .scroll-gallery {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
}

/* ── getdesign.md 기반: 음악 아카이브형 깊이·모션·반응형 ───────── */
.reveal-item {
  opacity: 0;
  translate: 0 18px;
  filter: blur(5px);
  transition:
    opacity .48s ease var(--reveal-delay, 0ms),
    translate .48s cubic-bezier(.18,.72,.18,1) var(--reveal-delay, 0ms),
    filter .42s ease var(--reveal-delay, 0ms),
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}
.reveal-item.is-seen {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}
.story-card:nth-child(4n+1),
.show-card:nth-child(4n+1) {
  border-left: 3px solid rgba(255,59,48,.70);
}
.story-card:nth-child(4n+2),
.show-card:nth-child(4n+2) {
  border-left: 3px solid rgba(255,179,64,.68);
}
.story-card:nth-child(4n+3),
.show-card:nth-child(4n+3) {
  border-left: 3px solid rgba(90,200,250,.48);
}
button:active,
.btn:active {
  transform: translateY(1px) scale(.985);
}
@media (hover: hover) and (pointer: fine) {
  a, button, .photo-tile { -webkit-tap-highlight-color: transparent; }
  .rank:hover .nm,
  .spotlight-card:hover .name {
    color: var(--warm);
  }
}
@media (hover: none), (pointer: coarse) {
  .desktop-only { display: none; }
  .touch-only { display: inline; }
}
@media (max-width: 760px) {
  body {
    font-size: 15px;
    line-height: 1.68;
  }
  .wrap { padding-inline: 16px; }
  section { padding-block: clamp(38px, 9vw, 50px); }
  header:not(.hero) { padding: 42px 0 18px !important; }
  .nav-in { padding: 9px 14px; }
  .nav a.item { padding: 8px 10px; }
  .tabs {
    overflow-x: auto;
    margin-inline: -4px;
    padding-inline: 4px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { min-height: 42px; flex: 0 0 auto; }
  .field { display: grid; grid-template-columns: minmax(0, 1fr); }
  .field > * { width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { text-align: center; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 66px 12px 18px; }
  .lightbox img { max-width: 96vw; max-height: 68vh; }
  .lightbox .lb-close,
  .lightbox .lb-reset {
    top: 12px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .lightbox .lb-close { right: 12px; }
  .lightbox .lb-reset { left: 12px; }
  .desktop-only { display: none; }
  .touch-only { display: inline; }
  .lb-hint { max-width: 88vw; text-align: center; }
}
@media (max-width: 430px) {
  :root { --r: 9px; }
  h1 { font-size: clamp(30px, 11vw, 42px); }
  .metric-strip { grid-template-columns: 1fr 1fr; gap: 7px; }
  .metric { padding: 12px 8px; }
  .grid { gap: 9px; }
  .scroll-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .photo-dup {
    left: 5px;
    right: 5px;
    bottom: 5px;
    padding: 4px 5px;
    font-size: 10px;
  }
  body::after { opacity: .028; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .reveal-item,
  .reveal-item.is-seen {
    opacity: 1 !important;
    translate: none !important;
    filter: none !important;
  }
  body[data-motion-mounted="1"]:not(.page-ready) .nav,
  body[data-motion-mounted="1"]:not(.page-ready) header,
  body[data-motion-mounted="1"]:not(.page-ready) section,
  body[data-motion-mounted="1"]:not(.page-ready) footer,
  body.is-leaving .nav,
  body.is-leaving header,
  body.is-leaving section,
  body.is-leaving footer {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
