/* Team cards: replace the monogram in .team-portrait with an approved portrait
   using <img src="assets/your-photo.jpg" alt="Person's full name">. */
.team-page { background: #f6f8fa; }
.team-intro { padding: 54px 0 34px; background: #fff; border-bottom: 1px solid var(--line); }
.team-intro h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -.04em; }
.team-intro .team-lead { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; }
.team-directory { padding: 34px 0 72px; }
.team-draft-note { margin: 0 0 28px; padding: 12px 16px; border-left: 3px solid var(--orange); color: #47586b; background: #fff; font-size: .875rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dce4eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(var(--palette-dark-rgb, 4,15,33),.055); }
.team-portrait { position: relative; min-height: 112px; display: flex; justify-content: center; align-items: center; background: linear-gradient(115deg, var(--palette-dark, #040f21), var(--palette-lift, #143152)); border-bottom: 3px solid var(--orange); }
.team-monogram { padding: 8px 20px; color: #fff; font-size: 2.5rem; font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
.team-photo-note { position: absolute; bottom: 8px; right: 14px; color: #d4dfe9; font-size: .8125rem; }
.team-card-number { position: absolute; top: 10px; left: 16px; color: var(--palette-accent-hover, #f6b762); font-size: .8125rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.team-portrait img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: center 25%; }
/* Frame the existing flight-crew artwork without duplicating the image asset. */
.team-portrait--mascot { min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.team-portrait--mascot img { position: absolute; top: 50%; left: 50%; width: 240%; max-width: none; height: auto; transform: translate(-68%, -35%); }
.team-portrait--piper img { transform: translate(-85%, -35%); }
.team-portrait--mascot .team-card-number { z-index: 1; padding: 4px 8px; border-radius: 4px; background: rgba(var(--palette-dark-rgb, 4,15,33),.9); }
.team-mascot-link { align-self: flex-start; margin-top: 18px; color: var(--navy); font-size: .9375rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.team-mascot-link:hover { color: var(--palette-accent-ink, #865009); }
.team-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.team-position { margin: 0 0 8px; color: var(--palette-accent-ink, #865009); font-size: .875rem; font-weight: 750; line-height: 1.4; }
.team-card h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.team-bio { margin: 12px 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.team-details { margin: auto 0 0; }
.team-detail { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); align-items: baseline; }
.team-detail dt { color: var(--navy); font-size: .875rem; font-weight: 750; }
.team-detail dd { margin: 0; color: #405266; font-size: 1rem; overflow-wrap: anywhere; }
.team-detail .team-unconfirmed { color: #667482; font-size: .9375rem; font-style: italic; }
.team-card a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.team-band { padding: 64px 0; background: var(--navy); color: #e1ebf3; scroll-margin-top: 200px; }
.team-band-inner { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,1fr); gap: 48px; align-items: center; }
.team-band-artwork { grid-column: 1 / -1; min-width: 0; margin: 0; }
.team-band-artwork img { display: block; width: 100%; max-width: 100%; height: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; }
.team-band-artwork figcaption { margin-top: 10px; color: #bacbda; font-size: .8125rem; }
.team-band h2 { color: #fff; font-size: clamp(2rem,4vw,3rem); }
.team-band-copy > p:not(.eyebrow) { max-width: 540px; margin: 18px 0 0; }
.team-band-copy .team-band-note { color: #bacbda; font-size: .875rem; }
.team-band-player { padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.04); }
.team-band-track { margin: 0 0 18px; color: #fff; font-size: 1.25rem; font-weight: 750; }
.team-band-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--orange); border-radius: 8px; background: var(--orange); color: var(--navy-dark); font: inherit; font-size: 1rem; font-weight: 750; line-height: 1.4; cursor: pointer; }
.team-band-button .jingle-pause-icon, .team-band-button[aria-pressed="true"] .jingle-play-icon { display: none; }
.team-band-button[aria-pressed="true"] .jingle-pause-icon { display: block; }
.team-band-button:hover { background: var(--palette-accent-hover, #ffb354); }
.team-band-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.team-band-status { margin: 16px 0 0; color: var(--palette-accent-hover, #ffd7a8); }
@media (max-width: 680px) { .team-band-inner { grid-template-columns: minmax(0,1fr); gap: 28px; } .team-band-player { padding: 24px; } }
@media (max-width: 1050px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .team-intro { padding: 36px 0 28px; }
  .team-bio { min-height: 0; }
}
@media (max-width: 380px) {
  .team-card-body { padding: 18px; }
  .team-detail { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
