/* ============================================================
   ORBISOJAS — Design System CSS
   "Design as Descent" — light from below, text lives in scene
   ============================================================ */

:root {
  --midnight: #0B0C1E;
  --deep-blue: #141832;
  --teal: #1A4A5C;
  --amber: #C08A2C;
  --rose: #C44858;
  --cream: #D4A870;
  --stone: #7A7A78;
  --ink: #E8DCC8;
  --ink-dim: #8A7D6A;
  --flame: #C45E2A;
  --ember: #E8834A;
  --bg: #0B0C1E;
  --section-border: #1a1e38;
  --glass: rgba(11, 12, 30, 0.55);
  --glass-border: rgba(80, 90, 140, 0.2);

  --font-pixel: 'Press Start 2P', monospace;
  --font-ui: 'Space Grotesk', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Descent Meter --- */
.descent-meter {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 120px;
  background: rgba(80, 90, 140, 0.15);
  border-radius: 2px;
  z-index: 90;
  overflow: hidden;
}
.descent-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--stone), var(--amber), var(--rose));
  border-radius: 2px;
  transition: height 0.15s linear;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(11, 12, 30, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.5s var(--ease);
}
.nav--scrolled {
  background: rgba(11, 12, 30, 0.92);
  border-bottom-color: var(--section-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 52px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ojas-orb {
  color: var(--rose);
  font-size: 16px;
  animation: warmPulse 4s ease-in-out infinite;
}
@keyframes warmPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(196, 72, 88, 0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(196, 72, 88, 0.8)); }
}
.nav-logo-text {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink);
}
.nav-links {
  display: none;
  gap: 20px;
  margin-left: auto;
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 52px; left: 0; right: 0;
  background: rgba(11, 12, 30, 0.97);
  padding: 20px 24px;
  gap: 18px;
  border-bottom: 1px solid var(--section-border);
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-links.open { position: static; flex-direction: row; background: none; padding: 0; border: none; }
}
.nav-links a {
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--font-pixel);
  font-size: 7px;
  letter-spacing: 1px;
  padding: 8px 14px;
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
  margin-left: auto;
}
@media (min-width: 900px) { .nav-cta { margin-left: 0; } }
.nav-cta:hover {
  background: var(--amber);
  color: var(--midnight);
  box-shadow: 0 0 20px rgba(192, 138, 44, 0.3);
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* ============================================================
   SCENES — Shared
   ============================================================ */
.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@supports (background-attachment: fixed) {
  @media (min-width: 900px) {
    .scene { background-attachment: fixed; }
  }
}

/* --- Per-scene backgrounds and overlays --- */
.scene-01 { background-image: url('../img/scene-01.png'); }
.scene-02 { background-image: url('../img/scene-02.png'); }
.scene-03 { background-image: url('../img/scene-03.png'); }
.scene-04 { background-image: url('../img/scene-04.png'); }

.scene::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scene-01::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(192, 138, 44, 0.06) 0%, transparent 50%),
    linear-gradient(0deg, rgba(11,12,30,0.85) 0%, rgba(11,12,30,0.5) 35%, rgba(11,12,30,0.15) 65%, rgba(11,12,30,0.3) 100%);
}
.scene-02::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(196, 72, 88, 0.05) 0%, transparent 45%),
    linear-gradient(0deg, rgba(11,12,30,0.88) 0%, rgba(11,12,30,0.55) 30%, rgba(11,12,30,0.2) 60%, rgba(11,12,30,0.35) 100%);
}
.scene-03::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(192, 138, 44, 0.08) 0%, transparent 50%),
    linear-gradient(0deg, rgba(11,12,30,0.8) 0%, rgba(11,12,30,0.5) 25%, rgba(11,12,30,0.35) 55%, rgba(11,12,30,0.4) 100%);
}
.scene-04::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(192, 138, 44, 0.12) 0%, transparent 55%),
    linear-gradient(0deg, rgba(11,12,30,0.75) 0%, rgba(11,12,30,0.35) 30%, rgba(11,12,30,0.15) 60%, rgba(11,12,30,0.3) 100%);
}

