:root {
  --bg: #f6f3ec;
  --bg-lighter: #f7f6f3;
  --text: #1d1d1b;
  --muted: #666055;
  --mute: #959d8f;
  --line: #d7d0c3;
  --link: #2f5168;
  --link-hover: #1e394b;
  --max-width: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.68;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.site-header,
.page-header {
  margin-bottom: 2.25rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.0rem;
  margin-bottom: 0.7rem;
}

h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}

p {
  margin: 0 0 1rem;
}

.intro {
  max-width: 38rem;
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: none;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  min-width: 100%;
}

.section-list,
.work-list {
  list-style: none;
  padding-left: 0;
  border-top: 1px solid var(--line);
}

.section-list li,
.work-list li {
  margin: 0 0 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-top: 10px;
  width: 100%;
}

.section-list li:last-child,
.work-list li:last-child {
  border-bottom: none;
  margin-bottom: 0px;
}

.section-list a,
.item-title,
.work-list a {
  display: inline-block;
  font-size: 1.08rem;
}

.work-item {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.work-item:hover {
  box-shadow: 5px 5px 5px var(--muted);
  background-color: var(--bg-lighter);
}

.work-item:last-child {
  margin-bottom: 0px;
}

.work-item a {
  width: 100%;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.item-meta p {
  color: var(--mute);
  font-style: italic;
}

.section-note,
.item-note,
.item-description {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.item-description {
  width: 100%;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .container {
    padding-top: 2.2rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 1.9rem;
  }
}