/* ---------- Our people ---------- */
.tm-people {
  position: relative;
  padding: clamp(56px, 7vw, 88px) 0;
  background:
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}

.tm-people__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.tm-people__intro .pg-title {
  max-width: 18ch;
  margin-bottom: 18px;
}

.tm-people__intro > p {
  max-width: 38ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.tm-people__points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.tm-people__points li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.tm-people__num {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  line-height: 1.4;
  padding-top: 2px;
}

.tm-people__points strong {
  display: block;
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.tm-people__points p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}

@media (max-width: 899px) {
  .tm-people__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tm-people__intro .pg-title {
    max-width: none;
  }

  .tm-people__intro > p {
    max-width: none;
  }
}

/* ---------- Tools (tier nav + filter) ---------- */
.tm-tools {
  position: sticky;
  top: var(--nav-h-sticky);
  z-index: 20;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 248, 241, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: top 0.45s var(--ease-butter);
}

.site-header.is-hidden ~ main .tm-tools {
  top: 0;
}

.tm-tools__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
}

.tm-nav {
  min-width: 0;
}

.tm-nav__wrap {
  display: flex;
  gap: 12px 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tm-nav__link {
  position: relative;
  padding-bottom: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-soft);
}

.tm-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-butter);
}

.tm-nav__link:hover,
.tm-nav__link.is-active {
  color: var(--navy);
}

.tm-nav__link.is-active::after {
  transform: scaleX(1);
}

.tm-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tm-filter__btn {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.tm-filter__btn:hover {
  border-color: var(--navy);
}

.tm-filter__btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* ---------- Tiers ---------- */
.tm-tier {
  padding: clamp(64px, 7vw, 96px) 0;
  scroll-margin-top: calc(var(--nav-h-sticky) + 72px);
}

.tm-tier--alt {
  background: var(--cream);
}

.tm-tier__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tm-tier__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tm-tier__note {
  max-width: 380px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
}

.tm-grid--lead {
  grid-template-columns: repeat(3, 1fr);
}

.tm-tier.is-empty {
  display: none;
}

.tm-empty {
  margin: 28px 0 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  color: var(--text-soft);
}

.tm-card[hidden] {
  display: none !important;
}

/* ---------- Card ---------- */
.tm-card__media {
  position: relative;
  margin: 0 0 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #d7e2d4;
}

.tm-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 25, 42, 0.08));
  pointer-events: none;
}

.tm-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.8s var(--ease-butter);
}

.tm-card:hover .tm-card__media img {
  transform: scale(1.04);
}

.tm-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tm-card__name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tm-card__in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  font-size: 1rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tm-card__in:hover {
  border-color: #0077b5;
  background: #0077b5;
  color: var(--white);
}

.tm-card__role {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.tm-card__qual {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
}

.tm-card__bio {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .tm-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .tm-tools__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .tm-tier__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tm-grid,
  .tm-grid--lead {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .tm-nav__wrap {
    gap: 20px;
  }

  .tm-tier {
    scroll-margin-top: calc(var(--nav-h-sticky) + 110px);
  }
}

@media (max-width: 480px) {
  .tm-grid,
  .tm-grid--lead {
    gap: 28px 14px;
  }

  .tm-card__name {
    font-size: 1rem;
  }

  .tm-card__bio {
    font-size: 0.84rem;
  }
}
