/* ==========================================================
   ICX EXPERIENCE MANAGEMENT V2
========================================================== */

.icx-xm-page {
    --xm-navy: var(--icx-navy, #07344f);
    --xm-navy-dark: var(--icx-navy-dark, #05283c);
    --xm-blue: var(--icx-blue, #0c7196);
    --xm-orange: var(--icx-orange, #f58220);
    --xm-mint: var(--icx-mint, #edf8f3);
    --xm-cream: var(--icx-cream, #faf8f2);
    --xm-white: #ffffff;
    --xm-text: var(--icx-text, #123548);
    --xm-muted: var(--icx-muted, #617985);
    --xm-line: rgba(7, 52, 79, 0.14);

    overflow: clip;
    color: var(--xm-text);
    background: var(--xm-white);
}

.icx-xm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--xm-orange);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.icx-xm-eyebrow::before {
    width: 1.7rem;
    height: 2px;
    flex: 0 0 auto;
    background: currentColor;
    content: "";
}

.icx-xm-text-link {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--xm-white);
    font-weight: 720;
    text-decoration: none;
}

.icx-xm-text-link span {
    color: var(--xm-orange);
    transition: transform 160ms ease;
}

.icx-xm-text-link:hover span,
.icx-xm-text-link:focus-visible span {
    transform: translateX(4px);
}


/* ==========================================================
   HERO
========================================================== */

.icx-xm-hero {
    position: relative;
    padding:
        clamp(3rem, 6vw, 5.8rem)
        0;
    background:
        radial-gradient(
            circle at 86% 12%,
            rgba(19, 130, 167, 0.26),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            var(--xm-navy-dark),
            var(--xm-navy) 57%,
            #086f92
        );
    color: var(--xm-white);
}

.icx-xm-hero::after {
    position: absolute;
    right: -8vw;
    bottom: -18vw;
    width: 42vw;
    min-width: 25rem;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.icx-xm-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(32rem, 1.05fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.icx-xm-hero__copy {
    max-width: 43rem;
}

.icx-xm-hero h1 {
    max-width: 10ch;
    margin: 0.9rem 0 1.3rem;
    color: var(--xm-white);
    font-family: var(
        --icx-font-display,
        Georgia,
        serif
    );
    font-size: clamp(3.4rem, 6vw, 6.2rem);
    font-weight: 650;
    line-height: 0.92;
    letter-spacing: -0.052em;
}

.icx-xm-hero h1 em {
    color: var(--xm-orange);
    font-style: normal;
}

.icx-xm-hero__copy > p {
    max-width: 39rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
}

.icx-xm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
    margin-top: 1.8rem;
}

.icx-xm-hero__visual {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(10rem, 0.75fr);
    gap: 6px;
    min-height: 33rem;
}

.icx-xm-hero__lead,
.icx-xm-hero__stack a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0a3d57;
    text-decoration: none;
}

.icx-xm-hero__lead {
    min-height: 33rem;
    border-radius: 2px 28px 2px 2px;
}

.icx-xm-hero__stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}

.icx-xm-hero__lead img,
.icx-xm-hero__stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    transition: transform 320ms ease;
}

.icx-xm-hero__lead::after,
.icx-xm-hero__stack a::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 52%,
            rgba(3, 29, 43, 0.74)
        );
    content: "";
}

.icx-xm-hero__lead > span,
.icx-xm-hero__stack a > span {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    color: var(--xm-white);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.icx-xm-hero__lead.is-fallback {
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            var(--xm-blue),
            var(--xm-navy-dark)
        );
}

.icx-xm-hero__lead.is-fallback strong {
    max-width: 6ch;
    color: var(--xm-white);
    font-family: var(
        --icx-font-display,
        Georgia,
        serif
    );
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
}

.icx-xm-hero__lead.is-fallback strong span {
    color: var(--xm-orange);
}

@media (hover: hover) and (pointer: fine) {
    .icx-xm-hero__lead:hover img,
    .icx-xm-hero__stack a:hover img {
        transform: scale(1.035);
    }
}


/* ==========================================================
   SHARED SECTION HEAD
========================================================== */

.icx-xm-section-head {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(20rem, 0.55fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    margin-bottom: clamp(2rem, 4vw, 3.8rem);
}

.icx-xm-section-head h2,
.icx-xm-research__head h2,
.icx-xm-action__head h2,
.icx-xm-cta h2 {
    max-width: 13ch;
    margin: 0.65rem 0 0;
    color: var(--xm-navy);
    font-family: var(
        --icx-font-display,
        Georgia,
        serif
    );
    font-size: clamp(2.5rem, 4.5vw, 4.4rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.icx-xm-section-head > p {
    margin: 0;
    color: var(--xm-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}


/* ==========================================================
   EXPERIENCE SYSTEM
========================================================== */

.icx-xm-system {
    padding:
        clamp(4rem, 7vw, 7rem)
        0;
    background: var(--xm-cream);
}

.icx-xm-system__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--xm-line);
    border-left: 1px solid var(--xm-line);
}

.icx-xm-dimension {
    min-height: 19rem;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border-right: 1px solid var(--xm-line);
    border-bottom: 1px solid var(--xm-line);
    background: rgba(255, 255, 255, 0.72);
}

.icx-xm-dimension > span {
    display: block;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
    color: var(--xm-orange);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.icx-xm-dimension h3 {
    max-width: 12ch;
    margin: 0;
    color: var(--xm-navy);
    font-family: var(
        --icx-font-display,
        Georgia,
        serif
    );
    font-size: clamp(1.65rem, 2.6vw, 2.6rem);
    line-height: 1.02;
}

.icx-xm-dimension p {
    max-width: 29rem;
    margin: 1rem 0 0;
    color: var(--xm-muted);
    line-height: 1.65;
}


/* ==========================================================
   RESEARCH
========================================================== */

.icx-xm-research {
    padding:
        clamp(4rem, 7vw, 6.5rem)
        0;
    background: var(--xm-navy-dark);
    color: var(--xm-white);
}

.icx-xm-research__head,
.icx-xm-action__head {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.icx-xm-research__head h2 {
    color: var(--xm-white);
}

.icx-xm-research__head > a,
.icx-xm-action__head > a {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.5rem;
    align-items: center;
    color: var(--xm-white);
    font-size: 0.83rem;
    font-weight: 720;
    text-decoration: none;
}

.icx-xm-research__head > a span,
.icx-xm-action__head > a span {
    color: var(--xm-orange);
}

.icx-xm-research__grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    border-top:
        1px solid rgba(255, 255, 255, 0.14);
    border-left:
        1px solid rgba(255, 255, 255, 0.14);
}

.icx-xm-stat {
    position: relative;
    min-height: 19rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border-right:
        1px solid rgba(255, 255, 255, 0.14);
    border-bottom:
        1px solid rgba(255, 255, 255, 0.14);
    color: var(--xm-white);
    text-decoration: none;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.icx-xm-stat:first-child {
    background:
        linear-gradient(
            145deg,
            #0b7297,
            #07506e
        );
}

.icx-xm-stat__number {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    color: var(--xm-white);
    font-variant-numeric: tabular-nums;
}

.icx-xm-stat__number strong {
    font-size: clamp(3.4rem, 5vw, 5.2rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.icx-xm-stat__number small {
    padding-top: 0.2rem;
    color: var(--xm-orange);
    font-size: 1rem;
    font-weight: 800;
}

.icx-xm-stat h3 {
    margin: 0;
    color: var(--xm-white);
    font-size: 1rem;
    line-height: 1.4;
}

.icx-xm-stat p {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
    line-height: 1.5;
}

.icx-xm-stat__arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.35rem;
    left: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 720;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.icx-xm-stat__arrow span {
    color: var(--xm-orange);
}

@media (hover: hover) and (pointer: fine) {
    .icx-xm-stat:hover {
        background: rgba(255, 255, 255, 0.055);
        transform: translateY(-2px);
    }

    .icx-xm-stat:first-child:hover {
        background:
            linear-gradient(
                145deg,
                #0b7fa7,
                #075a79
            );
    }
}


/* ==========================================================
   ICX ROLE
========================================================== */

.icx-xm-role {
    padding:
        clamp(4rem, 7vw, 7rem)
        0;
    background: var(--xm-white);
}

.icx-xm-role__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--xm-line);
    border-left: 1px solid var(--xm-line);
}

.icx-xm-role__grid article {
    padding: clamp(1.45rem, 2.6vw, 2rem);
    border-right: 1px solid var(--xm-line);
    border-bottom: 1px solid var(--xm-line);
}

.icx-xm-role__grid article > span {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--xm-orange);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.icx-xm-role__grid h3 {
    margin: 0;
    color: var(--xm-navy);
    font-size: 1.1rem;
}

.icx-xm-role__grid p {
    margin: 0.7rem 0 0;
    color: var(--xm-muted);
    font-size: 0.88rem;
    line-height: 1.58;
}


/* ==========================================================
   XM IN ACTION
========================================================== */

.icx-xm-action {
    padding:
        clamp(4rem, 7vw, 7rem)
        0;
    background: var(--xm-mint);
}

.icx-xm-action__head h2 {
    max-width: 12ch;
}

.icx-xm-action__head > a {
    color: var(--xm-navy);
}

.icx-xm-action__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        repeat(2, minmax(0, 0.65fr));
    grid-template-rows:
        repeat(2, minmax(13rem, 1fr));
    gap: 6px;
}

.icx-xm-action__item {
    position: relative;
    display: block;
    min-height: 13rem;
    overflow: hidden;
    background: var(--xm-navy);
    text-decoration: none;
}

.icx-xm-action__item--1 {
    grid-row: 1 / 3;
    border-radius: 2px 0 0 24px;
}

.icx-xm-action__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    transition: transform 300ms ease;
}

.icx-xm-action__item::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(3, 31, 45, 0.72)
        );
    content: "";
}

.icx-xm-action__item > span {
    position: absolute;
    right: 0.85rem;
    bottom: 0.8rem;
    left: 0.85rem;
    z-index: 2;
    color: var(--xm-white);
    font-size: 0.66rem;
    font-weight: 760;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
    .icx-xm-action__item:hover img {
        transform: scale(1.035);
    }
}


/* ==========================================================
   PATHWAYS
========================================================== */

.icx-xm-pathways {
    padding:
        clamp(4rem, 7vw, 7rem)
        0;
    background: var(--xm-cream);
}

.icx-xm-pathways__grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--xm-line);
    border-left: 1px solid var(--xm-line);
}

