/* ==================================================
   FONTS

   Zelf gehost (geen verbinding met Google): de
   woff2-bestanden staan in /assets/fonts. Archivo is
   een variabel font, één bestand dekt 400 t/m 700.
================================================== */

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/archivo-black-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/archivo-black-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ==================================================
   VARIABELEN — Bold-design
================================================== */

:root {
  /* kleuren */
  --ink: #0d0d0d;
  --red: #e8391f;
  --paper: #ffffff;
  --surface: #f2f2f0;

  /* tekst op wit */
  --body: #555555;
  --label: #777777;

  /* tekst op zwart */
  --body-dark: #b5b5b5;
  --muted-dark: #8f8f8f;

  /* lijnen */
  --hairline: rgb(13 13 13 / 25%);
  --hairline-soft: rgb(13 13 13 / 20%);
  --hairline-dark: rgb(255 255 255 / 15%);
  --hairline-dark-strong: rgb(255 255 255 / 40%);

  /* typografie */
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --h1: clamp(2.375rem, 1.55rem + 3.5vw, 4.5rem);          /* 38 -> 72px */
  --h2: clamp(1.5rem, 1.3rem + 0.85vw, 2.25rem);           /* 24 -> 36px */
  --h2-num: clamp(0.875rem, 0.8rem + 0.3vw, 1.125rem);     /* 14 -> 18px */
  --h-contact: clamp(1.875rem, 1.6rem + 1.2vw, 3rem);      /* 30 -> 48px */
  --h-card: clamp(1.0625rem, 1.03rem + 0.15vw, 1.1875rem); /* 17 -> 19px */
  --h-step: clamp(1.625rem, 1.4rem + 0.9vw, 2.5rem);       /* 26 -> 40px */

  --text: clamp(0.90625rem, 0.88rem + 0.1vw, 0.9375rem);   /* 14.5 -> 15px */
  --text-l: clamp(0.90625rem, 0.87rem + 0.15vw, 0.96875rem); /* 14.5 -> 15.5px */
  --text-s: clamp(0.84375rem, 0.83rem + 0.05vw, 0.875rem); /* 13.5 -> 14px */
  --text-quote: clamp(1.03125rem, 0.95rem + 0.35vw, 1.3125rem); /* 16.5 -> 21px */

  --mono-xs: 0.65625rem;  /* 10.5px */
  --mono-s: 0.6875rem;    /* 11px   */
  --mono-m: 0.75rem;      /* 12px   */

  /* maten */
  --container-width: 1280px;
  --section-padding: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --section-padding-block: clamp(3rem, 2.4rem + 2.4vw, 4.75rem);

  --space-xs: clamp(0.5rem, 0.45rem + 0.2vw, 0.75rem);
  --space-s: clamp(0.75rem, 0.65rem + 0.4vw, 1rem);
  --space-m: clamp(1rem, 0.85rem + 0.6vw, 1.5rem);
  --space-l: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  --space-xl: clamp(2.25rem, 1.7rem + 1.8vw, 3.5rem);

  --content-gap-s: clamp(0.6rem, 0.5rem + 0.25vw, 0.75rem);
  --content-gap-m: clamp(0.9rem, 0.75rem + 0.45vw, 1.25rem);

  /* alles hoekig in dit ontwerp */
  --radius: 0;
}


/* ==================================================
   BASIS
================================================== */

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

html {
  scroll-behavior: smooth;
  /* ankers stoppen niet ónder de sticky header */
  scroll-padding-top: calc(var(--header-height, 4rem) + 1.5rem);
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: 1.5;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding-block) var(--section-padding);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: var(--h1);
  line-height: 1.02;
}

.container {
  width: 100%;
  max-width: var(--container-width);
}

/* lopende tekst op witte/lichte secties */
.lede {
  color: var(--body);
  font-size: var(--text);
  line-height: 1.65;
}


/* ==================================================
   SECTIEKOP (nummer + titel op één baseline)
================================================== */

.section-head {
  display: flex;
  align-items: baseline;
  gap: clamp(0.75rem, 0.6rem + 0.5vw, 1.125rem);

  margin-bottom: var(--space-l);
}

