/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

.values-hub-glow {
    width: min(100%, 42rem);
    height: 16rem;
    filter: blur(3rem);
}

.values-hub-sq-10 {
    width: 2.5rem;
    height: 2.5rem;
}

.values-hub-sq-11 {
    width: 2.75rem;
    height: 2.75rem;
}

.values-hub-spotlight {
    min-height: 12rem;
}

.values-hub-spotlight__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22rem;
    height: 22rem;
    max-width: 90vw;
    max-height: 90vw;
    pointer-events: none;
}

.values-hub-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--bs-primary, #0d6efd) 22%, transparent);
    pointer-events: none;
}

.values-hub-ring--a {
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.values-hub-ring--b {
    width: 72%;
    height: 72%;
    border-style: dashed;
    opacity: 0.35;
}

.values-hub-core-logo :is(img, svg) {
    max-height: 2.75rem;
    width: auto;
}

.values-hub-core-bs {
    min-height: 11rem;
    max-width: 13rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bs-body-bg, #fff) 92%, var(--bs-primary, #0d6efd) 8%),
        var(--bs-body-bg, #fff)
    );
}

.values-hub-card-bs {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.values-hub-card-bs:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
}

.pixel-retro-timeline__pixel-bg {
    background-image: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        );
}

.pixel-retro-timeline__pixel-card {
    box-shadow:
        4px 0 0 0 currentColor,
        -4px 0 0 0 currentColor,
        0 4px 0 0 currentColor,
        0 -4px 0 0 currentColor;
    outline: 2px solid;
    outline-offset: 4px;
}

.pixel-retro-timeline__pixel-badge {
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

@keyframes pixel-retro-timeline__scan {
    from { width: 0; }
    to { width: 100%; }
}

.pixel-retro-timeline__progress-bar {
    animation: pixel-retro-timeline__scan 1s steps(20) forwards;
}

.pixel-retro-timeline__mono-font {
    font-family: monospace, 'Courier New';
}

.pixel-retro-timeline__grid-width {
    max-width: 48rem;
}

.pixel-retro-timeline__badge-size {
    width: 4rem;
    height: 4rem;
}

.pixel-retro-timeline__progress-height {
    height: 0.5rem;
}

.pixel-retro-timeline__progress-fill {
    width: var(--pixel-retro-timeline__progress, 0%);
}

.pixel-retro-timeline__spacer {
    width: 0.5rem;
    height: 1rem;
}

.pixel-retro-timeline__min-shrink {
  min-width: 0;
}

.values-float-card__item {
    min-width: 280px;
    max-width: 360px;
}

.values-float-card__thumb {
    margin-top: -2.5rem;
    width: 5rem;
    height: 5rem;
}

.diagonal-zigzag-split__portrait {
    width: 8rem;
    height: 8rem;
}

.diagonal-zigzag-split__portrait--tilt-left {
    transform: rotate(-5deg);
}

.diagonal-zigzag-split__portrait--tilt-right {
    transform: rotate(5deg);
}

.diagonal-zigzag-split__portrait:hover {
    transform: rotate(0);
}

.diagonal-zigzag-split__beacon {
    width: 2rem;
    height: 2rem;
    bottom: -0.25rem;
    right: -0.25rem;
}

.diagonal-zigzag-split__beacon-dot {
    width: 0.75rem;
    height: 0.75rem;
}

.diagonal-zigzag-split__frame {
    width: 4rem;
    height: 4rem;
}

.diagonal-zigzag-split__frame--tl {
    top: 0;
    left: 0;
}

.diagonal-zigzag-split__frame--br {
    bottom: 0;
    right: 0;
}

.diagonal-zigzag-split__frame--rotate-45 {
    transform: rotate(45deg);
}

.diagonal-zigzag-split__frame--rotate-minus-45 {
    transform: rotate(-45deg);
}

.diagonal-zigzag-split__wash {
    width: 8rem;
}

.diagonal-zigzag-split__corner {
    width: 5rem;
    height: 5rem;
}

.diagonal-zigzag-split__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .diagonal-zigzag-split__band--reverse {
        flex-direction: row-reverse;
    }

    .diagonal-zigzag-split__portrait {
        width: 10rem;
        height: 10rem;
    }
}

