/* The portrait stays still; only the biography panel changes height. */
html.profile-motion-running {
  overflow-anchor: none;
  scroll-behavior: auto !important;
}

.deborah-profile {
  align-items: start;
  overflow-anchor: none;
}

.deborah-profile .profile-photo {
  height: 470px;
  min-height: 0;
  align-self: start;
}

.deborah-profile .profile-photo img {
  height: 100%;
  transform: none;
}

.deborah-profile .profile-content {
  align-self: center;
  padding-bottom: 30px;
}

.deborah-profile .bio-reveal,
.deborah-profile.is-open .bio-reveal {
  display: block;
  grid-column: 1 / -1;
  grid-template-rows: none;
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.deborah-profile .bio-body {
  display: flow-root;
  overflow: visible;
  padding: 0 40px 34px;
}

.deborah-profile .bio-body::before {
  content: "";
  display: block;
  height: 1px;
  background: #b6a99780;
  margin-bottom: 20px;
}

.deborah-profile .bio-body p {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.deborah-profile .profile-plus {
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 768px) {
  .deborah-profile .profile-photo { height: 440px; }
  .deborah-profile .profile-content { padding-bottom: 26px; }
  .deborah-profile .bio-body { padding: 0 26px 30px; }
  .deborah-profile .bio-body p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .deborah-profile .profile-plus { transition: none; }
}
