:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #1a302c;
  background: #f5f3ea;
}

body { margin: 0; }

main {
  width: min(45rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 13vh, 9rem) 0 4rem;
}

h1 {
  margin: 0;
  font: 400 clamp(3.5rem, 10vw, 7.25rem)/.91 Georgia, serif;
  letter-spacing: -.065em;
}

p { color: #486059; line-height: 1.55; }
header p { margin: 1.6rem 0 0; }
section { margin-top: clamp(3.25rem, 9vh, 6rem); }

h2 {
  margin: 0 0 .85rem;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1.25rem 0;
  border-block: 1px solid #b8c2b7;
}

.project h3 { margin: 0; font-size: 1.2rem; }
.project p { margin: .35rem 0 0; }
.project:hover h3, .project:focus-visible h3 { text-decoration: underline; }
.project:focus-visible { outline: 2px solid #22594b; outline-offset: 5px; }
