/* Team Editorial: subtle near-white backgrounds, strong text, genuine portraits. */
body:has(.team-page){--team-bg:#fbf7f1;--team-bg-alt:#f4f1ec;--team-heading:#1f1d1a;--team-body:#6b6660;--team-accent:#1f1d1a;--team-hover:#1f1d1a;--team-line:#e9e3da;--team-focus:#1f1d1a;--team-button:#edc085;--team-button-hover:#d9a45c;--team-button-text:#1f1d1a;--team-sage:#96b59e;--team-sage-light:#dfe9e1}
.team-page{color:var(--team-heading);background:var(--team-bg)}.team-page p{color:var(--team-body)}
.team-page h1,.team-page h2{hyphens:none;overflow-wrap:normal}
.team-page .eyebrow{color:var(--team-accent);font-size:11px;line-height:17px;font-weight:600}
.team-page>.breadcrumb{padding-top:16px;padding-bottom:16px}
.team-intro{padding:48px 0 64px;background:var(--team-bg)}
.team-intro-grid{display:grid;grid-template-columns:minmax(0,704fr) minmax(0,432fr);gap:64px}
.team-intro h1{font-size:64px;line-height:74px;letter-spacing:0;margin-top:16px;max-width:none;color:var(--team-heading)}
.team-intro .eyebrow{letter-spacing:2px}.team-invitation>p{font-size:18px;line-height:31px}
.team-profile-nav{display:flex;gap:24px;border-top:1px solid var(--team-line);padding-top:24px;margin-top:24px}
.team-profile-nav a{font-size:16px;line-height:24px;font-weight:600;color:var(--team-accent);flex:1;position:relative;padding-bottom:5px;transition:color .18s,transform .18s}
.team-profile-nav a::after{content:"";height:2px;background:currentColor;position:absolute;bottom:0;left:0;right:18px;transform:scaleX(0);transform-origin:left;transition:transform .18s}
.team-profile-nav a:hover{color:var(--team-hover);transform:translateY(-2px)}.team-profile-nav a:hover::after,.team-profile-nav a[aria-current="location"]::after{transform:scaleX(1)}
.team-profiles{display:block;padding:0}
.team-profile{width:100%;min-height:880px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,4fr);background:var(--team-bg);scroll-margin-top:24px}
.team-profile-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:28px;padding:64px 80px 64px 120px;min-width:0}
.team-profile-heading{display:flex;flex-direction:column;gap:16px}
.team-profile-role{display:flex;gap:16px;text-transform:uppercase;align-items:start;color:var(--team-accent)!important;font-weight:600;font-size:12px;line-height:18px;letter-spacing:1.3px}
.team-profile-number{width:24px;flex:none}
.team-profile h2{font-size:96px;line-height:106px;font-weight:600;letter-spacing:0;color:var(--team-heading);margin:0}
.team-profile blockquote{margin:0;border-left:2px solid var(--team-button-hover);padding-left:20px;font-size:24px;line-height:36px;font-style:italic;font-weight:400;color:var(--team-accent)}
.team-profile-portrait{grid-column:2;grid-row:1;min-width:0;overflow:hidden;height:100%;border-radius:0;background:var(--team-bg-alt)}
.team-profile-portrait img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.team-profile-portrait:hover img{transform:scale(1.015)}
.team-profile-portrait{position:relative}
.team-profile-portrait figcaption{position:absolute;bottom:10px;left:10px;max-width:calc(100% - 20px);font-size:9px;line-height:1.5;padding:3px 6px;border-radius:4px;background:#fffffff0;color:#6b6660}
.home-person-portrait{position:relative}
.home-person-portrait img[src*="seda-team-matching-frame"]{object-position:center top}
.home-person-portrait figcaption{position:absolute;bottom:8px;left:8px;max-width:calc(100% - 16px);font-size:9px;line-height:1.5;padding:3px 6px;border-radius:4px;background:#fffffff0;color:#6b6660}
.team-profile-reverse{grid-template-columns:minmax(0,4fr) minmax(0,5fr);background:var(--team-bg-alt)}
.team-profile-reverse .team-profile-copy{grid-column:2;padding:64px 120px 64px 80px}
.team-profile-reverse .team-profile-portrait{grid-column:1}
.team-profile-details{display:flex;flex-direction:column;gap:24px;min-width:0}
.team-profile-body{font-size:17px;line-height:29px}
.team-profile-facts{border-top:1px solid var(--team-line);padding-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.team-profile-facts span{display:block;text-transform:uppercase;font-size:11px;line-height:17px;letter-spacing:1.2px;font-weight:600;color:var(--team-accent);margin-bottom:8px}
.team-profile-facts p{font-size:14px;line-height:24px;color:var(--team-heading);font-weight:500}
.team-profile-actions{display:flex;gap:12px;flex-wrap:wrap}
.team-page .button{background:var(--team-button);color:var(--team-button-text);box-shadow:0 12px 30px -10px #d9a45c8c;border-radius:8px;font-size:14px;line-height:22px;font-weight:600;min-height:54px;padding:16px;transition:background .18s,box-shadow .18s,transform .18s}
.team-profile-actions .button:first-child{min-width:208px}
.team-profile-actions .button-secondary{min-width:220px;background:transparent;border:1px solid var(--team-button-hover);color:var(--team-heading);box-shadow:none}
.team-page .button:hover{background:var(--team-button-hover);color:var(--team-button-text);transform:translateY(-2px);box-shadow:0 12px 30px -10px #d9a45cb3}
.team-profile-actions .button-secondary:hover{background:var(--team-sage-light);color:var(--team-heading)}
.team-page a:focus-visible{outline:2px solid var(--team-focus);outline-offset:4px}.team-profile h2:focus{outline:0}
.team-studio{padding:64px 0;background:var(--team-bg-alt)}
.team-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:start}
.team-studio-copy{display:flex;flex-direction:column;gap:24px;align-items:start}
.team-studio-copy h2{font-size:44px;line-height:54px;color:var(--team-heading);letter-spacing:0}
.team-studio-copy>p:not(.eyebrow){font-size:16px;line-height:27px;max-width:650px}.team-studio-copy .button{min-width:208px}
.team-studio-image img{width:100%;aspect-ratio:3/2;object-fit:cover}.team-studio-image figcaption{font-size:9px;line-height:17px;color:var(--team-body);margin-top:8px}
body:has(.team-page)>footer{background:var(--team-bg);color:var(--team-body);border-color:var(--team-line)}
body:has(.team-page)>footer p,body:has(.team-page)>footer a,body:has(.team-page)>footer small{color:var(--team-body)}
body:has(.team-page)>footer h2{color:var(--team-heading)}
body:has(.team-page)>footer a:hover{color:var(--team-accent)}
body:has(.team-page) .footer-bottom{border-color:var(--team-line)}
@media(min-width:1441px){.team-profile-copy{padding-left:max(120px,calc((100vw - 1200px)/2));padding-right:80px}.team-profile-reverse .team-profile-copy{padding-left:80px;padding-right:max(120px,calc((100vw - 1200px)/2))}}
@media(min-width:761px) and (max-width:1200px){.team-profile-copy{padding:56px 40px 56px 48px}.team-profile-reverse .team-profile-copy{padding:56px 48px 56px 40px}.team-profile h2{font-size:78px;line-height:90px}.team-profile blockquote{font-size:22px;line-height:34px}.team-intro-grid{gap:40px}.team-intro h1{font-size:50px;line-height:60px}}
@media(max-width:760px){
 .team-intro{padding:32px 0 40px}.team-intro-grid{display:flex;flex-direction:column;gap:24px}
 .team-intro h1{font-size:38px;line-height:46px}.team-invitation>p{font-size:16px;line-height:28px}
 .team-profile-nav{gap:18px}.team-profile-nav a{font-size:16px;line-height:24px}
 .team-profile,.team-profile-reverse{display:flex;flex-direction:column;min-height:0}
 .team-profile-copy,.team-profile-reverse .team-profile-copy{display:contents}
 .team-profile-heading{order:0;padding:48px 24px 32px;gap:16px}
 .team-profile-role{font-size:12px;line-height:18px;letter-spacing:1px}
 .team-profile h2{font-size:66px;line-height:74px}
 .team-profile blockquote{font-size:20px;line-height:31px}
 .team-profile-portrait{order:1;width:100%;height:auto;aspect-ratio:3/4;flex:none}
 .team-profile-portrait img{height:100%;width:100%;aspect-ratio:3/4}
 .team-profile-details{order:2;padding:32px 24px 48px;gap:24px}
 .team-profile-body{font-size:15px;line-height:27px}
 .team-profile-facts{grid-template-columns:minmax(0,1fr);gap:16px}
 .team-profile-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .team-profile-actions .button{width:100%;min-width:0!important}
 .team-studio{padding:48px 0}.team-studio-grid{display:flex;flex-direction:column;gap:32px}
 .team-studio-copy h2{font-size:32px;line-height:40px}.team-studio-copy .button{width:100%}.team-studio-image{width:100%}
}
@media(prefers-reduced-motion:reduce){.team-profile-nav a,.team-profile-nav a::after,.team-profile-portrait img,.team-page .button{transition:none!important;transform:none!important}.team-profile-portrait:hover img{transform:none}}
/* Smaller genuine portraits, with room around each person. */
@media(min-width:761px){.team-profile-portrait{width:min(100%,400px);height:auto;aspect-ratio:3/4;align-self:center;justify-self:center;border-radius:16px}}
@media(max-width:760px){.team-profile-portrait{width:calc(100% - 48px);max-width:280px;height:auto;aspect-ratio:3/4;align-self:center;border-radius:16px}}
