.hero-collage {
  position: absolute;
  z-index: 1;
  top: calc(76px + 16%);
  right: clamp(28px, 5vw, 78px);
  bottom: 17%;
  left: 56%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  pointer-events: none;
}

.hero-collage::before {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(65 105 225 / 18%), transparent 68%);
  content: "";
  filter: blur(40px);
}

.hero-person,
.hero-person.p1,
.hero-person.p2,
.hero-person.p3,
.hero-person.p4,
.hero-person.p5,
.hero-person.p6 {
  position: relative;
  inset: auto;
  z-index: 1;
  width: auto;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: clamp(9px, 1vw, 14px);
  background: #dfe7ff;
  box-shadow: 0 14px 34px rgb(17 24 39 / 14%);
  animation: none;
  transform: none;
}

.hero-person::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgb(39 71 181 / 4%), transparent 56%, rgb(8 20 54 / 10%));
  content: "";
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
}

@media (max-width: 1279px) {
  .hero-collage {
    right: 32px;
    left: 54%;
  }
}

@media (max-width: 1023px) {
  .hero-collage {
    top: calc(76px + 19%);
    right: 24px;
    bottom: 20%;
    left: 53%;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 900px;
  }

  .hero-inner {
    align-items: flex-start;
    min-height: calc(900px - 76px);
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
    padding-top: clamp(56px, 10vw, 76px);
    padding-bottom: 360px;
  }

  .hero-copy .lead {
    max-width: 36em;
  }

  .actions {
    width: min(100%, 440px);
  }

  .actions .btn {
    min-width: 0;
  }

  .hero-collage {
    top: auto;
    right: 20px;
    bottom: 54px;
    left: 20px;
    width: min(calc(100% - 40px), 560px);
    height: clamp(220px, 58vw, 290px);
    margin-inline: auto;
    gap: 7px;
  }
}

@media (max-width: 479px) {
  .hero {
    min-height: 920px;
  }

  .hero-inner {
    min-height: calc(920px - 76px);
  }

  .hero-copy {
    width: 100%;
    padding-top: 52px;
    padding-bottom: 300px;
  }

  .hero .hero-copy h1 {
    font-size: clamp(2.25rem, 9.6vw, 3.25rem);
    line-height: 1.28;
  }

  .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .actions {
    width: min(100%, 240px);
  }

  .actions .btn {
    width: 100%;
  }

  .hero-collage {
    right: 16px;
    bottom: 68px;
    left: 16px;
    width: calc(100% - 32px);
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-person {
    animation: none;
    transform: none;
  }
}
