/* =========================================================
   DEARDEN2007 HOME PAGE
   Page-specific styles only
========================================================= */

:root {
    --home-red: #df2027;
    --home-red-dark: #790b0f;
    --home-blue: #2464e8;
    --home-blue-dark: #0b245b;
    --home-black: #030405;
    --home-panel: #0e1116;
    --home-panel-light: #151a21;
    --home-line: #2c3440;
    --home-text: #f5f7fa;
    --home-muted: #b0b8c4;
}

.home-page {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0 90px;
}

/* HERO */

/* =========================================================
   CROPPED FLYER HERO
========================================================= */

/* =========================================================
   CROPPED FLYER HERO
========================================================= */

.home-hero-banner {
    position: relative;

    width: 100%;
    height: clamp(360px, 52vw, 730px);

    margin: 0 auto;
    overflow: hidden;

    background: #050608;

    border: 1px solid #29313c;
    border-radius: 24px;

    box-shadow:
        0 30px 85px rgba(0, 0, 0, 0.65),
        0 0 32px rgba(36, 100, 232, 0.14);
}

.home-hero-banner img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    object-position: top center;
}

.home-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
    border-radius: inherit;

    box-shadow:
        inset 0 0 45px rgba(0, 0, 0, 0.25);
}

/* Used throughout the homepage */

.home-eyebrow {
    display: inline-block;

    color: #72a9ff;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 14px 25px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;

    text-decoration: none;
    text-transform: uppercase;

    border-radius: 10px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.home-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.home-button-red {
    background:
        linear-gradient(
            135deg,
            #ef3036,
            #a30b10
        );

    border: 1px solid #ff5258;

    box-shadow:
        0 12px 30px rgba(223, 32, 39, 0.25);
}

.home-button-red:hover {
    box-shadow:
        0 18px 38px rgba(223, 32, 39, 0.38);
}

.home-button-blue {
    background:
        linear-gradient(
            135deg,
            #3478f6,
            #153ea3
        );

    border: 1px solid #679aff;

    box-shadow:
        0 12px 30px rgba(36, 100, 232, 0.25);
}

.home-button-blue:hover {
    box-shadow:
        0 18px 38px rgba(36, 100, 232, 0.4);
}

/* STATEMENT */

.home-statement {
    max-width: 1050px;
    margin: 100px auto;
    text-align: center;
}

.home-statement h2 {
    margin: 18px 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.home-statement p {
    max-width: 850px;
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 21px;
    line-height: 1.8;
}

/* MISSION */

.home-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-mission-card {
    position: relative;
    min-height: 520px;
    padding: clamp(35px, 5vw, 65px);

    background:
        linear-gradient(
            145deg,
            var(--home-panel-light),
            #080a0d
        );

    border: 1px solid var(--home-line);
    border-radius: 24px;
    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);
}

.home-mission-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.15;
}

.home-card-red {
    border-top: 5px solid var(--home-red);
}

.home-card-red::after {
    background: var(--home-red);
}

.home-card-blue {
    border-top: 5px solid var(--home-blue);
}

.home-card-blue::after {
    background: var(--home-blue);
}

.home-section-number {
    color: #596474;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
}

.home-mission-card h2 {
    margin: 20px 0;
    color: #ffffff;
    font-size: clamp(38px, 4vw, 58px);
    text-transform: uppercase;
}

.home-card-red h2 {
    color: #ef343a;
}

.home-card-blue h2 {
    color: #4c82f3;
}

.home-mission-card p {
    color: #c3c9d1;
    font-size: 20px;
    line-height: 1.8;
}

