:root {
  /* Bumper-plate colours, straight off the rubber. */
  --plate-25: #c22e26;
  --plate-20: #1b54c4;
  --plate-15: #f2c200;
  --plate-10: #17734a;
  --plate-05: #f7f8f5;
  --chalk: #f0f1ee;
  /* The page sits a shade below the lightest plate, so the 5 kg block still
     reads as a block rather than a hole in the mosaic. */
  --ground: #e3e5e1;
  --chalk-dim: rgba(240, 241, 238, 0.72);
  --ink: #0e0f10;
  --ink-soft: #4c5153;
  --gutter: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", "Haettenschweiler", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Stencil lettering: the labels on kit and timetables are always caps. */
.stencil {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
