/* ============================================
   DDAZZL.com - Styles
   Brutalist Neon Mountain Cartography
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::selection {
    background: #FF2079;
    color: #0a0a0a;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #39FF14 #0a0a0a;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: #0a0a0a;
}

html::-webkit-scrollbar-thumb {
    background: #39FF14;
}

body {
    background: #0a0a0a;
    color: #E0E0E0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
.section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 8vw;
    color: #F5F5F5;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: 40px;
}

.heading-massive {
    font-size: 12vw;
    text-align: center;
}

.body-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    color: #E0E0E0;
    max-width: 600px;
}

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

.mono-accent {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 13px;
    color: #39FF14;
    letter-spacing: 0.08em;
}

/* === VERTICAL NAVIGATION === */
#vertical-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 48px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    border-right: 1px solid rgba(57, 255, 20, 0.2);
}

.nav-char {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 16px;
    color: #6B6B6B;
    text-decoration: none;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    writing-mode: initial;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: block;
    width: 48px;
    text-align: center;
    padding: 4px 0;
}

.nav-char:hover,
.nav-char.active {
    color: #FF2079;
    text-shadow: 0 0 12px #FF2079, 0 0 24px #FF2079;
}

/* === GRID OVERLAY === */
#grid-overlay {
    position: fixed;
    top: 0;
    left: 48px;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    pointer-events: none;
    z-index: 2;
}

.grid-line {
    border-right: 1px solid rgba(57, 255, 20, 0.3);
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-line:nth-child(1) { animation-delay: 0s; }
.grid-line:nth-child(2) { animation-delay: 0.3s; }
.grid-line:nth-child(3) { animation-delay: 0.6s; }
.grid-line:nth-child(4) { animation-delay: 0.9s; }
.grid-line:nth-child(5) { animation-delay: 1.2s; }
.grid-line:nth-child(6) { animation-delay: 1.5s; }
.grid-line:nth-child(7) { animation-delay: 1.8s; }
.grid-line:nth-child(8) { animation-delay: 2.1s; }
.grid-line:nth-child(9) { animation-delay: 2.4s; }
.grid-line:nth-child(10) { animation-delay: 2.7s; }
.grid-line:nth-child(11) { animation-delay: 3.0s; }
.grid-line:nth-child(12) { animation-delay: 3.3s; }
.grid-line:nth-child(13) { animation-delay: 3.6s; }

@keyframes gridPulse {
    0%, 100% { border-color: rgba(57, 255, 20, 0.15); }
    50% { border-color: rgba(57, 255, 20, 0.45); }
}

/* === CONTOUR OVERLAY === */
#contour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    animation: contourDrift 180s linear infinite;
}

#contour-overlay svg {
    width: 100%;
    height: 100%;
}

@keyframes contourDrift {
    0% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}

/* === ELEVATION MARKERS === */
.elevation-marker {
    position: absolute;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    color: #6B6B6B;
    pointer-events: none;
    z-index: 3;
}

/* === SECTION FULL === */
.section-full {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 120px 96px;
    overflow: hidden;
}

.strata-dark {
    background: #0a0a0a;
}

.strata-light {
    background: #1a1a1a;
}

/* === SUMMIT (HERO) === */
#summit {
    background: #0a0a0a;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
}

.summit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 5;
}

.hero-word-container {
    position: relative;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.hero-word {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 25vw;
    color: #F5F5F5;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.85;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.mountain-clip-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: #0a0a0a;
    clip-path: polygon(
        0% 100%,
        0% 60%,
        5% 55%,
        10% 40%,
        15% 50%,
        20% 30%,
        25% 45%,
        30% 20%,
        35% 35%,
        40% 15%,
        45% 25%,
        50% 10%,
        55% 28%,
        60% 18%,
        65% 32%,
        70% 22%,
        75% 38%,
        80% 25%,
        85% 42%,
        90% 30%,
        95% 48%,
        100% 35%,
        100% 100%
    );
    z-index: 3;
}

.summit-subtitle {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    z-index: 5;
}

/* === SKELETON / SHIMMER === */
.skeleton-bar {
    width: 80%;
    max-width: 500px;
    height: 4px;
    background: rgba(57, 255, 20, 0.15);
    border: 1px solid #39FF14;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    z-index: 5;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(57, 255, 20, 0.2),
        rgba(223, 255, 0, 0.15),
        rgba(255, 32, 121, 0.2),
        transparent
    );
    animation: shimmerSlide 2.5s infinite;
}

