/* ════════════════════════════════════════════════════════════════════
   세바여 홈페이지 — 디자인 시스템
   화이트 + 블랙 + 로즈 액센트. 차분하고 모던하며 따뜻함.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --white:        #ffffff;
  --bg:           #ffffff;
  --surface:      #fafaf9;
  --surface-2:    #f5f5f4;
  --text:         #18181b;
  --text-muted:   #71717a;
  --text-subtle:  #a1a1aa;
  --border:       #e7e5e4;
  --border-strong:#d6d3d1;
  --accent:       #be185d;        /* rose-700 */
  --accent-soft:  #fdf2f8;        /* rose-50 */
  --accent-strong:#9d174d;        /* rose-800 */
  --shadow-sm:    0 1px 3px rgba(24, 24, 27, 0.06);
  --shadow-md:    0 4px 14px rgba(24, 24, 27, 0.08);
  --shadow-lg:    0 14px 36px rgba(24, 24, 27, 0.10);
  --shadow-xl:    0 24px 56px rgba(24, 24, 27, 0.14);
  --radius:       12px;
  --radius-lg:    20px;
  --container:    1200px;
  --container-narrow: 760px;
  --font:         "Pretendard", system-ui, -apple-system, sans-serif;
  --easing:       cubic-bezier(.2,.85,.25,1);

  /* ── 동적 레이아웃 변수 (스마트폰·태블릿·PC 자동 적응) ──
     티커 + 헤더 높이를 중앙 관리 → hero 패딩, 마퀴 위치, body 패딩이 모두 자동 동기화.
     아래 미디어 쿼리에서 화면 크기별 재정의. */
  --ticker-h: 32px;             /* 상단 ticker 높이 (>540px 데스크/태블릿) */
  --header-h: 88px;              /* 헤더 높이 (PC: 56 로고 + 16*2 패딩 = 88) */
}

/* 태블릿/소형 노트북 — 헤더 살짝 축소 */
@media (max-width: 1024px) {
  :root { --header-h: 76px; }     /* 44 로고 + 16*2 패딩 = 76 */
}

/* 모바일 — 헤더 콤팩트 */
@media (max-width: 768px) {
  :root { --header-h: 56px; }     /* 32 로고 + 12*2 패딩 = 56 */
}

