/* ==========================================================================
   CHAPTER 02: COLLEGE YEARS — MINI-PHASE 01 (ANIMATION-FIRST)
   Theme: Dark Editorial Engineering
   Story: UI Transformation (From Stars to Campus)
   Almost textless, unboxed, cinematic, with inspectable archival seal object.
   ========================================================================== */

:root {
  --ch02-bg: #040508;
  --ch02-bg-vignette: radial-gradient(ellipse 600px 240px at 82% 0px, rgba(60, 20, 12, 0.15) 0%, transparent 100%),
                      radial-gradient(ellipse 500px 200px at 18% 0px, rgba(20, 26, 42, 0.08) 0%, transparent 100%),
                      radial-gradient(ellipse 650px 380px at 50% 50%, rgba(255, 107, 53, 0.03) 0%, transparent 100%);
  --ch02-text-primary: #f5f2eb;
  --ch02-text-secondary: #9ca3af;
  --ch02-text-muted: #6b7280;
  --ch02-signal-amber: #ff6b35;
  --ch02-signal-glow: #ffaa70;
  --ch02-signal-deep: #e8590c;
  --ch02-border-subtle: rgba(255, 255, 255, 0.08);
  --ch02-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ch02-font-mono: 'JetBrains Mono', monospace;

  /* Scene 05 Apparatus Palette (Preserved from frozen baseline) */
  --bg-space: #07090e;
  --bg-surface: #0c1017;
  --bg-elevated: #111722;
  --line-crisp: #f1f5f9;
  --line-steel: #334155;
  --line-faint: rgba(148, 163, 184, 0.18);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --amber-warm: #f59e0b;
  --amber-deep: #d97706;
  --orange-accent: #ea580c;
  --valve-red: #ef4444;
  --cyan-tech: #64b5f6;
  --cyan-deep: #1e88e5;

  /* Scene 02 Constellation Palette */
  --const-line-primary: rgba(245, 242, 235, 0.72);
  --const-line-secondary: rgba(245, 242, 235, 0.35);
  --const-line-faint: rgba(255, 255, 255, 0.08);
  --const-amber: #ff6b35;
  --const-amber-glow: #ffaa70;
  --const-amber-deep: #c23b18;
}

/* ==========================================================================
   CANONICAL INFORMATION NODE SYMBOL (UNIFIED FROM CHAPTER 01)
   ========================================================================== */
.hero-red-dwarf__info-indicator {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.hero-red-dwarf__info-core {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fe8a2f;
  box-shadow: 0 0 6px #fe8a2f, 0 0 12px rgba(254, 138, 47, 0.4);
  animation: hero-info-core-pulse 2.6s ease-in-out infinite;
}

.hero-red-dwarf__info-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(254, 138, 47, 0.5);
  animation: hero-info-ring-ping 2.6s cubic-bezier(0.2, 0.8, 0.25, 1) infinite;
}

@keyframes hero-info-core-pulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 10px #fe8a2f, 0 0 18px rgba(254, 138, 47, 0.6);
  }
}

@keyframes hero-info-ring-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes hero-info-text-pulse {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

/* Base Chapter 02 Canvas Surface - Atmospheric dark night sky matching Hero continuity */
.chapter-02 {
  position: relative;
  background-color: var(--ch02-bg);
  background-image: var(--ch02-bg-vignette);
  color: var(--ch02-text-primary);
  font-family: var(--ch02-font-sans);
  min-height: 100vh;
  padding: 30px 24px 320px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Seamless Soft Transition from Chapter 01 into Chapter 02 */
.chapter-02::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 380px;
  background: linear-gradient(
    180deg,
    #040508 0%,
    rgba(4, 5, 8, 0.98) 70px,
    rgba(4, 5, 8, 0.85) 150px,
    rgba(4, 5, 8, 0.55) 230px,
    rgba(4, 5, 8, 0.20) 310px,
    transparent 380px
  );
  pointer-events: none;
  z-index: 2;
}

/* Atmospheric Night Sky SVG layer inheriting Chapter 01 continuity */
.ch02-night-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ch02-night-sky svg {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ch02-night-sky .star {
  transform-origin: center;
  transform-box: fill-box;
}

/* Calmed star twinkle animations matching Scene 01 academic atmosphere */
.ch02-night-sky .star--twinkle-1 {
  animation: star-blink-1 3.2s ease-in-out infinite;
}
.ch02-night-sky .star--twinkle-2 {
  animation: star-blink-2 4.5s ease-in-out infinite 0.8s;
}
.ch02-night-sky .star--twinkle-3 {
  animation: star-blink-3 3.6s ease-in-out infinite 1.4s;
}
.ch02-night-sky .star--twinkle-4 {
  animation: star-blink-4 5.4s ease-in-out infinite 2.2s;
}

/* Continuity Signal Spine flowing directly from Hero */
.ch02-signal-spine {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 80px;
  pointer-events: none;
  z-index: 5;
}

.ch02-signal-spine__line {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--ch02-signal-amber) 0%, rgba(255, 107, 53, 0.1) 100%);
  opacity: 0.85;
}

