/*
 * Modave-calibrated editorial type scale.
 * Modave uses 500-weight headings and an 80px display tier; Ritz keeps that
 * hierarchy while retaining the lighter italic contrast of its serif voice.
 */
.about-hero h1,
.about-introduction h2,
.about-story h2,
.about-film h2,
.about-faculty h2,
.about-location h2,
.teachers-hero h1,
.teacher-profile__heading h1,
.teacher-profile__story h2,
.teachers-intro h2,
.teachers-cta p,
.class-catalog-hero h1,
.class-results h2,
.class-final-cta h2,
.programme-hero h1,
.available-classes h2,
.studios-hero h1,
.studios-directory h2,
.studios-cta p,
.contact-hero h1,
.contact-details h2,
.contact-form-panel h2,
.contact-success h2,
.careers-hero h1,
.careers-content h2,
.careers-requirements h2,
.careers-apply h2,
.trial-heading h1,
.trial-status h1 {
    font-weight: 500;
}

.about-hero h1 em,
.about-introduction h2 em,
.about-story h2 em,
.about-film h2 em,
.about-faculty h2 em,
.about-location h2 em,
.teachers-hero h1 em,
.teacher-profile__story h2 em,
.class-catalog-hero h1 em,
.studios-hero h1 em,
.studios-directory h2 em,
.contact-hero h1 em,
.contact-details h2 em,
.contact-success h2 em,
.careers-hero h1 em,
.careers-content h2 em,
.careers-requirements h2 em,
.careers-apply h2 em {
    font-weight: 400;
}

/* Primary page statements: slightly above Modave's 80px display size. */
.about-hero h1,
.teachers-hero h1,
.teacher-profile__heading h1,
.class-catalog-hero h1,
.programme-hero h1,
.studios-hero h1,
.contact-hero h1,
.contact-success h2,
.careers-hero h1 {
    font-size: clamp(54px, 6.5vw, 92px);
    line-height: .92;
}

/* Section statements follow Modave's H1/H2 relationship. */
.about-introduction h2,
.about-story h2,
.about-film h2,
.about-faculty h2,
.about-location h2,
.teachers-intro h2,
.teacher-profile__story h2,
.class-results h2,
.available-classes h2,
.studios-directory h2,
.contact-details h2,
.careers-content h2,
.careers-requirements h2,
.careers-apply h2 {
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: .98;
}

/* Supporting headings and closing banners should not compete with page heroes. */
.contact-form-panel h2,
.trial-heading h1,
.trial-status h1 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1;
}

.about-cta p,
.teachers-cta p,
.class-final-cta h2,
.studios-cta p {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.05;
}

/* The image-led homepage keeps its intentionally oversized, lighter display. */
.reference-home .ref-hero h1,
.reference-home .ref-hero h1 em,
.reference-home .ref-hero h2 {
    font-weight: 400;
}

@media (max-width: 760px) {
    .about-hero h1,
    .teachers-hero h1,
    .teacher-profile__heading h1,
    .class-catalog-hero h1,
    .programme-hero h1,
    .studios-hero h1,
    .contact-hero h1,
    .contact-success h2,
    .careers-hero h1 {
        font-size: clamp(46px, 13vw, 64px);
        line-height: .94;
    }

    .about-introduction h2,
    .about-story h2,
    .about-film h2,
    .about-faculty h2,
    .about-location h2,
    .teachers-intro h2,
    .teacher-profile__story h2,
    .class-results h2,
    .available-classes h2,
    .studios-directory h2,
    .contact-details h2,
    .careers-content h2,
    .careers-requirements h2,
    .careers-apply h2 {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1;
    }

    .about-cta p,
    .teachers-cta p,
    .class-final-cta h2,
    .studios-cta p {
        font-size: clamp(30px, 9vw, 40px);
    }
}
