/* ============================================================
   ABOUT.CSS
   ============================================================ */

/* ── 챕터 인디케이터 ── */
.chapter-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.ch-dot.active { background: var(--gold); transform: scale(1.4); }

/* ── 공통 reveal 애니메이션 ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── Ch.1 PROLOGUE ── */
.ch-prologue {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.prologue-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 40%,
    rgba(201,168,76,0.06) 0%,
    transparent 70%
  );
}

.prologue-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0%   { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

.prologue-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.prologue-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.prologue-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 32px;
}
.prologue-title-inner {
  text-align: center;
  opacity: 1; /* 이 부분이 1로 되어 있는지 확인 */
  transition: opacity 0.6s ease;
}

.prologue-title em {
  font-style: italic;
  color: var(--gold);
}

.prologue-quote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.prologue-sub {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
}

.prologue-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ── Ch.3 PHILOSOPHY ── */
.ch-philo {
  padding: 80px 40px;
  background: var(--bg-card);
}

.philo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.philo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent, var(--gold));
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.philo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.philo-icon {
  font-size: 1.5rem;
  color: var(--accent, var(--gold));
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.philo-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text);
}

.philo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent, var(--gold));
  text-transform: uppercase;
}

.philo-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
  flex: 1;
}

.philo-link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent, var(--gold));
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  transition: opacity 0.3s;
}


/* ============================================================
   Ch.1 PROLOGUE: 탄생 (The Birth) — 새 스타일
   ============================================================ */

/* bio-stats (기존 bio-quote-col 안에 추가된 요소) */
.bio-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── 새 프롤로그 섹션 ── */
.ch-prologue-new {
  position: relative;
  min-height: 170vh; /* 스크롤 공간 확보 */
  background: #000;
}

/* 화면 1-1: 타이틀 스크린 */
.prologue-title-screen {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 2;
  pointer-events: none;
}

.prologue-title-inner {
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.prologue-title-screen.fade-out .prologue-title-inner,
.prologue-title-screen.fade-out .prologue-scroll-hint {
  opacity: 0;
}

.prologue-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.prologue-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

/* 스크롤 힌트 (마우스 휠 아이콘) */
.prologue-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.6s ease;
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

.scroll-wheel {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot-move 2s ease-in-out infinite;
}

@keyframes scroll-dot-move {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* 화면 1-2: 시부야 영상 레이어 */
.prologue-video-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 70vw;
  height: 150vh;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  z-index: 1;
}

.prologue-video-layer.visible {
  opacity: 1;
}
.shibuya-video-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 150vh;
  object-fit: contain; 
}
#shibuya-video {
  width: 70vw;
  height: 150vh;
  object-fit: cover;  /* 빈틈없이 화면을 꽉 채우되 비율 유지 */
}
#sound-toggle {
  position: fixed;    /* 화면 특정 위치에 박제 */
  bottom: 5vh;        /* 하단에서 5% 지점 */
  right: 5vw;         /* 우측에서 5% 지점 */
  z-index: 10;        /* 영상보다 위에 표시 */
}


/* ============================================================
   Ch.2 DEVELOPMENT: 소리의 건축가 — 스크롤리텔링
   ============================================================ */

.ch-architect {
  position: relative;
  background: #000;
}

/* 2-1: 챕터 인트로 */
.architect-intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
  overflow: hidden;
}

.architect-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(201,168,76,0.05) 0%, transparent 70%);
}

.architect-intro-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.architect-intro-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

.architect-label {
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 20px;
}

.architect-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.architect-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 2-2: 스크롤리텔링 래퍼 */
.scrollytelling-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400vh; /* 3 씬 × 100vh */
  position: relative;
}

/* 왼쪽 Sticky 텍스트 패널 */
.sticky-text-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 60px 60px 80px;
  background: #000;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.04);
}

.sticky-text-inner {
  position: relative;
  width: 100%;
}

/* 스토리 텍스트 전환 */
.story-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.story-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.story-label {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 20px;
}

.story-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 24px;
}

.story-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 420px;
}

/* 오른쪽 시각 자료 패널 */
.scroll-visual-panel {
  position: relative;
  background: #050508;
}

/* 각 씬 높이 = 100vh */
.visual-scene {
  height: 130vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.visual-scene.active {
  opacity: 1;
}

/* =======================================
   Scene 1: MPC 이미지
   ======================================= */

/* 첫 번째 장면에만 적용될 스타일 */
.visual-scene[data-scene="0"] {
  gap: 10px; /* 이미지와 캡션 사이의 간격 */
}

/* MPC 이미지 스타일 */
.visual-scene[data-scene="0"] img {
  margin-top: auto;
  width: auto;              /* 너비는 자동으로 */
  max-width: 80%;           /* 화면 너비의 80%를 넘지 않도록 */
  height: auto;             /* 높이는 비율에 맞게 자동으로 */
  max-height: 60vh;         /* 화면 높이의 60%를 넘지 않도록 */
  border-radius: 8px;       /* 부드러운 모서리 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* 옅은 테두리 */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); /* 입체감을 주는 그림자 */
  object-fit: contain;      /* 이미지가 잘리지 않고 비율을 유지하도록 */
}