@keyframes shimmerSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === RIDGE LINE === */
.ridge-line {
    width: 100%;
    height: 40px;
    position: relative;
    z-index: 5;
    background: #0a0a0a;
}

.ridge-line svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* === CREVASSE === */
.crevasse {
    width: 100%;
    height: 60px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(57, 255, 20, 0.15);
    border-bottom: 1px solid rgba(57, 255, 20, 0.15);
}

.crevasse-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 12px;
    color: #39FF14;
    letter-spacing: 0.08em;
    white-space: nowrap;
    animation: crevasseScroll 30s linear infinite;
}

@keyframes crevasseScroll {
    0% { transform: translateX(50vw); }
    100% { transform: translateX(-100%); }
}

/* === STRATA GRID === */
.strata-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 5;
}

.content-block {
    padding: 60px 40px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.content-block:hover {
    border-color: #FF2079;
    box-shadow: inset 0 0 30px rgba(255, 32, 121, 0.1);
}

.content-block[data-span="5"] {
    grid-column: span 5;
}

.content-block[data-span="6"] {
    grid-column: span 6;
}

.content-block[data-span="7"] {
    grid-column: span 7;
}

.content-block[data-span="12"] {
    grid-column: span 12;
}

/* === SKELETON REVEAL === */
.skeleton-reveal {
    position: relative;
}

.skeleton-reveal.is-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #39FF14;
    z-index: 10;
    animation: shimmerSlide 2.5s infinite;
    background-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(57, 255, 20, 0.08) 30%,
        rgba(223, 255, 0, 0.06) 50%,
        rgba(255, 32, 121, 0.08) 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 2.5s ease-in-out infinite;
}

.skeleton-reveal.is-skeleton > * {
    opacity: 0;
    filter: blur(8px);
}

