/* zschoche.org: a classic academic page. Serif text, years in a margin
   column, sans serif for small labels. Fonts are self-hosted (SIL OFL,
   from Fontsource 5.3.1; licenses in fonts/). */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-serif-4-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-serif-4-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-serif-4-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-serif-4-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --text: #2b2b2b;
  --muted: #646464;
  --link: #74405a;        /* plum, from the shirt in the portrait */
  --link-hover: #4f2a3d;
  --rule: #e7dfd6;
  --background: #fbf8f3;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e2ded6;
    --muted: #a8a39a;
    --link: #dca6c2;
    --link-hover: #f0c8dc;
    --rule: #34302b;
    --background: #1b1916;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { color: var(--link-hover); text-decoration: underline; text-underline-offset: 0.15em; }

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

/* Header */

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 20px 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.site-title { color: var(--text); font-size: 22px; font-weight: 600; }
.site-title:hover { color: var(--text); text-decoration: none; }

nav ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; font-family: var(--sans); font-size: 15px; }
nav a { color: var(--muted); }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Headings */

.intro h1,
.page-title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-title { margin-bottom: 32px; }

.section-title {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Home: intro */

.intro { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 56px; }
.intro p { margin: 0 0 10px; }
.intro h1 { margin-top: 4px; }
.portrait { flex: none; width: 180px; height: 225px; border-radius: 10px; object-fit: cover; }

.profiles { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: 15px; font-weight: 600; }

/* Home: publications, one row per year with the year in the margin */

.year-group {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 16px;
  padding: 18px 0 4px;
  border-top: 1px solid var(--rule);
}

.year {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.6;
}

.paper { margin-bottom: 18px; }
.paper p { margin: 0; }

.paper-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.paper-title a { color: var(--text); }
.paper-title a:hover { color: var(--link); }

.authors { color: var(--muted); font-size: 16px; }

.versions { font-size: 16px; }
.versions .bibtex { font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em; }
.versions a + a::before {
  content: "·";
  display: inline-block;
  margin: 0 0.45em;
  color: var(--muted);
}

/* About */

main > p + .section-title { margin-top: 32px; }
main > p { margin: 0 0 1em; }

footer.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 64px;
  padding-top: 16px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}
footer p { margin: 0; }

@media (max-width: 600px) {
  .intro { flex-direction: column; gap: 20px; }
  .portrait { width: 160px; height: 200px; }
  .year-group { grid-template-columns: 1fr; }
  .year { margin-bottom: 6px; }
}
