:root {
  --color-text: #1f2933;
  --color-heading: #172532;
  --color-muted: #5f6b76;
  --color-border: #d9e0e7;
  --color-surface: #f5f7f9;
  --color-surface-soft: #f8fafb;
  --color-link: #245c8f;
  --color-accent: #8f2331;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(calc(100% - 48px), var(--content-width)) !important;
  margin: 0 auto !important;
  background: #fff;
  font-family: inherit !important;
}

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

a:link,
a:visited {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover,
a:active,
a:focus {
  color: var(--color-accent);
  font-family: inherit;
  font-size: inherit;
  text-align: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(36, 92, 143, 0.28);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding-right: 0;
  padding-left: 0;
}

h1,
h2,
h3,
h4,
.auto-style16,
.auto-style3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif !important;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--color-border);
  font-family: inherit !important;
}

.top-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px !important;
}

.top-nav-links a,
.top-nav-right a {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 6px;
  color: #344150;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.top-nav-links a:hover,
.top-nav-right a:hover {
  background: var(--color-surface);
  color: var(--color-link);
}

.top-nav-links a[aria-current="page"] {
  background: #e9eef3;
  color: #162a3c;
}

.top-nav-right {
  flex-shrink: 0;
  white-space: nowrap;
}

.profile-table {
  margin-top: 26px;
}

.profile-table td:first-child {
  padding-right: 36px;
}

.profile-table td:last-child {
  width: 244px !important;
  text-align: right !important;
  vertical-align: middle !important;
}

.profile-photo {
  display: block;
  width: 220px;
  margin-left: auto;
  border-radius: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
  padding: clamp(48px, 7vw, 78px) 0 50px;
}

.hero-copy {
  max-width: 740px;
}

.hero-eyebrow,
.section-kicker,
.callout-label {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  color: #172532;
  font-size: clamp(2.2rem, 4.4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: #566470;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-title {
  max-width: 680px;
  margin: 0 0 15px;
  color: #1e527f;
  font-size: clamp(1.3rem, 2.25vw, 1.68rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.hero-summary {
  max-width: 720px;
  margin: 0;
  color: #485764;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 20px;
}

a.button,
a.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #bdc8d2;
  border-radius: 7px;
  background: #fff;
  color: #263847;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

a.button:hover,
a.button:focus {
  border-color: #7d8d9b;
  background: var(--color-surface);
  color: #172532;
}

a.button-primary,
a.button-primary:visited {
  border-color: #1f557f;
  background: #1f557f;
  color: #fff;
}

a.button-primary:hover,
a.button-primary:focus {
  border-color: #173f60;
  background: #173f60;
  color: #fff;
}

.hero-meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-portrait {
  margin: 0;
}

.hero-portrait .profile-photo {
  width: 240px;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(26, 40, 52, 0.14);
}

.recruiting-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 0 68px;
  padding: 25px 28px;
  border: 1px solid #d9e1e8;
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  background: var(--color-surface);
}

.recruiting-callout h2 {
  margin: 0 0 5px;
  color: #1b2b38;
  font-size: 1.18rem;
  line-height: 1.35;
}

.recruiting-callout p:last-child {
  max-width: 790px;
  margin: 0;
  color: #52606c;
  font-size: 0.95rem;
}

.research-section {
  padding: 0 0 32px;
}

.section-intro {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-intro h2 {
  margin: 0 0 10px;
  color: #172532;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-intro > p:last-child {
  margin: 0;
  color: var(--color-muted);
}

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

.research-area {
  padding-top: 18px;
  border-top: 3px solid #9ba9b5;
}

.research-number {
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.research-area h3 {
  margin: 9px 0 9px;
  color: #20313f;
  font-size: 1.12rem;
  line-height: 1.35;
}

.research-area p {
  margin: 0;
  color: #586672;
  font-size: 0.94rem;
}

.selected-work {
  padding: 62px 0 22px;
}

.section-intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  max-width: none;
}

.section-intro-row > div {
  max-width: 740px;
}

.section-link {
  flex-shrink: 0;
  margin-bottom: 3px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 38px;
}

.work-card {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.work-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #e1e6eb;
  border-radius: 6px;
  background: #f8fafb;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 160ms ease;
}

.work-image:hover img {
  transform: scale(1.025);
}

.work-venue {
  margin: 0 0 6px;
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.work-copy h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.38;
}

.work-copy h3 a {
  color: #20313f;
  text-decoration: none;
}

.work-copy h3 a:hover {
  color: var(--color-link);
}

.work-copy > p:not(.work-venue) {
  margin: 0;
  color: #5b6873;
  font-size: 0.84rem;
  line-height: 1.55;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.work-links a {
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.work-links a::after {
  content: " ↗";
  font-size: 0.72em;
}

.home-bio {
  padding-top: 4px;
}

.home-bio p {
  max-width: 940px;
}

.latest-news {
  padding: 66px 0 20px;
}

.news-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 26px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-list time {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.news-list p {
  margin: 0;
  color: #43515d;
  font-size: 0.95rem;
}

.academic-overview {
  padding: 66px 0 42px;
}

.academic-overview .section-intro {
  max-width: 900px;
}

.about-lead {
  font-size: 1.02rem;
}

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

.overview-card {
  padding: 23px 23px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

.overview-card h3 {
  margin: 0 0 14px;
  color: #20313f;
  font-size: 1.02rem;
}

.overview-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview-card li {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #dfe5ea;
  color: #52606b;
  font-size: 0.86rem;
  line-height: 1.5;
}

.overview-card li:first-child {
  padding-top: 0;
  border-top: 0;
}

.overview-card strong {
  display: block;
  margin-bottom: 2px;
  color: #7d2935;
  font-size: 0.76rem;
}

.cv-note {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.84rem;
}

.site-footer > div:last-child {
  text-align: right;
}

.site-footer strong {
  color: #263744;
}

.statcounter {
  display: none;
}

.publications-page {
  padding-bottom: 42px;
}

.page-hero {
  max-width: 820px;
  padding: clamp(48px, 7vw, 76px) 0 38px;
}

.page-hero h1 {
  margin: 0 0 12px;
  color: #172532;
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.page-hero > p:not(.section-kicker):not(.publication-legend) {
  max-width: 720px;
  margin: 0;
  color: #52616d;
  font-size: 1.03rem;
}

.page-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.publication-legend {
  margin: 17px 0 0;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.publication-legend strong {
  color: #253744;
}

.publication-browser {
  padding-top: 10px;
}

.publication-filter {
  margin: 0 0 26px !important;
  padding: 21px 0 20px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-family: inherit !important;
}

.publication-filter-label {
  margin-bottom: 10px;
  color: #263744;
  font-size: 0.85rem;
  font-weight: 750;
}

.publication-filter-controls {
  gap: 7px !important;
}

.publication-filter button {
  padding: 6px 11px !important;
  border: 1px solid #bdc7d0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #334350 !important;
  font: 600 0.8rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif !important;
}

.publication-filter button:hover {
  border-color: #7f909e !important;
  background: var(--color-surface) !important;
}

.publication-filter button.active,
.publication-filter button.active:hover {
  border-color: #1f557f !important;
  background: #1f557f !important;
  color: #fff !important;
}

.publication-filter-advanced {
  margin-top: 12px;
}

.publication-filter-advanced summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-link);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  list-style: none;
}

.publication-filter-advanced summary::-webkit-details-marker {
  display: none;
}

.publication-filter-advanced summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid #aebbc6;
  border-radius: 50%;
  color: #526675;
  font-size: 0.75rem;
  line-height: 1;
}

.publication-filter-advanced[open] summary::before {
  content: "−";
}

.publication-filter-advanced .publication-filter-controls {
  margin-top: 10px;
  padding: 12px;
  border-radius: 7px;
  background: var(--color-surface);
}

.publication-filter-status {
  margin-top: 11px !important;
  color: var(--color-muted) !important;
  font-size: 0.8rem !important;
}

.publication-list {
  border-spacing: 0 9px !important;
}

.publication-list td:first-child:not([colspan]) {
  width: 305px !important;
  min-width: 305px !important;
  max-width: 305px !important;
  padding-right: 25px !important;
}

.publication-list td:first-child:not([colspan]) img {
  width: 280px !important;
  height: 150px !important;
  padding: 6px 8px !important;
  border: 1px solid #e0e6eb;
  border-radius: 5px;
  box-shadow: none !important;
  object-fit: contain;
}

.publication-list td:nth-child(2) {
  color: #3f4d58;
  font-size: 0.91rem;
  line-height: 1.55;
}

.publication-list td:nth-child(2) div[style*="SlateBlue"] {
  margin-bottom: 5px;
  color: #20313f !important;
  font-size: 1rem;
  line-height: 1.4;
}

.publication-list td:nth-child(2) div[style*="SlateBlue"] a {
  color: var(--color-link);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.publication-list a.publication-resource,
.publication-list a.publication-resource:visited {
  display: inline-flex;
  align-items: center;
  margin: 2px 0 2px 7px;
  padding: 3px 7px;
  border: 1px solid #c6d0d8;
  border-radius: 5px;
  background: #fff;
  color: #315d7f;
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  vertical-align: 0.08em;
}

.publication-list a.publication-resource:hover,
.publication-list a.publication-resource:focus {
  border-color: #8497a6;
  background: var(--color-surface);
  color: #183e5c;
}

.auto-style3 {
  width: auto !important;
  margin: 34px 0 18px;
  padding: 0 0 8px;
  border-bottom: 2px solid #aeb9c4;
  background: transparent !important;
  color: #1d2b38;
  font-size: 1.28rem;
  line-height: 1.3;
}

.auto-style3 strong {
  font-family: inherit !important;
}

table {
  border-spacing: 0;
}

td {
  line-height: 1.6;
}

.people-page {
  padding-bottom: 26px;
}

.people-summary {
  margin: 18px 0 0;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.people-section {
  padding: 20px 0 44px;
}

.people-section + .people-section {
  padding-top: 42px;
  border-top: 1px solid var(--color-border);
}

.people-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.people-section-heading h2 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.025em;
}

.people-section-heading span {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}

.person-card {
  min-width: 0;
  text-align: center;
}

.member-avatar {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface-soft);
  box-shadow: 0 8px 24px rgba(31, 49, 63, 0.08);
  object-fit: cover;
}

.person-copy {
  margin-top: 14px;
}

.person-name {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-heading);
  font-weight: 760;
  line-height: 1.28;
  text-decoration: none;
}

a.person-name:hover,
a.person-name:focus {
  color: var(--color-link);
}

.person-name span[lang] {
  font-size: 1rem;
}

.person-name span:last-child {
  font-size: 0.9rem;
}

.member-role,
.member-dates,
.member-destination {
  margin: 0;
}

.member-role {
  margin-top: 7px;
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.45;
}

.member-dates {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.member-destination {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.software-page {
  padding-bottom: 28px;
}

.software-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  margin: 10px 0 0;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid #d5dfe7;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafb 0%, #f0f4f7 100%);
}

.software-featured h2 {
  margin: 0 0 12px;
  color: var(--color-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.software-label {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.software-lead {
  max-width: 650px;
  margin: 0;
  color: #425360;
  font-size: 1.04rem;
}

.software-points {
  margin: 20px 0 24px;
  padding: 0;
  color: #53616c;
  font-size: 0.9rem;
  list-style: none;
}

.software-points li {
  position: relative;
  margin: 7px 0;
  padding-left: 20px;
}

.software-points li::before {
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
}

.library-mark {
  min-height: 230px;
  padding: 34px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, #152b3d 0%, #245c8f 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(25, 47, 64, 0.18);
}

.library-mark span {
  display: block;
  color: #c8d9e8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.library-mark strong {
  display: block;
  margin: 31px 0 13px;
  font-size: clamp(2.75rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.library-mark p {
  margin: 0;
  color: #d9e6ef;
  font-size: 0.86rem;
}

.software-section {
  padding: 68px 0 10px;
}

.software-section .section-intro {
  margin-bottom: 26px;
}

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

.software-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 48, 61, 0.055);
}

.software-card-image {
  display: flex;
  flex: 0 0 42%;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 13px;
  background: var(--color-surface-soft);
}

.software-card-image img {
  width: 100%;
  height: 152px;
  object-fit: contain;
}

.software-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 21px 20px 19px;
}

.software-card h3,
.dataset-card h3,
.repository-card h3 {
  margin: 0 0 8px;
  color: var(--color-heading);
  font-size: 1.14rem;
  line-height: 1.32;
}

.software-card h3 a,
.software-card h3 a:visited {
  color: inherit;
  text-decoration: none;
}

.software-card h3 a:hover,
.software-card h3 a:focus {
  color: var(--color-link);
}

.software-card-copy > p:not(.software-label),
.dataset-copy > p:not(.software-label),
.repository-card > p:not(.software-label) {
  margin: 0;
  color: #596773;
  font-size: 0.86rem;
  line-height: 1.55;
}

.software-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.software-card-copy .software-actions {
  margin-top: auto;
  padding-top: 17px;
}

.software-actions > a:not(.button),
.software-actions > a:not(.button):visited {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 9px;
  border: 1px solid #c9d3dc;
  border-radius: 6px;
  background: #fff;
  color: #294a66;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.software-actions > a:not(.button):hover,
.software-actions > a:not(.button):focus {
  border-color: #8195a6;
  background: var(--color-surface);
  color: #172f43;
}

.dataset-section {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--color-border);
}

.dataset-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-soft);
}

.dataset-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 25px;
  background: #eef3f6;
}

.dataset-image img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.dataset-copy {
  align-self: center;
  padding: clamp(28px, 5vw, 48px);
}

.dataset-card h3 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

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

.repository-card {
  padding: 26px;
  border-top: 3px solid #8fa1af;
  background: var(--color-surface-soft);
}

.repository-card .software-actions {
  margin-top: 17px;
}

@media (max-width: 900px) {
  .software-featured {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.75fr);
    gap: 34px;
  }

  .software-card {
    display: block;
  }

  .software-card-image img {
    height: 175px;
  }

  .software-card-copy {
    min-height: 260px;
  }
}

@media (max-width: 700px) {
  .software-featured,
  .dataset-card {
    grid-template-columns: 1fr;
  }

  .software-grid,
  .repository-grid {
    grid-template-columns: 1fr;
  }

  .software-card {
    display: grid;
    grid-template-columns: minmax(125px, 0.75fr) minmax(0, 1.25fr);
  }

  .software-card-copy {
    min-height: 0;
  }

  .library-mark {
    min-height: 205px;
  }

  .dataset-image {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .software-featured {
    padding: 24px;
  }

  .library-mark {
    min-height: 180px;
    padding: 26px;
  }

  .library-mark strong {
    margin-top: 24px;
  }

  .software-section {
    padding-top: 52px;
  }

  .software-card {
    display: block;
  }

  .software-card-image img {
    height: 180px;
  }

  .dataset-section {
    margin-top: 42px;
  }
}

@media (max-width: 980px) {
  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .member-avatar {
    width: min(124px, 34vw);
    height: min(124px, 34vw);
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px) !important;
  }

  .top-nav {
    align-items: flex-start;
    min-height: 0;
    padding: 12px 0 !important;
  }

  .top-nav-links {
    gap: 2px !important;
  }

  .top-nav-links a,
  .top-nav-right a {
    padding: 7px 7px;
    font-size: 0.92rem;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table td {
    display: block;
    width: 100% !important;
  }

  .profile-table td:first-child {
    padding-right: 0;
  }

  .profile-table td:last-child {
    margin-top: 22px;
    text-align: left !important;
  }

  .profile-photo {
    width: min(220px, 70vw);
    margin: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 0 36px;
  }

  .hero-portrait {
    grid-row: 2;
  }

  .hero-portrait .profile-photo {
    width: min(220px, 64vw);
  }

  .recruiting-callout {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 52px;
    padding: 22px;
  }

  .recruiting-callout .button {
    justify-self: start;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .selected-work {
    padding-top: 50px;
  }

  .section-intro-row {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 14px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .news-list li {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer > div:last-child {
    text-align: left;
  }

  .page-hero {
    padding: 42px 0 30px;
  }

  .publication-browser {
    padding-top: 0;
  }

  .publication-list,
  .publication-list tbody,
  .publication-list tr,
  .publication-list td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .publication-list tr {
    margin-bottom: 28px;
  }

  .publication-list td:first-child:not([colspan]) {
    padding: 0 0 14px !important;
  }

  .publication-list td:first-child:not([colspan]) img {
    width: 100% !important;
    height: auto !important;
    max-height: 240px;
    padding: 0;
    object-fit: contain;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .top-nav {
    display: block;
  }

  .top-nav-right {
    margin-top: 4px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero h1 span {
    display: block;
    margin-top: 7px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .work-card {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .work-image {
    width: 100%;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Restrained academic treatment for the homepage. */
.home-page .top-nav-links a,
.home-page .top-nav-right a {
  padding-right: 8px;
  padding-left: 8px;
  border-radius: 0;
}

.home-page .top-nav-links a:hover,
.home-page .top-nav-right a:hover {
  background: transparent;
  text-decoration: underline;
}

.home-page .top-nav-links a[aria-current="page"] {
  background: transparent;
  box-shadow: inset 0 -1px 0 #334b61;
}

.home-page .hero {
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: clamp(38px, 6vw, 72px);
  align-items: start;
  padding: 56px 0 42px;
}

.home-page .hero-copy {
  max-width: 760px;
}

.home-page .hero h1,
.home-page main .section-intro h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.home-page .hero h1 {
  margin-bottom: 9px;
  font-size: clamp(2.25rem, 4vw, 3.15rem);
}

.home-page .hero h1 span {
  color: #53616d;
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-position {
  margin: 0 0 22px;
  color: #3f4d59;
  font-size: 1rem;
  line-height: 1.55;
}

.home-page .hero-summary {
  max-width: 700px;
  color: #35434f;
  font-size: 1rem;
  line-height: 1.72;
}

.academic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin: 20px 0 14px;
  font-size: 0.94rem;
}

.academic-links a {
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.academic-links span {
  color: #9099a1;
}

.home-page .hero-meta {
  font-size: 0.88rem;
  line-height: 1.6;
}

.home-page .hero-portrait .profile-photo {
  width: 240px;
  margin: 2px 0 0 auto;
  border: 1px solid #d6dce1;
  border-radius: 2px;
  box-shadow: none;
}

.home-page .home-bio {
  max-width: 940px;
  padding: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-page .home-bio summary {
  padding: 14px 0;
  color: #263744;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}

.home-page .home-bio[open] summary {
  margin-bottom: 3px;
}

.home-page .home-bio p {
  max-width: 900px;
  margin: 0;
  color: #46535e;
  font-size: 0.94rem;
  line-height: 1.85;
}

.home-page .home-bio p + p {
  margin-top: 8px;
  padding-bottom: 20px;
}

.recruiting-note {
  margin: 0 0 52px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.recruiting-note p {
  max-width: 940px;
  margin: 0;
  color: #46535e;
  font-size: 0.92rem;
}

.recruiting-note strong {
  color: #253642;
}

.people-page .recruiting-note {
  margin-top: -6px;
  margin-bottom: 44px;
}

.home-page .research-section {
  padding-bottom: 12px;
}

.home-page .section-intro {
  margin-bottom: 20px;
}

.home-page main .section-intro h2 {
  margin-bottom: 7px;
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
}

.home-page .section-intro > p:last-child {
  max-width: 700px;
  font-size: 0.94rem;
}

.home-page .research-grid {
  gap: 28px;
}

.home-page .research-area {
  padding-top: 13px;
  border-top: 1px solid #aeb8c0;
}

.home-page .research-area h3 {
  margin: 0 0 7px;
  font-size: 1.02rem;
}

.home-page .research-area p {
  color: #4f5c67;
  font-size: 0.9rem;
}

.home-page .selected-work {
  padding: 48px 0 14px;
}

.home-page .section-intro-row {
  align-items: baseline;
  margin-bottom: 20px;
}

.home-page .section-link {
  font-weight: 600;
}

.home-page .work-grid {
  gap: 30px 36px;
}

.home-page .work-card {
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 18px;
  padding-top: 15px;
}

.home-page .work-image {
  border-color: #d9dfe4;
  border-radius: 2px;
  background: #fff;
}

.home-page .work-image img {
  transition: none;
}

.home-page .work-image:hover img {
  transform: none;
}

.home-page .work-venue {
  color: #687580;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .work-copy h3 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.42;
}

.home-page .work-copy > p:not(.work-venue) {
  color: #596570;
  font-size: 0.82rem;
}

.home-page .work-links a {
  font-weight: 600;
}

.home-page .latest-news,
.home-page .academic-overview {
  padding-top: 52px;
}

.home-page .news-list li {
  padding: 13px 0;
}

.home-page .news-list time {
  color: #596773;
  font-weight: 600;
}

.home-page .overview-grid {
  gap: 28px;
}

.home-page .overview-card {
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid #aeb8c0;
  border-radius: 0;
  background: transparent;
}

.home-page .overview-card h3 {
  margin-bottom: 9px;
  font-size: 0.98rem;
}

.home-page .overview-card li {
  padding: 4px 0;
  border: 0;
  color: #4f5c67;
}

.home-page .overview-card strong {
  display: inline;
  margin: 0 5px 0 0;
  color: #354652;
  font-size: inherit;
  font-weight: 650;
}

@media (max-width: 760px) {
  .home-page .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 0 32px;
  }

  .home-page .hero-portrait .profile-photo {
    width: 205px;
    margin-left: 0;
  }

  .home-page .research-grid {
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .home-page .hero h1 span {
    display: inline;
    margin-top: 0;
  }

  .home-page .work-card {
    grid-template-columns: 1fr;
  }
}

/* Restrained academic treatment for the software and data page. */
.software-page-body .top-nav-links a,
.software-page-body .top-nav-right a {
  padding-right: 8px;
  padding-left: 8px;
  border-radius: 0;
}

.software-page-body .top-nav-links a:hover,
.software-page-body .top-nav-right a:hover {
  background: transparent;
  text-decoration: underline;
}

.software-page-body .top-nav-links a[aria-current="page"] {
  background: transparent;
  box-shadow: inset 0 -1px 0 #334b61;
}

.software-page .page-hero {
  max-width: 820px;
  padding: 52px 0 34px;
}

.software-page .page-hero h1,
.software-page .software-featured h2,
.software-page .section-intro h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.software-page .page-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.software-page .page-hero > p:not(.page-text-links) {
  max-width: 730px;
  color: #46535e;
  font-size: 0.98rem;
}

.page-text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin: 17px 0 0;
  font-size: 0.92rem;
}

.page-text-links a {
  font-weight: 600;
}

.page-text-links span {
  color: #9099a1;
}

.software-page .software-featured {
  display: block;
  margin: 6px 0 0;
  padding: 25px 0 28px;
  border: 0;
  border-top: 1px solid #9ba8b2;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.software-page .software-featured-copy {
  max-width: 800px;
}

.software-page .software-featured h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  letter-spacing: -0.012em;
}

.software-page .software-lead {
  max-width: 780px;
  color: #394854;
  font-size: 0.96rem;
}

.software-note {
  margin: 8px 0 0;
  color: #606c76;
  font-size: 0.88rem;
}

.software-page .software-section {
  padding: 52px 0 4px;
}

.software-page .software-section .section-intro {
  margin-bottom: 19px;
}

.software-page .section-intro h2 {
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
}

.software-page .section-intro > p:last-child {
  font-size: 0.92rem;
}

.software-page .software-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 36px;
}

.software-page .software-card {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 18px;
  overflow: visible;
  padding-top: 15px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.software-page .software-card-image {
  display: flex;
  align-items: center;
  align-self: start;
  justify-content: center;
  min-width: 0;
  padding: 5px;
  border: 1px solid #d9dfe4;
  border-radius: 2px;
  background: #fff;
}

.software-page .software-card-image img {
  width: 100%;
  height: 112px;
  object-fit: contain;
}

.software-page .software-card-copy {
  display: block;
  min-height: 0;
  padding: 0;
}

.software-page .software-label {
  margin-bottom: 4px;
  color: #697680;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.software-page .software-card h3,
.software-page .dataset-card h3,
.software-page .repository-card h3 {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.02rem;
  font-weight: 600;
}

.software-page .software-card-copy > p:not(.software-label),
.software-page .dataset-copy > p:not(.software-label),
.software-page .repository-card > p:not(.software-label) {
  color: #53606b;
  font-size: 0.82rem;
}

.software-page .software-actions,
.software-page .software-card-copy .software-actions {
  gap: 12px;
  margin-top: 10px;
  padding-top: 0;
}

.software-page .software-actions > a:not(.button),
.software-page .software-actions > a:not(.button):visited {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-link);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.software-page .software-actions > a:not(.button):hover,
.software-page .software-actions > a:not(.button):focus {
  border: 0;
  background: transparent;
  color: var(--color-accent);
}

.software-page .dataset-section {
  margin-top: 42px;
  padding-top: 42px;
}

.software-page .dataset-card {
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 24px;
  overflow: visible;
  padding-top: 15px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.software-page .dataset-image {
  min-height: 0;
  padding: 7px;
  border: 1px solid #d9dfe4;
  border-radius: 2px;
  background: #fff;
}

.software-page .dataset-image img {
  max-height: 155px;
}

.software-page .dataset-copy {
  align-self: start;
  padding: 0;
}

.software-page .repository-grid {
  gap: 30px;
}

.software-page .repository-card {
  padding: 14px 0 0;
  border-top: 1px solid #aeb8c0;
  background: transparent;
}

@media (max-width: 760px) {
  .software-page .software-grid,
  .software-page .repository-grid {
    grid-template-columns: 1fr;
  }

  .software-page .dataset-card {
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 520px) {
  .software-page .page-hero {
    padding: 38px 0 28px;
  }

  .software-page .software-card,
  .software-page .dataset-card {
    display: block;
  }

  .software-page .software-card-image,
  .software-page .dataset-image {
    margin-bottom: 14px;
  }

  .software-page .software-card-image img {
    height: 160px;
  }
}

/* News archive */
.news-page-body .top-nav-links a,
.news-page-body .top-nav-right a {
  padding-right: 8px;
  padding-left: 8px;
  border-radius: 0;
}

.news-page-body .top-nav-links a:hover,
.news-page-body .top-nav-right a:hover {
  background: transparent;
  text-decoration: underline;
}

.news-page-body .top-nav-links a[aria-current="page"] {
  background: transparent;
  box-shadow: inset 0 -1px 0 #334b61;
}

.news-page {
  max-width: 960px;
}

.news-page .page-hero {
  max-width: 760px;
  padding: 52px 0 34px;
}

.news-page .page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.news-page .page-hero p {
  color: #53616d;
}

.news-page .news-list li {
  padding: 15px 0;
}

.news-page .news-list time {
  color: #596773;
  font-weight: 600;
}

.news-archive {
  margin-top: 18px;
}

.news-archive summary {
  width: max-content;
  color: var(--color-link);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

.news-archive summary::-webkit-details-marker {
  display: none;
}

.news-archive summary::after {
  content: " ↓";
  font-size: 0.82em;
}

.news-archive[open] summary {
  margin-bottom: 18px;
}

.news-archive[open] summary::after {
  content: " ↑";
}

.news-archive .less-label,
.news-archive[open] .more-label {
  display: none;
}

.news-archive[open] .less-label {
  display: inline;
}

@media (max-width: 620px) {
  .news-page .page-hero {
    padding-top: 38px;
  }
}

/* Consistent primary page titles */
.home-page .hero h1,
.news-page .page-hero h1,
.publications-page .page-hero h1,
.people-page .page-hero h1,
.software-page .page-hero h1 {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif !important;
  font-size: clamp(2.35rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.publications-page .page-hero {
  padding: 52px 0 32px;
}

.publications-page .page-text-links {
  margin-top: 16px;
  margin-bottom: 0;
}

.publications-page .publication-browser > .publication-legend {
  margin: -8px 0 18px;
}
