/* COLORS AND FONTS: change these variables to adjust the appearance. */
:root {
  color-scheme: light;
  --ink: #292b2c;
  --muted: #62686b;
  --link: #2c6270;
  --rule: #dedfdd;
  --font-family: "Latin Modern Roman", "Computer Modern", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 18px/1.5 var(--font-family);
  -webkit-text-size-adjust: 100%;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: #153f4b; text-decoration: underline; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 5px;
}
p, h1, h2, h3, h4 { margin: 0; }
.page { width: min(960px, calc(100% - 64px)); margin: 0 auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0 22px;
  border-bottom: 1px solid var(--rule);
}
h1 { font-size: 36px; line-height: 1.25; font-weight: 400; }
nav { display: flex; align-items: center; gap: 27px; padding-top: 5px; font: 15px/1.5 var(--font-family); }
nav a { color: var(--ink); padding: 10px 0; text-decoration: none; }
nav a:hover { color: var(--link); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 65px; padding-top: 32px; }
.biography p + p { margin-top: 14px; }
.profile img { display: block; width: 100%; height: auto; }
.profile { font: 15px/1.5 var(--font-family); }
.profile a { text-decoration: none; }
.profile a:hover { text-decoration: underline; }
.email { display: inline-block; margin-top: 12px; }
.profile-links { display: flex; align-items: center; gap: 11px; margin-top: 3px; }
.profile-links span { color: #94999b; }
.section { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
h2 { font-size: 27px; line-height: 1.35; font-weight: 400; }
.small-link { font: 14px/1.5 var(--font-family); text-decoration: none; }
/* Research headings are native disclosures, usable by mouse, touch, and keyboard. */
.research-group { margin-top: 11px; }
.research-group--work-in-progress { margin-top: 17px; }
.group-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.group-summary::-webkit-details-marker { display: none; }
.group-summary::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}
.research-group[open] > .group-summary::before { transform: rotate(45deg); }
.group-heading { font: 700 16px/1.4 var(--font-family); }
.group-summary:hover { color: var(--link); }
.group-summary:hover .group-heading { text-decoration: underline; text-underline-offset: 3px; }
.papers { list-style: none; padding: 0; margin: 1px 0 0; }
.papers > li + li { margin-top: 22px; }
.paper { max-width: 820px; }
.paper h4 { font-size: 19px; line-height: 1.35; font-weight: 400; }
.paper h4 a { text-decoration: none; }
.paper h4 a:hover { text-decoration: underline; }
.authors { color: #555c60; margin-top: 3px; font-size: 16px; line-height: 1.45; }
.venue { font-size: 16px; line-height: 1.45; margin-top: 1px; }
.paper-notes { margin: 5px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.paper-notes li + li { margin-top: 3px; }
.paper-note { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.paper details { margin-top: 5px; }
.paper summary { width: fit-content; cursor: pointer; color: var(--link); font: 14px/1.5 var(--font-family); padding: 2px 0; }
.paper summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.paper summary::marker { font-size: 10px; }
.paper details > p { max-width: 720px; border-left: 2px solid var(--rule); padding-left: 16px; margin-top: 8px; font-size: 16px; line-height: 1.5; color: #51565a; }
.contact { margin-top: 32px; }
.contact-content { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 65px; margin-top: 16px; }
address { font-size: 16px; line-height: 1.5; font-style: normal; }
address a { display: inline-block; margin-bottom: 7px; text-decoration: none; }
.office { font: 15px/1.5 var(--font-family); color: var(--muted); }
.office span { display: block; color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; margin-top: 30px; padding: 16px 0 24px; border-top: 1px solid var(--rule); color: var(--muted); font: 13px/1.5 var(--font-family); }
.site-footer a { color: var(--muted); text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; background: #fff; padding: 8px 16px; z-index: 2; font-family: var(--font-family); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* TABLETS AND NARROW DESKTOP WINDOWS */
@media (max-width: 760px) {
  .page { width: calc(100% - 48px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 13px; padding-top: 30px; padding-bottom: 16px; }
  h1 { font-size: 32px; }
  nav { gap: 28px; padding: 0; }
  .about { gap: 30px; grid-template-columns: minmax(0, 1fr) 190px; padding-top: 30px; }
  body { font-size: 17px; }
  .contact-content { gap: 30px; grid-template-columns: minmax(0, 1fr) 190px; }
}

/* PHONES */
@media (max-width: 560px) {
  .page { width: calc(100% - 40px); }
  .about { grid-template-columns: 1fr; gap: 26px; }
  .profile { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 22px; }
  .profile img { grid-row: 1 / 3; }
  .email { align-self: end; margin: 0; }
  .profile-links { align-self: start; margin-top: 4px; }
  .section { margin-top: 28px; padding-top: 20px; }
  .section-heading { gap: 10px; }
  h2 { font-size: 25px; }
  .small-link { font-size: 13px; }
  .paper h4 { font-size: 18px; }
  .paper { overflow-wrap: break-word; }
  .contact-content { grid-template-columns: 1fr; gap: 18px; }
  .paper summary { padding: 7px 0; }
  .site-footer { margin-top: 26px; }
}

/* PRINT LAYOUT */
@media print {
  body { color: #000; font-size: 11pt; }
  .page { width: 100%; }
  .site-header { padding-top: 0; }
  nav, .skip-link, .paper details, .site-footer a, .small-link { display: none; }
  .group-summary { min-height: 0; padding: 0; }
  .group-summary::before { display: none; }
  .research-group { margin-top: 22px; }
  .papers { margin-top: 12px; }
  a { color: #000; text-decoration: none; }
  .about { grid-template-columns: minmax(0, 1fr) 150px; gap: 30px; }
  .paper { break-inside: avoid; }
  .section { margin-top: 24px; }
}
