.team-page{background:#fff}

.tm-hero{position:relative;min-height:clamp(720px,84svh,900px);overflow:hidden;background:var(--navy);color:#fff;isolation:isolate}
.tm-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(13,30,56,.97) 0%,rgba(13,30,56,.9) 30%,rgba(13,30,56,.58) 54%,rgba(13,30,56,.16) 82%,rgba(13,30,56,.04) 100%)}
.tm-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(13,30,56,.62) 0%,rgba(13,30,56,0) 42%)}
.tm-hero__inner{position:relative;z-index:2;display:flex;min-height:clamp(720px,84svh,900px);align-items:center;padding-top:clamp(138px,11vw,176px);padding-bottom:clamp(76px,8vw,118px)}
.tm-hero__copy{width:min(760px,58%);min-width:0}
.tm-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:clamp(70px,8vh,104px);color:rgba(255,255,255,.66);font-size:13px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.tm-breadcrumb a{color:rgba(255,255,255,.82);transition:color .25s ease}
.tm-breadcrumb a:hover{color:var(--gold)}
.tm-breadcrumb a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.tm-hero h1{max-width:none;margin:24px 0 0;color:#fff;font-size:clamp(38px,7.4vw,104px);font-weight:700;letter-spacing:0;line-height:.96;white-space:nowrap;text-wrap:nowrap}
.tm-hero__lede{max-width:680px;margin:clamp(28px,3vw,42px) 0 0;color:rgba(255,255,255,.88);font-size:clamp(19px,1.38vw,23px);line-height:1.65;text-wrap:pretty}
.tm-hero__link{display:inline-flex;align-items:center;gap:12px;margin-top:clamp(35px,4vw,50px);padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.34);color:#fff;font-size:14px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;transition:border-color .25s ease,color .25s ease}
.tm-hero__link svg{width:17px;height:17px;color:var(--gold);transition:transform .25s ease}
.tm-hero__link:hover{border-color:var(--gold)}
.tm-hero__link:hover svg{transform:translateX(4px)}
.tm-hero__link:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.tm-hero__visual{position:absolute;inset:0;z-index:0;margin:0}
.tm-hero__visual img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}

.tm-intro{padding-block:clamp(76px,8.5vw,128px);background:#fff}
.tm-intro__inner{display:grid;grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr);gap:clamp(64px,11vw,180px);align-items:start}
.tm-intro h2{max-width:12ch;margin:0;color:var(--navy);font-size:clamp(36px,3.5vw,58px);font-weight:700;line-height:1.05;text-wrap:balance}
.tm-intro p{max-width:690px;margin:0;padding-top:25px;border-top:2px solid var(--gold);color:var(--body);font-size:clamp(18px,1.25vw,21px);line-height:1.7;text-wrap:pretty}

