/* ===========================
   Purple Steps
=========================== */

html {
	scroll-behavior: smooth;
}

#credits {
	scroll-margin-top: 140px;
}

.purple-steps {
  padding: 0 0 80px;
  
}

.purple-steps__inner {
  max-width: 90%;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  position: relative;
  background-image: url("/wp-content/uploads/2025/04/sbhpp-purple-bg-d973d1.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* subtle geometric overlay */
.purple-steps__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.purple-steps__header {
  padding: 28px 28px 18px;
  position: relative;
  z-index: 1;
}

.icon-and-title {
    display:flex;
    gap: 10px;
    align-items:center;
}

.purple-steps__title {
  margin: 0;
  font-weight: 900;
  color: #fff;
}

.purple-steps__copy {
  line-height: 32px;
  font-weight: 500;
}

.purple-steps__copy p { margin: 0 0 10px; }
.purple-steps__copy p:last-child { margin-bottom: 0; }

.purple-steps__grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 40px 18px 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.18);
  position: relative;
  z-index: 1;
}

.purple-steps__step {
  position: relative;
  padding: 14px 14px 16px;
  border-radius: 14px;
  min-height: 130px;
}


.purple-steps__num {
  position: absolute;
  left: 30px;
  top: -30px;
  font-size:80px;
  font-weight: 900;
  color: #fff;
  opacity: 0.3;
  line-height: 1;
  pointer-events: none;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;

}

.purple-steps__icon {
  width: 28px;
  height: 28px;
  margin: 10px 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.purple-steps__icon img {
  width:42px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1); /* makes black icons white */
  opacity: 0.95;
}

.purple-steps__step-title {
  margin: 0 0 6px;
  font-weight: 900;
  color: #fff;
}

.purple-steps__step-copy {
  font-size: 18px;
  line-height: 28.8px;
}

.purple-steps__step-copy a {
    color: #fff !important;
    font-weight: 900;
    text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .purple-steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .purple-steps__header { padding: 22px 18px 14px; }
  .purple-steps__grid { grid-template-columns: 1fr; padding: 40px 14px 18px; }
}
