/*
Theme Name: Stoere Binken
Theme URI: https://sbd-v2.innovatiemedia.nl
Author: Innovatie Media
Description: Maatwerk thema voor Stoere Binken Design. ACF flexibele contentblokken, eigen fontbibliotheek, GSAP-animaties, Barba-paginatransities.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: stoerebinken
*/

/* =========================================================
   DESIGN TOKENS - uit Figma "SBD-website 2026"
   Fonts komen uit inc/fonts.php (@font-face uit assets/fonts/);
   --font-marquee wordt daar per paginaweergave gezet.
   ========================================================= */
:root {
	/* Brand palette (Figma variabelen) */
	--c-black:    #151515;  /* Brand Black */
	--c-green:    #00ffc7;  /* Brand Green */
	--c-white:    #ffffff;  /* White */
	--c-grey-30:  #979797;  /* Grey 30 */
	--c-grey-60:  #6d6d6d;  /* Gray 60 */
	--c-grey-80:  #3c3c3c;  /* Grey 80 */
	--c-sage:     #a3aeab;  /* subtitel "what clients say" */

	/* Semantic */
	--bg:            var(--c-black);
	--text:          var(--c-white);
	--text-muted:    var(--c-grey-30);
	--hairline:      var(--c-grey-60);

	/* Typografie. Jekyll Pro en Accelerator Roman vallen terug op Corporaet
	   en Savant tot hun woff2 in assets/fonts/ staat. Aanleveren als
	   AcceleratorRoman-Regular.woff2 en JekyllPro-Regular.woff2; de
	   @font-face regels komen dan automatisch mee (inc/fonts.php). */
	--font-ui:      "Jekyll Pro", "Corporaet", "Helvetica Neue", Arial, sans-serif;
	--font-lead:    "Reethi Rah", Georgia, serif;
	--font-display: "Accelerator Roman", "Accelerator", "Savant", "Corporaet", sans-serif;
	/* Figma gebruikt voor deze twee eigen fonts; ze renderen goed zodra
	   Kryptonite01-Regular.woff2 en Nantua-Regular.woff2 er staan. */
	--font-introkop: "Kryptonite 01", "Kryptonite01", "Accelerator Roman", "Savant", "Corporaet", sans-serif;
	--font-since:    "Nantua", "Accelerator Roman", "Savant", "Corporaet", sans-serif;
	/* --font-marquee komt uit inc/fonts.php (willekeurig per pageload) */

	/* Typeschaal (Figma tekststijlen, 1:1 op desktop, clamp naar mobiel) */
	--fs-h1:       clamp(40px, 5vw, 80px);      /* hero, Accelerator */
	--lh-h1:       1;
	--fs-h2:       clamp(38px, 4vw, 64px);      /* 64/70 */
	--lh-h2:       1.094;
	--fs-h3:       clamp(32px, 3.125vw, 50px);  /* 50/52 */
	--lh-h3:       1.04;
	--fs-h4:       clamp(28px, 2.75vw, 44px);   /* 44/40 */
	--lh-h4:       0.909;
	--fs-h5:       clamp(24px, 2.125vw, 34px);  /* 34/36 */
	--lh-h5:       1.059;
	--fs-h6:       26px;                         /* 26/28 */
	--lh-h6:       1.077;
	--fs-body:     18px;                         /* 18/26 */
	--lh-body:     1.4444;
	--fs-lead:     clamp(20px, 1.5vw, 24px);     /* Reethi Rah 24/32 */
	--lh-lead:     1.3333;
	--fs-small:    14px;                         /* 14/20 */
	--lh-small:    1.4286;
	--fs-subtitle: 12px;                         /* bold, ls 3px, uppercase */
	--ls-subtitle: 3px;

	/* Layout: 1600-frame, 48px zijmarge, content 1504px */
	--container-max: 1504px;
	--gutter: clamp(20px, 3vw, 48px);
	--radius-hoek: 16px;  /* signatuur: alleen tl+br afgerond */
	--radius-hoek-s: 8px;

	/* Ritme */
	--space-compact:  clamp(40px, 5vw, 80px);
	--space-standard: clamp(64px, 8.75vw, 140px);
	--space-ruim:     clamp(96px, 12.5vw, 200px);

	/* Motion */
	--cubic-default: cubic-bezier(0.625, 0.05, 0, 1);
	--duration-fast: 0.2s;
	--duration-normal: 0.45s;
}

/* Basisreset; alle verdere styling leeft in assets/css/app.css. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	/* Tijdens een paginatransitie is de documentflow even leeg; zonder vaste
	   scrollbalkruimte geeft dat een breedtesprong van de hele layout. */
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	font-family: var(--font-ui);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: 400;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-ui);
	font-weight: 400;
	color: inherit;
	margin: 0;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-family: var(--font-display); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }

p {
	margin: 0 0 1em;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--c-green);
	outline-offset: 2px;
}

button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	padding: 0;
	color: inherit;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

/* Tekstselectie in de huisstijl */
::selection {
	background: var(--c-green);
	color: var(--c-white);
}

::-moz-selection {
	background: var(--c-green);
	color: var(--c-white);
}

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