/* Wites parkeerpagina, zelfde tokens als wites.nl (Operator-stijl) */
@font-face { font-family: "Raleway"; src: url("fonts/raleway-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

:root {
  --primary: #036771;
  --op-green: var(--primary);
  --op-grey-50: #fafafa;
  --op-grey-100: #f4f5f5;
  --op-grey-200: #e4e6e7;
  --op-grey-400: #a1a5aa;
  --op-grey-500: #74797d;
  --op-grey-900: #181a1b;
  --op-grey-925: #0d0f0f;
  --op-grey-950: #08090a;
  --op-white-15: #ffffff26;
  --op-white-8: #ffffff14;
  --op-white-5: #ffffff0d;
  --op-font-sans: "Raleway", system-ui, sans-serif;
  --op-font-mono: "Geist Mono", ui-monospace, monospace;
  --op-gutter: clamp(16px, 5.56vw, 80px);
  --op-width: 1280px;
  --op-line: color-mix(in oklch, var(--primary) 30%, transparent);
  --op-border-lines: color-mix(in oklch, var(--primary) 20%, transparent);
  --op-grey-300: #d4d6d8;
  --op-grey-800: #27292a;
  --op-tile-line: rgba(255, 255, 255, 0.12);
  --op-tile-border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-block-size: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--op-grey-950);
  color: var(--op-grey-100);
  font-family: var(--op-font-sans);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--op-grey-50); outline-offset: 3px; }

/* Opbouw zoals op wites.nl: sectie met gutter, container van max 1280px met zijlijnen */
.section { position: relative; padding-inline: var(--op-gutter); }
.container { position: relative; max-inline-size: var(--op-width); margin-inline: auto; }
.lines::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-inline: 1px solid var(--op-line); }

/* Kruisjes op de hoeken (op-corners) */
.corners { --corner-color: color-mix(in oklch, var(--primary) 45%, transparent); --corner-mark: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'19'%20height%3D'19'%20viewBox%3D'0%200%2018.572%2018.571'%3E%3Cpath%20fill%3D'rgb(39%2C41%2C42)'%20d%3D'M%2010.108%205.352%20L%2013.469%208.713%20L%2018.572%208.713%20L%2018.572%209.428%20L%2013.408%209.428%20L%2010.108%2012.728%20L%2010.108%2018.571%20L%209.393%2018.571%20L%209.393%2012.718%20L%206.102%209.428%20L%200%209.428%20L%200%208.713%20L%206.041%208.713%20L%209.393%205.362%20L%209.393%200%20L%2010.108%200%20Z'%2F%3E%3C%2Fsvg%3E"); }
.corners::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background-color: var(--corner-color);
  -webkit-mask-image: var(--corner-mark), var(--corner-mark), var(--corner-mark), var(--corner-mark);
  mask-image: var(--corner-mark), var(--corner-mark), var(--corner-mark), var(--corner-mark);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 19px 19px; mask-size: 19px 19px;
  -webkit-mask-position: left -9.5px top -9.5px, right -9.5px top -9.5px, left -9.5px bottom -9.5px, right -9.5px bottom -9.5px;
  mask-position: left -9.5px top -9.5px, right -9.5px top -9.5px, left -9.5px bottom -9.5px, right -9.5px bottom -9.5px;
}

/* Navigatie */
.nav { position: relative; z-index: 5; display: flex; justify-content: center; box-shadow: inset 0 -1px 0 var(--op-line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; inline-size: calc(100% - 2 * var(--op-gutter)); max-inline-size: var(--op-width); block-size: 72px; padding-inline: 40px; }
.nav__logo { display: block; line-height: 0; }
.nav__logo img { display: block; inline-size: 106px; block-size: auto; }
@media (max-width: 809.98px) { .nav__inner { padding-inline: 0; } }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11.5px 20px 11.5px 24px;
  font-family: inherit; font-size: 15px; font-weight: 500; line-height: 21px; letter-spacing: -0.3px;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease;
}
.btn--s { padding-block: 7.5px; padding-inline: 16px 20px; }
.btn--primary { background-color: var(--op-grey-50); color: var(--op-grey-950); }
.btn--primary:hover { background-color: var(--op-grey-200); }
.btn--secondary { background-color: var(--op-white-8); color: var(--op-grey-50); box-shadow: inset 0 0 0 1px var(--op-white-15); backdrop-filter: blur(5px); }
.btn--secondary:hover { background-color: var(--op-white-15); }
.btn__icon { flex: none; inline-size: 14px; block-size: 14px; transition: transform 0.25s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }

