/* ═══════════════ ZILTE ZUSJES — laag 2: typografie ═══════════════
   global.css levert de conceptschalen. Deze laag doet alleen wat daar
   ontbreekt: lopende tekst uit de editor (.zz-prose) en het herstellen
   van de kopkleur op omgekeerde vlakken.

   § 54: een regel die het element zélf raakt wint altijd van geërfde
   color. h1{color:var(--ink)} verslaat dus .hero__content{color:#fff}.
   Daarom hieronder per omgekeerd vlak de koppen opnieuw declareren.
   ══════════════════════════════════════════════════════════════════ */

html { -webkit-text-size-adjust: 100%; }

body {
	font-family: var(--font, "Lato", system-ui, sans-serif);
	font-weight: 300;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* ── Omgekeerde vlakken: koppen mee-inverteren ── */
.section--dark,
.section--clay,
.section--ink,
.hero--photo,
.banner--dark,
.footer {
	color: #fff;
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--clay h1, .section--clay h2, .section--clay h3, .section--clay h4,
.section--ink  h1, .section--ink  h2, .section--ink  h3, .section--ink  h4,
.hero--photo   h1, .hero--photo   h2, .hero--photo   h3,
.banner--dark  h1, .banner--dark  h2, .banner--dark  h3,
.footer h1, .footer h2, .footer h3, .footer h4 {
	color: inherit;
}

/* ── Lopende tekst uit de WYSIWYG ── */
.zz-prose {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--ink);
}

.zz-prose--narrow { max-width: 68ch; margin-inline: auto; }

.zz-prose > * + * { margin-top: 1.1em; }

.zz-prose h2 {
	margin-top: 1.9em;
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	font-weight: 300;
	letter-spacing: -.01em;
	color: var(--ink);
}

.zz-prose h3 {
	margin-top: 1.6em;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	font-weight: 700;
	color: var(--ink);
}

.zz-prose p { color: var(--muted); }

.zz-prose a {
	color: var(--clay-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.zz-prose a:hover { color: var(--ink); }

.zz-prose ul,
.zz-prose ol { padding-left: 1.3em; color: var(--muted); }

.zz-prose li + li { margin-top: .4em; }

.zz-prose blockquote {
	margin-inline: 0;
	padding: 18px 22px;
	border-left: 3px solid var(--clay-soft);
	background: var(--cream);
	border-radius: 0 var(--radius-card, 14px) var(--radius-card, 14px) 0;
	font-style: italic;
}

.zz-prose img { max-width: 100%; height: auto; border-radius: var(--radius-card, 14px); }

.zz-prose table { width: 100%; border-collapse: collapse; }
.zz-prose th,
.zz-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* ── Hulpklassen ── */
.zz-visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Zichtbaar zodra hij focus krijgt: skip-link. */
.zz-skip:focus {
	position: fixed;
	inset: 12px auto auto 12px;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	z-index: 900;
	padding: 10px 18px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-btn, 999px);
}
