/*
 * Maximize Leadership Group â€” app-specific presentation.
 * Motif owns visual roles; layout owns structural variables; this file owns page composition.
 */

:root {
    --mlg-content-icon-size: var(--motif-space-2xl);
    --mlg-ui-icon-size: var(--motif-space-lg);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100dvh;
    overflow-x: clip;
    background: var(--motif-background-page);
    color: var(--motif-color-text-primary);
    font-family: var(--motif-font-body);
    font-size: var(--motif-type-body);
    /* XD uses the 24pt optical master, including regular body copy. */
    font-variation-settings: "opsz" 24;
    line-height: var(--motif-line-body);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

::selection {
    background: var(--motif-color-accent-primary);
    color: var(--motif-color-on-accent);
}

:focus-visible {
    outline: 2px solid var(--motif-color-focus);
    outline-offset: 4px;
}

h1,
h2,
h3,
h4 {
    color: var(--motif-color-heading);
    font-family: var(--motif-font-h1);
    font-weight: 800;
    letter-spacing: var(--motif-tracking-display);
    line-height: 0.98;
}

h1 {
    font-size: var(--motif-type-h1);
}

h2 {
    font-size: var(--motif-type-h2);
}

h3 {
    font-size: var(--motif-type-h3);
}

p {
    max-width: 66ch;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mlg-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    background: var(--motif-color-accent-primary);
    color: var(--motif-color-on-accent);
    font-weight: 800;
    transform: translateY(-180%);
}

.mlg-skip-link:focus {
    transform: translateY(0);
}

.mlg-container {
    width: var(--layout-content-width);
    margin-inline: auto;
}

.mlg-eyebrow {
    color: var(--motif-color-accent-primary);
    font-family: var(--motif-font-label);
    font-size: clamp(0.76rem, 0.9vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.mlg-section {
    padding-block: clamp(3.75rem, 5vw, 6rem);
}

.mlg-section-heading {
    max-width: 58rem;
    margin: 0 auto clamp(2rem, 3vw, 3rem);
    text-align: center;
}

.mlg-section-heading--wide {
    max-width: 72rem;
}

.mlg-section-heading .mlg-eyebrow {
    margin-bottom: 1rem;
}

.mlg-section-heading h2 {
    max-width: 14ch;
    margin-inline: auto;
}

.mlg-section-heading--wide h2 {
    max-width: 18ch;
}

.mlg-button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    border: 1px solid transparent;
    border-radius: var(--motif-radius-pill);
    font-family: var(--motif-font-button);
    font-size: var(--motif-type-body);
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    transition:
        background-color var(--motif-motion-duration-fast) var(--motif-motion-ease-standard),
        border-color var(--motif-motion-duration-fast) var(--motif-motion-ease-standard),
        color var(--motif-motion-duration-fast) var(--motif-motion-ease-standard),
        transform var(--motif-motion-duration-fast) var(--motif-motion-ease-standard);
}

.mlg-button--primary {
    border-color: var(--motif-color-accent-primary);
    background: var(--motif-color-accent-primary);
    color: var(--motif-color-on-accent);
    box-shadow: none;
}

.mlg-button--primary:hover,
.mlg-button--primary:focus-visible {
    border-color: var(--motif-color-accent-complement);
    background: var(--motif-color-accent-complement);
    transform: translateY(var(--motif-motion-hover-lift));
}

.mlg-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--motif-color-accent-primary);
    font-family: var(--motif-font-ui);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mlg-text-link span {
    font-size: 1.2em;
    transition: transform var(--motif-motion-duration-fast) var(--motif-motion-ease-standard);
}

.mlg-text-link:hover span,
.mlg-text-link:focus-visible span {
    transform: translateX(0.3rem);
}

/* Hero system */
.mlg-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--motif-color-canvas-950);
}

.mlg-home-hero {
    --mlg-home-media-height: clamp(16rem, calc(40vw + 6rem), var(--layout-hero-home-height));
    height: calc(var(--layout-nav-height) + var(--layout-hero-home-height));
}

.mlg-home-hero .ix-card-rotator,
.mlg-hero-viewport {
    height: 100%;
}

.mlg-home-hero .ix-card-rotator {
    --ix-card-rotator-duration: 1000ms;
    --ix-card-rotator-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.mlg-home-hero .ix-card-rotator[data-ix-card-motion="slide"] {
    --ix-card-rotator-hidden-transform: translate3d(10%, 0, 0) scale(0.985);
    --ix-card-rotator-before-transform: translate3d(-10%, 0, 0) scale(0.985);
    --ix-card-rotator-after-transform: translate3d(10%, 0, 0) scale(0.985);
}

.mlg-home-hero .ix-card-rotator__slide {
    position: absolute;
    inset: 0;
    display: grid;
}

.mlg-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    /* The complete image and its dark ambient underlay share one clipped, full-width frame. */
    width: 100%;
    height: 100%;
}

.mlg-home-hero .mlg-hero-media {
    inset: var(--layout-nav-height) 0 0;
    height: calc(100% - var(--layout-nav-height));
}

.mlg-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 17, 29, 0.08) 0%, rgba(7, 17, 29, 0.2) 42%, rgba(7, 17, 29, 0.94) 100%),
        linear-gradient(0deg, rgba(2, 7, 13, 0.42), transparent 52%);
}

.mlg-home-hero .mlg-hero-scrim {
    background: transparent;
    inset: var(--layout-nav-height) 0 0;
    opacity: 0.72;
    transform: translate3d(1.5%, 0, 0);
    transition:
        opacity 900ms var(--motif-motion-ease-emphasis),
        transform 1000ms var(--motif-motion-ease-emphasis);
}

.mlg-home-hero .ix-card-rotator__slide.is-before .mlg-hero-scrim {
    transform: translate3d(-1.5%, 0, 0);
}

.mlg-home-hero .ix-card-rotator__slide.is-active .mlg-hero-scrim {
    opacity: 1;
    transform: none;
}

.mlg-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--layout-nav-height);
    padding-bottom: 5rem;
    width: var(--layout-content-width);
    padding-right: 0;
    padding-left: calc(var(--layout-content-width) * 0.55);
    margin-inline: auto;
}

.mlg-hero-copy-panel {
    width: min(100%, 34rem);
}

.mlg-home-hero [data-ix-card-layer] {
    --ix-card-layer-delay: 0ms;
    --ix-card-layer-duration: 1000ms;
}

/* The carousel owns layering/motion and Book3d owns its solid. This page allocates the supplied composition. */
.mlg-hero-slide--book {
    /* Keep the frame still so its motion cannot counteract layers arriving from opposite sides. */
    --ix-card-rotator-hidden-transform: none;
    --ix-card-rotator-before-transform: none;
    --ix-card-rotator-after-transform: none;
    --mlg-book-entry-width: min(100vw, calc(var(--layout-content-width) * 1.45));
    --mlg-book-width: min(40vw, max(8rem, calc(var(--mlg-home-media-height) * 0.48)));
    --mlg-book-mark-width: max(calc(var(--mlg-book-width) * 1.9), calc(var(--mlg-book-entry-width) * 0.42));
    --mlg-book-copy-width: calc(var(--layout-content-width) * 0.32);
    --mlg-book-copy-gap: clamp(3rem, 5vw, 6rem);
    --mlg-book-group-width: calc(var(--mlg-book-width) + var(--mlg-book-copy-gap) + var(--mlg-book-copy-width));
    --mlg-book-author-width: calc(var(--mlg-home-media-height) * 1812 / 2700);
}

.mlg-home-hero .mlg-book-scene {
    position: absolute;
    inset: var(--layout-nav-height) 0 0;
}

.mlg-book-stage {
    position: relative;
    width: min(100%, calc(var(--layout-content-width) * 1.45));
    height: 100%;
    margin-inline: auto;
}

.mlg-book-scene__mark {
    position: absolute;
    left: calc(var(--mlg-book-mark-width) * -0.24);
    bottom: -12%;
    width: var(--mlg-book-mark-width);
    height: 124%;
    object-fit: contain;
}

.mlg-book-scene__book {
    position: absolute;
    left: max(2rem, calc((100% - var(--mlg-book-group-width)) / 2));
    top: 0;
    z-index: 4;
    height: 100%;
    display: grid;
    align-content: center;
}

.mlg-book-scene__book .va-book-container[data-va-book-id] {
    --va-book-width: var(--mlg-book-width);
}

.mlg-book-scene__author {
    position: absolute;
    right: 0;
    bottom: 0;
    /* Use the frame height; transparent space beside his shoulders can share the copy column. */
    width: min(var(--mlg-book-author-width), calc(100% - var(--mlg-book-width) - 1rem),
        max(20rem, calc(((100% - var(--mlg-book-group-width)) / 2 - 1rem) * 1.2)));
    height: auto;
    /* Reserve headroom without shrinking the portrait; any necessary crop comes from below. */
    max-height: calc(100% - clamp(1rem, calc(var(--mlg-home-media-height) * 0.04), 2rem));
    object-fit: cover;
    object-position: top;
}

/* Side artwork makes a short, gentle approach while the central book and copy arrive from opposite sides.
   Distances share the bounded stage width so the choreography scales with the composition. */
.mlg-hero-slide--book .mlg-book-scene__mark[data-ix-card-layer] {
    --ix-card-rotator-ease: ease-in-out;
    --ix-card-layer-x: calc(var(--mlg-book-entry-width) * -0.05);
}

.mlg-hero-slide--book .mlg-book-scene__book[data-ix-card-layer] {
    --ix-card-layer-x: calc(var(--mlg-book-entry-width) * -0.09);
    --ix-card-layer-hidden-transform: translate3d(var(--ix-card-layer-x), 0, 0) scale(0.94);
    transition:
        opacity 300ms linear,
        transform var(--ix-card-layer-duration) var(--ix-card-rotator-ease);
}

.mlg-hero-slide--book .mlg-hero-copy-panel > [data-ix-card-layer] {
    --ix-card-layer-x: calc(var(--mlg-book-entry-width) * 0.055);
}

.mlg-hero-slide--book .mlg-book-scene__author[data-ix-card-layer] {
    --ix-card-rotator-ease: ease-in-out;
    --ix-card-layer-x: calc(var(--mlg-book-entry-width) * 0.045);
}

@media (min-width: 1201px) {
    .mlg-hero-slide--book .mlg-hero-copy {
        /* The book and copy share one centered footprint, even though their animated layers are separate. */
        width: var(--mlg-book-group-width);
        padding-left: calc(var(--mlg-book-width) + var(--mlg-book-copy-gap));
        padding-right: 0;
        padding-bottom: 0;
        pointer-events: none;
    }

    .mlg-hero-slide--book .mlg-hero-copy-panel {
        pointer-events: auto;
    }
}

.mlg-home-hero .mlg-hero-slide--book .mlg-hero-copy h2 {
    font-size: clamp(calc(var(--motif-type-h2) * 1.1), calc(var(--layout-content-width) * 0.038),
        calc(var(--motif-type-display) * 0.9));
    line-height: 1.05;
}

.mlg-hero-copy-panel .mlg-eyebrow {
    margin-bottom: 1.15rem;
}

.mlg-hero-copy h2 {
    max-width: none;
    color: #ffffff;
    font-size: var(--motif-type-display);
    line-height: 1.05;
    text-shadow: var(--motif-shadow-text-medium);
    text-transform: uppercase;
}

.mlg-hero-copy h2 strong {
    color: var(--motif-color-accent-primary);
    font: inherit;
}

