.bshWhyUs {
    padding-block: var(--bsh-section-y);
    background: var(--bsh-color-bg);
}

.bshWhyUs__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    background: transparent;
}

.bshWhyUs__intro,
.bshWhyUs__item {
    min-width: 0;
    min-height: clamp(300px, 23vw, 430px);
    border-right: 1px solid var(--bsh-color-border);
    border-bottom: 1px solid var(--bsh-color-border);
    background: var(--bsh-color-bg);
}

.bshWhyUs__intro {
    display: flex;
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(38px, 4.4vw, 84px);
}

.bshWhyUs--twoItems .bshWhyUs__intro {
    border-bottom: 0;
}

.bshWhyUs__intro :is(h1, h2) {
    max-width: min(100%, 900px);
    margin: 0;
    color: var(--bsh-color-headline);
    font-size: var(--bsh-fs-h2);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.05em;
}

.bshWhyUs__intro .bshHeadingLockup {
    width: 100%;
}

.bshWhyUs__copy {
    max-width: 680px;
    margin-top: clamp(18px, 1.8vw, 30px);
    font-size: var(--bsh-fs-body);
    line-height: 1.75;
}

.bshWhyUs__copy > *:first-child {
    margin-top: 0;
}

.bshWhyUs__copy > *:last-child {
    margin-bottom: 0;
}

.bshWhyUs__cta {
    margin-top: clamp(26px, 2.2vw, 38px);
}

.bshWhyUs__item {
    position: relative;
    color: var(--bsh-color-body);
    perspective: 1200px;
    transition: background-color var(--bsh-transition-base), border-color var(--bsh-transition-base), color var(--bsh-transition-base);
}

.bshWhyUs__item--link {
    cursor: pointer;
}

/* Assigned by block.js after the responsive grid has settled. */
.bshWhyUs__item.is-last-row {
    border-bottom: 0;
}

.bshWhyUs__cardLink {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.bshWhyUs__itemInner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-style: preserve-3d;
    transition: transform 950ms cubic-bezier(.22, .61, .36, 1);
}

.bshWhyUs__face {
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bshWhyUs__front {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(38px, 3.6vw, 68px);
    background: var(--bsh-color-bg);
    transform: rotateY(0deg);
    transition: background-color var(--bsh-transition-base), color var(--bsh-transition-base);
}

.bshWhyUs__back {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--bsh-color-pastel-1);
    transform: rotateY(180deg);
}

.bshWhyUs__back picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bshWhyUs__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bshWhyUs__icon {
    display: grid;
    width: clamp(76px, 6vw, 108px);
    aspect-ratio: 1;
    margin-bottom: clamp(28px, 2.4vw, 42px);
    place-items: center;
    border: 1px solid var(--bsh-color-pastel-1);
    border-radius: 50%;
    color: var(--bsh-color-pastel-1);
    transform-style: preserve-3d;
    transition: color var(--bsh-transition-base), background-color var(--bsh-transition-base), border-color var(--bsh-transition-base), transform 900ms cubic-bezier(.22, .61, .36, 1);
}

.bshWhyUs__icon svg {
    width: 40%;
    height: 40%;
    stroke-width: 1.5;
}

.bshWhyUs__item h5 {
    margin: 0 0 16px;
    color: var(--bsh-color-headline);
    font-size: var(--bsh-fs-h5);
    line-height: 1.18;
    letter-spacing: -.025em;
    transition: color var(--bsh-transition-base);
}

.bshWhyUs__item p {
    max-width: 390px;
    margin: 0;
    color: inherit;
    line-height: 1.7;
    transition: color var(--bsh-transition-base);
}

.bshWhyUs__item--link:not(.bshWhyUs__item--image):focus-within .bshWhyUs__front {
    z-index: 2;
    color: var(--bsh-color-white);
    background: var(--bsh-color-pastel-2);
}

.bshWhyUs__item--link:not(.bshWhyUs__item--image):focus-within h5,
.bshWhyUs__item--link:not(.bshWhyUs__item--image):focus-within .bshWhyUs__icon {
    color: var(--bsh-color-white);
}

.bshWhyUs__item--link:not(.bshWhyUs__item--image):focus-within .bshWhyUs__icon {
    border-color: rgba(255, 255, 255, .78);
    background: transparent;
}

.bshWhyUs__item--link:focus-within {
    z-index: 2;
    outline: 2px solid var(--bsh-color-white);
    outline-offset: -2px;
}

.bshWhyUs__item--image:focus-within .bshWhyUs__itemInner,
.bshWhyUs__item--image.is-auto-flipped .bshWhyUs__itemInner {
    transform: rotateY(180deg);
}

.bshWhyUs__cardLink:focus-visible {
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .bshWhyUs__item--link:not(.bshWhyUs__item--image):hover .bshWhyUs__front {
        color: var(--bsh-color-white);
        background: var(--bsh-color-pastel-2);
    }

    .bshWhyUs__item--link:not(.bshWhyUs__item--image):hover h5,
    .bshWhyUs__item--link:not(.bshWhyUs__item--image):hover .bshWhyUs__icon {
        color: var(--bsh-color-white);
    }

    .bshWhyUs__item--link:not(.bshWhyUs__item--image):hover .bshWhyUs__icon {
        border-color: rgba(255, 255, 255, .78);
        background: transparent;
    }

    .bshWhyUs__item--image:hover .bshWhyUs__itemInner {
        transform: rotateY(180deg);
    }

    .bshWhyUs__item:hover .bshWhyUs__icon,
    .bshWhyUs__item--link:focus-within .bshWhyUs__icon {
        transform: rotateY(360deg);
    }
}

@media (max-width: 1100px) {
    .bshWhyUs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bshWhyUs__item {
        border-bottom: 1px solid var(--bsh-color-border);
    }

}

@media (max-width: 640px) {
    .bshWhyUs__grid {
        grid-template-columns: 1fr;
    }

    .bshWhyUs__intro {
        grid-column: auto;
    }

    .bshWhyUs__intro,
    .bshWhyUs__item {
        min-height: 0;
    }

    .bshWhyUs__intro {
        padding-inline: 28px;
        padding-block: 48px;
    }

    .bshWhyUs__item {
        min-height: 280px;
        border-bottom: 1px solid var(--bsh-color-border);
    }

    .bshWhyUs__front {
        padding: 36px 28px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .bshWhyUs__item,
    .bshWhyUs__itemInner,
    .bshWhyUs__icon,
    .bshWhyUs__item h5 {
        transition: none;
    }
}
