/* WEBJAS — één stylesheet, geen framework. */

:root {
  --papier: #F4F1EA;      /* achtergrond */
  --kaart: #FBF9F4;       /* projectkaarten */
  --inkt: #16140F;        /* tekst, lijnen, knoppen */
  --tekst-zacht: #3A362F; /* lopende tekst */
  --grijs: #5C574D;       /* labels, datums */
  --lijn: #DDD7CA;        /* dunne scheidingslijnen */
  --rand-zacht: #CFC8B8;  /* inactieve filterknoppen */
  --amber: #F0A020;       /* de broedlamp: alleen voor gloed, nooit voor tekst */

  --letter: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--letter);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--inkt); }
a:hover { color: var(--grijs); }
:focus-visible { outline: 2px solid var(--inkt); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* Kop */
.kop {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 28px 0;
}
.merk {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 26px; letter-spacing: 0.04em; text-decoration: none;
}
.lamp {
  display: inline-block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 12px 2px var(--amber);
}
.lamp-klein { width: 8px; height: 8px; box-shadow: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--mono); font-size: 14px; }
.nav a { padding: 12px 14px; text-decoration: none; }

/* Held */
.held { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 72px 0 96px; }
.held-tekst { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.label {
  font-family: var(--mono); font-size: 14px; color: var(--grijs);
  letter-spacing: 0.06em; text-transform: uppercase;
}
h1 { font-size: clamp(44px, 7vw, 92px); line-height: 0.98; font-weight: 800; letter-spacing: -0.02em; }
.intro { max-width: 540px; font-size: 21px; line-height: 1.5; color: var(--tekst-zacht); }

.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.knop {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px;
}
.knop-vol { background: var(--inkt); color: var(--papier); }
.knop-vol:hover { background: var(--tekst-zacht); color: var(--papier); }
.knop-rand { border: 1.5px solid var(--inkt); }

.ei-vak {
  flex: 1 1 260px; min-height: 340px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.ei {
  width: 220px; height: 280px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: var(--amber); box-shadow: 0 0 80px 18px var(--amber); opacity: 0.92;
}
.ei-status { font-family: var(--mono); font-size: 13px; color: var(--grijs); }

/* Blokken */
.blok { display: flex; flex-direction: column; gap: 28px; padding: 64px 0; border-top: 1.5px solid var(--inkt); }
.blok-kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.nummer { font-family: var(--mono); font-size: 13px; color: var(--grijs); margin-bottom: 8px; }
h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.01em; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--rand-zacht); background: transparent; color: var(--inkt);
  font-family: var(--mono); font-size: 13px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--inkt); border-color: var(--inkt); color: var(--papier); }

/* Projecten */
.projecten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.project {
  display: flex; flex-direction: column; gap: 14px; padding: 26px; min-height: 210px;
  border-radius: 16px; background: var(--kaart); border: 1px solid var(--lijn);
}
.project[hidden] { display: none; }
.project h3 { font-size: 26px; font-weight: 800; line-height: 1.15; }
.project > p:last-child { font-size: 17px; line-height: 1.5; color: var(--tekst-zacht); }
.stadium { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--tekst-zacht); }

/* De stip per stadium */
.stip { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
[data-stadium="broedt"] .stip { background: var(--amber); box-shadow: 0 0 14px 3px var(--amber); }
[data-stadium="uitgekomen"] .stip { background: var(--inkt); }
[data-stadium="idee"] .stip { width: 12px; height: 12px; border: 2px solid var(--inkt); }
[data-stadium="losgelaten"] .stip { border: 2px dashed #8A8478; }

.leeg { font-family: var(--mono); font-size: 14px; color: var(--grijs); }

/* Logboek */
.logboek { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--lijn); }
.logboek li { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 20px 0; border-top: 1px solid var(--lijn); }
.logboek time { flex: 0 0 140px; font-family: var(--mono); font-size: 14px; color: var(--grijs); padding-top: 3px; }
.logboek p { flex: 1 1 400px; font-size: 19px; line-height: 1.45; }

/* Over */
.blok-over { flex-direction: row; flex-wrap: wrap; gap: 28px 64px; padding-bottom: 96px; }
.blok-over > div:first-child { flex: 1 1 260px; }
.over-tekst {
  flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px;
  font-size: 19px; line-height: 1.55; color: var(--tekst-zacht);
}

/* Voet */
.voet { padding: 56px 0; background: var(--inkt); color: var(--papier); }
.voet-binnen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.voet a { color: var(--papier); }
.voet a:hover { color: var(--rand-zacht); }
.voet :focus-visible { outline-color: var(--papier); }
.voet-merk { font-size: 24px; }
.voet-nav { margin-right: -14px; }
.voet-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
.voet-zacht { flex-basis: 100%; font-family: var(--mono); font-size: 14px; color: var(--rand-zacht); }

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .held { padding: 40px 0 64px; }
  .ei-vak { min-height: 260px; }
  .ei { width: 160px; height: 204px; box-shadow: 0 0 60px 12px var(--amber); }
  h2 { font-size: 36px; }
  .voet-binnen { flex-direction: column; align-items: flex-start; }
  .voet-nav { margin: 0 0 0 -14px; }
}