/* Content Container */
.ch02-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scene 01: UI Transformation Stage (Clean, textless, open celestial atmosphere) */
.scene-01-stage {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Motion-Led Stage Wrapper (Completely unboxed, transparent backdrop) */
.scene-01__stage-wrapper {
  position: relative;
  width: 100%;
  height: 620px;
  background: transparent;
  overflow: visible;
}

/* Particle / Geometric Canvas */
.scene-01__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

/* Centered Makara Artifact & Discoverable Inspection Node
   The ONLY visible identity cue in settled state */
.scene-01__makara-artifact {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -52px);
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 94%;
  max-width: 920px;
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene-01__makara-artifact.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.makara-artifact__emblem {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.makara-artifact__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.makara-artifact__glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 170, 112, 0.22) 0%, rgba(255, 107, 53, 0.08) 45%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scene-01__makara-artifact:hover .makara-artifact__img {
  filter: drop-shadow(0 0 22px rgba(255, 170, 112, 0.65));
  transform: scale(1.03);
}

.scene-01__makara-artifact:hover .makara-artifact__glow {
  opacity: 0.95;
  transform: scale(1.08);
}

/* Information Node Trigger under Makara Emblem (Unified with Chapter 01) */
.makara-artifact__emblem {
  cursor: pointer;
}

.makara-artifact__inspect-node {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.scene-01__makara-artifact.is-settled .makara-artifact__inspect-node,
.scene-01__makara-artifact.is-visible .makara-artifact__inspect-node {
  opacity: 1;
  transform: translateY(0);
}

.makara-artifact__inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.76);
  border: 1px solid rgba(254, 138, 47, 0.38);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  font: inherit;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(254, 138, 47, 0.18), 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.makara-artifact__inspect-btn:hover {
  background: rgba(254, 138, 47, 0.16);
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 24px rgba(254, 138, 47, 0.45), 0 4px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.makara-artifact__inspect-btn:focus-visible {
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 0 2px rgba(254, 138, 47, 0.4);
  outline: none;
}

.makara-artifact__inspect-btn:hover .hero-red-dwarf__info-label {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(254, 138, 47, 0.6), 0 0 18px rgba(254, 138, 47, 0.35);
  animation-play-state: paused;
}

.makara-artifact__inspect-btn:hover .hero-red-dwarf__info-core {
  box-shadow: 0 0 8px #fe8a2f, 0 0 16px rgba(254, 138, 47, 0.6);
}

/* Chapter 02 Navigation Pointer (Scrambled dotted arrow pointing to nav controls) */
.ch02-nav__pointer {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: #ffaa70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  z-index: 10;
}

.ch02-nav__pointer.is-visible {
  opacity: 0.85;
  pointer-events: auto;
}

.ch02-nav__pointer:hover {
  opacity: 1 !important;
  color: #ffb885;
  filter: drop-shadow(0 0 12px rgba(255, 170, 112, 0.55));
  transform: translateY(-50%) translateX(3px);
}

.ch02-nav__pointer:active {
  transform: translateY(-50%) translateX(4px) scale(0.97);
}

.ch02-nav__pointer:focus-visible {
  outline: 2px solid #ffaa70;
  outline-offset: 3px;
  border-radius: 6px;
}

.ch02-nav__pointer-label {
  font-family: var(--ch02-font-mono, monospace);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.7);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.ch02-nav__pointer:hover .ch02-nav__pointer-label {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 170, 112, 0.6);
}

.ch02-nav__pointer-arrow {
  width: 72px;
  height: 46px;
  overflow: visible;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  display: block;
}

.ch02-nav__pointer-path {
  animation: navPointerDashCrawl 12s linear infinite;
}

@keyframes navPointerDashCrawl {
  to {
    stroke-dashoffset: -116;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch02-nav__pointer-path {
    animation: none;
  }
}

/* Scene Controls */
.scene-01__controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
}

.scene-01__replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 22, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ch02-text-secondary);
  font-family: var(--ch02-font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.scene-01__replay-btn:hover {
  background: rgba(26, 32, 46, 0.9);
  border-color: rgba(255, 107, 53, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.scene-01__replay-btn kbd {
  font-family: var(--ch02-font-mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--ch02-text-muted);
}

.scene-01__replay-icon {
  width: 13px;
  height: 13px;
  color: var(--ch02-signal-glow);
}

/* ==========================================================================
   CONCISE INSTITUTIONAL ARCHIVAL DOSSIER MODAL CARD
   Revealed when inspecting the Makara artifact
   ========================================================================== */

.archival-dossier {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: dossier-fade-in 0.25s ease-out forwards;
}

.archival-dossier[hidden] {
  display: none;
}

.archival-dossier__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.88);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.archival-dossier__card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #131724 0%, #0d1017 100%);
  border: 1px solid rgba(255, 170, 112, 0.25);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 107, 53, 0.08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 2;
  animation: dossier-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dossier-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dossier-slide-up {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.archival-dossier__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.archival-dossier__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 170, 112, 0.1);
  border: 1px solid rgba(255, 170, 112, 0.28);
}

.archival-dossier__seal img {
  display: block;
  object-fit: contain;
}

.archival-dossier__year-badge {
  font-family: var(--ch02-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ffaa70;
  border: 1px solid rgba(255, 170, 112, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255, 107, 53, 0.08);
}

.archival-dossier__close {
  background: transparent;
  border: none;
  color: var(--ch02-text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.archival-dossier__close svg,
.archival-dossier__close line {
  pointer-events: none;
}

.archival-dossier__close:hover,
.archival-dossier__close:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.archival-dossier__heading-block {
  margin-bottom: 4px;
}

.archival-dossier__institution-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f5f2eb;
  line-height: 1.25;
}

.archival-dossier__faculty-name {
  margin: 4px 0 0;
  font-family: var(--ch02-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-transform: uppercase;
}

.archival-dossier__rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 170, 112, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
  margin: 18px 0;
}

.archival-dossier__program-block {
  margin-bottom: 18px;
}

.archival-dossier__program-tag {
  display: block;
  font-family: var(--ch02-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffaa70;
  font-weight: 500;
  margin-bottom: 4px;
}

.archival-dossier__degree-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.archival-dossier__cohort-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 18px 0 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.archival-dossier__cohort-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cohort-item__metric {
  font-family: var(--ch02-font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.2;
}

.cohort-item--active .cohort-item__metric {
  color: #ffaa70;
  text-shadow: 0 0 12px rgba(255, 107, 53, 0.35);
}

.cohort-item__caption {
  font-size: 0.74rem;
  color: #6b7280;
  line-height: 1.35;
}

.cohort-item--active .cohort-item__caption {
  color: #d1d5db;
  font-weight: 500;
}

.archival-dossier__cohort-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
}

.archival-dossier__restrained-line {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #8a92a0;
  font-style: italic;
}

/* Responsive Adaptations */
@media (max-width: 900px) {
  .chapter-02 {
    background-image: radial-gradient(circle 280px at 50% 45%, rgba(255, 107, 53, 0.03) 0%, transparent 100%);
  }

  .scene-01__stage-wrapper {
    height: 560px;
  }
}

@media (max-width: 640px) {
  .chapter-02 {
    padding: 20px 16px 50px;
  }

  .scene-01__stage-wrapper {
    height: 480px;
  }

  .makara-artifact__emblem {
    width: 84px;
    height: 84px;
  }


  .scene-01__makara-artifact {
    top: 46%;
    transform: translate(-50%, -42px);
    width: 92%;
    max-width: 360px;
  }

  .scene-01__statement {
    font-size: 12.5px;
    line-height: 1.55;
    margin-top: 14px;
  }

  .scene-01__controls {
    right: 12px;
    bottom: 16px;
  }

  .scene-01__next-sign {
    right: 20px;
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .scene-01__next-sign-arrow {
    width: 64px;
    height: 42px;
  }

  .scene-01__next-sign-label {
    font-size: 0.60rem;
  }

  .scene-01__replay-btn span,
  .scene-01__replay-btn kbd {
    display: none;
  }

  .scene-01__replay-btn {
    padding: 8px;
    border-radius: 50%;
  }

  .archival-dossier {
    padding: 16px;
  }

  .archival-dossier__card {
    padding: 22px 20px;
    max-width: 100%;
  }

  .archival-dossier__institution-name {
    font-size: 1.2rem;
  }

  .archival-dossier__degree-title {
    font-size: 1.1rem;
  }

  .archival-dossier__cohort-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .archival-dossier__cohort-divider {
    display: none;
  }
}

/* ==========================================================================
   SCENE 02: ENGINEERING FOUNDATIONS — THE CONSTELLATION
   Five Core Disciplines Traversal & Convergence to Astra
   ========================================================================== */

.scene-02-stage--constellation {
  position: relative;
  margin-top: 100px;
  margin-bottom: 160px;
  width: 100%;
}

/* Connector Line linking Scene 01 down into Scene 02 */
.scene-02__connector {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.scene-02__connector-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.75) 0%, rgba(255, 107, 53, 0.08) 100%);
  animation: carrier-flow 2.4s ease-in-out infinite;
}

/* Constellation Stage Wrapper */
.scene-02__constellation-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Constellation Canvas Layer */
.scene-02__constellation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: default;
  z-index: 2;
  display: block;
}

/* Interactive Station Node Buttons */
.constellation-nodes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.station-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  outline: none;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}

/* Desktop Node Coordinates */
.station-node--1 { left: 24%; top: 9%; }
.station-node--2 { left: 76%; top: 9%; }
.station-node--3 { left: 23%; top: 51%; }
.station-node--4 { left: 77%; top: 51%; }
.station-node--5 { left: 50%; top: 67%; }

/* Station Action Button (Interactive Reaction Trigger) */
.station-node__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.station-node__action-btn:hover,
.station-node__action-btn.is-active,
.station-node.is-active .station-node__action-btn {
  border-color: rgba(255, 170, 112, 0.5);
  box-shadow: 0 0 18px rgba(255, 107, 53, 0.3);
  background: rgba(18, 24, 38, 0.95);
  transform: scale(1.04);
}

.station-node__action-btn:focus-visible {
  border-color: var(--const-amber);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.4), 0 0 18px rgba(255, 107, 53, 0.3);
}

