
/*
|--------------------------------------------------------------------------
| Edwumafie About Page
|--------------------------------------------------------------------------
*/

.about-page {
    --about-brown: #24150d;
    --about-gold: #d4a017;
    --about-green: #1d5c3a;
    --about-cream: #f8f2e8;
    --about-muted: #756d65;
    --about-border: #e9e0d5;
    --about-white: #ffffff;

    color: var(--about-brown);
    background: var(--about-white);
    overflow: hidden;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.about-page a {
    text-decoration: none;
}

.about-page p {
    line-height: 1.8;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
    margin-top: 0;
}

.about-page h1,
.about-page h2,
.about-page h3 {
    color: var(--about-brown);
}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
}

.about-btn-primary {
    color: #ffffff;
    background: var(--about-green);
    border-color: var(--about-green);
}

.about-btn-primary:hover {
    color: #ffffff;
    background: #15472c;
    border-color: #15472c;
}

.about-btn-outline {
    color: var(--about-brown);
    background: transparent;
    border-color: #cfc2b2;
}

.about-btn-outline:hover {
    color: var(--about-green);
    background: #ffffff;
    border-color: var(--about-green);
}

.about-btn-light {
    color: var(--about-brown);
    background: #ffffff;
    border-color: #ffffff;
}

.about-btn-light:hover {
    color: var(--about-green);
    background: var(--about-cream);
    border-color: var(--about-cream);
}

.about-btn-cta-outline {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}

.about-btn-cta-outline:hover {
    color: var(--about-brown);
    background: #ffffff;
    border-color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.about-hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 94px;
    background:
        radial-gradient(
            circle at 85% 12%,
            rgba(212, 160, 23, 0.12),
            transparent 27%
        ),
        linear-gradient(135deg, #fbf7f0 0%, #f8f2e8 58%, #f4eadb 100%);
}

.about-hero-pattern {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    opacity: 0.16;
    background-image:
        linear-gradient(45deg, transparent 46%, #d4a017 47%, #d4a017 49%, transparent 50%),
        linear-gradient(-45deg, transparent 46%, #1d5c3a 47%, #1d5c3a 49%, transparent 50%);
    background-size: 42px 42px;
    mask-image: linear-gradient(to left, #000000, transparent);
    pointer-events: none;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 64px;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-eyebrow,
.about-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--about-green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    line-height: 1.5;
}

.about-eyebrow {
    margin-bottom: 23px;
    padding: 9px 13px;
    border: 1px solid rgba(29, 92, 58, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.58);
}

.about-eyebrow i {
    color: var(--about-gold);
    font-size: 0.95rem;
}

.about-hero-content h1 {
    max-width: 630px;
    margin-bottom: 23px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.7rem, 4.4vw, 4.45rem);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1.12;
}

.about-hero-content h1 span,
.about-section-heading h2 span,
.about-values-heading h2 span {
    color: var(--about-green);
}

.about-hero-description {
    max-width: 565px;
    margin-bottom: 29px;
    color: var(--about-muted);
    font-size: 1.02rem;
}

.about-hero-actions,
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.about-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 31px;
    color: var(--about-muted);
    font-size: 0.9rem;
}

.about-note-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--about-green);
    background: #e5eee5;
    border-radius: 50%;
}

.about-hero-note strong {
    color: var(--about-brown);
}


/*
|--------------------------------------------------------------------------
| Hero Illustration
|--------------------------------------------------------------------------
*/

.about-hero-visual {
    position: relative;
    min-width: 0;
    padding: 20px 10px;
}

.about-visual-main {
    position: relative;
    max-width: 470px;
    margin-inline: auto;
    padding: 22px;
    border: 1px solid rgba(36, 21, 13, 0.07);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 25px 70px rgba(36, 21, 13, 0.10);
}

.about-visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.about-visual-mark {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: #ffffff;
    background: var(--about-green);
    border-radius: 12px;
    font-size: 1.15rem;
}

