/* Contact-only mobile layout; desktop monitor is unchanged. */
@media (max-width: 600px) {
    .contact-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 12px 16px 30px;
    }
    .contact-left, .contact-right { width: 100%; }
    .matrix-terminal {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 18px 12px;
        /* The decorative monitor image cannot contain many wrapped text rows
           on a narrow display. Use a green terminal panel on mobile. */
        background-image: none;
        border: 1px solid #00ff00;
        border-radius: 8px;
        font-size: clamp(12px, 3.2vw, 14px);
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    .terminal-output { overflow-wrap: anywhere; }
    .contact-right img {
        display: block;
        width: 56%;
        max-width: 220px;
        margin: 0 auto;
    }
    .contact-right p { line-height: 1.5; }
}
