/* ============================================================
   About page — Story, philosophy, 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: 6px;
    object-fit: cover;
    max-height: 400px;
}

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

/* --- Philosophy --- */

.philosophy-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 2.5rem;
    color: var(--color-text_muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

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

.philosophy-card {
    padding: 1.75rem;
    background: var(--color-background);
    border-radius: 6px;
    position: relative;
}

.philosophy-accent {
    width: 3px;
    height: 2rem;
    background: var(--color-accent);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.philosophy-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.philosophy-card p {
    color: var(--color-text_muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 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;
    font-style: italic;
}

.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);
    }
}
