/*
 * Invicto coming soon (/coming-soon/)
 * Opbouw en maatvoering volgen de Foster & Reeves template (Home A):
 * kleuren uit assets/foster/foster.css (lime -> lavendel, forest obsidian -> nachtblauw),
 * typografie in Quicksand. Staat volledig los van invicto.css / foster.css.
 */

/* ---------- Fonts ---------- */
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens (Foster, herkleurd) ---------- */
:root {
	--dark: #2B3034;          /* paleta A: antraciet */
	--light: #F3F4F5;
	--sand: #E1E4E7;
	--ledger: #5A6168;
	--accent: #c7b0f1;        /* lime -> lavendel */
	--accent-hover: #b89be8;
	--cta: #6C3BAA;           /* paars alleen als accent (rol van Fosters geel) */
	--cta-hover: #57308c;

	--light-8: rgb(243 244 245 / .08);
	--light-16: rgb(243 244 245 / .16);
	--light-32: rgb(243 244 245 / .32);
	--light-64: rgb(243 244 245 / .64);
	--light-80: rgb(243 244 245 / .8);
	--light-88: rgb(243 244 245 / .88);
	--dark-8: rgb(43 48 52 / .08);
	--dark-16: rgb(43 48 52 / .16);
	--dark-64: rgb(43 48 52 / .72);

	--font: "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
	--pad: 32px;
	--container: 1800px;
	--nav-h: 64px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--light);
	color: var(--dark);
	font-family: var(--font);
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	letter-spacing: .25px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.facts :focus-visible,
.systems :focus-visible { outline-color: var(--dark); }

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 50;
	padding: 12px 16px;
	background: var(--accent);
	color: var(--dark);
	font-weight: 600;
	font-size: 14px;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--pad);
	position: relative;
}

/* Foster labels: klein, kapitaal, ruim gespatieerd */
.label-small {
	font-size: 11px;
	line-height: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	line-height: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--dark-64);
}
.eyebrow-light { color: var(--light-80); }
.eyebrow-square { width: 6px; height: 6px; background: currentColor; flex: none; }
.eyebrow-light .eyebrow-square { background: var(--accent); }

/* Foster verticale rasterlijnen */
.grid-lines {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: space-between;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--pad);
	pointer-events: none;
	z-index: 1;
}
.grid-lines span { width: 1px; height: 100%; }
.grid-lines-light span { background: var(--light-8); }
.grid-lines-dark span { background: var(--dark-8); }

/* ---------- Knoppen (Foster cta-main: recht, compact, tekstrol bij hover) ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 20px;
	font-size: 15px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: .1px;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-glass {
	background: rgb(243 244 245 / .12);
	color: var(--light);
	box-shadow: inset 0 0 0 1px var(--light-16);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgb(243 244 245 / .2); }
.btn-outline { color: var(--light); box-shadow: inset 0 0 0 1px var(--light-32); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--light-80); }

.btn-mask { display: block; height: 16px; overflow: hidden; }
.btn-text { display: block; transition: transform .45s var(--ease); }
.btn-text::after {
	content: attr(data-text);
	content: attr(data-text) / "";
	display: block;
}
a:hover .btn-text, a:focus-visible .btn-text { transform: translateY(-50%); }
.btn-arrow { flex: none; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header: aankondigingsbalk + navigatie ---------- */
.site-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	color: var(--light);
}
.banner {
	background: var(--dark);
	padding: 7px var(--pad);
	text-align: center;
	color: var(--light-64);
}
.nav {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: var(--nav-h);
	padding-left: var(--pad);
	border-bottom: 1px solid var(--light-16);
}
.nav-brand { display: flex; align-items: center; padding-right: 16px; }
.nav-brand img { width: auto; height: 28px; }
.nav-end { display: flex; align-items: stretch; }
.nav-divider { width: 1px; background: var(--light-16); }
.nav-link {
	display: flex;
	align-items: center;
	padding: 0 24px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 600;
}
.nav-cta {
	display: flex;
	align-items: center;
	padding: 0 24px;
	background: var(--accent);
	color: var(--dark);
	font-size: 14px;
	line-height: 16px;
	font-weight: 600;
	transition: background-color .3s var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); }
