a.return-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.1vw, 13px);
  min-height: 56px;
  padding: 5px clamp(12px, 2.5vw, 24px) 5px 8px;
  border: 1px solid #d8c9ef;
  border-radius: 999px;
  background: #f0e8ff;
  color: #342549;
  box-shadow: 0 3px 0 #d8c9ef;
  font: 800 clamp(15px, 2vw, 22px)/1.15 'Bricolage Grotesque', system-ui, sans-serif;
  letter-spacing: -.025em;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.return-home-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(30px, 3.7vw, 42px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #6541a3;
  color: #fff;
  font: 700 1.2em/1 system-ui, sans-serif;
}

a.return-home picture { display: block; flex: none; }
a.return-home picture img {
  display: block;
  width: clamp(44px, 6vw, 70px);
  height: auto;
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  a.return-home:hover {
    background: #e8dbfb;
    box-shadow: 0 5px 0 #ccb9e9;
    transform: translateY(-2px);
  }
}

a.return-home:active {
  background: #dfcff7;
  box-shadow: 0 1px 0 #ccb9e9;
  transform: translateY(2px);
}

a.return-home:focus-visible { outline: 3px solid #6f4896; outline-offset: 4px; }

.return-home-footer {
  display: flex;
  justify-content: center;
  padding: 10px 16px clamp(46px, 8vw, 100px);
}

@media (max-width: 450px) {
  a.return-home-header { font-size: 14px; padding-inline: 7px 10px; min-height: 48px; }
  a.return-home-header picture img { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  a.return-home { transition: none; }
  a.return-home:hover, a.return-home:active { transform: none; }
}
