:root {
  --bone: #efe9dc;
  --sky: #6dabe4;
  --cobalt: #2748c4;
  --vermilion: #e8432e;
  --ink: #16181d;
  --ink-55: rgba(22, 24, 29, 0.55);
  --ink-22: rgba(22, 24, 29, 0.22);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: Newsreader, Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: var(--sky);
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}

.site-title::before {
  content: "";
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-55);
}

.site-nav a:hover {
  color: var(--sky);
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink-55);
  margin: 0 0 2.5rem;
  max-width: 36ch;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

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

.entry-list li {
  border-bottom: 1px solid var(--ink-22);
}

.entry {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  text-decoration: none;
}

.entry:hover .entry__title {
  color: var(--sky);
}

.entry time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.entry__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  transition: color 0.15s ease;
}

.entry__blurb {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-55);
  max-width: 48ch;
}

.post-header {
  margin-bottom: 2.25rem;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 0 0 1rem;
}

.post-meta__sep {
  margin: 0 0.35rem;
}

.tag {
  color: var(--ink-55);
  text-decoration: none;
}

.tag:hover {
  color: var(--vermilion);
  text-decoration: underline;
}

.post-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.standfirst {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink-55);
  margin: 1rem 0 0;
  max-width: 40ch;
}

.prose {
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.72;
}

.prose > * + * {
  margin-top: 1.25rem;
}

.prose p {
  margin: 0;
  text-wrap: pretty;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.prose a {
  color: var(--cobalt);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 2rem 0 0.75rem;
}

.prose h2 {
  font-size: 1.75rem;
}
.prose h3 {
  font-size: 1.35rem;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose blockquote {
  margin: 1.75rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--vermilion);
}

.prose blockquote p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--cobalt);
  text-align: left;
  hyphens: none;
}

.prose code,
.prose pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.prose pre {
  background: rgba(39, 72, 196, 0.06);
  border: 1px solid rgba(39, 72, 196, 0.2);
  padding: 1rem 1.15rem;
  overflow-x: auto;
}

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

.tag-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ink-22);
}

.tag-list a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.tag-list a:hover {
  color: var(--sky);
}

.count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.site-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sky);
}
