/* bones.cwandt.com. CW&T design system: Space Mono 400 only, black on white, zero radius. */
@font-face { font-family: "Space Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("https://cwandt.com/cdn/fonts/space_mono/space_mono_n4.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("https://cwandt.com/cdn/fonts/space_mono/space_mono_i4.woff2") format("woff2"); }

:root { --black: #000; --white: #fff; --gray: #dcdcdc; --mid: #6b6b6b; --orange: #ef8933; --gutter: 16px; --measure: 68ch; }
@media (min-width: 750px) { :root { --gutter: 40px; } }

* { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black);
  font: 400 15px/1.8 "Space Mono", monospace; }
@media (min-width: 750px) { body { font-size: 16px; } }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4, strong { font-weight: 400; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; text-wrap: balance; }

header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px var(--gutter); font-size: 14px; }
header a { text-decoration: none; }
header a:hover { text-decoration: underline; }
header nav { display: flex; gap: 20px; text-transform: uppercase; }
@media (max-width: 480px) { header nav { gap: 12px; font-size: 12px; } }

main { padding: 0 var(--gutter) 72px; }

/* Home */
.intro { max-width: var(--measure); padding: 72px 0 56px; }
.intro h1 { font-size: 30px; margin-bottom: 32px; }
@media (min-width: 750px) { .intro { padding-top: 120px; } .intro h1 { font-size: 36px; } }
.intro p { margin: 0 0 1em; }

.shelf { border-top: 1px solid var(--black); padding: 20px 0 48px; }
.shelf h2 { font-size: 14px; text-transform: uppercase; }
.shelf .about { margin: 6px 0 20px; color: var(--mid); font-size: 14px; }
.shelf ul { list-style: none; margin: 0; padding: 0; }
.shelf li { border-top: 1px solid var(--gray); }
.shelf li a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; text-decoration: none; }
.shelf li a:hover .title { text-decoration: underline; text-underline-offset: 3px; }
.shelf .summary { color: var(--mid); font-size: 14px; line-height: 1.6; }
.shelf .status { font-size: 12px; text-transform: uppercase; }
@media (min-width: 990px) {
  .shelf li a { grid-template-columns: 22ch 1fr 12ch; gap: 24px; align-items: baseline; }
  .shelf .status { text-align: right; }
}

/* A note */
article { max-width: var(--measure); padding-top: 56px; }
article .facts { font-size: 12px; text-transform: uppercase; margin: 0 0 16px; }
article h1 { font-size: 36px; }
article .lede { font-size: 18px; line-height: 1.5; margin: 20px 0 40px; padding-bottom: 40px; border-bottom: 1px solid var(--black); }
article h2 { font-size: 24px; margin: 56px 0 16px; }
article h3 { font-size: 18px; margin: 40px 0 12px; }
article p { margin: 0 0 1.2em; }
article ul, article ol { margin: 0 0 1.2em; padding-left: 3ch; }
article li { margin-bottom: 0.5em; }
article ul { list-style: "- "; }
/* No bold in this system. Emphasis is a small uppercase label. */
article strong { font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.04em; }
article blockquote { margin: 0 0 1.2em; padding-left: 2ch; border-left: 2px solid var(--black); }
article code, article pre { font: inherit; background: var(--gray); }
article code { padding: 0 0.5ch; }
article pre { padding: 16px; overflow-x: auto; line-height: 1.5; }
article img { max-width: 100%; display: block; }

/* Password gate */
.gate { max-width: 60ch; padding-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.gate h1 { font-size: 36px; }
.gate p { margin: 0; }
.gate label, .gate .err { font-size: 14px; text-transform: uppercase; }
.gate input { font: inherit; color: var(--black); background: var(--white); border: 2px solid var(--black);
  padding: 10px 20px; outline: none; width: 100%; }
.gate button { align-self: flex-start; font: inherit; font-size: 12px; text-transform: uppercase;
  background: var(--black); color: var(--white); border: 1px solid var(--black); padding: 12px 24px; cursor: pointer; }
.gate button:hover { background: var(--white); color: var(--black); }
*:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

footer { background: var(--gray); padding: 20px var(--gutter); font-size: 12px; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 16px; }
footer .dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); margin-right: 8px; }
