/* ==========================================================================
 * De stylesheet van de site. Met de hand geschreven, geen framework.
 *
 * Roboto Mono is de enige letter, wit de enige achtergrond. Verder alleen
 * dunne lijnen, een lichtgrijze band en de vijf merkpixels. Niets is rond.
 *
 * Twee breekpunten, dezelfde als voorheen: 640px (sm) en 768px (md).
 * ========================================================================== */

:root {
  --ink: #111111; /* hoofdtekst, bijna zwart */
  --muted: #6b6b68; /* bijtekst, gedempt grijs */
  --rule: #e4e4e1; /* dunne lijnen */
  --band: #f7f7f6; /* de grijze band */
  --band-hover: #efefec;
  --hair: #a3a3a3; /* onderstreping van een link in rust */
  --hair-strong: #d4d4d4; /* rand van de call-out bij hover */

  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Vierkante randen overal: geen ronde hoeken, nergens. */
input,
button,
textarea,
select {
  font: inherit;
  border-radius: 0;
}

img,
iframe {
  max-width: 100%;
}

/* Eén duidelijke focusstaat voor wie met het toetsenbord werkt. */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
 * Hulpklassen
 * ------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* De sprong naar de inhoud: onzichtbaar tot hij focus krijgt. */
.skip:focus {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 10;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  border: 1px solid var(--ink);
  background: #ffffff;
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
}

/* De inhoudskolom: maximaal 48rem breed. */
.container {
  margin-inline: auto;
  width: 100%;
  max-width: 48rem;
  padding-inline: 24px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

/* -------------------------------------------------------------------------
 * Het merk: vijf vierkantjes van 8 bij 8, altijd vierkant, nooit rond.
 * ------------------------------------------------------------------------- */
.pixel {
  display: block;
  width: 8px;
  height: 8px;
  flex: none;
}

.pixel--live {
  animation: pixel-pulse 2s ease-in-out infinite;
}

@keyframes pixel-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.pixels {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lockup {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.lockup .pixels {
  gap: 4px;
}

/* Het woordmerk. De negatieve marge rechts heft de laatste letterruimte op,
   zodat het merk optisch gelijk staat met wat erachter komt. */
.wordmark {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}

/* -------------------------------------------------------------------------
 * Koptekst en voettekst
 * ------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: #ffffff;
}

.site-header .container,
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .container {
  padding-block: 24px;
}

/* EN / NL. De enige taalknop van de site. */
.lang {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.lang .sep {
  color: var(--hair);
}

.lang a {
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current] {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: #ffffff;
}

.site-footer .container {
  padding-block: 48px;
}

.footer-links {
  margin-top: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

/* 2,8px is de halve regelafstand van de regel ernaast: zonder die marge lijnt
   het icoon uit op de onderkant van de regelbox, net onder de tekst zelf. */
.footer-linkedin {
  margin-bottom: 2.8px;
  display: flex;
  flex: none;
  color: var(--ink);
  transition: color 150ms;
}

.footer-linkedin:hover {
  color: var(--muted);
}

.footer-note {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.footer-note p {
  margin: 0;
  max-width: 32rem;
  font-size: 12px;
  line-height: 1.625;
  color: var(--muted);
}

/* -------------------------------------------------------------------------
 * Tekst
 * ------------------------------------------------------------------------- */
a {
  color: var(--ink);
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hair);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.link:hover {
  text-decoration-color: var(--ink);
}

.h1 {
  margin: 0;
  max-width: 42rem;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

.h1--hero {
  font-size: clamp(30px, 10vw, 40px);
}

.h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .h1 {
    font-size: 45px;
  }

  /* Op een breed scherm gebruikt de hero de volle kolom en staan de letters
     iets krapper, zodat "being established." op één regel blijft. */
  .h1--hero {
    max-width: none;
    font-size: 67.5px;
    letter-spacing: -0.035em;
  }

  .h2 {
    font-size: 34px;
  }
}

.body {
  margin: 0;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.625;
}

.body--muted {
  color: var(--muted);
}

.meta {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* Klein kopje met één merkpixel ervoor. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

/* -------------------------------------------------------------------------
 * Secties. Ze wisselen elkaar af: grijs, wit, grijs, wit. Alleen de grijze
 * banden dragen lijnen, zodat er precies één lijn tussen twee secties staat.
 * ------------------------------------------------------------------------- */
.section {
  padding-block: 56px;
}

.section--grey {
  border-block: 1px solid var(--rule);
  background: var(--band);
}

/* De laatste grijze band laat zijn onderlijn aan de voettekst. */
.section--grey-last {
  border-top: 1px solid var(--rule);
  background: var(--band);
}

.section--ruled {
  border-top: 1px solid var(--rule);
}

.section--head {
  padding-block: 32px 40px;
}

.section--tail {
  padding-block: 0 64px;
}

.section--page {
  padding-block: 32px 64px;
}

@media (min-width: 640px) {
  .section {
    padding-block: 64px;
  }

  .section--head {
    padding-block: 48px;
  }

  .section--tail {
    padding-block: 0 80px;
  }

  .section--page {
    padding-block: 48px 80px;
  }
}

/* De hoofdstukken van een tekstpagina en van de FAQ. */
/* -------------------------------------------------------------------------
 * Het persbericht: een lopende tekst met tussenkopjes en citaten.
 * ------------------------------------------------------------------------- */

/* De regel boven de titel. Bewust niet `.meta`: die zet alles in kapitalen en
   dan wordt "Voor onmiddellijke publicatie" geschreeuwd. */
.release-kicker {
  margin: 0;
  font-size: 12px;
  line-height: 1.625;
  color: var(--muted);
}

.release {
  margin-top: 40px;
  max-width: 42rem;
}

.release p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.625;
}

/* De openingsalinea, net als de vetgedrukte eerste regel in de accordeon. */
.release .lead {
  font-weight: 700;
}

.release h2 {
  margin: 40px 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.release .quote {
  margin: 32px 0;
  border-left: 1px solid var(--rule);
  padding-left: 20px;
}

.release .quote p {
  margin: 0;
  font-style: italic;
}

.release .quote footer {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.625;
  color: var(--muted);
  font-style: normal;
}

/* De noot voor de redactie, achter een streep zoals in het persbericht zelf. */
.release-note {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  max-width: 42rem;
}

.release-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.625;
  color: var(--muted);
}

/* -------------------------------------------------------------------------
 * De call-out: één belangrijke mededeling in een kader, in zijn geheel
 * klikbaar, wit bij hover.
 * ------------------------------------------------------------------------- */
.callout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--rule);
  background: var(--band);
  padding: 16px 20px;
  text-align: left;
  text-decoration: none;
  transition: background-color 150ms, border-color 150ms;
}

a.callout:hover {
  border-color: var(--hair-strong);
  background: #ffffff;
}

.callout .title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.625;
  color: var(--ink);
}

.callout .sub {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
}

.callout .arrow {
  flex: none;
  align-self: center;
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
}

.callout--dead {
  color: var(--muted);
}

.callout--dead .title,
.callout--dead .sub {
  color: inherit;
}

/* -------------------------------------------------------------------------
 * Knoppen: zwart blok, witte letters, vierkante hoeken, keert om bij hover.
 * ------------------------------------------------------------------------- */
.button {
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--ink);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 150ms, color 150ms;
}

a.button:hover {
  background: #ffffff;
  color: var(--ink);
}

.button--dead {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
}

.button--small {
  width: fit-content;
  flex: none;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------------------------------------------------------------
 * De accordeon. <details> doet het openklappen zelf, dus hier is geen
 * JavaScript voor nodig; `name` zorgt dat er één tegelijk openstaat.
 * ------------------------------------------------------------------------- */
.accordion {
  border-top: 1px solid var(--rule);
}

.accordion details {
  border-bottom: 1px solid var(--rule);
}

.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary h3,
.accordion summary .q {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.375;
}

.accordion--bold summary h3,
.accordion--bold summary .q {
  font-weight: 700;
}

/* Het plusje rechts wordt een minnetje zodra de rij openstaat. */
.accordion summary::after {
  content: "+";
  flex: none;
  margin-top: 1px;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion .answer {
  display: flex;
  max-width: 42rem;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  padding-right: 24px;
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
}

.accordion .answer p {
  margin: 0;
}

/* De vetgedrukte eerste regel van een alinea. */
.accordion .answer .lead {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

/* De statusrijen: een vinkje of een klein molentje voor de vraag. */
.accordion .status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.accordion .status .marker {
  margin-top: 3px;
  display: flex;
  height: 16px;
  width: 16px;
  flex: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.spinner {
  animation: spinner-rotate 1.4s linear infinite;
}

@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* -------------------------------------------------------------------------
 * Lijsten met rijen: het nieuws en de persdownloads.
 * ------------------------------------------------------------------------- */
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

/* Lucht tussen de inleiding en de lijst op de perspagina. Dit kan niet met
   een mt-hulpklasse: `.rows` hierboven zet `margin: 0` en staat verderop in
   dit bestand dan die klassen, dus die verliezen. Deze regel moet daarom na
   `.rows` blijven staan. */
.rows--press {
  margin-top: 64px;
}

/* Zelfde maat als `mt-5` bij de prioriteiten, zodat het nieuwsblok op de
   homepage dezelfde afstand houdt tussen het kopje en wat eronder komt. */
.rows--news {
  margin-top: 20px;
}

.rows li {
  border-bottom: 1px solid var(--rule);
}

.row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 16px;
  text-decoration: none;
}

.row--press {
  gap: 12px;
}

.row .row-title {
  font-size: 15px;
  line-height: 1.375;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hair);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.row:hover .row-title,
.row:hover .row-side {
  text-decoration-color: var(--ink);
}

.row .row-side {
  flex: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--hair);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.row--dead .row-title {
  color: var(--muted);
  text-decoration: none;
}

.row--press:hover .button--small {
  background: #ffffff;
  color: var(--ink);
}

.nowrap {
  white-space: nowrap;
}

@media (min-width: 640px) {
  .row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
  }

  .row--press {
    align-items: center;
  }
}

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

  .pixel--live,
  .spinner {
    animation: none;
  }

  .pixel--live {
    opacity: 1;
  }
}
