/* Compact five-up About team row. Tokens from each site's style.css. */
.ams-team{
  padding:80px 0;
}
.ams-team-head{
  margin:0 0 24px;
}
.ams-team-head h2{
  margin:0 0 8px;
}
.ams-team-head p{
  margin:0;
  color:var(--muted);
}
.ams-team-row{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px;
  align-items:stretch;
}
.ams-team-card{
  min-width:0;
  margin:0;
  padding:0 0 12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
}
.ams-team-photo{
  height:160px;
  overflow:hidden;
  background:#111;
  line-height:0;
}
.ams-team-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 12%;
}
.ams-team-card h3{
  margin:10px 10px 2px;
  font-family:var(--font-head);
  font-size:0.95rem;
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.2;
}
.ams-team-role{
  margin:0 10px 6px;
  font-family:var(--font-body);
  font-size:0.66rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.ams-team-card p:not(.ams-team-role){
  margin:0 10px;
  font-size:0.78rem;
  line-height:1.4;
  color:var(--muted);
}
@media (max-width: 980px){
  .ams-team{ padding:48px 0; }
  .ams-team-row{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .ams-team-row{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .ams-team-photo{ height:140px; }
}
