/* =========================================================
   CHAOSMONKEY — styles.css
   Kleuren:
   - Night Black  #1D1D1B  (basis, donker)
   - New White    #F9F6F5  (basis, licht)
   - Goud         #D4AF37  (accent 1; alleen als tekst op donker/bordeaux,
                            of als vlak met donkere tekst)
   - Bordeaux     #801818  (accent 2)

   Contrast (WCAG 2.2):
   - Night op White 15,71:1 (AAA)
   - Goud op Night   8,03:1 (AAA)
   - Bordeaux op White 9,47:1 (AAA)
   - Goud op Bordeaux 4,84:1 (AA normale tekst, enkel grote tekst AAA)
   - Goud op White   1,96:1 (NIET gebruiken voor tekst, randen of focus)
   - Bordeaux op Night 1,66:1 (NIET gebruiken voor tekst op donker)

   Lettertype: Neue Kabel via Adobe Fonts (geladen in index.html)
   Gewichten: 400 en 700
   ========================================================= */

/* ---------------------------------------------------------
   VARIABELEN
   --------------------------------------------------------- */

:root {
  /* Basiskleuren */
  --night: #1d1d1b;
  --night-soft: #262624;
  --night-light: #343431;
  --white: #f9f6f5;
  --white-soft: #f1ebe8;

  /* Accentkleuren */
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.18);
  --red: #801818;
  --red-dark: #5f1111;

  /* Tekst en lijnen */
  --text-muted-dark: rgba(249, 246, 245, 0.72);
  --text-muted-light: #5d5956;
  --line-dark: rgba(29, 29, 27, 0.18);
  --line-light: rgba(249, 246, 245, 0.2);

  /* Typografie */
  --font-main:
    "neue-kabel", "Futura", "Avenir Next", "Century Gothic", Arial, sans-serif;

  --font-mono:
    "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  /* Layout */
  --header-height: 80px;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --max-width: 1600px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------
   RESET EN BASIS
   --------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;

  color: var(--night);
  background:
    linear-gradient(rgba(29, 29, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 27, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 32px 32px;

  font-family: var(--font-main);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.55;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--red);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  max-width: 68ch;
}

strong {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

address {
  font-style: normal;
}

/*
  Focusrand:
  - Op donkere achtergronden: goud (8,03:1 op Night Black)
  - Op lichte achtergronden: bordeaux (9,47:1 op New White)
*/
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.section:not(.section--dark):not(.section--red) :focus-visible {
  outline-color: var(--red);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;

  padding: 0.8rem 1rem;

  color: var(--night);
  background: var(--gold);
  border: 2px solid var(--night);

  font-weight: 700;
  text-decoration: none;

  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------------------------------------------------------
   HEADER EN NAVIGATIE
   --------------------------------------------------------- */

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

  min-height: var(--header-height);

  color: var(--white);
  background: rgba(29, 29, 27, 0.95);
  border-bottom: 1px solid var(--line-light);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    background 200ms ease,
    box-shadow 200ms ease;
}

.site-header.scrolled {
  background: rgba(29, 29, 27, 0.99);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  width: min(100%, var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;

  color: var(--white);
  text-decoration: none;

  transition:
    opacity 180ms ease,
    transform 180ms var(--ease);
}

.brand:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.brand__logo {
  display: block;
  width: clamp(82px, 8vw, 125px);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.brand--footer .brand__logo {
  width: clamp(100px, 10vw, 145px);
  max-height: 80px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);

  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  position: relative;
  color: var(--white);

  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.09em;

  text-decoration: none;
  text-transform: uppercase;
}

.nav-menu a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;

  height: 3px;
  background: var(--gold);
  content: "";

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav-menu a:hover::after,
.nav-menu a.active::after,
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 0.75rem 1rem;

  color: var(--night) !important;
  background: var(--gold);
  border: 2px solid var(--gold);

  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-contact:hover {
  color: var(--white) !important;
  background: transparent;
}

.nav-toggle {
  display: none;

  width: 48px;
  height: 48px;
  padding: 0.7rem;

  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-light);

  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;

  width: 100%;
  height: 2px;
  margin-block: 5px;

  background: currentColor;

  transition:
    opacity 180ms ease,
    transform 220ms var(--ease);
}

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

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

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

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
  position: relative;

  display: grid;
  align-items: center;

  min-height: calc(100svh - var(--header-height));
  padding: clamp(4rem, 9vw, 9rem) var(--gutter);

  overflow: hidden;
  isolation: isolate;

  color: var(--white);
  background: var(--night);
}

