/* Accessibility refinements — WCAG 2.2 AA
   Kept separate from the core design system so contrast and focus rules
   remain explicit and easy to audit. */

:root {
  /* >= 4.5:1 on the primary light surfaces for small supporting text. */
  --graphite-faint: #6F695F;
}

/* Interactive controls need a visible boundary against the page surface. */
.field input,
.field select,
.field textarea {
  border-color: #81786A;
}

/* Keep keyboard focus highly visible on dark surfaces. */
.dark :focus-visible,
.site-foot :focus-visible {
  outline-color: var(--plaster);
}

/* The skip-link target can receive programmatic focus without adding
   an extra visual outline around the whole main content area. */
main[tabindex="-1"]:focus {
  outline: none;
}

/* The award feature is already visually complete; avoid a large empty
   tail before the divider introducing the people section. */
.award-section {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Give the full People of the Foundation section a clear visual ending
   before the formal-data section begins. */
#ludzie {
  padding-bottom: clamp(8rem, 13vw, 12rem) !important;
}

/* On the Cluster page the documents block is intentionally not displayed. */
main:has(.cluster-flow) > section:last-child {
  display: none;
}
