@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/lato-regular.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/lato-bold.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/lato-italic.woff2') format('woff2'); }
:root { color-scheme: light; --ink: #111; --muted: #596572; --blue: #1772d0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: white; font-family: 'Lato', Verdana, Helvetica, sans-serif; font-size: 14px; line-height: 1.35; }
a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
a:hover { color: #a95d06; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
p { margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.3; }
h1 { margin: 0 0 14px; font-size: 32px; font-weight: 400; text-align: center; }
h2 { margin: 0 0 18px; font-size: 22px; font-weight: 400; }
h3 { margin: 0; font-size: 14px; font-weight: 700; }
figure { margin: 0; }
img { display: block; max-width: 100%; width: 100%; height: auto; }
.page { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 9px 14px; background: white; z-index: 2; }
.skip-link:focus { top: 12px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: center; padding: 30px 0; }
.intro-copy > p { margin-bottom: 14px; }
.portrait img { height: auto; }
.fun-facts { margin: 0 0 14px; }
.fun-facts h2 { font-size: 14px; font-weight: 700; margin: 0 0 5px; }
.fun-facts p { margin: 0; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 0; list-style: none; margin: 0; padding: 0; }
.social-links li + li::before { content: "/"; margin: 0 11px; color: var(--ink); }
.section { margin: 0 0 30px; }
.project, .paper.with-media {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.project { margin: 0 0 28px; }
.project-media img { max-height: 160px; object-fit: contain; }
.project-media figcaption { font-size: 12px; color: var(--muted); margin-top: 5px; }
.project-copy .context { font-style: italic; margin: 3px 0 1px; }
.resource-links { display: flex; flex-wrap: wrap; margin: 2px 0 8px; }
.resource-links a + a::before { content: "/"; color: var(--ink); display: inline-block; margin: 0 5px; }
.project-copy .summary { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 12px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.tags li + li::before { content: '·'; margin-right: 12px; }
.paper { margin: 0 0 23px; }
.paper h3 { margin: 0 0 3px; }
.paper p { margin: 0; }
.paper-status { font-style: italic; }
.paper-detail { color: var(--muted); margin-top: 4px !important; }
.paper-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.paper .paper-authors { margin-bottom: 3px; }
.paper .resource-links { margin: 3px 0 0; }
.paper .paper-summary { margin-top: 10px; }
.background { margin-top: 30px; }
.background > div + div { margin-top: 28px; }
.background-entry { margin-bottom: 22px; }
.background-entry.with-image { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 24px; }
.organization-image img { width: 90px; height: 80px; object-fit: contain; }
.organization-image img[src$="syncere.webp"] { filter: brightness(0); padding: 9px; }
.organization-image img[alt^="MARS Lab"] { object-fit: cover; object-position: 82% center; }
.background-entry h3 { font-size: 14px; }
.background-entry p { font-size: 14px; margin: 2px 0; }
.background-entry .date { font-style: italic; }
.background-entry .detail { margin-top: 9px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 11px; color: var(--muted); padding: 0 0 28px; }
footer p { margin: 0; }
@media (max-width: 700px) {
  .intro { grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; }
}
@media (max-width: 560px) {
  .page { padding: 0 22px; }
  .intro { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 30px; }
  .intro-copy { display: contents; }
  h1 { grid-row: 1; margin: 0; text-align: left; }
  .portrait { grid-row: 2; width: 132px; }
  .intro-copy > p { margin: 0; }
  .fun-facts { margin: 0; }
  .social-links { justify-content: flex-start; }
  .project, .paper.with-media { grid-template-columns: 125px minmax(0, 1fr); gap: 18px; align-items: start; }
  .background-entry.with-image { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .organization-image img { width: 64px; height: 64px; }
}
@media (max-width: 440px) {
  .project, .paper.with-media { grid-template-columns: 1fr; gap: 10px; }
  .project-media, .paper-media { width: min(160px, 100%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .page { padding: 0; max-width: none; }
  .intro { padding-top: 0; }
  .skip-link, footer { display: none; }
  .project, .paper, .background-entry { break-inside: avoid; }
  a { color: inherit; }
}
