/* ASCENT — Chapter 10. The Ladder, Deliverance space elevator.
   Malachi Houston rides to 3000 KM to meet Victor Halden on Erewhon.
   Deep space, gold accents, the thin blue line.
*/

/* ===== CHAPTER BASE ===== */

body[data-chapter="ASCENT"] {
  --chapter-primary: #c8a848;
  --chapter-secondary: #4488cc;
  --chapter-tertiary: #a0d8f0;
}

body[data-chapter="ASCENT"] .chapter-title {
  color: var(--chapter-primary);
  text-shadow: 0 0 18px rgba(200,168,72,0.6), 0 0 40px rgba(200,168,72,0.2);
}

.glitch-arrow,
.chapter-nav a {
  color: var(--chapter-secondary);
}

.glitch-arrow:hover,
.chapter-nav a:hover {
  color: var(--chapter-primary);
  text-shadow: 0 0 14px rgba(200,168,72,0.5);
}


/* ===== LOCATION: LADDER — the space elevator, deep black with atmosphere glow ===== */

body[data-location="ladder"] {
  --chapter-primary: #c8a848;
  --chapter-secondary: #4488cc;
  --chapter-tertiary: #a0d8f0;
  --chapter-accent: #d4c078;
  background: #020810;
}

body[data-location="ladder"] main {
  background: radial-gradient(ellipse at 50% 20%, rgba(68,136,204,0.06) 0%, transparent 70%);
}

body[data-location="ladder"] .scene {
  position: relative;
  border-left: 2px solid rgba(68,136,204,0.25);
  background: rgba(10,20,40,0.3);
}

body[data-location="ladder"] .scene p:not([class]) {
  color: #b8c8d8;
}


/* ===== ELEVATOR DISPLAY — altitude callouts, like a terminal screen ===== */

.elevator-display {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a0d8f0;
  text-shadow: 0 0 8px rgba(160,216,240,0.5), 0 0 20px rgba(160,216,240,0.15);
  border: 1px solid rgba(160,216,240,0.2);
  border-left: 3px solid rgba(160,216,240,0.5);
  background: rgba(2,8,16,0.6);
  padding: 0.8rem 1.2rem;
  margin: 1.6rem 0;
  text-align: center;
  line-height: 1.6;
}


/* ===== CHARACTERS ===== */

/* Malachi Houston — warm gold, Deliverance founder, restrained power */
.char-houston {
  color: #d4b860;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(212,184,96,0.45), 0 0 24px rgba(200,160,60,0.15);
}

/* Victor Halden — cool silver, precise, Erewhon */
.char-victor {
  color: #b0c8e0;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(176,200,224,0.4);
}
