/* ==========================================================================
   The Evolution of the Universe , page visual system
   --------------------------------------------------------------------------
   The interactive stage keeps a dark "space" look in every theme, so the
   glassmorphism surfaces inside it use fixed rgba values rather than the
   site's light/dark CSS variables. The surrounding chrome (hero, sources)
   inherits the shared theme from shell.css.
   ========================================================================== */

.universe-shell {
  width: min(100%, 1240px);
  padding: 76px 24px 110px;
}

.universe-hero {
  max-width: 820px;
  margin-bottom: 26px;
}

.universe-hero h1 {
  max-width: 820px;
}

.universe-hero .lede {
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   Stage
   -------------------------------------------------------------------------- */

.evo {
  position: relative;
  overflow: hidden; /* clip the off-screen info drawer so the page never scrolls sideways */
}

.evo-stage {
  position: relative;
  height: clamp(600px, 82vh, 960px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(56, 64, 92, 0.28), transparent 70%),
    radial-gradient(ellipse 46% 34% at 76% 20%, rgba(72, 52, 96, 0.16), transparent 72%),
    radial-gradient(ellipse 40% 32% at 20% 80%, rgba(38, 52, 76, 0.14), transparent 74%),
    radial-gradient(ellipse 34% 22% at 50% 45%, rgba(120, 92, 72, 0.10), transparent 70%),
    #0a0e1a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

.evo-canvas {
  position: absolute;
  inset: 0;
}

.evo-canvas canvas {
  display: block;
}

/* --------------------------------------------------------------------------
   Logarithmic-map callouts (live info cards pinned directly onto the map)
   -------------------------------------------------------------------------- */

.evo-labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.evo-callout {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.evo-callout-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(8, 11, 19, 0.92);
  box-shadow:
    0 0 0 4px rgba(160, 190, 255, 0.16),
    0 0 14px rgba(160, 190, 255, 0.55);
  transform: translate(-50%, -50%);
}

.evo-callout-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
}

.evo-callout-card {
  position: absolute;
  width: 178px;
  display: grid;
  gap: 4px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(8, 11, 19, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #eaf1fd;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
}

.evo-callout[data-side="right"] .evo-callout-card {
  left: 16px;
  top: 0;
  transform: translateY(-50%);
}

.evo-callout[data-side="left"] .evo-callout-card {
  right: 16px;
  top: 0;
  transform: translateY(-50%);
}

.evo-callout[data-side="top"] .evo-callout-card {
  left: 0;
  bottom: 16px;
  transform: translateX(-50%);
}

.evo-callout[data-side="bottom"] .evo-callout-card {
  left: 0;
  top: 16px;
  transform: translateX(-50%);
}

.evo-callout:hover .evo-callout-card,
.evo-callout:focus-within .evo-callout-card {
  opacity: 1;
  pointer-events: auto;
}

.evo-callout-title {
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
}

a.evo-callout-title:hover,
a.evo-callout-title:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.evo-callout-info {
  color: rgba(230, 238, 250, 0.72);
  font-size: 9.5px;
  line-height: 1.45;
}

.evo-callout-link {
  color: #9cc4ff;
  font-size: 9px;
  text-decoration: none;
}

.evo-callout-link:hover,
.evo-callout-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   HUD chips
   -------------------------------------------------------------------------- */

.evo-hud {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 120px);
  pointer-events: none;
}

.evo-hud-chip {
  display: grid;
  gap: 2px;
  min-width: 104px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(10, 14, 24, 0.46);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
}

.evo-hud-chip span {
  color: rgba(224, 232, 246, 0.52);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.evo-hud-chip strong {
  color: #f2f6fc;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Info toggle + note
   -------------------------------------------------------------------------- */

.evo-info-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(10, 14, 24, 0.52);
  color: #e7edf8;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.evo-info-toggle:hover,
.evo-info-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(24, 32, 48, 0.7);
  transform: translateY(-1px);
}

.evo-note {
  position: absolute;
  top: 24px;
  right: 64px;
  z-index: 3;
  margin: 0;
  color: rgba(224, 232, 246, 0.42);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Era headline (bottom-left, above the controls)
   -------------------------------------------------------------------------- */

.evo-era {
  position: absolute;
  left: 20px;
  bottom: 186px;
  z-index: 2;
  max-width: min(580px, 72%);
  padding: 12px 16px 13px;
  isolation: isolate;
  pointer-events: none;
}

.evo-era::before {
  content: "";
  position: absolute;
  inset: -9px -24px -10px -16px;
  z-index: -1;
  border-radius: 14px;
  background: linear-gradient(
    96deg,
    rgba(5, 8, 15, 0.88) 0%,
    rgba(5, 8, 15, 0.72) 68%,
    rgba(5, 8, 15, 0.18) 100%
  );
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.evo-era-time {
  color: rgba(224, 232, 246, 0.58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.evo-era h2 {
  margin: 6px 0 0;
  color: #f4f7fd;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.evo-era-desc {
  margin: 7px 0 0;
  color: rgba(231, 237, 248, 0.66);
  font-size: 12px;
  line-height: 1.55;
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Celestial markers
   -------------------------------------------------------------------------- */

.evo-markers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.evo-marker {
  position: absolute;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.evo-marker-dot {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 10px rgba(214, 228, 255, 0.55);
}

.evo-marker-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: evo-marker-pulse 2.6s ease-out infinite;
}

.evo-marker-label {
  position: absolute;
  left: 18px;
  top: 50%;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 11, 19, 0.82);
  color: rgba(240, 244, 250, 0.86);
  font-size: 9px;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate(4px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.evo-marker:hover .evo-marker-label,
.evo-marker:focus-visible .evo-marker-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.evo-marker:hover .evo-marker-dot,
.evo-marker:focus-visible .evo-marker-dot {
  background: rgba(255, 255, 255, 0.65);
}

.evo-marker:focus-visible {
  outline: 2px solid rgba(198, 220, 255, 0.75);
  outline-offset: 4px;
  border-radius: 50%;
}

@keyframes evo-marker-pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Controls: play + non-linear scrubber
   -------------------------------------------------------------------------- */

.evo-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 46px 18px 14px;
  background: linear-gradient(to top, rgba(4, 6, 12, 0.88) 0%, rgba(4, 6, 12, 0.46) 68%, transparent 100%);
}

.evo-play {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(16, 22, 34, 0.62);
  color: #f2f6fc;
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.evo-play:hover,
.evo-play:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(30, 40, 60, 0.76);
  transform: translateY(-1px);
}

.evo-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.evo-play .evo-pause-icon {
  display: none;
}

.evo-play.is-playing .evo-play-icon {
  display: none;
}

.evo-play.is-playing .evo-pause-icon {
  display: block;
}

.evo-timeline {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 5px;
  padding-bottom: 2px;
}

/* End caps that anchor the timeline: Big Bang on the left, Today on the right. */
.evo-tl-endcaps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  color: rgba(224, 232, 246, 0.52);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.evo-tl-end-end {
  color: rgba(164, 150, 224, 0.72);
}

.evo-tl-rail {
  position: relative;
  height: 82px;
}

.evo-tl-rail input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.evo-tl-rail input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #9fc3ff 0%, #7f9fff 34%, #c79fff 68%, #8fa8e8 100%);
  box-shadow: 0 0 12px rgba(140, 170, 235, 0.28);
}

.evo-tl-rail input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #dfe9ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 0 16px rgba(178, 204, 255, 0.85);
}

.evo-tl-rail input[type="range"]::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9fc3ff 0%, #7f9fff 34%, #c79fff 68%, #8fa8e8 100%);
  box-shadow: 0 0 12px rgba(140, 170, 235, 0.28);
}

.evo-tl-rail input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #dfe9ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 0 14px rgba(178, 204, 255, 0.8);
}

.evo-tl-rail input[type="range"]:focus-visible {
  outline: 2px solid rgba(198, 220, 255, 0.75);
  outline-offset: 4px;
  border-radius: 999px;
}

/* Labelled tick rail overlaying the native slider. */
.evo-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.evo-tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  transform: translateX(-50%);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.evo-tick::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15px;
  width: 30px;
}

.evo-tick-dot {
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: #0b101d;
  box-shadow: 0 0 8px rgba(158, 190, 255, 0.5);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.evo-tick-text {
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  display: grid;
  gap: 1px;
  text-align: center;
  white-space: nowrap;
  color: rgba(238, 243, 252, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.evo-tick-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
}

.evo-tick-cap {
  color: rgba(224, 232, 246, 0.52);
  font-size: 7.5px;
  letter-spacing: 0;
  line-height: 1.15;
}

.evo-tick.is-up .evo-tick-text {
  bottom: calc(50% + 10px);
}

.evo-tick.is-down .evo-tick-text {
  top: calc(50% + 10px);
}

.evo-tick.is-first .evo-tick-text {
  transform: none;
  left: 9px;
  text-align: left;
}

.evo-tick.is-end .evo-tick-text {
  transform: translateX(-100%);
  left: -9px;
  text-align: right;
}

.evo-tick:hover .evo-tick-dot,
.evo-tick:focus-visible .evo-tick-dot,
.evo-tick.is-active .evo-tick-dot {
  background: #dfe9ff;
  box-shadow: 0 0 12px rgba(190, 214, 255, 0.9);
}

.evo-tick:hover .evo-tick-label,
.evo-tick:focus-visible .evo-tick-label,
.evo-tick.is-active .evo-tick-label {
  color: #ffffff;
}

.evo-tick:focus-visible {
  outline: none;
}

.evo-tick:focus-visible .evo-tick-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Fallback (no WebGL)
   -------------------------------------------------------------------------- */

.evo-fallback {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  background: #05070d;
}

.evo-fallback strong {
  color: #f2f6fc;
  font-size: 15px;
}

.evo-fallback p {
  max-width: 360px;
  margin: 0;
  color: rgba(231, 237, 248, 0.66);
  font-size: 12px;
  line-height: 1.6;
}

.evo-stage.is-failed .evo-hud,
.evo-stage.is-failed .evo-era,
.evo-stage.is-failed .evo-controls,
.evo-stage.is-failed .evo-info-toggle,
.evo-stage.is-failed .evo-labels,
.evo-stage.is-failed .evo-markers,
.evo-stage.is-failed .evo-note {
  display: none;
}

/* --------------------------------------------------------------------------
   Info drawer
   -------------------------------------------------------------------------- */

.evo-drawer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.evo-drawer-scrim {
  display: none; /* no full-screen overlay: the card sits lightly on the right */
}

.evo-drawer-panel {
  position: absolute;
  top: 64px;
  right: 16px;
  width: min(340px, calc(100% - 32px));
  max-height: calc(100% - 80px);
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 24, 37, 0.88), rgba(8, 11, 19, 0.84));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  color: #e9eef7;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(14px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
}

.evo-drawer.is-open .evo-drawer-panel {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s;
}

.evo-drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #dfe6f2;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.evo-drawer-close:hover,
.evo-drawer-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.evo-drawer-eyebrow {
  margin: 0 0 8px;
  color: #9cc4ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.evo-drawer-panel h3 {
  margin: 0 36px 0 0;
  color: #f4f7fd;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.evo-drawer-copy {
  margin: 13px 0 18px;
  color: rgba(231, 237, 248, 0.76);
  font-size: 12.5px;
  line-height: 1.72;
}

.evo-drawer-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.evo-drawer-fact {
  min-height: 56px;
  padding: 10px 11px;
  background: rgba(10, 14, 23, 0.78);
}

.evo-drawer-fact dt {
  color: rgba(224, 232, 246, 0.5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.evo-drawer-fact dd {
  margin: 4px 0 0;
  color: #edf1f9;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Reading sections below the stage
   -------------------------------------------------------------------------- */

.evo-reading {
  max-width: 860px;
  margin-top: 42px;
}

/* Every reading chapter shares this single title treatment. */
.evo-chapter-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  scroll-margin-top: 90px;
}

/* Sub-chapter names (Big Bang steps, video list) share one type style. */
.evo-reading h3 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.evo-subhead {
  margin: 28px 0 4px;
}

.evo-reading > p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.evo-reading > p a {
  color: var(--accent);
}

/* Big Bang steps */
.evo-steps {
  display: grid;
  gap: 1px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: evo-step;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.evo-steps li {
  display: grid;
  grid-template-columns: 44px 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--surface);
  counter-increment: evo-step;
}

.evo-steps li::before {
  content: counter(evo-step, decimal-leading-zero);
  align-self: start;
  padding-top: 4px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

.evo-step-visual {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.055), transparent 72%),
    rgba(8, 11, 19, 0.42);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.evo-step-visual svg {
  display: block;
  width: 96px;
  height: 96px;
}

.evo-step-visual .s-glow {
  filter: blur(5px);
}

.evo-steps li:hover .evo-step-visual {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 72%),
    rgba(8, 11, 19, 0.5);
}

.evo-step-copy {
  min-width: 0;
}

.evo-steps h3 {
  margin: 0 0 3px;
}

.evo-steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

.evo-steps p a {
  color: var(--accent);
}

/* Far-future timeline */
.evo-future {
  display: grid;
  gap: 1px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.evo-future li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 13px 18px;
  background: var(--surface);
}

.evo-future-when {
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.evo-future li > span:last-child {
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

.evo-future strong {
  color: var(--text);
  font-weight: 600;
}

/* Photo gallery */
.evo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.evo-photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.evo-photo a {
  display: block;
}

.evo-photo img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #080a12;
}

.evo-photo figcaption {
  padding: 11px 13px;
  color: var(--text-dim);
  font-size: 10.5px;
  line-height: 1.55;
}

/* Speculative-concepts list */
.evo-edge-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.evo-edge-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.evo-edge-list a {
  color: var(--accent);
  text-decoration: none;
}

.evo-edge-list a:hover {
  text-decoration: underline;
}

.evo-edge-list strong {
  color: var(--text);
  font-weight: 600;
}

.evo-edge-list li > span {
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

/* Curated reading list */
.evo-reading-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.evo-reading-list li {
  margin: 8px 0;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.evo-reading-list li::marker {
  color: var(--text-dim);
}

.evo-reading-list a {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Sources
   -------------------------------------------------------------------------- */

.evo-sources {
  max-width: 820px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.7;
}

.evo-sources a {
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .universe-shell {
    padding: 78px 14px 80px;
  }

  .evo-stage {
    height: clamp(540px, 72vh, 760px);
    border-radius: 16px;
  }

  .evo-hud {
    top: 10px;
    left: 10px;
    gap: 6px;
    max-width: calc(100% - 70px);
  }

  .evo-hud-chip {
    min-width: 0;
    padding: 7px 9px;
    border-radius: 10px;
  }

  .evo-hud-chip strong {
    font-size: 11px;
  }

  .evo-note {
    display: none;
  }

  .evo-era {
    left: 14px;
    bottom: 194px;
    max-width: 84%;
    padding: 10px 12px 11px;
  }

  .evo-era::before {
    inset: -7px -14px -8px -12px;
  }

  .evo-era h2 {
    font-size: 24px;
  }

  .evo-era-desc {
    font-size: 11px;
  }

  .evo-marker-label {
    display: none;
  }

  .evo-controls {
    gap: 10px;
    padding: 34px 10px 10px;
  }

  .evo-play {
    width: 46px;
    height: 46px;
  }

  .evo-tl-rail {
    height: 72px;
  }

  .evo-tl-endcaps {
    padding: 0 3px;
    font-size: 7.5px;
  }

  .evo-tick-label {
    font-size: 8.5px;
  }

  .evo-tick-cap {
    display: none;
  }

  .evo-tick.is-up .evo-tick-text {
    bottom: calc(50% + 9px);
  }

  .evo-tick.is-down .evo-tick-text {
    top: calc(50% + 9px);
  }

  .evo-drawer-panel {
    top: 58px;
    right: 14px;
    width: calc(100% - 28px);
    max-height: calc(100% - 72px);
  }
}

@media (max-width: 1050px) {
  .evo-tick-cap {
    display: none;
  }
}

@media (max-width: 900px) {
  .evo-tick.is-minor .evo-tick-text {
    display: none;
  }
}

@media (max-width: 720px) {
  .evo-callout-card {
    width: 132px;
    padding: 6px 8px;
    gap: 2px;
  }

  .evo-callout-title {
    font-size: 10px;
  }

  .evo-callout-info {
    display: none;
  }

  .evo-callout[data-side="right"] .evo-callout-card {
    left: 12px;
  }

  .evo-callout[data-side="left"] .evo-callout-card {
    right: 12px;
  }

  .evo-callout-link {
    font-size: 8.5px;
  }

  .evo-gallery {
    grid-template-columns: 1fr;
  }

  .evo-photo img {
    height: 180px;
  }

  .evo-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
  }

  .evo-steps li::before {
    grid-row: 1 / span 2;
    padding-top: 4px;
  }

  .evo-step-visual {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 80px;
  }

  .evo-step-visual svg {
    width: 74px;
    height: 74px;
  }

  .evo-step-copy {
    grid-column: 2;
    grid-row: 2;
  }

  .evo-future li,
  .evo-edge-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (hover: none) {
  .evo-callout-card {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evo-marker-dot::after {
    animation: none;
  }

  .evo-drawer-scrim,
  .evo-drawer-panel,
  .evo-marker-label,
  .evo-play,
  .evo-info-toggle,
  .evo-tick-dot,
  .evo-tick-text {
    transition: none;
  }
}
