:root {
  --background: #ffffff;
  --text: #111111;
  --muted: #878787;
  --line: #d8d8d8;
  --font-mono: "Courier Prime", ui-monospace, "SFMono-Regular", "Cascadia Code", "Courier New", Courier, monospace;
  --font-name: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #121212;
    --text: #f0f0f0;
    --muted: #9a9a9a;
    --line: #333333;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 24px;
  top: 24px;
  z-index: 10;
  background: var(--background);
}

header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-name);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a[aria-current="page"] {
  text-decoration: underline;
}

main {
  min-height: 70vh;
}

section {
  padding: 48px 0;
}

section:not(:last-of-type) {
  border-bottom: 1px solid var(--line);
}

h1 {
  margin: 0 0 36px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.show h2 {
  margin: 0 0 12px;
  font-family: var(--font-name);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

p {
  max-width: 60ch;
}

.show {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.show:first-of-type {
  padding-top: 0;
}

.show:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.date {
  color: var(--muted);
}

.details {
  margin-top: 8px;
  color: var(--muted);
}

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

.contact-list li {
  padding: 12px 0;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-label {
  color: var(--muted);
}

footer {
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 560px) {
  header {
    display: block;
  }

  nav {
    margin-top: 18px;
  }

  section {
    padding: 36px 0;
  }
}
