/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
#experience {
  background: var(--light);
  background-image: radial-gradient(circle, rgba(244,114,182,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  display: flex; flex-direction: column; gap: 0;
}

/* Vertical pink line */
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--violet), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

/* Pixel square dot on the line */
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 4px); top: 6px;
  width: 10px; height: 10px;
  background: var(--violet);
  border: 2px solid var(--light);
  border-radius: 0;
  box-shadow: 2px 2px 0 0 var(--violet-2);
}

.timeline-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .66rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-soft);
  border: 1.5px solid rgba(244,114,182,.25);
  padding: .35rem .7rem; border-radius: 4px;
  margin-bottom: .75rem; line-height: 1.6;
}

/* Pixel-style card */
.timeline-body {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px; padding: 1.6rem 1.75rem;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,.08);
  transition: all .15s ease;
}
.timeline-body:hover {
  box-shadow: 5px 5px 0 0 var(--violet);
  border-color: var(--violet);
  transform: translate(-1px, -1px);
}

.timeline-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; margin-bottom: .875rem;
}

.timeline-role {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  color: var(--text); letter-spacing: -.02em;
}

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 500;
  color: var(--violet);
  background: var(--violet-soft);
  border: 1.5px solid rgba(244,114,182,.2);
  padding: .3rem .65rem; border-radius: 4px;
  white-space: nowrap; line-height: 1.7;
}

.timeline-org {
  font-size: .84rem; font-weight: 700;
  color: var(--text-muted); margin-bottom: .75rem;
}

.timeline-desc {
  font-size: .88rem; color: var(--text-muted);
  line-height: 1.78; margin-bottom: 1rem;
}

.timeline-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.timeline-tags span {
  font-size: .72rem; font-weight: 600;
  padding: .22rem .65rem; border-radius: 4px;
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text-muted);
  box-shadow: 2px 2px 0 0 rgba(0,0,0,.05);
}

/* Responsive */
@media (max-width: 640px) {
  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 2rem; }
  .timeline-item::before { left: calc(-1.5rem - 4px); }
  .timeline-meta { flex-direction: column; align-items: flex-start; }
}
