/* Way back to /work for the standalone builds.
   Markup: <a class="gc-back" href="/work" aria-label="Back to all work"><span aria-hidden="true">&larr;</span> Work</a>
   Placed as the first child of each page's own header. Pages set --gc-back-fg / --gc-back-hover / --gc-back-ring
   to take their own colours; defaults suit the dark builds. The tap area is extended to 44px with ::after so the
   visible label stays small and the header does not grow. */
.gc-back {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  box-sizing: border-box;
  min-height: 32px;
  padding: 0 4px;
  font: 500 11px/1 var(--gc-back-font, 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--gc-back-fg, #b4b9c6);
  -webkit-tap-highlight-color: transparent;
  transition: color .18s ease;
}
.gc-back::after { content: ""; position: absolute; inset: -6px -8px; }
.gc-back:hover { color: var(--gc-back-hover, #ffffff); }
.gc-back:focus-visible {
  outline: 2px solid var(--gc-back-ring, #f2a900);
  outline-offset: 2px;
  border-radius: 3px;
  color: var(--gc-back-hover, #ffffff);
}
/* Header is a flex row with brand on the left and something on the right: let the next item soak up the free space. */
.gc-back--lead + * { margin-inline-end: auto; }
@media print { .gc-back { display: none !important; } }
