/*
 * En Masse theme stylesheet.
 *
 * Design language: editorial Swiss on paper, single green accent used as
 * a marker, hairlines over cards, Archivo Black display type.
 * Motion: transform/opacity only, strong ease-out curves, full
 * prefers-reduced-motion degradation.
 *
 * Sections:
 *   1. Fonts (self-hosted)
 *   2. Tokens and base
 *   3. Utilities (buttons, eyebrow, reveals, screen reader)
 *   4. Header, navigation, mobile menu
 *   5. Front page: hero
 *   6. Front page: doorsnede scroll story
 *   7. Front page: proof, werk, over, cta
 *   8. Blog: index, cards, single article, entry content
 *   9. Search, 404, pagination
 *  10. Forms
 *  11. Footer
 *  12. Reduced motion
 */

/* ==========================================================================
   1. Fonts
   ========================================================================== */
@font-face {
	font-family: 'Archivo';
	src: url('../fonts/archivo-variable-latin.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Archivo Black';
	src: url('../fonts/archivo-black-400-latin.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrains-mono-variable-latin.woff2') format('woff2');
	font-weight: 400 500;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   2. Tokens and base
   ========================================================================== */
:root {
	--paper: #F5F5F2;
	--paper-raise: #EDEEE9;
	--ink: #131613;
	--ink-2: #50564F;
	--ink-3: #646A63;
	--line: rgba(19, 22, 19, 0.14);
	--line-strong: rgba(19, 22, 19, 0.32);
	--accent: #36E0A0;
	--font-display: 'Archivo Black', 'Archivo', 'Arial Black', system-ui, sans-serif;
	--font-text: 'Archivo', 'Helvetica Neue', system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--nav-h: 72px;
	--spread: 82px;
	color-scheme: light;
}

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

::selection { background: var(--accent); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { width: min(1240px, 100% - 56px); margin-inline: auto; }
@media (max-width: 640px) {
	.container { width: calc(100% - 40px); }
}

.section { padding-block: 120px; }
.section--flush { padding-top: 0; }
@media (max-width: 768px) {
	.section { padding-block: 84px; }
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 24px; top: -60px; z-index: 200;
	background: var(--ink); color: var(--paper); font-weight: 600;
	padding: 10px 18px; border-radius: 999px; text-decoration: none;
	transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 14px; }

.eyebrow {
	font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before {
	content: ""; display: inline-block;
	width: 9px; height: 9px; background: var(--accent);
	margin-right: 10px;
}

.section-title {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -0.01em;
	max-width: 22ch;
}
.section-title--after-eyebrow { margin-top: 16px; }
.section-intro { margin-top: 18px; color: var(--ink-2); max-width: 56ch; }
.mono { font-family: var(--font-mono); }

.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px;
	font-family: var(--font-text); font-size: 1rem; font-weight: 600;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	border: 1px solid transparent; background: none;
	transition: transform 160ms var(--ease-out), background 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.btn-primary:hover { background: #000; }
	.btn-secondary:hover { border-color: var(--ink); }
	.btn:hover .arrow { transform: translateX(4px); }
}

.text-link {
	color: var(--ink); text-decoration: none; font-weight: 500;
	border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
	transition: color 160ms ease, border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.text-link:hover { border-color: var(--accent); border-bottom-width: 2px; }
}

.marker,
.marker-static {
	position: relative; display: inline-block;
	padding-inline: 0.06em; z-index: 0;
}
.marker::before,
.marker-static::before {
	content: ""; position: absolute;
	inset: 0.02em -0.04em -0.02em -0.04em;
	background: var(--accent); z-index: -1;
}
.marker::before { transform: scaleX(0); transform-origin: left; }
.js .marker::before { animation: marker-in 650ms var(--ease-in-out) 800ms forwards; }
@keyframes marker-in { to { transform: scaleX(1); } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
	font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-2);
	border: 1px solid var(--line-strong); border-radius: 999px;
	padding: 5px 12px; white-space: nowrap;
}

/* Scroll reveals: elements with [data-reveal] rise in when they enter
   the viewport; data-rvd staggers siblings. */
.js [data-reveal] {
	opacity: 0; transform: translateY(18px);
	transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-rvd="1"] { --reveal-delay: 80ms; }
[data-rvd="2"] { --reveal-delay: 160ms; }

/* ==========================================================================
   4. Header, navigation, mobile menu
   ========================================================================== */
.site-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	height: var(--nav-h); display: flex; align-items: center;
	border-bottom: 1px solid transparent;
	transition: background 300ms ease, border-color 300ms ease;
}
.site-nav.is-scrolled {
	background: rgba(245, 245, 242, 0.88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}
.site-nav .container {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
/* Logged-in users: keep the fixed nav below the WordPress admin bar. */
.admin-bar .site-nav { top: 32px; }
.admin-bar .mobile-menu { inset: calc(var(--nav-h) + 32px) 0 auto 0; }
@media (max-width: 782px) {
	.admin-bar .site-nav { top: 46px; }
	.admin-bar .mobile-menu { inset: calc(var(--nav-h) + 46px) 0 auto 0; }
}
.nav-logo,
.custom-logo-link { display: flex; align-items: center; }
.nav-logo img,
.custom-logo { height: 24px; width: auto; }

.nav-links {
	display: flex; align-items: center; gap: 34px; list-style: none;
}
.nav-links a {
	text-decoration: none; color: var(--ink-2);
	font-size: 0.95rem; font-weight: 500;
	transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.nav-links a:hover { color: var(--ink); }
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 11px 22px; font-size: 0.92rem; }

.nav-toggle {
	display: none;
	align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	background: none; cursor: pointer;
	transition: border-color 160ms ease;
}
.nav-toggle-box {
	display: grid; gap: 5px; width: 16px;
}
.nav-toggle-box span {
	display: block; height: 2px; background: var(--ink);
	transition: transform 200ms var(--ease-out), opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child {
	transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
	.nav-toggle:hover { border-color: var(--ink); }
}

.mobile-menu {
	position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
	background: var(--paper);
	border-bottom: 1px solid var(--line-strong);
	padding: 20px 28px 32px;
	box-shadow: 0 24px 48px -28px rgba(19, 22, 19, 0.3);
}
.js .mobile-menu {
	transform: translateY(-8px); opacity: 0;
	transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.js .mobile-menu.is-open { transform: translateY(0); opacity: 1; }
.mobile-links {
	list-style: none; display: grid;
	border-top: 1px solid var(--line);
}
.mobile-links a {
	display: block; padding: 15px 2px;
	border-bottom: 1px solid var(--line);
	text-decoration: none; color: var(--ink);
	font-size: 1.1rem; font-weight: 600;
}
.mobile-contact {
	margin-top: 22px; display: flex; flex-wrap: wrap;
	align-items: center; gap: 14px 24px;
}
@media (max-width: 900px) {
	.nav-desktop { display: none; }
	.nav-toggle { display: inline-flex; }
	.nav-cta { display: none; }
}

/* ==========================================================================
   5. Front page: hero
   ========================================================================== */
.hero { padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 96px)); padding-bottom: 24px; }
.hero .eyebrow { display: block; margin-bottom: 16px; }
.hero h1 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(2.4rem, 6.5vw, 6.2rem); line-height: 0.98; letter-spacing: -0.015em;
}
.js .line-wrap {
	display: block; overflow: hidden;
	padding-bottom: 0.06em; margin-bottom: -0.06em;
}
.js .line {
	display: inline-block; transform: translateY(115%);
	animation: line-in 900ms var(--ease-out) forwards;
}
.js .line-1 { animation-delay: 60ms; }
.js .line-2 { animation-delay: 180ms; }
@keyframes line-in { to { transform: translateY(0); } }

.hero-foot {
	margin-top: 40px;
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 32px 96px; align-items: end;
}
.hero-sub { font-size: 1.16rem; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 900px) {
	.hero-foot { grid-template-columns: 1fr; }
	.hero-actions { justify-content: flex-start; }
}
.js .hero-fade {
	opacity: 0; transform: translateY(20px);
	animation: fade-up 700ms var(--ease-out) 1000ms forwards;
}
.js .hero-fade--first { animation-delay: 0ms; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   6. Front page: doorsnede scroll story
   ========================================================================== */
.xsec-wrap { position: relative; height: 560vh; view-timeline: --xsec block; }
.xsec-view {
	position: sticky; top: 0; height: 100dvh;
	display: flex; align-items: center; overflow: hidden;
	background: var(--paper);
}
.xsec-grid {
	width: min(1240px, 100% - 56px); margin-inline: auto;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 56px; align-items: center;
}

/* Story panels (left column) */
.xsec-story .eyebrow { display: block; }
.progress-index {
	list-style: none;
	display: flex; flex-wrap: wrap; gap: 6px 22px;
	margin-top: 18px; padding-bottom: 16px;
	border-bottom: 1px solid var(--line-strong);
}
.progress-index li {
	font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--ink-3); position: relative;
	transition: color 300ms ease;
}
.progress-index li::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: -17px;
	height: 2px; background: var(--accent);
	transition: right 350ms var(--ease-in-out);
}
[data-active="interface"] .progress-index li[data-for="interface"],
[data-active="app"] .progress-index li[data-for="app"],
[data-active="data"] .progress-index li[data-for="data"],
[data-active="infra"] .progress-index li[data-for="infra"],
[data-active="agents"] .progress-index li[data-for="agents"] { color: var(--ink); }
[data-active="interface"] .progress-index li[data-for="interface"]::after,
[data-active="app"] .progress-index li[data-for="app"]::after,
[data-active="data"] .progress-index li[data-for="data"]::after,
[data-active="infra"] .progress-index li[data-for="infra"]::after,
[data-active="agents"] .progress-index li[data-for="agents"]::after { right: 0; }

.story-panels { display: grid; margin-top: 34px; min-height: 300px; align-items: start; }
.story-panel {
	grid-area: 1 / 1;
	opacity: 0; transform: translateY(26px);
	transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
	pointer-events: none;
}
.layer-chip {
	display: inline-block;
	font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
	letter-spacing: 0.12em; text-transform: uppercase;
	background: var(--accent); color: var(--ink);
	padding: 5px 12px; border-radius: 999px;
	margin-bottom: 16px;
}
.story-panel h2 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.04; max-width: 16ch;
}
.story-panel p { margin-top: 16px; color: var(--ink-2); font-size: 1.02rem; max-width: 46ch; }
.story-panel .tags { margin-top: 22px; }
[data-active="interface"] .pan-interface,
[data-active="app"] .pan-app,
[data-active="data"] .pan-data,
[data-active="infra"] .pan-infra,
[data-active="agents"] .pan-agents {
	opacity: 1; transform: translateY(0); pointer-events: auto;
}

/* Isometric stack (right column) */
.iso-scene { perspective: 1400px; display: grid; place-items: center; min-height: 480px; }
.iso-stack {
	position: relative; width: min(340px, 60vw); aspect-ratio: 1;
	transform-style: preserve-3d;
	transform: rotateX(56deg) rotateZ(-42deg);
}
.iso-layer {
	position: absolute; inset: 0;
	border: 2px solid var(--ink); border-radius: 10px;
	background: var(--paper);
	transition: border-color 350ms ease, background 350ms ease, box-shadow 350ms ease;
	box-shadow: -18px 18px 0 -6px rgba(19, 22, 19, 0.05);
}
/* DOM order is top layer first; --i drives the stacking height. */
.iso-layer:nth-child(1) { --i: 4; }
.iso-layer:nth-child(2) { --i: 3; }
.iso-layer:nth-child(3) { --i: 2; }
.iso-layer:nth-child(4) { --i: 1; }
.iso-layer:nth-child(5) { --i: 0; }
.iso-layer { transform: translateZ(calc(var(--i) * 14px)); }

.iso-layer .face-label {
	position: absolute; left: 14px; top: 12px;
	font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
	transition: color 350ms ease;
}
.iso-layer .hint { position: absolute; inset: 42px 14px 14px; display: grid; gap: 8px; }
.iso-layer .hint i { display: block; border: 1.5px solid rgba(19, 22, 19, 0.32); border-radius: 5px; }
.l-interface .hint { grid-template-rows: 18px 1fr; }
.l-app .hint { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.l-data .hint { grid-template-rows: repeat(4, 1fr); }
.l-infra .hint { grid-template-columns: repeat(3, 1fr); }
.l-agents .hint { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; }
.l-agents .hint i {
	border-radius: 50%;
	aspect-ratio: 1;
	width: min(72%, 44px);
	place-self: center;
}

[data-active="interface"] .l-interface,
[data-active="app"] .l-app,
[data-active="data"] .l-data,
[data-active="infra"] .l-infra,
[data-active="agents"] .l-agents {
	border-color: var(--accent);
	background: #E9F8F1;
	box-shadow: -18px 18px 0 -6px rgba(54, 224, 160, 0.35);
}
[data-active="interface"] .l-interface .face-label,
[data-active="app"] .l-app .face-label,
[data-active="data"] .l-data .face-label,
[data-active="infra"] .l-infra .face-label,
[data-active="agents"] .l-agents .face-label { color: var(--ink); }

/* Scrub: layers travel to their exploded offset while the wrapper scrolls. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.js .iso-layer {
			animation: explode linear both;
			animation-timeline: --xsec;
			animation-range: contain 4% contain 62%;
		}
		@keyframes explode {
			from { transform: translateZ(calc(var(--i) * 14px)); }
			to   { transform: translateZ(calc(var(--i) * var(--spread))); }
		}
	}
}
/* Fallback and reduced motion: step-driven spread via transition. */
.no-scrub .iso-layer {
	transition: transform 700ms var(--ease-in-out), border-color 350ms ease, background 350ms ease, box-shadow 350ms ease;
}
.no-scrub .xsec-wrap.is-spread .iso-layer {
	transform: translateZ(calc(var(--i) * var(--spread)));
}

/* Invisible sentinel zones inside the tall wrapper; each zone owns a
   slice of the ride so exactly one layer is active at any position. */
.steps-rail { position: absolute; inset: 0; pointer-events: none; }
.step-sentinel { position: absolute; left: 0; width: 1px; }
.step-sentinel.zone-1 { top: 0; height: 20%; }
.step-sentinel.zone-2 { top: 20%; height: 17%; }
.step-sentinel.zone-3 { top: 37%; height: 17%; }
.step-sentinel.zone-4 { top: 54%; height: 16%; }
.step-sentinel.zone-5 { top: 70%; height: 30%; }

/* Without JavaScript the ride collapses to readable stacked content:
   no tall wrapper, no sticky, every story panel visible. */
html:not(.js) .xsec-wrap { height: auto; }
html:not(.js) .xsec-view { position: static; height: auto; overflow: visible; padding-block: 64px; }
html:not(.js) .xsec-grid { align-items: start; }
html:not(.js) .story-panels { display: block; min-height: 0; }
html:not(.js) .story-panel {
	position: static; opacity: 1; transform: none; pointer-events: auto;
}
html:not(.js) .story-panel + .story-panel { margin-top: 40px; }
html:not(.js) .progress-index { display: none; }
html:not(.js) .steps-rail { display: none; }
html:not(.js) .iso-layer { transform: translateZ(calc(var(--i) * var(--spread))); }

@media (max-width: 980px) {
	:root { --spread: 44px; }
	.xsec-wrap { height: 520vh; }
	.xsec-grid { grid-template-columns: 1fr; gap: 12px; align-content: center; }
	.iso-scene { min-height: 0; margin-top: 96px; }
	.iso-stack { width: min(190px, 48vw); }
	.iso-layer { transform: translateZ(calc(var(--i) * 9px)); }
	.story-panels { min-height: 210px; margin-top: 22px; }
	.story-panel h2 { font-size: 1.35rem; }
	.story-panel p { font-size: 0.92rem; }
	.progress-index { gap: 6px 14px; margin-top: 12px; }
}

/* ==========================================================================
   7. Front page: proof, werk, over, cta
   ========================================================================== */
.proof { border-top: 1px solid var(--line); background: var(--paper-raise); }
.proof-grid {
	margin-top: 56px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 72px; align-items: start;
}
.pipeline-list { border-top: 1px solid var(--ink); }
.pipeline-row {
	display: grid; grid-template-columns: 140px 1fr; gap: 20px;
	padding-block: 18px; border-bottom: 1px solid var(--line-strong);
	align-items: baseline;
}
.pipeline-row .step-label {
	font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.pipeline-row p { color: var(--ink-2); font-size: 0.95rem; }
.confidence h3 {
	font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 16px;
}
.confidence-row {
	display: grid; grid-template-columns: 140px 1fr; gap: 20px;
	padding-block: 14px; border-top: 1px solid var(--line);
	align-items: baseline;
}
.confidence-row .mono { font-size: 0.92rem; font-weight: 500; }
.confidence-row p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 900px) {
	.proof-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
	.pipeline-row,
	.confidence-row { grid-template-columns: 1fr; gap: 4px; }
}

.work-grid {
	margin-top: 56px;
	display: grid; grid-template-columns: repeat(12, 1fr);
	gap: 48px 40px;
}
.case { border-top: 1px solid var(--ink); padding-top: 24px; }
.case-a { grid-column: span 7; }
.case-b { grid-column: span 5; }
.case-c { grid-column: 3 / span 7; }
.case h3 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.05; max-width: 18ch;
}
.case p { margin-top: 14px; color: var(--ink-2); max-width: 52ch; font-size: 0.98rem; }
@media (max-width: 900px) {
	.work-grid { grid-template-columns: 1fr; gap: 40px; }
	.case { grid-column: 1 / -1 !important; }
}

.about { background: var(--paper-raise); border-block: 1px solid var(--line); }
.about-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 80px; align-items: center;
}
.about-photo { border-radius: 4px; overflow: hidden; }
.photo-caption { margin-top: 12px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); }
.about-points { margin-top: 40px; border-top: 1px solid var(--ink); }
.about-point {
	padding-block: 20px; border-bottom: 1px solid var(--line-strong);
	display: grid; grid-template-columns: 190px 1fr; gap: 18px;
}
.about-point strong { font-weight: 600; }
.about-point p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 1000px) {
	.about-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
	.about-point { grid-template-columns: 1fr; gap: 4px; }
}

