/* ============================================
   LEGEND PAGE STYLES
   Individual biography pages
   ============================================ */

/* ===== LEGEND HERO ===== */

.legend-hero {
    padding: 160px 48px 80px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.legend-hero-inner {
    max-width: 800px;
}

.back-link {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent);
}

.legend-category-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.legend-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 0.95;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.legend-dates {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-faint);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.legend-one-liner {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    max-width: 500px;
}

/* ===== QUOTE BANNER ===== */

.quote-banner {
    background: var(--dark);
    padding: 64px 48px;
    text-align: center;
}

.quote-banner blockquote {
    max-width: 700px;
    margin: 0 auto;
}

.quote-banner p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

.quote-banner cite {
    display: block;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
}

/* ===== ARTICLE ===== */

.legend-article {
    padding: 80px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-section {
    max-width: 680px;
    margin: 0 auto 64px;
    position: relative;
}

.article-chapter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.article-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 24px;
}

.article-section p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== IMAGE BREAKS ===== */

.article-image-break {
    margin: 64px 0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.article-image-break img {
    width: 100%;
    border-radius: 2px;
}

.article-image-caption {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-faint);
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid var(--cream);
    line-height: 1.6;
    max-width: 600px;
}

/* ===== ASIDE / FACTS ===== */

.article-aside {
    margin: 64px auto;
    max-width: 680px;
}

.aside-inner {
    background: var(--off-white);
    padding: 40px 48px;
    border-left: 3px solid var(--accent);
}

.aside-inner h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 20px;
}

.facts-list {
    list-style: none;
    counter-reset: facts;
}

.facts-list li {
    counter-increment: facts;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
    padding: 12px 0;
    padding-left: 36px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.facts-list li:last-child {
    border-bottom: none;
}

.facts-list li::before {
    content: counter(facts);
    position: absolute;
    left: 0;
    top: 12px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent);
}

/* ===== PULLQUOTE ===== */

.article-pullquote {
    margin: 64px auto;
    max-width: 600px;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.article-pullquote p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--accent);
}

/* ===== LISTEN (YouTube embeds) ===== */

.legend-listen {
    background: var(--off-white);
    padding: 80px 48px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.legend-listen-inner {
    max-width: 900px;
    margin: 0 auto;
}

.legend-listen .section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
}

.listen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.listen-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.listen-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 640px) {
    .listen-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legend-listen {
        padding: 60px 24px;
    }
}

/* ===== NEXT LEGEND ===== */

.next-legend {
    background: var(--off-white);
    padding: 80px 48px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.next-legend-inner {
    max-width: 500px;
    margin: 0 auto;
}

.next-legend-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text);
    margin: 12px 0;
}

.next-legend-snippet {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .legend-hero {
        padding: 120px 24px 60px;
    }

    .quote-banner {
        padding: 48px 24px;
    }

    .legend-article {
        padding: 60px 24px;
    }

    .aside-inner {
        padding: 32px 24px;
    }

    .next-legend {
        padding: 60px 24px;
    }
}