/* =========================================================
   VIDEO
   ========================================================= */

.video {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 100vh;

    padding:
        clamp(40px, 4vh, 60px)
        40px
        18px;

    box-sizing: border-box;

    overflow: hidden;

    color: #f7f7f5;
    background: #332722;
}


/* =========================================================
   TEXTURED BACKGROUND
   ========================================================= */

.video-background {
    position: absolute;
    z-index: 0;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

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

    pointer-events: none;
}


/* =========================================================
   BACKGROUND OVERLAY
   ========================================================= */

.video-background-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background: rgba(18, 12, 10, 0.10);

    pointer-events: none;
}


/* =========================================================
   VIDEO AREA
   ========================================================= */

.video-main {
    position: relative;
    z-index: 2;

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

    width: 100%;

    flex: none;
}


/* =========================================================
   VIDEO TITLE
   ========================================================= */

.video-title {
    position: relative;
    top: -8px;

    margin:
        0
        0
        14px;

    color: #f7f7f5;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: 0.04em;

    text-align: center;
}


/* =========================================================
   VIDEO CONTAINER — DESKTOP
   ========================================================= */

.video-container {
    width: clamp(900px, 68vw, 1350px);

    max-width: calc(100vw - 80px);

    margin: 0 auto;
}


/* =========================================================
   FEATURED VIDEO
   ========================================================= */

.featured-video {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000000;
}


.featured-video-cover {
    cursor: pointer;
}


.featured-video-image {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.featured-video iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   PLAY BUTTON
   ========================================================= */

.featured-play-button {
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 50%;

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

    width: 50px;
    height: 50px;

    padding: 0;

    border: 0;
    border-radius: 50%;
    outline: 0;

    color: #f7f7f5;
    background: #080808;

    font-size: 16px;
    line-height: 1;

    cursor: pointer;

    transform: translate(-50%, -50%);

    transition: transform 0.25s ease;
}


.featured-play-button i {
    display: block;

    transform: translateX(1px);
}


.featured-play-button:hover {
    transform:
        translate(-50%, -50%)
        scale(1.08);
}


/* =========================================================
   VIDEO FOOTER
   ========================================================= */

.video-footer {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    margin-top: clamp(28px, 3vh, 40px);

    text-align: center;
}


/* =========================================================
   SOCIAL ICONS — DESKTOP
   ========================================================= */

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    margin:
        0
        0
        18px;

    padding: 0;
}


.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #f7f7f5;

    font-size: 15px;
    line-height: 1;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.footer-socials a:hover {
    opacity: 0.55;

    transform: translateY(-2px);
}


/* =========================================================
   EMAIL
   ========================================================= */

.footer-email {
    display: inline-block;

    margin: 0;

    color: rgba(247, 247, 245, 0.72);

    font-size: 13px;
    font-weight: 300;

    letter-spacing: 0.02em;

    text-decoration: none;

    transition: opacity 0.2s ease;
}


.footer-email:hover {
    opacity: 0.55;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) and (min-width: 701px) {

    .video {
        min-height: auto;

        padding:
            50px
            40px
            18px;
    }


    .video-title {
        margin-bottom: 13px;

        font-size: 12px;
    }


    .video-container {
        width: 100%;
        max-width: 900px;

        margin: 0 auto;
    }


    .video-footer {
        margin-top: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .video {
        display: block;

        min-height: 0;
        height: auto;

        padding:
            50px
            16px
            calc(28px + env(safe-area-inset-bottom));

        box-sizing: border-box;

        overflow: hidden;
    }


    /* =====================================================
       BACKGROUND — MOBILE
       ===================================================== */

    .video-background {
        width: 100%;
        height: 100%;

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


    .video-background-overlay {
        background: rgba(18, 12, 10, 0.10);
    }


    /* =====================================================
       VIDEO — MOBILE
       ===================================================== */

    .video-main {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
    }


    .video-title {
        margin:
            0
            0
            12px;

        font-size: 11px;
        font-weight: 500;

        line-height: 1.2;

        letter-spacing: 0.03em;

        text-align: center;
    }


    .video-container {
        width: 100%;
        max-width: none;

        margin: 0 auto;
    }


    .featured-video {
        width: 100%;

        aspect-ratio: 16 / 9;
    }


    .featured-play-button {
        width: 44px;
        height: 44px;

        font-size: 14px;
    }


    /* =====================================================
       FOOTER — MOBILE
       ===================================================== */

    .video-footer {
        margin-top: 38px;
    }


    .footer-socials {
        gap: 26px;

        margin-bottom: 18px;
    }


    .footer-socials a {
        font-size: 23px;
    }


    .footer-email {
        font-size: 13px;
    }

}