/**
 * Projecten in mint: het overzicht (/projecten/, Figma "Projecten · A") en de detailpagina's
 * (Figma "Project detail · C"). Alles onder .pj, zodat de rest van de site er niet door verandert.
 */
.pj {
	--pj-teal: #054958;
	--pj-teal-licht: #b9dcd9;
	--pj-mint: #dcf4f2;
	--pj-zacht: #f6fbfb;
	--pj-tekst: #3d5a60;
	--pj-grijs: #687f84;
	--pj-groen: #00866d;
	--pj-geel: #ffc619;
	--pj-geel-d: #f0b400;
	--pj-op-geel: #032a32;
	color: var(--pj-teal);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.pj *, .pj *::before, .pj *::after { box-sizing: border-box; }
.pj :where(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; }
.pj :where(ul) { padding: 0; list-style: none; }

.pj-w { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.pj-bk { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pj-groen); }

.pj-knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 22px;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.pj-knop--geel { background: var(--pj-geel); color: var(--pj-op-geel); }
.pj-knop--geel:hover { background: var(--pj-geel-d); color: var(--pj-op-geel); }
.pj-knop--wit { background: #fff; color: var(--pj-teal); }
.pj-knop--wit:hover { background: var(--pj-zacht); color: var(--pj-teal); }
.pj-knop--rand { padding: 13.5px 20.5px; border: 1.5px solid var(--pj-teal); background: transparent; color: var(--pj-teal); }
.pj-knop--rand:hover { background: var(--pj-teal); color: #fff; }

/* ---------- Overzicht ---------- */
.pj-kop { background: var(--pj-mint); padding: 88px 24px 140px; text-align: center; border-radius: 0 0 48px 48px; }
.pj-kop__titel { margin-top: 14px; font-size: 52px; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--pj-teal); }
.pj-kop__tekst { max-width: 720px; margin: 18px auto 0; font-size: 18px; line-height: 1.7; color: var(--pj-tekst); }

.pj-filters {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 12px;
	align-items: end;
	margin-top: -64px;
	padding: 20px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 50px -20px rgba(5, 73, 88, .25);
}
.pj-sel { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--pj-grijs); }
.pj-sel select {
	width: 100%;
	height: 50px;
	padding: 0 40px 0 16px;
	border: 0;
	border-radius: 12px;
	background: var(--pj-zacht) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2300866d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--pj-teal);
	cursor: pointer;
}
.pj-sel select:focus-visible { outline: 3px solid #7fd6c3; outline-offset: 1px; }
.pj-filters__knop { height: 50px; }

.pj-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pj-kaart[hidden] { display: none; }
.pj-kaart > a { display: flex; flex-direction: column; height: 100%; border-radius: 24px; background: var(--pj-zacht); overflow: hidden; color: var(--pj-teal); text-decoration: none; transition: background-color .15s ease; }
.pj-kaart > a:hover { background: var(--pj-mint); }
.pj-kaart__foto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pj-mint); }
.pj-kaart__foto img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.pj-label { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--pj-teal); }
.pj-kaart__in { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.pj-kaart__titel { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--pj-teal); }
.pj-kaart__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; font-size: 14.5px; color: var(--pj-grijs); }
.pj-kaart__meta i { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pj-geel); color: var(--pj-op-geel); }
.pj-raster--wit .pj-kaart > a { background: #fff; box-shadow: 0 20px 44px -22px rgba(5, 73, 88, .28); }
.pj-raster--wit .pj-kaart > a:hover { background: #fff; box-shadow: 0 24px 50px -18px rgba(5, 73, 88, .38); }

.pj-leeg { margin-top: 48px; padding: 40px; border-radius: 24px; background: var(--pj-zacht); text-align: center; }
.pj-leeg[hidden] { display: none; }
.pj-leeg p { margin-bottom: 16px; font-size: 17px; color: var(--pj-tekst); }

.pj-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin: 72px 0 96px; padding: 32px 40px; border-radius: 28px; background: var(--pj-mint); }
.pj-cta__tekst { display: flex; align-items: center; gap: 24px; }
.pj-cta h2 { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--pj-teal); }
.pj-cta p { margin-top: 4px; font-size: 15.5px; line-height: 1.6; color: var(--pj-tekst); }
.pj-cta__knoppen { display: flex; gap: 10px; flex-shrink: 0; }
.pj-team { display: inline-flex; flex-shrink: 0; }
.pj-team img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin-left: -12px; box-shadow: 0 0 0 3px var(--pj-mint); }
.pj-team img:first-child { margin-left: 0; }

