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

.magazine-bleed-timeline__rule {
    height: 2px;
}

.magazine-bleed-timeline__image {
    min-height: 420px;
}

.magazine-bleed-timeline__watermark {
    font-size: clamp(72px, 14vw, 160px);
    line-height: 0.85;
    opacity: 0.15;
}

.magazine-bleed-timeline__accent {
    height: 4px;
    width: 3rem;
}

.magazine-bleed-timeline__divider {
    height: 1px;
}

@media (min-width: 768px) {
    .magazine-bleed-timeline__row--reverse {
        flex-direction: row-reverse;
    }

    .magazine-bleed-timeline__panel--end {
        margin-left: auto;
    }
}

.magazine-bleed-timeline__watermark-wrap--end {
    justify-content: flex-end;
}

/* v28 - scattered rotation per card (per-index transform has no TW/BS utility) */
[data-scatter-card] {
    transition: transform 200ms ease;
}

[data-scatter-card="0"] {
    transform: rotate(-3deg);
}

[data-scatter-card="1"] {
    transform: rotate(2deg) translateY(-0.5rem);
}

[data-scatter-card="2"] {
    transform: rotate(-1.5deg);
}

[data-scatter-card]:hover {
    transform: rotate(0deg) translateY(0);
}

/* quote v26 — Bugatti duo: VHS lines, rain, typewriter cursor, scroll-snap, newspaper columns */

.quote-v26__vhs {
    opacity: 0.35;
}

.quote-v26__drop {
    width: 1px;
    animation: quoteV26Rain 5s linear infinite;
}
.quote-v26__drop:nth-child(1) { left: 8%; animation-delay: 0s; }
.quote-v26__drop:nth-child(2) { left: 22%; animation-delay: 1.1s; }
.quote-v26__drop:nth-child(3) { left: 38%; animation-delay: 0.4s; }
.quote-v26__drop:nth-child(4) { left: 55%; animation-delay: 2s; }
.quote-v26__drop:nth-child(5) { left: 71%; animation-delay: 0.9s; }
.quote-v26__drop:nth-child(6) { left: 86%; animation-delay: 1.7s; }
@keyframes quoteV26Rain {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 0.5; }
    100% { transform: translateY(110vh); opacity: 0; }
}

.quote-v26__cursor {
    display: inline-block;
    width: 0.55em;
    margin-left: 0.1em;
    border-right: 2px solid currentColor;
    animation: quoteV26Blink 1s step-end infinite;
}
@keyframes quoteV26Blink {
    50% { opacity: 0; }
}

.quote-v26__scroller {
    max-height: 28rem;
    scroll-snap-type: y mandatory;
}
.quote-v26__scroller > .col {
    scroll-snap-align: start;
}

.quote-v26__columns {
    column-gap: 1.5rem;
}

.quote-v26__ticket pre {
    margin: 0;
    white-space: pre-wrap;
}

.quote-v26__ring {
    animation: quoteV26Glow 3s ease-in-out infinite;
}
@keyframes quoteV26Glow {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.03); opacity: 1; }
}

.quote-v26__halftone {
    width: 4rem;
    height: 4rem;
    margin-top: -0.5rem;
    margin-right: -0.5rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-v26-root [role="listitem"]:hover,
    .quote-v26-root article:hover,
    .quote-v26-root [class*="quote-v26__card"]:hover,
    .quote-v26-root .quote-v26__book:hover,
    .quote-v26-root .quote-v26__step:hover,
    .quote-v26-root .quote-v26__index-card:hover,
    .quote-v26-root .quote-v26__pill:hover,
    .quote-v26-root .quote-v26__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-v26-root [role="listitem"],
.quote-v26-root article,
.quote-v26-root [class*="quote-v26__card"],
.quote-v26-root .quote-v26__book,
.quote-v26-root .quote-v26__step,
.quote-v26-root .quote-v26__index-card,
.quote-v26-root .quote-v26__pill {
    transition: transform 200ms ease;
}

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

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

