/* Mobile timeline coordinates follow the original illustration, not text margins. */
@media (max-width: 600px) {
  body > .header-image {
    position: relative;
    z-index: 2;
  }
  body > .timeline {
    position: relative;
    isolation: isolate;
    margin-top: -4.431217vw;
  }
  body > .timeline > .timeline-background {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    margin: 0;
  }
  .timeline > .timeline-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .timeline-text > .timeline-header {
    position: absolute;
    top: 8vw;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 var(--content-gutter);
    margin: 0;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.2;
  }
  .timeline-text > :is(.timeline-early,.timeline-mid,.timeline-current) {
    position: absolute;
    width: 38%;
    transform: translateY(-50%);
    height: auto;
    margin: 0;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
  .timeline-text > .timeline-early { top: 19%; right: var(--content-gutter); }
  .timeline-text > .timeline-mid { top: 52%; left: var(--content-gutter); }
  .timeline-text > .timeline-current { top: 84%; right: var(--content-gutter); }
  .timeline-text :is(.timeline-white,.timeline-black) {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
  }
  .timeline-text .learn-more {
    width: 100%;
    max-width: 132px;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 4px;
    border-width: 2px;
    font-size: 12px;
    line-height: 1.2;
  }
}
