body > header:not(.masthead),
.archive-header {
  transition: min-height 220ms ease, height 220ms ease, padding 220ms ease, background 220ms ease;
}

body > header:not(.masthead).is-scrolled,
.archive-header.is-scrolled {
  height: 68px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(244, 242, 237, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body > header:not(.masthead) .wordmark img,
.archive-header .wordmark img {
  width: 9.5rem;
  transition: width 220ms ease;
}

body > header:not(.masthead).is-scrolled .wordmark img,
.archive-header.is-scrolled .wordmark img {
  width: 8rem;
}

.archive-menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #151515;
  cursor: pointer;
}

.archive-menu-toggle span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.archive-menu-toggle span:first-child { top: 16px; }
.archive-menu-toggle span:last-child { top: 25px; }
.archive-menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.archive-menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  body {
    padding-bottom: 0 !important;
  }

  body > header:not(.masthead),
  .archive-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    height: 84px !important;
    min-height: 84px;
    padding: 14px 5vw !important;
    display: flex;
    flex-direction: row;
    align-items: center !important;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(244, 242, 237, 0.94);
    border-bottom: 1px solid rgba(21, 21, 21, 0.15);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  body > header:not(.masthead).is-scrolled,
  .archive-header.is-scrolled {
    height: 64px !important;
    min-height: 64px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body > header:not(.masthead) .wordmark img,
  .archive-header .wordmark img {
    width: 8rem !important;
  }

  body > header:not(.masthead).is-scrolled .wordmark img,
  .archive-header.is-scrolled .wordmark img {
    width: 7.25rem !important;
  }

  .archive-menu-toggle {
    display: block;
    flex: 0 0 auto;
    z-index: 2;
  }

  body > header:not(.masthead) nav,
  .archive-header nav {
    position: fixed !important;
    inset: 84px 0 auto !important;
    width: 100%;
    height: auto !important;
    padding: 1.75rem 5vw 2rem !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem !important;
    background: rgba(244, 242, 237, 0.98) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(21, 21, 21, 0.15) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  body > header:not(.masthead).is-scrolled nav,
  .archive-header.is-scrolled nav {
    top: 64px !important;
  }

  body > header:not(.masthead).nav-open nav,
  .archive-header.nav-open nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body > header:not(.masthead) nav a,
  body > header:not(.masthead) nav a:not(:nth-child(2)),
  .archive-header nav a,
  .archive-header nav a:not(.active) {
    display: block !important;
    padding: 0 !important;
    color: #151515 !important;
    font-size: .76rem !important;
    white-space: nowrap;
  }
}