/* ---------- Detail ---------- */
.pd { padding-top: 56px; }
.pd-terug { font-size: 14px; font-weight: 600; color: var(--pj-teal); text-decoration: none; }
.pd-terug:hover { color: var(--pj-groen); }
.pd-kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 20px; }
.pd-titel { max-width: 780px; font-size: 52px; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--pj-teal); }
.pd-chip { flex-shrink: 0; padding: 9px 15px; border-radius: 999px; background: var(--pj-mint); font-size: 14.5px; font-weight: 600; }
.pd-foto { margin-top: 36px; height: 520px; border-radius: 32px; overflow: hidden; background: var(--pj-mint); }
.pd-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; padding: 72px 0 96px; }
.pd-verhaal { display: flex; flex-direction: column; gap: 44px; }
.pd-h2 { margin-bottom: 12px; font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--pj-teal); }
.pd-h2--groot { margin-bottom: 0; font-size: 34px; }
.pd-verhaal p { font-size: 17px; line-height: 1.7; color: var(--pj-tekst); }
.pd-opgeleverd { padding: 36px; border-radius: 24px; background: var(--pj-zacht); }
.pd-opgeleverd .pd-h2 { font-size: 24px; margin-bottom: 18px; }
.pd-vink { display: flex; flex-direction: column; gap: 12px; }
.pd-vink li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.pd-vink i { flex: 0 0 24px; height: 24px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pj-mint); color: var(--pj-groen); }
.pd-feiten { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 6px; padding: 36px; border-radius: 28px; background: var(--pj-teal); color: #fff; }
.pd-feiten .pj-bk { margin-bottom: 10px; color: #7fd6c3; }
.pd-feiten dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15.5px; }
.pd-feiten dt { color: var(--pj-teal-licht); }
.pd-feiten dd { font-weight: 700; text-align: right; }
.pd-feiten__tekst { margin: 18px 0 10px; font-size: 15px; line-height: 1.6; color: var(--pj-teal-licht); }
.pd-meer { padding: 72px 0 88px; background: var(--pj-zacht); }
.pd-meer__kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pd-meer .pj-raster { margin-top: 28px; }
.pj a:focus-visible, .pj button:focus-visible { outline: 3px solid #7fd6c3; outline-offset: 2px; }

@media (max-width: 1024px) {
	.pj-filters { grid-template-columns: 1fr 1fr; }
	.pj-filters__knop { grid-column: 1 / -1; }
	.pj-raster { grid-template-columns: repeat(2, 1fr); }
	.pj-cta { flex-direction: column; align-items: flex-start; }
	.pd-grid { grid-template-columns: 1fr; gap: 40px; }
	.pd-feiten { position: static; }
}
@media (max-width: 768px) {
	.pj-w { padding-left: 16px; padding-right: 16px; }
	.pj-kop { padding: 56px 16px 110px; border-radius: 0 0 32px 32px; }
	.pj-kop__titel { font-size: 36px; }
	.pj-kop__tekst { font-size: 16.5px; }
	.pj-filters { grid-template-columns: 1fr; margin-top: -72px; padding: 16px; border-radius: 20px; }
	.pj-raster { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
	.pj-cta { margin: 48px 0 64px; padding: 26px; border-radius: 22px; }
	.pj-cta__tekst { flex-direction: column; align-items: flex-start; gap: 16px; }
	.pj-cta__knoppen { flex-direction: column; width: 100%; }
	.pd { padding-top: 32px; }
	.pd-kop { flex-direction: column; align-items: flex-start; gap: 14px; }
	.pd-titel { font-size: 32px; }
	.pd-foto { height: 260px; margin-top: 24px; border-radius: 22px; }
	.pd-grid { padding: 48px 0 64px; }
	.pd-verhaal { gap: 32px; }
	.pd-verhaal p { font-size: 16px; }
	.pd-h2 { font-size: 24px; }
	.pd-h2--groot { font-size: 28px; }
	.pd-opgeleverd, .pd-feiten { padding: 26px; border-radius: 22px; }
	.pd-meer { padding: 56px 0 64px; }
	.pd-meer__kop { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .pj * { transition: none !important; } }
