.home-video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: var(--color-secondary-900);
    overflow: hidden;
}

body.home .fabOuter.hasIcon {
    width: 56px;
    height: 56px;
}

body.home .home-bottom-modal-trigger,
body.home .home-sound-toggle {
    bottom: 18px !important;
}

.home-sound-toggle {
    position: fixed;
    right: 30px;
    z-index: 2147482300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid var(--color-primary-500);
    border-radius: 999px;
    background: var(--color-primary-500);
    color: var(--color-black);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.home-sound-toggle:hover,
.home-sound-toggle:focus-visible,
.home-sound-toggle.is-active {
    border-color: var(--color-primary-500);
    background: var(--color-black);
    color: var(--color-primary-500);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

.home-sound-toggle:hover,
.home-sound-toggle:focus-visible {
    transform: translateY(-3px);
}

.home-sound-toggle__icon {
    display: block;
    width: 22px;
    height: 22px;
    background-color: currentColor;
    -webkit-mask-image: url("../assets/icons/sound_muted.svg");
    mask-image: url("../assets/icons/sound_muted.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.home-sound-toggle.is-active .home-sound-toggle__icon {
    -webkit-mask-image: url("../assets/icons/sound.svg");
    mask-image: url("../assets/icons/sound.svg");
}

.home-video-hero__player,
.home-video-hero__buffer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.home-video-hero__sound-prompt {
    position: fixed;
    inset: 0;
    z-index: 2147483200;
}

.home-video-hero__sound-prompt-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.58);
    cursor: pointer;
}

.home-video-hero__sound-prompt-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 560px);
    padding: 32px;
    border-radius: 27px;
    background: linear-gradient(94deg, rgba(255, 255, 255, 0.05) 0.65%, rgba(255, 255, 255, 0.10) 28.83%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: var(--shadow-default);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--color-white);
    transform: translate(-50%, -50%);
}

.home-video-hero__sound-prompt-title {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: var(--font-weight-light);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.home-video-hero__sound-prompt-description {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--text-base);
    line-height: 1.25;
}

.home-video-hero__sound-prompt-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 24px;
}

.home-video-hero__sound-prompt-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    box-sizing: border-box;
    min-height: 56px;
    padding: 14px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-video-hero__sound-prompt-action--confirm.wunuButton {
    appearance: none;
    -webkit-appearance: none;
    border-width: 2px !important;
    border-color: var(--color-primary-500) !important;
    background: var(--color-primary-500);
    color: var(--color-black) !important;
}

.home-video-hero__sound-prompt-action--confirm.wunuButton:hover,
.home-video-hero__sound-prompt-action--confirm.wunuButton:focus-visible,
.home-video-hero__sound-prompt-action--confirm.wunuButton:active {
    background: var(--color-black);
    color: var(--color-primary-500) !important;
}

.home-video-hero__sound-prompt-action--confirm.wunuButton::after,
.home-video-hero__sound-prompt-action--cancel::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-left: 10px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
    transition: background-color 0.18s ease;
}

.home-video-hero__sound-prompt-action--confirm.wunuButton::after {
    -webkit-mask-image: url("../assets/icons/sound.svg");
    mask-image: url("../assets/icons/sound.svg");
}

.home-video-hero__sound-prompt-action--cancel {
    border: 2px solid var(--color-primary-500);
    border-radius: 999px;
    background: transparent;
    color: var(--color-primary-500);
}

.home-video-hero__sound-prompt-action--cancel::after {
    -webkit-mask-image: url("../assets/icons/sound_muted.svg");
    mask-image: url("../assets/icons/sound_muted.svg");
}

.home-video-hero__sound-prompt-action--cancel:hover,
.home-video-hero__sound-prompt-action--cancel:focus-visible {
    border-color: var(--color-black);
    background: var(--color-primary-500);
    color: var(--color-black);
}

.home-video-hero__player.is-active,
.home-video-hero__buffer.is-active {
    opacity: 1;
    z-index: 1;
}

