/* Animated order journey replacing the former logo panel. */
.order-journey {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(201, 0, 24, .18), transparent 24rem),
    #181818;
  color: #fff3eb;
  padding: clamp(58px, 7vw, 100px);
}

.order-journey::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -180px;
  bottom: -160px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .018), 0 0 0 120px rgba(255, 255, 255, .012);
}

.journey-head { position: relative; z-index: 1; max-width: 560px; }

.journey-head > span {
  color: #ff7885;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.journey-head h3 {
  margin: 12px 0 42px;
  font: 600 clamp(2.4rem, 4.2vw, 4.5rem)/.95 Oswald, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.journey-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0 0 0 6px;
}

.journey-steps::before,
.journey-steps::after {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 26px;
  width: 1px;
}

.journey-steps::before { background: #4a4542; }

.journey-steps::after {
  bottom: auto;
  height: calc(100% - 54px);
  background: #e10922;
  box-shadow: 0 0 14px rgba(225, 9, 34, .78);
  transform: scaleY(0);
  transform-origin: top;
  animation: journeyProgress 12.5s cubic-bezier(.4, 0, .2, 1) infinite;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  opacity: .42;
  animation: journeyFocus 12.5s cubic-bezier(.22, 1, .36, 1) infinite;
}

.journey-step:nth-child(2) { animation-delay: 2.5s; }
.journey-step:nth-child(3) { animation-delay: 5s; }
.journey-step:nth-child(4) { animation-delay: 7.5s; }
.journey-step:nth-child(5) { animation-delay: 10s; }

.journey-number {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #5d5652;
  border-radius: 50%;
  background: #181818;
  color: #ff7885;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}

.journey-step b {
  display: block;
  color: #fff;
  font: 600 1.12rem Oswald, sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.journey-step small {
  display: block;
  margin-top: 5px;
  color: #aaa29d;
  font-size: .82rem;
  line-height: 1.5;
}

@keyframes journeyFocus {
  0%, 19%, 100% { opacity: .42; transform: translateX(0); }
  3%, 15% { opacity: 1; transform: translateX(7px); }
}

@keyframes journeyProgress {
  0% { transform: scaleY(0); }
  92%, 100% { transform: scaleY(1); }
}

.journey-step:nth-child(1) .journey-number { animation: journeyDot 12.5s 0s infinite; }
.journey-step:nth-child(2) .journey-number { animation: journeyDot 12.5s 2.5s infinite; }
.journey-step:nth-child(3) .journey-number { animation: journeyDot 12.5s 5s infinite; }
.journey-step:nth-child(4) .journey-number { animation: journeyDot 12.5s 7.5s infinite; }
.journey-step:nth-child(5) .journey-number { animation: journeyDot 12.5s 10s infinite; }

@keyframes journeyDot {
  0%, 19%, 100% { background: #181818; border-color: #5d5652; color: #ff7885; transform: scale(1); }
  3%, 15% { background: #c90018; border-color: #c90018; color: #fff; transform: scale(1.08); }
}

@media (max-width: 760px) {
  .order-journey { min-height: auto; padding: 70px 7vw; }
  .journey-head h3 { margin-bottom: 34px; }
  .journey-step { min-height: 96px; gap: 16px; }
  .journey-step small { max-width: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-steps::after { animation: none; transform: scaleY(1); }
  .journey-step,
  .journey-step .journey-number { animation: none !important; opacity: 1; transform: none; }
}
