/* "How Holder Crates work": five nodes on a cable with a travelling lime pulse. */

.steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

/* Cable behind the icons */
.steps__list::before,
.steps__list::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 44px;
  height: 14px;
  border-radius: 99px;
  pointer-events: none;
}
.steps__list::before {
  border: 1.5px solid var(--nm-black);
  background: var(--nm-bg);
  box-shadow: 0 4px 0 var(--nm-black);
}
.steps__list::after {
  left: calc(10% + 4px);
  right: calc(10% + 4px);
  top: 48.5px;
  height: 5px;
  background: linear-gradient(90deg, transparent 0 40%, var(--nm-lime) 48% 52%, transparent 60% 100%) 0 0 / 250% 100% no-repeat;
  animation: pulse-run 3.2s linear infinite;
}
@keyframes pulse-run {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 8px;
}
.step .iso-icon {
  width: 104px;
  height: 104px;
  padding: 8px;
  margin-bottom: 8px;
  background: var(--nm-bg);
  border: 1px solid var(--nm-black);
  border-radius: var(--r);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.step:hover .iso-icon { transform: translate(-3px, -3px); box-shadow: var(--extrude); }
.step--last .iso-icon { background: var(--nm-lime); }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--nm-muted); }
.step h3 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.step p { font-size: 14.5px; color: var(--nm-muted); }

@media (max-width: 900px) {
  .steps__list { grid-template-columns: 1fr; gap: 18px; }
  .steps__list::before,
  .steps__list::after { left: 45px; right: auto; top: 30px; bottom: 30px; width: 14px; height: auto; }
  .steps__list::before { box-shadow: 4px 0 0 var(--nm-black); }
  .steps__list::after {
    left: 49.5px;
    width: 5px;
    background: linear-gradient(180deg, transparent 0 40%, var(--nm-lime) 48% 52%, transparent 60% 100%) 0 0 / 100% 250% no-repeat;
    animation-name: pulse-run-v;
  }
  .step { grid-template-columns: 104px 1fr; column-gap: 18px; align-items: center; }
  .step .iso-icon { grid-row: span 3; margin-bottom: 0; }
}
@keyframes pulse-run-v {
  from { background-position: 0 100%; }
  to { background-position: 0 0%; }
}
