/* Sequential orange/yellow sweep on homepage step numbers 01 → 02 → 03.
   Color-only (background-clip:text + background-position). No layout change.
   4.8s cycle, one sweep per number, well under WCAG 2.3.1's 3 flashes/sec.
   Default look (and prefers-reduced-motion) stays cream #F2EFE8. */

@media (prefers-reduced-motion: no-preference) {
  .steps .step .n {
    --n-base: #F2EFE8;
    --n-orange: #FF8A00;
    --n-yellow: #FFD23F;
    background-image: linear-gradient(
      90deg,
      var(--n-base) 0%,
      var(--n-base) 34%,
      var(--n-orange) 40%,
      var(--n-yellow) 50%,
      var(--n-orange) 60%,
      var(--n-base) 66%,
      var(--n-base) 100%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: step-n-sweep 4.8s linear infinite;
  }
  .steps .step:nth-child(1) .n { animation-delay: 0s; }
  .steps .step:nth-child(2) .n { animation-delay: 1.6s; }
  .steps .step:nth-child(3) .n { animation-delay: 3.2s; }
}

@keyframes step-n-sweep {
  /* Enter from the left, hold orange/yellow, exit to the right, then rest cream. */
  0% { background-position: 100% 0; }
  8% { background-position: 50% 0; }
  18% { background-position: 50% 0; }
  28%, 100% { background-position: 0% 0; }
}