.skeleton-reveal.is-revealed > * {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.skeleton-reveal.is-revealed::before {
    opacity: 0;
    transition: opacity 0.8s ease;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === DAZZLE PATTERN === */
.dazzle-pattern {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(42, 42, 42, 0.5) 10px,
        rgba(42, 42, 42, 0.5) 20px
    );
}

/* === DAZZLE FRAGMENTS === */
.dazzle-fragments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.dazzle-block {
    position: absolute;
    background: repeating-linear-gradient(
        45deg,
        #1a1a1a,
        #1a1a1a 8px,
        #2a2a2a 8px,
        #2a2a2a 16px
    );
    opacity: 0.6;
}

/* === DUOTONE IMAGES === */
.duotone-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.duotone-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, #0a0a0a 0%, transparent 40%),
        linear-gradient(225deg, #0a0a0a 0%, transparent 40%),
        linear-gradient(180deg, transparent 30%, #0a0a0a 100%);
    z-index: 2;
}

/* CSS-generated mountain landscapes using gradients */
#mountain-img-1 {
    background:
        linear-gradient(180deg, transparent 0%, #0a0a0a 100%),
        radial-gradient(ellipse 120% 80% at 30% 90%, #1a1a1a 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 70% 85%, #0a0a0a 0%, transparent 60%),
        radial-gradient(ellipse 100% 70% at 50% 95%, #1a1a1a 0%, transparent 65%),
        linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

#mountain-img-2 {
    background:
        linear-gradient(180deg, transparent 0%, #0a0a0a 100%),
        radial-gradient(ellipse 90% 70% at 40% 88%, #1a1a1a 0%, transparent 65%),
        radial-gradient(ellipse 110% 75% at 65% 92%, #0a0a0a 0%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 20% 85%, #1a1a1a 0%, transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.duotone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    z-index: 1;
}

.green-overlay {
    background: radial-gradient(ellipse at 50% 50%, rgba(57, 255, 20, 0.4) 0%, rgba(57, 255, 20, 0.1) 50%, transparent 80%);
}

.magenta-overlay {
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 32, 121, 0.4) 0%, rgba(255, 32, 121, 0.1) 50%, transparent 80%);
}

/* === SUMMIT DATA BLOCK === */
.summit-data-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(57, 255, 20, 0.15);
}

.data-label {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 12px;
    color: #6B6B6B;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-value {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 13px;
    color: #39FF14;
    letter-spacing: 0.08em;
}

.blink-accent {
    animation: blinkNeon 1.5s ease-in-out infinite;
}

@keyframes blinkNeon {
    0%, 100% { color: #39FF14; }
    50% { color: #FF2079; }
}

/* Laser Lemon accent for tertiary highlights */
.hero-word {
    text-shadow: 0 0 80px rgba(223, 255, 0, 0.15);
}

.section-heading:hover {
    text-shadow: 0 0 40px #DFFF00;
}

.crevasse {
    background-image: linear-gradient(90deg, transparent, rgba(223, 255, 0, 0.02), transparent);
}

/* === FOOTER (BASE CAMP) === */
.section-footer {
    width: 100%;
    background: #0a0a0a;
    padding: 60px 48px 30px 96px;
    position: relative;
    z-index: 5;
    border-top: 2px solid #39FF14;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.footer-block {
    grid-column: span 3;
    padding: 20px;
    border: 1px solid rgba(57, 255, 20, 0.15);
}

.footer-block-wide {
    grid-column: span 6;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 14px;
    color: #F5F5F5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-note {
    font-size: 11px;
    line-height: 1.6;
}

.footer-shimmer {
    width: 100%;
    max-width: 100%;
    height: 8px;
    margin-top: 12px;
}

.footer-shimmer.short {
    width: 60%;
}

/* Topographic map in footer */
.topo-map {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.topo-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(57, 255, 20, 0.25);
    border-radius: 50%;
}

.topo-line:nth-child(1) {
    top: 15%;
    width: 80%;
    left: 10%;
    transform: scaleY(1);
    border-radius: 50%;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.15);
}

.topo-line:nth-child(2) {
    top: 25%;
    width: 60%;
    left: 20%;
    height: 30px;
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 50%;
}

.topo-line:nth-child(3) {
    top: 35%;
    width: 40%;
    left: 30%;
    height: 20px;
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 50%;
}

.topo-line:nth-child(4) {
    top: 42%;
    width: 25%;
    left: 38%;
    height: 12px;
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 50%;
}

.topo-line:nth-child(5) {
    top: 48%;
    width: 10%;
    left: 45%;
    height: 6px;
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.35);
    border-radius: 50%;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(57, 255, 20, 0.15);
    text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .section-heading {
        font-size: 10vw;
    }

    .heading-massive {
        font-size: 14vw;
    }

    .content-block[data-span="5"],
    .content-block[data-span="7"] {
        grid-column: span 12;
    }

    .strata-grid {
        grid-template-columns: 1fr;
    }

    .content-block[data-span="5"],
    .content-block[data-span="6"],
    .content-block[data-span="7"],
    .content-block[data-span="12"] {
        grid-column: span 1;
    }

    .footer-block {
        grid-column: span 6;
    }

    .footer-block-wide {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    #vertical-nav {
        width: 36px;
    }

    .section-full {
        padding: 80px 20px 80px 56px;
    }

    .section-footer {
        padding: 40px 20px 20px 56px;
    }

    .hero-word {
        font-size: 20vw;
    }

    .section-heading {
        font-size: 12vw;
    }

    .heading-massive {
        font-size: 16vw;
    }

    .content-block {
        padding: 40px 20px;
    }

    .footer-block {
        grid-column: span 12;
    }

    .footer-block-wide {
        grid-column: span 12;
    }

    .summit-subtitle {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .data-row {
        flex-direction: column;
        gap: 4px;
    }
}
