@font-face {
  font-family: "Aligned Numerals";
  src: local("Times New Roman"), local("TimesNewRomanPSMT");
  unicode-range: U+0030-0039;
}

:root {
  color-scheme: light;
  background: #faf9f6;
  color: #202020;
  font-family: "Aligned Numerals", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-columns: 120px minmax(0, 680px);
  gap: 36px 56px;
  align-items: start;
  max-width: 904px;
  margin: 0 auto;
  padding: 90px 24px 42px;
  overflow-wrap: break-word;
}

header {
  grid-column: 2;
  grid-row: 1;
}

a,
.copy-email {
  color: #285a94;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
.copy-email:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
.copy-email:focus-visible {
  outline: 2px solid #285a94;
  outline-offset: 5px;
}

.copy-email {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: normal;
}

h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

nav {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

nav a[aria-current="page"],
nav a[aria-current="location"] {
  color: #202020;
  text-decoration: none;
}

nav > span {
  display: none;
}

.nav-contact {
  margin-top: 42px;
  max-width: 100%;
}

main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.essay {
  width: 100%;
  max-width: 60ch;
}

section + section,
article + article {
  margin-top: 6px;
}

h2 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.35;
}

h3 {
  font-size: 18px;
  line-height: inherit;
}

p + p {
  margin-top: 6px;
}

main ul {
  padding-left: 16px;
}

main ul > li::marker {
  content: "- ";
}

main li + li {
  margin-top: 6px;
}

section,
article {
  scroll-margin-top: 36px;
}

.entries {
  padding: 0;
  list-style: none;
}

.entries li + li {
  margin-top: 6px;
}

.entries p {
  margin-top: 6px;
}

.note-list {
  margin-top: 6px;
  padding: 0;
  list-style: none;
}

.note-list li + li {
  margin-top: 6px;
}

.page-intro {
  margin-bottom: 6px;
}

.book-author {
  color: #62605b;
  font-size: 16px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 24px;
  padding: 4px 8px;
  background: #faf9f6;
  transform: translateY(-200%);
}

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

@media (max-width: 700px) {
  body {
    display: block;
    padding-top: 36px;
    padding-bottom: 30px;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 16px;
  }

  main {
    margin-top: 36px;
  }

  .nav-contact {
    flex-basis: 100%;
  }
}
