/* One team slide, sharing the deck's 1920 × 1080 canvas. */
.slide--team { padding-top: 94px; }
.slide--team .h2 { font-size: 76px; max-width: none; }
.team-lead { margin-top: 18px; color: var(--muted2); font-size: 25px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.team-card { color: var(--text); background: #111720; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; display: flex; padding: 0; text-align: left; height: 286px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.team-card:hover, .team-card:focus-visible { border-color: var(--cyan); background: #182535; outline: 3px solid #5ec8ff55; outline-offset: 4px; transform: translateY(-3px); }
.team-card > img { width: 190px; height: 100%; flex-shrink: 0; object-fit: cover; object-position: 50% 24%; }
.team-card-copy { display: flex; flex-direction: column; padding: 23px 23px 20px; }
.team-name { font: 700 29px/1.12 var(--f-display); letter-spacing: -.025em; }
.team-role { font-size: 15px; line-height: 1.4; color: var(--cyan); margin-top: 9px; font-weight: 700; }
.team-summary { font-size: 17px; line-height: 1.5; color: var(--muted2); margin-top: 14px; }
.team-more { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; margin-top: auto; padding-top: 10px; }
.team-more span { color: var(--cyan); font-size: 19px; line-height: 1; }
.team-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line2); margin-top: 28px; padding-top: 21px; font: 400 13px/1.4 var(--f-mono); color: var(--muted); }
.team-footer i { color: var(--blue); font-style: normal; margin: 0 10px; }
#team-profile { width: min(1240px, 92vw); max-width: none; max-height: 90dvh; padding: 0; border: 1px solid #35465b; border-radius: 18px; color: var(--text); background: #101720; box-shadow: 0 32px 100px #0009; overflow: auto; }
#team-profile::backdrop { background: #03070dd9; backdrop-filter: blur(9px); }
.team-profile-layout { display: grid; grid-template-columns: 36% 64%; }
.team-profile-photo { position: relative; min-height: 620px; background: #17202b; }
.team-profile-photo > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 50% 25%; }
.team-profile-photo::after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,#07090ddd); }
.team-profile-photo .wm { position: absolute; bottom: 32px; left: 32px; font-size: 24px; z-index: 1; }
.team-profile-copy { padding: 40px 44px; position: relative; }
.team-close { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border: 1px solid #526070; border-radius: 50%; background: #1b2634; color: white; cursor: pointer; }
.team-close:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.team-profile-label { font: 400 11px var(--f-mono); color: var(--cyan); letter-spacing: .2em; margin-bottom: 17px; }
#team-profile-name { font: 700 clamp(30px,3vw,48px)/1.1 var(--f-display); letter-spacing: -.03em; }
#team-profile-role { font-weight: 700; color: var(--cyan); font-size: 17px; line-height: 1.5; margin-top: 12px; }
#team-profile-area { color: var(--muted); font-size: 13px; margin-top: 6px; }
#team-profile-bio { margin-top: 24px; }
#team-profile-bio p { font-size: 14px; line-height: 1.7; color: var(--muted2); margin-top: 12px; }
.team-profile-copy h3 { font-size: 13px; margin: 24px 0 12px; }
#team-profile-skills { display: flex; gap: 6px; flex-wrap: wrap; }
#team-profile-skills span { padding: 5px 9px; border: 1px solid #334457; border-radius: 5px; color: #cbddec; font-size: 11px; }
@media (max-width: 700px) { .team-profile-layout { grid-template-columns: 1fr; } .team-profile-photo { min-height: 260px; height: 34dvh; } .team-profile-photo > img { object-fit: contain; } .team-profile-copy { padding: 30px 24px; } #team-profile { max-height: 94dvh; } }
@media (prefers-reduced-motion: reduce) { .team-card { transition: none; } }
@media print { #team-profile { display: none !important; } .team-card { break-inside: avoid; } .team-more, .team-footer > :last-child { visibility: hidden; } }
