/* =========================================================
   ECF ABOUT PAGE
========================================================= */

:root {
    --about-green: #526b24;
    --about-dark: #101704;
    --about-light: #f5f6ef;
    --about-text: #263018;
    --about-muted: #68705d;
    --about-gold: #b79a55;
    --about-white: #ffffff;
}


/* -------------------------
   GLOBAL
------------------------- */

.ecf-about-page {
    overflow: hidden;
    background: var(--about-light);
    color: var(--about-text);
}

.ecf-about-page img {
    display: block;
    max-width: 100%;
}

.about-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.about-section {
    position: relative;
    padding: 110px 0;
    scroll-margin-top: 90px;
}


/* -------------------------
   HERO
------------------------- */

.about-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            rgba(16, 23, 4, .55),
            rgba(16, 23, 4, .72)
        ),
        url("../images/about-hero.jpg")
        center / cover no-repeat;
    color: #fff;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: min(850px, calc(100% - 40px));
    text-align: center;
    animation: aboutHeroUp 1s ease both;
}

.about-hero-label,
.section-label {
    display: inline-block;
    color: var(--about-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 15px 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(58px, 9vw, 110px);
    line-height: .9;
    font-weight: 600;
}

.about-hero p {
    max-width: 650px;
    margin: 25px auto 0;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.8;
}


/* -------------------------
   HEADINGS
------------------------- */

.section-heading {
    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-heading h2,
.split-content h2 {
    margin: 12px 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
    color: var(--about-dark);
}

.heading-line {
    width: 65px;
    height: 3px;
    margin: 0 auto 20px;
    background: var(--about-gold);
}

.section-heading p {
    color: var(--about-muted);
    line-height: 1.8;
}


/* -------------------------
   HISTORY
------------------------- */

.history-section {
    background: #f8f8f3;
}

.history-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.history-image {
    position: relative;
}

.history-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 4px;
}

.history-content {
    padding: 20px 0;
}

.history-year {
    color: var(--about-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
}

.history-content h3 {
    margin: 15px 0 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
}

.history-content p {
    margin-bottom: 18px;
    color: var(--about-muted);
    line-height: 1.85;
}


/* TIMELINE */

.history-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 90px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: #ccd1c2;
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-dot {
    width: 27px;
    height: 27px;
    margin: 0 auto 25px;
    border: 7px solid #f8f8f3;
    border-radius: 50%;
    background: var(--about-green);
    box-shadow: 0 0 0 1px var(--about-green);
}

.timeline-content span {
    color: var(--about-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.timeline-content h3 {
    margin: 10px 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
}

.timeline-content p {
    color: var(--about-muted);
    font-size: 14px;
    line-height: 1.65;
}


/* -------------------------
   PASTOR
------------------------- */

.pastor-section {
    background: #fff;
}

.pastor-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}

.pastor-image-wrap {
    position: relative;
}

.pastor-image-frame {
    position: relative;
    overflow: hidden;
    height: 570px;
    background: #e9ece2;
}

.pastor-image-frame::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255,255,255,.55);
    pointer-events: none;
}

.pastor-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastor-image-caption {
    padding: 20px 0;
}

.pastor-image-caption span {
    display: block;
    margin-bottom: 6px;
    color: var(--about-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.pastor-image-caption strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
}

.pastor-content h3 {
    max-width: 650px;
    margin: 12px 0 28px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1;
}

.pastor-content p {
    margin-bottom: 20px;
    color: var(--about-muted);
    line-height: 1.9;
}


/* -------------------------
   WHO WE ARE
------------------------- */

.who-section {
    background: #eef1e8;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.split-content h2 {
    margin-top: 12px;
}

.split-content .heading-line {
    margin-left: 0;
}

.split-content p {
    color: var(--about-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.split-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 35px;
}

.feature-item {
    padding: 18px;
    background: #fff;
    border-left: 3px solid var(--about-green);
}

.feature-item span {
    display: block;
    margin-bottom: 8px;
    color: var(--about-gold);
    font-size: 11px;
}

.feature-item strong {
    font-size: 13px;
}


/* -------------------------
   WHAT WE DO
------------------------- */

.what-section {
    background: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mission-card {
    position: relative;
    padding: 40px 32px;
    min-height: 300px;
    border: 1px solid #e2e5dc;
    background: #fff;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--about-green);
    box-shadow: 0 20px 45px rgba(20,30,10,.10);
}

.mission-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #dfe4d8;
    font-family: "Cormorant Garamond", serif;
    font-size: 45px;
}

.mission-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: #edf1e6;
    color: var(--about-green);
    font-size: 22px;
}

.mission-card h3 {
    margin-bottom: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
}

.mission-card p {
    color: var(--about-muted);
    font-size: 14px;
    line-height: 1.75;
}


/* -------------------------
   BELIEFS
------------------------- */

.beliefs-section {
    position: relative;
    color: #fff;
    background:
        linear-gradient(
            rgba(16, 23, 4, .88),
            rgba(16, 23, 4, .92)
        ),
        url("../images/beliefs-bg.jpg")
        center / cover fixed;
}

.beliefs-section .section-heading h2 {
    color: #fff;
}

.beliefs-section .section-heading p {
    color: rgba(255,255,255,.7);
}

.belief-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.belief-card {
    padding: 35px 25px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px);
    transition: transform .35s ease, background .35s ease;
}

.belief-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.1);
}

.belief-card > span {
    color: var(--about-gold);
    font-size: 12px;
    font-weight: 700;
}

.belief-card i {
    display: block;
    margin: 25px 0 20px;
    color: #d1b76c;
    font-size: 30px;
}

.belief-card h3 {
    margin-bottom: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
}

.belief-card p {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.75;
}


/* -------------------------
   CTA
------------------------- */

.about-cta {
    padding: 120px 20px;
    text-align: center;
    background: var(--about-green);
    color: #fff;
}

.about-cta-content {
    max-width: 700px;
    margin: auto;
}

.about-cta h2 {
    margin: 12px 0 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 7vw, 80px);
    line-height: .95;
}

.about-cta p {
    max-width: 550px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #fff;
    color: var(--about-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform .3s ease;
}

.about-cta-button:hover {
    transform: translateY(-3px);
}


/* -------------------------
   REVEAL ANIMATION
------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes aboutHeroUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 900px) {

    .about-section {
        padding: 85px 0;
    }

    .history-intro,
    .pastor-layout,
    .split-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .history-timeline {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }

    .history-timeline::before {
        display: none;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .belief-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pastor-image-frame {
        max-width: 500px;
        margin: auto;
    }

}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 600px) {

    .about-container {
        width: calc(100% - 28px);
    }

    .about-section {
        padding: 70px 0;
    }

    .about-hero {
        min-height: 520px;
    }

    .about-hero h1 {
        font-size: 58px;
    }

    .about-hero p {
        font-size: 14px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading h2,
    .split-content h2 {
        font-size: 45px;
    }

    .history-image img,
    .split-image img {
        height: 330px;
    }

    .history-timeline {
        grid-template-columns: 1fr;
    }

    .pastor-image-frame {
        height: 440px;
    }

    .pastor-content h3 {
        font-size: 43px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-card {
        min-height: auto;
    }

    .belief-grid {
        grid-template-columns: 1fr;
    }

    .belief-card {
        padding: 30px 22px;
    }

    .about-cta {
        padding: 85px 20px;
    }

    .about-cta h2 {
        font-size: 55px;
    }

}