/* ============================================
   HERO INTRO - Title fixed, fades on scroll
   Bento scrolls over it naturally
   ============================================ */

/* Title wrapper: reserves space in flow */
.hero-zoom-title-wrapper {
    height: 70vh;
    position: relative;
    z-index: 1;
}

/* Title: fixed to viewport, fades via JS */
.hero-zoom-title {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    padding: 0 var(--space-6);
    font-size: clamp(var(--text-7xl), 8vw, var(--text-display));
    font-weight: var(--weight-extrabold);
    line-height: var(--leading-none);
    text-align: center;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 50%, var(--public-accent-secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    z-index: 1;
    pointer-events: none;
    box-sizing: border-box;
}

/* Bento: normal flow, scrolls over the title */
.hero-zoom-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-zoom-title-wrapper {
        height: 60vh;
    }

    .hero-zoom-title {
        top: 80px;
    }
}
