/* Section headings */
.section-heading,
.pane-heading {
    position: relative;
    padding-bottom: 12px;
}

.section-heading { margin: 0 0 24px; }
.pane-heading    { margin: 0 0 32px; }

.section-heading::after,
.pane-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: var(--color-accent);
}

.section-heading::after { width: 60px; }
.pane-heading::after    { width: 50px; }

.section-lead {
    color: var(--color-text);
    margin: 0 0 20px;
    font-weight: 500;
}

.section-body {
    color: var(--color-text-subtle);
    margin: 0;
}

/* About split — copy left, image right */
.about-split {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 64px;
    align-items: center;
    margin: 48px 0 64px;
}

.about-image {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3 / 2;
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.about-image:hover img { transform: scale(1.04); }

/* Values pane — image left, content right */
.values-pane {
    background: #f0f7ea;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    padding: 0;
    overflow: hidden;
    margin-bottom: 64px;
}

.values-image {
    margin: 0;
    overflow: hidden;
    align-self: stretch;
}

.values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.values-image:hover img { transform: scale(1.04); }

.values-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
}

/* Team */
.team-section { margin-bottom: 32px; }

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 56px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    width: 140px;
}

.team-photo {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-pane);
    margin: 0 auto 16px;
    border: 3px solid transparent;
    transition: border-color 0.2s;
    text-decoration: none;
}

.team-photo:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.team-member:hover .team-photo { border-color: var(--color-accent); }

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.team-member:hover .team-photo img { transform: scale(1.05); }

.team-name {
    margin: 0 0 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-role {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: normal;
}

/* Responsive */
@media (max-width: 900px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image { aspect-ratio: 16 / 10; }

    .values-pane { grid-template-columns: 1fr; }

    .values-image { aspect-ratio: 16 / 10; }

    .values-content { padding: 32px; }
}
