/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

/* v20 — decorative large animated elements */
@keyframes glance-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}
@keyframes glance-pulse-slow {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}

.glance-float { animation: glance-float 6s ease-in-out infinite; animation-delay: 1s; }
.glance-float-reverse { animation: glance-float-reverse 8s ease-in-out infinite; animation-delay: 2s; }
.glance-pulse-slow { animation: glance-pulse-slow 4s ease-in-out infinite; }

.glance-orb-one {
    top: -2rem;
    left: -2rem;
    width: 16rem;
    height: 16rem;
    filter: blur(3rem);
}

.glance-orb-three {
    bottom: -3rem;
    left: 25%;
    width: 14rem;
    height: 14rem;
}

.glance-spin-orb {
    top: 1rem;
    right: 1rem;
    width: 8rem;
    height: 8rem;
    animation-duration: 25s;
}

.glance-orb-four {
    bottom: 2rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(12deg);
}

.glance-cta-hover,
.glance-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glance-cta-hover:hover {
    transform: scale(1.05);
}

.glance-card-hover:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--bs-box-shadow-lg);
}

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

@keyframes fullscreen-scroll-timeline__slide-in {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.fullscreen-scroll-timeline__content.is-visible {
    animation: fullscreen-scroll-timeline__slide-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fullscreen-scroll-timeline__section {
    min-height: 520px;
}

.fullscreen-scroll-timeline__inner {
    min-height: 520px;
    z-index: 10;
}

.fullscreen-scroll-timeline__content {
    max-width: 36rem;
    opacity: 0;
    transform: translateX(-40px);
}

.fullscreen-scroll-timeline__accent-line {
    width: 2rem;
    height: 1px;
}

.fullscreen-scroll-timeline__text {
    max-width: 32rem;
}

.fullscreen-scroll-timeline__decor-year {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.fullscreen-scroll-timeline__year-text {
    font-size: 120px;
    writing-mode: vertical-rl;
}
.fullscreen-scroll-timeline__section {
    min-height: 520px;
}

.fullscreen-scroll-timeline__inner-size {
    min-height: 520px;
    z-index: 10;
}

.fullscreen-scroll-timeline__content {
    max-width: 36rem;
    opacity: 0;
    transform: translateX(-40px);
}

.fullscreen-scroll-timeline__accent-line {
    width: 2rem;
    height: 1px;
}

.fullscreen-scroll-timeline__text-width {
    max-width: 32rem;
}

.fullscreen-scroll-timeline__year-decor {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.fullscreen-scroll-timeline__feat-year {
    font-size: 120px;
    writing-mode: vertical-rl;
}


/* Bootstrap: сетка 1→2 колонки без «слипания» ячеек */
.values-split-row__bs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .values-split-row__bs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.values-split-row__subtitle-max {
    max-width: 48rem;
}

.values-split-row__thumb {
    min-height: 5rem;
    flex-shrink: 0;
}

