/* 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: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.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: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.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-ext */
@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/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.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: 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 {
  --bg: #f4f0ea;
  --paper: #fffdfa;
  --paper-strong: #fffaf4;
  --text: #24313f;
  --muted: #627282;
  --heading: #16202b;
  --link: #1f5f8b;
  --link-hover: #cc7a29;
  --border: #e7ddd2;
  --shadow: 0 18px 40px rgba(36, 49, 63, 0.08);
  --shadow-soft: 0 10px 24px rgba(36, 49, 63, 0.06);
  --radius: 22px;
  --radius-sm: 16px;
  --section-gap: 18px;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:focus,
a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a,
li {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.72;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(227, 210, 188, 0.35), transparent 32%),
    linear-gradient(180deg, #f5f0e9 0%, #f8f5f0 48%, #f2eee8 100%);
  color: var(--text);
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: inherit;
}

p {
  margin: 0 0 1rem;
}

h2 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 27px;
  letter-spacing: 0.01em;
}

.page-shell {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
}

.page-cell {
  padding: 24px 0 36px;
}

.surface {
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid rgba(231, 221, 210, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.intro-table,
.section-table,
.publication-table,
.honor-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin: 0 auto;
}

.intro-row {
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.98), rgba(250, 245, 238, 0.94));
}

.intro-text {
  width: 65%;
  padding: 42px 34px 34px 42px;
  vertical-align: middle;
}

.intro-photo {
  width: 35%;
  max-width: 35%;
  padding: 34px 42px 34px 12px;
  vertical-align: middle;
}

.name {
  margin: 0 0 18px;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 40px;
  line-height: 1.08;
  color: var(--heading);
  text-align: left;
}

.intro-lead {
  font-size: 16px;
  color: #2c3945;
}

.profile-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  color: var(--heading);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.profile-links a:hover {
  color: var(--link-hover);
  border-color: rgba(204, 122, 41, 0.3);
}

.profile-photo-link {
  display: block;
}

.profile-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(231, 221, 210, 0.95);
  box-shadow: 0 16px 34px rgba(36, 49, 63, 0.12);
  display: block;
  margin-left: auto;
}

.section-cell {
  padding: 30px 42px 10px;
  vertical-align: middle;
}

.section-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.experience-wrap {
  padding: 8px 26px 6px;
}

.experience-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin: 0 auto;
}

.experience-row {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(255, 253, 249, 0.98));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.experience-media {
  width: 24%;
  padding: 18px 10px 18px 18px;
  vertical-align: middle;
}

.experience-content {
  width: 76%;
  padding: 20px 24px 20px 8px;
  vertical-align: middle;
}

.experience-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231, 221, 210, 0.9);
  background: linear-gradient(180deg, #fffdfa 0%, #f6efe7 100%);
}

.experience-logo {
  width: 100%;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.experience-role {
  margin-top: 8px;
  color: #334250;
  font-size: 16px;
}

.experience-meta {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 194, 174, 0.9);
  color: #8c5a2b;
  font-size: 13px;
  font-weight: 700;
}

.publication-wrap {
  padding: 8px 26px 8px;
}

.publication-table {
  border-spacing: 0 16px;
}

.pub-row {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(255, 253, 249, 0.98));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.pub-row.highlighted {
  background: linear-gradient(180deg, rgba(255, 249, 221, 0.98), rgba(255, 252, 238, 0.98));
  border: 1px solid rgba(237, 198, 98, 0.52);
}

.pub-media {
  width: 27%;
  padding: 18px 10px 18px 18px;
  vertical-align: middle;
}

.pub-content {
  width: 73%;
  padding: 20px 24px 20px 8px;
  vertical-align: middle;
}

.media-frame {
  position: relative;
  width: 100%;
  height: 172px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231, 221, 210, 0.9);
  background: linear-gradient(180deg, #fffdfa 0%, #f6efe7 100%);
  overflow: hidden;
}

.one {
  width: 100%;
  height: 100%;
  position: relative;
}

.two {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.28s ease-in-out;
  -moz-transition: opacity 0.28s ease-in-out;
  -webkit-transition: opacity 0.28s ease-in-out;
}

.pub-figure,
.pub-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pub-video {
  background: transparent;
}

.papertitle {
  display: inline-block;
  margin-bottom: 4px;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--heading);
}

.pub-authors,
.pub-links,
.pub-summary,
.pub-meta {
  margin-top: 8px;
}

.pub-authors,
.pub-meta {
  color: #334250;
}

.pub-meta {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.pub-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8d974, #efbf43);
  color: #5c3d00;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(239, 191, 67, 0.22);
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pub-links .divider {
  color: #a6b0b9;
}

.pub-summary {
  color: #536270;
}

.fade {
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.honor-cell {
  padding: 12px 42px 36px;
}

.honor-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.honor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(231, 221, 210, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(255, 253, 249, 0.98));
  box-shadow: var(--shadow-soft);
}

.honor-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.honor-title {
  font-size: 16px;
  color: var(--heading);
}

.honor-detail {
  color: var(--muted);
  font-size: 14px;
}

.honor-meta {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 194, 174, 0.9);
  color: #8c5a2b;
  font-size: 13px;
  font-weight: 700;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
  color: black;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
}

@media screen and (max-width: 860px) {
  .surface {
    border-radius: 24px;
  }

  .intro-text,
  .intro-photo,
  .section-cell,
  .honor-cell {
    padding-left: 26px;
    padding-right: 26px;
  }

  .intro-text {
    padding-top: 32px;
    padding-bottom: 18px;
  }

  .intro-photo {
    padding-top: 8px;
    padding-bottom: 28px;
  }

  .pub-media,
  .pub-content,
  .experience-media,
  .experience-content {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .pub-media,
  .experience-media {
    padding: 18px 18px 8px;
  }

  .pub-content,
  .experience-content {
    padding: 8px 18px 20px;
  }

  .media-frame {
    height: 200px;
  }

  .experience-logo-frame {
    min-height: 172px;
  }
}

@media screen and (max-width: 640px) {
  .page-cell {
    padding-top: 14px;
    padding-bottom: 20px;
  }

  .surface {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .intro-row,
  .pub-row,
  .experience-row {
    display: block;
  }

  .intro-text,
  .intro-photo,
  .pub-media,
  .pub-content,
  .experience-media,
  .experience-content {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .intro-text {
    padding: 28px 20px 12px;
  }

  .intro-photo {
    padding: 0 20px 24px;
  }

  .name {
    font-size: 32px;
    text-align: center;
  }

  .intro-lead,
  .intro-text p {
    font-size: 15px;
  }

  .profile-links {
    justify-content: center;
  }

  .profile-photo {
    margin: 0 auto;
    max-width: 200px;
  }

  .section-cell,
  .honor-cell {
    padding: 22px 20px 10px;
  }

  .publication-wrap,
  .experience-wrap {
    padding: 4px 12px 8px;
  }

  .publication-table {
    border-spacing: 0 12px;
  }

  .pub-media {
    padding: 16px 16px 6px;
  }

  .pub-content {
    padding: 8px 16px 18px;
  }

  .media-frame {
    height: 188px;
  }

  .papertitle {
    font-size: 17px;
  }

  .pub-links {
    gap: 6px;
  }

  .honor-cell {
    padding-bottom: 28px;
  }
}

.site-credit {
  padding: 22px 42px 34px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-credit a {
  color: var(--muted);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .site-credit {
    padding: 18px 22px 26px;
    font-size: 12px;
  }
}
