@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:ital,wght@0,100..900;1,100..900&family=Black+Ops+One&family=Khand:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

html.lenis {
    height: auto;
    }
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* GLOBAL */
:root {
    --main-clr: #0c0c0c;
    --sec-clr: #f8f8ff;
    --trd-clr: #A2171B;
    --xtra-clr: #1b1b1b;

    --ttl-txt: "Alumni Sans", sans-serif;
    --bdy-txt: "Khand", sans-serif;;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ttl-txt);
    background-color: var(--main-clr);
    color: var(--sec-clr);
}

.red-text {
    color: var(--trd-clr);
}

a {
    text-decoration: none;
    color: inherit;
}

.first-button {
    text-align: center;
    font-size: 20px;
    width: 250px;
    padding: 12px 0;
    background-color: var(--sec-clr);
    color: var(--main-clr);
    border: 2px solid var(--sec-clr);
    border-radius: 3px;
    transition: 500ms;
    &:hover {
        border-color: var(--trd-clr);
        background-color: var(--trd-clr);
        color: var(--sec-clr);
    }
}
.second-button {
    text-align: center;
    font-size: 20px;
    width: 250px;
    padding: 12px 0;
    background-color: none;
    color: var(--sec-clr);
    border: 2px solid var(--sec-clr);
    border-radius: 3px;
    transition: 500ms;
    &:hover {
        border-color: var(--trd-clr);
        background-color: var(--trd-clr);
        color: var(--sec-clr);
    }
}

@media only screen and (max-width: 750px) {
    .first-button {
        width: 200px;
    }
    .second-button {
        width: 200px;
    }
}

@media only screen and (max-width: 450px) {
    .first-button {
        font-size: 16px;
        width: 100%;
    }
    .second-button {
        margin-top: 10px;
        font-size: 16px;
        width: 100%;
    }
}
/* GLOBAL END */










/* NAVIGATION START */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    transition: 500ms;
    background: transparent;
    .logo-container {
        width: 250px;
        height: auto;
        margin-right: 100px;
        transition: 300ms;
        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
    .menu-container {
        list-style-type: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 700px;
        .menu-choice {
            font-size: 20px;
            text-transform: uppercase;
            font-weight: 500;
            color: var(--sec-clr);
            transition: 500ms;
            cursor: pointer;
            &:last-child {
                margin: 0;
                background-color: var(--sec-clr);
                color: var(--main-clr);
                border-radius: 3px;
                padding: 5px 40px;
                &:hover {
                    background-color: var(--trd-clr);
                    color: var(--sec-clr);
                }
            }
            &:hover {
                color: var(--trd-clr);
            }
        }
    }
    .burger-container {
        width: 65px;
        height: 65px;
        border-radius: 100px;
        background-color: var(--sec-clr);
        cursor: pointer;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .menu-line {
            position: absolute;
            width: 35px;
            height: 4px;
            background-color: var(--main-clr);
            margin: 4px 0;
            border-radius: 5px;
        }
        .burger-one {
            margin-top: -13px;
        }
        .burger-three {
            margin-top: 22px;
        }
    }
}

@media only screen and (max-width: 850px) {
    nav {
        .menu-container {
            display: none;
        }
        .logo-container {
            width: 200px;
            height: auto;
            margin-right: 0;
        }
        .burger-container {
            display: flex;
        }
    }
}

@media only screen and (max-width: 450px) {
    nav {
        .logo-container {
            width: 170px;
        }
        .burger-container {
            width: 50px;
            height: 50px;
            .menu-line {
                width: 28px;
                height: 3px;
            }
            .burger-one {
                margin-top: -10px;
            }
            .burger-three {
                margin-top: 19px;
            }
        }
    }
}


.mobile-menu-container {
    width: 100%;
    height: 100%;
    margin-top: 150px;
    .menu-container {
        list-style-type: none;
        .menu-choice {
            font-size: 8vw;
            border-bottom: 2px solid #2b2b2b;
            padding: 20px 0;
            &:last-child {
                border-bottom: 0px;
            }
        }
    }
}

.arrowUp {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 20px;
    width: 65px;
    height: 65px;
    z-index: 199;
    padding: 20px;
    background-color: #121212;
    border-radius: 50%;
    transition: 300ms;
    border: 1px solid #f8f8ff;
    & img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    &:hover {
        filter: invert(1);
    }
}

/* =========================================
   FIX: MOBILE OVERLAY MENU SHOULD NOT SHOW ON DESKTOP
========================================= */

/* Desktop/default: hide the mobile overlay UI */
#overlayMenu,
.menu-overlay-container{
  display: none;
}

/* Desktop nav menu only (prevents overlay inheriting flex layout) */
nav .menu-container{
  display: flex;
}

/* Overlay menu list should be vertical */
#overlayMenu .menu-container{
  display: block;
  padding: 0;
  margin: 0;
}

/* Mobile behavior */
@media only screen and (max-width: 850px){

  /* nav menu hidden, burger shown (you already have this, but safe) */
  nav .menu-container{
    display: none;
  }

  /* allow mobile overlay UI to exist */
  #overlayMenu,
  .menu-overlay-container{
    display: flex;
  }

  /* start closed; JS opens by changing height */
  #overlayMenu{
    height: 0%;
    overflow: hidden;
  }
}

/* overlay hidden by default */
#overlayMenu{
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #1b1b1b;
  z-index: 200;
}

/* when opened */
#overlayMenu.is-open{
  display: flex;
}


/* NAVIGATION END */









