/* ── Experience / Timeline ──────────────────────────────── */
#experience { background: var(--bg3); }

#experience .section-label,
#experience .section-title { text-align: center; }
#experience .divider { margin-left: auto; margin-right: auto; }

.timeline { position: relative; max-width: 780px; margin: 0 auto; }

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-dot {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.timeline-content:hover { border-color: var(--red); }

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.timeline-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.timeline-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--red);
  background: var(--red-glow);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}

.timeline-company {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}
