/* Signal log: true black, dark only. The gradient is only ever reading progress
   or a Post's length. */
@font-face {
  font-family: "Recursive";
  src: url("recursive-text.1a3e19941e66.woff2") format("woff2");
  font-weight: 400 800;
  font-display: optional;
}
:root {
  --void: #000;
  --glass: #0b0c10;
  --line: #23262e;
  --dim: #808898;
  --ice: #dfe5ee;
  --body: #c4ccd8;
  --link: #a3b6ff;
  --violet: #9c8cff;
  --holo: linear-gradient(90deg, #6ef3ff, #9c8cff 35%, #ff86c8 68%, #ffe08a);
  --sans: "Recursive", system-ui, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--body);
  font: 400 1.0625rem/1.7 var(--sans);
  font-variation-settings: "MONO" 0;
}
code,
pre,
.bar,
.strip .lbl,
.hdr,
figcaption,
summary,
.site-f,
.cta,
.mono,
.stamp,
.log th,
.log td.d,
.log td.k,
.log .dom,
.yr th {
  font-variation-settings: "MONO" 1;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover {
  color: var(--ice);
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
::selection {
  background: var(--violet);
  color: #000;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--glass);
  padding: .5rem .8rem;
  z-index: 9;
}

/* The shell */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(0 0 0 / .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 2.75rem;
  font-size: .8125rem;
  line-height: 1;
}
.bar .name {
  color: var(--ice);
  font-weight: 700;
  text-decoration: none;
}
.bar nav {
  display: flex;
  gap: 1.1rem;
}
.bar nav a {
  color: var(--dim);
  text-decoration: none;
}
.bar nav a:hover,
.bar nav a[aria-current] {
  color: var(--ice);
}
.bar .readout {
  margin-left: auto;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
main {
  padding: 4rem 0 3rem;
}
.site-f {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 3rem;
  color: var(--dim);
  font-size: .8125rem;
}
.site-f p {
  margin: 0;
}

/* Contents as a strip: segments sized by their sections' words. */
.strip {
  display: flex;
  gap: 3px;
  padding: .55rem 0 .6rem;
}
.strip a {
  position: relative;
  flex-basis: 0;
  min-width: 0;
  text-decoration: none;
  color: var(--dim);
  padding-top: 9px;
}
.strip a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--line);
}
.strip .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: calc(var(--p, 0) * 100%);
  background: var(--holo);
  background-size: 100vw 100%;
  background-attachment: fixed;
}
.strip .lbl {
  display: block;
  font-size: .6875rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: .5rem;
}
.strip a[aria-current] .lbl,
.strip a:hover .lbl {
  color: var(--ice);
}

/* The shape of a Post: its sections to scale, under one gradient. */
.shape {
  display: flex;
  gap: 3px;
  height: 4px;
  width: calc(var(--w, 1) * 100%);
}
.shape span {
  background-image: var(--holo);
  background-repeat: no-repeat;
  flex-basis: 0;
}

