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

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

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

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

.services__marker--offset {
  top: 0.5rem;
  inset-inline-end: 0.5rem;
}

.services__marker--reveal {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__tile:hover .services__marker--reveal {
  opacity: 1;
}

/* process natgeo — accent line, large icon cells (no colors) */
.process-natgeo__accent-line {
    width: 2.5rem;
    flex-shrink: 0;
}
.process-natgeo__icon-cell {
    aspect-ratio: 1 / 1;
    width: 8rem;
    height: 8rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.process-natgeo__icons {
    min-width: 0;
}
.process-natgeo__icons > * {
    min-width: 0;
}
.process-natgeo__icon {
    font-size: 3rem !important;
    line-height: 0 !important;
    width: auto;
    height: auto;
    display: inline-block;
}
@media (min-width: 768px) {
    .process-natgeo__icon {
        font-size: 3.75rem !important;
    }
}

.content-river__arc {
    width: 18rem;
    height: 18rem;
}

.content-river__node {
    width: 0.75rem;
    height: 0.75rem;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .content-river__copy--right {
        grid-column-start: 2;
    }

    .content-river__copy--left {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .content-river__spacer--left {
        order: 2;
    }
}

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

