/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

/* v27 - folded paper corner (clip-path fold has no TW/BS utility) */
[data-fold-card] {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1.25rem 100%, 0 calc(100% - 1.25rem));
    transition: clip-path 200ms ease;
}

[data-fold-card]:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0.5rem 100%, 0 calc(100% - 0.5rem));
}

/* process works — marquee ticker, title scale, list rows, background logo (no colors) */
.process-works__marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 3rem;
    animation: process-works-marquee 32s linear infinite;
}
.process-works__marquee-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}
.process-works__title {
    word-break: break-word;
}
.process-works__row {
    transition: transform 200ms ease;
}
.process-works__row:hover {
    transform: translateX(0.25rem);
}
.process-works__logo {
    min-height: 16rem;
    pointer-events: none;
}
.process-works__logo-mark {
    width: 14rem;
    height: 14rem;
    flex-shrink: 0;
    animation: process-works-drift 8s ease-in-out infinite;
}
.process-works__logo-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}
.process-works__logo-mark svg,
.process-works__logo-mark svg :is(path, circle, rect, polygon) {
    fill: currentColor !important;
}
@keyframes process-works-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes process-works-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0.5rem, -0.75rem, 0);
    }
}
@media (min-width: 768px) {
    .process-works__logo {
        min-height: 20rem;
    }
    .process-works__logo-mark {
        width: 18rem;
        height: 18rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .process-works__marquee-track,
    .process-works__logo-mark {
        animation: none;
    }
    .process-works__row:hover {
        transform: none;
    }
}

/* Stack: как grid grid-cols-1 gap-lg (1.5rem в типичной шкале) */
.vertical-manifesto-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

/* Строка карточки: flex + gap-6 + items-start — то же, что tw flex flex-row items-start gap-6 */
.philosophy-v6-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

/* Как absolute -top-6 у бейджа в оригинале */
.philosophy-v6-badge-wrap {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -1.5rem;
}

.philosophy-v6-box {
    flex: 1;
    min-width: 0;
}

/* Круг как в Bootstrap + фикс «вытянутой» капсулы во flex */
.philosophy-vertical__badge {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    aspect-ratio: 1;
    box-sizing: border-box;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* FAQ v20 — timeline stepper mechanics */
.stepper-answers__line {
    left: 15px;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
}

.stepper-answers__badge {
    width: 2rem;
    height: 2rem;
}