.scene-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
}

/* ============================================================
   SCENE PANELS — Glass cards that hold text IN the scene
   ============================================================ */
.scene-panel {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 28px 32px;
  max-width: 460px;
  opacity: 0;
}
.scene-panel--bottom-left { align-self: flex-start; }
.scene-panel--center { align-self: center; text-align: center; }
.scene-panel--top-center { align-self: center; text-align: center; }

.scene-num {
  font-family: var(--font-pixel);
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(192, 138, 44, 0.35);
}
.scene-title {
  font-family: var(--font-pixel);
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.6;
}
.scene-lead {
  font-family: var(--font-pixel);
  font-size: 8px;
  line-height: 2.6;
  color: var(--cream);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.scene-lead .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  margin-right: 0.3em;
}
.scene-lead .word:last-child { margin-right: 0; }
.scene-whisper {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 2;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.scene-whisper--dim {
  color: var(--stone);
  margin-top: 8px;
  font-style: italic;
}

/* ============================================================
   FLOATING TAGS (Scene 01) — Notification popup style
   ============================================================ */
.float-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.ftag {
  position: absolute;
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--ink-dim);
  background: var(--glass);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ftag-icon {
  font-size: 11px;
  filter: grayscale(0.3);
}
.ftag-icon--heart {
  color: var(--rose);
  filter: none;
}

/* Notification ping dot */
.ftag-ping {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
  opacity: 0;
}
.ftag-ping--heart { background: var(--rose); }
.ftag-ping.active {
  opacity: 1;
  animation: notifPing 2s ease-out infinite;
}
@keyframes notifPing {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(196, 72, 88, 0.6); }
  70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 8px rgba(196, 72, 88, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(196, 72, 88, 0); }
}

/* Pop-in animation for tags */
.ftag.pop-in {
  animation: tagPop 0.4s var(--ease) forwards;
}
@keyframes tagPop {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

/* Heart tag special glow */
.ftag--heart {
  border-color: rgba(196, 72, 88, 0.25);
}
.ftag--heart:hover {
  border-color: rgba(196, 72, 88, 0.5);
  box-shadow: 0 0 16px rgba(196, 72, 88, 0.15);
}

/* Clock */
.clock-label {
  position: absolute;
  bottom: 100px;
  right: 32px;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--amber);
  opacity: 0;
  z-index: 2;
  text-shadow: 0 0 16px rgba(192, 138, 44, 0.5);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
  opacity: 0;
}
.scroll-hint span {
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 3px;
  color: var(--ink-dim);
}
.scroll-hint-arrow {
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(45deg);
  animation: arrowDrift 2s ease-in-out infinite;
}
@keyframes arrowDrift {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

/* ============================================================
   SCENE 02 — Metric Cards (Pop Culture UI Widgets)
   ============================================================ */
.scene-02 .scene-content {
  justify-content: center;
  gap: 28px;
}
@media (min-width: 900px) {
  .scene-02 .scene-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.metric-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
}
@media (min-width: 900px) {
  .metric-grid { margin-left: auto; }
}
.metric-card {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--ink);
  background: var(--glass);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  padding: 9px 12px;
  border-radius: 3px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  opacity: 0;
  position: relative;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.3s;
}
.metric-card:hover {
  border-color: rgba(192, 138, 44, 0.35);
  box-shadow: 0 0 12px rgba(192, 138, 44, 0.08);
  transform: translateY(-1px);
}

.mc-icon { color: var(--rose); font-size: 10px; }
.mc-val { color: var(--amber); font-weight: 700; }
.mc-label { color: var(--ink-dim); }
.mc-wide { flex-basis: 100%; text-align: center; color: var(--ink-dim); justify-content: center; }
.mc-accent { border-color: rgba(192, 138, 44, 0.25); }
.mc-danger { border-color: rgba(196, 72, 88, 0.25); color: var(--rose); }

