@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/google-sans/GoogleSans-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/google-sans/GoogleSans-Italic-Variable.ttf") format("truetype-variations");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --aim-plum: #8a064c;
  --aim-plum-deep: #72013d;
  --aim-ink: #363941;
  --aim-muted: #6d727c;
  --aim-hairline: rgba(138, 6, 76, 0.16);
  --aim-soft: #faf6f8;
}

html {
  scroll-behavior: smooth;
}

body.inner-page {
  margin: 0;
  color: var(--aim-ink);
  background: #fff;
  font-family: "Google Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.inner-page a {
  color: var(--aim-plum);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.inner-page a:hover,
body.inner-page a:focus-visible {
  color: var(--aim-plum-deep);
}

body.inner-page > .container,
body.inner-page .navbar,
body.inner-page #footer {
  width: min(1300px, calc(100% - clamp(32px, 5vw, 64px))) !important;
  max-width: 1300px !important;
}

body.inner-page > .container {
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 52px 0 72px;
}

body.inner-page > .container > br {
  display: none;
}

body.inner-page .header {
  position: relative;
  margin: 0 0 34px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--aim-hairline);
  color: var(--aim-plum);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
}

body.inner-page .header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 108px;
  height: 2px;
  background: var(--aim-plum);
}

body.inner-page .header svg {
  display: none;
}

body.inner-page .header hr {
  display: none;
}

body.inner-page .external-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

body.inner-page .scholar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 550;
  text-decoration: none;
}

body.inner-page .scholar-link-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(138, 6, 76, 0.055);
  color: rgba(138, 6, 76, 0.72);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.inner-page .scholar-link-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body.inner-page .scholar-link:hover .scholar-link-icon,
body.inner-page .scholar-link:focus-visible .scholar-link-icon {
  background: rgba(138, 6, 76, 0.12);
  color: var(--aim-plum-deep);
  transform: translateY(-1px);
}

body.inner-page .subHeader {
  margin: 34px 0 16px;
  color: var(--aim-ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
}

body.inner-page h3.subHeader {
  padding-left: 13px;
  border-left: 3px solid rgba(138, 6, 76, 0.72);
}

body.inner-page h4.subHeader {
  color: var(--aim-plum);
  font-size: 17px;
}

body.inner-page hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--aim-hairline);
}

body.inner-page p {
  margin: 0 0 18px;
}

body.inner-page p[align="justify"],
body.inner-page p[style*="justify"] {
  text-align: left !important;
  hyphens: auto;
}

body.inner-page .table {
  width: 100%;
  margin: 0 0 38px;
  color: var(--aim-ink);
  font-size: 15px;
  line-height: 1.6;
}

body.inner-page .table td,
body.inner-page .table th {
  padding: 15px 14px;
  border: 0;
  border-bottom: 1px solid #e6e2e4;
  vertical-align: top;
}

body.inner-page .table-striped tbody tr:nth-of-type(odd) {
  background: rgba(250, 246, 248, 0.55);
}

body.inner-page .table tr:hover {
  background: rgba(138, 6, 76, 0.035);
}

body.inner-page .table font[color="#FF0000"],
body.inner-page .table font[color="red"] {
  color: var(--aim-plum) !important;
}

body.inner-page .table a strong,
body.inner-page .boldtitle a {
  color: var(--aim-plum);
}

body.inner-page .table a[target="_blank"] {
  overflow-wrap: anywhere;
}

body.inner-page #footer {
  margin: 0 auto;
  padding: 0;
  color: #6b7078;
}

body.inner-page #footer-wrapper {
  margin: 0 8px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(138, 6, 76, 0.13);
}

body.inner-page .site-copyright {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

body.inner-page .site-copyright strong {
  color: #820047;
  font-weight: 600;
}

body.inner-page .site-copyright-symbol {
  display: inline-block;
  margin: 0 2px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  vertical-align: -0.1em;
}

body.inner-page .site-copyright-separator {
  display: inline-block;
  margin: 0 10px;
  color: rgba(138, 6, 76, 0.42);
}

/* People */
body.people-page .people-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  width: 100%;
  max-width: none;
  margin: -2px 0 0;
}

body.people-page .hfeed > .header:first-of-type {
  margin-bottom: 26px;
}

body.people-page .people-intro p {
  margin: 0;
}

body.people-page .people-intro-summary {
  padding-right: 0;
}

