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

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: scale(1.05);
  }
}

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

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.92);
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.content-min-base {
    min-height: 16rem;
}

.bodycopy-storyblock__text-panel-inset {
    padding: 4rem;
}

/* process rams — list panel, brand watermark, gentle float animation (no colors) */
.process-rams__index {
    width: 1.75rem;
    flex-shrink: 0;
}
.process-rams__content {
    min-width: 0;
}
.process-rams__brand {
    text-transform: lowercase;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    animation: process-rams-float 6s ease-in-out infinite;
}
.process-rams__cta {
    text-decoration: none;
    animation: process-rams-float 4.5s ease-in-out infinite;
    animation-delay: 0.75s;
}
@keyframes process-rams-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -0.35rem, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .process-rams__brand,
    .process-rams__cta {
        animation: none;
    }
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-woodcut__ecg {
    display: block;
}

.mxw-6xl {
    max-width: 72rem !important;
}

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

.whyus-woodcut__runin-heading {
    font-size: 1.5rem;
    font-weight: 900;
    margin-inline-end: 0.5rem;
}

.whyus-woodcut__intro {
    font-size: 0.875rem;
}

.whyus-woodcut__ecg-box {
    height: 2rem;
}

.whyus-woodcut__table {
    border-collapse: collapse;
    font-size: 0.75rem;
}

.whyus-woodcut__cell {
    padding: 0.375rem 0.5rem;
}

.whyus-woodcut__cell--note {
    font-size: 0.75rem;
}

.whyus-woodcut__cta {
    transition: transform 150ms ease;
}

/* hover — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:scale-105 wins there */
:where(.whyus-woodcut__cta):hover {
    transform: scale(1.05);
}

.whyus-woodcut__col {
    gap: 1rem;
}

.whyus-woodcut__card {
    padding: 1rem;
}

.whyus-woodcut__card-decor {
    top: -0.75rem;
    inset-inline-end: -0.75rem;
    width: 3rem;
    height: 3rem;
}

.whyus-woodcut__card-label {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.whyus-woodcut__card-title {
    font-size: 1rem;
    font-weight: 900;
}

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

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

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

    .whyus-woodcut__hero {
        grid-column: span 5 / span 5;
        position: sticky;
        top: 2rem;
    }

    .whyus-woodcut__col {
        grid-column: span 7 / span 7;
        gap: 1.5rem;
    }

    .whyus-woodcut__runin-heading {
        font-size: 1.875rem;
    }

    .whyus-woodcut__intro,
    .whyus-woodcut__card-desc {
        font-size: 1rem;
    }

    .whyus-woodcut__table {
        font-size: 0.875rem;
    }

    .whyus-woodcut__card {
        padding: 1.25rem;
    }

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

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

