/* ===== About — Section 4: Our process ===== */
.section4 {
  background: var(--light);
  padding: clamp(60px, 7vw, 100px) 0;
}
.section4 .eyebrow { margin-bottom: 26px; }

.process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.process__step {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.process__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8a8a90;
  margin-bottom: 4px;
}
.process__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1;
  color: var(--ink);
}
/* once visible, a highlight travels Listen → Learn on a loop */
.section4.is-visible .process__name { animation: stepActive 10s var(--ease) infinite; }
.section4.is-visible .process__step:nth-child(3) .process__name { animation-delay: 2s; }
.section4.is-visible .process__step:nth-child(5) .process__name { animation-delay: 4s; }
.section4.is-visible .process__step:nth-child(7) .process__name { animation-delay: 6s; }
.section4.is-visible .process__step:nth-child(9) .process__name { animation-delay: 8s; }
@keyframes stepActive {
  0%, 20%, 100% { color: var(--ink); transform: none; }
  4%, 16%       { color: var(--blue); transform: translateY(-4px); }
}

.process__arrow {
  flex: 1;
  max-width: 70px;
  height: 14px;
  color: #6b6b72;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.process__arrow svg { width: 100%; height: 100%; overflow: visible; }
.process__arrow path { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 0.8s var(--ease); }

/* staggered entrance: step, arrow, step, arrow ... */
.section4.is-visible .process__step,
.section4.is-visible .process__arrow { opacity: 1; transform: none; }
.section4.is-visible .process__arrow path { stroke-dashoffset: 0; }
.section4.is-visible .process > :nth-child(1) { transition-delay: 0.1s; }
.section4.is-visible .process > :nth-child(2), .section4.is-visible .process > :nth-child(2) path { transition-delay: 0.3s; }
.section4.is-visible .process > :nth-child(3) { transition-delay: 0.45s; }
.section4.is-visible .process > :nth-child(4), .section4.is-visible .process > :nth-child(4) path { transition-delay: 0.65s; }
.section4.is-visible .process > :nth-child(5) { transition-delay: 0.8s; }
.section4.is-visible .process > :nth-child(6), .section4.is-visible .process > :nth-child(6) path { transition-delay: 1s; }
.section4.is-visible .process > :nth-child(7) { transition-delay: 1.15s; }
.section4.is-visible .process > :nth-child(8), .section4.is-visible .process > :nth-child(8) path { transition-delay: 1.35s; }
.section4.is-visible .process > :nth-child(9) { transition-delay: 1.5s; }

@media (max-width: 760px) {
  .process { flex-direction: column; align-items: flex-start; gap: 6px; }
  .process__arrow { flex: none; width: 14px; height: 30px; margin-left: 8px; transform: rotate(90deg) !important; }
}
