
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--bg-dark); /* prevent any bleed showing page bg */
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115%; /* extra height absorbs any yPercent parallax shift */
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

/* Hero Gradient Overlay */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 100%
    );
}

/* Hero Vignette */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8vw;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

/* Word Animation */
.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: wordReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    color: #ffff;
}

.word:nth-child(1) {
    animation-delay: 0.3s;
}

.word:nth-child(2) {
    animation-delay: 0.45s;
}

.word:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 450px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero CTA Button */
.hero-cta {
    margin-top: 2.5rem;
    padding: 1rem 2rem;
    border: 1px solid var(--border-light);
    color: var(--bg-dark);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.1s;
    width: fit-content;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-white);
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
}

.hero-cta:hover::before {
    transform: translateY(0);
}

.hero-cta span {
    position: relative;
    z-index: 1;
    transition: color var(--transition-smooth);
}

.hero-cta:hover span {
    color: var(--bg-dark);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator svg {
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: 'Scroll';
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hero Page Variant (Models Page) */
.hero-page {
    height: 70vh;
    min-height: 500px;
}

.hero-page .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 5vw;
        padding-top: 4rem;
    }
    
    .hero-text h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-gradient {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.3) 100%
        );
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .hero-page {
        height: 50vh;
        min-height: 400px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-text h2 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}
