.home-main {
    padding-block: clamp(14px, 2vw, 28px) clamp(42px, 6vw, 86px);
}

.home-opening {
    display: grid;
    grid-template-columns: minmax(0, 2.12fr) minmax(280px, 1fr);
    gap: 15px;
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(380px, 33vw, 490px);
    align-items: center;
    overflow: clip;
    border-radius: 22px;
    background: #172822;
    color: var(--white);
}

.home-hero__image,
.home-hero::after,
.home-feature__background,
.home-feature::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.home-hero__image,
.home-feature__background {
    z-index: -2;
    object-fit: cover;
}

.home-hero__image {
    object-position: 65% center;
    transform-origin: 68% 55%;
}

.home-hero::after {
    z-index: -1;
    content: '';
    background: linear-gradient(90deg, #101d19 0%, rgb(16 29 25 / 89%) 27%, rgb(16 29 25 / 63%) 53%, transparent 90%);
}

.home-hero__content {
    width: min(100%, 41rem);
    padding: clamp(24px, 4.4vw, 66px);
    container-type: inline-size;
}

.home-hero h1 {
    font-size: min(clamp(2.16rem, 5.34vw, 5.15rem), 15cqi);
    font-weight: 830;
    letter-spacing: -.066em;
    line-height: .99;
    overflow-wrap: normal;
}

.home-hero p {
    max-width: 28ch;
    margin-top: clamp(12px, 2vw, 26px);
    color: #e6ece7;
    font-size: clamp(1rem, 1.33vw, 1.21rem);
    line-height: 1.5;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 21px;
    margin-top: clamp(19px, 2.3vw, 32px);
}

.home-hero__button.button {
    min-height: 49px;
    padding-inline: 20px;
    color: var(--ink);
}

.home-hero__jump {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    font-size: .93rem;
    font-weight: 710;
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 60%);
    text-underline-offset: 4px;
}

.home-hero a:focus-visible,
.home-feature__lead:focus-visible {
    outline-color: var(--accent);
}

.home-promo-stack {
    display: grid;
    grid-template-rows: repeat(2, minmax(185px, 1fr));
    gap: 15px;
}

.home-promo {
    --promo-background: #e3eedb;
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    align-items: center;
    overflow: clip;
    border: 1px solid rgb(20 36 31 / 10%);
    border-radius: 19px;
    background: var(--promo-background);
}

.home-promo--power {
    --promo-background: #e0ebe7;
}

.home-promo--neutral {
    --promo-background: #eaede3;
}

.home-promo__image {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: 64%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    transition: transform 240ms ease-out;
}

.home-promo::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, var(--promo-background) 38%, color-mix(in srgb, var(--promo-background) 88%, transparent) 57%, transparent 95%);
    content: '';
}

.home-promo__content {
    width: 71%;
    min-width: 0;
    padding: clamp(14px, 2vw, 27px);
}

.home-promo--product .home-promo__image {
    width: 43%;
    padding: 10px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.home-promo--product::after {
    content: none;
}

.home-promo--product .home-promo__content {
    width: 57%;
}

.home-promo h2 {
    max-width: 19ch;
    font-size: clamp(1.22rem, 2.15vw, 2rem);
    font-weight: 810;
    letter-spacing: -.047em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.home-promo p {
    max-width: 32ch;
    margin-top: 8px;
    color: #3c5045;
    font-size: clamp(.84rem, 1.15vw, .97rem);
    line-height: 1.37;
    overflow-wrap: anywhere;
}

.home-promo__action,
.home-section__link,
.home-feature__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #285039;
    font-size: .93rem;
    font-weight: 770;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-promo__action {
    margin-top: clamp(8px, 1.25vw, 16px);
}

.home-promo:hover .home-promo__image {
    transform: scale(1.045);
}

.home-promo:hover .home-promo__action,
.home-section__link:hover,
.home-feature__lead:hover .home-feature__action,
.home-editorial a:hover .home-section__link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-section {
    margin-top: clamp(35px, 4.2vw, 63px);
}

.home-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-bottom: clamp(13px, 1.7vw, 22px);
}

.home-section__head h2 {
    font-size: clamp(1.6rem, 3.3vw, 2.8rem);
    font-weight: 825;
    letter-spacing: -.055em;
    line-height: 1.08;
    scroll-margin-block-start: 154px;
}

.home-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
    gap: 11px;
}