.tm-directory{scroll-margin-top:96px;background:#fff}
.tm-group{padding-bottom:clamp(88px,10vw,158px)}
.tm-group__header{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:clamp(35px,4vw,55px);padding-bottom:22px;border-bottom:1px solid rgba(13,30,56,.2)}
.tm-group__header h2{margin:0;color:var(--navy);font-size:clamp(34px,3.2vw,52px);font-weight:700;line-height:1.05;text-wrap:balance}
.tm-group__header span{color:var(--steel);font-size:13px;font-weight:700;letter-spacing:.16em}
.tm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(42px,5vw,76px) clamp(22px,2.8vw,44px)}
.tm-card{min-width:0;overflow:hidden;background:#fff;box-shadow:0 14px 34px rgba(13,30,56,.14);transition:box-shadow .25s ease}
.tm-card:hover{box-shadow:0 22px 50px rgba(13,30,56,.2)}
.tm-card__portrait{display:block;width:100%;padding:0;aspect-ratio:4/5;overflow:hidden;border-radius:0;background:#dce4e8;cursor:pointer}
.tm-card__portrait img{width:100%;height:100%;object-fit:cover;filter:saturate(.94);transition:filter .3s ease}
.tm-card__portrait:hover img{filter:saturate(1.03)}
.tm-card__portrait:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.tm-card__copy{position:relative;min-height:128px;padding:25px clamp(19px,1.8vw,29px) 27px;border-top:3px solid transparent;background:#fff;transition:border-color .25s ease}
.tm-card:hover .tm-card__copy{border-top-color:var(--gold)}
.tm-card__name{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:0;color:var(--navy);font-size:clamp(25px,1.65vw,31px);font-weight:700;letter-spacing:.01em;line-height:1.1;text-align:left;transition:color .25s ease}
.tm-card__name svg{width:17px;height:17px;flex:none;color:var(--gold);opacity:.82;transition:transform .25s ease,opacity .25s ease}
.tm-card__name:hover{color:var(--gold)}
.tm-card__name:hover svg{opacity:1;transform:translate(3px,-3px)}
.tm-card__name:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.tm-card__copy p{margin:11px 0 0;color:var(--steel);font-size:17px;font-weight:400;letter-spacing:.01em;line-height:1.45}

.tm-dialog{display:block!important;width:min(980px,calc(100vw - 40px))!important;max-width:980px!important;max-height:min(820px,calc(100vh - 40px));overflow:auto!important;padding:0!important;border:0!important;border-radius:4px!important;background:#fff!important;color:var(--body)!important;box-shadow:0 34px 90px rgba(0,0,0,.35)!important}
.tm-dialog__layout{display:grid;grid-template-columns:minmax(290px,.72fr) minmax(0,1.28fr);min-height:560px}
.tm-dialog__portrait{min-height:100%;background:#dce4e8}
.tm-dialog__portrait img{width:100%;height:100%;min-height:560px;object-fit:cover}
.tm-dialog__content{padding:clamp(42px,5vw,74px);padding-right:clamp(48px,6vw,84px)}
.tm-dialog__title{margin:0!important;color:var(--navy)!important;font-size:clamp(42px,4vw,64px)!important;font-weight:700!important;letter-spacing:0!important;line-height:1!important}
.tm-dialog__role{margin-top:12px!important;color:var(--steel)!important;font-size:14px!important;font-weight:700!important;letter-spacing:.11em!important;line-height:1.4!important;text-transform:uppercase}
.tm-dialog__rule{width:46px;height:3px;margin:28px 0;background:var(--gold)}
.tm-dialog__bio{max-width:62ch}
.tm-dialog__bio p{margin:0;color:var(--body);font-size:17px;line-height:1.67;text-wrap:pretty}
.tm-dialog__bio p+p{margin-top:17px}
.tm-dialog [data-slot="dialog-close"]{top:20px!important;right:20px!important;display:grid!important;width:43px!important;height:43px!important;place-items:center!important;border-radius:50%!important;background:var(--navy)!important;color:#fff!important;opacity:1!important;outline-offset:3px!important;transition:background .25s ease,color .25s ease!important}
.tm-dialog [data-slot="dialog-close"]:hover{background:var(--gold)!important;color:var(--navy)!important}
.tm-dialog [data-slot="dialog-close"]:focus-visible{outline:3px solid var(--gold)!important}
.tm-dialog [data-slot="dialog-close"] svg{width:19px!important;height:19px!important}

.tm-close{border-top:7px solid var(--gold);background:var(--lightblue);color:var(--navy)}
.tm-close__inner{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;padding-top:clamp(72px,8vw,118px);padding-bottom:clamp(72px,8vw,118px)}
.tm-close__eyebrow{color:var(--navy)}
.tm-close h2{max-width:16ch;margin:17px 0 0;color:var(--navy);font-size:clamp(38px,3.8vw,62px);font-weight:700;line-height:1.04;text-wrap:balance}
.tm-close .btn{flex:none}

@media(max-width:1100px){
  .tm-hero__copy{width:min(720px,68%)}
  .tm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:800px){
  .tm-hero::before{background:linear-gradient(90deg,rgba(13,30,56,.96) 0%,rgba(13,30,56,.86) 58%,rgba(13,30,56,.36) 100%)}
  .tm-hero__copy{width:min(660px,82%)}
  .tm-hero__visual img{object-position:57% 50%}
  .tm-intro__inner{grid-template-columns:1fr;gap:36px}
  .tm-intro p{max-width:720px}
  .tm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 24px}
  .tm-dialog__layout{grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);min-height:500px}
  .tm-dialog__portrait img{min-height:500px}
  .tm-close__inner{align-items:flex-start;flex-direction:column}
}

@media(max-width:600px){
  .tm-hero,.tm-hero__inner{min-height:720px}
  .tm-hero::before{background:linear-gradient(90deg,rgba(13,30,56,.94) 0%,rgba(13,30,56,.82) 100%)}
  .tm-hero::after{background:linear-gradient(0deg,rgba(13,30,56,.8) 0%,rgba(13,30,56,.08) 64%)}
  .tm-hero__inner{padding-top:120px;padding-bottom:70px}
  .tm-hero__copy{width:100%}
  .tm-breadcrumb{margin-bottom:58px}
  .tm-hero__visual img{object-position:60% 50%}
  .tm-intro{padding-block:68px}
  .tm-group{padding-bottom:84px}
  .tm-group__header{margin-bottom:31px;padding-bottom:17px}
  .tm-group__header h2{font-size:34px}
  .tm-grid{gap:38px 16px}
  .tm-card__copy{min-height:116px;padding:21px 17px 23px}
  .tm-card__name{gap:7px;font-size:23px}
  .tm-card__name svg{width:15px;height:15px}
  .tm-card__copy p{font-size:16px}
  .tm-dialog{width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)}
  .tm-dialog__layout{display:block;min-height:0}
  .tm-dialog__portrait{height:300px;min-height:0}
  .tm-dialog__portrait img{height:300px;min-height:0;object-position:50% 24%!important}
  .tm-dialog__content{padding:34px 25px 40px}
  .tm-dialog__title{font-size:42px!important}
  .tm-dialog [data-slot="dialog-close"]{top:13px!important;right:13px!important}
  .tm-close__inner{gap:34px}
}

@media(max-width:390px){
  .tm-grid{grid-template-columns:1fr;gap:44px}
  .tm-card__portrait{aspect-ratio:5/6}
}

@media(prefers-reduced-motion:reduce){.team-page *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