/* OVERLAY MENU START */
.menu-overlay-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--xtra-clr);
    z-index: 101;
    .burger-container-2 {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        padding: 50px 20px 0 0;
        .burger-menu {
            width: 65px;
            height: 65px;
            border-radius: 100px;
            background-color: var(--sec-clr);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            .menu-line {
                width: 35px;
                height: 4px;
                background-color: var(--main-clr);
                margin: 2px 0;
                border-radius: 5px;
                transition: 300ms;
                .burger-one {
                    margin: 2px 0 0;
                }
                .burger-two {
                    opacity: 0;
                }
                .burger-three {
                    margin-top: 3px;
                }
            }
        }
    }
}

@media only screen and (max-width: 450px) {
    .menu-overlay-container {
        .burger-container-2 {
                .burger-menu {
                width: 50px;
                height: 50px;
                    .menu-line {
                    width: 28px;
                    height: 3px;
                }
            }
        }
    }
}

/* overlayMenu starts hidden and unclickable */
#overlayMenu{
  display: none;
  height: 0%;
  pointer-events: none;
}

/* ===== LEFT DRAWER MENU (overlayMenu) ===== */
#overlayMenu{
  justify-content: flex-start; /* drawer on left */
  background: rgba(0,0,0,0.35); /* dim but still visible */
  backdrop-filter: blur(2px);   /* optional */
}

/* drawer panel */
#overlayMenu .work-overlay-content{
  width: min(78vw, 340px);  /* drawer width */
  height: 100%;
  background: #111;         /* panel color */
  box-shadow: 12px 0 30px rgba(0,0,0,0.5);
  padding: 22px 18px;
  justify-content: flex-start;
  align-items: flex-start;

  /* slide animation */
  transform: translateX(-100%);
  transition: transform 300ms ease;
}

/* when opened (your JS sets height 100% + display flex) */
#overlayMenu[style*="height: 100%"] .work-overlay-content{
  transform: translateX(0);
}

/* close button stays top-left inside drawer */
#overlayMenu .work-overlay-close{
  position: relative;
  top: 0;
  right: 0;
  margin-bottom: 26px;
}

/* menu list spacing */
#overlayMenu .mobile-menu-container{
  margin-top: 0;
  width: 100%;
}

#overlayMenu .mobile-menu-container .menu-choice{
  width: 100%;
}


/* OVERLAY MENU END */

/* OPENING START */
.opening-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;

    & video {
        position: fixed;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: hsla(0, 0%, 5%, 0.75);
        display: flex;
        flex-direction: column;
        z-index: 3;
        padding: 250px 0 0 20px;

        .opening-title {
            text-transform: capitalize;
            font-size: 7vw;
            line-height: 6.5vw;
            font-weight: 400;
            width: 100%;
            max-width: 60%;
        }

        .opening-description {
            margin-top: 3vw;
            font-size: 24px;
            width: 100%;
            max-width: 40%;
        }

        /* EXISTING BUTTON CONTAINER */
        .opening-button-container {
            width: 100%;
            max-width: 520px;
            margin-top: 50px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        /* ================================
           NEW: DUAL ENTRY BUTTONS
        ================================ */
        .opening-button-container.dual-entry {
            max-width: 560px;
            gap: 18px;
            justify-content: flex-start;
        }

        .entry-btn {
            flex: 1;
            min-width: 220px;
            padding: 18px 22px;
            border-radius: 10px;
            text-decoration: none;
            color: #fff;

            display: flex;
            flex-direction: column;
            gap: 6px;

            background: rgba(0, 0, 0, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(6px);

            transition: 350ms ease;
        }

        .entry-label {
            font-size: 11px;
            letter-spacing: 2px;
            opacity: 0.8;
            text-transform: uppercase;
        }

        .entry-action {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.1;
        }

        /* VFX (red accent) */
        .entry-vfx {
            border-left: 4px solid var(--sec-clr);
        }

        .entry-vfx:hover {
            background: rgba(162, 23, 27, 0.22);
        }

        /* ECOM (same palette, white accent) */
        .entry-ecom {
            border-left: 4px solid rgba(255, 255, 255, 0.9);
        }

        .entry-ecom:hover {
            background: rgba(255, 255, 255, 0.14);
        }

        .entry-btn:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.55);
        }
    }

    .opening-social-container {
        position: absolute;
        width: 100%;
        height: 60px;
        z-index: 3;
        bottom: 0;
        left: 0;
        padding: 0 20px 40px 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
}

.social-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 150px;

    .social-icon {
        width: 50px;
        height: 50px;
        border-radius: 100px;
        padding: 10px;
        border: 2px solid var(--sec-clr);
        transition: 500ms;
        cursor: pointer;

        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        &:hover {
            background-color: var(--sec-clr);

            & img {
                filter: invert(1);
            }
        }
    }
}


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

@media only screen and (max-width: 1050px) {
    .opening-video-container {
        .video-overlay {
            padding: 200px 0 0 20px;

            .opening-title {
                max-width: 65%;
            }

            .opening-description {
                font-size: 20px;
                max-width: 50%;
            }
        }
    }
}

@media only screen and (max-width: 750px) {
    .opening-video-container {
        .video-overlay {
            padding: 150px 0 0 20px;

            .opening-title {
                font-size: 55px;
                line-height: 50px;
                max-width: 80%;
            }

            .opening-description {
                font-size: 18px;
                max-width: 60%;
            }

            .opening-button-container {
                max-width: 420px;
            }

            .entry-btn {
                min-width: 200px;
                padding: 16px 18px;
            }

            .entry-action {
                font-size: 16px;
            }
        }
    }
}

