/*
Theme Name: Koomen.IT
Theme URI: https://koomen.it
Author: Jeroen Koomen
Description: Portfolio-thema in de huisstijl van koomen.it: helder blauw, donker leisteen en het netwerkmotief uit het logo. Met een eigen berichttype voor projecten, filters per platform (ESP32, Arduino, Raspberry Pi), projectgegevens zoals GitHub-link, status en hardware, en een volledig aanpasbare homepage via de Customizer.
Version: 2.4.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koomenit
Tags: blue, portfolio, one-column, two-columns, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, translation-ready, wide-blocks
*/

/* ---------- Basis ---------- */
:root {
	/* koomen.it: blauwe K, lichtblauwe stip, leisteengrijze knooppunten. */
	--bl-primary: #1d63ed;
	--bl-secondary: #3b82f6;
	--bl-node: #94a3b8;
	--bl-node-light: #e2e8f0;
	--bl-dark: #1e2430;
	--bl-ink: #0f172a;
	--bl-light: #f1f5f9;
	--bl-text: #334155;
	--bl-muted: #64748b;
	--bl-border: #e2e8f0;
	--bl-white: #ffffff;
	--bl-ok: #15803d;
	--bl-warn: #b45309;
	--bl-radius: 12px;
	--bl-overlay: 0.85;
	--bl-font-head: "Inter", system-ui, sans-serif;
	--bl-font-body: "Inter", system-ui, sans-serif;
	--bl-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--bl-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.18);
	--bl-shadow-lg: 0 24px 48px -20px rgba(15, 23, 42, 0.35);
	--bl-container: 1200px;
	--bl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
	margin: 0;
	background: var(--bl-white);
	color: var(--bl-text);
	font-family: var(--bl-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	color: var(--bl-ink);
	font-family: var(--bl-font-head);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

p { margin: 0 0 1.2em; }
a { color: var(--bl-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--bl-secondary); }
img { max-width: 100%; height: auto; display: block; }
code, kbd, pre { font-family: var(--bl-font-mono); font-size: 0.9em; }
::selection { background: var(--bl-secondary); color: var(--bl-white); }

.container { width: 100%; max-width: var(--bl-container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: var(--bl-white); border-radius: 8px;
}
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--bl-secondary); outline-offset: 2px; }

