/* Team page (2026-10-24). Same language as About and Why SideCoach: pale and white bands, Anton headings, brand teal
   #007a76, crisp 1px edges, small radii, product-style UI. Every class is tm2- scoped except the Read more hooks
   (.tm-grid, .tm-more, .tm-more-t, .tm-bio), which scripts/page-team.js already drives. page-category.css supplies
   .pc-page (the display face) and .pc-btn. */
.tm2{
  --ink:#0b1a24; --text:#56677a; --muted:#62707c; --line:#e6ebef; --edge:#e1e7ed; --teal:#007a76; --pale:#f6f9fc;
  --tint-bg:#f1f8f7; --tint-edge:#d7ebe8;
  --sh:0 0 0 1px rgba(13,40,60,.09), 0 1px 2px rgba(13,40,60,.06), 0 18px 36px -22px rgba(13,40,60,.3);
  background:#fff; color:var(--ink);
}
.tm2-wrap{max-width:1240px; margin:0 auto; padding:0 24px;}
.tm2-sec{padding:104px 0;}
.tm2-pale{background:var(--pale); border-top:1px solid var(--edge); border-bottom:1px solid var(--edge);}
.tm2-tint{background:var(--tint-bg); border-top:1px solid var(--tint-edge); border-bottom:1px solid var(--tint-edge);}
.tm2-k{margin:0 0 14px; font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--teal);}
.tm2-h2{margin:0; font-family:var(--pc-display); font-weight:400; text-transform:uppercase; font-size:clamp(34px,4vw,52px);
  line-height:1; letter-spacing:.1px; color:var(--ink); text-wrap:balance;}
.tm2-lede{margin:16px 0 0; max-width:34em; font-size:17px; line-height:1.6; color:var(--text);}
.tm2-head{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px 48px; margin-bottom:40px;}
.tm2-head .tm2-lede{margin:0; max-width:28em;}
.tm2 a:focus-visible, .tm2 button:focus-visible{outline:2px solid var(--teal); outline-offset:3px; border-radius:3px;}
.tm2-more{font-size:15px; font-weight:600; color:var(--teal); text-decoration:none; white-space:nowrap;}
.tm2-more span{display:inline-block; transition:transform .2s;}
.tm2-more:hover{text-decoration:underline; text-underline-offset:4px;} .tm2-more:hover span{transform:translateX(3px);}

