@charset "utf-8";

/* ---------- reset ---------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

/* ---------- base ---------- */

body {
  background: #efe8d6;
  color: #1f1a14;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

a {
  color: #6b2a14;
  text-decoration: underline;
}
a:visited {
  color: #5a3a2a;
}
a:hover {
  color: #1f1a14;
}

p {
  margin: 0 0 1em;
}

/* ---------- header ---------- */

.site-head {
  margin-bottom: 56px;
  padding-bottom: 12px;
  border-bottom: 1px dotted #b5a888;
}

.site-head .filemark {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #1f1a14;
  text-decoration: none;
  text-transform: lowercase;
}

.site-head .filemark:hover {
  color: #6b2a14;
}

/* ---------- index table ---------- */

table.index {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

table.index td {
  padding: 10px 8px;
  vertical-align: top;
  border-bottom: 1px dotted #b5a888;
}

table.index tr:first-child td {
  border-top: 1px dotted #b5a888;
}

table.index td.num {
  font-family: "Courier New", Courier, monospace;
  width: 44px;
  color: #6b6050;
  font-size: 13px;
  white-space: nowrap;
}

table.index td.date {
  font-family: "Courier New", Courier, monospace;
  width: 96px;
  color: #4a3a2a;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 12px;
}

table.index td.type {
  font-family: "Courier New", Courier, monospace;
  width: 96px;
  color: #4a3a2a;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 12px;
}

table.index td.title {
  font-size: 16px;
  line-height: 1.5;
}

/* visually hidden table header for accessibility */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- entry pages ---------- */

.entry-meta {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #4a3a2a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cdb88e;
}

.entry-meta span {
  margin-right: 20px;
  white-space: nowrap;
}

article.typewritten {
  font-family: "Courier New", Courier, monospace;
  background: #f5f0e2;
  border: 1px solid #cdb88e;
  padding: 36px 36px;
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.75;
  color: #1f1a14;
}

article.typewritten p {
  margin: 0 0 1em;
}

article.typewritten p:last-child {
  margin-bottom: 0;
}

article.typewritten .signoff {
  margin-top: 1.5em;
}

.entry-nav {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  margin-top: 32px;
}

.entry-nav a {
  margin-right: 24px;
}

/* ---------- footer ---------- */

footer {
  margin-top: 96px;
  padding-top: 16px;
  border-top: 1px dotted #b5a888;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #6b6050;
  letter-spacing: 0.04em;
}

footer p {
  margin: 0 0 0.4em;
}

/* ---------- mobile ---------- */

@media (max-width: 600px) {
  body {
    padding: 32px 18px 64px;
    font-size: 16px;
  }

  .site-head {
    margin-bottom: 40px;
  }

  table.index td {
    padding: 8px 6px;
  }

  table.index td.num {
    width: 36px;
    font-size: 11px;
  }

  table.index td.date {
    width: 78px;
    font-size: 10px;
    padding-top: 10px;
  }

  table.index td.type {
    width: 80px;
    font-size: 10px;
    padding-top: 10px;
  }

  table.index td.title {
    font-size: 15px;
  }

  article.typewritten {
    padding: 24px 20px;
    font-size: 14px;
  }

  footer {
    margin-top: 64px;
  }
}