/* stylelint-disable a11y/no-display-none, declaration-property-unit-allowed-list */
/**
 * Typography helpers
 */
/* stylelint-disable number-max-precision */
/* stylelint-disable number-max-precision */
/* stylelint-disable number-max-precision */
/* stylelint-disable number-max-precision, declaration-property-unit-allowed-list, a11y/no-display-none */
.site-head {
  font-size: 1.35rem;
  margin-top: -10px;
  padding: 6rem;
  position: relative;
  z-index: 300;
}
@media (max-width: 960px) {
  .site-head {
    padding: 4rem;
    z-index: 0;
  }
}
@media (max-width: 480px) {
  .site-head {
    padding: 3rem 2rem;
  }
}

.site-head-container {
  /* autoprefixer: off */
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  position: relative;
}

.site-head-left {
  /* autoprefixer: off */
  align-items: center;
  display: flex;
  margin-right: 10px;
  position: relative;
  white-space: nowrap;
  z-index: 100;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 0 -12px;
  padding: 0;
}

.site-head li {
  display: block;
  margin: 0;
  padding: 0;
}

.site-head-left a,
.site-head-right a {
  color: var(--color-black);
  display: block;
  font-weight: var(--font-weight-semibold);
  margin: 0;
  opacity: 0.4;
  padding: 10px 12px;
}
@media (min-width: 960px) {
  .site-head-left a,
  .site-head-right a {
    font-size: var(--font-size-14);
  }
}

@media (min-width: 960px) {
  .site-head a:hover,
  .current-menu-item a,
  .site-head a:focus,
  .active a {
    color: var(--color-black);
    opacity: 1;
    text-decoration: none;
  }
}
.site-head-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-head-logo {
  align-items: center;
  color: var(--color-black);
  display: inline-flex;
  flex-shrink: 0;
  font-family: Muli, "Inter", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
  font-size: 2.1rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  line-height: 1em;
  padding: 10px;
  text-transform: uppercase;
}
.site-head-logo a,
.site-head-logo a:hover,
.site-head-logo a:focus {
  color: var(--color-black);
}
.site-head-logo svg {
  margin-right: 3px;
  position: relative;
  top: 0;
  transition: all 0.33s;
}

.site-head-logo:hover,
.site-head-logo:focus {
  color: var(--color-black);
  text-decoration: none;
}
.site-head-logo:hover svg,
.site-head-logo:focus svg {
  color: var(--color-rain);
  transform: rotate(-8deg);
  transform-origin: left;
}

.site-head-logo img {
  display: block;
  height: 28px;
  margin-top: 2px;
  width: auto;
}

.site-head-right {
  /* autoprefixer: off */
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
  position: relative;
  z-index: 100;
}
.site-head-right button {
  align-items: center;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: var(--color-black);
  display: inline-block;
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  margin: 0;
  opacity: 0.5;
  padding: 10px 12px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 1s;
  z-index: 2;
}
.site-head-right button svg {
  position: relative;
  top: -1px;
  transition: all 1s;
}
@media (min-width: 840px) {
  .site-head-right button svg {
    left: -10px;
  }
}
.site-head-right button:hover, .site-head-right button.active, .site-head-right button:focus {
  cursor: pointer;
  opacity: 1;
}
@media (max-width: 960px) {
  .site-head-right button {
    opacity: 1;
    padding: 0;
  }
}
@media (max-width: 840px) {
  .site-head-right button span {
    display: none;
  }
  .site-head-right button svg {
    height: 3.2rem;
    width: 3.2rem;
  }
}
@media (max-width: 840px) {
  .site-head-right button svg {
    height: 2.4rem;
    width: 2.4rem;
  }
}
@media (max-width: 420px) {
  .site-head-right button svg {
    height: 2.2rem;
    width: 2.2rem;
  }
}

.social-links {
  /* autoprefixer: off */
  align-items: center;
  display: flex;
  flex-shrink: 0;
}

.subscribe-button {
  border: var(--color-black) 1px solid;
  border-radius: 10px;
  color: var(--color-black);
  display: block;
  font-size: 1.2rem;
  line-height: 1em;
  opacity: 0.8;
  padding: 4px 10px;
}

.subscribe-button:hover,
.subscribe-button:focus {
  opacity: 1;
  text-decoration: none;
}

.rss-button {
  opacity: 0.4;
}

.rss-button:hover,
.rss-button:focus {
  opacity: 1;
}

.rss-button svg {
  fill: var(--color-black);
  height: 2.1rem;
  margin-bottom: 1px;
}

