/* ─── Road to Live (homepage band under the hero) ─────────────────────────
   Closed Alpha timeline. Markup: index.html #road-to-live. State (which stop
   is next / passed) is set by js/road-to-live.js from each stop's data-date. */

.road {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, rgba(10, 10, 18, 0.96), rgba(16, 16, 28, 0.96));
  border-top: 1px solid rgba(200, 162, 78, 0.18);
  border-bottom: 1px solid var(--border);
}

.road__header { margin-bottom: 40px; }

.road__note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.road__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.road__track::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 11px;
  height: 2px;
  background: var(--border-light);
}
.road__track::after {
  content: '';
  position: absolute;
  left: 10%;
  top: 11px;
  height: 2px;
  width: var(--road-progress, 20%);
  max-width: 80%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.road__stop {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  text-align: center;
  min-width: 0;
}
.road__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.road__date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.road__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}
.road__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 22ch;
}

/* passed + next states */
.road__stop.is-past .road__dot,
.road__stop.is-here .road__dot { border-color: var(--gold); background: var(--gold-dark); }
.road__stop.is-past .road__date,
.road__stop.is-here .road__date,
.road__stop.is-next .road__date { color: var(--gold); }
.road__stop.is-here .road__dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); }
.road__stop.is-here .road__dot { box-shadow: 0 0 0 5px rgba(200, 162, 78, 0.15); }
.road__stop.is-next .road__dot { border-color: var(--gold); box-shadow: var(--shadow-glow); }

.road__ctas {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.road__fine {
  margin-top: 14px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: no-preference) {
  .road__stop.is-here .road__dot { animation: road-pulse 2.4s ease-in-out infinite; }
  @keyframes road-pulse { 50% { box-shadow: 0 0 0 9px rgba(200, 162, 78, 0.05); } }
}

/* phones: the rail turns vertical */
@media (max-width: 720px) {
  .road { padding: 56px 0 64px; }
  .road__track { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .road__track::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .road__track::after { left: 11px; top: 12px; width: 2px; height: var(--road-progress, 20%); max-width: none; max-height: calc(100% - 24px); background: linear-gradient(180deg, var(--gold-dark), var(--gold)); }
  .road__stop { grid-template-columns: 24px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
  .road__dot { grid-row: span 3; margin-bottom: 0; }
  .road__desc { max-width: none; }
}
