/* Pixel Harbor Journal — essays and notes from a small web studio */
:root {
  --paper: #fbf7f0;
  --ink: #1f1d1a;
  --soft: #6b645b;
  --rule: #e6dfd3;
  --wine: #8a2c3a;
  --wine-deep: #6a1f2b;
  --moss: #4d6b3c;
  --measure: 38rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.7 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--wine-deep); }
img { max-width: 100%; height: auto; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 6px 10px; }
.masthead { text-align: center; padding: 40px 20px 18px; border-bottom: 3px double var(--rule); }
.masthead .title { display: inline-block; color: var(--ink); text-decoration: none; font-size: 30px; letter-spacing: .02em; }
.masthead .title em { font-style: italic; color: var(--wine); }
.masthead p { margin: 4px 0 14px; color: var(--soft); font-size: 15px; font-style: italic; }
.masthead nav a { margin: 0 12px; color: var(--soft); text-decoration: none; font: 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .1em; text-transform: uppercase; }
.masthead nav a[aria-current="page"], .masthead nav a:hover { color: var(--wine); }
main { padding: 0 20px; }
.column { max-width: var(--measure); margin: 0 auto; }
.lead { padding: 44px 0 12px; }
.lead h1 { font-size: 34px; line-height: 1.2; font-weight: 600; margin: 0 0 12px; }
.lead p { color: var(--soft); margin: 0; }
.entries { list-style: none; margin: 24px 0 64px; padding: 0; }
.entries li { padding: 24px 0; border-top: 1px solid var(--rule); }
.entries h2 { font-size: 24px; line-height: 1.3; margin: 4px 0 6px; font-weight: 600; }
.entries h2 a { color: var(--ink); text-decoration: none; }
.entries h2 a:hover { color: var(--wine); }
.entries p { margin: 0; color: var(--soft); }
.meta { font: 13px/1 system-ui, -apple-system, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); }
article { padding: 40px 0 72px; }
article h1 { font-size: 36px; line-height: 1.2; margin: 10px 0 18px; font-weight: 600; }
article h2 { font-size: 22px; margin: 36px 0 8px; }
article p { margin: 0 0 18px; }
article blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--wine); font-style: italic; color: var(--soft); }
article figure { margin: 32px -40px; }
article figcaption { margin-top: 8px; font-size: 14px; color: var(--soft); text-align: center; font-style: italic; }
.dropcap::first-letter { float: left; font-size: 64px; line-height: .9; padding: 6px 8px 0 0; color: var(--wine); }
.back { font: 14px/1 system-ui, sans-serif; }
.foot { border-top: 3px double var(--rule); padding: 28px 20px 44px; text-align: center; color: var(--soft); font-size: 15px; }
.foot a { color: var(--soft); }
@media (max-width: 720px) {
  body { font-size: 17px; }
  article figure { margin: 28px 0; }
  .lead h1, article h1 { font-size: 28px; }
}
