:root {
  --font-body: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Liberation Mono",
    "DejaVu Sans Mono", Menlo, Consolas, monospace;
  --ink: #213f52;
  --paper: #fff;
  --gutter: 2.5rem;
  --line: 2.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  color: var(--paper);
  background-color: var(--ink);
  background-image: var(--tile);
  background-repeat: repeat;
  background-position: center top;
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 2rem;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

ul,
ol {
  list-style: initial;
}

.upper {
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: 1rem 2rem;
  z-index: 10;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 17.8rem;
  max-height: 31.8rem;
  padding: 4rem var(--gutter) 3rem;
  background-image: var(--hero);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  text-align: center;
  text-shadow: 0 0 1.2rem rgba(0, 0, 0, 0.55);
}

.hero .avatar {
  width: 12.8rem;
  height: 12.8rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.hero .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero .description {
  max-width: 52rem;
  margin: 1.5rem auto 0;
  font-size: 1.2rem;
  line-height: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero .social {
  margin-top: 1.8rem;
}

.hero .social a {
  display: inline-block;
  margin: 0 0.6rem;
  line-height: 1;
}

.hero .social svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.nav-band {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.nav-band ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 3rem;
  padding: var(--line) var(--gutter);
  margin: 0 auto;
  max-width: 90rem;
}

.nav-band a {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.items {
  columns: 4;
  column-gap: var(--gutter);
  padding: var(--line) var(--gutter);
}

.item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 var(--gutter);
  display: block;
}

.item .media {
  margin-bottom: 1rem;
}

.item .body {
  line-height: 2rem;
  text-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.5);
}

.item .body p {
  margin-bottom: 1.5rem;
}

.item .body p:last-child {
  margin-bottom: 0;
}

.item .meta {
  margin-top: 1rem;
  font-size: 0.715em;
  line-height: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.7);
}

.item .meta .tags {
  list-style: none;
  margin-top: 0.4rem;
  opacity: 0.75;
}

.item .meta .tags li {
  display: inline-block;
  margin: 0 0.5rem 0.3rem 0;
}

.post,
.page {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem var(--gutter) 6rem;
  text-shadow: 0 0 0.9rem rgba(0, 0, 0, 0.5);
}

.post header {
  margin-bottom: 3rem;
}

.post h1,
.page h1 {
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 2.6rem;
}

.post .meta,
.page .meta {
  margin-top: 1rem;
  font-size: 0.715em;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.8;
}

.post .body p,
.post .body ul,
.post .body ol,
.page .body p,
.page .body ul,
.page .body ol {
  margin-bottom: 2rem;
}

.post .body img {
  margin: 2.5rem 0;
}

.post .body blockquote,
.page .body blockquote {
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.post .body pre,
.page .body pre {
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.post .body a,
.page .body a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pager {
  text-align: center;
  padding: 0 var(--gutter) 5rem;
}

.pager a {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1rem 2rem;
  display: inline-block;
  margin: 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1.2rem;
}

.archive-list {
  list-style: none;
}

.archive-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.archive-list time {
  display: inline-block;
  width: 12rem;
  opacity: 0.7;
  font-size: 0.715em;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.empty {
  text-align: center;
  padding: 8rem 0;
}

.colophon {
  text-align: center;
  padding: var(--line) var(--gutter) 4rem;
  font-size: 0.715em;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.6);
}

@media (max-width: 1100px) {
  .items {
    columns: 3;
  }
}

@media (max-width: 860px) {
  .items {
    columns: 2;
  }
}

@media (max-width: 560px) {
  .items {
    columns: 1;
  }

  .hero {
    min-height: 14rem;
  }

  .archive-list time {
    display: block;
    width: auto;
  }
}