.nav a:focus-visible { outline-offset: -4px; }
.nav-cta:focus-visible { outline-color: var(--dark); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(640px, 100vh, 1080px);
	min-height: clamp(640px, 100svh, 1080px);
	padding: 168px 0 clamp(48px, 7vw, 96px);
	background: var(--dark);
	color: var(--light);
	overflow: hidden;
	isolation: isolate;
}
.hero-media,
.hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img {
	object-fit: cover;
	object-position: 62% 35%;
	animation: hero-zoom 2.4s var(--ease) both;
}
/* Nachtblauwe sluier: overal donker genoeg voor witte tekst, linksonder het donkerst */
.hero-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgb(43 48 52 / .66) 0%, rgb(43 48 52 / 0) 24%),
		linear-gradient(90deg, rgb(43 48 52 / .74) 0%, rgb(43 48 52 / .4) 52%, rgb(43 48 52 / 0) 100%),
		linear-gradient(180deg, rgb(43 48 52 / .5) 0%, rgb(43 48 52 / .16) 30%, rgb(43 48 52 / .5) 62%, rgb(43 48 52 / .92) 100%);
}
.hero-inner { z-index: 2; }
.hero-title {
	margin-top: 20px;
	max-width: 14ch;
	font-size: clamp(3rem, 1.1rem + 6.4vw, 8rem);
	line-height: .92;
	font-weight: 600;
	letter-spacing: -.045em;
	text-wrap: balance;
}
.hero-foot {
	display: grid;
	gap: 24px;
	max-width: 620px;
	margin-top: clamp(28px, 3.5vw, 48px);
	padding-top: 24px;
	border-top: 1px solid var(--light-16);
}
.hero-lead {
	max-width: 52ch;
	font-size: 18px;
	line-height: 28px;
	color: var(--light-88);
}

/* Foster Home A: getrapte lichte blokken onderaan rechts, lopen over in de volgende sectie */
.hero-steps {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: none;
	align-items: flex-end;
	width: 34%;
}
.hero-steps span { flex: 1; background: var(--light); }
.hero-steps span:nth-child(1) { height: clamp(48px, 6vw, 96px); }
.hero-steps span:nth-child(2) { height: clamp(96px, 12vw, 176px); }
.hero-steps span:nth-child(3) { height: clamp(144px, 18vw, 256px); }
.hero-steps span + span { border-left: 1px solid var(--dark-8); }

/* Binnenkomst */
.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Beloftes (Foster services-lijst) ---------- */
.facts {
	position: relative;
	padding: clamp(80px, 10vw, 160px) 0 clamp(64px, 8vw, 120px);
	background: var(--light);
}
.facts-grid {
	z-index: 2;
	display: grid;
	gap: 40px;
}
.facts-list { counter-reset: fact; border-bottom: 1px solid var(--dark-16); }
.fact {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "title num" "text num";
	gap: 8px 24px;
	padding: 28px 0;
	border-top: 1px solid var(--dark-16);
}
.fact-title {
	grid-area: title;
	font-size: clamp(1.75rem, 1rem + 2.2vw, 3rem);
	line-height: 1;
	font-weight: 600;
	letter-spacing: -.035em;
}
.fact-text {
	grid-area: text;
	max-width: 44ch;
	font-size: 16px;
	line-height: 24px;
	color: var(--dark-64);
}
.fact-num {
	grid-area: num;
	align-self: start;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--dark);
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .5px;
}

/* ---------- Profielsystemen (Foster clients-strook) ---------- */
.systems {
	position: relative;
	padding: 0 0 clamp(80px, 10vw, 160px);
	background: var(--light);
}
.systems .container { z-index: 2; }
.systems-statement {
	margin-top: 24px;
	max-width: 22ch;
	font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.systems-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--dark-16);
	border-bottom: 1px solid var(--dark-16);
}
.systems-strip li {
	padding: clamp(20px, 3vw, 40px) clamp(12px, 2vw, 32px);
	font-size: clamp(1.125rem, .8rem + 1.4vw, 2rem);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -.02em;
	text-align: center;
	color: var(--dark);
}
.systems-strip li + li { border-left: 1px solid var(--dark-16); }

/* ---------- CTA ---------- */
.cta {
	position: relative;
	padding: clamp(96px, 12vw, 176px) 0;
	background: var(--dark);
	color: var(--light);
	overflow: hidden;
}
.cta-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 100%;
	transform: scaleX(-1) scale(1.35);
	transform-origin: 50% 100%;
}
.cta-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(43 48 52 / .9) 0%, rgb(43 48 52 / .62) 55%, rgb(43 48 52 / .3) 100%),
		linear-gradient(180deg, rgb(43 48 52 / .2) 0%, rgb(43 48 52 / .55) 100%);
}
.cta-inner { z-index: 2; }
.cta-title {
	margin-top: 20px;
	max-width: 12ch;
	font-size: clamp(2.75rem, 1rem + 5.4vw, 6.5rem);
	line-height: .94;
	font-weight: 600;
	letter-spacing: -.045em;
}
.cta-text {
	margin: 24px 0 32px;
	max-width: 48ch;
	font-size: 18px;
	line-height: 28px;
	color: var(--light-88);
}
.cta-text a {
	color: var(--light);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}
