/* Fibreculture lists. Follows the journal's stylesheet: pink is interaction,
   never decoration; mono is apparatus (dates, counts), never prose. Fonts come
   from the journal's own /assets/fonts/ when served, system fonts otherwise. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
:root { --ink:#111; --paper:#fff; --grey-1:#f4f4f4; --grey-2:#d8d8d8; --grey-3:#767676; --grey-4:#454545;
  --hot:#d4006f; --hot-soft:#ffe8f4; --measure:38rem;
  --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace; }
@media (prefers-color-scheme: dark) { :root { --ink:#ededed; --paper:#0d0d0d; --grey-1:#1a1a1a;
  --grey-2:#333; --grey-3:#949494; --grey-4:#bcbcbc; --hot:#ff5fac; --hot-soft:#2a0b1b; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 1rem/1.55 var(--sans); }
a { color:inherit; text-decoration-color:var(--grey-2); text-underline-offset:.15em; }
a:hover, a:focus-visible { color:var(--hot); text-decoration-color:var(--hot); }
a[aria-current] { color:var(--hot); }
header.site, main, footer.site { max-width:64rem; margin:0 auto; padding:0 1rem; }
header.site { display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; align-items:baseline; padding-top:1rem;
  padding-bottom:.75rem; border-bottom:1px solid var(--grey-2); }
header.site .home { font-weight:600; text-decoration:none; }
header.site .home span { font-weight:400; color:var(--grey-3); }
header.site nav { display:flex; flex-wrap:wrap; gap:1rem; font-size:.9rem; }
header.site nav a { text-decoration:none; color:var(--grey-4); }
main { padding-top:1.5rem; padding-bottom:3rem; }
main > p, main > h1, main > h2, .lede, .message, article { max-width:var(--measure); }
h1 { font-size:1.6rem; line-height:1.25; font-weight:600; margin:.2rem 0 .5rem; }
h2 { font-size:1.05rem; font-weight:600; margin:2rem 0 .5rem; }
.lede { color:var(--grey-4); font-size:1.05rem; }
.crumbs, .count, .d, .n, .state, .list, .key, .meta dt, .pager, .perma, .year, .lane {
  font-family:var(--mono); font-size:.8rem; color:var(--grey-3); }
.n { font-variant-numeric:tabular-nums; }
.state { border:1px solid var(--grey-2); border-radius:2px; padding:0 .3em; white-space:nowrap; }
.who { font-weight:600; }
span.who { color:var(--grey-4); }
/* the pulse */
/* On a phone the 300 months keep a readable width and scroll sideways. */
.pulse-wrap { overflow-x:auto; margin:1.5rem 0 .25rem; -webkit-overflow-scrolling:touch; }
svg.pulse { width:100%; min-width:46rem; height:auto; display:block; }
svg.pulse .full { fill:var(--grey-4); }
svg.pulse .lost { fill:var(--paper); stroke:var(--grey-3); stroke-width:.35; }
svg.pulse a:hover .full, svg.pulse a:focus .full { fill:var(--hot); }
svg.pulse a:hover .lost, svg.pulse a:focus .lost { stroke:var(--hot); }
svg.pulse .base { stroke:var(--grey-2); stroke-width:.5; }
svg.pulse .tick { stroke:var(--grey-1); stroke-width:.5; }
svg.pulse text { font-family:var(--mono); font-size:7px; fill:var(--grey-3); }
.key .k { display:inline-block; width:.7em; height:.7em; vertical-align:-.05em; margin-left:.5em; }
.key .full { background:var(--grey-4); } .key .lost { border:1px solid var(--grey-3); }
/* tables and lists */
table { border-collapse:collapse; margin:1rem 0; font-size:.92rem; }
th, td { text-align:left; vertical-align:top; padding:.35rem .9rem .35rem 0; border-bottom:1px solid var(--grey-1); }
th { font-weight:600; font-size:.8rem; color:var(--grey-4); }
table.months td a { display:inline-block; margin:0 .6rem .2rem 0; white-space:nowrap; }
ol.messages, ol.convs, ul.papers { padding:0; list-style:none; max-width:46rem; }
ol.messages li, ol.convs li { padding:.3rem 0; border-bottom:1px solid var(--grey-1); }
ol.messages .d { display:inline-block; min-width:6.5rem; }
ol.messages .who { display:block; font-weight:400; font-size:.85rem; margin-left:6.5rem; }
@media (max-width: 34rem) { ol.messages .who { margin-left:0; } ol.messages .d { display:block; } }
ol.convs .names { display:block; font-size:.85rem; color:var(--grey-4); }
ul.ways li { margin:.5rem 0; }
/* guide: numbered, with the opening lines of each conversation */
ol.guide { list-style:decimal; padding-left:2rem; }
ol.guide li { padding:.6rem 0; }
ol.guide .opening { display:block; margin-top:.3rem; font-size:.9rem; color:var(--grey-4); }
/* people A-Z */
p.az a { margin-right:.6rem; }
ul.az-list { padding:0; list-style:none; columns:15rem; column-gap:2rem; max-width:60rem; }
ul.az-list li { break-inside:avoid; padding:.1rem 0; }
ul.az-list .n { font-family:var(--mono); font-size:.75rem; color:var(--grey-3); }
/* the message a link points to, on a conversation page */
article:target { background:var(--hot-soft); outline:.5rem solid var(--hot-soft); }
/* messages */
.meta { display:grid; grid-template-columns:max-content 1fr; gap:.15rem 1rem; margin:1rem 0 1.5rem; }
.meta dd { margin:0; }
.message .text { white-space:pre-wrap; overflow-wrap:anywhere; margin:0 0 .75rem; }
details.quote { margin:.25rem 0 .75rem; padding-left:.75rem; border-left:2px solid var(--grey-2); color:var(--grey-4); }
details.quote summary { cursor:pointer; font-family:var(--mono); font-size:.75rem; color:var(--grey-3); }
details.quote summary:hover { color:var(--hot); }
.stub { color:var(--grey-3); font-style:italic; }
article { border-top:1px solid var(--grey-2); padding:1rem 0 .25rem; }
article header { margin-bottom:.5rem; }
article .perma { margin-left:.5rem; }
svg.years { width:16rem; height:auto; display:block; margin:.5rem 0 1rem; }
svg.years rect { fill:var(--grey-4); } svg.years text { font:7px var(--mono); fill:var(--grey-3); }
footer.site { border-top:1px solid var(--grey-2); padding-top:1rem; padding-bottom:2rem; font-size:.85rem; color:var(--grey-4); }
footer.site p { max-width:var(--measure); }
@media (max-width: 34rem) { h1 { font-size:1.3rem; } table.lists td:last-child, table.lists th:last-child { display:none; } }
/* search: Pagefind's UI in the archive's type and colour */
#search { --pagefind-ui-font: inherit; --pagefind-ui-primary: var(--hot); --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: var(--paper); --pagefind-ui-border: var(--grey-2); --pagefind-ui-tag: var(--grey-1); }
#journal-option { margin-top: 1rem; font-size: .9rem; color: var(--grey-4); }
/* crossings */
table.crossings td { vertical-align: top; padding: .4rem 1.5rem .4rem 0; font-size: .92rem; }
table.crossings th { vertical-align: top; padding: .4rem 1rem .4rem 0; }
table.crossings .n, ol.related .d { font-family: var(--mono); font-size: .75rem; color: var(--grey-3); }
ol.related { padding-left: 1.5rem; max-width: 46rem; }
ol.related > li { margin: .8rem 0; }
ol.related ul { padding-left: 1rem; list-style: none; font-size: .92rem; }
/* the 2001 Reader */
ol.reader { padding-left: 1.6rem; max-width: 46rem; }
ol.reader li { padding: .45rem 0; border-bottom: 1px solid var(--grey-1); }
ol.reader .t { font-weight: 600; }
ol.reader .who { display: block; font-size: .92rem; }
ol.reader .d { display: block; font-size: .85rem; color: var(--grey-4); }
ol.reader .n { font-family: var(--mono); font-size: .72rem; color: var(--grey-3); }
/* the way back to the journal, set apart at the end of the header */
header.site nav a.journal { margin-left: .5rem; padding-left: .9rem; border-left: 1px solid var(--grey-2); }
ol.reader a.t { text-decoration: none; }
ol.reader a.t:hover { color: var(--hot); text-decoration: underline; }
ul.rejoinders { list-style: none; padding: .25rem 0 0 1rem; margin: 0; border-left: 2px solid var(--grey-1); font-size: .88rem; }
ul.rejoinders li { padding: .1rem 0; border: 0; }
ul.rejoinders .d { display: inline; }
/* front page: ways in, three groups side by side (stacked on a phone) */
div.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem 2rem; margin: 2rem 0 2.5rem; }
div.ways h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-3); margin: 0 0 .5rem; }
div.ways ul { list-style: none; padding: 0; margin: 0; }
div.ways li { padding: .5rem 0; border-top: 1px solid var(--grey-1); }
div.ways li a { font-weight: 600; text-decoration: none; }
div.ways li a:hover { color: var(--hot); text-decoration: underline; }
div.ways li span { display: block; font-size: .88rem; color: var(--grey-4); margin-top: .1rem; }
