* {
    box-sizing: border-box;
  }
  
  body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
  }
  
  h1 {
    font-size: 2.2em;
    font-weight: normal;
    margin: 0 0 0.2em;
  }
  
  h2 {
    font-size: 1.1em;
    font-weight: normal;
    color: #666;
    margin: 0 0 1em;
  }
  
  h3 {
    font-size: 1em;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    margin: 2.5em 0 0.8em;
    color: #444;
  }
  
  a {
    color: #0066cc;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }
  
  /* Header: photo + name + tagline + social */
  .header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 1.5em;
  }
  
  .header-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .header-text {
    flex: 1;
    min-width: 200px;
  }
  
  .social-links {
    margin-top: 0.5em;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .social-links a {
    color: #333;
    display: inline-flex;
    align-items: center;
  }
  
  .social-links a:hover {
    color: #0066cc;
  }
  
  .social-links img {
    display: block;
    vertical-align: middle;
  }
  
  /* Quirky intro paragraph */
  .intro-note {
    font-style: italic;
    color: #555;
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #eee;
  }
  
  /* Timeline: vertical line with dots, dates and logos left, content right */
  .timeline {
    position: relative;
    margin-bottom: 0.5em;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    left: 73px;
    top: 0.6em;
    bottom: 0.6em;
    width: 1px;
    background: #ccc;
  }
  
  .timeline-entry {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 28px;
    margin-bottom: 2.2em;
    align-items: start;
  }
  
  .timeline-entry:last-child {
    margin-bottom: 0;
  }
  
  .timeline-track {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
  }
  
  .timeline-date {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
    width: 52px;
  }
  
  .timeline-dot {
    position: absolute;
    left: 66px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    z-index: 1;
  }
  
  .timeline-logo {
    position: absolute;
    left: 84px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .timeline-logo img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    object-position: center;
  }
  
  .timeline-content {
    min-width: 0;
  }
  
  .timeline-content p {
    margin: 0 0 0.8em;
  }
  
  .timeline-content p:last-child {
    margin-bottom: 0;
  }
  
  /* Section blocks (bio, featured talks, etc.) */
  .section {
    margin: 2em 0;
  }
  
  .section p {
    margin: 0 0 0.8em;
  }
  
  .section ul {
    margin: 0.5em 0 1em;
    padding-left: 1.5em;
  }
  
  .section li {
    margin-bottom: 0.4em;
  }
  
  /* Featured talks grid */
  .talks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 1em;
  }
  
  .talk-card {
    display: block;
    color: inherit;
  }
  
  .talk-card:hover {
    text-decoration: none;
  }
  
  .talk-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 2px;
  }
  
  .talk-card span {
    font-size: 0.9em;
    color: #444;
  }
  
  /* Writing list */
  .writing-list {
    list-style: none;
    padding: 0;
    margin: 0.5em 0 0;
  }
  
  .writing-list li {
    margin-bottom: 0.5em;
    padding-left: 0;
  }
  
  /* Pet projects: optional thumb + text */
  .project {
    margin-bottom: 1.5em;
    overflow: hidden;
  }
  
  .project img {
    float: right;
    width: 120px;
    height: auto;
    margin: 0 0 10px 16px;
  }
  
  .project p {
    margin: 0 0 0.5em;
  }
  
  /* Publications — title (blue link), venue, authors */
  .publication {
    margin-bottom: 1.2em;
  }
  
  .publication-title {
    color: #333;
  }
  
  .publication a {
    font-weight: normal;
    color: #0066cc;
  }
  
  .publication a:hover {
    text-decoration: underline;
  }
  
  .publication-venue {
    font-size: 0.9em;
    color: #666;
    margin: 2px 0 4px;
  }
  
  .publication-authors {
    font-size: 0.9em;
    color: #555;
  }
  
  .publication-subsection {
    font-size: 0.9em;
    font-weight: 600;
    color: #444;
    margin: 1.25em 0 0.4em;
    text-transform: lowercase;
  }
  
  .publication-subsection:first-of-type {
    margin-top: 0.5em;
  }
  
  /* Misc unsorted list */
  .coursework-category {
    margin-bottom: 1.2em;
  }
  
  .coursework-category:last-child {
    margin-bottom: 0;
  }
  
  .coursework-category strong {
    display: block;
    font-size: 0.95em;
    color: #444;
    margin-bottom: 0.3em;
  }
  
  .coursework-category ul {
    margin: 0 0 0 1em;
    padding-left: 1em;
  }
  
  .misc-list {
    list-style: none;
    padding: 0;
    margin: 0.5em 0 0;
  }
  
  .misc-list li {
    margin-bottom: 0.5em;
    padding-left: 0;
  }
  
  /* Footer note */
  .footer-note {
    margin-top: 3em;
    padding-top: 1.5em;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
  }
  
  /* Responsive: stack timeline on small screens */
  @media (max-width: 600px) {
    body {
      padding: 24px 16px 60px;
      font-size: 16px;
    }
  
    .timeline::before {
      left: 46px;
      top: 0.5em;
      bottom: 0.5em;
    }
  
    .timeline-entry {
      grid-template-columns: 1fr;
      gap: 8px;
      margin-bottom: 1.8em;
    }
  
    .timeline-track {
      min-height: 44px;
    }
  
    .timeline-date {
      width: 44px;
      font-size: 0.85em;
    }
  
    .timeline-dot {
      left: 46px;
      width: 6px;
      height: 6px;
    }
  
    .timeline-logo {
      left: 60px;
      width: 40px;
      height: 40px;
    }
  
    .timeline-logo img {
      width: 40px;
      height: 40px;
      max-width: 40px;
      max-height: 40px;
    }
  
    .header {
      flex-direction: column;
    }
  
    .talks {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  }
  