@import url(reset.css);

html {
  display: table;
  width: 100%;
  min-height: 100%;
}

body {
  background: white;
  color: black;
  font-family: verdigris-mvb-pro-text-1, verdigris-mvb-pro-text-2, serif;
  font-size: 20px;
  font-weight: 400;
  display: table-cell;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid;
}
a:hover {
  opacity: 0.5;
}

h3 {
  font-size: 1.3em;
  line-height: 1.1;
}

pre {
  white-space: pre;
  line-height: 1.2;
}

#container {
  max-width: 600px;
  padding: 2.8rem 2rem 8rem;
  margin: 0 auto;
}
#container.home {
  padding-top: 5.6rem;
}

#header h1 {
  font-family: verdigris-mvb-pro-big-1, verdigris-mvb-pro-big-2, serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.5rem;
}
.home #header h1 {
  font-size: 3rem;
}
#header h1 span {
  margin-left: -0.02em;
  margin-right: -0.13em;
}
#header p {
  margin: 1.5rem 0;
  line-height: 1.5;
}
#header ul li {
  display: inline;
  margin: 0 1em 0 0;
}

.links h2 {
  margin: 5.6rem 0 2.1rem;
  text-transform: lowercase;
  font-variant: small-caps;
  font-weight: normal;
}
.links li {
  margin: 2.1rem 0;
  list-style-type: none;
  line-height: 1.5;
}
.links a {
  display: block;
  border: 0;
}
.links a strong {
  font-family: verdigris-mvb-pro-big-1, verdigris-mvb-pro-big-2, serif;
  border-bottom: 1px solid;
  margin-right: 0.5rem;
  font-size: 26px;
}
.links a span {
  display: block;
  margin-top: 0.25rem;
}

icon {
  width: 36px;
  height: 36px;
  display: inline-block;
  font-size: 36px;
}

.arrow-down-right:before,
.arrow-right-down:before {
  content: "\2937";
  position: relative;
  top: -4px;
  left: -1px;
}
.arrow-right-down {
  transform: rotate(270deg) scaleX(-1);
}
.arrow-right-down:before {
  top: 6px;
  left: 13px;
}

.essay-title {
  margin: 2.8rem 0 7rem;
}
.essay-title h3 {
  font-family: verdigris-mvb-pro-big-1, verdigris-mvb-pro-big-2, serif;
  font-size: 72px;
  line-height: 1;
}
.essay h4 {
  font-weight: normal;
  font-style: italic;
  margin-top: 4rem;
  line-height: 1.5;
}
.essay h5 {
  text-transform: lowercase;
  font-variant: small-caps;
  margin-top: 2.8rem;
  font-weight: normal;
}

.essay p,
.essay blockquote,
.essay li {
  line-height: 1.5;
}
.essay p,
.essay ul,
.essay ol,
.essay img.full {
  margin: 1.4em 0;
}
.essay ul,
.essay ol {
  margin-left: 1.4em;
}
.essay li {
  margin: 0.5em 0;
}
.essay ul li {
  list-style: none;
  text-indent: -1.05em;
}
.essay ul li:before {
  content: "•";
  padding-right: 0.5em;
  font-size: 1.2em;
}
.essay ul ul {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.essay h5 + ol {
  margin-top: 0.75em;
}

.essay > p:first-of-type::first-letter {
  font-family: verdigris-mvb-pro-big-1, verdigris-mvb-pro-big-2, serif;
  font-size: 3.9em;
  line-height: calc(
    20px * 1.5 * 2
  ); /* font-size * line-height * rows of text */
  float: left;
  margin: -0.04em 0.04em 0 0;
}
.essay span {
  text-transform: lowercase;
  font-variant: small-caps;
}

.essay blockquote {
  font-size: 17px;
  margin: 1.4em 2.8em;
}
.essay blockquote :first-child {
  margin-top: 0;
}
.essay blockquote :last-child {
  margin-bottom: 0;
}
.essay blockquote p,
.essay blockquote ul,
.essay blockquote ol,
.essay blockquote img {
  margin-top: 1em;
  margin-bottom: 1em;
}

.essay .caption {
  margin-top: 0.7rem;
  line-height: 1.4;
  font-style: italic;
}

.essay img.full {
  display: block;
  max-width: 800px;
  margin-left: -100px;
  margin-right: -100px;
}

.essay .two-up {
  margin-top: 2.8rem;
  margin-left: -100px;
  margin-right: -100px;
  display: flex;
}
.essay .two-up > div {
  width: calc(50% - 1.05rem);
}
.essay .two-up > div:first-child {
  margin-right: 2.1rem;
}
.essay .two-up img {
  max-width: 100%;
}

@media screen and (max-width: 800px) {
  #container {
    padding: 1.4rem 1.4rem 2.8rem;
  }
  #header h1 {
    font-size: 24px;
  }
  #header.home h1 {
    font-size: 56px;
    margin-top: 4.2rem;
  }
  .essay-title h3 {
    font-size: 56px;
  }
  .essay blockquote {
    margin: 1.4rem;
  }
  .essay img.full {
    max-width: calc(100% + 2.8rem);
    margin-left: -1.4rem;
    margin-right: -1.4rem;
  }
  .essay .two-up {
    margin: 2.1rem 0 0 0;
    flex-direction: column;
  }
  .essay .two-up > div {
    width: 100%;
    margin-bottom: 1.4rem;
  }
  .essay .two-up > div:first-child {
    margin-bottom: 2.1rem;
  }
}
