/* Shared site menu and contact row for pages that use their own layout
   (engineering landing pages, legal pages, careers). Class names are
   prefixed sc- so the pages' own nav/footer rules never apply to them. */

.sc-nav,
.sc-nav *,
.sc-footer,
.sc-footer * {
    box-sizing: border-box;
}

.sc-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    min-height: 64px;
    padding: 0 2rem;
    background: rgba(25, 20, 16, 0.97);
    border-bottom: 1px solid rgba(212, 120, 15, 0.18);
    font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.sc-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #d4780f;
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.sc-logo img {
    width: 36px;
    height: 36px;
    display: block;
}

.sc-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sc-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.sc-links a:hover,
.sc-links a:focus-visible {
    color: #e8963a;
}

.sc-links a.sc-cta {
    padding: 0.55rem 1.1rem;
    border: 1px solid #d4780f;
    border-radius: 2px;
    color: #e8963a;
}

.sc-links a.sc-cta:hover {
    background: #d4780f;
    color: #191410;
}

.sc-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sc-toggle span {
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
}

.sc-footer {
    width: 100%;
    background: #1a1a2e;
    font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.sc-footer .footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
    margin: 0;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-footer .footer-contact-row a,
.sc-footer .footer-contact-row span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.sc-footer .footer-contact-row a:hover {
    color: #e8963a;
}

.sc-footer .footer-contact-row i,
.sc-footer .x-icon {
    margin-right: 0.3em;
}

.sc-footer .x-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

@media (max-width: 960px) {
    .sc-nav {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .sc-toggle {
        display: flex;
    }

    .sc-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0 1rem;
    }

    .sc-nav.sc-open .sc-links {
        display: flex;
    }

    .sc-links li {
        width: 100%;
    }

    .sc-links a {
        display: block;
        padding: 0.75rem 0;
    }

    .sc-links a.sc-cta {
        display: inline-block;
        margin-top: 0.5rem;
        padding: 0.55rem 1.1rem;
    }
}

@media (max-width: 420px) {
    .sc-logo span {
        font-size: 1rem;
    }
}

@media print {
    .sc-nav,
    .sc-footer {
        display: none;
    }
}
