/* intro v21 — Loewe fold: vertical heading, watercolor blob, sketch figure, load rise */

/* Rotated 90° vertical heading */
.intro-fold__vtitle {
    writing-mode: vertical-rl;
    white-space: nowrap;
    line-height: 1;
}
@media (max-width: 767.98px) {
    .intro-fold__vtitle { writing-mode: horizontal-tb; }
}

/* Wax-seal / watercolor blob */
.intro-fold__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(56px);
    opacity: 0.4;
    border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
}

/* Drop-cap lead (framework-agnostic ::first-letter, no TW variant dependency) */
.intro-fold__lead::first-letter {
    font-size: 3rem;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin-right: 0.75rem;
}

/* Like button fixed size (no BS w-N/h-N utility) */
.intro-fold__like {
    width: 2.25rem;
    height: 2.25rem;
}

/* Hand-drawn sketch treatment on the figure */
.intro-fold [data-figure] { aspect-ratio: 16 / 9; }
.intro-fold__img {
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.12) saturate(0.9);
}

/* Subtle scale-up on load (0.92 → 1) */
.intro-fold__rise {
    opacity: 0;
    transform: scale(0.92);
    animation: intro-fold-rise 620ms ease forwards;
}
@keyframes intro-fold-rise {
    to { opacity: 1; transform: scale(1); }
}

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

/* features ticker — middot separator between inline items (layout only, no colors) */
.features-strip__item:not(:first-child)::before {
    content: "\2022";
    padding-inline-end: 0.5rem;
    opacity: 0.4;
}

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

.insight-orb-one {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
}

.insight-orb-two {
    bottom: 0;
    left: 0;
    width: 20rem;
    height: 20rem;
    filter: blur(3rem);
}

.insight-orb-three {
    top: 50%;
    left: 50%;
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
    filter: blur(2rem);
}

.insight-block-one {
    top: 5rem;
    right: 2.5rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(12deg);
}

.insight-block-two {
    top: 10rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(-12deg);
}

.insight-block-three {
    right: 5rem;
    bottom: 8rem;
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
}

.insight-block-four {
    bottom: 5rem;
    left: 5rem;
    width: 7rem;
    height: 7rem;
    transform: rotate(-6deg);
}

.insight-block-five {
    top: 33.333333%;
    right: 25%;
    width: 3rem;
    height: 3rem;
    transform: rotate(12deg);
}

.insight-title-block-one {
    top: -1rem;
    left: -2rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(12deg);
}

.insight-title-block-two {
    top: -0.5rem;
    right: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(-12deg);
}

.insight-title-block-three {
    bottom: -1rem;
    left: 25%;
    width: 2.5rem;
    height: 2.5rem;
    transform: rotate(45deg);
}

.insight-title-block-four {
    right: 25%;
    bottom: -0.5rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(-6deg);
}

.insight-title-accent {
    bottom: 0;
    left: 50%;
    width: 8rem;
    height: 0.5rem;
    transform: translateX(-50%);
}

.insight-section-knot {
    top: 50%;
    left: -1.5rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%) rotate(12deg);
}

.insight-section-underline {
    bottom: -0.5rem;
    left: 0;
    width: 5rem;
    height: 0.375rem;
}

