/* A second ink impression preserves the original letter rollover without a blank label. */
.nav-menu-link-w{user-select:none}
.nav-menu-link-w.gc-menu-hover-ready .nav-menu-link-text {
  overflow: hidden;
  white-space: nowrap;
  text-shadow: 0 var(--gc-menu-hover-offset, 1.05em) 0 currentColor;
}

/* The menu toggle uses its existing two strokes; other Rive buttons remain untouched. */
.nav .nav-ham {
  touch-action: manipulation;
}

.nav .nav-ham canvas {
  display: none !important;
}

.nav .nav-ham .gc-ham-line,
.nav .nav-ham.has-rive-ready .gc-ham-line {
  opacity: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transition: transform .3s ease, background-color .2s ease;
}

.nav .nav-ham .gc-ham-line:first-of-type {
  transform: translate(-50%, calc(-50% - .225rem));
}

.nav .nav-ham .gc-ham-line:nth-of-type(2) {
  transform: translate(-50%, calc(-50% + .225rem));
}

.nav .nav-ham[aria-expanded=true] .gc-ham-line:first-of-type {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav .nav-ham[aria-expanded=true] .gc-ham-line:nth-of-type(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav[data-nav-theme=dark] .nav-ham {
  color: #0a0a0a;
  border-color: #0a0a0a;
  background-color: transparent;
}

.nav[data-nav-theme=light] .nav-ham {
  color: #ffffff;
  border-color: #ffffff;
  background-color: transparent;
}

.nav[data-nav-theme=dark] .nav-ham:focus-visible {
  color: #ffffff;
  background-color: #0a0a0a;
  border-color: #0a0a0a;
}

.nav[data-nav-theme=light] .nav-ham:focus-visible {
  color: #0a0a0a;
  background-color: #ffffff;
  border-color: #ffffff;
}

@media (hover: hover) {
  .nav[data-nav-theme=dark] .nav-ham:hover {
    color: #ffffff;
    background-color: #0a0a0a;
    border-color: #0a0a0a;
  }
  .nav[data-nav-theme=light] .nav-ham:hover {
    color: #0a0a0a;
    background-color: #ffffff;
    border-color: #ffffff;
  }
}

.gc-reduced-motion .nav-menu-link-w .nav-menu-link-text {
  text-shadow: none;
}

.gc-reduced-motion .nav .nav-ham .gc-ham-line {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-gc-motion=full]) .nav .nav-ham .gc-ham-line {
    transition: none;
  }
}