.hero::before {
  position: absolute;
  z-index: -4;
  inset: 0;

  opacity: 0.1;
  background:
    linear-gradient(
      90deg,
      transparent 49.7%,
      var(--white) 50%,
      transparent 50.3%
    ),
    linear-gradient(transparent 49.7%, var(--white) 50%, transparent 50.3%);
  background-size: 5rem 5rem;

  content: "";
  pointer-events: none;

  mask-image: linear-gradient(to bottom, transparent, black 25%);
}

.hero__media {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 40%;

  overflow: hidden;
  background: var(--night-soft);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Verschuif het focuspunt, bv. object-position: 70% center; */
  object-position: center center;

  filter: saturate(0.85) contrast(1.06) brightness(0.82);
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      var(--night) 0%,
      rgba(29, 29, 27, 0.97) 28%,
      rgba(29, 29, 27, 0.74) 49%,
      rgba(29, 29, 27, 0.24) 80%,
      rgba(29, 29, 27, 0.15) 100%
    ),
    linear-gradient(0deg, rgba(29, 29, 27, 0.75), transparent 55%);
}

.hero__shape {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -6%;

  width: clamp(18rem, 35vw, 35rem);
  aspect-ratio: 1;

  background: var(--gold);
  clip-path: polygon(
    8% 3%,
    88% 0,
    100% 34%,
    82% 51%,
    100% 85%,
    58% 100%,
    41% 74%,
    0 91%,
    12% 48%,
    0 18%
  );

  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;

  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);

  font-size: clamp(4rem, 11.5vw, 11rem);
  line-height: 0.79;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 > span {
  display: block;
}

.hero h1 mark {
  display: block;

  max-width: 10ch;
  margin-top: 0.18em;

  color: var(--gold);
  background: transparent;
}

