/* Experience page */
.tl-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.tl-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.tl-filter button {
  background: transparent;
  border: 0;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.tl-filter button:hover { color: var(--ink-0); }
.tl-filter button.active { background: var(--cyan); color: #021019; }

.timeline {
  position: relative;
  padding-left: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 22px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--line) 80%);
}
.tl-item {
  position: relative;
  padding-bottom: 32px;
}
.tl-node {
  position: absolute;
  left: -42px;
  top: 12px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--bg-1);
  box-shadow: 0 0 0 4px rgba(82,224,255,0.1);
}
.tl-item.current .tl-node {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(82,224,255,0.25), 0 0 14px var(--cyan);
}
.tl-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.tl-card:hover { border-color: var(--cyan); transform: translateX(4px); }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.tl-role { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink-0); }
.tl-co { color: var(--cyan); font-weight: 500; font-size: 0.95rem; }
.tl-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  text-transform: uppercase;
  white-space: nowrap;
}
.tl-loc { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); margin-bottom: 12px; }
.tl-type { color: var(--ink-1); font-size: 0.92rem; margin-bottom: 12px; }
.tl-highlights { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.tl-highlights li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-1);
  font-size: 0.92rem;
}
.tl-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tl-year-marker {
  position: sticky;
  top: 80px;
  background: var(--bg-1);
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 16px;
  margin-left: -64px;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

/* ============ Mobile (additive) ============ */
@media (max-width: 720px) {
  .tl-controls { margin-bottom: 24px; }
  .timeline { padding-left: 40px; }
  .timeline::before { left: 14px; }
  .tl-node { left: -32px; width: 14px; height: 14px; }
  .tl-card { padding: 20px 20px; }
  .tl-year-marker { margin-left: -48px; }
}
@media (max-width: 480px) {
  .tl-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
  }
  .tl-filter::-webkit-scrollbar { display: none; }
  .tl-filter button { flex-shrink: 0; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 10px; }
  .tl-node { left: -28px; }
  .tl-card { padding: 16px 16px; }
  .tl-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tl-role { font-size: 1rem; }
  .tl-year-marker { margin-left: -40px; }
}
