* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --margin: 1.5rem;
  --text-lg: 1.2rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --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: "Archivo Narrow", -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);
  box-sizing: border-box;
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  padding-top: 1rem;
}

.d-none {
  display: none;
}
.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  z-index: 10;
}

.header__btn {
  padding: 0.3em 1em;
  border: 1px solid black;
}

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;
}

.email {
  font-weight: normal;
  letter-spacing: 1px;
  cursor: pointer;
}
.email:hover {
  text-decoration: underline;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

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

.d-flex {
  display: flex;
}

.logo {
  font-size: 1.2rem;
  letter-spacing: 1px;
  padding: 1rem 0 1rem 0;
  font-weight: bold;
  cursor: pointer;
}

.nav__container {
  display: flex;
  height: 100vh;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  background: white;
  z-index: 9;
  overflow: hidden;
}

.nav__container--open {
  width: 100%;
  /* opacity: 1; */
  transition: all 1s;
}

.menu {
  position: absolute;
  top: 20vh;
}

.menu ul {
  text-align: center;
  line-height: 230%;
}

.menu--open {
  height: 100vh;
}

.menu a {
  text-transform: uppercase;
}

.menu a:not(.menu__submenu a) {
  /* padding-right: 1.1rem; */
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
  display: inline-block;
  font-weight: bold;
  font-size: 1rem;
  line-height: 140%;
}

.menu a[aria-current],
.menu a:hover {
  color: grey;
}

.menu__submenu {
  height: 0;
  transition: height 200ms ease-out;
  height: 0;
  overflow: hidden;
}

.menu__submenu li:last-child {
  margin-bottom: 0.5rem;
}

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

.social {
  display: flex;
  padding: 0 0.5rem;
}
.social a {
  padding: 12px 0.5rem;
}

.section {
  padding: 3rem 0;
}

/* section {
  margin-top: 4rem;
} */

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --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;
}

p,
ul,
ol {
  line-height: 140%;
}

.text {
  line-height: 1.5em;
}

.text h1,
.h1 {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}

.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.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,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: 0.1rem;
  margin-bottom: 1.6rem;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 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;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.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: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: 0.875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: 0.75rem;
  color: var(--color-text-grey);
}

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

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

.indent {
  text-indent: 2em;
}

.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: 0.75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.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));
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: 0.75rem;
  line-height: 1.5em;
}

.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: 0.75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}

.intro-section {
  margin: -2px auto 4rem auto;
}

.intro-section h2 {
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px solid black;
  font-weight: 400;
  text-transform: uppercase;
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 2rem;
    padding: var(--padding) 4rem var(--padding) 4rem;
  }

  .header {
    margin-bottom: 2rem;
  }

  .header__btn {
    display: none;
  }

  .main-container {
    display: flex;
  }

  .main-container .menu {
    display: inline-block;
  }

  .nav__container {
    display: block;
    width: 30%;
    position: relative;
  }

  .menu {
    position: initial;
  }

  .menu ul {
    text-align: initial;
    line-height: 140%;
  }

  .main {
    margin: 0 auto;
    width: 70%;
  }

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

  .logo {
    font-size: 1.6rem;
    letter-spacing: 2.9px;
    padding-top: 0;
  }

  .menu a {
    border: none;
    font-size: 1rem;
  }

  .menu a:not(.menu__submenu a) {
    font-size: 1.1rem;
  }

  .home-image {
    width: 350px;
    margin: 0 auto;
  }

  .contact-image {
    width: 300px;
    margin: 0 auto;
  }

  .contact-image img {
    margin-bottom: 2rem;
  }
}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: 0.5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

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

.note-footer {
  text-align: end;
}

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

.bio-section {
  margin-bottom: 3rem;
}

.bio-row {
  margin-bottom: var(--margin);
}

.years {
  font-weight: 600;
  padding-bottom: 0.4rem;
  margin-right: 2rem;
}
