/* Company B: the mission as a front page, the team as a ledger */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 112px));
}

.hero__copy {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  width: 100%;
  margin-bottom: 40px;
}

.hero h1 {
  grid-column: 1 / span 11;
  max-width: 17ch;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
}

.hero .lede {
  grid-column: 7 / span 6;
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 32ch;
}

.horizon {
  display: block;
  width: 100%;
  height: clamp(200px, 30vh, 320px);
  margin-top: auto;
}

.team__intro .lede {
  margin-top: 20px;
  max-width: 40ch;
}

.group {
  margin: clamp(48px, 6vw, 88px) 0 18px;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}

.leaders,
.leads {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule-ink);
}

.face {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: 50% 30%;
  filter: var(--shot-filter);
}

.name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.role {
  margin-top: 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
}

details {
  margin-top: 10px;
}

summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule-ink);
  text-underline-offset: 0.28em;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

summary:hover {
  text-decoration-color: var(--accent);
}

details[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}

details p {
  margin-top: 8px;
  max-width: 44ch;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Leadership: four across, like the client ledger */
.leaders {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leaders li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  padding: 28px 28px 32px 0;
  border-top: 1px solid var(--rule-ink);
}

/* Practice leads: each beside the crowd they listen to */
.leads li {
  display: grid;
  grid-template-columns: 120px minmax(0, 5fr) minmax(0, 4fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule-ink);
}

.leads .face {
  width: 120px;
  height: 120px;
}

.line {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--ink-2);
}

.listens {
  align-self: start;
}

.listens canvas {
  display: block;
  width: 100%;
  height: 132px;
}

.listens figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--rule-ink);
  font-size: 0.9375rem;
}

.listens b {
  font-weight: 600;
}

.listens .arrow-link {
  min-height: 36px;
  font-size: 0.9375rem;
}

.film {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.film > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px 32px;
}

.film .byline {
  margin-top: 0;
}

@media (max-width: 1199px) {
  .leaders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: 0;
  }

  .hero h1,
  .hero .lede {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10.5vw, 4.5rem);
  }

  .horizon {
    height: 220px;
  }

  .leads li {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 24px 20px;
  }

  .leads .face {
    width: 96px;
    height: 96px;
  }

  .listens {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  .leaders {
    grid-template-columns: minmax(0, 1fr);
  }

  .leaders li {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 22px 0 24px;
  }

  .leaders .face {
    width: 64px;
    height: 64px;
  }

  .leads li {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 26px 0 28px;
  }

  .leads .face {
    width: 72px;
    height: 72px;
  }

  .listens canvas {
    height: 112px;
  }
}
