/* footer.css — the shared footer, SC-29 D-275.
   ITS OWN ASSET AND ITS OWN TOKEN, deliberately. Appending this to
   brand.css changed an asset 965 pages reference, so BRAND_VER would
   have had to bump and all 965 be regenerated to receive it -- a
   whole-site pass that belongs to Footer B/C, not to Footer A. Only the
   pages that render a footer link this, so each family picks it up as it
   is wired. verify_asset_delivery caught the coupling. */
/* ── SHARED FOOTER (SC-29, approved/design/redesign-footer-spec.md) ────────
   ONE renderer feeds this; no page carries its own footer markup.

   EVERY COLOUR FALLS BACK TO THE CURRENT THEME, not to a literal Day hex.
   The spec styles the footer on --sc-* tokens that row 98 introduces; until
   it lands they are undefined, so each var() falls back to the existing
   brand.css variable for that role -- --foam (ink), --mist (muted), --border
   (hairline) -- all of which [data-theme="light"] redefines. A fixed Day hex
   would have been dark ink on a dark page until foundations landed. Ruled
   2026-11-21 03:10 item 2; when row 98 defines the tokens they take over with
   no change here. */
.sc-footer {
  border-top: 2px solid var(--sc-ink, var(--foam));
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  background: var(--sc-bg, var(--void));
}
.sc-foot-h {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sc-ink, var(--foam));
  margin-bottom: 8px;
}
.sc-foot-i { font-size: 13px; line-height: 1.5; }
.sc-foot-i a { color: var(--sc-ink, var(--foam)); text-decoration: none; }
.sc-foot-i a:hover, .sc-foot-i a:focus-visible { text-decoration: underline; }
/* Full width under a hairline, 12px muted. */
.sc-foot-credit {
  grid-column: 1 / -1;
  border-top: 1px solid var(--sc-rule, var(--border));
  padding-top: 14px;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--sc-muted, var(--mist));
}
/* Phone: one stacked list in the same order, 16px padding; links 28px tall
   with 44px hit areas, so a thumb target is not 13px of text. */
@media (max-width: 560px) {
  .sc-footer { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .sc-foot-i a {
    display: block;
    min-height: 28px;
    padding: 8px 0;
    line-height: 28px;
  }
}
