:root {
  color-scheme: light dark;
  --page-bg: #ffffff;
  --paper-edge: #ffffff;
  --paper: #ffffff;
  --node-fill: #ffffff;
  --image-paper: #ffffff;
  --ink: #211f1c;
  --muted: #706d68;
  --faint: #dedcd8;
  --accent: #514d47;
  --notebook-blue: #686f70;
  --notebook-yellow: #77736b;
  --label-ink: #ffffff;
  --spine-filter: none;
  --serif: "Atkinson Hyperlegible", system-ui, sans-serif;
  --display: "Kalam", "Bradley Hand", cursive;
  --book-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --film-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --game-display: "IBM Plex Mono", "Courier New", monospace;
  --tv-display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --music-display: "Cormorant Garamond", Georgia, serif;
  --mono: "Atkinson Hyperlegible", system-ui, sans-serif;
  --dry-rule: linear-gradient(transparent, transparent);
  --dry-dots: url("../dry-dots.svg");
  --spine-squiggle: url("../spine-squiggle.svg");
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #161512;
  --paper-edge: #161512;
  --paper: #161512;
  --node-fill: #161512;
  --image-paper: #201e1a;
  --ink: #eee7db;
  --muted: #aaa197;
  --faint: #38342f;
  --accent: #c0a485;
  --notebook-blue: #95a4a0;
  --notebook-yellow: #b2a271;
  --label-ink: #161512;
  --spine-filter: invert(1) sepia(.18) saturate(.75) brightness(1.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

html {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

@supports not (scrollbar-gutter: stable) {
  body {
    overflow-y: scroll;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font: 400 17px/1.58 var(--serif);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  cursor: pointer;
}

a {
  color: var(--accent);
  text-decoration-thickness: .07em;
  text-underline-offset: .16em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 24%, var(--paper));
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--ink);
  font: 700 12px/1.3 var(--mono);
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-shell {
  position: relative;
  width: min(660px, calc(100% - 16px));
  margin: 8px auto;
  background: var(--paper);
  border: 0;
  box-shadow: none;
  clip-path: none;
  filter: none;
}

.page-shell::before {
  display: none;
}

.page-shell > * {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 12px 22px 10px;
  background: none;
}

.ecosystem-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 24px;
  padding-bottom: 8px;
  border: 0;
}

.site-nav a,
.theme-toggle {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: 700 13px/1.2 var(--display);
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: lowercase;
}

.site-nav a:hover,
.theme-toggle:hover {
  color: var(--ink);
}

.theme-toggle {
  display: inline-grid;
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  place-items: center;
  line-height: 1;
}

.theme-toggle[aria-pressed="true"] {
  color: var(--accent);
}

.theme-mark {
  display: block;
  font: 700 18px/1 var(--display);
  text-shadow: .16px .12px color-mix(in srgb, var(--ink) 50%, transparent);
}

.theme-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.journal-identity {
  padding: 10px 0 14px;
  text-align: center;
}

.site-title {
  display: grid;
  justify-items: center;
  width: 100%;
  color: var(--ink);
  text-decoration: none;
  text-shadow:
    .35px 0 currentColor,
    -.2px .3px color-mix(in srgb, currentColor 72%, transparent);
}

.site-title:hover {
  color: var(--ink);
}

.masthead-kicker {
  color: color-mix(in srgb, var(--ink) 76%, var(--muted));
  font: 400 11px/1.2 var(--display);
  letter-spacing: .19em;
  text-transform: lowercase;
}

.masthead-name {
  margin-top: 4px;
  font: 700 clamp(36px, 6.6vw, 46px)/1 var(--display);
  letter-spacing: -.025em;
}

.masthead-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  color: var(--accent);
  font: 400 17px/1 var(--display);
  letter-spacing: .035em;
}

.masthead-byline::before,
.masthead-byline::after {
  content: "";
  width: 30px;
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 19px;
}

.site-nav a {
  position: relative;
  padding: 0 0 4px;
  font: 400 16px/1.1 var(--display);
  letter-spacing: .02em;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a[aria-current="page"]::after {
  display: none;
}

.page-main {
  padding: 16px 23px 16px;
}

.back-link {
  flex: 0 0 auto;
  font: 700 15px/1.25 var(--serif);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.post-meta {
  color: var(--muted);
  font: 400 12px/1.5 var(--serif);
  letter-spacing: .01em;
}

.post-meta {
  color: var(--notebook-blue);
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 14px;
  color: var(--muted);
  border: 0;
  background: var(--dry-rule) left top / 100% 1px no-repeat;
  font: 400 12px/1.55 var(--serif);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.prose-page,
.post-article {
  max-width: 58ch;
  overflow-wrap: anywhere;
}

.prose-page > h1,
.post-article > h1 {
  margin: 0 0 16px;
  font: 400 clamp(32px, 7vw, 38px)/1.06 var(--display);
  letter-spacing: -.012em;
}

.prose-page p,
.post-article p {
  margin: 0 0 .82em;
}

.prose-page strong,
.post-article strong {
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
}

.post-article > h1 {
  max-width: 19ch;
  margin-bottom: 6px;
  font-weight: 700;
}

.post-meta {
  width: fit-content;
  margin-left: 0;
  margin-bottom: 14px !important;
  padding: 5px 8px 4px;
  color: var(--label-ink);
  background: var(--accent);
  border: 0;
  clip-path: polygon(.5% 1%, 100% 0, 99.5% 100%, 0 98%);
}

.post-article h2,
.post-article h3,
.post-article h4 {
  margin: 1.45em 0 .42em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.post-article h2 {
  font-size: 31px;
}

.post-article h3 {
  font-size: 25px;
}

.post-article h4 {
  font-size: 21px;
}

.post-article ul,
.post-article ol {
  margin: 0 0 .9em;
  padding-left: 1.3em;
}

.post-article li + li {
  margin-top: .25em;
}

.post-article blockquote {
  position: relative;
  margin: 1.1em 0;
  padding-left: 1.3em;
  color: var(--muted);
  border-left: 0;
}

.post-article blockquote::before {
  content: "";
  position: absolute;
  top: .15em;
  bottom: .15em;
  left: 0;
  width: 6px;
  background: var(--spine-squiggle) center top / 6px 48px repeat-y;
  opacity: .82;
}

.post-article pre {
  margin: 1.1em 0;
  padding: 12px 14px;
  overflow-x: auto;
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  border: 1px solid var(--faint);
  font: 400 13px/1.6 var(--mono);
}

.post-article code {
  font: .82em/1.5 var(--mono);
}

.post-article :not(pre) > code {
  padding: .08em .28em;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
}

.post-article hr {
  height: 1px;
  margin: 1.6em 0;
  border: 0;
  background: var(--dry-rule);
}

.post-article figure {
  margin: 1.2em 0;
}

.post-article p:has(> img:only-child) {
  width: fit-content;
  max-width: 100%;
  margin: 1.35em 0;
  padding: 5px;
  background:
    linear-gradient(var(--image-paper), var(--image-paper)) padding-box,
    color-mix(in srgb, var(--ink) 14%, var(--paper)) border-box;
  border: 1px solid transparent;
  box-shadow:
    2px 2px 0 color-mix(in srgb, var(--ink) 9%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--paper) 80%, var(--faint));
  clip-path: polygon(.4% .2%, 99.7% 0, 99.4% 99.6%, .1% 100%);
}

.post-article figure img {
  margin: 0;
}

.post-article p > img:only-child {
  display: block;
  max-width: 100%;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  filter: saturate(.72) contrast(1.04);
}

.post-article figcaption {
  margin-top: 8px;
  color: var(--muted);
  font: 400 12px/1.5 var(--serif);
}

.archive-page > h3 {
  margin: 22px 0 6px;
  color: var(--muted);
  font: 700 18px/1.25 var(--serif);
}

.section-header {
  margin: 0 0 28px;
}

.section-header .eyebrow {
  margin: 0 0 5px;
}

.section-header h1 {
  max-width: 22ch;
  margin: 0;
  font: 400 clamp(32px, 7vw, 38px)/1.06 var(--display);
  letter-spacing: -.012em;
}

.section-header .section-deck {
  max-width: 42ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.archive-intro--timeline {
  position: relative;
  padding-left: 101px;
}

.archive-intro--timeline:has(+ .timeline)::before {
  content: "";
  position: absolute;
  top: 11px;
  bottom: -38px;
  left: 47px;
  width: 6px;
  background: var(--spine-squiggle) center top / 6px 48px repeat-y;
  filter: var(--spine-filter);
}

.archive-intro--timeline + .empty-archive {
  margin-left: 101px;
}

.library-page-intro {
  position: relative;
  padding-left: 101px;
}

.about-page {
  max-width: none;
}

.about-page > .section-header,
.about-page > p {
  max-width: 58ch;
  margin-left: 101px;
}

.library-index {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.library-index-item {
  position: relative;
  padding-left: 101px;
}

.library-index-item + .library-index-item {
  margin-top: 31px;
}

.library-shelf-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.library-index-title {
  margin: 0;
  font: 400 17px/1.35 var(--book-serif);
  letter-spacing: -.01em;
}

.library-index-title a {
  color: var(--ink);
  text-decoration: none;
}

.library-index-title a:hover {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.library-shelf-leader {
  flex: 1 1 36px;
  min-width: 18px;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 26%, transparent);
  transform: rotate(-.5deg) !important;
  transform-origin: left center;
}

.library-index-description {
  max-width: 42ch;
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.library-index-folio,
.library-index-empty {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font: 400 11px/1.5 var(--mono);
  white-space: nowrap;
}

.library-index-folio span + span::before {
  content: "·";
  margin: 0 7px;
  color: var(--faint);
}

.empty-archive {
  color: var(--muted);
}

/* The home page is a journal first: one continuous, quiet chronology. */
.timeline-page {
  padding-top: 14px;
}

.timeline-page::before {
  content: "";
  position: fixed;
  z-index: 0;
  top: 92px;
  right: max(18px, calc((100vw - 660px) / 2 - 26px));
  width: 74px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 44% 56% 48% 52%;
  opacity: .18;
  pointer-events: none;
  transform: rotate(-11deg) !important;
}

.timeline-intro {
  position: relative;
  margin-bottom: 0;
  padding: 3px 0 20px 101px;
}

.timeline-intro::before {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 0;
  left: 47px;
  width: 6px;
  background: var(--spine-squiggle) center top / 6px 48px repeat-y;
  clip-path: none;
  filter: var(--spine-filter);
  opacity: 1;
}

.timeline-intro::after {
  display: none;
}

.eyebrow {
  margin: 0 0 5px;
  color: color-mix(in srgb, var(--ink) 72%, var(--accent));
  font: 700 12px/1.3 var(--display);
  letter-spacing: .09em;
  text-transform: lowercase;
}

.timeline {
  padding-top: 2px;
}

.timeline-year {
  position: relative;
  margin-top: 6px;
}

.timeline-year > h2 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  font: 700 13px/1 var(--display);
  letter-spacing: .08em;
}

.timeline-year > h2::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -6px;
  left: 47px;
  width: 6px;
  background: var(--spine-squiggle) center top / 6px 48px repeat-y;
  filter: var(--spine-filter);
}

.timeline-year > h2::after {
  display: none;
}

.timeline-year > h2 span {
  position: relative;
  display: inline-block;
  justify-self: start;
  width: fit-content;
  min-width: 48px;
  padding: 2px 4px 1px;
  text-align: center;
  background: var(--paper);
  border: 0;
  outline: 0;
  box-shadow: none;
}

.timeline-year > h2 span::after {
  display: none;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 6px;
  min-height: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 47px;
  width: 6px;
  background: var(--spine-squiggle) center top / 6px 48px repeat-y;
  filter: var(--spine-filter);
  clip-path: none;
}

.timeline-item:nth-child(even)::before {
  clip-path: none;
  background: var(--spine-squiggle) center 9px / 6px 48px repeat-y;
}

.timeline-item:last-child::before {
  bottom: -12px;
}

.timeline-item:last-child::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -14px;
  left: 45px;
  width: 9px;
  height: 9px;
  background: var(--node-fill);
  border: 2px solid color-mix(in srgb, var(--ink) 70%, transparent);
  border-radius: 44% 56% 51% 49%;
}

.timeline .timeline-year:not(:last-child) .timeline-item:last-child::after {
  display: none;
}

.timeline-origin {
  position: relative;
  margin: 0;
  padding: 3px 0 0 101px;
  color: color-mix(in srgb, var(--ink) 78%, var(--accent));
  font: 700 13px/1.3 var(--display);
  letter-spacing: .06em;
  text-transform: lowercase;
}

.timeline-origin::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 57px;
  width: 31px;
  height: 2px;
  background: color-mix(in srgb, var(--ink) 48%, transparent);
  border-radius: 50%;
  transform: rotate(4deg) !important;
  transform-origin: left center;
}

.timeline-origin::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 43px;
  width: 11px;
  height: 11px;
  background: var(--node-fill);
  border: 2px solid color-mix(in srgb, var(--ink) 78%, transparent);
  border-radius: 42% 58% 47% 53%;
  box-shadow:
    inset 0 0 0 2px var(--node-fill),
    inset 0 0 0 4px color-mix(in srgb, var(--ink) 82%, transparent);
  transform: rotate(-8deg) !important;
}

.timeline-date {
  position: relative;
  z-index: 1;
  padding-top: 9px;
  text-align: left;
}

.timeline-date::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 30px;
  left: 54px;
  width: 30px;
  height: 1px;
  background: color-mix(in srgb, var(--ink) 35%, transparent);
  transform: rotate(-6deg) !important;
  transform-origin: left center;
}

.timeline-item:nth-child(even) .timeline-date::before {
  transform: rotate(6deg) !important;
}

.timeline-date::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 28px;
  width: 9px;
  height: 9px;
  background: var(--node-fill);
  border: 2px solid color-mix(in srgb, var(--ink) 72%, transparent);
  border-radius: 42% 58% 47% 53%;
  box-shadow:
    inset 0 0 0 2px var(--node-fill),
    inset 0 0 0 4px color-mix(in srgb, var(--ink) 82%, transparent);
}

