/* ==========================================================================
   Beckey's — Basis & typografie
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--color-text-primary);
  line-height: 1.15;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Zichtbare focus-ring voor toetsenbordnavigatie — nooit verwijderen. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--pink-700);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4xl);
}

/* Mobiel krijgt een iets ruimere marge dan --space-lg zou geven, zodat
   content nooit ongemakkelijk dicht tegen de schermrand aan zit. */
@media (max-width: 700px) {
  .container { padding-inline: 20px; }
}

/* LET OP: overflow-x:hidden hoort NIET op html/body — dat breekt
   position:sticky in Chromium (de sticky-berekening gaat dan uit van het
   verkeerde scroll-element). Als een pagina ooit toch te breed dreigt te
   worden, los dat op bij het specifieke te brede element, niet hier. */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400; /* Domine Regular — zie tokens.css voor de "j"-fix toelichting */
  font-size: clamp(28px, 3vw, 32px);
}

.section-sub {
  color: var(--color-text-secondary);
  font-size: 16px;
  max-width: 640px;
}

.text-center { text-align: center; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--color-accent-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}