/* Heart pop animation on likes icon */
.mc-icon--pop {
  transition: transform 0.3s var(--ease);
}
.mc-icon--pop.pop {
  animation: heartPop 0.5s var(--ease);
}
@keyframes heartPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  50% { transform: scale(0.9); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Floating mini hearts container */
.mc-hearts {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.mc-mini-heart {
  position: absolute;
  font-size: 8px;
  color: var(--rose);
  opacity: 0;
  animation: floatHeart 1.2s ease-out forwards;
  pointer-events: none;
}
@keyframes floatHeart {
  0% { opacity: 1; transform: translateY(0) scale(0.6); }
  100% { opacity: 0; transform: translateY(-30px) scale(1); }
}

/* Badge (notification count) */
.mc-badge {
  font-family: var(--font-pixel);
  font-size: 6px;
  background: var(--rose);
  color: var(--midnight);
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: 700;
  animation: badgePop 0.4s var(--ease);
  opacity: 0;
}
.mc-badge.active { opacity: 1; }
.mc-badge--small {
  font-size: 5px;
  padding: 1px 4px;
  background: var(--amber);
}
@keyframes badgePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Productivity gauge */
.mc-gauge-card {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 100px;
}
.mc-gauge {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(80, 90, 140, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.mc-gauge-fill {
  width: 0%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber), var(--ember));
  transition: width 2s var(--ease);
  box-shadow: 0 0 8px rgba(192, 138, 44, 0.4);
}
.mc-gauge-fill.animate { width: 87%; }
.mc-gauge-text {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-pixel);
  font-size: 5px;
  color: var(--midnight);
  opacity: 0;
  transition: opacity 0.5s 1.5s;
}
.mc-gauge-fill.animate ~ .mc-gauge-text { opacity: 1; }

/* Typewriter card */
.mc-typewriter {
  min-height: 28px;
  font-family: var(--font-pixel);
  font-size: 7px;
  color: var(--ink-dim);
}
.mc-type-text {
  color: var(--ink-dim);
}
.mc-cursor {
  color: var(--amber);
  animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Trophy shake */
.mc-icon--trophy {
  font-size: 12px;
  display: inline-block;
}
.mc-icon--trophy.shake {
  animation: trophyShake 0.6s ease-in-out;
}
@keyframes trophyShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-4deg); }
  80% { transform: rotate(4deg); }
}

/* Scrolling arrows */
.mc-scroll-arrows {
  color: var(--amber);
  font-family: var(--font-pixel);
  font-size: 7px;
  animation: scrollArrows 1.5s linear infinite;
}
@keyframes scrollArrows {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* Money counter */
.mc-money {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--amber);
}

/* Validation card */
.mc-validation {
  border-color: rgba(196, 72, 88, 0.15);
}

/* NOT ENOUGH — infinite loading bar */
.mc-never-enough {
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}
.mc-bar {
  width: 100%;
  height: 5px;
  background: rgba(196,72,88,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.mc-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--rose);
  border-radius: 3px;
  transition: width 1.5s var(--ease);
}
.mc-bar-fill.animate { width: 75%; }
.mc-bar-fill--loop.animate {
  animation: neverEnough 3s ease-in-out infinite;
}
@keyframes neverEnough {
  0% { width: 0%; }
  50% { width: 75%; }
  80% { width: 75%; }
  100% { width: 0%; }
}

/* Keep up urgency pulse */
.mc-keepup {
  animation: none;
}
.mc-keepup.pulse {
  animation: keepUpPulse 1.5s ease-in-out infinite;
}
@keyframes keepUpPulse {
  0%, 100% { border-color: rgba(196, 72, 88, 0.25); }
  50% { border-color: rgba(196, 72, 88, 0.6); box-shadow: 0 0 12px rgba(196, 72, 88, 0.15); }
}

/* ============================================================
   SCENE 03 — Truth Columns + Layers
   ============================================================ */