.hero__intro {
  max-width: 51rem;

  color: rgba(249, 246, 245, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;

  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  max-width: 52rem;
  margin-top: clamp(3rem, 7vw, 7rem);

  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.hero__meta > div {
  padding: 1rem;
  border-right: 1px solid var(--line-light);
}

.hero__meta > div:last-child {
  border-right: 0;
}

.hero__meta-label {
  display: block;
  margin-bottom: 0.35rem;

  color: var(--gold);

  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__meta strong {
  font-size: 0.95rem;
}

.hero__number {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2rem;

  color: var(--gold);

  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.1;
}

/* ---------------------------------------------------------
   KNOPPEN EN LINKS
   --------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  min-height: 3.4rem;
  padding: 0.9rem 1.3rem;

  color: var(--night);
  background: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 5px 5px 0 var(--white);

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease);
}

.button:hover {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 2px 2px 0 var(--gold);
  transform: translate(3px, 3px);
}

.button:active {
  box-shadow: none;
  transform: translate(5px, 5px);
}

.button--dark {
  width: fit-content;
  margin-top: 2rem;

  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 5px 5px 0 var(--gold);
}

.button--dark:hover {
  color: var(--white);
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 2px 2px 0 var(--night);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.text-link--light {
  color: var(--white);
}

.text-link--light:hover {
  color: var(--gold);
}

/* ---------------------------------------------------------
   EYEBROWS
   --------------------------------------------------------- */

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

  margin-bottom: 1.3rem;

  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 auto;

  width: 2.75rem;
  height: 0.55rem;

  background: var(--gold);
  content: "";
}

.section--dark .eyebrow {
  color: var(--gold);
}

.section:not(.section--dark):not(.section--red) .eyebrow {
  color: var(--red);
}

.section:not(.section--dark):not(.section--red) .eyebrow::before {
  background: var(--red);
}

/* ---------------------------------------------------------
   TICKER
   --------------------------------------------------------- */

.ticker {
  overflow: hidden;

  color: var(--night);
  background: var(--gold);

  border-top: 3px solid var(--night);
  border-bottom: 3px solid var(--night);
}

.ticker__track {
  display: flex;
  width: max-content;
  padding-block: 1rem;

  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;

  animation: ticker 30s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
}

/* Decoratief sterretje: Night Black op goud (8,03:1) */
.ticker__track span::after {
  margin-inline: 1.5rem;
  content: "✦";
  color: var(--night);
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

/* ---------------------------------------------------------
   ALGEMENE SECTIES
   --------------------------------------------------------- */

.section {
  position: relative;
  padding: var(--section-space) var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}

.section > * {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section--dark {
  color: var(--white);
  background:
    linear-gradient(rgba(249, 246, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 246, 245, 0.04) 1px, transparent 1px),
    var(--night);
  background-size: 32px 32px;
}

.section--red {
  color: var(--white);
  background:
    linear-gradient(rgba(249, 246, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 246, 245, 0.05) 1px, transparent 1px),
    var(--red);
  background-size: 32px 32px;
  border-bottom-color: rgba(249, 246, 245, 0.2);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  align-items: end;
  gap: 2rem;

  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: 1.5rem;

  border-bottom: 3px solid currentColor;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  text-transform: uppercase;
}

.section-heading > p {
  margin-bottom: 0;
}

.section--dark .section-heading > p {
  color: var(--text-muted-dark);
}

.section--red .section-heading > p {
  color: rgba(249, 246, 245, 0.85);
}

.section:not(.section--dark):not(.section--red) .section-heading > p {
  color: var(--text-muted-light);
}

/* ---------------------------------------------------------
   DIENSTEN
   --------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Rand in Night Black: goud op wit is slechts 1,96:1 */
.service-card {
  position: relative;

  min-height: 33rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);

  overflow: hidden;

  color: var(--night);
  background: var(--white);
  border: 2px solid var(--night);

  transition:
    color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease,
    transform 250ms var(--ease);
}

/* Decoratieve gouden vorm: geen tekst erop, dus geen contrasteis */
.service-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;

  width: 12rem;
  aspect-ratio: 1;

  background: var(--gold);
  clip-path: polygon(
    50% 0,
    62% 35%,
    100% 20%,
    72% 52%,
    100% 76%,
    62% 66%,
    49% 100%,
    38% 65%,
    0 80%,
    28% 52%,
    0 25%,
    38% 36%
  );

  content: "";
  opacity: 0.85;
  transition: transform 450ms var(--ease);
}

.service-card__number {
  display: block;
  margin-bottom: clamp(3rem, 7vw, 6rem);

  color: var(--text-muted-light);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.service-card__label {
  position: relative;
  z-index: 1;

  color: var(--red);

  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3vw, 3rem);
  text-transform: uppercase;
}

.service-card > p:not(.service-card__label),
.service-card ul {
  position: relative;
  z-index: 1;
}

.service-card ul {
  padding-left: 1.2rem;
}

.service-card li + li {
  margin-top: 0.4rem;
}

.service-card:hover {
  color: var(--white);
  background: var(--night);
  box-shadow: 8px 8px 0 var(--red);
  transform: translate(-4px, -4px);
}

.service-card:hover::after {
  transform: scale(1.35) rotate(40deg);
}

.service-card:hover .service-card__label {
  color: var(--gold);
}

.service-card:hover .service-card__number {
  color: var(--gold);
}

/* ---------------------------------------------------------
   FILTERS
   --------------------------------------------------------- */

.section-heading--work {
  align-items: end;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;

  margin: 0;
  padding: 0;
}

.filter-button {
  padding: 0.7rem 1rem;

  color: var(--night);
  background: transparent;
  border: 2px solid var(--night);

  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.filter-button:hover {
  color: var(--white);
  background: var(--night);
  transform: translateY(-2px);
}

.filter-button.is-active,
.filter-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   PROJECTEN MET FOTO'S
   --------------------------------------------------------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.project-card {
  position: relative;
  isolation: isolate;

  grid-column: span 5;

  display: grid;
  align-content: space-between;

  min-height: clamp(27rem, 46vw, 40rem);
  padding: clamp(1.5rem, 3vw, 3rem);

  overflow: hidden;

  color: var(--white);
  background: var(--night);
  border: 2px solid var(--night);
}

.project-card--large {
  grid-column: span 7;
}

.project-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(29, 29, 27, 0.99) 0%,
    rgba(29, 29, 27, 0.9) 26%,
    rgba(29, 29, 27, 0.35) 65%,
    rgba(29, 29, 27, 0.12) 100%
  );

  content: "";
  pointer-events: none;
}

.project-card::after {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  right: 1.25rem;

  width: 2.5rem;
  height: 2.5rem;

  background: var(--gold);
  clip-path: polygon(
    50% 0,
    61% 38%,
    100% 25%,
    70% 52%,
    100% 78%,
    61% 66%,
    50% 100%,
    39% 66%,
    0 78%,
    30% 52%,
    0 25%,
    39% 38%
  );

  content: "";
  transition: transform 400ms var(--ease);
}

.project-card:hover::after {
  transform: rotate(45deg);
}

.project-card__image {
  position: absolute;
  z-index: -2;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;

  filter: saturate(0.75) contrast(1.06) brightness(0.84);
  transform: scale(1.001);

  transition:
    transform 700ms var(--ease),
    filter 500ms ease;
}

.project-card:hover .project-card__image {
  filter: saturate(0.95) contrast(1.05) brightness(0.93);
  transform: scale(1.055);
}

.project-card__code {
  position: relative;
  z-index: 2;

  width: fit-content;
  padding: 0.45rem 0.6rem;

  color: var(--night);
  background: var(--gold);

  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-card__content {
  position: relative;
  z-index: 2;
  align-self: end;
}

.project-card__type {
  margin-bottom: 0.8rem;

  color: var(--gold);

  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 5vw, 4.6rem);
  text-transform: uppercase;
}

.project-card__content > p:last-child {
  margin-bottom: 0;
  color: rgba(249, 246, 245, 0.8);
}

.project-card.is-hidden {
  display: none;
}

/* ---------------------------------------------------------
   REFERENTIES
   --------------------------------------------------------- */

.references {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.5rem;

  border-top: 3px solid var(--night);
}

.references__label {
  color: var(--red);

  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.references__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.references__list span {
  padding: 0.7rem 0.9rem;

  background: var(--white-soft);
  border: 2px solid var(--night);

  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;

  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.references__list span:hover {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   PROCES (bordeaux sectie)
   Goud op bordeaux (4,84:1) enkel voor grote tekst,
   zoals procesnummers en statistieken.
   --------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;

  min-height: 22rem;
  padding: 1.5rem;

  border-top: 5px solid var(--gold);
  border-right: 1px solid rgba(249, 246, 245, 0.2);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::after {
  position: absolute;
  top: -0.65rem;
  right: -0.55rem;

  width: 1rem;
  height: 1rem;

  background: var(--gold);
  border: 2px solid var(--red);
  border-radius: 50%;

  content: "";
}

.process-step:last-child::after {
  display: none;
}

.process-step__number {
  display: block;
  margin-bottom: clamp(4rem, 7vw, 7rem);

  color: var(--gold);

  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.8;
}

.process-step h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  text-transform: uppercase;
}

.process-step p {
  color: rgba(249, 246, 245, 0.88);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;

  margin-top: 4rem;
  padding-top: 1.5rem;

  border-top: 2px solid var(--white);
}

.values span {
  padding: 0.65rem 0.9rem;

  color: var(--night);
  background: var(--gold);

  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   OVER KENNY
   --------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about-heading {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.about-grid h2 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  text-transform: uppercase;
}

.about-photo {
  position: relative;
  z-index: 0;

  margin: 3rem 0 0;
  padding: 0 1.25rem 1.25rem 0;
}

.about-photo::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;

  width: calc(100% - 2rem);
  height: calc(100% - 2rem);

  background: var(--gold);
  content: "";
}

.about-photo img {
  width: 100%;
  max-height: 680px;
  aspect-ratio: 4 / 5;
  object-fit: cover;

  /* Pas aan als het gezicht hoger of lager moet staan: center 25% */
  object-position: 55% 30%; /* focus op het gezicht */

  border: 2px solid var(--night);
  filter: saturate(0.85) contrast(1.05);
}

.about-photo figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 0;

  padding: 0.8rem 1rem;

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

  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-copy .lead {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-copy blockquote {
  margin: 3rem 0;
  padding-left: 1.5rem;

  border-left: 0.7rem solid var(--red);

  color: var(--red);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.about-copy__link {
  margin-top: 2rem;
  color: var(--night);
}

.about-copy__link:hover {
  color: var(--red);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;

  margin-top: 3rem;
}

/* Witte tekst op bordeaux (9,47:1); goud-cijfers zijn grote tekst (4,84:1, AA) */
.stat {
  padding: 1.3rem;

  color: var(--white);
  background: var(--red);
  border: 2px solid var(--red);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
}

.stat span {
  display: block;
  margin-top: 0.75rem;

  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

/* Rand in Night Black: goud op wit is slechts 1,96:1 */
.contact-card {
  min-height: 25rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);

  color: var(--night);
  background: var(--white);
  border: 2px solid var(--night);
}

.contact-card--primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: var(--gold);
}

.contact-card__label,
.contact-details__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card__label {
  color: var(--night);
}

.contact-card--primary h3 {
  max-width: 12ch;
  margin-bottom: auto;
  padding-top: 1.5rem;

  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  text-transform: uppercase;
}

.contact-mail {
  display: block;
  width: fit-content;

  color: var(--night);
  font-size: clamp(1.05rem, 2.3vw, 2rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Bordeaux op goud: 4,84:1, voldoet aan AA voor normale tekst */
.contact-mail:hover {
  color: var(--red);
}

.contact-details {
  display: grid;
  gap: 2rem;
}

.contact-details > div {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-details__label {
  margin-bottom: 0.5rem;
  color: var(--red);
}

.contact-details p {
  margin-bottom: 0;
}

.contact-details a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-details small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted-light);
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);

  color: var(--white);
  background: var(--night);
  border-top: 3px solid var(--red);
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;

  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer__services {
  color: var(--gold);
  font-size: 0.85rem;
}

.site-footer__copyright small {
  color: rgba(249, 246, 245, 0.6);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.noscript {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;

  margin: 0;
  padding: 1rem;

  color: var(--white);
  background: var(--red);
  border: 2px solid var(--night);
}

/* ---------------------------------------------------------
   REVEAL-ANIMATIES
   --------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition:
    opacity 700ms ease,
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   KEYFRAMES
   --------------------------------------------------------- */

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------
   AFBEELDINGEN ZONDER BESTAND
   --------------------------------------------------------- */

.image-missing {
  display: none !important;
}

.image-placeholder {
  display: grid;
  place-items: center;

  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 500px;

  color: var(--white);
  background: linear-gradient(135deg, var(--night-light), var(--night));
  border: 2px solid var(--night);

  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    z-index: -1;
    top: var(--header-height);
    right: 0;
    left: 0;

    display: grid;
    gap: 0;

    max-height: 0;
    overflow: hidden;

    visibility: hidden;
    opacity: 0;

    background: var(--night);
    border-bottom: 0 solid var(--gold);

    transition:
      max-height 350ms var(--ease),
      opacity 200ms ease,
      visibility 200ms ease,
      border-width 200ms ease;
  }

  .nav-menu.is-open {
    max-height: calc(100svh - var(--header-height));
    visibility: visible;
    opacity: 1;
    border-bottom-width: 6px;
  }

  .nav-menu li {
    border-top: 1px solid var(--line-light);
  }

  .nav-menu a {
    display: block;
    padding: 1.3rem var(--gutter);
    font-size: clamp(1.25rem, 5vw, 2rem);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-contact {
    color: var(--gold) !important;
    background: transparent;
    border: 0;
  }

  .hero__media {
    inset: 0;
  }

  .hero__media img {
    object-position: 62% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(29, 29, 27, 0.96), rgba(29, 29, 27, 0.65)),
      linear-gradient(0deg, rgba(29, 29, 27, 0.85), transparent 65%);
  }

  .hero__shape {
    opacity: 0.1;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filter-list {
    justify-content: flex-start;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(2)::after {
    display: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-heading {
    position: static;
  }

  .site-footer__inner {
    flex-wrap: wrap;
  }
}

/* ---------------------------------------------------------
   MOBIEL
   --------------------------------------------------------- */

@media (max-width: 700px) {
  :root {
    --gutter: 1rem;
    --section-space: 4.5rem;
  }

  body {
    background-size: 24px 24px;
  }

  .brand__logo {
    width: 95px;
    max-height: 56px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    padding-block: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 19vw, 6.5rem);
  }

  .hero__media img {
    object-position: 65% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(29, 29, 27, 0.92), rgba(29, 29, 27, 0.62)),
      linear-gradient(0deg, rgba(29, 29, 27, 0.97), transparent 72%);
  }

  .hero__shape {
    right: -12rem;
    width: 30rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__meta > div {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .hero__meta > div:last-child {
    border-bottom: 0;
  }

  .hero__number {
    display: none;
  }

  .section-heading h2,
  .about-grid h2 {
    font-size: clamp(2.8rem, 16vw, 5rem);
  }

  .services-grid,
  .process-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 27rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--large {
    grid-column: auto;
    min-height: 29rem;
  }

  .filter-list {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .process-step {
    min-height: 17rem;
    border-right: 0;
  }

  .process-step::after {
    display: none;
  }

  .references__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .references__list span {
    display: grid;
    place-items: center;
    min-height: 4rem;
    text-align: center;
  }

  .about-photo {
    margin-top: 2rem;
  }

  .contact-card {
    min-height: auto;
  }

  .button--dark {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------
   ZEER KLEINE SCHERMEN
   --------------------------------------------------------- */

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  .references__list {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   TOUCH-APPARATEN
   --------------------------------------------------------- */

@media (hover: none) {
  .service-card:hover {
    color: var(--night);
    background: var(--white);
    box-shadow: none;
    transform: none;
  }

  .service-card:hover .service-card__label {
    color: var(--red);
  }

  .service-card:hover .service-card__number {
    color: var(--text-muted-light);
  }

  .button:hover {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 5px 5px 0 var(--white);
    transform: none;
  }

  .button--dark:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
  }
}

/* ---------------------------------------------------------
   VERMINDERDE BEWEGING
   --------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker {
    overflow-x: auto;
  }

  .ticker__track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------
   PRINT
   --------------------------------------------------------- */

@media print {
  .site-header,
  .ticker,
  .hero__shape,
  .hero__number,
  .hero__actions,
  .filter-list,
  .button,
  .noscript {
    display: none !important;
  }

  body,
  .hero,
  .section,
  .section--dark,
  .section--red,
  .site-footer {
    color: #000 !important;
    background: #fff !important;
  }

  .hero {
    min-height: auto;
  }

  .hero__media,
  .hero__overlay {
    display: none;
  }

  .project-card,
  .service-card,
  .contact-card {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  .project-card__image {
    opacity: 0.25;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
