/** meet-our-team **/
/* Compact leadership strip on the About page. Portraits are square because
   every supplied photograph is 1:1; people without one get a monogram in the
   same frame so the row stays even. Each tile links through to the full
   Management Team page. */

.mot {
  position: relative;
  background: var(--background-secondary);
}

.mot__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  max-width: 1180px;
  margin-inline: auto;
}

@media (max-width: 991px) {
  .mot__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
  .mot__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.75rem; }
}

.mot__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: clamp(0.85rem, 1.6vw, 1.1rem) 0.6rem clamp(1rem, 1.8vw, 1.25rem);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1),
              background-color .3s ease,
              border-color .3s ease;
}

.mot__person:hover,
.mot__person:focus-visible {
  transform: translateY(-4px);
  background: var(--background-primary);
  border-color: var(--border-color);
}

.mot__person:focus-visible {
  outline: 2px solid var(--hrv-orange);
  outline-offset: 2px;
}

.mot__portrait {
  position: relative;
  display: block;
  width: clamp(6.5rem, 12vw, 9rem);
  aspect-ratio: 1 / 1;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--background-primary);
  box-shadow: 0 0 0 1px var(--border-color), var(--shadow-light);
  transition: box-shadow .3s ease;
}

.mot__person:hover .mot__portrait {
  box-shadow: 0 0 0 2px var(--hrv-orange), var(--shadow-medium);
}

.mot__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.mot__portrait--mono {
  background:
    radial-gradient(130% 130% at 28% 18%, color-mix(in srgb, var(--hrv-blue) 16%, transparent), transparent 68%),
    var(--background-secondary);
}

.mot__mono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--title-font);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: color-mix(in srgb, var(--hrv-blue) 70%, var(--text-muted));
  user-select: none;
}

[data-theme="dark"] .mot__mono { color: #6FB8EA; }

.mot__name {
  display: block;
  min-height: 2.6em;            /* two lines, so roles align across the row */
  font-family: var(--title-font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color .3s ease;
}

.mot__person:hover .mot__name { color: var(--hrv-orange); }

.mot__role {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--text-font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--text-muted);
}

.mot__more {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .mot__person { transition: none; }
  .mot__person:hover,
  .mot__person:focus-visible { transform: none; }
}

/* The site's .sec-title h2 capitalises every word, which turns the heading
   into "Board Of Directors". Scoped to this section only. */
.mot .sec-title h2 { text-transform: none; }
