:root {
    --blue: #1e4d6b;
    --blue-deep: #163a52;
    --green: #2f7d6d;
    --green-soft: #e6f4ef;
    --sky: #eef4f2;
    --sand: #ffffff;
    --ink: #22262b;
    --muted: #6b7280;
    --line: #e6e8ea;
    --white: #ffffff;
    --danger: #8b2e2e;
    --warn: #8a5a12;
    --ok: #1c5d4a;
    --shadow: 0 18px 50px rgba(34, 38, 43, 0.08);
    --radius: 28px;
    --max: 1180px;
}

* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}
.brand-logo { height: 42px; width: auto; max-width: 180px; object-fit: contain; }
.footer-logo { height: 36px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 0.75rem; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
}
h1, h2, h3, h4 {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    line-height: 1.18;
    margin: 0 0 0.7rem;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.03em;
}
p { margin: 0 0 1rem; }
.skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--blue);
    color: #fff;
    padding: 0.6rem 1rem;
    z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(1.2) blur(16px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 28px rgba(22, 58, 82, 0.04);
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 72px;
    padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.mark {
    width: 42px; height: 42px; border-radius: 13px; background: var(--blue);
    display: grid; place-items: center; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; gap: 0.08rem; min-width: 0; line-height: 1.15; }
.brand-name { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.03em; display: block; }
.brand-tag {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav { display: flex; align-items: center; gap: 1rem; position: relative; }
.nav-links { display: flex; align-items: center; gap: 0.12rem; }
.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.42rem 0.62rem;
    border-radius: 9px;
    position: relative;
    white-space: nowrap;
}
.nav-links a:hover { background: #f4f7f6; color: var(--ink); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0.62rem;
    right: 0.62rem;
    bottom: 0.18rem;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}
.nav-cta {
    position: relative;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    padding: 0.58rem 1.15rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    margin-left: 0.15rem;
    box-shadow: 0 8px 18px rgba(47, 125, 109, 0.18);
}
.nav-cta:hover { background: #277062; color: #fff; }
.nav-cta::before {
    content: "";
    position: absolute;
    left: -0.85rem;
    top: 50%;
    width: 1px;
    height: 1.15rem;
    background: var(--line);
    transform: translateY(-50%);
}
.menu-toggle {
    display: none; border: 1px solid var(--line); background: #fff;
    border-radius: 10px; padding: 0.45rem 0.6rem; cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--blue); margin: 4px 0; }

@media (max-width: 1180px) {
    .brand-tag { display: none; }
}

.home-feature {
    background: linear-gradient(180deg, #f3f7f5 0%, #ffffff 72%);
    padding: 1.5rem 0 2.4rem;
}
.home-feature-stage {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 540px;
}
.home-feature-photo {
    grid-column: 1;
    grid-row: 1;
    width: min(80%, 58rem);
    justify-self: end;
    margin: 0;
    position: relative;
}
.home-feature-photo img {
    width: 100%;
    height: min(540px, 58vw);
    object-fit: cover;
    border-radius: 2rem;
    display: block;
    box-shadow: var(--shadow);
}
.home-feature-stat {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.42rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 20px rgba(22, 58, 82, 0.12);
}
.home-feature-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: min(28rem, 42%);
    z-index: 2;
    background: #fff;
    border-radius: 1.75rem;
    padding: 2.35rem 2.15rem 1.85rem;
    box-shadow: 0 28px 64px rgba(22, 58, 82, 0.14);
    border: 1px solid rgba(230, 232, 234, 0.9);
}
.home-feature-card h1 {
    font-size: clamp(2.15rem, 4vw, 3.15rem);
    font-weight: 600;
    max-width: 11ch;
    margin-bottom: 0.85rem;
}
.home-feature-card > p { color: var(--muted); font-size: 1.02rem; }
.home-feature-card .actions { margin-top: 1.35rem; }
.home-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}
.home-feature-chips li {
    background: var(--sky);
    color: var(--blue-deep);
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 700;
}
.home-feature-note { margin: 2.4rem 0 0; }
.home-process { padding-top: 1.4rem; }
.home-process h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); }
.home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    position: relative;
}
.home-steps::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 7%;
    right: 7%;
    height: 1px;
    background: var(--line);
}
.home-steps li { position: relative; }
.home-step-num {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
    border: 4px solid #fff;
}
.home-steps h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.home-steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.split-band-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}
.home-hero-media img,
.rounded-photo {
    width: 100%;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}