.timeline-date time {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 46px;
  margin-right: 0;
}

.timeline-day {
  color: var(--ink);
  font: 700 21px/.9 var(--display);
  text-shadow: .2px .2px currentColor;
}

.timeline-month-marker {
  display: inline-block;
  width: fit-content;
  min-width: 34px;
  margin-bottom: 3px;
  padding: 2px 4px 1px;
  color: var(--ink);
  background: var(--paper);
  font: 700 12px/.95 var(--display);
  letter-spacing: .07em;
  text-align: center;
}

.timeline-weekday {
  margin-top: 3px;
  color: color-mix(in srgb, var(--ink) 55%, var(--muted));
  font: 400 10px/1.1 var(--mono);
  letter-spacing: .03em;
  text-transform: lowercase;
}

.timeline-note {
  position: relative;
  align-self: start;
  margin: 7px 0 11px;
  padding: 7px 10px 8px 13px;
  background: transparent;
  border: 0;
  box-shadow: none;
  clip-path: none;
}

.timeline-note::before {
  display: none;
}

.timeline-note::after {
  content: "no. " attr(data-archive-number);
  position: absolute;
  top: 8px;
  right: 2px;
  display: block;
  color: color-mix(in srgb, var(--ink) 56%, transparent);
  font: 700 12px/1.1 var(--mono);
  letter-spacing: .03em;
}

