@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");
}

@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");
}

@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");
}

:root {
  --link: #1c5db6;
  --link-hover: #d97706;
  --text: #222;
  --muted: #5f6570;
  --shell-bg: #fffdf9;
  --surface: #ffffff;
  --spotlight: #fff6d8;
  --border: #e8e0d2;
  --thumb-bg: linear-gradient(135deg, #eef5ff 0%, #dbe9ff 100%);
  --thumb-border: #c7d9f8;
}

html {
  scroll-behavior: smooth;
}

body,
td,
th,
tr,
p,
a {
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fff7e6 0, transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #ffffff 180px);
}

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

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

p {
  margin: 0 0 14px;
  line-height: 1.6;
}

strong {
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0 0 8px;
  font-weight: normal;
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 24px;
}

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

.intro-shell,
.section-shell,
.list-shell,
.timeline-shell,
.footer-shell {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin: 0 auto;
}

.name {
  margin: 0 0 24px;
  font-size: 38px;
  line-height: 1.05;
  text-align: center;
}

.role-line {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.intro-copy {
  padding: 72px 18px 8px;
  width: 66%;
  vertical-align: top;
}

.intro-photo {
  padding: 52px 18px 8px 8px;
  width: 34%;
  max-width: 34%;
  vertical-align: top;
}

.portrait {
  width: 100%;
  max-width: 250px;
  display: block;
  margin-left: auto;
  margin-top: 0;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(12, 27, 52, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.link-row {
  margin-top: 16px;
  text-align: center;
}

.divider {
  display: inline-block;
  margin: 0 8px;
  color: var(--muted);
}

.meta-grid {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-spacing: 12px 0;
  border-collapse: separate;
}

.meta-block {
  width: 50%;
  padding: 14px 16px;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.meta-title {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.section-copy {
  padding: 20px 18px 8px;
  width: 100%;
  vertical-align: middle;
}

.section-gap-top {
  margin-top: 28px;
}

.list-shell {
  border-spacing: 0 12px;
}

.gallery-shell,
.gallery-shell tbody {
  display: block;
  width: 100%;
}

.gallery-shell tbody {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.entry-row {
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.05);
}

.entry-row.spotlight {
  background: var(--spotlight);
}

.gallery-shell .entry-row {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 59, 120, 0.08);
}

.thumb-cell {
  width: 18%;
  padding: 18px 0 18px 18px;
  vertical-align: top;
}

.entry-copy {
  width: 82%;
  padding: 18px 18px 18px 14px;
  vertical-align: top;
}

.entry-copy p:last-child {
  margin-bottom: 0;
}

.gallery-shell .thumb-cell,
.gallery-shell .entry-copy {
  display: block;
  width: auto;
  padding: 0;
}

.gallery-shell .paper-thumb {
  width: 100%;
  height: 84px;
  border: 0;
  border-radius: 0;
  background: #eef3fb;
}

.gallery-shell .project-thumb {
  height: 84px;
}

.gallery-shell .entry-copy {
  padding: 8px 10px 10px;
}

.gallery-shell .entry-copy em {
  color: var(--muted);
}

.gallery-shell .papertitle {
  font-size: 14px;
}

.gallery-shell .entry-copy,
.gallery-shell .entry-copy p,
.gallery-shell .entry-copy a {
  font-size: 12px;
  line-height: 1.45;
}

.paper-thumb {
  width: 116px;
  height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  border: 1px solid var(--thumb-border);
  background: var(--thumb-bg);
  color: #113b78;
  text-align: center;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-thumb {
  height: 82px;
}

.paper-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wide-video-thumb,
.moviegen-thumb {
  width: 160px;
  height: 90px;
  border-radius: 14px;
  background: #000;
}

.paper-thumb-video-fit {
  background: #000;
  object-fit: contain;
}

.paper-thumb:hover,
.paper-thumb:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 59, 120, 0.16);
}

.paper-thumb:focus {
  outline: 2px solid rgba(28, 93, 182, 0.35);
  outline-offset: 2px;
}

.thumb-year {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.thumb-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.papertitle {
  font-size: 16px;
  font-weight: 700;
}

.spotlight-label {
  margin-left: 8px;
  color: #c62828;
  font-weight: 700;
}

.timeline-shell {
  border-spacing: 0 8px;
}

.timeline-shell td {
  padding: 8px 18px;
  vertical-align: top;
}

.timeline-year {
  width: 24%;
  color: var(--muted);
  white-space: nowrap;
}

.timeline-copy {
  width: 76%;
}

.compact-list .entry-row td {
  vertical-align: middle;
}

.footer-shell td {
  padding: 26px 18px 42px;
  color: var(--muted);
  text-align: center;
}

.visitor-map {
  width: 340px;
  height: 216px;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.visitor-map script,
.visitor-map iframe,
.visitor-map img,
.visitor-map div,
.visitor-map canvas {
  transform: scale(1);
  transform-origin: center top;
}

.visitor-map > * {
  max-width: 100%;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 16, 28, 0.78);
  z-index: 1000;
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox-dialog {
  position: relative;
  width: min(92vw, 980px);
  max-height: 90vh;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.media-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 27, 52, 0.08);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.media-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.media-lightbox-stage img,
.media-lightbox-stage video {
  width: 100%;
  max-width: 100%;
  max-height: 76vh;
  border-radius: 16px;
  object-fit: contain;
  background: #f7f8fb;
}

.media-lightbox-caption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 760px) {
  .page-shell {
    margin-top: 20px;
  }

  .intro-shell,
  .meta-grid,
  .list-shell,
  .timeline-shell {
    display: block;
  }

  .intro-shell tbody,
  .intro-shell tr,
  .intro-shell td,
  .meta-grid tbody,
  .meta-grid tr,
  .meta-grid td,
  .list-shell tbody,
  .list-shell tr,
  .list-shell td,
  .timeline-shell tbody,
  .timeline-shell tr,
  .timeline-shell td {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .intro-copy,
  .intro-photo,
  .section-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .intro-copy {
    padding-top: 40px;
  }

  .intro-photo {
    padding-top: 0;
  }

  .portrait {
    margin-top: 0;
  }

  .intro-photo {
    padding-top: 0;
  }

  .portrait {
    margin: 0 auto;
    max-width: 220px;
    border-radius: 24px;
  }

  .name {
    font-size: 32px;
  }

  .role-line {
    font-size: 14px;
  }

  .meta-grid {
    margin-top: 10px;
    border-spacing: 0 10px;
  }

  .meta-block {
    margin-bottom: 10px;
  }

  .thumb-cell {
    padding: 16px 16px 0;
  }

  .entry-copy {
    padding: 12px 16px 18px;
  }

  .paper-thumb {
    width: 100%;
    height: 70px;
    flex-direction: row;
  }

  .wide-video-thumb,
  .moviegen-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-thumb {
    height: 70px;
  }

  .gallery-shell tbody {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-shell .thumb-cell {
    padding: 0;
  }

  .gallery-shell .paper-thumb {
    height: 84px;
    flex-direction: column;
  }

  .gallery-shell .project-thumb {
    height: 84px;
  }

  .gallery-shell .entry-copy {
    padding: 10px 12px 12px;
  }

  .media-lightbox {
    padding: 16px;
  }

  .media-lightbox-dialog {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .visitor-map {
    width: 300px;
    height: 192px;
  }

  .timeline-shell td {
    padding: 4px 16px;
  }

  .timeline-year {
    padding-bottom: 0;
  }
}
