/* Full-screen team portrait, using the existing poster palette and type. */
.team { background: #fff; color: var(--plum); }
.team__stage { position: relative; height: 100svh; min-height: 680px; isolation: isolate; overflow: clip; }
.team__header { position: absolute; z-index: 3; inset: 28px var(--edge) auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; pointer-events: none; }
.team h2, .team h3 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: -.025em; }
.team h2 { margin: 0; font-size: clamp(4rem, 7.6vw, 8rem); line-height: .94; }
.team h2 > span { color: var(--raspberry); }
.team__header > p { margin: 5px 0 0; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.55; }
.team__portraits { position: absolute; inset: 15% 0 0; }
.team__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.team__photo--rally { visibility: hidden; }
.team.is-ready .team__photo--rally { visibility: visible; -webkit-mask-image: radial-gradient(ellipse var(--lens-x, 0px) var(--lens-y, 0px) at var(--mouse-x, 50%) var(--mouse-y, 50%), #000 75%, transparent 100%); mask-image: radial-gradient(ellipse var(--lens-x, 0px) var(--lens-y, 0px) at var(--mouse-x, 50%) var(--mouse-y, 50%), #000 75%, transparent 100%); }
.team.is-rally .team__photo--rally { -webkit-mask-image: none; mask-image: none; }
.team__people { position: absolute; z-index: 2; inset: auto var(--edge) 130px; display: flex; justify-content: space-between; gap: 32px; pointer-events: none; }
.team-person { width: 19%; max-width: 270px; }
.team-person--bastien { text-align: right; }
.team h3 { margin: 0 0 17px; font-size: clamp(2.5rem, 4.3vw, 5rem); line-height: .95; }
.team h3 span { color: var(--raspberry); }
.team-person__role { margin: 0 0 14px; font-size: 13px; font-weight: 700; }
.team-person__bio { margin: 0; font-size: 14px; line-height: 1.6; }
.team__footer { position: absolute; z-index: 3; left: var(--edge); right: var(--edge); bottom: 24px; display: flex; align-items: center; justify-content: center; }
.team-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 13px 20px; border: 1px solid var(--plum); background: var(--cream); color: var(--plum); font-size: 12px; font-weight: 700; cursor: pointer; }
.team-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; }
.team-toggle:hover, .team-toggle[aria-pressed="true"] { color: var(--cream); background: var(--plum); }
.team__cursor { position: absolute; z-index: 4; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; opacity: 0; color: var(--cream); border: 1px solid var(--cream); border-radius: 50%; background: var(--plum); pointer-events: none; }
.team__cursor svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.2; }
.team.is-exploring .team__cursor { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .team.is-ready .team__portraits { cursor: none; } }

@media (max-width: 1100px) {
  .team__stage { min-height: 760px; }
  .team__portraits { inset: 15% 4% 205px; }
  .team__people { bottom: 94px; gap: 30px; }
  .team-person { width: 45%; max-width: none; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .team h3 { grid-row: 1 / 3; margin-bottom: 0; font-size: clamp(2rem, 4.4vw, 3rem); }
  .team-person__role { margin-bottom: 6px; align-self: end; }
  .team-person__bio { font-size: 12px; }
  .team-person--bastien { text-align: left; }
  .team__footer { bottom: 20px; }
}
@media (max-width: 600px) {
  .team__stage { min-height: 760px; }
  .team__header { top: 25px; display: block; }
  .team h2 { font-size: 17vw; }
  .team__header > p { margin-top: 18px; font-size: 14px; }
  .team__portraits { inset: 19% -5% 260px; }
  .team__people { bottom: 112px; gap: 18px; }
  .team-person { display: block; width: 50%; }
  .team h3 { font-size: clamp(2rem, 9.3vw, 3rem); margin-bottom: 10px; }
  .team-person__role { font-size: 12px; margin-bottom: 8px; }
  .team-person__bio { font-size: 11px; line-height: 1.5; }
  .team__footer { bottom: 18px; }
  .team-toggle { min-height: 44px; font-size: 12px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .team__cursor { display: none; }
  .team.is-ready .team__portraits { cursor: auto; }
}
