:root {
    --bbr-red: #e03131;
    --bbr-yellow: #f59f00;
    --bbr-orange: #fd7e14;
    --bbr-blue: #228be6;
    --ink: #1a1a1a;
    --dim: #6b6b6b;
    --line: #e9ecef;
    --soft: #f8f9fa;
    --shadow-sm: 0 2px 6px rgba(0,0,0,.04);
    --shadow-md: 0 6px 24px rgba(0,0,0,.08);
    --gradient: linear-gradient(45deg, var(--bbr-red) 0%, var(--bbr-yellow) 100%);
}

/* ---------- WEBFONTS (self-hosted, corporate/webfonts/ — issue #40) ---------- */
@font-face {
    font-family: 'Fraunces';
    src: url('/webfonts/fraunces-v38-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fraunces';
    src: url('/webfonts/fraunces-v38-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fraunces';
    src: url('/webfonts/fraunces-v38-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('/webfonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('/webfonts/source-sans-3-v19-latin-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('/webfonts/source-sans-3-v19-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('/webfonts/source-sans-3-v19-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('/webfonts/source-sans-3-v19-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NOTICE BAR (sticky top) ---------- */
.notice-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bbr-red);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.notice-bar a { color: white; text-decoration: underline; }

/* ---------- HEADER ---------- */
header.site-header {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
header.site-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
}
.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.brand-name { font-size: 18px; line-height: 1.2; }
.brand-sub  { font-size: 12px; color: var(--dim); }

nav.top-nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
nav.top-nav a {
    text-decoration: none;
    color: var(--dim);
    font-weight: 500;
    font-size: 15px;
}
nav.top-nav a:hover { color: var(--bbr-red); }

/* ---------- HERO ---------- */
.hero {
    padding: 96px 0 64px;
    background: var(--soft);
}
.hero .container { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) {
    .hero .container { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.hero h1 {
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1.05;
    margin: 16px 0 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero h1 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .tagline {
    font-size: 18px;
    color: var(--dim);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 540px;
}

/* Hero with full-bleed background image + dark overlay for white text */
.hero.hero-image {
    position: relative;
    background-color: #11284b;
    background-image: url('/img/hero-kigali.jpg');
    background-size: cover;
    background-position: 50% 45%;
    padding: 120px 0 96px;
    min-height: 70vh;
    color: white;
    overflow: hidden;
}
.hero.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,40,75,.72) 0%, rgba(17,40,75,.35) 60%, rgba(17,40,75,.55) 100%);
    z-index: 0;
}
.hero.hero-image .container { position: relative; z-index: 1; }
.hero.hero-image h1 { color: white; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero.hero-image .tagline {
    color: rgba(255,255,255,.92);
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero.hero-image .three-words { color: white; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero.hero-image .three-words .inspire { color: var(--bbr-yellow); }
.hero.hero-image .btn-primary { box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bbr-orange);
    color: white;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.three-words {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    color: var(--ink);
}
.three-words .inspire { color: var(--bbr-orange); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border: 0;
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-large { padding: 18px 40px; font-size: 18px; }
.btn-outline {
    background: white;
    color: var(--bbr-red);
    border: 1.5px solid var(--bbr-red);
}
.btn-outline:hover { background: var(--bbr-red); color: white; }

/* ---------- SECTION ---------- */
section { padding: 80px 0; }
section.alt { background: var(--soft); }
section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 16px;
    text-align: center;
}
section .lead {
    text-align: center;
    color: var(--dim);
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ---------- FEATURES STRIP ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.feature {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    transition: border-color .12s ease, transform .12s ease;
}
.feature:hover { border-color: var(--bbr-red); transform: translateY(-2px); }
.feature .icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #e7f5ff;
    color: var(--bbr-blue);
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 24px;
}
.feature h3 { margin: 0 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--dim); font-size: 14px; }

/* ---------- NEWS CARDS ---------- */
.news-grid { display: grid; gap: 32px; }
.news-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .news-card { grid-template-columns: 1.2fr 1fr; }
}
.news-card .body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.news-card .badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--bbr-orange);
    color: var(--bbr-orange);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}
.news-card h3 { font-size: 24px; margin: 0 0 6px; }
.news-card .sub { color: var(--ink); font-weight: 500; margin: 0 0 12px; }
.news-card .desc { color: var(--dim); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.news-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }

/* ---------- PROJECTS CARDS ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.project-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card .img-wrap { aspect-ratio: 16 / 9; overflow: hidden; }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 20px; }
.project-card .led-by {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--dim);
    font-weight: 700;
    margin: 0 0 8px;
}
.project-card h3 { font-size: 18px; margin: 0; line-height: 1.3; }

/* ---------- FORMS ---------- */
.form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.form-card h2 { text-align: center; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    background: var(--soft);
    transition: border-color .12s ease;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--bbr-orange);
    background: white;
}
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- CONNECT SECTION ---------- */
.connect-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 800px) {
    .connect-grid { grid-template-columns: 1fr 1fr; }
}
.socials { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--bbr-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .12s ease, color .12s ease;
}
.socials a:hover { background: var(--bbr-red); color: white; }
.credit { color: var(--dim); font-size: 13px; margin-top: 32px; }

/* ---------- FOOTER ---------- */
footer.site-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 48px 0 32px;
    text-align: center;
    font-size: 14px;
}
footer.site-footer a { color: white; text-decoration: none; }
footer.site-footer .links { margin-bottom: 16px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
footer.site-footer .copy { color: #666; font-size: 12px; }
footer.site-footer .socials { justify-content: center; margin: 0 0 18px; }
footer.site-footer .socials a { color: var(--bbr-blue); }

/* ---------- SUBPAGE NAV ---------- */
.subpage-nav {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    background: white;
}
.subpage-nav .container {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.subpage-nav .brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
}
.subpage-nav .brand-link img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.subpage-nav .links {
    margin-left: auto;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.subpage-nav .links a {
    text-decoration: none;
    color: var(--dim);
    font-weight: 500;
    font-size: 15px;
}
.subpage-nav .links a:hover,
.subpage-nav .links a.active { color: var(--bbr-red); }

/* Hamburger — visible on mobile, toggles vertical nav */
.subpage-nav .nav-toggle-cb { display: none; }
.subpage-nav .hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    color: var(--ink);
    cursor: pointer;
    border-radius: 8px;
    user-select: none;
}
.subpage-nav .hamburger:hover { background: var(--soft); }
.subpage-nav .hamburger svg { display: block; }

@media (max-width: 768px) {
    .subpage-nav .hamburger { display: inline-flex; }
    .subpage-nav .container { flex-wrap: wrap; }
    .subpage-nav .links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 14px;
        margin-top: 14px;
        padding-top: 14px;
        margin-left: 0;
        border-top: 1px solid var(--line);
    }
    .subpage-nav .nav-toggle-cb:checked ~ .links { display: flex; }
}

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
    padding: 80px 0 56px;
    background: var(--soft);
    text-align: left;
}
.page-hero h1 {
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1.05;
    margin: 0 0 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.page-hero h1 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero p.tagline {
    font-size: 18px;
    color: var(--dim);
    max-width: 640px;
    line-height: 1.6;
    margin: 0 0 32px;
}

/* ---------- VISION / MISSION ---------- */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}
@media (min-width: 760px) {
    .vision-grid { grid-template-columns: 1fr 1fr; }
}
.vision-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.vision-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--bbr-red);
}
.vision-card p { margin: 0; color: var(--dim); line-height: 1.7; }

