html {
  background: #fbfaf7;
}

body {
  box-sizing: border-box;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 119px 48px 72px;
  color: #171717;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.5;
}

a,
a:visited {
  color: #0b4f9c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 96px;
  box-sizing: border-box;
  grid-template-columns: 1fr auto;
  align-items: start;
  padding: 34px 48px 0;
  background: #fbfaf7;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
}

.mark {
  justify-self: start;
  color: #171717;
  font-size: 46px;
  line-height: 1;
  text-decoration: none;
}

.mark:visited {
  color: #171717;
}

.top-motto {
  margin: 12px 0 0;
  color: #242424;
  font-style: italic;
  white-space: nowrap;
}

.tagline {
  margin: 6px 0 0;
  color: #171717;
  font-size: 14px;
}

.directory {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  gap: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.directory a {
  color: #0b4f9c;
}

.page {
  max-width: 560px;
  margin: 0;
}

.home-page {
  overflow: hidden;
}

.home-page .topbar {
  height: 220px;
}

.writings {
  width: 100%;
  scroll-margin-top: 148px;
}

.writing-list {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.writing-list li {
  padding: 4px 0;
}

.writing-list span {
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

.article h1 {
  margin: 0 0 6px;
  font-size: 14px;
  font-style: italic;
  font-weight: normal;
  line-height: 1.5;
}

.article .meta {
  margin: 0 0 36px;
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.article p {
  margin: 0 0 1.1em;
  max-width: 560px;
}

.article h2 {
  margin: 2.2em 0 0.8em;
  font-size: 16px;
  font-weight: normal;
}

.article ul {
  margin: 0 0 1.2em 1.2em;
  padding: 0;
}

.article li {
  margin-bottom: 0.45em;
}

.backlink {
  margin-top: 42px;
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

@media (max-width: 760px) {
  body {
    padding: 103px 32px 56px;
  }

  .topbar {
    height: 92px;
    grid-template-areas: "mark directory";
    grid-template-columns: 1fr auto;
    padding: 26px 32px 0;
  }

  .brand-stack {
    grid-area: mark;
  }

  .mark {
    grid-area: mark;
    font-size: 38px;
  }

  .top-motto {
    margin-top: 12px;
    white-space: nowrap;
  }

  .tagline {
    max-width: 260px;
  }

  .directory {
    grid-area: directory;
    gap: 0;
  }

  .home-page .topbar {
    height: 212px;
  }

  .writing-list li {
    display: block;
  }

  .writing-list span {
    display: block;
    margin-top: 2px;
  }
}
