/* Shopify-inspired commerce rail, rebuilt for TrueLink content and imagery. */
body.home-page section.confidence-film.commerce-showcase.section {
    --commerce-bg: #050917;
    --commerce-text: #f4f6f7;
    --commerce-muted: #74808a;
    --commerce-accent: #f5f7fb;
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(72px, 7vw, 112px) 0 clamp(86px, 6.4vw, 124px) !important;
    overflow: hidden !important;
    border: 0 !important;
    background:
        linear-gradient(180deg, #050917 0%, rgba(5, 9, 23, .98) 48%, #050917 100%),
        var(--commerce-bg) !important;
    color: var(--commerce-text) !important;
}

body.home-page section.confidence-film.commerce-showcase::before,
body.home-page section.confidence-film.commerce-showcase::after {
    display: none !important;
}

body.home-page .commerce-showcase__inner {
    width: min(calc(100% - 48px), 1220px);
    margin: 0 auto;
}

body.home-page .commerce-showcase__header h2 {
    max-width: none !important;
    margin: 0 !important;
    color: var(--commerce-text) !important;
    font-family: "Instrument Sans", "Inter", sans-serif !important;
    font-size: clamp(28px, 2.35vw, 40px) !important;
    font-weight: 400 !important;
    letter-spacing: -.045em !important;
    line-height: 1.15 !important;
    white-space: nowrap;
}

body.home-page .commerce-showcase__header h2 span {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

body.home-page .commerce-showcase__accent { color: var(--commerce-muted) !important; }
body.home-page .commerce-showcase__bright { color: #fff !important; }
body.home-page .commerce-showcase__muted { color: var(--commerce-muted) !important; }

body.home-page .commerce-showcase__viewport {
    position: relative;
    width: 100%;
    margin-top: clamp(50px, 4.4vw, 66px);
    overflow-x: hidden;
    overflow-y: hidden;
    cursor: grab;
    outline: none;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

body.home-page .commerce-showcase__viewport::-webkit-scrollbar { display: none; }

body.home-page .commerce-showcase__viewport::before,
body.home-page .commerce-showcase__viewport::after {
    display: none;
}

body.home-page .commerce-showcase__viewport::before {
    left: 0;
    float: left;
    margin-right: -54px;
    background: linear-gradient(90deg, var(--commerce-bg), rgba(5, 9, 23, 0));
}

body.home-page .commerce-showcase__viewport::after {
    right: 0;
    float: right;
    margin-left: -54px;
    background: linear-gradient(270deg, var(--commerce-bg), rgba(5, 9, 23, 0));
}

body.home-page .commerce-showcase__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

body.home-page .commerce-showcase__viewport:focus-visible {
    outline: 2px solid var(--commerce-accent);
    outline-offset: 8px;
}

body.home-page .commerce-showcase__track {
    --commerce-card-height: clamp(280px, 17vw, 325px);
    --commerce-gap: clamp(12px, 1vw, 14px);
    --commerce-narrow-width: clamp(176px, 18%, 224px);
    --commerce-wide-width: calc((100% - var(--commerce-narrow-width) - (var(--commerce-gap) * 2)) / 2);
    display: flex;
    width: 100%;
    min-width: 0;
    height: var(--commerce-card-height);
    align-items: stretch;
    gap: var(--commerce-gap);
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
    transition: transform .95s cubic-bezier(.18, .9, .22, 1);
    will-change: transform;
}

body.home-page .commerce-showcase__viewport.is-page-turning .commerce-showcase__track {
    transition-timing-function: cubic-bezier(.2, .82, .24, 1);
}

body.home-page .commerce-showcase__card {
    position: relative;
    display: block;
    height: 100%;
    flex: 0 0 var(--commerce-wide-width);
    overflow: hidden;
    border: 0;
    border-radius: 5px;
    background: #101719;
    color: #fff;
    outline: none;
    scroll-snap-align: start;
    text-decoration: none;
    transform: translateZ(0);
    transform-origin: left center;
    transition: transform .95s cubic-bezier(.18, .9, .22, 1), filter .42s ease, opacity .42s ease;
}

body.home-page .commerce-showcase__card--wide,
body.home-page .commerce-showcase__card--narrow { width: auto; }

body.home-page .commerce-showcase__card--wide { flex-basis: var(--commerce-wide-width); }
body.home-page .commerce-showcase__card--narrow { flex-basis: var(--commerce-narrow-width); }

body.home-page .commerce-showcase__card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.96) contrast(1) brightness(1.12);
    pointer-events: none;
    transform: scale(1.002);
    transition: filter .42s ease, transform .62s cubic-bezier(.22, 1, .36, 1);
}

body.home-page .commerce-showcase__card--narrow > img { object-position: center; }

body.home-page .commerce-showcase__viewport.is-page-turning .commerce-showcase__card {
    filter: brightness(.82);
    transform: perspective(1200px) rotateY(-8deg) translateZ(0);
}

body.home-page .commerce-showcase__overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(5, 9, 23, .86);
    color: #fff;
    opacity: 0;
    text-align: center;
    transition: opacity .3s ease;
}

body.home-page .commerce-showcase__brand {
    color: #fff;
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: 1;
}

body.home-page .commerce-showcase__brand em {
    color: var(--commerce-accent);
    font-style: normal;
}

body.home-page .commerce-showcase__card-copy {
    display: grid;
    max-width: 340px;
    gap: 7px;
    margin-top: 17px;
}

body.home-page .commerce-showcase__card-copy small {
    color: var(--commerce-accent) !important;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .01em;
    line-height: 1.2;
    text-transform: none;
}

body.home-page .commerce-showcase__card-copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: rgba(255, 255, 255, .78);
    font-family: "Inter", sans-serif;
    font-size: clamp(13px, .94vw, 16px);
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.25;
}

