/* ==========================================================================
   Base Styles — Van der Veen VP
   Typografie, body, links, buttons, formuliervelden
   ========================================================================== */

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-weight: 500; }
h2 { font-weight: 500; }

p { text-wrap: pretty; }

a {
  color: var(--sky-deep);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--sky-deep) 30%, transparent);
  transition: border-color .2s ease, color .2s ease;
}
a:hover {
  color: var(--moss-deep);
  border-bottom-color: var(--moss-deep);
}

/* Accent highlights in headings — em (legacy) and strong (rich editor bold) */
h1 em, h2 em, h3 em,
h1 strong, h2 strong, h3 strong {
  font-style: normal;
  color: var(--moss-deep);
  font-weight: 500;
}

::selection {
  background: var(--sky-soft);
  color: var(--ink);
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  font-family: inherit;
  text-decoration: none;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: var(--moss);
  color: var(--bg-card);
  border-bottom: none;
}
.btn-primary:hover {
  background: var(--moss-deep);
  color: var(--bg-card);
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--moss-deep) 60%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  border-bottom: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--line);
  color: var(--ink);
  background: var(--bg-card);
}

/* ---------- FORM FIELDS ---------- */
.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-size: 15px;
  font-family: inherit;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--sky-soft);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 8px 0 24px;
  line-height: 1.5;
}
.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--moss);
}

/* ---------- SECTION COMMON ---------- */
section { position: relative; }

.section-pad { padding: var(--section-pad) 0; }
@media (max-width: 760px) {
  .section-pad { padding: 64px 0; }
}
@media (max-width: 480px) {
  .section-pad { padding: 48px 0; }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}
@media (max-width: 760px) {
  .section-head { margin-bottom: 48px; }
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 500;
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.12;
  margin: 16px 0 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.section-head h2 em {
  font-style: normal;
  color: var(--moss-deep);
  font-weight: 500;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* ---------- EYEBROW (standalone) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 500;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--sky);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in,
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}