.bl-icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Knoppen, labels, chips ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 0.5em;
	padding: 0.85em 1.4em; border: 2px solid transparent; border-radius: var(--bl-radius);
	font-family: var(--bl-font-head); font-weight: 700; font-size: 1rem; line-height: 1;
	cursor: pointer; transition: transform 0.25s var(--bl-ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn .bl-icon { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--bl-ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .bl-icon:last-child { transform: translateX(3px); }
.btn--sm { padding: 0.65em 1.1em; font-size: 0.95rem; }
.btn--primary { background: var(--bl-primary); color: var(--bl-white); }
.btn--primary:hover { background: var(--bl-secondary); color: var(--bl-white); box-shadow: 0 12px 24px -12px var(--bl-primary); }
.btn--white { background: var(--bl-white); color: var(--bl-primary); }
.btn--white:hover { color: var(--bl-ink); box-shadow: var(--bl-shadow-lg); }
.btn--ghost { border-color: rgba(148, 163, 184, 0.45); color: var(--bl-white); }
.btn--ghost:hover { border-color: var(--bl-white); background: rgba(255, 255, 255, 0.06); color: var(--bl-white); }
.btn--outline { border-color: var(--bl-border); background: var(--bl-white); color: var(--bl-ink); }
.btn--outline:hover { border-color: var(--bl-primary); color: var(--bl-primary); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 0.6em; margin-bottom: 0.9rem;
	color: var(--bl-primary); font-family: var(--bl-font-mono); font-size: 0.8rem; font-weight: 600;
	letter-spacing: 0.04em; text-transform: lowercase;
}
.eyebrow::before { content: "</>"; color: var(--bl-node); }
.eyebrow--light { color: var(--bl-secondary); }

.badge {
	display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.7em; border-radius: 999px;
	font-size: 0.78rem; font-weight: 600; line-height: 1.2;
}
.badge .bl-icon { width: 1em; height: 1em; }
.badge--platform { background: rgba(15, 23, 42, 0.78); color: var(--bl-white); backdrop-filter: blur(6px); }
a.badge--platform:hover { background: var(--bl-primary); color: var(--bl-white); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-block; padding: 0.2em 0.6em; border: 1px solid var(--bl-border); border-radius: 6px;
	background: var(--bl-light); color: var(--bl-text); font-family: var(--bl-font-mono); font-size: 0.75rem;
}
a.chip:hover { border-color: var(--bl-primary); color: var(--bl-primary); }

.status { display: inline-flex; align-items: center; gap: 0.4em; color: var(--bl-muted); font-size: 0.8rem; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--afgerond { color: var(--bl-ok); }
.status--in-gebruik { color: var(--bl-primary); }
.status--ontwikkeling { color: var(--bl-warn); }
.status--prototype { color: var(--bl-muted); }
.status--live { color: var(--bl-ok); }
.status--onderhoud { color: var(--bl-primary); }
.status--archief { color: var(--bl-muted); }

/* ---------- Netwerkmotief ---------- */
.network { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.network__lines path { fill: none; stroke: var(--bl-node); stroke-width: 1.5; opacity: 0.28; }
.network__nodes circle { fill: var(--bl-node); opacity: 0.55; }
.network__light { fill: var(--bl-node-light); opacity: 0.8; }
.network__blue { fill: var(--bl-secondary); opacity: 0.9; }

/* ---------- Topbalk & header ---------- */
.topbar { background: var(--bl-ink); color: var(--bl-node); font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.4em; color: var(--bl-node-light); }
.topbar a:hover { color: var(--bl-white); }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: var(--bl-shadow); border-color: var(--bl-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 2rem; }

.site-title { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--bl-ink); font-family: var(--bl-font-head); }
.site-title:hover { color: var(--bl-ink); }
.site-title__icon { width: auto; height: 50px; }
.site-title__words { display: flex; flex-direction: column; line-height: 1.05; }
.site-title__text { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; }
.site-title__tld { color: var(--bl-muted); }
.site-title__tagline { margin-top: 0.25em; color: var(--bl-muted); font-size: 0.75rem; font-weight: 500; }
.site-title--light, .site-title--light:hover { color: var(--bl-white); }
.site-title--light .site-title__tld, .site-title--light .site-title__tagline { color: var(--bl-node); }
.custom-logo { max-height: 56px; width: auto; }

.main-navigation { display: flex; align-items: center; gap: 1.75rem; }
.main-navigation .menu { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block; padding: 0.55em 0.85em; border-radius: 8px;
	color: var(--bl-ink); font-family: var(--bl-font-head); font-weight: 600; font-size: 0.97rem;
}
.main-navigation .menu > li > a:hover { background: var(--bl-light); color: var(--bl-primary); }
.main-navigation .current-menu-item > a { color: var(--bl-primary); background: color-mix(in srgb, var(--bl-primary) 8%, transparent); }
.main-navigation .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 0.5rem;
	list-style: none; background: var(--bl-white); border-radius: var(--bl-radius); box-shadow: var(--bl-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s var(--bl-ease);
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a:hover { background: var(--bl-light); color: var(--bl-primary); }
.main-navigation .header-cta { color: var(--bl-white); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle__bar { width: 24px; height: 2px; background: var(--bl-ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(4rem, 9vw, 7rem) 0;
	background: var(--bl-dark) center / cover no-repeat; color: var(--bl-white);
}
.hero__overlay {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(circle at 75% 40%, color-mix(in srgb, var(--bl-primary) 28%, transparent), transparent 55%),
		linear-gradient(160deg, var(--bl-dark), var(--bl-ink));
}
.hero--image .hero__overlay { opacity: var(--bl-overlay); }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__inner--single { grid-template-columns: minmax(0, 1fr); }
.hero__content { max-width: 640px; }
.hero__title { color: var(--bl-white); margin-bottom: 0.45em; }
.hero__text { max-width: 560px; font-size: 1.17rem; color: var(--bl-node-light); opacity: 0.85; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__visual { min-width: 0; }
.hero__visual--logo { display: flex; justify-content: center; }
.hero__visual--logo img { width: min(280px, 100%); }

/* Seriële monitor */
.terminal {
	overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: var(--bl-radius);
	background: rgba(15, 23, 42, 0.85); box-shadow: var(--bl-shadow-lg); backdrop-filter: blur(8px);
	font-family: var(--bl-font-mono); font-size: 0.86rem;
}
.terminal__bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.18); color: var(--bl-node); font-size: 0.75rem; }
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.35); }
.terminal__dots i:first-child { background: var(--bl-secondary); }
.terminal__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.terminal__body { padding: 1rem 1.1rem 1.2rem; color: var(--bl-node-light); line-height: 1.85; overflow-x: auto; }
.terminal__line { white-space: pre; animation: bl-type 0.3s calc(var(--i) * 0.14s) both; }
.terminal__cursor span { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.2em; background: var(--bl-secondary); animation: bl-blink 1s steps(1) infinite; }
@keyframes bl-type { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes bl-blink { 50% { opacity: 0; } }

/* Codevenster */
.hero__visual { position: relative; }
.editor {
	margin: 0; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: var(--bl-radius);
	background: rgba(15, 23, 42, 0.88); box-shadow: var(--bl-shadow-lg); backdrop-filter: blur(8px);
	font-family: var(--bl-font-mono); font-size: 0.84rem;
}
.editor__bar { display: flex; align-items: stretch; gap: 0.9rem; padding: 0 1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.18); background: rgba(15, 23, 42, 0.6); }
.editor__dots { display: flex; align-items: center; gap: 6px; }
.editor__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.3); }
.editor__tab { display: flex; align-items: center; padding: 0.65rem 0.9rem; color: var(--bl-node-light); font-size: 0.76rem; white-space: nowrap; box-shadow: inset 0 -2px 0 var(--bl-secondary); }
.editor__tab small { color: var(--bl-node); font-size: 1em; }
.editor__lang { margin-left: auto; align-self: center; padding: 0.15em 0.55em; border-radius: 4px; background: rgba(59, 130, 246, 0.15); color: #93c5fd; font-size: 0.68rem; }
.editor__body { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 1rem 0; line-height: 1.75; }
.editor__gutter { padding: 0 0.9rem 0 1rem; color: #475569; text-align: right; user-select: none; }
.editor__code { margin: 0; padding: 0 1.2rem 0 0; overflow-x: auto; background: none; color: #cbd5e1; white-space: pre; }
.editor__code, .editor__code code { font: inherit; font-size: 1em; }
.editor--animate .editor__code { min-height: calc(var(--lines, 7) * 1.75em); }
.editor__caret { display: inline-block; width: 0.55em; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: var(--bl-secondary); animation: bl-blink 1s steps(1) infinite; }
.editor.is-typing .editor__caret { animation: none; }
.editor__status { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 1rem; border-top: 1px solid rgba(148, 163, 184, 0.18); color: var(--bl-node); font-size: 0.7rem; }
.editor__ok { display: inline-flex; align-items: center; gap: 0.45em; color: #86efac; transition: color 0.3s; }
.editor__ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.editor__ok.is-running { color: var(--bl-node); }
.editor__ok.is-running::before { animation: bl-blink 0.8s steps(1) infinite; }
.editor__source { margin: 0.8rem 0 0; color: var(--bl-node); font-family: var(--bl-font-mono); font-size: 0.75rem; }
.editor__source a { color: var(--bl-node-light); text-decoration: underline; text-underline-offset: 3px; }
.editor__source a:hover { color: var(--bl-secondary); }
.tok-kw { color: #60a5fa; }
.tok-type { color: #93c5fd; }
.tok-const { color: #c4b5fd; }
.tok-fn { color: #f1f5f9; }
.tok-str { color: #fcd34d; }
.tok-num { color: #fdba74; }
.tok-com { color: #64748b; font-style: italic; }
.tok-pre { color: #f472b6; }

/* ---------- Secties ---------- */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section--light { background: var(--bl-light); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head--row { display: flex; max-width: none; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; text-align: left; margin-bottom: 2rem; }
.section-head--row > div { max-width: 640px; }
.section-head--row .section-title { margin-bottom: 0.3em; }
.section-head--row .section-intro { margin: 0; }
.section-intro { color: var(--bl-muted); font-size: 1.12rem; }

/* Platformkaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.card {
	position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.6rem; background: var(--bl-white);
	border: 1px solid var(--bl-border); border-radius: var(--bl-radius); color: var(--bl-text);
	transition: transform 0.35s var(--bl-ease), box-shadow 0.35s, border-color 0.35s;
}
a.card:hover { transform: translateY(-6px); box-shadow: var(--bl-shadow-lg); border-color: color-mix(in srgb, var(--bl-primary) 40%, var(--bl-border)); color: var(--bl-text); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.card__icon {
	display: grid; place-items: center; width: 54px; height: 54px;
	border-radius: calc(var(--bl-radius) - 2px); color: var(--bl-primary);
	background: color-mix(in srgb, var(--bl-primary) 10%, transparent);
	transition: background 0.35s, color 0.35s;
}
.card__icon .bl-icon { width: 26px; height: 26px; }
a.card:hover .card__icon { background: var(--bl-primary); color: var(--bl-white); }
.card__count { padding: 0.25em 0.65em; border-radius: 999px; background: var(--bl-light); color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.72rem; white-space: nowrap; }
.card__title { margin-bottom: 0.4em; }
.card__text { flex: 1; margin-bottom: 1rem; color: var(--bl-muted); font-size: 0.98rem; }
.card__link { display: inline-flex; align-items: center; gap: 0.4em; color: var(--bl-primary); font-weight: 700; font-size: 0.95rem; }
.card__link .bl-icon { width: 1em; height: 1em; transition: transform 0.25s var(--bl-ease); }
a.card:hover .card__link .bl-icon { transform: translateX(3px); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
	display: inline-flex; align-items: center; gap: 0.45em; padding: 0.5em 0.95em;
	border: 1px solid var(--bl-border); border-radius: 999px; background: var(--bl-white);
	color: var(--bl-ink); font-size: 0.92rem; font-weight: 600; transition: all 0.2s;
}
.filter .bl-icon { width: 1em; height: 1em; color: var(--bl-primary); }
.filter:hover { border-color: var(--bl-primary); color: var(--bl-primary); }
.filter.is-active { border-color: var(--bl-ink); background: var(--bl-ink); color: var(--bl-white); }
.filter.is-active .bl-icon { color: var(--bl-secondary); }
.filter__count { color: var(--bl-node); font-family: var(--bl-font-mono); font-size: 0.75rem; font-weight: 400; }
.filter-empty, .empty-state { padding: 2.5rem; border: 1px dashed var(--bl-node); border-radius: var(--bl-radius); color: var(--bl-muted); text-align: center; }
.empty-state .bl-icon { width: 36px; height: 36px; margin: 0 auto 0.75rem; color: var(--bl-primary); }
.empty-state p { margin: 0; }

/* Projectkaarten */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.project-card {
	display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--bl-white);
	border: 1px solid var(--bl-border); border-radius: var(--bl-radius);
	transition: transform 0.35s var(--bl-ease), box-shadow 0.35s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--bl-shadow-lg); }
.project-card__media { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--bl-dark); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--bl-ease); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__placeholder {
	display: grid; place-items: center; height: 100%; color: var(--bl-secondary);
	background:
		radial-gradient(circle at 25% 30%, rgba(148, 163, 184, 0.35) 0 3px, transparent 4px),
		radial-gradient(circle at 78% 22%, rgba(148, 163, 184, 0.35) 0 3px, transparent 4px),
		radial-gradient(circle at 70% 78%, rgba(226, 232, 240, 0.5) 0 7px, transparent 8px),
		radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--bl-primary) 35%, transparent), transparent 60%),
		var(--bl-dark);
}
.project-card__placeholder .bl-icon { width: 56px; height: 56px; stroke-width: 1.5; }
.project-card__platforms { position: absolute; top: 0.8rem; left: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.project-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.project-card__type { color: var(--bl-muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.project-card__title { margin-bottom: 0.45em; font-size: 1.2rem; }
.project-card__title a { color: var(--bl-ink); }
.project-card__title a:hover { color: var(--bl-primary); }
.project-card__excerpt { flex: 1; margin-bottom: 1rem; color: var(--bl-muted); font-size: 0.95rem; }

/* Websites: browservenster */
.browser-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.8rem; background: var(--bl-light); border-bottom: 1px solid var(--bl-border); }
.browser-bar__dots { display: flex; gap: 5px; }
.browser-bar__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--bl-border); }
.browser-bar__dots i:first-child { background: var(--bl-node); }
.browser-bar__url {
	display: flex; align-items: center; gap: 0.4em; flex: 1; min-width: 0; padding: 0.25em 0.7em;
	border-radius: 6px; background: var(--bl-white); color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.72rem;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-bar__url .bl-icon { width: 0.95em; height: 0.95em; color: var(--bl-ok); }
.browser-bar__url--none { color: var(--bl-node); font-style: italic; }
.site-card__frame { display: block; }
.site-card__shot { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--bl-white); }
.site-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--bl-ease); }
.site-card:hover .site-card__shot img { transform: scale(1.04); }
.site-card__visit { display: inline-flex; align-items: center; gap: 0.4em; align-self: flex-start; margin-top: 1rem; color: var(--bl-primary); font-size: 0.9rem; font-weight: 700; }
.site-card__visit .bl-icon { width: 0.95em; height: 0.95em; }
.site-frame { max-width: 60%; margin-bottom: 2.5rem; overflow: hidden; border: 1px solid var(--bl-border); border-radius: var(--bl-radius); box-shadow: var(--bl-shadow-lg); }
.site-frame__shot { aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--bl-white); }
.site-frame__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; }
.project-info__link { display: inline-flex; align-items: center; gap: 0.35em; font-family: var(--bl-font-mono); font-size: 0.9rem; }
.project-info__link .bl-icon { width: 0.9em; height: 0.9em; }

/* Liggende kaart voor projecten en websites */
.item-list { display: flex; flex-direction: column; gap: 2.5rem; }
.item-card {
	position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); overflow: hidden;
	border: 1px solid var(--bl-border); border-radius: var(--bl-radius); background: var(--bl-white);
	transition: box-shadow 0.35s, border-color 0.35s, transform 0.35s var(--bl-ease);
}
.item-card:hover { transform: translateY(-3px); box-shadow: var(--bl-shadow-lg); border-color: color-mix(in srgb, var(--bl-primary) 35%, var(--bl-border)); }
.item-card__media { position: relative; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--bl-border); background: var(--bl-light); }
.item-card__media .shot { flex: 1; min-height: 200px; }
.item-card--project .item-card__media { background: var(--bl-dark); }
.item-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; min-width: 0; padding: clamp(1.3rem, 3vw, 1.9rem); }
.item-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; width: 100%; min-height: 1.2em; }
.item-card__type { color: var(--bl-muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.item-card__heading { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.item-card__title { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.2; min-width: 0; }
.item-card__link { color: var(--bl-ink); }
.item-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.item-card:hover .item-card__link { color: var(--bl-primary); }
.item-card__sub { display: block; margin-top: 0.2rem; color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0; overflow-wrap: anywhere; }
.item-card__excerpt { margin: 0; color: var(--bl-muted); }
.item-card__facts { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin: 0; color: var(--bl-muted); font-size: 0.88rem; }
.item-card__facts strong { color: var(--bl-ink); font-weight: 600; }
.item-card__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }
.item-card .project-card__platforms { z-index: 2; }
.item-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--bl-secondary); background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--bl-primary) 35%, transparent), transparent 60%), var(--bl-dark); }
.item-card__placeholder .bl-icon { width: 56px; height: 56px; stroke-width: 1.5; }