.mlg-hero-lead {
    max-width: 40ch;
    margin-top: 1.4rem;
    color: color-mix(in oklch, #ffffff 86%, var(--motif-color-accent-tertiary));
    font-size: var(--motif-type-lead);
    line-height: 1.35;
}

.mlg-hero-copy .mlg-button {
    align-self: flex-start;
    margin-top: 2rem;
}

.mlg-hero-controls {
    position: absolute;
    right: 0;
    bottom: 1rem;
    left: 0;
    z-index: 5;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-right: var(--layout-content-inset);
    padding-left: var(--layout-content-inset);
}

.mlg-carousel-indicators {
    position: static;
    display: flex;
    gap: 1.375rem;
}

/* ImageExperiences loads after app composition; keep the source-authored 66px circle rhythm authoritative. */
.mlg-home-hero .mlg-carousel-indicators {
    gap: 1.375rem;
}

.mlg-carousel-indicators .ix-card-rotator__indicator {
    position: relative;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mlg-carousel-indicators .ix-card-rotator__indicator::before {
    width: 1.75rem;
    height: 1.75rem;
    box-sizing: border-box;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    content: "";
    opacity: 1;
}

.mlg-carousel-indicators .ix-card-rotator__indicator:focus-visible {
    border-radius: 50%;
    outline: 2px solid var(--motif-color-accent-primary);
    outline-offset: 0;
}

.mlg-carousel-indicators .ix-card-rotator__indicator.is-active::before {
    border-color: transparent;
    background: #ffffff;
    opacity: 1;
}

/* Title-only pages share a fluid artwork/title allocation; program campaigns own their separate copy rows. */
.mlg-subpage-hero:not(.mlg-program-hero),
.mlg-legal-hero {
    display: grid;
    min-height: calc(var(--layout-nav-height) + var(--layout-hero-inner-height));
    grid-template-rows: var(--layout-nav-height) 1fr;
    place-items: stretch;
    padding: 0;
}

.mlg-subpage-hero:not(.mlg-program-hero) > .mlg-hero-media,
.mlg-subpage-hero:not(.mlg-program-hero) > .mlg-hero-scrim,
.mlg-legal-hero > .mlg-hero-media,
.mlg-legal-hero > .mlg-hero-scrim {
    inset: var(--layout-nav-height) 0 0;
    height: calc(100% - var(--layout-nav-height));
}

.mlg-subpage-hero .mlg-hero-scrim,
.mlg-legal-hero .mlg-hero-scrim {
    background: linear-gradient(
        90deg,
        rgba(7, 17, 29, 0.96) 0%,
        rgba(7, 17, 29, 0.78) 52%,
        rgba(7, 17, 29, 0.45) 100%
    );
}

.mlg-subpage-hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-left: 0;
    grid-row: 2;
    align-self: center;
    padding-block: 2rem;
}

.mlg-subpage-hero--title-only .mlg-subpage-hero-copy {
    display: grid;
    justify-items: center;
    text-align: center;
}

.mlg-subpage-hero--title-only .mlg-subpage-hero-copy h1 {
    max-width: none;
}

.mlg-subpage-hero-copy .mlg-eyebrow {
    margin-bottom: 1rem;
}

.mlg-subpage-hero-copy h1,
.mlg-subpage-display {
    max-width: 11ch;
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-h2);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
}

.mlg-subpage-hero-copy > p:last-child:not(.mlg-subpage-display) {
    max-width: 42rem;
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--motif-type-lead);
}

.mlg-contact-hero {
    background:
        radial-gradient(circle at 78% 52%, rgba(159, 92, 192, 0.3), transparent 22rem),
        linear-gradient(125deg, #050b13 0%, #10172a 58%, #26170d 100%);
}

.mlg-contact-hero .mlg-hero-scrim {
    background: linear-gradient(
        90deg,
        rgba(7, 17, 29, 0.98) 0%,
        rgba(7, 17, 29, 0.82) 52%,
        rgba(7, 17, 29, 0.38) 100%
    );
}

/* Home foundations */
.mlg-strength-band {
    background: var(--motif-background-page);
}

.mlg-strength-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mlg-strength-item {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: clamp(1rem, 1.8vw, 1.5rem);
    padding: clamp(1.75rem, 3.2vw, 3.5rem) clamp(0rem, calc(5vw - 2rem), 3.5rem);
    text-align: center;
}

.mlg-strength-icon,
.mlg-pillar-grid img,
.mlg-values-grid img,
.mlg-guide-gift img {
    display: block;
    width: var(--mlg-content-icon-size);
    height: var(--mlg-content-icon-size);
    object-fit: contain;
}

.mlg-strength-item h3 {
    color: var(--motif-color-accent-primary);
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}

.mlg-strength-item h3 span {
    color: var(--motif-color-accent-primary);
}

.mlg-strength-item p {
    max-width: 22ch;
    margin: 0.5rem auto 0;
    color: var(--motif-color-text-primary);
}

/* Home program cards */
.mlg-programs-section {
    padding-block: 2rem;
    background: var(--motif-background-page);
}

.mlg-programs-section .mlg-section-heading {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 7rem);
    margin-inline: 0;
    text-align: left;
}

.mlg-programs-section .mlg-section-heading .mlg-eyebrow {
    margin-bottom: 0.55rem;
}

.mlg-programs-section .mlg-section-heading h2 {
    max-width: 10ch;
    margin-inline: 0;
}

/* Contact */
.mlg-contact-section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3.75rem, 5vw, 6rem);
    overflow: hidden;
    background: var(--motif-background-page);
}

.mlg-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(30rem, 1.25fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 8rem);
}

html[data-page="home"] .mlg-contact-grid {
    max-width: 62rem;
    grid-template-columns: 1fr;
    gap: clamp(2rem, calc(10vw - 5rem), 7rem);
}

html[data-page="home"] .mlg-contact-intro {
    justify-self: center;
    text-align: center;
}

html[data-page="home"] .mlg-contact-intro h2 {
    font-size: var(--motif-type-h3);
}

html[data-page="contact"] .mlg-contact-grid {
    grid-template-columns: minmax(20rem, 0.75fr) minmax(30rem, 1.25fr);
    gap: clamp(3rem, 5vw, 5rem);
}

.mlg-contact-intro .mlg-eyebrow {
    margin-bottom: 1rem;
}

.mlg-contact-intro h2 {
    color: #ffffff;
    text-transform: uppercase;
}

.mlg-contact-intro > p:not(.mlg-eyebrow) {
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--motif-type-h4);
}

.mlg-contact-details {
    display: grid;
    gap: 0.4rem;
    margin-top: 2rem;
    color: var(--motif-color-text-muted);
    font-style: normal;
}

.mlg-contact-details a {
    color: var(--motif-color-accent-primary);
    font-weight: 700;
}

.mlg-contact-location-media {
    position: relative;
    isolation: isolate;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    border-radius: 1.15rem;
    box-shadow: var(--motif-shadow-lift);
}

.mlg-contact-location-media::after {
    content: "";
    position: absolute;
    inset: 0.75rem -0.75rem -0.75rem 0.75rem;
    z-index: -1;
    border: 1px solid color-mix(in oklch, var(--motif-color-accent-primary) 70%, transparent);
    border-radius: inherit;
}

.mlg-contact-location-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: inherit;
    object-fit: cover;
}

.mlg-contact-form-shell {
    min-width: 0;
    padding: 0;
}

.mlg-contact-form,
.mlg-contact-fields {
    display: grid;
    min-width: 0;
    gap: 0.9rem;
}

.mlg-contact-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mlg-contact-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mlg-contact-form input,
.mlg-contact-form select,
.mlg-contact-form textarea,
.mlg-contact-form .va-forms-interest__input {
    font-family: var(--motif-font-ui);
    font-size: var(--motif-type-body);
    width: 100%;
    min-width: 0;
    min-height: 3.4rem;
    padding: 0.9rem clamp(1rem, 2vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    appearance: none;
    transition:
        border-color var(--motif-motion-duration-fast) ease,
        background-color var(--motif-motion-duration-fast) ease;
}

.mlg-contact-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.mlg-contact-form input::placeholder,
.mlg-contact-form textarea::placeholder {
    color: #ffffff;
    opacity: 1;
}

.mlg-contact-form input:focus,
.mlg-contact-form select:focus,
.mlg-contact-form textarea:focus {
    border-color: var(--motif-color-accent-primary);
    background: rgba(255, 255, 255, 0.07);
    outline: none;
}

.mlg-contact-fields > [name="ContactName"],
.mlg-contact-fields > [name="Email"],
.mlg-contact-fields > [name="Message"],
.mlg-contact-fields > button {
    grid-column: 1 / -1;
}

.mlg-form-submit,
.mlg-contact-form .va-forms-interest__button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    justify-self: start;
    padding: 0.85rem 2.25rem;
    border: 1px solid var(--motif-color-accent-primary);
    border-radius: var(--motif-radius-pill);
    background: var(--motif-color-accent-primary);
    color: var(--motif-color-on-accent);
    font-size: var(--motif-type-body);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.mlg-form-submit:hover,
.mlg-form-submit:focus-visible,
.mlg-contact-form .va-forms-interest__button:hover,
.mlg-contact-form .va-forms-interest__button:focus-visible {
    border-color: var(--motif-color-accent-complement);
    background: var(--motif-color-accent-complement);
}

.mlg-contact-status,
.mlg-contact-form .va-forms-interest__status {
    /* Forms owns state selectors; provide readable feedback roles for every navy form surface. */
    --va-forms-interest-status-processing-color: var(--motif-color-accent-primary);
    --va-forms-interest-status-success-color: var(--motif-color-success);
    --va-forms-interest-status-error-color: color-mix(in srgb, var(--motif-color-error) 60%, white);
    min-height: 1.4rem;
    color: var(--motif-color-text-muted);
    font-size: var(--motif-type-body);
}

.mlg-contact-page-section {
    min-height: 0;
}

.mlg-contact-note {
    padding-block: 1.4rem;
    border-block: 1px solid var(--motif-border-subtle);
    background: var(--motif-color-canvas-950);
    color: var(--motif-color-accent-primary);
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-body);
    font-weight: 800;
    letter-spacing: 0.13em;
    text-align: center;
    text-transform: uppercase;
}

/* About */
.mlg-about-intro {
    padding-block: 2rem;
    background: var(--motif-color-canvas-950);
}

.mlg-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.mlg-about-intro-grid article {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    text-align: center;
}

.mlg-about-intro-grid h3 {
    grid-column: 1;
    font-size: var(--motif-type-h3);
    color: var(--motif-color-accent-primary);
    text-transform: uppercase;
}

.mlg-about-intro-grid p {
    grid-column: 1;
    grid-row: 2;
    color: var(--motif-color-text-muted);
    font-size: var(--motif-type-body);
}

.mlg-about-image-band {
    position: relative;
    display: grid;
    height: clamp(15rem, 16.4583vw, 19.75rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    background: var(--motif-color-canvas-950);
}

.mlg-about-image-band > img:not(.mlg-about-image-band__mark) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlg-about-image-band .mlg-about-image-band__mark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: clamp(4rem, 6vw, 6rem);
    height: clamp(4rem, 6vw, 6rem);
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.mlg-story-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000f30;
}

.mlg-story-section::after {
    position: absolute;
    right: 0;
    bottom: -10%;
    z-index: -1;
    width: 50%;
    height: 135%;
    background: url("/images/about-story-shards.webp?v=UtJQ_XfdYT6V") right bottom / contain no-repeat;
    content: "";
    opacity: 0.18;
}

.mlg-story-grid {
    display: grid;
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 8rem);
}

.mlg-story-media {
    position: relative;
}

.mlg-story-media img {
    position: relative;
    width: 100%;
    object-fit: contain;
}

.mlg-story-copy .mlg-eyebrow {
    margin-bottom: 1rem;
}

.mlg-story-copy h2 {
    text-transform: uppercase;
}

.mlg-story-copy > p:not(.mlg-eyebrow) {
    margin-top: 1.2rem;
    color: var(--motif-color-text-primary);
    line-height: var(--motif-line-body);
}

.mlg-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
}

.mlg-pillar-grid li {
    display: grid;
    min-height: 9rem;
    justify-items: center;
    align-content: center;
    gap: 0.85rem;
    padding: clamp(1rem, 2vw, 2rem);
    text-align: center;
}

.mlg-pillar-grid strong {
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-body);
    line-height: 1.08;
    text-transform: uppercase;
}

/* Shared program route */
.mlg-program-page {
    --mlg-program-accent: var(--motif-color-accent-primary);
    --mlg-program-glow: rgba(225, 162, 48, 0.24);
}

.mlg-program-page--financial {
    --mlg-program-accent: var(--motif-color-accent-primary);
    --mlg-program-glow: rgba(159, 92, 192, 0.28);
}

.mlg-program-page .mlg-eyebrow,
.mlg-program-page .mlg-text-link {
    color: var(--mlg-program-accent);
}

.mlg-program-hero {
    display: grid;
    min-height: clamp(38rem, 43vw, 51rem);
    padding: 0;
}

.mlg-program-hero .mlg-hero-scrim {
    background:
        radial-gradient(circle at 72% 40%, var(--mlg-program-glow), transparent 28rem),
        linear-gradient(90deg, rgba(3, 8, 14, 0.96) 0%, rgba(3, 8, 14, 0.8) 52%, rgba(3, 8, 14, 0.5));
}

.mlg-program-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: inherit;
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: var(--layout-nav-height);
}

.mlg-program-hero-copy {
    width: min(55%, 40rem);
    padding-block: clamp(3rem, 5vw, 5rem);
}