.home-hero-media img { height: min(420px, 48vw); }
.rounded-photo { max-height: 380px; margin-top: 1.2rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.actions-center { justify-content: center; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700;
    border-radius: 999px; padding: 0.78rem 1.25rem;
}
.btn-primary, .btn-green { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid #d5d8dc; }
.btn-small { padding: 0.45rem 0.8rem; font-size: 0.92rem; }

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section { padding: 3.5rem 0; }
.section.alt { background: #f7f8f9; }
.lead { color: var(--muted); max-width: 46rem; font-size: 1.05rem; }
.grid-3, .grid-2, .grid-4 { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: #fff;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
}
.icon {
    width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green);
    display: grid; place-items: center; margin-bottom: 0.8rem; font-weight: 800;
}
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step::before {
    counter-increment: step; content: counter(step);
    width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
    display: grid; place-items: center; font-weight: 700;
}
.page-hero { padding: 3.2rem 0 1.6rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: var(--muted); max-width: 42rem; }

.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;
}
.topbar {
    background: var(--blue-deep); color: #d7e3ec; font-size: 0.82rem; padding: 0.45rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.apply-hero { padding: 2.4rem 0 3.2rem; }
.apply-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3.2rem;
    align-items: center;
}
.apply-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); max-width: 14ch; }
.apply-hero-copy p { color: var(--muted); max-width: 34rem; font-size: 1.08rem; }
.apply-hero-media img { height: min(460px, 52vw); }
.apply-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.7rem;
}
.apply-stats div {
    background: #f6f8f7;
    border-radius: 18px;
    padding: 0.85rem 0.95rem;
}
.apply-stats strong { display: block; font-size: 1.15rem; letter-spacing: -0.03em; }
.apply-stats span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }

.apply-path { background: #f7f8f9; padding: 1.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apply-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.apply-path article { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.85rem; }
.apply-path span {
    grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%;
    background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; margin-top: 0.15rem;
}
.apply-path h2 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.apply-path p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.apply-board { padding: 2.4rem 0 4.5rem; }
.apply-link-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.4rem;
    align-items: center;
    background: #f6f8f7;
    border-radius: 24px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.4rem;
}
.apply-link-card h2 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.apply-link-card p { margin: 0; color: var(--muted); }
.apply-link-form { display: flex; gap: 0.55rem; }
.apply-link-form input { flex: 1; margin: 0; background: #fff; }
.apply-link-form .btn { flex-shrink: 0; }
.apply-lookup-error { color: var(--danger); font-weight: 600; margin: -0.4rem 0 1.2rem; }
.apply-note {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 46rem;
    margin-bottom: 1.6rem;
}
.apply-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}
.apply-count { margin: 0; font-weight: 700; color: var(--ink); }
.filter-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.filter-row a {
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    color: var(--ink);
    background: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}
.filter-row a:hover { border-color: var(--green); color: var(--green); }
.filter-row a.active { background: var(--green); color: #fff; border-color: var(--green); }

.grant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.grant-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.35rem 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.grant-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: var(--green);
}
.grant-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.grant-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin: 0.2rem 0 0.45rem;
}
.grant-org, .grant-org-name { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.grant-org-name { margin: 0 0 0.25rem; }
.grant-soon {
    background: #fff3e4; color: var(--warn);
    border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.75rem; font-weight: 700;
}
.grant-card h2 { font-size: 1.32rem; margin-bottom: 0.45rem; }
.grant-summary { color: var(--muted); margin-bottom: 1rem; }
.grant-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin: 0 0 1rem;
    padding: 0.85rem 0.9rem;
    background: #f6f8f7;
    border-radius: 16px;
}
.grant-facts dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}
.grant-facts dd { margin: 0.15rem 0 0; font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.grant-eligibility {
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    flex: 1;
}
.grant-card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}
.grant-card-actions .btn { min-width: 8.5rem; }
.grant-card-actions span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.empty-card {
    background: #f6f8f7;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
}
.empty-card .btn { margin-top: 0.4rem; }

