/* diplomacy.day — Scandinavian Functional Clarity
   Palette: #0E1B2E #FAFAF7 #F0EBE3 #D4A843 #3A6EA5 #C8B896 #2C2C2E #B07A6A
*/

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAFAF7;
    color: #2C2C2E;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.75;
    overflow-x: hidden;
}

/* Sun Path */
#sun-path {
    position: fixed;
    top: 20px;
    left: 5%;
    width: 90%;
    height: 100px;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

#sun-path.visible {
    opacity: 1;
}

/* Day Sections */
.day-section {
    padding: 8vh 24px;
    position: relative;
}

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

/* Dawn Hero */
.dawn-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0E1B2E 0%, #1a2d4a 40%, #D4A843 90%, #F5DEB3 100%);
    padding-top: 120px;
}

.hero-inner {
    text-align: left;
    padding-left: 5%;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    letter-spacing: 0.02em;
    color: #FAFAF7;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(250, 250, 247, 0.7);
}

/* Morning Sections */
.morning-section {
    background-color: #FAFAF7;
}

/* Afternoon Sections */
.afternoon-section {
    background-color: #F0EBE3;
}

/* Evening Section */
.evening-section {
    background: linear-gradient(180deg, #F0EBE3 0%, #D4A843 30%, #1a2d4a 60%, #0E1B2E 100%);
    padding-bottom: 12vh;
}

.evening-text {
    color: #FAFAF7;
}

/* Section Dividers */
.section-divider {
    text-align: center;
    padding: 2rem 0;
}

/* Time Markers */
.time-marker {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 8px;
}

.time-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #D4A843;
    min-width: 50px;
}

.time-label {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #C8B896;
}

.time-line {
    flex: 1;
    height: 1px;
    background: #C8B896;
    opacity: 0.3;
    margin-left: 16px;
}

/* Section Headings */
.section-heading {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: 0.02em;
    color: #0E1B2E;
    margin-bottom: 24px;
}

.evening-section .section-heading {
    color: #FAFAF7;
}

.section-body {
    max-width: 65ch;
    margin-bottom: 20px;
}

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

/* Two Column Layout */
.content-two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.col-text,
.col-sidebar {
    min-width: 0;
}

/* Sidebar Card */
.sidebar-card {
    background: rgba(200, 184, 150, 0.1);
    border: 1px solid rgba(200, 184, 150, 0.2);
    border-radius: 8px;
    padding: 24px;
}

.sidebar-label {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #D4A843;
    display: block;
    margin-bottom: 16px;
}

.sidebar-text {
    font-size: 0.95rem;
    color: #2C2C2E;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 2px solid #3A6EA5;
}

/* Single Column Content */
.content-single {
    max-width: 700px;
}

/* Closing Reflection */
.closing-reflection {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: #B07A6A;
    margin-top: 48px;
}

/* Fade Reveal Animation */
.fade-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .content-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .day-section {
        padding: 6vh 20px;
    }

    .hero-inner {
        padding-left: 0;
    }
}
