.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 10050;
  padding: 10px 14px;
  color: #070707;
  background: var(--yellow, #ffe345);
  border: 2px solid #fff;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .9);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-menu-toggle {
  display: none;
  min-width: 46px;
  min-height: 42px;
  margin-left: auto;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink, #f2efe9);
  background: var(--panel, #0d0d0d);
  border: 2px solid var(--ink, #f2efe9);
  border-radius: 0;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .9);
  font: 800 12px/1 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-menu-icon {
  width: 17px;
  display: grid;
  gap: 3px;
}

.site-menu-icon i {
  width: 100%;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon i:first-child {
  transform: translateY(5px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon i:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon i:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

header.site nav a[aria-current="page"] {
  color: var(--ink, #f2efe9);
}

.plug.card-img .card-state {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  padding: 6px 9px;
  color: #070707;
  background: var(--ink, #f2efe9);
  border: 1px solid #fff;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .86);
  font: 800 11px/1.1 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  rotate: 1deg;
}

.plug.card-img .card-state[data-tone="live"] {
  color: #fff;
  background: var(--red, #ff2b2b);
}

.plug.card-img .card-state[data-tone="beta"] {
  background: var(--yellow, #ffe345);
  border-color: #070707;
}

.plug.card-img .card-state[data-tone="offline"] {
  color: var(--muted, #94908a);
  background: #070707;
  border-color: var(--muted, #94908a);
}

@media (max-width: 720px) {
  html.site-shell-ready header.site {
    position: relative;
    z-index: 10001;
    min-height: 68px;
    flex-wrap: nowrap;
  }

  html.site-shell-ready header.site .site-menu-toggle {
    display: inline-flex;
    order: 2;
  }

  html.site-shell-ready header.site > .btn {
    display: none;
  }

  html.site-shell-ready header.site nav.site-menu-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 8px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    color: var(--ink, #f2efe9);
    background: var(--panel, #0d0d0d);
    border: 2px solid var(--ink, #f2efe9);
    box-shadow: 6px 7px 0 rgba(0, 0, 0, .9);
  }

  html.site-shell-ready header.site nav.site-menu-panel.is-open {
    display: grid;
  }

  html.site-shell-ready header.site nav.site-menu-panel a {
    min-width: 0;
    min-height: 44px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line, #242424);
    font-size: 12px;
    text-align: left;
  }

  html.site-shell-ready header.site nav.site-menu-panel a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  html.site-shell-ready header.site nav.site-menu-panel a[aria-current="page"] {
    color: var(--ink, #f2efe9);
    background: rgba(255, 255, 255, .06);
  }

  .plug.card-img .card-state {
    top: 10px;
    right: 10px;
    padding: 5px 7px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .site-menu-icon i {
    transition: none;
  }
}
