:root {
    --navy: #031532;
    --navy-light: #092651;
    --blue: #0d4fc7;
    --blue-bright: #1762df;
    --ink: #101828;
    --muted: #586579;
    --line: #dce3ed;
    --surface: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 18px 55px rgba(3, 21, 50, .12);
    --header-height: 98px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: var(--surface);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #78a7ff;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.05;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 18px;
}

.lead {
    color: #34445b;
    font-size: 1.22rem;
    line-height: 1.65;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 27px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .07em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 9px 22px rgba(13, 79, 199, .28);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #0a43aa;
}

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, .7);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(3, 21, 50, .08);
    transition: box-shadow .25s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 32px rgba(3, 21, 50, .1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, calc(100% - 48px));
    height: 100%;
    margin-inline: auto;
}

.brand {
    position: relative;
    z-index: 102;
    display: flex;
    align-items: center;
    width: clamp(230px, 24vw, 330px);
    height: 76px;
    overflow: hidden;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
}

.primary-nav a {
    position: relative;
    padding: 38px 0 34px;
    color: #152037;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 27px;
    left: 0;
    height: 3px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-nav .nav-cta {
    padding: 14px 21px;
    color: var(--white);
    background: var(--blue);
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(13, 79, 199, .22);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.hero-picture,
.hero-picture img {
    width: 100%;
}

.hero-picture img {
    height: auto;
}

.hero-action-bar {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding: 18px 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-actions {
    display: flex;
    gap: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: clamp(50px, 7vw, 96px);
    align-items: center;
}

.portrait-panel {
    min-height: 590px;
    background-image: linear-gradient(to top, rgba(3, 21, 50, .18), transparent 45%), url("/assets/images/portrait.webp");
    background-position: 52% center;
    background-size: cover;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.intro-copy {
    max-width: 640px;
}

.intro-copy h1 {
    margin-bottom: 28px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading p:last-child {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.priorities {
    padding-top: 58px;
    padding-bottom: 62px;
    background: var(--white);
}

.mission-title {
    display: grid;
    grid-template-columns: minmax(55px, 1fr) auto minmax(55px, 1fr);
    gap: 20px;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.mission-title span {
    height: 3px;
    background: var(--blue);
}

.mission-title h2 {
    color: var(--blue);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    letter-spacing: .02em;
}

.mission-statement {
    position: relative;
    max-width: 980px;
    margin: 0 auto 40px;
    padding: 38px 44px;
    background: #f8faff;
    border: 1px solid #dce6f5;
    border-left: 5px solid var(--blue);
    box-shadow: 0 12px 32px rgba(3, 21, 50, .07);
}

.mission-statement header {
    margin-bottom: 24px;
    text-align: center;
}

.mission-statement h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.mission-quote {
    margin: 0;
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-style: italic;
    font-weight: 700;
}

.mission-copy {
    color: #34445b;
    font-size: .98rem;
    line-height: 1.72;
}

.mission-copy p:last-child {
    margin-bottom: 0;
}

.mission-statement footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 26px;
    padding-top: 22px;
    color: var(--navy);
    border-top: 1px solid #cad8ec;
    line-height: 1.45;
}

.mission-statement footer strong {
    margin-bottom: 10px;
    color: var(--blue);
    font-family: Georgia, serif;
    font-style: italic;
}

.mission-statement footer span {
    font-size: .88rem;
    font-weight: 700;
}

.priority-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.priority-card {
    min-height: 194px;
    padding: 20px 13px 18px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 3px;
    box-shadow: 0 5px 16px rgba(3, 21, 50, .045);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.priority-card:hover {
    border-color: #aec5ec;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.icon-wrap {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: var(--blue);
    background: transparent;
    border-radius: 50%;
    place-items: center;
}

.icon-wrap svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.priority-card h3 {
    margin-bottom: 7px;
    font-size: .86rem;
    line-height: 1.15;
}

.priority-card p {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.42;
}

.community {
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(3, 21, 50, .98), rgba(4, 35, 80, .92)),
        url("/assets/images/hero-desktop.webp") center / cover;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: clamp(50px, 7vw, 90px);
    align-items: center;
}

.community h2,
.involved h2 {
    margin-bottom: 24px;
    color: var(--white);
}

.community-copy > p:last-of-type,
.involved-copy > p {
    color: #d8e1ef;
    font-size: 1.08rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.stat-row div {
    padding-left: 14px;
    border-left: 3px solid var(--blue-bright);
}

.stat-row strong,
.stat-row span {
    display: block;
}

.stat-row strong {
    font-family: "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
}

.stat-row span {
    color: #9fb0c8;
    font-size: .78rem;
}

.quote-card {
    position: relative;
    margin: 0;
    padding: 56px 44px 42px;
    color: var(--navy);
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.quote-mark {
    position: absolute;
    top: 7px;
    left: 28px;
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.quote-card p {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.6;
}

.quote-card footer {
    color: var(--blue);
    font-weight: 800;
}

.involved {
    color: var(--white);
    background: var(--navy);
}

.involved-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: clamp(50px, 7vw, 90px);
    align-items: center;
}

.check-list {
    padding: 0;
    margin: 28px 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 10px 0;
    padding-left: 30px;
}

.check-list li::before {
    position: absolute;
    top: .3em;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    color: var(--navy);
    content: "✓";
    background: #76a7ff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    place-items: center;
}

.email-link,
.phone-link {
    display: block;
    color: #8db5ff;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.phone-link {
    width: fit-content;
    margin-top: 8px;
}

.contact-form {
    position: relative;
    padding: 38px;
    color: var(--ink);
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
    color: #26344a;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.contact-form label > span {
    color: var(--blue);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    color: var(--ink);
    background: #f8fafc;
    border: 1px solid #cad4e1;
    border-radius: 3px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(13, 79, 199, .12);
}

.contact-form .checkbox-label {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 4px 0 22px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-label span {
    color: #34445b !important;
}

.form-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    font-size: .9rem;
    font-weight: 700;
}

.form-status.success {
    color: #14783c;
}

.form-status.error {
    color: #b42318;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.support {
    background: var(--surface);
}

.support-card {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: space-between;
    padding: 54px 60px;
    background: var(--white);
    border-left: 6px solid var(--blue);
    box-shadow: var(--shadow);
}

.support-card > div {
    max-width: 720px;
}

.support-card h2 {
    margin-bottom: 14px;
}

.support-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.support-card .button {
    flex: 0 0 auto;
}

.site-footer {
    color: #d5dfed;
    background: #020e22;
}

.footer-main {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 55px;
    align-items: center;
    padding-top: 55px;
    padding-bottom: 55px;
}

.footer-logo {
    width: 138px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-message strong {
    color: var(--white);
    font-family: "Arial Narrow", Arial, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-message p {
    margin: 7px 0 0;
    color: #8798b1;
    font-size: .9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
}

.footer-nav a {
    color: #b9c7da;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-legal {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-legal .container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.footer-legal p {
    margin: 0;
    color: #8090a8;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.priority-card:nth-child(2),
.priority-card:nth-child(5) {
    transition-delay: .08s;
}

.priority-card:nth-child(3),
.priority-card:nth-child(6) {
    transition-delay: .16s;
}

@media (max-width: 1100px) {
    .primary-nav {
        gap: 15px;
    }

    .primary-nav a {
        font-size: .72rem;
    }

    .priority-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 78px;
    }

    .header-inner {
        width: min(100% - 34px, 1280px);
    }

    .brand {
        width: min(235px, calc(100vw - 105px));
        height: 60px;
    }

    .menu-toggle {
        position: relative;
        z-index: 102;
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 10px 0 10px 10px;
        color: var(--navy);
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .menu-label {
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .hamburger {
        position: relative;
        display: block;
        width: 28px;
        height: 20px;
    }

    .hamburger i {
        position: absolute;
        right: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        transition: top .25s ease, transform .25s ease, opacity .2s ease, width .2s ease;
    }

    .hamburger i:nth-child(1) {
        top: 0;
    }

    .hamburger i:nth-child(2) {
        top: 9px;
        width: 76%;
    }

    .hamburger i:nth-child(3) {
        top: 18px;
    }

    .menu-open .hamburger i:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .menu-open .hamburger i:nth-child(2) {
        opacity: 0;
        transform: translateX(8px);
    }

    .menu-open .hamburger i:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        z-index: 101;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 34px 26px 50px;
        overflow-y: auto;
        background: var(--navy);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-18px);
        transition: opacity .3s ease, transform .3s ease;
    }

    .menu-open .primary-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav a {
        padding: 16px 4px;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        font-size: 1.25rem;
        opacity: 0;
        transform: translateX(-18px);
        transition: opacity .25s ease, transform .25s ease, color .2s ease;
    }

    .menu-open .primary-nav a {
        opacity: 1;
        transform: translateX(0);
    }

    .menu-open .primary-nav a:nth-child(2) { transition-delay: .04s; }
    .menu-open .primary-nav a:nth-child(3) { transition-delay: .08s; }
    .menu-open .primary-nav a:nth-child(4) { transition-delay: .12s; }
    .menu-open .primary-nav a:nth-child(5) { transition-delay: .16s; }
    .menu-open .primary-nav a:nth-child(6) { transition-delay: .2s; }
    .menu-open .primary-nav a:nth-child(7) { transition-delay: .24s; }

    .primary-nav a:not(.nav-cta)::after {
        display: none;
    }

    .primary-nav a.active {
        color: #7caaff;
    }

    .primary-nav .nav-cta {
        margin-top: 20px;
        padding: 17px 22px;
        text-align: center;
        border: 0;
    }

    .split-layout,
    .community-layout,
    .involved-grid {
        grid-template-columns: 1fr;
    }

    .portrait-panel {
        min-height: 500px;
    }

    .intro-copy {
        max-width: none;
    }

    .community-layout {
        gap: 55px;
    }

    .involved-copy {
        max-width: 680px;
    }

    .support-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 32px, 1180px);
    }

    .section {
        padding: 70px 0;
    }

    .hero-picture img {
        aspect-ratio: 1;
        object-fit: cover;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions .button {
        padding-inline: 12px;
        font-size: .75rem;
    }

    .portrait-panel {
        min-height: 430px;
        background-position: 74% center;
    }

    .priority-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .priority-card {
        min-height: 190px;
        padding: 20px 12px 17px;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .quote-card {
        padding: 52px 28px 34px;
    }

    .quote-card p {
        font-size: 1.15rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 26px 20px;
    }

    .support-card {
        gap: 28px;
        padding: 38px 28px;
    }

    .footer-main {
        grid-template-columns: 100px 1fr;
        gap: 30px;
    }

    .footer-logo {
        width: 100px;
    }

    .footer-nav {
        grid-column: 1 / -1;
    }

    .footer-legal .container {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 430px) {
    .menu-label {
        display: none;
    }

    .hero-action-bar {
        padding: 14px 0;
    }

    .hero-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .portrait-panel {
        min-height: 370px;
    }

    .mission-title {
        grid-template-columns: 42px auto 42px;
        gap: 12px;
    }

    .mission-statement {
        margin-bottom: 30px;
        padding: 30px 23px;
    }

    .mission-copy {
        font-size: .92rem;
    }

    .priority-grid {
        grid-template-columns: 1fr;
    }

    .priority-card {
        min-height: 0;
        padding: 24px 22px;
    }

    .priority-card p {
        font-size: .82rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-inline: auto;
    }

    .footer-nav {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
