/* Proposta staff 3. Tutti gli stili sono circoscritti alla sezione e ai suoi dialoghi. */
@font-face{font-family:StaffCondensed;src:url('assets/barlow-condensed.ttf');font-weight:100 900;font-display:swap}
.team-staff{--staff-red:#c11718;--staff-yellow:#fbba07;--staff-display:StaffCondensed,'Arial Narrow',sans-serif;max-width:1224px;margin:44px auto;padding:35px 32px 25px;background:var(--staff-yellow);color:#201e1d;font:400 16px/1.5 Barlow,Arial,sans-serif;scroll-margin-top:12px}
.team-staff h2,.team-staff h3{font-family:var(--staff-display);font-weight:750;line-height:1;letter-spacing:normal}
.team-staff p,.team-staff figure{margin:0}
.team-staff button{font:inherit;cursor:pointer}
.team-staff em{font-style:normal;color:var(--staff-red)}
.team-staff a:focus-visible,.team-staff button:focus-visible,.team-staff summary:focus-visible{outline:3px solid #8f1112;outline-offset:4px}
.team-staff .section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:28px}
.team-staff .eyebrow{font-size:10px;font-weight:700;letter-spacing:.14em;color:#8f1112;margin-bottom:14px;line-height:1.5}
.team-staff #staff-title{font-size:61px;line-height:.96;letter-spacing:-.015em}
.team-staff .section-intro{font-size:14px;line-height:1.65;color:#51451e;padding-bottom:4px}
.team-staff .portrait-mosaic{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;align-items:stretch}
.team-staff .staff-card{display:flex;flex-direction:column;min-width:0;background:#fff5de;border-bottom:3px solid #8f1112}
.team-staff .individual-photo{display:block;position:relative;isolation:isolate;overflow:hidden;flex-shrink:0;width:100%;aspect-ratio:.77;border:0;padding:0;background:#a61415}
.team-staff .individual-photo>img{position:absolute;width:100%;height:140%;top:-5%;left:0;object-fit:cover;object-position:center}
.team-staff .expand{position:absolute;right:10px;bottom:10px;width:28px;height:28px;display:grid;place-items:center;color:#fff;background:#201e1dc9;border:1px solid #fff8;font-size:21px;line-height:1}
.team-staff .staff-card-copy{display:grid;grid-template-rows:minmax(62px,auto) minmax(32px,auto) 44px;gap:8px;flex:1;padding:18px 14px;align-content:start}
.team-staff .staff-area{display:block;font-size:7px;font-weight:700;letter-spacing:.07em;color:var(--staff-red);line-height:1.4}
.team-staff .staff-card-copy h3{font-size:20px;font-weight:500;line-height:1.08;margin:0}
.team-staff .staff-card-copy h3 strong{display:block;font-size:32px;font-weight:750;text-transform:uppercase;margin-top:2px}
.team-staff .staff-card-copy>p{font-size:11px;line-height:1.4;margin:0;color:#685246}
.team-staff .mosaic-signature{display:flex;align-items:center;justify-content:space-between;padding:23px 0 0;gap:22px}
.team-staff .mosaic-signature strong{font:750 25px/.98 var(--staff-display);color:#8f1112}
.team-staff .mosaic-signature>span{font-size:10px;color:#5d4c15}
.team-staff .verification{position:relative;display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;column-gap:25px;row-gap:4px;border-top:1px solid #d4a006;margin-top:19px;padding-top:17px;color:#5d4c15;font-size:9px}
.team-staff .verification>span{letter-spacing:.04em;padding-top:5px;margin-right:auto}
.team-staff .verification details{max-width:520px;text-align:right;font-size:11px}
.team-staff .verification summary{cursor:pointer;min-height:30px}
.team-staff .verification summary span{margin-left:10px}
.team-staff .verification details>div{text-align:left;line-height:1.7;padding:12px 0}
.team-staff .verification p{margin:0 0 13px}
.team-staff .verification a{text-decoration:underline;text-underline-offset:3px}
.team-staff .group-reference{background:none;border:0;border-bottom:1px solid currentColor;color:inherit;font:inherit;white-space:nowrap;padding:4px 0;min-height:30px;align-self:start}
.team-staff-dialog{padding:0;border:0;width:min(1020px,calc(100% - 32px));max-height:90svh;overflow:auto;background:#f3eee1;color:#201e1d;font:400 16px/1.5 Barlow,Arial,sans-serif}
.team-staff-dialog::backdrop{background:#070908dc}
.team-staff-dialog>img{width:100%;max-height:68svh;object-fit:contain;background:#201e1d}
.team-staff-dialog>div{padding:18px 25px 25px}
.team-staff-dialog h2{font:750 28px/1 StaffCondensed,'Arial Narrow',sans-serif;letter-spacing:normal}
.team-staff-dialog p,.team-staff-dialog a{font-size:12px;margin-top:8px}
.team-staff-dialog a{display:inline-block;text-decoration:underline}
.team-staff-dialog .close-photo{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;background:#fbba07;color:#201e1d;font-size:28px;z-index:5}
.team-staff-dialog button:focus-visible,.team-staff-dialog a:focus-visible{outline:3px solid #2488df;outline-offset:3px}
.first-team-page.staff-photo-open{overflow:hidden}
.team-staff .staff-profile-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:12px 0 4px;margin-top:auto;border:0;border-bottom:1px solid #bba38a;background:transparent;color:#8f1112;font-size:12px;font-weight:600;text-align:left}
.team-staff .staff-profile-link span{font-size:19px}
.team-staff-profile{--profile-red:#8f1112;--profile-yellow:#fbba07;width:min(880px,calc(100% - 32px));max-height:90svh;padding:0;border:0;overflow:auto;overscroll-behavior:contain;background:#fff5de;color:#211d18;font:400 16px/1.6 Barlow,Arial,sans-serif}
.team-staff-profile::backdrop{background:#070908dc}
.team-staff-profile p,.team-staff-profile figure{margin:0}
.team-staff-profile button{cursor:pointer;font:inherit}
.team-staff-profile button:focus-visible,.team-staff-profile a:focus-visible,.team-staff-profile summary:focus-visible{outline:3px solid #2488df;outline-offset:3px}
.team-staff-profile .staff-profile-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;background:var(--profile-red);color:#fff5de}
.team-staff-profile .staff-profile-bar>span{font-size:10px;font-weight:600;letter-spacing:.1em}
.team-staff-profile .close-profile{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:6px 14px;border:0;background:var(--profile-yellow);color:#211d18;font-size:12px;font-weight:600}
.team-staff-profile .close-profile span{font-size:26px;line-height:1}
.team-staff-profile .staff-profile-content{padding:32px 38px 26px}
.team-staff-profile .staff-profile-opening{display:grid;grid-template-columns:210px minmax(0,1fr);gap:30px;align-items:start}
.team-staff-profile .staff-profile-portrait{min-width:0;background:#8f1112}
.team-staff-profile .staff-profile-portrait img{display:block;width:100%;height:238px;object-fit:cover;object-position:50% 18%}
.team-staff-profile .staff-profile-portrait.is-coach img{object-position:54% center}
.team-staff-profile .staff-profile-portrait figcaption{padding:9px 12px;color:#fff5de;font-size:10px;line-height:1.4}
.team-staff-profile .staff-profile-eyebrow{margin:0 0 10px;color:var(--profile-red);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.team-staff-profile h2{margin:0;color:var(--profile-red);font:750 clamp(45px,5vw,67px)/.98 StaffCondensed,'Arial Narrow',sans-serif;letter-spacing:-.01em;text-transform:uppercase}
.team-staff-profile h2>span{display:block;font-size:.5em;font-weight:500;line-height:1.35;text-transform:none}
.team-staff-profile .staff-profile-role{margin-top:13px;font-size:15px;font-weight:600}
.team-staff-profile .staff-profile-bio{margin-top:18px;font-size:15px;line-height:1.65}
.team-staff-profile .staff-profile-insight{margin-top:28px;padding:18px 22px;border-left:3px solid var(--profile-red);background:#f7e6b4;font-size:14px;line-height:1.6}
.team-staff-profile .staff-profile-insight strong{display:block;margin-bottom:7px;color:var(--profile-red);font-size:12px}
.team-staff-profile .staff-profile-career{margin-top:30px}
.team-staff-profile .staff-career-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:15px;border-bottom:2px solid #8f1112}
.team-staff-profile h3{font:700 31px/1.1 StaffCondensed,'Arial Narrow',sans-serif;letter-spacing:0}
.team-staff-profile .staff-career-heading>span{font-size:11px;color:#69543d}
.team-staff-profile ol{padding:0;margin:0;list-style:none}
.team-staff-profile ol li{display:grid;grid-template-columns:122px minmax(0,1fr);gap:22px;padding:18px 0;border-bottom:1px solid #daceaa}
.team-staff-profile .staff-career-period{color:var(--profile-red);font-size:12px;font-weight:600;padding-top:2px}
.team-staff-profile h4{margin:0 0 5px;font-size:15px;font-weight:600;line-height:1.4}
.team-staff-profile ol p{font-size:14px;line-height:1.6}
.team-staff-profile .staff-career-reference{display:inline-flex;align-items:center;gap:5px;min-height:32px;color:#8f1112;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.team-staff-profile .staff-profile-note{margin-top:19px;font-size:13px;color:#69543d}
.team-staff-profile .staff-profile-sources{margin-top:22px;font-size:12px}
.team-staff-profile .staff-profile-sources summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;font-weight:600;color:#8f1112}
.team-staff-profile .staff-profile-sources summary span{font-size:20px}
.team-staff-profile .staff-profile-sources[open] summary span{transform:rotate(45deg)}
.team-staff-profile .staff-profile-sources ul{margin:0;padding:8px 0 8px 18px}
.team-staff-profile .staff-profile-sources li{padding:5px 0}
.team-staff-profile .staff-profile-sources a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.team-staff-profile .staff-profile-updated{margin-top:12px;padding-top:16px;border-top:1px solid #daceaa;font-size:10px;line-height:1.6;color:#69543d}
@media(max-width:600px){.team-staff-profile{width:calc(100% - 20px);max-height:94svh}.team-staff-profile .staff-profile-bar{padding:8px 14px}.team-staff-profile .staff-profile-bar>span{font-size:8px;letter-spacing:.05em;max-width:140px}.team-staff-profile .staff-profile-content{padding:23px 20px}.team-staff-profile .staff-profile-opening{grid-template-columns:104px minmax(0,1fr);gap:15px}.team-staff-profile .staff-profile-portrait img{height:138px}.team-staff-profile .staff-profile-portrait figcaption{font-size:8px;padding:8px;line-height:1.5}.team-staff-profile .staff-profile-intro{display:contents}.team-staff-profile .staff-profile-eyebrow{grid-column:2;grid-row:1;align-self:start;font-size:8px;margin-top:3px}.team-staff-profile h2{grid-column:2;grid-row:1;align-self:start;margin-top:37px;font-size:40px}.team-staff-profile .staff-profile-role{grid-column:1/-1;margin-top:3px;font-size:14px;padding-top:10px;border-top:1px solid #daceaa}.team-staff-profile .staff-profile-bio{grid-column:1/-1;margin-top:0;font-size:15px}.team-staff-profile .staff-profile-insight{margin-top:24px;padding:15px}.team-staff-profile ol li{grid-template-columns:1fr;gap:6px;padding:17px 0}.team-staff-profile .staff-career-heading{gap:8px}.team-staff-profile .staff-career-heading>span{font-size:10px}.team-staff-profile .staff-career-reference{min-height:40px}.team-staff-profile .staff-profile-sources li{padding:8px 0}}
@media(max-width:359px){.team-staff-profile .staff-profile-content{padding-inline:16px}.team-staff-profile .staff-profile-opening{grid-template-columns:90px minmax(0,1fr);gap:12px}.team-staff-profile h2{font-size:34px}.team-staff-profile .staff-profile-portrait img{height:123px}.team-staff-profile .staff-profile-eyebrow{font-size:7px;letter-spacing:.06em}}
@media(max-width:1239px){.team-staff{margin-inline:18px}}
@media(min-width:701px) and (max-width:1050px){.team-staff .portrait-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}.team-staff .individual-photo{aspect-ratio:1.2}.team-staff .individual-photo>img{height:auto;top:-10%}}
@media(max-width:950px){.team-staff .section-heading{gap:25px}.team-staff .section-intro{font-size:12px}.team-staff #staff-title{font-size:53px}}
@media(max-width:700px){.team-staff{padding:26px 20px 20px;margin:28px 0}.team-staff .section-heading{display:block;margin-bottom:28px}.team-staff #staff-title{font-size:clamp(40px,10.7vw,61px)}.team-staff .eyebrow{font-size:8px;margin-bottom:12px}.team-staff .section-intro{font-size:13px;margin-top:17px}.team-staff .section-intro br{display:none}.team-staff .portrait-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.team-staff .individual-photo{aspect-ratio:1.05}.team-staff .individual-photo>img{width:100%;height:auto;top:0}.team-staff .staff-card-copy{padding:15px 13px 18px}.team-staff .staff-card-copy h3{font-size:19px}.team-staff .staff-card-copy h3 strong{font-size:30px}.team-staff .staff-card-copy>p{font-size:11px}.team-staff .mosaic-signature strong{font-size:23px}.team-staff .mosaic-signature>span{text-align:right;font-size:9px;max-width:90px}.team-staff .verification{display:block;font-size:8px}.team-staff .verification>span{display:block}.team-staff .verification details{max-width:100%;text-align:left;margin-top:12px}.team-staff .verification summary{min-height:35px}.team-staff .verification details>div{font-size:11px}.team-staff .group-reference{margin-top:8px}.team-staff-dialog>div{padding:17px 19px}.team-staff-dialog h2{font-size:26px}}
@media(max-width:359px){.team-staff{padding-inline:16px}.team-staff #staff-title{font-size:39px}.team-staff .portrait-mosaic{grid-template-columns:1fr;gap:16px}.team-staff .staff-card-copy{padding-inline:16px}.team-staff .staff-card-copy h3 strong{font-size:27px}.team-staff .staff-area{font-size:6.5px;letter-spacing:.01em}}

/* Identita temporanea e archivio staff: aggiornamento 14 ottobre 2026. */
.team-staff .staff-update-note{font-size:12px;line-height:1.65;margin:-10px 0 22px;max-width:780px;color:#51451e}
.team-staff .individual-photo.staff-identity-picture{display:flex;align-items:center;justify-content:center;background:#8f1112}
.team-staff .individual-photo.staff-identity-picture>img{position:static;width:56%;height:72%;object-fit:contain}
.team-staff-profile .staff-profile-portrait.is-identity img{object-fit:contain;padding:24px}
.team-staff .staff-archive{margin-top:24px;padding-top:16px;border-top:1px solid #d4a006;color:#5d4c15;font-size:12px}
.team-staff .staff-archive summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;cursor:pointer;font-weight:600}
.team-staff .staff-archive-profiles{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:12px 0}
.team-staff .staff-archive-profiles p{line-height:1.7}
.team-staff .staff-archive-profiles .staff-profile-link{margin-top:12px}
@media(max-width:700px){.team-staff .staff-update-note{font-size:11px}.team-staff .staff-archive-profiles{grid-template-columns:1fr;gap:22px}}

/* Sfondo comune e maschere alpha: i colori e i pixel delle foto originali restano invariati. */
.team-staff .individual-photo.staff-portrait-stage,
.team-staff .individual-photo.staff-identity-picture{
  aspect-ratio:4/5;
  background:#8f1112 url('assets/staff/staff-backdrop-2026.svg') center/100% 100% no-repeat;
}
.team-staff .individual-photo.staff-portrait-stage>img.staff-portrait-original{
  position:absolute;
  z-index:1;
  width:var(--portrait-scale,var(--portrait-height,150%));
  height:var(--portrait-scale,var(--portrait-height,150%));
  max-width:none;
  max-height:none;
  top:var(--portrait-top,-12%);
  right:auto;
  bottom:auto;
  left:50%;
  transform:translateX(-50%);
  object-fit:fill;
  object-position:center;
  filter:none;
  -webkit-mask-image:var(--staff-mask);
  mask-image:var(--staff-mask);
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  mask-mode:alpha;
}
.team-staff .individual-photo.staff-identity-picture>img{
  position:absolute;
  z-index:1;
  width:52%;
  height:auto;
  max-height:72%;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  object-fit:contain;
  filter:none;
}
.team-staff .individual-photo.staff-portrait-stage>.expand{
  z-index:2;
}
