.schedule {
  background: var(--night-900);
  overflow: hidden;
}

.schedule__sky {
  position: absolute;
  inset: 0 0 auto;
  height: 80%;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 8% 0%, rgba(255, 122, 61, 0.2), transparent 65%),
    radial-gradient(45% 55% at 30% 0%, rgba(255, 193, 90, 0.08), transparent 70%),
    radial-gradient(50% 60% at 100% 10%, rgba(60, 82, 140, 0.18), transparent 70%);
}

.schedule .container {
  position: relative;
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 36px);
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffb26b, var(--ember) 45%, #3d4c7c 80%, var(--night-700));
}

.timeline__item {
  position: relative;
  display: grid;
  gap: 8px;
}

.timeline__time {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 0.9;
  color: var(--bone);
}

.timeline__item--go .timeline__time {
  color: var(--lamp);
}

.timeline__dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--night-900);
  border: 2px solid #ffb26b;
}

.timeline__item:nth-child(n + 3) .timeline__dot {
  border-color: var(--ember);
}

.timeline__item:last-child .timeline__dot {
  border-color: #3d4c7c;
}

.timeline__item--go .timeline__dot {
  background: var(--ember);
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.18), 0 0 24px var(--ember);
}

.timeline__item h3 {
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.timeline__item p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  max-width: 34ch;
}

@media (min-width: 1000px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    padding-left: 0;
  }

  .timeline::before {
    left: 0;
    right: 0;
    top: calc(3.6rem + 26px);
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, #ffb26b, var(--ember) 45%, #3d4c7c 85%, var(--night-700));
  }

  .timeline__item {
    grid-template-rows: 3.6rem 52px auto auto;
    align-content: start;
  }

  .timeline__time {
    align-self: end;
  }

  .timeline__dot {
    position: static;
    align-self: center;
  }
}
