/* Academic homepage. Independent of the legacy AcademicPages theme. */
:root {
  --navy: #142f48;
  --ink: #202e39;
  --blue: #225f89;
  --muted: #5d6b75;
  --paper: #fdfcf9;
  --line: #dce1e2;
  --soft: #f0f3f3;
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--blue);
}
button,
input {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #2b7faa;
  outline-offset: 5px;
}
::selection {
  background: #d5e7ee;
}
sup {
  font-size: 0.7em;
  line-height: 0;
}
.shell {
  width: min(1080px, calc(100% - 80px));
  margin-inline: auto;
}
.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}
.small-rule {
  width: 28px;
  height: 1px;
  background: var(--blue);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.text-link:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.15s,
    color 0.15s;
}
.button-primary {
  background: var(--navy);
  color: #fff;
}
.button-primary:hover {
  background: #245472;
  border-color: #245472;
  color: #fff;
}
.button-secondary {
  background: transparent;
}
.button-secondary:hover {
  background: #e8eef0;
}
.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: white;
}
/* Shared, deliberately quiet navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 252, 249, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}
.brand span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.desktop-nav a {
  position: relative;
  padding: 9px 0;
  font-size: 13px;
}
.desktop-nav a[aria-current] {
  color: var(--blue);
}
.desktop-nav a[aria-current]:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--blue);
  bottom: 0;
  left: 0;
  right: 0;
}
.mobile-nav {
  display: none;
}

/* Personal profile stays alongside the work, without a separate hero screen. */
.personal-home {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 64px;
  padding-block: 48px 64px;
  align-items: start;
}
.profile-column {
  position: sticky;
  top: 108px;
}
.profile-photo {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
.profile-name h1 {
  font: 500 33px/1.25 var(--serif);
  letter-spacing: -0.035em;
  margin-top: 20px;
}
.profile-name h1 span {
  display: block;
  font: 400 19px/1.5 var(--sans);
  letter-spacing: 0.15em;
  margin-top: 4px;
}
.profile-role {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
}
.profile-location {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.profile-affiliation {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 17px;
}
.profile-affiliation a,
.profile-contact a {
  color: var(--blue);
}
.profile-contact {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 20px;
}
.profile-email {
  font-size: 13px;
}
.profile-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  margin-top: 12px;
}
.profile-links span {
  font-size: 10px;
}
.profile-column a:hover {
  text-decoration: underline;
}
.home-content {
  min-width: 0;
}
.personal-intro h2,
.home-section-heading h2 {
  font: 500 25px/1.3 var(--serif);
  letter-spacing: -0.025em;
}
.personal-intro p {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 14px;
}
.personal-intro a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: #b9cbd5;
}
.personal-intro a:hover {
  text-decoration-color: currentColor;
}
.personal-intro strong {
  font-weight: 650;
}
.home-section {
  margin-top: 35px;
}
.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.home-section-heading > a {
  color: var(--blue);
  font-size: 12px;
  white-space: nowrap;
}
.home-section-heading > a:hover {
  text-decoration: underline;
}
.research-highlight {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.research-thumbnail {
  display: grid;
  align-items: center;
  min-height: 153px;
  background: white;
  border: 1px solid #e4e7e7;
  border-radius: 4px;
  padding: 9px;
  margin-top: 2px;
}
.research-thumbnail img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}
.research-thumbnail:hover {
  border-color: #8daabb;
}
.research-visual figcaption {
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
  margin-top: 6px;
}
.research-visual figcaption a:hover {
  text-decoration: underline;
}
.highlight-meta {
  display: flex;
  gap: 8px 12px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.highlight-role {
  color: var(--blue);
  font-weight: 650;
}
.highlight-copy h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-top: 8px;
}
.highlight-copy h3 a:hover {
  text-decoration: underline;
}
.highlight-summary {
  font-size: 13px;
  line-height: 1.75;
  margin-top: 10px;
  color: var(--muted);
}
.highlight-contribution {
  font-size: 12px;
  line-height: 1.65;
  margin-top: 10px;
}
.highlight-contribution strong {
  font-weight: 600;
}
.highlight-links {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 550;
}
.highlight-links a:hover {
  text-decoration: underline;
}
.writing-row {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 20px;
  padding-top: 20px;
}
.writing-row time {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.writing-row h3 {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 550;
}
.writing-row h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.writing-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.writing-role {
  color: var(--blue);
}
.code-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
  padding-top: 20px;
}
.code-entry h3 {
  font: 550 14px/1.6 var(--sans);
}
.code-entry h3 a {
  color: var(--blue);
}
.code-entry p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 7px;
}
.colab-link {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--blue);
}
.code-entry a:hover {
  text-decoration: underline;
}
.education-summary dl {
  margin: 2px 0 0;
}
.education-summary dl > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding-top: 18px;
}
.education-summary dt {
  font-size: 12px;
  color: var(--muted);
}
.education-summary dd {
  margin: 0;
  font-size: 13px;
}
.education-summary dd strong {
  font-weight: 550;
}
.education-summary dd span {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 25px 22px;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 12px;
}
.footer-contact > span {
  font-weight: 600;
}
.footer-contact > span span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.footer-contact a {
  color: var(--blue);
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  margin-top: 14px;
  color: var(--muted);
}
.personal-note {
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
}
.personal-note summary {
  width: max-content;
}
.personal-note p {
  margin-top: 7px;
}
.paper-list {
  margin-top: 31px;
  border-top: 1px solid var(--line);
}
.paper-row {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 30px;
  padding-block: 27px 29px;
  border-bottom: 1px solid var(--line);
}
.paper-aside {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  padding-top: 1px;
}
.paper-year {
  font: 400 23px/1.4 var(--serif);
  color: var(--navy);
}
.paper-type {
  font-size: 11px;
  color: var(--muted);
}
.contribution {
  display: inline-block;
  font-size: 9px;
  line-height: 1.5;
  background: #e9eff2;
  color: #24526d;
  padding: 3px 6px;
  margin-top: 4px;
}
.paper-venue {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 600;
}
.paper-main :is(h2, h3) {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 550;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin-top: 7px;
}
.paper-main :is(h2, h3) a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.paper-authors {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 9px;
}
.paper-authors strong {
  font-weight: 650;
  color: var(--ink);
}
.paper-citation {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 3px;
}
.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}
.paper-links a:hover {
  text-decoration: underline;
}
.paper-links span {
  margin-left: 4px;
}
.contribution-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
}
.timeline {
  border-top: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 19px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.timeline-period {
  font-size: 12px;
  color: var(--blue);
  padding-top: 3px;
}
.timeline h3 {
  font-size: 15px;
  font-weight: 550;
}
.timeline-item div > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.page-heading {
  padding-block: 62px 41px;
}
.page-heading h1,
.cv-heading h1 {
  font: 400 53px/1.2 var(--serif);
  letter-spacing: -0.045em;
  margin-top: 13px;
}
.page-heading > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  margin-top: 16px;
}
.page-heading > .text-link {
  margin-top: 20px;
}
.publications-page {
  padding-bottom: 70px;
}
.publication-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-block: 1px solid var(--line);
  padding-block: 20px;
}
.filter-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-buttons button {
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
  min-height: 40px;
  background: transparent;
  padding: 10px 13px;
}
.filter-buttons button[aria-pressed="true"] {
  background: var(--navy);
  color: white;
}
.filter-buttons button:hover:not([aria-pressed="true"]) {
  background: #e9eff1;
}
.publication-search {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 250px;
  border-bottom: 1px solid #b3c0c6;
  padding: 8px 0;
}
.publication-search svg {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  flex: none;
}
.publication-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  min-height: 27px;
  color: var(--ink);
}
.publication-search:focus-within {
  border-color: var(--blue);
}
.publication-status {
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
  font-size: 11px;
  color: var(--muted);
}
.publications-page .paper-list {
  margin-top: 15px;
}
.publications-page .paper-row {
  padding-block: 30px;
}
.empty-state {
  text-align: center;
  padding: 64px 0;
}
.empty-state h2 {
  font: 29px var(--serif);
}
.empty-state p {
  margin-block: 12px 24px;
  color: var(--muted);
}
.article-page {
  max-width: 950px;
  padding-block: 43px 72px;
}
.back-link {
  font-size: 12px;
  color: var(--blue);
}
.article-header {
  margin-top: 42px;
}
.article-header h1 {
  font: 400 clamp(29px, 3.2vw, 42px) / 1.2 var(--serif);
  letter-spacing: -0.03em;
  margin-top: 17px;
}
.article-header .paper-authors {
  font-size: 14px;
  margin-top: 23px;
}
.article-citation {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin-top: 10px;
}
.article-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 28px 35px;
}
.article-figure {
  background: white;
  border: 1px solid var(--line);
  padding: 28px;
  margin-bottom: 35px;
}
.article-figure img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}
.article-figure figcaption {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 17px;
}
.article-body {
  max-width: 740px;
}
.article-body h2 {
  font: 29px var(--serif);
  margin-bottom: 17px;
}
.article-body p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 15px;
  color: var(--muted);
}
.article-doi {
  font-size: 12px;
  padding-top: 22px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.article-doi a {
  margin-left: 15px;
  color: var(--blue);
}
.cv-page {
  padding-block: 62px 70px;
}
.cv-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.cv-heading h1 span {
  font: 400 23px var(--sans);
  letter-spacing: 0.1em;
  margin-left: 12px;
  color: var(--muted);
}
.cv-heading .cv-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
}
.cv-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 720px;
  margin-top: 25px;
  line-height: 1.9;
}
.cv-intro a {
  color: var(--blue);
}
.cv-section {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: 38px;
  margin-top: 44px;
}
.cv-section > h2 {
  font: 27px/1.2 var(--serif);
  letter-spacing: -0.035em;
}
.cv-section .timeline {
  margin-top: 2px;
}
.cv-section .timeline-item {
  grid-template-columns: 130px 1fr;
}
.cv-section .timeline-item div > p {
  font-size: 13px;
}
.cv-section .timeline-item div > p.timeline-detail {
  font-size: 12px;
  margin-top: 9px;
}
.cv-items {
  border-top: 1px solid var(--line);
}
.cv-items > article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cv-items h3 {
  font-size: 15px;
  font-weight: 600;
}
.cv-items p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.cv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cv-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 15px;
  font-size: 13px;
}
.cv-list time {
  color: var(--blue);
}
.cv-papers {
  margin: 0;
  padding-left: 20px;
  font-size: 12px;
}
.cv-papers li {
  padding: 0 0 16px 8px;
  line-height: 1.8;
}
.cv-papers a {
  color: var(--navy);
  font-weight: 500;
}
.cv-papers a:hover {
  text-decoration: underline;
}
.cv-papers span {
  display: block;
  color: var(--muted);
}
.not-found {
  padding-block: 85px 110px;
}
.not-found h1 {
  font: 55px var(--serif);
  margin-block: 12px 20px;
}
.not-found p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 25px;
}