.mlg-program-hero-copy h1 {
    max-width: 11ch;
    margin-top: 1.1rem;
    color: #ffffff;
    font-size: var(--motif-type-h1);
    text-transform: uppercase;
}

.mlg-program-promise {
    max-width: 39rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--motif-type-lead);
    line-height: 1.35;
}

.mlg-program-hero-copy .mlg-button {
    margin-top: 2rem;
}

.mlg-program-pillars {
    background: var(--motif-color-canvas-950);
}

.mlg-program-pillars .mlg-section-heading h2 {
    max-width: 24ch;
    font-size: var(--motif-type-h2);
}

.mlg-pillar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mlg-pillar-grid li {
    min-height: 10rem;
}

.mlg-pillar-grid strong {
    font-size: var(--motif-type-body);
}

/* Resource page */
.mlg-resource-hero {
    position: relative;
    isolation: isolate;
    min-height: 0;
    padding: clamp(2rem, 3vw, 3rem) 0 clamp(3.5rem, 5vw, 5rem);
    overflow: hidden;
    background: var(--motif-background-page);
}

.mlg-resource-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
}

.mlg-resource-page-title {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-h2);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.mlg-resource-hero-copy h2 {
    max-width: 12ch;
    margin-top: 1rem;
    color: #ffffff;
    font-size: var(--motif-type-display);
}

.mlg-resource-hero-copy h2 span {
    color: var(--motif-color-accent-primary);
}

.mlg-resource-hero-copy {
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {

    .mlg-resource-hero-media:hover .mlg-resource-hero-book {
        transform: scale(1.025);
    }

    .mlg-events-surface .vevents-card:hover,
    .mlg-events-surface .vevents-card:focus-within {
        border-color: color-mix(in oklch, var(--motif-color-accent-primary) 70%, transparent);
        box-shadow: var(--motif-shadow-lift);
        transform: translateY(var(--motif-motion-card-lift));
    }

    .mlg-events-surface .vevents-card:hover .vevents-card__media img,
    .mlg-events-surface .vevents-card:focus-within .vevents-card__media img {
        transform: scale(1.035);
    }
}

.mlg-resource-hero-copy > p:not(.mlg-eyebrow) {
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--motif-type-h4);
}

.mlg-resource-price {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    line-height: 1.15;
    gap: 0.75rem;
    margin-top: 1.6rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--motif-color-accent-primary);
    color: #ffffff;
}

.mlg-resource-price small {
    font-size: var(--motif-type-body);
    grid-column: 1 / -1;
}

.mlg-resource-price span {
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-h2);
    line-height: 1;
    font-weight: 800;
}

.mlg-resource-price small,
.mlg-resource-price strong {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.mlg-resource-price small {
    color: var(--motif-color-accent-primary);
}

.mlg-resource-hero-copy .mlg-button {
    margin-top: 1.5rem;
}

.mlg-resource-hero-media {
    position: relative;
    display: grid;
    /* Natural image rows preserve the complete signature and book at intermediate widths.
       Percentage tracks in an auto-height parent could place the book outside the hero's clip. */
    grid-template-rows: auto auto;
    align-self: center;
    min-height: 0;
    overflow: visible;
    color: inherit;
    text-decoration: none;
}

.mlg-resource-hero-media img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--motif-motion-duration-slow) var(--motif-motion-ease-emphasis);
}

.mlg-resource-hero-media .mlg-resource-hero-profile {
    position: absolute;
    top: 35%;
    right: -2%;
    z-index: 2;
    width: 29%;
    height: auto;
    object-fit: contain;
}

.mlg-resource-hero-media:focus-visible {
    outline: 3px solid var(--motif-color-accent-primary);
    outline-offset: 0.6rem;
}

.mlg-resource-title-break {
    display: none;
}

.mlg-resource-audience {
    background: var(--motif-color-canvas-950);
}

.mlg-resource-audience-grid {
    display: grid;
    max-width: 70rem;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.mlg-resource-audience h2 {
    margin-top: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
}

.mlg-resource-audience ul {
    display: grid;
    gap: 1rem;
    align-content: center;
    list-style: none;
}

.mlg-resource-audience li {
    position: relative;
    padding-left: 2rem;
    color: var(--motif-color-text-muted);
    font-size: var(--motif-type-body);
    line-height: 1.4;
}

.mlg-resource-audience li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--motif-color-accent-primary);
    font-weight: 800;
}

/* Events and long-form documents */
.mlg-document-main {
    min-height: 65vh;
    padding-block: clamp(3.5rem, 5vw, 5.5rem);
    background: var(--motif-color-canvas-900);
}

.mlg-events-surface {
    --color-accent: var(--motif-color-accent-primary);
    --color-muted: var(--motif-color-text-muted);
    --color-on-accent: var(--motif-color-on-accent);
    --color-surface: var(--motif-color-canvas-800);
}

.mlg-events-surface .vevents-list__items {
    gap: 1.25rem;
}

.mlg-events-surface .vevents-card {
    border-color: var(--motif-border-subtle);
    border-radius: 1rem;
    background: var(--motif-color-canvas-800);
    box-shadow: var(--motif-shadow-card);
    transition:
        border-color var(--motif-motion-duration-medium) var(--motif-motion-ease-emphasis),
        box-shadow var(--motif-motion-duration-medium) var(--motif-motion-ease-emphasis),
        transform var(--motif-motion-duration-medium) var(--motif-motion-ease-emphasis);
}

.mlg-events-surface .vevents-card__media {
    min-height: 13rem;
    overflow: hidden;
    background: inherit;
}

.mlg-events-surface .vevents-card__media img {
    transition: transform var(--motif-motion-duration-slow) var(--motif-motion-ease-emphasis);
}

.mlg-events-surface .vevents-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 3rem);
    line-height: var(--motif-line-body);
}

.mlg-events-surface .vevents-card__title {
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}

.mlg-events-surface .vevents-card__title a:hover,
.mlg-events-surface .vevents-card__title a:focus-visible {
    color: var(--motif-color-accent-primary);
}

.mlg-events-surface .vevents-card__summary {
    color: var(--motif-color-text-muted);
}

.mlg-events-surface .vevents-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    max-width: 62rem;
    padding: clamp(1.5rem, 4vw, 4rem);
    border: 1px solid var(--motif-border-subtle);
    border-radius: 1.25rem;
    background: #ffffff;
    color: var(--motif-color-text-ink);
    font-size: var(--motif-type-body);
    line-height: 1.65;
}

.mlg-events-surface .vevents-details > * {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
}

.mlg-events-surface .vevents-details__header {
    display: grid;
    gap: 0.875rem;
}

.mlg-events-surface .vevents-details h1 {
    color: inherit;
    font-size: var(--motif-type-h2);
    line-height: 1.12;
    text-transform: uppercase;
}

.mlg-events-surface .vevents-details h2 {
    margin: 0 0 0.5rem;
    color: inherit;
    font-family: var(--motif-font-ui);
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mlg-events-surface .vevents-details__date,
.mlg-events-surface .vevents-details__summary,
.mlg-events-surface .vevents-details__description,
.mlg-events-surface .vevents-details address {
    color: color-mix(in srgb, var(--motif-color-text-ink) 76%, white);
}

.mlg-events-surface .vevents-details__summary {
    font-size: var(--motif-type-lead);
}

.mlg-events-surface .vevents-details__description p + p {
    margin-top: 1rem;
}

.mlg-events-surface .vevents-details__location,
.mlg-events-surface .vevents-details__organizer,
.mlg-events-surface .vevents-details__actions {
    padding-top: 1.25rem;
    border-top: 1px solid var(--vevents-border);
}

.mlg-events-surface .vevents-details__location:has(+ .vevents-details__organizer),
.mlg-events-surface .vevents-details__location + .vevents-details__organizer {
    grid-column: auto;
}

.mlg-events-surface .vevents-details address {
    margin-top: 0.25rem;
    font-style: normal;
}

.mlg-events-surface .vevents-details__image {
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0.75rem;
    object-fit: contain;
}

.mlg-events-surface .vevents-button {
    border-radius: var(--motif-radius-pill);
}

.mlg-events-surface .vevents-button--primary {
    color: var(--motif-color-on-accent);
}

.mlg-events-surface .vevents-details .vevents-button {
    border-color: var(--motif-button-primary-border);
    background: var(--motif-button-primary-background);
    color: var(--motif-button-primary-text);
    padding: 0.7rem 1.25rem;
    font-family: var(--motif-font-ui);
    font-size: var(--motif-type-body);
    line-height: 1.4;
}

.mlg-events-surface .vevents-details .vevents-button:hover {
    background: var(--motif-button-primary-background-hover);
}

.mlg-events-surface .vevents-details .vevents-button:focus-visible {
    outline-color: var(--motif-color-text-ink);
}

.mlg-events-surface .vevents-details__organizer .vevents-button {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.mlg-events-surface .vevents-details__organizer .vevents-button:hover {
    background: transparent;
    text-decoration-thickness: 0.12em;
}

@media (max-width: 640px) {
    .mlg-events-surface .vevents-details {
        grid-template-columns: minmax(0, 1fr);
    }
}

.mlg-events-surface .vevents-dialog {
    background: var(--motif-color-canvas-800);
    color: var(--motif-color-text-primary);
}

.mlg-events-back {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2rem;
    color: var(--motif-color-accent-primary);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.25em;
}

.mlg-container.va-legal {
    min-inline-size: 0;
    color: var(--motif-color-text-muted);
    font-size: var(--motif-type-body);
    line-height: 1.72;
}

.mlg-container.va-legal :where(h2, h3, h4) {
    color: #ffffff;
}

.mlg-container.va-legal a {
    color: var(--motif-color-accent-primary);
}

/* Footer */
.mlg-footer {
    padding: clamp(2rem, 3vw, 3rem) 0 0;
    border-top: 1px solid var(--motif-border-subtle);
    background: #000000;
}

.mlg-footer-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 1.35fr) minmax(10rem, 0.65fr) minmax(16rem, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
}

.mlg-footer-brand img,
.mlg-footer-inner .mlg-footer-brand img {
    width: min(15rem, 100%);
    height: auto;
}

.mlg-footer-brand > p,
.mlg-footer-tagline {
    max-width: 34rem;
    margin-top: 0.85rem;
    color: var(--motif-footer-text);
    font-size: 0.85rem;
    line-height: 1.45;
}

.mlg-footer-nav,
.mlg-footer-contact {
    display: grid;
    align-content: start;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.mlg-footer-nav a,
.mlg-footer-contact a,
.mlg-footer-contact > p:not(.mlg-footer-heading) {
    color: var(--motif-footer-text);
}

.mlg-footer-nav a:hover,
.mlg-footer-nav a:focus-visible,
.mlg-footer-contact > a:hover,
.mlg-footer-contact > a:focus-visible {
    color: var(--motif-color-accent-primary);
}

.mlg-footer-heading,
.mlg-footer-contact-label {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-body);
    font-weight: 800;
    text-transform: uppercase;
}

.mlg-footer-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.45rem;
}

.mlg-footer-social a {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--motif-border-default);
    border-radius: 50%;
    color: #ffffff;
    transition:
        background-color var(--motif-motion-duration-fast) ease,
        color var(--motif-motion-duration-fast) ease;
}

.mlg-footer-social a:hover,
.mlg-footer-social a:focus-visible {
    border-color: var(--motif-color-accent-primary);
    background: var(--motif-color-accent-primary);
    color: var(--motif-color-on-accent);
}

.mlg-footer-bottom,
.sa-theme-maximizeleadershipgroup .sa-auth-footer {
    font-family: var(--motif-font-ui);
    font-size: calc(var(--motif-type-caption) * 13 / 12);
    line-height: 1.5;
}

.mlg-footer-bottom {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: 0.35rem;
    margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
    padding: 1rem var(--layout-content-inset);
    border-top: 1px solid var(--motif-footer-rule);
    background: color-mix(in srgb, var(--motif-background-footer) 65%, var(--motif-color-canvas-700));
    color: var(--motif-color-text-secondary);
    text-align: center;
}

.mlg-footer-bottom a:hover,
.mlg-footer-bottom a:focus-visible {
    color: var(--motif-color-accent-primary);
}

/* Complete Forms and SecureAccess pages retain their inherited shells. */
.sa-theme-maximizeleadershipgroup .sa-auth-button {
    /* The shared sign-in gradient's dark end loses contrast with its dark text; use the site's gold control. */
    background: var(--motif-button-primary-background);
    color: var(--motif-button-primary-text);
}

.mlg-footer-inner {
    display: flex;
    width: var(--layout-content-width);
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-inline: auto;
}

