/* =========================================================
   METALIZAR BAND SLIDER
   ========================================================= */

.mbs-section,
.mbs-section * {
    box-sizing: border-box;
}

.mbs-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        linear-gradient(
            90deg,
            rgba(12, 17, 26, .91) 0%,
            rgba(16, 22, 33, .87) 48%,
            rgba(18, 24, 35, .82) 100%
        ),
        var(--mbs-background-image, none);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 0;
}



/* =========================================================
   TOP EDGE SHADOW
   Dedicated painted shadow layer:
   dark contact edge -> soft fade downward.
   Keeps the original dark brick overlay intact.
   ========================================================= */

.mbs-section::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 34px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.80) 0px,
            rgba(0,0,0,.55) 5px,
            rgba(0,0,0,.28) 13px,
            rgba(0,0,0,.10) 23px,
            rgba(0,0,0,0) 34px
        );

    pointer-events: none;
    z-index: 2;
}

.mbs-inner {
    position: relative;
    z-index: 3;

    width: min(1380px, calc(100% - 64px));
    min-height: 330px;

    margin: 0 auto;
    padding: 18px 0;

    display: grid;
    grid-template-columns:
        minmax(520px, 1.12fr)
        minmax(360px, .88fr);

    align-items: center;
    gap: clamp(38px, 5vw, 82px);
}


/* =========================================================
   LEFT — VERTICAL LOGO SLIDER
   ========================================================= */

.mbs-slider-column {
    min-width: 0;

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

.mbs-slider-shell {
    position: relative;

    width: min(100%, 650px);
    height: 290px;

    display: grid;
    grid-template-rows: 38px 1fr 38px;
    align-items: center;
}

.mbs-viewport {
    position: relative;

    width: 100%;
    height: 214px;

    overflow: hidden;

    touch-action: pan-x;
}


/* =========================================================
   BAND LOGOS
   ========================================================= */

.mbs-band {
    --mbs-delta: 0;

    position: absolute;

    left: 50%;
    top: 50%;

    width: min(86%, 520px);
    height: 108px;

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

    opacity: 0;
    pointer-events: none;

    text-decoration: none !important;

    transform:
        translate(
            -50%,
            calc(-50% + (var(--mbs-delta) * 84px))
        )
        scale(.72);

    filter:
        grayscale(1)
        brightness(.72);

    transition:
        transform 520ms cubic-bezier(.16,1,.30,1),
        opacity 420ms ease,
        filter 420ms ease;
}

.mbs-band::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 360px;
    height: 94px;

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

    border-radius: 999px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(232,238,255,.14) 0%,
            rgba(214,224,255,.08) 34%,
            rgba(214,224,255,0) 76%
        );

    filter: blur(14px);

    opacity: 0;

    pointer-events: none;
    z-index: 0;

    transition: opacity 420ms ease, transform 420ms ease;
}

.mbs-band.is-near,
.mbs-band.is-active {
    pointer-events: auto;
}

.mbs-band.is-near {
    opacity: 0;
    pointer-events: none;
}

.mbs-band.is-near::before {
    opacity: 0;
}

.mbs-band.is-active {
    opacity: 1;

    transform:
        translate(
            -50%,
            calc(-50% + (var(--mbs-delta) * 84px))
        )
        scale(1);

    filter:
        grayscale(.08)
        brightness(1.08);

    z-index: 3;
}

.mbs-band.is-active::before {
    opacity: .34;
    transform: translate(-50%, -50%) scale(1.05);
}

 .mbs-band img {
    display: block;

    width: min(360px, 92%);
    max-width: 100%;
    height: 120px;
    max-height: none;

    object-fit: contain;
    object-position: center;

    transform: scale(var(--mbs-logo-auto-scale, 1));
    transform-origin: center;

    filter:
        drop-shadow(
            0 8px 14px
            rgba(0,0,0,.26)
        );

    transition:
        transform 220ms ease,
        filter 220ms ease;
}

