/* scientific.quest - Science Magazine - Retro Vapor Vintage */
/* Colors: #FF6B35, #C94277, #4A1C6B, #C4A24E, #8B7355, #3D2B1F, #FFF8F0 */

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

body {
    background-color: #FFF8F0;
    color: #3D2B1F;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
}

/* Spreads */
.spread {
    min-height: 100vh;
    position: relative;
}

.spread-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

/* Cover */
.cover-spread {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-gradient {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #FF6B35 0%, #C94277 50%, #4A1C6B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cover-geometric {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 248, 240, 0.15);
}

.geo-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.geo-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 5%;
    background: rgba(255, 248, 240, 0.05);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(196, 162, 78, 0.15);
    top: 20%;
    right: 15%;
    transform: rotate(15deg);
}

.cover-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.cover-issue {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 248, 240, 0.7);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cover-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    color: #FFF8F0;
    letter-spacing: 0.04em;
    line-height: 0.95;
}

.cover-rule {
    width: 80px;
    height: 3px;
    background: #C4A24E;
    margin: 2rem auto;
}

.cover-tagline {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 248, 240, 0.85);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.cover-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 248, 240, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.meta-dot {
    color: rgba(255, 248, 240, 0.4);
}

/* Feature Article */
.feature-spread {
    background: #FFF8F0;
}

.article-header {
    margin-bottom: 3rem;
}

.article-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #C94277;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.article-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #3D2B1F;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin-top: 0.5rem;
}

.article-subtitle {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #8B7355;
    margin-top: 0.75rem;
}

/* Multi-Column Content */
.columns-content {
    column-count: 2;
    column-gap: 3rem;
    column-rule: 1px solid rgba(139, 115, 85, 0.2);
}

.columns-content p {
    margin-bottom: 1.25rem;
    text-align: justify;
    font-size: 1.02rem;
}

.drop-cap::first-letter {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    float: left;
    line-height: 0.8;
    padding-right: 0.15em;
    color: #FF6B35;
}

/* Pull Quote */
.pull-quote {
    column-span: all;
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    border-top: 2px solid #C4A24E;
    border-bottom: 2px solid #C4A24E;
}

.pull-quote p {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #3D2B1F;
    text-align: center;
    margin-bottom: 0.5rem;
}

.pull-quote cite {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #8B7355;
    font-style: normal;
}

/* Cycle Section */
.cycle-spread {
    background: #3D2B1F;
    color: #FFF8F0;
}

.section-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #FFF8F0;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 4rem;
}

.cycle-diagram {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.cycle-step {
    text-align: center;
    max-width: 160px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cycle-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: #FF6B35;
    line-height: 1;
}

.step-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #FFF8F0;
    letter-spacing: 0.04em;
    margin: 0.25rem 0;
}

.step-desc {
    font-family: 'Merriweather', serif;
    font-size: 0.85rem;
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.5;
}

.cycle-arrow {
    font-size: 1.5rem;
    color: #C4A24E;
    padding: 1rem 0.5rem;
    align-self: center;
}

/* News Section */
.news-spread {
    background: #FFF8F0;
}

.news-spread .section-headline {
    color: #3D2B1F;
}

.news-columns {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.news-article {
    flex: 1;
    padding: 0 2rem;
}

.column-rule {
    width: 1px;
    align-self: stretch;
    background: rgba(139, 115, 85, 0.25);
}

.news-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.tag-physics { background: rgba(255, 107, 53, 0.15); color: #FF6B35; }
.tag-biology { background: rgba(201, 66, 119, 0.15); color: #C94277; }
.tag-astro { background: rgba(74, 28, 107, 0.15); color: #4A1C6B; }

.news-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #3D2B1F;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.news-body {
    font-size: 0.92rem;
    color: #3D2B1F;
    line-height: 1.7;
    text-align: justify;
}

/* Next Issue */
.next-spread {
    background: linear-gradient(135deg, #4A1C6B 0%, #C94277 50%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.next-content {
    padding: 4rem 2rem;
}

.next-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 248, 240, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.next-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #FFF8F0;
    letter-spacing: 0.04em;
    line-height: 0.95;
}

.next-desc {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255, 248, 240, 0.8);
    max-width: 500px;
    margin: 1.5rem auto;
}

.next-rule {
    width: 60px;
    height: 2px;
    background: #C4A24E;
    margin: 2rem auto;
}

.next-footer {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 248, 240, 0.5);
    letter-spacing: 0.15em;
}

/* Responsive */
@media (max-width: 768px) {
    .spread-inner {
        padding: 3rem 1.5rem;
    }

    .columns-content {
        column-count: 1;
    }

    .cycle-diagram {
        flex-direction: column;
        align-items: center;
    }

    .cycle-arrow {
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }

    .news-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .column-rule {
        width: 100%;
        height: 1px;
    }

    .news-article {
        padding: 0;
    }
}