@media only screen and (max-width: 450px) {
    .opening-video-container {
        .video-overlay {
            padding: 170px 20px 0 20px;
            text-align: center;

            .opening-title {
                font-size: 37px;
                line-height: 35px;
                max-width: 100%;
            }

            .opening-description {
                font-size: 18px;
                max-width: 100%;
            }

            .opening-button-container {
                max-width: 100%;
                margin-top: 20px;
                flex-direction: column;
            }

            .opening-button-container.dual-entry {
                gap: 14px;
            }

            .entry-btn {
                width: 100%;
                min-width: 0;
            }
        }
    }
}

.opening-social-container {
    .social-list {
        width: 160px;

        .social-icon {
            width: 45px;
            height: 45px;
        }
    }
}
/* OPENING FIX: always full screen */
.opening{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.opening-video-container{
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.opening-video-container video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* OPENING END */







.section-container {
    position: relative;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}





/* ABOUT */
.about {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--main-clr);
    z-index: 3;
    padding: 100px 20px;
}

.about-title {
    position: absolute;
    font-size: 24vw;
    opacity: 3%;
    top: -17vw;
    left: 0;
}

.about-video {
    width: 100%;
    max-width: 50%;
    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.about-content {
    margin-top: 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    .about-text-container {
        width: 100%;
        max-width: 47%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: right;
        .about-description {
            font-size:35px;
        }
        .mission-container {
            margin-top: 50px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: left;
            .mission-title {
                font-size: 40px;
                font-weight: 500;
                margin-top: -5px;
            }
            .mission-description {
                margin: 10px 0 0 10px;
                font-size: 23px;
                width: 100%;
                font-style: italic;
            }
        }
    }
}

@media only screen and (max-width: 1100px) {
    .about-content {
        flex-direction: row;
        .about-text-container {
            text-align: left;
            .about-description {
                font-size:30px;
            }
            .mission-container {
                margin-top: 50px;
                .mission-description {
                    font-size: 20px;
                }
            }
        }
    }
}

@media only screen and (max-width: 850px) {
    .about-video {
        max-width: 100%;
        height: 500px;
    }
    .about-title {
        top: -20vw;
    }
    .about-content {
        flex-direction: column;
        .about-text-container {
            text-align: left;
            max-width: 100%;
            .about-description {
                margin-top: 40px;
            }
            .mission-container {
                margin-top: 50px;
                .mission-description {
                    font-size: 20px;
                }
            }
        }
    }
}

@media only screen and (max-width: 550px) {
    .about-title {
        top: -28vw;
        font-size: 35vw;
    }
}

@media only screen and (max-width: 450px) {
    .about-video {
        height: 400px;
    }
    .about-content {
        .about-text-container {
            .about-description {
                font-size: 22px;
            }
            .mission-container {
                .mission-title {
                    font-size: 30px;
                }
                .mission-description {
                    font-size: 18px;
                }
            }
        }
    }
}
/* ABOUT END */










/* SERVICE */
.service {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--xtra-clr);
    z-index: 3;
    padding: 0 20px;
    margin-top: -2px;
    .service-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 50px 0 0;
        .text-container {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding-bottom: 30px;
            height: 16vw;
            .service-description {
                font-family: var(--bdy-txt);
                margin-top: 30px;
                font-size: 35px;
                line-height: 40px;
                width: 100%;
                max-width: 750px;
                font-weight: 300;
            }
        }
        .service-title {
            position: absolute;
            font-size: 24vw;
            opacity: 3%;
            top: 0;
            right: -50px;
        }
    }
}

.service-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: 300ms;
    overflow: hidden;
    height: 900px;
}

.service-case {
    position: relative;
    width: 100%;
    max-width: calc(50% - 20px);
    height: 100%;
    .service-content {
        width: 100%;
        position: relative;
        overflow: hidden;
        padding: 30px 40px 20px;
        border: 0.5px solid #2b2b2b;
        background-color: #1b1b1b8f;
        backdrop-filter: blur(5px);
        margin: 20px 0;
        & h3 {
            font-weight: 300;
            font-size: 40px;
            text-transform: uppercase;
            font-weight: 200;
            max-width: 80%;
        }
        .service-p {
            margin-top: 20px;
            font-size: 24px;
            height: 0;
            overflow: hidden;
            transition: 300ms;
        }
        & img {
            position: absolute;
            width: 250px;
            height: 250px;
            opacity: 0.09;
            bottom: -25px;
            right: -35px;
            filter: blur(5px);
        }
        #service-readmore {
            font-size: 24px;
            position: absolute;
            right: 35px;
            top: 45px;
            cursor: pointer;
            transition: 300ms;
            z-index: 10;
        }
        &:hover {
            .service-p {
                height: 160px;
            }
            #service-readmore {
                color: var(--trd-clr);
            }
        }
    }
}

@media only screen and (max-width: 1500px) {
    .service-container {
        height: 900px;

    }
    .service-case {
        .service-content {
            & h3 {
                font-size: 35px;
            }
        }
    } 
}

@media only screen and (max-width: 1450px) {
    .service {
        .service-wrapper {
            .text-container {
                height: 150px;
                .service-description {
                    font-size: 24px;
                    line-height: 25px;
                    max-width: 450px;
                }
            }
            .service-title {
                font-size: 20vw;
            }
            .service-title {
                right: -30px;
            }
        }
    }
    
    .service-container {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-evenly;
        margin-top: -20px;

    }
}

