/* outreach/story.css */

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* --- Hero Section - Immersive --- */
.story-hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    text-align: center;
}

.story-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 180%;
    /* More sophisticated, deeper gradient */
    background: radial-gradient(circle at center, rgba(197, 160, 89, 0.12) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: -1;
    pointer-events: none;
}

.story-hero .kicker {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: var(--accent-warm);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.1);
}

.story-hero .h1 {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 2rem;
    /* Richer text gradient */
    background: linear-gradient(135deg, #2a2a2a 0%, #5a5a5a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
}

.story-hero .lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* --- Story Content - Editorial Layout --- */
.story-content {
    padding: 2rem 0 10rem;
    position: relative;
}

.story-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(197, 160, 89, 0.08), transparent 55%),
        radial-gradient(circle at 85% 30%, rgba(74, 124, 124, 0.08), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.story-container {
    max-width: 940px;
    /* Wider measure for a more open layout */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Refined Glass Wrapper */
.story-wrapper-glass {
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for better contrast */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.04),
        0 10px 30px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border-radius: 2.5rem;
    padding: clamp(3.5rem, 5vw, 5.25rem);
}

@media (max-width: 768px) {
    .story-wrapper-glass {
        padding: 2.75rem 1.75rem;
        background: rgba(255, 255, 255, 0.7);
        box-shadow: none;
        border: none;
    }
}

.story-section {
    margin-bottom: 4rem;
}

.story-section:last-child {
    margin-bottom: 0;
}

.story-section + .story-section {
    padding-top: 2.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.story-section h2 {
    font-size: 1.9rem;
    font-family: var(--font-serif);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.story-section p {
    color: #555;
    /* Softer black */
    font-size: 1.15rem;
    /* Standard comfortable reading size */
    line-height: 1.9;
    font-family: var(--font-sans);
    margin-bottom: 1.4rem;
}

.story-section p:last-of-type {
    margin-bottom: 0;
}

/* Lead Paragraph Style */
.story-lead {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    font-weight: 400;
}

.story-section:first-of-type .story-lead::first-letter {
    float: left;
    font-size: 3.2em;
    line-height: 0.85;
    padding-right: 0.2em;
    padding-top: 0.05em;
    color: var(--accent-warm);
    font-family: var(--font-serif);
}

/* --- Verse Quotes - Premium Editorial Style --- */
.verse-quote {
    position: relative;
    margin: 3rem 0;
    padding: 2.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.verse-quote blockquote {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.1vw, 1.6rem);
    color: var(--text-main);
    line-height: 1.4;
    font-style: italic;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

/* Elegant quotation marks */
.verse-quote blockquote::before {
    content: '“';
    position: absolute;
    top: -1rem;
    left: -1.25rem;
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.verse-quote cite {
    display: block;
    margin-top: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-style: normal;
}

.verse-quote cite::before {
    content: '— ';
}

@media (max-width: 600px) {
    .story-hero .lead {
        font-size: 1.1rem;
    }

    .verse-quote {
        padding: 1.75rem 1.5rem;
    }

    .verse-quote blockquote {
        white-space: normal;
    }
}

/* --- Signature Section --- */
.story-signature-block {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
}

/* Decorative element on signature divider */
.story-signature-block::before {
    content: '✝';
    /* Simple decorative cross */
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    padding: 0;
    color: var(--accent-warm);
    font-size: 1rem;
}

.signature-img {
    font-family: 'Playfair Display', cursive;
    /* Assuming available or similar */
    font-size: 2.5rem;
    color: var(--accent-warm);
    margin-bottom: 0.5rem;
    transform: rotate(-2deg);
    /* Organic handwritten feel */
    display: inline-block;
}

.signature-role {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}
