/* intro v19 — photo-free index list: soft blurred blobs, fixed icon tiles, scroll reveal */

/* Soft background blobs (fixed size + blur have no BS utility; colour stays a Tailwind/BS class) */
.intro-index__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
    opacity: 0.5;
}

/* Icon tile fixed size (BS has no w-N/h-N utility) */
.intro-index__icon-tile {
    width: 3rem;
    height: 3rem;
}

/* Scroll reveal — cards hide only once JS arms the section (no-JS content stays visible) */
.intro-index.is-armed .intro-index__card {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-index.is-armed .intro-index__card.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .intro-index.is-armed .intro-index__card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.features-timeline__decor--pulse {
    animation: features-timeline-pulse-kf 2s infinite;
}
.features-timeline__decor--bounce {
    animation: features-timeline-bounce-kf 2s infinite;
    transform: rotate(12deg);
}
.features-timeline__decor--spin {
    animation: features-timeline-spin-kf 4s linear infinite;
}
.features-timeline__decor--pulse-small {
    animation: features-timeline-pulse-kf 2s infinite;
}
.features-timeline__item:hover .features-timeline__icon {
    transform: scale(1.1);
    transition: transform 0.25s ease;
}
.features-timeline__item:hover .features-timeline__title {
    color: var(--bs-primary);
}

/* ?? step number (BS mode) ?? */
.features-timeline__num-bs {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--bs-primary-border-subtle);
    opacity: 0.8;
    min-width: 2.75rem;
    flex-shrink: 0;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.features-timeline__item:hover .features-timeline__num-bs {
    color: var(--bs-primary);
    opacity: 1;
}

@keyframes features-timeline-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-timeline-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(12deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none rotate(12deg); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-timeline-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* -- 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);
}

/* -- BS-mode decorative shapes � subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}

/* ?? v19 timeline connector line ?? */
.features-timeline__connector {
    position: absolute;
    left: 1.75rem;
    top: 1.75rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.3), transparent);
    pointer-events: none;
}

/* ?? v19 number watermark ?? */
.features-timeline__number {
    left: -0.25rem;
    top: -0.75rem;
    line-height: 1;
    font-size: 3rem;
    font-weight: 900;
    color: var(--bs-border-color);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    position: absolute;
    z-index: 0;
}
/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-tabletop {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-4xl {
    max-width: 56rem !important;
}

.whyus-tabletop__head {
    margin-bottom: 3rem;
}

.whyus-tabletop__overline {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-tabletop__heading {
    font-size: 1.875rem;
}

.whyus-tabletop__field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.whyus-tabletop__card {
    padding: 1.5rem;
}

.whyus-tabletop__badge {
    top: 1rem;
    inset-inline-end: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.whyus-tabletop__icon-box {
    width: 4rem;
    height: 4rem;
}

.whyus-tabletop__card-body {
    min-width: 0;
}

.whyus-tabletop__card-title {
    font-size: 1.125rem;
}

.whyus-tabletop__cta-line {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

/* scattered rotations (Bootstrap has no rotate utilities) */
.whyus-tabletop__card-wrap--r1 { transform: rotate(1deg); }
.whyus-tabletop__card-wrap--r2 { transform: rotate(-2deg); }
.whyus-tabletop__card-wrap--r3 { transform: rotate(2deg); }
.whyus-tabletop__card-wrap--r4 { transform: rotate(-1deg); }
.whyus-tabletop__card-wrap--r5 { transform: rotate(3deg); }

/* hover lift — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:shadow-lg wins there */
:where(.whyus-tabletop__card):hover {
    box-shadow: var(--bs-box-shadow-lg);
}

@media (min-width: 768px) {
    .whyus-tabletop__head {
        margin-bottom: 4rem;
    }

    .whyus-tabletop__heading {
        font-size: 2.25rem;
    }

    .whyus-tabletop__field {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .whyus-tabletop__card-wrap--featured {
        grid-column: span 2 / span 2;
    }

    .whyus-tabletop__card {
        padding: 2rem;
    }

    .whyus-tabletop__card--featured {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .whyus-tabletop__field {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3rem;
    }

    .whyus-tabletop__card-wrap--featured {
        grid-column: span 3 / span 3;
    }
}

/* whyus v23 — tabletop-scattered patent-drawing benefit cards */

/* dot-grid decorative overlay (no color: currentColor + opacity only, adapts to inherited text color) */
.whyus-tabletop__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    opacity: 0.06;
}

/* heading entrance animation (cards stay static) */
@keyframes whyus-tabletop-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whyus-tabletop__overline {
    animation: whyus-tabletop-fade-in 600ms ease-out both;
}

.whyus-tabletop__heading {
    animation: whyus-tabletop-fade-in 700ms ease-out 120ms both;
}

/* patent-drawing numbered callout badge */
.whyus-tabletop__badge {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

/* sketch / line-art treatment on icons (monochrome, no hardcoded color) */
.whyus-tabletop__icon-sketch {
    filter: grayscale(1) contrast(1.15);
}

/* scattered card wrapper — smooth settle when reordered via drag */
.whyus-tabletop__card-wrap {
    transition: transform 200ms ease, opacity 200ms ease;
}

.whyus-tabletop__card-wrap--dragging {
    opacity: 0.45;
    transform: scale(0.97) rotate(0deg);
}

/* 3D tilt — consumes --rx / --ry custom properties set by script.js on pointermove */
.whyus-tabletop__card {
    --rx: 0deg;
    --ry: 0deg;
    transform: perspective(1000px) rotateX(var(--ry)) rotateY(var(--rx));
    transition: transform 250ms ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.insight-orb-one {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
}

.insight-orb-two {
    bottom: 0;
    left: 0;
    width: 20rem;
    height: 20rem;
    filter: blur(3rem);
}

.insight-orb-three {
    top: 50%;
    left: 50%;
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
    filter: blur(2rem);
}

.insight-block-one {
    top: 5rem;
    right: 2.5rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(12deg);
}

.insight-block-two {
    top: 10rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(-12deg);
}

.insight-block-three {
    right: 5rem;
    bottom: 8rem;
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
}

.insight-block-four {
    bottom: 5rem;
    left: 5rem;
    width: 7rem;
    height: 7rem;
    transform: rotate(-6deg);
}

.insight-block-five {
    top: 33.333333%;
    right: 25%;
    width: 3rem;
    height: 3rem;
    transform: rotate(12deg);
}

.insight-title-block-one {
    top: -1rem;
    left: -2rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(12deg);
}

.insight-title-block-two {
    top: -0.5rem;
    right: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(-12deg);
}

.insight-title-block-three {
    bottom: -1rem;
    left: 25%;
    width: 2.5rem;
    height: 2.5rem;
    transform: rotate(45deg);
}

.insight-title-block-four {
    right: 25%;
    bottom: -0.5rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(-6deg);
}

.insight-title-accent {
    bottom: 0;
    left: 50%;
    width: 8rem;
    height: 0.5rem;
    transform: translateX(-50%);
}

.insight-section-knot {
    top: 50%;
    left: -1.5rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%) rotate(12deg);
}

.insight-section-underline {
    bottom: -0.5rem;
    left: 0;
    width: 5rem;
    height: 0.375rem;
}