/* 작은 모바일 — ticker 도 작게 */
@media (max-width: 540px) {
  :root { --ticker-h: 28px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }

/* ─── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 1px 12px rgba(24, 24, 27, 0.06); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  /* 56px 로고 + 위/아래 12px 패딩 = 헤더 80px */
  padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  transition: opacity 0.15s;
}
.brand:hover { opacity: 0.7; }
.brand-logo {
  width: 56px; height: 56px;                 /* 38 → 56 (≈1.47x) */
  border-radius: 50%; overflow: hidden;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo img { width: 78%; height: 78%; object-fit: contain; }
.brand-text { display: flex; align-items: center; line-height: 1.1; }
.brand-text .ko {
  font-size: 20px; font-weight: 800; color: var(--text);   /* 16 → 20 */
  letter-spacing: -0.3px;
}
/* 텍스트 자리에 이미지를 사용할 때 — 로고 마크와 동일한 높이로.
   가로폭 제한은 비율 유지하면서 길어질 수 있도록 충분히 큼. */
.brand-text .brand-text-img,
.brand-text-img {
  display: block;
  height: 56px;             /* 로고 마크와 동일 — 같은 시각 무게감 */
  width: auto;
  max-width: 420px;         /* 너무 긴 이미지 방어 (가로형 워드마크 고려) */
  object-fit: contain;
}
@media (max-width: 768px) {
  .site-header .container { padding-top: 16px; padding-bottom: 16px; }
  .brand { gap: 10px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text .ko { font-size: 16px; }
  /* 모바일에서도 로고 마크와 동일 높이 */
  .brand-text-img { height: 44px; max-width: 300px; }
}
/* 활성 메뉴 표시 */
.site-nav a.active { color: var(--text); background: var(--surface); }
.site-nav {
  display: flex; align-items: center; gap: 2px;
}
.site-nav a {
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a.cta {
  background: var(--text); color: var(--white);
  padding: 9px 18px;
  margin-left: 6px;
  font-weight: 700;
}
.site-nav a.cta:hover {
  background: var(--accent);
  color: var(--white);
}

/* ─── Hero ─────────────────────────────────────────────── */
/* hero가 viewport 100%를 채우고, 컨텐츠는 헤더 아래 영역의 시각 중앙에 위치.
   --header-h(CSS var)로 스마트폰·태블릿·PC별 자동 적응. svh로 주소창 토글 강건. */
.hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--ticker-h));
  min-height: calc(100svh - var(--ticker-h));
  padding: var(--header-h) 24px 0;          /* 위: 헤더만큼, 아래: 0 → grid가 균등 가운데 */
  text-align: center;
  position: relative;
}
.hero-content {
  max-width: 880px;
  width: 100%;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.hero.in-view .hero-content {
  opacity: 1;
  /* !important — reduced-motion 미디어쿼리나 다른 override 방어 */
  transform: translateY(-70px) !important;
}
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(28px, 5.4vw, 56px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -1.2px;
  margin: 0;
  color: var(--text);
  word-break: keep-all;
}
.hero h2 {
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.6px;
  margin: 0;
  color: var(--text);
  word-break: keep-all;
}
.hero h2 b {
  color: var(--accent);
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(14px, 1.55vw, 17px);
  color: var(--text-muted);
  margin-top: 28px;
  line-height: 1.85;
  word-break: keep-all;
}
.hero-desc {
  font-size: clamp(12px, 1.25vw, 14px);
  color: var(--text-muted);
  margin: 14px auto 0;
  line-height: 1.75;
  word-break: keep-all;
  max-width: 640px;
  opacity: 0.85;
}
/* hero-content 하단에 정적 흐름으로 배치 (간결한 둘러보기 cue) */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 36px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.7s, color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero.in-view .scroll-cue { opacity: 1; }
.scroll-cue:hover {
  color: #fff;
  transform: translateY(-2px);
}
.scroll-cue:active { transform: translateY(0) scale(0.97); }
.scroll-cue .arrow {
  font-size: 22px; line-height: 1;
  color: var(--accent);
  animation: scroll-bounce 1.8s var(--easing) infinite;
}
/* hero-1(검정 배경) 외 페이지 — 라이트 톤 (about 등) */
.hero:not(.hero-1) .scroll-cue { color: var(--text-subtle); }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(8px); opacity: 1; }
}

.hero-1 {
  background: #0f0f0f;
  color: #fff;
  overflow: hidden;
}
/* 배경 마퀴 — .hero(.hero-1) 영역 전체를 덮음(inset: 0).
   마퀴 두 줄 대칭 배치(top:14% / bottom:14% / height:36%) → 경계선이
   hero 영역의 정확히 50%(=hero 정중앙)에 위치. */
.hero-bg-marquee {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* 두 줄(상/하) 마퀴 — 사선 회전은 wrapper에서 적용해 트랙 자체는 단순 X 평행이동만 */
.hero-bg-marquee {
  /* 트랙 두 줄을 감싸는 컨테이너 — 회전은 여기서 한 번만 적용 */
}
.hero-marquee-row {
  position: absolute;
  left: 0;
  display: flex; gap: 18px;
  align-items: center;
  width: max-content;
  padding: 0 4%;
  transform: translateX(0);          /* 수평 — 회전 없음 */
  will-change: transform;
}
/* 두 트랙의 중간점(상단 시작 ↔ 하단 끝)이 .hero-bg-marquee 정 가운데에 위치.
   대칭 배치: top과 bottom이 동일 값(14%)이면 중간점이 정확히 50%에 위치.
   - 상단 트랙: 14% 부터 50% 까지 (height 36%)
   - 하단 트랙: 50% 부터 86% 까지 (height 36%)
   - 트랙 사이의 경계선 = 정확히 hero-bg-marquee 의 50% (정 중앙) */
/* 두 트랙 사이 8% 간격(gap) — height를 36→32%로 축소.
   대칭 유지: top과 bottom 모두 14% → 경계선 중심은 여전히 50%(정 중앙).
   - 상단 트랙: 14% ~ 46%
   - 가운데 빈 공간: 46% ~ 54% (8%)
   - 하단 트랙: 54% ~ 86% */
.hero-marquee-row-top {
  top: 14%;
  height: 32%;
  animation: hero-marquee-ltr 42s linear infinite;
}
.hero-marquee-row-bottom {
  bottom: 14%;
  height: 32%;
  animation: hero-marquee-rtl 42s linear infinite;
}
.hero-marquee-row .marquee-item {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.40);
  background: linear-gradient(135deg, #44403c, #292524);
}
.hero-marquee-row .marquee-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  pointer-events: none;
}
.hero-marquee-row .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.18);
  font-size: 26px;
  background: linear-gradient(135deg, var(--accent-strong, #9d174d), #18181b);
}
/* 좌→우 흐름 — translateX -50% → 0 (수평) */
@keyframes hero-marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
/* 우→좌 흐름 — translateX 0 → -50% (수평) */
@keyframes hero-marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* 어두운 오버레이 — 글자 가독성 */
.hero-marquee-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.85) 100%),
    linear-gradient(to bottom, rgba(15, 15, 15, 0.40), rgba(15, 15, 15, 0.65));
  pointer-events: none;
}
.hero-1 > .hero-content,
.hero-1 > .scroll-cue { position: relative; z-index: 2; }

