/* Compact academic website — typography-first, no decorative demo elements.
       Document links are understated, borderless text links. */
    :root {
      color-scheme: dark;
      --bg: #0d1116;
      --fg: #e8edf0;
      --muted: #b3bdc5;
      --quiet: #91a0ac;
      --rule: #2c353d;
      --max-width: 950px;
    }
    *,*::before,*::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 20px; }
    body {
      margin: 0;
      color: var(--fg);
      background: var(--bg);
      font: 16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; }
    a:focus-visible { outline: 2px solid #cddbe3; outline-offset: 3px; }
    .container { width: min(calc(100% - 64px),var(--max-width)); margin-inline: auto; }
    .site-header { border-bottom: 1px solid var(--rule); }
    .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
    .site-name { color: var(--fg); font-size: 18px; font-weight: 650; letter-spacing: -.018em; white-space: nowrap; text-decoration: none; }
    nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 24px; }
    nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .18s ease; }
    nav a:hover { color: #fff; }
    .site-intro { margin: 34px 0 31px; max-width: 780px; font-size: 16px; color: var(--fg); }
    /* Sections are separated by whitespace; rules frame the lists themselves. */
    .content-section { padding: 26px 0 33px; }
    h2 { font-size: 23px; letter-spacing: -.026em; font-weight: 610; line-height: 1.35; margin: 0 0 15px; }
    .content-section > p { color: var(--muted); margin: 0; max-width: 860px; }
    .section-note { font-size: 15px; line-height: 1.6; }
    h3 { font-size: 15px; font-weight: 630; line-height: 1.46; letter-spacing: -.008em; margin: 0; }
    /* A list has a top rule before its first row, equal row dividers, and a bottom
       rule after its last row. Row padding is unchanged on either side. */
    .entry { border-bottom: 1px solid var(--rule); }
    .content-section > .entry:first-of-type { border-top: 1px solid var(--rule); }
    .entry-main { min-width: 0; }
    .year { color: var(--quiet); font-size: 14px; padding-top: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
    .meta { color: var(--muted); font-size: 14px; line-height: 1.54; margin: 3px 0 0; }
    .journal { display: block; font-style: italic; margin-top: 1px; }
    /* Coauthor names look identical to surrounding text until hovered or focused. */
    .coauthor-link,
    .coauthor-link:visited {
      color: inherit;
      font: inherit;
      text-decoration: none;
      transition: color .18s ease;
    }
    .coauthor-link:hover,
    .coauthor-link:focus-visible {
      color: #fff;
      text-decoration: none;
    }
    .entry-links { display: flex; gap: 16px; align-items: flex-start; justify-content: flex-end; }
    .entry-links:empty { display: none; }
    /* Borderless reference links: balanced typography rather than framed labels.
       Same discreet color-change interaction as the header navigation. */
    .ref-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      min-height: 26px;
      padding: 0;
      color: #a7b7c3;
      background: transparent;
      border: 0;
      text-decoration: none;
      font-size: 13px;
      font-weight: 550;
      line-height: 1.3;
      letter-spacing: .01em;
      white-space: nowrap;
      transition: color .18s ease;
    }
    .ref-link:hover { color: #fff; }
    .paper,.talk { display: grid; grid-template-columns: 66px minmax(0,1fr) auto; gap: 20px; align-items: start; padding: 12px 0; }
    .conference { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 20px; align-items: start; padding: 11px 0; }
    /* Preparation entries use the paper grid, with an empty year column for alignment. */
    .course { display: grid; grid-template-columns: 205px 1fr; gap: 20px; padding: 9px 0; }
    .course-term { color: var(--muted); font-size: 14px; }
    .site-footer { margin-top: 14px; border-top: 1px solid var(--rule); }
    .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 74px; font-size: 14px; color: var(--quiet); }
    .footer-inner a {
      color: var(--muted);
      text-decoration: none;
      transition: color .18s ease;
    }
    .footer-inner a:hover,
    .footer-inner a:focus-visible {
      color: #fff;
      text-decoration: none;
    }
    @media (max-width: 750px) {
      .container { width: min(calc(100% - 40px),var(--max-width)); }
      .header-inner { padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 9px; }
      nav { justify-content: flex-start; gap: 9px 17px; }
      .site-intro { margin-top: 29px; margin-bottom: 26px; }
      .content-section { padding: 24px 0 28px; }
      .paper,.talk { grid-template-columns: 67px minmax(0,1fr); gap: 10px 13px; }
      .paper .entry-links,.talk .entry-links { grid-column: 2; justify-content: flex-start; }
      .conference { gap: 13px; }
      .course { grid-template-columns: 156px 1fr; gap: 15px; }
    }
    @media (max-width: 440px) {
      .paper,.talk,.conference { grid-template-columns: 1fr; gap: 2px; }
      .paper .entry-links,.talk .entry-links { grid-column: 1; padding-top: 7px; }
      .course { grid-template-columns: 1fr; gap: 1px; }
      .year { padding-top: 0; }
      .prep .year { display: none; }
      h2 { font-size: 22px; }
      .site-footer .footer-inner { flex-wrap: wrap; padding: 16px 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *,*::before,*::after { transition-duration: 0s !important; }
    }

    /* Legal Notice uses the same rhythm, colors and navigation as the homepage. */
    .legal-main {
      padding-top: 34px;
      padding-bottom: 28px;
    }
    .legal-main h1 {
      margin: 0 0 24px;
      font-size: 23px;
      line-height: 1.35;
      font-weight: 610;
      letter-spacing: -.026em;
    }
    .legal-group { padding: 14px 0 22px; max-width: 860px; }
    .legal-group h2 {
      font-size: 17px;
      line-height: 1.4;
      font-weight: 630;
      margin: 0 0 13px;
      letter-spacing: -.012em;
    }
    .legal-group h3 {
      font-size: 15px;
      font-weight: 630;
      margin: 22px 0 9px;
      line-height: 1.45;
    }
    .legal-group p {
      margin: 0 0 12px;
      font-size: 16px;
      line-height: 1.56;
      color: var(--muted);
    }
    .legal-group p:last-child { margin-bottom: 0; }
    .legal-address { font-style: normal; color: var(--muted); line-height: 1.62; }
    .legal-source {
      margin: 14px 0 2px;
      color: var(--quiet);
      font-size: 14px;
    }
    .legal-source a {
      color: var(--muted);
      text-decoration: none;
      transition: color .18s ease;
    }
    .legal-source a:hover { color: #fff; }
    @media (max-width: 750px) {
      .legal-main { padding-top: 27px; padding-bottom: 16px; }
      .legal-group { padding: 12px 0 19px; }
    }
