.split-screen-halo {
    width: 600px;
    height: 600px;
}

.split-screen-halo-soft {
    width: 500px;
    height: 500px;
}

.split-screen-beam-main {
    width: 24rem;
    height: 1px;
}

.split-screen-beam-side {
    width: 20rem;
    height: 1px;
}

.split-screen-frame {
    width: 6rem;
    height: 6rem;
}

.split-screen-orb {
    width: 4rem;
    height: 4rem;
}

.split-screen-marker {
    width: 2rem;
    height: 2rem;
}

.split-screen-emblem {
    width: 5rem;
    min-width: 5rem;
    height: 5rem;
    min-height: 5rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .split-screen-principle--odd {
        margin-left: 2rem;
    }
}

.masonry-image-timeline__masonry {
    column-gap: 1.5rem;
    column-count: 1;
}

@media (min-width: 768px) {
    .masonry-image-timeline__masonry {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-image-timeline__masonry {
        column-count: 3;
    }
}

.masonry-image-timeline__aspect-wide {
    aspect-ratio: 16 / 9;
}

.masonry-image-timeline__aspect-md {
    aspect-ratio: 3 / 2;
}

.masonry-image-timeline__aspect-compact {
    aspect-ratio: 4 / 3;
}

.masonry-image-timeline__media {
    transition: transform 0.5s ease;
}

.masonry-image-timeline__card:hover .masonry-image-timeline__media {
    transform: scale(1.03);
}

.masonry-image-timeline__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.masonry-image-timeline__media--0 .masonry-image-timeline__pattern {
    background-image: radial-gradient(circle at 20% 30%, currentColor 0, transparent 42%);
    opacity: 0.12;
}

.masonry-image-timeline__media--1 .masonry-image-timeline__pattern {
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        currentColor 10px,
        currentColor 11px
    );
    opacity: 0.08;
}

.masonry-image-timeline__media--2 .masonry-image-timeline__pattern {
    background-image:
        radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.1;
}

