/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

.services__tile--lift {
  transition: transform 0.3s ease;
}

.services__tile--lift:hover {
  transform: scale(1.05);
}


.splitview-scorecard__region--mb-2xl {
    margin-bottom: 4rem;
}

.splitview-scorecard__label--p-2xl {
    padding: 4rem;
}

.splitview-scorecard__column--p-2xl {
    padding: 4rem;
}

.splitview-scorecard__cell--p-2xl {
    padding: 4rem;
}

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

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

.whyus-bracket__corner {
    width: 1.5rem;
    height: 1.5rem;
}

.whyus-bracket__corner--tl { top: 1.5rem; inset-inline-start: 1.5rem; }
.whyus-bracket__corner--tr { top: 1.5rem; inset-inline-end: 1.5rem; }
.whyus-bracket__corner--bl { bottom: 1.5rem; inset-inline-start: 1.5rem; }
.whyus-bracket__corner--br { bottom: 1.5rem; inset-inline-end: 1.5rem; }

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

.whyus-bracket__badge {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.whyus-bracket__badge-text,
.whyus-bracket__num {
    font-size: 0.75rem;
}

.whyus-bracket__badge-text {
    letter-spacing: 0.025em;
}

.whyus-bracket__lead {
    font-size: 1rem;
}

.whyus-bracket__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.whyus-bracket__card {
    padding: 1.5rem;
    transition: box-shadow 150ms ease;
}

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
:where(.whyus-bracket__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

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

.whyus-bracket__card-desc {
    font-size: 0.875rem;
}

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

    .whyus-bracket__head {
        margin-bottom: 4rem;
    }

    .whyus-bracket__lead {
        font-size: 1.125rem;
    }

    .whyus-bracket__card-desc {
        font-size: 1rem;
    }

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

    .whyus-bracket__card {
        padding: 1.75rem;
    }

    .whyus-bracket__card-title {
        font-size: 1.25rem;
    }

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

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

    .whyus-bracket__heading {
        font-size: 3rem;
    }
}

/* whyus v24 — bracket-framed card grid */

.whyus-bracket__heading {
    display: inline-block;
    font-size: 1.875rem;
    transform: perspective(600px) rotateX(4deg);
    transform-origin: center bottom;
}

.whyus-bracket__card {
    animation: whyus-bracket-reveal 0.6s ease both;
}

.whyus-bracket__card:nth-child(1) { animation-delay: 0.05s; }
.whyus-bracket__card:nth-child(2) { animation-delay: 0.12s; }
.whyus-bracket__card:nth-child(3) { animation-delay: 0.19s; }
.whyus-bracket__card:nth-child(4) { animation-delay: 0.26s; }
.whyus-bracket__card:nth-child(5) { animation-delay: 0.33s; }
.whyus-bracket__card:nth-child(6) { animation-delay: 0.4s; }

@keyframes whyus-bracket-reveal {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-bracket__card {
        animation: none;
    }

    .whyus-bracket__heading {
        transform: none;
    }
}

