/* Enqueued at the same 1024px breakpoint as the theme's mobile header. */
#sah-mobile-navigation {
    --menu-inset: clamp(1.5rem, 6.15vw, 4rem);
    --menu-forest: #1b3631;
    --menu-current: #152e29;
    --menu-ivory: #f7f5eb;
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--menu-forest);
    color: var(--menu-ivory);
    overflow: auto;
    overscroll-behavior: contain;
}
#sah-mobile-navigation::backdrop { background: #1b3631 }
html:has(#sah-mobile-navigation[open]) { overflow: hidden }
#sah-mobile-navigation .sah-menu-inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: calc(.75rem + env(safe-area-inset-top, 0px))
        max(var(--menu-inset), env(safe-area-inset-right, 0px))
        calc(1.5rem + env(safe-area-inset-bottom, 0px))
        max(var(--menu-inset), env(safe-area-inset-left, 0px));
}
#sah-mobile-navigation .sah-menu-close {
    appearance: none;
    box-sizing: border-box;
    position: relative;
    align-self: flex-end;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0 -.5rem 1.25rem 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #162e2a;
    color: inherit;
    cursor: pointer;
}
.sah-menu-close::before, .sah-menu-close::after {
    position: absolute;
    content: "";
    width: 22px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}
.sah-menu-close::after { transform: translate(-50%, -50%) rotate(-45deg) }
#sah-mobile-navigation nav { flex: none }
#sah-handheld-links, #sah-handheld-links > li { list-style: none; margin: 0; padding: 0 }
#sah-handheld-links > li > a {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: clamp(3.875rem, calc(2.75rem + 4.5vw), 5.375rem);
    margin-inline: -.75rem;
    padding: .12em 2.65rem .12em .75rem;
    border-radius: .85rem;
    color: var(--menu-ivory);
    font: 400 clamp(2.375rem, calc(1.6rem + 3.1vw), 3.5rem)/1.15 "SAH Milesdane", Baskerville, Georgia, serif;
    letter-spacing: .025em;
    text-decoration: none;
    text-transform: none;
}
#sah-handheld-links > li > a[aria-current="page"] { background: var(--menu-current) }
#sah-handheld-links > li > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset-inline-end: .9rem;
    top: 50%;
    transform: translateY(-50%);
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--sah-lime);
}
#sah-mobile-navigation .sah-menu-action {
    flex: none;
    margin-top: auto;
    padding-top: 2rem;
}
#sah-mobile-navigation .sah-menu-quote {
    box-sizing: border-box;
    width: 100%;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    padding: .8rem 1.4rem;
    background: var(--sah-lime);
    color: #182d26;
    border-radius: 100vmax;
    font: 600 1rem/1.25 var(--sah-sans);
    text-decoration: none;
}
#sah-mobile-navigation .sah-menu-quote span { font-size: 1.2em; line-height: 1 }
#sah-mobile-navigation :is(a,button):focus-visible { outline: 2px solid var(--menu-ivory); outline-offset: 2px }
#request-a-quote { scroll-margin-top: 1rem }
@media (prefers-reduced-motion: no-preference) {
    #sah-mobile-navigation[open] .sah-menu-inner { animation: sah-menu-appear 150ms ease-out }
    @keyframes sah-menu-appear { from { opacity: .8 } to { opacity: 1 } }
    html.sah-leaving #sah-mobile-navigation[open]::after {
        content: "";
        position: fixed;
        inset: 0;
        background: #1f312d;
        pointer-events: none;
        animation: sah-curtain-enter 165ms cubic-bezier(.55,0,.85,.6) both;
    }
}
