:root {
  color-scheme: light;
  background: #f8f7f2;
  color: #182a3d;
  font: 100%/1.6 system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.shell {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 4.5rem);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid #c6cbd0;
}

header a {
  text-decoration: none;
}

.brand {
  font-weight: 650;
}

a {
  color: inherit;
  text-underline-offset: .28em;
}

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

a:focus-visible {
  outline: 2px solid #265782;
  outline-offset: 5px;
}

main {
  padding: clamp(4rem, 14vh, 9rem) 0 5rem;
}

h1 {
  margin: 0 0 1.4rem;
  font: 400 clamp(2.8rem, 8vw, 6.75rem)/1.03 Georgia, serif;
  letter-spacing: -.06em;
  text-wrap: balance;
}

p {
  margin: 0;
  color: #47576a;
}

.project-link {
  display: inline-flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 1.12rem;
  text-decoration: none;
}

.project-link span {
  color: #265782;
}

.projects {
  max-width: 34rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c6cbd0;
}

.projects li {
  border-bottom: 1px solid #c6cbd0;
}

.projects .project-link {
  width: 100%;
  padding: .85rem 0;
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
}
