@font-face {
  font-family: "Anybody";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100% 150%;
  font-display: swap;
  src: url("/assets/fonts/anybody-latin.woff2") format("woff2");
}

:root {
  --black: #000;
  --cyan: #7ebec6;
  --bone: #e4d2b8;
  --dim: rgba(228, 210, 184, 0.62);
  --rule: rgba(228, 210, 184, 0.22);
}

* { box-sizing: border-box; }

html { background: var(--black); }

body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--black);
  color: var(--bone);
  font-family: "Anybody", "Arial Black", Impact, sans-serif;
  font-weight: 500;
  font-stretch: 100%;
  line-height: 1.7;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/assets/subway.jpg") center / cover no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.site-head,
main,
.colophon {
  position: relative;
  z-index: 1;
}

a { color: var(--cyan); text-underline-offset: 0.2em; }

.site-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.45rem 1rem 0;
}

.mark {
  display: block;
  width: min(112px, 32vw);
  height: auto;
  filter: invert(1);
}

.section {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-stretch: 136%;
  font-weight: 650;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-decoration: none;
  text-transform: uppercase;
}

main {
  flex: 1;
  width: min(100% - 2rem, 42rem);
  padding: 3.5rem 0 3rem;
}

h1 {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(1.7rem, 5.5vw, 2.9rem);
  font-stretch: 130%;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow:
    0 0 2px #f3feff,
    0 0 12px rgba(168, 230, 236, 0.75),
    0 0 32px rgba(126, 190, 198, 0.4);
}

time {
  display: block;
  color: var(--dim);
  font-size: 0.72rem;
  font-stretch: 130%;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

article time { margin-bottom: 0.7rem; }

.prose {
  margin-top: 2.2rem;
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.prose > :first-child { margin-top: 0; }

.prose h2,
.prose h3,
.prose h4 {
  margin: 2.2em 0 0.6em;
  color: var(--cyan);
  font-stretch: 118%;
  font-weight: 700;
  line-height: 1.25;
}

.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose h4 { font-size: 1rem; }

.prose strong { font-weight: 750; }

.prose img,
.prose video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6rem 0;
}

.prose audio { display: block; width: 100%; margin: 1.6rem 0; }

.prose blockquote {
  margin: 1.6rem 0;
  padding: 0.1rem 0 0.1rem 1.1rem;
  border-left: 2px solid var(--cyan);
  color: var(--dim);
}

.prose mark {
  padding: 0 0.2em;
  background: var(--cyan);
  color: var(--black);
}

.prose code {
  padding: 0.1em 0.3em;
  background: rgba(228, 210, 184, 0.12);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
}

.prose pre {
  padding: 1rem;
  overflow-x: auto;
  background: rgba(228, 210, 184, 0.09);
}

.prose pre code { padding: 0; background: none; }

.prose hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--rule);
  text-align: left;
}

.posts {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.posts li { border-top: 1px solid var(--rule); }
.posts li:last-child { border-bottom: 1px solid var(--rule); }

.posts a {
  display: block;
  padding: 1.5rem 0;
  color: inherit;
  text-decoration: none;
}

.posts h2 {
  margin: 0.4rem 0 0.35rem;
  color: var(--cyan);
  font-size: 1.3rem;
  font-stretch: 118%;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.posts a:hover h2 { color: #f3feff; }
.posts p { margin: 0; color: var(--dim); }

.empty { margin-top: 2rem; color: var(--dim); }

.back {
  margin: 3rem 0 0;
  font-size: 0.8rem;
  font-stretch: 130%;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.colophon {
  padding: 0.85rem 1rem 1.2rem;
  text-align: center;
}

.colophon p {
  margin: 0;
  font-size: 0.68rem;
  font-stretch: 130%;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.colophon .place { margin-top: 0.3rem; opacity: 0.55; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
