/* Teams — Fitelo rebrand. Tokens and chrome come from tokens.css and style.css. */

*,::before,::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:168px;-webkit-text-size-adjust:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body:has(.teams){
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16.5px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
body:has(.teams) button{font:inherit;background:0 0;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
body:has(.teams) img{max-width:100%;height:auto;display:block}
body:has(.teams) a{text-decoration:none}
body:has(.teams) :is(h1,h2,h3){
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:-.035em;
  line-height:1.39;
  text-wrap:balance;
  color:var(--ink);
  margin:0;
}
body:has(.teams) :is(h1,h2,h3) em{
  display:inline-block;
  font-style:italic;
  margin:0 .08em;
  padding:.07em .34em .12em;
  line-height:1.04;
  color:inherit;
  border:1.6px solid var(--orange);
  border-radius:999px;
  vertical-align:baseline;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
body:has(.teams) ul{margin:0;padding:0;list-style:none}
body:has(.teams) p{margin:0}
body:has(.teams) figure{margin:0}
body:has(.teams) :focus-visible{outline:2px solid var(--orange);outline-offset:3px}

.wrap{width:100%;max-width:var(--max);margin:0 auto;padding-inline:var(--pad)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  height:52px;
  padding:0 22px;
  border:0;
  border-radius:999px;
  font-size:15.5px;
  font-weight:600;
  letter-spacing:-.01em;
  text-decoration:none;
  white-space:nowrap;
  transition:background .35s var(--ease),color .35s var(--ease),box-shadow .35s var(--ease),transform .35s var(--ease);
}
.btn:active{transform:scale(.98)}
.b-orange{background:var(--orange);color:#fff;box-shadow:0 10px 26px -8px rgba(255,71,57,.6)}
.b-orange:hover{background:var(--orangeD);color:#fff}
.b-line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px rgba(34,9,15,.16)}
.b-line:hover{box-shadow:inset 0 0 0 1.5px rgba(34,9,15,.4);background:transparent}

body:has(.teams) .nav-cta,
body:has(.teams) .nav.lite .nav-cta{
  background:var(--orange);
  color:#fff;
  box-shadow:0 8px 22px -8px rgba(255,71,57,.6);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
body:has(.teams) .nav-cta:hover,
body:has(.teams) .nav.lite .nav-cta:hover{background:var(--orangeD);color:#fff}
body:has(.teams) .nav-cta svg.i,
body:has(.teams) .nav-menu svg.i,
body:has(.teams) .mnav-x svg.i,
body:has(.teams) .mnav-links svg.i,
body:has(.teams) .mnav-call svg.i{
  width:18px;height:18px;flex:none;display:block;
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
body:has(.teams) .ft{margin-top:0;font-size:16px}
body:has(.teams) .modal{display:none!important}

.cue-lab{
  display:inline-flex;
  align-items:center;
  height:32px;
  padding:0 14px;
  margin:0 0 16px;
  border-radius:999px;
  font-family:var(--sans);
  font-size:13px;
  font-weight:500;
  letter-spacing:.005em;
  color:var(--orangeD);
  border:1.2px solid rgba(255,71,57,.4);
  width:max-content;
  max-width:100%;
  background:transparent;
}

.teams-ic{
  display:grid;
  place-items:center;
  width:70px;
  height:50px;
  border-radius:50%;
  background:var(--ivory);
  rotate:48deg;
  color:var(--maroon);
  flex:none;
  border:1.5px solid var(--maroon);
}
.teams-ic svg{
  width:30px;
  height:30px;
  fill:none;
  stroke:currentColor;
  rotate:-50deg;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.teams{padding-bottom:0}

.teams-portrait{
  display:grid;
  aspect-ratio:1;
  border-radius:28px;
  overflow:hidden;
  background:
    radial-gradient(70% 55% at 72% 18%,rgba(255,255,255,.75),rgba(255,255,255,0) 62%),
    linear-gradient(165deg,#F6EFE3,#E7D7C4);
}
.teams-portrait img,
.teams-portrait::after{grid-area:1/1;width:100%;height:100%}
.teams-portrait img{
  position:relative;
  z-index:1;
  object-fit:cover;
  transition:transform 1.1s var(--ease);
}
.teams-portrait::after{
  content:attr(data-in);
  z-index:0;
  display:grid;
  place-items:center;
  font-family:var(--serif);
  font-size:clamp(36px,4vw,64px);
  font-weight:500;
  letter-spacing:-.03em;
  color:rgba(79,7,22,.28);
}
.teams-lead:hover .teams-portrait img,
.teams-person:hover .teams-portrait img{transform:scale(1.035)}

/* —— Hero —— */
.teams-hero{
  position:relative;
  padding:calc(124px + env(safe-area-inset-top,0px)) 0 clamp(36px,5vw,72px);
  overflow:hidden;
}
.teams-hero::after{
  content:"";
  position:absolute;
  right:-6%;
  top:12%;
  width:min(520px,48vw);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(233,200,143,.34),rgba(233,200,143,0) 68%);
  pointer-events:none;
}
.teams-hero__ov{
  position:absolute;
  left:-14%;
  top:2%;
  width:min(620px,56vw);
  pointer-events:none;
  opacity:.62;
}
.teams-hero__ov--gold{
  left:8%;
  top:34%;
  width:min(340px,32vw);
  opacity:.85;
}
.teams-hero__ov svg{display:block;width:100%;height:auto;overflow:visible}
.teams-hero__ov ellipse{fill:none;stroke:rgba(79,7,22,.15);stroke-width:1;vector-effect:non-scaling-stroke}
.teams-hero__ov--gold ellipse{stroke:rgba(233,200,143,.7)}
.teams-hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(280px,1fr) minmax(0,1fr);
  gap:clamp(8px,2vw,28px);
  align-items:center;
}
body:has(.teams) .teams-hero__photo img{
  max-width:93%;
  filter:drop-shadow(-5px 6px 4.3px #4F0716);
  margin:20px;
}
body:has(.teams) .teams-portrait img{
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
}
.teams-hero__copy{max-width:540px;padding:8px 0 8px clamp(0px,1vw,12px)}
.teams-hero h1{
  max-width:9.4em;
  font-size:clamp(42px,5.4vw,68px);
  color:var(--maroon);
  letter-spacing:-.04em;
}
.teams-lede{
  margin-top:20px;
  max-width:38ch;
  color:var(--ink2);
  font-size:clamp(17px,1.3vw,19.5px);
  line-height:1.55;
  text-wrap:pretty;
}
.teams-hero__path{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 0;
  margin-top:22px;
}
.teams-hero__path li{display:flex;align-items:center}
.teams-hero__path li + li::before{
  content:"";
  width:5px;
  height:5px;
  margin:0 12px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 4px rgba(233,200,143,.35);
}
.teams-hero__path a{
  font-size:14.5px;
  font-weight:600;
  letter-spacing:-.01em;
  color:var(--maroon);
  transition:color .3s var(--ease);
}
.teams-hero__path a:hover{color:var(--orangeD)}
.teams-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}

/* —— Sections —— */
.teams-block{padding:clamp(48px,6vw,88px) 0}
.teams-shead{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:16px 48px;
  align-items:end;
  margin-bottom:clamp(28px,4vw,48px);
}
.teams-shead h2{
  font-size:clamp(32px,3.8vw,52px);
  color:var(--maroon);
}
.teams-shead p{
  justify-self:end;
  max-width:38ch;
  color:var(--ink2);
  font-size:clamp(16px,1.15vw,18px);
  line-height:1.5;
}
.teams-shead p b{color:var(--ink);font-weight:650}
.teams-role{
  margin:0 0 6px;
  font-size:13.5px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--orangeD);
}
.teams-idx{
  margin:0 0 6px;
  font-family:var(--serif);
  font-size:15px;
  font-weight:500;
  letter-spacing:.08em;
  color:var(--orangeD);
}

/* —— Founders —— */
.teams-founders{display:flex;flex-direction:column;gap:clamp(48px,6vw,84px)}
.teams-founder{
  display:grid;
  grid-template-columns:minmax(260px,.78fr) minmax(0,1.15fr);
  gap:clamp(24px,4vw,64px);
  align-items:center;
}
.teams-founder--flip figure{order:2}
.teams-founder h3{
  font-size:clamp(32px,3.2vw,46px);
  color:var(--maroon);
}
.teams-founder div > p:not(.teams-role){
  margin-top:14px;
  max-width:58ch;
  color:var(--ink2);
  font-size:16.5px;
  line-height:1.65;
}
.teams-founder .btn{margin-top:22px}
.teams-soc{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.teams-soc a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:40px;
  padding:0 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  color:var(--maroon);
  box-shadow:inset 0 0 0 1.2px rgba(79,7,22,.2);
  transition:background .3s var(--ease),box-shadow .3s var(--ease);
}
.teams-soc a:hover{background:rgba(79,7,22,.05);box-shadow:inset 0 0 0 1.2px rgba(79,7,22,.45)}
.teams-soc svg.i{width:16px;height:16px}

/* —— Leadership bench —— */
.teams-bench{
  margin-top:clamp(56px,7vw,96px);
  padding-top:clamp(28px,4vw,40px);
  border-top:1px solid var(--line);
  scroll-margin-top:120px;
}
.teams-bench__note{
  max-width:36ch;
  margin-bottom:clamp(18px,2.4vw,28px);
  color:var(--ink2);
  font-size:17px;
}
.teams-bench__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(14px,1.8vw,22px);
}
.teams-lead h3{
  margin-top:14px;
  font-size:clamp(20px,1.6vw,24px);
  color:var(--maroon);
}
.teams-lead p{
  margin-top:2px;
  font-size:14px;
  color:var(--ink2);
}

/* —— Fitelo 360 —— */
.teams-360{scroll-margin-top:120px}
.teams-jump{
  /* position:sticky; */
  /* top:calc(84px + env(safe-area-inset-top,0px)); */
  z-index:30;
  margin:0 calc(var(--pad) * -1) clamp(8px,2vw,18px);
  padding:12px var(--pad);
  background:var(--ivory);
  box-shadow:0 1px 0 var(--line);
}
.teams-jump__in{
  display:flex;
  gap:4px;
  width:max-content;
  max-width:100%;
  margin:0 auto;
  padding:5px;
  border-radius:999px;
  background:rgba(250,248,238,.94);
  box-shadow:inset 0 0 0 1px var(--line),0 10px 24px -18px rgba(79,7,22,.45);
  overflow-x:auto;
  scrollbar-width:none;
}
.teams-jump__in::-webkit-scrollbar{display:none}
.teams-jump a{
  flex:none;
  display:inline-flex;
  align-items:center;
  height:40px;
  padding:0 16px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink2);
  white-space:nowrap;
  transition:background-color .35s var(--ease),color .35s var(--ease),box-shadow .35s var(--ease);
}
.teams-jump a:hover{color:var(--ink)}
.teams-jump__in a.on{
  background:#fff;
  color:var(--maroon);
  box-shadow:0 8px 18px -12px rgba(79,7,22,.45),inset 0 0 0 1px rgba(79,7,22,.06);
}

.teams-group{
  padding:clamp(28px,4vw,48px) 0;
  border-top:1px solid var(--line);
  scroll-margin-top:168px;
}
.teams-ghead{
  display:grid;
  grid-template-columns:minmax(0,.7fr) minmax(0,1.1fr);
  gap:12px 40px;
  align-items:end;
  margin-bottom:clamp(18px,2.4vw,28px);
}
.teams-ghead h3{
  font-size:clamp(28px,3vw,40px);
  color:var(--maroon);
}
.teams-ghead p{
  max-width:46ch;
  color:var(--ink2);
  font-size:16.5px;
  line-height:1.55;
}
.teams-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.teams-chips span{
  display:inline-flex;
  align-items:center;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  color:var(--ink2);
  background:#fff;
  box-shadow:inset 0 0 0 1px var(--line);
}

.teams-roster{
  display:grid;
  gap:clamp(16px,2vw,26px) clamp(12px,1.4vw,18px);
}
.teams-roster[data-n="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.teams-roster[data-n="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.teams-roster[data-n="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.teams-person figcaption{padding:12px 2px 0}
.teams-person figcaption b{
  display:block;
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(16px,1.3vw,20px);
  letter-spacing:-.02em;
  line-height:1.25;
  color:var(--maroon);
}
.teams-person figcaption span{
  display:block;
  margin-top:4px;
  font-size:13px;
  line-height:1.4;
  color:var(--ink3);
}

.teams-tech{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(22px,3vw,40px);
  align-items:center;
  margin:clamp(12px,2vw,20px) 0;
  padding:clamp(28px,3.4vw,44px);
  border-radius:var(--r-xl);
  background:
    radial-gradient(70% 80% at 100% 0%,rgba(255,71,57,.22),transparent 55%),
    var(--maroon);
  color:var(--ivory);
  box-shadow:var(--shadowL);
  scroll-margin-top:168px;
}
.teams-tech h3{
  font-size:clamp(32px,3.4vw,48px);
  color:#fff;
}
.teams-tech .teams-idx{color:var(--gold)}
.teams-tech > div > p:not(.teams-idx){
  margin-top:12px;
  max-width:36ch;
  color:rgba(250,248,238,.78);
  font-size:17px;
  line-height:1.55;
}
.teams-tech .teams-chips span{
  color:#fff;
  background:rgba(255,255,255,.08);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}

.teams-map{
  position:relative;
  min-height:clamp(280px,28vw,380px);
  border-radius:24px;
  overflow:hidden;
  background:
    radial-gradient(55% 55% at 42% 48%,rgba(255,110,84,.28),transparent 70%),
    linear-gradient(165deg,#3E0714,#16030A);
}
.teams-map__rings{
  position:absolute;
  left:8%;
  top:50%;
  width:min(260px,68%);
  aspect-ratio:1;
  translate:0 -50%;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%,transparent 18%,rgba(233,200,143,.55) 19%,transparent 20%),
    radial-gradient(circle at 50% 50%,transparent 34%,rgba(255,255,255,.28) 35%,transparent 36%),
    radial-gradient(circle at 50% 50%,transparent 50%,rgba(255,138,110,.45) 51%,transparent 52%),
    radial-gradient(circle at 50% 50%,rgba(255,71,57,.35),transparent 16%);
}
.teams-map__rings::before,
.teams-map__rings::after{
  content:"";
  position:absolute;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 6px rgba(255,71,57,.35);
}
.teams-map__rings::before{left:62%;top:18%}
.teams-map__rings::after{left:22%;top:68%;background:var(--gold);box-shadow:0 0 0 6px rgba(233,200,143,.28)}
.teams-map__sigs{
  position:absolute;
  right:18px;
  top:18px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}
.teams-map__sigs span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  color:#fff;
  background:rgba(255,255,255,.14);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.26);
}
.teams-map__sigs i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--c);
  font-style:normal;
}
.teams-map__sigs em{
  font-style:normal;
  font-weight:650;
  color:var(--c);
}
.teams-map__cap{
  position:absolute;
  left:22px;
  bottom:18px;
  font-size:13px;
  color:rgba(255,255,255,.66);
}

/* —— Perks —— */
.teams-perks{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.teams-perks li{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  min-height:100%;
  padding:26px 22px 28px;
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.teams-perks h3{font-size:clamp(22px,1.8vw,26px);color:var(--maroon)}
.teams-perks p{color:var(--ink2);font-size:15.5px;line-height:1.5}

/* —— Voices —— */
.teams-voices{
  display:grid;
  grid-template-columns:1.35fr .85fr;
  grid-template-rows:auto auto;
  gap:14px;
}
.teams-voices li{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:28px;
  min-height:100%;
  padding:28px 26px 22px;
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.teams-voices li:first-child{
  grid-row:span 2;
  background:
    radial-gradient(80% 60% at 100% 0%,rgba(255,71,57,.2),transparent 55%),
    var(--maroon);
  box-shadow:var(--shadowL);
}
.teams-voices blockquote{margin:0}
.teams-voices blockquote p{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(18px,1.5vw,22px);
  letter-spacing:-.03em;
  line-height:1.39;
  color:var(--maroon);
}
.teams-voices li:first-child blockquote p{
  font-size:clamp(24px,2.2vw,32px);
  color:#fff;
}
.teams-voices blockquote p::before{content:"“"}
.teams-voices blockquote p::after{content:"”"}
.teams-voice{
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.teams-voices li:first-child .teams-voice{border-top-color:rgba(255,255,255,.16)}
.teams-voice img{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
}
.teams-voice b{
  display:block;
  font-size:15px;
  font-weight:650;
  letter-spacing:-.01em;
  color:var(--ink);
}
.teams-voices li:first-child .teams-voice b{color:#fff}
.teams-voice span{
  display:block;
  margin-top:2px;
  font-size:13px;
  color:var(--ink3);
}
.teams-voices li:first-child .teams-voice span{color:rgba(250,248,238,.72)}

/* —— Life —— */
.teams-life{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr 1.05fr;
  gap:14px;
  align-items:start;
}
.teams-life img{
  width:100%;
  height:auto;
  border-radius:var(--r-lg);
}
.teams-life img:nth-child(2),
.teams-life img:nth-child(4){margin-top:36px}

/* —— Close —— */
.teams-join{padding:clamp(8px,2vw,16px) 0 clamp(64px,8vw,104px)}
.teams-join .wrap{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px 48px;
  padding:clamp(36px,5vw,64px);
  border-radius:var(--r-xl);
  background:
    radial-gradient(70% 90% at 100% 0%,rgba(255,71,57,.22),transparent 52%),
    var(--maroon);
  color:var(--ivory);
  box-shadow:var(--shadowL);
}
.teams-join h2{
  max-width:14ch;
  font-size:clamp(36px,4.4vw,56px);
  color:#fff;
}
body:has(.teams) .teams-join h2{color:#fff}
body:has(.teams) .teams-join h2 em{color:var(--gold);border-color:var(--gold)}
.teams-join p{
  max-width:42ch;
  margin-top:12px;
  color:rgba(250,248,238,.78);
  font-size:17px;
}
.teams-join .btn{flex:none}

@media(max-width:1100px){
  .teams-roster[data-n="4"],
  .teams-roster[data-n="5"],
  .teams-roster[data-n="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .teams-hero__grid,
  .teams-founder,
  .teams-tech,
  .teams-ghead{grid-template-columns:1fr}
  .teams-founder--flip figure{order:0}
  .teams-founder .teams-portrait{max-width:460px}
  .teams-shead{grid-template-columns:1fr;gap:10px}
  .teams-shead p{justify-self:start}
  .teams-bench__grid,
  .teams-perks{grid-template-columns:1fr 1fr}
  .teams-voices{grid-template-columns:1fr}
  .teams-voices li:first-child{grid-row:auto}
  .teams-life{grid-template-columns:1fr 0fr}
  .teams-life img:nth-child(2),
  .teams-life img:nth-child(4){margin-top:0}
  .teams-life img:nth-child(2),
  .teams-life img:nth-child(3){margin-top:22px}
  .teams-hero__photo{max-width:520px}
  .teams-join .wrap{flex-direction:column;align-items:flex-start}
}
@media(max-width:680px){
  .teams-hero{padding-top:calc(96px + env(safe-area-inset-top,0px))}
  .teams-hero h1{max-width:none;font-size:clamp(36px,10vw,48px)}
  .teams-hero__ov--gold{display:none}
  .teams-hero::after{opacity:.45}
  .teams-cta .btn,
  .teams-join .btn{width:100%}
  .teams-bench__grid,
  .teams-perks,
  .teams-roster[data-n="4"],
  .teams-roster[data-n="5"],
  .teams-roster[data-n="6"]{grid-template-columns:1fr 1fr}
  .teams-hero__photo{max-width:none;margin:0 0 12px}
  body:has(.teams) .teams-hero__photo img{max-width:93%;margin:12px auto 8px}
  .teams-map{min-height:260px}
  .teams-map__rings{left:50%;top:42%;translate:-50% -50%;width:min(200px,72%)}
  .teams-map__sigs{right:12px;top:12px}
  .teams-jump{top:calc(76px + env(safe-area-inset-top,0px))}
}
@media(prefers-reduced-motion:reduce){
  .btn,.teams-jump a,.teams-portrait img,.teams-soc a,.teams-hero__path a{transition:none}
  .btn:active{transform:none}
  .teams-lead:hover .teams-portrait img,
  .teams-person:hover .teams-portrait img{transform:none}
}
