/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

.split-cyber-timeline__scanlines {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        currentColor 2px,
        currentColor 3px
    );
}

@keyframes split-cyber-timeline__slide-left {
    from { opacity: 0; transform: translateX(-32px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes split-cyber-timeline__slide-right {
    from { opacity: 0; transform: translateX(32px); }
    to { opacity: 1; transform: translateX(0); }
}

.split-cyber-timeline__reveal-left {
    animation: split-cyber-timeline__slide-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.split-cyber-timeline__reveal-right {
    animation: split-cyber-timeline__slide-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.split-cyber-timeline__section {
    min-height: 480px;
}

.split-cyber-timeline__overlay-z {
    z-index: 10;
}

.split-cyber-timeline__inner-height {
    min-height: 480px;
}

.split-cyber-timeline__media-clip {
    min-height: 280px;
    position: relative;
}

.split-cyber-timeline__media-clip > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-cyber-timeline__media-clip--even {
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

.split-cyber-timeline__media-clip--odd {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.split-cyber-timeline__accent-bar {
    width: 4px;
}

.split-cyber-timeline__accent-bar--right {
    right: 0;
}

.split-cyber-timeline__accent-bar--left {
    left: 0;
}

.split-cyber-timeline__content-z {
    z-index: 20;
}

.split-cyber-timeline__line-sm {
    width: 1rem;
    height: 2px;
}

.split-cyber-timeline__accent-sm {
    width: 2rem;
    height: 0.25rem;
}

@media (min-width: 768px) {
    .split-cyber-timeline__section--reverse .split-cyber-timeline__inner {
        flex-direction: row-reverse;
    }

    .split-cyber-timeline__content-z--odd {
        padding-left: 4rem;
        padding-right: 3rem;
    }
}

/* Совпадает с Tailwind max-w-4xl (56rem) для Bootstrap-ветки */
.border-rail-list__shell {
    max-width: 56rem;
}

.border-rail-list__portrait {
    width: 7rem;
    height: 7rem;
}

@media (min-width: 768px) {
    .border-rail-list__portrait {
        width: 8rem;
        height: 8rem;
    }
}

.border-rail-list__min-shrink {
  min-width: 0;
}