@media only screen and (max-width: 1350px) {
    .service-case {
        .service-content {
            & h3 {
                font-size: 30px;
            }
        }
    } 
}

@media only screen and (max-width: 1200px) {
    .service-container {
        height: 950px;
        .service-content {
            &:hover {
                .service-p {
                    height: 185px;
                }
                #service-readmore {
                    color: var(--trd-clr);
                }
            }
        } 
    }
}

@media only screen and (max-width: 1050px) {
    .service-container {
        flex-wrap: wrap;
        height: auto;
    }
    .service-case {
        max-width: 100%;
        &:nth-child(even) {
            margin-top: -20px;
            margin-bottom: 50px;
        }
    } 
}

@media only screen and (max-width: 550px) {
    .service {
        .service-wrapper {
            .service-title {
                font-size: 30vw;
            }
        }
    }
    .service-case {
        .service-content {
            & h3 {
                font-size: 22px;
            }
            #service-readmore {
                top: 32px;
                font-size: 20px;
            }
            .service-p {
                font-size: 20px;
            }
            &:hover {
                .service-p {
                    height: 220px;
                }
            }
        }
    } 
}

@media only screen and (max-width: 450px) {
    .service {
        .service-wrapper {
            .text-container {
                height: 140px;
                .service-description {
                    font-size: 20px;
                }
            }
            .service-title {
                font-size: 30vw;
            }
        }
    }
}

@media only screen and (max-width: 400px) {
    .service-case {
        .service-content {
            & h3 {
                font-size: 20px;
            }
        }
    } 
}
/* SERVICE END */










/* CLIENT */
.client {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--xtra-clr);
    z-index: 3;
    padding: 50px 0 20px;
    margin-top: -2px;
}

.client-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 100px;
}

.client-des {
    font-family: var(--bdy-txt);
    font-size: 35px;
    line-height: 40px;
    font-weight: 300;
    text-align: right;
}

.client-title {
    position: absolute;
    font-size: 24vw;
    opacity: 3%;
    top: -100px;
    left: -30px;
}

.client-slider-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    padding: 0px 0 60px;
    height: 300px;
}

.client-slider {
	height: 170px;
	margin: auto;
	overflow:hidden;
	position: relative;
	width: auto;
    background-color: #f8f8ff;
	.client-slide-track {
		animation: client-scroll 30s linear infinite;
		display: flex;
		width: calc(254px * 14);
	}
	.client-slide {
        border-top: 5px dashed #0c0c0c;
        border-bottom: 5px dashed #0c0c0c;
		height: 150px;
		width: 250px;
        padding: 25px 35px;
        background-color: #f8f8ff;
        margin: 10px 2px;
        filter: grayscale(1);
        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
	}
}

@keyframes client-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-254px * 7))}
}


@media only screen and (max-width: 1450px) {
    .client-wrapper {
        padding-top: 40px;
    }
    .client-des {
        font-size: 27px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 1050px) {
    .client-wrapper {
        padding-top: 0px;
    }
    .client-title {
        font-size: 26vw;
    }
}

@media only screen and (max-width: 1050px) {
    .client-wrapper {
        padding-top: 0px;
    }
    .client-title {
        font-size: 26vw;
    }
    .client-des {
        font-size: 24px;
    }
}

@media only screen and (max-width: 750px) {
    .client-title {
        font-size: 35vw;
        margin-top: 50px;
    }
    .client-wrapper {
        display: flex;
        justify-content: flex-end;
    }
    .client-des {
        line-height: 29px;
        max-width: 70%;
    }
}

@media only screen and (max-width: 550px) {
    .client-title {
        top: -100px;
    }

    .client-slider-container {
        height: 250px;
    }

    .client-slider {
        height: 140px;
        .client-slide-track {
            width: calc(204px * 14);
        }
        .client-slide {
            height: 120px;
            width: 200px;
        }
    }

    @keyframes client-scroll {
        100% { transform: translateX(calc(-204px * 7))}
    }
}

@media only screen and (max-width: 450px) {
    .client-title {
        margin-top: 70px;
    }
    .client-des {
        font-size: 20px;
        line-height: 25px;
        max-width: 90%;
    }
}
/* CLIENT END */











/* =========================================
   WORK (POSTER GALLERY TEMPLATE) - SAFE SCOPED
========================================= */

/* HERO */
.work .work-hero{
  position: relative;
  width: 100%;
  border: 0.5px solid #2b2b2b;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 30px;
}

/* IMAGE HERO (fallback / optional) */
.work .work-hero-img{
  width: 100%;
  height: clamp(260px, 40vw, 520px);
  object-fit: cover;
  display: block;
  filter: grayscale(0.05);
}

/* VIDEO HERO (NEW) */
.work .work-hero-video{
  width: 100%;
  height: clamp(260px, 40vw, 520px);
  object-fit: cover;
  display: block;
  filter: grayscale(0.05);
}

/* OVERLAY */
.work .work-hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}

.work .work-hero-title{
  letter-spacing: 8px;
  font-weight: 600;
  font-size: clamp(22px, 3.6vw, 44px);
  text-transform: uppercase;
  color: #fff;
}

/* GROUP */
.work .work-group{
  margin-top: 28px;
}

.work .work-group-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.work .work-group-title{
  font-size: 20px;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* GRID */
.work .work-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* POSTER */
.work .work-poster{
  display: block;
  cursor: default; /* template only */
}

.work .work-poster-img{
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 0.5px solid #2b2b2b;
  background: #111;
}

/* Per image opacity */
.work .work-poster-img img[src*="HUWAG KANG TITINGIN"]{
  opacity: 0.2;
}

.work .work-poster-img img[src*="MANIPULA"]{
  opacity: 0.2;
}

.work .work-poster-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2);
  transition: 250ms;
}

