/**
 * Home page (body.page-home) — tighter vertical rhythm + section index numbers.
 * Loads after story-journey.css / component CSS for overrides only.
 */

/* —— Section vertical rhythm (tighter than global story-space-y) —— */
body.page-home .main-content > .section:not(.section--cta):not(.sx-cta-section) {
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

body.page-home .hero-split + .section.story-band--after-hero {
    margin-top: -2rem;
    padding-top: calc(clamp(3rem, 5vw, 4rem) + 0.75rem);
}

body.page-home .hero-split__stats {
    padding: 1.2rem 0 1rem;
}

body.page-home .reel-showcase-section {
    padding-block: clamp(3rem, 5vw, 4rem);
}

/* —— Section headers —— */
body.page-home .section__header {
    max-width: 44rem;
    margin-bottom: clamp(1.1rem, 2.5vw, 1.45rem);
}

body.page-home .section__header--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.page-home .section__header--center .section__intro {
    margin-left: auto;
    margin-right: auto;
}

body.page-home .section__title {
    margin-bottom: 0.65rem;
}

body.page-home .section__intro {
    margin-top: 0;
}

/* —— Sequential index (above eyebrow / title) —— */
body.page-home .section__seq {
    margin: 0 0 0.35rem;
    line-height: 1;
}

body.page-home .section__seq--block-center {
    text-align: center;
    margin-bottom: 0.65rem;
}

body.page-home .hero-split__section-seq {
    margin: 0 0 0.5rem;
    line-height: 1;
}

body.page-home .section__seq-digit {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-heading);
    opacity: 0.58;
}

body.page-home .section__seq-digit--on-dark {
    color: rgba(255, 255, 255, 0.72);
    opacity: 0.65;
}

body.page-home .hero-split__section-seq .section__seq-digit {
    color: rgba(200, 235, 242, 0.72);
    opacity: 0.65;
}

body.page-home .section__header.text-center .section__seq,
body.page-home .section__header--center .section__seq {
    text-align: center;
}

/* Scroll-in (toggled by index-home-nums.js) */
body.page-home .js-pa-seq-num {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-home .js-pa-seq-num.is-visible {
    opacity: 0.58;
    transform: none;
}

body.page-home .section__seq-digit--on-dark.js-pa-seq-num.is-visible,
body.page-home .hero-split__section-seq .js-pa-seq-num.is-visible {
    opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .js-pa-seq-num {
        opacity: 0.58;
        transform: none;
        transition: none;
    }

    body.page-home .section__seq-digit--on-dark,
    body.page-home .hero-split__section-seq .section__seq-digit {
        opacity: 0.72;
    }
}

/* CTA band: keep hierarchy tight */
body.page-home .sx-cta-section .cta-band__title {
    margin-top: 0.15rem;
}

body.page-home .cta-band__lede {
    margin-bottom: 0.5rem;
}
