/* intro v27 — Evangelion cascade: organic blob, wide banner, diagonal steps, slide-in L/R, word reveal */

/* Organic blob */
.intro-eva__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 38% 62% 55% 45% / 55% 42% 58% 45%;
    animation: intro-eva-morph 12s ease-in-out infinite;
}
@keyframes intro-eva-morph {
    50% { border-radius: 55% 45% 42% 58% / 42% 58% 45% 55%; }
}

/* Single wide banner */
.intro-eva__banner-img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
@media (min-width: 768px) {
    .intro-eva__banner-img { height: 16rem; }
}

/* Stepped diagonal cascade + asymmetric mixed sizes */
.intro-eva__row { margin-left: 0; }
.intro-eva__cell { max-width: 46rem; }
@media (min-width: 768px) {
    .intro-eva__row:nth-child(1) .intro-eva__cell { margin-left: 0;    max-width: 40rem; }
    .intro-eva__row:nth-child(2) .intro-eva__cell { margin-left: 3rem; max-width: 34rem; }
    .intro-eva__row:nth-child(3) .intro-eva__cell { margin-left: 6rem; max-width: 44rem; }
    .intro-eva__row:nth-child(4) .intro-eva__cell { margin-left: 9rem; max-width: 30rem; }
}

/* Slide-in from L / R on scroll — hidden only once JS arms it (no-JS content stays visible) */
.intro-eva.is-armed .intro-eva__row {
    opacity: 0;
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-eva.is-armed .intro-eva__row:nth-child(odd)  { transform: translateX(-2.5rem); }
.intro-eva.is-armed .intro-eva__row:nth-child(even) { transform: translateX(2.5rem); }
.intro-eva.is-armed .intro-eva__row.is-in { opacity: 1; transform: translateX(0); }

/* Letterpress-ish press using the element's own colour */
.intro-eva__press { text-shadow: 0 1px 0 currentColor; }

/* Word-by-word reveal */
.intro-eva__word { display: inline-block; }
.intro-eva.is-armed .intro-eva__word {
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 420ms ease, transform 420ms ease;
}
.intro-eva.is-armed .intro-eva__reveal.is-in .intro-eva__word { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .intro-eva__blob { animation: none; }
    .intro-eva__row { opacity: 1; transform: none; }
    .intro-eva__word { opacity: 1; transform: none; }
}

/* slim-path — minimal vertical timeline */
.slim-path__eyebrow {
    letter-spacing: 0.16em;
}

.slim-path__title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.slim-path__rail {
    width: 0;
    left: 50%;
    top: 1.5rem;
    bottom: 1.5rem;
    transform: translateX(-50%);
}

.slim-path__icon {
    width: 3.25rem;
    height: 3.25rem;
    z-index: 1;
}

.slim-path__text {
    max-width: 28rem;
}

.report-ruled__img {
    object-fit: cover;
    min-height: 18rem;
}

.report-ruled__line {
    border-top-style: double;
    border-top-width: 3px;
}

/* benefits reel — autoplay carousel, layout/motion only (no colors) */
.benefits-reel { --reel-duration: 5200ms; }
.benefits-reel__count { font-variant-numeric: tabular-nums; min-width: 4.5rem; text-align: right; }

.benefits-reel__ctrl { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; width: 3rem; height: 3rem; padding: 0; }

.benefits-reel__track {
    position: relative;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.benefits-reel__track::-webkit-scrollbar { display: none; }

.benefits-reel__slide { width: 85%; scroll-snap-align: start; }
@media (min-width: 576px) { .benefits-reel__slide { width: 22rem; } }
@media (min-width: 1200px) { .benefits-reel__slide { width: 24rem; } }

.benefits-reel__card { transition: transform 400ms ease, box-shadow 400ms ease, opacity 400ms ease; opacity: .72; }
.benefits-reel__slide.is-active .benefits-reel__card { transform: translateY(-.5rem); opacity: 1; }
.benefits-reel__card:hover { opacity: 1; }

.benefits-reel__edge { height: .25rem; transform: scaleX(0); transform-origin: left center; transition: transform 500ms ease; }
.benefits-reel__slide.is-active .benefits-reel__edge { transform: scaleX(1); }

.benefits-reel__ring { width: 4rem; height: 4rem; }
.benefits-reel__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.benefits-reel__arc { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .35; }
.benefits-reel__slide.is-active .benefits-reel__arc { opacity: 1; animation: benefits-reel-fill var(--reel-duration) linear forwards; }
.benefits-reel.is-paused .benefits-reel__slide.is-active .benefits-reel__arc { animation-play-state: paused; }
.benefits-reel.is-static .benefits-reel__arc { animation: none; stroke-dashoffset: 0; }

.benefits-reel__dot { display: block; width: .5rem; height: .5rem; opacity: .3; transition: width 300ms ease, opacity 300ms ease; }
.benefits-reel__dot.is-active { width: 2rem; opacity: 1; }

@keyframes benefits-reel-fill { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .benefits-reel__track { scroll-behavior: auto; }
    .benefits-reel__card, .benefits-reel__edge, .benefits-reel__dot { transition: none; }
    .benefits-reel__slide.is-active .benefits-reel__arc { animation: none; stroke-dashoffset: 0; }
}

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

/* CTA band: the button group may shrink and wrap so long labels never run past the band */
.benefits-reel :has(> a[href] + a[href]) { flex-shrink: 1 !important; min-width: 0; max-width: 100%; }
.benefits-reel :has(> a[href] + a[href]) > a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.benefits-reel :has(+ :has(> a[href] + a[href])) { min-width: 0; }