.work .work-poster:hover .work-poster-img img{
  filter: grayscale(0);
  transform: scale(1.02);
}

.work .work-poster-meta{
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  font-family: var(--bdy-txt);
  font-size: 14px;
  opacity: 0.85;
  text-align: center;
}

.work .work-poster-name{
  margin: 0;
}

.work .work-poster-year{
  margin: 0;
  opacity: 0.7;
}

/* RESPONSIVE */
@media only screen and (max-width: 1200px){
  .work .work-grid{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width: 900px){
  .work .work-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 650px){
  .work .work-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .work .work-hero-title{
    letter-spacing: 5px;
  }
}

@media only screen and (max-width: 420px){
  .work .work-grid{
    grid-template-columns: 1fr;
  }
}

/* MOBILE SPACING FIX */
@media only screen and (max-width: 650px){
  .work .section-container{
    padding-left: 16px;
    padding-right: 16px;
  }

  .work .work-hero{
    margin-top: 18px;
  }
}

@media only screen and (max-width: 420px){
  .work .section-container{
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media only screen and (max-width: 650px){
  .work{
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* WORK END */










/* WHY US */
.whyUs {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--main-clr);
    z-index: 3;
    padding: 200px 20px 0px;
}

.whyUs-text {
    position: relative;
    width: 100%;
    height: 100px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.whyUs-title {
    position: absolute;
    font-size: 22vw;
    opacity: 3%;
    top: -11vw;
    left: -5vw;
}

.whyUs-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    .whyUs-card {
        width: 100%;
        max-width: calc(50% - 40px);
        height: 350px;
        padding: 40px 30px;
        margin: 20px;
        border: 0.5px solid #2b2b2b;
        backdrop-filter: blur(5px);
        text-align: center;
        & h3 {
            font-family: var(--ttl-txt);
            margin: 10px 0 15px;
            font-size: 40px;
            line-height: 35px;
            font-weight: 500;
        }
        & p {
            font-size: 24px;
        }
    }
}

@media only screen and (max-width: 1350px) {
    .whyUs {
        padding-top: 150px;
    }
    .whyUs-text {
        height: 70px;
    }
}

@media only screen and (max-width: 1200px) {
    .whyUs-container {
        .whyUs-card {
            height: 400px;
        }
    }
}

@media only screen and (max-width: 1000px) {
    .whyUs-text {
        height: 50px;
    }
    .whyUs-container {
        .whyUs-card {
            height: 480px;
        }
    }
}

@media only screen and (max-width: 750px) {
    .whyUs-text {
        height: 100px;
    }
    .whyUs-title {
        font-size: 35vw;
    }
    .whyUs-container {
        .whyUs-card {
            max-width: 100%;
            height: auto;
            margin: 20px 0;
        }
    }
}

@media only screen and (max-width: 1350px) {
    .whyUs {
        padding-top: 80px;
    }
    .whyUs-text {
        height: 50px;
    }
}
/* WHY US END */












/* MEMBERS */
.ceo {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--main-clr);
    z-index: 3;
    padding: 100px 20px 100px;
    text-align: center;
    overflow: hidden;
    margin-top: -2px;
}

.member-title {
    position: absolute;
    font-size: 22vw;
    opacity: 3%;
    top: -11vw;
    right: -5vw;
}

.ceo-sub-title {
    font-family: var(--ttl-txt);
    font-size: 45px;
    font-weight: 500;
    margin: 50px 0 100px;
}

.ceo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    & h2 {
        width: 100%;
        text-align: center;
    }
}

.ceo-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    background: #0c0c0c;
    background: linear-gradient(180deg,#0c0c0c 0%, #121212 65%);
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 100%;
    min-height: 250px;
    border: 0.5px solid #1b1b1b;
    border-top: 0;
    margin: 50px 20px;
}

.ceo-img {
    position: absolute;
    width: 220px;
    height: 220px;
    top: -70px;
    border-radius: 50%;
    border: 10px solid #0c0c0c;
    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
}

.ceo-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 0 20px;
}

.ceo-text {
    text-align: center;
    & h3 {
        font-size: 25px;
    }
    & p {
        margin-top: 0px;
        font-size: 16px;
    }
}

.ceo-social-container {
    display: flex;
    flex-direction: row;
    display: none;
    .ceo-social {
        width: 20px;
        height: 20px;
        margin: 0 0 0 10px;
        transition: 300ms;
        cursor: pointer;
        & img {
            width: 100%;
            height: 100%;
        }
        &:hover {
            width: 22px;
            height: 22px;
            filter: contrast(0);
            margin: -1px -1px -1px 9px;
        }
    }
}

@media only screen and (max-width: 1440px) {
    .member-title {
        right: -1vw;
    }
}

@media only screen and (max-width: 750px) {
    .ceo {
        padding: 50px 20px 100px;
    }
    .member-title {
        font-size: 35vw;
    }
    .ceo-sub-title {
        margin: 20px 0 50px;
    }
}

@media only screen and (max-width: 550px) {
    .member-title {
        top: -25vw;
    }
}
/* MEMBERS END */


/* footer */
/* footer */
footer {
  position: relative;
  z-index: 100;
  padding: 150px 0 0;
  min-height: 450px;
  background-color: #0c0c0c;
  margin-top: -2px;
}

.footer-wrapper {
  position: relative;
  width: 100%;
  min-height: 450px;
  background-color: #1b1b1b;
  border-top-right-radius: 100px;
  padding: 50px 20px 10px;
}

.footer-wrapper .footer-title {
  position: absolute;
  font-size: 17vw;
  line-height: 0;
  opacity: 0.03;
  top: -20px;
  left: -70px;
  font-weight: 700;
}

.footer-wrapper .footer-logo-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer-wrapper .footer-logo-container h2 {
  text-transform: uppercase;
}

.footer-wrapper .footer-logo-container .footer-sub-title {
  text-transform: capitalize;
  font-size: 40px;
  font-weight: 500;
}

.footer-wrapper .footer-logo-container .logo-container {
  width: 340px;
  height: 120px;
}

.footer-wrapper .footer-logo-container .logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px;
}

