/* jessevandervelde.com (T793): the BioProfile public tokens (brands/bioprofile/brand/tokens.md) and Poppins,
   without any BioProfile logo. Every sentence is in the page's blocks; this sheet holds none.
   Loaded as the site's custom CSS (Global Styles), so the editor shows the same design. */

/* Poppins, self-hosted (assets/poppins-*.woff2, placed under /assets/ by deploy.py). */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/poppins-regular.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/poppins-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/poppins-bold.woff2') format('woff2'); }

:root {
	--jv-ink: #212527;
	--jv-teal: #005859;
	--jv-teal-deep: #006B62;
	--jv-green: #7CA74D;
	--jv-emerald: #228A62;
	--jv-lime: #B7CB33;
	--jv-beige: #EDEAE5;
	--jv-tan: #CCC1B2;
	--jv-sand: #DBD4CB;
	--jv-pale: #D9E6E6;
	--jv-foot: #5f6264;
	--jv-font: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--jv-wrap: 1180px;
	--jv-side: 20px;
	--jv-pad: 48px;
	--jv-radius: 16px;
	--jv-radius-btn: 10px;
}
@media (min-width: 768px) { :root { --jv-side: 40px; --jv-pad: 72px; } }

html { overflow-x: clip; }
body {
	font-family: var(--jv-font);
	color: var(--jv-ink);
	background: #fff;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 17px; } }

/* The theme's own spacing and title gaps stay out of the way of the bands. */
body .wp-site-blocks { padding-top: 0; padding-bottom: 0; }
body .wp-site-blocks > main, body main.wp-block-group { margin-top: 0 !important; padding: 0 !important; }
body .entry-content > * { margin-block-start: 0; }
body .entry-content.is-layout-constrained > .alignfull,
body .wp-block-post-content > .alignfull { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }

.jv-band h1, .jv-band h2, .jv-band h3, .jv-band p, .jv-band li, .jv-header p, .jv-footer p {
	font-family: var(--jv-font);
	overflow-wrap: anywhere;
}
.jv-band :where(p, ul, h3) { margin: 0; }
.jv-band a, .jv-header a, .jv-footer a { color: var(--jv-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.jv-band a:hover { color: var(--jv-ink); }
:where(.jv-band, .jv-header, .jv-footer) a:focus-visible,
:where(.jv-band, .jv-header, .jv-footer) summary:focus-visible,
:where(.jv-band) :is(input, select, textarea, button):focus-visible {
	outline: 3px solid var(--jv-teal);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ------------------------------------------------------------ header and footer */
.jv-header, .jv-footer {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
	padding: 12px var(--jv-side); margin: 0 !important; max-width: none !important;
	background: #fff;
}
.jv-header { border-bottom: 1px solid var(--jv-sand); }
.jv-header p, .jv-footer p { margin: 0 !important; font-size: 15px; }
.jv-mark a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jv-ink) !important; font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: 0.01em; }
.jv-lang a, .jv-foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--jv-teal); }
html[lang^="nl"] .jv-lang-nl, html[lang^="en"] .jv-lang-en { font-weight: 600; color: var(--jv-ink) !important; text-decoration: none; }
.jv-footer { justify-content: center; background: var(--jv-beige); border-top: 1px solid var(--jv-sand); padding-top: 20px; padding-bottom: 20px; }
.jv-foot { color: var(--jv-foot); text-align: center; }