/* Mobile Nav Menu
/* ---------------------------------------------------------- */
.nav-burger {
  align-items: center;
  display: none;
  height: 40px;
  left: 0;
  padding: 2rem 0;
  position: absolute;
  top: 0;
  z-index: 9999;
}

@media (max-width: 960px) {
  .nav-burger {
    display: flex;
  }
  .site-head-container {
    background-color: rgb(var(--color-white-rgb)/0);
    display: flex;
    flex-direction: column;
    height: 40px;
    justify-content: flex-start;
    overflow: visible;
    transition: all 0.4s ease-out;
    z-index: -1;
  }
  .site-head-left,
  .site-head-right {
    height: auto;
    justify-content: flex-start;
    position: relative;
    transition: height 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 1s;
    z-index: -1;
  }
  .site-head-left a,
  .site-head-right a {
    font-size: 2.6rem;
    font-weight: var(--font-weight-300);
    line-height: 1.15em;
    margin: 8px 0;
    opacity: 0;
    padding: 1px 0;
    transform: scale(1.1) translateY(-25px);
    transition: transform 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }
  .site-head-right button {
    opacity: 0;
    transform: scale(1.1) translateY(-25px);
    transition: transform 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }
  .site-head-right a {
    font-size: 2rem;
    margin: 1px 0;
    padding: 5px 0;
  }
  .nav {
    /* autoprefixer: off */
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    margin: 3vw 0 0;
    width: 100%;
  }
  .site-head-left {
    margin: 0;
    order: 2;
    pointer-events: none;
    width: 100%;
  }
  .site-head-center {
    display: flex;
    justify-content: center;
    order: 1;
    position: static;
    z-index: auto;
  }
  .site-head-right {
    margin-top: 3vw;
    order: 3;
    width: 100%;
  }
  .social-links {
    /* autoprefixer: off */
    align-items: flex-start;
    flex-direction: column;
  }
  .site-head-open {
    background-color: rgb(var(--color-white-rgb)/1);
    height: 100vh;
    overflow: hidden;
    transition: background 0.5s ease-out;
    transition-delay: 0.25;
  }
  .site-head-open .site-head-container {
    height: calc(100vh - 14vw);
    overflow-y: scroll;
    transition: height 0.2s ease-in;
  }
  .site-head-open .site-head-left,
  .site-head-open .site-head-right {
    height: auto;
    pointer-events: unset;
    transition: height 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    z-index: 9999;
  }
  .site-head-open .site-head-left a,
  .site-head-open .site-head-left button,
  .site-head-open .site-head-right a,
  .site-head-open .site-head-right button {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: transform 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.9s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }
  .site-head-open .nav-current a {
    border-bottom: var(--color-black) 2px solid;
  }
  .site-head-open .site-head-right a {
    opacity: 0.5;
  }
  .site-head-open .site-foot {
    bottom: 0;
    display: block;
    position: fixed;
    transform: translateY(-4vw);
    transition: transform 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    z-index: 9999;
  }
}
/* https://github.com/jonsuh/hamburgers */
.hamburger {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  /* stylelint-disable-next-line */
  font: inherit;
  height: auto;
  margin: 0;
  overflow: visible;
  padding: 0;
  text-transform: none;
  transition: opacity 0.15s linear, filter 0.15s linear;
}

.hamburger-box {
  display: inline-block;
  height: 13px;
  position: relative;
  width: 20px;
}

.hamburger-inner {
  display: block;
  margin-top: -2px;
  top: 50%;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background-color: rgba(var(--color-black-rgb)/0.8);
  border-radius: 4px;
  height: 2px;
  position: absolute;
  transition: transform 0.15s ease;
  width: 22px;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -6px;
}

.hamburger-inner::after {
  bottom: -6px;
}

/*
 * Collapse
 */
.hamburger--collapse .hamburger-inner {
  bottom: 0;
  top: auto;
  transition-delay: 0.15s;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after {
  top: -12px;
  transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before {
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.site-head-open .hamburger-inner,
.site-head-open .hamburger-inner::before,
.site-head-open .hamburger-inner::after {
  background-color: var(--color-black);
}

.site-head-open .hamburger-inner {
  transform: translate3d(0, -6px, 0) rotate(-45deg);
  transition-delay: 0.32s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.site-head-open .hamburger-inner::after {
  opacity: 0;
  top: 0;
  transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
}

.site-head-open .hamburger-inner::before {
  top: 0;
  transform: rotate(-90deg);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
}