.station-node__index {
  font-family: var(--ch02-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--const-amber-glow);
  background: rgba(255, 107, 53, 0.14);
  padding: 1px 5px;
  border-radius: 3px;
}

.station-node__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ch02-text-primary);
  letter-spacing: -0.01em;
}

.station-node__formula {
  font-family: var(--ch02-font-mono);
  font-size: 0.7rem;
  color: var(--ch02-text-secondary);
  letter-spacing: 0.04em;
}

/* Dedicated Inspect Node Button for Each Experiment */
.station-node__inspect-btn {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid rgba(254, 138, 47, 0.35);
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.station-node__inspect-btn:hover {
  background: rgba(254, 138, 47, 0.15);
  border-color: rgba(254, 138, 47, 0.75);
  box-shadow: 0 0 16px rgba(254, 138, 47, 0.4);
  transform: scale(1.15);
}

.station-node__inspect-btn:focus-visible {
  outline: 2px solid #fe8a2f;
  outline-offset: 2px;
}

/* Central Global Inspect Node: College Foundations Journey (Unified with Chapter 01 & Archival Identity) */
.constellation-global-node {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: auto;
}

.constellation-global-node__artifact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.constellation-global-node__emblem {
  position: relative;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.constellation-global-node__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.constellation-global-node__glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 170, 112, 0.22) 0%, rgba(255, 107, 53, 0.08) 45%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.constellation-global-node:hover .constellation-global-node__img,
.constellation-global-node__artifact:hover .constellation-global-node__img {
  filter: drop-shadow(0 0 18px rgba(255, 170, 112, 0.7));
  transform: scale(1.06);
}

.constellation-global-node:hover .constellation-global-node__glow,
.constellation-global-node__artifact:hover .constellation-global-node__glow {
  opacity: 0.95;
  transform: scale(1.12);
}

.constellation-global-node__timeline {
  display: inline-block;
  font-family: var(--ch02-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffaa70;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 170, 112, 0.28);
  padding: 2px 10px;
  border-radius: 12px;
  user-select: none;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.15);
  margin-bottom: 2px;
}

