.hero-company {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a1f27;
}

.hero-company .background {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2px;
  overflow: hidden;
  opacity: 0.5;
  pointer-events: none;
}

.hero-company .background .headshot {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 100px;
  width: 100px;
  height: 140px;
  min-height: calc(33.3333% - 2px);
  border-radius: 8px;
  margin: 2px;
  overflow: hidden;
  animation: fadeInHeadshot 0.15s ease forwards;
  opacity: 0;
  text-align: center;
}
.hero-company .background.not-ready .headshot {
  animation-play-state: paused !important;
}
@supports (container-type: size) {
  .hero-company .background .headshot {
    container-type: size;
  }
}

@keyframes fadeInHeadshot {
  from {
    opacity: 0;
    transform: scale(0.5) translateX(-20px);
  }
  to {
    opacity: 1;
  }
}

.hero-company .background .headshot .placeholder {
  background: rgba(255, 255, 255, 0.15);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-company .background .headshot .placeholder span {
  display: inline-block;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.75);
  color: #217293;
  border-radius: 100%;
  height: 3rem;
  width: 3rem;
  line-height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-company .background .headshot img {
  height: 100%;
}
@supports (container-type: size) {
  .hero-company .background .headshot img {
    object-fit: cover;
    min-height: 100cqh;
    height: auto;
    max-width: 100cqw;
  }
}

.hero-company .container {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  margin: 80px auto;
  width: 623px;
  color: #fcf9ed;
  border-radius: 1rem;
  max-width: 95%;
  box-shadow: 0 8px 8px rgba(10, 31, 39, 0.4);
  backdrop-filter: blur(8px);
}

.hero-company .cta_container {
  margin-top: 2.625rem;
}

@media screen and (min-width: 768px) {
  .hero-company .container {
    padding: 60px 40px;
  }
  .hero-company .background .headshot {
    flex: 1 0 135px;
    width: 135px;
    height: 160px;
  }
}
