/* Homepage team section. Loaded only on the front page. */
.about-team {
  padding: 100px 0 112px;
  background: #101010;
  color: var(--paper);
  scroll-margin-top: 62px;
}
.about-team__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 58px;
}
.about-team__heading .eyebrow { color: #ee4966; margin-bottom: 24px; }
.about-team__heading h2 {
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 750;
  margin: 0;
}
.about-team__heading h2 span { color: #868681; }
.about-team__index {
  margin: 0 0 8px;
  color: #9b9b96;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.team-profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7%; }
.team-profile__portrait { position: relative; margin: 0; align-self: start; }
.team-profile__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: #222;
}
.team-profile__portrait::after {
  position: absolute;
  inset: auto 0 30px;
  height: 36%;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
  pointer-events: none;
  content: "";
  border-radius: 0 0 16px 16px;
}
.team-profile__mark {
  position: absolute;
  top: 25px;
  left: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #e0ded8;
}
.team-profile__initials {
  position: absolute;
  bottom: 55px;
  left: 30px;
  z-index: 1;
  font-size: 54px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.08em;
  color: #f4f2eb;
}
.team-profile__portrait figcaption {
  height: 30px;
  padding-top: 11px;
  color: #9b9b96;
  font-size: 11px;
  letter-spacing: .02em;
}
.team-profile__body { padding-top: 9px; min-width: 0; }
.team-profile__role {
  margin: 0 0 14px;
  color: #f0667c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.team-profile__body h3 {
  margin: 0 0 25px;
  font-size: clamp(36px, 4.3vw, 68px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.055em;
}
.team-profile__lead { font-size: 21px; line-height: 1.55; margin: 0 0 16px; max-width: 580px; }
.team-profile__description { font-size: 16px; line-height: 1.7; color: #b7b7b1; max-width: 580px; margin: 0; }
.team-profile__expertise { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 36px; padding: 0; list-style: none; }
.team-profile__expertise li { color: #dddcd5; font-size: 12px; }
.team-profile__expertise li::before { content: "+"; color: #f0667c; margin-right: 8px; }
.team-appearances__label {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
  color: #a0a09a;
}
.team-event { display: grid; grid-template-columns: 1fr 26px; gap: 18px; padding: 21px 0; border-top: 1px solid #353532; }
.team-event:last-child { border-bottom: 1px solid #353532; }
.team-event__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #acaca6; font-size: 11px; margin-bottom: 9px; }
.team-event__role { color: #f0667c; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.team-event h5 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 7px; }
.team-event p { margin: 0; color: #b7b7b1; font-size: 14px; line-height: 1.5; }
.team-event__arrow { align-self: center; color: #b7b7b1; font-size: 25px; transition: color .2s, transform .2s; }
.team-event:hover .team-event__arrow { color: #f0667c; transform: translate(2px,-2px); }
.team-event:focus-visible { outline-color: #f0667c; outline-offset: 7px; }
@media (max-width: 1536px) {
  .about-team { padding-block: 80px 88px; }
  .team-profile { grid-template-columns: .84fr 1.16fr; gap: 6%; }
}
@media (max-width: 1366px) {
  .team-profile__lead { font-size: 19px; }
  .team-profile__expertise { margin-bottom: 26px; }
  .team-event { padding-block: 18px; }
}
@media (max-width: 1024px) {
  .about-team { padding-block: 64px 72px; }
  .about-team__heading { margin-bottom: 40px; }
  .team-profile { grid-template-columns: 1fr; gap: 38px; }
  .team-profile__portrait { max-width: 560px; }
  .team-profile__image { aspect-ratio: 5 / 4; object-position: 50% 30%; }
  .team-profile__body { max-width: 720px; }
  .team-profile__body h3 { font-size: 52px; }
  .team-profile__lead, .team-profile__description { max-width: none; }
}
@media (max-width: 768px) {
  .about-team__heading { display: block; }
  .about-team__index { display: none; }
  .team-profile__portrait { max-width: none; }
  .team-profile__body h3 { font-size: 46px; }
}
@media (max-width: 480px) {
  .about-team { padding-block: 52px 60px; }
  .about-team__heading { margin-bottom: 30px; }
  .about-team__heading .eyebrow { margin-bottom: 20px; }
  .about-team__heading h2 { font-size: 43px; }
  .team-profile { gap: 28px; }
  .team-profile__image { aspect-ratio: 1; border-radius: 12px; }
  .team-profile__body h3 { font-size: 39px; margin-bottom: 21px; }
  .team-profile__role { font-size: 10px; }
  .team-profile__lead { font-size: 19px; }
  .team-profile__description { font-size: 15px; }
  .team-profile__expertise { gap: 10px 16px; }
  .team-event h5 { font-size: 19px; }
  .team-profile__mark { top: 20px; left: 23px; }
  .team-profile__initials { left: 23px; font-size: 46px; }
}
@media (max-width: 359px) {
  .about-team__heading h2 { font-size: 38px; }
  .team-profile__body h3 { font-size: 35px; }
  .team-profile__expertise { column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-event__arrow { transition: none; }
}

/* Approved vertical profile layout. */
.team-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 56px;
  align-items: start;
}
.team-profile--vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.team-profile--vertical .team-profile__portrait {
  width: 100%;
  max-width: none;
}
.team-profile--vertical .team-profile__image {
  aspect-ratio: 3 / 2;
  object-position: 50% 34%;
}
.team-profile__portrait--adam .team-profile__image { filter: saturate(.35); }
.team-profile--vertical .team-profile__initials { font-size: 46px; }
.team-profile--vertical .team-profile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: none;
  padding-top: 28px;
}
.team-profile--vertical .team-profile__role {
  margin-bottom: 13px;
  font-size: 11px;
}
.team-profile--vertical .team-profile__body h3 {
  font-size: clamp(30px, 2.7vw, 46px);
  margin-bottom: 22px;
}
.team-profile--vertical .team-profile__lead {
  max-width: 590px;
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.team-profile--vertical .team-profile__description {
  max-width: 590px;
  margin-bottom: 28px;
}
.team-profile--vertical .team-profile__expertise {
  border-top: 1px solid #353532;
  margin: 0;
  padding: 20px 0 0;
  gap: 12px 22px;
}
.team-profile--vertical .team-profile__expertise li { font-size: 13px; }
.team-appearances--profile { margin-top: 40px; }
.team-appearances__heading {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 12px 30px;
  margin-bottom: 22px;
}
.team-appearances__heading h4 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.025em;
}
.team-appearances__heading p { color: #a0a09a; font-size: 12px; margin: 0; }
.team-appearances__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.team-appearances--profile .team-event { border-bottom: 1px solid #353532; }
.team-appearances--profile .team-event + .team-event { border-top: 0; }
@media (max-width: 1366px) {
  .team-profile--vertical .team-profile__lead { font-size: 20px; }
}
@media (max-width: 1024px) {
  .team-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-profile--vertical .team-profile__image { aspect-ratio: 1; }
  .team-profile--vertical .team-profile__lead { font-size: 19px; }
  .team-profile--vertical .team-profile__description { font-size: 15px; }
}
@media (max-width: 768px) {
  .team-profiles { grid-template-columns: 1fr; }
  .team-profile--vertical .team-profile__image { aspect-ratio: 3 / 2; }
  .team-profile--vertical .team-profile__body h3 { font-size: 44px; }
}
@media (max-width: 480px) {
  .team-profiles { row-gap: 48px; }
  .team-profile--vertical .team-profile__image { aspect-ratio: 6 / 5; }
  .team-profile--vertical .team-profile__body { padding-top: 23px; }
  .team-profile--vertical .team-profile__body h3 { font-size: 38px; }
  .team-profile--vertical .team-profile__role { font-size: 10px; }
  .team-profile--vertical .team-profile__expertise { gap: 10px 16px; }
  .team-profile--vertical .team-profile__expertise li { font-size: 12px; }
  .team-appearances--profile { margin-top: 32px; }
  .team-appearances__heading h4 { font-size: 25px; }
}
@media (max-width: 359px) {
  .team-profile--vertical .team-profile__body h3 { font-size: 34px; }
  .team-profile--vertical .team-profile__expertise { column-gap: 12px; }
}

/* Original event photograph needs no placeholder overlay. */
.team-profile__portrait--jakub::after { content: none; }