.about-visual-label {
    color: #8a8075;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.about-community-art {
    position: relative;
    height: 285px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(180deg, #eaf1e6 0%, #f6ead1 100%);
}

.about-sun {
    position: absolute;
    top: 30px;
    right: 46px;
    width: 63px;
    height: 63px;
    border-radius: 50%;
    background: #e6b847;
    opacity: 0.85;
}

.about-building {
    position: absolute;
    z-index: 1;
    bottom: 69px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 18px 12px 12px;
    border: 5px solid #ffffff;
    border-bottom: 0;
    background: #d6a15e;
    box-shadow: 0 5px 0 rgba(36, 21, 13, 0.06);
}

.about-building span {
    display: block;
    width: 17px;
    height: 22px;
    background: #fff0c8;
    border-radius: 3px 3px 0 0;
}

.about-building-one {
    left: 12%;
    width: 105px;
    height: 112px;
    background: #bd8050;
}

.about-building-two {
    right: 12%;
    width: 115px;
    height: 145px;
    background: #1d5c3a;
}

.about-building-three {
    left: 39%;
    bottom: 69px;
    width: 95px;
    height: 89px;
    background: #d4a017;
}

.about-community-ground {
    position: absolute;
    right: -10%;
    bottom: -37px;
    left: -10%;
    height: 95px;
    border-radius: 50% 50% 0 0;
    background: #9db78d;
}

.about-community-person {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.person-head {
    display: block;
    width: 23px;
    height: 23px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #8c5538;
}

.person-body {
    display: block;
    width: 33px;
    height: 48px;
    margin-top: 3px;
    border: 3px solid #ffffff;
    border-radius: 12px 12px 5px 5px;
    background: #d4a017;
}

.person-one {
    left: 24%;
}

.person-two {
    left: 49%;
    bottom: 25px;
}

.person-two .person-body {
    background: #1d5c3a;
}

.person-three {
    right: 18%;
}

.person-three .person-body {
    background: #9d5a3b;
}

.about-visual-caption {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px 2px 2px;
}

.about-caption-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--about-green);
    background: #e8f0e7;
    border-radius: 12px;
    font-size: 1.2rem;
}

.about-visual-caption strong,
.about-visual-caption p {
    display: block;
    margin: 0;
}

.about-visual-caption strong {
    font-size: 0.96rem;
}

.about-visual-caption p {
    margin-top: 4px;
    color: var(--about-muted);
    font-size: 0.83rem;
}

.about-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(36, 21, 13, 0.06);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(36, 21, 13, 0.12);
}

.about-floating-card-top {
    top: 5px;
    right: -22px;
}

.about-floating-card-bottom {
    bottom: 30px;
    left: -22px;
}

.about-floating-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    font-size: 1.05rem;
}

.about-icon-green {
    color: var(--about-green);
    background: #e8f0e7;
}

.about-icon-gold {
    color: #795700;
    background: #fbf0d1;
}

.about-floating-card strong,
.about-floating-card small {
    display: block;
    white-space: nowrap;
}

.about-floating-card strong {
    font-size: 0.82rem;
}

.about-floating-card small {
    margin-top: 4px;
    color: var(--about-muted);
    font-size: 0.73rem;
}


/*
|--------------------------------------------------------------------------
| Introduction
|--------------------------------------------------------------------------
*/

.about-intro-section {
    padding: 96px 0;
    background: #ffffff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
}

.about-section-heading h2,
.about-values-heading h2 {
    margin: 17px 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.7px;
    line-height: 1.22;
}

.about-intro-copy p {
    margin-bottom: 17px;
    color: var(--about-muted);
    font-size: 0.97rem;
}

.about-intro-copy p:last-child {
    margin-bottom: 0;
}


/*
|--------------------------------------------------------------------------
| Mission And Vision
|--------------------------------------------------------------------------
*/

.about-purpose-section {
    padding: 0 0 96px;
    background: #ffffff;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-purpose-card {
    padding: 38px;
    border: 1px solid var(--about-border);
    border-radius: 15px;
}

.about-mission-card {
    background: #f7f4ed;
}

.about-vision-card {
    background: #eef4ed;
}

