.hero-section {
    position: relative;

    width: 100%;
    min-height: 250vh;

    background-color: var(--background-dark-default-color);

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.hero-video {
    position: absolute;
    z-index: 0;
    inset: 0;

    /* left: 30%; */
    left: 0%;


    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: var(--video-opacity, 1);
    visibility: var(--video-visibility, visible);

    pointer-events: none;

    will-change: opacity;
}

.hero-video.is-replaced {
    opacity: 0;
    visibility: hidden;
}

.hero-video-canvas {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
}

.hero-video-canvas.is-ready {
    opacity: var(--video-opacity, 1);
    visibility: var(--video-visibility, visible);
}

.hero-video-bake {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-video-veil {
    position: absolute;
    z-index: 1;
    inset: 0;

    background: linear-gradient(
        to right,
        #000000 0%,
        #00000000 50%,
        #000000 100%
    );

    pointer-events: none;
}

.logo-container {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100svh;

    overflow: hidden;
    isolation: isolate;

    --mouse-x: 50%;
    --mouse-y: 50%;
    --flashlight-size: 120px;
    --overlay-opacity: 1;
    --video-opacity: 1;
    --video-visibility: visible;
    --exit-overlay-opacity: 0;
}

.logo-container::before {
    content: "";

    position: absolute;
    z-index: 5;
    inset: 0;

    background-color: #000000;

    opacity: var(--exit-overlay-opacity, 0);

    pointer-events: none;

    will-change: opacity;
}

.logo-stack {
    position: absolute;
    z-index: 2;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    opacity: var(--logo-opacity, 1);
    visibility: var(--logo-visibility, visible);

    transform: scale(
        var(--logo-scale, 1)
    );

    transform-origin: center;

    will-change: opacity, transform;
}

.logo-stack img {
    display: block;

    width: 25%;
    height: auto;

    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.logo-stack img:nth-of-type(2) {
    width: 3%;
}

.logo-stack img:nth-of-type(3) {
    width: 23%;
}

.logo-container::after {
    position: absolute;
    z-index: 10;
    inset: 0;

    content: "";

    pointer-events: none;

    opacity: var(--overlay-opacity);

    background:
        radial-gradient(
            circle var(--flashlight-size)
            at var(--mouse-x) var(--mouse-y),

            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.08) 38%,
            rgba(0, 0, 0, 0.55) 68%,
            rgba(0, 0, 0, 0.95) 100%
        );

    will-change: opacity;
}

.scroll-indicator {
    position: relative;

    opacity: var(--scroll-indicator-opacity, 1);

    transform: translateY(
        calc((1 - var(--scroll-indicator-opacity, 1)) * 15px)
    );

    pointer-events: none;

    will-change: opacity, transform;
    z-index: 11;

    width: 100%;
    height: 100%;
    display: flex !important;
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    bottom: 77px;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--background-light-accent-color);
    border-radius: 50%;
    animation: scroll-indicator 1.6s infinite;
}

.scroll-indicator::after {
    content: "";
    position: absolute;
    bottom: 50px;
    left: calc(50% - 3px);
    width: 16px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--background-light-accent-color);
    border-radius: 50px;
    z-index: 11;
    opacity: 0.7;
}

@keyframes scroll-indicator {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(23px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* sub hero */

.subhero-section{
    background-color: var(--background-dark-default-color);
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    gap: 200px;
}

.subhero-container{
    width: 100%;
    max-width: 1340px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.subhero-content-container{
    width: 55%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.subhero-content-container h1{
    font-size: clamp(32px, 3vw, 45px);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-accent-default-color);
    margin: 0;
    line-height: 1.1;
    padding-bottom: 25px;
}

.subhero-content-container p{
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--text-light-default-color);
    margin: 0;
}

.subhero-image-container{
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subhero-image-container img{
    width: 110%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 45px rgba(196, 10, 18, 0.4));
}

.hero-action-container{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 50px;
}

.hero-action-container a{
    padding: 10px 30px;
    border-radius: 10px;

    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 14px;
    text-decoration: none;
    margin-top: auto;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.3s all !important;
}
.hero-action-container a:first-child{
    background-color: var(--red-accent-color);
    color: var(--background-light-default-color);
    border: 1px solid var(--red-accent-color);
}
.hero-action-container a:last-child{
    background-color: transparent;
    color: var(--background-light-default-color);
    border: 1px solid var(--red-accent-color);
}
.hero-action-container a:first-child:hover{
    background-color: transparent;
    color: var(--red-accent-color);
}
.hero-action-container a:last-child:hover{
    background-color: var(--red-accent-color);
    color: var(--background-light-default-color);
}
.hero-action-container a:hover{
    transform: translateY(-5px);
    box-shadow: 0 0px 10px 10px #a70e1370;
}

.subhero-divider{
    width: 100%;
    max-width: 1340px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.subhero-divider-box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(to top, #ffffff48, #2f2f2fc2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px 0 #00000010;

    transition: all 0.3s ease;
    width: 25%;
}
.subhero-divider-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 0px 10px 10px #a70e1370;
}

.subhero-divider-box-img{
    width: 30%;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 5px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.397),
            rgba(255, 255, 255, 0.705)
        );
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.subhero-divider-box-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.subhero-divider-box p strong{
    font-size: clamp(14px, 1vw, 16px);
}
.subhero-divider-box p{
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--background-light-default-color);
    margin: 0;
    width: 80%;
}



@media (max-width: 1000px){
    .logo-stack img{
        width: 50%;
    }
    .logo-stack img:nth-of-type(2){
        width: 10%;
    }
    .logo-stack img:nth-of-type(3){
        width: 35%;
    }
    .hero-video-veil::before{
        content: "";
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(to bottom, #00000000 0%,  #000000 100%);
    }
    .subhero-container{
        flex-direction: column;
        gap: 50px;
    }
    .subhero-content-container{
        width: 100%;
    }
    .subhero-image-container{
        width: 100%;
    }
    .subhero-image-container img{
        width: 100%;
    }
    .subhero-section{
        height: auto;
    }
    .subhero-divider{
        flex-wrap: wrap;
        gap: 20px;
        align-items: stretch;
    }
    .subhero-divider-box{
        width: calc((100% - 20px) / 2);
    }
    .subhero-divider-box-img{
        height: auto;
        aspect-ratio: 1/1;
    }
    .subhero-section{
        gap: 100px;
    }
}