/*
Theme Name: CUDO Community Theme
Theme URI: https://www.cudo.capetown
Author: CUDO
Author URI: https://www.cudo.capetown
Description: Community Upliftment and Development Organisation — a visual showcase theme reflecting CUDO's outreach work across South Africa.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: cudo
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --orange:       #E8671A;
    --orange-light: #F2884A;
    --orange-dark:  #C45510;
    --grey-dark:    #3A3A3A;
    --grey-mid:     #6B6B6B;
    --grey-light:   #F2F2F0;
    --grey-border:  #E0E0DC;
    --white:        #FFFFFF;
    --text-main:    #2A2A2A;
    --text-muted:   #6B6B6B;
    --font:         'Inter', 'Segoe UI', Arial, sans-serif;
    --radius:       10px;
    --radius-lg:    14px;
    --shadow:       0 2px 12px rgba(0,0,0,0.08);
    --transition:   0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.3; color: var(--text-main); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.section { padding: 64px 0; }
.section--grey { background: var(--grey-light); }
.section--dark { background: var(--grey-dark); }
.section--orange { background: var(--orange); }
.eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 8px;
}
.section-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.3;
}
.section-title--white { color: var(--white); }
.section-body { font-size: 15px; color: var(--text-muted); line-height: 1.8; max-width: 640px; }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn--white { background: var(--white); color: var(--orange); }
.btn--white:hover { background: var(--grey-light); color: var(--orange-dark); }
.btn--outline-orange { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); }
.btn--outline-orange:hover { background: var(--orange); color: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    background: var(--grey-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}
.logo-text-main {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.06em;
    display: block;
    line-height: 1.1;
}
.logo-text-sub {
    font-size: 9px;
    color: #9A9A9A;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-menu a {
    font-size: 13px;
    color: #C8C8C8;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all var(--transition);
    display: block;
}
.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    border-radius: 22px;
    padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--grey-dark);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero::before {
    width: 480px; height: 480px;
    border: 56px solid rgba(232,103,26,0.07);
    right: -120px; top: -120px;
}
.hero::after {
    width: 260px; height: 260px;
    border: 32px solid rgba(232,103,26,0.06);
    right: 60px; top: 60px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(232,103,26,0.15);
    color: var(--orange);
    font-size: 12px;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(232,103,26,0.3);
    margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    max-width: 660px;
    margin-bottom: 20px;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub {
    font-size: 16px;
    color: #A8A8A8;
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip { background: var(--orange); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 22px 28px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    display: block;
}
.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-top: 3px;
}

/* ============================================================
   ABOUT / MISSION
   ============================================================ */
.mission-block {
    background: var(--grey-dark);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-top: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.mission-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232,103,26,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}
.mission-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
    font-style: italic;
}
.mission-text em { color: var(--orange); font-style: normal; }

/* ============================================================
   PROGRAMME CARDS
   ============================================================ */
