/* Reuse the theme's one-time reveal observer and entrance keyframes. */
.hero .rise {
    animation-duration: .8s;
    animation-delay: var(--hero-delay, 0s);
    animation-fill-mode: backwards;
}

.hero-h1 { --hero-delay: .1s; }
.hero-summary { --hero-delay: .2s; }
.hero-photo { --hero-delay: .16s; }
.hero-marker:nth-child(1) { --hero-delay: .32s; }
.hero-marker:nth-child(2) { --hero-delay: .4s; }
.hero-marker:nth-child(3) { --hero-delay: .48s; }
.hero-marker:nth-child(4) { --hero-delay: .56s; }
.hero-btns .btn:first-child { --hero-delay: .64s; }
.hero-btns .btn:last-child { --hero-delay: .72s; }

.has-js .why-card__body.reveal,
.has-js .doctor-card.reveal,
.has-js .review-card.reveal {
    transition-duration: .7s;
    transition-timing-function: cubic-bezier(.2, .65, .3, 1);
}

.doctor-card:nth-child(4n + 2),
.review-card:nth-child(3n + 2) { --reveal-delay: .09s; }
.doctor-card:nth-child(4n + 3),
.review-card:nth-child(3n + 3) { --reveal-delay: .18s; }
.doctor-card:nth-child(4n + 4) { --reveal-delay: .27s; }

.smooth-disclosure,
.rp-faq__list {
    overflow-anchor: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero .rise {
        animation: none;
    }
    .has-js .why-card__body.reveal,
    .has-js .doctor-card.reveal,
    .has-js .review-card.reveal {
        transition: none;
    }
}
