/* =============================================
   HERO — Hero Split Section
   Loaded on index.html only.
   ============================================= */

.hero-split {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--kelly-green);
}

/* VHS scanline sweeping down the hero */
.hero-split::after {
    content: '';
    position: absolute;
    left: 0; top: -4px;
    width: 100%; height: 4px;
    background: linear-gradient(transparent, rgba(76,187,23,0.55), transparent);
    animation: vhs-scan 7s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes vhs-scan {
    from { top: -4px; }
    to   { top: 100%; }
}

/* Constellation canvas — sits behind all hero content */
#hero-bg-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.75;
}

.hero-left, .hero-right {
    position: relative;
    z-index: 1;
}

.giant-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px var(--kelly-green);
    margin: 0;
}

.giant-horizontal {
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.7;
    color: var(--kelly-green);
    position: relative;
    display: inline-block;
    margin: 0;
    transition: transform 0.05s linear, filter 0.05s linear, text-shadow 0.05s linear;
}

/* Random glitch spike — applied via JS briefly */
.hero-glitch-spike {
    transform: translateX(9px) skewX(-3deg) !important;
    filter: hue-rotate(160deg) brightness(2.8) !important;
    text-shadow: -12px 0 #cc00ff, 12px 0 #00ccff, 0 0 40px rgba(76,187,23,1) !important;
    transition: none !important;
}

.hero-meta {
    margin-top: 20px;
    border-top: 1px solid var(--kelly-green);
    padding-top: 10px;
    font-family: monospace;
    color: var(--kelly-green);
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- MARQUEE STRIP --- */
.marquee-strip {
    overflow: hidden;
    border-top: 1px solid var(--kelly-green);
    border-bottom: 1px solid var(--kelly-green);
    background: var(--black);
    padding: 13px 0;
    white-space: nowrap;
    user-select: none;
}

.marquee-track {
    display: inline-flex;
    animation: marquee-scroll 24s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track span {
    font-family: 'Arial Black', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--kelly-green);
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.3333%); }
}

/* --- HERO TEASERS (index.html teaser row below hero) --- */
.hero-teasers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-top: 1px solid #222;
}

.teaser-block {
    padding: 60px 5%;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--black);
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

/* Light scan sweep on hover */
.teaser-block::before {
    content: '';
    position: absolute;
    top: 0; left: -70%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76,187,23,0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.teaser-block:hover::before {
    animation: teaser-scan 0.55s ease forwards;
}

@keyframes teaser-scan {
    from { left: -70%; }
    to   { left: 130%; }
}

.teaser-block > * { position: relative; z-index: 1; }

.teaser-block:last-child { border-right: none; }
.teaser-block:hover { background: #0d0d0d; }

.teaser-label {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--kelly-green);
    text-transform: uppercase;
}

.teaser-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
}

.teaser-meta {
    font-family: monospace;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 1px;
}

.teaser-link {
    margin-top: 8px;
    display: inline-block;
    color: var(--kelly-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--kelly-green);
    padding-bottom: 2px;
    width: fit-content;
    transition: opacity 0.2s;
}

.teaser-link:hover { opacity: 0.7; }

@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 90px;
    }
    .giant-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(4rem, 15vw, 8rem);
        line-height: 0.8;
        margin-bottom: 0;
        -webkit-text-stroke: 1px var(--kelly-green);
    }
    .giant-horizontal {
        font-size: clamp(4rem, 15vw, 8rem);
        line-height: 0.8;
    }
    .hero-meta {
        font-size: 1rem;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-teasers {
        grid-template-columns: 1fr;
    }
    .teaser-block {
        border-right: none;
        border-bottom: 1px solid #222;
        padding: 40px 5%;
    }
}

@media (max-width: 480px) {
    .giant-vertical, .giant-horizontal {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}