/* Afbeeldingsvlak: schermafbeelding vult, logo past */
.shot { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--bl-white); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.6s var(--bl-ease); }
.item-card:hover .shot:not(.shot--logo) img { transform: scale(1.03); }
.shot--logo { background: var(--bl-white); }
.shot--logo img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; object-position: center; }
.shot--empty { background: var(--bl-white); }
.item-card--project .shot--empty { background: var(--bl-dark); }
.shot--empty > .wireframe, .shot--empty > .item-card__placeholder { position: absolute; inset: 0; }

/* Logo vóór de titel */
.logo-tile {
	flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; padding: 7px;
	border: 1px solid var(--bl-border); border-radius: 11px; background: var(--bl-white); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile--icon { color: var(--bl-primary); background: color-mix(in srgb, var(--bl-primary) 8%, var(--bl-white)); }
.logo-tile--icon .bl-icon { width: 24px; height: 24px; }
.page-hero__heading { display: flex; align-items: center; gap: 1rem; }
.page-hero__heading .logo-tile { width: 64px; height: 64px; padding: 9px; border-color: rgba(148, 163, 184, 0.3); }

/* Schets van een webpagina zonder screenshot */
.wireframe { display: flex; flex-direction: column; gap: 7%; height: 100%; padding: 6% 7%; background: var(--bl-white); }
.wireframe b, .wireframe i, .wireframe em { display: block; border-radius: 4px; }
.wireframe__nav { display: flex; align-items: center; gap: 4%; }
.wireframe__nav b { width: 18%; height: 10px; background: var(--bl-ink); }
.wireframe__nav i { width: 9%; height: 6px; background: var(--bl-border); }
.wireframe__nav i:first-of-type { margin-left: auto; }
.wireframe__hero { display: flex; flex-direction: column; gap: 9px; padding: 7% 6%; border-radius: 8px; background: linear-gradient(160deg, var(--bl-dark), var(--bl-ink)); }
.wireframe__hero b { width: 55%; height: 12px; background: var(--bl-white); }
.wireframe__hero i { width: 75%; height: 6px; background: rgba(148, 163, 184, 0.5); }
.wireframe__hero i + i { width: 60%; }
.wireframe__hero em { width: 22%; height: 12px; margin-top: 4px; background: var(--bl-primary); }
.wireframe__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; flex: 1; }
.wireframe__cols i { background: var(--bl-light); border: 1px solid var(--bl-border); }

