/* Purpose: Steps band — numbered process cards on the gold-foil surface. Every element was
   styled for a dark surface first, so on the foil the copy, cards and numerals flip to dark ink. */

.steps-band {
  overflow: hidden;
  background: var(--foil);
}

.steps-band > .shell {
  position: relative;
  z-index: var(--z-content);
}

.steps-band h2 {
  color: var(--color-dark-ink);
}

.steps-band .kicker {
  color: var(--color-foil-ink-2);
  border-color: var(--color-foil-line-3);
  background: var(--color-foil-glass);
}

.steps-band .kicker::before {
  background: var(--color-foil-ink-3);
  box-shadow: none;
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-20);
}

.step {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  padding: var(--space-34) var(--space-28);
  background: var(--color-cream-glass);
  border: 1px solid var(--color-foil-line);
  transition:
    transform var(--duration-med) var(--ease-smooth),
    box-shadow var(--duration-med) ease,
    border-color var(--duration-med) ease;
}

.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--rule-step-foil);
  opacity: var(--opacity-rule);
  transition: opacity var(--duration-med) ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--color-foil-line-2);
  box-shadow: var(--shadow-step-foil);
}

.step:hover::after {
  opacity: 1;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark-ink);
  color: var(--color-gold-200);
  font-family: var(--font-display);
  display: grid;
  place-items: center;
  font-weight: var(--weight-bold);
  font-size: var(--fs-19);
  margin-bottom: var(--space-22);
  transition: color var(--duration-med) ease, box-shadow var(--duration-med) ease;
}

.step:hover .step__num {
  color: var(--color-gold-100);
  box-shadow: var(--shadow-step-foil-n);
}

/* An H3 for the outline; sized as the design's H4 card title. */
.step__title {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--fs-19);
  line-height: var(--leading-h4);
  letter-spacing: var(--tracking-snug);
  color: var(--color-dark-ink);
  margin-bottom: var(--space-11);
}

.step__text {
  font-size: var(--fs-15);
  line-height: var(--leading-normal);
  color: var(--color-foil-ink);
  margin: 0;
}

@media (min-width: 561px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1081px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
