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

/* --- Company Story — 60/40 split --- */

.about-story {
    padding: 3.5rem 0 4rem;
}

.about-story-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-story-text h2 {
    margin-bottom: 1.25rem;
}

.about-story-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    white-space: pre-line;
    max-width: 600px;
}

.about-story-image .placeholder-img {
    border-radius: 16px;
    aspect-ratio: 4/3;
}

@media (min-width: 768px) {
    .about-story {
        padding: 5rem 0 5.5rem;
    }

    .about-story-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.5rem;
    }

    .about-story-text {
        flex: 0 0 58%;
    }

    .about-story-image {
        flex: 1;
        margin-top: 0.5rem;
    }
}

/* --- Values — Horizontal definition list with accent border --- */

.about-values {
    padding: 3.5rem 0 4rem;
    background-color: var(--color-surface);
}

.about-values-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.values-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.values-item {
    padding: 1.5rem 0;
    border-top: 2px solid color-mix(in srgb, var(--color-accent) 25%, var(--color-surface));
}

.values-item:last-child {
    border-bottom: 2px solid color-mix(in srgb, var(--color-accent) 25%, var(--color-surface));
}

.values-item dt {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.values-item dd {
    font-size: 0.9375rem;
    color: var(--color-text_muted);
    line-height: 1.6;
    max-width: 640px;
}

@media (min-width: 768px) {
    .about-values {
        padding: 4.5rem 0 5rem;
    }

    .values-item {
        display: flex;
        gap: 3rem;
        padding: 1.75rem 0;
    }

    .values-item dt {
        flex: 0 0 220px;
        font-size: 1.125rem;
    }

    .values-item dd {
        flex: 1;
    }
}

/* --- Team --- */

.about-team {
    padding: 3.5rem 0 4rem;
}

.about-team-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    background: linear-gradient(145deg, var(--color-surface), color-mix(in srgb, var(--color-primary) 8%, var(--color-background)));
}

.team-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

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

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

.team-desc {
    font-size: 0.9375rem;
    color: var(--color-text_muted);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-team {
        padding: 4.5rem 0 5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

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