.home-category {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 152px;
    flex-direction: column;
    overflow: clip;
    padding: 14px 13px 9px;
    border: 1px solid #e0e7dc;
    border-radius: 16px;
    background: #edf1eb;
    transition: background-color 160ms ease-out, border-color 160ms ease-out;
}

.home-category:hover {
    border-color: #b8cda6;
    background: #e5efdf;
}

.home-category__name {
    position: relative;
    z-index: 1;
    max-width: 20ch;
    color: var(--ink);
    font-size: clamp(.91rem, 1.19vw, 1.05rem);
    font-weight: 790;
    hyphens: auto;
    letter-spacing: -.031em;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.home-category img,
.home-category__icon {
    align-self: flex-end;
    width: min(86%, 137px);
    height: clamp(73px, 8.15vw, 111px);
    margin: auto -6px -4px 0;
    object-fit: contain;
    object-position: right bottom;
    mix-blend-mode: multiply;
}

.home-category__icon {
    display: grid;
    place-items: center;
    color: #68836c;
}

.home-category__arrow {
    position: absolute;
    inset: auto auto 10px 11px;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid #dde5d8;
    border-radius: 50%;
    background: #f8faf5;
    color: #315440;
}

.home-feature {
    --feature-base: #254134;
    --feature-shade: 22 45 34;
    --feature-lift: 55 94 67;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(265px, 1.12fr) minmax(0, 2.35fr);
    align-items: center;
    gap: clamp(16px, 2.7vw, 40px);
    overflow: clip;
    padding: clamp(17px, 3.2vw, 46px);
    border-radius: 23px;
    background: var(--feature-base);
    color: var(--white);
}

.home-feature--winter {
    --feature-base: #234357;
    --feature-shade: 16 36 49;
    --feature-lift: 32 63 80;
}

.home-feature__background {
    object-position: 50% 44%;
}

.home-feature::before {
    z-index: -1;
    background: linear-gradient(96deg, rgb(var(--feature-shade) / 94%) 0%, rgb(var(--feature-shade) / 82%) 37%, rgb(var(--feature-lift) / 35%) 100%);
    content: '';
}

.home-feature__lead::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: '';
}

.home-feature__lead:focus-visible::after {
    box-shadow: inset 0 0 0 3px var(--accent);
}

.home-feature__heading {
    container-type: inline-size;
}

.home-feature__heading h2 {
    font-size: clamp(1.91rem, 3.2vw, 3.35rem);
    font-size: min(clamp(1.91rem, 3.2vw, 3.35rem), 12cqi);
    font-weight: 820;
    letter-spacing: -.056em;
    line-height: 1;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.home-feature__lead p {
    max-width: 34ch;
    margin-top: 12px;
    color: #e0ebf2;
    font-size: clamp(.94rem, 1.2vw, 1.08rem);
    line-height: 1.43;
    overflow-wrap: anywhere;
}

.home-feature__action {
    margin-top: 20px;
    color: #edff86;
}

.home-feature__products {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 137px), 1fr));
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.home-feature__products li {
    display: flex;
    min-width: 0;
}

.home-feature__product {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
    padding: 11px;
    border: 1px solid rgb(244 249 252 / 95%);
    border-radius: 13px;
    background: #f8fafb;
    color: var(--ink);
    pointer-events: auto;
}

.home-feature__product:hover,
.home-feature__product:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    background: white;
}

.home-feature__product img,
.home-feature__missing {
    display: grid;
    width: 100%;
    height: clamp(85px, 9.5vw, 136px);
    place-items: center;
    object-fit: contain;
    color: #638475;
    mix-blend-mode: multiply;
}

.home-feature__name {
    font-size: clamp(.84rem, 1.14vw, .96rem);
    font-weight: 745;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.home-feature__price {
    margin-top: auto;
    color: #254e37;
    font-size: clamp(.99rem, 1.68vw, 1.59rem);
    font-variant-numeric: tabular-nums;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.home-heading-link:hover, .home-heading-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: .14em;
}
#home-promotions-list, #home-editorial-list { scroll-margin-block-start: 9rem; }

.home-promotions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
    gap: 12px;
}

.home-promotions__item {
    display: flex;
}

.home-promotions__item .home-promo {
    width: 100%;
    min-height: 165px;
}

.home-promotions__item .home-promo__image {
    width: min(52%, 450px);
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    gap: 8px;
}

.home-brands a {
    display: grid;
    min-height: 52px;
    place-items: center;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    color: #284134;
    font-weight: 760;
    overflow-wrap: anywhere;
    text-align: center;
}