.global-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.76);
  border: 1px solid rgba(254, 138, 47, 0.38);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  font: inherit;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(254, 138, 47, 0.18), 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  pointer-events: auto;
}

.global-inspect-btn:hover {
  background: rgba(254, 138, 47, 0.16);
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 24px rgba(254, 138, 47, 0.45), 0 4px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.global-inspect-btn:focus-visible {
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 0 2px rgba(254, 138, 47, 0.4);
  outline: none;
}

.global-inspect-btn:hover .hero-red-dwarf__info-label {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(254, 138, 47, 0.6), 0 0 18px rgba(254, 138, 47, 0.35);
  animation-play-state: paused;
}

.global-inspect-btn:hover .hero-red-dwarf__info-core {
  box-shadow: 0 0 8px #fe8a2f, 0 0 16px rgba(254, 138, 47, 0.6);
}

.scene-02-dossier__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 170, 112, 0.1);
  border: 1px solid rgba(255, 170, 112, 0.25);
  color: var(--const-amber-glow);
}

/* Scene 02 Replay Controls */
.scene-02__controls {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 5;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.scene-02__controls:hover {
  opacity: 1;
}

.scene-02__replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 22, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 6px 14px;
  color: var(--ch02-text-muted);
  font-family: var(--ch02-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scene-02__replay-btn:hover {
  background: rgba(26, 32, 46, 0.9);
  color: var(--ch02-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.scene-02__replay-btn:focus-visible {
  outline: 2px solid var(--ch02-signal-amber);
  outline-offset: 2px;
}

.scene-02__replay-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.scene-02__replay-btn kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 9px;
  color: var(--ch02-text-muted);
}

/* Responsive Adaptations */
@media (max-width: 960px) {
  .scene-02__constellation-wrapper {
    height: 920px;
  }

  .station-node--1 { left: 24%; top: 16%; }
  .station-node--2 { left: 76%; top: 16%; }
  .station-node--3 { left: 20%; top: 60%; }
  .station-node--4 { left: 80%; top: 60%; }
  .station-node--5 { left: 50%; top: 74%; }

  .constellation-global-node {
    top: 40%;
  }
}

@media (max-width: 640px) {
  .scene-02-stage--constellation {
    margin-top: 0;
    margin-bottom: 0;
  }

  .scene-02__constellation-wrapper {
    height: 1340px;
  }

  /* Vertical Serpentine Stacking for Mobile Viewport */
  .station-node--1 { left: 50%; top: 5%; }
  .station-node--2 { left: 50%; top: 20%; }
  .station-node--3 { left: 50%; top: 35%; }
  .station-node--4 { left: 50%; top: 50%; }
  .station-node--5 { left: 50%; top: 65%; }

  .constellation-global-node {
    top: 91%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .constellation-global-node__emblem {
    width: 44px;
    height: 44px;
  }

  .constellation-global-node__timeline {
    font-size: 0.68rem;
    padding: 1px 8px;
  }

  .scene-02__controls {
    right: 12px;
    bottom: 12px;
  }

  .scene-02__replay-btn span,
  .scene-02__replay-btn kbd {
    display: none;
  }

  .scene-02__replay-btn {
    padding: 8px;
    border-radius: 50%;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  .global-inspect__ring {
    animation: none;
  }

  .scene-02__connector-line {
    animation: none;
  }
}

/* ==========================================================================
   SCENE 03: ASTRA AGRO LESTARI — PALM OIL MILL PROCESS (2018)
   Theme: Industrial Engineering / Material & Measurement
   Story: Continuous milling process: FFB -> Weighbridge -> Sterilizer -> Press -> Clarifier -> CPO
   ========================================================================== */

.scene-03-stage {
  position: relative;
  margin-top: 100px;
  margin-bottom: 220px;
  width: 100%;
}

/* Unboxed stage wrapper for the industrial process animation */
.scene-03__stage-wrapper {
  position: relative;
  width: 100%;
  height: 940px;
  overflow: visible;
}

/* Canvas filling the wrapper */
.scene-03__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

/* Scene 03 Unified Information Nodes Cluster (Bottom Right) */
.scene-03__node-cluster {
  position: absolute;
  right: 48px;
  bottom: 38px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

/* Backward compatibility positioning wrappers if referenced */
.scene-03__control-node,
.scene-03__process-node {
  display: inline-flex;
  position: static;
}

/* General Scene 03 Information Button (Unified with Scenes 01, 02, 04, 05) */
.scene-03__inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.76);
  border: 1px solid rgba(254, 138, 47, 0.38);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  font: inherit;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(254, 138, 47, 0.18), 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  pointer-events: auto;
}

.scene-03__inspect-btn:hover {
  background: rgba(254, 138, 47, 0.16);
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 24px rgba(254, 138, 47, 0.45), 0 4px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.scene-03__inspect-btn:focus-visible {
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 0 2px rgba(254, 138, 47, 0.4);
  outline: none;
}

.scene-03__inspect-btn:hover .hero-red-dwarf__info-label {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(254, 138, 47, 0.6), 0 0 18px rgba(254, 138, 47, 0.35);
}

.scene-03__inspect-btn:hover .hero-red-dwarf__info-core {
  box-shadow: 0 0 8px #fe8a2f, 0 0 16px rgba(254, 138, 47, 0.6);
}

/* Technical Specific Information Button (Blue Node Explainer) */
.scene-03__process-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 20, 32, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.42);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  font: inherit;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2), 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  pointer-events: auto;
}

.scene-03__process-btn:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45), 0 4px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.scene-03__process-btn:focus-visible {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
  outline: none;
}

/* Technical Blue Node Indicator Elements */
.tech-node__indicator {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tech-node__core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8, 0 0 12px rgba(56, 189, 248, 0.85);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tech-node__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.65);
  animation: techRingPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes techRingPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  65% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.tech-node__label {
  font-family: var(--ch02-font-mono, monospace);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
  color: rgba(224, 242, 254, 0.85);
  line-height: 1;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.scene-03__process-btn:hover .tech-node__label {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6), 0 0 18px rgba(56, 189, 248, 0.35);
}

.scene-03__process-btn:hover .tech-node__core {
  box-shadow: 0 0 8px #38bdf8, 0 0 18px rgba(56, 189, 248, 1);
  transform: scale(1.15);
}

/* Scene 03 Replay Controls */
.scene-03__controls {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 10;
}

.scene-03__replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(12, 15, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ch02-text-secondary);
  font-family: var(--ch02-font-sans);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.scene-03__replay-btn:hover {
  background: rgba(20, 24, 34, 0.9);
  color: var(--ch02-text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.scene-03__replay-icon {
  width: 14px;
  height: 14px;
}

.scene-03__replay-btn kbd {
  font-family: var(--ch02-font-mono);
  font-size: 0.68rem;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ch02-text-muted);
}

/* Evidence Panel Modal (Wide Card for 3 Factual Photo Tiles) */
.archival-dossier__card--wide {
  max-width: 720px;
  width: 92%;
}

.scene-03-dossier__emblem img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
}

.scene-03-dossier__location {
  font-size: 0.82rem;
  color: var(--ch02-text-muted);
  margin-top: 4px;
  font-family: var(--ch02-font-mono);
}

.scene-03-dossier__core-statement {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #fff4ea;
  font-style: italic;
  margin: 18px 0 22px;
  padding: 12px 18px;
  background: rgba(255, 107, 53, 0.05);
  border-left: 2px solid var(--ch02-signal-amber);
  border-radius: 0 6px 6px 0;
}

.scene-03-dossier__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.scene-03-dossier__tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scene-03-dossier__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1017;
}

