/* ============================================================
   RESET, BASISTYPOGRAFIE EN TOEGANKELIJKHEID
   Zelfde uitgangspunten als core.css van de website.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--mono);
  font-size: var(--t-body);
  background: var(--pg-bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 { font-size: var(--t-xl); }
h2 { font-size: var(--t-l); }
h3 { font-size: var(--t-m); }
h4 { font-size: var(--t-body); }

p { text-wrap: pretty; }

hr {
  border: none;
  border-top: 1px solid var(--lijn);
  margin: var(--sp-5) 0;
}

/* ---------- 1. TOEGANKELIJKHEID ---------- */

:focus-visible {
  outline: 3px solid var(--geel);
  outline-offset: 3px;
  border-radius: var(--ronding);
}

/* Op roze vlakken is geel te zwak; daar wordt de focus donker. */
.op-roze :focus-visible,
.btn-roze:focus-visible {
  outline-color: var(--ink);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-size: var(--t-klein);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection { background: var(--geel); color: var(--ink); }

/* ---------- 2. SCROLLBALKEN ---------- */

* { scrollbar-width: thin; scrollbar-color: #c9c9d2 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: #c9c9d2;
  border-radius: 999px;
  border: 3px solid var(--pg-bg);
}
*::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---------- 3. HULPKLASSEN ---------- */

.mono { font-family: var(--mono); }

/* Het codelabel: kleine hoofdletters met sperletters, zoals op de site. */
.label {
  font-size: var(--t-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--label);
}

.muted { color: var(--muted); }
.klein { font-size: var(--t-klein); }
.rechts { text-align: right; }
.nowrap { white-space: nowrap; }
.verborgen { display: none !important; }

/* De haakjes uit het logo, als accent voor koppen. */
.haak { color: var(--roze); font-weight: 700; }
