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

.services-columns__list {
    columns: 1;
    margin: 0;
}
@media (min-width: 768px) {
    .services-columns__list {
        columns: 2;
        column-gap: 2.5rem;
    }
}

.services-columns__group {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.services-columns__accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 2px;
    background-color: currentColor;
}

/* v27 - folded paper corner (clip-path fold has no TW/BS utility) */
[data-fold-card] {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1.25rem 100%, 0 calc(100% - 1.25rem));
    transition: clip-path 200ms ease;
}

[data-fold-card]:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0.5rem 100%, 0 calc(100% - 0.5rem));
}

/* Three-column grid — real CSS grid, framework-agnostic (never row/col-* + gap together) */
.parchment-trio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .parchment-trio__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Fixed icon badge size — no Bootstrap utility beyond w-25/50/75/100 */
.parchment-trio__badge {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mxw-4xl {
    max-width: 56rem !important;
}

.whyus-groove-thread__band {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.whyus-groove-thread__title {
    font-size: 1.875rem;
}

.whyus-groove-thread__word {
    margin-inline-end: 0.75rem;
}

.whyus-groove-thread__word:last-child {
    margin-inline-end: 0;
}

.whyus-groove-thread__lead {
    font-size: 1rem;
}

.whyus-groove-thread__stat {
    justify-content: center;
    min-width: 0;
    height: fit-content;
    padding: 1.5rem;
    transition: box-shadow 150ms ease;
}

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

.whyus-groove-thread__stat-row {
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: start;
}

.whyus-groove-thread__stat-value {
    /* fluid cap: never wider than the panel, tops out at the Tailwind text-4xl/5xl size */
    min-width: 0;
    max-width: 100%;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

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

.whyus-groove-thread__chip {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.whyus-groove-thread__card-title {
    min-width: 0;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .whyus-groove-thread__stat-row {
        flex-direction: row;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .whyus-groove-thread {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

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

    .whyus-groove-thread__col--main {
        grid-column: span 8 / span 8;
    }

    .whyus-groove-thread__col--side {
        grid-column: span 4 / span 4;
        align-self: start;
        justify-content: flex-end;
    }

    .whyus-groove-thread__stat-row {
        flex-direction: column;
        align-items: flex-end;
        text-align: end;
    }

    .whyus-groove-thread__title {
        font-size: 2.25rem;
    }

    .whyus-groove-thread__lead {
        font-size: 1.125rem;
    }

    .whyus-groove-thread__stat-value {
        font-size: clamp(2rem, 3.4vw, 3rem);
    }

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

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

@media (min-width: 1024px) {
    .whyus-groove-thread__col--main {
        grid-column: span 9 / span 9;
    }

    .whyus-groove-thread__col--side {
        grid-column: span 3 / span 3;
    }

    .whyus-groove-thread__title {
        font-size: 3rem;
    }
}

/* whyus v22 — brush-stroke blob decor (irregular border-radius trick; no TW/BS utility produces this shape) */
.whyus-groove-thread__blob {
    z-index: 0;
    pointer-events: none;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.whyus-groove-thread__blob--a {
    width: 10rem;
    height: 10rem;
    opacity: 0.6;
    top: -2rem;
    left: -3rem;
    transform: rotate(-8deg);
}

.whyus-groove-thread__blob--b {
    width: 7rem;
    height: 7rem;
    opacity: 0.6;
    top: 40%;
    right: -2.5rem;
    transform: rotate(12deg);
}

.whyus-groove-thread__blob--c {
    width: 6rem;
    height: 6rem;
    opacity: 0.6;
    bottom: -2.5rem;
    left: 18%;
    transform: rotate(20deg);
}

/* benefit cards — equal height feel in the 2-col grid */
.whyus-groove-thread__card {
    min-height: 100%;
}

/* staggered scroll reveal — JS adds is-visible after a per-item delay from a fixed sequence (STAGGER_DELAYS) */
.whyus-groove-thread__reveal {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 500ms ease, transform 500ms ease;
}

.whyus-groove-thread__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