/* 공통 캡션 스타일 */
.visual-caption {
  margin: 0;
  margin-bottom: auto;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.9; /* 기존 0.5에서 약간 더 잘 보이도록 수정 */
  text-align: center;
}

/* ── Scene 2: 턴테이블 ── */
.visual-scene[data-scene="1"] img {
  margin-top: auto;
  width: auto;              /* 너비는 자동으로 */
  max-width: 80%;           /* 화면 너비의 80%를 넘지 않도록 */
  height: auto;             /* 높이는 비율에 맞게 자동으로 */
  max-height: 60vh;         /* 화면 높이의 60%를 넘지 않도록 */
  border-radius: 8px;       /* 부드러운 모서리 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* 옅은 테두리 */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); /* 입체감을 주는 그림자 */
  object-fit: contain;      /* 이미지가 잘리지 않고 비율을 유지하도록 */
}

/* ── Scene 2 → Scene 3 사이 간격 ── */
.scene-gap {
  height: 80px;
}

/* ── Scene 3: 소리파형 영상 플레이어 ── */
.scene3-video-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  height: 100%;
  padding: 48px 24px 32px;
}

.scene3-video-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: inline-block;
}

.scene3-video {
  width: 100%;
  max-height: 55vh;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  object-fit: cover;
  display: block;
  background: #000;
}

/* 소리 토글 버튼 */
.waveform-sound-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 5;
}

.waveform-sound-btn:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold);
  color: var(--gold);
}

.waveform-sound-btn .wsb-icon {
  font-size: 0.85rem;
  line-height: 1;
}

/* muted 상태일 때 뺄간 트실로 표시 */
.waveform-sound-btn.is-muted {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
}

/* 2-3: 에필로그 */
.architect-epilogue {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  text-align: center;
  padding: 80px 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.architect-epilogue.in-view {
  opacity: 1;
  transform: translateY(0);
}

.epilogue-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 32px;
}

.epilogue-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   Ch.3 — CLIMAX: 하이드아웃 패밀리 별자리
   ============================================================ */

.ch-constellation {
  position: relative;
  background: #000008;
  overflow: hidden;
}

/* 3-1: 타이틀 */
.constellation-title-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

.constellation-title-inner {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.constellation-title-wrap.in-view .constellation-title-inner {
  opacity: 1;
  transform: translateY(0);
}

.constellation-title-inner .chapter-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}

.constellation-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.constellation-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 3-2: 별자리 캔버스 */
.constellation-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: #000008;
}

#constellation-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.constellation-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-align: center;
  pointer-events: none;
  animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* ── 아티스트 모달 ── */
.artist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.artist-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.artist-modal {
  background: rgba(12,12,20,0.98);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}
.artist-modal-overlay.is-open .artist-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.modal-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  flex-shrink: 0;
}

.modal-header-info { flex: 1; }

.modal-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-role {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid rgba(201,168,76,0.4);
  padding-left: 12px;
  margin: 0;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.modal-story {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.modal-tracks-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.modal-track-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-track-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.modal-track-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(201,168,76,0.2);
}
.modal-track-item.active {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.4);
}

.track-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.track-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.modal-track-item.active .track-title { color: var(--text-primary); }

.modal-spotify-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotify-hint {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.6;
}

/* ============================================================
   Ch.4 — OUTRO: 영원한 울림 (Reflection)
   ============================================================ */

.ch-outro {
  position: relative;
  background: #060e18;
}

/* 수면 캔버스 */
#water-canvas {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: block;
  z-index: 0;
}

.water-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,14,24,0.3) 0%,
    transparent 20%,
    transparent 80%,
    rgba(6,14,24,0.5) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 철학 문장 래퍼 */
.outro-phrases-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 개별 문장 */
.outro-phrase {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  pointer-events: none;
}

.outro-phrase p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 400;
  color: rgba(255,255,255,0);
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 0 0 40px rgba(100,160,220,0);
  transition: color 0.8s var(--ease-out), text-shadow 0.8s var(--ease-out),
              opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transform: translateY(20px);
  opacity: 0;
}

.outro-phrase.active p {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 40px rgba(100,160,220,0.3), 0 2px 20px rgba(0,0,0,0.8);
  opacity: 1;
  transform: translateY(0);
}

.outro-phrase.exiting p {
  color: rgba(255,255,255,0);
  text-shadow: 0 0 0 transparent;
  opacity: 0;
  transform: translateY(-20px);
}

/* 마지막 문장 */
.outro-final p {
  font-size: clamp(1.6rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: rgba(255,255,255,0);
  margin-bottom: 48px;
}

.outro-final.active p {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 60px rgba(201,168,76,0.3), 0 2px 30px rgba(0,0,0,0.9);
}

/* CTA 버튼 */
.outro-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.4s var(--ease-out), transform 0.8s 0.4s var(--ease-out);
  pointer-events: none;
}

.outro-final.active .outro-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.outro-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 160px;
  backdrop-filter: blur(4px);
}

