.squad { padding-block: clamp(1.2rem, 4vw, 3rem); }
.squad-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.1rem, 4vw, 3rem); align-items: center; margin-bottom: 2rem; }
.team-photo { margin: 0; }
.team-photo-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 10rem;
  padding: 1rem;
  border: 1px dashed #a5afbf;
  border-radius: 1rem;
  background: #e9edf4;
  color: #43516b;
  text-align: center;
}
.team-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #e9edf4; border-radius: 1rem; }
.team-photo figcaption { color: var(--muted); font-size: .875rem; margin-top: .65rem; }
.squad-label { color: #9c2840; font-weight: 800; margin: 0; }
.squad-summary h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; margin: .4rem 0 1.25rem; }
.squad-summary dl div { display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin: .35rem 0; }
.squad-summary dt { font-weight: 760; }
.squad-summary dd { margin: 0; }
.squad section + section { margin-top: 2rem; }
.squad h2 { margin-bottom: .7rem; }
.squad h3 { margin: 1.25rem 0 .55rem; }
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 10rem),1fr)); gap: .75rem; }
.squad-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
  text-align: center;
}
.squad-card:hover { border-color: #a92c45; background: #fff6f8; }
.squad-portrait {
  display: grid;
  width: min(100%, 8rem);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: .6rem;
  background: #eff2f7;
  font-size: 1.5rem;
  font-weight: 800;
}
.squad-portrait > * { grid-area: 1 / 1; }
.squad-portrait img { width: 100%; height: 100%; object-fit: cover; }
.squad-portrait:has(img:not([hidden])) > span { visibility: hidden; }
.squad-role { color: var(--muted); font-size: .875rem; }
@media (max-width: 640px) {
  .squad-intro { grid-template-columns: 1fr; }
  .squad-summary { grid-row: 1; }
  .squad-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
a.squad-card { color: inherit; text-decoration: none; }
