*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

@font-face {
  font-family: "Rebond Grotesque";
  font-weight: normal;
  src: url("/fonts/rebond-grotesque/ESRebondGrotesque-Regular.woff2") format("woff2"), url("/fonts/rebond-grotesque/ESRebondGrotesque-Regular.woff") format("woff"), url("/fonts/rebond-groteque/ESRebondGrotesque-Regular.eot") format("eot");
}
@font-face {
  font-family: "Rebond Grotesque";
  font-weight: normal;
  font-style: italic;
  src: url("/fonts/rebond-grotesque/ESRebondGrotesque-Italic.woff2") format("woff2"), url("/fonts/rebond-grotesque/ESRebondGrotesque-Italic.woff") format("woff"), url("/fonts/rebond-groteque/ESRebondGrotesque-Italic.eot") format("eot");
}
@font-face {
  font-family: "Rebond Grotesque";
  font-weight: bold;
  src: url("/fonts/rebond-grotesque/ESRebondGrotesque-Bold.woff2") format("woff2"), url("/fonts/rebond-grotesque/ESRebondGrotesque-Bold.woff") format("woff"), url("/fonts/rebond-groteque/ESRebondGrotesque-Bold.eot") format("eot");
}
@font-face {
  font-family: "Berkeley Mono";
  font-weight: normal;
  src: url("/fonts/berkeley-mono/BerkeleyMonoVariable-Regular.woff2"), url("/fonts/berkeley-mono/BerkeleyMonoVariable-Regular.woff");
}
html {
  font-size: 110%;
}

body {
  padding: 1rem;
  background: rgb(250, 246, 237);
  color: #333;
  font-family: "Rebond Grotesque", sans-serif;
  font-feature-settings: "ss06" 1, "ss07" 1, "ss09" 1, "liga" 1, "calt" 1, "dlig" 1;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  body {
    background: rgb(20, 16, 7);
    color: #ccc;
  }
}
@media print {
  body {
    color: #000;
  }
}

a {
  color: rgb(100, 134, 102);
  text-decoration: underlined;
}
@media (prefers-color-scheme: dark) {
  a {
    color: #7e9f80;
  }
}
a.no-underline {
  text-decoration: none;
}

h1 {
  font-size: 1.44rem;
}

h2 {
  font-size: 1.2em;
}

h3, h4, h5, h6 {
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-weight: bold;
  line-height: 1.2;
}
@media (prefers-color-scheme: dark) {
  h1, h2, h3, h4, h5, h6 {
    color: #ddd;
  }
}

code {
  font-family: "Berkeley Mono", monospace;
  font-variation-settings: "wght" 100;
  font-size: 0.9em;
}

.footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.833rem;
  color: #555;
}
.footer.footer {
  margin-top: 0;
}
@media (prefers-color-scheme: dark) {
  .footer {
    color: #999;
  }
}
@media (max-width: 600px) {
  .footer {
    display: block;
  }
  .footer__pages {
    margin-bottom: 1rem;
  }
}
.footer a {
  color: inherit;
}
.footer__pages {
  display: flex;
  gap: 1rem;
  order: 1;
}
@media print {
  .footer__pages {
    display: none;
  }
}

.back_link {
  text-decoration: none;
}
@media print {
  .back_link {
    display: none;
  }
}

blockquote {
  font-style: italic;
  padding: 0.5rem 1rem;
  border-left: 4px solid rgb(100, 134, 102);
  background: #ece7db;
}
@media (prefers-color-scheme: dark) {
  blockquote {
    border-color: #7e9f80;
    background: #413f3a;
  }
}

pre {
  overflow-x: scroll;
}

dl dt {
  font-weight: bold;
  float: left;
  margin-right: 4px;
}
dl dt:after {
  content: ":";
}

sup {
  vertical-align: top;
}

input {
  border-radius: 8px;
  border: none;
  padding: 0.25rem 0.5rem;
  margin-right: 4px;
  line-height: 1.5;
}
input[type=email] {
  background: #ece7db;
}
@media (prefers-color-scheme: dark) {
  input[type=email] {
    background: #413f3a;
  }
}
input[type=submit] {
  background: rgb(100, 134, 102);
  color: #fff;
  cursor: pointer;
}
input[type=submit]:hover {
  background: #536f54;
}
@media (prefers-color-scheme: dark) {
  input[type=submit] {
    background: #688c6a;
    color: #ccc;
  }
  input[type=submit]:hover {
    background: #3d513e;
  }
}

main > * {
  margin-top: 0;
}
main > * + * {
  margin-top: 1rem;
}

.sitewrapper {
  margin: 0 auto;
  max-width: 960px;
}
.sitewrapper > * {
  margin-top: 0;
}
.sitewrapper > * + * {
  margin-top: 1rem;
}
.sitewrapper--page > * {
  max-width: 640px;
}

.skip-link {
  position: absolute;
  top: 0;
  transform: translateY(-100%);
}

.skip-link:focus {
  transform: translateY(0);
}

.footnotes {
  font-size: 0.833rem;
  padding-top: 1rem;
}

.hidden {
  display: none;
}

