:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #4b5563;
  --border: #d8dee8;
  --link: #003366;
  --unh-blue: #003366;
  --unh-gold: #ffcc33;
  --unh-light-blue: #eef4fb;
  --unh-pale-gold: #fff7d7;
  --max: 1170px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: #001f3f;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--unh-gold);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: static;
  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
  border: 0;
}

.site-nav {
  margin: 0 0 22px;
  padding: 0;
  display: block;
  border: 1px solid #c8d3e0;
  border-radius: 4px;
  background: linear-gradient(#ffffff, #eef4fb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 4px rgba(0, 0, 0, 0.08);
}

.logo {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.nav-links a {
  margin: 0;
  padding: 10px 15px;
  border-right: 1px solid #c8d3e0;
  color: var(--text);
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
}

.nav-links a:hover {
  color: #111111;
  background: var(--unh-pale-gold);
  text-decoration: none;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: var(--unh-blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin: 8px 10px;
  min-width: 44px;
  min-height: 44px;
  color: var(--text);
  background: #f7f7f7;
  border: 1px solid #c9b458;
  border-radius: 4px;
  cursor: pointer;
}

.melt-banner,
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 0 24px;
  text-align: left;
  background: #ffffff;
}

.melt-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  align-items: center;
}

.melt-affiliation {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 300;
  line-height: 30px;
}

.melt-banner-image {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 2021 / 778;
  object-fit: cover;
  justify-self: end;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.melt-title,
.page-hero h1,
.identity-card h1 {
  margin: 0;
  color: var(--text);
  font-size: 38.5px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

.melt-subtitle,
.page-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 21px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: none;
}

main,
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 30px;
}

section {
  margin-bottom: 28px;
  padding-top: 0;
  border-top: 1px solid #e6ebf2;
}

section:first-child,
.image-feature-section,
.identity-card,
.page-hero + main > section:first-child {
  border-top: 0;
}

.section-title {
  display: block;
  margin: 22px 0 12px;
}

.section-title::before {
  display: none;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
}

h2 {
  margin: 10px 0;
  font-size: 24.5px;
  line-height: 32px;
}

h3 {
  margin: 10px 0;
  font-size: 17.5px;
  line-height: 24px;
}

p,
li {
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

p {
  margin: 0 0 14px;
}

ol,
ul {
  padding-left: 24px;
}

.card,
.mini-card,
.person-card,
.publication-card,
.tool-card,
.timeline-item,
.notice {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.grid,
.research-grid,
.people-grid,
.tool-grid,
.profile-grid,
.pillar-grid,
.grant-grid {
  display: grid;
  gap: 24px;
}

.grid,
.research-grid,
.tool-grid,
.pillar-grid,
.grant-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.people-grid,
.profile-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pi-card p,
.person-card p {
  margin-bottom: 6px;
  line-height: 18px;
}

.person-card h3 {
  margin-bottom: 4px;
}

.alumni-grid {
  gap: 16px 24px;
}

.button-row,
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.button-link,
.primary-button,
.secondary-button {
  display: inline-block;
  min-height: 0;
  padding: 6px 12px;
  border: 1px solid #c9b458;
  border-radius: 4px;
  color: var(--text);
  background: linear-gradient(#ffffff, #fff0b0);
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}

.button-link:hover,
.primary-button:hover,
.secondary-button:hover {
  color: var(--text);
  background: var(--unh-gold);
  text-decoration: none;
}

.image-feature-section {
  margin-bottom: 24px;
}

.image-feature-section img,
.employer-banner img {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.identity-card {
  text-align: left;
}

.identity-card h1 {
  font-size: 24.5px;
  line-height: 32px;
}

.role,
.meta,
.caption {
  color: var(--muted);
}

.pillar-card img {
  max-height: 160px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.method-list {
  padding-left: 18px;
  list-style: disc;
}

.method-list li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.method-list li::marker {
  color: var(--unh-gold);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 30px;
}

.logo-tile {
  min-height: 152px;
  padding: 10px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-tile img {
  width: auto;
  height: auto;
  max-width: 245px;
  max-height: 116px;
  object-fit: contain;
}

.logo-tile-wide img {
  width: min(100%, 260px);
  max-width: 260px;
  max-height: 112px;
}

.logo-tile-seal img {
  max-width: 136px;
  max-height: 136px;
}

.logo-tile-nih img {
  max-width: 195px;
  max-height: 144px;
}

.logo-tile-nrc img {
  max-width: 152px;
  max-height: 152px;
}

.status-badge,
.tag,
.doi-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--unh-blue);
  background: transparent;
  font-size: 14px;
  font-weight: normal;
  overflow-wrap: anywhere;
}

.doi-link:hover {
  color: #001f3f;
  background: transparent;
  text-decoration: underline;
}

.equation {
  padding: 8px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  color: var(--text);
  font-weight: 700;
  text-align: left;
  padding: 8px 0;
}

th,
td {
  padding: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  background: #ffffff;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--unh-light-blue);
}

.quick-nav {
  margin: 0 0 18px;
  padding: 8px 0;
  border-top: 1px solid #e6ebf2;
  border-bottom: 1px solid #e6ebf2;
}

.quick-nav a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--unh-blue);
}

.quick-nav a:not(:last-child)::after {
  content: " | ";
  color: #999999;
  margin-left: 10px;
}

.quick-nav a:hover {
  color: #001f3f;
  background: transparent;
  text-decoration: underline;
}

.publication-list {
  display: grid;
  gap: 12px;
}
.reference-list {
  margin: 0;
  padding-left: 32px;
}

.reference-list .publication-card {
  padding-left: 10px;
}

.reference-list .publication-card::marker {
  color: var(--unh-blue);
  font-weight: 700;
}

.compact-list {
  display: grid;
  gap: 12px;
}


.publication-card {
  padding: 0 0 10px 0;
  border-bottom: 1px solid #e6ebf2;
}

.pub-title {
  color: var(--text);
}

.year-group summary {
  color: var(--text);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 24px;
}

.pi-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.pi-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  padding-left: 12px;
  border-left: 3px solid #dddddd;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 0;
  color: var(--text);
  background: #ffffff;
  border-top: 4px solid var(--unh-gold);
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p,
.footer-links a {
  color: var(--text);
}

.footer-links a.active,
.footer-links a[aria-current="page"] {
  color: var(--unh-blue);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: none;
  padding: 6px 10px;
  color: var(--text);
  background: var(--unh-light-blue);
  border: 1px solid #c9b458;
  border-radius: 4px;
}

.back-to-top.visible {
  display: inline-block;
}

@media (max-width: 980px) {
  .site-header,
  .melt-banner,
  .page-hero,
  main,
  .container,
  .site-footer {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  .site-nav {
    margin-bottom: 18px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-right: 0;
    border-top: 1px solid #dddddd;
  }

  .melt-title,
  .page-hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  .melt-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .melt-banner-image {
    max-width: 100%;
    justify-self: start;
  }

  .melt-subtitle,
  .page-hero p,
  .melt-affiliation {
    font-size: 18px;
    line-height: 26px;
  }

  .reference-list {
    padding-left: 24px;
  }

  .reference-list.compact-list {
    display: block;
  }

  .reference-list .publication-card {
    padding-left: 0;
    margin-bottom: 12px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .logo-tile {
    min-height: 128px;
  }

  .logo-tile img {
    max-width: 220px;
    max-height: 100px;
  }

  .logo-tile-wide img {
    width: min(100%, 235px);
    max-width: 235px;
    max-height: 98px;
  }

  .logo-tile-seal img {
    max-width: 118px;
    max-height: 118px;
  }

  .logo-tile-nih img {
    max-width: 178px;
    max-height: 126px;
  }

  .logo-tile-nrc img {
    max-width: 132px;
    max-height: 132px;
  }

  .pi-card {
    grid-template-columns: 1fr;
  }

  .pi-photo {
    width: 150px;
    height: 150px;
  }
}

.site-nav {
  border-top: 4px solid var(--unh-blue);
}

.melt-banner,
.page-hero {
  border-bottom: 4px solid var(--unh-gold);
}

.pub-title {
  color: var(--unh-blue);
  font-weight: 700;
}

.publication-card p:last-child {
  margin-bottom: 0;
}

.section-title h2 {
  border-bottom: 2px solid var(--unh-gold);
  display: inline-block;
  padding-bottom: 4px;
}

.site-footer strong,
.melt-title {
  color: var(--unh-blue);
}

.page-hero h1,
.identity-card h1 {
  color: var(--unh-blue);
}

@media (max-width: 520px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .logo-tile {
    min-height: 120px;
  }

  .logo-tile img {
    max-width: 210px;
    max-height: 92px;
  }

  .logo-tile-wide img {
    width: min(100%, 225px);
    max-width: 225px;
    max-height: 90px;
  }

  .logo-tile-seal img {
    max-width: 112px;
    max-height: 112px;
  }

  .logo-tile-nih img {
    max-width: 170px;
    max-height: 118px;
  }

  .logo-tile-nrc img {
    max-width: 124px;
    max-height: 124px;
  }
}
