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

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


.spectrum-rubric__panel--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.orbit-column-badge {
    width: 2.5rem;
    height: 2.5rem;
}

.orbit-column-panel {
    height: 700px;
}

.orbit-column-cloud-top {
    width: 24rem;
    height: 24rem;
}

.orbit-column-cloud-bottom {
    width: 20rem;
    height: 20rem;
}

.orbit-column-ring-main {
    width: 24rem;
    height: 24rem;
    animation-duration: 20s;
}

.orbit-column-ring-side {
    width: 20rem;
    height: 20rem;
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-column-ring-tail {
    width: 22rem;
    height: 22rem;
    animation-duration: 25s;
}

.orbit-column-ring-main,
.orbit-column-ring-side,
.orbit-column-ring-tail {
    animation-name: orbit-column__spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes orbit-column__spin {
    to { transform: rotate(360deg); }
}

