.nav-glass {
    background: linear-gradient(180deg, rgba(8,22,34,0.95) 0%, rgba(11,31,46,0.93) 100%) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.mobile-menu-panel {
    background: linear-gradient(180deg, rgba(13,39,56,0.98) 0%, rgba(10,31,46,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}

.mobile-app-nav > .mobile-app-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 15, 24, 0.56);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 70;
}

.mobile-app-nav > .mobile-app-nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(23rem, 88vw);
    height: 100dvh;
    padding: 5.4rem 1rem 1.2rem;
    background: linear-gradient(180deg, rgba(13,39,56,0.985) 0%, rgba(9,29,43,0.985) 100%);
    border-left: 1px solid rgba(255,255,255,0.16);
    box-shadow: -16px 0 48px rgba(0,0,0,0.42);
    transform: translateX(104%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
    overflow-y: auto;
    z-index: 71;
}

.mobile-app-nav > .mobile-app-nav__drawer .mobile-app-nav__head {
    margin: 0 0 0.9rem;
    padding: 0 0.25rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-app-nav__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.mobile-app-nav__lead {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
    font-weight: 600;
}

.mobile-app-nav[open] > .mobile-app-nav__backdrop {
    opacity: 1;
    pointer-events: auto;
}

.mobile-app-nav[open] > .mobile-app-nav__drawer {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Fallback palette for custom Tailwind classes loaded via CDN. */
.bg-dm-stone { background-color: #12344A; }
.bg-dm-ivory { background-color: #F7FBFD; }
.bg-dm-warm { background-color: #EAF4F9; }
.bg-dm-olive { background-color: #0F517B; }
.bg-dm-olive-dark { background-color: #0A3E5F; }
.bg-dm-bronze-light { background-color: #E2BD69; }

.text-dm-stone { color: #12344A; }
.text-dm-stone-mid { color: #496A7E; }
.text-dm-olive { color: #0F517B; }
.text-dm-olive-dark { color: #0A3E5F; }
.text-dm-bronze-light { color: #E2BD69; }

.border-dm-warm-dark { border-color: #D6E7F1; }
.border-dm-olive { border-color: #0F517B; }

.site-nav-link {
    transition: color .2s ease, opacity .2s ease;
}

.site-nav-link.is-current {
    color: rgba(255,255,255,1);
}

.site-nav-cta {
    white-space: nowrap;
}

[data-site-menu-mobile] {
    display: grid;
    gap: .4rem;
}

[data-site-menu-mobile] .site-nav-link {
    display: block;
    padding: .9rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.05);
}

[data-site-menu-mobile] .site-nav-link.is-current {
    background: rgba(255,255,255,.10);
}

[data-site-menu-mobile] .site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .5rem;
}

.site-footer {
    background: #12344A;
    border-top: 1px solid rgba(255,255,255,.10);
}

.site-footer a {
    transition: color .2s ease;
}

.site-footer a:hover {
    color: rgba(255,255,255,.85);
}

/* Internal hero sections use text-white on the wrapper; white cards need a dark base color. */
.page-hero .bg-white {
    color: #12344A;
}
