* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Palatino Linotype', Palatino, Georgia, serif; background: #fbf9f4; color: #2e2d2b; line-height: 1.8; }
body > header, main, body > footer { max-width: 580px; margin: 0 auto; padding: 0 24px; }
body > header { text-align: center; padding: 6rem 24px 4rem; }

body > header h1, .site { font-size: 11px; font-weight: 400; font-style: italic; color: #706e67; letter-spacing: 0.35em; text-transform: lowercase; margin-bottom: 16px; }
body > header h1 a, .site a { color: inherit; text-decoration: none; }
body > header p, .tag { font-size: 13px; color: #706e67; font-style: italic; }

nav { margin-top: 1.5rem; }
nav a { color: #706e67; text-decoration: none; font-size: 11px; letter-spacing: 0.08em; padding: 6px 10px; }
nav a:hover { color: #2e2d2b; }

main { padding-bottom: 4rem; }
article { padding: 3.5rem 0; }
article:first-child { padding-top: 1.5rem; }
article:last-child { padding-bottom: 2rem; }
article + article { position: relative; }
article + article::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 48px; height: 1px; background-color: #dcd7cd; }

article header { display: block; margin-bottom: 24px; }
article header h1, article header h2, article header h2 a { font-size: 18px; font-weight: 400; letter-spacing: 0.05em; margin-bottom: 6px; text-transform: none; text-decoration: none; color: inherit; }
article header h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
article header time { font-family: Menlo, Monaco, Consolas, monospace; font-size: 11px; color: #75726a; display: block; }

article p { font-size: 16px; color: #3e3d3a; margin-bottom: 16px; }
article p:last-child { margin-bottom: 0; }

article h2, article h3, article h4 { font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; margin: 32px 0 16px; }
article h2 { font-size: 13px; }
article h3 { font-size: 12px; }
article h4 { font-size: 11px; color: #706e67; }
article h2:first-child, article h3:first-child, article h4:first-child { margin-top: 0; }

article blockquote { border-left: 2px solid #d0cabc; margin: 28px 0; padding-left: 20px; }
article blockquote p { color: #6e6c66; font-style: italic; }
article pre { background: #f3f0e8; border-radius: 3px; padding: 14px 16px; margin: 24px 0; overflow-x: auto; }
article pre code { font-family: Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 1.6; color: #3e3d3a; }

article p a { color: inherit; text-decoration: underline; text-underline-offset: 4px; font-weight: bold; }
article p br + a { display: inline-block; margin-top: 6px; }

body > footer { margin-top: 2rem; margin-bottom: 6rem; padding-top: 3rem; text-align: center; border-top: 1px solid #e8e3d9; }
body > footer p { font-size: 12px; color: #75726a; font-style: italic; margin-top: 12px; }

@media (max-width: 640px) {
  body > header, main, body > footer { padding: 0 20px; }
  body > header { padding: 5rem 20px 3.5rem; }
  article { padding: 3rem 0; }
}
