/* work-shy light gr_ey     #D8DCD6 */
/* pinky photic             #FC86AA */
/* piscine very dark bl_ue  #000133 */

/*878384 title*/
/*9f9b9d text*/
/*e2e1e1*/
:root {
  --primary-dark: #0c0508;
  --secondary-dark: #878384;
  --tertiary-dark: #9f9b9d;
  --tertiary-light: #a8a5a6;
  --secondary-light: #e2e1e1;
  --primary-light: #ebeaeb;
  --base-contrast-color: #000133;
  --primary-accent-color: #fc86aa;

  --base-color: var(--primary-light);
  --primary-text: var(--primary-dark);
  --primary-heading: var(--primary-dark);
  --secondary-heading: var(--tertiary-dark);
}

/*@media (prefers-color-scheme: dark) {
  :root {
    --base-color: var(--primary-dark);
    --base-contrast-color: var(--primary-light);
    --primary-text: var(--tertiary-light);
    --primary-heading: var(--secondary-light);
    --secondary-heading: var(--secondary-light);
  }

  nav a {
    color: var(--primary-accent-color);
    background-image: linear-gradient(
      to bottom,
      var(--primary-text) 100%,
      var(--primary-text) 100%
    );
  }
}
*/
@font-face {
  font-family: "Caslon Pro";
  font-weight: 400;
  font-style: normal;
  src: url("https://maddo.xxx/assets/fonts/CaslonPro-Regular.woff") format("woff");
  unicode-range: U+0-7F, U+A0, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D,
    U+2022, U+2026;
}

@font-face {
  font-family: "Caslon Pro";
  font-weight: 400;
  font-style: italic;
  src: url("https://maddo.xxx/assets/fonts/CaslonPro-Italic.woff") format("woff");
  unicode-range: U+0-7F, U+A0, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D,
    U+2022, U+2026;
}

@font-face {
  font-family: "Caslon Pro";
  font-weight: 500;
  font-style: normal;
  src: url("https://maddo.xxx/assets/fonts/CaslonPro-SemiBold.woff") format("woff");
  unicode-range: U+0-7F, U+A0, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D,
    U+2022, U+2026;
}

@font-face {
  font-family: "Caslon Pro";
  font-weight: 700;
  font-style: normal;
  src: url("https://maddo.xxx/assets/fonts/CaslonPro-Bold.woff") format("woff");
  unicode-range: U+0-7F, U+A0, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D,
    U+2022, U+2026;
}

@font-face {
  font-family: "Caslon Pro";
  font-weight: 700;
  font-style: italic;
  src: url("https://maddo.xxx/assets/fonts/CaslonPro-BoldItalic.woff") format("woff");
  unicode-range: U+0-7F, U+A0, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D,
    U+2022, U+2026;
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--base-color);
  color: var(--primary-text);
  font-family: "Caslon Pro", medium-content-serif-font, Georgia, Cambria,
    "Times New Roman", Times, serif;
  opacity: 1 !important;
}

body {
  max-width: 720px;
  margin: auto;
  padding: 10px 20px 10px 32px;
  font-size: 18px;
  line-height: 1.2em;
}

nav a {
  color: var(--primary-text);
  text-decoration: none;
  padding-bottom: 1.4em;
  background-image: linear-gradient(to bottom,
      var(--primary-accent-color) 100%,
      var(--primary-accent-color) 100%);
  background-repeat: repeat-x;
  background-size: 2px 0.08em;
  background-position: 0 1.25em;
}

nav a::selection {
  color: var(--base-color);
  background-color: var(--primary-accent-color);
}

nav>details[open] summary {
  padding-bottom: 20px;
}

article>header {
  color: var(--secondary-dark);
  margin: 50px 0px;
}

article>section {
  margin-top: 42px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
}


