/* intro v23 — BAPE grunge wizard: film strip, giant numbers, clip-path wipe hover, height-expand step */

/* Full-width step photo — cinematic banner, object-fit has no BS utility */
.intro-grit__photo {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

/* Progress track height (no BS h-N utility) */
.intro-grit__track { height: 0.25rem; }

/* Clip-path reveal on hover: primary wipe grows from the corner */
.intro-grit__wipe {
    clip-path: circle(0% at 90% 10%);
    opacity: 0.12;
    transition: clip-path 420ms ease;
}
.intro-grit__card:hover .intro-grit__wipe {
    clip-path: circle(150% at 90% 10%);
}

/* Height-expand accordion-style step entrance */
.intro-grit__step {
    animation: intro-grit-expand 420ms ease;
    transform-origin: top;
}
@keyframes intro-grit-expand {
    from { opacity: 0; transform: scaleY(0.96) translateY(-0.5rem); }
    to   { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Progress bar transition */
.intro-grit__bar { transition: width 360ms ease; width: 0; }

/* Stepper dots — state via opacity, colour stays a Tailwind class */
.intro-grit__dot {
    width: 0.625rem;
    height: 0.625rem;
    opacity: 0.35;
    transition: opacity 200ms ease, transform 200ms ease;
}
.intro-grit__dot.is-active {
    opacity: 1;
    transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
    .intro-grit__step { animation: none; }
    .intro-grit__wipe { transition: 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;
}

/* Steps v21 - Kanban Board Steps in Four Equal Columns with Accent Header Bars */

/* Shared grid for both TW and BS renders: avoids mixing Bootstrap row/col
   percentage widths with a flex/grid gap on the same node. */
.workflow-board__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .workflow-board__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1536px) {
    .workflow-board__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@keyframes marquee-tabs-timeline__marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-tabs-timeline__marquee-track {
    overflow: hidden;
}

.marquee-tabs-timeline__marquee-inner {
    animation: marquee-tabs-timeline__marquee 18s linear infinite;
    display: inline-flex;
}

.marquee-tabs-timeline__panel--hidden {
    display: none !important;
}

@keyframes marquee-tabs-timeline__panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.marquee-tabs-timeline__panel:not(.marquee-tabs-timeline__panel--hidden) {
    animation: marquee-tabs-timeline__panel-in 0.3s ease forwards;
}

.marquee-tabs-timeline__top-accent {
    height: 4px;
}

.marquee-tabs-timeline__icon-size {
    width: 4rem;
    height: 4rem;
}

.marquee-tabs-timeline__min-shrink {
  min-width: 0;
}

/* Bootstrap: сетка 1→3 колонки + gap как у Tailwind (row + row-cols без col — слипание) */
.whyus-highlight-cards__grid-mb {
    margin-bottom: 2rem;
}

.whyus-highlight-cards__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .whyus-highlight-cards__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.whyus-highlight-cards__subtitle-max {
    max-width: 42rem;
}

.whyus-highlight-cards__desc-max {
    max-width: 48rem;
}

.whyus-highlight-cards__thumb {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

.whyus-highlight-cards__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-highlight-cards__inner {
    z-index: 10;
}

.whyus-highlight-cards__decor {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
}

.whyus-highlight-cards__accent {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 1rem;
    height: 1rem;
}


.rally-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.rally-beacon__inner {
    max-width: 56rem;
}

@keyframes rally-beacon-pin-blink-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.rally-beacon__pin--blink {
    animation: rally-beacon-pin-blink-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

.rally-beacon__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

@keyframes rally-beacon-action-hop-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.rally-beacon__action--hop {
    animation: rally-beacon-action-hop-cycle 1s infinite;
}

