    @media (max-width: 1080px) {
        .container {
            padding: 0 20px;
        }
        .footer-grid {
            grid-template-columns: 1.2fr 1fr 1fr;
        }
        .grid-4 {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 980px) {
        .nav-links {
            display: none;
        }
        .hamburger {
            display: flex;
        }
        .grid-2 {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        .grid-3 {
            grid-template-columns: repeat(2, 1fr);
        }
        .work-hero-card {
            grid-column: span 2;
        }
        .footer-grid {
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        .section {
            padding: 90px 0;
        }
        .cta-band {
            padding: 53px 29px;
        }
        /* --- Nav: keep the floating capsule shape on tablet/mobile --- */
        .nav-inner {
            flex-wrap: nowrap;
            row-gap: 0;
            padding: 8px 8px 8px 12px;
        }
        .navbar .btn-sm {
            display: none;
        }
        .hamburger {
            order: 3;
        }
    }
    
    @media (max-width: 720px) {
        .section {
            padding: 70px 0;
        }
        .grid-3 {
            grid-template-columns: 1fr;
        }
        .layout-landscape .pm-body {
            grid-template-columns: 1fr;
            gap: 30px;
            padding: 30px 24px;
        }
        .pm-shots {
            min-height: 220px;
            margin-top: 8px;
        }
        .pm-shots .shot {
            width: 68%;
        }
        .project-modal-inner.layout-portrait {
            flex-direction: column;
        }
        .layout-portrait .pm-media {
            width: 100%;
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        }
        .layout-portrait .pm-media video {
            aspect-ratio: 16 / 9;
            height: auto;
            object-fit: contain;
        }
        .layout-portrait .pm-body {
            padding: 30px 24px;
        }
        .grid-4 {
            grid-template-columns: 1fr 1fr;
        }
        .work-hero-card {
            grid-column: span 1;
        }
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 34px;
            padding-bottom: 40px;
        }
        .footer-bottom {
            flex-direction: column;
            align-items: flex-start;
        }
        .form-row {
            grid-template-columns: 1fr;
        }
        .why-card {
            flex-direction: column;
        }
        .contact-form {
            padding: 28px;
        }
        .page-header {
            padding: 110px 0 50px;
        }
        .about-photo-frame {
            order: -1;
            height: 380px;
        }
        .blob-1,
        .blob-2,
        .blob-3 {
            transform: scale(0.7);
        }
    }
    
    @media (max-width: 480px) {
        .nav-logo span {
            font-size: 16px;
        }
        .btn {
            padding: 12px 20px;
            font-size: 14px;
        }
        .cta-band {
            border-radius: 22px;
            padding: 40px 22px;
        }
        .grid-4 {
            grid-template-columns: 1fr;
        }
    }
    /* --- Small phones (SE, older Androids, ~360px and under) --- */
    
    @media (max-width: 380px) {
        .container {
            padding: 0 14px;
        }
        .btn {
            padding: 11px 16px;
            font-size: 13px;
        }
        .section {
            padding: 56px 0;
        }
        .cta-band {
            padding: 32px 16px;
        }
        .pm-shots .shot {
            width: 82%;
        }
    }
    
    @media (min-width: 1600px) {
        .container {
            max-width: 1400px;
        }
    }

@media (max-width: 980px) {
    .navbar .btn-sm {
        min-height: 44px;
    }
    .mobile-drawer {
        padding-top: 95px;
        gap: 20px;
    }
    .mobile-drawer a:not(.btn) {
        padding: 5px 0;
    }
    .footer ul li {
        margin-bottom: 0;
    }
    .footer ul li a {
        display: inline-block;
        padding: 8px 0;
    }
}

@media (max-width: 720px) {
    .filter-pill {
        min-height: 44px;
    }
}

@media (max-width: 980px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
    .grid-2 > * {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        gap: 14px;
    }
    .value-card {
        padding: 22px 16px;
    }
    .value-card h4 {
        font-size: 17px;
    }
}

@media (max-width: 720px) {
    .page-header h1 {
        line-height: 1.2;
    }
}

@media (max-width: 380px) {
    .contact-form {
        padding: 20px;
    }
}

/* HERO: wide screens use the desktop artwork and a fixed one-screen layout */
@media (min-width: 900px) and (min-height: 560px) and (min-aspect-ratio: 5/4) {
    .hero {
        height: 100vh;
        height: 100svh;
        min-height: 560px;
        padding: max(104px, 12vh) 0 0;
        background: #050c26;
    }
    .hero .hero-bg {
        inset: 0;
    }
    .hero-img {
        height: 100%;
        object-fit: cover;
        object-position: center 62%;
        -webkit-mask-image: none;
        mask-image: none;
        transform-origin: 50% 60%;
    }
    .hero-content {
        margin-block: 0;
    }
    .hero-eyebrow {
        gap: clamp(12px, 1.2vw, 20px);
        margin-bottom: max(12px, 1.8vh);
        font-size: clamp(11px, 0.9vw, 15px);
        letter-spacing: 0.34em;
    }
    .hero-eyebrow::before,
    .hero-eyebrow::after {
        width: clamp(22px, 2.2vw, 38px);
    }
    .hero-title {
        font-size: clamp(2.6rem, min(5.3vw, 8.4vh), 6rem);
    }
    .hero-sub {
        max-width: 36em;
        margin-top: max(12px, 2vh);
        font-size: clamp(0.95rem, min(1.2vw, 2.3vh), 1.3rem);
    }
    .hero-actions {
        gap: 18px clamp(120px, 11vw, 200px);
        margin-top: max(18px, 3vh);
    }
    .hero .hero-cta {
        padding: clamp(12px, 1.8vh, 17px) clamp(22px, 2vw, 32px);
        font-size: clamp(0.9rem, min(1vw, 2vh), 1.05rem);
    }
    .hero-play {
        width: clamp(46px, 3.4vw, 60px);
        height: clamp(46px, 3.4vw, 60px);
    }
    .hero-scroll {
        bottom: max(14px, 2.6vh);
    }
}

/* HERO: small phones */
@media (max-width: 420px) {
    .hero-eyebrow::before,
    .hero-eyebrow::after {
        display: none;
    }
    .hero-actions {
        gap: 10px 12px;
    }
    .hero .hero-cta {
        gap: 8px;
        padding: 12px 16px;
        font-size: 0.86rem;
    }
    .hero-cta svg {
        width: 16px;
        height: 16px;
    }
    .hero-watch {
        gap: 8px;
        font-size: 0.86rem;
    }
    .hero-play {
        width: 40px;
        height: 40px;
    }
}

/* HERO: tiny phones */
@media (max-width: 380px) {
    .hero .hero-cta {
        padding: 11px 14px;
        font-size: 0.82rem;
    }
    .hero-watch {
        font-size: 0.82rem;
    }
}

/* HERO: compact scroll cue on stacked layouts */
@media not all and (min-width: 900px) and (min-height: 560px) and (min-aspect-ratio: 5/4) {
    .hero-scroll {
        bottom: 10px;
        gap: 4px;
        font-size: 0.72rem;
    }
    .hero-mouse {
        width: 18px;
        height: 28px;
    }
    .hero-mouse::after {
        top: 5px;
        height: 6px;
    }
    .hero-scroll svg {
        display: none;
    }
}

@media (max-height: 700px) and (max-width: 899px) {
    .hero-scroll {
        display: none;
    }
}


/* HERO: keep the whole text block (and both buttons) ABOVE the man's head.
   The head sits at ~56.8% of the artwork; with object-fit:cover and
   object-position y=62% its on-screen top is 62svh - 0.052*renderedHeight.
   Everything in the text block is sized from the space above that point. */
@media (min-width: 900px) and (min-height: 560px) and (min-aspect-ratio: 5/4) {
    .hero {
        --head-top: calc(62svh - 0.052 * max(56.28vw, 100svh));
        --pad-top: clamp(92px, 6.2vw, 124px);
        --u: calc((var(--head-top) - var(--pad-top) - 14px) / 100);
        padding-top: var(--pad-top);
    }
    .hero-eyebrow {
        margin-bottom: calc(var(--u) * 2.2);
        font-size: clamp(10px, calc(var(--u) * 3.2), 15px);
    }
    .hero-title {
        font-size: clamp(1.9rem, min(calc(var(--u) * 18), 5.3vw), 6rem);
        line-height: 1.04;
    }
    .hero-sub {
        margin-top: calc(var(--u) * 2);
        font-size: clamp(0.82rem, calc(var(--u) * 3.5), 1.3rem);
    }
    .hero-actions {
        gap: 16px clamp(28px, 2.6vw, 48px);
        margin-top: calc(var(--u) * 3.2);
    }
    .hero .hero-cta {
        padding: clamp(9px, calc(var(--u) * 2.1), 17px) clamp(20px, 2vw, 32px);
        font-size: clamp(0.82rem, calc(var(--u) * 3.3), 1.05rem);
    }
    .hero-play {
        width: clamp(38px, calc(var(--u) * 10), 60px);
        height: clamp(38px, calc(var(--u) * 10), 60px);
    }
}


/* "Scroll Down" indicator removed on every device */
.hero-scroll { display: none !important; }

/* keep the page from ever scrolling sideways */
body { overflow-x: clip; }

/* Mobile: float the glass nav with a little space on both sides */
@media (max-width: 899px) {
    .navbar { padding: 12px 0; }
    .navbar .nav-inner { width: calc(100% - 24px); margin-left: auto; margin-right: auto; }
}
