/**
 * ACCESSIBILITY
 *
 * Global rules that exist to make the site usable for keyboard,
 * screen-reader, magnification, and reduced-motion users.
 *
 * Each rule should cite the criterion or behavior it addresses so
 * the intent survives future edits.
 */


/* WCAG 2.4.11 Focus Not Obscured (Minimum) — AA in WCAG 2.2.
   When keyboard focus moves to an element near a scrollport edge,
   browsers scroll it just barely into view — often jammed against
   the edge, hidden under sticky chrome or the mobile URL bar.
   scroll-margin-block reserves a keep-out zone on both block edges
   so focus lands somewhere a sighted keyboard user can actually see.
   Affects scroll position only; layout is unchanged.

   Scoped to <main> so it doesn't apply to the sticky site header or
   footer — those are always in view by definition, and the keep-out
   zone caused the page to jump when tabbing through header links. */
main :focus {
	scroll-margin-block: 10dvb;
}