.scene-03 .scene-content {
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.truth-columns {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}
.truth-col {
  flex: 1;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 20px;
  opacity: 0;
}
.truth-col h4 {
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--ink-dim);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}
.truth-col li {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 2.2;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.x-mark { color: var(--rose); font-size: 14px; font-weight: 700; }
.o-mark { color: var(--amber); font-size: 12px; }
.truth-col--real { border-color: rgba(192, 138, 44, 0.15); }
.truth-col--real li { color: var(--cream); }
.truth-col--real h4 { color: var(--amber); border-color: rgba(192, 138, 44, 0.15); }

/* Layers diagram — with activation pulse */
.layers-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 16px 24px;
  opacity: 0;
}
.layer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.layer-item.active {
  transform: translateY(-3px);
}
.layer-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(192,138,44,0.25));
  transition: filter 0.5s, transform 0.4s;
}
.layer-item.active .layer-icon {
  filter: drop-shadow(0 0 14px rgba(192,138,44,0.7));
  transform: scale(1.15);
}
.layer-name {
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--cream);
  transition: color 0.4s;
}
.layer-item.active .layer-name { color: var(--amber); }

.layer-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.layer-item.active .layer-pulse {
  animation: layerPulseRing 1.5s ease-out infinite;
}
@keyframes layerPulseRing {
  0% { opacity: 0.4; box-shadow: 0 0 0 0 rgba(192, 138, 44, 0.5); }
  100% { opacity: 0; box-shadow: 0 0 0 14px rgba(192, 138, 44, 0); }
}

.layer-line {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0.35;
}
.layer-item--ground .layer-icon { filter: drop-shadow(0 0 10px rgba(192,138,44,0.5)); }

/* ============================================================
   SCENE 04 — Journey Path + CTA (Character Select vibe)
   ============================================================ */
.scene-04 .scene-content {
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.journey-path {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 800px;
  position: relative;
  padding: 20px 0;
}
.journey-path::before {
  content: '';
  position: absolute;
  bottom: 65px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--stone), var(--amber), var(--rose));
  opacity: var(--line-opacity, 0);
  transition: opacity 2s var(--ease);
}

.jp-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 130px;
  opacity: 0;
  position: relative;
  cursor: default;
}

/* Character select glow behind stage */
.jp-glow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.jp-stage.lit .jp-glow {
  opacity: 1;
  animation: stageGlow 2s ease-in-out infinite;
}
@keyframes stageGlow {
  0%, 100% { box-shadow: 0 0 15px 4px rgba(192, 138, 44, 0.15); }
  50% { box-shadow: 0 0 25px 8px rgba(192, 138, 44, 0.3); }
}
.jp-stage[data-stage="boy"] .jp-glow { box-shadow: 0 0 20px 5px rgba(122, 122, 120, 0.2); }
.jp-stage[data-stage="sovereign"].lit .jp-glow {
  animation: sovereignGlow 2s ease-in-out infinite;
}
@keyframes sovereignGlow {
  0%, 100% { box-shadow: 0 0 15px 4px rgba(192, 138, 44, 0.2); }
  50% { box-shadow: 0 0 30px 10px rgba(192, 138, 44, 0.45); }
}

.jp-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  padding-bottom: 45px;
  color: var(--amber);
  font-family: var(--font-pixel);
  font-size: 9px;
  opacity: 0;
}
.jp-label {
  font-family: var(--font-pixel);
  font-size: 6px;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}
.jp-sub {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--ink-dim);
  font-style: italic;
}

/* Stage tag — character select label */
.jp-tag {
  font-family: var(--font-pixel);
  font-size: 5px;
  color: var(--stone);
  background: rgba(11, 12, 30, 0.4);
  padding: 3px 6px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.5s, color 0.4s;
}
.jp-stage.lit .jp-tag {
  opacity: 1;
  color: var(--cream);
}

