/* Homepage close: the build crew sits beside the invitation. */

.cta.cta--crew {
  display: grid;
  grid-template-columns: minmax(300px, 1.12fr) minmax(280px, 0.88fr);
  align-items: center;
  column-gap: 8px;
  min-height: 460px;
  text-align: left;
  padding: 22px clamp(28px, 4vw, 64px) 22px 12px;
  background:
    radial-gradient(520px 240px at 78% 0%, rgba(0, 212, 160, 0.2), transparent 62%),
    radial-gradient(420px 240px at 100% 100%, rgba(37, 99, 235, 0.24), transparent 58%),
    linear-gradient(165deg, #07111f 0%, #0c1830 58%, #081426 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(4, 8, 20, 0.22);
  overflow: hidden;
}

.cta.cta--crew > * {
  grid-column: auto;
}

.cta-crew {
  margin: 0;
  min-width: 0;
}

.cta-crew img {
  width: 100%;
  height: auto;
}

.cta-crew__copy {
  position: relative;
  z-index: 1;
  padding: 28px 4px 28px 8px;
}

.cta.cta--crew h2 {
  color: #fff;
  text-align: left;
  max-width: 12em;
}

.cta.cta--crew p {
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  margin: 14px 0 28px;
  max-width: 28rem;
}

.cta.cta--crew .btn {
  justify-self: start;
}

.cta.cta--crew .btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .cta.cta--crew {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
    padding: 8px 18px 32px;
  }

  .cta-crew {
    max-width: 460px;
    margin: 0 auto;
  }

  .cta-crew__copy {
    padding: 0 8px 8px;
  }

  .cta.cta--crew h2,
  .cta.cta--crew p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .cta.cta--crew .btn {
    justify-self: center;
  }
}
