/* Centered brand footer; shared by home and content pages. */
.brand-footer{position:relative;border-top:1px solid #d5b97e26;background:#070d15;color:#b7b4ac;padding:4.5rem 1.5rem 2.6rem;text-align:center;font-family:var(--sans);line-height:1.8}
.footer-inner{width:min(100%,1040px);margin-inline:auto}
.footer-channel{margin-bottom:2.7rem}
.footer-steam{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:.65rem 1.6rem;border:1px solid #d5b97e66;background:#d5b97e08;border-radius:3px;color:#e0c999;font-size:.875rem;letter-spacing:.025em;transition:color .2s,border-color .2s,background .2s}
.footer-steam:hover{color:#f5e6c9;background:#d5b97e14;border-color:#d5b97eb3}
.footer-signature{display:flex;align-items:center;justify-content:center;gap:2rem;margin-bottom:1.6rem}
.footer-akasha{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.85rem;max-width:100%;min-height:44px;color:#e6dcc6;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.6rem,2.5vw,2.2rem);letter-spacing:.18em;line-height:1.3}
.footer-mark{width:45px;height:45px;flex-shrink:0;object-fit:contain}
.footer-studio{display:flex;align-items:center;gap:.8rem;min-height:44px;border-left:1px solid #bdb6a14d;padding-left:2rem;font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;letter-spacing:.035em;color:#c6c5c0;line-height:1.5}
.footer-studio-mark{display:block;width:36px;height:43.2px;object-fit:contain;flex-shrink:0}
.site-header .brand-mark{width:30px;height:30px;object-fit:contain;flex-shrink:0}
.footer-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.15rem 0;margin-bottom:.7rem}
.footer-navigation a,.footer-navigation button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.45rem 1.3rem;border:0;background:none;font-family:inherit;font-size:.875rem;font-weight:400;line-height:1.7;color:#bab8b0;cursor:pointer}
.footer-navigation>*+*::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);height:.8rem;border-left:1px solid #aca69452}
.footer-navigation a:hover,.footer-navigation button:hover{color:#eee7d7}
.footer-navigation [aria-current="page"]{color:#d5b97e}
.footer-legal{margin-top:.15rem;margin-bottom:1rem}
.footer-legal a{max-width:100%;overflow-wrap:anywhere}
.footer-legal .footer-privacy{font-weight:600;color:#ded2b7}
.brand-footer a:focus-visible,.brand-footer button:focus-visible{outline:2px solid #d5b97e;outline-offset:4px}
.footer-copyright{margin:0;color:#a4a59f;font-size:.8125rem;letter-spacing:.025em}
.brand-footer .secret-star{display:block;margin:.9rem auto 0;padding:.5rem;min-width:44px;min-height:44px;color:#706444;font-size:1.2rem;line-height:1;background:none;border:0}
.brand-footer .secret-star:hover,.brand-footer .secret-star[aria-expanded="true"]{color:#d5b97e}
.brand-footer .secret-message{max-width:45rem;margin:.5rem auto 0;padding:0;font-size:.9375rem}
.footer-source{max-width:48rem;margin:2.3rem auto 0;padding-top:1.35rem;border-top:1px solid #d5b97e1f;color:#a4a59f;font-size:.8125rem;line-height:1.9}
.footer-source a{display:inline-flex;align-items:center;min-height:44px;color:#cbb68e;text-decoration:underline;text-underline-offset:3px;padding-inline:.3rem}
@media(max-width:600px){.brand-footer{padding:3rem 1.25rem 2rem}.footer-channel{margin-bottom:2rem}.footer-signature{flex-direction:column;gap:1.1rem;margin-bottom:1.3rem}.footer-studio{border:0;padding:0;min-height:32px;font-size:1.05rem}.footer-studio-mark{width:30px;height:36px}.footer-akasha{font-size:1.75rem}.footer-mark{width:38px;height:38px}.footer-navigation a,.footer-navigation button{padding-inline:.8rem}.footer-navigation>*+*::before{display:none}.footer-source{margin-top:1.6rem}}
@media(prefers-reduced-motion:reduce){.footer-steam{transition:none}}

/* One final home chapter: invitation, primary action, then the colophon.
   The modifier never changes the separate footers on content pages. */
html[data-page="home"] .closing-scene.brand-footer{min-height:100svh;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:1.75rem;padding:2.5rem 1.5rem 1.5rem;background:radial-gradient(ellipse at 50% 10%,#17223399,transparent 68%),#070d15}
html[data-page="home"] .closing-scene .epilogue{flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;width:100%;padding:0;overflow:visible}
html[data-page="home"] .closing-scene .epilogue-ornament{margin-bottom:1rem}
html[data-page="home"] .closing-scene .empty-page{width:29px;height:36px}
html[data-page="home"] .closing-scene .epilogue>p[data-reveal]{font-size:clamp(1.3rem,2vw,1.95rem);line-height:1.75}
html[data-page="home"] .closing-scene .epilogue p.archive-introduction{margin-top:.8rem;line-height:1.8}
html[data-page="home"] .closing-scene .epilogue-actions{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem 1.5rem;margin-top:1.2rem}
html[data-page="home"] .closing-scene .epilogue-actions .text-link{min-height:44px;justify-content:center;margin:0}
html[data-page="home"] .closing-scene .archive-link{min-width:0;gap:1.25rem}
html[data-page="home"] .closing-scene .footer-inner{flex:0 0 auto;margin-top:auto;max-width:880px;border-top:1px solid #d5b97e26;padding-top:1.25rem}
html[data-page="home"] .closing-scene .footer-signature{margin-bottom:.6rem;gap:1.5rem;flex-wrap:wrap}
html[data-page="home"] .closing-scene .footer-akasha{font-size:1.45rem;letter-spacing:.16em;gap:.6rem}
html[data-page="home"] .closing-scene .footer-mark{width:34px;height:34px}
html[data-page="home"] .closing-scene .footer-studio{font-size:1.1rem;padding-left:1.5rem;gap:.6rem}
html[data-page="home"] .closing-scene .footer-studio-mark{width:26px;height:31.2px}
html[data-page="home"] .closing-scene .footer-navigation{margin-bottom:.1rem}
html[data-page="home"] .closing-scene .footer-navigation a,html[data-page="home"] .closing-scene .footer-navigation button{padding-inline:.9rem}
html[data-page="home"] .closing-scene .footer-legal{margin:0 0 .5rem}
html[data-page="home"] .closing-scene .secret-star{margin:.15rem auto 0}
@media(max-width:600px){
 html[data-page="home"] .closing-scene.brand-footer{gap:1.2rem;padding:1.5rem 1.1rem 1rem}
 html[data-page="home"] .closing-scene .epilogue-ornament{margin-bottom:.65rem}
 html[data-page="home"] .closing-scene .epilogue>p[data-reveal]{font-size:1.25rem}
 html[data-page="home"] .closing-scene .epilogue p.archive-introduction{font-size:.84rem;max-width:36em}
 html[data-page="home"] .closing-scene .epilogue-actions{gap:.35rem .85rem;margin-top:1rem}
 html[data-page="home"] .closing-scene .archive-link{font-size:.82rem;padding-inline:1rem;gap:.75rem}
 html[data-page="home"] .closing-scene .footer-inner{padding-top:.85rem}
 html[data-page="home"] .closing-scene .footer-signature{flex-direction:row;gap:.75rem;margin-bottom:.35rem}
 html[data-page="home"] .closing-scene .footer-akasha{font-size:1.15rem;gap:.45rem}
 html[data-page="home"] .closing-scene .footer-mark{width:28px;height:28px}
 html[data-page="home"] .closing-scene .footer-studio{font-size:.95rem;border-left:1px solid #bdb6a14d;padding-left:.75rem;gap:.45rem}
 html[data-page="home"] .closing-scene .footer-studio-mark{width:22px;height:26.4px}
 html[data-page="home"] .closing-scene .footer-navigation a,html[data-page="home"] .closing-scene .footer-navigation button{font-size:.8rem;padding-inline:.6rem}
 html[data-page="home"] .closing-scene .footer-legal a{font-size:.75rem}
}