.mlg-footer-inner .mlg-footer-brand {
    max-width: 19rem;
}

.mlg-footer-inner .mlg-footer-contact {
    min-width: 16rem;
}

.mlg-footer-contact-value {
    color: var(--motif-footer-text);
}

.mlg-footer-copy,
.mlg-footer-power {
    color: var(--motif-footer-text-muted);
}

.va-status-page-bg {
    display: grid;
    min-height: 78dvh;
    place-items: center;
    padding: calc(var(--layout-nav-height) + 4rem) var(--layout-content-inset) 4rem;
    background:
        radial-gradient(circle at 50% 20%, rgba(159, 92, 192, 0.2), transparent 28rem),
        var(--motif-color-canvas-900);
}

.va-status-card {
    width: min(100%, 38rem);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--motif-border-subtle);
    border-radius: 1.25rem;
    background: var(--motif-color-canvas-800);
    box-shadow: var(--motif-shadow-card);
    text-align: center;
}

.va-status-kicker {
    color: var(--motif-color-accent-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.va-status-title {
    margin-top: 0.75rem;
    color: #ffffff;
    font-size: var(--motif-type-h1);
    text-transform: uppercase;
}

.va-status-message {
    margin-top: 1.25rem;
    color: var(--motif-color-text-muted);
}

.va-btn {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--motif-color-accent-primary);
    border-radius: var(--motif-radius-pill);
    background: var(--motif-color-accent-primary);
    color: var(--motif-color-on-accent);
    font-weight: 800;
    text-transform: uppercase;
}

@keyframes mlg-reveal-icon {
    from {
        opacity: 0.35;
        transform: translateY(1rem) scale(0.94);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes mlg-reveal-image {
    from {
        opacity: 0.72;
        transform: scale(1.035);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes mlg-reveal-panel {
    from {
        opacity: 1;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .mlg-home-hero .ix-card-rotator__slide,
    .mlg-hero-copy-panel > * {
        will-change: opacity, transform;
    }

    @supports (animation-timeline: view()) {
        [data-mlg-reveal] {
            animation-duration: 1ms;
            animation-fill-mode: both;
            animation-timing-function: linear;
            animation-timeline: view();
            animation-range: entry 0% cover 34%;
        }

        [data-mlg-reveal="icon"] {
            animation-name: mlg-reveal-icon;
        }

        [data-mlg-reveal="image"] {
            animation-name: mlg-reveal-image;
        }

        [data-mlg-reveal="panel"] {
            animation-name: mlg-reveal-panel;
        }
    }
}

@media (max-width: 1100px) {
    .mlg-contact-grid {
        grid-template-columns: 1fr;
    }

    .mlg-contact-intro {
        max-width: 50rem;
    }

    .mlg-program-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
    }

    .mlg-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mlg-resource-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
    }

    .mlg-footer-grid {
        grid-template-columns: minmax(16rem, 1.2fr) repeat(2, minmax(10rem, 0.8fr));
        gap: 2.5rem;
    }
}

/* Keep the full artwork and copy separate until the uncropped desktop composition has enough room. */
@media (max-width: 1200px) {
    /* Let the tallest campaign establish the carousel height. Copy gets its own padded row, so phone
       text, zoomed text, and the shorter 16:9 event poster cannot collide with imagery or controls. */
    .mlg-home-hero {
        height: auto;
    }

    .mlg-home-hero .ix-card-rotator__slide {
        position: relative;
        inset: auto;
        grid-area: 1 / 1;
        grid-template-rows: calc(var(--layout-nav-height) + var(--mlg-home-media-height)) 1fr;
    }

    .mlg-home-hero .mlg-hero-media {
        inset: var(--layout-nav-height) 0 auto;
        height: var(--mlg-home-media-height);
    }

    .mlg-home-hero .mlg-book-scene {
        bottom: auto;
        height: var(--mlg-home-media-height);
    }

    .mlg-book-scene__book {
        /* The book owns the center once the copy moves into the row below. */
        left: calc((100% - var(--mlg-book-width)) / 2);
    }

    .mlg-hero-copy {
        grid-row: 2;
        height: auto;
        justify-content: flex-start;
        padding: 2rem var(--layout-content-inset) 5.5rem;
        background: var(--motif-background-page);
        width: 100%;
    }

    .mlg-hero-copy-panel {
        margin-inline: auto;
    }

    .mlg-hero-copy h2 {
        font-size: var(--motif-type-display);
        line-height: 1.05;
    }

}

@media (max-width: 820px) {
    .mlg-section-heading {
        max-width: 46rem;
        margin-inline: auto;
        text-align: center;
    }

    .mlg-section-heading h2,
    .mlg-section-heading--wide h2 {
        margin-inline: auto;
    }

    .mlg-hero-scrim {
        background:
            linear-gradient(
                0deg,
                rgba(3, 8, 14, 1) 0%,
                rgba(3, 8, 14, 0.98) 48%,
                rgba(3, 8, 14, 0.22) 68%,
                transparent 100%
            ),
            linear-gradient(90deg, transparent, rgba(3, 8, 14, 0.3));
    }

    .mlg-hero-controls {
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

.mlg-strength-grid,
.mlg-about-intro-grid {
        grid-template-columns: 1fr;
    }

    .mlg-about-intro-grid article {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .mlg-about-intro-grid h3,
    .mlg-about-intro-grid p {
        grid-column: 1;
        grid-row: auto;
    }

.mlg-story-grid,
.mlg-resource-audience-grid {
        grid-template-columns: 1fr;
    }

    .mlg-story-media {
        width: calc(100% - 1.25rem);
    }

    .mlg-program-hero {
        min-height: clamp(54rem, calc(5vw + 51rem), 55rem);
    }

    .mlg-program-hero > .mlg-hero-media {
        inset: 0 0 auto;
        height: calc(var(--layout-nav-height) + clamp(21rem, 50vw, 24rem));
    }

    .mlg-program-hero .mlg-hero-scrim {
        background:
            radial-gradient(circle at 72% 22%, var(--mlg-program-glow), transparent 22rem),
            linear-gradient(
                0deg,
                rgba(3, 8, 14, 1) 0%,
                rgba(3, 8, 14, 0.98) 48%,
                rgba(3, 8, 14, 0.34) 70%,
                rgba(3, 8, 14, 0.2) 100%
            );
    }

    .mlg-program-hero-grid {
        grid-template-columns: 1fr;
        align-content: start;
        padding-top: calc(var(--layout-nav-height) + clamp(21rem, 50vw, 24rem));
    }

    .mlg-program-hero-copy {
        position: relative;
        z-index: 2;
        align-self: start;
        max-width: 42rem;
        width: 100%;
        padding: 2.5rem 0 3rem;
    }

    .mlg-resource-hero-grid {
        grid-template-columns: 1fr;
    }

    .mlg-resource-hero-copy {
        position: relative;
        z-index: 2;
    }

    .mlg-resource-hero-media {
        max-width: 38rem;
    }

    .mlg-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mlg-footer-brand {
        grid-column: 1 / -1;
    }

    .mlg-footer-inner {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .mlg-footer-inner .mlg-footer-contact,
    .mlg-footer-inner .mlg-footer-social {
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .mlg-section-heading {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .mlg-section-heading h2,
    .mlg-section-heading--wide h2 {
        margin-inline: auto;
    }

    .mlg-programs-section .mlg-section-heading {
        display: block;
    }

    .mlg-hero-copy .mlg-button {
        width: 100%;
    }

    .mlg-subpage-hero-copy h1,
    .mlg-subpage-display {
        font-size: var(--motif-type-h2);
    }

    .mlg-strength-item {
        grid-template-columns: 3.75rem minmax(0, 1fr);
    }

    .mlg-contact-fields {
        grid-template-columns: 1fr;
    }

    .mlg-contact-fields > * {
        grid-column: 1;
    }

    .mlg-form-submit,
    .mlg-contact-form .va-forms-interest__button {
        width: 100%;
        justify-self: stretch;
    }

    .mlg-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mlg-pillar-grid li {
        min-height: 9rem;
    }

    .mlg-program-hero-copy .mlg-button {
        width: 100%;
    }

    .mlg-resource-hero-copy .mlg-button {
        width: 100%;
    }

    .mlg-resource-hero-media::before {
        display: none;
    }

    .mlg-events-surface .vevents-list--horizontal .vevents-card--with-media {
        grid-template-columns: 1fr;
    }

    .mlg-events-surface .vevents-details {
        padding: 1.25rem;
    }

    .mlg-footer-grid {
        grid-template-columns: 1fr;
    }

    .mlg-footer-brand {
        grid-column: auto;
    }

}

.mlg-subpage-hero.mlg-resource-title-hero {
    min-height: calc(var(--layout-nav-height) + var(--layout-hero-inner-height));
    place-items: stretch;
    padding: 0;
}

.mlg-resource-title-hero > .mlg-hero-media,
.mlg-resource-title-hero > .mlg-hero-scrim {
    inset: var(--layout-nav-height) 0 0;
    height: calc(100% - var(--layout-nav-height));
}

.mlg-resource-title-hero > .mlg-hero-scrim {
    background: rgba(2, 15, 28, 0.49);
}

.mlg-resource-title-hero > .mlg-subpage-hero-copy {
    display: grid;
    width: min(var(--layout-content-width), max(54%, 32rem));
    align-items: center;
    justify-items: start;
    margin-inline: auto;
    padding: 2rem 0;
}

.mlg-resource-title-hero .mlg-resource-page-title {
    margin: 0;
    font-size: var(--motif-type-h2);
    line-height: 1;
    text-align: left;
}


/* Keep the XD composition while capping content scale. Wide screens add gutters and column space. */
@media (min-width: 1201px) {
    .mlg-program-page--financial {
        --mlg-program-accent: var(--motif-color-accent-primary);
    }

    .mlg-program-page .mlg-program-hero {
        min-height: clamp(38rem, calc(var(--layout-nav-height) + 44vw), 57rem);
    }

    .mlg-program-page .mlg-program-hero > .mlg-hero-media,
    .mlg-program-page .mlg-program-hero > .mlg-hero-scrim {
        inset: var(--layout-nav-height) 0 0;
        height: calc(100% - var(--layout-nav-height));
    }

    .mlg-program-page .mlg-program-hero .mlg-hero-scrim {
        background:
            linear-gradient(90deg, rgba(3, 8, 14, 0.48) 0%, rgba(3, 8, 14, 0.2) 58%, rgba(3, 8, 14, 0.08));
    }

    .mlg-program-page .mlg-program-hero-grid {
        grid-template-columns: 1fr;
    }

    .mlg-program-page .mlg-program-hero-copy h1 {
        max-width: none;
        font-size: var(--motif-type-h1);
        line-height: 0.98;
    }

    .mlg-program-page .mlg-program-promise {
        max-width: 40rem;
        padding-left: clamp(0rem, calc(4vw - 3rem), 1.5rem);
        border-left: 4px solid var(--mlg-program-accent);
    }

    .mlg-program-page--financial .mlg-program-promise {
        display: none;
    }

    .mlg-program-page .mlg-program-pillars {
        padding-block: clamp(1.5rem, calc(9.375rem - 7.5vw), 3.75rem);
    }

    .mlg-program-page .mlg-program-pillars > .mlg-container {
        width: var(--layout-content-width);
    }

    .mlg-program-page .mlg-program-pillars .mlg-section-heading {
        max-width: none;
        margin-bottom: clamp(1.25rem, calc(6rem - 5vw), 2.25rem);
    }

    .mlg-program-page .mlg-program-pillars .mlg-section-heading h2 {
        max-width: none;
        font-size: var(--motif-type-h3);
        text-transform: uppercase;
    }

    .mlg-program-page .mlg-pillar-grid {
        gap: 2.5rem;
    }

    .mlg-program-page .mlg-pillar-grid strong {
        font-family: var(--motif-font-body);
        font-size: var(--motif-type-body);
        font-weight: 400;
        text-transform: none;
    }

    html[data-page="about"] .mlg-subpage-hero,
    html[data-page="events"] .mlg-subpage-hero {
        min-height: calc(var(--layout-nav-height) + var(--layout-hero-inner-height));
    }

    html[data-page="about"] .mlg-subpage-hero-copy h1,
    html[data-page="events"] .mlg-subpage-hero-copy h1 {
        font-size: var(--motif-type-h2);
        line-height: 1;
    }

    html[data-page="about"] .mlg-about-intro {
        display: grid;
        min-height: clamp(0rem, calc(40vw - 30rem), 16.6875rem);
        align-items: center;
        padding-block: clamp(1.25rem, calc(5rem - 4vw), 2rem);
    }

    html[data-page="about"] .mlg-about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    html[data-page="about"] .mlg-about-intro-grid article {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.65rem;
        text-align: center;
    }

    html[data-page="about"] .mlg-about-intro-grid h3,
    html[data-page="about"] .mlg-about-intro-grid p {
        grid-column: 1;
        grid-row: auto;
    }

    html[data-page="about"] .mlg-about-intro-grid p {
        max-width: 70ch;
        font-size: var(--motif-type-body);
        line-height: var(--motif-line-body);
    }

    html[data-page="about"] .mlg-story-section {
        min-height: 0;
        padding-block: clamp(3.75rem, 5vw, 6rem);
    }

    html[data-page="about"] .mlg-story-grid {
        width: var(--layout-content-width);
        min-height: 0;
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
        gap: clamp(2rem, 7vw, 8.25rem);
    }

    html[data-page="about"] .mlg-story-media {
        align-self: stretch;
    }

    html[data-page="about"] .mlg-story-media img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: contain;
    }

    html[data-page="events"] .mlg-events-surface {
        padding-top: 3.4375rem;
    }

    html[data-page="events"] .mlg-events-filter-toggle {
        width: 11.5625rem;
        min-height: var(--layout-control-min-height);
        justify-content: center;
        background: #000000;
        color: #ffffff;
    }

    html[data-page="events"] .mlg-events-search {
        width: min(72.5rem, calc(100% - 20rem));
    }

    html[data-page="events"] .mlg-events-search input {
        min-height: var(--layout-control-min-height);
    }

    html[data-page="resources"] .mlg-resource-hero {
        min-height: 0;
        padding: clamp(2.25rem, 3vw, 3rem) 0 clamp(3rem, calc(5.625rem - 2.5vw), 3.75rem);
        background: #020f1c;
    }

    html[data-page="resources"] .mlg-resource-hero-grid {
        width: var(--layout-content-width);
        max-width: none;
        min-height: inherit;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(2rem, 4vw, 6rem);
        margin: 0 auto;
        padding: 0;
    }

    html[data-page="resources"] .mlg-resource-hero-copy {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: clamp(0rem, calc(8vw - 6rem), 2rem) 0;
        background: #020f1c;
    }

    html[data-page="resources"] .mlg-resource-hero-copy h2 {
        max-width: none;
        margin: 0;
        font-size: var(--motif-type-display);
        line-height: 0.92;
    }

    .mlg-resource-title-break {
        display: initial;
    }

    html[data-page="resources"] .mlg-resource-hero-signature {
        z-index: 1;
    }

    html[data-page="resources"] .mlg-resource-hero-book {
        /* XD overlaps the signature and book; retain each image's intrinsic ratio at every width. */
        margin-top: clamp(-1.25rem, calc(3rem - 4vw), 0rem);
    }

    html[data-page="resources"] .mlg-resource-price {
        width: 100%;
        max-width: none;
    }

    html[data-page="resources"] .mlg-resource-hero-copy .mlg-button {
        align-self: center;
        min-width: 17rem;
        min-height: var(--layout-control-min-height);
    }

    html[data-page="resources"] .mlg-resource-audience {
        min-height: clamp(0rem, calc(60vw - 45rem), 26.75rem);
        display: grid;
        align-content: center;
        padding-block: 4rem;
    }

    html[data-page="resources"] .mlg-resource-audience-grid {
        width: min(100%, 70rem);
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-inline: auto;
    }

    html[data-page="resources"] .mlg-resource-audience h2 {
        margin: clamp(0rem, calc(6rem - 6.8vw), 0.9rem) 0 0;
        font-size: var(--motif-type-h2);
    }

    html[data-page="resources"] .mlg-resource-audience ul {
        gap: clamp(0rem, calc(4rem - 4vw), 1rem);
    }

    html[data-page="resources"] .mlg-resource-audience li {
        padding: 0.2rem 0 0.2rem 2rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #ffffff;
    }

    html[data-page="resources"] .mlg-resource-audience li::before {
        top: 0.2rem;
        left: 0;
    }

    html[data-page="home"] .mlg-home-hero {
        height: calc(var(--layout-nav-height) + var(--layout-hero-home-height));
    }

    html[data-page="home"] .mlg-hero-copy-panel {
        width: min(100%, 34rem);
    }

    html[data-page="home"] .mlg-hero-copy h2 {
        max-width: none;
        font-size: var(--motif-type-display);
    }

    html[data-page="home"] .mlg-hero-copy h2 > span {
        white-space: nowrap;
    }

    html[data-page="home"] .mlg-strength-item {
        min-height: 11.34375rem;
    }

    html[data-page="home"] .mlg-programs-section {
        padding-block: 2rem;
    }

    html[data-page="home"] .mlg-programs-section > .mlg-container {
        width: var(--layout-content-width);
        margin-left: auto;
        margin-right: auto;
    }

    html[data-page="home"] .mlg-program-card-grid {
        column-gap: clamp(1.5rem, 5.2vw, 6.25rem);
    }

    html[data-page="home"] .mlg-program-card-shards {
        left: -10%;
        width: 73%;
        height: 100%;
    }

    html[data-page="home"] .mlg-program-card-copy {
        padding-bottom: 2rem;
    }

    html[data-page="home"] .mlg-program-card-copy p {
        line-height: var(--motif-line-body);
    }

    html[data-page="home"] .mlg-contact-section {
        background: #020f1c;
    }

    html[data-page="home"] .mlg-contact-grid,
    html[data-page="home"] .mlg-contact-form-shell {
        width: min(100%, 63.625rem);
        max-width: 63.625rem;
        margin-inline: auto;
    }

    html[data-page="home"] .mlg-contact-form {
        width: 100%;
        max-width: none;
    }

    html[data-page="home"] .mlg-contact-form input,
    html[data-page="home"] .mlg-contact-form select,
    html[data-page="home"] .mlg-contact-form textarea,
    html[data-page="home"] .mlg-contact-form .va-forms-interest__input {
        border-radius: 0;
        background: transparent;
    }

    html[data-page="home"] .mlg-form-submit,
    html[data-page="home"] .mlg-contact-form .va-forms-interest__button {
        width: min(100%, 16.8125rem);
        min-height: var(--layout-control-min-height);
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }

.mlg-resource-hero-media:hover img,
.mlg-events-surface .vevents-card:hover,
.mlg-events-surface .vevents-card:focus-within,
.mlg-events-surface .vevents-card:hover .vevents-card__media img,
.mlg-events-surface .vevents-card:focus-within .vevents-card__media img {
        transform: none;
    }
}

/* v1 search state */
.mlg-search-page {
    position: relative;
    min-height: 100dvh;
    padding: calc(var(--layout-nav-height) + 8rem) max(var(--layout-content-inset), calc((100vw - var(--layout-content-width)) / 2)) 5rem;
    isolation: isolate;
    background: #02050a;
}

.mlg-search-page__backdrop {
    position: absolute;
    inset: var(--layout-nav-height) 0 0;
    z-index: -1;
    height: var(--layout-hero-home-height);
    pointer-events: none;
    background: url("/images/home-strength-hero.webp?v=Zt7g5v2iGhcA") center / cover no-repeat;
    max-width: calc(var(--layout-content-width) + 2 * var(--layout-content-inset));
    margin-inline: auto;
}

.mlg-search-page__backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, 0.95);
}

.mlg-search-page__home-copy {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    padding-inline: 60% var(--layout-content-inset);
}

.mlg-search-page__home-title {
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-display);
    font-weight: 800;
    line-height: 0.94;
    text-transform: uppercase;
}

.mlg-search-page__home-title strong {
    color: var(--motif-color-accent-primary);
}

.mlg-search-panel {
    width: min(100%, 103.875rem);
    margin-inline: auto;
}

.mlg-site-search {
    position: relative;
}

.mlg-site-search input {
    width: 100%;
    min-height: 4rem;
    border: 0;
    border-bottom: 3px solid #ffffff;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-h2);
    font-weight: 800;
    line-height: 1;
    outline: 0;
}

.mlg-site-search input::placeholder {
    color: var(--motif-field-placeholder);
    opacity: 1;
    text-transform: uppercase;
}

.mlg-site-search button {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.mlg-search-status {
    min-height: 1.5rem;
    margin-top: 1.5rem;
    color: var(--motif-color-accent-primary);
    font-weight: 700;
}

.mlg-search-results {
    display: grid;
    max-width: 60rem;
    gap: 0;
    list-style: none;
}

.mlg-search-results li {
    padding-block: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mlg-search-results a {
    color: #ffffff;
    font-family: var(--motif-font-h1);
    font-size: var(--motif-type-h3);
    font-weight: 800;
}

.mlg-search-results p {
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
}

/* v1 resource-guide companion page */
.mlg-guide-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.15fr);
    min-height: 0;
    background: var(--motif-color-canvas-900);
    width: var(--layout-content-width);
    margin-inline: auto;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-block: var(--layout-section-gap);
}

.mlg-guide-intro__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlg-guide-intro__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 0;
}

.mlg-guide-intro__copy h2 {
    color: #ffffff;
    font-size: var(--motif-type-h1);
    line-height: 0.9186;
}

.mlg-guide-form-shell h2 span,
.mlg-guide-community h2 {
    color: var(--motif-color-accent-primary);
}

.mlg-guide-intro__copy > p {
    margin-top: 1.6rem;
    color: #ffffff;
    line-height: 1.3;
}

.mlg-guide-gift {
    display: grid;
    justify-items: center;
    margin-top: 1.75rem;
    color: #ffffff;
    text-align: center;
    line-height: 1.25;
}

.mlg-guide-gift strong {
    color: var(--motif-color-accent-primary);
    text-transform: uppercase;
}

.mlg-guide-form-shell {
    align-self: center;
    width: 100%;
    margin: 0;
    padding: 2rem;
    border-radius: 4rem;
    background: #121f2d;
    text-align: center;
}

.mlg-guide-form-shell h2 {
    color: #ffffff;
    font-size: var(--motif-type-h3);
    line-height: 1;
    text-transform: uppercase;
}

.mlg-guide-form-shell > p {
    margin: 1.5rem auto 2rem;
    max-width: 28rem;
    color: #ffffff;
    line-height: 1.3;
}

.mlg-guide-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mlg-guide-form .mlg-guide-fields > * {
    grid-column: 1;
}

.mlg-guide-form .va-forms-interest__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.mlg-guide-form input {
    width: 100%;
    min-height: 3.5rem;
    padding: 0.8rem 1.5rem;
    border: 0;
    border-radius: var(--motif-radius-pill);
    background: #ffffff;
    color: #07111d;
    font-family: var(--motif-font-ui);
}

.mlg-guide-form .mlg-form-submit {
    justify-self: center;
    min-height: 3.5rem;
    margin-top: clamp(1rem, calc(4vw - 1.5rem), 2rem);
    border-radius: 2rem;
    font-size: var(--motif-type-body);
}

.mlg-guide-benefits {
    padding-block: 2.5rem 3rem;
    background: #00080d;
    color: #ffffff;
    text-align: center;
}

.mlg-guide-benefits h2,
.mlg-guide-feature h2,
.mlg-guide-community h2 {
    font-size: var(--motif-type-h2);
    line-height: 1;
    text-transform: uppercase;
}

.mlg-guide-benefits ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 5rem);
    margin-top: clamp(2.5rem, calc(10vw - 3.75rem), 5rem);
    list-style: none;
}

.mlg-guide-benefits li {
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
}

.mlg-guide-benefits h3 {
    color: #ffffff;
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}

.mlg-guide-benefits p {
    margin: 0.75rem auto 0;
    color: #ffffff;
    max-width: 30ch;
    line-height: 1.4;
}

.mlg-guide-feature {
    background: #020f30;
}

.mlg-guide-feature__grid {
    display: grid;
    width: var(--layout-content-width);
    min-height: 0;
    grid-template-columns: minmax(0, 38.8%) minmax(0, 61.2%);
    align-items: center;
}

.mlg-guide-feature h2 {
    padding: 3rem 2rem;
    color: #ffffff;
}

.mlg-guide-feature h2 span {
    display: block;
}

.mlg-guide-feature img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    max-height: 32rem;
}

.mlg-guide-community {
    padding-block: 4.25rem 2rem;
    background: var(--motif-color-canvas-900);
    color: #ffffff;
    text-align: center;
}

.mlg-guide-community p {
    margin: 2rem auto 1.5rem;
    line-height: 1.3;
}

/* v1 Events browser and filter states */
.mlg-events-surface.mlg-document-main {
    background: var(--motif-color-canvas-900);
}

.mlg-events-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mlg-events-filter-toggle {
    display: inline-flex;
    min-height: 3.5rem;
    align-items: center;
    gap: 0.8rem;
    padding: 0.45rem 1.25rem;
    border: 0;
    border-radius: var(--motif-radius-pill);
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
}

.mlg-events-filter-toggle img,
.mlg-events-search img,
html[data-page="contact"] .mlg-contact-details img,
.mlg-contact-footer__details img,
.mlg-contact-footer__social img,
.mlg-footer-social img {
    width: var(--mlg-ui-icon-size);
    height: var(--mlg-ui-icon-size);
    flex: 0 0 auto;
    object-fit: contain;
}

.mlg-events-search {
    position: relative;
    width: min(56rem, 62%);
    margin-left: clamp(2rem, 6vw, 7rem);
}

.mlg-events-search input {
    width: 100%;
    min-height: 3.5rem;
    padding: 0.75rem 1.5rem 0.75rem 3.75rem;
    border: 0;
    border-radius: var(--motif-radius-pill);
    background: #000000;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

.mlg-events-search input::placeholder {
    color: rgba(255, 255, 255, 0.52);
    opacity: 1;
}

.mlg-events-search img {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
}

.mlg-events-layout {
    min-width: 0;
}

.mlg-events-browser--filters-open .mlg-events-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.28fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.mlg-events-filters {
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: transparent;
    color: #ffffff;
}

.mlg-events-filters details {
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mlg-events-filters summary {
    padding: 1.15rem 0;
    cursor: pointer;
    font-family: var(--motif-font-h1);
    font-weight: 600;
}

.mlg-events-filters details label {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.mlg-events-filters details label:last-child {
    padding-bottom: 1.25rem;
}

.mlg-events-filters input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    accent-color: var(--motif-color-accent-primary);
}

.mlg-events-filters__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.mlg-events-filters__actions button:last-child {
    width: 9rem;
    min-height: 2.85rem;
    border: 0;
    border-radius: var(--motif-radius-pill);
    background: #ffffff;
    color: #07111d;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.mlg-events-filters__actions .mlg-button {
    width: 9rem;
}

.mlg-events-result-count {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.mlg-events-surface .vevents-empty {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.mlg-events-surface .vevents-list__items {
    width: min(100%, 79.5rem);
    margin-inline: auto;
    gap: 1.75rem;
}

.mlg-events-surface .vevents-card,
.mlg-events-surface .vevents-list--horizontal .vevents-card--with-media {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 36%) minmax(0, 64%);
    padding: 1rem 2rem;
    border: 0;
    border-radius: 2.5rem;
    background: #ffffff;
    box-shadow: 0 0.75rem 2.25rem rgba(7, 17, 29, 0.1);
}

.mlg-events-surface .vevents-card__media {
    min-height: 16rem;
    position: relative;
    align-self: stretch;
}

.mlg-events-surface .vevents-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mlg-events-surface .vevents-card__body {
    align-items: flex-start;
    padding: 0.5rem 0 0.5rem 2rem;
    color: var(--motif-color-text-ink);
    line-height: var(--motif-line-body);
}

.mlg-events-surface .vevents-card__title {
    color: #07111d;
    font-size: var(--motif-type-h3);
}

.mlg-events-surface .vevents-card__date,
.mlg-events-surface .vevents-card__location {
    margin-top: 0.65rem;
    color: #07111d;
    font-weight: 800;
}

.mlg-events-surface .vevents-card__summary {
    margin-top: 0.75rem;
    color: var(--motif-color-text-ink);
}

.mlg-event-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    align-self: flex-end;
    margin-top: 1rem;
}

.mlg-event-actions .mlg-button,
.mlg-event-details-link {
    display: inline-flex;
    min-height: 3.4375rem;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: var(--motif-radius-pill);
    background: var(--motif-color-accent-primary);
    font-size: var(--motif-type-body);
}

.mlg-event-details-link {
    color: #07111d;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.mlg-events-no-results {
    padding: 4rem 1rem;
    color: #ffffff;
    font-size: var(--motif-type-body);
    font-weight: 700;
    text-align: center;
}

@media (min-width: 1001px) {
    .mlg-guide-intro__copy h2 {
        margin-right: -2rem;
    }
}

@media (max-width: 1000px) {
    .mlg-guide-intro {
        grid-template-columns: 1fr 1fr;
    }

    .mlg-guide-form-shell {
        grid-column: 1 / -1;
        width: min(42rem, calc(100% - 2.5rem));
        padding-block: clamp(2rem, 4vw, 3rem);
        border-radius: 2.5rem;
    }

    .mlg-guide-form-shell > p {
        margin-block: 1.5rem 2rem;
    }

    .mlg-guide-form input {
        min-height: 4rem;
    }

    .mlg-guide-form .mlg-form-submit {
        min-height: 4rem;
        font-size: var(--motif-type-body);
    }

    .mlg-guide-benefits ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem clamp(1.5rem, 4vw, 5rem);
    }

    .mlg-guide-feature__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mlg-guide-feature h2 {
        padding: 2.5rem var(--layout-content-inset);
        text-align: center;
    }

    .mlg-guide-feature img {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .mlg-events-browser--filters-open .mlg-events-layout {
        grid-template-columns: 1fr;
    }

    .mlg-events-filters {
        border-right: 0;
    }
}

@media (max-width: 700px) {
    .mlg-search-page {
        padding-top: calc(var(--layout-nav-height) + 8rem);
    }

    .mlg-guide-intro {
        grid-template-columns: 1fr;
    }

    .mlg-guide-intro__media {
        height: 24rem;
    }

    .mlg-events-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .mlg-events-search {
        width: 100%;
        margin-left: 0;
    }

    .mlg-events-surface .vevents-card,
    .mlg-events-surface .vevents-list--horizontal .vevents-card--with-media {
        grid-template-columns: 1fr;
    }

    .mlg-events-surface .vevents-card__media {
        min-height: 0;
    }

    .mlg-events-surface .vevents-card__media img {
        position: static;
        height: auto;
    }

    .mlg-events-surface .vevents-card__body {
        padding: 1.5rem 0 0;
    }

    .mlg-event-actions {
        align-self: stretch;
        align-items: stretch;
        flex-direction: column;
    }
}

/* Contact v1 artboard projection */
@media (min-width: 821px) {
    html[data-page="contact"] .mlg-contact-overview {
        height: clamp(18rem, 21.875vw, 26.25rem);
        min-height: 0;
    }

    html[data-page="contact"] .mlg-contact-location-media,
    html[data-page="contact"] .mlg-contact-location-media img {
        min-height: 0;
    }
}

html[data-page="contact"] .mlg-contact-overview {
    display: grid;
    min-height: clamp(18rem, 21.875vw, 26.25rem);
    grid-template-columns: 48.333% 51.667%;
    background: #000f30;
    width: var(--layout-content-width);
    margin-inline: auto;
}

html[data-page="contact"] .mlg-contact-overview__identity {
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    gap: clamp(2rem, 2.5vw, 3rem);
    padding-inline: clamp(1.5rem, 3vw, 3rem);
}

html[data-page="contact"] .mlg-contact-overview__logo {
    display: block;
    width: min(100%, 24rem);
    max-width: calc(100% - 2rem);
    height: auto;
}

html[data-page="contact"] .mlg-contact-details {
    gap: clamp(0.3rem, 0.5vw, 0.6rem);
    margin: 0;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: var(--motif-type-lead);
    line-height: 1.08;
}

html[data-page="contact"] .mlg-contact-details > a,
html[data-page="contact"] .mlg-contact-details > span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(0.65rem, 1vw, 1.15rem);
    color: #ffffff;
    font-weight: 400;
}

html[data-page="contact"] .mlg-contact-location-media {
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

html[data-page="contact"] .mlg-contact-location-media::after {
    display: none;
}

html[data-page="contact"] .mlg-contact-location-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

html[data-page="contact"] .mlg-contact-page-section {
    box-sizing: border-box;
    min-height: 0;
    padding: clamp(2rem, 1.77vw, 2.125rem) var(--layout-content-inset) clamp(2rem, 2.35vw, 2.8125rem);
    overflow: visible;
    background: #020f1c;
    padding-block: var(--layout-section-gap);
}

html[data-page="contact"] .mlg-contact-form-composition {
    width: min(100%, 63.625rem);
    margin-inline: auto;
}

html[data-page="contact"] .mlg-contact-form-heading {
    display: grid;
    justify-items: center;
    text-align: center;
}

html[data-page="contact"] .mlg-contact-form-heading h2 {
    color: #f9f9f9;
    font-size: var(--motif-type-h3);
    line-height: 1.2;
    text-transform: uppercase;
}

html[data-page="contact"] .mlg-contact-form-heading > span {
    width: min(7.75rem, 18vw);
    height: 2px;
    margin-top: 0.65rem;
    background: #e1a230;
}

html[data-page="contact"] .mlg-contact-form-shell {
    margin-top: 3rem;
    margin-inline: auto;
    padding: 0;
}

html[data-page="contact"] .mlg-event-registration {
    margin-top: 2rem;
    padding: 1.5rem;
    border-inline-start: 4px solid var(--motif-color-heading);
    background: var(--motif-color-surface-strong);
    color: var(--motif-color-text-primary);
}

html[data-page="contact"] .mlg-event-registration h3 {
    margin: 0;
    color: var(--motif-color-heading);
    font-size: var(--motif-type-h4);
}

html[data-page="contact"] .mlg-event-registration p {
    margin-block: 0.75rem;
}

html[data-page="contact"] .mlg-event-registration a {
    color: var(--motif-color-text-primary);
    text-decoration: underline;
}

html[data-page="contact"] .mlg-contact-form {
    display: block;
    width: 100%;
    max-width: none;
}

html[data-page="contact"] .mlg-contact-fields {
    grid-template-columns: minmax(0, 480fr) minmax(0, 522fr);
    gap: 1.375rem 1rem;
}

html[data-page="contact"] .mlg-contact-form input,
html[data-page="contact"] .mlg-contact-form select,
html[data-page="contact"] .mlg-contact-form textarea,
html[data-page="contact"] .mlg-contact-form .va-forms-interest__input {
    height: 3.5rem;
    min-height: 3.5rem;
    padding: 0.85rem clamp(1rem, 2vw, 2rem);
    border-color: rgba(255, 255, 255, 0.78);
    border-radius: 0;
    background: transparent;
    font-size: var(--motif-type-body);
}

html[data-page="contact"] .mlg-contact-form textarea.va-forms-interest__input {
    height: 10.3125rem;
    min-height: 10.3125rem;
}

html[data-page="contact"] .mlg-contact-form input::placeholder,
html[data-page="contact"] .mlg-contact-form textarea::placeholder {
    color: #ffffff;
    opacity: 1;
}

html[data-page="contact"] .mlg-form-submit,
html[data-page="contact"] .mlg-contact-form .va-forms-interest__button {
    width: min(100%, 16.8125rem);
    height: auto;
    min-height: var(--layout-control-min-height);
    justify-self: center;
    margin-top: -0.375rem;
    padding: 1rem 2.25rem;
    font-size: var(--motif-type-body);
}

html[data-page="contact"] .mlg-contact-status,
html[data-page="contact"] .mlg-contact-form .va-forms-interest__status {
    display: block;
    min-height: 0;
    margin-top: 0.5rem;
    text-align: center;
}

.mlg-contact-footer {
    min-height: clamp(8rem, 8.0729vw, 9.6875rem);
    padding: 0;
    border: 0;
    background: #000000;
}

.mlg-contact-footer__grid {
    display: grid;
    width: var(--layout-content-width);
    min-height: inherit;
    grid-template-columns: minmax(8rem, 1fr) minmax(12rem, 1.5fr) auto minmax(12rem, 1.25fr) auto;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
    padding-block: clamp(1.5rem, calc(5.25rem - 4vw), 2.5rem);
    gap: 1.5rem;
}

.mlg-contact-footer .mlg-footer-bottom {
    margin-top: 0;
}

.mlg-contact-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.mlg-contact-footer__statement {
    color: #ffffff;
    font-size: clamp(0.875rem, 0.9375vw, 1.125rem);
    font-weight: 400;
    line-height: 1.45;
}

.mlg-contact-footer__heading {
    font-family: var(--motif-font-ui);
    color: #ffffff;
    font-size: var(--motif-type-h4);
    line-height: 1.1;
    white-space: nowrap;
}

.mlg-contact-footer__details {
    font-family: var(--motif-font-ui);
    display: grid;
    gap: 0.35rem;
    color: #ffffff;
    font-size: clamp(0.875rem, 0.8854vw, 1.0625rem);
    font-style: normal;
    line-height: 1.4;
}

.mlg-contact-footer__details > a,
.mlg-contact-footer__details > span,
.mlg-contact-footer__details > p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
}

.mlg-contact-footer__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.35rem, 0.5208vw, 0.625rem);
    transform: none;
}

