/* ─────────────────────────────────
   CAREER TIMELINE
───────────────────────────────── */

.timeline {
  position: relative;
  padding-left: 48px;
}

/* The grey background line */
.tl-line {
  position: absolute;
  left: 24px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--fg-dim);
}

/* The accent fill line that grows down */
.tl-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: var(--accent);
  transition: height 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Each entry */
.tl-item {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.tl-item:last-child {
  margin-bottom: 0;
}

/* Dot */
.tl-dot-wrap {
  position: absolute;
  left: -36px;
  top: 4px;
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--fg-dim);
  background: var(--bg);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tl-item.active .tl-dot,
.tl-item:hover .tl-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 0, 0.12);
}

/* Year */
.tl-year {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.tl-now {
  color: var(--accent);
  margin-left: 0.5rem;
}

/* Company name */
.tl-company {
  font-family: var(--font-sans);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* "Current" pill badge */
.tl-badge {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Role / designation */
.tl-role {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* Tech tags */
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tl-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  border: 1px solid var(--fg-dim);
  padding: 4px 12px;
  border-radius: 100px;
  transition: border-color 0.2s;
}

.tl-item:hover .tl-tag {
  border-color: var(--fg-muted);
}