.cta-final h2 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(2.4rem, 6.6vw, 5.8rem); line-height: 0.95; letter-spacing: -0.015em;
	max-width: 12ch;
}
.cta-actions {
	margin-top: 44px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px;
}

/* ==========================================================================
   8. Blog: index, cards, single article, entry content
   ========================================================================== */
.page-head { padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 80px)); padding-bottom: 56px; }
.page-head .eyebrow { display: block; }

.post-meta {
	font-family: var(--font-mono); font-size: 0.75rem;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.post-meta a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.post-meta a:hover { color: var(--ink); }
.meta-sep { padding-inline: 4px; }

.post-grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 56px 40px;
}
.post-card { border-top: 1px solid var(--ink); padding-top: 22px; }
/* The newest post spans the full row as an editorial lead story. */
.post-card--featured { grid-column: 1 / -1; }
.post-card--featured .post-card-inner {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 20px 56px; align-items: start;
}
/* Lead story without an image: single wide column, no empty media cell. */
.post-card--featured .post-card-inner:not(:has(.post-card-media)) {
	grid-template-columns: 1fr;
}
.post-card--featured .post-card-inner:not(:has(.post-card-media)) .post-card-body { max-width: 62ch; }
.post-card--featured .post-card-media { margin-bottom: 0; }
.post-card--featured .post-card-media img { aspect-ratio: 16 / 9; }
.post-card--featured .post-card-title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
@media (max-width: 820px) {
	.post-card--featured .post-card-inner { grid-template-columns: 1fr; gap: 20px; }
}
.post-card-media {
	display: block; overflow: hidden; border-radius: 4px; margin-bottom: 20px;
}
.post-card-media img {
	width: 100%; aspect-ratio: 8 / 5; object-fit: cover;
	transition: transform 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.post-card:hover .post-card-media img { transform: scale(1.03); }
}
.post-card-title {
	margin-top: 10px;
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.08;
}
.post-card-title a { text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	.post-card-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
}
.post-card-excerpt { margin-top: 12px; color: var(--ink-2); font-size: 0.97rem; }
.post-card-excerpt p { margin: 0; }
.post-card-more { display: inline-block; margin-top: 16px; font-size: 0.95rem; }
@media (max-width: 820px) {
	.post-grid { grid-template-columns: 1fr; gap: 48px; }
}