.mlg-contact-footer__social > a,
.mlg-contact-footer__social-placeholder {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
}

html[data-page="contact"] .mlg-contact-hero {
    min-height: calc(var(--layout-nav-height) + var(--layout-hero-inner-height));
    grid-template-rows: var(--layout-nav-height) 1fr;
    place-items: stretch;
    padding: 0;
}

html[data-page="contact"] .mlg-contact-hero > .mlg-hero-media,
html[data-page="contact"] .mlg-contact-hero > .mlg-hero-scrim {
    inset: var(--layout-nav-height) 0 0;
    height: calc(100% - var(--layout-nav-height));
}

html[data-page="contact"] .mlg-contact-hero > .mlg-hero-scrim {
    background: rgba(2, 15, 28, 0.49);
}

html[data-page="contact"] .mlg-contact-hero > .mlg-subpage-hero-copy {
    display: grid;
    /* The centered contact-map artwork is 2:1; keep the title inside its fitted edges. */
    width: min(var(--layout-content-width), calc(var(--layout-hero-inner-height) * 2));
    grid-row: 2;
    align-items: center;
    justify-items: start;
    margin-inline: auto;
    padding: 0 var(--layout-content-inset);
    text-align: left;
}

html[data-page="contact"] .mlg-contact-hero .mlg-subpage-hero-copy h1 {
    font-size: var(--motif-type-h2);
    line-height: 1;
}

