.work-process {
  padding-block: 80px;
}

.work-process__heading {
  max-width: none;
  margin-bottom: 44px;
  text-align: center;
}

.work-process__heading .section-title {
  margin-top: 10px;
}

.work-process__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-process__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: var(--color-primary-deep);
}

.work-process__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-process__card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 14, 28, .03) 10%, rgba(4, 14, 28, .22) 36%, rgba(4, 14, 28, .88) 77%, rgba(4, 14, 28, .97) 100%);
  content: "";
}

.work-process__copy {
  width: 100%;
  padding: 26px 22px;
}

.work-process__step {
  display: block;
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.work-process__title {
  min-height: 1.4em;
  margin: 0 0 12px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.4;
  word-break: keep-all;
}

.work-process__text {
  white-space: nowrap;
  min-height: 1.7em;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .work-process__cards {
    gap: 8px;
  }

  .work-process__copy {
    padding-inline: 16px;
  }

  .work-process__title {
    font-size: 18px;
  }

  .work-process__text {
    font-size: 13px;
  }
}

@media (max-width: 1023px) {
  .work-process__cards {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .work-process__card {
    flex: 0 0 250px;
    min-height: 420px;
  }

  .work-process__step {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .work-process {
    padding-block: 48px;
  }

  .work-process__heading {
    margin-bottom: 28px;
  }

  .work-process__card {
    min-height: 400px;
  }

  .work-process__copy {
    padding: 24px 20px;
  }
}
