/* ==========================================================
   aboutus.css
   GivingTuesday Switzerland — About Us
   ========================================================== */


/* ==========================================================
   Hero
   ========================================================== */

.about-hero {
    position: relative;
}


.about-hero__content {
    max-width: 620px;
}


.about-hero__desc {
    max-width: 600px;
}


.about-hero__image-wrapper {
    overflow: hidden;
    border-radius: 20px;
}


.about-hero__image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================
   Shared About Section Typography
   ========================================================== */

.about-intro p,
.about-story__copy p,
.about-dashboard__inner p,
.about-pillar p {
    color: var(--color-text-muted);
    line-height: 1.75;
}


.section-header__label {
    display: inline-block;

    margin-bottom: var(--space-sm);

    color: var(--color-primary);

    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ==========================================================
   Everyone Has Something To Give
   ========================================================== */

.about-intro {
    text-align: center;
}


.about-intro .container {
    max-width: 850px;
}


.about-section__copy {
    max-width: 780px;
    margin: 0 auto;
}


.about-section__copy h2 {
    margin-bottom: var(--space-lg);
}


.about-section__copy p {
    margin: 0 0 var(--space-md);
}


.about-intro__statement {
    max-width: 700px;

    margin:
        var(--space-xl)
        auto
        0;

    color: var(--color-text);

    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.55;
}


/* ==========================================================
   Our Story
   ========================================================== */

.about-story {
    background: var(--color-bg-soft);
}


.about-story__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: var(--space-2xl);

    align-items: center;
}


.about-story__copy {
    max-width: 560px;
}


.about-story__copy h2 {
    margin-top: 0;
    margin-bottom: var(--space-lg);
}


.about-story__copy p {
    margin: 0 0 var(--space-md);
}


.about-story__copy .btn {
    margin-top: var(--space-md);
}


/* ==========================================================
   Our Story Illustration
   ========================================================== */

.about-story__image {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}


.about-story__image img {
    display: block;

    width: 100%;
    max-width: 700px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
    object-position: center;
}


/* ==========================================================
   Vision / Pillars
   ========================================================== */

.about-pillars {
    background: var(--color-bg);
}


.about-pillars .section-header {
    max-width: 820px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-2xl);
}


.about-pillars__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: var(--space-lg);
}


/* Individual pillar */

.about-pillar {
    position: relative;

    min-height: 280px;

    padding: var(--space-xl);

    background: var(--color-bg);

    border: 1px solid var(--color-border);
    border-radius: 18px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.about-pillar:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 34px
        rgba(0, 0, 0, 0.07);
}


.about-pillar__number {
    display: block;

    margin-bottom: var(--space-xl);

    color: var(--color-primary);

    font-size: var(--text-sm);
    font-weight: 700;

    letter-spacing: 0.08em;
}


.about-pillar h3 {
    margin: 0 0 var(--space-md);

    color: var(--color-text);
}


.about-pillar p {
    margin: 0;
}


/* ==========================================================
   Generosity / Impact Dashboard
   ========================================================== */

.about-dashboard {
    background: var(--color-bg-soft);
}


.about-dashboard__inner {
    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}


.about-dashboard__inner h2 {
    max-width: 760px;

    margin:
        0
        auto
        var(--space-lg);
}


.about-dashboard__inner p {
    max-width: 720px;

    margin:
        0
        auto
        var(--space-xl);
}


.about-dashboard__inner .btn {
    display: inline-flex;
}


/* ==========================================================
   Team Section
   ========================================================== */

.team-section {
    background: var(--color-bg);
}


.team-section .section-header {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-2xl);
}


/* ==========================================================
   Team Grid
   ========================================================== */

.team-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: var(--space-lg);
}


/* ==========================================================
   Team Card
   ========================================================== */

.team-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: var(--color-bg);

    border: 1px solid var(--color-border);
    border-radius: 18px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.team-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 34px
        rgba(0, 0, 0, 0.08);
}


/* ==========================================================
   Team Image
   ========================================================== */

.team-card__image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--color-bg-soft);
}


.team-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ==========================================================
   Team Card Body
   ========================================================== */

