/* SM: 480–767px */
@media (min-width: 480px) and (max-width: 767px) {
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }

    .landing {
        background-size: cover;
        background-position: 40% center;
        background-attachment: fixed;
    }

    /* Hamburger menu for SM */
    .menu {
        position: absolute;
        top: 16px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0 16px;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 44px;
        color: #fff;
        background: rgba(0, 0, 0, 0.4);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }

    .menu-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(2px);
        z-index: 1000;
        padding: 32px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    .menu.open .menu-links {
        display: flex;
    }

    .menu-item {
        display: block;
        text-align: center;
        padding: 14px 18px;
        font-size: 20px;
    }

    h1 {
        font-size: 1.6rem;
        margin-top: 180px;
        letter-spacing: 1.1px;
    }

    .grid {
        grid-template-columns: repeat(5, 60px);
        grid-template-rows: repeat(2, 38px);
        gap: 20px;
        padding: 48px 20px;
    }

    .grid>* {
        width: 60px;
        height: 38px;
    }

    .first-para {
        padding: 0 24px;
    }

    .trailer video {
        width: 480px;
        max-width: 92vw;
        height: auto;
    }

    .reviews-content {
        font-size: 14px;
        letter-spacing: 0.2px;
        margin-bottom: 24px;
        flex-direction: column;
        align-items: center;
        padding: 0 80px;
    }

    .reviews-container {
        width: 100%;
    }

    .reviews {
        height: auto;
    }

    .team {
        align-items: center;
        justify-content: center;
    }

    .production-heading {
        text-align: center;
        margin-left: 0;
        font-size: 1.8rem;
    }

    h3 {
        font-size: 18px;
    }

    .production-and-cast {
        margin-left: 0px;
        flex-direction: column;
        gap: 24px;
    }

    .production-team {
        text-align: center;
    }

    .production-team p {
        font-size: 14px;
    }

    .cast {
        text-align: center;
    }

    .cast p {
        font-size: 14px;
    }

    .plot {
        height: auto;
        min-height: 65vh;
    }

    .trailer {
        height: auto;
        min-height: 65vh;
    }

    .team {
        height: auto;
        min-height: 85vh;
    }

    .reviews {
        height: auto;
        min-height: 100vh;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .contact {
        height: auto;
        min-height: 100vh;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        background-color: #000;
    }

    #backToTop {
        bottom: 20px;
        right: 10px;
    }
}