/* intro v19 — photo-free index list: soft blurred blobs, fixed icon tiles, scroll reveal */

/* Soft background blobs (fixed size + blur have no BS utility; colour stays a Tailwind/BS class) */
.intro-index__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
    opacity: 0.5;
}

/* Icon tile fixed size (BS has no w-N/h-N utility) */
.intro-index__icon-tile {
    width: 3rem;
    height: 3rem;
}

/* Scroll reveal — cards hide only once JS arms the section (no-JS content stays visible) */
.intro-index.is-armed .intro-index__card {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-index.is-armed .intro-index__card.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .intro-index.is-armed .intro-index__card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.frame-scroll-container { -webkit-overflow-scrolling: touch; }

/* BS (прев’ю + експорт): картки ~вдвічі вужчі за w-72; TW без змін */
.about-frame-strip--bs .frame-scroll-container > li:not([aria-hidden="true"]),
#section-preview-root.section-preview--bootstrap .frame-scroll-container > li:not([aria-hidden="true"]),
[data-preview-framework="bootstrap"] .frame-scroll-container > li:not([aria-hidden="true"]) {
    flex: 0 0 16rem !important;
    width: 16rem !important;
    max-width: min(16rem, 85vw) !important;
}

.frame-sq-12 { width: 3rem; height: 3rem; flex-shrink: 0; }

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

.frame-card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
}

.frame-icon-hover {
    transition: transform 0.2s ease;
}

.frame-card-hover:hover .frame-icon-hover {
    transform: scale(1.05);
}

.frame-title-hover {
    transition: color 0.2s ease;
}

.frame-card-hover:hover .frame-title-hover {
    color: var(--bs-primary);
}

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

.roster-skills-reveal__portrait {
    width: 6rem;
    height: 6rem;
}

.roster-skills-reveal__grid-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.roster-skills-reveal__grid-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.roster-skills-reveal__grid-cell:nth-child(4) {
    animation-delay: 0.3s;
}

.roster-skills-reveal__grid-cell:nth-child(5) {
    animation-delay: 0.4s;
}

.roster-skills-reveal__grid-cell:nth-child(6) {
    animation-delay: 0.5s;
}

.roster-skills-reveal__min-shrink {
  min-width: 0;
}

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

