* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --radius: 0.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-primary: #6562F8;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: #F6F9F9;
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  max-width: 100%;
}
body {
  padding: var(--padding);
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: calc(-1 * var(--padding));
  margin-left: calc(-1 * var(--padding));
  margin-top: calc(-1 * var(--padding));
  margin-bottom: 2rem;
}

.social {
  display: flex;
}

.social a {
  padding: 1rem .5rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  z-index: 1;
  background-color: rgba(39, 39, 43, 1);
  color: rgba(253, 253, 255, 1);
  box-shadow: 0px 4px 2px rgb(0 0 0 / 18%);
  width: 100%;
  margin: 0 auto;
}

.menu div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.menu > div:last-child > a {
  display: none;
}

.menu .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 1rem 0 1rem;
  padding: 0;
  user-select: none;
}

.brand picture {
  display: flex;
  align-items: center;
}

.brand span {
  font-size: 1.5rem;
}

.menu a {
  padding: 1rem;
  display: block;
}

.menu a[aria-current] {
  font-weight: 600;
  text-decoration: underline;
}

.main {
  max-width: 70rem;
  margin: 0 auto;
}

.section {
  padding: 1.5rem 0;
}

.grid {
  --columns: 12;
  --gutter: 1.5rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 2rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text a.no-decoration {
  text-decoration: none;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text .column:last-child {
  margin-bottom: var(--gutter);
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.h1 p {
  font-size: 1.5rem;
  font-weight: 600;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
  font-size: 1.1rem;
}
.text h4,
.h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
  max-width: calc(100vw - 6rem);
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 2.5rem auto;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 1rem 0;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text figure .img {
  width: 100%;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

.last-item-to-bottom {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.last-item-to-bottom > :last-child {
  margin-top: auto;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.light-cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  font-weight: 500;
  justify-content: center;
  padding: .75rem 1.5rem;
  border-radius: 0.5rem;
}

.light-cta:hover {
  background: none;
  color: var(--color-black);
  outline: 2px solid var(--color-black);
  outline-offset: -2px;
  animation: 0.2s ease infinite rotate;
  transition-duration: 0.2s;
}

a.light-cta {
  text-decoration: none;
}

.vertically-centered-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.centered-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.left-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.right-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.centered-items {
  align-items: center;
}

.margin-top {
  margin-top: .75rem;
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
}
.video {
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0.5rem;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 0;
  line-height: 1.5em;
  max-width: 70rem;
  margin: 0 auto;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}

.breadcrumb {
  margin: 1rem 1rem 0 1rem;
}

.breadcrumb > ol {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.breadcrumb > ol > li:not(:last-child)::after {
  content: '»';
  padding-right: 0.5rem;
  padding-left: 0.25rem;
  color: var(--color-text-grey);
}

.breadcrumb > ol > li {
  padding: 0.25rem 0;
}

.breadcrumb a[aria-current] {
  text-decoration: underline;
}

@media screen and (min-width: 60rem) {
  body, .header {
    --padding: 3rem;
  }

  .menu .brand {
    margin: 0 1rem;
  }

  .menu, .menu div {
    justify-content: space-between;
  }

  .menu > div:last-child > a {
    display: inline-block;
  }

  .breadcrumb {
    margin: 1rem auto 0 auto;
    width: 100%;
    max-width: 70rem;
  }

  .breadcrumb > ol > li {
    padding: 0;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}

.cover {
  display: flex;
  justify-content: center;
}

.cover img {
  max-width: minmax(640px 100%);
  border-radius: 12px;
}

.pagination {
  display: flex;
  justify-content: end;
  padding-top: 3rem;
  gap: 1rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  border-radius: 0.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  animation: 0.2s ease infinite rotate;
  transition-duration: 0.2s;
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}
.text .note-excerpt a {
  text-decoration: none;
}

code {
  word-break: break-all;
}

form.search {
  padding: 0 0 1.5rem 0;
}

form.search p {
  margin-bottom: 0.5rem;
}

form.search div {
  display: flex;
}

form.search input {
  padding: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 0.5rem;
  min-width: 30%;
}

form.search button {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
}