body.home-page .commerce-showcase__card-copy > span {
    display: block;
    color: rgba(255, 255, 255, .64);
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.45;
}

body.home-page .commerce-showcase__card-link {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, .86);
    font-family: "Inter", sans-serif;
    font-size: 11px;
    line-height: 1;
}

body.home-page .commerce-showcase__card-link i {
    font-style: normal;
    transition: transform .2s ease;
}

body.home-page .commerce-showcase__card:hover > img,
body.home-page .commerce-showcase__card:focus-visible > img {
    filter: saturate(.82) brightness(.76);
    transform: scale(1.045);
}

body.home-page .commerce-showcase__card:hover .commerce-showcase__overlay,
body.home-page .commerce-showcase__card:focus-visible .commerce-showcase__overlay { opacity: 1; }

body.home-page .commerce-showcase__card:hover .commerce-showcase__card-link i,
body.home-page .commerce-showcase__card:focus-visible .commerce-showcase__card-link i {
    transform: translate(3px, -3px);
}

body.home-page .commerce-showcase__card--narrow .commerce-showcase__overlay { padding-inline: 12px; }

body.home-page .commerce-showcase__card--narrow .commerce-showcase__card-copy {
    gap: 6px;
    margin-top: 14px;
}

body.home-page .commerce-showcase__card--narrow .commerce-showcase__card-copy strong {
    font-size: clamp(11px, .82vw, 13px);
}

body.home-page .commerce-showcase__card--narrow .commerce-showcase__card-copy > span { display: none; }

body.home-page .commerce-showcase__hint {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin: 18px 0 0 !important;
    color: rgba(255, 255, 255, .42) !important;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

body.home-page .commerce-showcase__hint i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-style: normal;
}

@media (max-width: 900px) {
    body.home-page section.confidence-film.commerce-showcase.section { padding: 64px 0 82px !important; }
    body.home-page .commerce-showcase__inner { width: calc(100% - 40px); }
    body.home-page .commerce-showcase__header h2 { font-size: clamp(19px, 3.65vw, 30px) !important; }
    body.home-page .commerce-showcase__track { --commerce-card-height: clamp(260px, 38vw, 310px); }
}

@media (max-width: 600px) {
    body.home-page section.confidence-film.commerce-showcase.section { padding: 56px 0 68px !important; }
    body.home-page .commerce-showcase__inner { width: calc(100% - 32px); }

    body.home-page .commerce-showcase__header h2 {
        font-size: clamp(14px, 4vw, 19px) !important;
        line-height: 1.1 !important;
    }

    body.home-page .commerce-showcase__header h2 br { display: none; }

    body.home-page .commerce-showcase__viewport {
        width: calc(100vw - 16px);
        margin-top: 38px;
    }

    body.home-page .commerce-showcase__track {
        --commerce-card-height: 196px;
        --commerce-gap: 8px;
        --commerce-narrow-width: 22%;
    }

    body.home-page .commerce-showcase__card--wide { flex-basis: var(--commerce-wide-width); }
    body.home-page .commerce-showcase__card--narrow { flex-basis: var(--commerce-narrow-width); }
    body.home-page .commerce-showcase__overlay { padding: 14px; }
    body.home-page .commerce-showcase__brand { font-size: 17px; }

    body.home-page .commerce-showcase__card-copy {
        gap: 5px;
        margin-top: 12px;
    }

    body.home-page .commerce-showcase__card-copy strong,
    body.home-page .commerce-showcase__card--narrow .commerce-showcase__card-copy strong { font-size: 16px; }

    body.home-page .commerce-showcase__card-copy > span,
    body.home-page .commerce-showcase__card-link { display: none; }
    body.home-page .commerce-showcase__hint { justify-content: flex-start; }
}

@media (hover: none) {
    body.home-page .commerce-showcase__overlay {
        align-items: flex-start;
        justify-content: flex-end;
        background: linear-gradient(180deg, transparent 46%, rgba(3, 29, 31, .92));
        opacity: 1;
        text-align: left;
    }

    body.home-page .commerce-showcase__brand,
    body.home-page .commerce-showcase__card-copy small,
    body.home-page .commerce-showcase__card-copy > span,
    body.home-page .commerce-showcase__card-link { display: none; }
    body.home-page .commerce-showcase__card-copy { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page .commerce-showcase__viewport { scroll-behavior: auto; }
    body.home-page .commerce-showcase__track,
    body.home-page .commerce-showcase__card { transition: none; }
    body.home-page .commerce-showcase__card > img,
    body.home-page .commerce-showcase__overlay { transition: none; }
}
