/* Team proposals, isolated from the current assembly. Its chrome and player are reused. */
body[data-chapter="team"] .stage{background:#071d2b}
body[data-chapter="team"] .stage>#poster{opacity:0!important}
body[data-chapter="team"] .stage>#team-background{object-position:50% 30%;transition:opacity .55s,left .45s,width .45s;left:0;width:100%;z-index:4}
body[data-chapter="team"] .shade{background:linear-gradient(0deg,#03131df5 0%,#03131d80 17%,transparent 48%),linear-gradient(180deg,#03131d83,transparent 26%),linear-gradient(270deg,#03131d88,transparent 17%);opacity:1}
body[data-chapter="team"] #story{inset:117px auto auto var(--gutter);width:310px;height:150px;overflow:visible;pointer-events:none}
body[data-chapter="team"] .team-chapter{padding:0;min-height:0;justify-content:flex-start}
body[data-chapter="team"] .team-chapter .eyebrow{margin-bottom:11px;font-size:10px}
body[data-chapter="team"] .team-chapter h2{font-size:clamp(29px,3.1vw,45px);line-height:1.06;text-shadow:0 2px 20px #071d2b22}
body[data-chapter="team"] .team-chapter .lead,body[data-chapter="team"] .team-chapter>.text-link{display:none}
#team-study{position:fixed;inset:0;z-index:22;pointer-events:none}
#team-study[hidden]{display:none!important}
#team-study button,#team-study a,#team-study summary{pointer-events:auto}
/* Names and caption follow the title: the photograph settles first, the chrome fades in after the title has written. */
#team-study:not([hidden]){animation:team-chrome-in .45s ease .3s both}
@keyframes team-chrome-in{from{opacity:0}to{opacity:1}}
.team-names{position:absolute;inset:0;pointer-events:none}
.team-name{position:absolute;transform:translateX(-50%);width:clamp(108px,11vw,156px);padding:13px 4px 9px;min-height:76px;text-align:center;border-top:1px solid rgba(255,250,240,.55);transition:color .2s,background .2s,border-color .2s;text-shadow:0 1px 7px #03131dc4}
.team-name::before{content:'';position:absolute;width:1px;height:15px;background:rgba(255,250,240,.6);left:50%;bottom:100%}
.team-name .given,.team-name .family{display:block;font-size:clamp(13px,1.28vw,18px);line-height:1.17}
.team-name .member-role{display:block;font-size:11px;line-height:1.4;color:#f7f5eb;margin-top:7px;white-space:normal}
.team-name:hover,.team-name:focus-visible,.team-name[aria-expanded="true"]{color:var(--gold);border-color:var(--gold);background:#071d2b50}
.team-name:hover::before,.team-name[aria-expanded="true"]::before{background:var(--gold)}
.team-name[aria-expanded="true"] .member-role{color:var(--gold)}
.team-caption{position:absolute;bottom:95px;left:var(--gutter);font-size:11px;color:#e2e7e8;letter-spacing:.02em}
.team-panel{pointer-events:auto;position:absolute;left:var(--gutter);top:132px;bottom:100px;width:300px;padding:0 4px 0 0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff40 transparent;overscroll-behavior:contain}
.team-panel[hidden]{display:none!important}
.team-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.team-panel-head p{font-size:10px;letter-spacing:.17em;color:var(--soft);text-transform:uppercase}
.team-close{display:flex;gap:10px;align-items:center;font-size:12px;min-height:44px;padding:6px 0}
.team-close span{font-size:24px;font-weight:400;line-height:1}
.team-panel h3{font-size:32px;line-height:1.08;font-weight:400;letter-spacing:-.04em;max-width:300px}
.team-panel .profile-role{font-size:13px;line-height:1.45;color:var(--gold);margin-top:10px}
.team-panel .profile-intro{font-size:14px;line-height:1.65;margin-top:20px;color:var(--soft)}
.team-panel details{margin-top:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.team-panel summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;list-style:none;cursor:pointer}
.team-panel summary::-webkit-details-marker{display:none}
.team-panel details p{font-size:14px;line-height:1.7;color:var(--soft);padding:0 0 17px}
.team-profile-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:15px}
.team-profile-links a{font-size:13px;min-height:44px;display:inline-flex;gap:18px;align-items:center;border-bottom:1px solid var(--line)}
.team-profile-links a:hover{color:var(--gold);border-color:var(--gold)}
.team-profile-links .missing-link{font-size:11px;color:var(--soft)}
.team-person-nav{display:flex;gap:14px;align-items:center;margin-top:18px;font-size:12px;color:var(--soft)}
.team-person-nav button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;font-size:20px}
.team-person-nav span{margin-right:auto}
body.team-profile-open[data-chapter="team"] #story{opacity:0;pointer-events:none}
body.team-profile-open[data-chapter="team"] .stage>#team-background{left:325px;width:calc(100% - 325px);object-position:50% 30%}
body.team-profile-open[data-chapter="team"] .shade{background:linear-gradient(90deg,#071d2b 0,#071d2bf5 310px,#071d2b40 390px,transparent 48%),linear-gradient(0deg,#03131de8,transparent 36%,transparent 75%,#03131d70),linear-gradient(270deg,#03131d70,transparent 16%)}
body.team-profile-open[data-chapter="team"] .team-caption{display:none}
body[data-team-layout="index"][data-chapter="team"] .stage>#team-background{left:245px;width:calc(100% - 245px);object-position:50% 30%}
body[data-team-layout="index"][data-chapter="team"] .shade{background:linear-gradient(90deg,#071d2b 0,#071d2bf5 235px,#071d2b55 325px,transparent 48%),linear-gradient(0deg,#03131dd9,transparent 34%,transparent 75%,#03131d70),linear-gradient(270deg,#03131d70,transparent 16%)}
body[data-team-layout="index"] .team-names{inset:265px auto 118px var(--gutter);width:220px;display:flex;flex-direction:column;justify-content:center;gap:0;pointer-events:auto}
body[data-team-layout="index"] .team-name{position:relative!important;left:auto!important;top:auto!important;transform:none;width:100%;text-align:left;padding:12px 0;min-height:57px;border-top:1px solid var(--line);text-shadow:none}
body[data-team-layout="index"] .team-name::before{display:none}
body[data-team-layout="index"] .team-name .given,body[data-team-layout="index"] .team-name .family{display:inline;font-size:15px}
body[data-team-layout="index"] .team-name .family::before{content:' '}
body[data-team-layout="index"] .team-name .member-role{font-size:11px;margin-top:4px;color:var(--soft)}
body[data-team-layout="index"].team-profile-open .team-names{display:none}
body[data-team-layout="index"].team-profile-open[data-chapter="team"] .stage>#team-background{left:325px;width:calc(100% - 325px)}
body[data-team-layout="index"].team-profile-open[data-chapter="team"] .shade{background:linear-gradient(90deg,#071d2b 0,#071d2bf5 310px,#071d2b40 390px,transparent 48%),linear-gradient(0deg,#03131de8,transparent 36%,transparent 75%,#03131d70),linear-gradient(270deg,#03131d70,transparent 16%)}
.team-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.team-photo-hits{position:absolute;overflow:hidden;pointer-events:none;z-index:0}
.team-photo-hit{position:absolute;display:block;margin:0;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.team-photo-hit:focus-visible{background:#fffaf010;outline:none}
.team-photo-light{position:absolute;z-index:4;pointer-events:none;background:#071d2b;opacity:0;transition:opacity .28s;mask-image:none;mask-repeat:no-repeat}
.team-photo-light[hidden]{display:none!important}
.team-photo-light[data-state="preview"]{opacity:.14}
.team-photo-light[data-state="selected"]{opacity:.28}
.team-names{z-index:1}
.team-panel{z-index:2}
.team-name.is-photo-preview{color:var(--gold);border-color:var(--gold)}
.team-name.is-photo-preview::before{background:var(--gold)}
@media(min-width:1500px){.team-panel{width:330px}body.team-profile-open[data-chapter="team"] .stage>#team-background,body[data-team-layout="index"].team-profile-open[data-chapter="team"] .stage>#team-background{left:385px;width:calc(100% - 385px)}body.team-profile-open[data-chapter="team"] .shade{background:linear-gradient(90deg,#071d2b 0,#071d2bf5 370px,#071d2b30 470px,transparent 50%),linear-gradient(0deg,#03131de8,transparent 36%,transparent 75%,#03131d70)}}
@media(min-width:701px) and (max-width:1100px){.team-panel{width:265px}.team-panel h3{font-size:30px}.team-panel .profile-intro{font-size:14px}body.team-profile-open[data-chapter="team"] .stage>#team-background,body[data-team-layout="index"].team-profile-open[data-chapter="team"] .stage>#team-background{left:290px;width:calc(100% - 290px)}body.team-profile-open[data-chapter="team"] .shade{background:linear-gradient(90deg,#071d2b 0,#071d2bef 280px,#071d2b20 360px,transparent 50%),linear-gradient(0deg,#03131de8,transparent 36%,transparent 75%,#03131d70)}.team-name{width:98px}.team-name .given,.team-name .family{font-size:13px}.team-name .member-role{font-size:10px}body[data-team-layout="index"] .team-names{width:195px}body[data-team-layout="index"] .team-name .given,body[data-team-layout="index"] .team-name .family{font-size:14px}}
@media(max-aspect-ratio:4/5){
  body[data-chapter="team"] .stage{background:#bac8cd}
  body[data-chapter="team"] .stage>#team-background,body.team-profile-open[data-chapter="team"] .stage>#team-background,body[data-team-layout="index"][data-chapter="team"] .stage>#team-background,body[data-team-layout="index"].team-profile-open[data-chapter="team"] .stage>#team-background{left:0;top:50%;width:100%;height:auto;transform:translateY(-49%);object-fit:contain;object-position:center;transition:opacity .35s}
  body[data-chapter="team"] .shade,body.team-profile-open[data-chapter="team"] .shade,body[data-team-layout="index"][data-chapter="team"] .shade,body[data-team-layout="index"].team-profile-open[data-chapter="team"] .shade{background:linear-gradient(180deg,#03131d92 0,transparent 30%,transparent 48%,#03131d7a 68%,#03131df5 94%)}
  body[data-chapter="team"] .stage>#team-background{mask-image:linear-gradient(180deg,transparent,#000 8%,#000 88%,transparent)}
  .team-photo-light{mask-image:none;mask-repeat:no-repeat;mask-composite:add}
  body[data-chapter="team"] #story{inset:108px 24px auto;width:auto;height:150px}
  body[data-chapter="team"] .team-chapter{justify-content:flex-start;padding:0}
  body[data-chapter="team"] .team-chapter h2{font-size:35px}
  body[data-chapter="team"] .team-chapter .eyebrow{display:none}
  .team-names,body[data-team-layout="index"] .team-names{inset:auto 24px 103px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:auto;gap:4px 12px}
  .team-name,body[data-team-layout="index"] .team-name{grid-column:span 2;position:relative!important;top:auto!important;left:auto!important;transform:none;width:auto;min-height:55px;padding:8px 0;text-align:left;border-top:1px solid #fffaf077;background:none;white-space:normal}
  .team-name:nth-child(4),.team-name:nth-child(5){grid-column:span 3}
  .team-name::before{display:none}
  .team-name .given,.team-name .family,body[data-team-layout="index"] .team-name .given,body[data-team-layout="index"] .team-name .family{display:block;font-size:13px;line-height:1.3}
  body[data-team-layout="index"] .team-name .family::before{content:none}
  .team-name .member-role,body[data-team-layout="index"] .team-name .member-role{display:none}
  .team-caption{bottom:235px;left:24px;font-size:11px}
  .team-panel{left:0;right:0;top:auto;bottom:0;width:auto;max-height:62svh;padding:0 25px max(24px,env(safe-area-inset-bottom));background:#071d2bf7;box-shadow:0 -18px 70px #03131d45;border-top:1px solid var(--line);border-radius:18px 18px 0 0;scrollbar-width:thin;backdrop-filter:blur(16px)}
  .team-panel::before{content:'';display:block;width:34px;height:3px;border-radius:5px;background:#ffffff60;margin:10px auto 5px}
  .team-panel-head{margin-bottom:12px;position:sticky;top:0;background:#071d2b;z-index:1}
  /* 2026-10-12 (demande de Vincent) : plus de libellé « The team » / « L'équipe » en tête de la fiche sur téléphone ; la croix reste à droite. */
  .team-panel-head p{display:none}
  .team-close{margin-left:auto}
  .team-panel h3{font-size:30px}.team-panel .profile-intro{font-size:15px;margin-top:20px}.team-panel .profile-role{font-size:13px}
  body.team-profile-open .team-names,body.team-profile-open .film-controls{display:none}
  body.team-profile-open #team-study{z-index:35}
  body.team-profile-open[data-chapter="team"] #story{opacity:1}
  body.team-profile-open[data-chapter="team"] .stage>#team-background,body[data-team-layout="index"].team-profile-open[data-chapter="team"] .stage>#team-background{top:42%;transform:translateY(-55%)}
  .team-person-nav{margin-top:15px}
  .team-profile-links{margin-top:12px}
  body[data-team-layout="index"].team-profile-open .team-names{display:none}
}
@media(max-width:360px){.team-names,body[data-team-layout="index"] .team-names{left:18px;right:18px;gap:4px 8px}.team-name .given,.team-name .family{font-size:12px}.team-panel{padding-left:20px;padding-right:20px}body[data-chapter="team"] .team-chapter h2{font-size:30px}}
@media(max-height:650px) and (min-width:701px){body[data-chapter="team"] #story{top:105px}.team-panel{top:100px;bottom:110px}.team-panel-head{margin-bottom:10px}.team-panel .profile-intro{margin-top:15px}.team-caption{bottom:78px}body[data-team-layout="index"] .team-names{top:230px;bottom:85px}.team-name{min-height:55px}.team-name .member-role{margin-top:3px}.team-panel h3{font-size:29px}}
@media(prefers-reduced-motion:reduce){body[data-chapter="team"] .stage>#team-background,.team-photo-light{transition:none}#team-study:not([hidden]){animation:none}}