.footer-container {
  display: flex;
  flex-direction: row;
  font-size: 25px;
  z-index: 10;
}

.footer-container .footer-content:nth-child(2) {
  margin-left: 20%;
}

.footer-container .footer-content a {
  cursor: pointer;
  transition: 500ms;
}

.footer-container .footer-content a:hover {
  color: var(--trd-clr);
}

.footer-content-low {
  width: 100%;
  margin-bottom: 20px;
  margin-top: 70px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-content-low .social-list {
  width: 170px;
}

.footer-content-low .copyright-text {
  margin: 20px 0 0;
  font-size: 20px;
}

/* responsive */
@media only screen and (max-width: 750px) {
  .footer-wrapper .footer-title {
    font-size: 35vw;
  }
}

@media only screen and (max-width: 650px) {
  .footer-main-container {
    height: 500px;
  }

  .footer-container {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  }

  .footer-container .footer-content {
    margin-top: 50px;
  }

  .footer-container .footer-content:nth-child(2) {
    margin-left: 0;
  }

  .footer-wrapper .footer-logo-container .logo-container {
    width: 240px;
    height: 100px;
  }

  .footer-wrapper .footer-title {
    left: -40px;
  }
}

@media only screen and (max-width: 450px) {
  .footer-wrapper .footer-title {
    top: -50px;
  }

  .footer-wrapper .footer-logo-container .logo-container {
    width: 200px;
    height: 100px;
  }

  .footer-wrapper .footer-logo-container .footer-sub-title {
    font-size: 35px;
  }

  .footer-container {
    font-size: 22px;
  }

  .footer-content-low {
    flex-direction: column-reverse;
    align-items: center;
  }
}
/* footer end */
/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(6px);
  transition: transform 450ms ease, opacity 450ms ease;
}

/* active state (cover the page) */
.page-transition.is-active {
  opacity: 1;
  transform: scaleY(1);
}

/* optional: little red accent line */
.page-transition::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  width: 100%;
  background: #A2171B;
}

/* ===== Page Slide Loader Transition (Brand) ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;

  /* brand look */
  background: #0c0c0c;
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

/* red accent bar */
.page-loader::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  width: 100%;
  background: #A2171B;
}

/* when we start leaving the page */
.page-loader.is-active {
  transform: translateX(0%);
}

/* when we reveal the page after load */
.page-loader.is-done {
  transform: translateX(100%);
}

/* disable hover during transition (optional, same idea as codepen) */
html.disable-hover *:hover {
  pointer-events: none !important;
}

/* ================================
   HERO VIDEO (Pixar-style idea)
================================ */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;          /* ✅ FULL viewport height */
  min-height: 600px;      /* safety for small screens */
  overflow: hidden;
  margin-bottom: 0;
}


/* Video fills the hero */
.hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35%;

  /* 🔥 Darken the video itself */
  filter: brightness(0.6) contrast(1.05);
  transform: scale(1.03);
  z-index: 0;
}

/* Dark overlay (stronger & cinematic) */
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
}

/* Text content */
.hero-video__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 60px 6vw;
  z-index: 2;
  color: #fff;
}

/* Small top label */
.hero-video__kicker {
  font-size: 50px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Main title */
.hero-video__title {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1;
  margin: 0;
  letter-spacing: 2px;

  /* ✨ Better readability */
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
}

/* Subtitle */
.hero-video__subtitle {
  max-width: 760px;
  font-size: clamp(14px, 1.4vw, 18px);
  margin: 0;
  opacity: 0.95;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.8);
}

.hero-video__accent {
  font-weight: 700;
}

/* Shop section spacing fix */
.service--shop {
  min-height: 100vh;
  padding-top: 60px;
}

/* ================================
   CLIENTS SECTION
================================ */
.service--clients {
  position: relative;
  min-height: 100vh;                 /* occupy full screen */
  background: linear-gradient(
    to bottom,
    #1b1b1b 0%,
    #111111 100%
  );
  color: #fff;

  /* center content vertically */
  display: flex;
  align-items: center;

  padding: 0 6vw;
  overflow: hidden;
}

/* Big faded CLIENTS text (background depth) */
.service--clients::after {
  content: "CLIENTS";
  position: absolute;
  right: 2%;
  bottom: 6%;
  font-size: clamp(180px, 26vw, 420px); /* BIG background text */
  font-weight: 800;
  letter-spacing: 12px;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
}

/* Wrapper controls vertical spacing */
.service--clients .service-wrapper {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 180px 0;
}

/* Title */
.service--clients .service-title {
  text-align: left;
  font-size: clamp(40px, 5.5vw, 72px);
  margin-bottom: 24px;
}

