/*
 * Self-hosted fonts (GDPR: no requests to Google). Files come from Fontsource
 * 5.3.0, SIL Open Font License; see ../fonts/LICENSE-*.txt.
 *
 * "Inter Display" is not a separate download: Inter 4's variable file has an
 * optical-size axis (opsz 14-32), and opsz 32 *is* Inter Display.
 * The token definitions below pin that axis where the old site used Inter Display.
 */

/* latin-ext first, latin last, the same order Fontsource uses */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/inter-latin-ext-opsz-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/inter-latin-opsz-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/inter-latin-ext-opsz-italic.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/inter-latin-opsz-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/space-grotesk-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/space-grotesk-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Space Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/space-mono-latin-ext-400-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Space Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/space-mono-latin-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Space Mono";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/space-mono-latin-ext-700-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Space Mono";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/space-mono-latin-700-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Script face used for article titles on the old site; not in the original brief. */
@font-face {
	font-family: "Fleur De Leah";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/fleur-de-leah-latin-ext-400-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fleur De Leah";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/fleur-de-leah-latin-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * KrisPIJNPUNT design tokens, measured from the Framer mirror (krispijnpunt.com,
 * frozen 2026-10-28). See docs/design/design-notes.md for where each one is used.
 * Values marked "fix" deliberately differ from the old site.
 */
:root {
	/* ---- colour ---- */
	--kp-white: #ffffff;        /* page background */
	--kp-paper: #fbfaf5;
	--kp-band: #f1ecdd;
	--kp-deep: #23253a;
	--kp-link: #b04a22;
	--kp-line: #dedbcc;
	--kp-cream: #f4f1de;        /* text on dark/orange, input background */
	--kp-sand-light: #e5dfc9;   /* Framer token; subtle surfaces */
	--kp-sand: #e8ae68;         /* secondary buttons, footer headings */
	--kp-orange: #d36135;       /* nav bar, links, primary buttons */
	--kp-orange-cta: #e07a3b;   /* hero "Bekijk nu!" button */
	--kp-ink: #3d405b;          /* body text, dark buttons, newsletter bar */
	--kp-ink-75: rgb(61 64 91 / 0.75); /* article date/meta */
	--kp-taupe: #6b6655;        /* footer background, muted text, input border */
	--kp-taupe-15: rgb(107 102 85 / 0.15); /* form field background */
	--kp-green: #556b57;        /* "Meest gekozen" badge */
	--kp-black: #000000;        /* card titles, article subheads */
	--kp-overlay: linear-gradient(to bottom, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 1) 100%); /* image title overlay */
	--kp-hero-overlay: linear-gradient(to top, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.22) 40%, rgb(0 0 0 / 0) 100%);

	/* ---- type ---- */
	--kp-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--kp-font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
	--kp-font-mono: "Space Mono", ui-monospace, monospace;
	--kp-font-script: "Fleur De Leah", cursive;
	--kp-opsz-display: "opsz" 32; /* Inter Display */

	/* fluid scale: min (mobile 390) -> max (desktop 1440); old site's sizes in comments */
	--kp-fs-xs: 0.8125rem;                                   /* 13  legal, footer small */
	--kp-fs-sm: 0.875rem;                                    /* 14  labels, footer links, card date */
	--kp-fs-base: 1rem;                                      /* 16  UI text, nav */
	--kp-fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem); /* 17-18 article body. fix: old was 16 / 13 / 10px */
	--kp-fs-h6: 1.25rem;                                     /* 20  "Recente video's" */
	--kp-fs-tier: 1.5rem;                                    /* 24  tier names */
	--kp-fs-logo: 1.5625rem;                                 /* 25  wordmark */
	--kp-fs-title-script: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); /* old 17/21/26. fix: bigger, script needs size */
	--kp-fs-h4: clamp(1.5rem, 1.25rem + 0.9vw, 1.9375rem);   /* 24-31 section titles */
	--kp-fs-h1: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem);     /* 26-40 article subheads */
	--kp-fs-hero: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);   /* 28-44 hero video title */
	--kp-fs-display: clamp(2rem, 1.3rem + 2.4vw, 3.0625rem); /* 32-49 "Wat mij drijft..." */

	--kp-lh-tight: 1.1;   /* big Space Grotesk headings */
	--kp-lh-heading: 1.4; /* section titles */
	--kp-lh-ui: 1.2;
	--kp-lh-body: 1.6;

	--kp-ls-heading: -0.02em;

	/* ---- space (old site used a 4/8px rhythm) ---- */
	--kp-space-1: 4px;
	--kp-space-2: 8px;
	--kp-space-3: 16px;
	--kp-space-4: 24px;
	--kp-space-5: 32px;
	--kp-space-6: 48px;
	--kp-space-7: 80px;
	--kp-gutter: clamp(16px, 3vw, 40px); /* page side padding */
	--kp-paragraph-gap: 20px;

	/* ---- layout ---- */
	--kp-max-width: 1120px;   /* content width: the 1200px GP container minus 2 x 40px gutters */
	--kp-article-width: 720px;
	--kp-nav-width: 1125px;
	--kp-nav-height: 60px;
	--kp-nav-offset: 0px;
	--kp-card-gap: 16px;

	/* ---- shape ---- */
	--kp-radius: 5px;         /* default: buttons, cards, images, nav */
	--kp-radius-video: 12px;  /* video thumbnails */
	--kp-radius-pill: 999px;  /* badges */
	--kp-shadow-button: 0 2px 8px rgb(0 0 0 / 0.3);
}

/* Framer breakpoints, for reference in media queries:
 *   mobile  < 810px
 *   tablet  810-1439px
 *   desktop >= 1440px
 */
