:root {
  color-scheme: light;

  --bg: #fffcf8;
  --surface: #ffffff;
  --ink: #1d1c1a;
  --text: #34312c;
  --muted: #66615a;
  --menu: #47433d;
  --rule: #e9e3d9;
  --rule-strong: #d8d0c3;
  --link: #516943;
  --link-hover: #3c4f31;
  --link-line: rgba(81, 105, 67, 0.3);
  --author-line: #aaa398;
  --accent: #658354;
  --tint: #ebf0e5;
  --tint-text: #3f5434;
  --portrait-filter: none;

  --band-top: #445c39;
  --band-bottom: #2f4028;
  --on-band: #ffffff;
  --on-band-muted: #d2dcc8;
  --on-band-line: rgba(255, 255, 255, 0.28);

  --serif: 'Newsreader Variable', Georgia, serif;
  --sans: 'Inter Variable', sans-serif;

  --side-w: 240px;
  --content-w: 580px;
  --col-gap: clamp(36px, 3.6vw, 52px);

  --gutter: 20px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1916;
  --surface: #23221e;
  --ink: #efebe3;
  --text: #d6d1c7;
  --muted: #a49e93;
  --menu: #c9c4b9;
  --rule: #33302a;
  --rule-strong: #4a463e;
  --link: #a6c493;
  --link-hover: #c3dab4;
  --link-line: rgba(166, 196, 147, 0.32);
  --author-line: #6c665c;
  --accent: #86a673;
  --tint: #2b3426;
  --tint-text: #cfe0c3;
  --portrait-filter: brightness(0.92);
  --band-top: #3a4c31;
  --band-bottom: #2b3925;
  --on-band-muted: #ccd8c1;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, address { margin: 0; }

ul { padding: 0; list-style: none; }

address { font-style: normal; }

img { display: block; max-width: 100%; }

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

.topbar-inner {
  display: flex;
  align-items: center;
  max-width: calc(var(--content-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.menu {
  display: flex;
  align-items: center;
}

.menu a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.menu a:hover { color: var(--ink); }

@media (min-width: 1024px) {
  .topbar-inner {
    max-width: none;
    display: grid;
    grid-template-columns: var(--side-w) minmax(0, var(--content-w));
    column-gap: var(--col-gap);
    justify-content: center;
  }

  .menu {
    grid-column: 2;
    justify-self: start;
  }

  .menu a { color: var(--menu); }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: calc(var(--content-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}

.content { margin-top: 40px; }

@media (max-width: 389px) {
  :root { --gutter: 16px; }
}

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .page { padding-top: 40px; }
  .content { margin-top: 56px; }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --content-w: 592px;
  }

  .page {
    max-width: none;
    display: grid;
    grid-template-columns: var(--side-w) minmax(0, var(--content-w));
    grid-template-rows: auto 1fr;
    column-gap: var(--col-gap);
    justify-content: center;
    padding-top: 48px;
  }

  .side {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    min-width: 0;
  }

  .content {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    margin-top: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  :root { --side-w: 216px; }
}

@media (min-width: 1024px) and (min-height: 598px) {
  .side {
    position: sticky;
    top: calc(var(--bar-h) + 48px);
  }
}

.portrait {
  border-radius: 4px;
  object-fit: cover;
  object-position: 50% 22%;
  background: var(--rule);
  box-shadow: 0 0 0 1px var(--rule);
  filter: var(--portrait-filter);
}

.name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 9.4vw, 2.5rem);
  font-weight: 440;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.name a {
  color: inherit;
  text-decoration: none;
}

.name a:hover {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.15em;
}

@media (max-width: 1023px) {
  .name a {
    display: inline-block;
    padding-block: 8px;
    margin-block: -8px;
  }
}

.position {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.role,
.org { display: block; }

.role { color: var(--text); }

.org { color: var(--muted); }

.sep { display: none; }

.quicklinks {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  margin-top: 18px;
}

.quicklinks a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-size: 0.9375rem;
  text-decoration: none;
}

.quicklinks a:hover { color: var(--link); }

.quicklinks svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.quicklinks a:hover svg { color: currentColor; }

@media (max-width: 359px) {
  .quicklinks { column-gap: 20px; }
  .quicklinks a { gap: 8px; font-size: 0.875rem; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .name { font-size: 2.5rem; }

  .position { margin-top: 10px; }

  .role,
  .sep { display: inline; }

  .org { display: inline-block; }

  .quicklinks {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    margin-top: 12px;
  }

  .quicklinks a { min-height: 40px; }
}

@media (min-width: 1024px) {
  .name { font-size: 2rem; }

  .position {
    margin-top: 14px;
    font-size: 0.875rem;
  }

  .quicklinks {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 26px;
  }

  .quicklinks a {
    width: fit-content;
    min-height: 34px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .name { font-size: 1.75rem; }
}

@media (max-width: 1023px) {
  :root:not([data-page="home"]) .identity { display: block; }

  :root:not([data-page="home"]) .identity > :not(.name) { display: none; }

  :root:not([data-page="home"]) .name { font-size: 1.75rem; }

  :root:not([data-page="home"]) .content { margin-top: 32px; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  :root:not([data-page="home"]) .name { font-size: 2rem; }
  :root:not([data-page="home"]) .content { margin-top: 44px; }
}

.section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.content > .section:first-of-type,
.research > .section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.section-label {
  margin-bottom: 26px;
  color: var(--label);
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bio { font-size: 0.90625rem; }

@media (min-width: 311px) and (max-width: 331px) {
  .bio { font-size: 0.84375rem; }
}

@media (min-width: 350px) and (max-width: 369px) {
  .bio { font-size: 0.875rem; }
}

@media (min-width: 350px) and (max-width: 357px) {
  .bio { font-size: 0.84375rem; }
}

@media (min-width: 400px) and (max-width: 449px) {
  .bio { font-size: 0.96875rem; }
}

.bio p + p { margin-top: 0.9em; }

@media (min-width: 600px) {
  .bio { font-size: 1rem; }
}

.bio .fields {
  display: flex;
  align-items: baseline;
  column-gap: 0.8em;
  margin-top: 1.1em;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: left;
  text-wrap: balance;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.fields-label {
  flex: none;
  color: var(--label);
  font-size: 0.6875rem;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fields-list { min-width: 0; }

.field { white-space: nowrap; }

@media (max-width: 359px) {
  .bio .fields { flex-wrap: wrap; }
}

@media (min-width: 1024px) {
  .section { margin-top: 44px; }
  .bio { line-height: 1.7; }
}

.bio p,
.abstract p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;

  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  -webkit-hyphenate-limit-lines: 1;
  hyphenate-limit-chars: 10 4 4;
}

.paper-list {
  display: grid;
  gap: 36px;
}

.paper-list-compact { gap: 22px; }

.paper {
  display: flex;
  flex-direction: column;
}

.paper-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 470;
  line-height: 1.3;
  text-wrap: pretty;
}

.paper-list-compact .paper-title { font-size: 1.125rem; }

@media (min-width: 600px) {
  .paper-title { text-wrap: balance; }
  .paper-title .subtitle { display: inline-block; }
}

.paper-authors,
.paper-venue,
.paper-note {
  margin-top: 5px;
  font-size: 0.90625rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.paper-authors { color: var(--text); }

.paper-authors a {
  color: inherit;
  text-decoration-color: var(--author-line);
}

.paper-authors a:hover { color: var(--link); text-decoration-color: currentColor; }

.paper-venue { color: var(--text); }

.paper-venue cite { font-style: italic; }

.paper-venue .venue-ref { white-space: nowrap; }

.paper-note { color: var(--muted); }

.paper-authors + .paper-venue,
.paper-venue + .paper-note { margin-top: 2px; }

.paper-links { position: relative; }

.paper-links summary,
.paper-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  line-height: 1;
}

.paper-links summary {
  width: var(--summary-w);
  color: var(--muted);
  list-style: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.paper-links summary::-webkit-details-marker { display: none; }

.paper-links summary::marker { content: ""; }

.paper-links summary:hover { color: var(--ink); }

.paper-links summary svg {
  flex: none;
  width: 13px;
  height: 13px;
  stroke-width: 1.6;
  transition: transform 0.2s ease;
}

.paper-links details[open] summary svg { transform: rotate(90deg); }

.paper-link {
  position: absolute;
  top: 0;
  gap: 3px;
  color: var(--link);
  font-weight: 560;
  text-decoration: none;
}

.paper-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}

.paper-link:hover { color: var(--link-hover); }

.paper-link .oa { font-weight: 430; }

.abstract {
  margin: 2px 0 8px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.7;
  word-spacing: -0.03em;
}

@media (max-width: 399px) {
  .abstract { font-size: 0.84375rem; }
}

@media (max-width: 639px) {
  .abstract {
    margin-top: 8px;
    padding-top: 0;
    padding-left: 12px;
    border-top: 0;
    border-left: 2px solid var(--rule-strong);
  }
}

@media (min-width: 640px) {
  .abstract {
    padding-top: 0;
    padding-left: 18px;
    border-top: 0;
    border-left: 2px solid var(--rule-strong);
    font-size: 0.9375rem;
    word-spacing: normal;
  }
}

@media (min-width: 1024px) {
  .abstract {
    padding-left: 14px;
    word-spacing: -0.04em;
  }
}

.more { margin-top: 28px; }

.more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 560;
  text-decoration: none;
}

.more a:hover { text-decoration: underline; }

.more svg {
  flex: none;
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
}

@media (min-width: 1024px) {
  .paper-list { gap: 34px; }
  .paper-title { font-size: 1.3125rem; }
  .paper-list-compact .paper-title { font-size: 1.1875rem; }
  .paper-links summary,
  .paper-link { min-height: 34px; }
  .more { margin-top: 36px; }
  .more a { min-height: 36px; }
}

.contact-grid {
  display: grid;
  gap: 18px;
}

.contact-grid h2 {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-grid address,
.contact-grid li {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 599px), (pointer: coarse) {
  .contact-grid a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .contact-grid ul { margin-block: -10px; }
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: minmax(max-content, 1fr) repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .contact-grid h2 { margin-bottom: 4px; }

  .contact-grid li + li { margin-top: 2px; }
}

.footer-inner {
  max-width: calc(var(--content-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 1024px) {
  .footer-inner {
    max-width: none;
    display: grid;
    grid-template-columns: var(--side-w) minmax(0, var(--content-w));
    column-gap: var(--col-gap);
    justify-content: center;
  }

  .footer-contact { grid-column: 2; }

  .footer-meta { grid-column: 1 / -1; }
}

.footer-meta {
  padding: 22px 0 40px;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
}

@media (min-width: 1024px) {
  .footer-meta { padding-bottom: 48px; }
}

.index { display: none; }

@media (min-width: 1024px) and (min-height: 754px) {
  .index {
    display: block;
    margin-top: 36px;
  }
}

.index ul { border-left: 1px solid var(--rule); }

.index a {
  display: flex;
  align-items: center;
  min-height: 30px;
  margin-left: -1px;
  padding: 0 0 0 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
}

.index a:hover { color: var(--ink); }

.index a[aria-current] {
  border-left-color: var(--accent);
  color: var(--ink);
  font-weight: 550;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .index a {
    padding-left: 12px;
    font-size: 0.8125rem;
  }
}

.opt-contact .site-footer {
  margin-top: 88px;
  background: linear-gradient(180deg, var(--band-top), var(--band-bottom));
  color: var(--on-band-muted);
}

.opt-contact .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--on-band);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }

.footer-contact svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--on-band-muted);
}

.footer-more { font-weight: 560; }

.footer-more svg { width: 15px; height: 15px; stroke-width: 1.5; }

.opt-contact .site-footer :focus-visible { outline-color: var(--on-band); }

.opt-contact .footer-meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top-color: var(--on-band-line);
  color: var(--on-band-muted);
}

.opt-contact[data-page="contact"] .footer-meta {
  margin-top: 0;
  padding: 40px 0;
  border-top: 0;
}

@media (min-width: 600px) {
  .opt-contact .footer-contact {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 28px;
    padding-top: 32px;
  }
}

@media (min-width: 1024px) {
  .opt-contact .site-footer { margin-top: 112px; }

  .opt-contact .footer-contact {
    grid-row: 1;
    padding: 40px 0;
  }

  .opt-contact .footer-contact a { min-height: 40px; }

  .opt-contact:not([data-page="contact"]) .footer-meta {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .opt-contact[data-page="contact"] .footer-meta {
    grid-column: 1;
    display: flex;
    align-items: center;
    min-height: 120px;
  }
}

.opt-nav { --bar-h: 60px; }

@media (min-width: 1024px) {
  .opt-nav { --bar-h: 64px; }
}

@media (max-height: 500px) {
  .opt-nav { --bar-h: 52px; }
}

.opt-nav .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--bar-h);
  border-bottom: 1px solid transparent;
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.opt-nav .topbar.is-stuck { border-bottom-color: var(--rule); }

.opt-nav .topbar-inner { height: 100%; }

.opt-nav .menu {
  width: 100%;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(29, 28, 26, 0.05);
}

.opt-nav .menu a {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.875rem;
}

.opt-nav .menu a[aria-current="page"] {
  background: var(--tint);
  color: var(--tint-text);
}

.opt-nav .theme-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

@media (hover: hover) {
  .opt-nav .theme-toggle:hover { color: var(--ink); background: var(--tint); }
}

.theme-toggle svg { width: 17px; height: 17px; stroke-width: 1.4; }

.theme-toggle .icon-sun,
.theme-toggle[aria-pressed="true"] .icon-moon { display: none; }

.theme-toggle[aria-pressed="true"] .icon-sun { display: block; }

@media (max-width: 379px) {
  .opt-nav .topbar-inner { padding: 0 12px; }
  .opt-nav .menu a { padding: 0 4px; font-size: 0.8125rem; }
  .opt-nav .theme-toggle { margin-left: 0; }
}

@media (min-width: 600px) {
  .opt-nav .menu { width: auto; }
  .opt-nav .menu a { flex: none; padding: 0 14px; }
}

@media (min-width: 600px) and (pointer: fine) {
  .opt-nav .menu a { min-height: 36px; }
  .opt-nav .theme-toggle { width: 36px; height: 36px; margin-left: 4px; }
}

@media (min-width: 1024px) {
  .opt-nav .menu a { padding: 0 17px; font-size: 1rem; }
}

@media (min-width: 1024px) and (pointer: fine) {
  .opt-nav .menu a { min-height: 38px; }
  .opt-nav .theme-toggle { width: 38px; height: 38px; }
}

.opt-greenlabels { --label: var(--link); }

.opt-pills .paper-links {
  --summary-w: 6.5rem;
  margin-top: -3px;
}

.opt-pills .paper-links summary,
.opt-pills .paper-link {
  isolation: isolate;
  justify-content: center;
  padding: 0 12px;
  font-size: 0.8125rem;
}

.opt-pills .paper-links summary {
  position: relative;
  gap: 6px;
}

.opt-pills .paper-link {
  left: calc(var(--summary-w) + 8px);
  padding-right: 10px;
}

.opt-pills .paper-link:only-child { position: relative; left: 0; }

.opt-pills .paper-links summary::before,
.opt-pills .paper-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7px 0;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}

.opt-pills .paper-link::before { border-color: var(--link-line); }

.opt-pills .paper-links summary:hover::before { border-color: var(--muted); }

.opt-pills .paper-link:hover { text-decoration: none; }

.opt-pills .paper-link:hover::before { border-color: currentColor; }

.opt-pills .paper-links details[open] summary { color: var(--tint-text); }

.opt-pills .paper-links details[open] summary::before {
  border-color: transparent;
  background: var(--tint);
}

.opt-pills .paper-links summary:focus-visible,
.opt-pills .paper-link:focus-visible { outline: none; }

.opt-pills .paper-links summary:focus-visible::before,
.opt-pills .paper-link:focus-visible::before {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.opt-pills .abstract { margin-top: 2px; }

@media (min-width: 1024px) {
  .opt-pills .paper-links { margin-top: 6px; }

  .opt-pills .paper-links summary::before,
  .opt-pills .paper-link::before { inset: 3px 0; }

  .opt-pills .abstract { margin-top: 8px; }
}

@media (pointer: coarse) {
  .opt-pills .paper-links summary::before,
  .opt-pills .paper-link::before { inset: 7px 0; }
}

.paper-buttons {
  position: absolute;
  top: 0;
  left: calc(var(--summary-w) + 8px);
  display: flex;
  gap: 8px;
}

.paper-buttons:only-child { position: relative; left: 0; }

.paper-links .paper-buttons .paper-link {
  position: relative;
  left: 0;
  flex: none;
  white-space: nowrap;
}

@media (max-width: 359px) {
  .paper-buttons { gap: 6px; }
}

.bio-portrait { display: none; }

@media (max-width: 599px) {
  .opt-pbio .identity {
    display: grid;
    grid-template-rows: auto auto 1fr;
    column-gap: 20px;
    align-items: start;
  }

  .opt-pbio .identity > * { grid-column: 1 / -1; }

  .opt-pbio .name,
  .opt-pbio .position { grid-column: 1; }

  .opt-pbio .portrait {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .opt-pbig.opt-pbio .identity {
    --ph: calc(51.3px + 2.13 * clamp(1.75rem, 9.4vw, 2.5rem));
    grid-template-columns: minmax(0, 1fr) calc(var(--ph) * 0.8);
  }

  .opt-pbig.opt-pbio .portrait {
    width: calc(var(--ph) * 0.8);
    height: var(--ph);
    margin-top: calc(0.1 * clamp(1.75rem, 9.4vw, 2.5rem) - 1.5px);
  }
}

@media (max-width: 350px) {
  .opt-pbig.opt-pbio .identity { --ph: calc(72.8px + 2.13 * clamp(1.75rem, 9.4vw, 2.5rem)); }
}

@media (min-width: 525px) and (max-width: 599px) {
  .opt-pbig.opt-pbio .identity { --ph: 92.5px; }
}

@media (min-width: 600px) {
  .opt-pbio .portrait { display: none; }

  .opt-pbio .section-about {
    display: grid;
    column-gap: clamp(32px, calc(100vw - 596px), 48px);
    align-items: start;
  }

  .opt-pbio .bio {
    grid-column: 1;
    grid-row: 1;
  }

  .opt-pbio .bio-portrait {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    margin-top: 7px;
    border-radius: 4px;
    object-fit: cover;
    object-position: 50% 22%;
    background: var(--rule);
    box-shadow: 0 0 0 1px var(--rule);
    filter: var(--portrait-filter);
  }

  .opt-pbig.opt-pbio .section-about { grid-template-columns: minmax(372px, 1fr) minmax(0, 160px); }
}

@media (min-width: 1024px) {
  .opt-pbig.opt-pbio .section-about {
    grid-template-columns: minmax(0, 1fr) 172px;
    column-gap: 48px;
  }
}

@media (min-width: 1600px) {
  .opt-wideside { --side-w: 340px; }
}

@media (min-width: 1600px) {
  .opt-widetext {
    --content-w: clamp(592px, calc(592px + (100vw - 1600px) * 0.4), 720px);
  }
}

@media (pointer: coarse) {
  .paper-links summary,
  .paper-link,
  .quicklinks a,
  .more a,
  .index a { min-height: 44px; }

  .paper-authors a { padding-block: 6px; }
}

@media print {
  .topbar,
  .index,
  .skip-link,
  .more,
  .site-footer,
  .portrait,
  .bio-portrait { display: none !important; }

  html,
  body { background: #ffffff !important; color: #000000; }

  body { display: block; min-height: 0; }

  .page { display: block !important; max-width: none; padding: 0 !important; }

  .side {
    position: static !important;
    display: block !important;
  }

  .identity { display: block !important; }

  .identity > :not(.portrait) { display: block !important; }

  .content { margin-top: 32px !important; }
}
