.side-rail__title { letter-spacing: -0.03em; text-wrap: balance; }
.side-rail__micro { font-size: 0.75rem; line-height: 1rem; }
.side-rail__dot { width: 0.5rem; height: 0.5rem; }
.side-rail__wide { letter-spacing: 0.12em; }

.side-rail__viewport {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.side-rail__track {
    width: max-content;
    animation: side-rail-scroll 40s linear infinite;
}

@keyframes side-rail-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.side-rail__slot { margin: 0 0.75rem; }

.side-rail__phone {
    width: 12rem;
    height: 22rem;
    overflow: hidden;
    border-radius: 2.25rem !important;
}
.side-rail__phone > div { border-radius: 1.75rem !important; overflow: hidden; }
.side-rail__notch { width: 4rem; height: 0.9rem; }
.side-rail__tile { border-radius: 0.75rem !important; }

.side-rail__photo { width: 11rem; }
.side-rail__img { object-fit: cover; height: 16rem; }
.side-rail__img--h1 { height: 18rem; }
.side-rail__img--h2 { height: 14rem; }
.side-rail__img--h3 { height: 16rem; }

.side-rail__chart { width: 12rem; height: 16rem; }
.side-rail__bars { height: 5rem; }
.side-rail__bar { height: 45%; }
.side-rail__bar--b2 { height: 70%; }
.side-rail__bar--b3 { height: 100%; }
.side-rail__bar--b4 { height: 40%; }
.side-rail__bar--b5 { height: 60%; }

@media (prefers-reduced-motion: reduce) {
    .side-rail__track { animation: none; }
}

/* phone mock content must fit the narrow screen: amounts shrink, labels wrap instead of running past the frame */
.side-rail__phone > div > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.side-rail__phone > div > :nth-child(4) { font-size: 1.375rem !important; line-height: 1.15; }
.side-rail__tile { min-width: 0; overflow-wrap: anywhere; }
.side-rail__tile > * { font-size: .75rem !important; line-height: 1.2; }
@media (max-width: 767.98px) {
    .side-rail__phone > div > :nth-child(4) { font-size: 1.125rem !important; }
}

/* our-philosophy — creed bento: board with word cards + pulsing bars */
.creed-bento__eyebrow {
    letter-spacing: 0.14em;
}

.creed-bento__heading {
    letter-spacing: -0.03em;
}

.creed-bento__board {
    padding: 1.25rem;
}

.creed-bento__cloud {
    filter: blur(36px);
    width: 14rem;
    height: 10rem;
}

.creed-bento__cloud--a {
    transform: translate(-15%, -25%);
}

.creed-bento__cloud--b {
    width: 18rem;
    height: 12rem;
    transform: translate(65%, 90%);
}

.creed-bento__tile {
    padding: 1.15rem;
}

.creed-bento__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.creed-bento__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.creed-bento__bars {
    height: 5.5rem;
}

.creed-bento__bar {
    transform-origin: center bottom;
    animation: creed-bento-bar 3.6s ease-in-out infinite;
}

.creed-bento__bar--h1 { height: 45%; }
.creed-bento__bar--h2 { animation-delay: 0.2s; height: 70%; }
.creed-bento__bar--h3 { animation-delay: 0.4s; height: 55%; }
.creed-bento__bar--h4 { animation-delay: 0.6s; height: 85%; }

.creed-bento__tick {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.55rem;
}

.creed-bento__pill {
    font-size: 0.65rem;
    line-height: 1;
}

@keyframes creed-bento-bar {
    0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
    50% { transform: scaleY(1); opacity: 1; }
}

@media (min-width: 1024px) {
    .creed-bento__board {
        padding: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .creed-bento__bar {
        animation: none;
        opacity: 1;
        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: 2rem;
    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;
    }
}

.features-simple-grid__card--hover {
    transition: transform 0.3s ease;
}
.features-simple-grid__card--hover:hover {
    transform: scale(1.05);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.parade-facet__plaque--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.parade-facet__flag--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.parade-facet__iconframe--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.parade-facet__symbol--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.parade-facet__accent--rise:hover { transform: scale(1.5); transition: transform .2s ease; }

.parade-facet__pin--rise:hover { transform: scale(1.25); transition: transform .2s ease; }

