.home-brands {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(.65rem, 1.2vw, 1rem);
    margin-top: clamp(1.25rem, 2.5vw, 2rem); padding-block: clamp(1rem, 2vw, 1.65rem);
    color: #262e34; font-family: Montserrat, Arial, sans-serif;
    background: #eff7f5;
}
.home-brands h2 {
    display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 1.6vw, 1.4rem);
    margin: 0; padding-inline: clamp(1rem, 3vw, 2.5rem); color: inherit; text-align: center;
    font: 400 clamp(1.05rem, 1.4vw, 1.35rem)/1.15 Outage, sans-serif; letter-spacing: .045em;
}
.home-brands h2::before, .home-brands h2::after { content: ''; flex: 1; height: 1px; background: #cfdfdb; }
/* Keep the footer grid's mobile top margin inside the footer background. */
[data-site-content]:has(.home-brands[data-before-footer]) + [data-site-footer] { display: flow-root; }
.home-brands__viewport {
    --edge-fade: clamp(.8rem, 2.5vw, 2rem);
    overflow: clip; mask-image: linear-gradient(to right, transparent, black var(--edge-fade), black calc(100% - var(--edge-fade)), transparent);
}
.home-brands__track { display: flex; width: max-content; min-width: 200%; animation: home-brands-scroll var(--brand-scroll-duration) linear infinite; }
@keyframes home-brands-scroll { to { transform: translateX(-50%); } }
.home-brands__list { display: flex; flex: 1 0 auto; align-items: center; justify-content: space-around; margin: 0; padding: .25rem 0; list-style: none; }
.home-brands__list li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(1rem, 1.45vw, 1.3rem); font-weight: 700; line-height: 1.25; }
.home-brands__list li::before {
    content: ''; width: .45rem; height: .6em; margin-inline: clamp(1rem, 2vw, 1.8rem);
    border-inline: 2px solid #f15a29; transform: skew(-18deg);
}
.home-brands__toggle {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
    border: 0; border-radius: inherit; cursor: pointer; background: transparent;
}
.home-brands:has(.home-brands__toggle[aria-pressed="true"]) .home-brands__track { animation-play-state: paused; }
.home-brands .home-brands__toggle:focus-visible { outline: 3px solid #1aaea6; outline-offset: -3px; }
