/* ==========================================================================
   Hearing Research & Support Foundation Inc.
   Main stylesheet — palette drawn from the Foundation's official logo
   (deep navy #17456e / teal #1f9e96) 
   ========================================================================== */

:root {
    --navy: #17456e;
    --navy-dark: #0f3252;
    --navy-deep: #0a2740;
    --teal: #1f9e96;
    --teal-dark: #157f78;
    --teal-light: #e3f4f2;
    --teal-pale: #f2faf9;
    --ink: #24384d;
    --slate: #51637a;
    --mist: #eef3f7;
    --line: #dce5ec;
    --white: #ffffff;
    --gold: #e8a33d;
    --gold-dark: #c9862a;
    --radius: 10px;
    --shadow-sm: 0 2px 8px rgba(15, 50, 82, 0.08);
    --shadow-md: 0 8px 28px rgba(15, 50, 82, 0.12);
    --font-head: 'Libre Franklin', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.075rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */
#utility-bar {
    background: var(--navy-deep);
    color: #c6d6e4;
    font-size: 0.85rem;
    padding: 0.45rem 0;
}
#utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
#utility-bar a { color: #c6d6e4; }
#utility-bar a:hover { color: var(--white); }
#utility-bar .utility-contacts {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}
#utility-bar i { color: var(--teal); margin-right: 0.4rem; }
.utility-abn { letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
#site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(15, 50, 82, 0.03);
    transition: box-shadow 0.25s;
}
#site-header.scrolled { box-shadow: var(--shadow-sm); }

#site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.65rem 0;
}

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand img { height: 62px; width: auto; }

#primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
#primary-nav a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: 6px;
}
#primary-nav a:hover { color: var(--teal-dark); background: var(--teal-pale); }
#primary-nav a.active { color: var(--teal-dark); }
#primary-nav a.nav-donate {
    background: var(--gold);
    color: var(--navy-deep);
    margin-left: 0.6rem;
    padding: 0.55rem 1.25rem;
    border-radius: 40px;
}
#primary-nav a.nav-donate:hover { background: var(--gold-dark); color: var(--white); }

#nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
    padding: 0.4rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.9rem;
    border-radius: 40px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
#hero-section { position: relative; color: var(--white); overflow: hidden; }
#hero-section .hero-media {
    position: absolute;
    inset: 0;
}
#hero-section .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
#hero-section .hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 39, 64, 0.88) 0%, rgba(15, 60, 92, 0.72) 45%, rgba(21, 84, 108, 0.28) 100%);
}
#hero-section .hero-inner {
    position: relative;
    z-index: 2;
    padding: 7.5rem 0 8.5rem;
    max-width: 640px;
}
.hero-kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9fe0da;
    border: 1px solid rgba(159, 224, 218, 0.45);
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 1.4rem;
}
#hero-section h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4.6vw, 3.35rem);
    margin-bottom: 1.2rem;
}
#hero-section h1 em { font-style: normal; color: #6fd0c8; }
#hero-section p {
    font-size: 1.18rem;
    color: #dbe7f0;
    margin-bottom: 2.2rem;
    max-width: 34em;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Impact strip
   -------------------------------------------------------------------------- */
#impact-strip {
    background: var(--navy);
    color: var(--white);
    padding: 2.4rem 0;
}
#impact-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.impact-figure .figure-number {
    font-family: var(--font-head);
    font-size: 2.35rem;
    font-weight: 800;
    color: #6fd0c8;
    line-height: 1.1;
}
.impact-figure .figure-label {
    font-size: 0.93rem;
    color: #b9cddd;
    margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--mist); }
.section-teal { background: var(--teal-pale); }

.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 0.7rem;
}
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 0.9rem; }
.section-heading p { color: var(--slate); font-size: 1.1rem; }

/* Split layout */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.split-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 1rem; }
.split-copy p { color: var(--slate); margin-bottom: 1.1rem; }
.split-copy .btn { margin-top: 0.8rem; }

.split-top { align-items: start; }
.contact-split { grid-template-columns: 1.15fr 1fr; }