body.people-page .people-intro-label {
  margin-bottom: 10px !important;
  color: var(--aim-plum);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

body.people-page .people-intro-team {
  color: var(--aim-ink);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.62;
}

body.people-page .people-intro-team strong {
  color: var(--aim-plum);
  font-weight: 700;
}

body.people-page .people-intro-recruiting {
  position: relative;
  width: calc(100% - 64px);
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 14px !important;
  padding: 10px 12px 11px 14px;
  border: 0;
  border-left: 2px solid rgba(138, 6, 76, 0.48);
  border-right: 2px solid rgba(138, 6, 76, 0.48);
  border-radius: 0;
  background: #fcf7fa;
  box-shadow: none;
  color: var(--aim-ink);
  font-size: 14px;
  line-height: 1.6;
}

body.people-page .people-intro-recruiting::before {
  content: none;
}

body.people-page .people-intro-recruiting a {
  display: inline;
  font-weight: 600;
  text-decoration: none;
}

body.people-page .people-recruiting-lead {
  display: inline;
}

body.people-page .people-intro-recruiting a:hover,
body.people-page .people-intro-recruiting a:focus-visible {
  text-decoration: underline;
}

body.people-page .people-intro-story {
  max-width: none;
  padding-left: clamp(28px, 2.4vw, 34px);
  border-left: 1px solid rgba(138, 6, 76, 0.15);
}

body.people-page .people-intro-lead {
  margin-bottom: 9px !important;
  color: var(--aim-ink);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.5;
}

body.people-page .people-intro-mission {
  color: var(--aim-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

body.people-page .people-intro + .people-section-title {
  margin-top: 20px;
}

body.people-page .principal-person {
  display: grid;
  grid-template-columns: 160px max-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  gap: 18px;
  align-items: stretch;
}

body.people-page .principal-portrait {
  position: relative;
  width: 160px;
  min-height: 209px;
  align-self: stretch;
  overflow: hidden;
  padding: 2px;
  border: 1px solid #d6cdd2;
  border-radius: 5px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f5f7 100%);
  box-shadow: 0 2px 4px rgba(52, 39, 47, 0.08), 0 12px 28px rgba(52, 39, 47, 0.11);
}

body.people-page .principal-portrait img {
  position: absolute;
  inset: 2px;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 0;
  border-radius: 2px;
  object-fit: cover;
  object-position: center top;
}

body.people-page .principal-person .people-name {
  margin: 0 0 4px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.12;
}

body.people-page .principal-role {
  margin: 0 0 2px;
  color: var(--aim-ink);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

body.people-page .principal-affiliation {
  margin: 0;
  color: #626872;
  font-size: 14px;
  line-height: 1.35;
}

body.people-page .principal-contact {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: #555d67;
  font-size: 13px;
  line-height: 1.3;
}

body.people-page .principal-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.people-page .principal-contact a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

body.people-page .contact-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 1px;
  color: var(--aim-plum);
}

body.people-page .principal-profile-links {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  padding-top: 0;
}

body.people-page .profile-icon-link {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(138, 6, 76, 0.055);
  color: rgba(138, 6, 76, 0.72);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.people-page .profile-icon-link:hover,
body.people-page .profile-icon-link:focus-visible {
  background: rgba(138, 6, 76, 0.12);
  color: var(--aim-plum-deep);
  text-decoration: none;
  transform: translateY(-2px);
}

body.people-page .profile-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.people-page .profile-icon.profile-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.people-page .profile-icon-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 4px;
  background: #30343b;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

body.people-page .profile-icon-link:hover::after,
body.people-page .profile-icon-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.people-page .people-section-title {
  margin-top: 72px;
  margin-bottom: 30px;
  font-size: 21px;
}

body.people-page .principal-person + .people-section-title {
  margin-top: 46px;
}

body.people-page .people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 38px;
}

body.people-page .people-grid .person {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 17px;
  min-width: 0;
  padding: 0 0 26px;
  border-bottom: 1px solid #e7e1e4;
  align-items: start;
}

body.people-page .people-name {
  color: var(--aim-plum);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
}

body.people-page .people-name a {
  text-decoration: none;
}

body.people-page .people-name a:hover,
body.people-page .people-name a:focus-visible {
  text-decoration: underline;
}

body.people-page .text-sec,
body.people-page .text-sec_small,
body.people-page .fixed-text {
  color: var(--aim-muted);
  line-height: 1.45;
}

body.people-page .text-sec {
  margin-top: 4px;
  font-size: 14px;
}

body.people-page .fixed-text {
  display: block;
  margin-top: 15px;
  font-size: 13.5px;
}

body.people-page .fixed-text > span {
  display: block;
  margin-bottom: 2px;
  color: #94647e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.people-page .image-row img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  background: #f3f0f2;
  object-fit: cover;
}

body.people-page .people-grid .image-row {
  width: 104px;
  margin: 0;
  padding: 2px;
  border: 1px solid #d6cdd2;
  border-radius: 5px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f5f7 100%);
  box-shadow: 0 1px 3px rgba(52, 39, 47, 0.08), 0 8px 20px rgba(52, 39, 47, 0.1);
}

body.people-page .alumni-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.people-page .alumni-list li {
  position: relative;
  margin: 0;
  padding: 11px 0 12px 14px;
  border-bottom: 1px solid #ece7ea;
  color: var(--aim-muted);
  font-size: 14px;
  line-height: 1.52;
}

body.people-page .alumni-list li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 2px;
  height: 15px;
  background: rgba(138, 6, 76, 0.48);
}

