/* Moslim Vrijwilliger — Base styles
   Reset + typography + page shell. Aligned to the sticker-cartoon aesthetic. */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--c-text);
  background-color: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(circle at 8% 20%, var(--c-yellow-soft) 0, transparent 18%),
    radial-gradient(circle at 92% 8%, var(--c-pink-soft) 0, transparent 14%),
    radial-gradient(circle at 95% 68%, var(--c-lime-soft) 0, transparent 18%),
    radial-gradient(circle at 5% 88%, var(--c-teal-soft) 0, transparent 16%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

main { flex: 1; }

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-3);
  color: var(--c-ink);
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400; /* Titan One is already a display face */
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }

h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: var(--fw-black);
  line-height: 1.2;
}

h4 {
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-blue);
}

p { margin: 0 0 var(--s-3); }

p.lead {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
}

small, .text-small {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  line-height: 1.5;
}

a {
  color: var(--c-blue);
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover { color: var(--c-pink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--s-3); }
li + li { margin-top: var(--s-1); }

hr {
  border: none;
  border-top: 3px solid var(--c-ink);
  margin: var(--s-6) 0;
}

::selection { background: var(--c-yellow); color: var(--c-ink); }

/* ── Layout ─────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

.container--narrow { max-width: var(--content-narrow); }

@media (min-width: 768px) {
  .container { padding-inline: var(--gutter); }
}

.section { padding-block: var(--s-6); }
@media (min-width: 768px) { .section { padding-block: var(--s-7); } }
@media (min-width: 1024px) { .section { padding-block: var(--s-8); } }

.section--mint  { background: var(--c-lime-soft); }
.section--pink  { background: var(--c-pink-soft); }
.section--blue  { background: var(--c-blue); color: var(--c-surface); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--c-surface); }
.section--yellow { background: var(--c-yellow); }
.section--cream  { background: var(--c-cream-alt); }

/* Legacy alias */
.section--forest { background: var(--c-blue); color: var(--c-surface); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--c-surface); }

/* ── Utility ────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--c-yellow);
  border: var(--stroke);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sticker);
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: var(--s-3);
}

.eyebrow--pink  { background: var(--c-pink); color: var(--c-surface); }
.eyebrow--lime  { background: var(--c-lime); }
.eyebrow--blue  { background: var(--c-blue); color: var(--c-surface); }
.eyebrow--cream { background: var(--c-cream); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; top: -40px; left: var(--s-3);
  background: var(--c-blue); color: var(--c-surface);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm); z-index: 100;
  text-decoration: none; font-weight: var(--fw-black);
  border: var(--stroke);
}
.skip-link:focus { top: var(--s-3); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
