/* Leadership — ElectPro testimonial card (quote | stat | portrait) */

.together {
  background: var(--paper);
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
  scroll-margin-top: calc(var(--site-header-h, 8.5rem) + 0.5rem);
}

.together__head {
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

.together__eyebrow,
.together .eyebrow,
.together .eyebrow-lockup {
  margin: 0 0 0.75rem;
  color: var(--gold);
}

.together__head .section-heading {
  margin: 0;
  color: var(--navy);
}

.together__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(14.5rem, 21rem);
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  max-width: none;
  min-width: 0;
  padding: 1.35rem 1.35rem 1.35rem 2.15rem;
  background: #f8f4ef;
  border-radius: 1.5rem;
}

.together__visual {
  display: contents;
}

.together__quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-width: 0;
  padding: 0.85rem 0 0.85rem 0.15rem;
}

.together__message {
  margin: 0;
  min-width: 0;
}

.together__message p {
  margin: 0;
  color: #1b1d2a;
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.together__message p::before,
.together__message p::after {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--gold);
}

.together__message p::before {
  content: "“";
  display: block;
  margin: 0.1rem 0 0.45rem;
  font-size: 3.15rem;
  line-height: 0.7;
}

.together__message p::after {
  content: "”";
  font-size: 1.35em;
  line-height: 0;
  margin-left: 0.08em;
  vertical-align: -0.15em;
}

.together__message-rich p {
  margin: 0 0 0.65rem;
  color: #1b1d2a;
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.together__message-rich p:last-child {
  margin-bottom: 0;
}

.together__message-rich p::before,
.together__message-rich p::after {
  content: none;
  display: none;
}

.together__message-rich > p:first-child::before {
  content: "“";
  display: block;
  margin: 0.1rem 0 0.45rem;
  font-family: var(--font-primary);
  font-size: 3.15rem;
  font-weight: 700;
  line-height: 0.7;
  color: var(--gold);
}

.together__message-rich > p:last-child::after {
  content: "”";
  display: inline;
  font-family: var(--font-primary);
  font-size: 1.35em;
  font-weight: 700;
  line-height: 0;
  margin-left: 0.08em;
  vertical-align: -0.15em;
  color: var(--gold);
}

.together__message-rich ul,
.together__message-rich ol {
  margin: 0 0 0.65rem;
  padding-left: 1.15rem;
}

.together__byline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.together__aside {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  color: #1b1d2a;
}

.together__aside strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.together__aside span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
}

.together__cta {
  align-self: flex-start;
}

.together__stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: end;
  gap: 0.3rem;
  padding-bottom: 0.65rem;
  width: max-content;
  max-width: none;
  min-width: 0;
}

.together__stat-value {
  margin: 0;
  color: #1b1d2a;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.together__stat-label {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.35;
}

.together__photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1.02;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #e8d5b8;
}

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

@media (max-width: 900px) {
  .together__card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "quote quote"
      "stat photo";
    padding: 1.35rem;
    gap: 1.25rem;
  }

  .together__quote {
    grid-area: quote;
    padding: 0.15rem 0.15rem 0.25rem;
    gap: 1.35rem;
  }

  .together__stat {
    grid-area: stat;
    padding-bottom: 0.25rem;
  }

  .together__photo {
    grid-area: photo;
    width: min(100%, 16.5rem);
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .together__head {
    margin-bottom: 1.35rem;
  }

  .together__card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 0.85rem;
    border-radius: 1.25rem;
  }

  .together__visual {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    order: -1;
  }

  .together__photo,
  .together__stat {
    grid-area: auto;
  }

  .together__photo {
    order: -1;
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    justify-self: stretch;
  }

  .together__stat {
    align-self: start;
    padding: 0 0.15rem;
  }

  .together__stat-value {
    font-size: 1.12rem;
    white-space: nowrap;
  }

  .together__quote {
    padding: 0 0.15rem 0.2rem;
    gap: 1rem;
  }

  .together__photo img,
  .together__photo video {
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .together__message p {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .together__message p::before {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
  }

  .together__cta {
    width: 100%;
    justify-content: center;
  }
}

/* Embedded in school Faculty section (no duplicate section head) */
.together--embed {
  padding: 0;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  background: transparent;
  scroll-margin-top: 0;
}

.together--embed .together__card {
  max-width: none;
  overflow: visible;
}

.together--embed .together__stat {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.together--embed .together__stat-value {
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.together--embed .together__photo {
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.together--embed .together__photo-trigger:hover .together__photo,
.together--embed .together__photo-trigger:focus-visible .together__photo {
  transform: scale(1.06);
}

.together--embed .together__photo-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: inherit;
}

.together--embed .together__photo-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.together--embed .together__stat-value--profile {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  cursor: pointer;
}

.together--embed .together__stat-value--profile:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.together--embed .together__stat-value--profile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Profile panel (no quote) — CTA + name/portrait use standard together card */
.together__card--profile-lead .together__quote {
  justify-content: flex-end;
}

.together__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #e8ecf3 0%, #d4dae8 100%);
  color: var(--navy);
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: var(--font-primary-weight, 700);
  letter-spacing: -0.04em;
}

.together__photo--initials span {
  line-height: 1;
}