.outro-cta-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.7);
  transform: translateY(-4px);
}

.outro-cta-btn .btn-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.outro-cta-btn .btn-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ── 별 녹아내림 전환 효과 ── */
.ch-outro.stars-fading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,8,1), transparent);
  z-index: 3;
  pointer-events: none;
}

/* ── 반응형 ── 
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-quote {
    border-left: none;
    border-top: 2px solid rgba(201,168,76,0.4);
    padding-left: 0;
    padding-top: 12px;
  }
  .constellation-canvas-wrap {
    height: 80vh;
  }
  .outro-phrase p {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
  .outro-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   CSS 변수 보완 (base.css 미정의 변수 fallback)
   ============================================================ */
:root {
  --text-primary:   var(--text,   #E8DCC8);
  --text-secondary: var(--text-muted, #7A6A52);
  --font-body:      var(--font-sans, 'Helvetica Neue', Arial, sans-serif);
}

/* ============================================================
   Ch.3 — CLIMAX: 하이드아웃 패밀리 별자리
   ============================================================ */

.ch-constellation {
  position: relative;
  background: #000008;
  overflow: hidden;
}

/* 3-1: 타이틀 */
.constellation-title-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

.constellation-title-inner {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.constellation-title-wrap.in-view .constellation-title-inner {
  opacity: 1;
  transform: translateY(0);
}

.constellation-title-inner .chapter-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}

.constellation-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.constellation-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 3-2: 별자리 캔버스 */
.constellation-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: #000008;
}

#constellation-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.constellation-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-align: center;
  pointer-events: none;
  animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* ── 아티스트 모달 ── */
.artist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.artist-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.artist-modal {
  background: rgba(12,12,20,0.98);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}
.artist-modal-overlay.is-open .artist-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.modal-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  flex-shrink: 0;
}

.modal-header-info { flex: 1; }

.modal-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.modal-role {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid rgba(201,168,76,0.4);
  padding-left: 12px;
  margin: 0;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.modal-story {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.modal-tracks-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.modal-track-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-track-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.modal-track-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(201,168,76,0.2);
}
.modal-track-item.active {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.4);
}

.track-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.track-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.modal-track-item.active .track-title { color: var(--text); }

.modal-spotify-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotify-hint {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.6;
}

/* ============================================================
   Ch.4 — OUTRO: 영원한 울림 (Reflection) — 재설계
   ============================================================ */

.ch-outro {
  position: relative;
  background: #060e18;
}

/* sticky 뷰포트: 수면 + 문장이 고정되는 영역 */
.outro-sticky-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

/* 수면 캔버스 */
#water-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.water-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,14,24,0.4) 0%,
    transparent 25%,
    transparent 75%,
    rgba(6,14,24,0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 문장 오버레이 */
.outro-phrase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  z-index: 2;
  pointer-events: none;
}

.outro-phrase-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 400;
  color: rgba(255,255,255,0);
  line-height: 1.5;
  letter-spacing: 0.02em;
  white-space: pre-line;
  text-shadow: none;
  transition:
    color 0.7s var(--ease-out),
    text-shadow 0.7s var(--ease-out),
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  opacity: 0;
  transform: translateY(24px);
  margin-bottom: 0;
}

.outro-phrase-overlay.phrase-visible .outro-phrase-text {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 0 50px rgba(100,160,220,0.35), 0 2px 24px rgba(0,0,0,0.9);
  opacity: 1;
  transform: translateY(0);
}

.outro-phrase-overlay.phrase-exiting .outro-phrase-text {
  color: rgba(255,255,255,0);
  text-shadow: none;
  opacity: 0;
  transform: translateY(-24px);
}

/* 마지막 문장 강조 */
.outro-phrase-overlay.phrase-final .outro-phrase-text {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 600;
}
.outro-phrase-overlay.phrase-final.phrase-visible .outro-phrase-text {
  text-shadow: 0 0 70px rgba(201,168,76,0.4), 0 2px 30px rgba(0,0,0,0.9);
}

/* CTA 버튼 */
.outro-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.5s var(--ease-out), transform 0.8s 0.5s var(--ease-out);
  pointer-events: none;
}

.outro-phrase-overlay.phrase-visible .outro-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.outro-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 160px;
  backdrop-filter: blur(4px);
}
.outro-cta-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.7);
  transform: translateY(-4px);
}
.outro-cta-btn .btn-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.outro-cta-btn .btn-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* 스크롤 공간 확보용 더미 블록 */
.outro-scroll-spacer {
  position: relative;
  z-index: 0;
}

.outro-trigger {
  height: 100vh;
  /* 보이지 않는 트리거 블록 */
}

/* ── 반응형 ── 
@media (max-width: 768px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-quote {
    border-left: none;
    border-top: 2px solid rgba(201,168,76,0.4);
    padding-left: 0;
    padding-top: 12px;
  }
  .constellation-canvas-wrap { height: 80vh; }
  .outro-phrase-text { font-size: clamp(1.3rem, 5vw, 2.2rem); }
  .outro-cta { flex-direction: column; align-items: center; }
}
