/* "The team behind WrittenCheck" on /about. Loaded only by the About page. */
.team-section { width: min(1080px, 100% - 40px); margin: 56px auto 8px; }
.team-head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.team-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .4em; }
.team-head p { color: var(--text-2); margin: 0; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.team-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.team-photo { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--border); }
.team-body { min-width: 0; }
.team-body h3 { margin: 2px 0 2px; font-size: 1.1rem; line-height: 1.3; }
.team-role { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.team-bio { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--text-2); }
.team-links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.team-links a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--text-2); text-decoration: none; }
.team-links a:hover, .team-links a:focus-visible { color: var(--accent); border-color: var(--accent); }
.team-links svg { width: 12px; height: 12px; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .team-card { flex-direction: column; gap: 12px; padding: 20px; }
  .team-photo { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-card, .team-card:hover { transition: none; transform: none; }
}
