/* ==========================================================
   Ozolciema Project - Body
   ========================================================== */

.ozolciema-project {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.ozolciema-project__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* no native controls / interaction */
}

/* hide any native controls just in case */
.ozolciema-project__video::-webkit-media-controls,
.ozolciema-project__video::-webkit-media-controls-panel,
.ozolciema-project__video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

/* subtle gradient so white text stays readable */
.ozolciema-project__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0) 45%
    );
}

/* Title - bottom left */
.ozolciema-project__title {
    position: absolute;
    left: 5%;
    bottom: 8%;
    margin: 0;
    max-width: 70%;
    color: #fff;
    font-size: clamp(28px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    z-index: 2;
}

/* Sound button - bottom right */
.ozolciema-project__sound {
    position: absolute;
    right: 5%;
    bottom: 8%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
}

.ozolciema-project__sound-text {
    font-size: clamp(12px, 1.05vw, 16px);
    line-height: 1.35;
    letter-spacing: 0.03em;
}

.ozolciema-project__sound-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border: 1.5px solid #fff;
    border-radius: 50%;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ozolciema-project__sound:hover .ozolciema-project__sound-icon {
    background: #fff;
    color: #000;
    transform: scale(1.06);
}

.ozolciema-project__sound:focus-visible .ozolciema-project__sound-icon {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* diagonal slash shown while muted */
.ozolciema-project__sound-slash {
    position: absolute;
    width: 2px;
    height: 34px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ozolciema-project__sound.is-muted .ozolciema-project__sound-slash {
    opacity: 1;
}

/* Tablet / mobile */
@media (max-width: 768px) {
    .ozolciema-project__title {
        left: 6%;
        bottom: 14%;
        max-width: 88%;
        font-size: clamp(24px, 7vw, 38px);
    }

    .ozolciema-project__sound {
        right: 6%;
        bottom: 5%;
        gap: 12px;
    }

    .ozolciema-project__sound-icon {
        width: 46px;
        height: 46px;
    }

    .ozolciema-project__sound-slash {
        height: 28px;
    }
}