/* ============================================================
   Zwart op Wit Arbeidsrecht — Component & element styles (OPT-IN)
   ------------------------------------------------------------
   Deze laag bevat de daadwerkelijke OPMAAK (element-defaults +
   herbruikbare componenten). Importeer ALLEEN waar je deze defaults
   wilt; surfaces met eigen opmaak (templates, de React-website) laten
   dit bewust weg om style-lekken te voorkomen.

   Vereist: colors_and_type.css moet eerst geladen zijn (tokens).
       <link href="colors_and_type.css" rel="stylesheet">
       <link href="components.css"       rel="stylesheet">
   ============================================================ */

/* ── Headings ─────────────────────────────────────────── */
.h1, h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);       /* 36px */
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
  color: var(--fg-primary);
  letter-spacing: var(--tracking-tight);
}

.h2, h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);       /* 24px */
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
  color: var(--fg-primary);
}

.h3, h3 {
  font-family: var(--font-sans);
  font-size: var(--text-md);       /* 18px */
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  color: var(--fg-primary);
}

/* ── Body ─────────────────────────────────────────────── */
p, .body {
  font-family: var(--font-sans);
  font-size: var(--text-base);     /* 16px */
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--fg-secondary);
}

.small, small {
  font-family: var(--font-sans);
  font-size: var(--text-sm);       /* 13px */
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--fg-muted);
}

/* ── Overline / section label ─────────────────────────── */
.overline, .s-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);       /* 11px */
  font-weight: var(--weight-semibold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-highlight);
}

/* ── Hero / cover display ─────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-size: var(--text-3xl);      /* 72px */
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

/* ── Navigation ───────────────────────────────────────── */
.nav-link {
  font-family: var(--font-sans);
  font-size: var(--text-sm);       /* 13px */
  font-weight: var(--weight-medium);
  letter-spacing: 0.03em;
  color: var(--fg-primary);
  text-decoration: none;
}

/* ── Button text ──────────────────────────────────────── */
.btn-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);       /* 13px */
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
}

/* ============================================================
   COMPONENT PRIMITIVES
   ============================================================ */

/* Ink dot — the brand mark on the "i" of "Wit" */
.ink-i {
  position: relative;
  display: inline-block;
  line-height: 1;
}
/* Ink dot — the brand mark on the "i" of "Wit".
   SIZE (optical scale, × cap-height H): wordmark/lockup 0.22 · monogram 0.30 · icon/favicon 0.38.
   DM Serif H = 0.66em → wordmark dot Ø = 0.145em.
   POSITION: centre at ~0.64 × H above baseline; line-height:1 + top:0.14em makes it line-height-independent. */
.ink-i::before {
  content: '';
  position: absolute;
  width: 0.145em;
  height: 0.145em;
  background: var(--accent);
  border-radius: 50%;
  top: 0.14em;
  left: 50%;
  transform: translateX(-50%);
}

/* Card — light */
.card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

/* Card — paper */
.card-paper {
  background: var(--card-bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

/* Card — dark */
.card-dark {
  background: var(--card-bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

/* Accent rule */
.accent-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* Accent left border */
.accent-border-left {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-3);
}

/* Button — primary (copper) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-primary:hover {
  background: var(--accent-dark);
}

/* Button — ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--mist);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover {
  border-color: var(--stone);
  color: var(--ink);
}

/* Button — ghost on dark */
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.btn-ghost-dark:hover {
  border-color: rgba(255,255,255,0.5);
}

/* Section wrapper */
.section {
  padding: var(--section-pad-v) var(--section-pad-h);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-full {
  padding: var(--section-pad-v) var(--section-pad-h);
}
.section-full > .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
