/* Shared page return controls for all portfolio and sample pages. */
.page-return {
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #394347;
  background: #101416;
  color: #f2f1eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-return__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a.page-return__link,
button.page-return__link {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #f2f1eb;
  border-radius: 2px;
  background: #f2f1eb;
  color: #101416;
  font: 600 14px/20px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  appearance: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

a.page-return__link:hover,
button.page-return__link:hover {
  border-color: #d4eee7;
  background: #d4eee7;
  color: #101416;
}

a.page-return__link:focus-visible,
button.page-return__link:focus-visible {
  outline: 3px solid #79dbc8;
  outline-offset: 3px;
}

.page-return__brand {
  margin-left: auto;
  color: #f2f1eb;
  font: 500 14px/20px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}

body.artwork-open > .page-return {
  visibility: hidden;
}

.artwork-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 12px 20px;
  border-bottom: 1px solid #394347;
  background: #101416;
}

@media (prefers-reduced-motion: reduce) {
  a.page-return__link,
  button.page-return__link {
    transition: none;
  }
}