.icx-xm-pathways__grid > a {
    position: relative;
    min-height: 20rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border-right: 1px solid var(--xm-line);
    border-bottom: 1px solid var(--xm-line);
    color: var(--xm-text);
    background: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.icx-xm-pathways__grid small {
    color: var(--xm-orange);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.icx-xm-pathways__grid h3 {
    margin: 2.8rem 0 0;
    color: var(--xm-navy);
    font-family: var(
        --icx-font-display,
        Georgia,
        serif
    );
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    line-height: 1;
}

.icx-xm-pathways__grid p {
    margin: 0.8rem 0 0;
    color: var(--xm-muted);
    font-size: 0.86rem;
    line-height: 1.56;
}

.icx-xm-pathways__grid > a > span {
    position: absolute;
    right: 1.5rem;
    bottom: 1.35rem;
    left: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--xm-blue);
    font-size: 0.72rem;
    font-weight: 750;
}

.icx-xm-pathways__grid > a > span span {
    color: var(--xm-orange);
}

@media (hover: hover) and (pointer: fine) {
    .icx-xm-pathways__grid > a:hover {
        z-index: 2;
        background: var(--xm-white);
        box-shadow:
            inset 0 3px 0 var(--xm-orange);
        transform: translateY(-2px);
    }
}


/* ==========================================================
   CTA
========================================================== */

.icx-xm-cta {
    padding:
        clamp(3.5rem, 6vw, 5.5rem)
        0;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(12, 113, 150, 0.35),
            transparent 28%
        ),
        var(--xm-navy-dark);
    color: var(--xm-white);
}