.values-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}
.values-strip span {
    padding: 10px 22px;
    background: white;
    border: 1.5px solid var(--bbr-orange);
    color: var(--bbr-orange);
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

/* ---------- QUICK OVERVIEW (accordion-style) ---------- */
.overview-list {
    max-width: 820px;
    margin: 32px auto 0;
}
.overview-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}
.overview-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.overview-item summary::-webkit-details-marker { display: none; }
.overview-item summary::after {
    content: '+';
    color: var(--bbr-red);
    font-size: 22px;
    font-weight: 700;
    transition: transform .2s ease;
}
.overview-item[open] summary::after { content: '−'; }
.overview-item .body {
    padding: 0 24px 24px;
    color: var(--dim);
    line-height: 1.7;
    font-size: 15px;
}
.overview-item .body p { margin: 0 0 12px; }
.overview-item .body a {
    color: var(--bbr-red);
    text-decoration: none;
    font-weight: 600;
}

/* ---------- TIMELINE (Our History) ---------- */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 32px auto 0;
    padding-left: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line);
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gradient);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--bbr-red);
}
.timeline-item .label {
    font-size: 13px;
    font-weight: 700;
    color: var(--bbr-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 6px;
}
.timeline-item p {
    margin: 0;
    color: var(--dim);
    line-height: 1.6;
    font-size: 15px;
}

/* ---------- PAGE-LEVEL CAPTION ---------- */
.page-caption {
    max-width: 720px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--dim);
    font-style: italic;
    font-size: 14px;
}

