/* ================= VIDEO-CLIPPED TEXT SECTION ================= */
#video-text-section {
    width: 100%;
    
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-text-wrap {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 22vw;
    max-height: 420px;
    min-height: 90px;
}

.clipped-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: url(#textClip);
    -webkit-clip-path: url(#textClip);
}

.clip-svg {
    position: absolute;
    width: 0;
    height: 0;
}

#clipText {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    fill: black;
    font-size: 280px;
    letter-spacing: 4px;
}

@media (max-width: 640px) {
    .video-text-wrap {
        height: 26vw;
        min-height: 70px;
    }
}

/* =========================================================
   MEDIA + GALLERY SECTION
========================================================= */

#media-gallery {
    width: 100%;
    background: var(--color-secondary);
    overflow: hidden;
}

/* ================= HEADER ================= */

/* ================= MEDIA GALLERY — FILTERABLE MASONRY ================= */

.media-header {
    padding: 80px 24px 40px;
}

.media-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.media-header h2 {
    margin-top: 24px;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-dark);
}

.media-header h2 span {
    font-weight: 400;
}

.media-header p {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ---- Stats ---- */
/* .media-stats {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 44px;
    font-weight: 800;
    color: #11212D;
}

.stat p {
    margin-top: 10px;
    color: #6B7280;
    font-size: 15px;
} */

/* ================= SPOTLIGHT REEL GALLERY ================= */
.spotlight-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 90px;
}

/* ---- Main featured image ---- */
.spotlight-main {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 560px;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: #0b0304;
}

.spotlight-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    opacity: 0;
    transition: opacity .7s ease, transform 1.2s ease;
}

.spotlight-img.visible {
    opacity: 1;
    transform: scale(1);
}

.spotlight-overlay {
    position: absolute;
    left: 32px;
    bottom: 32px;
    z-index: 2;
    color: #fff;
}

.spotlight-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--color-primary);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

.spotlight-overlay h3 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
}

.spotlight-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 3, 4, .8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ---- Progress ring (autoplay indicator) ---- */
.spotlight-ring {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    z-index: 3;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .25);
    stroke-width: 3;
}

.ring-fill {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 119.4;
    stroke-dashoffset: 119.4;
    transition: stroke-dashoffset .1s linear;
}

/* ---- Arrows ---- */
.spotlight-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    z-index: 3;
    transition: background .3s ease, transform .3s ease;
}

.spotlight-arrow:hover {
    background: rgba(255, 255, 255, .2);
}

.spotlight-arrow.prev {
    left: 20px;
}

.spotlight-arrow.next {
    right: 20px;
}

/* ---- Filmstrip ---- */
.filmstrip {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.filmstrip::-webkit-scrollbar {
    height: 5px;
}

.filmstrip::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    opacity: .3;
    border-radius: 4px;
}

.film-thumb {
    flex: 0 0 auto;
    width: 130px;
    height: 84px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    scroll-snap-align: start;
    opacity: .5;
    filter: grayscale(60%);
    transform: scale(.95);
    transition: opacity .35s ease, filter .35s ease, transform .35s ease, box-shadow .35s ease;
    position: relative;
}

.film-thumb:hover {
    opacity: .85;
    filter: grayscale(20%);
}

.film-thumb.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
   box-shadow: 0 0 0 3px var(--color-primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1023px) {
    .spotlight-main {
        height: 48vh;
        min-height: 280px;
    }

    .film-thumb {
        width: 110px;
        height: 72px;
    }
}

@media (max-width: 640px) {
    .spotlight-wrap {
        padding: 0 16px 60px;
    }

    .spotlight-main {
        height: 42vh;
        min-height: 220px;
        border-radius: 18px;
    }

    .spotlight-overlay {
        left: 18px;
        bottom: 18px;
    }

    .spotlight-overlay h3 {
        font-size: 18px;
    }

    .spotlight-cat {
        font-size: 9px;
        padding: 4px 10px;
    }

    .spotlight-ring {
        width: 34px;
        height: 34px;
        top: 14px;
        right: 14px;
    }

    .spotlight-arrow {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .spotlight-arrow.prev {
        left: 10px;
    }

    .spotlight-arrow.next {
        right: 10px;
    }

    .filmstrip {
        gap: 10px;
    }

    .film-thumb {
        width: 90px;
        height: 60px;
        border-radius: 8px;
    }
}