.icx-xm-cta .icx-container {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 3rem;
    align-items: center;
}

.icx-xm-cta h2 {
    color: var(--xm-white);
}

.icx-xm-cta p {
    max-width: 43rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.icx-xm-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
}

.icx-xm-cta__actions > a:not(.icx-button) {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--xm-white);
    font-weight: 720;
    text-decoration: none;
}

.icx-xm-cta__actions > a:not(.icx-button) span {
    color: var(--xm-orange);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1050px) {
    .icx-xm-hero__grid {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(26rem, 1.1fr);
    }

    .icx-xm-hero__visual {
        min-height: 27rem;
    }

    .icx-xm-hero__lead {
        min-height: 27rem;
    }

    .icx-xm-research__grid,
    .icx-xm-pathways__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .icx-xm-role__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   MOBILE / SMALL TABLET
========================================================== */

@media (max-width: 820px) {
    .icx-xm-hero {
        padding:
            2.8rem
            0
            3.2rem;
    }

    .icx-xm-hero__grid,
    .icx-xm-section-head,
    .icx-xm-cta .icx-container {
        grid-template-columns: 1fr;
    }

    .icx-xm-hero__grid {
        gap: 2.2rem;
    }

    .icx-xm-hero h1 {
        max-width: 9ch;
        font-size:
            clamp(3.1rem, 11vw, 4.7rem);
    }

    .icx-xm-hero__visual {
        min-height: 25rem;
    }

    .icx-xm-hero__lead {
        min-height: 25rem;
    }

    .icx-xm-section-head {
        gap: 1rem;
    }

    .icx-xm-system__grid {
        grid-template-columns: 1fr;
    }

    .icx-xm-dimension {
        min-height: auto;
    }

    .icx-xm-dimension > span {
        margin-bottom: 2rem;
    }

    .icx-xm-research__head,
    .icx-xm-action__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .icx-xm-action__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .icx-xm-action__item--1 {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 24rem;
    }

    .icx-xm-cta .icx-container {
        gap: 1.8rem;
    }
}


/* ==========================================================
   PHONE
========================================================== */

@media (max-width: 600px) {
    .icx-xm-eyebrow {
        font-size: 0.65rem;
    }

    .icx-xm-hero h1 {
        font-size:
            clamp(2.8rem, 13vw, 3.8rem);
    }

    .icx-xm-hero__copy > p {
        font-size: 0.95rem;
    }

    .icx-xm-hero__actions {
        align-items: stretch;
    }

    .icx-xm-hero__actions
    .icx-button {
        width: 100%;
        justify-content: center;
    }

    .icx-xm-text-link {
        justify-content: center;
        min-height: 42px;
    }

    .icx-xm-hero__visual {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(6.5rem, 0.55fr);
        min-height: 20rem;
    }

    .icx-xm-hero__lead {
        min-height: 20rem;
        border-radius: 2px 18px 2px 2px;
    }

    .icx-xm-hero__lead > span,
    .icx-xm-hero__stack a > span {
        font-size: 0.55rem;
    }

    .icx-xm-system,
    .icx-xm-research,
    .icx-xm-role,
    .icx-xm-action,
    .icx-xm-pathways {
        padding:
            3.2rem
            0;
    }

    .icx-xm-section-head h2,
    .icx-xm-research__head h2,
    .icx-xm-action__head h2,
    .icx-xm-cta h2 {
        font-size:
            clamp(2.2rem, 9.5vw, 3rem);
    }

    .icx-xm-research__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .icx-xm-stat {
        min-height: 17rem;
        padding: 1rem;
    }

    .icx-xm-stat__number strong {
        font-size:
            clamp(2.9rem, 13vw, 3.7rem);
    }

    .icx-xm-stat h3 {
        font-size: 0.88rem;
    }

    .icx-xm-stat p {
        font-size: 0.72rem;
    }

    .icx-xm-stat__arrow {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        font-size: 0.58rem;
    }

    .icx-xm-role__grid {
        grid-template-columns: 1fr;
    }

    .icx-xm-role__grid article > span {
        margin-bottom: 1rem;
    }

    .icx-xm-action__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .icx-xm-action__item--1 {
        min-height: 18rem;
    }

    .icx-xm-action__item {
        min-height: 10.5rem;
    }

    .icx-xm-pathways__grid {
        grid-template-columns: 1fr;
    }

    .icx-xm-pathways__grid > a {
        min-height: 15rem;
    }

    .icx-xm-pathways__grid h3 {
        margin-top: 1.8rem;
    }

    .icx-xm-cta {
        padding:
            3rem
            0;
    }

    .icx-xm-cta__actions {
        align-items: stretch;
    }

    .icx-xm-cta__actions
    .icx-button {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================
   VERY NARROW PHONE
========================================================== */

@media (max-width: 370px) {
    .icx-xm-research__grid,
    .icx-xm-action__grid {
        grid-template-columns: 1fr;
    }

    .icx-xm-action__item--1 {
        grid-column: auto;
    }
}


/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {
    .icx-xm-page *,
    .icx-xm-page *::before,
    .icx-xm-page *::after {
        transition: none !important;
    }
}
