/* ── Tablet (<1199px) ────────────────────── */
@media (max-width: 1199px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .creative__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phone {
        width: 180px;
    }

    .phone--hero {
        width: 220px;
    }

    .clients__slide {
        gap: 4rem;
        padding-right: 4rem;
    }

    .clients__logo {
        height: 48px;
    }
}

/* ── Mobile (<809px) ─────────────────────── */
@media (max-width: 809px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .hide-mobile {
        display: none;
    }

    /* Twitch chat — scaled down */
    .twitch-chat {
        width: 180px;
        max-height: 140px;
        bottom: 16px;
        left: 12px;
        opacity: 0.25;
    }

    .twitch-chat__msg {
        font-size: 0.6rem;
    }

    /* Engagement likes — scaled down */
    .engagement-likes {
        width: 80px;
        height: 200px;
        bottom: 16px;
        right: 12px;
    }

    /* Phone status — hidden on mobile */
    .phone-status {
        display: none;
    }

    /* Nav */
    .nav__hamburger {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-lg);
        background: rgba(14, 14, 16, 0.97);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--duration) var(--ease);
    }

    .nav__links.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav__links a {
        font-size: 1.5rem;
    }

    .nav__cta {
        font-size: 1.5rem !important;
        padding: 0.6rem 2rem;
    }

    /* Hero — keep large text, match desktop feel */
    .hero {
        min-height: 100svh;
    }

    .hero::before {
        font-size: clamp(12rem, 50vw, 30rem);
    }

    .hero__headline {
        font-size: clamp(4rem, 16vw, 8rem);
        padding: 0 var(--space-xs);
    }

    .hero__sub {
        position: static;
        text-align: center;
        margin-bottom: var(--space-sm);
        font-size: 0.7rem;
    }

    .hero__inner {
        padding: var(--space-xl) var(--space-sm);
    }

    .hero .btn {
        margin-top: var(--space-sm);
        font-size: 0.85rem;
        padding: 0.7rem 2rem;
    }

    /* Clients */
    .clients__slide {
        gap: 3rem;
        padding-right: 3rem;
    }

    .clients__logo {
        height: 36px;
    }

    /* Showcase — keep all 3 phones */
    .showcase {
        min-height: 200vh;
    }

    .showcase__headline {
        font-size: clamp(1.8rem, 7vw, 3rem);
        padding: 0 var(--space-xs);
    }

    .showcase__phones {
        gap: var(--space-xs);
        perspective: none;
    }

    .showcase__phone--left,
    .showcase__phone--right {
        transform: none;
    }

    .showcase__phone--left:hover,
    .showcase__phone--right:hover {
        transform: none;
    }

    .phone {
        width: 28vw;
        max-width: 160px;
    }

    .phone--hero {
        width: 35vw;
        max-width: 200px;
    }

    .phone__handle {
        font-size: 0.45rem;
        top: 24px;
        left: 8px;
    }

    .phone__overlay {
        padding: 0.8rem 0.5rem;
    }

    .phone__platform {
        font-size: 0.4rem;
        padding: 0.1rem 0.3rem;
    }

    .phone__desc {
        font-size: 0.4rem;
        -webkit-line-clamp: 1;
    }

    .phone__views {
        font-size: 0.7rem;
    }

    .phone__engagement {
        right: 4px;
        bottom: 50px;
        gap: 8px;
    }

    .phone__eng-item svg {
        width: 12px;
        height: 12px;
    }

    .phone__eng-item span {
        font-size: 0.35rem;
    }

    .phone__notch {
        width: 40px;
        height: 12px;
    }

    /* Stats — keep 3-column like desktop */
    .stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .stats__number {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .stats__label {
        font-size: 0.6rem;
    }

    /* Services — stack on mobile */
    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .card__desc {
        font-size: 0.8rem;
    }

    /* Creative — keep 2-column on mobile */
    .creative__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .creative__sub {
        font-size: 0.9rem;
        padding: 0 var(--space-xs);
    }

    /* Process — subway line stays vertical, works great on mobile */
    .process__line {
        padding-left: 30px;
    }

    /* About */
    .about__headline {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .about__text {
        font-size: 0.95rem;
    }

    /* Contact */
    .contact__headline {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .contact__sub {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer__top {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }

    /* Subway bullets — slightly smaller on mobile */
    .subway-bullet {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
}

/* ── Small phones (<480px) ──────────────── */
@media (max-width: 480px) {
    .hero__headline {
        font-size: clamp(3.2rem, 14vw, 6rem);
    }

    .hero::before {
        font-size: 10rem;
    }

    /* Keep chat/likes visible but smaller */
    .twitch-chat {
        width: 140px;
        max-height: 100px;
        opacity: 0.2;
    }

    .twitch-chat__msg {
        font-size: 0.5rem;
    }

    .engagement-likes {
        width: 60px;
        height: 150px;
    }

    .phone {
        width: 26vw;
        border-radius: 20px;
        padding: 4px;
    }

    .phone--hero {
        width: 33vw;
    }

    .phone__screen {
        border-radius: 16px;
    }

    .phone__notch {
        width: 30px;
        height: 8px;
    }

    .phone__overlay {
        padding: 0.4rem 0.3rem;
    }

    .phone__views {
        font-size: 0.5rem;
    }

    .phone__desc {
        font-size: 0.35rem;
    }

    .phone__platform {
        font-size: 0.35rem;
    }

    .phone__engagement {
        gap: 6px;
    }

    .phone__eng-item svg {
        width: 10px;
        height: 10px;
    }

    .phone__eng-item span {
        font-size: 0.3rem;
    }

    .showcase__total-number {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    /* Stats — still 3-column */
    .stats__number {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .stats__label {
        font-size: 0.5rem;
        letter-spacing: 0.05em;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .creative__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients__slide {
        gap: 2rem;
        padding-right: 2rem;
    }

    .clients__logo {
        height: 28px;
    }
}
