/* Portfolio navigation stays separate from each project's visual identity. */
html { scroll-padding-top: 4rem; }
.studio-return {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #f1eee6;
  color: #111312;
  border-bottom: 1px solid #c8c5be;
  padding: .25rem 1rem;
  font-family: Arial, sans-serif;
  font-size: .875rem;
  line-height: 1.25rem;
}
.studio-return a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0 .5rem;
  color: #111312;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}
.studio-return a:hover { text-decoration-thickness: 2px; }
.studio-return a:focus-visible { outline: 2px solid #111312; outline-offset: 2px; }
body > .skip { z-index: 120; }
body > .skip:not(:focus) { top: 0; transform: translateY(calc(-100% - 12px)); }
.page-case .bar { top: calc(3.25rem + 1px); }
.fit-check, .diagram-wrap, .viewer, .brief-aside { scroll-margin-top: 4rem; }
@media (min-width: 960px) {
  .fit-check, .diagram-wrap, .viewer, .brief-aside { top: 4.5rem; }
}
@media print { .studio-return { display: none; } }
@media (max-height: 500px) {
  .studio-return { position: static; }
  .page-case .bar { top: 0; }
}
