@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Lora:wght@400;500;600;700&display=swap");

html {
  background: #FAF9F5;
}

body {
  margin: 16px 8px 8px;
  color: #141413;
  background: #FAF9F5;
  font-family: "IBM Plex Sans", Verdana, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: #141413;
  text-decoration: underline;
}

a:visited {
  color: #5b3f78;
}

a:hover {
  text-decoration: underline;
}

.page {
  display: grid;
  grid-template-columns: 100px 520px;
  column-gap: 28px;
  align-items: start;
}

.nav {
  width: 100px;
  padding-top: 0;
}

.nav-menu-button,
.nav-close {
  display: none;
}

.nav a {
  position: relative;
  display: block;
  box-sizing: border-box;
  min-height: 22px;
  padding: 0 0 0 14px;
  border: 0;
  background: transparent;
  color: #141413;
  font-family: inherit;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
}

.nav a:visited {
  color: #141413;
}

.nav a + a {
  margin-top: 12px;
}

.nav a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 3px;
  height: 3px;
  background: #141413;
  opacity: 0;
}

.nav a:hover,
.nav a:focus {
  background: transparent;
  text-decoration: none;
}

.nav a:hover::before,
.nav a:focus::before,
.nav a[aria-current="page"]::before {
  opacity: 1;
}

.content {
  max-width: 520px;
  padding-top: 0;
}

.masthead {
  margin: 0 0 22px -2px;
  color: rgba(20, 20, 19, 0.07);
  font-family: "Lora", Georgia, "Times New Roman", Times, serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.masthead a,
.masthead a:visited {
  color: inherit;
  text-decoration: none;
}

.masthead a:hover,
.masthead a:focus {
  text-decoration: none;
}

.site-header h1,
.essay-title {
  margin: 0 0 22px;
  color: #141413;
  font-family: "Lora", Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  font-weight: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.date {
  color: #262625;
}

p {
  margin: 0 0 18px;
  padding: 0;
}

.essay-prose {
  display: inline-block;
  margin: 0 0 18px;
  vertical-align: top;
}

h2 {
  margin: 32px 0 14px;
  color: #141413;
  font-size: 14px;
}

ul {
  margin: 0 0 18px 18px;
  padding: 0;
}

.dash-list {
  list-style: none;
  margin-left: 0;
}

.dash-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
}

.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
}

.essay-list {
  list-style: none;
  margin-left: 0;
}

.essay-list li {
  margin-bottom: 8px;
}

.recent-essays li:nth-child(n+4) {
  display: none;
}

.essay-list .date {
  display: inline-block;
  margin-left: 8px;
  color: #262625;
  font-size: 12px;
}

.home-artwork {
  box-sizing: border-box;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 30px 0 32px;
  padding: 10px;
  border: 1px solid #ddd7ca;
  background: #FAF9F5;
}

#artwork-canvas {
  display: block;
  box-sizing: border-box;
  border: 1px solid #d7d0c1;
  background: #FAF9F5;
  max-width: 100%;
}

.quote-list {
  margin-top: 26px;
}

.quote {
  position: relative;
  margin: 0 0 28px;
  padding-left: 14px;
}

.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 3px;
  height: 3px;
  background: #141413;
}

.quote p {
  margin-bottom: 4px;
}

.quote cite {
  display: block;
  margin-left: 0;
  color: #262625;
  font-style: normal;
}

.note-ref,
.note-back {
  color: #262625;
  font-size: 11px;
  vertical-align: baseline;
}

.page-footer {
  margin-top: 34px;
  color: #262625;
  font-size: 12px;
}

.page-footer p {
  margin: 0;
}

.notes {
  margin-top: 72px;
}

.notes h2 {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: normal;
}

.notes p {
  font-size: 13px;
}

.about-page .page {
  grid-template-columns: 100px minmax(0, 720px);
}

.about-page .content {
  max-width: 720px;
}

.about-section {
  margin-top: 48px;
}

.about-section h2 {
  margin: 0 0 18px;
  font-family: "Lora", Georgia, "Times New Roman", Times, serif;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.experience-list {
  border-top: 1px solid #ddd7ca;
}

.experience-company {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #ddd7ca;
}

.experience-logo {
  display: block;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.experience-body {
  min-width: 0;
}

.experience-company h3,
.experience-company h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.experience-company p {
  margin: 4px 0 0;
  color: #262625;
}

.experience-meta {
  color: #77736b !important;
  font-size: 12px;
}

.experience-company-header {
  margin-bottom: 16px;
}

.experience-company-grouped .experience-company-header {
  margin-bottom: 4px;
}

.experience-summary p {
  margin-top: 16px;
}

.experience-summary p:first-child {
  margin-top: 0;
}

.experience-roles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.experience-roles li {
  padding: 0 0 20px;
}

.experience-roles li:last-child {
  padding-bottom: 0;
}

.teaching-image {
  display: block;
  margin: 24px 0 20px;
  text-decoration: none;
}

.teaching-image img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid #ddd7ca;
  border-bottom: 1px solid #ddd7ca;
}

.teaching-links,
.writing-links {
  margin: 0 0 18px 20px;
  padding: 0;
}

.teaching-links,
.writing-links {
  list-style: none;
}

.teaching-links li,
.writing-links li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.teaching-links li,
.writing-links li {
  position: relative;
  padding-left: 14px;
}

.teaching-links li::before,
.writing-links li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 3px;
  height: 3px;
  background: #141413;
}

.writing-links {
  margin-top: 18px;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-list li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #ddd7ca;
}

.project-list li:last-child {
  border-bottom: 1px solid #ddd7ca;
}

.project-image {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  text-decoration: none;
}

.project-image img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px solid #ddd7ca;
  object-fit: cover;
}

.project-copy > a,
.project-copy > span {
  display: block;
}

.project-copy span {
  color: #262625;
}


@media (max-width: 700px) {
  body {
    margin: 18px;
    font-size: 14px;
  }

  .page {
    display: block;
  }

  .nav {
    width: auto;
    margin-bottom: 28px;
  }

  .nav > .nav-links {
    display: none;
  }

  .nav-menu-button {
    position: relative;
    display: inline-block;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #141413;
    font-family: inherit;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
  }

  .nav-overlay {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: rgba(250, 249, 245, 0.78);
  }

  .nav-overlay[hidden] {
    display: none;
  }

  .nav-panel {
    box-sizing: border-box;
    width: min(230px, 76vw);
    min-height: 100%;
    padding: 14px 8px 18px;
    border-right: 1px solid #ddd7ca;
    background: #FAF9F5;
  }

  .nav-close {
    position: relative;
    display: block;
    min-height: 24px;
    margin: 0 0 16px;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    color: #141413;
    font-family: inherit;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
  }

  .nav-close::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 3px;
    height: 3px;
    background: #141413;
    opacity: 0;
  }

  .nav-close:hover::before,
  .nav-close:focus::before {
    opacity: 1;
  }

  .nav a {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding-right: 0;
  }

  .content {
    max-width: 100%;
    padding-top: 0;
  }

  .home-artwork {
    display: table;
    margin: 24px 0 28px;
  }

  .masthead {
    margin-bottom: 24px;
    font-size: 22px;
    letter-spacing: .11em;
    white-space: normal;
  }

  .about-section {
    margin-top: 42px;
  }

  .experience-company {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .experience-logo {
    width: 42px;
    height: 42px;
  }

  .project-list li {
    display: block;
  }

  .project-image {
    margin-bottom: 12px;
  }

  .teaching-image {
    margin-top: 20px;
  }
}