/* Checklist */
.checklist { list-style: none; margin: 1.2rem 0 1.5rem; }
.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}
.checklist li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--teal);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.card-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.info-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.1rem 1.9rem;
    transition: transform 0.25s, box-shadow 0.25s;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card .card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--teal-light);
    color: var(--teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.3rem;
}
.info-card h3 { font-size: 1.18rem; margin-bottom: 0.7rem; }
.info-card p { color: var(--slate); font-size: 0.99rem; }
.info-card .card-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
}
.info-card .card-link i { font-size: 0.8rem; margin-left: 0.3rem; transition: margin 0.2s; }
.info-card .card-link:hover i { margin-left: 0.55rem; }

/* Photo cards */
.photo-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.photo-card img { height: 215px; width: 100%; object-fit: cover; }
.photo-card .photo-card-body { padding: 1.7rem 1.6rem 1.9rem; flex: 1; }
.photo-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.photo-card p { color: var(--slate); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Mission / vision panels
   -------------------------------------------------------------------------- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.mv-panel {
    border-radius: var(--radius);
    padding: 2.6rem 2.4rem;
    color: var(--white);
}
.mv-panel.mission { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.mv-panel.vision { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.mv-panel .mv-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.3rem;
}
.mv-panel h3 { color: var(--white); font-size: 1.45rem; margin-bottom: 0.9rem; }
.mv-panel p { color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; }

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.value-item {
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.value-item i { font-size: 1.6rem; color: var(--teal); margin-bottom: 0.8rem; }
.value-item h4 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.value-item p { font-size: 0.88rem; color: var(--slate); }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin: 1rem 0 0 1rem; padding-left: 2.2rem; border-left: 2px solid var(--line); }
.timeline-entry { position: relative; padding-bottom: 2.2rem; }
.timeline-entry:last-child { padding-bottom: 0; }
.timeline-entry::before {
    content: '';
    position: absolute;
    left: -2.81rem;
    top: 0.4rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--teal);
}
.timeline-entry .timeline-year {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--teal-dark);
    font-size: 1.05rem;
}
.timeline-entry h4 { margin: 0.15rem 0 0.35rem; font-size: 1.1rem; }
.timeline-entry p { color: var(--slate); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   Board / team
   -------------------------------------------------------------------------- */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.board-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    text-align: center;
}
.board-card .board-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    margin: 0 auto 1.1rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.board-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.board-card .board-role {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal-dark);
    margin-bottom: 0.8rem;
}
.board-card p { font-size: 0.94rem; color: var(--slate); margin-bottom: 1rem; }
.board-card .board-email {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--mist);
    padding: 0.45rem 0.7rem;
    border-radius: 30px;
    white-space: nowrap;
    max-width: 100%;
}
.board-card .board-email:hover { background: var(--teal-light); color: var(--teal-dark); }

/* --------------------------------------------------------------------------
   Quote / banner
   -------------------------------------------------------------------------- */
#quote-banner {
    background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, #135a70 100%);
    color: var(--white);
    padding: 4.5rem 0;
    text-align: center;
}
#quote-banner blockquote {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 600;
    line-height: 1.5;
    max-width: 850px;
    margin: 0 auto 1.2rem;
}
#quote-banner cite { color: #8fd8d1; font-style: normal; font-size: 0.98rem; }

/* CTA band */
.cta-band {
    background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
}
.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 36em; }
.cta-band .cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.cta-band .btn-outline:hover { color: var(--teal-dark); }

/* --------------------------------------------------------------------------
   Page banner (inner pages)
   -------------------------------------------------------------------------- */
#page-banner {
    background:
        linear-gradient(100deg, rgba(10, 39, 64, 0.93) 0%, rgba(23, 69, 110, 0.85) 55%, rgba(31, 158, 150, 0.55) 100%),
        var(--navy);
    color: var(--white);
    padding: 4.2rem 0 4.6rem;
    position: relative;
    overflow: hidden;
}
#page-banner.has-photo { background: var(--navy); }
#page-banner .banner-photo {
    position: absolute;
    inset: 0;
}
#page-banner .banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}
#page-banner .banner-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 39, 64, 0.92) 0%, rgba(23, 69, 110, 0.82) 55%, rgba(31, 158, 150, 0.45) 100%);
}
#page-banner .container { position: relative; z-index: 2; }
#page-banner .breadcrumb {
    font-size: 0.85rem;
    color: #9cc3d8;
    margin-bottom: 0.9rem;
}
#page-banner .breadcrumb a { color: #9cc3d8; }
#page-banner .breadcrumb a:hover { color: var(--white); }
#page-banner h1 { color: var(--white); font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 0.7rem; }
#page-banner .banner-lead { color: #d5e3ee; font-size: 1.13rem; max-width: 44em; }