body.people-page .alumni-list li a {
  display: inline;
  margin-right: 2px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: inherit;
  text-decoration: none;
}

body.people-page .alumni-list li a:hover,
body.people-page .alumni-list li a:focus-visible {
  text-decoration: underline;
}

body.people-page .alumni-list li strong {
  font-weight: inherit;
}

body.people-page .group-photo-title {
  margin-top: 66px;
}

body.people-page .group-photo-gallery {
  width: 100%;
  margin: 0 0 10px;
}

body.people-page .group-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.people-page .group-photo-item {
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid #d6cdd2;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(52, 39, 47, 0.07), 0 10px 24px rgba(52, 39, 47, 0.08);
}

body.people-page .group-photo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.96 / 1;
  border-radius: 2px;
  object-fit: cover;
}


/* Research */
body.research-page .col-540 {
  float: left;
  width: 58%;
}

body.research-page .col-380.fit {
  float: right;
  width: 37%;
}

body.research-page .col-380.fit img {
  display: block;
  width: 100% !important;
  height: auto;
  max-height: 270px;
  object-fit: contain;
}

body.research-page .subHeader {
  margin-top: 46px;
}

/* Join Us */
body.opportunities-page .join-intro {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--aim-hairline);
}

body.opportunities-page .join-lead {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
}

body.opportunities-page .join-lead strong,
body.opportunities-page .join-interests > strong {
  color: var(--aim-plum);
  font-weight: 650;
}

body.opportunities-page .join-interests {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--aim-muted);
}

body.opportunities-page .join-interests > strong {
  margin-right: 8px;
}

body.opportunities-page .join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 56px;
  padding-top: 30px;
}

body.opportunities-page .join-layout h2,
body.opportunities-page .join-environment > h2 {
  margin: 0 0 15px;
  color: var(--aim-plum);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
}

body.opportunities-page .join-environment {
  padding: 26px 0;
  border-bottom: 1px solid var(--aim-hairline);
}

body.opportunities-page .join-environment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

body.opportunities-page .join-environment-grid > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--aim-hairline);
}

body.opportunities-page .join-environment h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

body.opportunities-page .join-environment p {
  margin: 0;
  font-size: 15px;
}

body.opportunities-page .join-environment .join-environment-intro {
  margin-bottom: 20px;
  font-size: 16px;
}

body.opportunities-page .join-section + .join-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--aim-hairline);
}

body.opportunities-page .join-section > p:last-child {
  margin-bottom: 0;
}

body.opportunities-page .join-section-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
}

body.opportunities-page .join-section-heading > span {
  color: var(--aim-muted);
  font-size: 14px;
}

body.opportunities-page .join-note {
  color: var(--aim-muted);
  font-size: 14px;
  line-height: 1.65;
}

body.opportunities-page .join-official-links {
  margin: 0;
  padding-left: 19px;
  font-size: 14px;
}

body.opportunities-page .join-official-links li + li {
  margin-top: 5px;
}

body.opportunities-page .join-contact {
  padding: 22px 24px;
  background: var(--aim-soft);
  border-top: 2px solid var(--aim-plum);
  font-size: 15px;
}

body.opportunities-page .join-contact-person {
  font-weight: 600;
}

body.opportunities-page .join-contact a {
  overflow-wrap: anywhere;
}

