@font-face {
  font-family: "Source Serif Pro";
  src: url("fonts/source-serif-pro-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif Pro";
  src: url("fonts/source-serif-pro-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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 Pro";
  src: url("fonts/source-serif-pro-latin-ext-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif Pro";
  src: url("fonts/source-serif-pro-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  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";
  src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --bg: #e4ddd0;
  --ink: #2c2820;
  --mute: #6a6358;
  --rule: #c4b9a8;
  --link: #3d4a42;
  --serif: "Source Serif Pro", "Iowan Old Style", Palatino, "Palatino Linotype",
    serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 19px;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.7;
}

::selection {
  background: #c9bba8;
  color: var(--ink);
}

main {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.4rem 1.4rem 4.5rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wordmark {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.wordmark a {
  color: var(--ink);
  text-decoration: none;
}

.langs {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.langs a {
  color: var(--mute);
  text-decoration: none;
}

.langs a:hover {
  color: var(--ink);
}

.langs [aria-current="page"] {
  color: var(--ink);
}

.essays {
  list-style: none;
  margin: 0;
  padding: 0;
}

.essays li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-top: 1px solid var(--rule);
}

.essays li:last-child {
  border-bottom: 1px solid var(--rule);
}

.essays time {
  flex: 0 0 7.5rem;
  color: var(--mute);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.essays a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.18em;
}

.essays a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.empty {
  color: var(--mute);
  font-style: italic;
}

article header {
  display: block;
  margin-bottom: 1.9rem;
}

article h1 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

article time {
  display: block;
  margin-top: 0.55rem;
  color: var(--mute);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

article p {
  margin: 0 0 1.15rem;
}

article p:last-child {
  margin-bottom: 0;
}

article a {
  color: var(--link);
  text-decoration-color: var(--rule);
  text-underline-offset: 0.15em;
}

article a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--mute);
}

footer {
  margin-top: 2.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

footer a {
  color: var(--mute);
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}
