.team .team-directory-entry {
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: .3rem;
  color: #fff;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .9rem;
  padding: clamp(.8rem, 2vw, 1.6rem);
}
.team .team-directory-entry strong { color: #fff; font-size: clamp(1.4rem, 3vw, 2.5rem); }
.team .team-directory-entry .button { border-color: #e5c78d; white-space: normal; }
.team .team-manage { color: #fff; font-size: .88rem; text-decoration: underline; text-underline-offset: .2em; }
.team-page h1 { color: var(--navy); font-size: clamp(2.5rem, 6vw, 4.2rem); margin: 0 0 1.45rem; }
.team-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1.2rem; }
.team-roster figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .3rem; background: var(--white); }
.team-roster :is(img, .team-photo-placeholder) { display: block; width: 100%; aspect-ratio: 1.08; object-fit: cover; object-position: center 35%; }
.team-roster .team-photo-placeholder { display: grid; place-items: center; background: var(--navy); color: #e5c78d; font: 600 3.1rem/1 var(--serif); }
.team-roster figcaption { padding: 1rem; }
.team-roster h2 { margin: 0 0 .35rem; font-size: clamp(1.22rem, 2.4vw, 1.65rem); }
.team-roster p { margin: 0; color: var(--muted); }
.team-page-actions { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 1.65rem; }

.team-roster { align-items: start; }
.team-profile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--white);
}
.team-profile summary { display: block; cursor: pointer; list-style: none; }
.team-profile summary::-webkit-details-marker { display: none; }
.team-profile summary:focus-visible { outline: 3px solid var(--navy); outline-offset: -4px; }
.team-roster .team-profile img { aspect-ratio: 1; object-fit: contain; object-position: center; background: var(--paper); }
.team-roster .team-profile .team-photo-placeholder { aspect-ratio: 1; }
.team-profile-caption { display: grid; gap: .22rem; padding: 1rem; }
.team-profile-name { font: 600 clamp(1.25rem, 2.2vw, 1.58rem)/1.2 var(--serif); }
.team-profile-role { color: var(--muted); }
.team-profile-hint { margin-top: .35rem; color: var(--navy); font-weight: 650; text-decoration: underline; }
.team-profile:not([open]) .close, .team-profile[open] .read { display: none; }
.team-biography { border-top: 1px solid var(--line); padding: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
