/* GALOK · the one site footer (markup: scripts/sync-site-footer.mjs). Linked by every page that carries it.
   Reads the shared --g-* tokens, so it follows each page's theme (foundation light and dark, the plate system's dark room);
   the fallbacks are the light palette for pages that do not define the tokens. */
.g-footer{margin-top:clamp(64px,10vw,140px);border-top:1px solid var(--g-rule,#dcddd5);color:var(--g-ink,#161613);background:var(--g-bg,transparent);font-family:var(--g-sans,"Galok Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif)}
.g-footer__in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr) minmax(0,1fr);gap:28px clamp(24px,4vw,56px);align-items:start;width:min(100%,var(--g-max,1240px));margin-inline:auto;padding:40px var(--g-pad,clamp(20px,5vw,64px)) calc(120px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.g-footer__brand{margin:0;font:640 15px/1.2 var(--g-sans,inherit);color:var(--g-ink,#161613)}
.g-footer__brand small{display:block;max-width:24em;margin-top:8px;color:var(--g-muted,#62635e);font:400 14px/1.5 var(--g-sans,inherit)}
.g-footer__col{margin:0}
.g-footer__col h2{margin:0 0 8px;font:500 11px/1.3 var(--g-mono,ui-monospace,Menlo,monospace);letter-spacing:.08em;text-transform:uppercase;color:var(--g-muted,#62635e)}
.g-footer__col p{display:flex;flex-wrap:wrap;gap:0 18px;margin:0}
.g-footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--g-ink-2,#33342f);font-size:14px;text-decoration:none}
.g-footer a:hover{color:var(--g-ink,#161613);text-decoration:underline;text-underline-offset:.3em}
.g-footer a:focus-visible{outline:2px solid var(--g-focus,currentColor);outline-offset:2px;border-radius:4px}
.g-footer__end{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:0 22px;margin:0;padding-top:8px;border-top:1px solid var(--g-rule,#dcddd5)}
.g-footer__end a{color:var(--g-muted,#62635e)}
.g-footer [data-galok-support="footer"]::after{content:" ↗"}
@media (max-width:900px){.g-footer__in{grid-template-columns:1fr 1fr}.g-footer__brand{grid-column:1/-1}}
@media (max-width:560px){.g-footer__in{grid-template-columns:1fr}}
@media print{.g-footer{display:none}}
