/* Pink background, white logo letters and a burgundy star; original alpha/texture retained. */
.team-playground{min-height:560px;height:80svh;max-height:960px;position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;background:var(--pink);color:var(--burgundy);padding:120px var(--pad) 50px}
.team-brand-stage{width:clamp(230px,25vw,360px);position:relative;z-index:2;pointer-events:none}
.team-heading{position:relative;width:fit-content;margin:0 auto 28px}
.team-title{font-family:var(--display);font-size:clamp(24px,2.5vw,36px);font-weight:900;letter-spacing:-.055em;line-height:1.1;text-align:center;margin:0}
.team-sparks{position:absolute;inset:0;pointer-events:none}
.team-spark{position:absolute;width:14px;aspect-ratio:1;background:var(--blue);mask:url('/klit-star.svg') center/contain no-repeat;animation:team-spark-drift 10s ease-in-out infinite alternate;animation-play-state:paused}
.team-spark:nth-child(1){left:-23px;top:3px;width:14px;--spark-angle:-13deg;animation-delay:-3s}
.team-spark:nth-child(2){right:-23px;bottom:3px;width:16px;--spark-angle:18deg;animation-duration:12s;animation-delay:-8s}
.team-spark:nth-child(3){left:-8px;bottom:-10px;width:10px;--spark-angle:8deg;animation-duration:11s;animation-delay:-6s}
.team-spark:nth-child(4){right:-6px;top:-12px;width:11px;--spark-angle:-20deg;animation-duration:9s;animation-delay:-2s}
.team-stars-moving .team-spark{animation-play-state:running}
@keyframes team-spark-drift{from{transform:translateY(-2px) rotate(var(--spark-angle))}to{transform:translateY(2px) rotate(calc(var(--spark-angle) + 5deg))}}
.team-logo-filter{position:absolute}
.team-main-logo{width:100%;height:auto;aspect-ratio:1;object-fit:contain;filter:url('#team-logo-colors')}
.team-portrait-trail{position:absolute;inset:0;pointer-events:none;z-index:1}
.team-portrait{position:absolute;left:0;top:0;width:110px;height:auto;object-fit:contain;visibility:hidden;opacity:0;pointer-events:none}
.team-portrait.is-active{visibility:visible;will-change:transform,opacity}
.team-directory{background:var(--pink);color:var(--burgundy);padding:0 var(--pad) 80px;scroll-margin-top:110px}
.team-directory-heading{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:35px 0}
.team-directory-heading h2{font-family:var(--display);font-size:clamp(30px,4vw,56px);letter-spacing:-.065em;line-height:1.1}
.team-directory-heading>.eyebrow{font-size:10px}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 28px}
.team-card{min-width:0;scroll-margin-top:145px}
.team-photo{aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);border-radius:4px;background:#ebe3d866}
.team-photo img{width:100%;height:100%;object-fit:cover}
.team-photo-placeholder{display:grid;place-items:center;font-size:14px}
.team-collage{display:grid;grid-auto-rows:minmax(0,1fr);gap:6px;padding:6px;background:var(--paper)}
.team-portrait-row{display:flex;gap:6px;min-height:0}
.team-member{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;background:var(--paper);border-radius:2px}
.team-member img{object-position:center 40%}
.team-member-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;background:#f3b9d155;color:var(--burgundy)}
.team-member-placeholder>svg{width:35%;max-width:52px;height:auto;opacity:.6}
.team-member-placeholder>small{font-size:10px}
.team-card-copy{padding-top:20px}
.team-card h3{font-family:var(--display);font-size:clamp(30px,3.5vw,46px);letter-spacing:-.065em;line-height:1.1;overflow-wrap:anywhere}
.team-page>.chalk-cursor{display:none}
/* The team manifesto uses the same type, ink and chalk as the magazine. */
.team-purpose{background:var(--burgundy);color:var(--paper);scroll-margin-top:110px}
.team-purpose-heading{position:relative;padding-right:28%;margin-bottom:clamp(50px,6vw,88px)}
.team-purpose-heading>.handwriting{font-size:clamp(18px,1.9vw,28px);color:var(--pink);margin-bottom:24px}
.team-purpose-heading>h2{font-family:var(--display);font-weight:900;font-size:clamp(64px,9.5vw,148px);line-height:.95;letter-spacing:-.065em;text-transform:uppercase}
.team-purpose-heading>h2>span{color:var(--pink)}
.team-purpose-star{position:absolute;right:4%;bottom:5%;width:clamp(110px,19vw,265px);height:auto;transform:rotate(12deg);pointer-events:none}
.team-purpose-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:9%}
.team-purpose-grid>article{position:relative;min-width:0;padding-top:30px}
.team-purpose-grid>article::before,.team-purpose-bottom::before{content:'';position:absolute;inset:0 0 auto;height:18px;background:var(--pink);-webkit-mask:url('/klit-scribble-rule.svg') center/100% 100% no-repeat;mask:url('/klit-scribble-rule.svg') center/100% 100% no-repeat;pointer-events:none}
.team-purpose-vision::before{transform:scaleX(-1)}
.team-purpose-label{font-family:var(--body);font-size:12px;font-weight:500;letter-spacing:.12em;line-height:1.4;text-transform:uppercase;color:var(--pink);margin-bottom:24px}
.team-purpose-statement{font-family:var(--display);font-weight:900;font-size:clamp(30px,3.4vw,52px);letter-spacing:-.055em;line-height:1.06;margin-bottom:26px}
.team-purpose-statement>span{color:var(--pink)}
.team-purpose-body{max-width:45ch;font-size:clamp(16px,1.35vw,19px);line-height:1.7}
.team-purpose-body+.team-purpose-body{margin-top:18px}
.team-purpose-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px 60px;margin-top:clamp(50px,6vw,90px);padding-top:36px}
.team-purpose-bottom::before{height:20px;opacity:.8;transform:scaleY(-1)}
.team-purpose-bottom>.handwriting{max-width:440px;font-size:clamp(28px,3vw,42px);color:var(--pink);line-height:1.15}
.team-purpose-bottom>p:last-child{max-width:410px;font-size:14px;line-height:1.65}
.team-purpose-bottom strong{font-weight:500;color:var(--pink)}
@media(max-width:700px){
 .team-playground{min-height:540px;max-height:none;padding:145px var(--pad) 60px}
 .team-brand-stage{width:min(58vw,250px)}
 .team-portrait{width:82px}
 .team-directory{padding-bottom:55px}.team-directory-heading{padding:26px 0}.team-directory-heading h2{font-size:36px}
 .team-grid{grid-template-columns:1fr;gap:32px}
 .team-card-copy{padding-top:16px}.team-card h3{font-size:32px}
 .team-collage,.team-portrait-row{gap:4px}.team-collage{padding:4px}
 .team-purpose{scroll-margin-top:140px}
 .team-purpose-heading{padding-right:0;margin-bottom:64px}
 .team-purpose-heading>.handwriting{font-size:18px;margin-bottom:20px}
 .team-purpose-heading>h2{font-size:clamp(48px,13vw,82px)}
 .team-purpose-star{width:clamp(60px,18vw,110px);right:1%;bottom:-44px}
 .team-purpose-grid{grid-template-columns:minmax(0,1fr);gap:38px}
 .team-purpose-label{font-size:11px;margin-bottom:20px}
 .team-purpose-statement{font-size:clamp(29px,8.2vw,46px);margin-bottom:22px}
 .team-purpose-body{font-size:16px;line-height:1.65}
 .team-purpose-bottom{flex-direction:column;align-items:flex-start;gap:24px;margin-top:42px;padding-top:36px}
 .team-purpose-bottom>.handwriting{font-size:31px}
}
@media(prefers-reduced-motion:reduce){.team-spark{animation:none;transform:rotate(var(--spark-angle))}}
