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

.tour-panel-hover {
    transition: box-shadow 0.2s ease;
}

.tour-panel-hover:hover {
    box-shadow: var(--bs-box-shadow);
}

details[open] .tour-open-icon {
    transform: scale(1.05);
}

details[open] .tour-chevron {
    transform: rotate(180deg);
}

.tour-open-icon,
.tour-chevron {
    transition: transform 0.3s ease;
}

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

.ideal-ledger__col-label {
    width: 2rem;
}

.ideal-ledger__col-title {
    width: 16rem;
}

/* values v26 - full-bleed alternating panels */
.values-editorial__panel {
    opacity: 1;
    transform: translateY(0);
}

.values-editorial__panel.is-revealed {
    animation: values-editorial-reveal 700ms ease-out both;
}

.values-editorial__corner-shape {
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

@keyframes values-editorial-reveal {
    from {
        opacity: 0.4;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .values-editorial__panel.is-revealed {
        animation: none;
    }
}

.timeline-bubble-row__portrait {
    width: 10rem;
    height: 10rem;
}

.timeline-bubble-row__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

.timeline-bubble-row__min-shrink {
  min-width: 0;
}

