/* intro v24 — Arctic scandinavian: orbit animation, blur-in reveal, colour-invert hover */

/* Orbit circle animation */
.intro-arc__orbit {
    width: 20rem;
    height: 20rem;
    animation: intro-arc-orbit 20s linear infinite;
}
.intro-arc__dot { width: 1rem; height: 1rem; margin-left: -0.5rem; }
@keyframes intro-arc-orbit {
    to { transform: rotate(360deg); }
}

/* Blur-in — hidden only once JS arms it (no-JS content stays visible) */
.intro-arc.is-armed .intro-arc__blur {
    filter: blur(8px);
    opacity: 0;
    transition: filter 560ms ease, opacity 560ms ease;
}
.intro-arc.is-armed .intro-arc__blur.is-in {
    filter: blur(0);
    opacity: 1;
}

/* Colour invert on hover: descendants inherit the row's hover text colour (keyword only, no colour value) */
.intro-arc__row:hover * {
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .intro-arc__orbit { animation: none; }
    .intro-arc__blur { filter: none; opacity: 1; }
}

.content-disclaimer-logo__mark {
    width: 5rem;
    height: 5rem;
}

.content-disclaimer-logo__mark--small {
    width: 3rem;
    height: 3rem;
}

.content-disclaimer-logo__mark--large {
    width: 6rem;
    height: 6rem;
}

.content-disclaimer-logo__mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* wizard progress segment - framework-agnostic sizing + UA button reset */
.steps-wizard__segment {
    height: 0.375rem;
    padding: 0;
    border: 0;
    transition: transform 200ms ease, background-color 200ms ease;
    cursor: pointer;
    background-color: var(--bs-tertiary-bg, rgb(100 116 139 / 0.3));
}

.steps-wizard__segment.is-active {
    transform: scaleY(1.6);
    background-color: var(--bs-primary, rgb(37 99 235 / 1)) !important;
}

.steps-wizard__panel {
    animation: steps-wizard-fade-in 250ms ease;
}

/* wizard stage panel - fixed min-height across both frameworks */
.guide-flow__stage {
    min-height: 16rem;
}

/* wizard step icon badge - fixed circular size across both frameworks */
.guide-flow__badge {
    width: 4rem;
    height: 4rem;
}

@keyframes steps-wizard-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* quote v22 — filmstrip: VHS scanlines, rain, clouds, ID-badge cards, scroll reveal */

.quote-filmstrip__cloud {
    width: 14rem;
    height: 8rem;
    filter: blur(48px);
}
.quote-filmstrip__cloud--a {
    top: 10%;
    left: -4rem;
}
.quote-filmstrip__cloud--b {
    bottom: 8%;
    right: -3rem;
}

.quote-filmstrip__drop {
    width: 1px;
    animation: quoteFilmstripRain 4.5s linear infinite;
}
.quote-filmstrip__drop--1 { left: 12%; animation-delay: 0s; }
.quote-filmstrip__drop--2 { left: 28%; animation-delay: 0.8s; }
.quote-filmstrip__drop--3 { left: 44%; animation-delay: 1.6s; }
.quote-filmstrip__drop--4 { left: 60%; animation-delay: 0.4s; }
.quote-filmstrip__drop--5 { left: 76%; animation-delay: 2.1s; }
.quote-filmstrip__drop--6 { left: 88%; animation-delay: 1.2s; }
@keyframes quoteFilmstripRain {
    0% { transform: translateY(-120%); opacity: 0; }
    15% { opacity: 0.6; }
    100% { transform: translateY(120vh); opacity: 0; }
}

.quote-filmstrip__divider {
    width: 3rem;
    height: 0.25rem;
    margin-bottom: 1rem;
}

.quote-filmstrip__title {
    font-variant: small-caps;
}

.quote-filmstrip__panel {
    scroll-snap-type: x mandatory;
    min-width: 0;
}

@media (min-width: 992px) {
    .quote-filmstrip__aside {
        width: 18rem;
        max-width: 18rem;
    }
    .quote-filmstrip__panel {
        flex: 1 1 0;
        width: 0;
        max-width: 100%;
    }
}

.quote-filmstrip__track {
    width: max-content;
    min-width: 100%;
}