@media (max-width: 820px) {
    html[data-page="contact"] .mlg-contact-overview {
        width: 100%;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    html[data-page="contact"] .mlg-contact-overview__identity {
        min-height: clamp(19rem, 50vw, 22rem);
        gap: 2rem;
        padding: 3rem var(--layout-content-inset);
    }

    html[data-page="contact"] .mlg-contact-overview__logo {
        width: min(100%, 32rem);
    }

    html[data-page="contact"] .mlg-contact-details {
        font-size: var(--motif-type-body);
    }

    html[data-page="contact"] .mlg-contact-location-media {
        height: clamp(18rem, 55vw, 28rem);
    }

    html[data-page="contact"] .mlg-contact-page-section {
        min-height: 0;
        padding-block: 4rem;
    }

    html[data-page="contact"] .mlg-contact-form-shell {
        margin-top: 3.5rem;
    }
}

@media (max-width: 1100px) {
    .mlg-contact-footer__grid {
        min-height: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .mlg-contact-footer__logo,
    .mlg-contact-footer__statement {
        grid-column: 1 / -1;
    }

    .mlg-contact-footer__logo {
        width: min(100%, 18rem);
    }

    .mlg-contact-footer__statement {
        max-width: 34rem;
        font-size: 0.9rem;
    }

    .mlg-contact-footer__social {
        grid-column: 1 / -1;
        justify-content: flex-start;
        transform: none;
    }
}

@media (max-width: 640px) {
    html[data-page="contact"] .mlg-contact-details > a,
    html[data-page="contact"] .mlg-contact-details > span {
        align-items: flex-start;
    }

    html[data-page="contact"] .mlg-contact-fields {
        grid-template-columns: 1fr;
    }

    html[data-page="contact"] .mlg-contact-fields > * {
        grid-column: 1;
    }

    .mlg-contact-footer__grid {
        grid-template-columns: 1fr;
    }

    .mlg-contact-footer__logo,
    .mlg-contact-footer__statement,
    .mlg-contact-footer__social {
        grid-column: auto;
    }
}

/* Supplied v1 compositions. The same artwork and reading order survive every breakpoint. */
.mlg-program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    min-width: 0;
    overflow: visible;
    border-radius: clamp(1.5rem, 3vw, 3rem);
    background-size: 121% 112%;
    background-position: center;
}
.mlg-program-card--ignyte {
    background-image: url("/images/home-ignyte-card-background.webp?v=ZQR0UJTzV-u8");
}
.mlg-program-card--financial {
    background-image: url("/images/home-financial-card-background.webp?v=VADgjwVL-G2O");
}
.mlg-program-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 34rem));
    gap: clamp(1.5rem, 5.2vw, 6.25rem);
    justify-content: space-between;
}
.mlg-program-card-art {
    position: relative;
    /* Keep artwork in intrinsic flow: negative percentage margins on a grid row undercounted its height
       and clipped the copy/actions below it, especially when the two cards wrapped differently. */
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1.38;
}
.mlg-program-card-art::after {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent,
        color-mix(in srgb, var(--motif-color-canvas-900) 65%, transparent) 15% 85%, transparent);
    content: "";
    pointer-events: none;
}
.mlg-program-card-art img {
    position: absolute;
    bottom: 0;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}