/* Tag (op-tag) */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  block-size: 24px; margin: 0; padding: 2px 10px 2px 8px;
  border-radius: 4px; background-color: var(--op-grey-900); box-shadow: inset 0 0 0 1px var(--op-grey-800);
  font-family: var(--op-font-mono); font-size: 11px; font-weight: 500; line-height: 11px; letter-spacing: 0.11px; text-transform: uppercase;
  color: var(--op-grey-300);
}
.tag__square { display: block; flex: none; inline-size: 8px; block-size: 8px; background-color: var(--op-green); box-shadow: rgba(3, 103, 113, 0.5) 0 0 3px 0, rgba(255, 255, 255, 0.2) 0 2px 7px 0; }
.tag__bright { color: var(--op-grey-50); }

/* Hero */
.section--hero { flex: 1 0 auto; display: flex; flex-direction: column; }
.hero { flex: 1 0 auto; inline-size: 100%; display: grid; place-items: center; padding: 120px 40px 128px; overflow: clip; }
.hero__grid {
  position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 590px;
  container-type: inline-size;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'128'%20height%3D'118'%20viewBox%3D'0%200%20128%20118'%3E%3Cg%20fill%3D'rgba(255%2C255%2C255%2C0.05)'%3E%3Cpath%20transform%3D'translate(-9.29%20-9.29)'%20d%3D'M%2010.106%2013.223%20L%2013.47%209.858%20L%2018.571%209.858%20L%2018.571%209.145%20L%2013.407%209.145%20L%2010.107%205.844%20L%2010.107%200%20L%209.392%200%20L%209.392%205.856%20L%206.103%209.145%20L%200%209.145%20L%200%209.858%20L%206.04%209.858%20L%209.392%2013.212%20L%209.392%2018.572%20L%2010.106%2018.572%20L%2010.106%2013.222%20Z'%2F%3E%3Cpath%20transform%3D'translate(118.71%20-9.29)'%20d%3D'M%2010.106%2013.223%20L%2013.47%209.858%20L%2018.571%209.858%20L%2018.571%209.145%20L%2013.407%209.145%20L%2010.107%205.844%20L%2010.107%200%20L%209.392%200%20L%209.392%205.856%20L%206.103%209.145%20L%200%209.145%20L%200%209.858%20L%206.04%209.858%20L%209.392%2013.212%20L%209.392%2018.572%20L%2010.106%2018.572%20L%2010.106%2013.222%20Z'%2F%3E%3Cpath%20transform%3D'translate(-9.29%20108.71)'%20d%3D'M%2010.106%2013.223%20L%2013.47%209.858%20L%2018.571%209.858%20L%2018.571%209.145%20L%2013.407%209.145%20L%2010.107%205.844%20L%2010.107%200%20L%209.392%200%20L%209.392%205.856%20L%206.103%209.145%20L%200%209.145%20L%200%209.858%20L%206.04%209.858%20L%209.392%2013.212%20L%209.392%2018.572%20L%2010.106%2018.572%20L%2010.106%2013.222%20Z'%2F%3E%3Cpath%20transform%3D'translate(118.71%20108.71)'%20d%3D'M%2010.106%2013.223%20L%2013.47%209.858%20L%2018.571%209.858%20L%2018.571%209.145%20L%2013.407%209.145%20L%2010.107%205.844%20L%2010.107%200%20L%209.392%200%20L%209.392%205.856%20L%206.103%209.145%20L%200%209.145%20L%200%209.858%20L%206.04%209.858%20L%209.392%2013.212%20L%209.392%2018.572%20L%2010.106%2018.572%20L%2010.106%2013.222%20Z'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-size: 128px 118px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
  pointer-events: none;
}
.hero__tile {
  position: absolute;
  inline-size: 128px; block-size: 118px;
  left: calc(var(--x, 0) * 128px);
  top: calc(var(--y, 0) * 118px);
  background-image: repeating-linear-gradient(120deg, var(--op-tile-line) 0 1.5px, transparent 1.5px 12px);
  box-shadow: inset 0 0 0 1px var(--op-tile-border);
  backdrop-filter: blur(5px);
}
/* Tegels vanaf de rechterkant, uitgelijnd op hetzelfde raster */
.hero__tile--r { left: calc(round(down, 100cqw, 128px) - (var(--x, 0) + 1) * 128px); }
.hero__tile--trail { opacity: 0; transition: opacity 0.9s ease; }
.hero__tile--trail.is-on { opacity: 1; transition: opacity 0.12s ease; }