.grant-card[data-category="business"]::before { background: #3b7cad; }
.grant-card[data-category="disability"]::before { background: #6b5ea8; }
.grant-card[data-category="social_impact"]::before { background: var(--green); }
.grant-card[data-category="unemployment"]::before { background: #c4842a; }
.grant-card[data-category="healthcare"]::before { background: #b45656; }
.grant-card[data-category="education"]::before { background: #3d7a96; }
.grant-card[data-category="housing"]::before { background: #8a6a4c; }
.grant-card[data-category="business"] .tag { background: #eaf3ff; color: #1e4d6b; }
.grant-card[data-category="disability"] .tag { background: #ece7ff; color: #4b3f8a; }
.grant-card[data-category="social_impact"] .tag { background: #e6f4ef; color: #1c5d4a; }
.grant-card[data-category="unemployment"] .tag { background: #fff3e4; color: #8a5a12; }
.grant-card[data-category="healthcare"] .tag { background: #fdecef; color: #8b2e2e; }
.grant-card[data-category="education"] .tag { background: #e7f3f8; color: #1e4d6b; }
.grant-card[data-category="housing"] .tag { background: #efe8de; color: #5c4633; }

.split-band { padding: 1rem 0 4rem; }
.split-band-copy { max-width: 34rem; }
.split-band-reverse .split-band-grid { grid-template-columns: 1.1fr 0.9fr; }
.home-cats { background: #f7f8f9; padding: 3.5rem 0 4rem; }
.home-cats h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.home-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin: 1.6rem 0 1.4rem;
}
.home-cat {
    background: #fff;
    border-radius: 20px;
    padding: 1.15rem 1.1rem 1.05rem;
    text-decoration: none;
    color: var(--ink);
    border-top: 5px solid var(--green);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.home-cat h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.home-cat p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.home-cat[data-category="business"] { border-top-color: #3b7cad; }
.home-cat[data-category="disability"] { border-top-color: #6b5ea8; }
.home-cat[data-category="social_impact"] { border-top-color: var(--green); }
.home-cat[data-category="unemployment"] { border-top-color: #c4842a; }
.home-cat[data-category="healthcare"] { border-top-color: #b45656; }
.home-cat[data-category="education"] { border-top-color: #3d7a96; }
.home-cat[data-category="housing"] { border-top-color: #8a6a4c; }
.open-cta { text-align: center; padding: 1rem 0 2rem; }
.open-cta .lead { margin-left: auto; margin-right: auto; }

.program-card { display: flex; flex-direction: column; gap: 0.35rem; }
.program-card h2 { font-size: 1.25rem; }
.meta { color: var(--muted); font-size: 0.92rem; }
.tag {
    display: inline-block; background: var(--sky); color: var(--blue);
    border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.78rem; font-weight: 700;
}
.disclaimer {
    background: #fff;
    border-left: 4px solid var(--green);
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    color: var(--blue-deep);
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

form .field { margin-bottom: 1rem; }
label, .label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.help { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 400; margin-top: 0.2rem; }
input, select, textarea {
    width: 100%; border: 1px solid #d3cdc3; border-radius: 14px;
    padding: 0.75rem 0.85rem; font: inherit; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.choices { display: grid; gap: 0.45rem; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; }
.choice input { width: auto; margin-top: 0.35rem; }
.error { color: var(--danger); font-size: 0.88rem; margin-top: 0.25rem; }
.error-summary { background: #fbeaea; border: 1px solid #e3bcbc; color: var(--danger); padding: 0.9rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.flash { background: var(--green-soft); border: 1px solid #b7d8d0; color: var(--ok); padding: 0.9rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.group { margin: 1.6rem 0 2rem; padding-top: 0.4rem; border-top: 1px solid var(--line); }
.ref {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 1.4rem; background: var(--green-soft); color: var(--ok);
    display: inline-block; padding: 0.4rem 0.8rem; border-radius: 10px;
}

.site-footer { background: var(--blue-deep); color: #c5d6e2; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer a { color: #e8eef4; text-decoration: none; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.35rem 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: var(--green);
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.cat-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin: 0.2rem 0 0.7rem;
}
.cat-open { color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.cat-card h2 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.cat-card p { color: var(--muted); flex: 1; margin-bottom: 1.15rem; }
.cat-card-actions { margin-top: auto; }
.cat-card-actions .btn { min-width: 10rem; }

.cat-card[data-category="business"]::before { background: #3b7cad; }
.cat-card[data-category="disability"]::before { background: #6b5ea8; }
.cat-card[data-category="social_impact"]::before { background: var(--green); }
.cat-card[data-category="unemployment"]::before { background: #c4842a; }
.cat-card[data-category="healthcare"]::before { background: #b45656; }
.cat-card[data-category="education"]::before { background: #3d7a96; }
.cat-card[data-category="housing"]::before { background: #8a6a4c; }
.cat-card[data-category="business"] .tag { background: #eaf3ff; color: #1e4d6b; }
.cat-card[data-category="disability"] .tag { background: #ece7ff; color: #4b3f8a; }
.cat-card[data-category="social_impact"] .tag { background: #e6f4ef; color: #1c5d4a; }
.cat-card[data-category="unemployment"] .tag { background: #fff3e4; color: #8a5a12; }
.cat-card[data-category="healthcare"] .tag { background: #fdecef; color: #8b2e2e; }
.cat-card[data-category="education"] .tag { background: #e7f3f8; color: #1e4d6b; }
.cat-card[data-category="housing"] .tag { background: #efe8de; color: #5c4633; }

.about-heading { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 22ch; margin-bottom: 1.4rem; }
.about-criteria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}
.about-criteria article {
    background: #f6f8f7;
    border-radius: 22px;
    padding: 1.2rem 1.15rem 1.15rem;
}
.about-criteria span {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.55rem;
}
.about-criteria h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.about-criteria p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.about-modes { padding: 0 0 3.5rem; }
.about-mode-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }
.about-mode {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.4rem 1.35rem;
}
.about-mode h3 { font-size: 1.2rem; }
.about-mode p { margin: 0; color: var(--muted); }

.about-review { background: #f7f8f9; padding: 3.2rem 0; border-top: 1px solid var(--line); }
.about-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    counter-reset: about-step;
}
.about-timeline li {
    background: #fff;
    border-radius: 22px;
    padding: 1.2rem 1.15rem 1.2rem;
    display: grid;
    gap: 0.35rem;
}
.about-timeline li::before {
    counter-increment: about-step;
    content: counter(about-step);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--blue); color: #fff;
    display: grid; place-items: center;
    font-weight: 700; font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.about-timeline strong { font-size: 1.02rem; letter-spacing: -0.02em; }
.about-timeline span { color: var(--muted); font-size: 0.92rem; }

.apply-mast {
    background: #f7f8f9;
    border-bottom: 1px solid var(--line);
    padding: 2.2rem 0 1.8rem;
}
.apply-mast-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: end;
}
.apply-mast h1 { font-size: clamp(1.9rem, 3.4vw, 2.55rem); max-width: 18ch; }
.apply-mast p { color: var(--muted); max-width: 36rem; margin-bottom: 0; }
.apply-code-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.15rem 1.2rem;
}
.apply-code-panel label { margin-bottom: 0.25rem; }
.apply-code-panel p { font-size: 0.9rem; margin-bottom: 0.75rem; }
.apply-mast + .apply-board { padding-top: 1.8rem; }

.cat-intro { padding: 3.2rem 0 1.6rem; text-align: center; }
.cat-intro-inner { max-width: 40rem; }
.cat-intro h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.cat-intro p { color: var(--muted); }
.cat-intro-meta { font-weight: 700; color: var(--ink) !important; }
.cat-mosaic-wrap { padding: 0 0 4.5rem; }
.cat-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}
.cat-tile {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 1.35rem 1.3rem 1.2rem;
    border-radius: 22px;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile:first-child { grid-column: span 2; min-height: 260px; }
.cat-tile-count { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 0.7rem; }
.cat-tile h2 { font-size: 1.7rem; margin-bottom: 0.45rem; }
.cat-tile p { color: var(--ink); opacity: 0.78; flex: 1; font-size: 0.98rem; }
.cat-tile-go { font-weight: 700; color: var(--green); font-size: 0.92rem; }
.cat-tile[data-category="business"] { background: #dceaf8; }
.cat-tile[data-category="disability"] { background: #e4def8; }
.cat-tile[data-category="social_impact"] { background: #d8eee6; }
.cat-tile[data-category="unemployment"] { background: #f8e6c9; }
.cat-tile[data-category="healthcare"] { background: #f6dce2; }
.cat-tile[data-category="education"] { background: #d5ebf3; }
.cat-tile[data-category="housing"] { background: #eadccf; }

.about-banner {
    position: relative;
    min-height: min(520px, 70vh);
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
}
.about-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 58, 82, 0.2) 0%, rgba(22, 58, 82, 0.78) 100%);
}
.about-banner-copy {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 2.4rem));
    margin: 0 auto;
    padding: 5rem 0 2.6rem;
    max-width: 40rem;
}
.about-banner .kicker { color: #b7e0d5; }
.about-banner h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.about-banner p { color: #e8eef4; font-size: 1.08rem; margin: 0; }
.about-essay-band { padding: 3.4rem 0 2.5rem; }
.about-essay-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
}
.about-essay { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.15rem; }
.about-essay li {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}
.about-essay li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-essay h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.about-essay p { margin: 0; color: var(--muted); }

.org-hero {
    background: var(--blue-deep);
    color: #d5e2ec;
    padding: 3.2rem 0 3.6rem;
}
.org-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: start;
}
.org-hero .kicker { color: #8fd0c2; }
.org-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); max-width: 16ch; }
.org-hero-copy p { color: #c5d6e2; max-width: 34rem; }
.org-hero .btn-primary { margin-top: 0.6rem; }
.org-form-card {
    background: #fff;
    color: var(--ink);
    border-radius: 24px;
    padding: 1.4rem 1.4rem 1.2rem;
}
.org-form-card h2 { font-size: 1.25rem; }
.org-capabilities { padding: 3rem 0 4rem; }
.org-capabilities h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.3rem; }
.org-cap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.4rem;
    padding: 0;
    margin: 0 0 1.6rem;
    list-style: none;
}
.org-cap-grid li {
    padding: 0.95rem 1rem;
    background: #f6f8f7;
    border-radius: 16px;
}

.contact-stage {
    background: #f3f7f5;
    padding: 2.6rem 0 4rem;
}
.contact-stage-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}
.contact-stage h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 14ch; }
.contact-aside > p { color: var(--muted); }
.contact-facts {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}
.contact-facts h2 { font-size: 1.05rem; }
.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem 1.45rem 1.3rem;
    box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.25rem; }

.privacy-doc { padding: 3rem 0 4.5rem; }
.privacy-doc-head {
    width: min(40rem, calc(100% - 2.4rem));
    margin: 0 auto 2rem;
    padding-bottom: 1.4rem;
    border-bottom: 4px solid var(--green);
}
.privacy-doc-head h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.privacy-doc-head p { color: var(--muted); }
.privacy-doc-body {
    width: min(40rem, calc(100% - 2.4rem));
    margin: 0 auto;
}

@media (max-width: 960px) {
    .split-band-grid, .split-band-reverse .split-band-grid, .apply-hero-grid, .apply-path-grid, .apply-mast-grid, .apply-link-card, .grant-grid, .cat-grid, .cat-mosaic, .about-essay-grid, .about-mode-grid, .org-hero-grid, .org-cap-grid, .contact-stage-grid, .grid-3, .grid-2, .grid-4, .footer-grid { grid-template-columns: 1fr; }
    .home-cat-grid { grid-template-columns: 1fr 1fr; }
    .cat-tile:first-child { grid-column: auto; }
    .about-criteria, .about-timeline { grid-template-columns: 1fr 1fr; }
    .grant-facts { grid-template-columns: 1fr 1fr 1fr; }
    .home-feature { padding: 0.7rem 0 1.6rem; }
    .home-feature-stage {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .home-feature-photo { width: 100%; }
    .home-feature-photo img { height: 240px; }
    .home-feature-card {
        width: auto;
        margin: -3.4rem 0.7rem 0;
        padding: 1.6rem 1.3rem 1.35rem;
    }
    .home-feature-card h1 { max-width: none; }
    .home-feature-note { margin-top: 1.4rem; }
    .home-steps { grid-template-columns: 1fr 1fr; }
    .home-steps::before { display: none; }
    .home-hero-media img, .apply-hero-media img { height: 280px; }
    .apply-hero h1 { max-width: none; }
    .menu-toggle { display: block; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; padding: 0.7rem 1.2rem 1.1rem;
        gap: 0.45rem;
        box-shadow: 0 16px 32px rgba(22, 58, 82, 0.08);
    }
    .nav.open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0.15rem; }
    .nav-links a { padding: 0.7rem 0.7rem; }
    .nav-links a.active { background: var(--green-soft); }
    .nav-links a.active::after { display: none; }
    .nav-cta { text-align: center; margin: 0.35rem 0 0; box-shadow: none; }
    .nav-cta::before { display: none; }
    .header-row { position: static; }
    .brand-tag { display: none; }
}
@media (max-width: 640px) {
    .grant-facts, .apply-stats, .about-criteria, .about-timeline, .home-cat-grid, .home-steps { grid-template-columns: 1fr; }
    .apply-link-form { flex-direction: column; }
}
