/* Tablet Styles - Applies to screens between 481px and 1024px */
@media (min-width: 481px) and (max-width: 1024px) {
    .about-headshot {
        display: none;
    }

    body {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    /* Overview section stacks vertically on tablet */
    section#overview {
        flex-direction: column;
    }
    
    section#overview > section {
        flex: 1 1 100%;
        min-width: auto;
    }
    
    /* Project grid adjusts to 2 columns */
    section#otherProjects {
        gap: 1.25rem;
    }
    
    section#otherProjects article {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 250px;
    }
    
    /* Section spacing adjustments */
    section {
        margin: 2.5rem 0;
        padding: 1.75rem;
    }
    
    article {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    /* Form adjustments */
    form {
        padding: 1.75rem;
    }

    .ask-frame {
        right: 1rem;
        bottom: 1rem;
        width: min(330px, calc(100vw - 2rem));
    }

    .chat-history {
        max-height: 220px;
        min-height: 160px;
    }
}
