/* CREx site footer (2026-10-19; phone sizes raised 2026-10-23). One footer for every page, rebuild and older design.
   Load right after assets/site-nav.css. Every selector is scoped to .site-footer so page CSS
   (rebuild.css, drafts.css, shared/site.css, brand.css, inline styles) cannot leak in.
   Markup lives in shared/footer.html; every page carries a copy. */

.site-footer{--sf-ink:#111111;--sf-muted:#525252;--sf-line:#dedede;--sf-purple:#6b10d6;width:calc(100% - 112px);max-width:1360px;margin:0 auto;padding:60px 0 25px;background:none;border:0;color:var(--sf-ink);font-family:Geist,Calibri,sans-serif;font-size:13px;line-height:1.4;text-align:left;-webkit-font-smoothing:antialiased}
.site-footer *,.site-footer *::before,.site-footer *::after{box-sizing:border-box}
.site-footer a{color:inherit;text-decoration:none}
.site-footer .footer-top{display:grid;grid-template-columns:.65fr 1.3fr repeat(4,.85fr);gap:40px;margin:0;padding:0 0 58px}
.site-footer .footer-top>.brand{grid-row:1;grid-column:1;align-self:start;display:inline-flex;width:76px;margin:0;padding:0;gap:0}
.site-footer .footer-top>.brand img{width:100%;max-width:none;height:auto;display:block;mix-blend-mode:multiply}
.site-footer .footer-top>p{grid-row:1;grid-column:2;margin:0;max-width:none;font-family:'Instrument Serif',Georgia,serif;font-size:25px;font-weight:400;line-height:1.2;letter-spacing:-.02em;color:var(--sf-ink)}
.site-footer .footer-col{grid-row:1/3;display:flex;flex-direction:column;align-items:flex-start;gap:11px;margin:0;padding:0}
.site-footer .footer-col h2{margin:0 0 6px;font-family:'Geist Mono',Consolas,monospace;font-size:8px;font-weight:400;line-height:1.4;letter-spacing:.07em;text-transform:uppercase;color:var(--sf-muted)}
.site-footer .footer-col a{font-size:10px;line-height:1.4;color:var(--sf-muted)}
.site-footer .footer-security-link{grid-row:2;grid-column:1/3;align-self:end;width:fit-content;font-size:16px;color:var(--sf-ink)}
.site-footer a:hover{color:var(--sf-purple)}
.site-footer .footer-bottom{display:flex;flex-direction:row;align-items:center;text-align:left;justify-content:space-between;gap:20px;margin:0;padding:19px 0 0;border-top:1px solid var(--sf-line);font-family:Geist,Calibri,sans-serif;font-size:8px;color:var(--sf-muted)}
.site-footer .footer-bottom>div{display:flex;gap:19px}

@media(max-width:1360px){.site-footer{width:calc(100% - 72px)}.site-footer .footer-top{gap:28px}.site-footer .footer-top>p{font-size:23px}}
@media(max-width:1080px){
.site-footer .footer-top{grid-template-columns:repeat(4,1fr);gap:34px 24px}
.site-footer .footer-top>.brand{grid-row:1;grid-column:1}
.site-footer .footer-top>p{grid-row:1;grid-column:2/5;font-size:22px}
.site-footer .footer-col{grid-row:2}
.site-footer .footer-security-link{grid-row:3;grid-column:1/-1}
}
@media(max-width:760px){
.site-footer{width:calc(100% - 40px);padding-top:39px}
.site-footer .footer-top{grid-template-columns:1fr 1fr;gap:30px 19px;padding-bottom:35px}
.site-footer .footer-top>.brand{grid-row:auto;grid-column:1/-1;width:77px}
.site-footer .footer-top>p{grid-row:auto;grid-column:1/-1}
.site-footer .footer-col{grid-row:auto;gap:2px}
.site-footer .footer-col h2{font-size:11px;margin-bottom:6px}
.site-footer .footer-col a{font-size:15px;line-height:1.35;padding:7px 0}
.site-footer .footer-security-link{grid-row:auto;font-size:15px;padding:5px 0}
.site-footer .footer-bottom{flex-wrap:wrap;justify-content:flex-start;gap:13px 25px;font-size:13px}
.site-footer .footer-bottom a{padding:6px 0}
.site-footer .footer-bottom>div{margin-left:auto}
}
@media print{.site-footer{display:none!important}}