.mlg-program-card-shards {
    left: -4%;
    width: 63%;
}
.mlg-program-card-person {
    right: 15%;
    width: 66%;
    transform: scale(0.9);
    transform-origin: center bottom;
}
.mlg-program-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem clamp(1.25rem, 3.7vw, 4.5rem) clamp(1.5rem, 2.2vw, 2.75rem);
}
.mlg-program-card-copy h3 {
    color: var(--motif-color-accent-primary);
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}
.mlg-program-card-copy p {
    margin-top: 1rem;
    font-size: var(--motif-type-body);
    line-height: 1.3;
}
.mlg-program-card-promise {
    text-transform: uppercase;
}
.mlg-program-card-copy .mlg-button {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: auto auto 0;
}
.mlg-program-card-copy > p:last-of-type {
    margin-bottom: 1.5rem;
}
.mlg-purpose-section,
.mlg-values-section {
    background: #22112e;
    padding-block: 2.75rem 1.5rem;
}
.mlg-purpose-grid {
    display: grid;
    width: min(100% - 2 * var(--layout-content-inset), 76rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}
.mlg-purpose-grid article {
    padding: 1.5rem 3rem;
    border-radius: 3rem;
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
}
.mlg-purpose-grid h2,
.mlg-values-section h2 {
    font-size: var(--motif-type-h2);
    text-transform: uppercase;
}
.mlg-purpose-grid p {
    margin-top: 1.5rem;
    line-height: var(--motif-line-body);
}
.mlg-values-section {
    padding-bottom: 3.5rem;
}
.mlg-values-grid {
    display: grid;
    width: min(100%, 94rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, calc(4vw - 1rem), 2.5rem) clamp(1rem, calc(12vw - 5rem), 7.5rem);
    margin-inline: auto;
    list-style: none;
}
.mlg-values-grid li,
.mlg-program-page .mlg-pillar-grid li,
.mlg-guide-gift {
    gap: var(--motif-space-md);
    padding: var(--motif-space-lg);
    border: 2px solid var(--motif-color-accent-primary);
    border-radius: calc(var(--layout-soft-radius) * 3);
}
.mlg-values-grid li {
    display: grid;
    min-height: 0;
    grid-template-rows: var(--mlg-content-icon-size) 1fr;
    align-items: stretch;
    justify-items: center;
    text-align: center;
}
.mlg-values-grid strong {
    font-size: var(--motif-type-body);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}
.mlg-directors-section {
    padding: 0;
    background: #000f30;
}
.mlg-directors-section > .mlg-container {
    width: var(--layout-content-width);
}
.mlg-director-grid {
    position: relative;
    overflow: hidden;
}
.mlg-director-card {
    /* Keep both slides in the shared grid row so translated biographies determine its height. */
    position: relative;
    display: grid;
    grid-template-columns: 55% 45%;
    overflow: hidden;
}
.mlg-director-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 3px;
    background: linear-gradient(90deg, transparent,
        color-mix(in srgb, var(--motif-color-canvas-900) 65%, transparent) 15% 85%, transparent);
    content: "";
    pointer-events: none;
}
.mlg-director-card-copy {
    align-self: start;
    padding: 2rem 3rem 4rem 0;
}
.mlg-director-card-copy .mlg-eyebrow {
    font-size: var(--motif-type-h4);
    letter-spacing: 0;
}
.mlg-director-card-copy h3 {
    margin-bottom: clamp(1rem, calc(4vw - 1rem), 2rem);
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}
.mlg-director-card-copy > p:not(.mlg-eyebrow) {
    margin-top: clamp(0.75rem, calc(3vw - 0.75rem), 1.5rem);
    font-size: var(--motif-type-h4);
    line-height: var(--motif-line-body);
}
.mlg-director-card > img {
    align-self: end;
    min-width: 0;
    min-height: 0;
    width: 100%;
    /* Use the wider portrait's ratio so both complete photos share one displayed height. */
    height: auto;
    aspect-ratio: 1891 / 2726;
    object-fit: contain;
    object-position: center bottom;
    background: url("/images/about-story-shards.webp?v=UtJQ_XfdYT6V") right center / contain no-repeat;
}
.mlg-director-card--financial > img {
    background-image: url("/images/financial-shards.webp?v=sZiY9lY9YP6X");
}
.mlg-director-grid > .mlg-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}
.mlg-program-page--ignyte {
    --mlg-program-background: linear-gradient(145deg, #8a3a00, #1b0a00);
}
.mlg-program-page--financial {
    --mlg-program-accent: var(--motif-color-accent-primary);
    --mlg-program-background: linear-gradient(105deg, #241126, #064784);
}
.mlg-program-page .mlg-program-hero-grid {
    grid-template-columns: 1fr;
}
.mlg-program-page .mlg-program-hero-copy h1 {
    max-width: none;
    font-size: var(--motif-type-h1);
    line-height: 0.95;
}
.mlg-program-page .mlg-program-hero-copy > .mlg-eyebrow {
    font-size: var(--motif-type-h4);
    letter-spacing: 0;
}
.mlg-program-page--financial .mlg-program-promise {
    display: none;
}
.mlg-program-promise {
    text-transform: uppercase;
}
.mlg-program-page .mlg-pillar-grid {
    width: min(100%, 80rem);
    gap: clamp(1rem, 2.8vw, 3.5rem);
    margin-inline: auto;
}
.mlg-program-page .mlg-pillar-grid li {
    min-height: 0;
    grid-template-rows: auto 1fr;
    align-items: stretch;
}
.mlg-program-page .mlg-pillar-grid strong {
    max-width: 12ch;
    font-size: var(--motif-type-body);
    font-weight: 400;
    text-transform: none;
}
.mlg-program-page--financial .mlg-pillar-grid li:first-child strong {
    max-width: 15ch;
}
.mlg-program-page .mlg-program-pillars > .mlg-container {
    width: var(--layout-content-width);
}
.mlg-program-page .mlg-program-pillars h2 {
    max-width: none;
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}
.mlg-program-page--financial .mlg-program-pillars .mlg-section-heading h2 {
    font-size: var(--motif-type-h3);
}
.mlg-program-page .mlg-program-pillars .mlg-section-heading {
    max-width: none;
}
.mlg-program-page--ignyte .mlg-program-pillars {
    background: #1b0b00;
}
.mlg-program-page--financial .mlg-program-pillars {
    background: #000f30;
}
.mlg-journey-section,
.mlg-program-director {
    padding: 1.5rem 0 0;
    background: var(--mlg-program-background);
}
.mlg-journey-section > .mlg-container {
    width: var(--layout-content-width);
}
.mlg-journey-section .mlg-section-heading {
    max-width: none;
    margin-bottom: 1.5rem;
    text-align: center;
}
.mlg-journey-section .mlg-section-heading h2 {
    max-width: none;
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}
.mlg-journey-grid {
    display: grid;
    grid-template-columns: 26.5625% 1fr 1fr;
    align-items: stretch;
    gap: 1.5rem;
}
.mlg-journey-intro {
    align-self: center;
    padding-inline: clamp(1rem, 3vw, 3.5rem);
}
.mlg-journey-intro h3,
.mlg-journey-card h3 {
    font-size: var(--motif-type-h3);
    text-transform: uppercase;
}
.mlg-journey-intro p {
    margin-top: 1rem;
}
.mlg-journey-card {
    position: relative;
    display: grid;
    min-height: clamp(26rem, 27.7vw, 33.25rem);
    overflow: hidden;
    isolation: isolate;
}
.mlg-journey-card > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.mlg-journey-card::before {
    position: absolute;
    inset: 0;
    content: "";
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 85%);
}
.mlg-journey-card > div {
    align-self: end;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent);
}
.mlg-journey-card p {
    margin-block: 1rem;
    line-height: 1.4;
}
.mlg-journey-card .mlg-button {
    font-size: var(--motif-type-body);
}
.mlg-program-page--financial .mlg-journey-grid {
    grid-template-columns: 26.5625% 1fr;
}
.mlg-program-page--financial .mlg-journey-card--events {
    display: none;
}
.mlg-program-director {
    padding-top: 0;
    overflow: hidden;
}
.mlg-program-director-grid {
    display: grid;
    width: var(--layout-content-width);
    grid-template-columns: 42% 58%;
    align-items: center;
}
.mlg-program-director-art {
    align-self: end;
    height: 30rem;
    background: url("/images/ignyte-shards.webp?v=U9rE2nCN8W1Q") left bottom / contain no-repeat;
}
.mlg-program-page--financial .mlg-program-director-art {
    background-image: url("/images/financial-shards.webp?v=sZiY9lY9YP6X");
}
.mlg-program-director-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}
.mlg-program-director-copy {
    padding: 3rem clamp(2rem, 4vw, 5rem);
}
.mlg-program-director-copy .mlg-eyebrow {
    font-size: var(--motif-type-h4);
    letter-spacing: 0;
}
.mlg-program-director-copy h2 {
    font-size: var(--motif-type-h2);
    text-transform: uppercase;
}
.mlg-program-director-copy > p:not(.mlg-eyebrow) {
    margin-top: 2rem;
    font-size: var(--motif-type-h4);
    line-height: var(--motif-line-body);
}
.mlg-resource-learning > .mlg-container {
    width: min(var(--layout-content-width), 64rem);
}
.mlg-resource-learning {
    padding-block: 3rem 6rem;
    background: var(--motif-color-accent-primary);
}
.mlg-resource-learning .mlg-section-heading h2 {
    max-width: none;
    color: var(--motif-color-text-ink);
    text-transform: uppercase;
}
.mlg-resource-learning .mlg-section-heading {
    margin-bottom: 0.75rem;
}
.mlg-video-placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    background: #bfbfbf;
}
.mlg-video-placeholder span {
    display: grid;
    width: var(--mlg-content-icon-size);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #eaeaea;
    font-size: var(--mlg-ui-icon-size);
}
.mlg-testimonials-section {
    padding-block: 2rem 4.5rem;
    background: url("/images/ignyte-shards.webp?v=U9rE2nCN8W1Q") left bottom / min(22vw, 18rem) auto no-repeat, #000a11;
}
.mlg-testimonials-section .mlg-section-heading h2 {
    max-width: none;
    font-size: var(--motif-type-h2);
    text-transform: uppercase;
}
.mlg-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
    gap: clamp(1.5rem, 2.1vw, 2.5rem);
}
.mlg-testimonial-grid figure {
    display: grid;
    grid-template-columns: 4rem 1fr;
    grid-template-rows: 1fr auto;
    gap: 1rem;
    padding: clamp(1.25rem, 1.5vw, 1.5rem);
    border-radius: 2.5rem;
    background: #ffffff;
    color: var(--motif-color-text-ink);
}
.mlg-testimonial-grid blockquote {
    grid-area: 1 / 1 / 2 / -1;
    font-family: var(--motif-font-body);
    font-size: var(--motif-type-body);
    font-style: normal;
    line-height: 1.4;
}
.mlg-testimonial-grid img {
    grid-area: 2 / 1;
    width: 4rem;
    height: 4.5rem;
    object-fit: cover;
}
.mlg-testimonial-grid figcaption {
    align-self: center;
    font-size: var(--motif-type-body);
    line-height: 1.3;
}

