/* =========================================================
   SHARED PAGE STYLES
   Home / About / Join
========================================================= */

nav a[aria-current="page"] {
    color: white;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   HOME HERO
========================================================= */

.home-hero {
    min-height: calc(100vh - 72px);
    padding: 4rem 1.5rem 6rem;

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

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(180, 20, 53, 0.12),
            transparent 48%
        ),
        var(--background);
}

.home-logo {
    width: min(620px, 92vw);
    max-height: 440px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.home-hero-text {
    max-width: 850px;
}

.home-hero-description {
    max-width: 800px;
    margin: 0 auto;

    color: #dddddd;

    font-size: clamp(1.12rem, 2vw, 1.3rem);
}

.home-hero-description + .home-hero-description {
    max-width: 730px;
    margin-top: 0.9rem;

    color: var(--text-muted);

    font-size: 1.05rem;
}

.home-motto {
    margin: 2.3rem 0 0;

    color: #777;

    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-activities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* =========================================================
   INNER PAGE HERO
========================================================= */

.page-hero {
    padding: 8rem 1.5rem 5rem;

    border-bottom: 1px solid #171717;

    background:
        radial-gradient(
            circle at 28% 25%,
            rgba(180, 20, 53, 0.11),
            transparent 32rem
        ),
        var(--background);
}

.page-hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;

    font-size: clamp(2.8rem, 5.8vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.page-hero-intro {
    max-width: 780px;
    margin: 1.5rem 0 0;

    color: var(--text-muted);

    font-size: 1.15rem;
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-intro-section {
    padding-bottom: 7rem;
    border-bottom: 0;
}

.story-content {
    max-width: 900px;
}

.about-story-content {
    margin: 5rem auto 0;
}

.story-content > p:not(.eyebrow) {
    max-width: 800px;

    color: var(--text-muted);

    font-size: 1.12rem;
}

.story-content > .story-emphasis {
    margin: 3rem 0;
    padding-left: 1.3rem;

    border-left: 3px solid var(--red);

    color: white;

    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.story-vision {
    margin-top: 2.5rem;
    padding-top: 2rem;

    border-top: 1px solid var(--border);
}

.about-activities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-section {
    padding-top: 1rem;
}

.mission-panel {
    position: relative;
    overflow: hidden;

    padding: clamp(2rem, 5vw, 4rem);

    border: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(180, 20, 53, 0.12),
            rgba(18, 18, 18, 0.92) 42%
        ),
        var(--surface);
}

.mission-panel::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 90px;
    height: 3px;

    background: var(--red);
}

.mission-panel h2 {
    margin-bottom: 1.5rem;
}

.mission-panel p {
    max-width: 900px;
    margin-bottom: 0;

    color: #d2d2d2;

    font-size: clamp(1.12rem, 2vw, 1.3rem);
}

.supporters-section {
    border-top: 1px solid #171717;
}

.supporters-content {
    text-align: center;
}

.supporters-content h2,
.supporters-content .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.supporter-logo-grid {
    max-width: 980px;
    margin: 3.5rem auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;

    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.supporter-logo {
    height: 220px;
    padding: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.supporter-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.supporter-logo--vertical img {
    max-width: 150px;
    max-height: 190px;
}

.supporter-logo--kama img {
    max-width: 220px;
    max-height: 175px;
}

.supporter-logo--hats img {
    max-width: 245px;
    max-height: 175px;

    opacity: 0.92;
}


/* =========================================================
   JOIN PAGE
========================================================= */

.join-benefit-grid {
    margin-top: 3rem;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1rem;
}

.join-benefit {
    padding: 1.6rem;

    border-top: 3px solid var(--red);

    background: var(--surface);
}

.join-benefit h3 {
    margin: 0 0 0.65rem;

    font-size: 1.15rem;
}

.join-benefit p {
    margin: 0;

    color: var(--text-muted);
}

.expectation-grid {
    margin-top: 2.5rem;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1rem;
}

.expectation {
    padding: 1.8rem;

    border: 1px solid var(--border);

    background: #0f0f0f;
}

.expectation h3 {
    margin: 0 0 0.6rem;

    font-size: 1.35rem;
}

.expectation p {
    margin: 0;

    color: var(--text-muted);
}

.join-page-cta .eyebrow {
    color: var(--gold);
    letter-spacing: 0.12em;
}

.join-page-cta > p:not(.eyebrow) {
    max-width: 700px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .join-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supporter-logo-grid {
        gap: 1rem;
    }

    .supporter-logo {
        height: 190px;
    }

}


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

@media (max-width: 700px) {

    .home-hero {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    .home-logo {
        width: min(460px, 96vw);
    }

    .page-hero {
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    .about-intro-section {
        padding-bottom: 5rem;
    }

    .about-story-content {
        margin-top: 3.5rem;
    }

    .home-activities,
    .about-activities,
    .join-benefit-grid,
    .expectation-grid,
    .supporter-logo-grid {
        grid-template-columns: 1fr;
    }

    .supporter-logo-grid {
        max-width: 360px;
        gap: 1.5rem;
    }

    .supporter-logo {
        height: 165px;
        padding: 0.5rem;
    }

    .supporter-logo--vertical img {
        max-width: 125px;
        max-height: 155px;
    }

    .supporter-logo--kama img,
    .supporter-logo--hats img {
        max-width: 220px;
        max-height: 150px;
    }

}