/* Over mij */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__media img { border-radius: calc(var(--bl-radius) * 1.5); box-shadow: var(--bl-shadow-lg); }
.media-placeholder {
	position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 5 / 4; max-width: 100%;
	border-radius: calc(var(--bl-radius) * 1.5); background: linear-gradient(160deg, var(--bl-dark), var(--bl-ink));
	box-shadow: var(--bl-shadow-lg);
}
.media-placeholder__network { overflow: hidden; border-radius: inherit; }
.media-placeholder__mark { width: 38%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4)); }
.media-placeholder__card {
	position: absolute; left: -1.25rem; bottom: 2rem; display: flex; align-items: center; gap: 0.6rem;
	padding: 0.8rem 1.1rem; background: var(--bl-white); color: var(--bl-ink); border-radius: var(--bl-radius);
	box-shadow: var(--bl-shadow-lg); font-family: var(--bl-font-mono); font-size: 0.95rem; animation: bl-float 10s ease-in-out infinite;
}
.media-placeholder__card .bl-icon { width: 22px; height: 22px; color: var(--bl-primary); }
.media-placeholder__card--alt { left: auto; right: -1.25rem; top: 2rem; bottom: auto; animation-delay: -5s; }
@keyframes bl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 0.6rem; color: var(--bl-ink); font-weight: 600; }
.checklist .bl-icon {
	width: 22px; height: 22px; padding: 4px; border-radius: 6px;
	background: var(--bl-primary); color: var(--bl-white); stroke-width: 3;
}

