/* intro v20 — Calvin Klein magazine: shimmer sheen, mist, scale-up reveal, strike-through draw */

.intro-mag__img { object-fit: cover; }
.intro-mag__figure { aspect-ratio: 21 / 9; }

/* Gold-foil sheen → shimmer sweep (gradient colours come from Tailwind, motion from CSS) */
.intro-mag__sheen {
    background-size: 220% 220%;
    animation: intro-mag-shimmer 3s linear infinite;
    opacity: 0.35;
}
@keyframes intro-mag-shimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Smoke / mist wisp */
.intro-mag__mist {
    width: 24rem;
    height: 24rem;
    filter: blur(48px);
    opacity: 0.4;
}

/* LED step badge fixed size (no BS w-N/h-N utility) */
.intro-mag__led {
    width: 4rem;
    height: 4rem;
}

/* Dashed connector line (no BS border-style utility) */
.intro-mag__connector {
    border-style: dashed;
}

/* Scale-up on scroll into view — hidden only once JS arms it (no-JS content stays visible) */
.intro-mag.is-armed .intro-mag__scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-mag.is-armed .intro-mag__scale.is-in {
    opacity: 1;
    transform: scale(1);
}

/* Strikethrough line draw on hover */
.intro-mag__strike { height: 0.125rem; width: 0; transition: width 300ms ease; }
.intro-mag__st:hover .intro-mag__strike { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .intro-mag__sheen { animation: none; }
    .intro-mag__scale { opacity: 1; transform: none; }
}

.services-split__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-split__body {
    min-width: 0;
}

.header-ui__box-11 {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    flex-shrink: 0;
}

[data-split-row]:last-child .services-split__body {
    padding-bottom: 0;
}

/* wizard progress segment - framework-agnostic sizing + UA button reset */
.steps-wizard__segment {
    height: 0.375rem;
    padding: 0;
    border: 0;
    transition: transform 200ms ease, background-color 200ms ease;
    cursor: pointer;
    background-color: var(--bs-tertiary-bg, rgb(100 116 139 / 0.3));
}

.steps-wizard__segment.is-active {
    transform: scaleY(1.6);
    background-color: var(--bs-primary, rgb(37 99 235 / 1)) !important;
}

.steps-wizard__panel {
    animation: steps-wizard-fade-in 250ms ease;
}

/* wizard stage panel - fixed min-height across both frameworks */
.guide-flow__stage {
    min-height: 16rem;
}

/* wizard step icon badge - fixed circular size across both frameworks */
.guide-flow__badge {
    width: 4rem;
    height: 4rem;
}

@keyframes steps-wizard-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* process kanban — geometric decor, icon/body sizing */
.process-kb__geo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.process-kb__geo::before {
    content: '';
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    border: 3.5rem solid currentColor;
    opacity: 0.04;
    top: -7rem;
    right: -7rem;
}
.process-kb__geo::after {
    content: '';
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 2.5rem solid currentColor;
    opacity: 0.04;
    bottom: -3rem;
    left: -3rem;
}
.process-kb__icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}
.process-kb__body {
    min-width: 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;
}

