.hero-v17-blob-center {
    width: 600px;
    height: 600px;
    animation-duration: 4s;
}

.hero-v17-blob-a {
    animation-duration: 5s;
    animation-delay: 1s;
}

.hero-v17-blob-b {
    animation-duration: 6s;
    animation-delay: 2s;
}

.hero-v17-particle-a {
    animation-duration: 3s;
}

.hero-v17-particle-b {
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.hero-v17-particle-c {
    animation-duration: 3.5s;
    animation-delay: 1s;
}

.hero-v17-particle-d {
    animation-duration: 4.5s;
    animation-delay: 1.5s;
}

.hero-v17-particle-e {
    animation-duration: 3.8s;
    animation-delay: 2s;
}

.hero-v17-particle-f {
    animation-duration: 4.2s;
    animation-delay: 2.5s;
}

.hero-v17-shape-spin {
    animation-duration: 20s;
}

.hero-v17-shape-ping {
    animation-duration: 3s;
    animation-delay: 1s;
}

.hero-v17-shape-reverse {
    animation-duration: 15s;
    animation-direction: reverse;
}

.hero-v17-line-left {
    animation-duration: 2s;
    height: 8rem;
    left: 25%;
}

.hero-v17-line-right {
    animation-duration: 2.5s;
    animation-delay: 0.5s;
    height: 8rem;
    right: 25%;
}

.hero-v17-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.hero-v17-block-md {
    max-width: 56rem;
}

.hero-v17-media-wrap {
    max-width: 42rem;
}

.hero-v17-decor-tr {
    top: -0.75rem;
    right: -0.75rem;
    width: 5rem;
    height: 5rem;
}

.hero-v17-decor-bl {
    bottom: -0.75rem;
    left: -0.75rem;
    width: 4rem;
    height: 4rem;
}

.hero-v17-features-area {
    max-width: 64rem;
}

.hero-v17-icon-box {
    min-width: 1.5rem;
    min-height: 1.5rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.about-chapters__frame { aspect-ratio: 4 / 3; clip-path: inset(0 0 0 0 round 1.5rem); }
.about-chapters__img { object-fit: cover; transform: scale(1.12); transition: transform 1400ms cubic-bezier(.2, .8, .2, 1); }

.about-chapters__chip { bottom: -1.75rem !important; transform: translateY(1.5rem) scale(.92); opacity: 0; transition: transform 700ms cubic-bezier(.2, .8, .2, 1) 450ms, opacity 500ms ease 450ms; max-width: calc(100% - 2rem); }
.about-chapters__chip--right { right: -1rem !important; left: auto !important; }
.about-chapters__chip--left { left: -1rem !important; right: auto !important; }
@media (max-width: 1023.98px) {
    .about-chapters__chip--right, .about-chapters__chip--left { right: 1rem !important; left: auto !important; }
}
.about-chapters__viz { width: 4.5rem; height: 3.5rem; }
.about-chapters__viz svg { display: block; width: 100%; height: 100%; overflow: visible; }
.about-chapters__caption { font-size: .875rem; line-height: 1.25rem; max-width: 10rem; }

.about-chapters__copy { opacity: 0; transform: translateY(2rem); transition: opacity 800ms ease 150ms, transform 800ms cubic-bezier(.2, .8, .2, 1) 150ms; }
.about-chapters__num { width: 2rem; height: 2rem; }
.about-chapters__kicker { letter-spacing: .08em; }
.about-chapters__link i { transition: transform 250ms ease; }
.about-chapters__link:hover i { transform: translateX(.25rem); }

.about-chapters__row .about-chapters__frame { clip-path: inset(12% 12% 12% 12% round 1.5rem); transition: clip-path 1200ms cubic-bezier(.2, .8, .2, 1); }
.about-chapters__row.is-visible .about-chapters__frame { clip-path: inset(0 0 0 0 round 1.5rem); }
.about-chapters__row.is-visible .about-chapters__img { transform: scale(1); }
.about-chapters__row.is-visible .about-chapters__chip { transform: none; opacity: 1; }
.about-chapters__row.is-visible .about-chapters__copy { opacity: 1; transform: none; }

.about-chapters__ring { transition: stroke-dashoffset 1400ms cubic-bezier(.2, .8, .2, 1) 700ms; }
.about-chapters__spark { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms cubic-bezier(.2, .8, .2, 1) 700ms; }
.about-chapters__fade { opacity: 0; transition: opacity 600ms ease 1400ms; }
.about-chapters__col { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 800ms cubic-bezier(.2, .8, .2, 1); }
.about-chapters__needle { transform-origin: 36px 44px; transform: rotate(-90deg); transition: transform 1400ms cubic-bezier(.3, 1.4, .4, 1) 700ms; }
.about-chapters__viz.is-drawn .about-chapters__spark { stroke-dashoffset: 0; }
.about-chapters__viz.is-drawn .about-chapters__fade { opacity: 1; }
.about-chapters__viz.is-drawn .about-chapters__col { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .about-chapters__img, .about-chapters__chip, .about-chapters__copy, .about-chapters__row .about-chapters__frame,
    .about-chapters__ring, .about-chapters__spark, .about-chapters__fade, .about-chapters__col, .about-chapters__needle { transition: none; }
    .about-chapters__chip, .about-chapters__copy { opacity: 1; transform: none; }
    .about-chapters__row .about-chapters__frame { clip-path: inset(0 0 0 0 round 1.5rem); }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.about-chapters[hidden], .about-chapters [hidden], .about-chapters .hidden.d-none { display: none !important; }

#scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* #scroll-container::-webkit-scrollbar {
  display: none;
} */
/* 
#scroll-container {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
} */

/* @media (pointer: fine) {
  #scroll-container {
    scroll-snap-type: x proximity;
  }
} */

.values-scroll-deck__hint-right {
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    right: 1rem;
}

.values-scroll-deck__hint-left {
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    left: 1rem;
}

.values-scroll-deck__item {
    scroll-snap-align: center;
    width: 90%;
    min-width: 280px;
}

@media (min-width: 768px) {
    .values-scroll-deck__item {
        width: 70%;
    }
}

@media (min-width: 992px) {
    .values-scroll-deck__item {
        width: 55%;
    }
}

.values-scroll-deck__card {
    min-height: 380px;
}

.values-scroll-deck__thumb {
    width: 6rem;
    height: 6rem;
}

.values-scroll-deck__overlay {
    height: 6rem;
}

/* Featured block: высота области фото на мобилке и растягивание в ряду md+ */
.split-feature-roster__hero-media {
    min-height: 16rem;
}

@media (min-width: 768px) {
    .split-feature-roster__hero-media {
        min-height: 20rem;
        height: 100%;
    }
}

/* Компактные аватарки в правой колонке */
.split-feature-roster__list-thumb {
    width: 5rem;
    height: 5rem;
}

.split-feature-roster__presence-chip {
    width: 1.25rem;
    height: 1.25rem;
}

.split-feature-roster__min-shrink {
  min-width: 0;
}

.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;
    }
}

