/* 11. Sidfot (delas med integritet.html). Länkar ritar sin understrykning vid hover, pilen lyfter. */

.site-footer {
  padding-block: 56px 48px;
  border-top: 1px solid var(--night-line);
  font-size: var(--fs-small);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 48px;
}

.site-footer__brand,
.site-footer__contact { display: grid; gap: 8px; }
.site-footer__contact { justify-items: end; text-align: right; }

.site-footer__name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 1rem; }
.site-footer__name strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.site-footer__dot { color: var(--night-ink-2); }

.site-footer a {
  color: var(--night-ink);
  text-decoration: none;
  background:
    linear-gradient(rgb(241 239 233 / 0.3), rgb(241 239 233 / 0.3)) 0 100% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
}
.site-footer a:hover { background-size: 100% 1px, 100% 1px; }
.site-footer__links { display: flex; gap: 10px; }
.site-footer__arrow { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .site-footer a { transition: background-size var(--dur-2) var(--ease-out-soft); }
  .site-footer__arrow { transition: transform var(--dur-1) var(--ease-out-soft); }
  .site-footer a:hover .site-footer__arrow { transform: translateY(-2px); }
}

@media (max-width: 720px) {
  .site-footer__contact { justify-items: start; text-align: left; }
}
