@font-face {
	font-family: 'Dosis';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('/fonts/dosis-latin-wght.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('/fonts/lato-latin-300.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/lato-latin-400.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/lato-latin-700.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Charles Vlug — marketing site
   Cyan/white identity: #54c5d8 · Dosis headings · Lato body · dark ink
   ========================================================================== */

:root {
	--cyan: #54c5d8;
	--cyan-dark: #35a8bc;
	--cyan-light: #a5e2ec;
	--cyan-deep: #1f7f92;
	--ink: #17242b;
	--ink-soft: #3c4c55;
	--grey: #f3f7f8;
	--grey-line: #dde8eb;
	--white: #ffffff;
	--radius: 10px;
	--font-head: 'Dosis', sans-serif;
	--font-body: 'Lato', sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 .5em;
}
h1 { font-size: 2.9rem; font-weight: 800; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 3px solid var(--cyan-deep);
	outline-offset: 3px;
	border-radius: 2px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 10px 18px;
	z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .85rem;
	font-weight: 700;
	color: var(--cyan-deep);
	margin: 0 0 .6em;
}
.eyebrow-light { color: #bfeef6; }

.lead { font-size: 1.25rem; color: var(--ink-soft); font-weight: 300; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--grey-line);
	backdrop-filter: blur(4px);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 68px;
	gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	background: var(--cyan);
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.15rem;
	border-radius: 8px;
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }

.site-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0; padding: 0;
}
.site-nav a {
	display: block;
	padding: 8px 13px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .98rem;
	color: var(--ink);
	border-radius: 6px;
}
.site-nav a:hover { color: var(--cyan-deep); text-decoration: none; }
.nav-cta a {
	background: var(--cyan);
	color: var(--ink);
	margin-left: 6px;
}
.nav-cta a:hover { background: var(--cyan-light); color: var(--ink); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--grey-line);
	border-radius: 6px;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.05rem;
	padding: 13px 26px;
	border-radius: 8px;
	border: 2px solid transparent;
	transition: background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: var(--cyan-light); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cyan-deep); color: var(--cyan-deep); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--grey); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* ---------- Hero ---------- */

