.intro-centered-simple__content-area {
    max-width: 48rem;
}

.intro-centered-simple__text-block {
    max-width: 42rem;
}

.about-mosaic__tile { opacity: 0; transform: translateY(1.5rem); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1), box-shadow 300ms ease; }
.about-mosaic.is-visible .about-mosaic__tile { opacity: 1; transform: none; }

.about-mosaic__caption { font-size: .875rem; line-height: 1.25rem; }
.about-mosaic__link i { transition: transform 250ms ease; }
.about-mosaic__link:hover i { transform: translateX(.25rem); }

.about-mosaic__area { aspect-ratio: 5 / 2; cursor: crosshair; touch-action: pan-y; }
.about-mosaic__area svg, .about-mosaic__mini svg { display: block; width: 100%; height: 100%; overflow: visible; }
.about-mosaic__area text { font-size: 12px; font-weight: 700; }
.about-mosaic__mini { height: 4.5rem; }

.about-mosaic__draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms cubic-bezier(.2, .8, .2, 1) 300ms; }
.about-mosaic__fade { opacity: 0; transition: opacity 900ms ease 900ms; }
.about-mosaic__col { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 900ms cubic-bezier(.2, .8, .2, 1); }
.about-mosaic__seg { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
.about-mosaic__arc { transition: stroke-dashoffset 1500ms cubic-bezier(.2, .8, .2, 1) 300ms; }
.about-mosaic__needle { transition: transform 1500ms cubic-bezier(.3, 1.3, .4, 1) 300ms; }
.about-mosaic__pulse { transform-box: fill-box; transform-origin: center; animation: about-mosaic-pulse 2.2s ease-out infinite; }
.about-mosaic__cursor { opacity: 0; transition: opacity 200ms ease; }
.about-mosaic__area.is-hover .about-mosaic__cursor { opacity: 1; }

.is-drawn .about-mosaic__draw { stroke-dashoffset: 0; }
.is-drawn .about-mosaic__fade { opacity: 1; }
.is-drawn .about-mosaic__col, .is-drawn .about-mosaic__seg { transform: none; }

@keyframes about-mosaic-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .about-mosaic__tile, .about-mosaic__draw, .about-mosaic__fade, .about-mosaic__col, .about-mosaic__seg, .about-mosaic__arc, .about-mosaic__needle { transition: none; }
    .about-mosaic__tile { opacity: 1; transform: none; }
    .about-mosaic__pulse { animation: none; opacity: 0; }
}

.about-mosaic__tip, .about-mosaic__dot { opacity: 0; pointer-events: none; transition: opacity 200ms ease; white-space: nowrap; }
.about-mosaic__dot { width: 1rem; height: 1rem; }
.about-mosaic__area.is-hover .about-mosaic__tip, .about-mosaic__area.is-hover .about-mosaic__dot { opacity: 1; }

/* Flex: дозволити прокрутку тексту в колонці однакової висоти (BS + TW) */
/* Flex column: allow inner scroll in equal-height grid */
.portfolio-v8-item {
    min-height: 0;
}

.portfolio-v8-box {
    min-height: 0;
}

.portfolio-v8-tech {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-v8-tech:hover {
    transform: scale(1.05);
}

/* Card hover: lift up + scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: translateY(-0.5rem) scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.5s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.1);
}

.steps-badge-cards__number-circle {
    width: 3rem;
    height: 3rem;
}

.steps-badge-cards__icon-box {
    width: 4rem;
    height: 4rem;
}

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

.cta-hub__stage { min-height: 24rem; }
.cta-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-hub__lines path { stroke-dasharray: 6 8; opacity: 0; }
[data-hub].is-visible .cta-hub__lines path { opacity: .5; animation: cta-hub-flow 1.2s linear infinite; transition: opacity 600ms ease 400ms; }

.cta-hub__node { opacity: 0; transition: opacity 500ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); }
.cta-hub__node--0 { top: 12% !important; left: 4% !important; transform: translate(-1.5rem, -1.5rem); }
.cta-hub__node--1 { top: 12% !important; left: auto !important; right: 4%; transform: translate(1.5rem, -1.5rem); }
.cta-hub__node--2 { top: auto !important; bottom: 12%; left: 4% !important; transform: translate(-1.5rem, 1.5rem); }
.cta-hub__node--3 { top: auto !important; bottom: 12%; left: auto !important; right: 4%; transform: translate(1.5rem, 1.5rem); }
[data-hub].is-visible .cta-hub__node { opacity: 1; transform: none; animation: cta-hub-bob 5s ease-in-out 1s infinite; }
[data-hub].is-visible .cta-hub__node--1 { transition-delay: 120ms; animation-delay: 1.6s; }
[data-hub].is-visible .cta-hub__node--2 { transition-delay: 240ms; animation-delay: 2.2s; }
[data-hub].is-visible .cta-hub__node--3 { transition-delay: 360ms; animation-delay: 2.8s; }

.cta-hub__core { transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: transform 700ms cubic-bezier(.2, .8, .2, 1) 500ms, opacity 500ms ease 500ms; }
[data-hub].is-visible .cta-hub__core { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.cta-hub__micro { font-size: .75rem; }

@keyframes cta-hub-flow { to { stroke-dashoffset: -28; } }
@keyframes cta-hub-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (prefers-reduced-motion: reduce) {
    .cta-hub__node, .cta-hub__core { transition: none; animation: none; opacity: 1; }
    [data-hub].is-visible .cta-hub__lines path { animation: none; }
}
/* phones: keep the four orbit nodes from colliding */
@media (max-width: 575px) {
    .cta-hub__node { max-width: 44%; padding: .5rem .75rem !important; font-size: .8125rem; line-height: 1.15rem; }
}

