/* intro v28 — Arc diagonal-split: clip split, floating rings, ransom-note words, grayscale hover, click burst */

/* Diagonal split zone */
.intro-arc2__split {
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
    opacity: 0.6;
}

/* Floating rings / donuts (fixed size — no BS w-N/h-N utility) */
.intro-arc2__ring { width: 10rem; height: 10rem; animation: intro-arc2-float 7s ease-in-out infinite; }
.intro-arc2__ring--2 { width: 6rem; height: 6rem; animation-duration: 9s; animation-delay: 1s; }
@keyframes intro-arc2-float {
    50% { transform: translateY(-1.2rem) rotate(20deg); }
}

/* Serif accent (paired with sans body) */
.intro-arc2__serif { font-family: ui-serif, Georgia, "Times New Roman", serif; }

/* Hero image grayscale → colour reveal on hover */
.intro-arc2__figure { aspect-ratio: 4 / 3; }
.intro-arc2__img {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 420ms ease;
}
.intro-arc2__figure:hover .intro-arc2__img { filter: grayscale(0); }

/* Ransom-note mixed letters: alternate rotation, weight, family (no colour) */
.intro-arc2__word {
    display: inline-block;
    margin-right: 0.25em;
}
.intro-arc2__word:nth-child(3n+1) { transform: rotate(-4deg); font-weight: 900; }
.intro-arc2__word:nth-child(3n+2) { transform: rotate(3deg);  font-family: ui-serif, Georgia, serif; font-style: italic; }
.intro-arc2__word:nth-child(3n+3) { transform: rotate(-1deg); font-weight: 700; text-transform: uppercase; }

/* Click burst spark (inherits the button's primary colour via currentColor) */
.intro-arc2__react { position: relative; overflow: visible; }
.intro-arc2__spark {
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    animation: intro-arc2-burst 640ms ease-out forwards;
}
@keyframes intro-arc2-burst {
    to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(160deg); }
}

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

/* process storybook — gallery height, image crop, active nav, BS row overflow fix (no colors) */
.process-cdpr__root {
    max-width: 100%;
}
.process-cdpr__gallery-wrap {
    max-width: 100%;
    overflow: hidden;
}
.process-cdpr__gallery {
    height: 16rem;
    max-width: 100%;
}
.process-cdpr__gallery.row {
    margin-left: 0;
    margin-right: 0;
}
.process-cdpr__gallery > * {
    min-width: 0;
}
.process-cdpr__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
}
.process-cdpr__nav-btn {
    transition: border-color 200ms ease, color 200ms ease;
}
.process-cdpr__nav-btn.is-active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

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

