*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    background-color: #f0f0f0;
    color: #fff;
    opacity: 1;
    transition: opacity 0.5s ease;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
body.fade-out{
    opacity: 0;
}


.video-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-image: url('./images/REEL2026_Cover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.video-container.video-loaded{
    background-image: none;
}
.video-container video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}
.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);

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

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.4s ease, visibility 0.4s ease;

    z-index: 999;
}
.modal.active{
    opacity: 1;
    visibility: visible;
}
.modal-content{
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
}
.modal-content iframe{
    width: 100%;
    height: 100%;
}


.logo{
    position: fixed;
    top: 1vh;
    left: 1.4vw;
    z-index: 10;
}
.logo a{
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.nav{
    position: fixed;
    top: 1.4vh;
    right: 1.8vw;
    z-index: 2;
    display: flex;
    gap: 30px;
}
.nav a{
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: opacity 0.3s ease;
    position: relative;
}
.nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;

    width: 0%;
    height: 1px;
    background: #fff;

    transition: width 0.3s ease;
}

.nav a:hover::after{
    width: 100%;
}


.about-page{
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;

    width: 100%;
    height: 100vh;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.6s ease;

    z-index: 5;
}

.about-page.active{
    opacity: 1;
    pointer-events: auto;
}

.about-bg{
    position: absolute;

    top: 0%;
    left: 0%;

    width: 115%;
    height: 115%;

    background-image: url('./images/bg-photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

.about-page::before{
    content: "";
    position: absolute;
    inset: 0;

    /* сверху прозрачный → снизу чёрный */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.8) 100%
    );

    z-index: 0;
}

.about-content{
    position: absolute;

    top: 40%;
    left: clamp(40px, 20vw, 260px);

    transform: translateY(-50%);

    width: min(500px, 90vw);

    z-index: 1;
}

.about-content p{
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: clamp(1.20rem, 1vw, 1.50rem);
    line-height: 1.6;
    margin-bottom: 25px;
}
.about-email a{
    color: #fff;
    text-decoration: none;
    opacity: 1;
    position: relative;
}

.about-email a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;

    width: 0%;
    height: 1px;
    background: #fff;

    transition: width 0.3s ease;
}

.about-email a:hover::after{
    width: 100%;
}

.about-social{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.about-social span{
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: clamp(1.20rem, 1vw, 1.50rem);
    opacity: 1;
    margin-bottom: 1px;
}
.about-social a{
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 0.9vw, 1.20rem);
    color: #fff;
    text-decoration: none;
    opacity: 1;
    width: fit-content;
}
.about-social a{
    position: relative;
}

.about-social a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.about-social a:hover::after{
    width: 100%;
}

.close{
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.cursor-label{
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;

    font-size: 80px;
    letter-spacing: 0.1em;
    color: #fff;

    background: none;
    border: none;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}
.video-container:hover .cursor-label{
    opacity: 1;
}
@media (min-width: 2560px){

    .about-content{
        width: 650px;
    }

    .cursor-label{
        font-size: 120px;
    }
}
@media (max-width: 768px){

    .about-content{
        left: 24px;
        right: 24px;

        width: auto;
        max-width: none;

        transform: translateY(-35%);
    }

}
@media (max-width: 768px){
    .cursor-label{
        display: none;
    }
}