/* The index and the log */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.lead {
  max-width: 46rem;
  margin-bottom: 4.5rem;
}
.lead-t {
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 800;
  color: var(--ice);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.lead-t a {
  color: inherit;
  text-decoration: none;
}
.lead-t a:hover {
  color: #fff;
}
.lead p {
  margin: 0 0 1.4rem;
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 38rem;
}
.lead .shape {
  max-width: 38rem;
  margin-bottom: .7rem;
}
.lead .stamp {
  color: var(--dim);
  font-size: .8125rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.log {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.log th {
  text-align: left;
  font-weight: 400;
  color: var(--dim);
  font-size: .75rem;
  padding: 0 1rem .6rem 0;
  border-bottom: 1px solid var(--line);
}
.log th.n {
  text-align: right;
}
.log td {
  padding: .75rem 1rem .75rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.log td.d,
.log td.k {
  color: var(--dim);
  font-size: .8125rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.log td.k {
  width: 4rem;
}
.log .t {
  color: var(--ice);
  text-decoration: none;
  font-weight: 600;
}
.log tr.link .t {
  font-weight: 400;
  color: var(--body);
}
.log .t:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--violet);
}
.log .dom {
  display: block;
  color: var(--dim);
  font-size: .75rem;
  margin-top: .1rem;
}
.log td.n {
  text-align: right;
  white-space: nowrap;
  width: 9rem;
}
.log td.n .shape {
  display: inline-flex;
  vertical-align: middle;
  width: calc(var(--w) * 5rem);
  margin-right: .6rem;
}
.log td.n .mono {
  color: var(--dim);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.yr th {
  color: var(--ice);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 2.6rem 0 .6rem;
  letter-spacing: -.02em;
}
.more {
  margin-top: 1.6rem;
  font-size: .9375rem;
}

/* A Post */
.col {
  max-width: 40rem;
  margin: 0 auto;
}
.post-t {
  font-size: clamp(2.3rem, 5.2vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -.036em;
  font-weight: 800;
  color: var(--ice);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.dek {
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 0 0 2rem;
}
.hdr {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .25rem 1rem;
  margin: 0 0 3rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.hdr dt {
  color: var(--dim);
}
.hdr dd {
  margin: 0;
  color: var(--ice);
  overflow-wrap: anywhere;
}
.toc-m {
  display: none;
}

.prose {
  counter-reset: sec;
  scroll-margin-top: 6rem;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.1em;
}
.prose ul,
.prose ol {
  padding-left: 1.2rem;
}
.prose li {
  margin-bottom: .4em;
}
.prose li::marker {
  color: var(--dim);
}
.prose h2 {
  position: relative;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -.022em;
  font-weight: 760;
  color: var(--ice);
  margin: 2.6em 0 .7em;
  scroll-margin-top: 6rem;
}
.prose .sec {
  counter-increment: sec;
}
.prose .sec::before {
  content: counter(sec);
  position: absolute;
  right: 100%;
  margin-right: 1.2rem;
  top: .32em;
  font-size: .8125rem;
  font-weight: 400;
  color: var(--dim);
  font-variation-settings: "MONO" 1;
}
.prose h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ice);
  margin: 2em 0 .45em;
  scroll-margin-top: 6rem;
}
.prose code {
  font-size: .88em;
  background: var(--glass);
  color: var(--ice);
  padding: .12em .34em;
}
.prose pre {
  background: var(--glass);
  border: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  margin: 1.8rem 0;
  font-size: .8125rem;
  line-height: 1.65;
}
.prose pre code {
  background: none;
  padding: 0;
  font-size: .8125rem;
  line-height: 1.65;
  color: #b9c4d6;
}
.prose blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.2rem;
  border-left: 2px solid var(--violet);
  font-size: 1.375rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: -.012em;
}
.prose blockquote p {
  margin: 0;
}
.prose figure {
  margin: 2.2rem 0;
}
.prose img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--glass);
}
.prose figcaption {
  color: var(--dim);
  font-size: .75rem;
  margin-top: .6rem;
}
.prose details {
  border: 1px solid var(--line);
  padding: .8rem 1rem;
  margin: 1.8rem 0;
}
.prose summary {
  cursor: pointer;
  color: var(--ice);
  font-size: .875rem;
}
.prose details p {
  margin: .6rem 0 0;
}
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--ice);
  color: #000;
  padding: .8rem 1.2rem;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 52rem) {
  .bar .readout {
    display: none;
  }
  .strip .lbl {
    display: none;
  }
  .strip {
    padding: .5rem 0;
  }
  .strip a {
    padding-top: 4px;
  }
  .toc-m {
    display: block;
    border: 1px solid var(--line);
    padding: .7rem 1rem;
    margin: -1.5rem 0 2.5rem;
    font-size: .9375rem;
  }
  .toc-m ol {
    margin: .5rem 0 0;
    padding-left: 1.3rem;
  }
  .prose .sec::before {
    position: static;
    margin-right: .6rem;
  }
  .log thead {
    display: none;
  }
  .log tr {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .8rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .log td {
    border: 0;
    padding: 0;
  }
  .log td:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: .2rem;
  }
  .log td.n {
    grid-column: 1 / -1;
    text-align: left;
    width: auto;
    padding-top: .3rem;
  }
  .log .yr {
    display: block;
    padding: 0;
    border: 0;
  }
  .yr th {
    display: block;
  }
}
