/* HAMBURGER BUTTON (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 17px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #00e5ff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animate Hamburger into an "X" when open */
.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* MOBILE NAVIGATION DRAWER & FIXED STICKY HEADER */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Prevents hero headline from tucking under fixed header */
    }

    header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 5%;
        z-index: 1000;
    }

    header .logo {
        font-size: 18px !important;
        gap: 8px !important;
    }

    header .logo img {
        width: 26px !important;
        height: 26px !important;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(0, 229, 255, 0.2);
        padding: 28px 0;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav a {
        font-size: 1.05rem;
    }
}
/* TEMPORARILY HIDE EMAIL LINKS UNTIL COMPLIANCE LAUNCH */
a[href^="mailto:"] {
    display: none !important;
}