/* hero-1 텍스트 — 어두운 배경 위 흰색 */
.hero-1 .hero-content h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-1 .hero-content .hero-sub  { color: rgba(255, 255, 255, 0.82); }
.hero-1 .hero-content .hero-desc { color: rgba(255, 255, 255, 0.62); }
.hero-1 .scroll-cue { color: rgba(255, 255, 255, 0.7); }
.hero-1 .scroll-cue:hover { color: #fff; }
.hero-1 .scroll-cue .arrow { color: var(--accent-soft); }

.hero-2 {
  background: var(--surface);
  min-height: 88vh;
}

/* ─── Section base ─────────────────────────────────────── */
.section {
  padding: 100px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
.section.in-view .section-head { opacity: 1; transform: translateY(0); }
.section-head .label {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px; font-weight: 800;
  letter-spacing: 2px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  word-break: keep-all;
}
.section-head p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  word-break: keep-all;
}

/* ─── Pillars ──────────────────────────────────────────── */
.pillars-section { background: var(--white); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--easing) 0.1s, transform 0.8s var(--easing) 0.1s;
}
.section.in-view .pillars { opacity: 1; transform: translateY(0); }
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: left;
  transition: all 0.35s var(--easing);
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.pillar .num {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.pillar h3 {
  font-size: 24px; font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.4px;
}
.pillar p {
  margin: 0;
  font-size: 14px; line-height: 1.7;
  color: var(--text-muted);
  word-break: keep-all;
}

/* ─── Marquee — 사다리꼴 무한 흐름 ─────────────────────── */
.marquee {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, #18181b 0%, #292524 100%);
  margin: 0;
}
.marquee-track {
  position: absolute;
  top: -18%; bottom: -18%;
  left: 0;
  display: flex; gap: 20px;
  align-items: center;
  width: max-content;
  transform: rotate(-5deg) translateX(0);
  animation: marquee-flow 38s linear infinite;
  padding: 0 4%;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  height: 88%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.42);
  background: linear-gradient(135deg, #44403c, #292524);
}
.marquee-item img { width: 100%; height: 100%; object-fit: cover; }
.marquee-item .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 32px;
  background: linear-gradient(135deg, var(--accent-strong), #18181b);
}
@keyframes marquee-flow {
  from { transform: rotate(-5deg) translateX(0); }
  to   { transform: rotate(-5deg) translateX(-50%); }
}
.marquee-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(24, 24, 27, 0.55) 0%,
      rgba(24, 24, 27, 0.20) 30%,
      rgba(24, 24, 27, 0.20) 70%,
      rgba(24, 24, 27, 0.65) 100%),
    linear-gradient(to right,
      rgba(24, 24, 27, 0.30) 0%,
      transparent 15%,
      transparent 85%,
      rgba(24, 24, 27, 0.30) 100%);
  pointer-events: none;
}
.marquee-label {
  position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  text-align: center;
  color: var(--white);
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 2;
  word-break: keep-all;
  padding: 0 24px;
}

/* ─── Region selector ─────────────────────────────────── */
.region-section { background: var(--white); }

