/* Ordered "How it works" reveal for Site 6. */
.process.process-sequence {
  overflow: hidden;
}

.process.process-sequence .section-head.reveal,
.process.process-sequence .steps article.reveal {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity .65s ease,
    transform .85s cubic-bezier(.16, 1, .3, 1),
    filter .65s ease;
}

.process.process-sequence .section-head.reveal {
  transform: translate3d(0, 42px, 0);
}

.process.process-sequence .steps article.reveal {
  position: relative;
  transform: translate3d(0, 48px, 0) scale(.96);
}

.process.process-sequence .steps article.reveal::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--sage);
  transition: width .8s cubic-bezier(.16, 1, .3, 1);
}

.process.process-sequence .steps article.reveal > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(111, 121, 93, .35);
  border-radius: 50%;
  background: rgba(174, 184, 162, .18);
  transform: scale(.55) rotate(-12deg);
  transition: transform .7s cubic-bezier(.2, 1.45, .35, 1);
}

.process.process-sequence.is-inview .section-head.reveal,
.process.process-sequence.is-inview .steps article.reveal {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.process.process-sequence.is-inview .steps article.reveal::before {
  width: 100%;
}

.process.process-sequence.is-inview .steps article.reveal > span {
  transform: scale(1) rotate(0);
}

.process.process-sequence.is-inview .section-head.reveal { transition-delay: 0s; }
.process.process-sequence.is-inview .steps article:nth-child(1) { transition-delay: .28s; }
.process.process-sequence.is-inview .steps article:nth-child(2) { transition-delay: .62s; }
.process.process-sequence.is-inview .steps article:nth-child(3) { transition-delay: .96s; }
.process.process-sequence.is-inview .steps article:nth-child(4) { transition-delay: 1.30s; }
.process.process-sequence.is-inview .steps article:nth-child(1)::before,
.process.process-sequence.is-inview .steps article:nth-child(1) > span { transition-delay: .42s; }
.process.process-sequence.is-inview .steps article:nth-child(2)::before,
.process.process-sequence.is-inview .steps article:nth-child(2) > span { transition-delay: .76s; }
.process.process-sequence.is-inview .steps article:nth-child(3)::before,
.process.process-sequence.is-inview .steps article:nth-child(3) > span { transition-delay: 1.10s; }
.process.process-sequence.is-inview .steps article:nth-child(4)::before,
.process.process-sequence.is-inview .steps article:nth-child(4) > span { transition-delay: 1.44s; }

@media (prefers-reduced-motion: reduce) {
  .process.process-sequence .section-head.reveal,
  .process.process-sequence .steps article.reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .process.process-sequence .steps article.reveal::before { width: 100%; transition: none; }
  .process.process-sequence .steps article.reveal > span { transform: none; transition: none; }
}
