@font-face {
  font-family: "Crimson Pro";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/crimson-pro-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Crimson Pro";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/crimson-pro-semibold.ttf") format("truetype");
}
@font-face {
  font-family: "Crimson Pro";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/crimson-pro-italic.ttf") format("truetype");
}

:root { color-scheme: light; --navy: #043361; --link: #147aa8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { font-size: 17px; line-height: 1.5; padding: 0; }
a { color: var(--link); }
a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 2px; }
strong { font-weight: 600; }
h1, h2, h3 { color: var(--navy); }
div.wrapper { width: min(1040px, calc(100% - 64px)); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
header.profile { width: auto; float: none; position: sticky; top: 48px; padding: 38px 0 0; }
.portrait { width: 172px; height: 172px; margin: 0 auto 23px; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: contain; }
.profile h1 { font-size: 31px; margin-bottom: 12px; }
.affiliation { font-size: 17px; line-height: 1.45; margin-bottom: 15px; }
.profile-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 4px; max-width: 260px; margin: 25px auto 0; }
.profile-links a, .profile-links button { color: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 5px; font: inherit; font-size: 12px; white-space: nowrap; }
.profile-links button { border: 0; padding: 0; background: none; }
.profile-links button:not(:disabled) { cursor: pointer; }
.profile-links button:disabled { color: #8b99a8; opacity: 1; }
.profile-links svg { width: 19px; height: 19px; fill: currentColor; }
.section-nav { margin-top: 24px; display: flex; justify-content: center; gap: 10px; font-size: 14px; }
.section-nav a { color: #6e7480; }
.section-nav span { color: #bdc4cd; }
.content { min-width: 0; padding: 58px 0 35px; }
.content section { width: auto; float: none; padding: 0; margin: 0 0 29px; border: 0; }
.content h2 { font-size: 26px; line-height: 1.2; margin: 0 0 15px; }
.pending-note { color: #989da5; font-style: italic; }
.interests { padding-left: 19px; margin-bottom: 0; }
.interests li { padding-left: 2px; margin-bottom: 3px; }
.paper-list { list-style: none; margin: 25px 0 0; padding: 0; }
.paper { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 23px; align-items: center; margin-bottom: 32px; }
.paper:last-child { margin-bottom: 0; }
.paper-visual { display: block; position: relative; padding-top: 27px; overflow: hidden; border-radius: 6px; border: 1px solid #e4e9ee; background: #fff; box-shadow: 0 2px 6px #0433610c; }
.paper-visual img { display: block; width: 100%; height: 116px; padding: 5px 6px 9px; object-fit: contain; }
.venue-badge { position: absolute; top: 0; left: 0; padding: 4px 10px; background: var(--navy); color: #fff; font: 600 11px/1.4 system-ui, sans-serif; border-radius: 4px 0 5px 0; }
.venue-badge.preprint { background: #5d6e80; }
.paper-info h3 { font-size: 18px; font-weight: 600; line-height: 1.25; margin: 0 0 6px; }
.paper-info h3 a { color: var(--link); }
.paper-info p { font-size: 15.5px; line-height: 1.35; margin-bottom: 5px; }
.paper-info .venue { font-style: italic; }
.paper-summary { color: #80858c; }
.paper-links { display: flex; gap: 7px; margin-top: 8px; }
.paper-links a { display: inline-block; padding: 1px 9px; border: 1px solid #697888; border-radius: 3px; color: #3b4f61; font-size: 13px; line-height: 1.5; }
.paper-links a:hover { background: #f1f6fa; text-decoration: none; border-color: var(--navy); }
footer.site-footer { width: auto; float: none; position: static; display: flex; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid #edf0f2; color: #8d939b; text-align: left; font-size: 12px; }

.galaxy { position: relative; width: 100%; height: 150px; overflow: hidden; pointer-events: none; background: linear-gradient(#fff 0%, #f1f4fa 12%, #a0aec5 27%, #3a4966 43%, #111e38 64%, #070e20 100%); }
.galaxy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#fff 0%, #ffffffb0 10%, #ffffff00 42%); }
.galaxy-nebula { position: absolute; inset: 25% -15% -25%; transform: rotate(-10deg); background: radial-gradient(ellipse at 30% 52%, #8e8de63d, transparent 45%), radial-gradient(ellipse at 63% 48%, #c8dff959, transparent 39%), radial-gradient(ellipse at 78% 38%, #71bdd733, transparent 35%); filter: blur(20px); animation: nebula-breathe 16s ease-in-out infinite alternate; }
.galaxy-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.galaxy-stars-distant { animation: starlight 7s ease-in-out infinite alternate; }
.galaxy-stars-near { animation: starlight 10s ease-in-out -5s infinite alternate-reverse; }
@keyframes starlight { from { opacity: .55; } to { opacity: 1; } }
@keyframes nebula-breathe { from { opacity: .6; transform: rotate(-10deg) scale(1); } to { opacity: 1; transform: rotate(-10deg) scale(1.08); } }

@media (max-width: 960px) {
  div.wrapper { width: min(760px, calc(100% - 48px)); margin: 0 auto; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; }
  header.profile { top: 24px; padding-top: 36px; }
  .portrait { width: 150px; height: 150px; }
  .profile h1 { font-size: 28px; }
  .affiliation { font-size: 15px; }
  .section-nav { gap: 6px; font-size: 12px; }
  .content { padding-top: 39px; }
  .paper { grid-template-columns: 135px minmax(0, 1fr); gap: 16px; }
  .paper-visual img { height: 98px; }
}
@media (max-width: 680px) {
  .galaxy { height: 110px; }
  div.wrapper { display: block; width: calc(100% - 40px); max-width: 540px; }
  header.profile { position: static; padding-top: 34px; }
  .portrait { width: 150px; height: 150px; margin-bottom: 19px; }
  .profile h1 { font-size: 30px; }
  .affiliation { font-size: 17px; }
  .profile-links { margin-top: 21px; }
  .section-nav { font-size: 15px; gap: 12px; margin-top: 20px; }
  .content { padding-top: 37px; }
  .content section { margin-bottom: 28px; }
  .content h2 { font-size: 25px; }
  .paper { grid-template-columns: 1fr; gap: 14px; margin-bottom: 31px; }
  .paper-visual { width: min(260px, 100%); }
  .paper-visual img { height: 125px; }
  .paper-info h3 { font-size: 19px; }
  .paper-info p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .galaxy-stars, .galaxy-nebula { animation: none; }
}
@media print {
  div.wrapper { width: 100%; grid-template-columns: 210px minmax(0, 1fr); gap: 35px; }
  header.profile { position: static; }
  .paper { break-inside: avoid; }
  .galaxy { display: none; }
}