/* Pixel art characters */
.jp-char {
  width: 4px;
  height: 4px;
  image-rendering: pixelated;
  margin-bottom: 8px;
  transition: filter 0.4s;
}
.jp-stage.lit .jp-char {
  filter: drop-shadow(0 0 6px rgba(192, 138, 44, 0.4));
}
.jp-char--boy {
  box-shadow:
    0px -16px 0 var(--cream), 4px -16px 0 var(--cream), -4px -16px 0 var(--cream),
    0px -20px 0 var(--cream), 4px -20px 0 var(--cream), -4px -20px 0 var(--cream),
    0px -24px 0 var(--ink), 4px -24px 0 var(--ink), -4px -24px 0 var(--ink),
    0px -12px 0 #3a4a7a, 4px -12px 0 #3a4a7a, -4px -12px 0 #3a4a7a,
    0px -8px 0 #3a4a7a, 4px -8px 0 #3a4a7a, -4px -8px 0 #3a4a7a,
    -4px -4px 0 #2a2a44, 4px -4px 0 #2a2a44,
    -4px 0px 0 #2a2a44, 4px 0px 0 #2a2a44;
}
.jp-char--seeker {
  box-shadow:
    0px -20px 0 var(--cream), 4px -20px 0 var(--cream), -4px -20px 0 var(--cream),
    0px -24px 0 var(--cream), 4px -24px 0 var(--cream), -4px -24px 0 var(--cream),
    0px -28px 0 var(--ink), 4px -28px 0 var(--ink), -4px -28px 0 var(--ink),
    0px -16px 0 #4a5a3a, 4px -16px 0 #4a5a3a, -4px -16px 0 #4a5a3a,
    0px -12px 0 #4a5a3a, 4px -12px 0 #4a5a3a, -4px -12px 0 #4a5a3a,
    0px -8px 0 #4a5a3a,
    -4px -4px 0 #3a3a2a, 4px -4px 0 #3a3a2a,
    -8px 0px 0 #3a3a2a, 4px 0px 0 #3a3a2a,
    8px -16px 0 var(--cream), 12px -16px 0 var(--cream);
}
.jp-char--builder {
  box-shadow:
    0px -24px 0 var(--cream), 4px -24px 0 var(--cream), -4px -24px 0 var(--cream),
    0px -28px 0 var(--cream), 4px -28px 0 var(--cream), -4px -28px 0 var(--cream),
    0px -32px 0 var(--ink), 4px -32px 0 var(--ink), -4px -32px 0 var(--ink),
    0px -20px 0 #7a5a3a, 4px -20px 0 #7a5a3a, -4px -20px 0 #7a5a3a, 8px -20px 0 #7a5a3a, -8px -20px 0 #7a5a3a,
    0px -16px 0 #7a5a3a, 4px -16px 0 #7a5a3a, -4px -16px 0 #7a5a3a,
    0px -12px 0 #7a5a3a, 4px -12px 0 #7a5a3a, -4px -12px 0 #7a5a3a,
    -4px -8px 0 #4a3a2a, 4px -8px 0 #4a3a2a,
    -4px -4px 0 #4a3a2a, 4px -4px 0 #4a3a2a,
    -4px 0px 0 #4a3a2a, 4px 0px 0 #4a3a2a,
    12px -20px 0 var(--cream), -12px -20px 0 var(--cream);
}
.jp-char--lover {
  box-shadow:
    -8px -24px 0 var(--cream), -4px -24px 0 var(--cream), -12px -24px 0 var(--cream),
    -8px -28px 0 var(--ink), -4px -28px 0 var(--ink), -12px -28px 0 var(--ink),
    -8px -20px 0 var(--rose), -4px -20px 0 var(--rose), -12px -20px 0 var(--rose),
    -8px -16px 0 var(--rose), -4px -16px 0 var(--rose), -12px -16px 0 var(--rose),
    -12px -12px 0 #4a3a3a, -4px -12px 0 #4a3a3a,
    -12px -8px 0 #4a3a3a, -4px -8px 0 #4a3a3a,
    8px -24px 0 var(--cream), 4px -24px 0 var(--cream), 12px -24px 0 var(--cream),
    8px -28px 0 var(--ink), 4px -28px 0 var(--ink), 12px -28px 0 var(--ink),
    8px -20px 0 #c45e7a, 4px -20px 0 #c45e7a, 12px -20px 0 #c45e7a,
    8px -16px 0 #c45e7a, 4px -16px 0 #c45e7a, 12px -16px 0 #c45e7a,
    4px -12px 0 #4a3a3a, 12px -12px 0 #4a3a3a,
    4px -8px 0 #4a3a3a, 12px -8px 0 #4a3a3a,
    0px -32px 0 var(--rose);
}
.jp-char--sovereign {
  box-shadow:
    0px -28px 0 var(--cream), 4px -28px 0 var(--cream), -4px -28px 0 var(--cream),
    0px -32px 0 var(--cream), 4px -32px 0 var(--cream), -4px -32px 0 var(--cream),
    0px -36px 0 var(--ink), 4px -36px 0 var(--ink), -4px -36px 0 var(--ink),
    0px -40px 0 var(--amber), 4px -40px 0 var(--amber), -4px -40px 0 var(--amber),
    -4px -44px 0 var(--amber), 4px -44px 0 var(--amber), 0px -44px 0 var(--amber),
    0px -24px 0 var(--amber), 4px -24px 0 var(--amber), -4px -24px 0 var(--amber), 8px -24px 0 #8a6a2a, -8px -24px 0 #8a6a2a,
    0px -20px 0 var(--amber), 4px -20px 0 var(--amber), -4px -20px 0 var(--amber), 8px -20px 0 #8a6a2a, -8px -20px 0 #8a6a2a,
    0px -16px 0 #8a6a2a, 4px -16px 0 #8a6a2a, -4px -16px 0 #8a6a2a,
    -4px -12px 0 #5a4a2a, 4px -12px 0 #5a4a2a,
    -4px -8px 0 #5a4a2a, 4px -8px 0 #5a4a2a,
    -4px -4px 0 #5a4a2a, 4px -4px 0 #5a4a2a,
    -4px 0px 0 #5a4a2a, 4px 0px 0 #5a4a2a,
    0px -48px 0 var(--rose);
}

