/* 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;
    }
}

@keyframes notion-table-timeline__row-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notion-table-timeline__row-visible {
    animation: notion-table-timeline__row-in 0.3s ease forwards;
}

.notion-table-timeline__decor-corner {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
}

.notion-table-timeline__cell-width {
    max-width: 24rem;
}

.notion-table-timeline__line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-honeycomb {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-6xl {
    max-width: 72rem !important;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-honeycomb__head {
    margin-bottom: 2.5rem;
}

.whyus-honeycomb__heading {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.whyus-honeycomb__lead {
    font-size: 1rem;
}

.whyus-honeycomb__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.whyus-honeycomb__block {
    padding-inline-start: 1.25rem;
}

.whyus-honeycomb__num {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-honeycomb__block-title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.whyus-honeycomb__block-desc {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .whyus-honeycomb {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-honeycomb__head {
        margin-bottom: 3.5rem;
    }

    .whyus-honeycomb__heading {
        font-size: 3rem;
    }

    .whyus-honeycomb__lead,
    .whyus-honeycomb__block-desc {
        font-size: 1rem;
    }

    .whyus-honeycomb__lead {
        font-size: 1.125rem;
    }

    .whyus-honeycomb__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .whyus-honeycomb__block {
        padding-inline-start: 1.5rem;
    }

    .whyus-honeycomb__block-title {
        font-size: 1.25rem;
    }
}

/* whyus v30 — Y2K bold header with open benefit text blocks */

/* decorative gradient overlay — small-amplitude hue-rotate cycle (filter only, no color values) */
@keyframes whyus-honeycomb-hue {
    0%   { filter: hue-rotate(0deg); }
    50%  { filter: hue-rotate(10deg); }
    100% { filter: hue-rotate(0deg); }
}

.whyus-honeycomb__aurora {
    opacity: 0.2;
    animation: whyus-honeycomb-hue 9s ease-in-out infinite;
}

/* icons-in-circles decorative field — fixed sizes, scattered positions */
.whyus-honeycomb__icon-dot {
    position: absolute;
    opacity: 0.2;
}

.whyus-honeycomb__icon-dot--1 { width: 3.5rem;  height: 3.5rem;  top: 6%;    left: 8%; }
.whyus-honeycomb__icon-dot--2 { width: 2.75rem; height: 2.75rem; top: 18%;   right: 12%; }
.whyus-honeycomb__icon-dot--3 { width: 4rem;    height: 4rem;    bottom: 22%; left: 5%; }
.whyus-honeycomb__icon-dot--4 { width: 2.5rem;  height: 2.5rem;  bottom: 10%; right: 20%; }
.whyus-honeycomb__icon-dot--5 { width: 3rem;    height: 3rem;    top: 45%;   right: 4%; }

/* divider extends first (scaleX 0 -> 1) */
@keyframes whyus-honeycomb-line {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.whyus-honeycomb__divider {
    width: 7rem;
    height: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    transform-origin: center;
    animation: whyus-honeycomb-line 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* text blocks — staggered fade-in after divider */
@keyframes whyus-honeycomb-block-in {
    from { opacity: 0; transform: translateY(0.75rem); }
    to   { opacity: 1; transform: translateY(0); }
}

.whyus-honeycomb__block {
    animation: whyus-honeycomb-block-in 420ms ease-out both;
}

.whyus-honeycomb__block:nth-child(2n + 1) { animation-delay: 520ms; }
.whyus-honeycomb__block:nth-child(2n)     { animation-delay: 620ms; }

@media (prefers-reduced-motion: reduce) {
    .whyus-honeycomb__aurora,
    .whyus-honeycomb__divider,
    .whyus-honeycomb__block {
        animation: none;
    }
}

/* quote v24 — orbit layout: full-bleed photo, grain, SVG path draw-on-scroll */

.quote-orbit__frame {
    margin: 0;
    height: 100%;
}
.quote-orbit__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quote-orbit__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    pointer-events: none;
}

.quote-orbit__path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1200ms ease;
}
.quote-orbit__path.is-drawn {
    stroke-dashoffset: 0;
}

.quote-orbit__grid {
    min-height: 12rem;
}
.quote-orbit__hub {
    width: 4.5rem;
    height: 4.5rem;
}
.quote-orbit__quote {
    font-variant: small-caps;
}

@media (min-width: 1200px) {
    .quote-orbit__col:nth-child(1) { transform: translateY(-0.5rem); }
    .quote-orbit__col:nth-child(2) { transform: translateY(0.75rem); }
    .quote-orbit__col:nth-child(3) { transform: translateY(-0.25rem); }
    .quote-orbit__col:nth-child(4) { transform: translateY(0.5rem); }
    .quote-orbit__col:nth-child(5) { transform: translateY(-0.75rem); }
    .quote-orbit__col:nth-child(6) { transform: translateY(0.25rem); }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-orbit-root [role="listitem"]:hover,
    .quote-orbit-root article:hover,
    .quote-orbit-root [class*="quote-orbit__card"]:hover,
    .quote-orbit-root .quote-orbit__book:hover,
    .quote-orbit-root .quote-orbit__step:hover,
    .quote-orbit-root .quote-orbit__index-card:hover,
    .quote-orbit-root .quote-orbit__pill:hover,
    .quote-orbit-root .quote-orbit__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-orbit-root [role="listitem"],
.quote-orbit-root article,
.quote-orbit-root [class*="quote-orbit__card"],
.quote-orbit-root .quote-orbit__book,
.quote-orbit-root .quote-orbit__step,
.quote-orbit-root .quote-orbit__index-card,
.quote-orbit-root .quote-orbit__pill {
    transition: transform 200ms ease;
}

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

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

