/* Team page: shared navigation, footer, dialog, and brand live in styles.css. */
.team-page .site-nav a[aria-current="page"]{color:#087c86}
.team-page .site-nav a[aria-current="page"]::after{width:100%}
.team-intro{padding-block:64px 42px;max-width:var(--max)}
.team-intro .eyebrow{display:flex;align-items:center;gap:11px;color:#315f54;margin-bottom:22px}
.team-intro h1{font-size:clamp(48px,5vw,68px);margin-bottom:21px}
.team-intro>p:last-child{font-size:17px;line-height:1.75;color:var(--muted);max-width:610px;margin-bottom:0}
.team-roster{padding-bottom:70px}
.team-applications{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:38px;align-items:center;padding:28px 32px;margin-bottom:34px;background:#f4f1e5;border:1px solid #d4c691;border-left:4px solid #c39a37;border-radius:10px;scroll-margin-top:115px}
.team-applications .eyebrow{color:#806117;font-size:9px;margin:0 0 12px}
.team-applications h2{font-size:clamp(24px,2.7vw,33px);line-height:1.15;margin:0 0 13px}
.team-applications p:last-child{font-size:14px;line-height:1.75;color:var(--muted);margin:0;max-width:660px}
.team-application-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.team-application-actions .button{font-size:12px;white-space:normal;text-align:left}
.team-application-actions .text-link{font-size:12px;gap:8px}
@media(max-width:850px){.team-applications{grid-template-columns:1fr;gap:23px;padding:27px}.team-application-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:20px}}
@media(max-width:650px){.team-applications{padding:24px;margin-bottom:28px}.team-applications h2{font-size:28px}.team-applications p:last-child{font-size:13px}.team-application-actions{align-items:flex-start;flex-direction:column;gap:18px}}
.team-featured{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);background:#e4f2ea;border:1px solid #bfd7cc;border-radius:12px;overflow:hidden;margin-bottom:28px}
.team-photo{display:block;position:relative;width:100%;aspect-ratio:4/3;min-width:0;overflow:hidden;background:#d6e9e2;object-fit:cover;object-position:center}
.team-photo::before,.team-photo::after{content:"";position:absolute;width:65%;aspect-ratio:1;border:1px solid #9abeb1;border-radius:50%;pointer-events:none}
.team-photo::before{right:-32%;top:-40%}
.team-photo::after{left:-32%;bottom:-45%}
.photo-note{position:absolute;left:22px;top:18px;font-size:9px;line-height:1.4;letter-spacing:.12em;font-weight:700;color:#4c7163}
.team-initials{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:105px;height:105px;border:1px solid #9abeb1;border-radius:50%;background:#edf6ef;color:#174f47;font-size:38px;line-height:1;font-weight:650;letter-spacing:-.04em}
.team-featured .team-photo{aspect-ratio:auto;min-height:290px;background:#c4e6dc}
.team-featured .team-initials{width:136px;height:136px;font-size:61px;background:#f4faf5;border-color:#8dbbae}
.team-featured-copy{padding:45px 48px;align-self:center;min-width:0}
.team-role{color:#087c86;font-size:11px;line-height:1.4;letter-spacing:.09em;text-transform:uppercase;font-weight:750;margin-bottom:11px}
.team-featured h2{font-size:49px;margin-bottom:15px;letter-spacing:-.045em}
.team-bio{font-size:15px;line-height:1.75;color:var(--muted);margin-bottom:0}
.team-featured-note{display:block;margin-top:37px;font-size:9px;line-height:1.5;letter-spacing:.11em;font-weight:700;color:#587367}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.team-card{min-width:0;overflow:hidden;background:#fffdf7;border:1px solid #d2ddd4;border-radius:10px}
.team-portrait-link{display:block}
.team-card .bean-portrait{height:auto;aspect-ratio:4/3;object-position:50% 0}
.team-card#jonas .jonas-portrait{height:auto;aspect-ratio:4/3;object-fit:contain;background:#12334e}
.team-card#elijah .elijah-portrait{height:auto;aspect-ratio:4/3;object-fit:contain;background:#132232}
#bean,#major,#jonas,#elijah{scroll-margin-top:120px}
.team-profile-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:20px}
.team-profile-links .text-link{font-size:13px;gap:7px}
.team-card .team-profile-links .text-link{font-size:12px}
.team-email-row{flex-basis:100%;min-width:0}
.team-profile-links .team-email{max-width:100%;min-width:0}
.team-email-address{min-width:0;overflow-wrap:anywhere}
.team-email-icon{flex-shrink:0}
.team-card-copy{padding:24px 26px 26px}
.team-card h3{font-size:27px;line-height:1.2;letter-spacing:-.035em;margin-bottom:12px;overflow-wrap:anywhere}
.team-card .team-role{font-size:10px;margin-bottom:10px}
.team-card .team-bio{font-size:14px}
.team-card:nth-child(3n+2) .team-photo{background:#dcebed}
.team-card:nth-child(3n+2) .team-photo::before,.team-card:nth-child(3n+2) .team-photo::after{border-color:#abc5cb}
.team-card:nth-child(3n+2) .team-initials{background:#eff7f8;border-color:#abc5cb;color:#315f69}
.team-card:nth-child(3n+2) .photo-note{color:#55737b}
.team-card:nth-child(3n) .team-photo{background:#e5e9dd}
.team-card:nth-child(3n) .team-photo::before,.team-card:nth-child(3n) .team-photo::after{border-color:#bec7ad}
.team-card:nth-child(3n) .team-initials{background:#f6f7ee;border-color:#bec7ad;color:#546246}
.team-card:nth-child(3n) .photo-note{color:#65705a}
.team-welcome{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:38px 0 55px;border-top:1px solid var(--line)}
.team-welcome .eyebrow{font-size:9px;color:#087c86;margin-bottom:12px}
.team-welcome h2{font-size:35px;line-height:1.15;margin-bottom:12px}
.team-welcome p:last-child{font-size:14px;line-height:1.75;color:var(--muted);margin-bottom:0}
.team-welcome>.button{flex-shrink:0}
.team-page .site-footer{border-top:1px solid var(--line)}
@media(max-width:1000px){.team-grid{gap:20px}.team-card-copy{padding:22px}.team-card h3{font-size:25px}.team-featured-copy{padding:35px}.team-featured .team-photo{min-height:280px}.team-initials{width:88px;height:88px;font-size:31px}.photo-note{font-size:8px;left:17px;top:16px}}
@media(max-width:850px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-featured-copy{padding:30px}.team-featured h2{font-size:44px}.team-featured .team-photo{min-height:270px}.team-featured-note{font-size:8px;letter-spacing:.07em;margin-top:28px}.team-intro{padding-block:48px 35px}}
@media(max-width:650px){.team-intro{padding-block:37px 30px}.team-intro .eyebrow{font-size:9px;margin-bottom:19px;gap:9px}.team-intro h1{font-size:48px;margin-bottom:19px}.team-intro>p:last-child{font-size:15px;line-height:1.75}.team-featured{grid-template-columns:1fr;margin-bottom:20px}.team-featured .team-photo{aspect-ratio:4/3;min-height:0}.team-featured .team-initials{width:115px;height:115px;font-size:51px}.team-featured-copy{padding:28px}.team-featured h2{font-size:42px}.team-featured-note{margin-top:24px}.team-grid{grid-template-columns:1fr;gap:20px}.team-card-copy{padding:25px 27px 27px}.team-card h3{font-size:28px}.team-initials{width:105px;height:105px;font-size:38px}.photo-note{font-size:9px;left:21px;top:18px}.team-roster{padding-bottom:46px}.team-welcome{align-items:flex-start;flex-direction:column;gap:22px;padding:32px 0 40px}.team-welcome h2{font-size:33px}.team-welcome p:last-child{font-size:13px}}

/* Keep Major’s supplied portrait whole, including the ears and paws. */
.team-featured .major-portrait{height:auto;min-height:0;aspect-ratio:auto;object-fit:contain;align-self:center;background:#c4e6dc}
@media(max-width:850px) and (min-width:651px){.team-featured{grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr)}}
@media(max-width:650px){.team-featured .major-portrait{height:auto;min-height:0;aspect-ratio:auto}}

.team-event-organizers{margin:44px 0 48px;padding:36px 0 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.event-hosts-heading{max-width:760px;margin-bottom:25px}
.event-hosts-heading .eyebrow{color:#087c86;font-size:10px;margin-bottom:13px}
.event-hosts-heading h2{font-size:clamp(30px,3vw,40px);line-height:1.15;margin-bottom:18px}
.event-hosts-heading>p:last-child{color:var(--muted);font-size:15px;line-height:1.8;margin-bottom:0}
.event-hosts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:25px}
.event-host-card{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;background:#fffdf7;border:1px solid #d2ddd4;border-radius:10px;overflow:hidden;min-width:0}
.event-host-card>img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.event-host-card>div{padding:25px 24px}
.event-host-card h3{font-size:27px;line-height:1.15;margin-bottom:12px}
.event-host-card .team-role{font-size:9px;letter-spacing:.06em;margin-bottom:10px}
.event-host-card p:not(.team-role){font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:14px}
.event-host-card .text-link{font-size:12px;gap:6px;overflow-wrap:anywhere}
@media(max-width:1050px) and (min-width:651px){.event-host-card{grid-template-columns:1fr;align-content:start}.event-host-card>img{max-height:260px;width:100%;background:#e9ece4}.event-host-card>div{padding:25px}}
@media(max-width:650px){.team-event-organizers{margin:30px 0 33px;padding:28px 0 31px}.event-hosts-grid{grid-template-columns:1fr;gap:20px}.event-host-card{grid-template-columns:125px minmax(0,1fr);align-items:start}.event-host-card>div{padding:20px 17px}.event-host-card h3{font-size:23px}.event-host-card p:not(.team-role){font-size:12px}.event-host-card .text-link{font-size:11px}.event-hosts-heading>p:last-child{font-size:14px}}
@media(max-width:380px){.event-host-card{grid-template-columns:1fr}.event-host-card>img{max-height:250px;background:#e9ece4}.event-host-card>div{padding:24px}}

/* Department groups and task-specific coordination. */
.team-department{margin-top:46px;scroll-margin-top:125px}
.team-department-heading{max-width:760px;margin-bottom:26px}
.team-department-heading .eyebrow{font-size:10px;color:#087c86;margin-bottom:13px}
.team-department-heading h2{font-size:clamp(30px,3vw,40px);line-height:1.15;margin-bottom:16px}
.team-department-heading>p:last-child{font-size:15px;line-height:1.8;color:var(--muted);margin-bottom:0}
.team-avatar{aspect-ratio:auto;height:170px}
.team-avatar .team-initials{width:78px;height:78px;font-size:29px;top:58%}
.team-alias{font-size:13px;font-weight:650;color:var(--muted);margin:-4px 0 15px}
.team-personal{font-size:13px;line-height:1.75;color:var(--muted);margin:14px 0 0}
.team-grid-operations{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-grid-operations .team-avatar{height:auto;aspect-ratio:4/3}
.team-card[id]{scroll-margin-top:125px}
.team-profile-links .text-link{overflow-wrap:anywhere;max-width:100%}
.team-coordination{margin-top:46px;padding:32px;background:#e4f2ea;border:1px solid #bfd7cc;border-radius:12px;scroll-margin-top:125px}
.team-coordination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.team-coordination-grid article{min-width:0}
.team-coordination h3{font-size:21px;line-height:1.2;margin-bottom:14px}
.team-coordination-grid p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 12px}
.team-coordination-grid p:last-child{margin-bottom:0}
@media(max-width:850px){.team-coordination-grid{grid-template-columns:1fr;gap:24px}.team-coordination-grid article+article{border-top:1px solid #bfd7cc;padding-top:24px}}
@media(max-width:650px){.team-department{margin-top:34px}.team-department-heading>p:last-child{font-size:14px}.team-grid-operations{grid-template-columns:1fr}.team-coordination{padding:25px;margin-top:34px}.team-coordination-grid p{font-size:13px}.team-avatar{height:160px}.team-avatar .team-initials{width:74px;height:74px;font-size:28px}}

.team-deputy{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;overflow:hidden;background:#fffdf7;border:1px solid #d2ddd4;border-radius:10px;margin-bottom:28px;scroll-margin-top:125px}
.team-deputy .team-photo{height:100%;min-height:220px;aspect-ratio:auto}
.team-deputy .team-card-copy{padding:28px 34px}
.team-deputy h2{font-size:34px;line-height:1.2;margin-bottom:14px}
.team-deputy .team-profile-links{margin-top:16px}
@media(max-width:650px){.team-deputy{grid-template-columns:1fr}.team-deputy .team-photo{height:150px;min-height:0}.team-deputy .team-card-copy{padding:25px 27px}.team-deputy h2{font-size:30px}}

.team-card#onyx .onyx-portrait{height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 15%}

.team-card#service-tolfy .tolfy-portrait{height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 10%}
