.mcc-home-with-hero .navbar-showcase {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
    transition:
        opacity 0.5s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.65s;
    will-change: opacity, transform;
}

.mcc-home-with-hero.mcc-hero-nav-visible .navbar-showcase {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.mcc-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
    background: #070a12;
    color: #ffffff;
}

html.mcc-hero-is-stepping,
html.mcc-hero-is-stepping body {
    overscroll-behavior-y: none;
}

html.mcc-video-is-loading,
html.mcc-video-is-loading body {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

.mcc-video-loading {
    position: absolute;
    inset: 0;
    z-index: var(--z-showcase-loader);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: rgba(4, 7, 8, 0.82);
    color: var(--bg-white);
    text-align: center;
    cursor: wait;
}

.mcc-video-loading[hidden] {
    display: none;
}

.mcc-video-loading__spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: mcc-video-loading-spin .8s linear infinite;
}

@keyframes mcc-video-loading-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mcc-video-loading__spinner {
        animation: none;
    }
}

@supports (height: 100dvh) {
    .mcc-hero {
        height: 100dvh;
    }
}

.mcc-hero__stage,
.mcc-hero__media {
    position: absolute;
    inset: 0;
}

.mcc-hero__stage {
    overflow: hidden;
}

.mcc-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    will-change: transform;
}

.mcc-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 7, 8, 0.08) 0%, rgba(4, 7, 8, 0.18) 40%, rgba(4, 7, 8, 0.82) 100%),
        linear-gradient(180deg, rgba(4, 7, 8, 0.44) 0%, transparent 28%, rgba(4, 7, 8, 0.18) 62%, rgba(4, 7, 8, 0.72) 100%);
    pointer-events: none;
}

.mcc-hero__shade::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 7, 8, 0.9) 0%, rgba(4, 7, 8, 0.62) 46%, rgba(4, 7, 8, 0.16) 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.mcc-hero__shade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 68% 48%, transparent 0%, rgba(2, 5, 7, 0.2) 78%, rgba(2, 5, 7, 0.48) 100%);
}

.mcc-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.82fr);
    align-items: center;
    width: min(calc(100% - 64px), 1500px);
    height: 100%;
    margin: 0 auto;
    padding: calc(var(--showcase-nav-height) + 44px) 0 64px;
    box-sizing: border-box;
}

.mcc-hero__copy {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 680px);
    margin-left: auto;
    padding: clamp(28px, 3vw, 44px);
    box-sizing: border-box;
}

.mcc-hero__frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.mcc-hero[data-mcc-hero-complete="true"] .mcc-hero__shade::before {
    opacity: 1;
}