.quote-filmstrip__reveal {
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    opacity: 1;
    transform: none;
    transition: opacity 600ms ease, transform 600ms ease;
}
.quote-filmstrip__reveal--left:not(.is-visible) {
    opacity: 0;
    transform: translateX(-2rem);
}
.quote-filmstrip__reveal--right:not(.is-visible) {
    opacity: 0;
    transform: translateX(2rem);
}
.quote-filmstrip__reveal--center:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.5rem);
}
.quote-filmstrip__reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.quote-filmstrip__card--focal {
    width: min(85vw, 22rem);
    min-height: 26rem;
}
.quote-filmstrip__card--support {
    width: min(72vw, 18rem);
    min-height: 22rem;
}

.quote-filmstrip__media {
    position: relative;
    flex: 1 1 auto;
    min-height: 14rem;
    overflow: hidden;
}
.quote-filmstrip__card--focal .quote-filmstrip__media {
    min-height: 16rem;
}

.quote-filmstrip__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 14rem;
}

.quote-filmstrip__clamp {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-filmstrip__meta-quote {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-filmstrip__sprockets {
    pointer-events: none;
}
.quote-filmstrip__sprockets--top {
    top: 0.35rem;
}
.quote-filmstrip__sprockets--bottom {
    bottom: 3.25rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-filmstrip-root [role="listitem"]:hover,
    .quote-filmstrip-root article:hover,
    .quote-filmstrip-root [class*="quote-filmstrip__card"]:hover,
    .quote-filmstrip-root .quote-filmstrip__book:hover,
    .quote-filmstrip-root .quote-filmstrip__step:hover,
    .quote-filmstrip-root .quote-filmstrip__index-card:hover,
    .quote-filmstrip-root .quote-filmstrip__pill:hover,
    .quote-filmstrip-root .quote-filmstrip__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-filmstrip-root [role="listitem"],
.quote-filmstrip-root article,
.quote-filmstrip-root [class*="quote-filmstrip__card"],
.quote-filmstrip-root .quote-filmstrip__book,
.quote-filmstrip-root .quote-filmstrip__step,
.quote-filmstrip-root .quote-filmstrip__index-card,
.quote-filmstrip-root .quote-filmstrip__pill {
    transition: transform 200ms ease;
}

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

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

.cta-hub__stage { min-height: 24rem; }
.cta-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-hub__lines path { stroke-dasharray: 6 8; opacity: 0; }
[data-hub].is-visible .cta-hub__lines path { opacity: .5; animation: cta-hub-flow 1.2s linear infinite; transition: opacity 600ms ease 400ms; }

.cta-hub__node { opacity: 0; transition: opacity 500ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); }
.cta-hub__node--0 { top: 12% !important; left: 4% !important; transform: translate(-1.5rem, -1.5rem); }
.cta-hub__node--1 { top: 12% !important; left: auto !important; right: 4%; transform: translate(1.5rem, -1.5rem); }
.cta-hub__node--2 { top: auto !important; bottom: 12%; left: 4% !important; transform: translate(-1.5rem, 1.5rem); }
.cta-hub__node--3 { top: auto !important; bottom: 12%; left: auto !important; right: 4%; transform: translate(1.5rem, 1.5rem); }
[data-hub].is-visible .cta-hub__node { opacity: 1; transform: none; animation: cta-hub-bob 5s ease-in-out 1s infinite; }
[data-hub].is-visible .cta-hub__node--1 { transition-delay: 120ms; animation-delay: 1.6s; }
[data-hub].is-visible .cta-hub__node--2 { transition-delay: 240ms; animation-delay: 2.2s; }
[data-hub].is-visible .cta-hub__node--3 { transition-delay: 360ms; animation-delay: 2.8s; }

.cta-hub__core { transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: transform 700ms cubic-bezier(.2, .8, .2, 1) 500ms, opacity 500ms ease 500ms; }
[data-hub].is-visible .cta-hub__core { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.cta-hub__micro { font-size: .75rem; }

@keyframes cta-hub-flow { to { stroke-dashoffset: -28; } }
@keyframes cta-hub-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (prefers-reduced-motion: reduce) {
    .cta-hub__node, .cta-hub__core { transition: none; animation: none; opacity: 1; }
    [data-hub].is-visible .cta-hub__lines path { animation: none; }
}
/* phones: keep the four orbit nodes from colliding */
@media (max-width: 575px) {
    .cta-hub__node { max-width: 44%; padding: .5rem .75rem !important; font-size: .8125rem; line-height: 1.15rem; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.cta-hub[hidden], .cta-hub [hidden], .cta-hub .hidden.d-none { display: none !important; }

