.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 28px;
}

/* Base rail (static, dim) + an animated fill that grows behind it as
   entries come into view — reads like a progress bar unlocking. */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-line);
}
.timeline::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(var(--accent-cyan), var(--accent-jade));
  box-shadow: 0 0 6px var(--accent-cyan);
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline.is-charged::after { height: 100%; }

.entry { position: relative; }

.entry-marker {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--border-line-strong);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.entry.reveal.is-visible .entry-marker {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan-dim);
}

.entry-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  transition: border-color 0.2s ease;
}
.entry-card:hover { border-color: var(--border-line-strong); }

.entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.entry-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-line-strong);
  padding: 3px 10px;
  border-radius: 999px;
}
.entry-status--active {
  color: var(--accent-jade);
  border-color: rgba(44, 201, 141, 0.35);
  background: var(--accent-jade-dim);
}

.entry-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.entry-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 3px; }
.entry-org { font-size: 0.9rem; color: var(--accent-cyan); margin-bottom: 14px; }

.entry-card ul { display: flex; flex-direction: column; gap: 8px; }
.entry-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.entry-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .timeline::after { transition: none; }
}