.scene-03-dossier__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) brightness(0.96);
  transition: transform 0.4s ease;
}

.scene-03-dossier__img-wrap--intern img,
.scene-03-dossier__img-wrap img[src*="weighbridge"] {
  object-position: 8% 92%;
}

.scene-03-dossier__tile:hover .scene-03-dossier__img-wrap img {
  transform: scale(1.04);
}

.scene-03-dossier__caption {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--ch02-text-muted);
  font-family: var(--ch02-font-mono);
}

.scene-03-dossier__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scene-03-dossier__chip {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ch02-text-secondary);
  font-family: var(--ch02-font-mono);
}

/* Process Explainer Modal (6-Stage Continuous Mill Architecture) */
.archival-dossier__card--process {
  max-width: 820px;
  width: 94%;
}

.scene-03-process__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ch02-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #90caf9;
  background: rgba(66, 165, 245, 0.1);
  border: 1px solid rgba(66, 165, 245, 0.28);
  padding: 4px 10px;
  border-radius: 9999px;
}

.scene-03-process__flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.scene-03-process__stage-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 18px;
  transition: all 0.2s ease;
}

.scene-03-process__stage-card:hover {
  border-color: rgba(255, 170, 112, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.scene-03-process__stage-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.scene-03-process__stage-num {
  font-family: var(--ch02-font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ch02-signal-glow);
}

.scene-03-process__stage-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  flex: 1;
}

.scene-03-process__stage-name {
  font-family: var(--ch02-font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: #f3ede2;
  margin: 0;
}

.scene-03-process__stage-phase {
  font-family: var(--ch02-font-mono);
  font-size: 0.72rem;
  color: var(--ch02-text-muted);
  margin-left: auto;
}

.scene-03-process__stage-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.scene-03-process__stage-section {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ch02-text-secondary);
}

.scene-03-process__stage-section p {
  margin: 0;
}

.scene-03-process__subhead {
  font-family: var(--ch02-font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ch02-text-muted);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.scene-03-process__subhead--accent {
  color: #ffaa70;
}

/* Responsive Overrides for Scene 03 */
@media (max-width: 960px) {
  .scene-03__stage-wrapper {
    height: 720px;
  }
}

@media (max-width: 640px) {
  .scene-03-stage {
    margin-top: 40px;
    margin-bottom: 120px;
  }

  .scene-03__stage-wrapper {
    height: 1480px;
  }

  .scene-03__node-cluster {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .scene-03__controls {
    left: 16px;
    bottom: 16px;
  }

  .scene-03__replay-btn span,
  .scene-03__replay-btn kbd {
    display: none;
  }

  .scene-03__replay-btn {
    padding: 8px;
    border-radius: 50%;
  }

  .archival-dossier {
    padding: 72px 12px 24px;
    align-items: flex-start;
  }

  .archival-dossier__card {
    padding: 22px 18px;
    max-height: calc(100vh - 96px);
    margin: 0 auto;
  }

  .scene-03-dossier__core-statement {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 14px 0 16px;
    padding: 10px 14px;
  }

  .scene-03-dossier__gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .scene-03-dossier__img-wrap {
    height: 150px;
    aspect-ratio: auto;
  }

  .scene-03-dossier__img-wrap--intern {
    height: 230px;
  }

  .scene-03-dossier__img-wrap--intern img,
  .scene-03-dossier__img-wrap img[src*="weighbridge"] {
    object-position: 8% 95%;
  }

  .scene-03-dossier__caption {
    font-size: 0.68rem;
  }

  .scene-03-process__stage-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .scene-03-process__stage-phase {
    margin-left: 0;
    width: 100%;
  }
}



/* ==========================================================================
   UNIFIED CHAPTER 02 FIXED VIEWPORT ARCHITECTURE
   Single 100vh stage, persistent HUD controller, seamless crossfade layers.
   Eliminates vertical scrolling between Chapter 02 scenes.
   ========================================================================== */

/* Screen reader only utility (Guaranteed visual hidden) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.chapter-02 {
  position: relative;
  background-color: var(--ch02-bg);
  background-image: var(--ch02-bg-vignette);
  color: var(--ch02-text-primary);
  font-family: var(--ch02-font-sans);
  height: 100vh !important;
  min-height: 600px !important;
  max-height: 100vh !important;
  padding-top: 64px !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Atmospheric Night Sky Layer */
.ch02-night-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Minimal Chapter 02 Scene Navigation Controls (Unboxed, single yellowish right arrow) */
.ch02-nav {
  position: absolute;
  top: 76px;
  right: 28px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ch02-nav-btn {
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ch02-signal-glow, #ffaa70);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ch02-nav-btn svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px rgba(255, 170, 112, 0.45));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease, color 0.2s ease;
}

.ch02-nav-btn:hover:not(:disabled) {
  color: #ffc28d;
  background: rgba(255, 170, 112, 0.12);
}

.ch02-nav-btn--prev:hover:not(:disabled) {
  transform: translateX(-3px);
}

.ch02-nav-btn--next:hover:not(:disabled) {
  transform: translateX(3px);
}

.ch02-nav-btn:hover:not(:disabled) svg {
  filter: drop-shadow(0 0 12px rgba(255, 170, 112, 0.85));
}

.ch02-nav-btn--prev:active:not(:disabled) {
  transform: translateX(-4px) scale(0.94);
}

.ch02-nav-btn--next:active:not(:disabled) {
  transform: translateX(4px) scale(0.94);
}

.ch02-nav-btn:focus-visible {
  outline: 2px solid var(--ch02-signal-amber, #ff6b35);
  outline-offset: 3px;
}

.ch02-nav-btn:disabled {
  opacity: 0.15;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Single Viewport Fixed Stage (Fills viewport below fixed portfolio header) */
.ch02-stage {
  flex: 1;
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Individual Scene Layers (Seamless Crossfade Stack) */
.ch02-scene-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ch02-scene-layer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

/* Override historical stacked margins for unified fixed viewport */
.scene-01-stage,
.scene-02-stage,
.scene-02-stage--constellation,
.scene-03-stage,
.scene-04-stage,
.scene-05-stage {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.scene-01__stage-wrapper,
.scene-04__stage-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Scene 02 Constellation Stage Wrapper (Preserves 1240x860 native composition with stage-level scale fitting) */
.scene-02__constellation-wrapper {
  position: relative;
  width: 1240px;
  height: 860px;
  transform: scale(var(--s2-scale, 1));
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .scene-02__constellation-wrapper {
    width: 360px;
    height: 1180px;
  }
}

/* Scene 03 Palm Oil Mill Stage Wrapper (SVG Causal Mill Process 1920x1080) */
.scene-03__stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 170, 34, 0.12);
  background: #050608;
  overflow: hidden;
}

.scene-03__svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 640px) {
  .scene-03__stage-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
    border-radius: 4px;
  }
  .scene-03__node-cluster {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }
}

/* Scene 04 Canvas sizing */
.scene-04__canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Scene 04 Information Node Trigger */
.scene-04__info-node {
  position: absolute;
  right: 48px;
  bottom: 38px;
  z-index: 10;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .scene-04__info-node {
    right: 16px;
    bottom: 20px;
  }
}

.scene-04__inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.76);
  border: 1px solid rgba(254, 138, 47, 0.38);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  font: inherit;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(254, 138, 47, 0.18), 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  pointer-events: auto;
}

.scene-04__inspect-btn:hover {
  background: rgba(254, 138, 47, 0.16);
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 24px rgba(254, 138, 47, 0.45), 0 4px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.scene-04__inspect-btn:focus-visible {
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 0 2px rgba(254, 138, 47, 0.4);
  outline: none;
}

.scene-04__inspect-btn:hover .hero-red-dwarf__info-label {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(254, 138, 47, 0.6), 0 0 18px rgba(254, 138, 47, 0.35);
}

.scene-04__inspect-btn:hover .hero-red-dwarf__info-core {
  box-shadow: 0 0 8px #fe8a2f, 0 0 16px rgba(254, 138, 47, 0.6);
}

/* Scene 04 Dossier Dialog Styles (Tokyo Institute of Technology) */
.scene-04-dossier__card {
  max-width: 620px;
  width: 92%;
  padding: 22px 26px;
}

.scene-04-dossier__narrative {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.58;
  color: #f4efe8;
  margin-top: 14px;
  margin-bottom: 18px;
}

.scene-04-dossier__narrative p {
  margin: 0;
}

.scene-04-dossier__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.scene-04-dossier__tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scene-04-dossier__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 170, 112, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 16px rgba(255, 107, 53, 0.05);
  background: #0b0e14;
}

.scene-04-dossier__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition: transform 0.35s ease;
}

.scene-04-dossier__tile:hover .scene-04-dossier__img-wrap img {
  transform: scale(1.03);
}

.scene-04-dossier__caption {
  font-family: var(--ch02-font-mono);
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--ch02-text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .scene-04-dossier__card {
    padding: 18px 16px;
    max-height: calc(100vh - 28px);
  }

  .scene-04-dossier__narrative {
    font-size: 0.88rem;
    line-height: 1.52;
    gap: 9px;
    margin-top: 10px;
    margin-bottom: 14px;
  }

  .scene-04-dossier__gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scene-04-dossier__caption {
    font-size: 0.68rem;
  }
}

/* Scene 05 Information Node Trigger */
.scene-05__info-node {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 10;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .scene-05__info-node {
    top: 14px;
    right: 14px;
  }
}

.scene-05__inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.76);
  border: 1px solid rgba(254, 138, 47, 0.38);
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  font: inherit;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(254, 138, 47, 0.18), 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  pointer-events: auto;
}

