.intro-cta-content {
    max-width: 56rem;
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}

.content-prose-column {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* quote v26 — Bugatti duo: VHS lines, rain, typewriter cursor, scroll-snap, newspaper columns */

.quote-v26__vhs {
    opacity: 0.35;
}

.quote-v26__drop {
    width: 1px;
    animation: quoteV26Rain 5s linear infinite;
}
.quote-v26__drop:nth-child(1) { left: 8%; animation-delay: 0s; }
.quote-v26__drop:nth-child(2) { left: 22%; animation-delay: 1.1s; }
.quote-v26__drop:nth-child(3) { left: 38%; animation-delay: 0.4s; }
.quote-v26__drop:nth-child(4) { left: 55%; animation-delay: 2s; }
.quote-v26__drop:nth-child(5) { left: 71%; animation-delay: 0.9s; }
.quote-v26__drop:nth-child(6) { left: 86%; animation-delay: 1.7s; }
@keyframes quoteV26Rain {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 0.5; }
    100% { transform: translateY(110vh); opacity: 0; }
}

.quote-v26__cursor {
    display: inline-block;
    width: 0.55em;
    margin-left: 0.1em;
    border-right: 2px solid currentColor;
    animation: quoteV26Blink 1s step-end infinite;
}
@keyframes quoteV26Blink {
    50% { opacity: 0; }
}

.quote-v26__scroller {
    max-height: 28rem;
    scroll-snap-type: y mandatory;
}
.quote-v26__scroller > .col {
    scroll-snap-align: start;
}

.quote-v26__columns {
    column-gap: 1.5rem;
}

.quote-v26__ticket pre {
    margin: 0;
    white-space: pre-wrap;
}

.quote-v26__ring {
    animation: quoteV26Glow 3s ease-in-out infinite;
}
@keyframes quoteV26Glow {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.03); opacity: 1; }
}

.quote-v26__halftone {
    width: 4rem;
    height: 4rem;
    margin-top: -0.5rem;
    margin-right: -0.5rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-v26-root [role="listitem"]:hover,
    .quote-v26-root article:hover,
    .quote-v26-root [class*="quote-v26__card"]:hover,
    .quote-v26-root .quote-v26__book:hover,
    .quote-v26-root .quote-v26__step:hover,
    .quote-v26-root .quote-v26__index-card:hover,
    .quote-v26-root .quote-v26__pill:hover,
    .quote-v26-root .quote-v26__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-v26-root [role="listitem"],
.quote-v26-root article,
.quote-v26-root [class*="quote-v26__card"],
.quote-v26-root .quote-v26__book,
.quote-v26-root .quote-v26__step,
.quote-v26-root .quote-v26__index-card,
.quote-v26-root .quote-v26__pill {
    transition: transform 200ms ease;
}

.quote-v26-root a:focus-visible,
.quote-v26-root button:focus-visible,
.quote-v26-root [tabindex="0"]:focus-visible,
.quote-v26-root input:focus-visible,
.quote-v26-root summary:focus-visible,
.quote-v26-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-v26-root button:hover,
    .quote-v26-root a:hover,
    .quote-v26-root summary:hover {
        opacity: 0.92;
    }
}


.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; }


