/* jordivangiezen.nl — design "Chalkboard"
   Kleuren volgen een Soft Summer-palet; het accent komt uit Instellingen (--accent). */

@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --accent: #E2B3C6;
  --bg: #1C2E33;
  --surface: #243A40;
  --line: #36505A;
  --line-strong: #4A6670;
  --text: #EEF0EE;
  --soft: #C8D3D7;
  --muted: #A7B6BC;
  --light-bg: #EEF0EE;
  --light-text: #1C2E33;
  --light-muted: #4A6670;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 6px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1, .h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4vw, 48px); }
h3 { font-size: 26px; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 16px; }
.mono, .mono-label { font-family: var(--mono); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 20px; line-height: 1.55; color: var(--soft); max-width: 640px; }
.lead-sm { font-size: 18px; line-height: 1.55; color: var(--soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 4px; font: 700 17px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { color: var(--bg); background: color-mix(in srgb, var(--accent) 85%, white); }
.btn-outline { border-color: var(--text); color: var(--text); font-weight: 500; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-size: 16px; }
.text-link--strong { font-weight: 700; font-size: 17px; }

/* header */
.editbar { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding: 8px 16px; background: var(--accent); color: var(--bg); font-size: 14px; font-family: var(--mono); }
.editbar a { color: var(--bg); font-weight: 500; }
.site-header { position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 44px; height: 44px; border: 2px solid var(--accent); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font: 500 15px var(--mono); color: var(--accent); }
.brand-name { font-weight: 700; font-size: 18px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--text); text-decoration: none; font-size: 15px; padding-block: 8px; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: transparent; border-radius: 4px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .no-js .site-nav { display: flex; position: static; }
}

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-block: 72px 96px; }
.hero-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero:not(.hero--image) .hero-text { max-width: 980px; }
.hero-image { flex: 1 1 340px; min-width: 0; margin: 0; }
.hero-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--line-strong); }

/* audience strip */
.strip { border-block: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-block: 22px; font: 14px var(--mono); color: var(--muted); }
.strip-label { color: var(--accent); }
.strip ul { display: contents; list-style: none; }

/* sections */
.section { padding-block: 104px 40px; display: flex; flex-direction: column; gap: 44px; }
.section-tight { padding-block: 56px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 20px; }
.section-head p { max-width: 460px; color: var(--soft); font-size: 17px; line-height: 1.5; }
.section-title { margin-bottom: 32px; }
.section-foot { margin-top: -12px; }
.page-head { padding-block: 72px 32px; display: flex; flex-direction: column; gap: 20px; }
.section-404 { padding-block: 120px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: border-color .15s, transform .15s; }
.card p { color: var(--soft); line-height: 1.6; }
.card .card-meta { font: 13px var(--mono); color: var(--muted); margin-top: auto; }
.card-num { font: 15px var(--mono); color: var(--accent); }
.card h3 a { color: var(--text); text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card--link:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-image { margin: -32px -32px 0; }
.card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

/* formats */
.formats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.formats li { padding: 32px; display: flex; flex-direction: column; gap: 8px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.formats .mono-label { font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.formats strong { font-size: 20px; line-height: 1.25; }

/* text block */
.text-block { padding-block: 104px; }
.text-block + .text-block:not(.section-light) { padding-top: 0; }
.text-block-inner { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.text-block-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.text-block-body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.text-block-image { margin: 16px 0 0; }
.text-block-image img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.section-light { background: var(--light-bg); color: var(--light-text); }
.section-light .eyebrow { color: var(--light-muted); }
.section-light a { color: var(--light-text); }
.section-light .prose blockquote { border-color: var(--light-muted); }
.section-light .prose code { background: #DCE2E2; }

/* prose (markdown) */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 32px; margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose h4 { font-size: 19px; margin-top: 1.2em; letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin-inline: 0; padding-left: 24px; border-left: 3px solid var(--accent); font-size: 1.1em; }
.prose code { font: .88em var(--mono); background: var(--surface); padding: 2px 6px; border-radius: 4px; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose-lg { font-size: 19px; line-height: 1.65; }

/* posts */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.post-row:hover .post-title { color: var(--accent); }
.post-title { font-size: 22px; font-weight: 500; line-height: 1.3; }
.post-date { font: 14px var(--mono); color: var(--muted); white-space: nowrap; }
.post-list--detailed .post-row { align-items: center; flex-wrap: nowrap; }
.post-row-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.post-excerpt { color: var(--soft); font-size: 16px; }
.post-thumb { flex: 0 0 120px; }
.post-thumb img { width: 120px; height: 80px; object-fit: cover; border-radius: 4px; }
@media (max-width: 640px) {
  .post-list--detailed .post-row { flex-wrap: wrap; }
  .post-thumb { display: none; }
}
.pager { display: flex; justify-content: space-between; gap: 16px; padding-top: 32px; font: 14px var(--mono); color: var(--muted); }

/* article */
.article-head { padding-block: 72px 40px; display: flex; flex-direction: column; gap: 20px; max-width: 980px; margin-left: 0; }
@media (min-width: 1240px) { .article-head { margin-left: calc((100vw - 1240px) / 2); } }
.article-meta { font: 14px var(--mono); color: var(--muted); }
.article-cover { margin-block: 0 48px; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.article .prose { font-size: 19px; line-height: 1.7; padding-bottom: 40px; }

/* misc blocks */
.image-block { margin-block: 56px; }
.image-block:not(.image-block--wide) { max-width: 920px; }
.image-block img { border-radius: var(--radius); width: 100%; }
.image-block figcaption { font: 14px var(--mono); color: var(--muted); margin-top: 12px; }
.quote { margin: 0; padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; font-weight: 500; }
.quote figcaption { margin-top: 20px; font: 15px var(--mono); color: var(--accent); }
.faq-list { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font-size: 21px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 26px var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details .prose { padding-bottom: 24px; color: var(--soft); }
.cta-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.cta-box h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.cta-box p { color: var(--soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* booking */
.booking { background: var(--surface); border: 2px solid var(--accent); border-radius: 8px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 48px 56px; }
.booking-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.booking-intro h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; }
.booking-intro .mono a { color: var(--text); font-size: 15px; }
.booking-form, .booking-done { flex: 999 1 520px; min-width: 0; }
.booking-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.booking-done { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--soft); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 16px var(--sans); padding: 14px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); width: 100%; min-height: 50px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field input[type="date"] { color-scheme: dark; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-error { grid-column: 1 / -1; padding: 14px 16px; border-radius: 4px; background: #4A2633; color: #F6DCE6; border: 1px solid #8C3B63; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; font: 13px var(--mono); color: var(--muted); }
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .hero { padding-block: 32px 64px; gap: 40px; }
  .section { padding-block: 72px 24px; }
  .text-block { padding-block: 72px; }
  .card, .formats li { padding: 24px; }
  .card-image { margin: -24px -24px 0; }
  .quote, .cta-box { padding: 28px; }
}

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