/* ---------- TEAM ---------- */
.team-section { margin-top: 48px; }
.team-section h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
    text-align: center;
}
.team-section .section-sub {
    text-align: center;
    color: var(--dim);
    margin: 0 auto 32px;
    max-width: 520px;
}
.team-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.team-card .avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}
.team-card .name {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
}
.team-card .role {
    text-align: center;
    color: var(--dim);
    font-size: 14px;
    margin: 0 0 20px;
}
.team-card .bio {
    color: var(--ink);
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}
@media (min-width: 800px) {
    .team-card { padding: 40px; }
    .team-card .bio { padding: 0 24px; }
}

/* ---------- PROJECT DETAIL ---------- */
.detail-shell {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: white;
    color: var(--bbr-blue);
    border: 1.5px solid var(--bbr-blue);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 32px;
}
.detail-back:hover { background: var(--bbr-blue); color: white; }
.detail-shell h1.detail-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 20px;
}
.detail-shell h1.detail-title .yr {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.detail-shell .detail-lead {
    color: var(--dim);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.detail-cta {
    display: inline-block;
    padding: 12px 26px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.detail-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.detail-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 48px 0;
}
.detail-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bbr-red);
    font-weight: 700;
    margin: 0 0 24px;
}
.detail-body {
    color: var(--ink);
    line-height: 1.75;
    font-size: 16px;
    margin: 0 0 24px;
}
.detail-body p { margin: 0 0 16px; }
.detail-figure {
    margin: 32px 0;
}
.detail-figure img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}
.detail-figure figcaption {
    margin-top: 12px;
    text-align: center;
    color: var(--dim);
    font-style: italic;
    font-size: 14px;
}

.lead-block {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--soft);
    border-radius: 16px;
    padding: 24px;
}
.lead-block img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    object-fit: cover;
}
.lead-block .lead-meta { display: flex; flex-direction: column; gap: 4px; }
.lead-block .lead-meta .led-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--dim);
}
.lead-block .lead-meta .lead-name {
    font-size: 20px;
    font-weight: 600;
}

.objectives-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
}
@media (min-width: 720px) {
    .objectives-grid { grid-template-columns: repeat(3, 1fr); }
}
.objective {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.objective .icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.objective h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}
.objective p {
    color: var(--dim);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- PROJECTS INDEX (overlay tiles) ---------- */
.projects-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}
@media (min-width: 700px) {
    .projects-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .projects-feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-tile {
    position: relative;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%);
}
.feature-tile .tile-content { position: relative; z-index: 1; }
.feature-tile h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.25;
}
.feature-tile .tile-btn {
    display: inline-block;
    background: white;
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}
@media (min-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-grid a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }

/* ---------- LEARNING EXCHANGE BANNER (home) ---------- */
.lx-banner {
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    padding: 48px 40px;
    display: grid;
    gap: 24px;
    align-items: center;
    box-shadow: var(--shadow-md);
}
@media (min-width: 860px) {
    .lx-banner { grid-template-columns: 1.6fr auto; }
}
.lx-banner .kicker {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.4);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.lx-banner h2 {
    text-align: left;
    color: white;
    font-size: clamp(24px, 3.4vw, 34px);
    margin: 0 0 10px;
}
.lx-banner p {
    margin: 0;
    color: rgba(255,255,255,.94);
    font-size: 16px;
    line-height: 1.6;
    max-width: 640px;
}
.lx-banner .btn {
    background: white;
    color: var(--bbr-red);
    white-space: nowrap;
}

/* ---------- IMPACT NUMBERS STRIP (home + impact) ---------- */
.impact-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: center;
}
@media (min-width: 760px) {
    .impact-strip { grid-template-columns: repeat(4, 1fr); }
}
.impact-strip .stat .num {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}
.impact-strip .stat .label {
    color: var(--dim);
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
}

/* ---------- WHY-WE-EXIST STORY BLOCK (home) ---------- */
.story-block {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
}
.story-block p { margin: 0 0 22px; }
.story-block .opener {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
}

/* ---------- TESTIMONIAL QUOTE CARD (impact) ---------- */
.quote-card {
    max-width: 720px;
    margin: 32px auto 0;
    background: white;
    border-left: 4px solid var(--bbr-yellow);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    font-size: 17px;
    line-height: 1.7;
}
.quote-card .who {
    margin-top: 12px;
    color: var(--dim);
    font-size: 14px;
    font-style: normal;
}

/* ---------- LIGHTBOX (gallery) ---------- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: zoom-out;
    padding: 24px;
}
.lightbox-overlay.open {
    display: flex;
}
.lightbox-overlay img {
    max-width: 100%;
    max-height: 88vh;
    min-height: 0;
    border-radius: 6px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
}
.lightbox-caption {
    color: rgba(255, 255, 255, .92);
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    max-width: min(90vw, 760px);
}
.lightbox-caption strong {
    color: white;
}
.gallery-grid a {
    cursor: zoom-in;
}
