/* MASTER-PACK prototype 0.7.1 final-review overrides.
 * Scope: staging prototype polish before stakeholder comparison.
 * - Variant 1: readable reference-style hero plus desktop viewport-fit.
 * - Variant 2: replace the clipped side rail with a complete responsive top navigation bar.
 * - Variant 3: repair mobile hero copy and desktop product viewport-fit.
 */

/* Variant 1 — the approved photographic reference depends on strong white hero copy. */
.mp-prototype-1 .mp-company .mp-hero-slide .mp-hero-title,
.mp-prototype-1 .mp-company .mp-hero-title {
    color: #fff !important;
    text-shadow: 0 2px 22px rgba(0, 0, 0, .34);
}

.mp-prototype-1 .mp-company .mp-hero-slide .mp-lead,
.mp-prototype-1 .mp-company .mp-lead {
    color: rgba(255, 255, 255, .92) !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .28);
}

.mp-prototype-1 .mp-company .mp-eyebrow,
.mp-prototype-1 .mp-hero-proof li {
    color: rgba(255, 255, 255, .88) !important;
}

.mp-prototype-1 .mp-hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 10, 14, .92) 0%, rgba(5, 10, 14, .82) 30%, rgba(5, 10, 14, .38) 58%, rgba(5, 10, 14, .11) 80%, rgba(5, 10, 14, .17) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .42) 0%, transparent 40%);
}

.mp-prototype-1 .mp-slider-controls button:disabled {
    visibility: visible;
    opacity: .34;
}