/* Cijfers */
.stats { background: var(--bl-ink); color: var(--bl-white); padding: 3.5rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat__number { display: block; font-family: var(--bl-font-head); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--bl-node); font-family: var(--bl-font-mono); font-size: 0.85rem; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card {
	display: flex; flex-direction: column; min-width: 0; background: var(--bl-white); border: 1px solid var(--bl-border);
	border-radius: var(--bl-radius); overflow: hidden; transition: transform 0.35s var(--bl-ease), box-shadow 0.35s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--bl-shadow-lg); }
.post-card__media { display: block; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: var(--bl-light); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--bl-primary); background: color-mix(in srgb, var(--bl-primary) 8%, var(--bl-light)); }
.post-card__placeholder .bl-icon { width: 40px; height: 40px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.post-card__cat { align-self: flex-start; margin-bottom: 0.6rem; color: var(--bl-primary); font-family: var(--bl-font-mono); font-size: 0.75rem; }
a.post-card__cat:hover { color: var(--bl-secondary); text-decoration: underline; }
.post-card__tags { margin-bottom: 1rem; }
.post-card__title { font-size: 1.15rem; }
.post-card__title a { color: var(--bl-ink); }
.post-card__title a:hover { color: var(--bl-primary); }
.post-card__excerpt { color: var(--bl-muted); font-size: 0.95rem; }
.post-card__meta { margin-top: auto; color: var(--bl-muted); font-size: 0.82rem; }

/* Blogoverzicht */
.blog-main { min-width: 0; }
.post-grid--narrow { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-featured {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 2rem; overflow: hidden;
	border: 1px solid var(--bl-border); border-radius: var(--bl-radius); background: var(--bl-white);
	transition: box-shadow 0.35s;
}
.post-featured:hover { box-shadow: var(--bl-shadow-lg); }
.post-featured__media { position: relative; display: block; min-height: 280px; overflow: hidden; background: var(--bl-dark); }
.post-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-featured__placeholder { position: absolute; inset: 0; isolation: isolate; display: grid; place-items: center; color: var(--bl-secondary); background: linear-gradient(160deg, var(--bl-dark), var(--bl-ink)); }
.post-featured__placeholder > .bl-icon { width: 64px; height: 64px; stroke-width: 1.5; }
.post-featured__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.post-featured__label { color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.75rem; }
.post-featured__label a { color: var(--bl-primary); }
.post-featured__title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.post-featured__title a { color: var(--bl-ink); }
.post-featured__title a:hover { color: var(--bl-primary); }
.post-featured__excerpt { margin: 0; color: var(--bl-muted); }
.post-featured .post-card__meta { margin: 0 0 0.6rem; }

.post-list { display: flex; flex-direction: column; gap: 1.25rem; }
.post-card--row { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.post-card--row .post-card__media { aspect-ratio: auto; height: 100%; min-height: 180px; }
.post-card--row .post-card__body { padding: 1.4rem 1.6rem; }
.post-card--row .post-card__title { font-size: 1.3rem; }

/* Zijbalk */
.layout--sidebar { align-items: start; }
.blog-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.blog-sidebar .widget { margin: 0; }
.widget-cats { padding: 0 !important; list-style: none; }
.widget-cats li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--bl-border); }
.widget-cats li:last-child { border-bottom: 0; }
.widget-cats a { color: var(--bl-ink); font-weight: 600; }
.widget-cats a:hover { color: var(--bl-primary); }
.widget-cats span { color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.8rem; }
.widget--search .search-form { flex-direction: column; }
.widget--github { background: linear-gradient(160deg, var(--bl-dark), var(--bl-ink)) !important; color: var(--bl-node-light); }
.widget--github > .bl-icon { width: 28px; height: 28px; margin-bottom: 0.6rem; color: var(--bl-secondary); }
.widget--github .widget-title { color: var(--bl-white); }
.widget--github p { font-size: 0.93rem; opacity: 0.85; }

/* Bericht */
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.95rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.post-meta .bl-icon { width: 1em; height: 1em; color: var(--bl-secondary); }
.toc { margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--bl-border); border-left: 4px solid var(--bl-primary); border-radius: var(--bl-radius); background: var(--bl-light); }
.toc__title { margin: 0 0 0.5rem; color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__item { display: flex; gap: 0.5em; padding: 0.15rem 0; }
.toc__item::before { flex: 0 0 1.4em; color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.85em; line-height: 1.9; }
.toc__item--h2 { counter-increment: toc; }
.toc__item--h2::before { content: counter(toc) "."; }
.toc__item--h3 { padding-left: 1.4em; font-size: 0.95rem; }
.toc__item--h3::before { content: "–"; }
.toc__item a { color: var(--bl-ink); font-weight: 600; }
.toc__item a:hover { color: var(--bl-primary); }
.toc__item--h3 a { font-weight: 500; }
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 100px; }