/* Journey CTA */
.journey-cta {
  text-align: center;
  padding: 32px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  max-width: 500px;
  width: 100%;
  opacity: 0;
}
.cta-text {
  font-family: var(--font-pixel);
  font-size: 8px;
  line-height: 2.6;
  letter-spacing: 0.5px;
  color: var(--cream);
  margin-bottom: 24px;
}
.cta-btn {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--midnight);
  background: var(--amber);
  padding: 14px 28px;
  border-radius: 3px;
  transition: all 0.5s var(--ease);
  box-shadow: 0 0 24px rgba(192, 138, 44, 0.3);
  animation: warmPulse 4s ease-in-out infinite;
}
.cta-btn:hover {
  background: var(--ember);
  box-shadow: 0 0 40px rgba(232, 131, 74, 0.4);
  transform: translateY(-2px);
}
.cta-sub {
  display: block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--section-border);
  background: var(--midnight);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-text {
  font-family: var(--font-pixel);
  font-size: 6px;
  line-height: 2;
  color: var(--ink-dim);
  letter-spacing: 0.5px;
  text-align: center;
  flex: 1;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 30px; height: 30px;
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-dim);
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .scene-content { padding: 0 18px; padding-bottom: 40px; }
  .scene-panel { max-width: 100%; padding: 22px 20px; }
  .metric-grid { max-width: 100%; }
  .truth-columns { flex-direction: column; gap: 12px; max-width: 100%; }
  .layers-diagram { flex-wrap: wrap; }
  .journey-path { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .jp-connector { width: 18px; padding-bottom: 0; }
  .descent-meter { display: none; }
  .clock-label { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .scene-num { font-size: 20px; }
  .scene-title { font-size: 13px; }
  .scene-lead { font-size: 7px; }
  .nav-logo-text { font-size: 10px; }
  .truth-col { padding: 14px; }
  .journey-cta { padding: 24px 18px; }
}
