/* Sub pages (music / education / design): same ink, cream and type as the strings homepage, no toys. */
:root { --bg: #1a1916; --fg: #faf8f4; --dim: #9a958a; --line: #2f2d27; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 18px/1.55 "Newsreader", Georgia, serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
main { max-width: 44rem; margin: 0 auto; padding: 3.5rem 1.5rem 4rem; }

/* Header mirrors the homepage: name in Newsreader, the three doors in Plex Mono, lowercase. */
.crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; font: 400 16px/1.2 "IBM Plex Mono", monospace; margin-bottom: 3.5rem; }
.crumbs a { text-decoration: none; opacity: .55; }
.crumbs a:hover, .crumbs a:focus-visible { opacity: 1; }
.crumbs a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.crumbs .home { font: 400 28px/1 "Newsreader", Georgia, serif; opacity: 1; margin-right: 10px; }

h1 { font-weight: 400; font-size: 3.2rem; line-height: 1; margin: 0 0 .6rem; text-transform: lowercase; }
.lede { color: var(--dim); margin: 0 0 2.5rem; }

.work { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 128px 1fr; gap: 0 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.item img { width: 128px; height: 128px; object-fit: cover; border-radius: 2px; display: block; background: #2a2823; }
.item h2 { font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin: 0 0 4px; }
.meta { font: 400 12px/1.4 "IBM Plex Mono", monospace; color: var(--dim); margin-bottom: 8px; }
.item p { margin: 0 0 8px; }
.go { font: 400 13px/1.4 "IBM Plex Mono", monospace; text-decoration: none; }
.go:hover, .go:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

footer { margin-top: 2.5rem; font: 400 13px/1.4 "IBM Plex Mono", monospace; color: var(--dim); display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 560px) {
  main { padding: 2rem 1.1rem 3rem; }
  .crumbs { margin-bottom: 2.5rem; gap: 6px 16px; font-size: 15px; }
  h1 { font-size: 2.6rem; }
  .item { grid-template-columns: 84px 1fr; gap: 0 16px; }
  .item img { width: 84px; height: 84px; }
  .item h2 { font-size: 1.2rem; }
  .item .body { display: contents; }
  .item .head { grid-column: 2; align-self: center; }
  .item p, .item .go { grid-column: 1 / -1; }
  .item p { margin-top: 12px; }
}