.section-head__num {
  font-family: var(--font-display);
  font-size: var(--h2-num);
  color: var(--red);
}

.section-head__title {
  font-size: var(--h2);
}


/* ==================================================
   KNOPPEN
================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;

  padding: 1rem 1.625rem;

  background-color: var(--red);
  color: #fff;

  font-family: var(--font-body);
  font-size: 0.84375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;

  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.btn:hover {
  background-color: #fff;
  color: var(--ink);
}

/* omlijnde mono-variant (op donkere ondergrond) */
.btn--ghost {
  padding: 0.9375rem 1.375rem;

  background-color: transparent;
  color: #fff;

  font-family: var(--font-mono);
  font-size: var(--mono-m);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;

  border: 1px solid var(--hairline-dark-strong);
}

.btn--ghost:hover {
  background-color: transparent;
  color: var(--red);

  border-color: var(--red);
}


/* ==================================================
   HEADER (donkere balk)
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: center;

  background-color: var(--ink);

  padding-inline: var(--section-padding);
}

.header-container {
  width: 100%;
  max-width: var(--container-width);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-m);

  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.brand__dot {
  display: inline-block;
  width: 8px;
  height: 8px;

  background-color: var(--red);
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: var(--mono-xs);
  color: var(--muted-dark);
}

.brand:hover .brand__name {
  color: var(--red);
}


/* navigatie */

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;

  margin: 0;
  padding: 0;

  text-wrap: nowrap;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: var(--mono-s);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a.btn {
  padding: 0.625rem 1.125rem;

  color: #fff;

  font-family: var(--font-mono);
  font-size: var(--mono-s);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.site-nav a.btn:hover {
  background-color: #fff;
  color: var(--ink);
}


/* ==================================================
   MOBIELE NAVIGATIE
================================================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;

  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem 0.25rem;

  background: transparent;
  border: none;

  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;

  background-color: #fff;

  transition: transform 0.15s ease, opacity 0.15s ease, width 0.15s ease, background-color 0.15s ease;
}

/* onderste streepje korter en rood, zoals in het design */
.nav-toggle__bar:nth-child(3) {
  width: 16px;

  background-color: var(--red);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  width: 24px;

  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {

  .nav-toggle {
    position: relative;
    z-index: 110;

    display: flex;
  }

  /* merknaam blijft zichtbaar bóven het open menu */
  .brand {
    position: relative;
    z-index: 110;
  }

  .brand__tagline {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 90;

    display: none;
    align-items: center;
    justify-content: center;

    padding: var(--space-xl) var(--section-padding);

    background-color: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);

    width: 100%;
    max-width: 22rem;
  }

  .site-nav ul li {
    width: 100%;

    text-align: center;
  }

  .site-nav a {
    display: block;

    padding: var(--space-s) 0;

    font-size: 1rem;
  }

  .site-nav a.btn {
    width: 100%;
    padding: var(--space-s) 0;

    background-color: var(--red);

    font-size: 1rem;
  }

}

body.nav-open {
  overflow: hidden;
}


/* ==================================================
   404
================================================== */

.error-page {
  min-height: 70vh;
  justify-content: center;
}

.error-page__container {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: var(--content-gap-m);

  max-width: 40rem;

  text-align: center;
}

.error-page__code {
  color: var(--red);

  font-family: var(--font-display);
  font-size: var(--h1);
  line-height: 1;
}

.error-page__text {
  color: var(--body);
  line-height: 1.65;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

  gap: var(--space-m);

  padding-top: var(--space-s);
}

.error-page__link {
  color: var(--red);

  font-family: var(--font-mono);
  font-size: var(--mono-m);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.error-page__link:hover {
  color: var(--ink);
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
  display: flex;
  justify-content: center;

  border-top: 1px solid var(--hairline-soft);

  padding-inline: var(--section-padding);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--container-width);

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-s) var(--space-l);

  padding-block: 1.125rem;

  font-family: var(--font-mono);
  font-size: var(--mono-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.4375rem;

  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-footer__brand .brand__dot {
  width: 7px;
  height: 7px;
}

@media (max-width: 600px) {

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;

    text-align: center;
  }

}