.masonry-image-timeline__watermark {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.masonry-image-timeline__overlay-caption {
    transition: opacity 0.5s ease;
}

.masonry-image-timeline__card:hover .masonry-image-timeline__overlay-caption {
    opacity: 0.95 !important;
}

.masonry-image-timeline__card:hover .masonry-image-timeline__reveal-shift {
    transform: translateY(0);
}

.masonry-image-timeline__card:hover .masonry-image-timeline__badge-pos {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes masonry-image-timeline__scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.masonry-image-timeline__card {
    break-inside: avoid;
}

.masonry-image-timeline__card.is-visible {
    animation: masonry-image-timeline__scale-in 0.5s ease forwards;
}

.masonry-image-timeline__decor-tr {
    transform: translate(25%, -50%);
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
}

.masonry-image-timeline__decor-bl {
    transform: translate(-25%, 50%);
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
}

.masonry-image-timeline__subtitle-width {
    max-width: 36rem;
}

.masonry-image-timeline__reveal-shift {
    transform: translateY(1rem);
    transition: transform 0.3s ease;
}

.masonry-image-timeline__badge-pos {
    top: 0.5rem;
    left: 0.5rem;
    transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .masonry-image-timeline__media,
    .masonry-image-timeline__overlay-caption,
    .masonry-image-timeline__reveal-shift,
    .masonry-image-timeline__badge-pos,
    .masonry-image-timeline__card.is-visible {
        transition: none;
        animation: none;
        transform: none;
    }

    .masonry-image-timeline__card:hover .masonry-image-timeline__media {
        transform: none;
    }
}


.process__hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process__hover-lift:hover {
    transform: scale(1.04);
}

.process__step-group:hover .process__badge-rise,
.process__step-group:hover .process__icon-rise {
    transform: scale(1.08);
}

/* Менш «важка» анімація (soft / fluid варіанти) */
.process--hover-soft .process__hover-lift:hover,
.process--hover-fluid .process__hover-lift:hover {
    transform: translateY(-3px);
}

.process--hover-soft .process__step-group:hover .process__badge-rise,
.process--hover-soft .process__step-group:hover .process__icon-rise,
.process--hover-fluid .process__step-group:hover .process__badge-rise {
    transform: scale(1.025);
}

.process--hover-fluid .process__hover-lift {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process--hover-fluid .process__badge-rise,
.process--hover-fluid .process__deco-rise {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease;
}

.process.process--timeline-compact .process__hover-lift:hover {
    transform: translateY(-2px);
}

/* process--timeline-compact: один відступ від осі лінії (TW/BS); картка на всю ширину ряду */
.process.process--timeline-compact .process__step {
    padding-left: 5rem;
}

@media (min-width: 768px) {
    .process.process--timeline-compact .process__step {
        padding-left: 5.5rem;
    }
}

.process.process--timeline-compact .process__card {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}


/* Лише тінь на картці, без scale (soft) */
.process--hover-soft .process__card.process__hover-lift:hover {
    transform: none;
}

/* Контраст цифр на світлому / градієнті */
.process__num-pop {
    box-shadow:
        0 0 0 3px var(--bs-body-bg, #fff),
        0 4px 14px rgba(0, 0, 0, 0.18);
}

.process__meta-on-primary {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Вертикальна лінія: видима ширина (BS) + центр під колом w-12 (3rem) */
.process__vline--through-12 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.5rem;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* Центр під колом w-16 (4rem) — v2 таймлайн */
.process__vline--through-16 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 3.4rem;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* Вузол w-8, left 1.25rem → центр 2.25rem */
.process__vline--through-node-sm {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.25rem;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* Горизонтальна лінія таймлайну (v19) */
.process__hline--bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 0.25rem;
    top: 1.5rem;
    margin-top: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* v3: номер над карточкою (BS/TW) */
.process__float-num-fix {
    top: -1.5rem;
}

.process__float--lifted {
    top: -1.35rem;
    left: 0.75rem;
}

/* Легкий блюр + темний шар (білий заголовок на світлому фото) */
.process__overlay-blur {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(15, 23, 42, 0.62);
}

.process__head-glass {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Відступ під «літаючий» номер (BS часто потребує більше) */
.process__card--float-gap {
    padding-top: 6.75rem;
}

/* v6: центральна вісь на всю висоту */
.process__vline--center-md {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .process__step-row > .process__dot--center-line {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.process__badge-rise,
.process__icon-rise {
    transition: transform 0.3s ease;
}

.process__decor-dot {
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.process__step-group:hover .process__decor-dot {
    opacity: 1;
}

.process__decor-dot--subtle {
    opacity: 0.28;
}

.process__step-group:hover .process__decor-dot--subtle {
    opacity: 0.7;
}

.process__step-group:hover .process__deco-rise {
    opacity: 0.45;
}

.process__deco-rise {
    transition: opacity 0.3s ease;
}

/* Кола з цифрами — синхрон з Tailwind w-* h-* */
.process__num-fixed--8 {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--10 {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--12 {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--16 {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--20 {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--24 {
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    min-height: 6rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--32 {
    width: 8rem;
    height: 8rem;
    min-width: 8rem;
    min-height: 8rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* v2 аватар: квадратне поле + cover → рівне коло з rounded-circle */
.process__avatar-img {
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    min-height: 6rem;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* v1 @ifRandom декор: якір + розмір (щоб не «літав» у BS) */
.process__decor-blob-fix {
    position: absolute;
    width: 10rem;
    height: 10rem;
    top: -2.5rem;
    right: 1rem;
    z-index: -1;
    pointer-events: none;
}

/* v5 декор тло */
.process__decor-faint-fix {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 25%;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* v14 glow */
.process__glow-fix {
    position: absolute;
    width: 16rem;
    height: 16rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .process__hover-lift,
    .process__badge-rise,
    .process__icon-rise,
    .process__decor-dot,
    .process__decor-dot--subtle,
    .process__deco-rise {
        transition: none;
    }

    .process__hover-lift:hover,
    .process--hover-soft .process__hover-lift:hover,
    .process--hover-fluid .process__hover-lift:hover,
    .process.process--timeline-compact .process__hover-lift:hover {
        transform: none;
    }

    .process__step-group:hover .process__badge-rise,
    .process__step-group:hover .process__icon-rise {
        transform: none;
    }

    .process__step-group:hover .process__decor-dot,
    .process__step-group:hover .process__decor-dot--subtle,
    .process__step-group:hover .process__deco-rise {
        opacity: unset;
    }
}

/* v12 - Horizontal carousel: flex track with explicit gap (framework-independent — works under both TW and BS, since BS has no row/col-safe equivalent for a gapped scroll track) */
.steps-gradient-carousel__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.steps-gradient-carousel__track::-webkit-scrollbar {
    display: none;
}

.steps-gradient-carousel__card {
    width: 260px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .steps-gradient-carousel__card {
        width: 300px;
    }
}

/* prev/next controls: fixed circle size, no Bootstrap utility equivalent */
.steps-gradient-carousel__arrow {
    width: 2.75rem;
    height: 2.75rem;
}

/* icon badge: fixed square size, no Bootstrap width/height utility beyond w-25/50/75/100 */
.steps-gradient-carousel__badge {
    width: 3.5rem;
    height: 3.5rem;
}

/* quote wireframe — typography, aurora sweep, ruler marks, celtic knots, dual-image crop */

.quote-wire__heading-serif {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.quote-wire__body-sans {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* horizontal aurora wave — translate only; gradient colors live in template classes */
@keyframes quoteWireAuroraSweep {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

.quote-wire__aurora {
    width: 60%;
    height: 140%;
    top: -20%;
    left: 20%;
    filter: blur(4rem);
    animation: quoteWireAuroraSweep 14s linear infinite;
    will-change: transform;
}

/* ruler measurement marks — tick pattern via transparent gaps, color from currentColor */
.quote-wire__ruler {
    height: 1.25rem;
    background-image:
        repeating-linear-gradient(
            90deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(
            90deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 24px
        );
    background-size: 6px 40%, 24px 100%;
    background-position: left bottom, left top;
    background-repeat: repeat-x;
}

.quote-wire__ruler--vertical {
    width: 1.25rem;
    height: 100%;
    min-height: 8rem;
    background-image:
        repeating-linear-gradient(
            180deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(
            180deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 24px
        );
    background-size: 40% 6px, 100% 24px;
    background-position: right top, left top;
    background-repeat: repeat-y;
}

/* wireframe corner brackets */
.quote-wire__bracket {
    width: 1.5rem;
    height: 1.5rem;
    border-style: solid;
    border-width: 0;
}

.quote-wire__bracket--tl {
    top: 0.5rem;
    left: 0.5rem;
    border-top-width: 2px;
    border-left-width: 2px;
}

.quote-wire__bracket--br {
    bottom: 0.5rem;
    right: 0.5rem;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* celtic-knot corner accents — interlaced L-shapes, distinct from deck overlap variant */
.quote-wire__knot {
    width: 1.75rem;
    height: 1.75rem;
    pointer-events: none;
}

.quote-wire__knot--tl {
    top: 0.35rem;
    left: 0.35rem;
    clip-path: polygon(0 0, 100% 0, 100% 28%, 28% 28%, 28% 100%, 0 100%, 0 55%, 55% 55%, 55% 0);
}

.quote-wire__knot--tr {
    top: 0.35rem;
    right: 0.35rem;
    clip-path: polygon(0 0, 100% 0, 100% 55%, 72% 55%, 72% 100%, 45% 100%, 45% 28%, 0 28%);
}

.quote-wire__knot--bl {
    bottom: 0.35rem;
    left: 0.35rem;
    clip-path: polygon(0 45%, 28% 45%, 28% 0, 55% 0, 55% 72%, 100% 72%, 100% 100%, 0 100%);
}

.quote-wire__knot--br {
    bottom: 0.35rem;
    right: 0.35rem;
    clip-path: polygon(72% 0, 100% 0, 100% 100%, 0 100%, 0 72%, 45% 72%, 45% 45%, 72% 45%);
}

/* featured card — diagonal crop dual-image overlap */
.quote-wire__dual-media {
    position: relative;
    height: 9rem;
    overflow: hidden;
}

.quote-wire__dual-media img {
    position: absolute;
    top: 0;
    width: 78%;
    height: 100%;
    object-fit: cover;
}

.quote-wire__dual-media img:first-child {
    left: 0;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}

.quote-wire__dual-media img:last-child {
    right: 0;
    z-index: 2;
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
}

/* wireframe grid crosshair overlay */
.quote-wire__crosshair {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
}

/* slot group spacing — vertical rhythm between named slots */
.quote-wire__slot-stack > [data-slot] + [data-slot] {
    margin-top: 1rem;
}

.quote-wire__card-slot > [data-slot="attribution"] {
    margin-top: auto;
    padding-top: 0.75rem;
}

.quote-wire__panel-body {
    min-width: 0;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-wire-root [role="listitem"]:hover,
    .quote-wire-root article:hover,
    .quote-wire-root [class*="quote-wire__card"]:hover,
    .quote-wire-root .quote-wire__book:hover,
    .quote-wire-root .quote-wire__step:hover,
    .quote-wire-root .quote-wire__index-card:hover,
    .quote-wire-root .quote-wire__pill:hover,
    .quote-wire-root .quote-wire__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-wire-root [role="listitem"],
.quote-wire-root article,
.quote-wire-root [class*="quote-wire__card"],
.quote-wire-root .quote-wire__book,
.quote-wire-root .quote-wire__step,
.quote-wire-root .quote-wire__index-card,
.quote-wire-root .quote-wire__pill {
    transition: transform 200ms ease;
}

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

@media (hover: hover) {
    .quote-wire-root button:hover,
    .quote-wire-root a:hover,
    .quote-wire-root summary:hover {
        opacity: 0.92;
    }
}


.invite-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@keyframes invite-boost-flare-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.invite-boost__flare--throb {
    animation: invite-boost-flare-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes invite-boost-flare-rebound-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); }
}
.invite-boost__flare--rebound {
    animation: invite-boost-flare-rebound-cycle 1s infinite;
}

@keyframes invite-boost-flare-ping-cycle {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.invite-boost__flare--ping {
    animation: invite-boost-flare-ping-cycle 1s cubic-bezier(0,0,.2,1) infinite;
}

@keyframes invite-boost-stroke-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.invite-boost__stroke--throb {
    animation: invite-boost-stroke-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

.invite-boost__flare--lift:hover { transform: scale(1.25); transition: transform .2s ease; }

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