/* ---------- avatars ---------- */
.tm2-av{display:block; flex:none; border-radius:50%; object-fit:cover; background:#eef2f5; box-shadow:0 0 0 1px #e3e8ec;}
.tm2-ini{display:grid; place-items:center; flex:none; border-radius:50%; background:var(--tint-bg); box-shadow:inset 0 0 0 1px var(--tint-edge);
  font-family:var(--pc-display); color:#00605d; letter-spacing:.5px;}

/* ---------- 1. hero ---------- */
.tm2-hero{padding:96px 0 104px; background:var(--pale); border-bottom:1px solid var(--edge);}
.tm2-hero-in{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:64px; align-items:center;}
.tm2-h1{margin:0; font-family:var(--pc-display); font-weight:400; text-transform:uppercase; font-size:clamp(44px,5.6vw,80px);
  line-height:.95; letter-spacing:.3px; color:var(--ink); text-wrap:balance;}
.tm2-h1 span{color:var(--teal);}
.tm2-hero .tm2-lede{font-size:clamp(17px,1.5vw,19px); margin-top:22px;}
.tm2-hero-note{margin:22px 0 0; font-size:14px; color:var(--muted);}
/* the roster card */
.tm2-roster{border-radius:8px; background:#fff; box-shadow:var(--sh); overflow:hidden;}
.tm2-roster-h{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid var(--edge);}
.tm2-roster-h b{font-size:14px;} .tm2-roster-h small{font-size:12px; color:var(--muted);}
.tm2-roster ol{margin:0; padding:0; list-style:none;}
.tm2-roster li a{display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px 18px;
  border-top:1px solid #eef1f4; text-decoration:none; color:inherit; transition:background .15s;}
.tm2-roster li:first-child a{border-top:0;}
.tm2-roster li a:hover{background:#f8fbfb;}
.tm2-roster .tm2-av, .tm2-roster .tm2-ini{width:40px; height:40px;} .tm2-roster .tm2-ini{font-size:14px;}
.tm2-roster b{display:block; font-size:14.5px; font-weight:600;} .tm2-roster small{display:block; font-size:12.5px; color:var(--text);}
.tm2-roster em{padding:3px 8px; border-radius:4px; font-style:normal; font-size:11.5px; font-weight:600; background:#f3f5f7; color:#4b5b66;}
.tm2-roster em.f{background:#e3f4f2; color:#00605d;}

/* ---------- 2. founders ---------- */
.tm2-fds{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:24px;}
.tm2-fd{display:grid; grid-template-columns:168px minmax(0,1fr); gap:28px; padding:28px; border-radius:10px; background:#fff; box-shadow:var(--sh); scroll-margin-top:90px;}
.tm2-fd img{display:block; width:168px; height:168px; border-radius:8px; object-fit:cover; background:#eef2f5; box-shadow:0 0 0 1px #e3e8ec;}
.tm2-role{margin:0; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--teal);}
.tm2-name{margin:6px 0 0; font-family:var(--pc-display); font-weight:400; text-transform:uppercase; font-size:34px; line-height:1; color:var(--ink);}
.tm2-fd .tm2-bio{margin:14px 0 0; font-size:15px; line-height:1.65; color:var(--text);}
.tm2-meta{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px;}
.tm2-chip{padding:4px 9px; border-radius:4px; background:#f3f5f7; font-size:12px; font-weight:600; color:#3d4c58;}
.tm2-mail{display:inline-flex; align-items:center; gap:8px; margin-top:16px; font-size:14px; font-weight:600; color:var(--teal); text-decoration:none;}
.tm2-mail svg{width:16px; height:16px;}
.tm2-mail:hover{text-decoration:underline; text-underline-offset:3px;}

/* ---------- 3. engineering ---------- */
.tm2-ens{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px;}
.tm2-en{display:flex; flex-direction:column; padding:24px; border-radius:10px; background:#fff; box-shadow:var(--sh); scroll-margin-top:90px;}
.tm2-en-h{display:flex; align-items:center; gap:16px;}
.tm2-en .tm2-av, .tm2-en .tm2-ini{width:72px; height:72px;} .tm2-en .tm2-ini{font-size:24px;}
.tm2-en .tm2-name{margin-top:4px; font-size:28px;}
.tm2-en .tm-bio{margin:16px 0 0; font-size:15px; line-height:1.6; color:var(--text);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; overflow:hidden;}
.tm-grid.is-open .tm-bio{-webkit-line-clamp:unset; display:block;}
.tm-more{display:inline-flex; align-items:center; gap:6px; align-self:flex-start; margin-top:10px; padding:0; border:0; background:none;
  font:inherit; font-size:13.5px; font-weight:600; color:var(--teal); cursor:pointer;}
.tm-more[hidden]{display:none;}
.tm-more-i{width:14px; height:14px; transition:transform .2s;}
.tm-grid.is-open .tm-more-i{transform:rotate(180deg);}
.tm-more:hover .tm-more-t{text-decoration:underline; text-underline-offset:3px;}
.tm2-en .tm2-meta{margin-top:auto; padding-top:16px;}
.tm2-en .tm2-mail{margin-top:12px;}

/* ---------- 4. careers ---------- */
.tm2-car{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:center;}
.tm2-car-r{display:flex; flex-direction:column; align-items:flex-start; gap:12px;}
.tm2-car-r a.mail{font-size:14.5px; color:var(--text); text-decoration:none;} .tm2-car-r a.mail b{color:var(--ink); font-weight:600;}
.tm2-car-r a.mail:hover b{text-decoration:underline; text-underline-offset:3px;}

/* ---------- 5. closing ---------- */
.tm2-cta{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:end; padding:56px; border-radius:12px; background:#fff;
  box-shadow:0 0 0 1px var(--tint-edge), 0 1px 2px rgba(13,40,60,.05), 0 20px 40px -24px rgba(13,40,60,.25);}
.tm2-btns{display:flex; flex-wrap:wrap; gap:12px;}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .tm2-hero-in{grid-template-columns:minmax(0,1fr); gap:40px;}
  .tm2-roster{max-width:560px;}
  .tm2-fds{grid-template-columns:minmax(0,1fr);}
  .tm2-ens{grid-template-columns:repeat(2, minmax(0,1fr));}
}
@media (max-width:760px){
  .tm2-car, .tm2-cta{grid-template-columns:minmax(0,1fr);}
  .tm2-cta{padding:36px 28px;}
}
@media (max-width:620px){
  .tm2-sec{padding:72px 0;}
  .tm2-hero{padding:64px 0 72px;}
  .tm2-fd{grid-template-columns:minmax(0,1fr); gap:18px; padding:22px;}
  .tm2-fd img{width:120px; height:120px;}
  .tm2-ens{grid-template-columns:minmax(0,1fr);}
  .tm2-roster li a{padding:11px 14px; gap:12px;}
}
@media (prefers-reduced-motion:reduce){ .tm2-more span, .tm-more-i, .tm2-roster li a{transition:none;} }

/* ---------- the people, round 2 (2026-10-24, "keep everyone's size same"): five identical cards in one grid ---------- */
.tm2-cards{display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px;}
.tm2-card{display:flex; flex-direction:column; overflow:hidden; border-radius:10px; background:#fff; box-shadow:var(--sh); scroll-margin-top:90px;}
.tm2-ph{display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; background:#f3f5f7; border-bottom:1px solid var(--edge);}
.tm2-ph-ini{display:grid; place-items:center; background:var(--tint-bg); font-family:var(--pc-display); font-size:56px; letter-spacing:1px; color:#00605d;}
.tm2-card-b{display:flex; flex-direction:column; flex:1; padding:18px 18px 20px;}
.tm2-card .tm2-name{font-size:26px;}
.tm2-card .tm-bio{margin:12px 0 0; font-size:14px; line-height:1.6; color:var(--text);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; overflow:hidden;}
.tm2-card .tm2-meta{margin-top:auto; padding-top:14px; gap:6px;}
.tm2-card .tm2-chip{font-size:11.5px;}
.tm2-card .tm2-mail{margin-top:12px; font-size:13px;}
@media (max-width:1180px){ .tm2-cards{grid-template-columns:repeat(3, minmax(0,1fr));} }
@media (max-width:760px){ .tm2-cards{grid-template-columns:repeat(2, minmax(0,1fr));} }
@media (max-width:520px){ .tm2-cards{grid-template-columns:minmax(0,1fr);} .tm2-ph{aspect-ratio:4/3; object-position:center 20%;} }

/* ---------- round 3 (2026-10-26, "less AI"): real photos in the hero, quieter cards, a plain closing band ---------- */
.tm2-hero-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.tm2-photos{display:grid; grid-template-columns:1.35fr 1fr; gap:14px; align-items:end;}
.tm2-hph{margin:0;}
.tm2-hph img{display:block; width:100%; height:auto; border-radius:6px; background:#e9eef2; object-fit:cover;}
.tm2-hph0 img{aspect-ratio:4/3;} /* the photo's own shape (1200x900): nothing cropped */
.tm2-hph1 img{aspect-ratio:4/3.4;}
.tm2-hph figcaption{margin-top:8px; font-size:12.5px; color:var(--muted);}
/* cards: a thin edge, no floating shadow */
.tm2-card{border-radius:8px; box-shadow:0 0 0 1px var(--edge); transition:box-shadow .2s;}
.tm2-card:hover{box-shadow:0 0 0 1px #cfd8df;}
/* closing: a plain light-teal band */
.tm2-cta{padding:0 24px; border-radius:0; background:none; box-shadow:none;}
.tm2-hero .tm2-h1{font-size:clamp(44px,5vw,70px);}
@media (max-width:1100px){ .tm2-photos{max-width:620px;} }