.timeline-content > :first-child,
.timeline-note > :first-child {
  margin-top: 0;
}

.timeline-content > :last-child,
.timeline-note > :last-child {
  margin-bottom: 0;
}

.timeline-content p {
  max-width: 42ch;
  margin: 0 0 .7em;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.68;
  text-indent: 0;
  overflow-wrap: anywhere;
}

.timeline-content,
.note-details {
  text-transform: lowercase;
}

.timeline-content > p:first-child::first-letter {
  float: none;
  margin: 0;
  font: inherit;
  text-shadow: none;
}

.timeline-entry-title {
  margin: 0 0 3px;
  padding-right: 42px;
  color: var(--ink);
  font: 700 18px/1.3 var(--display);
  letter-spacing: -.012em;
  text-shadow: .18px .12px color-mix(in srgb, var(--ink) 48%, transparent);
  text-transform: lowercase;
}

.essay-timeline {
  padding-top: 4px;
}

.essay-index-note .timeline-entry-title a {
  color: var(--ink);
  text-decoration: none;
}

.essay-index-note .timeline-entry-title a:hover {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.essay-index-note .note-details {
  margin-top: 4px;
}

.library-scope {
  margin: 10px 0 0;
  color: var(--muted);
  font: 400 13px/1.5 var(--serif);
}

.library-scope span {
  display: block;
}

.library-rating {
  color: color-mix(in srgb, var(--ink) 58%, var(--muted));
  letter-spacing: .05em;
}

.library-catalogue-intro,
.library-catalogue,
.library-catalogue-page > .empty-archive {
  margin-left: 101px;
}

.library-catalogue-intro {
  margin-bottom: 16px;
}

.library-catalogue-subtitle {
  max-width: 38ch;
  margin: 8px 0 0;
  color: var(--muted);
  font: 400 13px/1.5 var(--serif);
}

.library-catalogue-subtitle + .library-scope {
  margin-top: 4px;
}

.library-catalogue-page > .back-link {
  margin-left: 101px;
  color: var(--muted);
  font: 400 13px/1.3 var(--display);
}

.library-catalogue-page > .back-link:hover {
  color: var(--ink);
}

.library-catalogue-page--books > .back-link {
  font: italic 11px/1.4 var(--book-serif);
  text-transform: none;
}

.library-catalogue-page--books .library-catalogue-intro h1 {
  font-family: var(--book-serif);
  font-weight: 400;
  letter-spacing: -.025em;
  text-transform: none;
}

.library-catalogue-page--films .library-catalogue-intro h1,
.library-record-page--films .library-record-header h1 {
  font-family: var(--film-display);
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: none;
}

.library-catalogue-page--games .library-catalogue-intro h1,
.library-record-page--games .library-record-header h1 {
  font-family: var(--game-display);
  font-weight: 400;
  letter-spacing: -.035em;
  text-transform: none;
}

.library-catalogue-page--tv .library-catalogue-intro h1,
.library-record-page--tv .library-record-header h1 {
  font-family: var(--tv-display);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}

.library-catalogue-page--music .library-catalogue-intro h1,
.library-record-page--music .library-record-header h1 {
  font-family: var(--music-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: none;
}

.library-catalogue {
  max-width: 52ch;
}

.library-state + .library-state {
  margin-top: 28px;
}

.library-state-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
}

.library-state-heading h2 {
  margin: 0;
  color: var(--ink);
  font: 700 10px/1.35 var(--serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.library-state-heading > span {
  color: var(--muted);
  font: 400 11px/1.3 var(--mono);
}

.library-state-heading > span::before {
  content: "·";
  margin-right: 8px;
  color: var(--faint);
}

.library-state-heading::after {
  content: "";
  flex: 1 1 28px;
  align-self: center;
  min-width: 18px;
  height: 7px;
  border-bottom: 1px dotted currentColor;
  opacity: .16;
}

.library-state-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.library-state-list > li + li {
  margin-top: 7px;
}

.library-catalogue-link {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(18px, 1fr) auto;
  align-items: baseline;
  gap: 0 9px;
  min-height: 26px;
  padding: 1px 0;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.library-catalogue-title {
  display: block;
  font: 400 14px/1.5 var(--book-serif);
  letter-spacing: -.01em;
  text-transform: none;
}

.library-catalogue-page--films .library-catalogue-title {
  font: 600 15px/1.4 var(--film-display);
  letter-spacing: .012em;
}

.library-catalogue-page--games .library-catalogue-title {
  font: 400 12.5px/1.55 var(--game-display);
  letter-spacing: -.025em;
}

.library-catalogue-page--tv .library-catalogue-title {
  font: 500 14.5px/1.45 var(--tv-display);
  letter-spacing: .005em;
}

.library-catalogue-page--music .library-catalogue-title {
  font: italic 500 16px/1.4 var(--music-display);
  letter-spacing: -.01em;
}

.library-catalogue-year {
  color: var(--muted);
  font: 400 10px/1.4 var(--serif);
}

.library-catalogue-byline {
  display: block;
  padding: 0;
  color: color-mix(in srgb, var(--ink) 58%, var(--muted));
  font: 400 11.5px/1.45 var(--serif);
  text-transform: none;
}

.library-catalogue-standing {
  display: inline;
  margin-left: 3px;
  color: color-mix(in srgb, var(--ink) 62%, var(--muted));
  font: 400 10px/1 var(--book-serif);
  vertical-align: .08em;
}

.library-standing-key {
  max-width: 52ch;
  margin: 28px 0 0 101px;
}

.library-standing-key h2 {
  margin: 0 0 7px;
  color: var(--muted);
  font: 700 9px/1.35 var(--serif);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.library-standing-key dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 3px 11px;
  margin: 0;
}

.library-standing-key dt {
  color: var(--ink);
  font: 700 9px/1.45 var(--serif);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.library-standing-key dd {
  margin: 0;
  color: var(--muted);
  font: 400 11px/1.45 var(--serif);
}

.library-catalogue-leader {
  align-self: center;
  min-width: 18px;
  height: 7px;
  color: var(--ink);
  border-bottom: 1px dotted currentColor;
  opacity: .28;
}

@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
  .library-state-heading::after,
  .library-catalogue-leader {
    background: currentColor;
    border: 0;
    -webkit-mask: var(--dry-dots) left center / 64px 7px repeat-x;
    mask: var(--dry-dots) left center / 64px 7px repeat-x;
  }
}

.library-catalogue-link:hover {
  color: var(--ink);
}

.library-catalogue-link:hover .library-catalogue-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.library-record {
  max-width: 44ch;
  margin-left: 101px;
}

.library-record > .back-link {
  color: var(--muted);
  font: 400 13px/1.3 var(--display);
}

.library-record-header {
  margin: 2px 0 22px;
}

.library-record-header h1 {
  max-width: 19ch;
  margin: 0;
  color: var(--ink);
  font: 700 clamp(30px, 7vw, 38px)/1.08 var(--display);
  letter-spacing: -.015em;
  text-shadow: .18px .12px color-mix(in srgb, var(--ink) 48%, transparent);
}

.library-record-page--books .library-record > .back-link {
  font: italic 11px/1.4 var(--book-serif);
  text-transform: none;
}

.library-record-page--books .library-record-header .eyebrow {
  font: 700 10px/1.35 var(--serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.library-record-page--books .library-record-header h1 {
  font-family: var(--book-serif);
  font-weight: 400;
  letter-spacing: -.025em;
  text-transform: none;
}

.library-record-byline {
  margin: 4px 0 0;
  color: var(--muted);
  font: 400 14px/1.45 var(--serif);
}

.library-record-note {
  margin-top: 18px;
}

.library-record-note p {
  max-width: 42ch;
  margin: 0 0 .82em;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.library-record-note > :first-child {
  margin-top: 0;
}

.library-record-note > :last-child {
  margin-bottom: 0;
}

.library-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 9px;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--ink) 58%, var(--muted));
  font: 400 12px/1.5 var(--mono);
}

.library-record-meta span + span::before {
  content: "·";
  margin-right: 9px;
  color: var(--faint);
}

.photo-month {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 6px;
  padding: 9px 0 15px;
}

.photo-month::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47px;
  width: 6px;
  background: var(--spine-squiggle) center top / 6px 48px repeat-y;
  filter: var(--spine-filter);
}

.photo-month > h3 {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  padding: 2px 4px 1px;
  color: var(--ink);
  background: var(--paper);
  font: 700 13px/1.1 var(--display);
  letter-spacing: .03em;
}

.photo-month > ol {
  margin: 0;
  padding: 0 0 0 13px;
  list-style: none;
}

.photo-month li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.photo-month li + li {
  margin-top: 9px;
}

.photo-month a {
  min-width: 0;
  color: var(--ink);
  font: 700 17px/1.35 var(--display);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.photo-month a:hover {
  color: var(--muted);
  text-decoration: underline;
}

.photo-month time {
  flex: 0 0 auto;
  color: var(--muted);
  font: 400 11px/1.4 var(--mono);
}

.photo-page > h1 {
  max-width: 20ch;
  margin: 0 0 5px;
  font: 700 clamp(32px, 7vw, 38px)/1.08 var(--display);
  letter-spacing: -.012em;
}

.photo-date {
  color: var(--muted);
  font: 400 12px/1.5 var(--serif);
}

.photo-figure {
  margin: 22px 0 0;
}

.photo-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.photo-figure figcaption {
  max-width: 46ch;
  margin: 10px auto 0;
  color: var(--muted);
  font: 400 13px/1.5 var(--serif);
  text-align: center;
}

.timeline-item:nth-child(3n + 2) .timeline-entry-title {
  text-shadow: -.18px .12px color-mix(in srgb, var(--ink) 55%, transparent);
}

.timeline-content img {
  display: block;
  margin: 12px 0;
}

.timeline-content blockquote {
  position: relative;
  margin: .7em 0;
  padding-left: 14px;
  color: var(--muted);
  border-left: 0;
}

.timeline-content blockquote::before {
  content: "";
  position: absolute;
  top: .12em;
  bottom: .12em;
  left: 0;
  width: 6px;
  background: var(--spine-squiggle) center 5px / 6px 48px repeat-y;
  filter: var(--spine-filter);
  opacity: .78;
}

.note-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 9px 0 0;
  color: color-mix(in srgb, var(--ink) 65%, var(--muted));
  font: 400 11px/1.45 var(--mono);
  letter-spacing: .015em;
}

.note-details span + span::before {
  content: "·";
  margin-right: 12px;
  color: var(--faint);
}

.memory-image {
  width: min(68%, 380px);
  margin: 3rem auto 2.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  clip-path: none;
}

.memory-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  filter: grayscale(.92) saturate(.62) contrast(1.05);
}

.memory-image figcaption {
  max-width: 32ch;
  margin: 8px auto 0;
  color: color-mix(in srgb, var(--ink) 62%, var(--muted));
  font: 400 13px/1.35 var(--display);
  letter-spacing: .01em;
  text-align: center;
}

.entry-kind {
  margin: 0 0 4px;
  color: var(--accent);
  font: 700 8px/1.3 var(--serif);
  letter-spacing: .075em;
  text-transform: lowercase;
}

.essay-marker {
  background: transparent;
  border-color: color-mix(in srgb, var(--ink) 48%, var(--faint));
  border-left: 2px solid color-mix(in srgb, var(--ink) 72%, var(--notebook-blue));
}

.essay-marker h3 {
  margin: 0;
  font: 400 20px/1.12 var(--display);
  letter-spacing: -.012em;
  text-shadow: .2px .15px color-mix(in srgb, var(--ink) 65%, transparent);
}

.essay-marker h3 a {
  color: var(--ink);
  text-decoration: none;
}

.essay-marker h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.empty-timeline {
  margin-left: 88px;
  padding: 24px 0;
  color: var(--muted);
  background: var(--dry-rule) top / 100% 1px no-repeat;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .page-shell {
    width: calc(100% - 6px);
    margin: 3px auto;
  }

  .site-header {
    padding: 11px 15px 9px;
  }

  .journal-identity {
    padding: 9px 0 11px;
  }

  .masthead-name {
    max-width: 14ch;
    font-size: clamp(32px, 9.2vw, 39px);
  }

  .masthead-kicker {
    font-size: 10px;
    letter-spacing: .16em;
  }

  .site-nav {
    align-items: center;
    gap: 2px 8px;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 3px;
  }

  .theme-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .page-main {
    padding: 12px 10px 14px;
  }

  .library-index-item {
    padding-left: 66px;
  }

  .library-page-intro {
    padding-left: 66px;
  }

  .archive-intro--timeline {
    padding-left: 66px;
  }

  .archive-intro--timeline:has(+ .timeline)::before {
    left: 29.5px;
  }

  .archive-intro--timeline + .empty-archive {
    margin-left: 66px;
  }

  .about-page > .section-header,
  .about-page > p {
    margin-left: 66px;
  }

  .library-catalogue-intro,
  .library-catalogue,
  .library-catalogue-page > .empty-archive {
    margin-left: 66px;
  }

  .library-catalogue-page > .back-link {
    margin-left: 66px;
  }

  .library-catalogue-link {
    display: block;
    min-height: 44px;
    padding: 4px 0;
    white-space: normal;
  }

  .library-catalogue-leader {
    display: none;
  }

  .library-catalogue-title {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .library-catalogue-byline {
    display: inline-block;
    padding-left: 10px;
  }

  .library-catalogue-standing {
    display: inline;
    margin-left: 4px;
  }

  .library-catalogue-page--books .library-catalogue {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .library-catalogue-page--books .library-catalogue-link {
    display: block;
  }

  .library-state + .library-state {
    margin-top: 24px;
  }

  .library-state-heading h2 {
    font-size: 10px;
  }

  .library-record {
    margin-left: 66px;
  }

  .library-standing-key {
    margin-left: 66px;
  }

  .library-record-header h1 {
    font-size: clamp(29px, 8.2vw, 34px);
  }

  .library-record-note p {
    font-size: 16px;
    line-height: 1.62;
  }

  .library-index-title a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: -6px 0;
    padding: 6px 0;
  }

  .library-index-folio,
  .library-index-empty {
    font-size: 10px;
  }

  .timeline-page {
    padding-top: 11px;
  }

  .timeline-intro {
    padding: 2px 0 16px 66px;
  }

  .timeline-intro::before {
    left: 29.5px;
  }

  .timeline-intro::after {
    left: 13px;
  }

  .section-header h1 {
    font-size: clamp(29px, 8.2vw, 34px);
  }

  .timeline-year > h2,
  .timeline-item,
  .photo-month {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 5px;
  }

  .timeline-year > h2 span {
    min-width: 34px;
  }

  .timeline-item {
    min-height: 0;
  }

  .timeline-item::before {
    left: 29.5px;
  }

  .timeline-year > h2::before {
    left: 29.5px;
  }

  .photo-month::before {
    left: 29.5px;
  }

  .photo-month > ol {
    padding-left: 7px;
  }

  .timeline-item:last-child::after {
    left: 28px;
  }

  .timeline-origin {
    padding-left: 66px;
  }

  .timeline-origin::before {
    left: 39px;
    width: 16px;
  }

  .timeline-origin::after {
    left: 25px;
  }

  .timeline-date::before {
    left: 37px;
    width: 19px;
  }

  .timeline-date::after {
    right: 17px;
  }

  .timeline-note::before {
    left: 47px;
  }

  .timeline-date time {
    width: 32px;
    margin-right: 0;
  }

  .timeline-note {
    margin-top: 6px;
    padding: 7px 0 8px 7px;
  }

  .timeline-note::after {
    display: none;
  }

  .timeline-entry-title {
    padding-right: 0;
    font-size: 17px;
  }

  .timeline-content p {
    max-width: none;
    font-size: 16px;
    line-height: 1.62;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: -8px;
  }

  .photo-month li {
    align-items: center;
  }

  .photo-month a {
    flex: 1 1 auto;
    min-height: 38px;
    padding: 7px 0;
  }

  .memory-image {
    width: min(76%, 300px);
    margin: 2.4rem auto 2rem;
  }

  .empty-timeline {
    margin-left: 58px;
  }

  .site-footer {
    display: block;
    margin-top: 28px;
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 2px 13px;
    margin-top: 4px;
  }

  .site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}

@media (max-width: 420px) {
  .library-page-intro,
  .library-index-item {
    padding-left: 44px;
  }

  .library-catalogue-intro,
  .library-catalogue,
  .library-catalogue-page > .empty-archive,
  .library-catalogue-page > .back-link,
  .library-record,
  .library-standing-key {
    margin-left: 44px;
  }

}

@media print {
  body,
  .page-shell {
    background: #fff;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
    clip-path: none;
    filter: none;
  }

  .page-shell::before {
    display: none;
  }

  .ecosystem-bar,
  .site-nav,
  .site-footer,
  .back-link {
    display: none;
  }
}