@media (max-width: 1050px) {
  .shell {
    width: calc(100% - 64px);
  }
  .personal-home {
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 40px;
  }
  .profile-photo {
    width: 160px;
  }
  .profile-name h1 {
    font-size: 30px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .research-highlight {
    grid-template-columns: 172px minmax(0, 1fr);
    gap: 20px;
  }
  .research-thumbnail {
    min-height: 140px;
  }
  .highlight-copy h3 {
    font-size: 18px;
  }
  .paper-row {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 22px;
  }
  .code-entry {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 62px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    list-style: none;
    padding: 10px 8px;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .menu-icon {
    font-size: 17px;
    line-height: 1;
  }
  .mobile-nav nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
    box-shadow: 0 7px 10px #142f480a;
  }
  .mobile-nav nav a {
    padding: 11px 5px;
    font-size: 14px;
  }
  .mobile-nav a[aria-current] {
    color: var(--blue);
  }
  .personal-home {
    display: block;
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .profile-column {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
    row-gap: 16px;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .profile-identity {
    display: flex;
    gap: 20px;
    align-items: center;
    grid-column: 1/-1;
  }
  .profile-photo {
    width: 112px;
    flex-shrink: 0;
  }
  .profile-name h1 {
    margin-top: 0;
    font-size: 32px;
  }
  .profile-name h1 span {
    display: inline;
    font-size: 18px;
    margin-left: 10px;
  }
  .profile-role {
    margin-top: 10px;
    font-size: 13px;
  }
  .profile-location {
    font-size: 12px;
  }
  .profile-affiliation {
    margin: 0;
    font-size: 12px;
  }
  .profile-break {
    display: none;
  }
  .profile-contact {
    border: 0;
    padding: 0;
    margin: 0;
  }
  .profile-links {
    margin-top: 9px;
  }
  .personal-intro h2,
  .home-section-heading h2 {
    font-size: 24px;
  }
  .personal-intro p {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 12px;
  }
  .home-section {
    margin-top: 30px;
  }
  .research-highlight {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }
  .research-thumbnail {
    min-height: 144px;
  }
  .paper-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 17px;
    padding-block: 22px;
  }
  .paper-main :is(h2, h3) {
    font-size: 16px;
  }
  .paper-venue {
    font-size: 9px;
  }
  .paper-authors,
  .paper-citation {
    font-size: 11px;
  }
  .paper-year {
    font-size: 21px;
  }
  .paper-type {
    font-size: 10px;
  }
  .contribution {
    font-size: 9px;
  }
  .publication-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
  .publication-search {
    width: 100%;
    min-width: 0;
  }
  .publication-search input {
    font-size: 16px;
  }
  .page-heading {
    padding-block: 40px 28px;
  }
  .page-heading h1,
  .cv-heading h1 {
    font-size: 43px;
  }
  .page-heading > p:not(.eyebrow) {
    font-size: 14px;
  }
  .page-heading > .text-link {
    font-size: 13px;
  }
  .article-header {
    margin-top: 25px;
  }
  .article-header .paper-authors {
    font-size: 12px;
  }
  .article-figure {
    padding: 15px;
  }
  .cv-section {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 35px;
  }
  .cv-section > h2 {
    font-size: 27px;
  }
  .cv-page {
    padding-top: 40px;
  }
  .cv-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .cv-heading .button {
    font-size: 11px;
  }
  .cv-intro {
    font-size: 13px;
  }
}
@media (max-width: 520px) {
  .brand {
    font-size: 15px;
  }
  .personal-home {
    padding-top: 24px;
  }
  .profile-column {
    column-gap: 16px;
    row-gap: 14px;
  }
  .profile-identity {
    gap: 20px;
  }
  .profile-photo {
    width: 90px;
  }
  .profile-name h1 {
    font-size: 28px;
  }
  .profile-name h1 span {
    font-size: 16px;
    margin-left: 8px;
  }
  .profile-role {
    margin-top: 7px;
  }
  .profile-affiliation {
    font-size: 11px;
  }
  .profile-email {
    font-size: 11px;
  }
  .profile-links {
    font-size: 11px;
    gap: 15px;
    margin-top: 8px;
  }
  .profile-links span {
    display: none;
  }
  .personal-intro h2,
  .home-section-heading h2 {
    font-size: 23px;
  }
  .home-section-heading > a {
    font-size: 11px;
  }
  .research-highlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 20px 25px;
  }
  .research-visual {
    grid-row: 2;
  }
  .research-thumbnail {
    min-height: 0;
    padding: 12px;
    margin: 0;
  }
  .research-thumbnail img {
    height: 165px;
    max-height: none;
  }
  .highlight-copy h3 {
    font-size: 19px;
  }
  .highlight-summary {
    font-size: 13px;
  }
  .highlight-meta {
    font-size: 11px;
  }
  .highlight-links {
    margin-top: 12px;
  }
  .writing-row {
    gap: 12px;
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .writing-row h3 {
    font-size: 13px;
  }
  .writing-row p {
    font-size: 11px;
  }
  .education-summary dl > div {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 15px;
  }
  .education-summary dt {
    font-size: 11px;
  }
  .education-summary dd {
    font-size: 12px;
  }
  .footer-contact {
    gap: 8px 18px;
    font-size: 11px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .paper-row {
    display: block;
    padding-block: 23px;
  }
  .paper-aside {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 0;
  }
  .paper-year {
    font: 500 12px/1.4 var(--sans);
  }
  .paper-type {
    font-size: 10px;
  }
  .contribution {
    margin: 0;
    font-size: 9px;
    padding: 2px 6px;
  }
  .paper-main :is(h2, h3) {
    font-size: 17px;
    line-height: 1.45;
    margin-top: 6px;
  }
  .paper-authors {
    font-size: 11px;
    line-height: 1.8;
  }
  .paper-citation {
    font-size: 11px;
  }
  .paper-links {
    font-size: 11px;
    margin-top: 11px;
  }
  .paper-venue {
    font-size: 9px;
    letter-spacing: 0.075em;
  }
  .paper-list {
    margin-top: 24px;
  }
  .page-heading h1 {
    font-size: 43px;
  }
  .publications-page .paper-row {
    padding-block: 24px;
  }
  .publication-tools {
    padding-block: 15px;
  }
  .filter-buttons {
    gap: 3px;
  }
  .filter-buttons button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .publication-status {
    font-size: 10px;
  }
  .article-page {
    padding-top: 28px;
  }
  .article-header h1 {
    font-size: 30px;
    line-height: 1.22;
  }
  .article-actions {
    gap: 12px;
  }
  .article-actions .button {
    font-size: 11px;
    gap: 13px;
    padding-inline: 15px;
  }
  .article-actions .text-link {
    font-size: 12px;
  }
  .article-body p {
    font-size: 14px;
  }
  .cv-heading h1 {
    font-size: 41px;
  }
  .cv-section .timeline-item {
    grid-template-columns: 93px 1fr;
    gap: 15px;
  }
  .cv-section .timeline-item div > p {
    font-size: 12px;
  }
  .cv-section .timeline-item div > p.timeline-detail {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .profile-name h1 span {
    display: block;
    margin-left: 0;
    font-size: 15px;
  }
  .profile-identity {
    gap: 17px;
  }
  .profile-affiliation,
  .profile-contact {
    grid-column: 1/-1;
  }
  .profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
  }
  .profile-links {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  @page {
    margin: 17mm;
  }
  .site-header,
  .site-footer,
  .skip-link,
  [data-print-cv],
  .mobile-nav,
  .article-actions,
  .publication-tools,
  .page-heading > .text-link {
    display: none !important;
  }
  body {
    font-size: 10pt;
    background: white;
    color: black;
  }
  .shell {
    width: 100%;
    max-width: none;
  }
  .cv-page,
  .article-page,
  .publications-page {
    padding: 0;
  }
  .cv-heading {
    padding-bottom: 15px;
  }
  .cv-heading h1 {
    font-size: 30pt;
  }
  .cv-heading .cv-subtitle,
  .cv-intro {
    font-size: 10pt;
  }
  .cv-intro {
    margin-top: 12px;
  }
  .cv-section {
    grid-template-columns: 130px 1fr;
    gap: 20px;
    margin-top: 22px;
  }
  .cv-section > h2 {
    font-size: 16pt;
  }
  .timeline-item {
    padding-block: 10px;
    break-inside: avoid;
  }
  .cv-section .timeline-item {
    grid-template-columns: 90px 1fr;
  }
  .cv-section .timeline-item div > p,
  .cv-items p,
  .cv-list li,
  .cv-papers {
    font-size: 9pt;
  }
  .cv-items > article {
    padding-block: 10px;
    break-inside: avoid;
  }
  .cv-papers li,
  .cv-list li,
  .paper-row {
    break-inside: avoid;
  }
  .cv-list li {
    padding-block: 7px;
  }
  .cv-section h2 {
    break-after: avoid;
  }
  .paper-list {
    margin-top: 15px;
  }
  .paper-row {
    padding-block: 15px;
  }
  .article-body p {
    font-size: 11pt;
  }
  a {
    color: inherit;
  }
  .article-figure {
    max-width: 70%;
    margin-inline: auto;
  }
}