.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; max-inline-size: 920px; text-align: center; }
.hero__title {
  margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: clamp(36px, 4.44vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.06em;
  color: var(--op-grey-100);
  overflow-wrap: anywhere;
}
.hero__domain { color: var(--op-grey-50); }
.hero__title-muted { color: var(--op-grey-400); }
.hero__lead { margin: 0; max-inline-size: 544px; font-size: 18px; line-height: 24.3px; letter-spacing: -0.54px; color: var(--op-grey-200); }
.hero__lead strong { font-weight: 600; color: var(--op-grey-50); overflow-wrap: anywhere; }

/* Domeinkaart */
.card { position: relative; inline-size: min(100%, 480px); margin: 12px 0 0; background-color: var(--op-grey-925); text-align: start; }
.card::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border: 1px solid var(--op-border-lines); }
.card__row { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 20px; box-shadow: inset 0 -1px 0 var(--op-border-lines); }
.card__row:last-child { box-shadow: none; }
.card dt { font-family: var(--op-font-mono); font-size: 11px; line-height: 21px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--op-grey-500); }
.card dd { display: flex; align-items: center; gap: 8px; margin: 0; min-inline-size: 0; font-size: 15px; line-height: 21px; letter-spacing: -0.02em; color: var(--op-grey-100); overflow-wrap: anywhere; }
.card__dot { flex: none; inline-size: 7px; block-size: 7px; border-radius: 50%; background-color: var(--op-green); }
.card__muted { color: var(--op-grey-400) !important; }

/* Scheiding met Wites-strepen (op-sep__strip) */
.sep {
  block-size: 80px;
  background-image: repeating-linear-gradient(120deg, var(--op-border-lines) 0 1.5px, transparent 1.5px 14px);
}
.sep::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--op-border-lines); }

/* Slotblok */
.cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 96px 40px; }
.cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta__title { margin: 0; max-inline-size: 640px; font-size: clamp(28px, 3.125vw, 45px); font-weight: 500; line-height: 1.05; letter-spacing: -0.05em; color: var(--op-grey-100); }
.cta__muted { color: var(--op-grey-500); }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 40px; box-shadow: inset 0 1px 0 var(--op-border-lines); font-size: 15px; line-height: 21px; letter-spacing: -0.02em; color: var(--op-grey-500); }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--op-grey-100); }

@media (max-width: 809.98px) {
  .hero { padding: 72px 16px 88px; }
  .cta { padding: 72px 16px; }
  .footer { padding: 32px 16px; }
}
@media (max-width: 599.98px) {
  .hero__tile:nth-child(n+3) { display: none; }
  .card__row { grid-template-columns: 1fr; gap: 2px; }
  .cta__buttons, .cta__buttons .btn { inline-size: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__icon { transition: none; }
}