/* Description */
.service--clients .service-description {
  max-width: 620px;
  line-height: 1.8;
  font-size: 18px;
  margin-bottom: 140px; /* push logos down */
}

/* ================================
   CLIENT LOGO SHOWCASE
================================ */
/* CLIENT LOGO SHOWCASE (RESPONSIVE) */
.clients-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cols on wide */
  gap: clamp(40px, 6vw, 160px);
  align-items: center;
  justify-items: center;
  width: 100%;
}

/* Logos scale with screen (so they never overflow) */
.clients-container img {
  width: clamp(220px, 26vw, 460px);
  height: clamp(120px, 12vw, 240px);
  object-fit: contain;
  max-width: 100%;
  opacity: 0.95;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.clients-container img:hover {
  transform: scale(1.08);
  opacity: 1;
}

/* ================================
   RESPONSIVE (important)
================================ */
@media (max-width: 1200px) {
  .clients-container img {
    width: 340px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .clients-container {
    grid-template-columns: 1fr;
    gap: 100px;
  }

  .clients-container img {
    width: 280px;
    height: 140px;
  }
}

html {
  scroll-behavior: smooth;
}

#services {
  scroll-margin-top: 1px; /* adjust to your nav height */
}


/* ================================
   SERVICES MOSAIC SECTION
================================ */
.services-mosaic {
  position: relative;
  background: linear-gradient(to bottom, #1b1b1b 0%, #111111 100%);
  padding: 80px 6vw;
  color: #fff;
  overflow: hidden;
}

/* Big faded "SERVICES" text in the background (optional style like Pixar) */
.services-mosaic::after {
  content: "SERVICES";
  position: absolute;
  right: 4%;
  top: 10%;
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 800;
  letter-spacing: 10px;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* ================================
   SERVICES HEADER
================================ */
.services-header {
  max-width: 1440px;
  margin: 0 auto 50px;
  padding: 0 2px;
  position: relative;
  z-index: 2;
}

.services-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 10px;
  color: #ffffff;
}

.services-subtitle {
  font-size: 29px;
  max-width: 650px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

/* Accent line under subtitle */
.services-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.2));
  margin-top: 18px;
}

/* ================================
   GRID LAYOUT
================================ */
.services-inner {
  max-width: 1440px;
  margin: 0 auto;

  display: grid;
  gap: 18px;
  grid-auto-rows: repeat(12, 1fr);

  /* 12-column grid like the reference layout */
  grid-template-columns: repeat(12, 1fr);
  position: relative;
  z-index: 2;
}

/* ================================
   TILE BASE
================================ */
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 180px;
  text-decoration: none;
  color: #fff;
  background: #000;
  transform: translateZ(0);
  outline: none;
}

/* ================================
   ✅ VIDEO FIT (NO CROP) + BLUR BACKGROUND
   IMPORTANT: requires HTML wrapper <div class="tile-video">...</div>
================================ */
.tile-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Blurred background layer fills the tile */
.tile-media-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fills */
  object-position: center;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.25);
}

/* Foreground video fits fully inside (NO CROP) */
.tile-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* ✅ show full video */
  object-position: center;
  transform: scale(1);      /* ✅ no zoom crop */
  transition: transform 600ms ease;
  z-index: 1;
}

/* Small hover zoom (still no crop) */
.tile:hover .tile-media {
  transform: scale(1.03);
}

/* Overlay for readability */
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.40) 45%,
    rgba(0, 0, 0, 0.20) 100%
  );
  z-index: 1;
}

/* Text content */
.tile-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.tile-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tile-title {
  font-size: clamp(18px, 2.1vw, 28px);
  margin: 0 0 6px;
  line-height: 1.05;
  font-weight: 800;
}

.tile-desc {
  margin: 0;
  opacity: 0.88;
  font-size: 18px;
  line-height: 1.35;
  max-width: 52ch;
}

.tile-cta {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  opacity: 0.95;
}

/* ================================
   GRID PLACEMENTS (LIKE REFERENCE)
================================ */

/* Top hero */
.tile-hero{
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 320px;
}

/* Studio Rental (left) */
.tile-a{
  grid-column: 1 / 5;
  grid-row: 2;           /* ✅ same row as tile-wide */
  min-height: 320px;     /* optional: match visual height */
}

/* Content Production (right) */
.tile-wide{
  grid-column: 5 / -1;
  grid-row: 2;           /* ✅ aligned with tile-a */
  min-height: 320px;     /* optional: match height */
}


.tile-content-wide {
  max-width: 560px;
}

/* Bottom row */
.tile-c {
  grid-column: 1 / 5;
  grid-row: 4 / 5;
  min-height: 210px;
}

.tile-d {
  grid-column: 5 / 9;
  grid-row: 4 / 5;
  min-height: 210px;
}

.tile-e {
  grid-column: 9 / -1;
  grid-row: 4 / 5;
  min-height: 210px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 980px) {
  .services-inner {
    grid-template-columns: repeat(6, 1fr);
  }

  .tile-hero {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 280px;
  }

  /* Studio Rental */
  .tile-a {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 260px;
  }

  /* Content Production */
  .tile-wide {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 320px;
  }
}


  .tile-c {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .tile-d {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .tile-e {
    grid-column: 1 / -1;
    grid-row: 6;
  }


@media (max-width: 520px) {
  .services-mosaic {
    padding: 60px 5vw;
  }

  .tile-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .services-subtitle {
    font-size: 14px;
  }
}

/* ================================
   IMAGE TILE (VIDEO REPLACEMENT)
================================ */
.tile-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.tile-image-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.25);
}

