/* ---------- Base ---------- */
body { margin: 0; background: oklch(14% 0.015 260); font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
a { color: oklch(75% 0.16 220); text-decoration: none; }
a:hover { color: oklch(85% 0.16 220); }

@keyframes pulse { 0%,100% { opacity:0.4; } 50% { opacity:0.9; } }
@keyframes drift { 0% { background-position: 0 0; } 100% { background-position: 200px 200px; } }

/* ---------- Page ---------- */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: oklch(94% 0.005 260);
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, oklch(30% 0.08 250 / 0.5), transparent 45%),
    radial-gradient(circle at 90% 20%, oklch(45% 0.14 200 / 0.25), transparent 40%),
    oklch(14% 0.015 260);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(oklch(100% 0 0 / 0.1) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  animation: drift 24s linear infinite;
}

.container { max-width: 1160px; margin: 0 auto; }

/* ---------- Scroll reveal (toggled by the page script) ---------- */
/* Scoped to .js so content stays visible when JavaScript is off */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered delays for list items */
.services-grid > .reveal { height: 100%; }
.services-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.strengths > .reveal:nth-child(2) { transition-delay: 0.1s; }
.strengths > .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Shared text ---------- */
.eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(78% 0.16 220);
  margin-bottom: 14px;
}
.eyebrow-center { text-align: center; }

.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px,4.6vw,36px); font-weight: 700; }

.card-text { font-size: 15px; line-height: 1.6; color: oklch(70% 0.01 260); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 600;
}
.btn-primary,
.btn-primary:hover { background: oklch(78% 0.16 220); color: oklch(14% 0.015 260); }

.btn-secondary {
  padding: 15px 30px;
  background: oklch(20% 0.02 260);
  border: 1px solid oklch(100% 0 0 / 0.12);
  color: oklch(94% 0.005 260);
  font-size: 16px;
}
.btn-secondary:hover { border-color: oklch(78% 0.16 220); color: oklch(78% 0.16 220); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px,4vw,64px);
  gap: 16px;
  flex-wrap: nowrap;
  background: oklch(14% 0.015 260 / 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
}
/* Sized by width so it can shrink (keeping its aspect ratio) to leave room for the CTA */
.header-logo { width: clamp(181px,37vw,277px); height: auto; min-width: 0; flex: 0 1 auto; display: block; }

.site-nav { display: flex; align-items: center; flex-wrap: nowrap; flex-shrink: 0; gap: clamp(14px,3vw,36px); }
.nav-link { font-size: 15px; font-weight: 500; color: oklch(94% 0.005 260); }
.nav-link:hover { color: oklch(78% 0.16 220); }

.header-cta { padding: 10px clamp(14px,4vw,24px); font-size: 15px; white-space: nowrap;box-shadow: 0 0 24px oklch(78% 0.16 220 / 0.5); }
.header-cta:hover { box-shadow: 0 0 36px oklch(78% 0.16 220 / 0.75); }

/* Language switch (NL / EN), top right of the header */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: oklch(45% 0.01 260);
}
.lang-switch a { color: oklch(70% 0.01 260); }
.lang-switch a:hover { color: oklch(85% 0.16 220); }
.lang-switch a[aria-current="page"] { color: oklch(78% 0.16 220); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  padding: clamp(72px,12vw,140px) clamp(20px,5vw,24px) clamp(64px,10vw,120px);
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }

.hero-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(78% 0.16 220);
  padding: 8px 16px;
  border: 1px solid oklch(78% 0.16 220 / 0.35);
  border-radius: 100px;
  background: oklch(78% 0.16 220 / 0.08);
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px,6.4vw,62px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, oklch(98% 0.005 260), oklch(75% 0.02 260));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { font-size: clamp(16px,2.1vw,19px); line-height: 1.6; color: oklch(72% 0.01 260); margin: 0; max-width: 620px; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 8px; }

.hero-cta { padding: 15px 30px; font-size: 16px; box-shadow: 0 0 30px oklch(78% 0.16 220 / 0.5); }
.hero-cta:hover { box-shadow: 0 0 44px oklch(78% 0.16 220 / 0.8); }

/* ---------- Services ---------- */
.services { padding: clamp(56px,9vw,90px) clamp(20px,5vw,64px) clamp(64px,10vw,110px); position: relative; z-index: 1; }
.services-title { margin: 0 0 clamp(34px,6vw,56px); text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap: clamp(16px,2.4vw,24px);
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
}

.service-card {
  height: 100%;
  box-sizing: border-box;
  background: oklch(20% 0.02 260 / 0.6);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: clamp(22px,4vw,32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid oklch(100% 0 0 / 0.1);
  transition: border-color 0.2s;
}
.service-card:hover { border-color: oklch(78% 0.16 220 / 0.6); }

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: oklch(78% 0.16 220 / 0.15);
  border: 1px solid oklch(78% 0.16 220 / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-dot { width: 14px; height: 14px; border-radius: 3px; background: oklch(78% 0.16 220); box-shadow: 0 0 12px oklch(78% 0.16 220 / 0.8); }

.service-title { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; margin: 0; }

/* ---------- Why us ---------- */
.why-us {
  padding: clamp(64px,10vw,110px) clamp(20px,5vw,64px);
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: clamp(36px,6vw,80px); align-items: start; }
.why-title { margin: 0 0 16px; }
.why-text { font-size: 17px; line-height: 1.7; color: oklch(70% 0.01 260); margin: 0; }

.strengths { display: flex; flex-direction: column; gap: clamp(18px,3vw,28px); }
.strength {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid oklch(100% 0 0 / 0.08);
  background: oklch(20% 0.02 260 / 0.4);
}
.strength-dot {
  min-width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: oklch(78% 0.16 220);
  box-shadow: 0 0 10px oklch(78% 0.16 220 / 0.9);
  animation: pulse 2.4s ease-in-out infinite;
}
.strength-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 4px; }

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(180deg, oklch(20% 0.03 250), oklch(15% 0.02 260));
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  padding: clamp(64px,10vw,100px) clamp(20px,5vw,64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px,5vw,38px); font-weight: 700; margin: 0; }
.contact-text { font-size: 17px; color: oklch(75% 0.01 260); margin: 0; max-width: 520px; }

.contact-cta { margin-top: 8px; padding: 15px 34px; font-size: 16px; box-shadow: 0 0 34px oklch(78% 0.16 220 / 0.55); }
.contact-cta:hover { box-shadow: 0 0 48px oklch(78% 0.16 220 / 0.85); }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(24px,5vw,36px) clamp(20px,5vw,64px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  position: relative;
  z-index: 1;
}
.footer-logo { height: 32px; width: auto; display: block; opacity: 0.85; }
.footer-copy { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: oklch(60% 0.01 260); }

/* Logo (~171px) + gap (14px) + copy (~224px) + side padding stop fitting on one line below ~480px */
@media (max-width: 480px) {
  .site-footer { flex-direction: column; justify-content: center; text-align: center; }
}
