.team-page h1 {
  font: 800 clamp(36px, 5.2vw, 68px)/1.06 var(--display);
  letter-spacing: -.035em;
  max-width: 21ch;
  margin: 16px auto 24px;
  text-wrap: balance;
}
.team-page-hero { text-align: center; background: #faf8f5; }
.team-page-hero .lead { max-width: 66ch; margin-inline: auto; }
.team-sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 30px; }
.team-sections a { font-size: 15px; font-weight: 600; color: var(--carbone); text-underline-offset: 6px; }
.team-sections a:hover { color: var(--orange-deep); }
.team-page main section[id], .team-page article[id] { scroll-margin-top: 110px; }
.team-page section > .wrap > .lead { max-width: 72ch; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; align-items: start; }
.profile-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.profile-photo { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center 24%; display: block; }
#cyril .profile-photo { object-position: center bottom; }
.profile-copy { padding: 24px; }
.profile-copy h3 { font: 750 28px/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 10px; }
.profile-role { font-size: 15px; font-weight: 650; line-height: 1.6; color: var(--orange-deep); margin: 0 0 18px; }
.profile-intro, .profile-bio p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.profile-intro { margin: 0; }
.profile-bio { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.profile-bio summary { cursor: pointer; font-size: 15px; font-weight: 650; color: var(--carbone); line-height: 1.5; }
.profile-bio p { margin: 16px 0 0; }
.team-cross-role { font-size: 15px; max-width: 75ch; line-height: 1.7; color: var(--muted); }
.team-cross-role a { color: var(--orange-deep); text-underline-offset: 3px; }
.partner-profile, .team-partner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
.partner-profile { margin-top: 36px; }
.partner-profile h3, .team-partner h3 { font: 800 clamp(30px, 3vw, 42px)/1.1 var(--display); letter-spacing: -.025em; margin: 12px 0 16px; }
.partner-role { font-size: 17px; font-weight: 650; line-height: 1.6; color: var(--carbone); }
.partner-photo { display: block; width: 100%; max-width: 340px; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center 25%; border-radius: 22px; margin-bottom: 24px; }
.partner-reference { border-left: 3px solid var(--orange); padding-left: 14px; margin-top: 20px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.partner-copy p { font-size: 17px; line-height: 1.8; margin: 0 0 20px; }
.partner-copy p:last-child { margin-bottom: 0; }
.home-partner-section { padding-top: 0; }
.team-partner { border-top: 1px solid var(--line); padding-top: 42px; }
.team-partner .eyebrow { margin-top: 0; }
.team-partner .text-link { display: inline-block; color: var(--orange-deep); font-weight: 650; font-size: 16px; line-height: 1.6; text-underline-offset: 4px; }
.founder-word { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.founder-photo { display: block; width: min(100%, 230px); height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 22px; margin-bottom: 26px; }
.founder-word h2 { font-size: clamp(28px, 3vw, 40px); }
.founder-word figure { margin: 0; }
.founder-word blockquote { margin: 0; }
.founder-word blockquote p { font-size: 17px; line-height: 1.85; margin: 0 0 20px; }
.founder-word figcaption { display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; font-size: 15px; line-height: 1.6; }
.founder-word figcaption span { color: var(--muted); }
.team-contact { text-align: center; }
.team-contact .lead { margin-inline: auto; }
.team-contact .btn { margin-top: 18px; }
.team-page a:focus-visible, .team-page summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 3px; }
@media (max-width: 1000px) {
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .team-page section, .home-partner-section { text-align: center; }
  .team-page h1 { font-size: clamp(34px, 9vw, 46px); }
  .team-page h1 br { display: none; }
  .team-sections { gap: 16px 22px; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .profile-copy { padding: 22px; }
  .profile-photo { aspect-ratio: 1/1; }
  .profile-role { font-size: 15px; }
  .profile-bio summary { text-align: center; }
  .partner-profile, .team-partner, .founder-word { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .partner-photo, .founder-photo { margin-inline: auto; }
  .partner-photo { max-width: 280px; }
  .partner-reference { border: 0; padding: 0; }
  .partner-copy p, .founder-word blockquote p { font-size: 16px; line-height: 1.8; }
  .team-partner { padding-top: 30px; }
  .team-contact .btn { width: 100%; line-height: 1.5; }
}

#equipe .team { grid-template-columns:minmax(0,1fr); gap:24px; align-items:start; }
.home-team-group { min-width:0; }
.home-team-group h3 { margin:22px 0 18px; font-size:22px; }
.home-team-group .people { align-items:start; }
#equipe .person b a { color:inherit; text-decoration:none; }
#equipe .person b a:hover { text-decoration:underline; text-underline-offset:3px; }
#equipe [data-profile-id="cyril"] img { object-position:center bottom; }
#equipe .person-no-photo { padding:20px; min-height:216px; display:grid; align-content:center; background:var(--paper-2); border:1px solid var(--line); border-radius:16px; }
#equipe .person-no-photo b { margin-top:0; }
@media(min-width:1001px) { #equipe .home-team-group .people { grid-template-columns:repeat(5,minmax(0,1fr)); } }

#equipe .person img { height:auto; aspect-ratio:1; }
@media(max-width:699px) { #equipe .person { text-align:center; } #equipe .contact-card .people { margin-inline:auto; } }
