/* About page
 *
 * Page-scoped styles for the About surface. Most of the page uses
 * the shared marketing layout components (pricing.css, hero, audience
 * cards). This file holds the small things unique to About — chiefly
 * the Meet-the-Pala character cards.
 */

/* ===== Meet the Pala — three portraits with content below ============= */

/* The wrapper section. Plain block layout (not flex) so the header
 * sits above the cards row instead of beside it. */
.pala-section {
    padding: var(--spacing-4xl) 0;
}

.pala-section-header {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto var(--spacing-2xl);
}

.pala-section-header h2 {
    margin: 0 0 var(--spacing-md);
}

.pala-section-header p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: var(--font-size-lg);
}

/* Three columns. Each column is a portrait above a centered block of
 * text (name, role, description). No card chrome — the images carry
 * the visual weight, and the text reads as one editorial section
 * rather than three boxed items. */
.pala-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.pala-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.pala-card-portrait {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.pala-card-portrait img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pala-card h3 {
    margin: 0;
    color: var(--color-text);
    font-size: var(--font-size-xl);
}

.pala-card-role {
    margin: 0;
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-medium);
}

.pala-card > p:last-child {
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    max-width: 28ch;
    /* Reserve four lines of vertical space so the three Pala cards
     * stay visually equal even when one description wraps to fewer
     * lines than the others. Description text is trimmed to roughly
     * the same length to land at 4 lines at this width. */
    min-height: calc(1.6em * 4);
}

@media (max-width: 960px) {
    .pala-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        gap: var(--spacing-2xl);
    }
}
