/* Shared across all routes; the existing page and navigation layout stay intact. */
.portfolio-bouncer {
  position: fixed;
  /* Above the original header (50/51), with clicks passing through to its links. */
  z-index: 100;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}
.portfolio-bouncer[hidden] { display: none; }
.portfolio-bouncer-motion {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.portfolio-bouncer-oval {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--oval-width);
  height: var(--oval-height);
  border-radius: 50%;
  background: var(--oval-color, #c45100);
  color: #fff;
  font: 600 var(--oval-font-size)/1 Arial, Helvetica, sans-serif;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 1px 2px rgb(0 0 0 / 18%);
  user-select: none;
  will-change: transform;
}
.portfolio-bouncer-toggle {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgb(0 0 0 / 18%);
  border-radius: 3px;
  background: rgb(255 255 255 / 90%);
  color: #343434;
  font: 11px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
  pointer-events: auto;
}
.portfolio-bouncer-toggle:hover { background: #fff; }
.portfolio-bouncer-toggle:focus-visible { outline-offset: -3px; }
.portfolio-bouncer-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* The full-screen mobile navigation stays clear when it is open. */
.portfolio-menu-active .portfolio-bouncer { visibility: hidden; }
.portfolio-bouncer[data-paused="true"] .portfolio-bouncer-motion,
.portfolio-bouncer[data-paused="true"] .portfolio-bouncer-oval { will-change: auto; }
