.back-to-home,
.back-to-home:hover {
  color: #f3e8d7;
  text-decoration: underline;
  text-decoration-color: #ee4537;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.back-to-home {
  opacity: .7;
  margin-inline-start: auto;
  font: 650 .88rem/1.35 system-ui, sans-serif;
  text-align: right;
}

.gideon-back {
  position: absolute;
  top: .5rem;
  right: max(5vw, 1.1rem);
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
}

@media (max-width: 600px) {
  .back-to-home {
    max-width: 10.5rem;
    font-size: .75rem;
  }

  .project-topbar {
    gap: .65rem;
  }

  .project-topbar .project-brand b {
    white-space: normal;
  }
}


/* Keep each page's return-home bar visible and legible while scrolling. */
header:has(> .back-to-home) {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 11, 10, .96);
  border-bottom: 1px solid #ffffff30;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
