/* intro v30 — sticky sidebar + single wide photo with overlay */

.intro-lane__fluid {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.intro-lane__main { min-width: 0; }

.intro-lane__banner {
    min-height: 16rem;
}

.intro-lane__banner-img {
    object-fit: cover;
}

@media (min-width: 992px) {
    .intro-lane__banner { min-height: 22rem; }
}

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

.services-bento__body {
    min-width: 0;
}

.services-bento__corner {
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
}

.services-bento__chevron {
    transition: transform 200ms ease;
}
.services-bento__toggle[aria-expanded="true"] .services-bento__chevron {
    transform: rotate(180deg);
}

.features-split-layout__decor--offset-1 {
    top: 5rem;
    left: 4rem;
    transform: rotate(45deg);
    animation: features-split-layout-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.features-split-layout__decor--offset-2 {
    top: 8rem;
    right: 5rem;
    transform: rotate(12deg);
    animation: features-split-layout-bounce-kf 2s infinite;
}
.features-split-layout__decor--offset-3 {
    bottom: 6rem;
    left: 5rem;
    transform: rotate(-12deg);
    animation: features-split-layout-ping-kf 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.features-split-layout__decor--orb-1 {
    top: 4rem;
    left: 3rem;
    animation: features-split-layout-pulse-kf 2.5s infinite;
}
.features-split-layout__decor--orb-2 {
    top: 8rem;
    right: 4rem;
    animation: features-split-layout-bounce-kf 2.5s infinite;
}
.features-split-layout__line--offset-1 {
    top: 33%;
    left: 0;
    transform: rotate(12deg);
}
.features-split-layout__line--offset-2 {
    bottom: 25%;
    right: 0;
    transform: rotate(-12deg);
}

@keyframes features-split-layout-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-split-layout-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-split-layout-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.features-split-layout__img--hover {
    transition: transform 0.3s ease;
}
.features-split-layout__media-wrap:hover .features-split-layout__img--hover {
    transform: scale(1.05);
}
.features-split-layout__overlay--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(var(--bs-primary-rgb), 0.12) !important;
}
.features-split-layout__media-wrap:hover .features-split-layout__overlay--hover {
    opacity: 1;
}

.features-split-layout__card--hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.features-split-layout__card--hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

.features-split-layout__panel-decor {
    top: 0;
    right: 0;
    transform: translate(0.75rem, -0.75rem);
    transition: transform 0.5s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__panel-decor {
    transform: scale(1.25);
}

.features-split-layout__accent--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__accent--hover {
    opacity: 0.6;
}

.features-split-layout__icon-wrap {
    transition: transform 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__icon-wrap {
    transform: rotate(12deg);
}

.features-split-layout__icon--hover {
    transition: transform 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__icon--hover {
    transform: scale(1.1);
}

.features-split-layout__title--hover {
    transition: color 0.3s ease;
}

.features-split-layout__line--hover {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    transition: all 0.5s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__line--hover {
    width: 75%;
}

.features-split-layout__card-overlay--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(var(--bs-primary-rgb), 0.06) !important;
}
.features-split-layout__card--hover:hover .features-split-layout__card-overlay--hover {
    opacity: 1;
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.spectrum-rubric__panel--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

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


.spark-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.spark-boost__inner {
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .spark-boost__inner { min-height: 600px; }
}

/* Bootstrap: как у Tailwind p-sm → md:p-lg → lg:p-xl → xl:p-4xl (без фиксированных 6rem на мобиле) */
.spark-boost__vessel-bs {
    box-sizing: border-box;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .spark-boost__vessel-bs { padding: 1.5rem; }
}

@media (min-width: 992px) {
    .spark-boost__vessel-bs { padding: 2rem; }
}

@media (min-width: 1280px) {
    .spark-boost__vessel-bs { padding: 6rem; }
}

/* Bootstrap: две колонки + стабильный gap (row/g-* часто «съедаются» сбросами) */
.spark-boost__split-grid-bs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .spark-boost__split-grid-bs { gap: 1.5rem; }
}

.spark-boost__split-grid-bs > * {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .spark-boost__split-grid-bs {
        flex-wrap: nowrap;
    }

    .spark-boost__split-grid-bs > * {
        flex: 1 1 0;
        max-width: 50%;
    }
}

.spark-boost__slab--glass { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

@keyframes spark-boost-highlight-throb-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.spark-boost__highlight--throb {
    animation: spark-boost-highlight-throb-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

.spark-boost__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.spark-boost__control--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.spark-boost__surface--glow:hover { transform: scale(1.05); transition: transform .2s ease; }


