/* wm-header.css: the site header, hamburger and mobile menu. One copy for every section; Careers and Academy change only the accent variables. */
    .wm-dropdown {
        position: relative;
        cursor: pointer;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .wm-dropdown-menu {
        position: absolute;
        top: calc(100% + 22px);
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin: 0;
        list-style: none;
        background: rgba(10, 14, 28, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        padding: 8px;
        min-width: 290px;
        box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s linear 0.22s;
        z-index: 10000;
    }

    .wm-nav ul.wm-dropdown-menu {
        gap: 2px !important;
        height: auto !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }

    /* invisible bridge so the menu never closes while the pointer travels to it */
    .wm-dropdown-menu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -26px;
        height: 26px;
    }

    .wm-dropdown:hover .wm-dropdown-menu,
    .wm-dropdown:focus-within .wm-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
        transition-delay: 0s;
    }

    .wm-dropdown-menu li {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        margin: 0;
        padding: 0;
    }

    .wm-dropdown-menu li a {
        height: auto !important;
        line-height: 1.25 !important;
    }

    .wm-dropdown-menu li a::before,
    .wm-dropdown-menu li a::after {
        display: none !important;
    }

    .wm-dropdown-menu li a {
        display: block;
        padding: 11px 16px !important;
        border-radius: 12px;
        color: #c9ccd2 !important;
        white-space: nowrap;
        font-size: 0.95rem;
        text-align: left;
        transition: background-color 0.18s, color 0.18s;
        font-weight: 500 !important;
        text-decoration: none !important;
    }

    .wm-dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff !important;
    }

    /* ── Solutions leads the navigation ── */
    .wm-skip { position: absolute; left: 12px; top: -60px; z-index: 10001; background: #fff; color: #0a1636; font-weight: 700; padding: 10px 18px; border-radius: 9999px; text-decoration: none; transition: top 0.2s; }
    .wm-skip:focus { top: 12px; }

    @media (min-width: 1025px) {
        .wm-header__bar { justify-content: flex-start !important; }
        .wm-header__nav { margin-left: clamp(1.5rem, 3.5vw, 3.5rem); }
        .wm-header__nav > ul { gap: clamp(1rem, 2vw, 2rem) !important; align-items: center; }
        .wm-header__right { margin-left: auto; }
    }

    .wm-dropdown--lead > a.wm-solutions-trigger {
        display: inline-flex !important;
        align-items: center;
        gap: 0.45rem;
        padding: 0.55rem 1rem 0.55rem 1.15rem !important;
        border-radius: 9999px;
        background: rgba(var(--glow, 23, 96, 255), 0.18);
        border: 1px solid rgba(var(--glow, 23, 96, 255), 0.55);
        color: #fff !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: background-color 0.2s, border-color 0.2s;
    }
    .wm-dropdown--lead > a.wm-solutions-trigger::after { display: none !important; }
    .wm-dropdown--lead > a.wm-solutions-trigger svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
    .wm-dropdown--lead:hover > a.wm-solutions-trigger,
    .wm-dropdown--lead:focus-within > a.wm-solutions-trigger { background: rgba(var(--glow, 23, 96, 255), 0.32); border-color: rgba(96, 148, 255, 0.85); }
    .wm-dropdown--lead:hover > a.wm-solutions-trigger svg,
    .wm-dropdown--lead:focus-within > a.wm-solutions-trigger svg { transform: rotate(180deg); }

    .wm-nav ul.wm-mega {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px !important;
        min-width: 660px;
        padding: 10px !important;
        left: 0;
        transform: translateY(8px);
    }
    .wm-dropdown:hover .wm-mega,
    .wm-dropdown:focus-within .wm-mega { transform: translateY(0); }
    .wm-mega li a { display: block !important; padding: 14px 16px !important; }
    .wm-mega li a b { display: block; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
    .wm-mega li a span { display: block; color: #9aa0ab; font-size: 0.84rem; font-weight: 400; line-height: 1.35; white-space: normal; }
    .wm-mega li a:hover, .wm-mega li a:focus-visible, .wm-mega li a[aria-current="page"] { background: rgba(var(--glow, 23, 96, 255), 0.16) !important; }
    .wm-mega li.wm-mega__foot { grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .wm-mega li.wm-mega__foot a { display: flex !important; justify-content: space-between; align-items: center; gap: 1rem; padding: 14px 16px !important; color: #9aa0ab !important; font-size: 0.9rem !important; }
    .wm-mega li.wm-mega__foot a b { display: inline; color: var(--blue-soft, #4c86ff); margin: 0; font-size: 0.92rem; }

    /* ── phones: keep logo, CTA and menu button all on screen ── */
    @media (max-width: 640px) {
        header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__left,
        header.wm-header .wm-header-inner.wm-header__bar .wm-header__left { padding-left: 16px !important; }
        header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__left a.wm-logo img,
        header.wm-header .wm-header-inner.wm-header__bar .wm-header__left a.wm-logo img { height: 19px !important; width: auto !important; }
        header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__right,
        header.wm-header .wm-header-inner.wm-header__bar .wm-header__right { gap: 8px !important; padding-right: 12px !important; flex: none; }
        header.wm-header .wm-header__right .wm-cta { padding: 9px 14px !important; font-size: 0.75rem !important; white-space: nowrap; min-height: 0 !important; width: auto !important; }
        header.wm-header .wm-header__right .wm-hamburger { flex: none; }
    }

    /* PRE-FLIGHT MOBILE NAV: solid glass, Solutions as the highlighted item, indented sub-links */
    .wm-mobile-nav { background: rgba(5, 8, 20, 0.96) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
    .wm-mobile-accordion__trigger { display: inline-flex !important; align-items: center; gap: 0.6rem; padding: 0.35rem 1.1rem 0.35rem 1.2rem !important; border-radius: 9999px; background: rgba(var(--glow, 23, 96, 255), 0.22) !important; border: 1px solid rgba(96, 148, 255, 0.7) !important; color: #fff !important; }
    .wm-mobile-accordion__panel a { font-size: 1.05rem !important; font-weight: 500 !important; color: #c9ccd2 !important; padding-left: 1.4rem !important; line-height: 1.5 !important; }
    .wm-mobile-accordion__panel a:hover, .wm-mobile-accordion__panel a:focus-visible { color: #fff !important; }
    .wm-mobile-nav a:focus-visible, .wm-mobile-nav button:focus-visible { outline: 2px solid #8fb1ff; outline-offset: 4px; border-radius: 8px; }

    /* PREMIUM HAMBURGER: glass ring, two-line mark that morphs to a close X, smooth hover, real focus ring */
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger { position: relative; display: flex !important; align-items: center !important; justify-content: center !important; width: 48px !important; height: 48px !important; padding: 0 !important; border-radius: 50% !important; border: 1px solid rgba(255, 255, 255, 0.22) !important; background: rgba(255, 255, 255, 0.06) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer; transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger:hover { background: rgba(255, 255, 255, 0.15) !important; border-color: rgba(255, 255, 255, 0.45) !important; transform: none !important; color: #fff !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger:active { transform: scale(0.93) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger:focus-visible { outline: 2px solid #8fb1ff !important; outline-offset: 3px; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger[aria-expanded="true"] { background: var(--blue, #1760FF) !important; border-color: var(--blue, #1760FF) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger[aria-expanded="true"]:hover { background: var(--blue-deep, #0f4de0) !important; border-color: var(--blue-deep, #0f4de0) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars { position: relative; display: block; width: 22px !important; height: 14px !important; background: transparent !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars::before, header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars::after { content: ''; position: absolute !important; left: 0 !important; top: 50% !important; margin-top: -1px; height: 2px !important; border-radius: 2px; background: #fff !important; opacity: 1 !important; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; will-change: transform; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars::before { width: 22px !important; transform: translateY(-4px) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars::after { width: 14px !important; transform: translateY(4px) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger:hover .wm-hamburger__bars::before { width: 22px !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger:hover .wm-hamburger__bars::after { width: 22px !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars::before { width: 22px !important; transform: translateY(0) rotate(45deg) !important; }
    header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars::after { width: 22px !important; transform: translateY(0) rotate(-45deg) !important; }

    /* menu content arrives in sequence */
    .wm-mobile-nav__links > *, .wm-mobile-nav__info > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
    body.menu-open .wm-mobile-nav__links > *, body.menu-open .wm-mobile-nav__info > * { opacity: 1; transform: none; }
    body.menu-open .wm-mobile-nav__links > *:nth-child(1) { transition-delay: 0.10s; }
    body.menu-open .wm-mobile-nav__links > *:nth-child(2) { transition-delay: 0.16s; }
    body.menu-open .wm-mobile-nav__links > *:nth-child(3) { transition-delay: 0.22s; }
    body.menu-open .wm-mobile-nav__links > *:nth-child(4) { transition-delay: 0.28s; }
    body.menu-open .wm-mobile-nav__links > *:nth-child(5) { transition-delay: 0.34s; }
    body.menu-open .wm-mobile-nav__info > * { transition-delay: 0.4s; }
    body.menu-open .wm-mobile-nav__links > a:hover { transform: translateX(8px); transition-delay: 0s; }
    @media (prefers-reduced-motion: reduce) { .wm-mobile-nav__links > *, .wm-mobile-nav__info > *, header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger, header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars::before, header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger .wm-hamburger__bars::after { transition: none !important; } .wm-mobile-nav__links > *, .wm-mobile-nav__info > * { opacity: 1; transform: none; } }

    /* MENU ACCORDION: self-contained (no dependency on brands-sweep.css) */
    .wm-mobile-accordion__trigger { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; font-family: var(--wm-font, 'neue-haas-grotesk-display', 'Helvetica Neue', Arial, sans-serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; text-align: left; -webkit-tap-highlight-color: transparent; }
    @media (min-width: 1025px) { .wm-mobile-accordion__trigger { font-size: clamp(1.5rem, 3vw, 2.5rem) !important; line-height: 1.15; } }
    .wm-mobile-accordion__trigger:hover, .wm-mobile-accordion__trigger:focus-visible { color: #fff !important; background: rgba(var(--glow, 23, 96, 255), 0.34) !important; border-color: rgba(120, 165, 255, 0.9) !important; }
    .wm-mobile-accordion__chevron { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
    @media (min-width: 1025px) { .wm-mobile-accordion__chevron { width: 30px; height: 30px; } }
    .wm-mobile-accordion__chevron svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
    .wm-mobile-accordion.is-open .wm-mobile-accordion__chevron { transform: rotate(180deg); }
    .wm-mobile-accordion__panel { display: flex; flex-direction: column; max-height: 0; overflow: hidden; margin-top: 0; padding-left: 14px; opacity: 0; transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; }
    .wm-mobile-accordion.is-open .wm-mobile-accordion__panel { max-height: 420px; margin-top: 12px; opacity: 1; }
    .wm-mobile-accordion__panel a { display: block !important; width: max-content; max-width: 100%; white-space: normal !important; margin: 0; padding: 9px 0 9px 20px !important; border-left: 1px solid rgba(255, 255, 255, 0.18); font-size: 1.05rem !important; font-weight: 500 !important; color: #c9ccd2 !important; transition: color 0.25s, border-color 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
    .wm-mobile-accordion__panel a:hover, .wm-mobile-accordion__panel a:focus-visible { color: #fff !important; border-left-color: var(--blue, #1760FF); transform: translateX(6px); }
    @media (min-width: 1025px) { .wm-mobile-accordion__panel { padding-left: 22px; } .wm-mobile-accordion__panel a { font-size: 1.2rem !important; } }
    @media (prefers-reduced-motion: reduce) { .wm-mobile-accordion__panel, .wm-mobile-accordion__chevron, .wm-mobile-accordion__panel a { transition: none !important; } }
    /* CTA LABEL SWAP: full label on wide screens, short label below 1280px */
    .wm-cta .cta-short { display: none; }
    @media (max-width: 1279px) { .wm-cta .cta-long { display: none; } .wm-cta .cta-short { display: inline; } }
    /* MOBILE MENU CTA + tiny-screen header: pill moves into the menu below 360px */
    .wm-mobile-nav__links > a.wm-mobile-cta { display: flex !important; align-items: center; justify-content: center; margin-top: 1.25rem; padding: 1rem 1.5rem !important; border-radius: 9999px; background: var(--blue, #1760FF) !important; color: var(--on-blue, #fff) !important; border: 0 !important; font-size: 1.05rem !important; font-weight: 700; text-align: center; line-height: 1.2; transform: none; }
    .wm-mobile-nav__links > a.wm-mobile-cta:hover, .wm-mobile-nav__links > a.wm-mobile-cta:focus-visible { background: var(--blue-deep, #0f4de0) !important; color: var(--on-blue, #fff) !important; }
    @media (max-width: 359px) { header.wm-header .wm-header__right > a.wm-cta { display: none !important; } }

    /* the header button takes the section accent (blue on Brands, green on Careers, orange on Academy) */
    header.wm-header .wm-header__right a.wm-cta { background: var(--blue, #1760FF) !important; border-color: var(--blue, #1760FF) !important; color: var(--on-blue, #fff) !important; }
    header.wm-header .wm-header__right a.wm-cta:hover, header.wm-header .wm-header__right a.wm-cta:focus-visible { background: var(--blue-deep, #0f4de0) !important; border-color: var(--blue-deep, #0f4de0) !important; color: var(--on-blue, #fff) !important; }
