/* Team editorial layout; scoped to the independent team page. */
.gm-stylist-page [hidden]{display:none!important}
.gm-stylist-page{--team-green:#00ac79;--team-ink:#102d27;--team-rail:clamp(245px,24vw,340px)}
.gm-stylist-sidebar{width:var(--team-rail);padding:34px 28px;overflow-y:auto;border-right:1px solid #eeefeb}
.gm-stylist-sidebar>section:first-of-type{margin:72px 0 0 30px}
.gm-stylist-sidebar h2{margin-bottom:34px;color:#89938d;font-size:11px;letter-spacing:.1em}
.gm-stylist-sidebar strong{font-size:25px}.gm-stylist-sidebar li{font-size:22px}
.gm-stylist-shops{position:relative;top:auto;margin:30px -18px 0;grid-template-columns:48px 1fr}
.gm-stylist-shops>div{padding:14px 12px}.gm-stylist-shops b{font-size:17px}.gm-stylist-shops span{font-size:12px;line-height:1.7}
.gm-stylist-sidebar>nav{position:relative;left:auto;bottom:auto;padding:25px 30px}
.gm-stylist-stage{margin-left:var(--team-rail);padding:34px clamp(24px,3.6vw,66px) 64px;background:#f8f9f6}
.gm-stylist-heading{padding-bottom:24px;border-bottom:1px solid #dfe4de;align-items:center}
.gm-stylist-heading>b{font-size:13px}.gm-stylist-heading>span{font-size:11px}
.team-spotlight{margin-top:32px}.team-spotlight-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.team-spotlight-heading p,.team-directory-heading p{font-size:9px;letter-spacing:.19em;color:#648077;margin:0 0 12px}
.team-spotlight-heading h1{font-weight:500;font-size:clamp(27px,2.8vw,43px);letter-spacing:.06em;line-height:1.2;margin:0}
.team-spotlight-heading>span{font-size:12px;color:#738079;padding-bottom:3px}
.team-spotlight-window{position:relative;display:grid;grid-template-columns:1fr 1fr;background:var(--team-ink);color:#fff;overflow:hidden;min-height:440px;touch-action:pan-y}
.team-spotlight-copy{padding:36px clamp(24px,3.4vw,58px) 90px;display:flex;flex-direction:column;position:relative;z-index:1;min-width:0}
.team-spotlight-label{margin:0;font-size:9px;letter-spacing:.16em;color:#a8cbbd;line-height:1.8}
.team-spotlight-person{margin:auto 0;padding:35px 0}.team-spotlight-person>p:first-child{font-size:12px;color:#acc6bb;margin:0 0 14px;letter-spacing:.1em}
.team-spotlight-person h2{font-family:Georgia,"Songti SC",serif;font-weight:400;font-size:clamp(38px,4.3vw,70px);line-height:1.04;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere;max-width:7em}
#spotlightSpecialties{font-size:12px;line-height:1.9;color:#c8d6cf;margin:22px 0 0;white-space:pre-line}
.team-profile-link{display:inline-flex;align-items:center;gap:24px;border:0;border-bottom:1px solid #759b8c;background:transparent;color:#fff;padding:0 0 10px;margin-top:28px;font-size:12px!important;cursor:pointer;text-align:left}
.team-profile-link>span:last-child{font-size:22px}.team-profile-link:hover{color:#a1ebc9;border-color:#a1ebc9}
.team-spotlight-signature{font-size:10px;letter-spacing:.22em;color:#c1d1c9}.team-spotlight-signature span{display:block;font-size:7px;letter-spacing:.17em;margin-top:8px;color:#88a398}
.team-spotlight-portrait{position:relative;margin:0;min-width:0;background:#798181;aspect-ratio:2/3;max-height:560px;align-self:stretch;overflow:hidden}
.team-spotlight-portrait img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;opacity:1}
.team-spotlight-portrait img.is-loading{opacity:0}.team-spotlight-image-note{position:absolute;right:12px;top:22px;writing-mode:vertical-rl;font-size:8px;letter-spacing:.28em;color:#fff;text-shadow:0 1px 4px #333}
.team-spotlight-controls{position:absolute;left:clamp(24px,3.4vw,58px);right:calc(50% + 24px);bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:16px;z-index:2}
.team-spotlight-position{display:flex;align-items:center;gap:10px;font-size:11px;font-variant-numeric:tabular-nums;color:#b6c9bf}.team-spotlight-position>span:first-child{color:white}.team-spotlight-rule{width:28px;height:1px;background:#78988a}
.team-spotlight-buttons{display:flex;gap:3px}.team-spotlight-buttons button{width:36px;height:38px;border:1px solid #668578;background:transparent;color:#fff;font-size:17px;cursor:pointer}.team-spotlight-buttons button:hover{background:#285341}.team-spotlight-buttons button:disabled{opacity:.4;cursor:default}
.team-spotlight-selectors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #d9dfd7}
.team-spotlight-selectors button{position:relative;background:transparent;border:0;text-align:left;display:flex;gap:12px;align-items:center;padding:20px 10px 19px 0;color:#808a84;font-size:11px;cursor:pointer;min-width:0}
.team-spotlight-selectors button::before{content:"";position:absolute;left:0;right:14px;top:0;height:2px;background:transparent}.team-spotlight-selectors button[aria-current="true"]{color:#153c2c}.team-spotlight-selectors button[aria-current="true"]::before{background:var(--team-green)}
.team-spotlight-selectors small{font-size:9px;color:#95a399}.team-spotlight-selectors span{overflow-wrap:anywhere}.team-spotlight-selectors button:hover{color:#008958}
.gm-stylist-list{padding-top:54px}.team-directory-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:26px}.team-directory-heading h2{font-size:22px;font-weight:500;margin:0}.team-directory-heading>span{font-size:11px;color:#828e86}
#teamMemberGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.gm-stylist-person img{object-fit:contain}.gm-stylist-person strong{font-size:clamp(15px,1.4vw,21px);margin-top:16px;font-weight:500}.gm-stylist-person span{font-size:12px;line-height:1.6;color:#758077}.gm-stylist-person:hover strong{color:#00865e}
.gm-stylist-capacity{margin-top:35px;font-size:11px;line-height:1.8}.gm-stylist-controls{position:static;margin-top:35px}.gm-stylist-page:not(.profile-open) .gm-stylist-controls{display:none}.profile-open .team-spotlight{display:none}
.gm-stylist-profile{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}.gm-stylist-profile>img{object-fit:contain}
.team-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.team-spotlight button:focus-visible,.gm-stylist-person:focus-visible{outline:2px solid #00bc80;outline-offset:4px}
@media(min-width:951px) and (max-height:780px){.gm-stylist-sidebar>section:first-of-type{margin-top:35px}.gm-stylist-sidebar h2{margin-bottom:18px}}
@media(max-width:1150px) and (min-width:951px){.team-spotlight-window{min-height:410px}.team-spotlight-portrait{aspect-ratio:auto}.team-spotlight-copy{padding-left:24px;padding-right:20px}.team-spotlight-controls{left:24px;right:calc(50% + 16px);gap:8px}.team-spotlight-rule{width:16px}.team-spotlight-buttons button{width:30px}.team-spotlight-position{gap:6px}}
@media(max-width:950px){.gm-stylist-sidebar{position:relative;width:100%;overflow:visible;padding:22px;border-right:0;border-bottom:1px solid #e0e5df}.gm-stylist-sidebar>section:first-of-type{display:none}.gm-stylist-logo img{width:178px}.gm-stylist-shops{margin:18px 0 0;grid-template-columns:32px 1fr;gap:16px}.gm-stylist-shops>div{max-width:none;padding:8px 15px}.gm-stylist-shops b{font-size:13px}.gm-stylist-shops span{font-size:11px}.gm-stylist-stage{margin-left:0;padding:26px 24px 48px}.team-spotlight-window{min-height:430px}.team-spotlight-person h2{font-size:52px}.team-spotlight-portrait{max-height:510px}.team-spotlight-copy{padding:30px 30px 90px}.team-spotlight-controls{left:30px;right:calc(50% + 25px)}.gm-stylist-profile{grid-template-columns:1fr;max-width:480px}.gm-stylist-capacity{display:block}.gm-stylist-capacity span{display:block;margin-top:8px}}
@media(max-width:600px){.gm-stylist-stage{padding:24px 18px 42px}.gm-stylist-heading{display:flex;gap:12px;padding-bottom:18px}.gm-stylist-heading>span{max-width:190px;margin:0;font-size:10px;text-align:right}.team-spotlight{margin-top:25px}.team-spotlight-heading{display:block;margin-bottom:20px}.team-spotlight-heading h1{font-size:30px}.team-spotlight-heading>span{display:block;margin-top:12px;font-size:11px}.team-spotlight-heading p{font-size:8px;letter-spacing:.13em}.team-spotlight-window{grid-template-columns:1fr;min-height:0}.team-spotlight-portrait{grid-row:1;aspect-ratio:4/5;max-height:440px;background:#838988}.team-spotlight-portrait img{object-fit:contain}.team-spotlight-copy{padding:27px 25px 77px}.team-spotlight-label{font-size:8px}.team-spotlight-person{margin:0;padding:22px 0 0}.team-spotlight-person h2{font-size:43px;max-width:none;line-height:1.1}.team-spotlight-person>p:first-child{font-size:11px;margin-bottom:10px}#spotlightSpecialties{margin-top:14px;font-size:12px}.team-profile-link{margin-top:18px;padding-bottom:8px}.team-spotlight-signature{display:none}.team-spotlight-controls{left:25px;right:25px;bottom:20px}.team-spotlight-buttons button{width:38px;height:36px}.team-spotlight-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}.team-spotlight-selectors button{font-size:11px;padding:15px 8px 15px 0}.team-directory-heading{display:block}.team-directory-heading h2{font-size:23px}.team-directory-heading>span{display:block;margin-top:12px}.gm-stylist-list{padding-top:42px}#teamMemberGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.gm-stylist-person strong{font-size:17px}.gm-stylist-person span{font-size:11px}.gm-stylist-profile{gap:25px}}
@media(prefers-reduced-motion:no-preference){.team-spotlight-portrait img{transition:opacity .25s}.team-spotlight-person{animation:team-reveal .35s ease-out}@keyframes team-reveal{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
.team-spotlight-portrait{grid-column:1;grid-row:1;width:100%;height:clamp(440px,42vw,600px);max-height:none;aspect-ratio:auto}.team-spotlight-copy{grid-column:2;grid-row:1}
.team-spotlight-controls{left:calc(50% + clamp(24px,3.4vw,58px));right:24px}
@media(max-width:1150px) and (min-width:951px){.team-spotlight-controls{left:calc(50% + 24px);right:16px}}
@media(max-width:950px) and (min-width:601px){.team-spotlight-controls{left:calc(50% + 30px);right:25px}}
@media(max-width:600px){.team-spotlight-portrait{grid-column:1;grid-row:1;aspect-ratio:4/5;height:auto;max-height:440px}.team-spotlight-copy{grid-column:1;grid-row:2}.team-spotlight-controls{left:25px;right:25px}.team-spotlight-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep secondary media links away from the team hero, especially on phones. */
.gm-stylist-heading{display:none}
.team-spotlight{margin-top:0}
.team-spotlight-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gm-stylist-stage{padding-top:24px}
@media(min-width:951px){
  .gm-stylist-sidebar{display:flex;flex-direction:column}
  .gm-stylist-sidebar>.gm-site-utilities{position:relative;left:auto;bottom:auto;margin:auto 0 0 30px;padding-top:35px;flex-shrink:0}
}

/* Desktop navigation is an overlay drawer; the portrait never shifts on hover. */
@media(min-width:951px){
  .gm-stylist-page{--team-rail:72px;--team-drawer:320px}
  .gm-stylist-sidebar{width:var(--team-drawer);transform:translateX(calc(72px - var(--team-drawer)));transition:transform .3s ease,box-shadow .3s ease;padding:28px 26px;overflow-y:auto}
  .gm-stylist-sidebar:not(.is-nav-open){overflow:hidden}
  .gm-stylist-sidebar.is-nav-open{transform:translateX(0);box-shadow:16px 0 45px #102d271c}
  .gm-stylist-sidebar>.gm-stylist-logo,.gm-stylist-sidebar>section:first-of-type,.gm-stylist-sidebar .gm-stylist-shops>div,.gm-stylist-sidebar>.gm-site-utilities{visibility:hidden;opacity:0;transition:opacity .2s ease}
  .gm-stylist-sidebar.is-nav-open>.gm-stylist-logo,.gm-stylist-sidebar.is-nav-open>section:first-of-type,.gm-stylist-sidebar.is-nav-open .gm-stylist-shops>div,.gm-stylist-sidebar.is-nav-open>.gm-site-utilities{visibility:visible;opacity:1}
  .gm-stylist-sidebar .gm-stylist-logo img{width:210px}
  .gm-stylist-sidebar>section:first-of-type{margin:38px 0 0}
  .gm-stylist-sidebar h2{margin-bottom:16px}
  .gm-stylist-shops{position:static;display:block;margin:15px 0 0}
  .gm-stylist-shops>button{position:absolute;right:22px;top:calc(50% - 14px);margin:0;z-index:2;cursor:pointer}
  .gm-stylist-sidebar.is-nav-open .gm-stylist-shops>button{top:30px;right:18px}
  .gm-stylist-sidebar.is-nav-open .gm-stylist-logo img{width:210px}
  .gm-stylist-sidebar>nav{padding:24px 0;gap:17px;font-size:14px}
  .gm-stylist-sidebar>nav a:hover{color:#008958}
  .gm-stylist-sidebar>.gm-site-utilities{margin:auto 0 0;padding-top:20px}
  .gm-stylist-stage{margin-left:72px}
}
@media(prefers-reduced-motion:reduce){.gm-stylist-sidebar{transition:none}}
@media(max-width:950px){
  .gm-stylist-sidebar{padding:18px;min-height:65px}
  .gm-stylist-logo img{width:150px;height:28px}
  .gm-stylist-sidebar>.gm-site-utilities{position:static;left:auto;bottom:auto;margin:0;padding:0}
  .gm-stylist-sidebar .gm-language-switch{position:absolute;top:17px;right:60px;box-shadow:none;background:transparent;border-color:#e4e9e2;padding:2px;gap:0}
  .gm-stylist-sidebar .gm-language-switch a{min-width:28px;height:26px;font-size:10px;padding:0 5px}
  .gm-stylist-sidebar .gm-social-links{display:none}
  .gm-stylist-sidebar:has(#gmSiteNav.open) .gm-social-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 5px;padding:18px 0 8px;border-top:1px solid #e5e9e3;width:100%}
  .gm-stylist-sidebar>nav{padding:22px 8px;gap:18px}
  .gm-stylist-shops{position:static;display:block;margin:0}
  .gm-stylist-shops>button{position:absolute;right:18px;top:18px;margin:0}
  .gm-stylist-shops>div{display:none}
  .gm-stylist-sidebar:has(#gmSiteNav.open) .gm-stylist-shops>div{display:block;margin-top:20px}
  .gm-stylist-heading{display:none}
  .gm-stylist-stage{padding-top:0}
  .team-spotlight{margin-top:0}
  .gm-stylist-sidebar.is-nav-open{position:absolute;inset:0 0 auto;max-height:100dvh;overflow-y:auto;box-shadow:0 12px 32px #102d2724}
  .gm-stylist-sidebar.is-nav-open~.gm-stylist-stage{padding-top:65px}
  .gm-stylist-page:has(.gm-stylist-sidebar.is-nav-open)::before{content:"";position:fixed;inset:65px 0 0;background:#102d273d;z-index:9}
}
@media(max-width:360px){
  .gm-stylist-sidebar{padding-left:14px;padding-right:14px}
  .gm-stylist-logo img{width:125px}
  .gm-stylist-sidebar .gm-language-switch{right:54px}
  .gm-stylist-shops>button{right:14px}
  .team-spotlight-person h2{font-size:36px}
  .gm-stylist-sidebar:has(#gmSiteNav.open) .gm-social-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Each source remains visible; a single member uses an intentional wide card. */
#teamMemberGrid{display:block}
.team-directory-group+ .team-directory-group{margin-top:40px}
.team-directory-group>header{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dce3dc;padding:20px 0}
.team-directory-group h3{font-size:14px;font-weight:500;letter-spacing:.04em;margin:0}
.team-directory-group>header>span{font-size:12px;color:#78877f}
.team-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px;align-items:start}
/* Native buttons vertically centre their contents when a grid row stretches.
   Pin each portrait and its copy to the top, regardless of biography length. */
.team-directory-grid>.gm-stylist-person{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;align-self:start;min-width:0;width:100%}
.team-card-copy{text-align:left;min-width:0}
.team-card-copy small{display:block;font-size:11px;line-height:1.8;color:#7d8982;margin-top:10px}
.team-directory-grid.is-single{grid-template-columns:1fr}
.team-directory-grid.is-single .gm-stylist-person{display:grid;grid-template-columns:minmax(150px,260px) minmax(0,1fr);align-items:center;gap:32px;background:#eef1eb;padding:20px;text-align:left;width:100%}
.team-directory-grid.is-single .gm-stylist-person img{width:100%;height:280px;object-fit:contain;background:#dfe3dd}
.team-directory-grid.is-single .team-card-copy strong{font-size:clamp(24px,3vw,38px);margin:0 0 12px}
.team-directory-grid.is-single .team-card-copy small{margin-top:18px;font-size:13px}
.team-empty{padding:30px 0;color:#78877f}
@media(max-width:700px){.team-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.team-directory-grid.is-single .gm-stylist-person{grid-template-columns:minmax(100px,40%) minmax(0,1fr);gap:18px;padding:14px}.team-directory-grid.is-single .gm-stylist-person img{height:210px}.team-directory-grid.is-single .team-card-copy strong{font-size:24px}.team-directory-grid.is-single .team-card-copy small{font-size:11px}.team-directory-group h3{font-size:12px}}