.home-brands a:hover {
    border-color: #a7bfa8;
    background: #eaf1e6;
}

.home-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(275px, 1fr);
    gap: 13px;
}

.home-business {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: center;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: clamp(17px, 3.1vw, 41px);
    border-radius: 20px;
    background: #233a2d;
    color: var(--white);
}

.home-business__icon,
.home-help__icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: none;
    place-items: center;
    border-radius: 11px;
}

.home-business__icon {
    background: #405e4a;
    color: #f1f6ee;
}

.home-business__notice {
    min-width: 0;
}

.home-business h2 {
    font-size: clamp(1.46rem, 2.45vw, 2.5rem);
    font-weight: 795;
    letter-spacing: -.048em;
    line-height: 1.1;
}

.home-business p {
    margin-top: 7px;
    color: #dbe7db;
    font-size: .97rem;
    line-height: 1.44;
}

.home-business .button {
    grid-column: 2;
    width: fit-content;
    max-width: 100%;
    color: var(--ink);
    white-space: normal;
}

.home-help {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.home-help > a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    min-height: 55px;
    padding: 5px 9px;
    border-radius: 11px;
    font-weight: 745;
}

.home-help > a:hover {
    background: #edf2ec;
}

.home-help__icon {
    width: 36px;
    height: 36px;
    background: #edf2ec;
    color: #395a47;
}

.home-editorial__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.home-editorial {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
    gap: 11px;
}

.home-editorial article > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: clip;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
}

.home-editorial__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 2.12;
    object-fit: cover;
}

.home-editorial__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: clamp(15px, 2.4vw, 28px);
}

.home-editorial article > a:hover {
    border-color: #b1c5b3;
}

.home-editorial__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 680;
}

.home-editorial h3 {
    font-size: clamp(1.1rem, 2.05vw, 1.45rem);
    font-weight: 805;
    letter-spacing: -.028em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.home-editorial p {
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-editorial article .home-section__link {
    margin-top: auto;
    padding-top: 5px;
}

@media (max-width: 1000px) {
    .home-opening {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-promo-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .home-promo-stack .home-promo {
        min-height: 156px;
    }

    .home-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 690px) {
    .home-opening {
        gap: 10px;
    }

    .home-hero {
        min-height: clamp(320px, 63vw, 410px);
        align-items: end;
        border-radius: 17px;
    }

    .home-hero__content {
        width: 100%;
        padding: 23px 19px;
    }

    .home-hero h1 {
        font-size: min(clamp(2.16rem, 10.1vw, 3.76rem), 15cqi);
    }

    .home-hero__image {
        object-position: 67% 49%;
    }

    .home-hero::after {
        background: linear-gradient(20deg, rgb(12 24 20 / 98%) 2%, rgb(12 24 20 / 86%) 45%, rgb(12 24 20 / 16%) 90%);
    }

    .home-promo-stack {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .home-promo-stack .home-promo {
        min-height: 134px;
        border-radius: 15px;
    }

    .home-section__head {
        align-items: baseline;
    }

    .home-feature,
    .home-service-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-feature {
        border-radius: 17px;
    }

    .home-feature__action {
        margin-top: 12px;
    }
}

@media (max-width: 470px) {
    .home-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-category {
        min-height: 126px;
        padding: 12px 11px 8px;
        border-radius: 13px;
    }

    .home-feature__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .home-feature__products li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .home-feature__products li:last-child:nth-child(odd) .home-feature__product {
        display: grid;
        grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        align-items: start;
    }

    .home-feature__products li:last-child:nth-child(odd) :is(img, .home-feature__missing) {
        grid-row: 1 / -1;
    }

    .home-feature__products li:last-child:nth-child(odd) .home-feature__price {
        margin-top: 0;
    }

    .home-business {
        gap: 11px;
    }

    .home-business .button {
        grid-column: 1 / -1;
    }
}

@keyframes home-hero-photo-in {
    from { scale: 1.08; }
    to { scale: 1; }
}

@keyframes home-hero-copy-in {
    from { opacity: .65; translate: 0 12px; }
    to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero__image {
        animation: home-hero-photo-in 1.25s cubic-bezier(.22, .61, .36, 1);
    }

    .home-hero__content {
        animation: home-hero-copy-in 650ms ease-out;
    }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .home-hero__image {
        transition: transform 550ms ease-out;
    }

    .home-hero:hover .home-hero__image {
        transform: scale(1.035);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-promo__image,
    .home-category {
        transition: none;
    }
}
