body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

header {
  margin-bottom: 40px;
}

h1 {
  margin-bottom: 5px #111;
}

.subtitle {
  font-size: 1.1em;
  color: #555;
}


a {
  color: #c2185b;        /* muted rose */
  text-decoration: none;
}

a:hover {
  color: #a31545;
  text-decoration: underline;
}

.links a {
  color: #c2185b;
  text-decoration: none;
}

.links a:hover {
  color: #a31545;
  text-decoration: underline;
}

section {
  margin-bottom: 40px;
}

h2 {
  border-bottom: 1px solid #111;
  padding-bottom: 5px;
}

.project {
  margin-bottom: 25px;
}

.muted {
  color: #666;
  font-size: 0.95em;
}

footer {
  text-align: center;
  margin-top: 60px;
}


/* --- Project row layout (Jon Barron style) --- */
.project-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 16px 24px;
  margin: 18px 0;
  background: #fff0f6;          /* light pink highlight */
  border-radius: 10px;
}

.project-links a{
  color: #c2185b;
  margin-top: 8px;
  font-size: 0.95em;
}

.project-links a:hover {
  color: #a31545;
  text-decoration: underline;
}


/* Fixed image column like Jon’s site */
.project-media {
  flex: 0 0 170px;              /* image column width */
}

.project-media img {
  width: 170px;                 /* hard cap so it NEVER fills the page */
  max-width: 170px;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Text column */
.project-text {
  flex: 1;
}

.project-text h3 {
  margin: 0 0 6px 0;
}

.project-keywords {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 0.95em;
}

/* Mobile: stack image on top */
@media (max-width: 720px) {
  .project-row {
    flex-direction: column;
  }
  .project-media {
    flex: 0 0 auto;
  }
  .project-media img {
    width: 100%;
    max-width: 360px;
  }
}

/* --- Publications (pink cards, like projects) --- */
.pub-row {
  padding: 16px 24px;
  margin: 18px 0;
  background: #fff0f6;
  border-radius: 10px;
}

.pub-title {
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 6px;
  color: #111;
}

.pub-authors {
  color: #444;
  margin-bottom: 4px;
}

.pub-venue {
  color: #666;
  margin-bottom: 10px;
  font-size: 0.95em;
}

.pub-links a {
  color: #c2185b;
  text-decoration: none;
}

.pub-links a:hover {
  text-decoration: underline;
}

.pub-authors b {
  font-weight: 600;   /* softer than default bold */
}

