/* ============================================================
   BASE — Reset & typografische basis
   ============================================================ */

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

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

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.12;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }
h5 { font-size: var(--t-base); font-weight: 700; }
h6 { font-size: var(--t-sm);   font-weight: 700; }

p {
  font-size: var(--t-base);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 68ch;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover { color: var(--accent-hover); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); font-size: var(--t-base); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: var(--s6);
}

.container--default { max-width: var(--w-default); }
.container--narrow  { max-width: var(--w-narrow); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  z-index: 9999;
  padding: var(--s3) var(--s6);
  background: var(--accent);
  color: var(--surface);
  font-size: var(--t-sm);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
}

.skip-link:focus { top: var(--s4); }

/* Visueel verborgen */
.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;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Section helpers */
.section { padding-block: var(--s24); }
.section--sm { padding-block: var(--s16); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--schie);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--schie);
  flex-shrink: 0;
}

/* Schie stippellijn ornament */
.schie-thread {
  display: block;
  width: 1px;
  background: none;
  border-left: 1.5px dashed var(--schie);
  opacity: 0.28;
  flex-shrink: 0;
}

/* Schie horizontale divider */
.schie-divider {
  position: relative;
  padding-block: var(--s3);
  overflow: hidden;
}

.schie-divider__svg {
  display: block;
  width: 100%;
  height: 48px;
}

.div-main {
  stroke-dasharray: 12 7;    /* cyclus = 19px */
  animation: divFlow 1.6s linear infinite;
}

.div-bank {
  stroke-dasharray: 3 8;     /* cyclus = 11px */
  animation: divBankFlow 1.8s linear infinite;
}

@keyframes divFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -19; }
}

@keyframes divBankFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -11; }
}

.schie-divider__label {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--schie);
  opacity: 0.5;
  margin-top: var(--s1);
}

@media (prefers-reduced-motion: reduce) {
  .div-main, .div-bank { animation: none; }
}

/* Divider */
hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin-block: var(--s12);
}

/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
