/* intro v20 — Calvin Klein magazine: shimmer sheen, mist, scale-up reveal, strike-through draw */

.intro-mag__img { object-fit: cover; }
.intro-mag__figure { aspect-ratio: 21 / 9; }

/* Gold-foil sheen → shimmer sweep (gradient colours come from Tailwind, motion from CSS) */
.intro-mag__sheen {
    background-size: 220% 220%;
    animation: intro-mag-shimmer 3s linear infinite;
    opacity: 0.35;
}
@keyframes intro-mag-shimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Smoke / mist wisp */
.intro-mag__mist {
    width: 24rem;
    height: 24rem;
    filter: blur(48px);
    opacity: 0.4;
}

/* LED step badge fixed size (no BS w-N/h-N utility) */
.intro-mag__led {
    width: 4rem;
    height: 4rem;
}

/* Dashed connector line (no BS border-style utility) */
.intro-mag__connector {
    border-style: dashed;
}

/* Scale-up on scroll into view — hidden only once JS arms it (no-JS content stays visible) */
.intro-mag.is-armed .intro-mag__scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-mag.is-armed .intro-mag__scale.is-in {
    opacity: 1;
    transform: scale(1);
}

/* Strikethrough line draw on hover */
.intro-mag__strike { height: 0.125rem; width: 0; transition: width 300ms ease; }
.intro-mag__st:hover .intro-mag__strike { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .intro-mag__sheen { animation: none; }
    .intro-mag__scale { opacity: 1; transform: none; }
}

/* process editorial — full-bleed banner, serif display, step list */
.process-editorial__banner {
    aspect-ratio: 21 / 5;
    max-height: 16rem;
}

.process-editorial__banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-editorial__headline {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.process-editorial__intro {
    max-width: 42rem;
}

.process-editorial__pill {
    letter-spacing: 0.02em;
}

.process-editorial__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-editorial__step-num {
    display: inline-block;
    min-width: 1.75rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.process-editorial__step:last-child {
    border-bottom: 0;
}

@media (min-width: 768px) {
    .process-editorial__banner {
        aspect-ratio: 21 / 4;
        max-height: 18rem;
    }
}

@media (min-width: 992px) {
    .process-editorial__nav {
        border-top: 0;
        padding-top: 0.5rem;
    }
}

@media (max-width: 991px) {
    .process-editorial__banner {
        aspect-ratio: 16 / 6;
        max-height: 14rem;
    }
}

.steps-bg-timeline__card-col {
    max-width: 28rem;
}

.steps-bg-timeline__badge-circle {
    width: 4rem;
    height: 4rem;
}

.steps-bg-timeline__timeline-line {
    height: 1px;
}

/* Mobile: label stays in flow under the badge (no overlap between adjacent steps).
   From md up it detaches below the timeline line, centered on the badge. */
.steps-bg-timeline__badge-label {
    max-width: 8rem;
}

@media (min-width: 768px) {
    .steps-bg-timeline__badge-label {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 2rem;
        max-width: none;
        white-space: nowrap;
    }
}

/* v25 bento — featured tile layout and image (object-fit: no BS util) */
.perks-bento__grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .perks-bento__grid {
        grid-template-columns: 7fr 5fr;
        grid-template-rows: auto;
    }

    .perks-bento__featured {
        grid-column: 1;
        grid-row: 1;
    }

    .perks-bento__small-grid {
        grid-column: 2;
        grid-row: 1;
    }
}

.perks-bento__featured {
    min-height: 22rem;
}

.perks-bento__featured-img {
    object-fit: cover;
}

/* icon container sizes (w-N h-N has no BS util) */
.perks-bento__featured-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.perks-bento__tile-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}


.boost-rally__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.boost-rally__inner {
    max-width: 64rem;
}

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

.boost-rally__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.boost-rally__panel--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Всегда на контейнере двух карточек: явный gap для grid (Tailwind) и дублирует зазор для flex (BS) */
.boost-rally__card-stack-gap {
    gap: 2rem;
}

/* Bootstrap only: класс задаётся в bs:, в Tailwind-режиме не выводится — не конфликтует с grid */
.boost-rally__card-row-bs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 768px) {
    .boost-rally__card-row-bs {
        flex-direction: row;
    }

    .boost-rally__card-row-bs > .boost-rally__panel--shift {
        flex: 1 1 0;
        min-width: 0;
    }
}

.boost-rally__card-row-bs > .boost-rally__panel--shift {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boost-rally__card-row-bs > .boost-rally__panel--shift > a:last-of-type {
    margin-top: auto;
}

