/* Cta */

#join {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14vh 24px;
  position: relative;
  overflow-x: clip;
}

/* Same trick as the aurora: the blur is baked into the gradient, so the breathing animation
   never has to re-blur a viewport-sized layer. */
#join .halo {
  position: absolute;
  width: calc(70vmax + 240px);
  height: calc(70vmax + 240px);
  border-radius: 50%;
  background: radial-gradient(
    circle closest-side,
    rgba(170, 165, 255, 0.112) 0%,
    rgba(170, 165, 255, 0.085) 25%,
    rgba(170, 165, 255, 0.04) 48%,
    rgba(170, 165, 255, 0.015) 64%,
    rgba(170, 165, 255, 0.004) 80%,
    transparent 100%
  );
  pointer-events: none;
  will-change: transform, opacity;
  animation: breathe 9s ease-in-out infinite alternate;
  left: calc(50% - 120px);
  top: calc(50% - 120px);
  transform: translate(-50%, -50%);
  max-width: calc(100vw + 240px);
}

#join h2 {
  line-height: 1;
  margin-bottom: 3rem;
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  font-size: clamp(3.2rem, 9vw, 8rem);
}

#join h2 i {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-pale);
  opacity: 1;
}

#join .shards {
  margin: 0 0 3.4rem;
  perspective: 1000px;
  justify-content: center;
}

#join .shard {
  flex: 0 0 110px;
  width: 110px;
  height: 130px;
  border-radius: 12px;
}

#join .shard .v {
  font-size: 2.2rem;
  font-weight: 300;
}

#join p {
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: var(--text);
  font-size: 1.08rem;
}

#join .feat-cta {
  justify-content: center;
}

@media (max-width: 600px) {
  #join .shard {
    flex-basis: 70px;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 84px;
  }

  #join .shard .v {
    font-size: 1.5rem;
  }

  #join {
    padding: 12vh 20px;
    min-height: auto;
  }

  #join h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  #join .shards {
    width: 100%;
    max-width: 360px;
    gap: 8px;
  }

  #join p {
    font-size: 1rem;
  }
}
