/* bio-grond — basisstijlen (elementen, geen componenten)
   Vereist tokens.css. Componenten volgen per template-branch. */

/* Inter variable — latin-subset, self-hosted (geen CDN) */
@font-face {
  font-family: "InterVariable";
  src: url("../fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Reset-lite */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  font-optical-sizing: auto;
  color: var(--color-ink);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-kop);
  line-height: var(--leading-kop);
  letter-spacing: var(--tracking-kop);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p, li { max-width: var(--measure); }

a {
  color: var(--color-primary-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--dur-micro) var(--ease-out-soft);
}
a:hover { color: var(--color-bio); }

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

:focus-visible {
  outline: 2px solid var(--color-bio);
  outline-offset: 2px;
}

::selection {
  background: var(--color-bio);
  color: var(--color-on-primary);
}