.mcc-hero__frame-side {
    position: absolute;
    display: block;
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.68s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.mcc-hero__frame-side--left,
.mcc-hero__frame-side--right {
    width: 1px;
    height: 100%;
    transform: scaleY(0);
}

.mcc-hero__frame-side--top,
.mcc-hero__frame-side--bottom {
    width: 100%;
    height: 1px;
    transform: scaleX(0);
}

.mcc-hero__frame-side--left {
    bottom: 0;
    left: 0;
    transform-origin: center bottom;
}

.mcc-hero__frame-side--top {
    top: 0;
    left: 0;
    transform-origin: left center;
}

.mcc-hero__frame-side--right {
    top: 0;
    right: 0;
    transform-origin: center top;
}

.mcc-hero__frame-side--bottom {
    right: 0;
    bottom: 0;
    transform-origin: right center;
}

.mcc-hero[data-mcc-hero-complete="true"] .mcc-hero__frame-side,
.mcc-hero[data-mcc-hero-step="1"] .mcc-hero__frame-side--left {
    transform: none;
}

.mcc-hero__messages {
    display: grid;
    min-height: 470px;
    align-items: center;
}

.mcc-hero__message {
    grid-area: 1 / 1;
    max-width: 680px;
}

.mcc-hero__message--promise,
.mcc-hero__message--final {
    opacity: 0;
    visibility: hidden;
}

.mcc-hero--static .mcc-hero__message--master {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.mcc-hero--static .mcc-hero__message--promise,
.mcc-hero--static .mcc-hero__message--final {
    opacity: 1;
    visibility: visible;
}

.mcc-hero__message--final {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(48vw, 720px);
    max-width: none;
    box-sizing: border-box;
    pointer-events: none;
}

.mcc-hero__final-title {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 0.2em;
    width: max-content;
    max-width: 100%;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(58px, 6.4vw, 96px);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.84;
}

.mcc-hero__final-title span {
    display: block;
    width: fit-content;
    will-change: opacity, transform;
}

.mcc-hero__final-title span:last-child {
    grid-column: 1 / -1;
    color: #b0c82c;
}

.mcc-hero__title,
.mcc-hero__statement {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 800;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.mcc-hero__title {
    max-width: 9ch;
    font-size: clamp(58px, 6.6vw, 108px);
    line-height: 0.93;
}

.mcc-hero__title--brand {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.2em;
    row-gap: 0;
    max-width: 11ch;
}

.mcc-hero__word-mask {
    display: inline-flex;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.mcc-hero__word,
.mcc-hero__brand-copy {
    display: inline-block;
    will-change: opacity;
}

.mcc-hero__brand-copy {
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 800;
    line-height: 1.4;
}

.mcc-hero__statement {
    max-width: 12ch;
    font-size: clamp(48px, 5.25vw, 86px);
    line-height: 0.98;
}

.mcc-hero__lead,
.mcc-hero__description {
    max-width: 55ch;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.65;
    text-wrap: pretty;
}

.mcc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.mcc-hero__copy .btn {
    min-height: 44px;
    padding: 10px 24px;
    line-height: 1.2;
}

.mcc-hero__message--promise .btn-primary,
.mcc-hero__message--promise .btn-primary:hover {
    background: #b0c82c;
    color: #ffffff;
}

.mcc-hero__message--promise .btn-primary {
    box-shadow: 0 4px 14px rgba(176, 200, 44, 0.39);
}

.mcc-hero__message--promise .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(176, 200, 44, 0.23);
}

.mcc-hero__message--promise .btn-primary:focus-visible {
    outline-color: #ffffff;
}

@media (max-width: 1320px) {
    .mcc-hero__content {
        grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
        width: min(calc(100% - 48px), 1240px);
    }

    .mcc-hero__final-title {
        font-size: clamp(54px, 6.4vw, 82px);
    }

    .mcc-hero__title {
        font-size: clamp(56px, 7vw, 86px);
    }

    .mcc-hero__statement {
        font-size: clamp(46px, 6vw, 74px);
    }
}

@media (max-width: 768px) {
    .mcc-home-with-hero {
        --showcase-nav-height: 70px;
    }

    .mcc-hero {
        height: auto;
        min-height: 640px;
    }

    .mcc-hero__stage {
        position: relative;
    }

    .mcc-hero__video {
        object-position: 42% center;
    }

    .mcc-hero__shade {
        background:
            linear-gradient(180deg, rgba(4, 7, 8, 0.48) 0%, rgba(4, 7, 8, 0.12) 30%, rgba(4, 7, 8, 0.78) 100%),
            linear-gradient(90deg, rgba(4, 7, 8, 0.2) 0%, rgba(4, 7, 8, 0.56) 100%);
    }

    .mcc-hero__content {
        display: flex;
        align-items: flex-end;
        width: calc(100% - 32px);
        height: auto;
        min-height: max(640px, 100svh);
        padding: calc(var(--showcase-nav-height) + 32px) 0 58px;
    }

    .mcc-hero__copy {
        width: 100%;
        margin: 0;
        padding: 24px 20px;
    }

    .mcc-hero__message--final {
        display: none;
    }

    .mcc-hero__messages {
        min-height: 390px;
        align-items: end;
    }

    .mcc-hero__title {
        max-width: 8ch;
        font-size: clamp(48px, 15vw, 72px);
    }

    .mcc-hero__statement {
        max-width: 11ch;
        font-size: clamp(42px, 12vw, 62px);
    }

    .mcc-hero__lead,
    .mcc-hero__description {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.55;
    }

    .mcc-hero__brand-copy {
        font-size: 20px;
        font-weight: 800;
    }

    .mcc-hero__actions {
        display: grid;
        margin-top: 24px;
    }

    .mcc-hero__actions .btn {
        width: 100%;
        max-width: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .mcc-home-with-hero .navbar-showcase {
        transition: none;
    }

    .mcc-hero {
        height: auto;
        min-height: 100vh;
    }

    @supports (min-height: 100dvh) {
        .mcc-hero {
            min-height: 100dvh;
        }
    }

    .mcc-hero__stage {
        position: relative;
    }

    .mcc-hero__content {
        min-height: 100vh;
        height: auto;
    }

    .mcc-hero__messages {
        display: flex;
        min-height: 0;
        flex-direction: column;
        gap: 44px;
    }

    .mcc-hero__frame-side {
        transition: none;
    }

    .mcc-hero__shade::before {
        transition: none;
    }
}