/* CTA */
.section--cta { padding-top: 0; }
.cta {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
	padding: clamp(2.2rem, 5vw, 3.5rem); border-radius: calc(var(--bl-radius) * 1.6); color: var(--bl-white);
	background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--bl-secondary) 70%, transparent), transparent 50%), var(--bl-primary);
}
.cta::after {
	content: "</>"; position: absolute; right: 1.5rem; bottom: -1.5rem;
	color: var(--bl-white); opacity: 0.08; font: 700 9rem/1 var(--bl-font-mono); pointer-events: none;
}
.cta__content { position: relative; z-index: 1; max-width: 620px; }
.cta__title { color: var(--bl-white); margin-bottom: 0.3em; }
.cta__text { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; }
.cta .btn { position: relative; z-index: 1; }

/* ---------- Binnenpagina's ---------- */
.page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(3.5rem, 8vw, 5.5rem) 0; color: var(--bl-white);
	background:
		radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--bl-primary) 30%, transparent), transparent 50%),
		linear-gradient(160deg, var(--bl-dark), var(--bl-ink));
}
.page-hero__title { max-width: 860px; color: var(--bl-white); margin: 0; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero__subtitle, .page-hero__meta { max-width: 680px; margin-top: 0.9rem; color: var(--bl-node-light); opacity: 0.85; font-size: 1.12rem; }
.page-hero__subtitle p { margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.page-hero__actions:empty { display: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; color: var(--bl-node); font-family: var(--bl-font-mono); font-size: 0.82rem; }
.breadcrumbs a { color: var(--bl-node-light); }
.breadcrumbs a:hover { color: var(--bl-secondary); }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project-info {
	position: sticky; top: 100px; padding: 1.5rem; border: 1px solid var(--bl-border); border-radius: var(--bl-radius);
	background: var(--bl-light);
}
.project-info__title { margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0; }
.project-info dl { display: grid; gap: 0.35rem; margin: 0; }
.project-info dt { margin-top: 0.75rem; color: var(--bl-muted); font-family: var(--bl-font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.project-info dt:first-child { margin-top: 0; }
.project-info dd { margin: 0; color: var(--bl-ink); font-weight: 600; }
.project-info .badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-info .badge--platform { background: var(--bl-ink); }
.hardware { margin: 0; padding: 0; list-style: none; font-weight: 500; font-size: 0.93rem; }
.hardware li { position: relative; padding: 0.3rem 0 0.3rem 1.1rem; border-bottom: 1px solid var(--bl-border); }
.hardware li:last-child { border-bottom: 0; }
.hardware li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 6px; height: 6px; border-radius: 50%; background: var(--bl-primary); }
.related { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--bl-border); }
.related__title { margin-bottom: 1.5rem; font-size: 1.6rem; }

.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; }
.entry-thumbnail { margin: 0 0 2rem; }
.single-project .entry-thumbnail { max-width: 60%; }
.entry-thumbnail img { border-radius: var(--bl-radius); }
.entry-content > * { margin-bottom: 1.4rem; }
.entry-content h2, .entry-content h3 { margin-top: 2.2rem; }
.entry-content img { border-radius: var(--bl-radius); }
.entry-content pre { overflow-x: auto; padding: 1.1rem 1.25rem; border-radius: var(--bl-radius); background: var(--bl-ink); color: var(--bl-node-light); font-size: 0.86rem; line-height: 1.6; }
.entry-content :not(pre) > code { padding: 0.15em 0.4em; border-radius: 5px; background: var(--bl-light); color: var(--bl-ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--bl-border); text-align: left; vertical-align: top; }
.entry-content th { color: var(--bl-ink); font-weight: 700; }
.entry-content .wp-block-table, .entry-content .table-wrap { overflow-x: auto; }
.entry-content blockquote {
	margin: 2rem 0; padding: 1.1rem 1.5rem; border-left: 4px solid var(--bl-primary);
	background: var(--bl-light); border-radius: 0 var(--bl-radius) var(--bl-radius) 0;
}
.entry-content .alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.entry-content--full > *:not(.alignfull):not(.alignwide) { max-width: 820px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; }
.entry-tags a { padding: 0.3em 0.9em; background: var(--bl-light); border-radius: 999px; font-size: 0.85rem; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0; }
.post-navigation a { display: block; height: 100%; padding: 1.2rem; border: 1px solid var(--bl-border); border-radius: var(--bl-radius); color: var(--bl-ink); font-weight: 700; }
.post-navigation a:hover { border-color: var(--bl-primary); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; color: var(--bl-muted); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

.pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.8rem; border: 1px solid var(--bl-border); border-radius: 10px; color: var(--bl-ink); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--bl-primary); border-color: var(--bl-primary); color: var(--bl-white); }

