/* WhoWeAre page styles (page stylesheet, so the CSP needs no 'unsafe-inline'). */
.about-hero { padding: 5rem 2rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.about-intro {
    color: var(--text-2); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.6; max-width: 860px;
}

/* Founders take three equal columns; the values panel sits beside them on wide
   screens and drops below them at tablet width, as on the "Chi siamo" slide. */
.about-team {
    display: grid; grid-template-columns: 3fr 1.75fr; gap: 1.25rem; align-items: stretch;
    padding: 0 2rem 5rem; max-width: 1200px; margin: 0 auto;
}
.founder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }

.founder-card, .values-card {
    background: var(--ink-800); border: 1px solid var(--hairline); border-radius: var(--radius-1);
}
.founder-card { container-type: inline-size; padding: 1.5rem 1.25rem; transition: transform 0.3s, border-color 0.3s; }
.founder-card:hover { transform: translateY(-4px); border-color: rgba(0,168,107,0.25); }
.founder-card img { display: block; width: 104px; height: 104px; margin-bottom: 1.5rem; }
/* Names stay on one line so the three cards keep role and tagline aligned;
   the size steps down with the card (9.6cqi keeps the longest name inside). */
.founder-card h3 {
    font-family: var(--font-text); font-size: min(1.15rem, 9.6cqi); font-weight: 700;
    white-space: nowrap; margin-bottom: 0.4rem;
}
.founder-role { color: var(--trail-400); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 1rem; }
.founder-tagline { font-family: var(--font-display); font-style: italic; color: var(--text-1); font-size: 1.02rem; line-height: 1.5; }

.values-card { padding: 1.75rem 1.6rem; }
.values-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 1.5rem; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.values-list li { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { flex: 0 0 auto; color: var(--trail-400); margin-top: 0.1rem; }
.values-list h3 { font-family: var(--font-text); font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.3rem; }
.values-list p { color: var(--text-2); font-size: 0.92rem; line-height: 1.55; }
.values-list a { color: var(--trail-400); text-underline-offset: 3px; }

@media (max-width: 1099px) {
    .about-team { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .about-hero { padding: 3.5rem 1rem 2rem; }
    .about-team { padding: 0 1rem 4rem; }
    .founder-grid { grid-template-columns: 1fr; }
    .founder-card { display: grid; grid-template-columns: 88px 1fr; column-gap: 1.1rem; align-items: start; }
    .founder-card img { width: 88px; height: 88px; margin: 0; grid-row: span 3; }
    /* One card per row: nothing to align with, so long names may wrap. */
    .founder-card h3 { font-size: 1.15rem; white-space: normal; }
}
