/* ==========================================================================
   ORBIT — Page Elements (header, badges, timeline, progress, filters)
   ========================================================================== */

.page-header {
  position: relative;
  padding-block: 140px var(--space-12);
  border-bottom: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse at top, rgba(212,175,55,0.08), transparent 60%),
    var(--space-black);
}
.page-header .eyebrow { margin-bottom: var(--space-3); }
.page-header h1 { font-size: var(--fs-3xl); }
.page-header p { color: var(--text-secondary); max-width: 560px; margin-top: var(--space-4); }

/* ---- Status badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-family: var(--font-data);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-active { background: rgba(0,255,136,0.12); color: var(--data-green); }
.badge-upcoming { background: rgba(212,175,55,0.12); color: var(--cosmic-gold); }
.badge-completed { background: rgba(160,160,184,0.12); color: var(--text-secondary); }
.badge-planned { background: rgba(0,187,249,0.12); color: var(--neon-blue); }

/* ---- Progress bar ---- */
.progress-track {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--cosmic-gold-dark), var(--cosmic-gold-light));
  transition: width 1.2s var(--ease-out);
}

/* ---- Vertical mission timeline ---- */
.v-timeline { position: relative; padding-inline-start: var(--space-8); }
.v-timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cosmic-gold), transparent);
}
.v-timeline-item { position: relative; padding-bottom: var(--space-12); }
.v-timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + 1px);
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cosmic-gold);
  box-shadow: 0 0 16px var(--glow-gold);
}
.v-timeline-item.is-active::before { animation: pulse-dot 2s var(--ease-in-out) infinite; background: var(--data-green); }
.v-timeline-year { font-family: var(--font-data); font-size: var(--fs-xs); color: var(--cosmic-gold); letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.v-timeline-item h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.v-timeline-item p { color: var(--text-secondary); max-width: 520px; }

/* ---- Filter bar ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-8);
}
.filter-bar select,
.filter-bar input[type="search"] {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--void-black);
  color: var(--text-primary);
  font-size: var(--fs-sm);
}
.filter-bar input[type="search"] { flex: 1; min-width: 160px; }

/* ---- Directory / people card ---- */
.dir-card {
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--space-navy);
  transition: border-color var(--dur-base), transform var(--dur-base);
}
.dir-card:hover { border-color: var(--cosmic-gold); transform: translateY(-4px); }
.dir-logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, var(--nebula-blue), var(--space-purple));
  margin-bottom: var(--space-4);
}
.dir-card h4 { font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.dir-meta { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--glass-border); }

/* ---- Sidebar ---- */
.sidebar-block { padding: var(--space-6); border-radius: var(--radius-md); border: 1px solid var(--glass-border); background: var(--space-navy); margin-bottom: var(--space-6); }
.sidebar-block h5 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--cosmic-gold); margin-bottom: var(--space-4); }
.sidebar-link-row { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-2); font-size: var(--fs-sm); color: var(--text-secondary); border-bottom: 1px solid var(--glass-border); }
.sidebar-link-row:last-child { border-bottom: none; }
