/* Team page components; shared page styles stay in site.css. */
/* Keep the people visible with a lighter overlay and the lower image crop. */
.page-hero::before{background:linear-gradient(90deg,rgba(32,17,41,.65) 0%,rgba(32,17,41,.32) 55%,rgba(32,17,41,.04) 100%),var(--cover) center 70%/cover no-repeat;filter:brightness(1.18)}
.page-hero .container{text-shadow:0 1px 3px rgba(0,0,0,.35)}
.team-section{padding:64px 0 88px;background:var(--paper)}
.team-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:64px;align-items:start}
.team-directory{position:sticky;top:109px;scroll-margin-top:110px}
.team-directory h2{font:normal 26px/1.3 Georgia,"Yu Mincho",serif;margin:12px 0}
.team-directory p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 22px}
.team-directory ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.team-directory li{border-bottom:1px solid var(--line)}
.team-directory a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 4px;font-size:13px;line-height:1.5}
.team-directory a:hover,.team-directory a[aria-current="location"]{color:var(--gold);background:#eee3f0}
.team-group+.team-group{margin-top:48px}
.team-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:2px solid var(--gold)}
.team-group-heading h2{font:normal 29px/1.3 Georgia,"Yu Mincho",serif;margin:0}
.team-group-heading>span{color:var(--muted);font:11px/1.4 Arial,sans-serif;letter-spacing:1px;white-space:nowrap}
.team-profile{display:grid;grid-template-columns:144px minmax(0,1fr);align-items:start;gap:28px;padding:32px 0;border-bottom:1px solid var(--line);scroll-margin-top:108px}
.team-profile:target{border-bottom-color:var(--gold)}
.team-profile-photo{width:144px;height:180px;object-fit:cover;object-position:center top;background:#eee3f0}
.team-profile-info{min-width:0}
.team-profile-role{font-size:12px;font-weight:700;color:var(--gold);line-height:1.7;margin:0 0 6px}
.team-profile h3{font:normal 29px/1.3 Georgia,"Yu Mincho",serif;margin:0 0 12px;overflow-wrap:break-word}
.team-profile-location{display:inline-block;padding:4px 10px;margin:0 0 12px;border:1px solid #d9c6df;border-radius:999px;background:#eee3f0;color:#63336d;font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.03em;white-space:nowrap}
.team-profile-location--us{border-color:#c6d6df;background:#e8eff3;color:#34566a}
.team-profile-expertise{font-size:14px;line-height:1.8;margin:0 0 16px;color:#51445b}
.team-bio summary{display:flex;align-items:center;gap:16px;width:fit-content;min-height:44px;padding:8px 0;cursor:pointer;list-style:none;color:#7c3685;font-size:13px;font-weight:700}
.team-bio summary::-webkit-details-marker{display:none}
.team-bio summary:hover{text-decoration:underline;text-underline-offset:4px}
.team-section .bio-icon{position:relative;display:block;width:22px;height:22px;border:1px solid #bd80c4;border-radius:50%;flex:none}
.team-section .bio-icon::before,.team-section .bio-icon::after{content:"";position:absolute;background:currentColor;top:9px;left:5px;width:10px;height:1px}
.team-section .bio-icon::after{transform:rotate(90deg)}
.team-section .bio-hide,.team-section .team-bio[open] .bio-show,.team-section .team-bio[open] .bio-icon::after{display:none}
.team-section .team-bio[open] .bio-hide{display:inline}
.team-bio-copy{padding-top:4px}
.team-bio-copy p{font-size:15px;line-height:1.95;margin:14px 0 20px;overflow-wrap:break-word}
.team-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1000px){
  .team-layout{grid-template-columns:190px minmax(0,1fr);gap:32px}
  .team-profile{grid-template-columns:112px minmax(0,1fr);gap:20px}
  .team-profile-photo{width:112px;height:140px}
  .team-profile h3{font-size:26px}
}
@media(max-width:760px){
  .team-section{padding:40px 0 56px}
  .team-layout{grid-template-columns:minmax(0,1fr);gap:36px}
  .team-directory{position:static}
  .team-directory h2{font-size:25px}
  .team-directory p{margin-bottom:16px}
  /* Equal tracks keep every name tile the same size, including the last row. */
  .team-directory ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px;border:0;margin-top:18px}
  .team-directory li{min-width:0;border:0}
  .team-directory a{justify-content:center;height:100%;min-height:64px;padding:12px 10px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:13px;font-weight:500;line-height:1.5;text-align:center;text-wrap:balance;overflow-wrap:anywhere}
  .team-directory a:is(:hover,:focus-visible){border-color:var(--gold);background:#eee3f0;color:#63336d}
  .team-directory a[aria-current="location"]{border-color:var(--gold);background:#eee3f0;color:#63336d;box-shadow:inset 0 -2px 0 var(--gold)}
  :lang(ja) .team-directory a{min-height:52px;font-size:14px;letter-spacing:.04em}
  .team-group-heading h2{font-size:26px}
  .team-profile{scroll-margin-top:92px}
}
@media(min-width:600px) and (max-width:760px){
  .team-directory ul{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:480px){
  .team-profile{grid-template-columns:80px minmax(0,1fr);gap:16px;padding:26px 0}
  .team-profile-photo{width:80px;height:100px}
  .team-profile-info{display:contents}
  .team-profile-heading{grid-column:2;grid-row:1;align-self:center}
  .team-profile-role{font-size:11px}
  .team-profile h3{font-size:24px;margin:0}
  .team-profile-location{margin:8px 0 0}
  .team-profile-expertise{grid-column:1/-1;margin:0}
  .team-bio{grid-column:1/-1}
  .team-bio-copy p{font-size:15px}
  .team-group-heading h2{font-size:24px}
}
@media print{
  .team-directory,.team-bio summary{display:none}
  .team-section{padding:20px 0;background:#fff}
  .team-layout{display:block}
  .team-profile{break-inside:avoid}
  .team-bio::details-content{content-visibility:visible;height:auto}
  .team-bio>.team-bio-copy{display:block}
}

/* Network and company details use the shared brand palette. */
.team-overview{padding:72px 0 80px;border-top:1px solid var(--line);background:#fff}
.team-overview-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:start}
.team-overview-grid>section{min-width:0;scroll-margin-top:110px}
.team-overview-heading{padding-bottom:22px;border-bottom:2px solid var(--purple);margin-bottom:26px}
.team-overview-heading h2{font:normal clamp(26px,2.5vw,32px)/1.4 Georgia,"Yu Mincho",serif;margin:10px 0 0}
.team-overview-heading .eyebrow2{font-size:.875rem;letter-spacing:.14em}
.team-network-map{margin:0}
.team-network-map>img{width:100%;height:auto;background:var(--paper);border:1px solid var(--line)}
.team-network-legend{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:20px 0;font-size:.875rem;line-height:1.6}
.team-network-legend li{display:flex;align-items:center;gap:10px}
.team-network-key{display:inline-block;flex:none;width:12px;height:12px;background:var(--purple);border-radius:50%}
.team-network-key--partner{width:11px;height:11px;background:var(--red);border-radius:0;transform:rotate(45deg)}
.team-network-locations{margin:0;font-size:.875rem;line-height:1.8}
.team-network-locations>div{padding:12px 0;border-top:1px solid var(--line)}
.team-network-locations dt{font-weight:700;color:#63336d}
.team-network-locations dd{margin:3px 0 0}
.team-network-notes{margin:16px 0 0;color:var(--muted);font-size:.875rem;line-height:1.8}
.team-network-notes p{margin:8px 0 0}
.team-company-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:1rem;line-height:1.8}
.team-company-table caption{text-align:left}
.team-company-label{width:1%}
.team-company-table th,.team-company-table td{padding:15px 0;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.team-company-table th{width:1%;padding-right:16px;color:#7c3685;font-weight:700;white-space:nowrap}
.team-company-table td{overflow-wrap:anywhere}
.team-company-table tr:first-child th,.team-company-table tr:first-child td{padding-top:0}
.team-company-table address{font-style:normal}
.team-company-table address+address{margin-top:12px}
.team-company-table a{color:#7c3685;text-decoration:underline;text-underline-offset:4px}
.team-company-table a:hover{color:var(--deep-plum)}
@media(max-width:960px){
  .team-overview-grid{grid-template-columns:minmax(0,1fr);gap:48px}
}
@media(max-width:760px){
  .team-overview{padding:48px 0 56px}
  .team-overview-heading{margin-bottom:22px;padding-bottom:18px}
  .team-overview-grid>section{scroll-margin-top:92px}
}
@media(max-width:480px){
  .team-company-table th{padding-right:12px}
}
@media print{
  .team-overview{padding:24px 0}
  .team-overview-grid{display:block}
  .team-overview-grid>section{break-inside:avoid;margin-bottom:28px}
}
