/* Responsive overrides loaded after hero styles */

@media screen and (max-width: 1080px) {
    body {
        overflow-x: hidden;
    }

    .hero-container {
        padding-left: 90px;
    }

    .hero h1 span {
        font-size: clamp(4.5rem, 8vw, 6rem);
    }

    .hero h1 {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero-right {
        width: 48vw;
        min-width: 280px;
    }
}

@media screen and (max-width: 820px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    header {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        padding: 18px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        background: rgba(8,24,54,.96);
    }

    header:hover {
        width: 100%;
        padding: 18px 20px;
    }

    .logo {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        width: 52px;
    }

    .logo-copy {
        opacity: 1;
        visibility: visible;
        width: auto;
    }

    nav {
        margin-top: 20px;
        opacity: 1;
        visibility: visible;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    nav a {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .hero-container {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 40px 20px 60px 20px;
    }

    .hero-left {
        max-width: 52%;
        flex: 1 1 52%;
        min-width: 0;
    }

    .tags {
        margin-top: 0;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .tags span {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero h1 {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero h1 span {
        font-size: clamp(2.2rem, 6vw, 4.2rem);
        line-height: 0.95;
    }

    .hero p {
        width: 100%;
        max-width: 520px;
        margin-top: 24px;
        font-size: clamp(1rem, 2.2vw, 1.3rem);
        line-height: 1.6;
    }

    .hero-right {
        position: relative;
        width: 48%;
        min-width: 0;
        height: 300px;
        margin-top: 0;
        right: auto;
        left: auto;
        flex: 1 1 48%;
    }

    .blueprint-layer {
        width: 100%;
        height: 100%;
    }

    .blueprint-layer object {
        right: 0;
        width: 110%;
        height: 100%;
    }

    .robot-layer {
        width: 86%;
        right: 2%;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 22px;
        font-size: 14px;
    }

    .blog-section {
        padding: 90px 20px 80px;
    }

    .blog-header h2 {
        font-size: 44px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media screen and (max-width: 520px) {
    header {
        padding: 14px 16px;
    }

    .logo {
        gap: 10px;
    }

    .logo-copy {
        gap: 2px;
    }

    .atl {
        font-size: 18px;
    }

    .name {
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    nav {
        gap: 8px 12px;
    }

    nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero-container {
        display: block;
        padding: 24px 16px 40px 16px;
    }

    .hero-left {
        max-width: 100%;
        flex: none;
        min-width: 0;
    }

    .tags {
        gap: 8px 12px;
    }

    .tags span {
        font-size: 11px;
    }

    .hero h1 {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero h1 span {
        font-size: clamp(2.2rem, 15vw, 3.6rem);
        line-height: 0.95;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-right {
        width: 100%;
        height: 200px;
        margin-top: 24px;
        flex: none;
    }

    .blog-section {
        padding: 70px 16px 70px;
    }

    .blog-header h2 {
        font-size: 32px;
    }

    .blog-card h3 {
        font-size: 20px;
    }
}