.article-head { padding-bottom: 36px; }
.article-title {
	margin-top: 14px;
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.01em;
	max-width: 24ch;
}
.article-hero-image { margin-bottom: 48px; }
.article-hero-image img {
	border-radius: 4px; width: 100%;
	aspect-ratio: 21 / 9; object-fit: cover;
}
@media (max-width: 768px) {
	.article-hero-image img { aspect-ratio: 4 / 3; }
}

/* "In het kort": the answer-first summary above the article body */
.key-takeaway {
	max-width: 68ch;
	margin-bottom: 40px;
	padding: 22px 0 22px 26px;
	border-left: 3px solid var(--accent);
}
.key-takeaway-label {
	font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.key-takeaway-text {
	margin-top: 8px;
	font-size: 1.18rem; line-height: 1.55; font-weight: 500; color: var(--ink);
}

/* Editor content typography.
   Content shares the wide left axis of the page; the reading measure is a
   max-width on each child, so wide/full blocks can break out to the right. */
.entry-content { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
.entry-content > * { max-width: 68ch; }
.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-image.alignwide,
.entry-content > .wp-block-image.alignfull { max-width: none; }
.entry-content > * + * { margin-top: 1.35em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	line-height: 1.1; margin-top: 2em;
}
.entry-content h2 { font-size: 1.55rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.05rem; }
.entry-content a {
	color: var(--ink); font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: color 160ms ease;
}
.entry-content a:hover { text-decoration-thickness: 3px; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content blockquote {
	border-left: 3px solid var(--accent);
	padding-left: 22px; color: var(--ink-2);
	font-size: 1.15rem;
}
.entry-content blockquote cite { font-size: 0.9rem; font-style: normal; color: var(--ink-3); }
.entry-content code {
	font-family: var(--font-mono); font-size: 0.88em;
	background: var(--paper-raise);
	border: 1px solid var(--line);
	border-radius: 4px; padding: 0.1em 0.4em;
}
.entry-content pre {
	background: var(--ink); color: var(--paper);
	border-radius: 6px; padding: 22px 26px;
	overflow-x: auto;
	font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.7;
}
.entry-content pre code { background: none; border: none; padding: 0; color: inherit; }
.entry-content img { border-radius: 4px; }
.entry-content figcaption {
	margin-top: 10px;
	font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3);
}
.entry-content hr {
	border: none; border-top: 1px solid var(--line-strong);
	margin-block: 2.5em;
}
.entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.entry-content th,
.entry-content td {
	text-align: left; padding: 10px 14px;
	border-bottom: 1px solid var(--line-strong);
}
.entry-content th {
	font-family: var(--font-mono); font-size: 0.72rem;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}


.article-foot { margin-top: 64px; border-top: 1px solid var(--line-strong); padding-top: 28px; }
.post-navigation .nav-links {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
	max-width: 68ch;
}
.post-navigation a {
	text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3;
}
.post-navigation .nav-label {
	display: block;
	font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 6px;
}
.post-navigation .nav-next { text-align: right; }
@media (hover: hover) and (pointer: fine) {
	.post-navigation a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
}

.author-box {
	margin-top: 56px;
	border-top: 1px solid var(--ink);
	padding-top: 24px;
	max-width: 68ch;
}
.author-box-label {
	font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.author-box-name {
	margin-top: 8px;
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: 1.2rem; line-height: 1.1;
}
.author-box-name a { text-decoration: none; }
.author-box-bio { margin-top: 10px; color: var(--ink-2); font-size: 0.97rem; }
.author-box .text-link { display: inline-block; margin-top: 14px; font-size: 0.95rem; }
.author-links { margin-top: 18px; }
.author-posts-title {
	font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 28px;
}

.article-cta { padding-top: 0; }
.article-cta-box {
	border-top: 1px solid var(--ink);
	padding-top: 32px;
	display: flex; flex-wrap: wrap; align-items: center;
	justify-content: space-between; gap: 24px;
}
.article-cta-box h2 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.1; max-width: 24ch;
}

/* ==========================================================================
   8b. About and contact page templates
   ========================================================================== */
.photo-stack { position: relative; padding-bottom: 88px; max-width: 980px; }
.photo-stack .photo-main { overflow: hidden; border-radius: 4px; }
.photo-stack .photo-main img { width: 100%; height: auto; }
.photo-stack .photo-offset {
	position: absolute; right: -24px; bottom: 0; width: 44%;
	overflow: hidden; border-radius: 4px;
	border: 6px solid var(--paper);
	box-shadow: 0 28px 60px -30px rgba(19, 22, 19, 0.4);
}
.photo-stack .photo-offset img { width: 100%; height: auto; }
@media (max-width: 900px) {
	.photo-stack { padding-bottom: 64px; }
	.photo-stack .photo-offset { right: 0; }
}

.about-story .story-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 40px 96px; align-items: start;
}
.about-story .story-body p { color: var(--ink-2); max-width: 58ch; }
.about-story .story-body p + p { margin-top: 1.2em; }
@media (max-width: 900px) {
	.about-story .story-grid { grid-template-columns: 1fr; }
}

.about-facts {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ink);
	margin-bottom: 48px;
}
.fact-cell { padding: 28px 28px 8px 0; }
.fact-cell + .fact-cell { border-left: 1px solid var(--line-strong); padding-left: 28px; }
.fact-value {
	display: inline-block;
	font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem);
	line-height: 1.1; color: var(--ink);
	background: var(--accent);
	padding: 0.02em 0.14em;
}
.fact-label { display: block; margin-top: 10px; color: var(--ink-3); font-size: 0.92rem; }
@media (max-width: 700px) {
	.about-facts { grid-template-columns: 1fr; }
	.fact-cell { padding: 20px 0 6px; }
	.fact-cell + .fact-cell { border-left: none; border-top: 1px solid var(--line-strong); padding-left: 0; }
}