.cta-text a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
	padding: clamp(56px, 7vw, 96px) 0 32px;
	background: var(--ledger);
	color: var(--light);
}
.footer-top {
	display: grid;
	gap: 48px;
	padding-bottom: clamp(48px, 6vw, 96px);
}
.footer-brand img { width: auto; height: 32px; }
.footer-brand p {
	margin-top: 20px;
	max-width: 30ch;
	color: var(--light-88);
}
.footer-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
}
.footer-col h2 { color: var(--light-80); margin-bottom: 16px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 24px;
	border-top: 1px solid var(--light-16);
	font-size: 13px;
	line-height: 20px;
	color: var(--light-80);
}

/* ---------- Breakpoints ---------- */
@media (max-width: 767px) {
	:root { --pad: 20px; --nav-h: 56px; }
	.nav-link-mail, .nav-divider { display: none; }
	.nav-brand img { height: 22px; }
	.nav-cta { padding: 0 16px; font-size: 13px; }
	.hero { padding-top: 152px; }
	.hero-shade {
		background:
			linear-gradient(180deg, rgb(43 48 52 / .6) 0%, rgb(43 48 52 / .5) 25%, rgb(43 48 52 / .6) 50%, rgb(43 48 52 / .9) 100%),
			linear-gradient(90deg, rgb(43 48 52 / .35) 0%, rgb(43 48 52 / 0) 100%);
	}
	.hero-lead, .cta-text { font-size: 17px; line-height: 26px; }
	.btn-row .btn { flex: 1 1 100%; justify-content: center; }
	.grid-lines span:nth-child(2), .grid-lines span:nth-child(4) { display: none; }
}
@media (max-width: 479px) {
	.nav-link-call { display: none; }
	.systems-strip { grid-template-columns: 1fr; }
	.systems-strip li { text-align: left; padding-left: 0; }
	.systems-strip li + li { border-left: 0; border-top: 1px solid var(--dark-16); }
}
@media (min-width: 768px) {
	.footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
	.hero-steps { display: flex; }
	.hero-inner { padding-right: 36%; }
	.hero-title { max-width: 15ch; }
	.facts-grid { grid-template-columns: 4fr 8fr; gap: 32px; }
	.facts-intro { padding-top: 32px; }
	.fact { grid-template-columns: 6fr 5fr auto; grid-template-areas: "title text num"; gap: 24px 40px; align-items: start; padding: 36px 0; }
	.fact-text { padding-top: 8px; }
	.footer-top { grid-template-columns: 5fr 7fr; }
}
@media (min-width: 1200px) {
	.hero-inner { padding-right: 30%; }
	.hero-steps { width: 30%; }
}

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	a:hover .btn-text { transform: none; }
	.btn:hover .btn-arrow { transform: none; }
}

