.project-page--hoe-hecht-is-nederland {
	--cohesion-teal: #3f8f86;
	--cohesion-teal-soft: color-mix(in srgb, var(--cohesion-teal) 16%, transparent);
	--cohesion-coral: #c95d4c;
	--cohesion-coral-soft: color-mix(in srgb, var(--cohesion-coral) 14%, transparent);
	--cohesion-gold: #d4a44c;
	--cohesion-indigo: #6d78c8;
	--cohesion-panel: color-mix(in srgb, var(--panel) 92%, var(--cohesion-teal) 8%);
	display: grid;
	gap: 2rem;
}

.project-page--hoe-hecht-is-nederland .project-intro .eyebrow {
	margin-bottom: 0.65rem;
}

.cohesion-lede {
	align-items: stretch;
	display: grid;
	gap: 1.2rem;
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.2fr);
}

.cohesion-lede__copy {
	background: radial-gradient(circle at 15% 0%, var(--cohesion-teal-soft), transparent 48%), var(--panel);
	border: 1px solid var(--line);
	border-radius: 1rem;
	padding: clamp(1.3rem, 2.5vw, 2rem);
}

.cohesion-lede__copy p:last-child {
	margin-bottom: 0;
}

.cohesion-snapshot {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.cohesion-snapshot article {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 168px;
	padding: 1rem;
	position: relative;
	overflow: hidden;
}

.cohesion-snapshot article::before {
	background: var(--cohesion-teal);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.cohesion-snapshot article.is-down::before {
	background: var(--cohesion-coral);
}

.cohesion-snapshot span,
.story-stack span,
.contrast-stack span {
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.cohesion-snapshot strong {
	color: var(--ink);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1;
}

.cohesion-snapshot strong small {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 600;
	margin-left: 0.2rem;
}

.cohesion-snapshot em {
	color: var(--muted);
	font-size: 0.76rem;
	font-style: normal;
}

.cohesion-tabs {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 0.8rem;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	padding: 0.35rem;
	position: sticky;
	top: 0.6rem;
	z-index: 8;
}

.cohesion-tabs button {
	justify-content: center;
}

.cohesion-dashboard > .project-tab-panel {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.85fr);
}

.cohesion-dashboard > .project-tab-panel[hidden] {
	display: none;
}

.project-page--hoe-hecht-is-nederland .project-panel {
	border-radius: 1rem;
}

.cohesion-main-panel,
.neighborhood-map-panel {
	min-width: 0;
}

.metric-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 0.8rem;
}

.metric-picker button[data-metric="socialContact"].is-active {
	background: var(--cohesion-teal);
}

.metric-picker button[data-metric="volunteering"].is-active {
	background: var(--cohesion-coral);
}

.metric-picker button[data-metric="peopleTrust"].is-active {
	background: var(--cohesion-indigo);
}

.metric-picker button[data-metric="informalHelp"].is-active {
	background: var(--cohesion-gold);
	color: #201b12;
}

.cohesion-chart-wrap {
	min-height: 500px;
}

.project-page--hoe-hecht-is-nederland svg {
	display: block;
	max-width: 100%;
}

.project-page--hoe-hecht-is-nederland .axis text {
	fill: var(--muted);
	font-family: var(--saga-font);
	font-size: 0.75rem;
}

.project-page--hoe-hecht-is-nederland .axis path,
.project-page--hoe-hecht-is-nederland .axis line {
	stroke: var(--line);
}

.project-page--hoe-hecht-is-nederland .grid line {
	stroke: var(--line);
	stroke-opacity: 0.7;
}

.project-page--hoe-hecht-is-nederland .grid path {
	display: none;
}

.trend-line {
	fill: none;
	stroke-width: 3;
}

.trend-point {
	stroke: var(--panel);
	stroke-width: 2;
	cursor: pointer;
}

.history-chart-wrap {
	min-height: 500px;
}

.history-line {
	stroke-width: 2.5;
}

.history-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	padding: 0.35rem 0.25rem 0;
}

.history-legend span {
	align-items: center;
	color: var(--muted);
	display: inline-flex;
	font-size: 0.74rem;
	gap: 0.4rem;
}

