/* --- Hero Section - Scroll Container --- */
.hero-scroll-container {
    height: 300vh;
    position: relative;
    margin-top: 0;
}

/* Sticky Scene */
.hero-sticky-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Content Wrapper */
.hero-content {
    position: relative;
    height: 100vh;
    padding: 0 80px;
}

/* Title Area - centered */
.hero-title-section {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}
.hero-title {
    line-height: 1.1;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 20px;   
}

/* Black title layer */
.title-layer-black {
    color: #000;
}

/* White title layer - overlays black, clips to reveal */
.title-layer-white {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    clip-path: inset(100% 0 0 0);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* --- Video Container --- */
/* Real dimensions, anchored to bottom-center */
.video-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 84%;             /* Matches initialScaleX */
    height: 56vh;           /* Matches initialScaleY */
    overflow: hidden;
    z-index: 1;
    will-change: width, height;
}

/* The video element is always full viewport height inside the clipping box.
   This means the content is never squished — only the window onto it changes. 
*/
.video-box video {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center bottom;
}


/* Responsive */


@media (min-width: 1200px) {
    .hero-title-section {
        top: 150px !important;
    }
}
@media (min-width: 1600px) {
    .hero-title-section {
        top: 24vh !important;
    }
}

@media (max-width: 1200px) {
    .hero-title-section {
        top: 22vh !important;
        top: clamp(120px, 22vh, 300px) !important;
    }
}
@media (max-width: 960px) {
    .hero-content {
        padding: 0 20px;
    }
    .video-box {
        width: 80%;
    }
}
@media (max-width: 640px) {
    .hero-scroll-container {
        height: 150vh;
    }
}