.home-mission-card ul {
    position: relative;
    z-index: 1;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.home-mission-card li {
    padding: 14px 0;
    color: #ffffff;
    font-size: 19px;
    border-bottom: 1px solid #29303a;
}

.home-card-red > ul li::before {
    content: "◆";
    margin-right: 12px;
    color: var(--home-red);
}

.home-focus-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-focus-list li span {
    display: grid;
    place-items: center;

    flex: 0 0 46px;
    width: 46px;
    height: 46px;

    background: #122857;
    border: 1px solid #285bca;
    border-radius: 50%;
}

/* FEATURE LINKS */

.home-feature-section,
.home-involved {
    margin-top: 110px;
}

.home-section-heading {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 15px 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
}

.home-section-heading p {
    color: var(--home-muted);
    font-size: 20px;
    line-height: 1.75;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-feature-card {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 18px;
    align-items: center;

    min-height: 190px;
    padding: 28px;

    color: #ffffff;
    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            #12171e,
            #090b0e
        );

    border: 1px solid #303946;
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-feature-card:hover {
    color: #ffffff;
    transform: translateY(-7px);
    border-color: #4f7fd7;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.4);
}

.home-feature-icon {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    font-size: 28px;

    background: #101f3f;
    border: 1px solid #254d9e;
    border-radius: 15px;
}

.home-feature-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.home-feature-card p {
    margin: 0;
    color: #aeb7c3;
    line-height: 1.6;
}

.home-card-arrow {
    color: #6da1ff;
    font-size: 28px;
}

/* GET INVOLVED */

.home-involved {
    padding: clamp(45px, 6vw, 75px);

    background:
        radial-gradient(
            circle at 20% 100%,
            rgba(223, 32, 39, 0.14),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 0%,
            rgba(36, 100, 232, 0.16),
            transparent 35%
        ),
        #080a0d;

    border: 1px solid #29313c;
    border-radius: 28px;
}

.home-involved-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-involved-card {
    min-height: 330px;
    padding: 32px 24px;

    color: #ffffff;
    text-align: center;
    text-decoration: none;

    background: rgba(16, 20, 26, 0.94);
    border: 1px solid #303845;
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-involved-card:hover {
    color: #ffffff;
    transform: translateY(-8px);
}

.home-involved-red:hover {
    border-color: var(--home-red);

    box-shadow:
        0 20px 50px rgba(223, 32, 39, 0.18);
}

.home-involved-blue:hover {
    border-color: var(--home-blue);

    box-shadow:
        0 20px 50px rgba(36, 100, 232, 0.2);
}

.home-involved-icon {
    display: grid;
    place-items: center;

    width: 76px;
    height: 76px;
    margin: 0 auto 22px;

    font-size: 38px;

    background: #090b0e;
    border: 1px solid #333c48;
    border-radius: 50%;
}

.home-involved-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    text-transform: uppercase;
}

.home-involved-red h3,
.home-involved-red strong {
    color: #f03a40;
}

.home-involved-blue h3,
.home-involved-blue strong {
    color: #4a80ed;
}

.home-involved-card p {
    min-height: 95px;
    color: #b3bbc6;
    line-height: 1.65;
}

.home-involved-card strong {
    font-size: 14px;
    text-transform: uppercase;
}

/* FINAL CTA */

.home-final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;

    margin-top: 110px;
    padding: clamp(40px, 6vw, 72px);

    background:
        linear-gradient(
            110deg,
            rgba(19, 55, 126, 0.9),
            rgba(11, 17, 28, 0.95) 48%,
            rgba(104, 11, 16, 0.9)
        );

    border: 1px solid #49576b;
    border-radius: 25px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);
}

.home-final-cta h2 {
    margin: 13px 0;
    color: #ffffff;
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1.08;
}

.home-final-cta p {
    max-width: 800px;
    margin: 0;
    color: #d1d6dd;
    font-size: 19px;
    line-height: 1.7;
}

/* RESPONSIVE */

@media (max-width: 1150px) {

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {

    .home-page {
        width: min(100% - 28px, 1440px);
        padding-top: 20px;
    }

    .home-hero-banner {
    height: 58vw;
    min-height: 300px;
    border-radius: 16px;
}

    .home-mission-grid {
        grid-template-columns: 1fr;
    }

    .home-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .home-hero-banner {
    height: 61vw;
    min-height: 230px;
    border-radius: 12px;
}

    .home-button {
        width: 100%;
    }

    .home-involved {
        padding: 38px 20px;
    }

    .home-involved-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-card {
        grid-template-columns: 52px 1fr;
    }

    .home-card-arrow {
        display: none;
    }

}