.scene-05__inspect-btn:hover {
  background: rgba(254, 138, 47, 0.16);
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 24px rgba(254, 138, 47, 0.45), 0 4px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.scene-05__inspect-btn:focus-visible {
  border-color: rgba(254, 138, 47, 0.85);
  box-shadow: 0 0 0 2px rgba(254, 138, 47, 0.4);
  outline: none;
}

.scene-05__inspect-btn:hover .hero-red-dwarf__info-label {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(254, 138, 47, 0.6), 0 0 18px rgba(254, 138, 47, 0.35);
}

.scene-05__inspect-btn:hover .hero-red-dwarf__info-core {
  box-shadow: 0 0 8px #fe8a2f, 0 0 16px rgba(254, 138, 47, 0.6);
}

/* Scene 05 Dossier Dialog Styles */
.scene-05-dossier__card {
  max-width: 620px;
  width: 92%;
  padding: 22px 26px;
}

.scene-05-dossier__primary-figure {
  margin: 0 0 14px 0;
}

.scene-05-dossier__primary-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 170, 112, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 53, 0.06);
  background: #0b0e14;
}

.scene-05-dossier__primary-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: contrast(1.03) brightness(0.97);
  transition: transform 0.4s ease;
}

.scene-05-dossier__primary-figure:hover .scene-05-dossier__primary-img-wrap img {
  transform: scale(1.02);
}

