.team-page{--team-yellow:#ffe192;--team-cream:#fff5da;color:#675019}
.team-page .team-banner{height:335px}
.team-principals{position:relative;background:var(--team-yellow);padding:45px 0 110px}
.team-page .team-banner:after{background:var(--team-yellow)}
.team-page .team-principals h1{font-size:56px;margin:0 0 18px}
.team-page .team-subtitle{font-size:26px;font-weight:600;margin:0 0 65px}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:45px;row-gap:65px}
.team-portrait{width:100%;height:auto;aspect-ratio:310 / 395;object-fit:cover;-webkit-mask:url('../images/organic-photo.svg') center/100% 100% no-repeat;mask:url('../images/organic-photo.svg') center/100% 100% no-repeat}
.team-portrait-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#d2dfbf,#f7e7b7);color:#7e926d}
.team-portrait-placeholder svg{width:55%;height:60%;fill:currentColor;opacity:.65}
.team-page .team-member{text-align:center}
.team-page .team-member h2{font-size:26px;color:#675019;line-height:1.2;margin:22px 0 8px}
.team-page .team-member p{font-size:15px;line-height:1.3;margin:0;color:#806b36}
.team-principals:after{content:'';position:absolute;bottom:-1px;left:0;width:100%;height:28px;background:var(--team-cream);mask:url('../images/section-wave.svg') repeat-x left bottom/150px 28px;-webkit-mask:url('../images/section-wave.svg') repeat-x left bottom/150px 28px}
.team-organization{padding-top:75px}
.team-page .team-organization h2{font-size:27px;color:#675019;margin:0 0 30px}
.team-organization>img{width:100%;height:auto;object-fit:contain;display:block}
.team-divider{height:12px;background:url('../images/footer-divider.svg') repeat-x left center/130px 12px;margin:70px 0;filter:brightness(0) saturate(100%) invert(70%) sepia(84%) saturate(1219%) hue-rotate(359deg)}
.team-page .team-activities h2{color:#cb9400;font-size:32px;font-weight:700;line-height:1.15;margin:0 0 14px;padding-left:15.6vw}
.team-activities{padding-bottom:90px;overflow:hidden}
.team-activities .gallery-carousel{margin-top:0}
.team-activities .gallery-viewport{overflow:hidden;touch-action:pan-y;scroll-snap-type:none}
.team-activities .gallery-track{display:flex;align-items:center;gap:2.34vw;width:max-content;min-height:20vw;padding:0;margin-left:-5.57vw}
.team-activities .gallery-track img{flex:none;border-radius:12px;object-fit:cover}
.team-activities .gallery-track .team-activity-photo[data-activity-size=edge]{width:24.4vw;height:20vw}
.team-activities .gallery-track .team-activity-photo[data-activity-size=mid]{width:11.13vw;height:10.35vw}
.team-activities .gallery-track .team-activity-photo[data-activity-size=feature]{width:17.29vw;height:15.14vw}
.team-activities .gallery-track .team-activity-photo[data-activity-size=short]{width:11.13vw;height:7.32vw}
.team-activities .gallery-track .team-activity-photo[data-activity-size=wide]{width:17.29vw;height:9.57vw}
.team-activities .carousel-arrows{display:flex;align-items:center;justify-content:flex-start;gap:18px;margin:20px 0 0;padding-left:15.6vw}
.team-activities .carousel-arrows button{background:none;border:0;padding:0;width:36px;height:28px;color:#675019;display:grid;place-items:center}
.team-activities .carousel-arrows button:hover{color:#cb9400}
.team-activities .carousel-arrows svg{width:34px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.team-explore{position:relative;background:#ffda70;padding:45px 3.5% 0}
.team-explore:before{content:'';position:absolute;top:-27px;left:0;width:100%;height:28px;background:#ffda70;mask:url('../images/section-wave.svg') repeat-x left bottom/150px 28px;-webkit-mask:url('../images/section-wave.svg') repeat-x left bottom/150px 28px}
.team-explore-card{display:grid;grid-template-columns:1.85fr 1fr;min-height:300px}
.team-explore-copy{background:var(--team-cream);padding:70px 100px;border-radius:28px}
.team-page .team-explore h2{font-size:36px;color:#675019;margin:0 0 20px}.team-explore h2 span{color:#ffbd00}
.team-explore nav{display:grid;grid-template-columns:1fr 1fr;gap:0 65px;border-top:2px dashed #ffe192}
.team-explore nav a{padding:18px 0;font-size:17px;font-weight:600;color:#cb9400;border-bottom:2px dashed #ffe192}
.team-explore nav a[aria-current]{color:#675019}.team-explore nav a:hover{text-decoration:underline}
.team-explore-card>img{width:100%;height:100%;object-fit:cover;border-radius:28px}
.team-page .footer-app{display:none}
.team-page .footer-yellow{padding-top:0}.team-page .footer-yellow:before{display:none}
.team-page .footer-information{padding-top:170px}
@media(max-width:1100px){.team-grid{column-gap:35px;row-gap:55px}.team-page .team-member h2{font-size:23px}.team-page .team-member p{font-size:13px}.team-explore-copy{padding:50px}.team-explore nav{gap:0 30px}}
@media(max-width:760px){.team-page .team-banner{height:250px}.team-principals{padding:30px 0 65px}.team-page .team-principals h1{font-size:40px}.team-page .team-subtitle{font-size:21px;margin-bottom:35px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 20px}.team-page .team-member h2{font-size:18px;margin-top:15px}.team-page .team-member p{font-size:12px}.team-organization{padding-top:45px}.team-page .team-organization h2{font-size:24px}.team-divider{margin:40px 0}.team-page .team-activities h2{font-size:28px;padding-left:24px}.team-activities{padding-bottom:60px}.team-activities .gallery-track{gap:14px;margin-left:-36px;min-height:148px}.team-activities .gallery-track .team-activity-photo[data-activity-size=edge]{width:168px;height:138px}.team-activities .gallery-track .team-activity-photo[data-activity-size=mid]{width:78px;height:72px}.team-activities .gallery-track .team-activity-photo[data-activity-size=feature]{width:120px;height:105px}.team-activities .gallery-track .team-activity-photo[data-activity-size=short]{width:78px;height:52px}.team-activities .gallery-track .team-activity-photo[data-activity-size=wide]{width:120px;height:66px}.team-activities .carousel-arrows{gap:14px;margin-top:16px;padding-left:24px}.team-explore-card{grid-template-columns:1fr}.team-explore-copy{padding:35px 25px}.team-page .team-explore h2{font-size:28px}.team-explore nav{gap:0 20px}.team-explore nav a{font-size:14px}.team-explore-card>img{height:240px}.team-page .footer-information{padding-top:65px}}

.team-profile-trigger,.team-organization-trigger{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:inherit}
.team-profile-trigger:focus-visible,.team-organization-trigger:focus-visible{outline:3px solid #cb9400;outline-offset:6px;border-radius:16px}
.team-profile-trigger:hover .team-portrait{filter:brightness(1.04)}
.team-organization-trigger>img{display:block;width:100%;height:auto;object-fit:contain}
.team-profile-dialog,.team-organization-dialog{position:fixed;inset:0;margin:auto;width:min(1320px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);border:0;border-radius:28px;padding:0;background:#fff5da;color:#675019;overflow-y:auto;box-shadow:0 18px 45px #3a2a0040}
.team-profile-dialog::backdrop,.team-organization-dialog::backdrop{background:#76550080}
.team-dialog-close{position:absolute;z-index:2;right:26px;top:26px;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#cb9400;color:#fff5da;font-size:36px;line-height:1;cursor:pointer}
.team-dialog-close:focus-visible{outline:3px solid #675019;outline-offset:3px}
.team-profile-layout{display:grid;grid-template-columns:36% 64%;min-height:600px}
.team-profile-photo{display:block;width:100%;height:100%;min-height:600px;object-fit:cover;background:#e2dfb5}
.team-profile-placeholder{display:grid;place-items:center;color:#9dab85}.team-profile-placeholder svg{width:65%;max-height:400px;fill:currentColor}
.team-profile-copy{padding:45px 70px 55px 90px}.team-profile-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-right:32px;color:#cb9400;font-size:16px}.team-profile-meta>span{padding:7px 16px;border-radius:30px;background:#cb9400;color:#fff5da;white-space:nowrap}.team-profile-meta>strong{font-size:16px}
.team-page .team-profile-copy h2{margin:48px 0 18px;font-size:36px;line-height:1.2;color:#675019}.team-profile-bio{font-size:16px;line-height:1.55;white-space:pre-line}.team-page .team-profile-copy h3{margin:28px 0 14px;font-size:22px;color:#cb9400}.team-profile-copy ol,.team-profile-copy ul{padding-left:24px;font-size:16px;line-height:1.6}.team-profile-copy li{overflow-wrap:anywhere}.team-profile-copy ul{font-size:21px}
.team-organization-dialog{width:min(1540px,calc(100vw - 32px));padding:30px}.team-organization-dialog>img{display:block;width:100%;height:auto}.team-organization-dialog .team-dialog-close{width:54px;height:54px;font-size:44px;top:20px;right:20px}
.team-manage-link{display:block;padding:12px 24px;background:#e7eee2;color:#38513d;font-weight:700;text-align:right}
@media(max-width:1000px){.team-profile-copy{padding:40px 45px}.team-page .team-profile-copy h2{font-size:30px}.team-profile-layout{grid-template-columns:38% 62%}}
@media(max-width:700px){.team-profile-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:20px}.team-profile-layout{grid-template-columns:1fr;min-height:0}.team-profile-photo{min-height:0;height:330px;object-position:center 25%}.team-profile-copy{padding:26px}.team-profile-meta{margin-right:0;font-size:13px}.team-profile-meta>strong{font-size:14px}.team-page .team-profile-copy h2{margin-top:24px;font-size:28px}.team-dialog-close{top:14px;right:14px}.team-organization-dialog{padding:70px 12px 20px;overflow:auto}.team-organization-dialog>img{width:max(100%,950px);max-width:none}.team-organization-dialog .team-dialog-close{position:sticky;float:right;top:0;margin-top:-55px;margin-bottom:12px;width:40px;height:40px;font-size:32px}}

/* Activity cards keep their existing carousel sizes and open a photo detail card. */
.team-activities .gallery-track .team-activity-photo{flex:none;border:0;border-radius:12px;padding:0;background:transparent;overflow:hidden;cursor:pointer}.team-activities .gallery-track .team-activity-photo img{display:block;width:100%;height:100%;object-fit:cover}.team-activities .gallery-track .team-activity-photo:focus-visible{outline:3px solid #cb9400;outline-offset:5px}
.team-page .home-gallery-dialog{width:min(660px,calc(100vw - 40px));padding:56px 46px 38px;border-radius:28px}.team-page .home-gallery-dialog h2{font-size:34px;line-height:1.45;margin:40px 0 24px}.team-page .home-gallery-detail-image{border-radius:24px}.team-page .home-gallery-detail-year{font-size:20px}.team-page .home-gallery-close{right:20px;top:16px;font-size:38px}
@media(max-width:700px){.team-page .home-gallery-dialog{padding:46px 24px 28px;border-radius:22px}.team-page .home-gallery-dialog h2{font-size:25px;margin-top:26px}.team-page .home-gallery-detail-year{font-size:17px}}
