@keyframes driftLeftRight {
    0% { transform: translateX(-15%); }
    50% { transform: translateX(15%); }
    100% { transform: translateX(-15%); }
}

@keyframes driftRightLeft {
    0% { transform: translateX(15%); }
    50% { transform: translateX(-15%); }
    100% { transform: translateX(15%); }
}

.intro-drift-strip-a {
    width: 33%;
    height: 6rem;
    animation: driftLeftRight 14s ease-in-out infinite;
}

.intro-drift-strip-b {
    width: 50%;
    height: 4rem;
    animation: driftRightLeft 18s ease-in-out infinite;
}

.intro-drift-strip-c {
    width: 25%;
    height: 5rem;
    animation: driftLeftRight 12s ease-in-out infinite;
    animation-delay: 3s;
}

.intro-drift-container {
    max-width: 80rem;
}

.intro-drift-textbox {
    max-width: 48rem;
}

.features-split-layout__decor--offset-1 {
    top: 5rem;
    left: 4rem;
    transform: rotate(45deg);
    animation: features-split-layout-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.features-split-layout__decor--offset-2 {
    top: 8rem;
    right: 5rem;
    transform: rotate(12deg);
    animation: features-split-layout-bounce-kf 2s infinite;
}
.features-split-layout__decor--offset-3 {
    bottom: 6rem;
    left: 5rem;
    transform: rotate(-12deg);
    animation: features-split-layout-ping-kf 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.features-split-layout__decor--orb-1 {
    top: 4rem;
    left: 3rem;
    animation: features-split-layout-pulse-kf 2.5s infinite;
}
.features-split-layout__decor--orb-2 {
    top: 8rem;
    right: 4rem;
    animation: features-split-layout-bounce-kf 2.5s infinite;
}
.features-split-layout__line--offset-1 {
    top: 33%;
    left: 0;
    transform: rotate(12deg);
}
.features-split-layout__line--offset-2 {
    bottom: 25%;
    right: 0;
    transform: rotate(-12deg);
}

@keyframes features-split-layout-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-split-layout-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-split-layout-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.features-split-layout__img--hover {
    transition: transform 0.3s ease;
}
.features-split-layout__media-wrap:hover .features-split-layout__img--hover {
    transform: scale(1.05);
}
.features-split-layout__overlay--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(var(--bs-primary-rgb), 0.12) !important;
}
.features-split-layout__media-wrap:hover .features-split-layout__overlay--hover {
    opacity: 1;
}

.features-split-layout__card--hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.features-split-layout__card--hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

.features-split-layout__panel-decor {
    top: 0;
    right: 0;
    transform: translate(0.75rem, -0.75rem);
    transition: transform 0.5s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__panel-decor {
    transform: scale(1.25);
}

.features-split-layout__accent--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__accent--hover {
    opacity: 0.6;
}

.features-split-layout__icon-wrap {
    transition: transform 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__icon-wrap {
    transform: rotate(12deg);
}

.features-split-layout__icon--hover {
    transition: transform 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__icon--hover {
    transform: scale(1.1);
}

.features-split-layout__title--hover {
    transition: color 0.3s ease;
}

.features-split-layout__line--hover {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    transition: all 0.5s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__line--hover {
    width: 75%;
}

.features-split-layout__card-overlay--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(var(--bs-primary-rgb), 0.06) !important;
}
.features-split-layout__card--hover:hover .features-split-layout__card-overlay--hover {
    opacity: 1;
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* whyus v17 — bookshelf pill grid (layout/animation only, no colors) */

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-shelf-pills__section--py {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-shelf-pills__wash,
.whyus-shelf-pills__half {
    width: 50%;
}

.whyus-shelf-pills__wash {
    --bs-bg-opacity: 0.05;
}

.whyus-shelf-pills__head {
    margin-bottom: 0.75rem;
}

.whyus-shelf-pills__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.whyus-shelf-pills__title {
    font-size: 1.5rem;
}

.whyus-shelf-pills__pill-icon {
    font-size: 1rem;
    margin-top: 0.125rem;
}

.whyus-shelf-pills__pill-desc {
    font-size: 0.75rem;
}

.whyus-shelf-pills__cta {
    padding: 0.625rem 1.5rem;
}

/* shelf row spacing — ultra-tight external gaps */
.whyus-shelf-pills__shelf {
    position: relative;
    gap: 0.75rem;
}

.whyus-shelf-pills__shelf + .whyus-shelf-pills__shelf {
    margin-top: 0.25rem;
}

.whyus-shelf-pills__shelf--last {
    margin-bottom: 0;
    border-bottom-width: 0;
}

/* pill — magnetic pull toward cursor, driven by JS-set custom properties */
.whyus-shelf-pills__pill {
    max-width: 20rem;
    gap: 0.75rem;
    transition: box-shadow 150ms ease-out, transform 150ms ease-out;
    --tilt-x: 0;
    --tilt-y: 0;
    will-change: transform;
    transform: translate(calc(var(--tilt-x) * 1px), calc(var(--tilt-y) * 1px));
    transition: transform 150ms ease-out;
}

.whyus-shelf-pills__items {
    display: flex;
    flex-direction: column;
}

.whyus-shelf-pills__pill-body {
    min-width: 0;
}

/* pill hover lift — Bootstrap has no hover utility; `:where()` keeps specificity at 0-1-0
   so Tailwind's own `hover:shadow-md` still wins in the Tailwind build. Theme token only. */
:where(.whyus-shelf-pills__pill):hover {
    box-shadow: var(--bs-box-shadow);
}

/* diamond decor shapes */
.whyus-shelf-pills__diamond {
    position: absolute;
    transform: rotate(45deg);
    --bs-border-opacity: 0.3;
}

.whyus-shelf-pills__diamond--a {
    top: 1.5rem;
    left: 1rem;
    --bs-border-opacity: 0.4;
}

.whyus-shelf-pills__diamond--b {
    top: 33.333333%;
    right: 2rem;
}

.whyus-shelf-pills__diamond--c {
    bottom: 2.5rem;
    left: 25%;
}

.whyus-shelf-pills__diamond--d {
    bottom: 1.5rem;
    right: 33.333333%;
}

.whyus-shelf-pills__diamond--sm {
    width: 0.5rem;
    height: 0.5rem;
}

.whyus-shelf-pills__diamond--md {
    width: 0.875rem;
    height: 0.875rem;
}

.whyus-shelf-pills__diamond--lg {
    width: 1.25rem;
    height: 1.25rem;
}

/* lightning flash — brief full-bleed opacity spike, no color set here */
.whyus-shelf-pills__flash {
    animation: whyus-shelf-pills-flash 7s ease-in-out infinite;
}

@keyframes whyus-shelf-pills-flash {
    0%, 90%, 100% {
        opacity: 0;
    }
    93% {
        opacity: 0.15;
    }
    96% {
        opacity: 0;
    }
}

/* variable font-weight axis animation on the heading */
.whyus-shelf-pills__heading-weight {
    animation: whyus-shelf-pills-weight 5s ease-in-out infinite alternate;
}

@keyframes whyus-shelf-pills-weight {
    from {
        font-weight: 400;
    }
    to {
        font-weight: 800;
    }
}

/* CTA is the only element with an entrance animation */
.whyus-shelf-pills__cta {
    animation: whyus-shelf-pills-cta-in 0.8s ease-out 0.3s both;
}

@keyframes whyus-shelf-pills-cta-in {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .whyus-shelf-pills__section--py {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-shelf-pills__title {
        font-size: 2.25rem;
    }
}

.intro-cta-hover {
    transition: transform 0.3s ease;
}

.intro-cta-hover:hover {
    transform: scale(1.05);
}

.intro-star-offset {
    top: -0.5rem;
    right: -0.5rem;
}

.intro-bulb-offset {
    bottom: -0.5rem;
    left: -0.5rem;
}

.intro-sq-8  { width: 2rem;    height: 2rem;    flex-shrink: 0; }
.intro-sq-10 { width: 2.5rem;  height: 2.5rem;  flex-shrink: 0; }
.intro-sq-12 { width: 3rem;    height: 3rem;    flex-shrink: 0; }
.intro-sq-20 { width: 5rem;    height: 5rem;    flex-shrink: 0; }

