:root {
  --paper:      #EDEBE6;
  --paper-edge: #E4E1DA;
  --ink:        #103A4A;
  --ink-soft:   #5A7683;
  --rule:       #CFCBC1;
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 6vw, 5rem);

  background-color: var(--paper);
  background-image:
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(130% 120% at 50% 100%, rgba(16,58,74,.07) 0%, rgba(16,58,74,0) 60%);

  font-family: Poppins, "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* Fine plaster grain, matching the printed look of the wordmark. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.card {
  position: relative;
  width: 100%;
  max-width: 40rem;
  text-align: center;
  animation: rise .7s cubic-bezier(.22,.61,.36,1) both;
}

.logo {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  margin: 0 auto;
}

.rule {
  width: 3rem;
  margin: clamp(2.25rem, 6vw, 3.5rem) auto clamp(2rem, 5vw, 3rem);
  border: 0;
  border-top: 1px solid var(--rule);
}

.contact {
  font-style: normal;
  display: grid;
  justify-items: center;
  gap: clamp(.9rem, 2.5vw, 1.35rem);
  font-size: clamp(1rem, 1.15rem, 1.15rem);
  line-height: 1.75;
  letter-spacing: .01em;
}

.contact p { margin: 0; color: var(--ink-soft); }

.contact .kvk {
  margin-top: clamp(.25rem, 1.5vw, .75rem);
  font-size: .8em;
  letter-spacing: .08em;
  color: #7C939E;
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--rule), var(--rule));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .35s cubic-bezier(.22,.61,.36,1), color .25s ease;
}

.contact a:hover,
.contact a:focus-visible { color: #0A2B38; background-size: 100% 2px; }

.contact a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 2px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
  .contact a { transition: none; }
}
