/* ============================================================
   JOIN HERO
   ============================================================ */

.join-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;
    background: #080808;
}

.join-hero-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.02);
    animation: joinHeroFade 1.2s ease both;
}

.join-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.58) 46%,
            rgba(0, 0, 0, 0.2) 100%
        );
}

.join-hero-content {
    position: relative;
    z-index: 2;

    width: min(820px, 84vw);
    margin-left: 8vw;
    padding: 150px 0 100px;
}

.join-kicker,
.section-kicker,
.card-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.join-kicker {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.62);
}

.join-hero-content h1 {
    font-size: clamp(5rem, 13vw, 12rem);
    line-height: 0.78;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.join-hero-content > p:not(.join-kicker) {
    max-width: 560px;
    margin-top: 34px;

    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.7);
}

.join-hero-content .button {
    margin-top: 34px;
}


/* ============================================================
   PARTICIPATE
   ============================================================ */

.participate {
    padding: 120px 8vw;
    background: #080808;
}

.participate-heading {
    max-width: 980px;
}

.participate-heading .section-kicker {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.46);
}

.participate-heading h2,
.join-links-callout h2 {
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.82;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.participate-heading > p:last-child {
    max-width: 620px;
    margin-top: 30px;

    font-size: 1.05rem;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.62);
}

.participate-grid {
    display: grid;
    gap: 14px;

    margin-top: 65px;
}

.participate-card {
    min-height: 220px;

    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 28px;
    align-items: start;

    padding: 34px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.card-number {
    padding-top: 7px;

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.34);
}

.card-label {
    color: rgba(255, 255, 255, 0.42);
}

.participate-card h3 {
    margin-top: 10px;

    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.04em;
}

.participate-card p:not(.card-label) {
    max-width: 660px;
    margin-top: 16px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.6);
}

.coming-soon {
    padding-top: 6px;

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;

    color: rgba(255, 255, 255, 0.42);
}


/* ============================================================
   LINKS CALLOUT
   ============================================================ */

.join-links-callout {
    min-height: 78vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 120px 8vw;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    background:
        radial-gradient(circle at 78% 25%, rgba(85, 35, 255, 0.18), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(0, 200, 255, 0.10), transparent 26%),
        #080808;
}

.join-links-callout .section-kicker {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.45);
}

.join-links-callout > p:not(.section-kicker) {
    max-width: 620px;
    margin-top: 30px;

    font-size: 1.05rem;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.62);
}

.join-links-callout .button {
    align-self: flex-start;
    margin-top: 34px;
}


/* ============================================================
   ANIMATION / ACCESSIBILITY
   ============================================================ */

@keyframes joinHeroFade {

    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1.02);
    }

}

@media (prefers-reduced-motion: reduce) {

    .join-hero-background {
        animation: none;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 750px) {

    .join-hero {
        min-height: 760px;
    }

    .join-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.92) 0%,
                rgba(0, 0, 0, 0.54) 58%,
                rgba(0, 0, 0, 0.28) 100%
            );
    }

    .join-hero-content {
        width: auto;
        margin: 0 25px;
        padding: 170px 0 85px;
    }

    .join-hero-content h1 {
        font-size: clamp(4.4rem, 19vw, 7rem);
    }

    .participate,
    .join-links-callout {
        padding: 100px 25px;
    }

    .participate-card {
        grid-template-columns: 38px 1fr;
        gap: 18px;

        padding: 26px 22px;
    }

    .coming-soon {
        grid-column: 2;
        padding-top: 2px;
    }

}

@media (max-width: 500px) {

    .join-hero-content h1 {
        font-size: clamp(4rem, 20vw, 6.1rem);
    }

    .participate-heading h2,
    .join-links-callout h2 {
        font-size: clamp(3.6rem, 18vw, 5.8rem);
    }

    .participate-card {
        grid-template-columns: 1fr;
    }

    .card-number,
    .coming-soon {
        grid-column: 1;
    }

}