/* ============================================================
   About page — Story, certifications, team
   ============================================================ */

/* --- Story layout --- */

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--color-text_muted);
    line-height: 1.8;
    white-space: pre-line;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 400px;
}

@media (min-width: 768px) {
    .about-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* --- Certifications --- */

.certs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.cert-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.cert-icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.cert-icon svg {
    margin: 0 auto;
}

.cert-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--color-text_muted);
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Team --- */

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.team-photo {
    margin-bottom: 1rem;
}

.team-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.team-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card > p:last-child {
    color: var(--color-text_muted);
    font-size: 0.9375rem;
    max-width: 300px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
