/* ===== M4 / Evelyn Bundle (active section #evelyn-way) ===== */
/* source: CSS/modules/M4_lead-case.css + master.css */

/* master.css override */
.m4-headline.c-headline__highlight--orange {
    display: block;
}

/* base */
.m4 * {
    box-sizing: border-box;
}

.m4 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.m4-kicker {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.m4-kicker--blue {
    color: #0072CE;
}

.m4-kicker--light {
    color: #58CAE7;
    display: flex;
}

/* hero */
.m4-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: url('../../assets/img/M4_full_bleed_bg_image_02.jpg') center 15%/cover no-repeat;
}

.m4-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(36, 60, 75, .88) 0%, rgba(36, 60, 75, .55) 20%, rgba(36, 60, 75, 0) 35%);
}

.m4-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.m4-hero__text {
    max-width: 720px;
    padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
    padding-top: 4rem;
}

.m4-headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    display: contents;
}

.m4-sub {
    font-family: Arial, sans-serif;
    font-weight: 400;
    color: #eef3f6;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.5;
    margin: 0;
}

.m4-videocap,
.m4-quote-anchor__name {
    margin-top: 1rem;
    font-family: Arial, sans-serif !important;
    color: #243C4B !important;
}

/* story/content */
.m4-story {
    background: #fff9f5;
    padding: clamp(3rem, 7vh, 5rem) 0 0;
}

.m4-anchor {
    max-width: 960px;
    margin: 0 0 clamp(2.5rem, 5vh, 3.5rem);
}

.m4-quote-anchor {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #243C4B;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.25;
    margin: .75rem 0 0;
}

.m4-quote-anchor .m4-mark {
    color: #0072CE;
}

.m4-quote-anchor__name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #5a6b76;
    font-size: 1rem;
    letter-spacing: .02em;
    margin-top: .75rem;
}

/* video */
.m4-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(36, 60, 75, .22);

    .m-consent__container {
        position: inherit;
    }
}

.m4-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.m4-video-col {
    position: sticky;
    top: 2rem;
}

/* quote/text */
.m4-quote {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #243C4B;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.3;
    margin: 0 0 1.5rem;
}

.m4-mark {
    color: #0072CE;
}

.m4-copy {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #243C4B;
    margin: 0 0 1.5rem;
}

.m4-closing {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #243C4B;
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0 0 2rem;
}

.m4-closing__name {
    display: block;
    font-weight: 400;
    color: #5a6b76;
    font-size: .95rem;
    margin-top: .35rem;
}

/* CTA */
.m4-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.m4-btn-primary {
    background: #FFD500;
    color: #243C4B;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: .9rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .2s, box-shadow .2s;
}

.m4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 213, 0, .4);
    color: #243C4B;
}

.m4-btn-ghost {
    background: transparent;
    border: 2px solid #243C4B;
    color: #243C4B;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: .85rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s, color .2s;
}

.m4-btn-ghost:hover {
    background: #243C4B;
    color: #fff;
}

/* reveal animation */
.m4 .reveal {
    opacity: 0;
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards;
}

.m4 .d2 {
    animation-delay: .2s;
}

.m4 .d3 {
    animation-delay: .35s;
}

/* helper/fixes */
.m4-story .row {
    align-items: flex-start !important;
}

/* responsive */
@media (prefers-reduced-motion: reduce) {
    .m4 .reveal {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .m4-hero {
        min-height: 70vh;
        max-height: 70vh;
    }

    .m4-video-col {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
    }
}

/* final quote size override (later rule in file) */
.m4-quote {
    font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
    line-height: 1.35 !important;
}

/* ===== also used inside #evelyn-way markup: lead-* ===== */
.lead-content__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.lead-video {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #fff center/cover no-repeat;
    box-shadow: 0 12px 35px rgba(36, 60, 75, .14), 0 2px 6px rgba(36, 60, 75, .05);
    transition: box-shadow .3s ease, opacity .25s ease, transform .35s ease;
}

.lead-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lead-text__eyebrow {
    color: #0072ce;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lead-quote {
    position: relative;
}

.lead-quote__mark {
    font-family: Poppins, sans-serif;
    color: #ed632f;
    font-size: 120px;
    line-height: .6;
    font-weight: 700;
    display: block;
    height: 52px;
    margin-bottom: 2px;
    opacity: .92;
}

.lead-quote__text {
    color: #0072ce;
    font-size: clamp(24px, 2.6vw, 34px);
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.015em;
    max-width: 15em;
}

.lead-quote__cite {
    display: block;
    font-weight: 700;
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 1rem;
    color: #4a5a66;
    margin-top: 18px;
}

.lead-text__copy {
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    color: #243c4b;
    line-height: 1.65;
    max-width: 34em;
}

.divider-top {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid rgba(36, 60, 75, .12);
}

@media (max-width: 860px) {
    .lead-content__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 24px;
    }

    .lead-hero__inner {
        padding: 0 24px 44px;
    }

    .lead-content {
        padding: 60px 0;
    }
}