/* Brand Stories Page Styles */
.stories-page {
    background-color: var(--bg-cream);
    padding-top: 40px;
}

.story-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('../images/story-hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 80px;
    border-radius: 40px;
    overflow: hidden;
    margin-left: var(--container-spacing, 5%);
    margin-right: var(--container-spacing, 5%);
}

.story-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.story-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Longform Reading Styles */
.story-article {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.story-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--green-dark);
    margin: 36px 0 18px;
}

.story-article p {
    margin-bottom: 20px;
}

/* Quote Highlights */
.story-pull-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--green-main);
    border-left: 4px solid var(--gold-main);
    padding-left: 24px;
    margin: 32px 0;
    line-height: 1.4;
}

/* Pillars Section */
.pillars-section {
    background: #fff;
    padding: 48px 0;
    margin-bottom: 48px;
}

.pillar-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 20px;
    background: var(--bg-cream);
    height: 100%;
    transition: none;
}

.pillar-card:hover {
    transform: none;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-block;
}

/* Founders Section */
.founders-section {
    padding-bottom: 60px;
}

.founder-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.08);
    border: 1px solid rgba(27, 67, 50, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(27, 67, 50, 0.16);
    border-color: rgba(45, 106, 79, 0.25);
}

.founder-img-wrap {
    width: 100% !important;
    height: 360px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    background: #f1f5f3;
    overflow: hidden;
    position: relative;
}

.founder-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease;
}

.founder-card:hover .founder-img-wrap img {
    transform: scale(1.04);
}

.founder-body {
    padding: 26px 22px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    background: #ffffff;
}

.founder-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.founder-role {
    font-size: 0.76rem;
    color: var(--green-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    background: var(--green-pale);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid var(--green-light);
}

.founder-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.62;
    margin: 0;
}

/* Sources Table */
.sources-box {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    margin-top: 32px;
}

.source-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 768px) {
    .story-hero {
        height: 50vh;
        min-height: 380px;
        margin-bottom: 50px;
        border-radius: 24px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .story-title {
        font-size: 2.4rem;
    }

    .story-article {
        padding: 0 20px;
    }

    .story-pull-quote {
        margin: 30px 0;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .story-hero {
        height: 42vh;
        min-height: 300px;
        margin-bottom: 36px;
        border-radius: 18px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .story-title {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }

    .story-article {
        font-size: .98rem;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .story-article h2 {
        font-size: 1.45rem;
        margin: 32px 0 16px;
    }

    .sources-box {
        padding: 20px 16px;
        margin-top: 36px;
        border-radius: 14px;
    }
}