/* bengosman.nl — one stylesheet for the whole site (redesign 2026-10-27).
   System font stack: no web fonts, no third-party requests. Light theme. */

:root {
  --ink: #111827;        /* headings */
  --text: #374151;       /* body text  (10.3:1 on white) */
  --muted: #5b6472;      /* secondary  (5.9:1 on white) */
  --line: #e5e7eb;
  --soft: #f4f6f9;       /* light bands */
  --accent: #1d4ed8;     /* links, buttons (6.7:1 on white) */
  --accent-dark: #1e3a8a;
  --footer: #111827;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --measure: 70ch;       /* line length of running text */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 17px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.brand:hover { color: var(--ink); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
nav a {
  display: block; padding: 8px 8px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
}
nav a:hover { color: var(--ink); background: var(--soft); }
nav a[aria-current="page"] { color: var(--accent); background: #eef2ff; }
.menu-toggle { display: none; }

/* ---------- home ---------- */
.hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.hero h1 { margin: 0 0 20px; font-size: clamp(44px, 7vw, 76px); font-weight: 800; letter-spacing: -.035em; }
.hero .lead { margin: 0 0 14px; max-width: 34em; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.55; color: var(--ink); }
.hero .sub { margin: 0 0 30px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cbd2dc; }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero-figure { margin: 0; }
.hero-photo {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 40%;
  border-radius: 20px; box-shadow: var(--shadow);
  filter: grayscale(1) contrast(1.05) brightness(1.04);
}

.section-title { margin: 0 0 32px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 750; }
.activities { padding: 80px 0 96px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.card a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--soft); }
.card-type {
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px 22px; padding: 24px;
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8); color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -.01em;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; }

.contact-band { background: var(--soft); padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.contact-band .section-title { margin: 0; }
.contact-lines { margin: 0; font-size: 19px; line-height: 1.8; color: var(--ink); }

/* ---------- inner pages ---------- */
.page-head { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); padding: 72px 0 24px; }
.page-head h1 { margin: 0; font-size: clamp(36px, 5.5vw, 60px); font-weight: 800; letter-spacing: -.03em; }

.content { max-width: 860px; margin: 0 auto; padding: 32px 24px 96px; overflow-wrap: break-word; }
.content > *, .content section > * { max-width: var(--measure); }
.content > section, .content figure { max-width: none; }
.content p { margin: 0 0 1.1em; }
.content ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.content li { margin-bottom: .35em; }
.content h2 { margin: 0 0 18px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
.content h2 small { display: inline-block; font-size: .62em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.content section + section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.content figure { margin: 32px 0; }
.content .center { text-align: left; }
.photo { display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo.portrait { max-width: min(100%, 460px); }
.logo-img { display: block; max-height: 140px; width: auto; }
.icon { width: 40px; height: 40px; }

.legal h2 { font-size: 20px; margin-top: 2.2em; }
.legal .lead { color: var(--ink); }
.notfound { min-height: 30vh; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #cbd2dc; font-size: 15px; padding: 56px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer p { margin: 0; line-height: 1.8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-name { color: #fff; font-weight: 700; font-size: 18px; }
.copyright { margin-top: 40px; padding-top: 20px; background: linear-gradient(#263041 0 0) top / calc(100% - 48px) 1px no-repeat; font-size: 13px; color: #9aa3b2; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    color: var(--ink); font: 600 15px var(--font); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .bar { flex-wrap: wrap; }
  nav { flex: 1 0 100%; }
  .js nav { display: none; }
  .js nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 4px 0 16px; }
  nav a { padding: 12px 8px; font-size: 17px; border-radius: 8px; }
}
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow, .content { padding-left: 20px; padding-right: 20px; }
  .bar { min-height: 64px; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-figure { order: -1; }
  .hero-photo { width: 132px; aspect-ratio: 1; border-radius: 50%; }
  .activities { padding: 56px 0 64px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .contact-band { padding: 56px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .page-head { padding: 44px 0 12px; }
  .content { padding-top: 24px; padding-bottom: 64px; }
  .content section + section { margin-top: 40px; padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
