/* ==========================================================================
   About page - single continuous scroll, black/white/green
   ========================================================================== */

.smrs-about {
    background: #fff;
    color: #141414;
}

.smrs-about-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--smrs-dark-green, #0C4143);
    margin-bottom: 16px;
}

.smrs-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.smrs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.smrs-reveal.delay-1 { transition-delay: 0.1s; }
.smrs-reveal.delay-2 { transition-delay: 0.2s; }
.smrs-reveal.delay-3 { transition-delay: 0.3s; }
.smrs-reveal.delay-4 { transition-delay: 0.4s; }

/* ---------- 1. Intro ---------- */

.smrs-about-intro {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background: url('images/hero-hands.webp') center center / cover no-repeat;
}

.smrs-about-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.smrs-about-intro-headline {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    font-size: clamp(2rem, 4.4vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0;
    padding: 0 24px;
}

/* ---------- 1b. Scroll-reveal paragraph ----------
   Full-frame, left-aligned block. No centering wrapper, no
   restrictive max-width - the paragraph runs edge to edge (minus
   side padding) so it reads left-to-right across the whole frame
   as each word lights up on scroll, instead of sitting narrow and
   centered in the middle of the page. */

.smrs-about-reveal-wrap {
    width: 100%;
    background: #fff;
    padding: 160px 6% 200px;
    box-sizing: border-box;
}

.smrs-about-reveal-text {
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: clamp(1.6rem, 3.4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.5;
}

.smrs-reveal-word {
    opacity: 0.15;
    color: #141414;
}

/* ---------- 2. Mission & Vision ---------- */

.smrs-about-mv {
    padding: 100px 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.smrs-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.smrs-mv-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    background: #F5F3EE;
}

.smrs-mv-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.smrs-mv-card:hover .smrs-mv-bg {
    opacity: 1;
    transform: scale(1);
}

.smrs-mv-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.smrs-mv-content {
    position: relative;
    z-index: 1;
}

.smrs-mv-content .smrs-about-eyebrow {
    color: var(--smrs-dark-green, #0C4143);
    transition: color 0.4s ease;
}

.smrs-mv-card:hover .smrs-mv-content .smrs-about-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.smrs-mv-text {
    color: #141414;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    transition: color 0.4s ease;
}

.smrs-mv-card:hover .smrs-mv-text {
    color: #fff;
}

/* ---------- 3. The Urgent Need ---------- */

.smrs-about-stats {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background: #101010;
    padding: 90px 32px;
    text-align: center;
}

.smrs-about-stats .smrs-about-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.smrs-about-stats-heading {
    color: #fff;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 700;
    max-width: 640px;
    margin: 0 auto 14px;
}

.smrs-about-stats-intro {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15.5px;
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.smrs-need-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.smrs-need-tile {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    text-align: left;

    background-size: cover;
    background-position: center;
    filter: grayscale(1);
}

.smrs-need-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 0;
}

.smrs-need-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 15.5px;
    line-height: 1.55;
    max-width: 300px;
    margin: 0;
}

.smrs-need-badge {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.smrs-need-badge .smrs-about-stat-number {
    color: #141414;
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ---------- 4. About SMRS - split tiles ---------- */

.smrs-split-wrap {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.smrs-split-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 90px 24px;
}

/* Single, larger, centered tile (previously two tiles that slid
   apart on scroll - animation removed, second tile removed per
   client request). */
.smrs-split-tile {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 18px;
}

.smrs-split-tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Sized by its own padding + the short paragraph's real height now,
   not a fixed min-height - that was leaving empty space below the
   text and inflating the whole section's height (the gap before the
   next section). */
.smrs-split-tile-content {
    position: relative;
    z-index: 1;
    padding: 48px;
}

.smrs-split-tile .smrs-about-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.smrs-split-text {
    color: #fff;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.smrs-split-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .smrs-split-stage {
        padding: 48px 16px;
    }
    .smrs-split-tile-content {
        padding: 28px;
    }
    .smrs-split-text {
        font-size: 15px;
    }
}

/* ---------- 4b. Legacy narrative grid (kept, currently unused) ---------- */

.smrs-about-narrative {
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.smrs-about-narrative-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
}

.smrs-about-narrative-heading {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 16px;
}

.smrs-about-narrative-text {
    color: #55534E;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.smrs-about-narrative-block + .smrs-about-narrative-block {
    margin-top: 40px;
}

/* ---------- 5 & 6. Team / Board grids (kept, currently unused) ---------- */

.smrs-about-people {
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 32px;
}

.smrs-about-people-heading {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 40px;
}

.smrs-about-people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.smrs-person-card {
    text-align: left;
}

.smrs-person-avatar {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: #101010;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 16px;
    filter: grayscale(1);
    background-size: cover;
    background-position: center;
}

.smrs-person-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 3px;
}

.smrs-person-role {
    color: var(--smrs-dark-green, #0C4143);
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px;
}

.smrs-person-blurb {
    color: #6B6B68;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

/* ---------- 7. CTA (kept, currently unused) ---------- */

.smrs-about-cta {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background: var(--smrs-dark-green, #0C4143);
    text-align: center;
    padding: 90px 32px;
}

.smrs-about-cta-heading {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 30px;
}

.smrs-about-cta-btn {
    display: inline-block;
    background: var(--smrs-cream, #F3EEE3);
    color: var(--smrs-dark-green, #0C4143);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 32px;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.smrs-about-cta-btn:hover {
    transform: translateY(-2px);
    background: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .smrs-mv-grid,
    .smrs-about-narrative {
        grid-template-columns: 1fr;
    }
    .smrs-about-narrative-photo {
        order: -1;
    }
    .smrs-need-grid,
    .smrs-about-people-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .smrs-need-tile {
        min-height: 0;
        padding: 24px;
    }
    .smrs-need-badge {
        width: 66px;
        height: 66px;
    }
    .smrs-need-badge .smrs-about-stat-number {
        font-size: 18px;
    }
    .smrs-about-intro {
        min-height: 60vh;
        padding: 110px 24px 50px;
    }
}

/* ==========================================================================
   5. Global Footprint - world map with clickable pins/countries
   ========================================================================== */

.smrs-gf-section {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: var(--smrs-dark-green, #0C4143);
    padding: 90px 5% 70px;
}

.smrs-gf-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.smrs-gf-tag {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.smrs-gf-title {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    max-width: 640px;
}

.smrs-gf-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 340px;
    margin: 0;
    text-align: right;
}

.smrs-gf-map-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 50px 40px 30px;
}

.smrs-gf-svg-map {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

#world-map {
    display: block;
    width: 100%;
    height: auto;
}

#world-map path {
    fill: #2A3F3A;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 0.5;
    transition: fill 0.3s ease;
}

#world-map path#za {
    fill: #FF7A33;
}

#world-map path#bf,
#world-map path#lk,
#world-map path#zw,
#world-map path#ht {
    fill: #3DDC84;
}

#world-map path#za,
#world-map path#bf,
#world-map path#lk,
#world-map path#zw,
#world-map path#ht {
    cursor: pointer;
}

#world-map path#za:hover,
#world-map path#bf:hover,
#world-map path#lk:hover,
#world-map path#zw:hover,
#world-map path#ht:hover {
    fill-opacity: 0.85;
}

#world-map path:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 1px;
}