/* ------------------------------------------------------------ bands */
.jv-band { padding: var(--jv-pad) var(--jv-side) !important; margin: 0 !important; }
.jv-band--white { background: #fff; }
.jv-band--beige { background: var(--jv-beige); }
.jv-band--deep {
	background: linear-gradient(237deg, rgba(0,88,89,0) 62.94%, #005859 100%),
		linear-gradient(90deg, rgba(34,138,98,0) 40%, #228A62 100%), #006B62;
	color: #fff;
}
.jv-band--deep :is(h2, p, a, li), .jv-band.jv-band--deep h2 { color: #fff; }
.jv-band--deep a:focus-visible { outline-color: #fff; }
.jv-wrap { max-width: var(--jv-wrap); margin: 0 auto !important; padding: 0 !important; }
.jv-band h2 {
	font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--jv-ink);
	margin: 0 0 24px; letter-spacing: -0.01em;
}
@media (min-width: 768px) { .jv-band h2 { font-size: 31px; margin-bottom: 32px; } }
.jv-band .jv-lead { font-size: 17px; color: var(--jv-ink); margin-bottom: 24px; max-width: 760px; }
@media (min-width: 768px) { .jv-band .jv-lead { font-size: 19px; } }
.jv-sub { font-size: 19px; font-weight: 700; color: var(--jv-teal); margin: 32px 0 16px !important; }

/* ------------------------------------------------------------ hero */
.jv-band--hero {
	background: linear-gradient(92deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0) 74.68%), var(--jv-beige);
	padding-top: 40px !important;
}
.jv-hero__cols { max-width: var(--jv-wrap); margin: 0 auto !important; gap: 32px 56px !important; align-items: center !important; }
.jv-hero h1 { font-size: 36px; line-height: 1.15; font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .jv-hero h1 { font-size: 52px; } }
.jv-tagline { font-size: 18px; font-weight: 600; color: var(--jv-teal); line-height: 1.5; margin-bottom: 16px !important; }
.jv-hero .jv-lead { font-size: 17px; margin-bottom: 28px; }
.jv-hero__acts { display: flex !important; flex-wrap: wrap; gap: 12px !important; }
.jv-band .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
	padding: 12px 28px; border-radius: var(--jv-radius-btn); background: var(--jv-teal); color: #fff;
	font-family: var(--jv-font); font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none;
}
.jv-band .wp-block-button__link:hover { background: var(--jv-emerald); color: #fff; }
.jv-hero__acts .wp-block-button + .wp-block-button .wp-block-button__link {
	background: transparent; color: var(--jv-teal); box-shadow: inset 0 0 0 2px var(--jv-teal);
}
.jv-hero__acts .wp-block-button + .wp-block-button .wp-block-button__link:hover { background: #fff; color: var(--jv-teal); }
.jv-hero__img { margin: 0 !important; }
.jv-hero__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--jv-radius); display: block; }
@media (min-width: 782px) {
	.jv-hero__cols > .wp-block-column:first-child { flex-basis: 56% !important; }
	.jv-hero__cols > .wp-block-column:last-child { flex-basis: 44% !important; max-width: 460px; }
}
@media (max-width: 781px) { .jv-hero__img img { max-width: 420px; margin: 0 auto; } }

/* ------------------------------------------------------------ numbers */
.jv-kicker { font-size: 15px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--jv-lime) !important; margin-bottom: 24px !important; }
.jv-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 28px 16px; }
@media (min-width: 900px) { .jv-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }
.jv-stat { margin: 0 !important; }
.jv-band .jv-stat__fig { font-size: 26px; font-weight: 700; line-height: 1.1; color: #fff; white-space: nowrap; overflow-wrap: normal; }
@media (min-width: 420px) { .jv-band .jv-stat__fig { font-size: 30px; } }
@media (min-width: 768px) { .jv-band .jv-stat__fig { font-size: 44px; } }
.jv-stat__label { font-size: 15px; line-height: 1.45; margin-top: 8px !important; color: #fff; opacity: 0.92; }

/* ------------------------------------------------------------ about */
.jv-split .jv-prose p + p { margin-top: 18px; }
.jv-prose { max-width: 820px; }
@media (min-width: 900px) {
	.jv-split { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
	.jv-split > h2 { position: sticky; top: 24px; }
}

/* ------------------------------------------------------------ timeline */
.jv-timeline { position: relative; display: grid; gap: 28px; padding-left: 28px; max-width: 920px; }
.jv-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: var(--jv-teal); border-radius: 2px; }
.jv-tl__item { position: relative; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 0 !important; }
.jv-tl__item::before {
	content: ""; position: absolute; left: -27px; top: 10px; width: 15px; height: 15px; border-radius: 50%;
	background: var(--jv-beige); border: 3px solid var(--jv-teal); box-sizing: border-box;
}
.jv-tl__media { display: flex; gap: 10px; align-items: center; flex: none; margin: 0 !important; }
.jv-tl__media > figure { margin: 0 !important; }
.jv-tl__photo img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid #fff; }
.jv-tl__cover img { width: auto; height: 96px; max-width: 96px; object-fit: contain; display: block; }
.jv-tl__body { flex: 1 1 260px; min-width: 0; margin: 0 !important; }
.jv-tl__year { font-size: 15px; font-weight: 700; color: var(--jv-teal); letter-spacing: 0.02em; }
.jv-tl__text { font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) {
	.jv-timeline { padding-left: 44px; gap: 32px; }
	.jv-timeline::before { left: 13px; }
	.jv-tl__item::before { left: -38px; }
	.jv-tl__photo img { width: 112px; height: 112px; }
	.jv-tl__cover img { height: 112px; max-width: 110px; }
}

/* ------------------------------------------------------------ books */
.jv-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 640px) { .jv-books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .jv-books { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; } }
.jv-book { margin: 0 !important; display: flex; flex-direction: column; gap: 4px; }
.jv-book__cover { margin: 0 0 8px !important; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; justify-content: center; background: var(--jv-beige); border-radius: 12px; padding: 12px; box-sizing: border-box; }
.jv-book__cover img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.jv-book--text {
	align-self: start; aspect-ratio: 3 / 4; justify-content: flex-end;
	background: var(--jv-pale); border-radius: 12px; padding: 18px 16px; box-sizing: border-box;
	border-left: 6px solid var(--jv-teal);
}
.jv-book--text .jv-book__title { font-size: 18px; }
.jv-book--soon { background: var(--jv-teal); color: #fff; }
.jv-book--soon p { color: #fff; }
.jv-book__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--jv-lime) !important; }
.jv-book__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.jv-book__title em { font-style: normal; }
.jv-book__year { font-size: 14px; color: var(--jv-foot); }
.jv-book--soon .jv-book__year { color: #fff; }
.jv-book__note { font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------ what Jesse does now */
.jv-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .jv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .jv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.jv-card { position: relative; margin: 0 !important; background: #fff; border-radius: var(--jv-radius); padding: 24px; border-top: 4px solid var(--jv-teal); }
.jv-card__title { font-size: 19px !important; font-weight: 700; margin: 0 0 8px !important; }
.jv-card__title a { color: var(--jv-ink); text-decoration: none; }
.jv-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--jv-radius); }
.jv-card:hover .jv-card__title a { color: var(--jv-teal); text-decoration: underline; }
.jv-card__title a:focus-visible { outline: none; }
.jv-card__title a:focus-visible::after { outline: 3px solid var(--jv-teal); outline-offset: 3px; }
.jv-card__text { font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------ podcasts */
.jv-pods { display: grid; gap: 0; border-top: 1px solid var(--jv-sand); }
.jv-pod { position: relative; display: flex; align-items: center; gap: 16px; margin: 0 !important; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--jv-sand); }
.jv-pod__art { margin: 0 !important; flex: none; }
.jv-pod__art img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.jv-pod--noart { padding-left: 72px; }
.jv-pod__text { font-size: 16px; line-height: 1.55; }
.jv-pod__text a { color: var(--jv-ink); text-decoration: none; }
.jv-pod__text a::after { content: ""; position: absolute; inset: 0; }
.jv-pod:hover .jv-pod__text a { color: var(--jv-teal); text-decoration: underline; }
.jv-pod__text a:focus-visible { outline: none; }
.jv-pod__text a:focus-visible::after { outline: 3px solid var(--jv-teal); outline-offset: 2px; }
.jv-pod--own { border: 0; background: var(--jv-beige); border-radius: var(--jv-radius); padding: 20px; gap: 20px; }
.jv-pod--own .jv-pod__art img { width: 104px; height: 104px; }
.jv-pod--own .jv-pod__text { font-size: 18px; }
@media (max-width: 559px) { .jv-pod--noart { padding-left: 0; } .jv-pod--own { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------ media */
.jv-media { list-style: none; padding: 0 !important; margin: 0 !important; border-top: 1px solid var(--jv-sand); max-width: 920px; }
.jv-media li { padding: 12px 0; border-bottom: 1px solid var(--jv-sand); line-height: 1.55; }
.jv-media li a { display: inline; }

/* ------------------------------------------------------------ FAQ */
.jv-faq { max-width: 860px; border-top: 1px solid var(--jv-sand); }
.jv-q { margin: 0 !important; border-bottom: 1px solid var(--jv-sand); }
.jv-q summary {
	display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 14px 0; cursor: pointer;
	font-size: 18px; font-weight: 600; line-height: 1.4; list-style: none;
}
.jv-q summary::-webkit-details-marker { display: none; }
.jv-q summary::before {
	content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--jv-teal); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; line-height: 1;
}
.jv-q[open] summary::before { content: "\2212"; }
.jv-q > :not(summary) { margin: 0 0 14px 40px !important; }
.jv-q > :last-child { margin-bottom: 24px !important; }
.jv-faq__topic { font-size: 17px !important; font-weight: 700; color: var(--jv-teal); margin-top: 22px !important; margin-bottom: 6px !important; }
.jv-faq__topic-lead { margin-top: 22px !important; }
.jv-faq__topic-lead strong { color: var(--jv-teal); }
.jv-faq__list { padding-left: 20px !important; }
.jv-faq__list li { margin: 6px 0; font-size: 15.5px; line-height: 1.6; }
/* A citation link is a thumb's target too: its hit box reaches 44 px without moving the text. */
.jv-faq__list a, .jv-media li a { padding: 12px 0; }
@media (max-width: 559px) { .jv-q > :not(summary) { margin-left: 0 !important; } }

/* ------------------------------------------------------------ photos */
/* The before and after pair: each photo whole, at its own proportions; the columns follow the two
   aspect ratios (400 / 533 and 290 / 540) so both stand at the same height. */
/* The note above the pair on phones; at 768 and wider the note left, centred on the pair's height, and the pair right. */
@media (min-width: 768px) {
	.jv-photos .jv-wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 56px; align-items: center; }
	/* The bottom margin equals a caption with its gap (8 + 24 px), so the note centres on the photos themselves. */
	.jv-photos .jv-wrap > .jv-lead { grid-column: 1; margin: 0 0 32px !important; }
	.jv-photos .jv-pair { grid-column: 2; grid-row: 1; }
}
/* Two photos of one size: equal columns, one frame (16:25), each photo cropped from its top. */
.jv-pair { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; max-width: 640px; margin: 0 !important; }
@media (min-width: 768px) { .jv-pair { gap: 20px; } }
.jv-pair__item { margin: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.jv-pair__img { margin: 0 !important; }
.jv-pair__img img { width: 100%; height: auto; aspect-ratio: 16 / 25; object-fit: cover; object-position: center top; display: block; border-radius: 12px; }
.jv-pair__label { font-size: 15px; font-weight: 600; color: var(--jv-teal); margin: 0 !important; }

/* ------------------------------------------------------------ follow */
.jv-follow { display: flex !important; flex-wrap: wrap; list-style: none; gap: 12px !important; padding: 0 !important; margin: 0 !important; font-size: 16px !important; }
.jv-follow .wp-social-link { display: flex !important; margin: 0 !important; }
.jv-follow .wp-social-link { background: rgba(255,255,255,0.12) !important; color: #fff !important; border-radius: var(--jv-radius-btn) !important; }
.jv-follow .wp-block-social-link-anchor { min-height: 48px; padding: 10px 18px !important; gap: 10px; font-size: 16px; font-weight: 600; color: #fff !important; }
.jv-follow .wp-block-social-link-label { font-family: var(--jv-font); }
.jv-follow .wp-social-link svg { width: 24px; height: 24px; fill: currentColor; }
.jv-follow .wp-social-link:hover { background: rgba(255,255,255,0.22) !important; transform: none !important; }

/* ------------------------------------------------------------ contact */
.jv-narrow { max-width: 760px !important; }
.jv-form { display: grid; gap: 18px; margin: 8px 0 28px; }
.jv-form__row { display: grid; gap: 6px; }
.jv-form label { font-size: 15px; font-weight: 600; }
.jv-form input[type="text"], .jv-form input[type="email"], .jv-form select, .jv-form textarea {
	font: inherit; font-size: 16px; color: var(--jv-ink); background: #fff; width: 100%; box-sizing: border-box;
	min-height: 48px; padding: 10px 14px; border: 1.5px solid #8a8f91; border-radius: var(--jv-radius-btn);
}
.jv-form textarea { min-height: 160px; resize: vertical; }
.jv-form button {
	justify-self: start; min-height: 48px; padding: 12px 32px; border: 0; border-radius: var(--jv-radius-btn);
	background: var(--jv-teal); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
}
.jv-form button:hover { background: var(--jv-emerald); }
.jv-form button[disabled] { opacity: 0.7; cursor: progress; }
.jv-form__captcha { min-height: 65px; }
.jv-form__trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.jv-form__status { font-size: 16px; min-height: 1.5em; }
.jv-form__status.is-error { color: #a1260d; font-weight: 600; }
.jv-form__status.is-ok { color: var(--jv-teal); font-weight: 600; font-size: 18px; }
.jv-kit { font-size: 16px; }
.jv-kit a { display: inline-flex; align-items: center; min-height: 44px; }