.widget { margin-bottom: 2rem; padding: 1.5rem; background: var(--bl-light); border-radius: var(--bl-radius); }
.widget ul { margin: 0; padding-left: 1.1rem; }
.widget-title { font-size: 1.05rem; }

.search-form { display: flex; gap: 0.5rem; }
.search-field, input[type="text"], input[type="email"], input[type="url"], textarea {
	width: 100%; padding: 0.8em 1em; border: 1px solid var(--bl-border); border-radius: 10px;
	font: inherit; color: var(--bl-ink); background: var(--bl-white); transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus, input:focus, textarea:focus { outline: 0; border-color: var(--bl-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bl-primary) 15%, transparent); }

.comment-list { padding: 0; list-style: none; }
.comment-list .comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--bl-border); }
.comment-list .avatar { float: left; margin-right: 1rem; border-radius: 50%; }

.error-404 { text-align: center; }
.error-404__code { margin: 0; color: var(--bl-primary); font-family: var(--bl-font-mono); font-size: clamp(5rem, 15vw, 8rem); font-weight: 600; line-height: 1; }
.error-404 .search-form { max-width: 480px; margin: 2rem auto; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bl-dark); color: var(--bl-node); font-size: 0.96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; padding: 4rem 24px 3rem; }
.site-footer__brand p { margin: 1.2rem 0; }
.site-footer .site-title__icon { height: 44px; }
.site-footer .site-title__text { font-size: 1.4rem; }
.site-footer a { color: var(--bl-node-light); }
.site-footer a:hover { color: var(--bl-white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer .widget { padding: 0; background: none; }
.footer-title { color: var(--bl-white); font-size: 0.85rem; font-family: var(--bl-font-mono); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 1.1rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact .bl-icon { margin-top: 0.3em; color: var(--bl-secondary); }
.social-links { display: flex; gap: 0.6rem; }
.social-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(148, 163, 184, 0.12); transition: background 0.25s, transform 0.25s; }
.social-link:hover { background: var(--bl-primary); transform: translateY(-3px); }
.social-link .bl-icon { width: 18px; height: 18px; }
.site-footer__bottom { padding: 1.3rem 0; border-top: 1px solid rgba(148, 163, 184, 0.14); font-size: 0.85rem; }

/* ---------- Animaties ---------- */
.reveal { transition: opacity 0.8s var(--bl-ease), transform 0.8s var(--bl-ease); }
.js .reveal.is-pending { opacity: 0; transform: translateY(24px); }
.is-filtered-out { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal.is-pending { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.layout--sidebar, .project-layout { grid-template-columns: minmax(0, 1fr); }
	.blog-sidebar { position: static; }
	.project-info { position: static; }
}

@media (max-width: 900px) {
	.menu-toggle { display: flex; }
	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 1rem 24px 1.5rem; background: var(--bl-white); box-shadow: var(--bl-shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s var(--bl-ease);
	}
	.main-navigation.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-navigation .menu { flex-direction: column; }
	.main-navigation .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1rem; }
	.header-cta { justify-content: center; }
	.hero__inner, .split { grid-template-columns: minmax(0, 1fr); }
	.hero__visual--logo { display: none; }
	.media-placeholder__card { left: 1rem; }
	.media-placeholder__card--alt { right: 1rem; }
	.site-title__icon { height: 42px; }
	.site-title__text { font-size: 1.35rem; }
}

@media (max-width: 600px) {
	.container { padding: 0 16px; }
	.topbar__text { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__contact { gap: 1rem; font-size: 0.8rem; }
	.checklist { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; padding: 3rem 16px 2.5rem; gap: 2rem; }
	.project-grid, .post-grid { grid-template-columns: minmax(0, 1fr); }
	.post-featured, .post-card--row { grid-template-columns: minmax(0, 1fr); }
	.post-featured__media { min-height: 200px; }
	.post-card--row .post-card__media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
	.item-card { grid-template-columns: minmax(0, 1fr); }
	.site-frame, .single-project .entry-thumbnail { max-width: 100%; }
	.item-card__media { border-right: 0; border-bottom: 1px solid var(--bl-border); }
	.item-card__media .shot { flex: none; min-height: 0; aspect-ratio: 16 / 8; }
	.page-hero__heading .logo-tile { width: 52px; height: 52px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.hero__actions .btn, .page-hero__actions .btn { width: 100%; justify-content: center; }
	.search-form { flex-direction: column; }
	.terminal, .editor { font-size: 0.74rem; }
	.site-title__tagline { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
