/* ── Fonts ───────────────────────────────────────────────────── */

@font-face {
  font-family: 'Gambarino';
  src: url('../assets/fonts/Gambarino-Regular.woff2') format('woff2'),
       url('../assets/fonts/Gambarino-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Variable.woff2') format('woff2-variations'),
       url('../assets/fonts/Switzer-Variable.woff') format('woff-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Base · reset + global ────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.55;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 100svh;
}

::selection {
  background: #16A34A;
  color: #FAFAF8;
}

a    { color: inherit; }
img  { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ── Aurora animations ───────────────────────────────────────── */

@keyframes aurora-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-140px, 90px) scale(1.15); }
}
@keyframes aurora-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(120px, -80px) scale(1.20); }
}
@keyframes aurora-c {
  0%, 100% { transform: translate(0, 0) scale(0.92); }
  50%      { transform: translate(-90px, 70px) scale(1.15); }
}
@keyframes aurora-breathe {
  0%, 100% { opacity: var(--aurora-base, 0.4); }
  50%      { opacity: calc(var(--aurora-base, 0.4) * 1.45); }
}

.aurora {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  border-radius: 50%;
  filter: blur(40px);
}
.aurora-a { animation: aurora-a 16s ease-in-out infinite, aurora-breathe 9s ease-in-out infinite; }
.aurora-b { animation: aurora-b 20s ease-in-out infinite, aurora-breathe 11s ease-in-out infinite; }
.aurora-c { animation: aurora-c 14s ease-in-out infinite, aurora-breathe 8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .aurora-a, .aurora-b, .aurora-c { animation: none; }
}


/* ── Taalwisseling content-secties ───────────────────────────── */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-nl] { display: none; }
html[lang="en"] [data-lang-en] { display: block; }