@media (hover:hover) and (pointer:fine) {
    .mbs-band.is-active:hover img {
        transform: scale(calc(var(--mbs-logo-auto-scale, 1) * 1.035));

        filter:
            drop-shadow(
                0 0 8px
                rgba(214,224,255,.13)
            )
            drop-shadow(
                0 10px 18px
                rgba(0,0,0,.34)
            );
    }

}


/* =========================================================
   ARROWS
   ========================================================= */

.mbs-arrow {
    position: relative;

    z-index: 10;

    width: 40px;
    height: 40px;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid;
    place-items: center;

    background: rgba(6,10,16,.18);

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 50%;

    color: rgba(255,255,255,.76);

    cursor: pointer;

    box-shadow: none;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.mbs-arrow svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover:hover) and (pointer:fine) {
    .mbs-arrow:hover {
        background: rgba(15,21,31,.46);
        border-color: rgba(255,255,255,.26);
        color: rgba(255,255,255,.96);
        transform: scale(1.045);
    }
}


/* =========================================================
   RIGHT — COPY
   ========================================================= */

.mbs-copy {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 560px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    text-align: center;
}

.mbs-heading-group {
    width: fit-content;
    max-width: 100%;

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

    gap: 20px;
}

.mbs-copy h2 {
    margin: 0;

    font-family:
        "Oswald",
        "Arial Narrow",
        sans-serif;

    width: fit-content;
    max-width: 560px;

    margin-left: auto;
    margin-right: auto;

    font-size:
        clamp(
            34px,
            3vw,
            46px
        );

    line-height: 1.04;

    font-weight: 500;

    letter-spacing: .3px;

    text-transform: uppercase;

    color: #C2C2C3;

    text-shadow:
        0 3px 10px
        rgba(0,0,0,.38);
}

.mbs-copy-line {
    width: 100%;
    height: 1px;

    margin: 0 auto;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(194,194,195,.18) 12%,
            rgba(194,194,195,.55) 50%,
            rgba(194,194,195,.18) 88%,
            transparent 100%
        );
}

.mbs-copy p {
    max-width: 470px;

    margin: 0 auto;

    font-family:
        "Oswald",
        "Arial Narrow",
        sans-serif;

    font-size: 14px;
    line-height: 1.55;

    font-weight: 400;

    letter-spacing: .15px;

    color:
        rgba(194,194,195,.72);
}



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

@media (max-width: 1050px) and (min-width: 769px) {
    .mbs-inner {
        width: calc(100% - 40px);

        grid-template-columns:
            minmax(420px, 1fr)
            minmax(310px, .85fr);

        gap: 30px;
    }

    .mbs-slider-shell {
        height: 285px;
    }

    .mbs-copy h2 {
        font-size:
            clamp(
                32px,
                4vw,
                42px
            );
    }
}


/* =========================================================
   MOBILE — ONE ROW / EXTRA COMPACT
   Slider left, copy right.
   The viewport intentionally clips the faded neighbouring logos.
   ========================================================= */