/* 지역 검색바 */
.region-search {
  position: relative;
  max-width: 440px;
  margin: 0 auto 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--easing) 0.1s, transform 0.7s var(--easing) 0.1s;
}
.section.in-view .region-search { opacity: 1; transform: translateY(0); }
.region-search input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: all 0.2s var(--easing);
  box-shadow: var(--shadow-sm);
}
.region-search input:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.06), var(--shadow-md);
}
.region-search input::placeholder { color: var(--text-subtle); }
.region-search-icon {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  opacity: 0.6;
}
.region-search-clear {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border: 0; border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  font-family: inherit;
}
.region-search-clear:hover {
  background: var(--text);
  color: var(--white);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--easing) 0.15s, transform 0.8s var(--easing) 0.15s;
}
.section.in-view .region-grid { opacity: 1; transform: translateY(0); }
.region-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.2s var(--easing);
  cursor: pointer;
  position: relative;
}
.region-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.region-card.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
/* 지역명 — 가장 강한 시각 강조 (이전 14px → 18px) */
.region-card .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  line-height: 1.1;
}
.region-card.active .name { color: var(--white); }
/* 행사 수 — 분홍 톤 배지 형태로 (이전 흐릿한 회색 텍스트보다 눈에 잘 띔) */
.region-card .count {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.1px;
  font-variant-numeric: tabular-nums;
}
.region-card.active .count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
/* '전체' 카드 — 강조 톤 (다른 지역 카드와 시각적으로 구분) */
.region-card-all {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong, #9d174d));
  color: var(--white);
  border-color: transparent;
}
.region-card-all:hover {
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(190, 24, 93, 0.30);
}
.region-card-all .name { color: var(--white); }
.region-card-all .count {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.region-card-all.active {
  background: var(--text);
  border-color: var(--text);
}
.region-loading, .events-loading, .events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ─── Events grid — 5 × 3(15개) 페이지네이션 ───────────────────────── */
.events-section { background: var(--surface); padding-bottom: 80px; }
.events-grid-wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: 24px 8px 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--easing) 0.2s, transform 0.8s var(--easing) 0.2s;
}
.section.in-view .events-grid-wrap { opacity: 1; transform: translateY(0); }

/* 5열 × N행 — 한 페이지에 5x3=15개 카드, 그 이상은 이전/다음 페이지 */
.events-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 4px 0 8px;          /* hover 카드 살짝 떠오르는 공간 확보 */
}
.events-loading,
.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 13px;
}

/* 페이지네이션 — 이전/다음 + 페이지 인포 (그리드 위에 위치) */
.events-pagination {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}
.ev-page-btn {
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px; font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s var(--easing);
}
.ev-page-btn:hover:not(:disabled) {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.ev-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ev-page-info {
  font-size: 13px; font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: center;
}

/* 카드 — grid item으로 자동 5등분 (gap만큼 빠짐) */
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.32s var(--easing), box-shadow 0.32s var(--easing), border-color 0.18s;
  position: relative;
  text-decoration: none;
  color: inherit;
  min-width: 0;                /* grid 자식에서 ellipsis 등 작동하도록 */
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--text);
}
.event-poster {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  position: relative;
}
.event-poster img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
  pointer-events: none;
}
.event-card:hover .event-poster img { transform: scale(1.05); }
.event-poster.placeholder {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  color: var(--text-subtle);
}
.event-poster.placeholder .icon { font-size: 28px; opacity: 0.4; }
.event-poster.placeholder .text { font-size: 10px; font-weight: 600; letter-spacing: 1px; }

