/* Home-only adjustments. Keep the desktop composition and brand assets intact. */
@media (max-width: 720px) {
    .cleantex-home .hero__cta-row p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.35;
    }

    .cleantex-home .hero-panel--cloth {
        min-height: 190px;
    }

    .cleantex-home .hero-panel--cloth > div {
        max-width: 68%;
    }

    .cleantex-home .hero-panel--cloth h2,
    .cleantex-home .hero-panel--impact h2 {
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .cleantex-home .hero-panel--cloth .text-link {
        align-items: flex-start;
        min-height: 44px;
        font-size: .875rem;
        line-height: 1.3;
    }

    .cleantex-home .hero-panel--cloth .text-link svg {
        flex: 0 0 auto;
    }

    .cleantex-home .benefits .section-heading {
        margin-bottom: 38px;
    }

    .cleantex-home .benefit-card--blue {
        min-height: 220px;
    }

    .cleantex-home .benefit-card--wide,
    .cleantex-home .benefit-card--clean {
        min-height: 310px;
    }

    .cleantex-home .benefit-card--wide img,
    .cleantex-home .benefit-card--clean img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }

    .cleantex-home .benefit-card--wide::after,
    .cleantex-home .benefit-card--clean::after {
        background: linear-gradient(0deg, #ececec 0%, rgba(236, 236, 236, .97) 35%, rgba(236, 236, 236, .56) 66%, transparent 100%);
    }

    .cleantex-home .benefit-card--wide > div,
    .cleantex-home .benefit-card--clean > div {
        right: 20px;
        bottom: 20px;
        max-width: none;
    }

    .cleantex-home .benefit-card--wide h3,
    .cleantex-home .benefit-card--clean h3 {
        max-width: 100%;
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .cleantex-home .benefit-card--wide p,
    .cleantex-home .benefit-card--clean p {
        max-width: 100%;
        color: #34383d;
        font-size: 1rem;
        line-height: 1.35;
    }

    .cleantex-home .benefit-card--tall {
        min-height: 355px;
    }

    .cleantex-home .benefit-card--detail {
        min-height: 220px;
    }

    .cleantex-home .product-grid {
        gap: 18px;
    }

    .cleantex-home .product-card {
        min-height: 330px;
        border-radius: 20px;
    }

    .cleantex-home .product-card img,
    .cleantex-home .product-card::before {
        top: 0;
        right: 0;
        width: 100%;
        height: 68%;
        aspect-ratio: auto;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    }

    .cleantex-home .product-card > div {
        right: 0;
        bottom: 0;
        left: 0;
        max-width: none;
        padding: 52px 20px 20px;
        background: linear-gradient(180deg, transparent, rgba(236, 236, 236, .97) 27%, #ececec 62%);
    }

    .cleantex-home .product-card h3 {
        font-size: clamp(1.5rem, 6.7vw, 1.8rem);
        line-height: 1.08;
    }

    .cleantex-home .product-card p {
        color: #42484e;
        font-size: 1rem;
        line-height: 1.35;
    }

    .cleantex-home .sustainability__inner {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .cleantex-home .sustainability__copy {
        padding: 56px 0 0;
    }

    .cleantex-home .sustainability__copy > .button {
        margin-top: 38px;
    }

    .cleantex-home .certification {
        margin-top: 48px;
    }

    .cleantex-home .sustainability .sustainability__tree {
        position: relative;
        z-index: 2;
        right: auto;
        bottom: auto;
        width: min(150vw, 900px);
        height: auto;
        max-width: none;
        align-self: center;
        margin: -12px 0 -14vw;
    }
}

@media (max-width: 360px) {
    .cleantex-home .hero__content {
        padding-top: 108px;
        padding-bottom: 36px;
    }

    .cleantex-home .hero__title {
        font-size: clamp(2.25rem, 12vw, 2.65rem);
        line-height: .98;
    }

    .cleantex-home .hero__cta-row {
        gap: 12px;
        margin-top: 22px;
    }

    .cleantex-home .hero__video,
    .cleantex-home .hero__poster,
    .cleantex-home .hero__wash {
        height: max(100svh, 720px);
    }

    .cleantex-home .hero-panel--cloth img {
        width: 33%;
    }

    .cleantex-home .benefit-card h3 {
        font-size: 1.7rem;
    }

    .cleantex-home .benefit-card--tall {
        min-height: 380px;
    }
}

@media (max-width: 720px) and (max-height: 680px) {
    .cleantex-home .mobile-menu {
        justify-content: flex-start;
        gap: 4px;
        overflow-y: auto;
        padding: 92px 16px 24px;
        overscroll-behavior: contain;
    }

    .cleantex-home .mobile-menu > a:not(.button) {
        display: flex;
        min-height: 48px;
        align-items: center;
        font-size: 1.5rem;
    }

    .cleantex-home .mobile-menu .button {
        flex: 0 0 auto;
        margin-top: 12px;
    }
}

@media (max-width: 720px) {
    .cleantex-home.menu-open .site-logo {
        filter: brightness(0) invert(1);
    }
}
