/* nonri.xyz - Neubrutalist Alpine Expedition Journal */
/* Colors: #2D5F8A, #C0C4C8, #B84A2A, #FFFFFF, #6A6A70, #0A0A0A, #E4E8EC, #1A1A1A */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif', serif;
    color: #1A1A1A;
    background-color: #E4E8EC;
    overflow-x: hidden;
}

/* Chrome Paper Background */
.chrome-paper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #E4E8EC;
    z-index: -2;
}

.chrome-paper::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, transparent 40%, rgba(200, 200, 210, 0.15) 50%, transparent 60%);
    animation: chromeSheen 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Magazine Spread */
.spread {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 60px;
}

/* Mountain Line Silhouettes */
.mountain-line {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.mountain-line-1 { height: 200px; bottom: 10%; }
.mountain-line-2 { height: 180px; bottom: 5%; }
.mountain-line-3 { height: 160px; bottom: 15%; }
.mountain-line-4 { height: 200px; bottom: 0; }

.mountain-path {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    transition: stroke-dashoffset 3s ease;
}

.spread.visible .mountain-path {
    stroke-dashoffset: 0;
}

/* Hero Horizontal Rule */
.horizontal-rule {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 4px;
    background: #0A0A0A;
    z-index: 1;
    transition: width 2s ease;
}

.horizontal-rule.drawn {
    width: 100%;
}

/* Spread Content */
.spread-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
}

.spread-two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.spread-reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* Title Block */
.title-block {
    text-align: center;
}

.hero-display {
    font-family: 'Noto Serif Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: #0A0A0A;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s ease 2s, transform 1s ease 2s;
}

.spread.visible .hero-display {
    opacity: 1;
    transform: translateY(0);
}

.hero-mono {
    font-family: 'Overpass Mono', monospace;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #6A6A70;
    display: block;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.8s ease 2.5s;
}

.spread.visible .hero-mono {
    opacity: 1;
}

/* Brutalist Frames */
.brutalist-frame {
    border: 4px solid #0A0A0A;
    padding: 40px 32px;
    position: relative;
    background: #FFFFFF;
    box-shadow: 8px 8px 0 #0A0A0A;
}

.frame-centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.frame-label {
    position: absolute;
    top: -14px;
    left: 16px;
    background: #E4E8EC;
    padding: 2px 12px;
}

.label-mono {
    font-family: 'Overpass Mono', monospace;
    font-size: 12px;
    color: #B84A2A;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Spread Headings */
.spread-heading {
    font-family: 'Noto Serif Display', serif;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1.1;
    margin-bottom: 16px;
}

/* Body Text */
.spread-body {
    font-family: 'Noto Serif', serif;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    line-height: 1.85;
    color: #1A1A1A;
    opacity: 0.85;
}

.spread-body-centered {
    margin-top: 16px;
}

/* Altitude / Coordinate Markers */
.altitude-marker {
    margin-top: 24px;
    padding: 12px 0;
    border-top: 1px solid #C0C4C8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marker-label {
    font-family: 'Overpass Mono', monospace;
    font-size: 11px;
    color: #6A6A70;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marker-value {
    font-family: 'Overpass Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #2D5F8A;
}

/* Reveal Animation */
.spread-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.spread.visible .spread-content {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes chromeSheen {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .spread {
        padding: 60px 24px;
    }

    .spread-two-col,
    .spread-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brutalist-frame {
        padding: 24px 20px;
        box-shadow: 5px 5px 0 #0A0A0A;
    }
}
