/* ==========================================================================
   Public Nav — MakeLab-inspired fixed dark bar
   Used by standalone pages (home, HIW, RFQ, declare)
   ========================================================================== */

.pnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(11, 26, 51, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pnav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Logo */
.pnav__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.pnav__logo img {
    height: 32px;
    width: auto;
}

/* Center links */
.pnav__links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.pnav__links a {
    font-family: var(--fm, 'IBM Plex Mono', monospace);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}
.pnav__links a:hover {
    color: rgba(255, 255, 255, 0.85);
}
.pnav__links a.pnav__active {
    color: var(--yellow, #f0ff00);
}

/* Right-side CTAs */
.pnav__right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.pnav__signin {
    font-family: var(--fm, 'IBM Plex Mono', monospace);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}
.pnav__signin:hover {
    color: #fff;
}

.pnav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--yellow, #f0ff00);
    color: var(--navy, #0b1a33);
    border: none;
    border-radius: 2px;
    padding: 0.52rem 1.1rem;
    font-family: var(--fm, 'IBM Plex Mono', monospace);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}
.pnav__cta:hover {
    background: #e8f500;
    transform: translateY(-1px);
}

/* Hamburger */
.pnav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.pnav__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}
.pnav__hamburger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.pnav__hamburger--open span:nth-child(2) {
    opacity: 0;
}
.pnav__hamburger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .pnav__inner {
        padding: 0 1.25rem;
    }

    .pnav__links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(11, 26, 51, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1rem 1.5rem 1.5rem;
    }
    .pnav__links--open {
        display: flex;
    }
    .pnav__links li {
        width: 100%;
    }
    .pnav__links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.6);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .pnav__links li:last-child a {
        border-bottom: none;
    }

    .pnav__right {
        display: none;
    }

    .pnav__hamburger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .pnav__inner {
        padding: 0 1rem;
    }
    .pnav__logo img {
        height: 26px;
    }
}
