/* monopole.news - Editorial Broadsheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', 'Lora', serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    color: #1A1A1A;
    background: #F8F6F2;
    overflow-x: hidden;
}

/* ===== Masthead ===== */
#masthead {
    padding: 3vh 2rem;
    text-align: center;
}

.masthead-rule-top,
.masthead-rule-bottom {
    height: 1px;
    background: #1A1A1A;
    margin: 0 auto;
    max-width: 900px;
}

.masthead-rule-top {
    margin-bottom: 2rem;
}

.masthead-rule-bottom {
    margin-top: 1rem;
}

.masthead-title {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.02em;
    color: #1A1A1A;
}

.dateline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.8125rem;
    color: #555555;
    letter-spacing: 0.04em;
    margin-top: 0.5rem;
}

/* ===== Lead Story ===== */
#lead {
    padding: 4vh 2rem 6vh;
    max-width: 960px;
    margin: 0 auto;
}

.lead-headline {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.15;
    color: #1A1A1A;
    margin-bottom: 2rem;
    min-height: 2.4em;
}

.lead-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
}

.lead-col {
    padding: 0 1.25rem;
}

.lead-col:first-child {
    padding-left: 0;
}

.lead-col:last-child {
    padding-right: 0;
}

.col-rule {
    width: 0.5px;
    background: #C0C0C0;
}

.lead-col p {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.lead-col p:last-child {
    margin-bottom: 0;
}

/* ===== Section Headers ===== */
.section-header {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    border-top: 1px solid #E0DCD8;
    padding-top: 1rem;
    margin-bottom: 2rem;
}

.section-tag {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4A5A6A;
    background: #F8F6F2;
    padding: 0.25rem 0;
}

/* ===== Section A: Three columns ===== */
#section-a {
    padding: 4vh 2rem 6vh;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto;
}

.story {
    padding: 0 1.25rem;
    border-right: 0.5px solid #C0C0C0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.story.revealed {
    opacity: 1;
    transform: translateY(0);
}

.story:first-child {
    padding-left: 0;
}

.story:last-child {
    border-right: none;
    padding-right: 0;
}

.story-headline {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.25;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.byline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 0.75rem;
    color: #555555;
    margin-bottom: 0.75rem;
}

.story-body {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #1A1A1A;
}

/* ===== Section B: Four columns ===== */
#section-b {
    padding: 4vh 2rem 6vh;
    border-top: 1px solid #E0DCD8;
}

.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 960px;
    margin: 0 auto;
}

.brief {
    padding: 0 1rem;
    border-right: 0.5px solid #C0C0C0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.brief.revealed {
    opacity: 1;
    transform: translateY(0);
}

.brief:first-child {
    padding-left: 0;
}

.brief:last-child {
    border-right: none;
    padding-right: 0;
}

.brief-headline {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.25;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.brief-body {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #1A1A1A;
}

/* ===== Pullquote ===== */
.pullquote-container {
    max-width: 600px;
    margin: 4vh auto 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pullquote-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

.pullquote {
    background: #FFF8D0;
    padding: 2rem;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #1A1A1A;
    border-left: 3px solid #C41818;
}

.pullquote cite {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.75rem;
    color: #555555;
    margin-top: 1rem;
}

/* ===== Back Page ===== */
#back-page {
    padding: 6vh 2rem 10vh;
    max-width: 640px;
    margin: 0 auto;
    border-top: 1px solid #E0DCD8;
}

.back-content {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.back-content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.editorial-text {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1A1A1A;
}

.cursor {
    display: inline-block;
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: #C41818;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .lead-columns {
        grid-template-columns: 1fr;
    }

    .col-rule {
        width: 100%;
        height: 0.5px;
        margin: 1.5rem 0;
    }

    .lead-col {
        padding: 0;
    }

    .three-col-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story {
        border-right: none;
        padding: 0;
        border-bottom: 0.5px solid #C0C0C0;
        padding-bottom: 2rem;
    }

    .story:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .four-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .brief {
        border-right: none;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .four-col-grid {
        grid-template-columns: 1fr;
    }
}