.contact-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 64px 96px; align-items: start;
}
.contact-details { border-top: 1px solid var(--ink); }
.contact-row {
	display: grid; grid-template-columns: 140px 1fr; gap: 20px;
	padding-block: 24px; border-bottom: 1px solid var(--line-strong);
	align-items: baseline;
}
.contact-label {
	font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.contact-value {
	font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600;
	color: var(--ink); text-decoration: none; font-style: normal; line-height: 1.4;
}
a.contact-value { transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	a.contact-value:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
}
.contact-value--small { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.contact-aside { display: grid; gap: 28px; }
.contact-photo { border-radius: 4px; overflow: hidden; }
.contact-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-cta-box {
	border-top: 1px solid var(--ink);
	padding-top: 24px;
}
.contact-cta-box h2 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.1;
}
.contact-cta-box p { margin-block: 12px 20px; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.contact-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   8c. Subpage hero
   Every page opens like the front page: mono eyebrow, display title at
   hero scale with the marker accent, and a two column foot with the
   intro left and an action right. Entrance reuses the hero line/fade.
   ========================================================================== */
.page-hero { padding-top: calc(var(--nav-h) + clamp(44px, 8vh, 88px)); padding-bottom: 72px; }
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
.page-hero-title {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: 0.98; letter-spacing: -0.015em;
	max-width: 18ch;
}
.page-hero-foot {
	margin-top: 34px;
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 28px 96px; align-items: end;
}
.page-hero-intro { font-size: 1.12rem; color: var(--ink-2); max-width: 50ch; }
.page-hero-aside {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 14px 28px; justify-content: flex-end;
}
@media (max-width: 900px) {
	.page-hero { padding-bottom: 56px; }
	.page-hero-foot { grid-template-columns: 1fr; gap: 24px; }
	.page-hero-aside { justify-content: flex-start; }
}

/* ==========================================================================
   8d. Diensten: editorial service index and the included band
   ========================================================================== */
.services-list { border-top: 1px solid var(--ink); }
.service-row {
	display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 20px 56px; padding-block: 48px;
	border-bottom: 1px solid var(--line-strong);
}
.service-index {
	font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
	letter-spacing: 0.1em; color: var(--ink-3); padding-top: 10px;
}
.service-title {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.02; max-width: 14ch;
}
.service-title a { text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	.service-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
}
.service-copy p { color: var(--ink-2); max-width: 50ch; }
.service-copy .tags { margin-top: 20px; }
.service-more { display: inline-block; margin-top: 20px; font-size: 0.95rem; }
@media (max-width: 900px) {
	.service-row { grid-template-columns: 1fr; gap: 14px; padding-block: 40px; }
	.service-index { padding-top: 0; }
}

.included-band { background: var(--paper-raise); border-block: 1px solid var(--line); }
.included-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 32px 96px; align-items: start;
}
.included-band h2 {
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; max-width: 16ch;
}
.included-band .included-body p { color: var(--ink-2); max-width: 54ch; }
.included-band .included-body .tags { margin-top: 22px; }
@media (max-width: 900px) {
	.included-grid { grid-template-columns: 1fr; }
}

/* Dienst detail: related reading strip */
.related-title {
	font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 28px;
}
.post-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
@media (max-width: 900px) {
	.post-grid--three { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8e. FAQ accordion
   Native details/summary: accessible and functional without JavaScript,
   answers stay in the DOM for search engines and AI crawlers.
   ========================================================================== */
.faq-list { border-top: 1px solid var(--ink); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-question {
	display: grid; grid-template-columns: minmax(0, 1fr) 28px;
	gap: 24px; align-items: baseline;
	padding-block: 24px; cursor: pointer;
	font-weight: 600; font-size: 1.1rem; line-height: 1.4;
	list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-mark {
	font-family: var(--font-mono); font-size: 1.2rem; font-weight: 400;
	color: var(--ink); text-align: center; line-height: 1;
	transition: transform 250ms var(--ease-out);
}
.faq-item[open] .faq-mark { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
	.faq-question:hover { color: var(--ink-2); }
}
.faq-answer { padding: 2px 52px 28px 0; color: var(--ink-2); max-width: 62ch; }
.faq-answer > * + * { margin-top: 0.9em; }
.faq-answer a {
	color: var(--ink); font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.faq-answer ul,
.faq-answer ol { padding-left: 1.3em; }

/* ==========================================================================
   9. Search, 404, pagination
   ========================================================================== */
.search-form {
	display: flex; gap: 10px; max-width: 480px; margin-top: 24px;
}
.search-form .search-field {
	flex: 1;
	font-family: var(--font-text); font-size: 1rem; color: var(--ink);
	background: #fff;
	border: 1px solid var(--line-strong); border-radius: 999px;
	padding: 12px 20px;
}
.search-form .search-field:focus {
	outline: 2px solid var(--ink); outline-offset: 2px;
}
.search-form .search-submit {
	font-family: var(--font-text); font-size: 0.95rem; font-weight: 600;
	background: var(--ink); color: var(--paper);
	border: none; border-radius: 999px; padding: 12px 24px; cursor: pointer;
}

.error-404 .error-code {
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 12rem); line-height: 1;
	color: var(--accent); margin-block: 8px 4px;
}
.error-actions { margin-top: 28px; }
.error-search { margin-top: 12px; }

.pagination { margin-top: 64px; }
.pagination .nav-links {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.pagination .page-numbers {
	font-family: var(--font-mono); font-size: 0.85rem;
	text-decoration: none; color: var(--ink-2);
	border: 1px solid var(--line-strong); border-radius: 999px;
	padding: 8px 16px;
	transition: border-color 160ms ease, color 160ms ease;
}
.pagination .page-numbers.current {
	background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.pagination .page-numbers.dots { border: none; }
@media (hover: hover) and (pointer: fine) {
	.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
}

/* ==========================================================================
   10. Forms
   ========================================================================== */
/*
 * Contact Form 7, rendered from the page editor and therefore always
 * inside .entry-content. Scoping to that wrapper is not decoration: the
 * plugin ships its own stylesheet and a bare .wpcf7 selector would tie
 * these rules to plugin-vs-theme load order for the elements both style.
 *
 * The plugin's stylesheet stays enqueued on purpose - it hides the
 * screen-reader response and the honeypot fields, and drives the spinner.
 * Only the visible chrome is restyled here: hairline fields on paper and
 * the same ink pill as the rest of the site.
 */
.entry-content .wpcf7 { max-width: 44rem; }
.entry-content .wpcf7 form > * + * { margin-top: 22px; }

.entry-content .form-row { display: grid; gap: 22px; }
@media (min-width: 700px) {
	.entry-content .form-row--split { grid-template-columns: 1fr 1fr; }
}

.entry-content .form-field { display: grid; gap: 8px; margin: 0; }
.entry-content .form-field .wpcf7-form-control-wrap { display: block; }

.entry-content .form-label {
	font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}

.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 input[type="tel"],
.entry-content .wpcf7 textarea {
	width: 100%;
	padding: 13px 15px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: 0;
	color: var(--ink);
	font-family: var(--font-text); font-size: 1rem; line-height: 1.5;
	transition: border-color 160ms ease;
	-webkit-appearance: none; appearance: none;
}
.entry-content .wpcf7 textarea { min-height: 150px; resize: vertical; display: block; }

.entry-content .wpcf7 input[type="text"]:focus-visible,
.entry-content .wpcf7 input[type="email"]:focus-visible,
.entry-content .wpcf7 input[type="tel"]:focus-visible,
.entry-content .wpcf7 textarea:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
	border-color: var(--ink);
}

.entry-content .wpcf7 input::placeholder,
.entry-content .wpcf7 textarea::placeholder { color: var(--ink-3); opacity: 1; }

@media (hover: hover) and (pointer: fine) {
	.entry-content .wpcf7 input[type="text"]:hover,
	.entry-content .wpcf7 input[type="email"]:hover,
	.entry-content .wpcf7 input[type="tel"]:hover,
	.entry-content .wpcf7 textarea:hover { border-color: var(--ink); }
}

.entry-content .form-note { font-size: 0.9rem; color: var(--ink-3); max-width: 52ch; }

.entry-content .wpcf7 input[type="submit"] {
	display: inline-flex; align-items: center;
	padding: 15px 28px; border-radius: 999px;
	border: 1px solid transparent;
	background: var(--ink); color: var(--paper);
	font-family: var(--font-text); font-size: 1rem; font-weight: 600;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), background 160ms ease;
	-webkit-appearance: none; appearance: none;
}
.entry-content .wpcf7 input[type="submit"]:active { transform: scale(0.97); }
.entry-content .wpcf7 input[type="submit"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.entry-content .wpcf7 input[type="submit"]:hover { background: #000; }
}

/* Status messages: the marker green for success, a hairline box otherwise. */
.entry-content .wpcf7 form .wpcf7-response-output {
	margin: 22px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--ink);
	border-radius: 0;
	font-size: 0.95rem;
}
.entry-content .wpcf7 form.sent .wpcf7-response-output {
	background: var(--accent);
	font-weight: 600;
}
.entry-content .wpcf7 form.failed .wpcf7-response-output,
.entry-content .wpcf7 form.aborted .wpcf7-response-output,
.entry-content .wpcf7 form.spam .wpcf7-response-output { background: var(--paper-raise); }

.entry-content .wpcf7 .wpcf7-not-valid-tip {
	display: block; margin-top: 7px;
	color: var(--ink); font-size: 0.85rem; font-weight: 600;
}
.entry-content .wpcf7 .wpcf7-not-valid { border-color: var(--ink); background: var(--paper-raise); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-grid .brand img { height: 22px; width: auto; }
.footer-grid .brand p { margin-top: 16px; color: var(--ink-3); font-size: 0.95rem; max-width: 32ch; }
.footer-col h4 {
	font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
	margin-bottom: 16px;
}
.footer-links,
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	.footer-col a:hover { color: var(--ink); }
}
.footer-col address { font-style: normal; color: var(--ink-2); font-size: 0.95rem; line-height: 1.8; }
.footer-bottom {
	margin-top: 48px; padding-top: 20px;
	border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
	color: var(--ink-3); font-size: 0.85rem;
}
@media (max-width: 820px) {
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   12. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .line { transform: none; animation: none; }
	.js .marker::before { animation: none; transform: scaleX(1); }
	.js .hero-fade { animation: none; opacity: 1; transform: none; }
	.js [data-reveal] { transition: opacity 250ms ease; transform: none; }
	.js .mobile-menu { transition: opacity 200ms ease; transform: none; }
	.no-scrub .iso-layer { transition: border-color 250ms ease, background 250ms ease; }
	.post-card-media img { transition: none; }
	.btn { transition: none; }
	.faq-mark { transition: none; }
}
