/* lurch.dev — Underground Editorial Zine / Dark Neon */
/* Palette: #0A0A0F, #12121A, #1A1A28, #2A2A3A, #6B6B80, #9B9BB0, #FFFFFF, #00FF88, #FF3366, #3366FF */
/* Fonts: Bebas Neue (display), Work Sans (body) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: #0A0A0F;
    color: #9B9BB0;
    overflow-x: hidden;
}

/* ============================================
   SCAN LINE OVERLAY
   ============================================ */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
}

.scanlines.visible {
    opacity: 0.4;
}

.scanlines.flash {
    opacity: 1;
}

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%);
    transition: left 0.05s, top 0.05s;
    display: none;
}

.cursor-glow.active {
    display: block;
}

/* ============================================
   MASTHEAD
   ============================================ */
.masthead {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0A0A0F;
    position: relative;
}

.masthead-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 7vw, 6rem);
    color: #FFFFFF;
    letter-spacing: 0.05em;
    text-shadow:
        0 0 10px rgba(0, 255, 136, 0.5),
        0 0 30px rgba(0, 255, 136, 0.2),
        0 0 60px rgba(0, 255, 136, 0.1);
    opacity: 0;
}

.masthead-title.visible {
    opacity: 1;
}

.masthead-title.glow {
    text-shadow:
        0 0 10px rgba(0, 255, 136, 0.5),
        0 0 30px rgba(0, 255, 136, 0.2),
        0 0 60px rgba(0, 255, 136, 0.1);
    transition: text-shadow 0.4s ease;
}

/* Neon Rules */
.neon-rule-pink {
    height: 1px;
    background-color: #FF3366;
    box-shadow:
        0 0 4px rgba(255, 51, 102, 0.6),
        0 0 12px rgba(255, 51, 102, 0.3),
        0 0 24px rgba(255, 51, 102, 0.15);
}

.neon-rule-green {
    height: 1px;
    background-color: #00FF88;
    box-shadow:
        0 0 4px rgba(0, 255, 136, 0.6),
        0 0 12px rgba(0, 255, 136, 0.3),
        0 0 24px rgba(0, 255, 136, 0.15);
}

.neon-rule-blue {
    height: 1px;
    background-color: #3366FF;
    box-shadow:
        0 0 4px rgba(51, 102, 255, 0.6),
        0 0 12px rgba(51, 102, 255, 0.3),
        0 0 24px rgba(51, 102, 255, 0.15);
}

.neon-rule-green-vertical {
    width: 1px;
    background-color: #00FF88;
    box-shadow:
        0 0 4px rgba(0, 255, 136, 0.6),
        0 0 12px rgba(0, 255, 136, 0.3),
        0 0 24px rgba(0, 255, 136, 0.15);
    height: 0;
    transition: height 0.3s ease;
}

.neon-rule-green-vertical.visible {
    height: 100%;
}

.masthead-rule {
    width: 0;
    margin-top: 16px;
    transition: width 0.3s ease;
}

.masthead-rule.visible {
    width: 200px;
}

