/* #region Nav */

.nav {
    display: flex;
    flex-direction: row;
    min-height: 5rem;
    padding: 1.16rem 0;
    /* border-bottom: var(--border-width) solid var(--edge); */
    box-shadow: 0 var(--border-width) 0 var(--edge-multiply);
}

.nav__inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--gap-m);
}

.nav__inner--desktop {
    justify-content: center;
}

.nav__inner--mobile {
    display: none;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
}

.nav__logo-image {
    height: 2.26rem;
    display: block;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap-m);
    align-items: center;
}

.menu--left,
.menu--right {
    flex: 1 1 0;
}

.menu--left {
    justify-content: flex-start;
}

.menu--right {
    justify-content: flex-end;
}

.menu__item {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.menu__link {
    font-size: var(--bodytext-fontsize);
    font-weight: var(--bodytext-fontweight);
    line-height: var(--bodytext-lineheight);
    font-family: var(--bodytext-fontfamily);
    letter-spacing: var(--bodytext-letterspacing);
    color: var(--bodytext-color);
    text-decoration: none;
}

.menu__link:hover,
.menu__link:focus-visible {
    text-decoration: none;
    color: var(--smoke);
}

.news-flash__link {
    display: inline-flex;
    align-items: center;
    gap: 0.54rem;
}

.news-flash__dot {
    width: 0.3rem;
    height: 0.3rem;
    position: relative;
    top: 0.03rem;
    border-radius: 999rem;
    background-color: var(--lipgloss);
    box-shadow: 0 0 0 0 var(--lipgloss-fade-15);
    animation: news-flash-dot-pulse 2.2s ease-in-out infinite;
    flex: 0 0 auto;
}

.mobile-menu__toggle,
.mobile-menu__close {
    appearance: none;
    border: var(--border-width) solid var(--edge);
    background-color: var(--white);
    color: var(--plum);
    cursor: pointer;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
}

.mobile-menu__toggle:hover,
.mobile-menu__toggle:focus-visible,
.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
    border-color: var(--edge-darken-1);
    background-color: var(--cloud-lighten-1);
}

.mobile-menu__toggle-lines {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
}

.mobile-menu__toggle-line {
    display: block;
    width: 1.2rem;
    height: 0.12rem;
    border-radius: 999rem;
    background-color: currentColor;
}

.mobile-menu__dialog {
    border: 0;
    padding: 0;
    margin: 0;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    background-color: transparent;
    transition: background-color 0.52s cubic-bezier(0.61, 1, 0.88, 1);
    overflow: hidden;
}

.mobile-menu__dialog::backdrop {
    background-color: transparent;
}

.mobile-menu__panel {
    height: 100%;
    background-color: var(--white);
    color: var(--plum);
    display: flex;
    flex-direction: column;
    will-change: transform;
    backface-visibility: hidden;
}

.mobile-menu__panel--entering {
    animation: mobile-menu-panel-enter 0.52s cubic-bezier(0.61, 1, 0.88, 1) both;
}

.mobile-menu__dialog--entering {
    background-color: var(--plum-fade-25);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-s);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 0;
    border-bottom: var(--border-width) solid var(--edge);
}

.mobile-menu__close {
    position: relative;
}

.mobile-menu__close-line {
    position: absolute;
    width: 1rem;
    height: 0.12rem;
    border-radius: 999rem;
    background-color: currentColor;
}

.mobile-menu__close-line--a {
    transform: rotate(45deg);
}

.mobile-menu__close-line--b {
    transform: rotate(-45deg);
}

.mobile-menu__body {
    flex: 1 1 auto;
    overflow-y: auto;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
}

.mobile-menu__list,
.mobile-menu__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__item {
    border-top: var(--border-width) solid var(--edge);
}

.mobile-menu__item:first-child {
    border-top: none;
}

.mobile-menu__link {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--plum);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-s);
    padding: 1.1rem 0;
    font-size: 1.16rem;
    font-weight: 500;
    line-height: 1.4rem;
    font-family: var(--figtree);
    letter-spacing: calc(1.16rem * -0.01);
    text-decoration: none;
    cursor: pointer;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
    color: var(--smoke-darken-1);
}

.mobile-menu__solutions-toggle {
    padding-right: 0.15rem;
}

.mobile-menu__chevron {
    width: 0.52rem;
    height: 0.52rem;
    border-right: 0.12rem solid currentColor;
    border-bottom: 0.12rem solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease-out;
    margin-top: -0.2rem;
}

.mobile-menu__solutions-toggle[aria-expanded="true"] .mobile-menu__chevron {
    transform: rotate(-135deg);
    margin-top: 0.16rem;
}

.mobile-menu__sublist {
    border-top: var(--border-width) solid var(--edge);
    padding-left: 2.6rem;
}

.mobile-menu__subitem + .mobile-menu__subitem {
    border-top: var(--border-width) solid var(--edge-lighten-1);
}

.mobile-menu__sublink {
    display: block;
    padding: 0.88rem 0;
    color: var(--smoke-darken-1);
    font-size: 1.16rem;
    font-weight: 500;
    line-height: 1.4rem;
    font-family: var(--figtree);
    letter-spacing: calc(1.16rem * -0.01);
    text-decoration: none;
}

.mobile-menu__sublink:hover,
.mobile-menu__sublink:focus-visible {
    color: var(--plum);
}

body.mobile-menu-open {
    overflow: hidden;
}

@keyframes mobile-menu-panel-enter {
    from {
        transform: translate3d(8rem, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes news-flash-dot-pulse {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.42;
        box-shadow: 0 0 0 0 var(--lipgloss-fade-15);
    }

    50% {
        transform: scale(1.28);
        opacity: 1;
        box-shadow: 0 0 0 0.36rem var(--lipgloss-fade-0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-flash__dot {
        animation: none;
    }
}

@media (max-width: 60rem) {
    .nav {
        min-height: 4.4rem;
        padding: 0.85rem 0;
    }

    .nav__inner--desktop {
        display: none;
    }

    .nav__inner--mobile {
        display: flex;
    }
}

/* #endregion */

/* #region Sticky nav */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    transform: translate3d(0, calc(-100% - 0.16rem), 0);
    pointer-events: none;
    will-change: transform;
}

.sticky-nav__bar {
    background-color: var(--white);
}

.sticky-nav--interactive {
    pointer-events: auto;
}

@media (max-width: 60rem) {
    .sticky-nav {
        display: none;
    }
}

/* #endregion */

/* #region Footer */

.footer {
    /* border-top: var(--border-width) var(--edge) solid; */
}

.footer__cta {
    grid-row: 1;
    grid-column: -2 / -1;
}

.footer .hyphenate {
    @media (min-width: 90rem) {
        --hyphens: manual;
    }
}

.footer__logosquare {
    max-width: min(8rem, 15vw);
    margin-top: -0.25rem;
    @media (max-width: 80rem) {
        max-width: 6rem;
    }
    @media (max-width: 70rem) {
        max-width: 7.5rem;
    }
    @media (max-width: 50rem) {
        max-width: 6.3rem;
    }
}

@media (max-width: 50rem) {
    .footer .layout--6col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* #region End footer */