/* --------------------------------------------------------------------------
   Grants page specifics
   -------------------------------------------------------------------------- */
.grant-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.grant-pillar {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--teal);
    border-radius: var(--radius);
    padding: 2rem 1.9rem;
}
.grant-pillar h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.grant-pillar h3 i { color: var(--teal-dark); margin-right: 0.6rem; }
.grant-pillar p { color: var(--slate); font-size: 0.99rem; }

.digital-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.digital-list li {
    display: flex;
    gap: 1.1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    align-items: flex-start;
}
.digital-list li i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--teal-light);
    color: var(--teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-top: 0.15rem;
}
.digital-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.02rem; }
.digital-list span { color: var(--slate); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Facts / registration box
   -------------------------------------------------------------------------- */
.facts-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.facts-table th, .facts-table td { padding: 0.95rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.99rem; }
.facts-table th { font-family: var(--font-head); color: var(--navy); font-weight: 600; width: 42%; background: var(--teal-pale); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }

.registered-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: #fbfdfe;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(31, 158, 150, 0.15);
}
.form-note { font-size: 0.87rem; color: var(--slate); margin-top: 0.9rem; }
#form-status { margin-top: 1rem; font-weight: 600; display: none; padding: 0.9rem 1.1rem; border-radius: 8px; font-size: 0.97rem; }
#form-status.success { display: block; background: var(--teal-light); color: var(--teal-dark); }
#form-status.error { display: block; background: #fdecec; color: #b03a3a; }

/* Contact info cards */
.contact-channels { display: grid; gap: 1.2rem; }
.contact-channel {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
}
.contact-channel i {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.contact-channel h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.contact-channel p, .contact-channel a { font-size: 0.98rem; color: var(--slate); }
.contact-channel a { font-weight: 600; color: var(--teal-dark); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#site-footer { background: var(--navy-deep); color: #b7c8d8; }
.footer-main { padding: 4rem 0 2.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 2.8rem;
}
.footer-brand img { height: 58px; background: var(--white); padding: 6px 10px; border-radius: 8px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.93rem; line-height: 1.65; }
#site-footer h4 {
    color: var(--white);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
#site-footer ul { list-style: none; }
#site-footer li { margin-bottom: 0.55rem; font-size: 0.95rem; }
#site-footer a { color: #b7c8d8; }
#site-footer a:hover { color: #6fd0c8; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: baseline; }
.footer-contact i { color: var(--teal); width: 16px; }
.footer-acnc {
    margin-top: 1.4rem;
    font-size: 0.84rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    line-height: 1.55;
}
.footer-acnc i { color: var(--teal); margin-right: 0.4rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.3rem 0;
    font-size: 0.85rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) and (min-width: 821px) {
    #primary-nav a { padding: 0.55rem 0.55rem; font-size: 0.85rem; }
    #primary-nav a.nav-donate { padding: 0.55rem 0.95rem; margin-left: 0.35rem; }
    .brand img { height: 54px; }
}

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .board-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split { gap: 2.5rem; }
}

@media (max-width: 820px) {
    #utility-bar .utility-abn { display: none; }

    #nav-toggle { display: block; }
    #primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        display: none;
    }
    #primary-nav.open { display: block; }
    #primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 0; }
    #primary-nav a { padding: 0.85rem 1.6rem; border-radius: 0; }
    #primary-nav a.nav-donate { margin: 0.6rem 1.6rem 0.4rem; border-radius: 40px; text-align: center; }

    .split, .contact-split { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .mv-grid { grid-template-columns: 1fr; }
    .grant-pillars { grid-template-columns: 1fr; }
    .card-grid.two-col { grid-template-columns: 1fr; }
    #impact-strip .container { grid-template-columns: repeat(2, 1fr); }
    #hero-section .hero-inner { padding: 5rem 0 6rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .card-grid { grid-template-columns: 1fr; }
    .board-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 3.4rem 0; }
    .brand img { height: 52px; }
}