@media (max-width: 768px) {

    .mbs-section {
        background-position: center center;
    }

    .mbs-inner {
        width: 100%;
        min-height: 188px;

        margin: 0 auto;
        padding: 7px 8px;

        display: grid;
        grid-template-columns: minmax(0, .45fr) minmax(0, .55fr);
        align-items: center;
        gap: 4px;
    }


    /* RIGHT COPY */

    .mbs-copy {
        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0 7px 0 2px;

        gap: 11px;

        text-align: center;
    }

    .mbs-heading-group {
        max-width: 100%;
        margin: 0 auto;

        gap: 11px;
    }

    .mbs-copy h2 {
        max-width: 215px;

        margin: 0 auto;

        font-size: clamp(19px, 5.7vw, 27px);
        line-height: 1.04;
        letter-spacing: .1px;

        text-align: center;
    }

    .mbs-copy-line {
        width: 100%;
        margin: 0 auto;
    }

    .mbs-copy p {
        max-width: 210px;

        margin: 0 auto;

        font-size: 9.6px;
        line-height: 1.42;

        text-align: center;
    }


    /* LEFT VERTICAL SLIDER */

    .mbs-slider-column {
        width: 100%;
        min-width: 0;
    }

    .mbs-slider-shell {
        width: 100%;
        height: 174px;

        grid-template-rows: 27px 1fr 27px;
    }

    .mbs-viewport {
        width: 100%;
        height: 120px;

        /*
         * Keep the exact 1.4.3 logo sizing, but do not clip very wide
         * active artwork (for example Metallica) at the viewport edges.
         * Non-active slides are already transparent, so allowing overflow
         * here does not expose neighbouring logos.
         */
        overflow: visible;
    }

    .mbs-band {
        width: min(98%, 220px);
        height: 72px;

        transform:
            translate(
                -50%,
                calc(-50% + (var(--mbs-delta) * 56px))
            )
            scale(.70);
    }

    .mbs-band.is-active {
        transform:
            translate(
                -50%,
                calc(-50% + (var(--mbs-delta) * 56px))
            )
            scale(1);
    }

    .mbs-band::before {
        width: 210px;
        height: 56px;
    }

    .mbs-band img {
        width: min(205px, 92%);
        height: 68px;
        max-height: none;

        transform: scale(var(--mbs-logo-auto-scale, 1));

        /* Mobile has no real hover state, so keep the soft desktop
         * logo glow visible by default on every brand. */
        filter:
            drop-shadow(
                0 0 8px
                rgba(214,224,255,.13)
            )
            drop-shadow(
                0 8px 14px
                rgba(0,0,0,.26)
            );
    }

    .mbs-arrow {
        width: 26px;
        height: 26px;
    }

    .mbs-arrow svg {
        width: 12px;
        height: 12px;
    }
}


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

@media (max-width: 390px) {

    .mbs-inner {
        min-height: 174px;

        padding:
            6px
            5px;

        grid-template-columns:
            minmax(0, .44fr)
            minmax(0, .56fr);

        gap: 2px;
    }

    .mbs-slider-shell {
        height: 160px;

        grid-template-rows:
            25px
            1fr
            25px;
    }

    .mbs-viewport {
        height: 110px;
    }

    .mbs-band {
        width: min(98%, 188px);
        height: 64px;

        transform:
            translate(
                -50%,
                calc(-50% + (var(--mbs-delta) * 52px))
            )
            scale(.69);
    }

    .mbs-band.is-active {
        transform:
            translate(
                -50%,
                calc(-50% + (var(--mbs-delta) * 52px))
            )
            scale(1);
    }

    .mbs-band::before {
        width: 186px;
        height: 50px;
    }

    .mbs-band img {
        width: min(193px, 92%);
        height: 64px;
        max-height: none;

        transform: scale(var(--mbs-logo-auto-scale, 1));
    }

    .mbs-copy {
        padding:
            0
            4px
            0
            1px;

        gap: 9px;
    }

    .mbs-heading-group {
        gap: 9px;
    }

    .mbs-copy h2 {
        font-size:
            clamp(
                18px,
                5.55vw,
                23px
            );
    }

    .mbs-copy p {
        max-width: 190px;

        font-size: 8.5px;
        line-height: 1.35;
    }

    .mbs-arrow {
        width: 24px;
        height: 24px;
    }

    .mbs-arrow svg {
        width: 11px;
        height: 11px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .mbs-band,
    .mbs-band img,
    .mbs-arrow {
        transition: none !important;
    }
}

/* Keep the generic dynamic logos visually consistent on small screens. */
@media (max-width: 768px) and (hover:hover) and (pointer:fine) {
    .mbs-band.is-active:hover img {
        transform: scale(calc(var(--mbs-logo-auto-scale, 1) * 1.035));
    }
}