/* Paleta A: paarse vlakken met witte tekst; lavendel blijft voor kleine accenten op donker. */
.btn-accent, .nav-cta, .skip { background: var(--cta); color: #fff; }
.btn-accent:hover, .nav-cta:hover { background: var(--cta-hover); color: #fff; }
.btn-accent svg, .nav-cta svg { color: #fff; }
/* Rolleffect: tekst is twee regels hoog (origineel + kopie), dus een halve hoogte omhoog. */
.btn-mask { line-height: 16px; }
.btn-text { line-height: 16px; }

/* Inhoud op de rasterlijnen (lijnen op 0, 25, 50, 75 en 100% van de container). */
@media (min-width: 992px) {
	.facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.facts-intro { grid-column: 1; padding-right: 24px; }
	.facts-list { grid-column: 2 / -1; }
	.fact { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-areas: "title text"; gap: 0; }
	.fact-title { padding-right: 32px; }
	.fact-text { padding-right: 72px; }
	.fact-num { position: absolute; right: 0; top: 36px; }
	.systems-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.systems-strip li { text-align: left; padding-left: 24px; }
	.systems-strip li:first-child { grid-column: 2; border-left: 1px solid var(--dark-16); }
}
@media (min-width: 992px) { .fact-title { font-size: clamp(1.75rem, .9rem + 1.6vw, 2.75rem); overflow-wrap: anywhere; hyphens: auto; } }

/* Lucht tussen rasterlijn en inhoud, zoals bij Foster (inhoud raakt de lijn niet). */
:root { --inset: 16px; }
@media (min-width: 768px) { :root { --inset: 24px; } }
.hero-inner > *, .cta-inner > *, .systems .container > :not(.systems-strip), .footer .container > *,
.facts-intro, .fact-title, .fact-text { padding-left: var(--inset); }
.fact-num { margin-right: var(--inset); }
@media (min-width: 992px) {
	.fact-num { right: var(--inset); margin-right: 0; }
	.fact-text { padding-right: calc(72px + var(--inset)); }
}
.systems-strip li { padding-left: var(--inset); }
@media (max-width: 991px) { .facts-list { margin-left: var(--inset); } .fact-title, .fact-text { padding-left: 0; } }

/* Nummerblokjes in het accentpaars. */
.fact-num { background: var(--cta); color: #fff; }
/* Kleine accenten op licht in paars (op donker blijft lavendel). */
.eyebrow:not(.eyebrow-light) .eyebrow-square { background: var(--cta); }
.facts a:hover, .systems a:hover { color: var(--cta); }

/* Footer: rasterlijnen zoals de rest van de pagina, kolommen op de lijnen. */
.footer { position: relative; }
.footer .container { z-index: 2; }
.footer .container > * { padding-left: 0; }
.footer-brand, .footer-col, .footer-bottom > * { padding-left: var(--inset); }
.footer-bottom > :last-child { padding-right: var(--inset); }
@media (min-width: 992px) {
	.footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.footer-cols { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
}

/* Strook systemen: geen eigen verticale randen, de rasterlijnen zijn de scheiding (geen dubbele lijnen). */
@media (min-width: 992px) { .systems-strip li, .systems-strip li + li, .systems-strip li:first-child { border-left: 0; } }

/* Merklogo's (officiële bestanden van de merken), eenkleurig in antraciet zoals Fosters klantlogo's. */
.systems-strip li { display: flex; align-items: center; min-height: clamp(88px, 9vw, 128px); }
.partner-logo { display: block; width: auto; height: clamp(22px, 2.2vw, 30px); max-width: 100%; filter: brightness(0) saturate(100%); opacity: .82; }
.partner-logo.is-light-source { filter: brightness(0) saturate(100%); }
.partner-logo.is-light-source { height: clamp(28px, 2.8vw, 38px); }

/* "Wij reageren binnen 24 uur." altijd op een eigen regel. */
.cta-reply { display: block; }

/* Logo's gecentreerd in hun kolom (Jovan, 13-11-2026) */
.systems-strip li, .systems-strip li + li { justify-content: center; text-align: center; padding-left: var(--inset); padding-right: var(--inset); }

/* Mobiel en tablet zoals het Foster-origineel (gemeten 13-11-2026):
   mobiel: lijnen 8px van de rand, alle 5 lijnen zichtbaar, inhoud 8px van de lijn, knoppen naast elkaar (40px);
   tablet: lijnen 24px van de rand, inhoud 8px van de lijn. */
@media (min-width: 768px) and (max-width: 991px) {
	:root { --pad: 24px; --inset: 8px; }
}
@media (max-width: 767px) {
	:root { --pad: 8px; --inset: 8px; }
	.grid-lines span:nth-child(2), .grid-lines span:nth-child(4) { display: block; }
	.btn-row .btn { flex: 0 0 auto; justify-content: flex-start; }
	.btn { min-height: 40px; padding: 10px 16px; font-size: 14px; }
	.nav-brand { padding-left: var(--inset); }
}
@media (max-width: 767px) { .footer-cols { column-gap: 0; } }

/* "een project?" altijd op een eigen regel */
.cta-title-break { display: block; }

/* Hero-titel altijd in precies 3 regels: Onze nieuwe / website komt / binnenkort online */
.hero-title, .hero-title { max-width: none; text-wrap: initial; font-size: min(clamp(3rem, 1.1rem + 6.4vw, 8rem), 12.6vw); }
.hero-line { display: block; white-space: nowrap; }

/* Mobiel: geen rasterlijnen dwars door de logo's. De vakjes krijgen de achtergrondkleur,
   alleen de buitenste lijnen blijven zichtbaar (Jovan, 13-11-2026). */
@media (max-width: 767px) {
	.systems-strip li {
		position: relative;
		z-index: 1;
		background: var(--light);
	}
	.systems-strip li:first-child { box-shadow: inset 1px 0 0 var(--dark-8); }
	.systems-strip li:last-child { box-shadow: inset -1px 0 0 var(--dark-8); }
}
@media (max-width: 479px) {
	.systems-strip li, .systems-strip li:first-child, .systems-strip li:last-child { box-shadow: inset 1px 0 0 var(--dark-8), inset -1px 0 0 var(--dark-8); }
}

/* Logo in de navigatie op dezelfde lijn als de inhoud eronder, op elke breedte (Jovan, 14-11-2026). */
.nav-brand { padding-left: var(--inset); }