.history-legend i {
	background: var(--legend-color);
	border-radius: 999px;
	display: inline-block;
	height: 0.24rem;
	width: 1.3rem;
}

.history-break {
	background: linear-gradient(155deg, var(--cohesion-coral-soft), transparent 48%), var(--panel);
	height: fit-content;
	position: sticky;
	top: 4.8rem;
}

.history-milestones {
	display: grid;
	gap: 0;
	margin-top: 1.25rem;
}

.history-milestones article {
	align-items: center;
	border-left: 2px solid var(--line-strong);
	display: grid;
	gap: 0.15rem;
	grid-template-columns: 4.3rem 1fr;
	min-height: 4.4rem;
	padding: 0.55rem 0 0.55rem 1rem;
	position: relative;
}

.history-milestones article::before {
	background: var(--cohesion-coral);
	border: 3px solid var(--panel);
	border-radius: 50%;
	content: "";
	height: 0.8rem;
	left: -0.45rem;
	position: absolute;
	width: 0.8rem;
}

.history-milestones strong {
	color: var(--ink);
	font-size: 1.35rem;
}

.history-milestones span {
	color: var(--muted);
	font-size: 0.78rem;
}

.history-panel .neighborhood-history-panel {
	grid-column: 1 / -1;
}

.neighborhood-history-chart-wrap {
	min-height: 320px;
}

.neighborhood-history-line {
	stroke: var(--cohesion-teal);
	stroke-width: 3.5;
}

.neighborhood-history-point {
	fill: var(--cohesion-teal);
}

.history-baseline {
	stroke: var(--muted);
	stroke-dasharray: 5 5;
	stroke-width: 1.5;
}

.history-value {
	fill: var(--ink);
	font-family: var(--saga-font);
	font-size: 0.78rem;
	font-weight: 800;
}

.belonging-statements {
	display: grid;
	gap: 0.9rem;
	margin-top: 1.1rem;
}

.belonging-statements article {
	display: grid;
	gap: 0.4rem;
}

.belonging-statements article > div:first-child {
	align-items: end;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.belonging-statements span {
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.35;
}

.belonging-statements strong {
	color: var(--ink);
	font-size: 0.8rem;
	white-space: nowrap;
}

.response-bar {
	background: var(--surface-quiet);
	border-radius: 999px;
	display: flex;
	height: 0.72rem;
	overflow: hidden;
}

.response-bar i {
	display: block;
	height: 100%;
}

.response-disagree {
	background: color-mix(in srgb, var(--cohesion-coral) 78%, var(--surface-quiet));
}

.response-neutral {
	background: var(--cohesion-gold);
}

.response-agree {
	background: var(--cohesion-teal);
}

.response-missing {
	background: var(--line-strong);
}

.response-legend,
.integration-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.1rem;
	margin-top: 1rem;
}

.response-legend span,
.integration-legend span {
	align-items: center;
	color: var(--muted);
	display: inline-flex;
	font-size: 0.72rem;
	gap: 0.4rem;
}

.response-legend span::before,
.integration-legend span::before {
	background: var(--line-strong);
	border-radius: 999px;
	content: "";
	height: 0.5rem;
	width: 1.25rem;
}

.response-legend .is-disagree::before {
	background: var(--cohesion-coral);
}

.response-legend .is-neutral::before {
	background: var(--cohesion-gold);
}

.response-legend .is-agree::before {
	background: var(--cohesion-teal);
}

.belonging-summary-panel {
	background: linear-gradient(155deg, var(--cohesion-teal-soft), transparent 48%), var(--panel);
	height: fit-content;
}