.about-purpose-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 23px;
    place-items: center;
    color: #ffffff;
    background: var(--about-green);
    border-radius: 13px;
    font-size: 1.35rem;
}

.about-vision-card .about-purpose-icon {
    color: var(--about-brown);
    background: #e6bd51;
}

.about-purpose-card h2 {
    margin: 13px 0 14px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.3;
}

.about-purpose-card p {
    margin-bottom: 0;
    color: var(--about-muted);
    font-size: 0.95rem;
}


/*
|--------------------------------------------------------------------------
| How It Works
|--------------------------------------------------------------------------
*/

.about-how-section {
    padding: 95px 0 100px;
    background: var(--about-cream);
}

.about-centered-heading {
    max-width: 690px;
    margin: 0 auto 46px;
    text-align: center;
}

.about-centered-heading h2 {
    margin: 14px 0 13px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1.25;
}

.about-centered-heading > p {
    margin-bottom: 0;
    color: var(--about-muted);
    font-size: 0.98rem;
}

.about-how-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 960px;
    margin-inline: auto;
}

.about-how-card {
    position: relative;
    padding: 34px;
    border: 1px solid #e9e0d5;
    border-radius: 15px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-how-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(36, 21, 13, 0.07);
}

.about-step-number {
    position: absolute;
    top: 26px;
    right: 28px;
    color: #e7dfd5;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-how-icon {
    display: grid;
    width: 59px;
    height: 59px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 14px;
    font-size: 1.45rem;
}

.about-how-icon-brown {
    color: var(--about-brown);
    background: #f2e6d7;
}

.about-how-icon-green {
    color: var(--about-green);
    background: #e5eee5;
}

.about-how-card h3 {
    margin-bottom: 13px;
    font-size: 1.24rem;
    font-weight: 800;
}

.about-how-card > p {
    min-height: 82px;
    margin-bottom: 22px;
    color: var(--about-muted);
    font-size: 0.93rem;
}

.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--about-green);
    font-size: 0.9rem;
    font-weight: 800;
}

.about-text-link i {
    transition: transform 0.2s ease;
}

.about-text-link:hover {
    color: #123f27;
}

.about-text-link:hover i {
    transform: translateX(4px);
}


/*
|--------------------------------------------------------------------------
| Values
|--------------------------------------------------------------------------
*/

.about-values-section {
    padding: 96px 0;
    background: #ffffff;
}

.about-values-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 55px;
    margin-bottom: 42px;
}

.about-values-heading h2 {
    max-width: 530px;
}

