/* ===================================================================
   Sagamite -- designer credit in the footer bottom bar.
   Inherits the bar's mono type (.footer-copy / .foot-copy); only the
   name is a link. FR/EN label swaps on <html lang>, no dictionary.
   =================================================================== */
.foot-credit { white-space: nowrap; }
.foot-credit .credit-en { display: none; }
html[lang^="en"] .foot-credit .credit-fr { display: none; }
html[lang^="en"] .foot-credit .credit-en { display: inline; }

.foot-credit a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: color .3s ease, background-size .45s cubic-bezier(.2,.7,.2,1);
}
.foot-credit a::after {
  content: '\2197';
  display: inline-block;
  margin-left: .35em;
  opacity: .5;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.foot-credit a:hover,
.foot-credit a:focus-visible {
  color: var(--gold, #c8a464);
  background-size: 100% 1px;
}
.foot-credit a:hover::after,
.foot-credit a:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
.foot-credit a:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

/* Desktop: keep the bar's two-sided layout -- location + credit share the right side */
@media (min-width:768px) {
  .footer-bottom > :has(+ .foot-credit) { margin-left: auto; }
  .foot-credit::before {
    content: '\00b7';
    margin: 0 1.1em;
    opacity: .5;
  }
}

@media (max-width:767px) {
  .foot-credit a { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; }
}
