@media (max-width: 767px) {
    :root {
        --section-padding-y: 5rem;
        --section-padding-x: 5%;
    }

    body::after {
        background-size: 48px 48px;
    }

    .navbar {
        top: 0.75rem;
        width: calc(100% - 1rem);
        grid-template-columns: auto auto;
        justify-content: space-between;
        padding: 0.7rem 0.8rem;
        border-radius: 1.35rem;
        gap: 0.75rem;
    }

    .navbar.navbar-scrolled,
    .navbar.scrolled {
        top: 0.5rem;
        width: calc(100% - 1.25rem);
        padding: 0.58rem 0.72rem;
        opacity: 0.9;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: calc(var(--navbar-height, 76px) + 1rem);
        left: 0.75rem;
        right: 0.75rem;
        display: grid;
        gap: 0.45rem;
        padding: 0.8rem;
        border-radius: 1.4rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(7, 7, 11, 0.88);
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        z-index: 1000;
        max-height: calc(100vh - var(--navbar-height, 76px) - 2rem);
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-item a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 1rem;
    }

    .nav-item a::after {
        bottom: 0.55rem;
        width: clamp(2.25rem, 30%, 4.5rem);
        max-width: none;
    }

    .hamburger {
        position: relative;
        display: inline-flex;
        justify-self: end;
    }

    .navbar.navbar-scrolled .hamburger,
    .navbar.scrolled .hamburger {
        background: rgba(255, 255, 255, 0.025);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
        opacity: 0.92;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--navbar-height, 76px) + 2rem);
        padding-bottom: 3.5rem;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.55) 54%, rgba(0, 0, 0, 0.32) 100%);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .hero-left h1 {
        font-size: clamp(2.4rem, 12vw, 3.9rem);
        line-height: 1;
        letter-spacing: -0.06em;
    }

    .hero-left p,
    .section-copy,
    .section-subtitle {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-microcopy {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .hero-right {
        min-height: 20rem;
        padding-bottom: 4.5rem;
    }

    .hero-media-layer {
        inset: 0;
    }

    .hero-bg-video {
        opacity: 0.08;
    }

    .hero-grid-overlay {
        background-size: 42px 42px;
        opacity: 0.24;
    }

    .hero-visual {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(18rem, 86vw);
        margin: 0 auto;
    }

    .hero-visual-shell {
        inset: 9% 8% 10%;
        width: auto;
    }

    .hero-visual-badge {
        max-width: 10.5rem;
        padding: 0.7rem 0.75rem 0.7rem 2rem;
        border-radius: 1rem;
    }

    .hero-visual-badge-top {
        top: 0.75rem;
        left: 0.15rem;
    }

    .hero-visual-badge-bottom {
        left: 0.15rem;
        right: auto;
        bottom: 0.75rem;
        width: auto;
        max-width: 10.5rem;
        transform: none;
    }

    .hero-visual-badge i {
        left: 0.75rem;
        top: 0.82rem;
        font-size: 0.8rem;
    }

    .hero-visual-badge span {
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }

    .hero-visual-badge strong {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    .projects-grid,
    .services-grid,
    .process-steps,
    .contact-links {
        grid-template-columns: 1fr;
    }

    .project-card.large,
    .project-card.small,
    .project-card.tall {
        min-height: 18rem;
    }

    .project-overlay h3,
    .service-card h3,
    .step h3 {
        font-size: 1.18rem;
    }

    .project-overlay,
    .border-glow-inner,
    .step,
    .contact-panel {
        padding: 1.2rem;
    }

    .project-overlay {
        gap: 0.65rem;
    }

    .section-heading,
    .section-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .contact-panel {
        border-radius: 1.5rem;
    }

    .contact-card {
        align-items: flex-start;
    }

    .site-footer {
        padding-bottom: 2rem;
    }

    .flash-stack {
        top: calc(var(--navbar-height, 76px) + 0.85rem);
        right: 0.75rem;
        width: calc(100% - 1.5rem);
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1.5rem;
    }

    .footer-status {
        line-height: 1.6;
    }
}