body.opportunities-page .join-contact h3 {
  margin: 22px 0 10px;
  font-size: 15px;
  font-weight: 650;
}

body.opportunities-page .join-contact ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

body.opportunities-page .join-contact li + li {
  margin-top: 7px;
}

body.opportunities-page .join-subject {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--aim-hairline);
  font-size: 13px;
}

body.opportunities-page .join-subject strong,
body.opportunities-page .join-subject span {
  display: block;
}

body.opportunities-page .join-subject strong {
  margin-bottom: 4px;
  font-weight: 600;
}

body.opportunities-page .join-community {
  margin-top: 28px;
  font-size: 15px;
}

body.opportunities-page .join-community img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 19px;
}

body.opportunities-page .join-community p {
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  body.opportunities-page .join-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body.opportunities-page .join-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.opportunities-page .join-lead {
    font-size: 18px;
  }

  body.opportunities-page .join-layout h2,
  body.opportunities-page .join-environment > h2 {
    font-size: 20px;
  }

  body.opportunities-page .join-environment-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body.opportunities-page .join-environment-grid > div + div {
    padding-left: 0;
    border-left: 0;
  }

  body.opportunities-page .join-contact {
    padding: 20px;
  }
}

/* News */
body.news-page .table td:first-child {
  width: 118px;
  color: var(--aim-plum);
  font-weight: 650;
  white-space: nowrap;
}

/* Publications and highlights */
body.publications-page .table td,
body.highlight-page .table td {
  padding-top: 16px;
  padding-bottom: 16px;
}

body.publications-page h3.subHeader {
  margin-top: 52px;
  color: var(--aim-plum);
  font-size: 23px;
}

body.highlight-page ol,
body.highlight-page ul {
  padding-left: 24px;
}

body.highlight-page li {
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  body.inner-page > .container {
    padding-top: 36px;
  }

  body.inner-page .header {
    font-size: 23px;
  }

  body.people-page .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.inner-page > .container,
  body.inner-page .navbar,
  body.inner-page #footer {
    width: min(100% - 28px, 1300px) !important;
  }

  body.inner-page > .container {
    padding: 28px 0 50px;
  }

  body.inner-page .header {
    margin-bottom: 26px;
    font-size: 22px;
  }

  body.inner-page .subHeader {
    font-size: 18px;
  }

  body.inner-page .table {
    font-size: 14px;
  }

  body.inner-page .table td,
  body.inner-page .table th {
    padding: 12px 8px;
  }

  body.people-page .principal-person {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 14px;
  }

  body.people-page .principal-portrait {
    width: 130px;
    min-height: 170px;
    height: 170px;
    align-self: start;
  }

  body.people-page .principal-person .people-name {
    font-size: 21px;
  }

  body.people-page .people-intro {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  body.people-page .people-intro-summary {
    padding-right: 0;
  }

  body.people-page .people-intro-team {
    font-size: 17px;
  }

  body.people-page .people-intro-story {
    max-width: none;
    margin-top: 25px;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid rgba(138, 6, 76, 0.15);
    border-left: 0;
  }

  body.people-page .people-intro-recruiting {
    width: 100%;
    margin-top: 15px !important;
  }

  body.people-page .people-intro-lead {
    font-size: 16px;
  }

  body.people-page .people-intro-mission {
    font-size: 15px;
  }

  body.people-page .people-intro + .people-section-title {
    margin-top: 28px;
  }

  body.people-page .people-grid {
    grid-template-columns: 1fr;
  }

  body.people-page .alumni-list {
    grid-template-columns: 1fr;
  }

  body.people-page .group-photo-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 1px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 6, 76, 0.28) transparent;
  }

  body.people-page .group-photo-item {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  body.research-page .col-540,
  body.research-page .col-380.fit {
    float: none;
    width: 100%;
  }

  body.research-page .col-380.fit {
    margin: 10px 0 30px;
  }

  body.news-page .table td:first-child {
    width: 88px;
    white-space: normal;
  }

  body.inner-page .site-copyright-separator {
    margin: 0 6px;
  }
}

@media (max-width: 520px) {
  body.people-page .people-grid .person {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  body.people-page .people-grid .image-row {
    width: 92px;
  }

  body.people-page .people-section-title {
    margin-top: 58px;
    font-size: 20px;
  }

  body.people-page .principal-person + .people-section-title {
    margin-top: 38px;
  }
}
