/* Two-column contact section with the new transparent portrait. */
.contact-with-portrait {
  max-width: 1120px;
  grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr);
  grid-template-areas: "portrait introduction" "portrait profile";
  gap: 30px 80px;
  align-items: start;
}
.contact-with-portrait .contact-copy { grid-area: introduction; }
.contact-with-portrait .contact-copy h2 {
  font-size: clamp(2.5rem, 3.6vw, 3.5rem);
  line-height: 1.12;
}
.contact-with-portrait .contact-copy > p { max-width: 580px; margin-top: 20px; }
.contact-with-portrait .contact-copy > .eyebrow { margin-top: 0; margin-bottom: 18px; }
.agent-portrait {
  grid-area: portrait;
  align-self: center;
  width: 100%;
  max-width: 350px;
  justify-self: center;
}
.agent-portrait img { display: block; width: 100%; height: auto; }
.agent-profile {
  grid-area: profile;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 27px;
}
.agent-details { min-width: 0; }
.agent-details h3 { font-size: 1.875rem; line-height: 1.25; }
.agent-degree { font-size: .7em; }
.agent-role { font-size: .875rem; line-height: 1.55; color: var(--muted); margin-top: 7px; }
.agent-contact-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 23px;
}
.agent-contact-links a { text-decoration: none; overflow-wrap: anywhere; }
.agent-phone { font-size: 1.125rem; }
.agent-email { font-size: 1rem; }
.agent-contact-links a:hover, .agent-social a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.agent-email-button { margin-top: 23px; gap: 30px; }
.agent-social {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  font-size: .875rem;
  line-height: 1.5;
}
.agent-social a { color: inherit; text-decoration: none; }
.agent-social li > span, .agent-social a > span { display: block; overflow-wrap: anywhere; }
.agent-social .agent-social-label { font-size: .75rem; color: var(--muted); margin-bottom: 3px; }
@media (max-width: 1100px) {
  .contact-with-portrait { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 28px 48px; }
  .agent-portrait { max-width: 300px; }
}
@media (max-width: 760px) {
  .contact-with-portrait {
    grid-template-columns: 1fr;
    grid-template-areas: "introduction" "portrait" "profile";
    gap: 30px;
    max-width: 560px;
  }
  .agent-portrait { max-width: 220px; }
  .agent-profile { padding-top: 25px; }
  .agent-details h3 { font-size: 1.8rem; }
  .agent-contact-links { flex-direction: column; align-items: flex-start; gap: 7px; }
  .agent-email-button { width: 100%; justify-content: space-between; }
  .agent-social { gap: 18px 25px; }
}
