/*
 * BS Reboot задає img { max-width: 100%; height: auto } — у порожній рамці висота стає 0.
 * Рамка з aspect-ratio + absolute img гарантують видиму площу.
 */
.intro-performance-split__thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
}

.intro-performance-split__thumb > img.intro-performance-split__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.intro-performance-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-performance-split__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* process editor — brand mark sizing */
.process-editor__brand {
    letter-spacing: 0.04em;
}

/* process editor — hero bar between mega words */
.process-editor__hero-bar {
    flex: 1 1 6rem;
    height: 0.65rem;
    min-width: 3rem;
    max-width: 100%;
    align-self: flex-end;
    margin-bottom: 0.35em;
}

/* process editor — oversized condensed display type */
.process-editor__mega {
    letter-spacing: -0.06em;
    line-height: 0.82;
}

.process-editor__mega--lead {
    font-size: clamp(3.5rem, 16vw, 11rem);
}


.process-editor__mega--stack {
    font-size: clamp(3rem, 13vw, 9rem);
    margin-top: -0.08em;
}

/* process editor — italic accent word in kicker */
.process-editor__kicker {
    font-size: clamp(1.75rem, 4.5vw, 3.75rem);
}

.process-editor__kicker-accent {
    display: inline-block;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 0.95;
    vertical-align: baseline;
    margin-inline: 0.15em;
}

/* process editor — vertical step nav */
.process-editor__nav-btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
    transition: opacity 200ms ease, transform 200ms ease;
}

.process-editor__nav-btn.is-active {
    transform: translateX(0.25rem);
}

.process-editor__nav-btn.is-active .process-editor__nav-label {
    color: var(--tw-primary-900, var(--bs-primary));
    font-weight: 700;
}

.process-editor__nav-btn:not(.is-active) .process-editor__nav-label {
    opacity: 0.72;
}

.process-editor__panel {
    animation: process-editor-panel-in 280ms ease;
}

@keyframes process-editor-panel-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1023px) {
    .process-editor__hero-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-editor__hero-bar {
        width: 70%;
        flex: none;
        margin-bottom: 0;
    }

    .process-editor__kicker {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-editor__nav-btn,
    .process-editor__panel {
        animation: none;
        transition: none;
    }

    .process-editor__nav-btn.is-active {
        transform: none;
    }
}

.content-vertical-paper__layout {
    display: grid;
    grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
}

.content-vertical-paper__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
    .content-vertical-paper__layout {
        grid-template-columns: 1fr;
    }

    .content-vertical-paper__title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

/* v22 - orbit hub board (grid-template-areas has no Tailwind/BS utility) */
[data-orbit-board] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "a" "b" "c" "d";
    gap: 1.5rem;
    align-items: center;
}

.steps-orbit-hub__hub {
    grid-area: hub;
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
}

[data-orbit-slot="0"] {
    grid-area: a;
}

[data-orbit-slot="1"] {
    grid-area: b;
}

[data-orbit-slot="2"] {
    grid-area: c;
}

[data-orbit-slot="3"] {
    grid-area: d;
}

@media (min-width: 768px) {
    [data-orbit-board] {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "a hub b"
            "c hub d";
    }
}

.pullquote-accent-quote__track {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 2rem;
}

@media (min-width: 768px) {
    .pullquote-accent-quote__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem 1.5rem;
    }
}

.pullquote-accent-quote__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pullquote-accent-quote__surface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .pullquote-accent-quote__surface {
        gap: 1.25rem;
    }
}


.lift-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lift-signup__inner {
    max-width: 56rem;
}

@keyframes lift-signup-spark-beat-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.lift-signup__spark--beat {
    animation: lift-signup-spark-beat-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

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

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

/* Bootstrap only (.w-100 on grid) — не перебивать TW display:grid */
.lift-signup__feature-grid-bs.w-100 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.lift-signup__feature-grid-bs.w-100 > .lift-signup__story--lift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .lift-signup__feature-grid-bs.w-100:not(.lift-signup__feature-grid-bs--cols-1) > .lift-signup__story--lift {
        flex: 1 1 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
        min-width: min(100%, 11rem);
    }
}

@media (min-width: 992px) {
    .lift-signup__feature-grid-bs.w-100.lift-signup__feature-grid-bs--cols-3 > .lift-signup__story--lift {
        flex: 1 1 calc((100% - 3rem) / 3);
        max-width: calc((100% - 3rem) / 3);
    }
}

