.home-button {
  position: absolute;
  z-index: 5;
  top: -58px;
  left: 0;
  min-width: 80px;
  height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform .1s, box-shadow .1s, background .15s;
}
.home-button:hover { background: #2c3a35; }
:root[data-theme="dark"] .home-button:hover { background: color-mix(in srgb, var(--ink) 85%, black); }
.home-button:active { transform: translate(3px, 3px); box-shadow: none; }
.home-button:focus-visible { outline: 3px solid var(--blue, #77bcd2); outline-offset: 3px; }
.home-button svg { width: 18px; }

@media (max-width: 1240px) {
  .home-button { left: 44px; }
}

@media (max-width: 780px) {
  .home-button { top: -56px; left: 44px; min-width: 84px; height: 46px; }
}