.event-body {
  padding: 14px 14px 14px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
/* 카드 메타 — 날짜/시간/가수/지역을 위계 있게 분리 */
.event-meta {
  display: flex; flex-direction: column; gap: 3px;
}
.event-meta-top {
  display: flex; align-items: baseline; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.event-date {
  font-size: 13px; font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.2px;
}
.event-time {
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.1px;
}
.event-meta-mid {
  display: flex; align-items: center; gap: 6px;
}
.event-artist {
  font-size: 15px; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  line-height: 1.25;
  word-break: keep-all;
  /* 1줄 제한 */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-meta-bot {
  display: flex; align-items: center; gap: 6px;
}
.event-region {
  font-size: 11.5px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.1px;
  word-break: keep-all;
}
.event-info-row {
  display: flex; gap: 5px; align-items: center; flex-wrap: wrap;
  margin-top: 0;
}
.event-countdown {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}
.event-countdown .lbl { font-weight: 700; opacity: 0.85; font-size: 9px; }
.event-countdown.urgent {
  background: rgba(239, 68, 68, 0.10);
  color: #b91c1c;
}
.event-countdown.ended {
  background: var(--surface-2);
  color: var(--text-subtle);
}
.event-price {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800;
  color: var(--text-muted);
  background: var(--surface);
  padding: 4px 7px;
  border-radius: 5px;
  letter-spacing: -0.1px;
}
.event-button {
  display: block;
  margin-top: auto;
  padding: 9px;
  background: var(--text);
  color: var(--white);
  text-align: center;
  font-size: 12px; font-weight: 800;
  border-radius: 8px;
  letter-spacing: -0.2px;
  transition: all 0.2s;
}
.event-card:hover .event-button {
  background: var(--accent);
}

/* ─── Big CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--text);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(190, 24, 93, 0.40) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(190, 24, 93, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-section h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 16px;
  letter-spacing: -0.8px;
  word-break: keep-all;
}
.cta-section p {
  text-align: center;
  font-size: 16px; color: rgba(255, 255, 255, 0.72);
  margin: 0 0 36px;
  word-break: keep-all;
}
.cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.2px;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--white);
  color: var(--text);
}
.btn-primary:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(190, 24, 93, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.30);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ─── Notice ──────────────────────────────────────────── */
.notice-section { background: var(--white); padding-bottom: 100px; }
.notice-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.notice-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.18s;
}
.notice-list li:hover {
  border-color: var(--text);
  transform: translateX(4px);
}
.notice-tag {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 10px;
  background: var(--text);
  color: var(--white);
  font-size: 10px; font-weight: 800;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-top: 2px;
}
.notice-list h4 {
  font-size: 15px; font-weight: 800;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.notice-list p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
  word-break: keep-all;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  padding: 60px 0 36px;
  border-top: 1px solid var(--border);
}
/* footer container — 본문(1200px max)과 달리 좌측 끝까지 wide하게 */
.site-footer .container {
  max-width: none;
  padding: 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
/* footer-brand 영역 — 라이트 surface 배경 위에서 가독성을 위해 어두운 회색 톤으로 */
.footer-brand h3 {
  font-size: 18px; font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  color: #27272a;             /* zinc-800 — 헤더는 진하게 */
}
.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: #52525b;             /* zinc-600 — 본문 가독성 확보 */
  line-height: 1.75;
  word-break: keep-all;
}
.footer-biz {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  margin-bottom: 4px !important;
  color: #52525b;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.footer-biz b,
.footer-biz .sep,
.footer-biz span { color: #52525b !important; font-weight: inherit; margin: 0 2px; }
.footer-biz b { color: #27272a !important; font-weight: 700; }
.footer-col h4 {
  font-size: 11px; font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: 1.5px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}
.footer-copy {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #71717a;          /* zinc-500 — 카피라이트는 살짝 옅게 */
  letter-spacing: 0.5px;
}

/* ─── 자연스러운 스크롤 — 섹션 단위 자석 스냅 제거 ───
   이전엔 scroll-snap-type: y proximity로 섹션이 딱딱 끌려가서 거슬림 → 일반 스크롤로 변경.
   .snap 클래스는 마크업에 남아 있지만 더 이상 동작하지 않음. */
html {
  scroll-padding-top: 80px;   /* 헤더 높이 — 앵커(#regions 등) 클릭 시 섹션이 헤더에 가려지지 않도록 */
  scroll-behavior: smooth;     /* 앵커 점프만 부드럽게, 일반 스크롤엔 영향 없음 */
}

/* ─── 플로팅 ToC (목차 패널) ─────────────────────────── */
.toc-panel {
  position: fixed;
  top: 50%; right: 24px;
  transform: translateY(-50%);
  z-index: 80;
}
.toc-toggle {
  display: none; /* 데스크톱에선 숨김, 모바일에서만 노출 */
}
.toc-list {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 8px;
  box-shadow: 0 12px 32px rgba(24, 24, 27, 0.10);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 168px;
}
.toc-title {
  font-size: 10px; font-weight: 800;
  color: var(--text-subtle);
  letter-spacing: 1.5px;
  padding: 4px 14px 8px;
}
.toc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  border-radius: 9px;
  letter-spacing: -0.2px;
  transition: all 0.18s;
  text-decoration: none;
}
.toc-item:hover {
  color: var(--text);
  background: var(--surface);
}
.toc-item.active {
  color: var(--text);
  background: var(--accent-soft);
}
.toc-item.active .text { color: var(--accent); }
.toc-item .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.25s var(--easing);
  flex-shrink: 0;
}
.toc-item:hover .dot { background: var(--text); }
.toc-item.active .dot {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.18);
}
.toc-item .text { flex: 1; }
.toc-item .arrow {
  font-size: 11px;
  color: var(--text-subtle);
}
.toc-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 12px;
}
.toc-item.ext-link { color: var(--text-subtle); }
.toc-item.ext-link:hover { color: var(--accent); }

/* ─── 빠른 CTA (행사 신청 / 불참) ─────────────────── */
.quick-cta {
  position: fixed;
  right: 24px;
  /* iOS 노치/홈 바 영역 회피 */
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 10px;
  z-index: 85;
  align-items: flex-end;
}
.qa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  text-decoration: none;
  transition: all 0.22s var(--easing);
  letter-spacing: -0.2px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.12);
}
.qa-btn .ico { font-size: 16px; line-height: 1; }
.qa-btn .lbl { line-height: 1; }
.qa-primary {
  background: var(--text);
  color: var(--white);
}
.qa-primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(190, 24, 93, 0.32);
}
.qa-outline {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.qa-outline:hover {
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(24, 24, 27, 0.14);
}

/* ─── Responsive ─────────────────────────────────────── */
/* 1100px 이하 — ToC를 FAB(접힌 상태)로 전환 */
@media (max-width: 1100px) {
  /* 모바일/태블릿에서는 ToC 패널 자체를 숨김 — 우하단 quick-cta와 시각적 충돌,
     라벨 없는 핀 FAB가 직관성 떨어짐. 데스크탑(>1100px)에서만 사이드 패널로 사용. */
  .toc-panel { display: none; }
  .toc-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 50px; height: 50px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(24, 24, 27, 0.12);
    transition: all 0.2s var(--easing);
  }
  .toc-toggle:hover { transform: scale(1.05); }
  .toc-panel.open .toc-toggle {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
    transform: rotate(45deg);
  }
  .toc-panel.open .toc-toggle .toc-icon::before {
    content: '×'; font-size: 24px; font-weight: 300;
  }
  .toc-panel.open .toc-toggle .toc-icon {
    font-size: 0; /* 이모지 숨기고 ::before 의 X만 보임 */
  }
  .toc-list {
    display: none;
    position: absolute;
    bottom: 60px; right: 0;
    min-width: 200px;
    box-shadow: 0 16px 40px rgba(24, 24, 27, 0.18);
    animation: toc-pop 0.22s var(--easing);
  }
  .toc-panel.open .toc-list { display: flex; }
  @keyframes toc-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  /* 태블릿 — 한 줄 4장 */
  .events-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .site-header .container { padding-top: 12px; padding-bottom: 12px; }
  .brand-text .ko { font-size: 14px; }
  .brand-logo { width: 32px; height: 32px; }
  /* 모바일 — 브랜드 워드마크 이미지 축소 (콤팩트한 헤더 유지) */
  .brand-text-img { height: 32px; max-width: 200px; }
  .brand { gap: 8px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 10px 12px; font-size: 12px; min-height: 40px; display: inline-flex; align-items: center; }
  .site-nav a.cta { padding: 10px 16px; }
  /* 모바일에서는 일부 메뉴 숨기고 sticky CTA에 의존 */
  .site-nav a:not(.cta) { display: none; }

  /* hero — CSS 변수(--header-h/--ticker-h)가 768/540 미디어쿼리에서 자동 조정.
     여기서는 가로 패딩만 모바일 값으로 (위/아래는 var() 그대로) */
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-2 { min-height: 80svh; }
  /* 모바일 hero 배경 마퀴 — 속도와 카드 크기만 조정. 위/아래 위치는
     데스크탑 규칙(top:14%/bottom:14%)을 그대로 사용해 대칭 유지 — 절대 덮어쓰지 말 것. */
  .hero-marquee-row { animation-duration: 56s; gap: 12px; }
  .hero-marquee-row .marquee-item { border-radius: 10px; }
  .hero h1 { font-size: clamp(24px, 7.2vw, 34px); line-height: 1.4; }
  .hero h2 { font-size: clamp(18px, 5.4vw, 24px); line-height: 1.55; }
  .eyebrow { font-size: 10px; padding: 5px 12px; }
  .scroll-cue { font-size: 10px; margin-top: 28px; }
  .scroll-cue .arrow { font-size: 20px; }

  .pillar { padding: 28px 24px; }
  .pillar h3 { font-size: 20px; }

  .marquee { height: 280px; }
  .marquee-track { animation-duration: 50s; gap: 14px; }
  .marquee-item { border-radius: 8px; }
  .marquee-label { font-size: 22px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(22px, 6.5vw, 28px); }

  .region-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .region-card { padding: 14px 10px; gap: 6px; }
  .region-card .name { font-size: 15px; }
  .region-card .count { padding: 2px 8px; font-size: 10px; }

  /* 모바일 — 한 줄 2장 그리드 */
  .events-grid-wrap { padding: 12px 14px 18px; max-width: 100%; }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .event-artist { font-size: 14px; }
  .event-date   { font-size: 12px; }
  .event-time   { font-size: 11px; }
  .event-region { font-size: 11px; }
  .events-pagination { margin-bottom: 12px; gap: 8px; }
  .ev-page-btn { padding: 7px 12px; font-size: 12px; }

  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: clamp(24px, 6.5vw, 32px); }
  .cta-section p { font-size: 14px; margin-bottom: 28px; }
  .btn { padding: 14px 24px; font-size: 14px; }

  .notice-list li { padding: 18px 18px; }
  .notice-list h4 { font-size: 14px; }
  .notice-list p { font-size: 12px; }

  /* 모바일에선 Quick CTA를 컴팩트한 라벨 + 아이콘 형태로 */
  .quick-cta { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .qa-btn { padding: 11px 16px; font-size: 12px; min-height: 40px; }
  .qa-btn .ico { font-size: 14px; }

  /* 푸터에 floating 영역만큼 여백 + 노치 여백 */
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* ─── 모션 절제 (시스템 설정) ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
  }
  .scroll-cue .arrow { animation: none !important; }
  .marquee-track { animation: none !important; }
  .reveal, .section-head, .pillars, .region-grid, .events-grid {
    opacity: 1 !important;
    transform: none !important;
  }
  /* .hero-content는 의도적 시각 보정(translateY(-30px))을 유지해야 하므로
     opacity만 즉시 1로 강제하고 transform은 그대로 둠 */
  .hero-content {
    opacity: 1 !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   📱 모바일·태블릿(≤1024px) 전용 — 마퀴/캐러셀 애니메이션 시작 보정
   ════════════════════════════════════════════════════════════════════
   원인: 새로고침 직후 트랙(`width: max-content`)이 빈 상태(width:0)일 때
   CSS 애니메이션이 이미 시작되어 헛 도는 → 컨텐츠 채워진 뒤에도 시각적으로 멈춤.
   해결: 모바일에서만 default paused로 두고 JS가 컨텐츠 렌더링 완료 후 .ready 부여.
   PC(>1024px)는 영향 없음 — 기존 동작 그대로. */
@media (max-width: 1024px) {
  .hero-marquee-row,
  .artist-track,
  .marquee-track {
    animation-play-state: paused;
  }
  .hero-marquee-row.ready,
  .artist-track.ready,
  .marquee-track.ready {
    animation-play-state: running;
  }
  /* 모바일에서도 hover 일시정지 유지 (about 마퀴) */
  .marquee:hover .marquee-track.ready { animation-play-state: paused; }
}

/* ════════════════════════════════════════════════════════════════════
   PEOPLE — 가수/강사 프로필 캐러셀 (우→좌 무한 흐름)
   ════════════════════════════════════════════════════════════════════ */
.artist-section {
  background: var(--surface-2, #f5f5f4);
  padding: 80px 0 96px;
  overflow: hidden;
  position: relative;
}
.artist-section .section-head { text-align: center; margin-bottom: 36px; }
.artist-section .section-head p {
  font-size: 14px; color: var(--text-muted);
  margin-top: 10px;
  word-break: keep-all;
}

.artist-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* 카드 hover 시 변환 + box-shadow 여유 */
  padding: 14px 0 22px;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.artist-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: artist-flow 48s linear infinite;
  will-change: transform;
}
@keyframes artist-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* hover 시에도 흐름 유지 — 카드 자체 hover 효과만 별도 처리. */
/* (이전 animation-play-state: paused 규칙 제거) */
.artist-loading {
  padding: 60px;
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* 좌우 fade (마스크와 별도로 살짝 더 진하게) */
.artist-edge-fade { display: none; } /* mask-image로 대체 */

/* ─── 카드 ─────────────────────────────────────── */
.artist-card {
  flex: 0 0 220px;
  background: linear-gradient(180deg, #fff 0%, #fafaf9 100%);
  border: 1px solid var(--border, #e7e5e4);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(24,24,27,0.04),
    0 8px 24px -16px rgba(24,24,27,0.18);
  transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing), border-color 0.2s;
  position: relative;
  display: flex; flex-direction: column;
}
.artist-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(190, 24, 93, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--easing);
}
.artist-card:hover {
  transform: translateY(-6px);
  /* border-color 변경 없음 — hover 시 추가 테두리가 생기지 않도록 */
  box-shadow:
    0 2px 4px rgba(24,24,27,0.05),
    0 24px 50px -22px rgba(190, 24, 93, 0.32);
}
.artist-card:hover::before { opacity: 1; }

.artist-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1f2937 0%, #0b1121 100%);
  display: flex; align-items: center; justify-content: center;
}
.artist-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
  pointer-events: none;
}
.artist-card:hover .artist-card-photo img { transform: scale(1.06); }
.artist-card-fallback {
  font-size: 56px; font-weight: 800;
  color: rgba(255,255,255,0.92);
  display: none;
  letter-spacing: -2px;
  text-shadow: 0 4px 22px rgba(0,0,0,0.35);
}
.artist-card-photo.is-empty .artist-card-fallback { display: inline-block; }
/* shine — hover 시 카드 표면을 가로지르는 빛줄기 */
.artist-card-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: skewX(-12deg);
  pointer-events: none;
  transition: left 0.7s var(--easing);
}
.artist-card:hover .artist-card-shine { left: 110%; }

