:root {
  --bg: #ffffff;
  --text: #0a0a0b;
  --muted: #5b6270;
  --line: #e6e8ec;
  --accent: #2b5bff;
  --accent-hover: #4a73ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Verticaal en horizontaal gecentreerd, max 640px breed */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.content {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: 220px;
  height: auto;
}

.title {
  margin: 48px 0 0;
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: 18px;
  color: var(--muted);
}

.photo {
  margin: 48px 0 0;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #f4f6f9;
}

/* Het beeld wordt ongewijzigd getoond: geen filter, geen overlay */
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.note {
  margin: 48px 0 0;
  font-weight: 500;
}

.buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: #f4f6f9;
}

.btn:focus-visible,
.mail a:focus-visible,
.credit a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mail {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.mail a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.mail a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 20px 24px 28px;
  text-align: center;
}

.credit {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
}

.credit a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.credit a:hover {
  opacity: 0.8;
}

/* Na elkaar infaden met 16px omhoog, stagger 0.1s */
.reveal {
  opacity: 0;
  animation: reveal 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobiel: kleiner logo, knoppen onder elkaar */
@media (max-width: 600px) {
  .page {
    padding: 48px 24px;
  }

  .logo {
    width: 160px;
  }

  .title {
    margin-top: 36px;
  }

  .photo {
    margin-top: 36px;
  }

  .note {
    margin-top: 36px;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
}

/* Reduced motion: alleen een fade, geen beweging */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation-name: fade;
  }

  .btn,
  .btn:hover {
    transform: none;
  }
}
