/* Team members and portal-project pages (built by tools/site_build.py). Uses only the variables in styles.css. */
.team-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; margin-bottom: 18px; }
.team-card h2, .team-card h3 { font: 400 28px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--charcoal); margin: 0 0 6px; -webkit-text-stroke: 0.8px currentColor; overflow-wrap: anywhere; }
.team-card .label { display: block; margin: 0 0 10px; }
.team-card p { overflow-wrap: anywhere; }
.team-card p:last-child { margin-bottom: 0; }
@media (min-width: 700px) { .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; } }
.proj-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.proj-photo-first { margin-top: 32px; }
