/* ===== Design tokens — "Het Systeem" (juli 2026) ===== */
:root {
  --pine: #12352B;
  --pine-panel: #1B4436;
  --lime: #C9F16A;
  --lime-tint: #E7F5C9;
  --actie-tint: #F1F7E4;
  --page: #F4F6F1;
  --card-border: #CBD8CC;
  --aud-border: #DCE5DA;
  --head: #12352B;
  --body-text: #33493E;
  --on-lime: #2A4636;
  --on-lime-2: #1E4230;
  --on-pine: #D7E4D9;
  --on-pine-2: #C6D8CB;
  --muted: #5F7367;
  --faint: #8CA093;
  --green: #4A7A28;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
}

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  color: var(--head);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pine); color: var(--lime); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Hero (pine masthead) ===== */
.hero {
  background: var(--pine);
  color: var(--page);
  padding: 34px 56px 40px;
}
.hero-inner { margin: 0 auto; }
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 20px;
}
.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.lang-toggle a {
  color: var(--on-pine);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid #3C5E4F;
  border-radius: 999px;
}
.lang-toggle a.is-active {
  background: var(--lime);
  color: var(--pine);
  border-color: var(--lime);
  font-weight: 700;
}
.lang-toggle a:hover { border-color: var(--lime); color: var(--lime); }
.lang-toggle a.is-active:hover { color: var(--pine); }
.lang-toggle .sep { display: none; }
.hero h1 {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.hero h1 .accent { color: var(--page); }

/* ===== Hero: titel + bio + CTA links, foto rechts ===== */
.hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 4px;
}
.hero-copy {
  flex: 1.1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vw, 24px);
}
.hero-bio {
  margin: 0;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.55;
  color: var(--on-pine);
  max-width: 28em;
  text-wrap: pretty;
}
.hero-bio strong {
  font-weight: 700;
  color: var(--page);
}
.hero-photo {
  position: relative;
  flex: 0 0 clamp(120px, 22vw, 260px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.cta-button {
  display: inline-block;
  align-self: flex-start;
  background: var(--lime);
  color: var(--pine);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.cta-button:hover { background: var(--page); color: var(--pine); }

/* ===== Nieuwsbrief (aanmeldblok) ===== */
.nieuwsbrief {
  background: var(--pine-panel);
  color: var(--page);
  margin: 20px 56px 0;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px) clamp(22px, 4vw, 36px);
}
.nieuwsbrief-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 44px);
}
.nieuwsbrief-copy { flex: 1 1 320px; }
.nieuwsbrief-copy h2 {
  margin: 0 0 12px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.05;
  color: var(--lime);
}
.nieuwsbrief-copy p {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 15px);
  line-height: 1.6;
  color: var(--on-pine);
  max-width: 32em;
  text-wrap: pretty;
}
.nieuwsbrief-form-col { flex: 1 1 300px; max-width: 520px; }

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.signup-form input[type="email"],
.signup-row input[type="text"] {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  border: none;
  background: #fff;
  color: var(--head);
  border-radius: 10px;
  width: 100%;
}
.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.signup-row input[type="text"] { flex: 1 1 140px; min-width: 0; }
.signup-row input[type="email"] { flex: 2 1 200px; min-width: 0; }
/* honeypot anti-spam field — must stay invisible and untouched by real visitors */
.signup-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signup-submit {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border: none;
  background: var(--lime);
  color: var(--pine);
  cursor: pointer;
  border-radius: 999px;
  min-height: 46px;
}
.signup-submit:hover { background: var(--page); }

.signup-note {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--on-pine-2);
}
.signup-note a {
  color: var(--on-pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-note a:hover { color: var(--lime); }
.archive-link {
  color: var(--lime);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.archive-link:hover { color: var(--page); }

/* ===== Waar ik over schrijf (doelgroepkaarten) ===== */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding: 20px 56px 0;
}
.topic-card {
  background: #fff;
  border: 1px solid var(--aud-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  padding: 20px 22px 22px;
  display: block;
}
.topic-card:hover { border-color: var(--green); }
.topic-nr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--pine);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.topic-card h3 {
  margin: 14px 0 8px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  color: var(--pine);
}
.topic-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body-text);
  text-wrap: pretty;
}

/* ===== Over mij ===== */
.over-mij {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 56px 0;
}
.over-mij-label {
  flex: 0 1 200px;
  min-width: min(100%, 170px);
  background: var(--lime);
  color: var(--pine);
  border-radius: 12px;
  padding: 20px 22px;
}
.over-mij-label h2 {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}
.over-mij-text {
  flex: 1 1 420px;
  min-width: min(100%, 300px);
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.over-mij-text p {
  margin: 0;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-text);
  max-width: 46em;
  text-wrap: pretty;
}
.over-mij-text a { color: var(--green); font-weight: 700; }

/* ===== Ook van mij / contact / footer ===== */
.colofon {
  padding: 32px 56px 32px;
  margin-top: 8px;
}
.colofon-inner { margin: 0 auto; }
.colofon-lead {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 42em;
}
.colofon-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.colofon-projects a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
}
.project-logo-ss { height: 14px; width: auto; display: block; }
.hxrry-lockup { display: flex; align-items: center; gap: 5px; }
.hxrry-badge {
  width: 16px; height: 16px; border-radius: 50%;
  background: #f6946a; color: #2b2620;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800; font-size: 11px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.hxrry-word {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800; font-size: 15px; color: #2b2620; line-height: 1;
}
.ys-word {
  font-family: 'Archivo Black', 'Instrument Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #1ed760;
  line-height: 1;
  letter-spacing: -0.01em;
}
.project-desc { font-size: 12px; color: var(--muted); }
.colofon-projects a:hover .project-desc { color: var(--pine); }
.contact-line {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--body-text);
}
.contact-line a {
  color: var(--pine);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 11.5px;
  color: var(--faint);
  border-top: 1px solid var(--card-border);
  padding-top: 14px;
}
.legal-row a {
  color: var(--faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Smalle schermen ===== */
@media (max-width: 700px) {
  .hero { padding: 24px 22px 30px; }
  .nieuwsbrief { margin: 16px 22px 0; }
  .topics, .over-mij { padding-left: 22px; padding-right: 22px; }
  .colofon { padding-left: 22px; padding-right: 22px; }
}
