/* ══════════════════════════════════════════════════════════════
   TIMELINE COMPONENT
   ══════════════════════════════════════════════════════════════ */

.timeline-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0 80px;
  align-items: start;
}

.timeline-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.timeline-sidebar .eyebrow {
  margin-bottom: 24px;
}

.timeline-sidebar__heading {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: #e8e9f0;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 20px;
  margin-bottom: 56px;
}

.timeline-sidebar__heading .acc {
  color: #0C5DC5;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 120px 56px 1fr;
  align-items: start;
  padding-bottom: 80px;
  position: relative;
  min-width: 0;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: calc(var(--z-base) + 1);
  flex-shrink: 0;
  transition: background 300ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline__item--active .timeline__dot {
  background: #0C5DC5;
  border-color: #0C5DC5;
  box-shadow: 0 0 0 4px rgba(12, 93, 197, 0.18);
}

.timeline__line {
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 6px;
}

.timeline__item:last-child .timeline__line {
  display: none;
}

.timeline__year {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 300;
  color: #0C5DC5;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: right;
  padding-top: 4px;
  opacity: 0.35;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline__item--active .timeline__year {
  opacity: 1;
}

.timeline__content {
  min-width: 0;
  padding-left: 24px;
  padding-top: 2px;
}

.timeline__title {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  color: rgba(232, 233, 240, 0.4);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline__item--active .timeline__title {
  color: #e8e9f0;
}

.timeline__item:hover .timeline__title {
  color: #0C5DC5;
}

.timeline__detail {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 300;
  color: rgba(156, 163, 184, 0.7);
  line-height: 1.8;
  margin: 0;
}

.timeline__item--active .timeline__detail {
  color: #9ca3b8;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }

  .timeline-sidebar {
    position: static;
  }

  .timeline__item {
    grid-template-columns: 72px 40px 1fr;
    padding-bottom: 48px;
  }

  .timeline__year {
    font-size: 22px;
  }
}