.team-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: var(--space-lg);
}


.team-card__name {
    margin:
        0
        0
        var(--space-xs);

    color: var(--color-text);

    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.3;
}


.team-card__role {
    display: block;

    margin-bottom: var(--space-md);

    color: var(--color-primary);

    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
}


.team-card__bio {
    flex: 1;

    margin:
        0
        0
        var(--space-lg);

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.65;
}


/* ==========================================================
   LinkedIn
   ========================================================== */

.team-card__linkedin {
    display: inline-flex;

    align-items: center;

    gap: var(--space-xs);

    align-self: flex-start;

    color: var(--color-primary);

    font-size: var(--text-sm);
    font-weight: 600;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.team-card__linkedin:hover {
    opacity: 0.75;
    transform: translateX(2px);
}


.team-card__linkedin svg {
    flex: 0 0 auto;
}


/* ==========================================================
   Final CTA
   ========================================================== */

.about-cta {
    background: var(--color-bg-dark);
}


.about-cta .newsletter__inner {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.about-cta .newsletter__title {
    color: #ffffff;
}


.about-cta .newsletter__desc {
    max-width: 650px;

    margin-left: auto;
    margin-right: auto;

    color: rgba(255, 255, 255, 0.78);
}


/* ==========================================================
   Responsive — Large Tablet
   ========================================================== */

@media (max-width: 1100px) {

    .about-story__grid {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(0, 1.05fr);

        gap: var(--space-xl);
    }


    .about-story__image img {
        max-width: 620px;
    }

}


/* ==========================================================
   Responsive — Tablet
   ========================================================== */

@media (max-width: 960px) {

    /* Story */

    .about-story__grid {
        grid-template-columns: 1fr;

        gap: var(--space-xl);
    }


    .about-story__copy {
        max-width: 700px;
    }


    .about-story__image {
        max-width: 720px;

        margin-left: auto;
        margin-right: auto;
    }


    .about-story__image img {
        width: 100%;
        max-width: 680px;
    }


    /* Pillars */

    .about-pillars__grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: var(--space-md);
    }


    .about-pillar {
        min-height: 260px;

        padding: var(--space-lg);
    }


    /* Team */

    .team-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   Responsive — Mobile
   ========================================================== */

@media (max-width: 720px) {

    /* Hero */

    .about-hero__content {
        max-width: none;
    }


    /* Intro */

    .about-intro {
        text-align: left;
    }


    .about-section__copy {
        max-width: none;
    }


    .about-intro__statement {
        max-width: none;

        margin-top: var(--space-lg);

        font-size: var(--text-base);
    }


    /* Story */

    .about-story__grid {
        gap: var(--space-lg);
    }


    .about-story__copy {
        max-width: none;
    }


    .about-story__image {
        width: 100%;
        max-width: 100%;

        overflow: visible;
    }


    .about-story__image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }


    /* Pillars */

    .about-pillars .section-header {
        margin-bottom: var(--space-xl);
    }


    .about-pillars__grid {
        grid-template-columns: 1fr;
    }


    .about-pillar {
        min-height: 0;
    }


    .about-pillar__number {
        margin-bottom: var(--space-lg);
    }


    /* Dashboard */

    .about-dashboard__inner {
        text-align: left;
    }


    .about-dashboard__inner h2,
    .about-dashboard__inner p {
        max-width: none;

        margin-left: 0;
        margin-right: 0;
    }


    /* Team */

    .team-grid {
        grid-template-columns: 1fr;
    }


    .team-card {
        width: 100%;
        max-width: 520px;

        margin-left: auto;
        margin-right: auto;
    }


    /* Final CTA */

    .about-cta .newsletter__inner {
        text-align: center;
    }

}


/* ==========================================================
   Responsive — Small Mobile
   ========================================================== */

@media (max-width: 480px) {

    .about-pillar {
        padding: var(--space-lg);
    }


    .team-card__body {
        padding: var(--space-md);
    }


    .about-story__copy .btn,
    .about-dashboard__inner .btn {
        width: 100%;

        justify-content: center;
    }

}