/*
 * Shire&Oak designtokens — bron: Figma "Shire&Oak — Herontwerp 2027 (Bricks)", stijlpagina.
 * Alleen tokens, lettertypen en een paar basisregels met lage specificiteit (:where).
 * Componentstijlen (knoppen, kaarten, eyebrow …) worden globale classes in Bricks.
 */

/* ---------- Lettertypen (lokaal, font-display: swap) ---------- */
@font-face {
	font-family: "Fraunces";
	src: url("fonts/fraunces-variable.woff2") format("woff2");
	font-style: normal;
	font-weight: 300 400;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("fonts/fraunces-italic-variable.woff2") format("woff2");
	font-style: italic;
	font-weight: 300 400;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("fonts/figtree-variable.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("fonts/ibm-plex-mono-400-normal.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("fonts/ibm-plex-mono-500-normal.woff2") format("woff2");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

:root {
	/* ---------- Kleur ---------- */
	--so-inkt-900: #1b313d;      /* koppen, donkere vlakken */
	--so-navy-700: #274454;      /* CTA-vlak */
	--so-leisteen-500: #426d7e;  /* lijnen op donker, data */
	--so-koper-500: #c9956a;     /* primaire knop, accent — alleen voor actie */
	--so-koper-700: #8a5a33;     /* accentwoorden en labels op licht */
	--so-koper-200: #ebd3bd;     /* zachte highlight */
	--so-haver-50: #f6f1e9;      /* basisachtergrond */
	--so-zand-100: #e9dfd0;      /* tweede vlak */
	--so-lijn-200: #d9cfc0;      /* scheidingslijnen */
	--so-wit: #ffffff;           /* kaarten, invoervelden */
	--so-grijs-600: #5f6b70;     /* lopende tekst */

	/* ---------- Lettertypen ---------- */
	--so-font-verhaal: "Fraunces", Georgia, "Times New Roman", serif;
	--so-font-tekst: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--so-font-meting: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	/* ---------- Tekstgroottes (vloeiend: mobiel → desktop 1440) ---------- */
	--so-tekst-display-xl: clamp(2.75rem, 1.9rem + 3.4vw, 4.75rem);    /* 44 → 76 */
	--so-tekst-display-l: clamp(2.125rem, 1.6rem + 2.1vw, 3.25rem);    /* 34 → 52 */
	--so-tekst-h3: clamp(1.5rem, 1.38rem + 0.5vw, 1.75rem);            /* 24 → 28 */
	--so-tekst-h4: 1.25rem;                                            /* 20 */
	--so-tekst-groot: clamp(1.125rem, 1.07rem + 0.22vw, 1.25rem);      /* 18 → 20 */
	--so-tekst-basis: 1.0625rem;                                       /* 17 */
	--so-tekst-klein: 0.875rem;                                        /* 14 */
	--so-tekst-label: 0.75rem;                                         /* 12, mono, kapitalen */
	--so-tekst-data: 0.875rem;                                         /* 14, mono */

	/* ---------- Ruimte ---------- */
	--so-ruimte-xs: 0.5rem;   /* 8 */
	--so-ruimte-s: 1rem;      /* 16 */
	--so-ruimte-m: 1.5rem;    /* 24 */
	--so-ruimte-l: 2.5rem;    /* 40 */
	--so-ruimte-xl: 4rem;     /* 64 */
	--so-ruimte-sectie: clamp(4rem, 2.6rem + 5.6vw, 7.5rem); /* 64 → 120, verticale sectiepadding */
	--so-ruimte-gutter: clamp(1.25rem, 0.2rem + 4.2vw, 5rem); /* 20 → 80, zijmarge */

	/* ---------- Layout ---------- */
	--so-breedte-inhoud: 80rem;   /* 1280 */
	--so-breedte-focus: 45rem;    /* 720, focuskolom Marketingcheck */
	--so-breedte-tekst: 42rem;    /* ±68 tekens per regel */

	/* ---------- Vorm ---------- */
	--so-radius-s: 4px;
	--so-radius-m: 6px;
	--so-radius-l: 8px;
	--so-schaduw-kaart: 0 16px 40px rgba(27, 49, 61, 0.14);
	--so-schaduw-zacht: 0 12px 32px rgba(27, 49, 61, 0.08);
}

/* ---------- Basis (lage specificiteit, Bricks-instellingen gaan voor) ---------- */
:where(body) {
	font-family: var(--so-font-tekst);
	font-size: var(--so-tekst-basis);
	line-height: 1.6;
	color: var(--so-grijs-600);
	background-color: var(--so-haver-50);
	-webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3) {
	font-family: var(--so-font-verhaal);
	font-weight: 300;
	color: var(--so-inkt-900);
}
:where(h1) { font-size: var(--so-tekst-display-xl); line-height: 1.04; letter-spacing: -0.02em; }
:where(h2) { font-size: var(--so-tekst-display-l); line-height: 1.1; letter-spacing: -0.015em; }
:where(h3) { font-size: var(--so-tekst-h3); line-height: 1.25; font-weight: 400; }
:where(h4) { font-family: var(--so-font-tekst); font-size: var(--so-tekst-h4); line-height: 1.3; font-weight: 600; color: var(--so-inkt-900); }
:where(h1, h2, h3) em { font-style: italic; color: var(--so-koper-700); }
:where(:focus-visible) { outline: 2px solid var(--so-koper-700); outline-offset: 3px; }

/* ---------- Motief: de meetlat (zonder afbeelding) ---------- */
.so-meetlat {
	height: 28px;
	background-image:
		linear-gradient(var(--so-lijn-200), var(--so-lijn-200)),
		repeating-linear-gradient(to right, var(--so-koper-500) 0 1px, transparent 1px 100px),
		repeating-linear-gradient(to right, var(--so-lijn-200) 0 1px, transparent 1px 50px),
		repeating-linear-gradient(to right, var(--so-lijn-200) 0 1px, transparent 1px 10px);
	background-size: 100% 1px, 100% 20px, 100% 12px, 100% 6px;
	background-position: bottom left, bottom left, bottom left, bottom left;
	background-repeat: no-repeat;
}
