/* Three people, three crafts: the team photo with a name over each person, and what each person means
   for the client. Pointing at a person in the list (or at their name in the photo) lights them up in the
   photo and lets the other two fall back into shade. */
.team-band {
  padding-block: var(--section-space);
  font-family: Satoshi, Arial, sans-serif;
}
.team-heading { margin-bottom: 20px; }
.team-heading h2 { max-width: none; font-family: Satoshi, Arial, sans-serif; font-size: clamp(34px, 3.2vw, 50px); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.team-intro { max-width: 620px; margin: 8px 0 0; color: #a9a9a7; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.45; }

.team-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.team-photo, .team-people { border: 1px solid #ffffff1a; border-radius: 10px; background: #18191a; }
.team-photo { display: flex; align-items: center; padding: 10px; }
/* The photo keeps its own 3:2 shape, so the names and the light stay on the people at every width. */
.team-stage { position: relative; width: 100%; overflow: hidden; border-radius: 6px; }
.team-stage img { display: block; width: 100%; height: auto; }
.team-spot { position: absolute; inset: 0; background: #0d0e0fb8; opacity: 0; pointer-events: none; transition: opacity .6s cubic-bezier(.22, 1, .36, 1);
  -webkit-mask: radial-gradient(ellipse var(--rx) var(--ry) at var(--x) var(--y), transparent 62%, #000 100%);
  mask: radial-gradient(ellipse var(--rx) var(--ry) at var(--x) var(--y), transparent 62%, #000 100%); }
.team-spot.is-active { opacity: 1; }
.team-tag { position: absolute; left: var(--x); top: var(--y); padding: 6px 11px; border: 1px solid #ffffff38; border-radius: 100px; background: #131415bf; backdrop-filter: blur(8px); color: #e9e9e4; font-size: 12px; line-height: 1; white-space: nowrap; transform: translate(-50%, -50%); cursor: default; transition: background .45s, color .45s, border-color .45s, opacity .45s; }
.team-tag.is-active { border-color: #f5f5f0; background: #f5f5f0; color: #131415; }
.has-active .team-tag:not(.is-active) { opacity: .4; }

.team-people { display: grid; grid-template-rows: repeat(3, auto); margin: 0; padding: 6px 28px; list-style: none; }
.team-people li { display: grid; grid-template-columns: 1fr; grid-template-areas: "role" "name" "text" "link"; align-content: center; padding: 22px 0; border-bottom: 1px solid #ffffff14; transition: opacity .45s; }
.has-active .team-people li:not(.is-active) { opacity: .45; }
.team-people li:last-child { border-bottom: 0; }
.team-role { grid-area: role; max-width: none; margin: 0 0 6px; color: #8f8f8d; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.4; }
.team-people h3 { grid-area: name; margin: 0; color: #f5f5f0; font-size: clamp(19px, 1.5vw, 23px); font-weight: 400; letter-spacing: -.025em; line-height: 1.2; }
.team-text { grid-area: text; max-width: 34em; margin: 8px 0 0; color: #a4a4a1; font-size: 14px; line-height: 1.55; }
.team-link { grid-area: link; justify-self: start; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid #ffffff38; color: #e9e9e4; font-size: 13px; transition: border-color .45s; }
.team-link:hover, .team-link:focus-visible { border-color: #f5f5f0; }

@media (max-width: 1000px) and (min-width: 761px) {
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-photo { padding: 8px; }
  .team-people { padding: 4px 20px; }
  .team-people li { padding: 16px 0; }
}
@media (max-width: 760px) {
  .team-heading { margin-bottom: 18px; }
  .team-heading h2 { font-size: 34px; }
  .team-intro { font-size: 15px; }
  .team-grid { grid-template-columns: 1fr; gap: 10px; }
  .team-photo { padding: 7px; border-radius: 9px; }
  .team-tag { padding: 5px 8px; font-size: 10px; }
  .team-people { padding: 2px 16px; border-radius: 9px; }
  .team-people li { padding: 16px 0; }
  .team-people h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-link, .team-spot, .team-tag, .team-people li { transition: none; }
}
