/* NEP Designs Co. shared inner-page header — v5.1.3
   The landing page does not load this stylesheet. */
:root {
    --site-header-height: 72px;
    --site-header-inline: clamp(20px, 2.7vw, 52px);
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 10050;
    padding: .7rem .9rem;
    border: 1px solid rgba(255,255,255,.45);
    background: #08080b;
    color: #fff;
    font: 700 .75rem/1 "Rajdhani", "Arial Narrow", sans-serif;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-170%);
    transition: opacity 160ms ease, transform 160ms ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Transparent at the top. The surface only appears after scrolling. */
html body .site-header.site-header--shared {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 1000 !important;
    display: flex !important;
    width: 100% !important;
    height: var(--site-header-height) !important;
    min-height: var(--site-header-height) !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    padding: 0 var(--site-header-inline) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: background-color 190ms ease, border-color 190ms ease, backdrop-filter 190ms ease !important;
}

html body .site-header.site-header--shared.is-scrolled,
html body.nav-open .site-header.site-header--shared {
    border-bottom: 1px solid rgba(255,255,255,.075) !important;
    background: rgba(8,8,11,.92) !important;
    -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
    backdrop-filter: blur(18px) saturate(125%) !important;
}

html body .site-header.site-header--shared .brand {
    position: relative !important;
    z-index: 1002 !important;
    display: inline-flex !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    gap: 11px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Rajdhani", "Arial Narrow", sans-serif !important;
    font-size: .69rem !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

html body .site-header.site-header--shared .brand img {
    display: block !important;
    width: 43px !important;
    height: 43px !important;
    min-width: 43px !important;
    flex: 0 0 43px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)) !important;
}

html body .site-header.site-header--shared .site-nav {
    position: static !important;
    display: flex !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    flex: 0 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(18px, 1.55vw, 29px) !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

html body .site-header.site-header--shared .site-nav a {
    position: relative !important;
    display: inline-flex !important;
    width: auto !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-family: "Rajdhani", "Arial Narrow", sans-serif !important;
    font-size: .67rem !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    transition: color 160ms ease !important;
}

/* No active-page line and no hover underline. */
html body .site-header.site-header--shared .site-nav a::before,
html body .site-header.site-header--shared .site-nav a::after {
    display: none !important;
    content: none !important;
}

html body .site-header.site-header--shared .site-nav a:hover,
html body .site-header.site-header--shared .site-nav a:focus-visible,
html body .site-header.site-header--shared .site-nav a[aria-current="page"] {
    color: #fff !important;
    outline: 0 !important;
}

html body .site-header.site-header--shared .nav-toggle {
    display: none !important;
}

@media (max-width: 1180px) {
    html body .site-header.site-header--shared .nav-toggle {
        position: relative !important;
        z-index: 1003 !important;
        display: block !important;
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #fff !important;
        cursor: pointer !important;
    }

    html body .site-header.site-header--shared .nav-toggle > span:not(.sr-only) {
        position: absolute !important;
        right: 7px !important;
        display: block !important;
        width: 25px !important;
        height: 1px !important;
        background: currentColor !important;
        transition: transform 180ms ease, top 180ms ease !important;
    }
    html body .site-header.site-header--shared .nav-toggle > span:first-child { top: 17px !important; }
    html body .site-header.site-header--shared .nav-toggle > span:nth-child(2) { top: 27px !important; }
    html body .site-header.site-header--shared .nav-toggle[aria-expanded="true"] > span:first-child { top: 22px !important; transform: rotate(45deg) !important; }
    html body .site-header.site-header--shared .nav-toggle[aria-expanded="true"] > span:nth-child(2) { top: 22px !important; transform: rotate(-45deg) !important; }

    html body .site-header.site-header--shared .site-nav {
        position: fixed !important;
        inset: var(--site-header-height) 0 0 !important;
        z-index: 1001 !important;
        display: flex !important;
        width: 100% !important;
        height: calc(100dvh - var(--site-header-height)) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 2px !important;
        padding: clamp(34px, 7vh, 72px) clamp(24px, 8vw, 84px) 44px !important;
        overflow-y: auto !important;
        background: #08080b !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
        transition: opacity 170ms ease, transform 170ms ease !important;
    }
    html body .site-header.site-header--shared .site-nav.is-open {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    html body .site-header.site-header--shared .site-nav a {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: flex-start !important;
        font-size: clamp(1.2rem, 5vw, 1.7rem) !important;
        letter-spacing: .1em !important;
    }
    body.nav-open { overflow: hidden !important; }
}

@media (max-width: 520px) {
    :root { --site-header-height: 68px; --site-header-inline: 16px; }
    html body .site-header.site-header--shared .brand { gap: 8px !important; font-size: .63rem !important; letter-spacing: .15em !important; }
    html body .site-header.site-header--shared .brand span { max-width: 150px !important; overflow: hidden !important; text-overflow: ellipsis !important; }
    html body .site-header.site-header--shared .brand img { width: 38px !important; height: 38px !important; min-width: 38px !important; flex-basis: 38px !important; }
}

@media (prefers-reduced-motion: reduce) {
    html body .site-header.site-header--shared,
    html body .site-header.site-header--shared .site-nav,
    html body .site-header.site-header--shared .site-nav a,
    html body .site-header.site-header--shared .nav-toggle > span:not(.sr-only) { transition: none !important; }
}