@media (min-width: 901px) {
    /* Motion 0.7.0 measured the Variant 1 product card 18–97 px below the
     * 900/1080 px desktop viewport. Shorten the stage, not the content. */
    .mp-prototype-1 .mp-product-section {
        padding-top: calc(var(--mp-header-height) + 28px);
    }

    .mp-prototype-1 .mp-slide,
    .mp-prototype-1 .mp-slide-media {
        min-height: clamp(470px, 58vh, 620px);
    }

    .mp-prototype-1 .mp-slide-content {
        padding: clamp(34px, 4vw, 64px) clamp(42px, 6vw, 100px);
    }

    /* Variant 2 — retain the green technical language but use a complete top header. */
    .mp-prototype-2 {
        --mp-header-height: 76px;
        --mp-pad: clamp(24px, 4vw, 68px);
    }

    .mp-prototype-2 .mp-header {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        min-height: var(--mp-header-height);
        flex-direction: row;
        justify-content: flex-start;
        gap: clamp(20px, 2.4vw, 38px);
        padding: 12px var(--mp-pad);
        color: #eef5f4;
        background: rgba(7, 16, 20, .94);
        border: 0;
        border-bottom: 1px solid rgba(223, 242, 237, .14);
        border-radius: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
        backdrop-filter: blur(16px);
    }

    .mp-prototype-2 .mp-logo {
        flex-direction: row;
        gap: 12px;
    }

    .mp-prototype-2 .mp-logo-text {
        display: inline;
        color: #f2f7f6;
        font-size: 15px;
        letter-spacing: .035em;
    }

    .mp-prototype-2 .mp-logo-mark {
        border-radius: 4px;
    }

    .mp-prototype-2 .mp-main-nav {
        width: auto;
        flex: 0 1 auto;
        flex-direction: row;
        justify-content: flex-end;
        gap: clamp(14px, 1.8vw, 27px);
        margin: 0 0 0 auto;
    }

    .mp-prototype-2 .mp-main-nav a {
        width: auto;
        padding: 8px 0;
        color: #b8c8c8;
        background: transparent;
        font-size: 12px;
        text-align: left;
        text-transform: none;
    }

    .mp-prototype-2 .mp-main-nav a:hover,
    .mp-prototype-2 .mp-main-nav a:focus-visible {
        color: #fff;
        background: transparent;
    }

    .mp-prototype-2 .mp-variant-switch {
        flex-direction: row;
        flex: 0 0 auto;
        margin: 0;
        border-color: rgba(223, 242, 237, .20);
        border-radius: 999px;
    }

    .mp-prototype-2 .mp-variant-switch a {
        width: 30px;
        height: 30px;
    }

    .mp-prototype-2 main,
    .mp-prototype-2 .mp-footer {
        margin-left: 0;
    }

    .mp-prototype-2 .mp-screen {
        padding-top: calc(var(--mp-header-height) + clamp(44px, 5vw, 76px));
    }

    .mp-prototype-2 .mp-company {
        padding-top: var(--mp-header-height);
    }

    .mp-prototype-2 .mp-hero-layout {
        min-height: calc(100svh - var(--mp-header-height));
    }

    /* Variant 3 was structurally sound but its tall editorial cards and
     * progress control extended 29–62 px below desktop viewports. */
    .mp-prototype-3 .mp-product-section {
        padding-top: calc(var(--mp-header-height) + 30px);
        padding-bottom: 28px;
    }

    .mp-prototype-3 .mp-section-heading {
        margin-bottom: 16px;
    }

    .mp-prototype-3 .mp-slide {
        height: min(61vh, 640px);
        min-height: 0;
        grid-template-rows: minmax(300px, 1fr) auto;
    }

    .mp-prototype-3 .mp-slide-media {
        min-height: 300px;
    }

    .mp-prototype-3 .mp-slide-content {
        padding: 24px 32px 30px;
    }

    .mp-prototype-3 .mp-slide-content h3 {
        margin-bottom: 12px;
        font-size: clamp(28px, 2.7vw, 44px);
    }

    .mp-prototype-3 .mp-slide-description {
        margin-bottom: 14px;
    }

    .mp-prototype-3 .mp-slide-facts {
        margin-bottom: 16px;
    }

    .mp-prototype-3 .mp-slider-progress {
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .mp-prototype-2 {
        --mp-header-height: 68px;
    }

    .mp-prototype-2 .mp-header {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        min-height: var(--mp-header-height);
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        padding: 9px 16px;
        color: #10242a;
        background: rgba(255, 255, 255, .97);
        border: 0;
        border-bottom: 1px solid rgba(16, 36, 42, .12);
        border-radius: 0;
        box-shadow: 0 8px 24px rgba(20, 45, 42, .10);
        backdrop-filter: blur(14px);
    }

    .mp-prototype-2 .mp-logo {
        flex-direction: row;
        gap: 9px;
    }

    .mp-prototype-2 .mp-logo-text {
        display: inline;
        color: #10242a;
        font-size: 13px;
    }

    .mp-prototype-2 .mp-menu-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        color: #10242a;
        background: #fff;
        border-color: rgba(16, 36, 42, .15);
    }

    .mp-prototype-2 .mp-main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 12px 20px 18px;
        background: rgba(255, 255, 255, .98);
        border-bottom: 1px solid rgba(16, 36, 42, .12);
        box-shadow: 0 18px 34px rgba(20, 45, 42, .10);
    }

    body.mp-menu-open.mp-prototype-2 .mp-main-nav {
        display: flex;
    }

    .mp-prototype-2 .mp-main-nav a {
        width: 100%;
        padding: 13px 0;
        color: #10242a;
        background: transparent;
        border-bottom: 1px solid rgba(16, 36, 42, .10);
        font-size: 16px;
        text-align: left;
        text-transform: none;
    }

    .mp-prototype-2 .mp-variant-switch {
        order: 3;
        flex-direction: row;
        flex: 0 0 auto;
        margin-left: 0;
        border-radius: 999px;
    }

    .mp-prototype-2 main,
    .mp-prototype-2 .mp-footer {
        margin-left: 0;
    }

    .mp-prototype-2 .mp-company {
        padding-top: calc(var(--mp-header-height) + 26px);
    }

    .mp-prototype-2 .mp-hero-layout,
    .mp-prototype-2 .mp-hero-copy,
    .mp-prototype-2 .mp-hero-slides,
    .mp-prototype-2 .mp-hero-slide {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .mp-prototype-2 .mp-company .mp-hero-slide .mp-hero-title,
    .mp-prototype-2 .mp-company .mp-hero-slide .mp-lead {
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Variant 3 mobile must use the full text column, not the desktop split width. */
    .mp-prototype-3 .mp-hero-layout,
    .mp-prototype-3 .mp-hero-copy,
    .mp-prototype-3 .mp-hero-slides,
    .mp-prototype-3 .mp-hero-slide {
        width: 100%;
        max-width: none;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .mp-prototype-3 .mp-company .mp-hero-slide .mp-hero-title,
    .mp-prototype-3 .mp-company .mp-hero-slide .mp-lead {
        width: 100%;
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }
}

@media (max-width: 600px) {
    .mp-prototype-1 .mp-company .mp-hero-slide .mp-hero-title,
    .mp-prototype-2 .mp-company .mp-hero-slide .mp-hero-title,
    .mp-prototype-3 .mp-company .mp-hero-slide .mp-hero-title {
        overflow-wrap: normal;
        word-break: normal;
    }

    .mp-prototype-3 .mp-company .mp-hero-slide .mp-hero-title {
        font-size: clamp(36px, 10.4vw, 46px);
        line-height: .98;
    }
}
