#flow .scl-tl { position: relative; }

#flow[data-variant="timeline"] .scl-yr::before,
#flow[data-variant="timeline"] .scl-yr::after {
  display: none;
}

#flow .scl-tl::before,
#flow .scl-tl::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  left: var(--timeline-x, 64px);
  top: var(--timeline-top, 77px);
  bottom: auto;
  height: var(--timeline-length, 0px);
  width: 2px;
  border-radius: 2px;
  background: #c2d6c6;
  transform: translateX(-50%);
}

#flow .scl-tl::after {
  background: #275039;
  transform: translateX(-50%) scaleY(var(--timeline-progress, 0));
  transform-origin: top center;
}

#flow .scl-yr > span {
  position: relative;
  z-index: 2;
  transition: background-color .35s, border-color .35s, color .35s;
}

#flow .scl-yr.is-lit > span {
  background-color: #275039;
  border-color: #275039;
  color: #fff;
  animation: timeline-marker .35s cubic-bezier(.16, 1, .3, 1);
}

@keyframes timeline-marker {
  50% { transform: scale(1.13); }
}

@media (prefers-reduced-motion: reduce) {
  #flow .scl-tl::after {
    transform: translateX(-50%);
  }

  #flow .scl-yr.is-lit > span {
    animation: none;
    transition: none;
  }
}
