footer { padding-top: 48px; padding-bottom: 24px; background: #080808; color: var(--paper); border-top: 1px solid var(--line); text-align: center; }
footer > strong { display: block; width: 100%; font: 500 clamp(1.25rem,2.4vw,2rem) var(--sans); letter-spacing: .16em; line-height: 1.2; white-space: nowrap; overflow-wrap: normal; }
.footer-mark { display: block; width: 64px; height: 64px; margin: 26px auto 0; border-radius: 50%; opacity: .75; animation: footer-drift 10s ease-in-out infinite; }
footer > div { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); text-align: left; font-size: 10px; }
footer a:hover { color: var(--paper); }
footer a:focus-visible { outline: 1px solid var(--amber); outline-offset: 5px; }
@keyframes footer-drift { 0%,100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(-4px); opacity: .9; } }
@media(max-width:680px) { footer { padding-top: 36px; } .footer-mark { width: 52px; height: 52px; margin-top: 22px; } footer > div { margin-top: 28px; } }
@media(prefers-reduced-motion:reduce) { .footer-mark { animation: none; } }

footer > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
footer > div > span:nth-child(2) { text-align: center; }
footer > div > a { justify-self: end; text-align: right; }
@media(max-width:680px) {
 footer > div { grid-template-columns: 1fr 1fr; gap: 16px; }
 footer > div > span:nth-child(2) { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
 footer > div > span:first-child { grid-column: 1; grid-row: 2; }
 footer > div > a { grid-column: 2; grid-row: 2; }
}
