@font-face {
  font-family: "Mono";
  src: url(../type/ElementaRegular.woff);
  font-style: normal;
}
@font-face {
  font-family: "Serif";
  src: url(../type/EBGaramond-Regular.woff);
  font-style: normal;
}
@font-face {
  font-family: "Serif";
  src: url(../type/EBGaramond-Italic.woff);
  font-style: italic;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

html {
  font-size: 0.7vw;
  --threads: 7.2rem;
  --gloss: 2.2rem;
  --body: 3.6rem;
  --mono: 2rem;
  --small: 1.3rem;
}
@media (max-width: 720px) {
  html {
    font-size: 5px;
    --small: 1.7rem;
  }
}

body {
  font-family: "Serif", serif;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 0.035rem;
  font-variant-numeric: oldstyle-nums;
  display: flex;
  flex-direction: column;
}

.wrap {
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 1em;
  z-index: 10;
  transition: left 0.5s ease-in-out;
}
.wrap.aside {
  left: -33vw;
}

.glossary {
  width: 33vw;
  height: 100vh;
  overflow-y: auto;
  background: yellow;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
  padding: 0.75em 1em;
  padding-right: 1.5em;
}
.glossary-trigger:hover {
  cursor: pointer;
}
.glossary h2 {
  font-size: var(--gloss);
  font-weight: normal;
  text-align: center;
  margin-bottom: 1em;
  position: relative;
}
.glossary h2 span {
  position: absolute;
  left: 0;
  top: 0;
}
.glossary p {
  font-size: var(--gloss);
}

.holes {
  position: fixed;
  left: 1em;
  top: 0;
  width: 2em;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.holes div {
  width: 1.5em;
  height: 1.5em;
  border-radius: 0.75em;
  background: black;
  margin: 8em 0;
}

.introduction {
  max-width: 80%;
  min-height: 55vh;
}
@media (max-width: 720px) {
  .introduction {
    max-width: 100%;
  }
}

header {
  position: fixed;
  z-index: 10;
  width: 90%;
  display: flex;
  flex-direction: row;
}
header div {
  flex: 1;
  text-align: center;
  font-size: var(--mono);
  font-family: "Mono", monospace;
}
header div:first-of-type {
  text-align: left;
  text-indent: 4.4em;
}
header div:last-of-type {
  text-align: right;
}
@media (max-width: 720px) {
  header div:last-of-type {
    display: none;
  }
}

main {
  margin-top: 1yarem;
  margin-bottom: 10em;
  max-width: 100%;
}
@media (max-width: 720px) {
  main {
    max-width: 100%;
  }
}
main h2 {
  text-align: center;
  font-size: var(--mono);
  font-family: "Mono", monospace;
}

p {
  font-size: var(--body);
}
p + p {
  text-indent: 4em;
}
@media (max-width: 720px) {
  p + p {
    text-indent: 2em;
  }
}

ol {
  margin-left: 2em;
  margin-top: 2em;
}
@media (max-width: 720px) {
  ol {
    margin-left: 4em;
    max-width: 100%;
  }
}
ol li {
  font-size: var(--gloss);
  padding-left: 2em;
}
ol li span {
  margin-left: -2em;
}
ol li p {
  font-size: var(--gloss);
  display: inline;
}
ol li p a {
  color: black;
  text-decoration-line: underline;
  text-decoration-thickness: 0.035em;
}
ol li ol li {
  text-indent: 0;
  padding-left: 0;
}
@media (max-width: 720px) {
  ol li {
    text-indent: -2em;
    padding-left: 2em;
  }
}
ol li figure {
  margin: 1em 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  mix-blend-mode: multiply;
}
@media (max-width: 720px) {
  ol li figure {
    overflow-x: auto;
    display: block;
  }
}
ol li figure figcaption {
  font-family: "Mono", monospace;
  font-size: var(--small);
  text-indent: 0;
  padding: 0 1em 0 3em;
  line-height: 1.3;
}
ol li figure figcaption a {
  color: black;
  text-decoration: underline;
}
@media (max-width: 720px) {
  ol li figure figcaption {
    padding: 1em 0;
  }
}
ol li figure img {
  display: block;
  filter: grayscale(1);
}
@media (max-width: 720px) {
  ol li figure img, ol li figure figcaption {
    flex: 1;
  }
}

sup {
  font-family: "Mono", monospace;
  font-size: 1.2rem;
  margin-left: -4px;
  line-height: 1;
}

.footnotes-container {
  padding: 0.35em 0;
}
.footnotes-container ol {
  margin-left: 0;
  margin-top: 1em;
}
@media (max-width: 720px) {
  .footnotes-container ol {
    margin-left: 3em;
  }
}
.footnotes-container ol li {
  font-family: "Mono", monospace;
  font-size: var(--small);
  text-indent: 0;
  padding: 0;
  line-height: 1.3;
}
.footnotes-container ol li a {
  color: black;
  text-decoration: underline;
}

footer {
  position: fixed;
  bottom: 1.5em;
  left: 1.5em;
  max-width: 80%;
  transition: left 0.5s ease-in-out;
}
footer.aside {
  left: calc(-33vw);
}
@media (max-width: 720px) {
  footer {
    max-width: 100%;
  }
}
footer p {
  font-family: "Mono", monospace;
  font-size: var(--small);
  line-height: 1.4;
  text-indent: 0;
}
footer p a {
  color: black;
  border-bottom: 1px solid;
}

img {
  display: block;
  max-width: 100%;
  filter: grayscale(1) contrast(4);
  mix-blend-mode: screen;
  image-rendering: pixelated;
}
img.portrait {
  width: 25%;
}

figure {
  display: block;
}

.threads {
  font-size: var(--threads);
  line-height: 1;
  margin-top: 0.75em;
}
.threads article {
  margin-top: -0.15em;
}
.threads article [data-hide=true] {
  display: none;
}
.threads article span {
  padding-top: 0.25em;
  display: inline-block;
}
.threads article div {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  background: transparent;
  text-indent: -10000px;
}
.threads article div img {
  display: inline;
}
.threads article div.red {
  background: red;
  mix-blend-mode: multiply;
}
.threads article div.black {
  background: black;
}
.threads article div.blue {
  background: blue;
  mix-blend-mode: multiply;
}
.threads article div.brown {
  background: sienna;
  mix-blend-mode: multiply;
}
.threads article div.grey {
  background: #ccc;
  mix-blend-mode: multiply;
}
.threads article div.yellow {
  background: yellow;
  mix-blend-mode: multiply;
}
.threads article div.yellow-red {
  background-color: black;
  background-image: linear-gradient(90deg, black 0%, #ccc 74%);
}
.threads article div.one {
  background-image: url("../tmp/thread_1.svg");
  background-repeat: no-repeat;
}
.threads article div.two {
  background-image: url("../tmp/thread_2.svg");
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}
.threads article div.circle {
  border-radius: 2.5em;
}
.threads article div[data-num="2"] {
  width: 2.5em;
}
.threads article div[data-num="4"] {
  width: 5em;
}
.threads article div[data-num="6"] {
  width: 7.5em;
}
.threads article div[data-num="8"] {
  width: 10em;
}
.threads figure {
  height: 1em;
  display: inline;
}
.threads figure img {
  position: relative;
  width: auto;
  height: 0.75em;
  transform: none;
  top: auto;
  left: auto;
  display: inline;
  mix-blend-mode: multiply;
  line-height: 1;
  padding-right: 4px;
  filter: grayscale(1) contrast(1.5);
}
.threads p, .threads .title {
  font-size: 7rem;
  line-height: 1;
  display: inline;
}
.threads p + p, .threads .title + p {
  text-indent: 0;
}
.threads a {
  color: black;
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 0.4rem;
  text-underline-offset: 0.7rem;
}
.threads .title {
  display: inline;
}

i {
  font-style: normal;
  background: black;
  color: white;
  mix-blend-mode: multiply;
  padding: 0 2rem;
  line-height: 0.8;
}

/*# sourceMappingURL=style.css.map */
