/* FamiliedagVeluwe.nl - Base styles
   Readable, unminified and dependency-free. */

:root {
  color-scheme: light;
  --forest-950: #082a25;
  --forest-900: #0c3b34;
  --forest-800: #125044;
  --forest-700: #176556;
  --forest-100: #dcece7;
  --orange-600: #d97706;
  --orange-500: #f2a12d;
  --orange-300: #ffc96f;
  --cream-50: #fffdf8;
  --cream-100: #f7f2e8;
  --cream-200: #eee6d7;
  --ink-950: #10231f;
  --ink-800: #243d37;
  --ink-650: #4b615c;
  --line: rgba(16, 35, 31, 0.12);
  --surface: #fffdf8;
  --surface-2: #f7f2e8;
  --surface-glass: rgba(255, 253, 248, 0.9);
  --text: var(--ink-950);
  --text-soft: var(--ink-650);
  --shadow-sm: 0 12px 34px rgba(8, 42, 37, 0.08);
  --shadow-md: 0 24px 70px rgba(8, 42, 37, 0.13);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max-width: 1240px;
  --header-height: 84px;
  --transition: 240ms cubic-bezier(.2,.7,.2,1);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Aptos Display", Inter, ui-sans-serif, system-ui, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --surface: #0a1f1b;
  --surface-2: #102b25;
  --surface-glass: rgba(10, 31, 27, 0.91);
  --text: #f7f3e9;
  --text-soft: #b5c7c1;
  --line: rgba(236, 247, 243, 0.14);
  --forest-100: #163d35;
  --cream-100: #102b25;
  --cream-200: #173b33;
  --shadow-sm: 0 14px 34px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 28px 72px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-family: var(--font-display);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3.3rem, 8vw, 7.6rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); }
p { margin: 0 0 1.05rem; }
ul, ol { padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 4px;
  border-radius: 5px;
}

::selection { background: var(--orange-300); color: #17211f; }

.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 880px); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 138px) 0; position: relative; }
.section-tight { padding: clamp(54px, 7vw, 88px) 0; }
.section-soft { background: var(--surface-2); }
.section-dark { background: var(--forest-950); color: #fff9ed; }
.grid { display: grid; gap: clamp(22px, 4vw, 42px); }
.stack { display: grid; gap: 18px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--orange-600);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.lead { max-width: 760px; color: var(--text-soft); font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.55; }
.small { font-size: .9rem; }
.muted { color: var(--text-soft); }
.center { text-align: center; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 1000000001;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--forest-950);
  color: white;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
