/* Shared Font Awesome 6.7.2 SVG geometry; preserve the former font baseline. */
.site-icon {display:inline-block;width:1em;height:1em;fill:currentColor;vertical-align:calc(-.125em - .5px);flex-shrink:0}
.site-icon--brand {width:.875em}
/* Footer: crediti a sinistra, ritorno alla home al centro e social a destra. */
.footer {position:relative;z-index:1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:10px clamp(20px,3.5vw,68px);background:#151719;color:#fff}
.footer-copy {justify-self:start;text-align:center;font-family:Inter,Arial,sans-serif;font-weight:400;letter-spacing:.3px}
.footer-copy p {margin:0;line-height:1.5}
.footer-copyright {font-size:13px}
.footer-copyright a {color:inherit;text-decoration:none}
.footer-copyright a:hover {text-decoration:underline;text-underline-offset:3px}
.footer-copy .footer-credit {margin-top:6px;font-size:11px;opacity:.8}
.back-home {display:inline-flex;align-items:center;justify-self:center;color:#fff;text-decoration:none;font-family:"IBM Plex Mono",monospace;font-size:10px;font-weight:400;letter-spacing:.2em;white-space:nowrap}
.footer-socials {display:flex;align-items:center;justify-self:end;gap:clamp(12px,1.5vw,22px)}
.footer-socials :is(a,button) {display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:32px;color:#fff;font-size:21px;text-decoration:none;cursor:pointer;transition:transform .2s ease}
.footer-socials :is(a,button):hover {transform:translateY(-2px)}
.footer :is(a,button):focus-visible {outline:2px solid #fff;outline-offset:6px}
@media(max-width:700px){.footer{grid-template-columns:1fr auto;gap:10px 16px}.back-home{grid-column:1 / -1;grid-row:1}.footer-copy{grid-column:1;grid-row:2}.footer-socials{grid-column:2;grid-row:2;gap:10px}}
@media(max-width:380px){.footer{grid-template-columns:1fr}.footer-copy,.footer-socials{grid-column:1;justify-self:center}.footer-socials{grid-row:3}}

.copy-toast {position:fixed;top:0;left:0;z-index:100;isolation:isolate;max-width:calc(100vw - 32px);padding:22px 36px;color:#fff;font:700 17px "IBM Plex Mono",monospace;opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.copy-toast::before {content:"";position:absolute;inset:-6px;z-index:-1;border-radius:50%;background:radial-gradient(ellipse closest-side,#000 0%,#000f 30%,#000c 48%,#0008 65%,#0004 80%,#0001 92%,transparent 100%)}
.copy-toast.visible {opacity:1;transform:translateY(0)}
.clipboard-fallback {position:fixed;top:0;left:-9999px}
@media(prefers-reduced-motion:reduce){.copy-toast{transition:none}}
.footer {box-sizing:border-box;-webkit-user-select:none;user-select:none}
.copy-email {border:0;padding:0;background:none;font:inherit;cursor:pointer}
.back-home span {display:inline-block;font-size:20px;margin-left:10px;animation:footer-bob 1.8s ease-in-out infinite}
@keyframes footer-bob {50% {transform:translateY(-7px)}}
@media(prefers-reduced-motion:reduce){.back-home span{animation:none}}
