/* Shared advisor profiles: the same presentation on Home and About. */
dialog.about-member-dialog {
  /* Keep the native top-layer dialog viewport anchored, independent of the
     site's scrolling content and any legacy dialog positioning rules. */
  position: fixed !important;
  inset: 0 !important;
}
.about-member-dialog {
  box-sizing: border-box;
  width: min(840px, calc(100% - 30px));
  max-height: min(820px, calc(100vh - 30px));
  max-height: min(820px, calc(100dvh - 30px));
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(208, 173, 100, .72);
  border-radius: 28px;
  background: #fffaf2;
  color: #07111f;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .48);
}
.about-member-dialog:not([open]) { display: none; }
.about-member-dialog::backdrop { background: rgba(5, 13, 24, .82); }
.about-member-dialog.is-open {
  position: fixed;
  inset: 15px;
  z-index: 10000;
  box-shadow: 0 0 0 100vmax rgba(5, 13, 24, .82), 0 40px 120px rgba(0, 0, 0, .48);
}
.about-dialog-panel { position: relative; padding: clamp(24px, 5vw, 54px); }
.about-member-dialog .about-dialog-close {
  position: sticky;
  z-index: 2;
  top: 16px;
  float: right;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: -2px -2px 0 16px;
  padding: 0;
  border: 1px solid #dfd1bc;
  border-radius: 50%;
  background: #fff;
  color: #07111f;
  font: 1.55rem/1 "Work Sans", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 24, 40, .08);
}
.about-dialog-close:hover { background: #07111f; color: #fff; }
.about-dialog-close:focus-visible { outline: 3px solid #d0ad64; outline-offset: 4px; }
.about-dialog-identity {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8dcc8;
}
.about-dialog-identity > div { min-width: 0; }
.about-dialog-photo,
.about-dialog-monogram { width: 156px; height: 156px; aspect-ratio: 1; border-radius: 20px; }
.about-dialog-photo { display: block; object-fit: cover; object-position: var(--about-portrait-position, center center); background: #07111f; }
.about-dialog-monogram {
  display: grid;
  place-items: center;
  background: #07111f;
  color: #d0ad64;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}
.about-dialog-identity .kicker {
  margin: 0 0 12px;
  color: #8b6720;
  font-size: .64rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.about-dialog-panel h2 {
  margin: 0 0 8px;
  color: #07111f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.about-dialog-title { margin: 0; color: #7d5d23; font-weight: 700; }
.about-dialog-biography p { margin: 0 0 16px; color: #4c5c6f; line-height: 1.78; }
.about-dialog-highlights,
.about-dialog-focus { margin-top: 25px; padding-top: 21px; border-top: 1px solid #e8dcc8; }
.about-dialog-highlights > span,
.about-dialog-focus > span {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  color: #8b6720;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.about-dialog-highlights ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: #4c5c6f; line-height: 1.55; }
.about-dialog-focus { display: flex; flex-wrap: wrap; gap: 8px; }
.about-dialog-focus b { padding: 7px 11px; border-radius: 999px; background: #efe6d7; color: #07111f; font-size: .76rem; font-weight: 700; }
.about-dialog-footnote { margin: 27px 0 0; color: #65707f; font-size: .77rem; }
/* Lock the root scroller; changing the body's overflow here can change the
   scroll container because landing pages already set body overflow-x:hidden. */
html.about-modal-open { overflow: hidden; scroll-behavior: auto; }

@media (max-width: 720px) {
  .about-dialog-identity { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; }
  .about-dialog-photo,
  .about-dialog-monogram { width: 112px; height: 112px; }
  .about-dialog-panel h2 { font-size: clamp(2rem, 7vw, 3.1rem); }
  .about-dialog-identity .kicker { font-size: .6rem; }
}

@media (max-width: 540px) {
  .about-member-dialog { border-radius: 22px; }
  .about-dialog-identity { grid-template-columns: minmax(0, 1fr); gap: 18px; clear: both; }
  .about-dialog-close { margin-bottom: -46px; }
  .about-dialog-photo,
  .about-dialog-monogram { width: 96px; height: 96px; }
  .about-dialog-panel h2 { font-size: clamp(2rem, 8vw, 2.65rem); }
}