.tile-image-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* no crop */
  object-position: center;
  z-index: 1;
}


/* =========================================
   FIX: FIXED NAV + HERO VIDEO OFFSET
   (prevents opening/hero from being pushed)
========================================= */

/* NAV HEIGHT VARIABLE */
:root{
  --nav-height: 120px;
}

/* FIX FIXED NAV OVERLAP */
html{
  scroll-padding-top: calc(var(--nav-height) + 10px);
}

/* PUSH CONTENT BELOW FIXED NAV */
body{
  padding-top: var(--nav-height);
}

/* HERO VIDEO FIX */
.hero-video{
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  width: 100%;
  overflow: hidden;
}

/* VIDEO FULL COVER */
.hero-video__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HERO OVERLAY */
.hero-video__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* HERO CONTENT */
.hero-video__content{
  z-index: 2;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
}

.work-description{
    font-family: var(--bdy-txt);
    font-size: 35px;
    line-height: 40px;
    font-weight: 300;
    margin-top: 40px;
}


/* ===== WORK SLIDER CONTROLS ===== */
.work-slider-controls{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 12px;
}

.work-slider-label{
  font-family: var(--bdy-txt);
  letter-spacing: 3px;
  opacity: 0.85;
  text-transform: uppercase;
}

.work-arrow{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #2b2b2b;
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  transition: 250ms ease;
  font-size: 26px;
  line-height: 1;
}

.work-arrow:hover{
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}

/* ===== WORK SLIDER ===== */
.work-slider{
  overflow: hidden;
  width: 100%;
}

.work-track{
  display: flex;
  width: 200%;                 /* 2 slides */
  transform: translateX(0%);
  transition: transform 500ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.work-slide{
  flex: 0 0 100%;
  width: 100%;
}

/* Make sure the controls sit ABOVE everything and can receive clicks */
.work-slider-controls{
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

.work-arrow{
  pointer-events: auto;
  position: relative;
  z-index: 51;
}

/* Make common overlay layers ignore mouse clicks */
.work-hero-overlay,
.work-hero-overlay *{
  pointer-events: none;
}

.work::after{
  pointer-events: none;
}

.work-slider{
  overflow: hidden;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.work-track{
  display: flex;
  width: 100%;                 
  transform: translateX(0);
  transition: transform 500ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.work-slide{
  flex: 0 0 100%;            
  width: 100%;
  min-width: 100%;
}



/* =========================================
   END FIX
========================================= */

/* ================================
   WORK POSTER FIX (NO CROP + NO BLACK BARS)
   Paste at the VERY BOTTOM of your CSS
=================================== */

/* make sure poster container is stable */
.work .work-poster-img{
  position: relative !important;
  overflow: hidden !important;
  background: #000 !important;
}

/* Option 2: blurred background using CSS var */
.work .work-poster-img::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: var(--poster-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  filter: blur(18px) brightness(0.55) !important;
  transform: scale(1.2) !important;
  z-index: 0 !important;
}

/* foreground image must show FULL image */
.work .work-poster-img img{
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* ✅ show full image */
  object-position: center !important;
  display: block !important;
  background: transparent !important;
}

/* =========================
   ECOM HERO (match screenshot)
========================= */

.hero-video{
  position: relative;
  width: 100%;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(70px, 10vh, 120px) 24px 40px;
}

/* video background */
.hero-video__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none; /* never block clicks */
}

/* dark overlay like your sample */
.hero-video__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.10) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.10) 60%, rgba(0,0,0,.65) 100%);
}

/* content */
.hero-video__content{
  position: relative;
  z-index: 2;
  max-width: 980px;
}

/* kicker "ONE ALAMAT" */
.hero-video__kicker{
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

/* title "DIGITAL COMMERCE" */
.hero-video__title{
  margin: 0 0 14px;
  font-size: clamp(36px, 7vw, 84px);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
}

/* subtitle line under title */
.hero-video .service-description.hero-style{
  margin: 0;
  max-width: 820px;
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

/* accent within subtitle */
.hero-video__accent{
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

/* mobile spacing */
@media (max-width: 700px){
  .hero-video{
    min-height: 62vh;
    padding: 92px 16px 28px;
  }
}



/* ==============================
   ECOM HERO – COPY VFX STYLE
============================== */

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 1;
}



/* Text container */
.hero-video__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 250px 0 0 20px; /* same as your opening */
}

/* Title */
.hero-video__title {
  text-transform: capitalize;
  font-size: 7vw;
  line-height: 6.5vw;
  font-weight: 400;
  width: 100%;
  max-width: 60%;
}

/* Subtitle */
.hero-video .service-description.hero-style {
  margin-top: 3vw;
  font-size: 24px;
  width: 100%;
  max-width: 40%;
}

.hero-video__accent {
  color: var(--trd-clr);
}


/* Overlay Close Button Clean Style */
.work-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 42px;
  height: 42px;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;

  color: #ffffff;      /* change this to black if you want */
  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

/* ✅ Make overlay a positioning context */
.work-overlay {
  position: fixed; /* ensure it covers screen */
  inset: 0;
  z-index: 99999;
}

/* ✅ IMPORTANT: the content wrapper must be relative
   so the X can be positioned inside it */
.work-overlay-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ✅ Move the X to the proper top-right corner */
.work-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  color: #fff;
  font-size: 44px;   /* size of the X */
  line-height: 1;
  padding: 0;
  cursor: pointer;

  z-index: 10;
}