.belonging-summary {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.belonging-summary article {
	background: color-mix(in srgb, var(--surface-quiet) 86%, transparent);
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	display: grid;
	gap: 0.2rem;
	padding: 0.9rem;
}

.belonging-summary span {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.belonging-summary strong {
	color: var(--cohesion-teal);
	font-size: 2rem;
}

.belonging-summary article.is-alert strong {
	color: var(--cohesion-coral);
}

.belonging-summary small {
	color: var(--muted);
	font-size: 0.72rem;
}

.belonging-profile-chart-wrap {
	min-height: 280px;
}

.belonging-profile-bar {
	fill: var(--cohesion-teal);
}

.exclusion-panel {
	height: fit-content;
}

.exclusion-profiles {
	display: grid;
	gap: 1rem;
	margin-top: 1.1rem;
}

.exclusion-profiles article > div:first-child {
	display: flex;
	font-size: 0.76rem;
	gap: 0.8rem;
	justify-content: space-between;
}

.exclusion-profiles span {
	color: var(--muted);
}

.exclusion-profiles strong {
	color: var(--ink);
}

.exclusion-bar {
	background: var(--surface-quiet);
	border-radius: 999px;
	height: 0.55rem;
	margin-top: 0.35rem;
	position: relative;
}

.exclusion-bar i {
	background: var(--cohesion-coral);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.exclusion-bar b {
	background: var(--ink);
	height: 0.85rem;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0.14rem;
}

.belonging-panel .bridging-panel,
.belonging-panel .national-connection-panel,
.belonging-panel .home-feeling-trend-panel,
.belonging-panel .identity-profiles-panel,
.belonging-panel .integration-history-panel {
	grid-column: 1 / -1;
}

.bridging-contact {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 1rem;
}

.bridging-contact article {
	background: var(--surface-quiet);
	border: 1px solid var(--line);
	border-radius: 0.8rem;
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
}

.bridging-contact article > div:first-child {
	display: grid;
	gap: 0.15rem;
}

.bridging-contact span,
.bridging-contact small,
.bridging-contact em {
	color: var(--muted);
	font-size: 0.72rem;
}

.bridging-contact strong {
	color: var(--cohesion-teal);
	font-size: 2rem;
}

.bridging-contact em {
	font-style: normal;
	font-weight: 700;
}

.bridging-gap {
	display: grid;
	gap: 0.3rem;
}

.bridging-gap span {
	display: flex;
	justify-content: space-between;
}

.bridging-gap b {
	color: var(--ink);
}

.bridging-gap i {
	background: linear-gradient(90deg, var(--cohesion-teal), var(--cohesion-coral));
	border-radius: 999px;
	height: 0.28rem;
}

.national-connection-profiles,
.identity-profiles {
	display: grid;
	gap: 1rem;
	margin-top: 1.15rem;
}

.national-connection-profiles article > div:first-child,
.identity-profiles article > div:first-child {
	display: flex;
	font-size: 0.78rem;
	gap: 0.75rem;
	justify-content: space-between;
}

.national-connection-profiles span,
.identity-profiles span {
	color: var(--muted);
}

.national-connection-profiles strong,
.identity-profiles strong {
	color: var(--ink);
	white-space: nowrap;
}

.national-connection-bar {
	background: var(--surface-quiet);
	border-radius: 999px;
	height: 0.62rem;
	margin-top: 0.35rem;
	position: relative;
}

.national-connection-bar i {
	background: var(--cohesion-teal);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.national-connection-bar b {
	background: var(--ink);
	height: 0.9rem;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0.14rem;
}

.home-feeling-trend-chart-wrap {
	min-height: 340px;
}

.home-feeling-line {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
}

.home-feeling-point {
	cursor: pointer;
	stroke: var(--panel);
	stroke-width: 2;
}

.home-feeling-value {
	fill: var(--ink);
	font-family: var(--saga-font);
	font-size: 0.72rem;
	font-weight: 800;
}

.home-feeling-legend,
.identity-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin-top: 0.8rem;
}

.home-feeling-legend span,
.identity-legend span {
	align-items: center;
	color: var(--muted);
	display: inline-flex;
	font-size: 0.72rem;
	gap: 0.4rem;
}

.home-feeling-legend span::before,
.identity-legend span::before {
	background: var(--line-strong);
	border-radius: 999px;
	content: "";
	height: 0.5rem;
	width: 1.25rem;
}

.home-feeling-legend .without-migration::before {
	background: var(--cohesion-teal);
}

.home-feeling-legend .with-migration::before {
	background: var(--cohesion-coral);
}

.identity-bar {
	background: var(--surface-quiet);
	border-radius: 999px;
	display: flex;
	height: 0.72rem;
	margin-top: 0.35rem;
	overflow: hidden;
}

.identity-bar i {
	display: block;
	height: 100%;
}

.identity-both,
.identity-legend .is-both::before {
	background: var(--cohesion-teal);
}

.identity-netherlandsOnly,
.identity-legend .is-netherlands::before {
	background: #3978a8;
}

.identity-originOnly,
.identity-legend .is-origin::before {
	background: var(--cohesion-gold);
}

.identity-neither,
.identity-legend .is-neither::before {
	background: var(--cohesion-coral);
}

.integration-history-chart-wrap {
	min-height: 330px;
}

.integration-link {
	stroke: var(--cohesion-teal);
	stroke-width: 4;
}

.integration-link.is-down {
	stroke: var(--cohesion-coral);
}

.integration-point {
	cursor: pointer;
	stroke: var(--panel);
	stroke-width: 2;
}

.integration-2006 {
	fill: var(--cohesion-gold);
}

.integration-2011 {
	fill: var(--cohesion-teal);
}

.integration-legend .year-2006::before {
	background: var(--cohesion-gold);
}

.integration-legend .year-2011::before {
	background: var(--cohesion-teal);
}

.integration-axis text {
	fill: var(--ink) !important;
	font-weight: 600;
}

.story-panel,
.trust-contrast,
.province-detail,
.profile-insight {
	background: linear-gradient(155deg, var(--cohesion-teal-soft), transparent 42%), var(--panel);
	height: fit-content;
	position: sticky;
	top: 4.8rem;
}

.story-stack,
.contrast-stack {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.story-stack article,
.contrast-stack article {
	background: color-mix(in srgb, var(--surface-quiet) 86%, transparent);
	border: 1px solid var(--line);
	border-radius: 0.7rem;
	display: grid;
	gap: 0.25rem;
	padding: 0.9rem;
}

.story-stack strong,
.contrast-stack strong {
	color: var(--ink);
	font-size: 1.45rem;
}

.story-stack small,
.contrast-stack small,
.method-note {
	color: var(--muted);
	font-size: 0.78rem;
}

.method-note {
	border-top: 1px solid var(--line);
	margin-top: 1rem;
	padding-top: 1rem;
}

.trust-chart-wrap {
	min-height: 560px;
}

.trust-bar {
	cursor: pointer;
	transition: opacity 140ms ease;
}

.trust-bar:hover {
	opacity: 0.78;
}

.trust-trend-panel {
	grid-column: 1 / -1;
}

.trust-trend-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 0.8rem;
}

.trust-trend-picker button {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--series-color) 65%, var(--line));
	border-radius: 999px;
	color: var(--ink);
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 700;
	padding: 0.45rem 0.72rem;
}

.trust-trend-picker button::before {
	background: var(--series-color);
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 0.55rem;
	margin-right: 0.42rem;
	width: 0.55rem;
}

.trust-trend-picker button.is-active {
	background: color-mix(in srgb, var(--series-color) 18%, var(--panel));
	box-shadow: inset 0 0 0 1px var(--series-color);
}

.trust-trend-chart-wrap {
	min-height: 430px;
}

.trust-trend-line {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

.trust-trend-point {
	cursor: pointer;
	stroke: var(--panel);
	stroke-width: 2;
}

.trust-value,
.profile-value {
	fill: var(--ink);
	font-family: var(--saga-font);
	font-size: 0.76rem;
	font-weight: 700;
}

.trust-axis text,
.profile-axis text {
	fill: var(--ink) !important;
	font-weight: 600;
}

.tile-map-wrap {
	align-items: center;
	display: flex;
	flex-direction: column;
	min-height: 520px;
	padding: 0.5rem 0 0;
}

.province-tile {
	cursor: pointer;
	filter: drop-shadow(0 5px 10px color-mix(in srgb, var(--bg) 42%, transparent));
	outline: none;
}

.province-tile rect {
	stroke: transparent;
	stroke-width: 3;
	transition:
		filter 140ms ease,
		stroke 140ms ease,
		transform 140ms ease;
}

.province-tile:hover rect,
.province-tile:focus rect {
	filter: brightness(1.08);
	stroke: var(--ink);
}

.province-tile.is-selected rect {
	stroke: var(--ink);
}

.tile-name,
.tile-score {
	fill: #101817;
	font-family: var(--saga-font);
	pointer-events: none;
}

.tile-name {
	font-size: 0.68rem;
	font-weight: 700;
}

.tile-score {
	font-size: 1.35rem;
	font-weight: 800;
}

.map-legend {
	align-items: center;
	color: var(--muted);
	display: flex;
	font-size: 0.72rem;
	gap: 0.6rem;
	margin-top: -0.2rem;
}

.map-legend i {
	background: linear-gradient(90deg, #d86855, #ddb55a, #4b9a83);
	border-radius: 999px;
	height: 0.55rem;
	width: 160px;
}

.province-score {
	align-items: baseline;
	display: grid;
	grid-template-columns: auto 1fr;
	margin: 1rem 0 1.5rem;
}

.province-score strong {
	color: var(--ink);
	font-size: 4rem;
	line-height: 1;
}

.province-score span {
	color: var(--muted);
	font-size: 0.9rem;
	margin-left: 0.4rem;
}

.province-score small {
	color: var(--muted);
	font-size: 0.75rem;
	grid-column: 1 / -1;
	line-height: 1.5;
	margin-top: 0.5rem;
}

.province-items {
	display: grid;
	gap: 0.85rem;
}

.province-items > div > div:first-child {
	display: flex;
	font-size: 0.76rem;
	gap: 0.75rem;
	justify-content: space-between;
}

.province-items span {
	color: var(--muted);
}

.province-items strong {
	color: var(--ink);
}

.profile-bar {
	background: var(--surface-quiet);
	border-radius: 999px;
	height: 0.46rem;
	margin-top: 0.3rem;
	position: relative;
}

.profile-bar i {
	background: var(--cohesion-teal);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.province-items .is-negative .profile-bar i {
	background: var(--cohesion-coral);
}

.profile-bar b {
	background: var(--ink);
	border-radius: 50%;
	height: 0.75rem;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0.2rem;
}

.profile-head {
	align-items: end;
}

.profile-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.profile-controls .project-control {
	min-width: 175px;
}

.profile-chart-wrap {
	min-height: 430px;
}

.interval {
	stroke: color-mix(in srgb, var(--ink) 48%, transparent);
	stroke-linecap: round;
	stroke-width: 5;
}

.profile-dot {
	cursor: pointer;
	stroke: var(--panel);
	stroke-width: 2;
}

.method-section {
	margin-top: 0.25rem;
}

.project-page--hoe-hecht-is-nederland .project-tooltip strong {
	display: block;
	margin-bottom: 0.35rem;
}

.project-page--hoe-hecht-is-nederland .project-tooltip span {
	display: block;
}

.error-panel {
	grid-column: 1 / -1;
}

@media (max-width: 1120px) {
	.cohesion-lede {
		grid-template-columns: 1fr;
	}

	.cohesion-snapshot {
		grid-template-columns: repeat(5, minmax(135px, 1fr));
		overflow-x: auto;
		padding-bottom: 0.4rem;
	}

	.cohesion-tabs {
		grid-template-columns: repeat(3, 1fr);
	}

	.cohesion-dashboard > .project-tab-panel {
		grid-template-columns: 1fr;
	}

	.story-panel,
	.trust-contrast,
	.province-detail,
	.profile-insight,
	.history-break {
		position: static;
	}

	.story-stack,
	.contrast-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bridging-contact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.project-page--hoe-hecht-is-nederland {
		gap: 1.25rem;
	}

	.cohesion-tabs {
		grid-template-columns: repeat(2, 1fr);
		position: static;
	}

	.cohesion-snapshot article {
		min-height: 145px;
		min-width: 142px;
	}

	.project-page--hoe-hecht-is-nederland .project-panel__head,
	.profile-head {
		align-items: stretch;
		flex-direction: column;
	}

	.profile-controls {
		display: grid;
		width: 100%;
	}

	.story-stack,
	.contrast-stack {
		grid-template-columns: 1fr;
	}

	.bridging-contact {
		grid-template-columns: 1fr;
	}

	.tile-map-wrap {
		overflow-x: auto;
	}

	#provinceMap {
		min-width: 390px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.project-page--hoe-hecht-is-nederland * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
