/* Shared Editorial Navigation Dock */
:root {
    --nav-ink: #071a33;
    --nav-surface: #0b2347;
    --nav-hover: #163d6b;
    --nav-text: #f6f3ea;
    --nav-muted: #c7d1e2;
    --nav-gold: #d4af37;
}

.nav-refresh-header {
    background: transparent;
    border: 0;
    padding: 0.9rem 1rem 0;
    position: relative;
    top: auto;
    z-index: 50;
}

.nav-refresh {
    align-items: center;
    background: linear-gradient(135deg, rgba(7, 26, 51, 0.98), rgba(11, 35, 71, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 24px 16px 24px 16px;
    box-shadow: 0 16px 42px rgba(3, 13, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 1rem;
    margin: 0 auto;
    max-width: 1320px;
    min-height: 72px;
    padding: 0.55rem 0.65rem 0.55rem 0.85rem;
    flex-direction: row;
    position: relative;
    backdrop-filter: blur(18px);
}

.nav-refresh::before {
    background: var(--nav-gold);
    border-radius: 999px;
    content: '';
    height: 32px;
    left: 0.55rem;
    opacity: 0.92;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
}

.nav-refresh .brand,
.nav-refresh .kit-brand,
.nav-refresh .insights-brand {
    align-items: center;
    color: var(--nav-text);
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.72rem;
    padding-left: 0.22rem;
    text-decoration: none;
}

.nav-refresh .brand-favicon,
.nav-refresh .nav-favicon {
    border-radius: 0.8rem;
    display: block;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.nav-refresh .kit-brand,
.nav-refresh .insights-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    white-space: nowrap;
}

.nav-refresh .brand-copy {
    display: grid;
    gap: 0;
    line-height: 1;
}

.nav-refresh .brand-copy strong {
    color: var(--nav-text);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 1.9vw, 1.55rem);
    letter-spacing: 0.055em;
    white-space: nowrap;
}

.nav-refresh .nav-links,
.nav-refresh .kit-nav-links,
.nav-refresh .insights-nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-refresh .nav-links a,
.nav-refresh .kit-nav-links a,
.nav-refresh .insights-nav-links a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--nav-muted);
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 700;
    gap: 0.28rem;
    letter-spacing: 0.035em;
    line-height: 1;
    padding: 0.7rem 0.74rem;
    text-decoration: none;
    text-transform: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.nav-refresh .nav-links a:hover,
.nav-refresh .nav-links a:focus-visible,
.nav-refresh .kit-nav-links a:hover,
.nav-refresh .kit-nav-links a:focus-visible,
.nav-refresh .insights-nav-links a:hover,
.nav-refresh .insights-nav-links a:focus-visible {
    background: var(--nav-hover);
    border-color: rgba(212, 175, 55, 0.32);
    color: var(--nav-text);
    transform: translateY(-1px);
}

.nav-refresh .nav-link.is-active,
.nav-refresh .kit-nav-links a:first-child,
.nav-refresh .insights-nav-links a:first-child {
    background: var(--nav-gold);
    box-shadow: 0 7px 18px rgba(212, 175, 55, 0.25);
    color: var(--nav-ink);
}

.nav-refresh .nav-link.is-active:hover,
.nav-refresh .nav-link.is-active:focus-visible,
.nav-refresh .kit-nav-links a:first-child:hover,
.nav-refresh .kit-nav-links a:first-child:focus-visible,
.nav-refresh .insights-nav-links a:first-child:hover,
.nav-refresh .insights-nav-links a:first-child:focus-visible {
    background: #e8c44f;
    border-color: transparent;
    color: var(--nav-ink);
}

.nav-refresh .nav-language {
    border-color: rgba(212, 175, 55, 0.58) !important;
    color: var(--nav-text) !important;
    min-width: 2.45rem;
    justify-content: center;
}

.nav-refresh .nav-contact {
    background: var(--nav-gold);
    border-color: var(--nav-gold) !important;
    color: var(--nav-ink) !important;
    font-weight: 800 !important;
    justify-content: center;
    margin-left: 0.2rem;
}

.nav-refresh .nav-contact:hover,
.nav-refresh .nav-contact:focus-visible {
    background: #e8c44f !important;
    border-color: #e8c44f !important;
    color: var(--nav-ink) !important;
}

.nav-refresh .nav-toggle {
    align-items: center;
    background: var(--nav-surface);
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 999px;
    color: var(--nav-text);
    cursor: pointer;
    display: none;
    flex: 0 0 auto;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    gap: 0.5rem;
    letter-spacing: 0.04em;
    margin-left: auto;
    padding: 0.62rem 0.8rem;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-refresh .nav-toggle:hover,
.nav-refresh .nav-toggle:focus-visible {
    background: var(--nav-hover);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-1px);
}

.nav-refresh .nav-toggle[aria-expanded="true"] {
    background: var(--nav-gold);
    border-color: var(--nav-gold);
    color: var(--nav-ink);
}

.nav-refresh .nav-toggle-icon {
    display: grid;
    gap: 3px;
    width: 1rem;
}

.nav-refresh .nav-toggle-icon span {
    background: currentColor;
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 1rem;
}

.nav-refresh .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.nav-refresh .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-refresh .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1040px) {
    .nav-refresh-header {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .nav-refresh {
        border-radius: 22px 14px 22px 14px;
        gap: 0.72rem;
        padding: 0.62rem 0.7rem;
    }

    .nav-refresh .nav-toggle {
        display: inline-flex;
    }

    .nav-refresh .nav-links,
    .nav-refresh .kit-nav-links,
    .nav-refresh .insights-nav-links {
        align-content: start;
        background: linear-gradient(160deg, rgba(11, 35, 71, 0.99), rgba(7, 26, 51, 0.99));
        border: 1px solid rgba(212, 175, 55, 0.34);
        border-radius: 20px 12px 20px 12px;
        box-shadow: 0 20px 48px rgba(3, 13, 32, 0.42);
        display: grid;
        gap: 0.38rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        left: 0.7rem;
        margin: 0;
        opacity: 0;
        padding: 0.7rem;
        pointer-events: none;
        position: absolute;
        right: 0.7rem;
        top: calc(100% + 0.55rem);
        transform: translateY(-0.45rem);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        visibility: hidden;
        z-index: 20;
    }

    .nav-refresh.is-menu-open .nav-links,
    .nav-refresh.is-menu-open .kit-nav-links,
    .nav-refresh.is-menu-open .insights-nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-refresh .nav-links a,
    .nav-refresh .kit-nav-links a,
    .nav-refresh .insights-nav-links a {
        justify-content: flex-start;
        min-height: 44px;
        padding: 0.75rem 0.85rem;
        width: 100%;
    }

    .nav-refresh .nav-contact {
        grid-column: 1 / -1;
        margin: 0.15rem 0 0;
    }
}

@media (max-width: 700px) {
    .nav-refresh-header {
        padding: 0.55rem 0.55rem 0;
    }

    .nav-refresh {
        border-radius: 18px 12px 18px 12px;
        min-height: 66px;
        padding: 0.58rem 0.62rem;
    }

    .nav-refresh .nav-favicon,
    .nav-refresh .brand-favicon {
        height: 42px;
        width: 42px;
    }

    .nav-refresh .brand-copy strong,
    .nav-refresh .kit-brand,
    .nav-refresh .insights-brand {
        font-size: 1.06rem;
    }

    .nav-refresh .nav-toggle {
        font-size: 0.64rem;
        gap: 0.42rem;
        padding: 0.58rem 0.7rem;
    }

    .nav-refresh .nav-links,
    .nav-refresh .kit-nav-links,
    .nav-refresh .insights-nav-links {
        grid-template-columns: 1fr;
        left: 0.55rem;
        right: 0.55rem;
    }

    .nav-refresh .nav-links a,
    .nav-refresh .kit-nav-links a,
    .nav-refresh .insights-nav-links a {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-refresh .nav-links,
    .nav-refresh .kit-nav-links,
    .nav-refresh .insights-nav-links,
    .nav-refresh .nav-toggle,
    .nav-refresh .nav-links a,
    .nav-refresh .kit-nav-links a,
    .nav-refresh .insights-nav-links a {
        transition: none;
    }
}

@media print {
    .nav-refresh-header {
        display: none;
    }
}