.scene-05-dossier__narrative {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.58;
  color: #f4efe8;
  margin-bottom: 16px;
}

.scene-05-dossier__narrative p {
  margin: 0;
}

.scene-05-dossier__closing {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: rgba(255, 170, 112, 0.05);
  border: 1px solid rgba(255, 170, 112, 0.2);
  border-radius: 8px;
}

.scene-05-dossier__grad-thumb {
  width: 54px;
  height: 68px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 170, 112, 0.32);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background: #090c12;
}

.scene-05-dossier__grad-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.scene-05-dossier__grad-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scene-05-dossier__grad-badge {
  font-family: var(--ch02-font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffaa70;
}

.scene-05-dossier__grad-label {
  font-family: var(--ch02-font-mono);
  font-size: 0.72rem;
  color: var(--ch02-text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .scene-05-dossier__card {
    padding: 18px 16px;
    max-height: calc(100vh - 28px);
  }

  .scene-05-dossier__narrative {
    font-size: 0.88rem;
    line-height: 1.52;
    gap: 9px;
    margin-bottom: 14px;
  }

  .scene-05-dossier__closing {
    padding: 7px 11px;
    gap: 11px;
  }

  .scene-05-dossier__grad-thumb {
    width: 48px;
    height: 60px;
  }

  .scene-05-dossier__grad-badge {
    font-size: 0.76rem;
  }

  .scene-05-dossier__grad-label {
    font-size: 0.66rem;
  }
}

/* Scene 05 Apparatus Rig Framing & SVG Styling (Semi-Transparent Glass Container) */
.scene-05__stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  background: radial-gradient(circle at 50% 30%, rgba(13, 18, 28, 0.48) 0%, rgba(7, 9, 14, 0.60) 85%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 239, 232, 0.09);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.apparatus-svg {
  width: 100%;
  height: auto;
  max-height: 520px;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .scene-05__stage-wrapper {
    padding: 16px 12px 20px;
    border-radius: 6px;
  }
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {
  .chapter-02 {
    padding-top: 56px !important;
  }
  .ch02-nav {
    top: 66px;
    right: 14px;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .ch02-nav-btn {
    width: 34px;
    height: 34px;
  }
  .ch02-nav__pointer {
    right: calc(100% + 6px);
    gap: 5px;
    padding: 2px 4px;
  }
  .ch02-nav__pointer-arrow {
    width: 58px;
    height: 38px;
  }
  .ch02-nav__pointer-label {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
  .ch02-stage {
    height: calc(100vh - 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch02-scene-layer {
    transition: opacity 0.01s ease, visibility 0.01s ease;
  }
}
