/* Team page, high-grade layer (v175).
   Loads after site-v2.css and team-card.css. Uses the site's own colour tokens, so light and dark themes both work.
   Pure presentation: no data, routes or behaviour live here. */

/* ---- search and filters ---- */
.pds-ttools{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin:0 0 34px;padding:14px;border:1px solid var(--border,#e2e2e2);border-radius:var(--r-xl,22px);background:var(--panel,#fff)}
.pds-tsearch{flex:1 1 260px;min-width:0}
.pds-tsearch input{width:100%;min-height:46px;padding:0 18px;border:1px solid var(--border,#e2e2e2);border-radius:999px;background:var(--surface-alt,#f4f4f4);color:var(--text-primary,#111);font:500 15px var(--body,inherit);transition:border-color .15s ease,background .15s ease}
.pds-tsearch input:focus{outline:0;border-color:var(--text-primary,#111);background:var(--panel,#fff)}
.pds-tchips{display:flex;flex-wrap:wrap;gap:8px}
.pds-tchip{min-height:40px;padding:0 16px;border:1px solid var(--border,#e2e2e2);border-radius:999px;background:transparent;color:var(--text-secondary,#555);font:600 13px var(--body,inherit);letter-spacing:.01em;cursor:pointer;transition:all .15s ease}
.pds-tchip:hover{border-color:var(--text-primary,#111);color:var(--text-primary,#111)}
.pds-tstatus{flex:1 1 100%;margin:0}

/* ---- section headings ---- */
.pds-tgroup{margin:0 0 56px}
.pds-tgroup .pds-team-dept,.pds-tgroup:first-child .pds-team-dept{display:flex;align-items:center;gap:18px;margin:0 0 26px;padding:0;border:0;font:700 .78rem/1 var(--body,inherit);letter-spacing:.2em;text-transform:uppercase;color:var(--text-secondary,#555)}
.pds-tgroup .pds-team-dept::after{content:"";flex:1;height:1px;background:var(--border,#e2e2e2)}

/* ---- cards ---- */
.pds-tgrid{grid-template-columns:repeat(auto-fill,minmax(min(236px,100%),1fr));gap:26px}
.pds-tcard{position:relative;gap:0;border:1px solid var(--border,#e2e2e2);border-radius:var(--r-xl,22px);background:var(--panel,#fff);overflow:hidden;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .2s ease}
.pds-tcard:hover{transform:translateY(-6px);border-color:var(--text-primary,#111);box-shadow:0 22px 44px -22px rgba(0,0,0,.45)}
.pds-tcard .pds-tphoto{border:0;border-radius:0;aspect-ratio:4/5}
.pds-tcard:hover .pds-tphoto{border-color:transparent}
.pds-tcard .pds-tphoto::after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(to top,rgba(0,0,0,.28),transparent);opacity:0;transition:opacity .28s ease;pointer-events:none}
.pds-tcard:hover .pds-tphoto::after{opacity:1}
.pds-tcard .pds-tname{margin:0;padding:18px 20px 0;font:700 1.12rem/1.2 var(--display,inherit);letter-spacing:-.025em}
.pds-tcard .pds-trole{padding:5px 20px 0;font-size:.9rem;font-weight:500}
.pds-thead{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:8px 20px 0;font-size:.85rem;line-height:1.45;color:var(--text-secondary,#555)}
.pds-tview{display:inline-flex;align-items:center;gap:6px;margin:14px 20px 20px;font:700 .72rem/1 var(--body,inherit);letter-spacing:.14em;text-transform:uppercase;color:var(--text-primary,#111);opacity:.55;transition:opacity .2s ease,gap .2s ease}
.pds-tview::after{content:"\2192";font-size:1rem;letter-spacing:0;transition:transform .2s ease}
.pds-tcard:hover .pds-tview,.pds-tcard:focus-visible .pds-tview{opacity:1}
.pds-tcard:hover .pds-tview::after{transform:translateX(4px)}

/* ---- leadership: larger, featured ---- */
.pds-tgrid--lead{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:30px}
.pds-tgrid--lead .pds-tcard .pds-tphoto{aspect-ratio:1/1.12}
.pds-tgrid--lead .pds-tcard .pds-tname{padding:22px 24px 0;font-size:1.4rem}
.pds-tgrid--lead .pds-tcard .pds-trole{padding:6px 24px 0;font-size:.98rem;color:var(--text-primary,#111)}
.pds-tgrid--lead .pds-thead{padding:10px 24px 0;font-size:.92rem}
.pds-tgrid--lead .pds-tview{margin:16px 24px 24px}
.pds-tgroup--lead .pds-team-dept{color:var(--text-primary,#111)}

/* ---- details dialog ---- */
.pds-tmodal-panel{box-shadow:0 40px 90px -30px rgba(0,0,0,.6)}
.pds-tmodal-head{margin:10px 0 0;font:600 1.02rem/1.45 var(--display,inherit);letter-spacing:-.01em;color:var(--text-primary,#111)}
.pds-ttags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0}
.pds-ttags li{padding:6px 13px;border:1px solid var(--border,#e2e2e2);border-radius:999px;background:var(--surface-alt,#f4f4f4);font:600 .76rem/1 var(--body,inherit);letter-spacing:.02em;color:var(--text-primary,#111)}
.pds-thl{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:10px}
.pds-thl li{position:relative;padding-left:28px;line-height:1.55;color:var(--text-secondary,#555)}
.pds-thl li::before{content:"";position:absolute;left:2px;top:.5em;width:12px;height:7px;border-left:2px solid var(--text-primary,#111);border-bottom:2px solid var(--text-primary,#111);transform:rotate(-45deg)}
.pds-tquote{position:relative;margin:22px 0 0;padding:20px 22px 20px 24px;border:0;border-left:3px solid var(--text-primary,#111);border-radius:0 var(--r-lg,16px) var(--r-lg,16px) 0;background:var(--surface-alt,#f4f4f4);font:500 1.05rem/1.6 var(--display,inherit);font-style:italic;letter-spacing:-.01em;color:var(--text-primary,#111);overflow-wrap:anywhere}

/* ---- profile page (/team/name) ---- */
.pds-tprofile{max-width:1060px;gap:clamp(26px,5vw,64px)}
.pds-tprofile-photo{position:sticky;top:96px;border-radius:var(--r-xl,22px);border:1px solid var(--border,#e2e2e2);box-shadow:0 30px 60px -34px rgba(0,0,0,.5)}
.pds-tprofile .pds-tmodal-head{font-size:1.2rem}
.pds-tprofile .pds-tmodal-bio{font-size:1.04rem;line-height:1.75}
.pds-tprofile .pds-tmodal-sub{margin-top:28px}
@media (max-width:720px){.pds-tprofile-photo{position:static}.pds-tgroup{margin-bottom:40px}.pds-tgrid{gap:14px}.pds-tcard .pds-tname{padding:14px 14px 0;font-size:1rem}.pds-tcard .pds-trole{padding:4px 14px 0;font-size:.84rem}.pds-thead{padding:6px 14px 0;font-size:.8rem;-webkit-line-clamp:3}.pds-tview{margin:12px 14px 16px}.pds-tgrid--lead{grid-template-columns:1fr}}

@media (hover:none){.pds-tcard:hover{transform:none;box-shadow:none}.pds-tview{opacity:1}}
@media (prefers-reduced-motion:reduce){.pds-tcard,.pds-tcard .pds-tphoto::after,.pds-tview,.pds-tview::after{transition:none}.pds-tcard:hover{transform:none}}
