/* Shared geometry keeps navigation in the same place across pages. */
html { scrollbar-gutter: stable; }

.oga-header {
  width: min(1440px, 94vw);
  min-height: 76px;
  margin-inline: auto;
  padding-block: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  z-index: 20;
}
.oga-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  color: white;
}
.oga-header .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0;
}
.oga-header .brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  background: rgb(255 215 122 / 18%);
  box-shadow: 4px 4px 0 rgb(37 40 58 / 28%);
  font: 400 10px/1 "Press Start 2P", monospace;
}
.oga-header .brand-name {
  color: inherit;
  font: 400 12px/1 "Press Start 2P", monospace;
  text-transform: uppercase;
}
.oga-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 999px;
  background: rgb(72 39 64 / 78%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 0 rgb(37 26 43 / 22%);
}
.oga-nav a {
  flex-shrink: 0;
  padding: 11px 15px;
  border-radius: 999px;
  color: white;
  font: 400 9px/1 "Press Start 2P", monospace;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.oga-nav a:hover,
.oga-nav a[aria-current="page"]:not(.nav-highlight) { background: rgb(255 255 255 / 12%); }
.oga-nav .nav-highlight {
  background: var(--sun);
  color: #181725;
  box-shadow: 0 3px 0 rgb(37 40 58 / 28%);
}
.oga-nav .nav-highlight:hover { background: #ffe29a; transform: translateY(-1px); }
.oga-nav a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

@media (max-width: 820px) {
  .oga-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .oga-nav { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
}
@media (max-width: 560px) {
  .oga-header { width: 92vw; }
  .oga-nav { width: 100%; }
  .oga-nav a { padding: 10px 12px; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .oga-nav a { transition: none; }
}
