.intro-instructor__media {
    width: 20rem;
    height: 24rem;
}

.intro-instructor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


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

.services-grid-dense__dots {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

.dark .services-grid-dense__dots,
[data-bs-theme="dark"] .services-grid-dense__dots {
    color: var(--bs-primary);
}

/* v24 - ascending staircase offsets (per-index transform has no TW/BS utility) */
@media (min-width: 640px) {
    [data-stair-step] {
        transition: transform 200ms ease;
    }

    [data-stair-step="0"] {
        transform: translateX(0);
    }

    [data-stair-step="1"] {
        transform: translateX(1.5rem);
    }

    [data-stair-step="2"] {
        transform: translateX(3rem);
    }

    [data-stair-step="3"] {
        transform: translateX(4.5rem);
    }

    [data-stair-step="4"] {
        transform: translateX(6rem);
    }
}

/* whyus v29 — woodblock print texture, glitch-flicker hero entrance, ECG heartbeat trace, hover blur/sharpen, run-in heading helper */

/* Woodblock print texture overlay — diagonal ruled lines drawn with currentColor, no literal color values */
.whyus-woodcut__texture {
    position: relative;
    isolation: isolate;
}

.whyus-woodcut__texture::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(118deg, currentColor 0, currentColor 1px, transparent 1px, transparent 7px);
    opacity: 0.05;
}

/* Glitch-flicker entrance on the hero card — brief opacity/position jitter settling to stable */
.whyus-woodcut__hero {
    animation: whyus-woodcut-glitch 700ms steps(1, end) both;
}

@keyframes whyus-woodcut-glitch {
    0% { opacity: 0; transform: translate(0, 0); }
    12% { opacity: 1; transform: translate(-3px, 2px); }
    24% { opacity: 0.6; transform: translate(3px, -2px); }
    36% { opacity: 1; transform: translate(-2px, 0); }
    48% { opacity: 0.75; transform: translate(2px, 1px); }
    62% { opacity: 1; transform: translate(-1px, -1px); }
    78% { opacity: 0.9; transform: translate(1px, 0); }
    100% { opacity: 1; transform: translate(0, 0); }
}

/* ECG heartbeat trace — draws in via stroke-dash, then loops softly (no BS/TW animation utility) */
.whyus-woodcut__ecg-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: whyus-woodcut-ecg-draw 3.4s ease-in-out infinite;
}

@keyframes whyus-woodcut-ecg-draw {
    0% { stroke-dashoffset: 500; }
    55% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -500; }
}

/* Card hover — background shape blurs out while foreground content sharpens/scales up */
.whyus-woodcut__card-decor {
    filter: blur(2px);
    transition: filter 300ms ease;
}

.whyus-woodcut__card-fg {
    transition: transform 250ms ease;
}

.whyus-woodcut__card:hover .whyus-woodcut__card-decor {
    filter: blur(0);
}

.whyus-woodcut__card:hover .whyus-woodcut__card-fg {
    transform: scale(1.05);
}

/* Run-in heading — keeps the h2 riding the paragraph's baseline so it reads as one flow */
.whyus-woodcut__runin-heading {
    margin: 0;
    vertical-align: baseline;
}

@media (prefers-reduced-motion: reduce) {
    .whyus-woodcut__hero,
    .whyus-woodcut__ecg-path,
    .whyus-woodcut__card-decor,
    .whyus-woodcut__card-fg {
        animation: none;
        transition: none;
    }
}

/* FAQ v19 — bento grid (featured full-width, then 2 columns on md+) */
.hints-support__bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 56rem;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .hints-support__bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hints-support__cell--featured {
        grid-column: 1 / -1;
    }

    .hints-support__cell--tile {
        min-width: 0;
    }
}

.hints-support__unit--shift:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Lists: avoid d-flex on ul (markers); spacing between items */
.hints-support__answer-list {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.hints-support__answer-list li + li {
    margin-top: 0.5rem;
}