/* quote v12 — bookshelf shelf, velvet (SVG in template), smoke rise, extrude title, blur icon, clip reveal, gradient border spin */

.quote-shelf__velvet {
    animation: quoteShelfVelvetShimmer 8s ease-in-out infinite alternate;
}
@keyframes quoteShelfVelvetShimmer {
    0% { opacity: 0.35; }
    100% { opacity: 0.55; }
}

.quote-shelf__extrude {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1.2;
}

.quote-shelf__extrude--back {
    transform: translate(3px, 3px);
}
.quote-shelf__extrude--mid {
    transform: translate(6px, 6px);
}

.quote-shelf__smoke {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    bottom: 10%;
    animation: quoteShelfSmokeRise 5s ease-out infinite;
}
.quote-shelf__smoke--a { left: 12%; animation-delay: 0s; }
.quote-shelf__smoke--b { left: 28%; animation-delay: 1.1s; width: 0.375rem; height: 0.375rem; }
.quote-shelf__smoke--c { left: 52%; animation-delay: 2.4s; }
.quote-shelf__smoke--d { left: 71%; animation-delay: 0.7s; width: 0.625rem; height: 0.625rem; }
.quote-shelf__smoke--e { left: 88%; animation-delay: 3.2s; }
@keyframes quoteShelfSmokeRise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    12% { opacity: 0.75; }
    100% { transform: translateY(-9rem) scale(1.5); opacity: 0; }
}

.quote-shelf__pair {
    margin-left: -1rem;
    margin-right: -1rem;
}
@media (min-width: 768px) {
    .quote-shelf__pair {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}

.quote-shelf__stage {
    perspective: 900px;
}

.quote-shelf__book-inner {
    height: 100%;
}
.quote-shelf__book-inner > article,
.quote-shelf__book-inner > div {
    height: 100%;
}

.quote-shelf__book:nth-child(odd) .quote-shelf__book-inner {
    transform: rotateY(-2deg);
}
.quote-shelf__book:nth-child(even) .quote-shelf__book-inner {
    transform: rotateY(2deg);
}
.quote-shelf__book-inner {
    transition: transform 250ms ease;
}
.quote-shelf__book-inner:hover,
.quote-shelf__book-inner:focus-within {
    transform: rotateY(0deg) translateY(-0.35rem);
}

.quote-shelf__border-wrap {
    position: relative;
    padding: 2px;
}
.quote-shelf__border-spin {
    position: absolute;
    inset: -1px;
    animation: quoteShelfBorderPulse 3.5s ease-in-out infinite;
}
@keyframes quoteShelfBorderPulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.015); opacity: 1; }
}

.quote-shelf__icon-stage {
    width: 5.5rem;
    height: 5.5rem;
    overflow: hidden;
}
.quote-shelf__icon-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    filter: blur(10px);
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1.35);
    line-height: 1;
}
.quote-shelf__icon-sharp {
    line-height: 1;
}

.quote-shelf__reveal {
    clip-path: inset(0 0 100% 0);
    max-height: 0;
    overflow: hidden;
    transition: clip-path 280ms ease, max-height 280ms ease;
}
.quote-shelf__book-inner:hover .quote-shelf__reveal,
.quote-shelf__book-inner:focus-within .quote-shelf__reveal {
    clip-path: inset(0 0 0 0);
    max-height: 5rem;
}

.quote-shelf__rail {
    height: 0.5rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-shelf-root [role="listitem"]:hover,
    .quote-shelf-root article:hover,
    .quote-shelf-root [class*="quote-shelf__card"]:hover,
    .quote-shelf-root .quote-shelf__book:hover,
    .quote-shelf-root .quote-shelf__step:hover,
    .quote-shelf-root .quote-shelf__index-card:hover,
    .quote-shelf-root .quote-shelf__pill:hover,
    .quote-shelf-root .quote-shelf__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-shelf-root [role="listitem"],
.quote-shelf-root article,
.quote-shelf-root [class*="quote-shelf__card"],
.quote-shelf-root .quote-shelf__book,
.quote-shelf-root .quote-shelf__step,
.quote-shelf-root .quote-shelf__index-card,
.quote-shelf-root .quote-shelf__pill {
    transition: transform 200ms ease;
}

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

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