.artist-card-body {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.artist-card-name {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  margin: 0;
}
.artist-card-bio {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
  /* 2줄 클램프 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 모바일 */
@media (max-width: 768px) {
  .artist-section { padding: 56px 0 64px; }
  .artist-card { flex: 0 0 170px; border-radius: 14px; }
  .artist-card-body { padding: 12px 14px 14px; }
  .artist-card-name { font-size: 15px; }
  .artist-card-bio  { font-size: 12px; }
  .artist-track     { gap: 14px; animation-duration: 56s; }
}

/* 다크 톤 영역과 인접한 페이지에서 자연스러운 본문 톤 유지 */
.artist-section .section-head h2 { color: var(--text); }

/* ════════════════════════════════════════════════════════════════════
   상단 실시간 신청자 ticker (롤링)
   ════════════════════════════════════════════════════════════════════ */
.home-ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ticker-h);                       /* 동적: 32 / 28 */
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: content-box;
  background: linear-gradient(90deg, #be185d, #9d174d, #be185d);
  background-size: 200% 100%;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  align-items: center;
  animation: home-ticker-bg 10s linear infinite;
}
@keyframes home-ticker-bg {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.home-ticker-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  padding: 0 14px;
  width: 100%;
}
.home-ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.home-ticker-item .live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; margin-right: 5px;
  animation: home-live-blink 1.2s ease-in-out infinite;
}
@keyframes home-live-blink {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.1); }
}
/* body padding-top — ticker 있는 페이지(home)에만 적용. ticker 높이는 CSS 변수로 일관 */
body:has(.home-ticker) {
  padding-top: calc(var(--ticker-h) + env(safe-area-inset-top, 0px));
}
body:has(.home-ticker) .site-header {
  top: calc(var(--ticker-h) + env(safe-area-inset-top, 0px)) !important;
}

@media (max-width: 540px) {
  .home-ticker { font-size: 12px; }
}
