/* Footer: one slim row and a quiet meta line under a softly glowing hairline. */
.site-footer{--f-ink:#1f1f22;--f-grey:#7c7c83;--f-soft:#5c5c66;--f-ease:cubic-bezier(.22,1,.36,1);--f-spring:cubic-bezier(.34,1.5,.5,1);position:relative;padding:0 0 132px;color:var(--f-ink)}
.footer-inner{position:relative;width:min(100% - 112px,1000px);margin:0 auto;padding-top:28px}
.footer-inner::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,rgba(28,25,40,.06),rgba(255,141,184,.55) 50%,rgba(28,25,40,.06))}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.footer-brand{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:600;letter-spacing:-.02em;color:var(--f-ink)}
.footer-avatar{display:block;width:32px;height:32px;border-radius:10px;overflow:hidden;background:linear-gradient(160deg,#ffe3ec,#f6bfcf);box-shadow:0 0 0 2px #fff,0 4px 10px -4px rgba(224,86,127,.45);transform:rotate(-6deg);transition:transform .5s var(--f-spring)}
.footer-avatar img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.18);transform-origin:50% 55%}
@media(hover:hover){.footer-brand:hover .footer-avatar{transform:rotate(6deg) scale(1.08)}}
.footer-links{display:flex;gap:26px}
.footer-links a{position:relative;font-size:14px;color:var(--f-soft);transition:color .2s}
.footer-links a::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1.5px;border-radius:2px;background:linear-gradient(90deg,#ff8db8,#ffb48f);transform:scaleX(0);transform-origin:0 50%;transition:transform .45s var(--f-ease)}
@media(hover:hover){.footer-links a:hover{color:var(--f-ink)}.footer-links a:hover::after{transform:scaleX(1)}}
.footer-actions{display:flex;align-items:center;gap:8px}
.footer-tg{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 14px;border-radius:999px;background:#fff;color:var(--f-ink);font-size:13px;font-weight:500;box-shadow:0 0 0 1px rgba(28,25,40,.08),0 1px 2px rgba(28,25,40,.04);transition:transform .45s var(--f-spring),box-shadow .3s}
.footer-tg span{color:var(--f-grey);transition:transform .45s var(--f-spring),color .2s}
@media(hover:hover){.footer-tg:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(28,25,40,.1),0 8px 18px -10px rgba(28,25,40,.3)}.footer-tg:hover span{color:#ff7eaa;transform:translate(2px,-2px)}}
.footer-top-btn{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#fff;color:var(--f-ink);cursor:pointer;box-shadow:0 0 0 1px rgba(28,25,40,.08),0 1px 2px rgba(28,25,40,.04);transition:transform .45s var(--f-spring)}
.footer-top-btn svg{width:15px;height:15px;stroke-width:2;transition:transform .45s var(--f-spring)}
@media(hover:hover){.footer-top-btn:hover{transform:translateY(-1px)}.footer-top-btn:hover svg{transform:translateY(-2px)}}
.footer-top-btn:active,.footer-tg:active{transform:scale(.95)}
.footer-brand:focus-visible,.footer-links a:focus-visible,.footer-tg:focus-visible,.footer-top-btn:focus-visible{outline:3px solid #91baff;outline-offset:4px;border-radius:10px}
.footer-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.footer-meta p{margin:0;font-size:12px;color:var(--f-grey)}
.footer-status{display:flex;align-items:center;gap:8px}
.footer-dot{position:relative;width:7px;height:7px;border-radius:50%;background:#34c759}
.footer-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#34c759;animation:footer-ping 2.4s var(--f-ease) infinite}
@keyframes footer-ping{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(2.6);opacity:0}}
@media(max-width:760px){
 .footer-row{flex-wrap:wrap;row-gap:18px}
 .footer-links{order:3;width:100%;gap:20px}
}
@media(max-width:650px){
 .site-footer{padding-bottom:120px}
 .footer-inner{width:calc(100% - 48px);padding-top:24px}
 .footer-meta{flex-direction:column;align-items:flex-start;gap:8px;margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.footer-dot::after{animation:none}.site-footer *{transition:none!important}}

/* Footer links as pills (the cursor morphs into the same pill). */
.footer-links{gap:6px}
.footer-links a{padding:6px 12px;margin:-6px 0;border-radius:999px}
.footer-links a::after{left:12px;right:12px;bottom:3px}
html.pointer-enabled .footer-links a::after{display:none}

/* My Blog and back-to-top: the sunset fills them on hover. */
.footer-tg,.footer-top-btn{position:relative;isolation:isolate;overflow:hidden}
.footer-tg::before,.footer-top-btn::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(100deg,#ff7eaa,#ff9f86 55%,#ffbf8a);opacity:0;scale:.6 .4;transition:opacity .28s ease,scale .5s var(--f-spring)}
.footer-blog{gap:6px;padding:0 14px 0 12px}
.footer-blog b{font-weight:500}
.footer-ig{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.footer-ig-dot{fill:currentColor;stroke:none}
.footer-tg,.footer-top-btn{transition:transform .45s var(--f-spring),box-shadow .3s,color .25s ease}
@media(hover:hover){
 .footer-tg:hover,.footer-top-btn:hover{color:#fff;box-shadow:0 0 0 1px rgba(255,126,170,.25),0 10px 20px -10px rgba(255,110,150,.65)}
 .footer-tg:hover::before,.footer-top-btn:hover::before{opacity:1;scale:1}
 .footer-tg:hover span{color:#fff}
}
/* The brand is a pill too: avatar and name inside one soft capsule. */
.footer-brand{padding:5px 16px 5px 5px;margin:-5px 0 -5px -5px;border-radius:999px}