.masthead-meta {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6B6B80;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masthead-meta.visible {
    opacity: 1;
}

/* ============================================
   EDITORIAL WALL
   ============================================ */
.editorial-wall {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: left;
    margin: 48px 0 24px;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.section-header.visible {
    opacity: 1;
}

.section-header-text {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

.section-underline {
    width: 0;
    margin-top: 8px;
    transition: width 0.3s ease 0.1s;
}

.section-header.visible .section-underline {
    width: 100%;
}

/* ============================================
   MASONRY GRID
   ============================================ */
.masonry-grid {
    columns: 3;
    column-gap: 1.5rem;
}

/* ============================================
   MASONRY CARDS
   ============================================ */
.masonry-card {
    position: relative;
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background-color: #12121A;
    opacity: 0;
    transition: opacity 0.15s ease, background-color 0.2s ease;
}

.masonry-card.visible {
    opacity: 1;
}

.masonry-card:hover {
    background-color: #1A1A28;
}

.card-short {
    min-height: 200px;
}

.card-tall {
    min-height: 400px;
}

/* Corner Marks */
.corner-mark {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 5;
    transition: width 0.2s ease, height 0.2s ease;
}

.corner-tl {
    top: 0;
    left: 0;
    border-top: 1px solid #2A2A3A;
    border-left: 1px solid #2A2A3A;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid #2A2A3A;
    border-right: 1px solid #2A2A3A;
}

.masonry-card:hover .corner-mark,
.feature-article:hover .corner-mark {
    width: 20px;
    height: 20px;
}

/* Card Accent Bars */
.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.accent-green {
    background-color: #00FF88;
    box-shadow: 0 0 4px rgba(0, 255, 136, 0.4), 0 0 12px rgba(0, 255, 136, 0.15);
}

.accent-pink {
    background-color: #FF3366;
    box-shadow: 0 0 4px rgba(255, 51, 102, 0.4), 0 0 12px rgba(255, 51, 102, 0.15);
}

.accent-blue {
    background-color: #3366FF;
    box-shadow: 0 0 4px rgba(51, 102, 255, 0.4), 0 0 12px rgba(51, 102, 255, 0.15);
}

.masonry-card:hover .accent-green {
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6), 0 0 24px rgba(0, 255, 136, 0.3);
}

.masonry-card:hover .accent-pink {
    box-shadow: 0 0 8px rgba(255, 51, 102, 0.6), 0 0 24px rgba(255, 51, 102, 0.3);
}

.masonry-card:hover .accent-blue {
    box-shadow: 0 0 8px rgba(51, 102, 255, 0.6), 0 0 24px rgba(51, 102, 255, 0.3);
}

/* Card Inner */
.card-inner {
    padding: 1.5rem;
}

.card-meta {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.meta-green {
    color: #00FF88;
    transition: text-shadow 0.2s ease;
}

.meta-green:hover,
.masonry-card:hover .meta-green {
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.meta-dim {
    color: #6B6B80;
}

.card-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 2vw, 2rem);
    color: #FFFFFF;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    line-height: 1.1;
}

.card-body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    line-height: 1.65;
    color: #9B9BB0;
}

/* Card Columns (sidebar layout) */
.card-columns {
    columns: 2;
    column-gap: 1rem;
}

/* Pull Quotes */
.pull-quote {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: #FF3366;
    border: none;
    border-left: 3px solid #FF3366;
    padding-left: 16px;
    line-height: 1.2;
    margin: 0;
    transition: color 0.2s ease;
}

.masonry-card:hover .pull-quote {
    color: #FF6699;
}

/* Typographic Density Cards */
.card-typo {
    background-color: #12121A;
}

.card-typo-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 2rem 1.5rem;
}

.typo-line {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
}

.typo-large { font-size: 2rem; }
.typo-medium { font-size: 1.5rem; }
.typo-small { font-size: 1.2rem; }
.typo-green { color: #00FF88; }
.typo-pink { color: #FF3366; }
.typo-blue { color: #3366FF; }

/* ============================================
   FEATURE ARTICLES
   ============================================ */
.feature-article {
    position: relative;
    background-color: #12121A;
    margin: 24px 0;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.2s ease;
}

.feature-article.visible {
    opacity: 1;
}

.feature-article:hover {
    background-color: #1A1A28;
}

.feature-inner {
    display: flex;
    align-items: stretch;
    min-height: 200px;
}

.feature-left {
    flex: 0 0 60%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-divider {
    flex: 0 0 1px;
    align-self: stretch;
}

.feature-right {
    flex: 0 0 calc(40% - 1px);
    padding: 2rem;
    display: flex;
    align-items: center;
}

.feature-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    text-align: center;
    padding: 60px 40px;
    background-color: #0A0A0F;
}

.footer-rule {
    width: 60px;
    margin: 0 auto 24px;
}

.footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    text-shadow:
        0 0 10px rgba(0, 255, 136, 0.3),
        0 0 30px rgba(0, 255, 136, 0.1);
}

.footer-meta {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6B6B80;
    margin-top: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .masonry-grid {
        columns: 1;
    }

    .feature-inner {
        flex-direction: column;
    }

    .feature-left {
        flex: none;
    }

    .feature-divider {
        width: 100%;
        height: 1px;
        flex: none;
    }

    .feature-right {
        flex: none;
    }

    .card-columns {
        columns: 1;
    }

    .editorial-wall {
        padding: 20px 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .masonry-grid {
        columns: 2;
    }
}
