.wp-block-propcomm-team-block {
  width: 100%;
  padding: 0 48px;
}

/* ── Intro ── */
.tmb__intro {
  max-width: var(--content-max);
  margin: 0 auto 64px;
}

.tmb__eyebrow {
  display: block;
  font-family: 'SeasonSans', system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1e3a2f;
  opacity: .45;
  margin-bottom: 1rem;
  text-align: center;
}

.tmb__heading {
  font-family: 'ConcretteXL', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.06;
  text-transform: uppercase;
  color: #1e3a2f;
  margin: 0;
  text-align: center;
}

/* ── Grid ── */
.tmb__grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── Member card ── */
.tmb__member {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}

.tmb__member.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Photo ── */
.tmb__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #DCE6D3;
}

.tmb__img-wrap--empty {
  background: #EAE5DB;
}

.tmb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.tmb__img-wrap:hover .tmb__img {
  transform: scale(1.03);
}

.tmb__img-placeholder {
  width: 100%;
  height: 100%;
  background: #DCE6D3;
}

/* ── Info ── */
.tmb__info {
  padding: 24px 0 36px;
  display: flex;
  flex-direction: column;
}

.tmb__role {
  display: block;
  font-family: 'SeasonSans', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1e3a2f;
  opacity: .45;
  margin-bottom: 6px;
}

.tmb__name {
  font-family: 'ConcretteXL', Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  color: #1e3a2f;
  margin: 0 0 16px;
}

/* ── Contact links — full-contrast rows with icon + underline draw ── */
.tmb__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.tmb__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: 'SeasonSans', system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1e3a2f;
  text-decoration: none;
  padding: 2px 0;
  transition: gap .3s cubic-bezier(.16,1,.3,1);
}

.tmb__contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #5c7a52;
  transition: color .3s cubic-bezier(.16,1,.3,1);
}

.tmb__contact-text {
  position: relative;
}

/* Underline draws in from the left — same motif as the nav links. */
.tmb__contact-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}

.tmb__contact-link:hover .tmb__contact-text::after,
.tmb__contact-link:focus-visible .tmb__contact-text::after {
  transform: scaleX(1);
}

.tmb__contact-link:hover .tmb__contact-icon {
  color: #1e3a2f;
}

.tmb__contact-link:focus-visible {
  outline: 2px solid #1e3a2f;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Photo hover: quick contact actions slide up (pointer devices only) ── */
.tmb__img-wrap {
  position: relative;
}

.tmb__quick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(6, 72, 36, .55), transparent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}

.tmb__quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 4px;
  background: rgba(247, 242, 234, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'SeasonSans', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #064824;
  text-decoration: none;
  transition: background .25s, transform .25s cubic-bezier(.16,1,.3,1);
}

.tmb__quick-btn .tmb__contact-icon {
  color: currentColor;
}

.tmb__quick-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .tmb__img-wrap:hover .tmb__quick {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmb__quick,
  .tmb__quick-btn,
  .tmb__contact-link,
  .tmb__contact-text::after {
    transition: none;
  }
}

/* ── Bio expandable ── */
.tmb__bio-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s cubic-bezier(.16,1,.3,1);
}

.tmb__bio-wrap[data-bio="open"] {
  max-height: 400px;
}

.tmb__bio {
  font-family: 'SeasonSans', system-ui, sans-serif;
  font-size: .88rem;
  line-height: 1.75;
  color: #1e3a2f;
  opacity: .6;
  margin: 0 0 16px;
}

/* ── Toggle button ── */
.tmb__bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'SeasonSans', system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #1e3a2f;
  border-bottom: 1px solid rgba(30,58,47,.35);
  padding-bottom: 2px;
  transition: border-color .15s, opacity .15s;
  align-self: flex-start;
  margin-top: 4px;
}

.tmb__bio-toggle::after {
  content: '+';
  font-size: 1em;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}

.tmb__bio-toggle[aria-expanded="true"] .tmb__bio-toggle-label {
  /* label swap handled in JS */
}

.tmb__bio-toggle[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.tmb__bio-toggle:hover {
  border-color: #1e3a2f;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .wp-block-propcomm-team-block {
    padding: 0 32px;
  }
  .tmb__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wp-block-propcomm-team-block {
    padding: 0 20px;
  }
  .tmb__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tmb__intro {
    margin-bottom: 40px;
  }
  .tmb__img-wrap {
    aspect-ratio: 4 / 3;
  }
}