.home-video-hero__controls {
    position: absolute;
    left: 50%;
    bottom: 104px;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    width: min(1400px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 8px;
    z-index: 2;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.home-video-hero__controls.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-video-hero__info-backdrop {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    border: 0;
    background: transparent;
}

.home-video-hero__info-backdrop.is-visible {
    display: block;
}

.home-video-hero__info-box {
    --home-info-box-content-gap: 12px;
    position: absolute;
    right: 8%;
    bottom: 25%;
    z-index: 3;
    display: none;
    flex-wrap: wrap;
    gap: var(--home-info-box-content-gap) 24px;
    align-items: flex-start;
    width: fit-content;
    max-width: min(594px, 69vw);
    margin: 0;
    padding: 32px 43px;
    border: 0;
    border-radius: 27px;
    background: linear-gradient(94deg, rgba(255, 255, 255, 0.05) 0.65%, rgba(255, 255, 255, 0.10) 28.83%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: var(--shadow-default);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--color-white);
    text-align: left;
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-video-hero__info-box.is-visible {
    display: flex;
}

.home-video-hero__info-box-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 50;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: var(--color-primary-500);
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.home-video-hero__info-box-close span,
.home-video-hero__info-box-close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: black;
    transition: background-color 0.25s ease;
}

.home-video-hero__info-box-close span {
    transform: translate(-50%, -50%) rotate(45deg);
}

.home-video-hero__info-box-close::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.home-video-hero__info-box-close:hover,
.home-video-hero__info-box-close:focus-visible {
    background: #000;
    border-color: #ffdd00;
}

.home-video-hero__info-box-close:hover span,
.home-video-hero__info-box-close:hover::before,
.home-video-hero__info-box-close:focus-visible span,
.home-video-hero__info-box-close:focus-visible::before {
    background: #ffdd00;
}

.home-video-hero__info-box-header {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-width: 0;
    padding-right: 40px;
}

.home-video-hero__info-box-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-video-hero__info-box-icon[hidden] {
    display: none;
}

.home-video-hero__info-box-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-video-hero__info-box-title {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    font-family: Barlow, SansSerif, sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: var(--font-weight-light);
    line-height: normal;
    letter-spacing: 0;
}

.home-video-hero__info-box-description {
    width: 100%;
    margin: 0 0 10px;
    font-family: Barlow, SansSerif, sans-serif;
    font-size: calc(var(--text-md) * 0.7);
    font-style: normal;
    font-weight: var(--font-weight-regular);
    line-height: normal;
}

.home-video-hero__info-box-actions {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0;
}

.home-video-hero__info-box-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 28px;
    line-height: 1;
    cursor: pointer;
}

.home-video-hero__info-box-cta.wunuButton {
    appearance: none;
    -webkit-appearance: none;
    border-color: var(--color-primary-500) !important;
    background: var(--color-primary-500);
    color: var(--color-black) !important;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home-video-hero__info-box-cta.wunuButton:hover,
.home-video-hero__info-box-cta.wunuButton:focus-visible,
.home-video-hero__info-box-cta.wunuButton:active,
.home-video-hero__info-box-cta.wunuButton:visited {
    border-color: var(--color-primary-500) !important;
    text-decoration: none;
}

.home-video-hero__info-box-cta.wunuButton:hover,
.home-video-hero__info-box-cta.wunuButton:focus-visible,
.home-video-hero__info-box-cta.wunuButton:active {
    background: var(--color-black);
    color: var(--color-primary-500) !important;
}

.home-video-hero__info-box-cta.wunuButton:visited {
    background: var(--color-primary-500);
    color: var(--color-black) !important;
    text-decoration: none;
}

.home-video-hero__button-container {
    position: relative;
    display: flex;
    flex: 1 1 0;
    margin: 0;
    font: inherit;
    background: var(--glass-bg);
    box-shadow: var(--shadow-default);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 15px;
    overflow: hidden;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-video-hero__button {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    align-items: stretch;
    justify-content: space-between;
    padding: 25px 25px 30px 35px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    text-align: left;
    color: var(--color-white);
    cursor: pointer;
    transition: color 180ms ease;
}

.home-video-hero__button-label {
    display: inline-block;
    margin: 0;
    max-width: 100%;
    font-size: calc(var(--text-lg) * 0.81);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.home-video-hero__button-description {
    position: relative;
    margin: 5px 0 0;
    padding-right: 64px;
    color: rgba(255, 255, 255, 0.92);
    font-size: calc(var(--text-base) * 0.9);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.home-video-hero__button-description::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 34px;
    background: center / contain no-repeat url("../assets/icons/chevron-right.svg");
}

.home-video-hero__button-container.is-active {
    background: var(--glass-bg), rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-default), 0 10px 36px rgba(0, 0, 0, 0.36);
}

.home-video-hero__button-container:hover {
    background: var(--glass-bg), rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-default), 0 10px 36px rgba(0, 0, 0, 0.34);
}

@media (max-width: 1080px) {
    .home-video-hero__controls {
        flex-wrap: wrap;
        gap: 12px;
    }

    .home-video-hero__button-container {
        flex: 1 1 100%;
        border-radius: 50px;
        margin-bottom: 0 !important;
    }

    .home-video-hero__button {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 21px 12px 27px;
        border-radius: 50px;
        width: 111.111%;
        height: auto;
        transform: scale(0.9);
        transform-origin: left center;
    }

    .home-video-hero__button::after {
        content: "";
        display: block;
        flex: 0 0 23px;
        width: 23px;
        height: 23px;
        background: center / contain no-repeat url("../assets/icons/chevron-right.svg");
    }

    .home-video-hero__button-label {
        font-size: clamp(25px, 8.1vw, 43px);
        flex: 1 1 auto;
    }

    .home-video-hero__button-description {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-video-hero {
        height: 100svh;
        max-height: 100svh;
    }

    @supports (height: 100dvh) {
        .home-video-hero {
            height: 100dvh;
            max-height: 100dvh;
        }
    }

    .home-sound-toggle {
        right: 16px;
        bottom: 18px !important;
        width: 40px;
        height: 40px;
        border-radius: 50px;
    }

    .home-sound-toggle__icon {
        width: 16px;
        height: 16px;
    }

    .home-video-hero__controls {
        bottom: 93px;
        flex-wrap: wrap;
        gap: 10px;
        padding: 6px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }

    .home-video-hero__info-box {
        position: fixed;
        right: 12px;
        bottom: 78px;
        z-index: 2147482400;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        max-height: calc(100svh - 104px);
        overflow-y: auto;
        padding: 16px 18px;
    }

    @supports (height: 100dvh) {
        .home-video-hero__info-box {
            max-height: calc(100dvh - 104px);
        }
    }

    .home-video-hero__sound-prompt-dialog {
        width: calc(100vw - 24px);
        padding: 22px 18px;
    }

    .home-video-hero__sound-prompt-description,
    .home-video-hero__sound-prompt-action {
        font-size: 16px;
    }

    .home-video-hero__sound-prompt-actions {
        flex-wrap: wrap;
        margin-top: 18px;
    }

    .home-video-hero__sound-prompt-action {
        flex-basis: 100%;
        white-space: normal;
    }

    .home-video-hero__info-box-close {
        top: 12px;
        right: 12px;
    }

    .home-video-hero__info-box-header {
        gap: 8px 16px;
    }

    .home-video-hero__info-box-icon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .home-video-hero__info-box-title {
        font-size: clamp(19px, 21px, 23px);
        line-height: 1;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .home-video-hero__info-box-description {
        font-size: 14px;
    }

    .home-video-hero__info-box-actions {
        margin-top: 0;
    }

    .home-video-hero__info-box-cta {
        min-width: 180px;
        padding: 12px 22px;
    }

    .home-video-hero__button-container {
        flex: 1 1 100%;
        border-radius: 50px;
        margin-bottom: 0 !important;
    }


    .home-video-hero__button {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 19px 11px 24px;
        border-radius: 50px;
        width: 111.111%;
        height: auto;
        transform: scale(0.9);
        transform-origin: left center;
    }

    .home-video-hero__button::after {
        content: "";
        display: block;
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        background: center / contain no-repeat url("../assets/icons/chevron-right.svg");
    }

    .home-video-hero__button-label {
        font-size: clamp(22px, 7.2vw, 38px);
        flex: 1 1 auto;
    }

    .home-video-hero__button-description {
        display: none;
    }
}

@media (min-width: 768px) {
    .home-sound-toggle {
        right: 30px;
    }
}

@media (min-width: 1600px) {
    .home-sound-toggle {
        right: 30px;
    }
}