.index {
  margin: 2rem 0 0;
}
.index__column > * {
  margin-top: 0;
}
.index__column > * + * {
  margin-top: 0.5rem;
}
@media (max-width: 960px) {
  .index {
    max-width: 640px;
  }
  .index > * {
    margin-top: 0;
  }
  .index > * + * {
    margin-top: 1rem;
  }
}
@media (min-width: 960px) {
  .index {
    display: flex;
    gap: 1rem;
    align-items: start;
  }
  .index__column {
    width: 320px;
  }
}
.index__more {
  text-decoration: none;
  display: inline-block;
}
@media print {
  .index__more {
    display: none;
  }
}

.hero {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero__heading {
  font-size: 1.728rem;
}
.hero__subheading {
  font-size: 1.2em;
}
.hero__arne {
  max-height: 130px;
}
.hero__arne::selection {
  background: none;
}
.hero__arne--alt-1 .mouth-1 {
  visibilty: hidden;
}
.hero__arne--alt-1 .mouth-2 {
  visibility: visible;
}
.hero__arne--alt-2 .eyes-1, .hero__arne--alt-2 .mouth-2 {
  visibility: hidden !important;
}
.hero__arne--alt-2 .eyes-2, .hero__arne--alt-2 .tounge {
  visibility: visible;
}

html.js .hero__arne {
  cursor: pointer;
}

html:not(.js) .hero__arne:hover .mouth-1 {
  visibilty: hidden;
}
html:not(.js) .hero__arne:hover .mouth-2 {
  visibility: visible;
}

.article > *, .book_review > * {
  margin-top: 0;
}
.article > * + *, .book_review > * + * {
  margin-top: 0.5rem;
}
.article__heading, .book_review__heading {
  font-weight: bold;
  line-height: 1.2;
  display: inline-block;
}
.article__heading + br, .book_review__heading + br {
  display: none;
}
.article__byline, .book_review__byline {
  color: #555;
  font-size: 0.833rem;
  display: block;
  line-height: 1.2;
  margin-top: 0;
}
@media (prefers-color-scheme: dark) {
  .article__byline, .book_review__byline {
    color: #999;
  }
}
.article__byline a, .book_review__byline a {
  color: inherit;
}
.article__homescreen_image, .book_review__homescreen_image {
  width: 100%;
  max-width: 480px;
}

.book_review__cover {
  width: 40%;
  float: right;
  margin: 0 0 0.5rem 0.5rem;
}
.book_review::after {
  content: "";
  display: table;
  clear: both;
}

.weekly > * {
  margin-top: 0;
}
.weekly > * + * {
  margin-top: 1rem;
}
.weekly__header {
  max-width: 640px;
}
.weekly__header > * {
  margin-top: 0;
}
.weekly__header > * + * {
  margin-top: 0.5rem;
}
.weekly__overview {
  column-width: 308px;
}
.weekly__overview > * {
  margin-top: 0;
}
.weekly__overview > * + * {
  margin-top: 0.5rem;
}
@media (max-width: 960px) {
  .weekly__overview {
    column-width: 100%;
  }
}
.weekly__list {
  padding-left: 32px;
}
.weekly__item {
  break-inside: avoid;
}
.weekly__subscribe_form label {
  font-size: 0.833rem;
  display: block;
}
.weekly__subscribe_form small {
  display: block;
  line-height: 1.2;
  margin-top: 0.5rem;
}
.weekly__byline {
  color: #555;
  font-style: italic;
  font-size: 0.833rem;
  display: block;
  margin-top: 0;
}
@media (prefers-color-scheme: dark) {
  .weekly__byline {
    color: #999;
  }
}
.weekly__url {
  color: #555;
  font-style: italic;
  font-size: 0.833rem;
}
@media (prefers-color-scheme: dark) {
  .weekly__url {
    color: #999;
  }
}

.page > * {
  margin-top: 0;
}
.page > * + * {
  margin-top: 0.5rem;
}

.project__description > * {
  margin-top: 0;
}
.project__description > * + * {
  margin-top: 0.5rem;
}

pre[class*=language-] {
  background: #ece7db;
  border-radius: 4px;
  padding: 0.5rem;
  width: calc(100% + 1rem);
  margin-left: -0.5rem;
}
@media (max-width: calc(640px + 1rem)) {
  pre[class*=language-] {
    width: 100%;
    margin-left: 0;
  }
}
pre[class*=language-] .keyword, pre[class*=language-] .modifier {
  color: #c64a00;
}
pre[class*=language-] .variable {
  color: rgb(64, 64, 255);
}
pre[class*=language-] .type, pre[class*=language-] .entity {
  color: #491c9c;
}
pre[class*=language-] .string {
  color: #008042;
}
pre[class*=language-] .comment {
  color: #555;
}
@media (prefers-color-scheme: dark) {
  pre[class*=language-] {
    background: #413f3a;
  }
  pre[class*=language-] .keyword, pre[class*=language-] .modifier {
    color: #ee7e3a;
  }
  pre[class*=language-] .variable {
    color: rgb(124, 124, 255);
  }
  pre[class*=language-] .type, pre[class*=language-] .entity {
    color: #9d67ff;
  }
  pre[class*=language-] .string {
    color: #50b986;
  }
  pre[class*=language-] .comment {
    color: #999;
  }
}