.hero {
	background: linear-gradient(160deg, #eaf7fa 0%, var(--white) 55%);
	padding: 72px 0 40px;
	border-bottom: 1px solid var(--grey-line);
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
	align-items: center;
}
.hero h1 span { color: var(--cyan-deep); }
.hero-actions { margin-top: 1.6em; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-panel {
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: 0 12px 30px rgba(23,36,43,.07);
}
.hero-photo { border-radius: 8px; width: 100%; }
.hero-facts { list-style: none; margin: 18px 0 0; padding: 0; }
.hero-facts li { padding: 8px 0; border-top: 1px solid var(--grey-line); font-size: .95rem; color: var(--ink-soft); }
.hero-facts strong { color: var(--ink); }

.proof-row {
	display: flex;
	align-items: baseline;
	gap: 26px;
	flex-wrap: wrap;
	padding-top: 34px;
	padding-bottom: 10px;
}
.proof-row span { color: var(--ink-soft); font-size: .92rem; }
.proof-row strong { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .02em; color: var(--ink); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-alt { background: var(--grey); }
.section-note { margin-top: 26px; color: var(--ink-soft); }

.page-hero {
	background: linear-gradient(160deg, #eaf7fa 0%, var(--white) 60%);
	padding: 64px 0 40px;
	border-bottom: 1px solid var(--grey-line);
}

/* ---------- Cards ---------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.card {
	display: block;
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-top: 4px solid var(--cyan);
	border-radius: var(--radius);
	padding: 26px 24px;
	color: var(--ink);
	transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover {
	text-decoration: none;
	box-shadow: 0 10px 26px rgba(23,36,43,.09);
	transform: translateY(-3px);
}
.card p { color: var(--ink-soft); font-size: .97rem; }
.card-link { font-family: var(--font-head); font-weight: 700; color: var(--cyan-deep); font-size: .95rem; }

/* ---------- Cases ---------- */

.case {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
	padding: 40px 0;
	border-top: 1px solid var(--grey-line);
}
.case:first-of-type { border-top: 0; }
.case-flip .case-media { order: 2; }
.case-media img {
	border-radius: var(--radius);
	border: 1px solid var(--grey-line);
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: top;
	background: var(--grey);
}
.case-media-typo {
	background: var(--ink);
	border-radius: var(--radius);
	aspect-ratio: 3 / 2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.case-media-logo {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 2.4rem;
	line-height: 1;
	text-align: center;
	color: var(--cyan);
}
.case-tag {
	font-family: var(--font-head);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cyan-deep);
	margin: 0 0 .4em;
}
.case-link { margin-top: .6em; font-weight: 700; }

/* ---------- Skills ---------- */

.skill-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.skill-group {
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-radius: var(--radius);
	padding: 24px;
}
.section-alt .skill-group, .section .skill-group { background: var(--white); }
.legacy-skills {
	margin-top: 24px;
	background: var(--white);
	border: 1px dashed var(--grey-line);
	border-radius: var(--radius);
	padding: 16px 24px;
	max-width: 720px;
}
.legacy-skills summary {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink-soft);
	cursor: pointer;
}
.legacy-skills .skill-list { margin-top: 8px; }
.legacy-skills .skill-list li { font-size: .92rem; color: var(--ink-soft); }
.skill-list { list-style: none; margin: 0; padding: 0; }
.skill-list li {
	padding: 7px 0 7px 26px;
	position: relative;
	border-top: 1px solid var(--grey-line);
	font-size: .96rem;
}
.skill-list li::before {
	content: "\2713";
	font-family: var(--font-body);
	position: absolute;
	left: 0;
	color: var(--cyan-deep);
	font-size: .85rem;
}

/* ---------- About / process ---------- */

.about-grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 44px;
	align-items: start;
}
.about-photo { border-radius: var(--radius); border: 1px solid var(--grey-line); }

.process {
	list-style: none;
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 28px 0 0;
	padding: 0;
}
.process li {
	counter-increment: step;
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-radius: var(--radius);
	padding: 24px;
	position: relative;
}
.process li::before {
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	background: var(--cyan);
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 800;
	border-radius: 50%;
	margin-bottom: 12px;
}
.process p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- FAQ ---------- */

.faq { margin: 26px 0 0; }
.faq-item {
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-radius: var(--radius);
	padding: 20px 24px;
	margin-bottom: 14px;
}
.faq-item dt { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq-item dd { margin: 8px 0 0; color: var(--ink-soft); }

/* ---------- Pricing & contact ---------- */

.pricing-box {
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-left: 5px solid var(--cyan);
	border-radius: var(--radius);
	padding: 36px 40px;
	max-width: 760px;
}
.pricing-rate {
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 800;
	color: var(--ink);
	margin: 0 0 .3em;
}

.section-contact {
	background: var(--cyan-deep);
	background: linear-gradient(150deg, var(--cyan-deep) 0%, #155d6c 100%);
	color: #fff;
}
.section-contact h2, .section-contact .lead { color: #fff; }
.contact-details { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.4em; }
.contact-details .btn { overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
.contact-note { margin-top: 18px; color: #cdeef4; }
.contact-note a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink);
	color: #b9c6cc;
	padding: 48px 0 0;
	font-size: .95rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 32px;
}
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: .4em; }
.footer-heading { font-family: var(--font-head); font-weight: 700; color: var(--cyan); font-size: 1rem; margin-bottom: .5em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.site-footer a { color: #dbe6ea; }
.footer-base {
	border-top: 1px solid rgba(255,255,255,.12);
	padding: 18px 24px;
	font-size: .85rem;
}

/* ---------- Prose (detail pages) ---------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before {
	content: "\2713";
	font-family: var(--font-body);
	position: absolute;
	left: 0;
	top: 9px;
	color: var(--cyan-deep);
}
.breadcrumb { padding-top: 22px; font-size: .9rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- CV ---------- */

.cv-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 48px; }
.cv-item { padding: 18px 0 18px 24px; border-left: 3px solid var(--cyan); margin-bottom: 8px; }
.cv-period { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--cyan-deep); margin: 0 0 4px; }
.cv-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cv-item p:last-child { margin: 0; color: var(--ink-soft); }
.cv-side h2 { font-size: 1.4rem; margin-top: 1em; }
.cv-side h3 { font-size: 1rem; margin: 14px 0 4px; }
.cv-side p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.cv-facts { list-style: none; margin: 0; padding: 0; }
.cv-facts li { padding: 8px 0; border-top: 1px solid var(--grey-line); font-size: .95rem; color: var(--ink-soft); }

@media print {
	.site-header, .site-footer, .section-contact, .skip-link, .btn { display: none !important; }
	.section { padding: 16px 0; }
	body { font-size: 12pt; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	h1 { font-size: 2.1rem; }
	h2 { font-size: 1.7rem; }
	.hero-grid, .case, .about-grid, .cv-grid { grid-template-columns: 1fr; }
	.case-flip .case-media { order: 0; }
	.card-grid, .skill-groups, .process, .footer-grid { grid-template-columns: 1fr; }
	.hero { padding-top: 48px; }
	.about-grid > div:first-child { max-width: 220px; }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		width: 100%;
	}
	.site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 0 18px; }
	.site-nav a { padding: 12px 10px; font-size: 1.05rem; }
	.nav-cta a { margin: 8px 10px 0; text-align: center; }
	.header-inner { flex-wrap: wrap; }
	html:not(.js) .site-nav { display: block; }
	html.js .site-nav.open { display: block; }
}

/* ---------- Case bullets & expertise notes ---------- */

.case-bullets { list-style: none; margin: 0 0 1em; padding: 0; }
.case-bullets li {
	padding: 5px 0 5px 26px;
	position: relative;
	font-size: .95rem;
	color: var(--ink-soft);
}
.case-bullets li::before {
	content: "\2713";
	font-family: var(--font-body);
	position: absolute;
	left: 0;
	color: var(--cyan-deep);
	font-size: .85rem;
}

.expertise-notes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 28px;
}
.expertise-note {
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-left: 4px solid var(--cyan);
	border-radius: var(--radius);
	padding: 20px 24px;
}
.expertise-note h3 { font-size: 1.1rem; }
.expertise-note p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

@media (max-width: 900px) {
	.expertise-notes { grid-template-columns: 1fr; }
}

/* ---------- Hero animation (original Sequence.js, isolated in iframe) ---------- */

.hero-visual { max-width: 480px; width: 100%; justify-self: center; }

.hero-animation {
	width: 100%;
	max-width: 480px;
	aspect-ratio: 46 / 40;
	background: #54c5d8;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(23,36,43,.16);
}
.hero-animation iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 900px) {
	.hero-visual { max-width: 420px; }
	.hero-animation { aspect-ratio: 1.15; }
}

/* ---------- Fold details / expertise points / API groups ---------- */

.fold {
	margin-top: 16px;
	background: var(--white);
	border: 1px dashed var(--grey-line);
	border-radius: var(--radius);
	padding: 14px 22px;
}
.fold summary {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink-soft);
	cursor: pointer;
}
.fold summary:hover { color: var(--ink); }
.fold p { color: var(--ink-soft); font-size: .95rem; }
.skill-groups-in-fold { margin-top: 14px; }
.skill-group h4 {
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 6px;
}

.expertise-points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 8px;
}
.expertise-point h3 { font-size: 1.05rem; }
.expertise-point p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

.api-groups { margin: 6px 0 0; padding-left: 20px; }
.api-groups li { font-size: .92rem; color: var(--ink-soft); padding: 3px 0; }
.api-groups strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
	.expertise-points { grid-template-columns: 1fr; }
}
