/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #f9f7f2;
  --text: #111a1e;
  --accent: #b63872;
  --accent-hover: #84244f;
  --accent-soft: #f7e3ec;
  --accent-border: #d58eae;
  --muted: #65747b;
  --muted-light: #a3afb4;
}

* {
  box-sizing: border-box;
}

::selection {
  background: #f4a8cf;
  color: var(--text);
}

::-moz-selection {
  background: #f4a8cf;
  color: var(--text);
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--text);
}

body, td, p, a, div, article {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:focus,
a:hover {
  color: var(--accent-hover);
}

strong {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.page {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding-bottom: 54px;
}

.intro-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
}

.intro-copy {
  width: 69%;
  padding: 2.5%;
  text-align: left;
  vertical-align: middle;
}

.intro-photo {
  width: 31%;
  max-width: 31%;
  padding: 2.5%;
  vertical-align: middle;
}

.intro-photo a {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  background: url("images/profile.jpg?v=20260822c") 65% 72% / 130% auto no-repeat;
}

.intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.name {
  margin: 0;
  padding-top: 20px;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.profile-links {
  text-align: left;
}

.profile-links,
.profile-links a {
  font-size: 14px;
}

section {
  margin: 48px 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--text);
}

h2 {
  margin: 0 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.publication-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.publication-filter {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted-light);
}

.publication-filter-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.publication-filter-button:hover,
.publication-filter-button:focus-visible {
  color: var(--accent-hover);
  outline: none;
}

.publication-filter-button.active {
  color: var(--text);
  font-weight: 700;
  cursor: default;
}

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

.paper-entry {
  width: 100%;
}

.publication-extra[hidden] {
  display: none;
}

.papertitle {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.paper-entry > a:first-child {
  text-decoration: none;
}

.paper-entry > a:first-child:hover .papertitle,
.paper-entry > a:first-child:focus .papertitle {
  color: var(--accent);
}

.oral-badge {
  display: inline-block;
  margin: 0;
  padding: 2px 8px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.oral-rate {
  color: var(--accent);
}

.publication-venue-row,
.oral-highlight {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.publication-venue-row {
  gap: 6px 12px;
}

.oral-highlight {
  gap: 6px;
}

.muted-text {
  color: inherit;
  font-weight: 300;
}

.paper-entry .muted-text strong {
  font-weight: 500;
}

.publication-venue {
  font-style: normal;
  font-weight: 400;
}

.publication-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 14px;
  align-items: baseline;
}

.publication-links > span {
  color: var(--text);
}

.dated-list {
  display: grid;
  gap: 14px;
}

.education-list,
.project-list,
.experience-list {
  gap: 24px;
}

.dated-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.date {
  text-align: right;
  white-space: nowrap;
}

.honors-list {
  gap: 4px;
}

.honors-list .dated-entry {
  padding: 2px 0;
}

@media (max-width: 620px) {
  .page {
    padding: 8px 10px 44px;
  }

  .intro-table,
  .intro-table tbody,
  .intro-table td {
    display: block;
    width: 100%;
    max-width: none;
  }

  .intro-table tr {
    display: flex;
    flex-direction: column;
  }

  .intro-photo {
    order: -1;
    width: min(60%, 230px) !important;
    margin: 0;
    padding: 10px 12px 0;
  }

  .intro-copy {
    padding: 18px 12px 8px;
  }

  .name {
    padding-top: 6px;
  }

  section {
    margin-top: 40px;
    margin-right: 12px;
    margin-left: 12px;
    padding-top: 16px;
  }

  .dated-entry {
    position: relative;
    display: block;
  }

  .dated-primary {
    display: inline-block;
    max-width: calc(100% - 112px);
  }

  .date {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 1px;
    text-align: right;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
  }

  .honors-list .dated-entry {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .honors-list .date {
    position: static;
  }
}
