@media (max-width: 640px) {
    /* Keep frame-by-frame scrolling on mobile */

    .about-frame {
        /* Keep fixed positioning for scroll animations */
        position: fixed !important;
    }

    /* Frame 1: Hero */
    .about-frame-1 {
        padding: 100px 20px 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .about-hero-content {
        margin-top: 0;
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .about-main-title {
        font-size: 32px;
        line-height: 1.1;
        white-space: normal;
        letter-spacing: 1px;
    }

    .about-subtitle {
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
    }

    .about-subtitle br {
        display: none;
    }

    .about-hero-image {
        position: relative;
        width: 100%;
        height: auto;
        bottom: auto;
        margin-top: 30px;
        max-height: 50vh;
    }

    .about-hero-image img {
        max-height: 50vh;
        object-fit: cover;
    }

    /* Frame 2: Dark background */
    .about-frame-2 {
        padding: 80px 20px;
        background-position: center 80%;
        /* Move image up a bit */
        background-size: 250%;
        /* Continued increase for larger appearance */
        text-align: left;
        align-items: flex-start;
    }

    .about-frame-2 h2 {
        font-size: 24px;
        margin-top: 0;
        line-height: 1.2;
        letter-spacing: 1px;
        text-align: left;
        width: 100%;
    }

    .about-frame-2 p {
        font-size: 13px;
        line-height: 1.6;
        max-width: 100%;
        text-align: left;
    }

    .about-frame-2 p br {
        display: none;
    }

    /* Frame 3: Legacy */
    .about-frame-3 {
        padding: 80px 20px;
    }

    .legacy-intro {
        margin: 0 auto 40px;
        width: 100%;
    }

    .legacy-title {
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 1px;
    }

    .legacy-description {
        font-size: 13px;
        line-height: 1.6;
        max-width: 100%;
    }

    .legacy-description br {
        display: none;
    }

    .legacy-gallery {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 6px;
        margin-top: 20px;
        width: 100%;
    }

    .legacy-card {
        width: calc(20% - 5px) !important;
        border-radius: 8px !important;
    }

    .legacy-card--tall {
        height: 120px !important;
    }

    .legacy-card--medium {
        height: 100px !important;
    }

    .legacy-card--wide {
        height: 80px !important;
    }

    /* Maintain the clip-paths but they will be much smaller */
    .legacy-card-1,
    .legacy-card-5,
    .legacy-card-2,
    .legacy-card-4,
    .legacy-card-3 {
        clip-path: none !important;
        /* Disabling clip-paths on mobile as they look cramped at this size */
        border-radius: 8px !important;
    }

    /* Frame 4: Contact - Match reference image */
    .about-frame-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        background-position: center center;
        text-align: center;
    }

    .about-contact-wrapper {
        text-align: center;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-contact-tag {
        display: inline-block;
        margin-bottom: 30px;
        font-size: 10px;
    }

    .about-contact-title {
        text-align: center;
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 1.5px;
        margin-left: 0;
        margin-bottom: 15px;
        white-space: normal;
    }

    .about-contact-description {
        text-align: center;
        font-size: 12px;
        line-height: 1.5;
        margin-left: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .description-line1 {
        white-space: normal;
    }

    .about-contact-form {
        padding: 15px 15px;
        border-radius: 12px;
        gap: 8px;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .about-contact-form input,
    .about-contact-form textarea {
        padding: 8px 0;
        font-size: 11px;
    }

    .about-contact-form textarea {
        min-height: 50px !important;
    }

    .about-contact-form button {
        margin-top: 5px;
        padding: 12px;
        font-size: 13px;
        width: 100%;
    }
}