.about-values-heading > p {
    max-width: 470px;
    margin-bottom: 4px;
    color: var(--about-muted);
    font-size: 0.96rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-value-card {
    padding: 26px 22px;
    border: 1px solid var(--about-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    border-color: #c8d8c8;
    box-shadow: 0 12px 28px rgba(36, 21, 13, 0.06);
}

.about-value-icon {
    display: grid;
    width: 49px;
    height: 49px;
    margin-bottom: 21px;
    place-items: center;
    color: var(--about-green);
    background: #eaf1e8;
    border-radius: 12px;
    font-size: 1.2rem;
}

.about-value-card:nth-child(even) .about-value-icon {
    color: #785800;
    background: #fbf0d5;
}

.about-value-card h3 {
    margin-bottom: 10px;
    font-size: 1.02rem;
    font-weight: 800;
}

.about-value-card p {
    margin-bottom: 0;
    color: var(--about-muted);
    font-size: 0.87rem;
    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Call To Action
|--------------------------------------------------------------------------
*/

.about-cta-section {
    position: relative;
    isolation: isolate;
    padding: 80px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(212, 160, 23, 0.2),
            transparent 30%
        ),
        var(--about-green);
}

.about-cta-section::before,
.about-cta-section::after {
    position: absolute;
    z-index: -1;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.about-cta-section::before {
    top: -140px;
    right: -50px;
}

.about-cta-section::after {
    right: 80px;
    bottom: -220px;
    width: 360px;
    height: 360px;
}

.about-cta-content {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.about-cta-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 23px;
    place-items: center;
    color: var(--about-brown);
    background: var(--about-gold);
    border-radius: 17px;
    font-size: 1.55rem;
}

.about-cta-content .about-section-label {
    color: #f2d98b;
}

.about-cta-content h2 {
    margin: 17px 0;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.7vw, 3.1rem);
    line-height: 1.24;
}

.about-cta-content h2 span {
    display: block;
    color: #f2d98b;
}

.about-cta-content > p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 0.98rem;
}

.about-cta-actions {
    justify-content: center;
}


/*
|--------------------------------------------------------------------------
| Accessibility And Motion
|--------------------------------------------------------------------------
*/

.about-page a:focus-visible {
    outline: 3px solid var(--about-gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/*
|--------------------------------------------------------------------------
| Responsive Layout
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .about-hero-grid {
        gap: 38px;
    }

    .about-floating-card-top {
        right: -5px;
    }

    .about-floating-card-bottom {
        left: -5px;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-intro-grid {
        gap: 48px;
    }
}

@media (max-width: 850px) {
    .about-hero {
        padding: 70px 0 76px;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 43px;
    }

    .about-hero-content {
        max-width: 680px;
    }

    .about-hero-visual {
        width: 100%;
        max-width: 550px;
        margin-inline: auto;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about-purpose-grid,
    .about-how-grid {
        gap: 18px;
    }

    .about-values-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-purpose-card,
    .about-how-card {
        padding: 29px;
    }

    .about-how-card > p {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .about-container {
        padding-inline: 19px;
    }

    .about-hero {
        padding: 52px 0 60px;
    }

    .about-hero-content h1 {
        font-size: clamp(2.35rem, 10vw, 3.2rem);
        letter-spacing: -1.1px;
    }

    .about-hero-description {
        font-size: 0.96rem;
    }

    .about-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-hero-actions .about-btn {
        width: 100%;
    }

    .about-hero-visual {
        padding: 12px 0 28px;
    }

    .about-visual-main {
        padding: 15px;
        border-radius: 17px;
    }

    .about-community-art {
        height: 235px;
    }

    .about-building {
        bottom: 60px;
        gap: 8px;
        padding: 13px 9px 9px;
    }

    .about-building span {
        width: 14px;
        height: 18px;
    }

    .about-building-one {
        left: 8%;
        width: 85px;
        height: 92px;
    }

    .about-building-two {
        right: 8%;
        width: 92px;
        height: 117px;
    }

    .about-building-three {
        left: 37%;
        bottom: 60px;
        width: 80px;
        height: 75px;
    }

    .about-community-ground {
        bottom: -46px;
    }

    .about-community-person {
        bottom: 22px;
    }

    .person-head {
        width: 20px;
        height: 20px;
    }

    .person-body {
        width: 29px;
        height: 39px;
    }

    .about-floating-card {
        gap: 9px;
        padding: 10px 11px;
    }

    .about-floating-card-top {
        top: 0;
        right: -2px;
    }

    .about-floating-card-bottom {
        bottom: 0;
        left: -2px;
    }

    .about-floating-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .about-floating-card strong {
        font-size: 0.72rem;
    }

    .about-floating-card small {
        font-size: 0.66rem;
    }

    .about-intro-section,
    .about-values-section {
        padding: 66px 0;
    }

    .about-purpose-section {
        padding-bottom: 66px;
    }

    .about-how-section {
        padding: 67px 0;
    }

    .about-section-heading h2,
    .about-values-heading h2,
    .about-centered-heading h2 {
        font-size: 2rem;
    }

    .about-purpose-grid,
    .about-how-grid {
        grid-template-columns: 1fr;
    }

    .about-purpose-card,
    .about-how-card {
        padding: 25px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .about-value-card {
        padding: 22px;
    }

    .about-value-icon {
        margin-bottom: 15px;
    }

    .about-cta-section {
        padding: 66px 0;
    }

    .about-cta-content h2 {
        font-size: 2rem;
    }

    .about-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-cta-actions .about-btn {
        width: 100%;
    }
}