/* intro v25 — Sagmeister ticket: corner patch, spiral binding, ticket perforation, square thumb */

/* Corner accent patch → triangle */
.intro-tkt__patch {
    width: 10rem;
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.9;
}
.intro-tkt__spiral { height: 1rem; }
.intro-tkt__body { min-width: 0; }
.intro-tkt__close { width: 2rem; height: 2rem; }

/* Torn notebook spiral binding holes (colour from Tailwind text-*, holes via mask) */
.intro-tkt__spiral {
    -webkit-mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    background: currentColor;
    opacity: 0.5;
}

/* Square cropped thumbnail */
.intro-tkt__thumb {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

/* Ticket stub perforation (currentColor from the card text) */
.intro-tkt__ticket { transition: box-shadow 240ms ease; }
.intro-tkt__ticket::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 7.5rem;
    border-left: 2px dashed currentColor;
    opacity: 0.25;
    pointer-events: none;
}
@media (max-width: 575.98px) {
    .intro-tkt__ticket::after { display: none; }
}

/* process rail — awards list rows, serif marquee */
.process-rail__stage {
    min-height: 24rem;
}

.process-rail__top {
    min-height: 18rem;
}

.process-rail__row {
    transition: background-color 0.25s ease;
}

.process-rail__row:hover {
    background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.process-rail__marquee-track {
    display: flex;
    width: max-content;
    animation: process-rail-marquee 28s linear infinite;
}

.process-rail__marquee-text {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-inline: 1rem;
    flex-shrink: 0;
}

.process-rail__animation {
    width: 8rem;
    height: 8rem;
    animation: process-rail-pulse 2s ease-in-out infinite;
}

@keyframes process-rail-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes process-rail-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-rail__marquee-track {
        animation: none;
    }
}

@media (min-width: 992px) {
    .process-rail__stage {
        min-height: 28rem;
    }

    .process-rail__top {
        min-height: 22rem;
    }
}

/* v18 - editorial drop-cap paragraph (no BS/TW utility for ::first-letter) */
.steps-editorial-dropcap__desc::first-letter {
    float: left;
    font-family: inherit;
    font-size: 3.25rem;
    line-height: 1;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    font-weight: 700;
}

.content-flex-min {
    min-width: 0;
}

/* quote v18 — checkerboard rhythm, extrude title, icon glyph cards */

/* BS glyph tile sizing (TW w-12 h-12 = 3rem) */
.quote-check__glyph {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.quote-check__meta {
    min-width: 0;
}

.quote-scan__layer {
    animation: quoteScanFlicker 4s steps(2, end) infinite;
}
@keyframes quoteScanFlicker {
    0%, 92%, 100% { opacity: 0.35; }
    94% { opacity: 0.7; }
}

/* checkerboard stagger — margin only (transform on ancestors breaks flip-card 3D) */
.quote-check__cell:nth-child(odd) {
    margin-top: 0.25rem;
}
.quote-check__cell:nth-child(even) {
    margin-bottom: 0.25rem;
}

.quote-check__grid.is-compact-grid .quote-check__cell {
    margin-top: 0;
    margin-bottom: 0;
}

.quote-flip__perspective {
    perspective: 1400px;
}

.quote-flip__card {
    cursor: pointer;
    overflow: visible;
}
.quote-flip__card:active {
    transform: none;
    scale: 1;
}

.quote-tape__strip {
    width: 3.5rem;
    height: 1.25rem;
    transform: rotate(-12deg);
}
.quote-tape__strip--a {
    top: -0.35rem;
    left: 0.75rem;
}
.quote-tape__strip--b {
    top: -0.35rem;
    right: 0.75rem;
    transform: rotate(12deg);
}

.quote-check__extrude {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1.2;
}
.quote-check__extrude--back {
    transform: translate(3px, 3px);
}
.quote-check__extrude--mid {
    transform: translate(6px, 6px);
}

.quote-flip__inner {
    display: grid;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 450ms ease;
}
.quote-flip__face {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.quote-flip__card.is-flipped .quote-flip__inner {
    transform: rotateY(180deg);
}
.quote-flip__face--back {
    transform: rotateY(180deg);
}

.quote-flip__card:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

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

@media (hover: hover) {
    .quote-check-root button: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; }