.smrs-gf-node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.smrs-gf-node:hover,
.smrs-gf-node:focus-visible {
    transform: translate(-50%, -50%) scale(1.35);
}

.smrs-gf-node:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.smrs-gf-node-network {
    background: #3DDC84;
    box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25), 0 0 16px 4px rgba(61, 220, 132, 0.45);
}

.smrs-gf-node-home {
    background: #FF7A33;
    box-shadow: 0 0 0 4px rgba(255, 122, 51, 0.25), 0 0 18px 6px rgba(255, 122, 51, 0.5);
}

.smrs-gf-attribution {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    margin: 30px 0 24px;
}

.smrs-gf-legend {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 22px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.smrs-gf-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.smrs-gf-legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.smrs-gf-legend-dot--network {
    background: #3DDC84;
}

.smrs-gf-legend-dot--home {
    background: #FF7A33;
}

@media (max-width: 700px) {
    .smrs-gf-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .smrs-gf-subtitle {
        text-align: left;
    }
    .smrs-gf-map-wrapper {
        padding: 30px 20px 20px;
        border-radius: 20px;
    }
}

/* ==========================================================================
   5b. Christian World Outreach - text + video
   ========================================================================== */

.smrs-cwo-section {
    background: #fff;
    padding: 110px 32px 130px;
}

.smrs-cwo-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.smrs-cwo-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 28px;
    color: #141414;
}

.smrs-cwo-para {
    color: #55534E;
    font-size: 16px;
    line-height: 1.75;
    max-width: 700px;
    margin: 0 auto 18px;
}

.smrs-cwo-para strong {
    color: #141414;
    font-weight: 700;
}

.smrs-cwo-para:last-of-type {
    margin-bottom: 0;
}

.smrs-cwo-video-wrap {
    margin: 56px auto 0;
    max-width: 860px;
}

.smrs-cwo-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #000;
}

@media (max-width: 700px) {
    .smrs-cwo-section {
        padding: 80px 24px 90px;
    }
    .smrs-cwo-video-wrap {
        margin-top: 40px;
    }
}