/* ============================================================
   About page — Story with framed image, numbered value cards
   with accent top bars, team with photos
   ============================================================ */

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

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

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

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

.about-image {
    position: relative;
}

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

/* Geometric frame offset */
.about-image-frame {
    position: absolute;
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    border: 2px solid var(--color-accent);
    border-radius: 6px;
    pointer-events: none;
    z-index: -1;
}

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

/* --- Values with accent top bar and number --- */

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

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

.value-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
}

.value-number {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.12;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    line-height: 1;
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

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

/* --- Team --- */

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

.team-card {
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-surface);
}

.team-photo {
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s;
}

.team-card:hover .team-photo img {
    transform: scale(1.02);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

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

.team-specialization {
    color: var(--color-text_muted);
    font-size: 0.8125rem;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 0.5rem;
}

.team-description {
    color: var(--color-text_muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

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

    .team-photo img {
        height: 340px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .team-card:hover .team-photo img {
        transform: none;
    }
}