.prog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.prog-card--wide { grid-column: span 2; }
.prog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--grey-border);
    background: var(--white);
    transition: box-shadow var(--transition);
}
.prog-card:hover { box-shadow: var(--shadow); }
.prog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    min-height: 96px;
}
.prog-head--youth    { background: #3A3A3A; }
.prog-head--build    { background: #4A4040; }
.prog-head--medical  { background: #3A4040; }
.prog-head--animal   { background: #404040; }
.prog-head--training { background: #444038; }
.prog-head-title { font-size: 17px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.prog-head-sub { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.prog-head-icon { font-size: 40px; opacity: 0.18; color: var(--white); }
.prog-body { padding: 22px 26px; }
.prog-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.prog-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prog-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.prog-bullets li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
    margin-top: 5px;
}
.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.t-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--grey-light);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 12px 16px;
}
.t-icon {
    width: 32px;
    height: 32px;
    background: rgba(232,103,26,0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    font-size: 16px;
}
.t-label { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   OUTREACH HISTORY
   ============================================================ */
.outreach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.outreach-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.outreach-year { font-size: 24px; font-weight: 600; color: var(--orange); margin-bottom: 4px; }
.outreach-place { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.outreach-detail { font-size: 13px; color: #8A8A8A; line-height: 1.6; }
.outreach-timeline {
    margin-top: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 28px 32px;
}
.outreach-timeline p { font-size: 14px; color: #A0A0A0; line-height: 1.9; }
.outreach-timeline strong { color: var(--orange); font-weight: 500; }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.how-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.how-num {
    font-size: 40px;
    font-weight: 600;
    color: var(--orange);
    opacity: 0.28;
    line-height: 1;
    margin-bottom: 14px;
}
.how-title { font-size: 15px; font-weight: 500; color: var(--text-main); margin-bottom: 10px; }
.how-body { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.partner-pill {
    padding: 9px 22px;
    border-radius: 22px;
    border: 1px solid var(--grey-border);
    font-size: 14px;
    color: var(--text-muted);
    background: var(--white);
    transition: border-color var(--transition);
}
.partner-pill:hover { border-color: var(--orange); color: var(--orange); }
.npo-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(232,103,26,0.1);
    color: var(--orange);
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(232,103,26,0.25);
    margin-top: 18px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--orange); padding: 52px 0; }
.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-text h3 { font-size: 24px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.cta-text p { font-size: 15px; color: rgba(255,255,255,0.82); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ============================================================
   PHOTO GALLERY (homepage)
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--grey-light);
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(30,30,30,0.82));
    color: var(--white);
    padding: 24px 16px 14px;
    font-size: 13px;
    font-weight: 500;
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
    background: var(--grey-dark);
    padding: 52px 0;
}
.page-hero h1 { font-size: 34px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: #A0A0A0; max-width: 560px; margin: 0; }
.breadcrumb { font-size: 12px; color: #6A6A6A; margin-bottom: 14px; }
.breadcrumb a { color: var(--orange); }
.breadcrumb span { color: #6A6A6A; margin: 0 6px; }

/* ============================================================
   CONTENT PAGES (Constitution, Gods Business etc.)
   ============================================================ */
.content-wrap { max-width: 820px; }
.content-wrap h2 { font-size: 22px; font-weight: 500; color: var(--text-main); margin: 32px 0 12px; }
.content-wrap h3 { font-size: 18px; font-weight: 500; margin: 24px 0 10px; }
.content-wrap p, .content-wrap li { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.content-wrap ul, .content-wrap ol { padding-left: 24px; margin-bottom: 16px; }
.content-wrap li { margin-bottom: 6px; }
.content-wrap strong { color: var(--text-main); font-weight: 500; }
.content-wrap blockquote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--grey-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}
.bank-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.bank-table td {
    padding: 12px 16px;
    border: 1px solid var(--grey-border);
    font-size: 14px;
}
.bank-table td:first-child { font-weight: 500; color: var(--text-main); background: var(--grey-light); width: 36%; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-card {
    background: var(--grey-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--grey-border);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(232,103,26,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    font-size: 17px;
}
.contact-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.contact-value { font-size: 15px; color: var(--text-main); font-weight: 500; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; color: var(--text-main); margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    color: var(--text-main);
    background: var(--white);
    transition: border-color var(--transition);
    margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--orange); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #2A2A2A; }
.footer-main { padding: 52px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .f-logo { font-size: 20px; font-weight: 600; color: var(--orange); margin-bottom: 4px; }
.footer-brand .f-fullname { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-brand .f-tagline { font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 18px; }
.footer-brand .f-npo { font-size: 12px; color: #555; }
.footer-col-title { font-size: 11px; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: #909090; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 12px; color: #555; margin: 0; }
.footer-bottom a { color: var(--orange); font-size: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--grey-dark);
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .prog-grid { grid-template-columns: 1fr; }
    .prog-card--wide { grid-column: span 1; }
    .how-grid { grid-template-columns: 1fr 1fr; }
    .outreach-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .training-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .section { padding: 44px 0; }
    .hero { padding: 56px 0 52px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 16px 20px; }
    .how-grid { grid-template-columns: 1fr; }
    .outreach-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
}

/* ============================================================
   MODERN VISUAL REFRESH
   ============================================================ */
:root {
    --orange: #E96F2C;
    --orange-light: #F7A165;
    --orange-dark: #B94E18;
    --grey-dark: #202523;
    --grey-mid: #68706D;
    --grey-light: #F5F2EC;
    --grey-border: #E4DED2;
    --ink: #171B19;
    --sage: #6D806F;
    --sage-dark: #2F4237;
    --paper: #FFFCF6;
    --white: #FFFFFF;
    --text-main: #1E2421;
    --text-muted: #67706B;
    --radius: 8px;
    --radius-lg: 8px;
    --shadow: 0 18px 50px rgba(32, 37, 35, 0.12);
    --shadow-soft: 0 10px 30px rgba(32, 37, 35, 0.08);
    --transition: 180ms ease;
}

body {
    background: var(--paper);
    color: var(--text-main);
    font-feature-settings: "kern";
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1180px;
}

.section {
    padding: 84px 0;
}

.section--grey {
    background: #F1EEE7;
}

.section--dark {
    background:
        linear-gradient(135deg, rgba(47, 66, 55, 0.98), rgba(25, 30, 28, 0.98)),
        var(--grey-dark);
}

.section-title {
    max-width: 760px;
    font-size: 34px;
    font-weight: 650;
    letter-spacing: 0;
}

.section-body {
    font-size: 16px;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--orange-dark);
    background: rgba(233, 111, 44, 0.1);
    border: 1px solid rgba(233, 111, 44, 0.18);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 14px;
}

.btn {
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 650;
    box-shadow: none;
}

.btn--orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(233, 111, 44, 0.28);
}

.btn--orange:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn--white {
    color: var(--sage-dark);
    box-shadow: 0 12px 24px rgba(32, 37, 35, 0.12);
}

.site-header {
    background: rgba(32, 37, 35, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.nav-inner {
    height: 74px;
}

.logo-badge {
    width: 46px;
    height: 46px;
    background: var(--paper);
    color: var(--orange-dark);
    box-shadow: inset 0 0 0 2px rgba(233, 111, 44, 0.3);
}

.logo-text-main {
    font-size: 20px;
    font-weight: 750;
}

.logo-text-sub {
    color: rgba(255, 255, 255, 0.58);
}

.nav-menu {
    gap: 2px;
}

.nav-menu a {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    padding: 9px 14px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu li:last-child a {
    background: var(--orange);
    color: var(--white);
    padding-inline: 18px;
    box-shadow: 0 10px 22px rgba(233, 111, 44, 0.25);
}

.hero {
    background:
        linear-gradient(135deg, rgba(32, 37, 35, 0.98), rgba(47, 66, 55, 0.94)),
        var(--grey-dark);
    padding: 92px 0 84px;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 54px;
    align-items: center;
}

.hero-copy {
    max-width: 660px;
}

.hero-tag {
    border-color: rgba(247, 161, 101, 0.24);
    background: rgba(247, 161, 101, 0.12);
    color: #F7B27D;
    margin-bottom: 24px;
}

.hero h1 {
    max-width: 720px;
    font-size: 52px;
    font-weight: 720;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1 em {
    color: #F7B27D;
}

.hero-sub {
    max-width: 600px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-media {
    position: relative;
    min-height: 500px;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
    background: #151917;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.72));
}

.hero-photo figcaption {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 14px;
    color: var(--white);
    font-size: 13px;
    font-weight: 650;
}

.hero-photo--large {
    left: 0;
    top: 58px;
    width: 72%;
    height: 390px;
}

.hero-photo--small {
    right: 0;
    width: 42%;
    height: 210px;
    border: 8px solid rgba(255, 252, 246, 0.08);
}

.hero-photo--top {
    top: 0;
}

.hero-photo--bottom {
    bottom: 0;
}

.stats-strip {
    background: var(--paper);
    margin-top: -38px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    overflow: hidden;
    border: 1px solid rgba(228, 222, 210, 0.9);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.stat-item {
    border-right-color: var(--grey-border);
    padding: 26px 30px;
}

.stat-num {
    color: var(--sage-dark);
    font-size: 30px;
    font-weight: 760;
}

.stat-label {
    color: var(--text-muted);
    font-size: 13px;
}

.mission-block {
    background: var(--sage-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.mission-icon {
    background: rgba(247, 161, 101, 0.16);
}

.prog-grid,
.how-grid,
.outreach-grid,
.gallery-grid {
    gap: 22px;
}

.prog-card,
.how-card,
.contact-card {
    border-color: rgba(228, 222, 210, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.prog-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.prog-card:hover,
.how-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.prog-head {
    min-height: 112px;
    background: var(--sage-dark);
}

.prog-head--youth,
.prog-head--build,
.prog-head--medical,
.prog-head--animal,
.prog-head--training {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        var(--sage-dark);
}

.prog-head-title {
    font-size: 19px;
    font-weight: 680;
}

.prog-head-sub {
    color: rgba(255, 255, 255, 0.62);
}

.prog-body {
    padding: 28px;
}

.prog-desc,
.how-body {
    font-size: 14px;
}

.t-item {
    background: rgba(245, 242, 236, 0.82);
}

.outreach-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.outreach-place {
    font-weight: 680;
}

.outreach-detail {
    color: rgba(255, 255, 255, 0.64);
}

.how-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.how-num {
    font-size: 46px;
    color: var(--sage);
}

.how-title {
    font-size: 17px;
    font-weight: 680;
}

.gallery-grid {
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
}

.gallery-item {
    min-height: 310px;
    box-shadow: var(--shadow-soft);
}

.gallery-item:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-caption {
    padding: 42px 22px 18px;
    font-size: 15px;
}

.partners-row {
    gap: 10px;
}

.partner-pill,
.npo-tag {
    border-radius: 999px;
}

.partner-pill {
    background: rgba(255, 255, 255, 0.78);
}

.cta-band {
    background:
        linear-gradient(135deg, var(--orange), var(--orange-dark));
    padding: 62px 0;
}

.cta-inner {
    align-items: center;
}

.cta-text h3 {
    font-size: 30px;
    font-weight: 720;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(32, 37, 35, 0.98), rgba(47, 66, 55, 0.94)),
        var(--grey-dark);
    padding: 66px 0;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 720;
    letter-spacing: 0;
}

.content-wrap {
    max-width: 860px;
}

.content-wrap h2 {
    font-size: 28px;
    font-weight: 700;
}

.content-wrap blockquote {
    background: #F1EEE7;
    border-left-color: var(--orange);
}

.contact-card,
.contact-form {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    padding: 13px 14px;
}

.site-footer {
    background: #171B19;
}

.footer-main {
    padding-top: 64px;
}

.footer-brand .f-logo {
    font-size: 24px;
}

.footer-brand .f-fullname,
.footer-brand .f-tagline,
.footer-brand .f-npo,
.footer-col-title,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.52);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 430px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .nav-menu.is-open {
        top: 74px;
        background: rgba(32, 37, 35, 0.98);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:first-child {
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 22px;
    }

    .section {
        padding: 58px 0;
    }

    .hero {
        padding: 58px 0 74px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-media {
        min-height: 620px;
    }

    .hero-photo,
    .hero-photo--large,
    .hero-photo--small {
        position: relative;
        inset: auto;
        width: 100%;
        height: 190px;
        margin-bottom: 14px;
        border: 0;
    }

    .stats-strip {
        margin-top: -32px;
    }

    .stats-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--grey-border);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .section-title {
        font-size: 28px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .contact-card,
    .contact-form {
        padding: 24px;
    }
}

/* ============================================================
   GALLERY OVERLAP FIX
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gallery-item,
.gallery-item:first-child {
    grid-row: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CONSTITUTION PAGE
   ============================================================ */
.constitution-page {
    background:
        linear-gradient(180deg, #FAF9F5 0%, #FFFFFF 42%, #FAF9F5 100%);
}

.constitution-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
}

.constitution-intro h2 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 0;
}

.constitution-intro p:not(.eyebrow) {
    max-width: 720px;
    color: var(--text-muted);
    font-size: 17px;
}

.constitution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.constitution-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.constitution-summary-card {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-top: 4px solid var(--orange);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.summary-kicker,
.side-label {
    display: block;
    margin-bottom: 8px;
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.constitution-summary-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 20px;
}

.constitution-summary-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.constitution-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.constitution-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
}

.constitution-side-card {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.constitution-side-card--gold {
    background: #F6E8C9;
    border-color: rgba(217, 154, 39, 0.28);
}

.constitution-side-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.constitution-side-card li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
}

.constitution-side-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.constitution-side-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 18px;
}

.constitution-side-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.constitution-document {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 44px;
    box-shadow: var(--shadow);
}

.constitution-document > strong:first-child {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--orange-dark);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.constitution-document strong {
    color: var(--ink);
    font-weight: 750;
}

.constitution-document p,
.constitution-document li,
.constitution-document {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.82;
}

.constitution-document ul,
.constitution-document ol {
    margin: 18px 0 22px;
    padding-left: 24px;
}

.constitution-document li {
    margin-bottom: 8px;
}

.constitution-document ul li::marker {
    color: var(--orange);
}

.constitution-document ol li::marker {
    color: var(--orange-dark);
    font-weight: 750;
}

.constitution-document u {
    text-decoration-color: rgba(217, 154, 39, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

@media (max-width: 960px) {
    .constitution-intro {
        grid-template-columns: 1fr;
    }

    .constitution-actions {
        justify-content: flex-start;
    }

    .constitution-layout {
        grid-template-columns: 1fr;
    }

    .constitution-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .constitution-intro h2 {
        font-size: 32px;
    }

    .constitution-summary-grid,
    .constitution-sidebar {
        grid-template-columns: 1fr;
    }

    .constitution-actions,
    .constitution-actions .btn {
        width: 100%;
    }

    .constitution-document {
        padding: 26px;
    }
}

/* ============================================================
   GOD'S BUSINESS PAGE
   ============================================================ */
.gb-topper {
    padding: 72px 0 34px;
    background:
        linear-gradient(180deg, #FAF9F5 0%, #FFFFFF 100%);
}

.gb-topper-inner {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.gb-topper-image {
    padding: 28px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    box-shadow: var(--shadow);
}

.gb-topper-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.gb-topper-copy h2 {
    max-width: 760px;
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 0;
}

.gb-topper-copy p:not(.eyebrow) {
    max-width: 690px;
    color: var(--text-muted);
    font-size: 17px;
}

.gb-page {
    padding-top: 34px;
    background:
        linear-gradient(180deg, #FFFFFF 0%, #FAF9F5 100%);
}

.gb-content-card {
    max-width: 920px;
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 42px;
    box-shadow: var(--shadow);
}

.gb-content-card h2 {
    color: var(--ink);
    font-size: 32px;
    line-height: 1.18;
}

.gb-content-card p,
.gb-content-card li {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.82;
}

.gb-content-card blockquote {
    background: #F6E8C9;
    border-left-color: var(--orange);
}

@media (max-width: 800px) {
    .gb-topper-inner {
        grid-template-columns: 1fr;
    }

    .gb-topper-image {
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .gb-topper {
        padding: 54px 0 24px;
    }

    .gb-topper-copy h2 {
        font-size: 32px;
    }

    .gb-content-card {
        padding: 26px;
    }
}

/* ============================================================
   TRAINING PAGE
   ============================================================ */
.training-page {
    background:
        linear-gradient(180deg, #FAF9F5 0%, #FFFFFF 44%, #F3F1EA 100%);
}

.training-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: stretch;
    margin-bottom: 28px;
}

.training-intro h2,
.training-courses-header h2,
.training-story h2 {
    max-width: 780px;
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 0;
}

.training-intro p:not(.eyebrow) {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 17px;
}

.training-feature-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 28px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(37, 37, 35, 0.94), rgba(77, 76, 73, 0.92)),
        var(--grey-dark);
    color: #FFFFFF;
    box-shadow: var(--shadow);
}

.feature-number {
    display: block;
    color: var(--orange-light);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.feature-label {
    display: block;
    margin: 6px 0 16px;
    font-size: 17px;
    font-weight: 750;
}

.training-feature-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.65;
}

.training-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 70px;
}

.process-step {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.process-step span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--orange);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.process-step strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 18px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.training-courses-header {
    margin-bottom: 24px;
}

.training-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.training-course-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform var(--transition), box-shadow var(--transition);
}

.training-course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.training-course-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #F6E8C9;
    color: var(--orange-dark);
    font-size: 22px;
}

.training-course-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 21px;
    font-weight: 750;
}

.training-course-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.training-story {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 28px;
    align-items: center;
    margin-top: 44px;
    padding: 34px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-left: 4px solid var(--orange);
    box-shadow: var(--shadow-soft);
}

.training-story blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 650;
    line-height: 1.45;
}

@media (max-width: 960px) {
    .training-intro,
    .training-story {
        grid-template-columns: 1fr;
    }

    .training-process,
    .training-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .training-intro h2,
    .training-courses-header h2,
    .training-story h2 {
        font-size: 32px;
    }

    .training-process,
    .training-course-grid {
        grid-template-columns: 1fr;
    }

    .training-feature-card {
        min-height: 220px;
    }

    .training-story {
        padding: 24px;
    }

    .training-story blockquote {
        font-size: 20px;
    }
}

/* ============================================================
   DEFAULT BASIC PAGE TEMPLATE
   ============================================================ */
.basic-page {
    background:
        linear-gradient(180deg, #FAF9F5 0%, #FFFFFF 46%, #FAF9F5 100%);
}

.basic-page-intro {
    max-width: 760px;
    margin-bottom: 30px;
}

.basic-page-intro h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 0;
}

.basic-page-intro p:not(.eyebrow) {
    color: var(--text-muted);
    font-size: 17px;
}

.basic-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.basic-page-document {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 42px;
    box-shadow: var(--shadow);
}

.basic-page-document .content-wrap {
    max-width: none;
}

.basic-page-document h2,
.basic-page-document h3,
.basic-page-document h4 {
    color: var(--ink);
    letter-spacing: 0;
}

.basic-page-document h2 {
    margin-top: 0;
    font-size: 32px;
    line-height: 1.18;
}

.basic-page-document h3 {
    font-size: 23px;
}

.basic-page-document p,
.basic-page-document li {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.82;
}

.basic-page-document ul,
.basic-page-document ol {
    margin: 18px 0 24px;
    padding-left: 24px;
}

.basic-page-document li {
    margin-bottom: 8px;
}

.basic-page-document li::marker {
    color: var(--orange);
}

.basic-page-document strong {
    color: var(--ink);
    font-weight: 750;
}

.basic-page-document blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--orange);
    border-radius: 0 8px 8px 0;
    background: #F6E8C9;
    color: var(--ink);
}

.basic-page-document img {
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.basic-page-empty h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 28px;
}

.basic-page-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.basic-page-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
}

.basic-page-side-card {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.basic-page-side-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.basic-page-side-card li a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
}

.basic-page-side-card li a::after {
    content: "\2192";
    color: var(--orange);
}

.basic-page-side-card--dark {
    background:
        linear-gradient(135deg, rgba(37, 37, 35, 0.96), rgba(77, 76, 73, 0.94)),
        var(--grey-dark);
    color: #FFFFFF;
}

.basic-page-side-card--dark .side-label {
    color: var(--orange-light);
}

.basic-page-side-card--dark strong {
    display: block;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-size: 20px;
}

.basic-page-side-card--dark p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .basic-page-layout {
        grid-template-columns: 1fr;
    }

    .basic-page-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .basic-page-intro h2 {
        font-size: 32px;
    }

    .basic-page-document {
        padding: 26px;
    }

    .basic-page-sidebar {
        grid-template-columns: 1fr;
    }

    .basic-page-empty-actions,
    .basic-page-empty-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   LOGO-ALIGNED COLOUR REFINEMENT
   ============================================================ */
:root {
    --orange: #D99A27;
    --orange-light: #F0B84D;
    --orange-dark: #B87916;
    --grey-dark: #3E3E3C;
    --grey-mid: #666663;
    --grey-light: #F6F5F2;
    --grey-border: #DDD9CF;
    --ink: #242423;
    --sage: #73716C;
    --sage-dark: #4D4C49;
    --paper: #FFFFFF;
    --text-main: #272725;
    --text-muted: #6A6862;
}

.site-header {
    background: rgba(62, 62, 60, 0.94);
}

.site-logo-image {
    width: 54px;
    height: 54px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(217, 154, 39, 0.22), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.logo-badge {
    display: none;
}

.logo-text-sub {
    color: rgba(255, 255, 255, 0.7);
}

.hero,
.page-hero {
    background:
        linear-gradient(135deg, rgba(36, 36, 35, 0.98), rgba(74, 73, 70, 0.94)),
        var(--grey-dark);
}

.section--dark {
    background:
        linear-gradient(135deg, rgba(53, 53, 51, 0.98), rgba(31, 31, 30, 0.98)),
        var(--grey-dark);
}

.hero-tag {
    border-color: rgba(217, 154, 39, 0.28);
    background: rgba(217, 154, 39, 0.14);
    color: #F2BE56;
}

.hero h1 em {
    color: #F0B84D;
}

.btn--orange,
.nav-menu li:last-child a,
.cta-band {
    background: #D99A27;
}

.btn--orange:hover {
    background: #B87916;
}

.mission-block,
.prog-head,
.prog-head--youth,
.prog-head--build,
.prog-head--medical,
.prog-head--animal,
.prog-head--training {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        #4D4C49;
}

.stat-num,
.btn--white {
    color: #4D4C49;
}

.how-num {
    color: #8B8982;
}

.eyebrow {
    color: #9A6812;
    background: rgba(217, 154, 39, 0.12);
    border-color: rgba(217, 154, 39, 0.22);
}

.content-wrap blockquote {
    border-left-color: #D99A27;
}

/* ============================================================
   MODERN BRAND PASS
   ============================================================ */
:root {
    --orange: #D99A27;
    --orange-light: #F2BE56;
    --orange-dark: #A86D0F;
    --grey-dark: #353533;
    --grey-mid: #66645F;
    --grey-light: #F7F6F2;
    --grey-border: #E2DED4;
    --ink: #20201F;
    --paper: #FFFFFF;
    --text-main: #252523;
    --text-muted: #6F6C65;
    --radius: 8px;
    --radius-lg: 8px;
    --shadow: 0 22px 70px rgba(32, 32, 31, 0.12);
    --shadow-soft: 0 14px 36px rgba(32, 32, 31, 0.08);
}

body {
    background: #FAF9F5;
    color: var(--text-main);
}

.container {
    max-width: 1220px;
}

.site-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 222, 212, 0.85);
    box-shadow: none;
}

.nav-inner {
    height: 76px;
}

.site-logo {
    gap: 14px;
}

.site-logo-image {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 1px rgba(53, 53, 51, 0.12), 0 12px 28px rgba(53, 53, 51, 0.14);
}

.logo-text-main {
    color: var(--ink);
    font-size: 21px;
    letter-spacing: 0.02em;
}

.logo-text-sub {
    color: var(--grey-mid);
    font-size: 10px;
    letter-spacing: 0.05em;
}

.nav-menu a {
    color: #4F4D49;
    font-weight: 650;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background: #F1EEE7;
    color: var(--ink);
}

.nav-menu li:last-child a {
    background: var(--orange);
    color: #FFFFFF;
    box-shadow: 0 12px 26px rgba(217, 154, 39, 0.26);
}

.nav-toggle span {
    background: var(--ink);
}

.hero {
    background:
        linear-gradient(135deg, rgba(37, 37, 35, 0.98), rgba(66, 65, 61, 0.96)),
        #353533;
    padding: 104px 0 96px;
}

.hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 72px;
}

.hero-copy {
    max-width: 620px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(242, 190, 86, 0.36);
    color: #F2BE56;
    padding: 8px 14px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.02;
    max-width: 680px;
}

.hero-sub {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.74);
}

.hero-actions {
    margin-top: 34px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    font-weight: 750;
}

.btn--orange {
    background: var(--orange);
    box-shadow: 0 16px 34px rgba(217, 154, 39, 0.28);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.26);
}

.hero-media {
    min-height: 520px;
}

.hero-photo {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.hero-photo--large {
    top: 30px;
    width: 74%;
    height: 440px;
}

.hero-photo--small {
    width: 40%;
    height: 214px;
    border: 6px solid rgba(255, 255, 255, 0.08);
}

.hero-photo--top {
    top: 0;
}

.hero-photo--bottom {
    bottom: 12px;
}

.stats-strip {
    margin-top: -46px;
}

.stats-grid {
    border: 1px solid rgba(226, 222, 212, 0.95);
    border-top: 4px solid var(--orange);
    box-shadow: var(--shadow);
}

.stat-item {
    padding: 30px 34px;
}

.stat-num {
    color: var(--ink);
    font-size: 32px;
}

.section {
    padding: 96px 0;
}

.section--grey {
    background: #F3F1EA;
}

.eyebrow {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--orange-dark);
    letter-spacing: 0.15em;
}

.section-title {
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: 0;
}

.section-body {
    font-size: 17px;
    max-width: 720px;
}

.mission-block {
    background: #FFFFFF;
    color: var(--ink);
    border: 1px solid var(--grey-border);
    border-left: 4px solid var(--orange);
    padding: 34px 38px;
    box-shadow: var(--shadow-soft);
}

.mission-text {
    color: var(--ink);
}

.mission-icon {
    background: #F6E8C9;
    color: var(--orange-dark);
}

.prog-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.prog-card {
    grid-column: span 3;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 222, 212, 0.95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.prog-card--wide {
    grid-column: span 6;
}

.prog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.prog-head,
.prog-head--youth,
.prog-head--build,
.prog-head--medical,
.prog-head--animal,
.prog-head--training {
    min-height: 104px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--grey-border);
}

.prog-head-title {
    color: var(--ink);
    font-size: 21px;
}

.prog-head-sub {
    color: var(--text-muted);
}

.prog-head-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #F6E8C9;
    color: var(--orange-dark);
    font-size: 20px;
    flex: 0 0 auto;
}

.prog-body {
    padding: 30px;
}

.prog-desc,
.how-body {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
}

.prog-bullets li::before {
    color: var(--orange);
}

.training-grid {
    gap: 12px;
}

.t-item {
    background: #F7F6F2;
    border: 1px solid var(--grey-border);
}

.gallery-grid {
    grid-template-columns: 1.18fr 0.91fr 0.91fr;
    gap: 18px;
}

.gallery-item {
    min-height: 340px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    transition: transform 500ms ease;
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.section--dark {
    background:
        linear-gradient(135deg, rgba(37, 37, 35, 0.98), rgba(55, 54, 51, 0.98)),
        var(--grey-dark);
}

.outreach-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.how-card {
    background: #FFFFFF;
    border: 1px solid var(--grey-border);
    box-shadow: var(--shadow-soft);
}

.how-num {
    color: var(--orange);
    font-size: 44px;
}

.partners-row {
    gap: 12px;
}

.partner-pill {
    background: #FFFFFF;
    border-color: var(--grey-border);
    box-shadow: 0 8px 22px rgba(32, 32, 31, 0.05);
}

.npo-tag {
    background: #F6E8C9;
    color: #6E4A0C;
}

.cta-band {
    background:
        linear-gradient(135deg, #D99A27, #A86D0F);
    padding: 70px 0;
}

.cta-inner {
    align-items: flex-end;
}

.cta-text h3 {
    font-size: 38px;
    letter-spacing: 0;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(37, 37, 35, 0.98), rgba(66, 65, 61, 0.96)),
        #353533;
    padding: 78px 0;
}

.contact-card,
.contact-form {
    background: #FFFFFF;
    border-color: var(--grey-border);
    box-shadow: var(--shadow-soft);
}

.site-footer {
    background: #20201F;
}

@media (max-width: 960px) {
    .nav-menu.is-open {
        top: 76px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--grey-border);
    }

    .nav-menu.is-open a {
        color: var(--ink);
    }

    .hero {
        padding: 72px 0 84px;
    }

    .hero-layout {
        gap: 46px;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-media {
        min-height: 460px;
    }

    .prog-grid {
        grid-template-columns: 1fr;
    }

    .prog-card,
    .prog-card--wide {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .nav-inner {
        height: 74px;
    }

    .site-logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-text-main {
        font-size: 19px;
    }

    .logo-text-sub {
        max-width: 220px;
        white-space: normal;
        line-height: 1.2;
    }

    .nav-menu.is-open {
        top: 74px;
    }

    .hero {
        padding: 58px 0 72px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-media {
        min-height: 612px;
    }

    .hero-photo,
    .hero-photo--large,
    .hero-photo--small {
        height: 190px;
        border: 0;
    }

    .section {
        padding: 68px 0;
    }

    .section-title {
        font-size: 31px;
    }

    .mission-block,
    .prog-body,
    .contact-card,
    .contact-form {
        padding: 24px;
    }

    .stat-item {
        padding: 24px;
    }

    .cta-text h3 {
        font-size: 31px;
    }
}

/* ============================================================
   PHOTOGRAPHIC HOMEPAGE HERO
   ============================================================ */
.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(22, 22, 21, 0.92) 0%, rgba(22, 22, 21, 0.78) 42%, rgba(22, 22, 21, 0.22) 72%, rgba(22, 22, 21, 0.08) 100%),
        linear-gradient(180deg, rgba(22, 22, 21, 0.18), rgba(22, 22, 21, 0.42)),
        url("assets/images/home-hero-banner.jpg") center center / cover no-repeat;
    padding: 112px 0 118px;
}

.hero-layout {
    display: block;
}

.hero-copy {
    max-width: 660px;
}

.hero h1 {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.36);
}

.hero-sub {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.hero-media {
    display: none;
}

@media (max-width: 960px) {
    .hero {
        min-height: auto;
        background:
            linear-gradient(90deg, rgba(22, 22, 21, 0.94), rgba(22, 22, 21, 0.72)),
            linear-gradient(180deg, rgba(22, 22, 21, 0.18), rgba(22, 22, 21, 0.48)),
            url("assets/images/home-hero-banner.jpg") 42% center / cover no-repeat;
        padding: 86px 0 104px;
    }
}

@media (max-width: 640px) {
    .hero {
        background:
            linear-gradient(180deg, rgba(22, 22, 21, 0.88), rgba(22, 22, 21, 0.74)),
            url("assets/images/home-hero-banner.jpg") 34% center / cover no-repeat;
        padding: 72px 0 92px;
    }
}

/* Final gallery layout guard: keep field images from overlapping. */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gallery-item,
.gallery-item:first-child {
    grid-row: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