section details summary {
  display: flex;
  gap: 0.5em;
  align-items: start;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary:before {
  content: "+";
  font-family: monospace;
  color: var(--primary-accent-color);
  margin-left: -20px;
  margin-top: 0.2em;
}

section details[open]>summary:before {
  content: "" !important;
}

section details summary h3 {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
}

section details[open] summary h3 {
  margin-bottom: 30px;
}

section summary:focus {
  outline: none;
}

section details p:first-of-type {
  margin-top: 0px;
}

article>header>h1 {
  font-family: elevate-display-font;
  font-size: 2.3em;
  margin-bottom: 20px;
  color: var(--primary-heading);
}

article>header>h2 {
  font-family: "Caslon Pro", "Georgia", serif !important;
  font-weight: normal;
  font-style: italic;
  font-size: 1.35em;
  color: var(--primary-heading);
  letter-spacing: 1.6px;
}

h3 {
  font-size: 1.5em;
  letter-spacing: 0.28px;
  margin-bottom: 30px;
  padding-bottom: 0.3em;
  box-shadow: inset 0 -2px var(--primary-accent-color);
}

h4 {
  font-size: 1.2em;
  margin-top: 30px;
  margin-bottom: 15px;
  letter-spacing: 0.2px;
}

h5 {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-transform: lowercase;
}

h3+p,
h4+p,
h5+p {
  margin: 10px 0px;
}

p {
  font-weight: 400;
  font-style: normal;
  font-size: 1.12em;
  line-height: 1.58;
  letter-spacing: -0.003em;
  margin-top: 29px;
}

p+p {
  margin-top: 17px;
}

p i {
  font-style: italic;
}

aside {
  padding-left: 20px;
}

aside p {
  color: var(--primary-heading);
}

img {
  max-width: 100%;
}

video {
  margin: auto;
  max-width: fit-content;
  display: block;
  max-height: 520px;
}

figcaption {
  margin-top: 10px;
}

blockquote {
  --x-height-multiplier: 0.375;
  --baseline-multiplier: 0.17;
  font-family: "Caslon Pro", medium-content-serif-font, Georgia, Cambria,
    "Times New Roman", Times, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.05em;
  line-height: 1.58;
  letter-spacing: 0.005em;
  border-left: 3px solid #9966cc;
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: -19px;
  padding-bottom: 2px;
}

hr {
  background: none;
  border: 0;
  margin: 0.5em 0;
  padding: 0;
}

hr::after {
  font-family: serif;
  content: "***";
  display: block;
  opacity: 0.8;
  line-height: 1;
  text-align: center;
}

u {
  text-decoration: underline;
}

ul>li::before {
  font-size: 16.8px;
  padding-top: 4px;
  padding-right: 15px;
  content: "\2022";
  position: absolute;
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 78px;
  margin-left: -78px;
  text-align: right;
}

ul>li {
  list-style: none;
}

li {
  --x-height-multiplier: 0.375;
  --baseline-multiplier: 0.17;
  font-family: "Caslon Pro", medium-content-serif-font, Georgia, Cambria,
    "Times New Roman", Times, serif;
  letter-spacing: 0.01rem;
  font-weight: 400;
  font-style: normal;
  font-size: 1.12em;
  line-height: 1.58;
  letter-spacing: -0.003em;
  margin-bottom: 14px;
}

/* When there are paragraph tags inside of a list item, the spacing gets all
   funky. Reset.
 */
li>p {
  font-size: 1em;
}

figure {
  margin: 10px;
}

figcaption {
  font-style: italic;
}

figure.tweet {
  background: white;
  border-radius: 5px;
  border: 2px solid #1d9bf0;
  margin-left: 15px;
  max-width: 400px;
  padding: 10px 15px;
}

.tweet figcaption {
  margin-top: 10px;
}

.tweet blockquote {
  margin: 10px auto;
  font-family: sans-serif;
  font-size: 0.83em;
  border: none;
  font-style: normal;
  padding: 0px;
  white-space: pre-line;
}

div.compressed-paragraphs>p {
  margin-top: 0px;
  margin-bottom: 0px;
}

p.acknowledgements {
  font-style: italic;
}

.loading-dots {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: loading-dots 1s infinite linear alternate;
  animation-delay: 250ms;
}

.loading-dots::before,
.loading-dots::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.loading-dots::before {
  left: -10px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: loading-dots 1s infinite alternate;
  animation-delay: 0s;
}

.loading-dots::after {
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: loading-dots 1s infinite alternate;
  animation-delay: 500ms;
}

@keyframes loading-dots {
  0% {
    background-color: #9880ff;
  }

  50%,
  100% {
    background-color: rgba(152, 128, 255, 0.2);
  }
}

/* latin */
@font-face {
  font-family: "elevate-display-font";
  font-weight: 500;
  font-style: normal;
  src: url("https://maddo.xxx/assets/fonts/heldane-500-normal-latin.woff") format("woff");
  unicode-range: U+0-7F, U+A0, U+200A, U+2014, U+2018, U+2019, U+201C, U+201D,
    U+2022, U+2026;
}

/* rest */
@font-face {
  font-family: "elevate-display-font";
  font-weight: 500;
  font-style: normal;
  src: url("https://maddo.xxx/assets/fonts/heldane-500-normal-non-latin.woff") format("woff");
  unicode-range: U+80-9F, U+A1-2009, U+200B-2013, U+2015-2017, U+201A-201B,
    U+201E-2021, U+2023-2025, U+2027-10FFFF;
}

/*

Footnotes

*/

/*

  Target only the ordered list that is an immediate child of the section.
  We don't want to target lists within footnotes here.

*/

section.footnotes h3 {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

section.footnotes>ol>li {
  /* top | left and right | bottom */
  padding: 1px 11px 0px;
  margin-bottom: 0px;
}

/* The first `<p>` will have a margin that we don't want here. */
section.footnotes>ol>li:first-child {
  margin-top: 0;
}

/* The last `<p>` needs a smaller margin so the Return to Content link isn't out in space */
section.footnotes>ol>li p:last-of-type {
  margin-bottom: 8px;
}

/*

When the footnote is highlighted, we want to add a nice lil background color.

*/
footer .footnotes :target {
  background: rgba(255, 128, 171, 0.3);
}

/**
 * Initialiazing a `footnotes` counter on the wrapper
 */
article {
  counter-reset: footnotes;
}

/**
 * Inline footnotes references
 * 1. Increment the counter at each new reference
 * 2. Reset link styles to make it appear like regular text
**/
a[aria-describedby="footnotes-header"] {
  counter-increment: footnotes;
  /* 1 */
  text-decoration: none;
  /* 2 */
  color: inherit;
  /* 2 */
  cursor: default;
  /* 2 */
  outline: none;
  /* 2 */
}

a[aria-describedby="footnotes-header"]::after {
  /* Display the current state of the counter (e.g. `[ 1 ]`) */
  content: "[ " counter(footnotes) " ]";
  vertical-align: super;
  font-size: 0.6em;
  letter-spacing: -1px;
  margin-left: 3px;
  margin-right: 3px;
  color: blue;
  cursor: pointer;
}

/**
 * Resetting the default focused styles on the number
 */
a[aria-describedby="footnotes-header"]:focus::after {
  outline: thin dotted;
  outline-offset: 2px;
}

[aria-label="Back to content"] {
  font-size: 0.8em;
}

code {
  font-family: monospace, monospace;
  font-size: 0.7em;
  background-color: lightcyan;
  padding: 3px 5px;
}

/*

Inline notes! Woooooo!

*/

/* This initially hides the note  */
.note .note-body {
  display: none;
}

.note-marker sup {
  font-size: 10px;
  font-style: italic;
}

.note-marker sup:hover {
  text-decoration: underline;
}

/* This styles the note text which appears 
when the label is clicked  */
.note input:checked~.note-body {
  display: inline;
  font-size: 0.7em;
  font-family: Monospace;
  color: mix(#000, blue, 30%);
  cursor: default;
}

/* This permanently hides the checkbox  */
.note input {
  display: none;
}

/* This styles the note label to appear 
like a hyperlink  */
.note input~label {
  display: inline;
  cursor: pointer;
  color: blue;
}

/* This styles the note label when the mouse 
hovers over it */
.note input~label:hover {
  cursor: pointer;
  color: red;
}

/* This styles the note label after it is clicked */
.note input:checked~label {
  color: red;
  text-decoration: none;
}