/* Shared tracks align corresponding content without fixing copy heights or truncating translations. */
@supports (grid-template-rows: subgrid) {
    .mlg-testimonial-grid figure {
        grid-row: span 2;
        grid-template-rows: subgrid;
    }

    .mlg-guide-benefits li {
        grid-row: span 2;
        grid-template-rows: subgrid;
        row-gap: 0;
    }

    @media (min-width: 821px) {
        .mlg-program-card-grid {
            row-gap: 0;
        }

        .mlg-program-card {
            display: grid;
            grid-row: span 5;
            grid-template-rows: subgrid;
            row-gap: 0;
        }

        .mlg-program-card-art {
            grid-row: 1;
        }

        .mlg-program-card-copy {
            display: grid;
            grid-row: 2 / span 4;
            grid-template-rows: subgrid;
            row-gap: 0;
        }

        /* A wrapped action sizes the shared row; both buttons must fill it to retain their common top edge. */
        .mlg-program-card-copy .mlg-button {
            align-self: stretch;
            margin-block: 0;
        }

        .mlg-journey-intro {
            grid-row: span 3;
        }

        .mlg-journey-card {
            grid-row: span 3;
            grid-template-rows: subgrid;
            row-gap: 0;
            /* A subgrid's min-height does not size its parent tracks. Reserve the photo area in flow. */
            padding-top: clamp(12rem, 15vw, 18rem);
        }

        .mlg-journey-card > div {
            display: grid;
            grid-row: 1 / span 3;
            grid-template-rows: subgrid;
            align-self: stretch;
            row-gap: 0;
        }

        .mlg-journey-card .mlg-button {
            justify-self: start;
            align-self: end;
        }
    }

    @media (min-width: 1201px) {
        .mlg-program-page--ignyte .mlg-journey-card {
            padding-top: clamp(11.25rem, 11.6146vw, 13.9375rem);
        }

        .mlg-program-page--financial .mlg-journey-card {
            min-height: clamp(26rem, 27.1875vw, 32.625rem);
            padding-top: clamp(12rem, 14.4792vw, 17.375rem);
        }
    }
}
.mlg-resource-closing {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 18.375rem;
    padding: 2rem 0;
    place-items: center;
}
.mlg-resource-closing-media,
.mlg-resource-closing-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}
.mlg-resource-closing-copy {
    text-align: center;
}
.mlg-resource-closing-copy p {
    max-width: none;
    font-size: var(--motif-type-lead);
    font-weight: 800;
    text-transform: uppercase;
}
.mlg-resource-closing-copy h2 {
    margin: 0.6rem 0 1.5rem;
    color: var(--motif-color-accent-primary);
    font-size: var(--motif-type-h2);
    text-transform: uppercase;
}

@media (min-width: 1201px) {
    .mlg-program-director-grid {
        grid-template-columns: 43.3958% 56.6042%;
    }

    .mlg-program-page--financial .mlg-program-director-art {
        height: 30rem;
    }

    .mlg-search-page__home-title {
        white-space: nowrap;
    }

    .mlg-search-panel {
        margin-left: max(0px, calc(7.8125vw - var(--layout-content-inset)));
    }
}

@media (max-width: 1200px) {
    .mlg-search-page__home-copy {
        padding-inline: var(--layout-content-inset);
        justify-content: end;
        padding-bottom: 3rem;
    }
}
@media (max-width: 1200px) {
    .mlg-journey-grid,
    .mlg-program-page--financial .mlg-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mlg-journey-intro { grid-column: 1 / -1; padding: 1rem; }
    .mlg-program-page--financial .mlg-journey-card { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
    .mlg-program-card-grid,
    .mlg-purpose-grid,
    .mlg-program-director-grid,
    .mlg-journey-grid,
    .mlg-program-page--financial .mlg-journey-grid { grid-template-columns: 1fr; }
    .mlg-program-card { width: min(100%, 36rem); margin-inline: auto; }
    .mlg-program-card-copy { padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2rem; }
    .mlg-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mlg-director-card {
        grid-template-columns: 1fr;
        grid-template-rows: 23rem auto;
    }
    .mlg-director-card::after {
        top: 23rem;
        bottom: auto;
        width: 100%;
    }
    .mlg-director-card > img { grid-row: 1; max-height: 23rem; }
    .mlg-director-card-copy { grid-row: 2; padding: 1.5rem var(--layout-content-inset) 4rem; }
    .mlg-journey-section .mlg-section-heading { text-align: center; }
    .mlg-program-page .mlg-program-pillars > .mlg-container,
    .mlg-journey-section > .mlg-container {
        width: calc(100% - 2 * var(--layout-content-inset));
    }
    .mlg-journey-card > div { padding: clamp(1.25rem, 4vw, 2rem); }
    .mlg-program-director-copy { padding: 2rem var(--layout-content-inset); }
    .mlg-program-page .mlg-program-pillars .mlg-section-heading { text-align: center; }

    .mlg-story-copy > p:not(.mlg-eyebrow),
    .mlg-director-card-copy > p:not(.mlg-eyebrow),
    .mlg-program-director-copy > p:not(.mlg-eyebrow),
    .mlg-purpose-grid p,
    .mlg-testimonial-grid blockquote,
    .mlg-testimonial-grid figcaption {
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .mlg-guide-benefits ol {
        grid-template-columns: 1fr;
    }

    .mlg-values-grid {
        grid-template-columns: 1fr;
    }

    .mlg-values-grid li {
        grid-template-columns: var(--mlg-content-icon-size) minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 1rem;
        align-items: center;
        justify-items: start;
        padding: 1rem;
        text-align: left;
    }

    .mlg-program-page .mlg-pillar-grid li {
        padding: 1rem 0.5rem;
    }
}

.mlg-story-copy h2::after,
.mlg-contact-intro h2::after,
.mlg-program-pillars .mlg-section-heading h2::after,
.mlg-journey-section .mlg-section-heading h2::after,
.mlg-journey-card-copy h3::after,
.mlg-resource-learning h2::after,
.mlg-guide-benefits h2::after,
.mlg-guide-community h2::after,
.mlg-testimonials-section h2::after {
    display: block;
    width: 8rem;
    height: 2px;
    margin: 1.25rem auto 0;
    background: var(--motif-color-accent-primary);
    content: "";
}
.mlg-story-copy h2::after,
.mlg-journey-card-copy h3::after {
    margin-inline: 0;
}
.mlg-resource-learning h2::after {
    width: 20rem;
    max-width: 80%;
    background: var(--motif-color-text-ink);
}
.mlg-program-page .mlg-program-hero::after {
    position: absolute;
    inset: var(--layout-nav-height) 55% 0 0;
    z-index: -1;
    background: url("/images/ignyte-shards.webp?v=U9rE2nCN8W1Q") left center / contain no-repeat;
    content: "";
    opacity: 0.18;
    pointer-events: none;
}
.mlg-program-page--financial .mlg-program-hero::after {
    background-image: url("/images/financial-shards.webp?v=sZiY9lY9YP6X");
}
@media (min-width: 1201px) {
    html[data-page="about"] .mlg-subpage-hero,
    html[data-page="events"] .mlg-subpage-hero {
        grid-template-rows: var(--layout-nav-height) 1fr;
        padding: 0;
    }
    html[data-page="about"] .mlg-subpage-hero > .mlg-hero-media,
    html[data-page="about"] .mlg-subpage-hero > .mlg-hero-scrim,
    html[data-page="events"] .mlg-subpage-hero > .mlg-hero-media,
    html[data-page="events"] .mlg-subpage-hero > .mlg-hero-scrim {
        inset: var(--layout-nav-height) 0 0;
        height: calc(100% - var(--layout-nav-height));
    }
    html[data-page="about"] .mlg-subpage-hero-copy,
    html[data-page="events"] .mlg-subpage-hero-copy {
        grid-row: 2;
    }
    html[data-page="about"] .mlg-hero-scrim {
        background: rgba(2, 15, 28, 0.49);
    }
    html[data-page="events"] .mlg-hero-scrim {
        background: rgba(2, 15, 28, 0.49);
    }
    html[data-page="about"] .mlg-about-intro-grid h3 {
        font-size: var(--motif-type-h3);
    }
    html[data-page="home"] .mlg-contact-grid {
        gap: clamp(2rem, calc(10vw - 5rem), 7rem);
    }
    html[data-page="home"] .mlg-contact-section {
        padding-bottom: clamp(2.5rem, calc(7.5rem - 5vw), 3.75rem);
    }
    html[data-page="home"] .mlg-contact-form input,
    html[data-page="home"] .mlg-contact-form .va-forms-interest__input {
        height: 3.5rem;
        padding-inline: clamp(1rem, 2vw, 2rem);
    }
    html[data-page="home"] .mlg-contact-form textarea.va-forms-interest__input {
        height: clamp(9rem, calc(5vw + 5.25rem), 10.3125rem);
        min-height: clamp(9rem, calc(5vw + 5.25rem), 10.3125rem);
    }
}
