/* About team: inset portrait mats, clear bios, native profile disclosures. */
.about-redesign .about-team .ui-section-head {
  margin-block-end: clamp(20px, 3vw, 38px);
}

.about-redesign .about-team .ui-section-head h2 { margin: 0; }

.about-redesign .about-team .se-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
}

.about-redesign .about-team .se-person {
  min-width: 0;
  padding: 0;
  border: 1px solid var(--about-line, #d9e3db);
  background: var(--surface, #fff);
  box-shadow: 0 12px 28px #17372d0b;
}

.about-redesign .about-team .se-person-visual {
  aspect-ratio: 4 / 5;
  margin: clamp(8px, .8vw, 12px);
  border-radius: 15px;
  background: var(--about-soft, #e8eee8);
}

/* The photos retain their existing sizing and per-person object positions. */
.about-redesign .about-team .se-person-visual:has(.se-person-initials) {
  background-color: #dce8dd;
  background-image: radial-gradient(circle at 50% 52%, #f0f5ec, transparent 63%),
    repeating-linear-gradient(135deg, #17372d08 0 1px, transparent 1px 21px);
}

.about-redesign .about-team .se-person-initials {
  position: relative;
  isolation: isolate;
  width: clamp(84px, 10vw, 130px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #f8fbf6a6;
  background: var(--about-forest, #17372d);
  color: #f0f5ec;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -.055em;
}

.about-redesign .about-team .se-person-initials::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid #17372d32;
  border-radius: inherit;
  pointer-events: none;
}

.about-redesign .about-team .se-person-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(15px, 2vw, 28px);
  overflow-wrap: anywhere;
}

.about-redesign .about-team .se-person-copy > div:first-child {
  padding-block-end: 14px;
  border-block-end: 1px solid var(--about-line, #d9e3db);
}

.about-redesign .about-team .se-person-copy h3 {
  margin: 0 0 5px;
  color: var(--about-forest, #17372d);
  font-size: clamp(22px, 2.3vw, 33px);
  line-height: 1.13;
}

.about-redesign .about-team .se-person-role {
  margin: 0;
  color: var(--about-muted, #40564a);
  font-size: .875rem;
  font-weight: 500;
}

.about-redesign .about-team .se-person-copy > p,
.about-redesign .about-team .sb-service-expanded p {
  color: var(--about-muted, #40564a);
  font-size: .9375rem;
  line-height: 1.68;
}

.about-redesign .about-team .se-person-copy .sb-service-details {
  margin: 0;
  border: 0;
}

.about-redesign .about-team .se-person-copy .sb-service-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--about-line, #d9e3db);
  border-radius: 12px;
  background: var(--about-soft, #e8eee8);
  color: var(--about-forest, #17372d);
  font-weight: 600;
}

.about-redesign .about-team .se-person-copy .sb-service-details summary:focus-visible {
  outline: 2px solid var(--about-forest, #17372d);
  outline-offset: 3px;
}

.about-redesign .about-team .se-person-copy .sb-service-details[open] summary {
  background: var(--about-forest, #17372d);
  border-color: var(--about-forest, #17372d);
  color: #f7faf5;
}

.about-redesign .about-team .sb-service-details .sb-detail-symbol {
  border-radius: 50%;
  background: #17372d0b;
}

.about-redesign .about-team .sb-service-details[open] .sb-detail-symbol { background: #ffffff1d; }

.about-redesign .about-team .sb-service-expanded {
  padding: 16px 0 0;
}

.about-redesign .about-team .sb-service-expanded h4 { color: var(--about-forest, #17372d); }

@media (hover: hover) {
  .about-redesign .about-team .se-person-copy .sb-service-details:not([open]) summary:hover {
    border-color: #a9bfae;
    background: #dfe9df;
  }
}

@media (min-width: 681px) and (max-width: 959px) {
  .about-redesign .about-team .se-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-redesign .about-team .se-person:last-child:has(.se-person-initials) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
  }
}

@media (max-width: 680px) {
  .about-redesign .about-team .se-team-grid { grid-template-columns: minmax(0, 1fr); }
  .about-redesign .about-team .se-person-visual:has(.se-person-initials) { aspect-ratio: 8 / 5; }
}
