:root {
  color-scheme: light;
  --ink: #252521;
  --muted: #6a6a64;
  --page-width: 40rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #55554f;
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.5rem;
  transform: translateY(-160%);
  background: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  width: min(var(--page-width), calc(100% - 2.5rem));
  margin: 2rem auto 2rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.12rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 0.65rem;
}

.intro {
 margin-bottom: 0.8rem;
}

.quiet-line {
 color: var(--muted);
}

.intro p:last-child {
 margin-bottom: 0;
}

h2 {
  margin-bottom: 0.2rem;
  font-size: inherit;
  font-weight: 400;
}

.work-list {
  margin: 0 0 0.65rem;
  padding-left: 1.25rem;
}

.work-list li {
  padding-left: 0.1rem;
  margin: 0.14rem 0;
}

.work-list li::marker {
 color: var(--muted);
}

.project-description {
 font-size: 0.85rem;
 line-height: 1.5;
}

strong {
 font-weight: 600;
}

footer {
  margin-top: 0.8rem;
}

footer p {
  margin-bottom: 0;
}

footer span {
  color: var(--muted);
}

@media (max-width: 40rem) {
  body {
    font-size: 0.9rem;
  }

  .page {
    width: calc(100% - 2rem);
    margin-top: 1.5rem;
  }
}
