/* ==========================================================================
   Invenet — stylesheet
   Design system: "financieel rapport" — inktblauw + verdigris op steen,
   serif koppen, mono-labels voor cijfers en rubrieken.
   ========================================================================== */

:root {
  --bg: #EEEFE6;
  --bg-alt: #E5E7DA;
  --surface: #FBFAF5;
  --surface-line: #E3E0D2;
  --ink: #182238;
  --ink-soft: #545F70;
  --ink-faint: #7A8494;
  --line: #D6D3C4;
  --accent: #2E6B59;
  --accent-ink: #1F4A3D;
  --accent-soft: #DCE7DF;
  --gold: #A97A34;
  --gold-soft: #EFE3CF;
  --band-ink: #182238;
  --band-ink-text: #ECEEE5;
  --band-ink-soft: #A6AFC0;
  --shadow: 0 1px 2px rgba(24, 34, 56, 0.04), 0 8px 24px rgba(24, 34, 56, 0.06);
  --header-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(24, 34, 56, 0.05);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101828;
    --bg-alt: #0B1220;
    --surface: #172134;
    --surface-line: #263047;
    --ink: #ECEEE5;
    --ink-soft: #ABB4C4;
    --ink-faint: #7C879C;
    --line: #2B3549;
    --accent: #63AC91;
    --accent-ink: #8FCBB2;
    --accent-soft: #1B3A31;
    --gold: #D2A25E;
    --gold-soft: #2E2617;
    --band-ink: #0B1220;
    --band-ink-text: #ECEEE5;
    --band-ink-soft: #8891A3;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.35);
    --header-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #101828;
  --bg-alt: #0B1220;
  --surface: #172134;
  --surface-line: #263047;
  --ink: #ECEEE5;
  --ink-soft: #ABB4C4;
  --ink-faint: #7C879C;
  --line: #2B3549;
  --accent: #63AC91;
  --accent-ink: #8FCBB2;
  --accent-soft: #1B3A31;
  --gold: #D2A25E;
  --gold-soft: #2E2617;
  --band-ink: #0B1220;
  --band-ink-text: #ECEEE5;
  --band-ink-soft: #8891A3;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.35);
  --header-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #EEEFE6;
  --bg-alt: #E5E7DA;
  --surface: #FBFAF5;
  --surface-line: #E3E0D2;
  --ink: #182238;
  --ink-soft: #545F70;
  --ink-faint: #7A8494;
  --line: #D6D3C4;
  --accent: #2E6B59;
  --accent-ink: #1F4A3D;
  --accent-soft: #DCE7DF;
  --gold: #A97A34;
  --gold-soft: #EFE3CF;
  --band-ink: #182238;
  --band-ink-text: #ECEEE5;
  --band-ink-soft: #A6AFC0;
  --shadow: 0 1px 2px rgba(24, 34, 56, 0.04), 0 8px 24px rgba(24, 34, 56, 0.06);
  --header-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(24, 34, 56, 0.05);
  color-scheme: light;
}

/* ---------- Reset ---------- */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--band-ink-text);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 4px 0;
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #F7FAF7; box-shadow: 0 1px 2px rgba(24, 34, 56, 0.1); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(31, 74, 61, 0.28); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-soft); transform: translateY(-1px); }

.btn-sm { padding: 9px 16px; font-size: 0.84rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(24, 34, 56, 0.1); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease-out);
}

.link-arrow:hover, .link-arrow:focus-visible { border-color: var(--ink); }

.link-arrow .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

.link-arrow:hover .arrow, .link-arrow:focus-visible .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: var(--header-shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.logo-mark { width: 26px; height: 18px; flex-shrink: 0; }

.logo-mark line { transition: transform 0.35s var(--ease-out); }

.logo:hover .logo-mark line:nth-child(2) { transform: translateX(3px); }
.logo:hover .logo-mark line:nth-child(3) { transform: translateX(5px); }

.main-nav { display: flex; align-items: center; gap: 30px; }

.main-nav a {
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-out);
}

.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }

@media (min-width: 881px) {
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
  }

  .main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }

  .main-nav a[aria-current="page"] { color: var(--ink); }
  .main-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }
}

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  width: 22px;
  height: 16px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 7px; }
.nav-toggle span:nth-child(3) { top: 14px; }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .main-nav.is-open { max-height: 320px; opacity: 1; padding: 8px 20px 20px; }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .main-nav a:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 88px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 37px,
    color-mix(in srgb, var(--ink) 6%, transparent) 38px
  );
  background-position: 0 40px;
  overflow: hidden;
}

@media (min-width: 641px) {
  .hero { padding: 88px 0 100px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-eyebrow { margin-bottom: 22px; }

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw + 1.1rem, 4rem);
  line-height: 1.1;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  background-image: linear-gradient(var(--gold-soft), var(--gold-soft));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.32em;
}

.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 48px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust-item {
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.hero-trust-item svg path, .recog-item svg path { stroke-dasharray: 18; }

/* Ledger example card */

.ledger-card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ledger-card-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--surface-line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ledger-card-head .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.ledger-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 20px 22px 4px;
  color: var(--ink);
}

.ledger-rows { padding: 4px 22px 22px; }

.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--surface-line);
  font-size: 0.94rem;
}

.ledger-row:last-child { border-bottom: none; }

.ledger-row .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.ledger-row.total {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-line);
  border-bottom: none;
}

.ledger-row.total .label-text { color: var(--ink); font-weight: 600; }

.ledger-row.total .num { color: var(--accent-ink); font-weight: 700; font-size: 1.05rem; }

.ledger-card-foot {
  padding: 14px 22px;
  background: var(--bg-alt);
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* ---------- Hero entrance sequence (one orchestrated moment) ---------- */
/* Content is fully visible without this block; it only enhances first paint
   for visitors who haven't asked for reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero h1, .hero-sub, .hero-actions, .hero-trust, .ledger-card {
    animation: hero-rise 0.8s var(--ease-out) both;
  }

  .hero-eyebrow { animation-delay: 0s; }
  .hero h1 { animation-delay: 0.08s; }
  .hero-sub { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .hero-trust { animation-delay: 0.32s; }
  .ledger-card { animation-name: hero-rise-side; animation-delay: 0.2s; }

  .hero-eyebrow::before { animation: line-grow 0.5s var(--ease-out) both; animation-delay: 0.1s; }

  .hero h1 em { animation: underline-sweep 0.5s var(--ease-out) both; animation-delay: 0.65s; }

  .hero-trust-item svg path { animation: draw-check 0.4s var(--ease-out) both; }
  .hero-trust-item:nth-child(1) svg path { animation-delay: 0.56s; }
  .hero-trust-item:nth-child(2) svg path { animation-delay: 0.64s; }
  .hero-trust-item:nth-child(3) svg path { animation-delay: 0.72s; }

  .ledger-card-head, .ledger-card-title, .ledger-row, .ledger-card-foot {
    opacity: 0;
    animation: hero-rise 0.55s var(--ease-out) both;
  }

  .ledger-card-head { animation-delay: 0.42s; }
  .ledger-card-title { animation-delay: 0.5s; }
  .ledger-rows .ledger-row:nth-child(1) { animation-delay: 0.58s; }
  .ledger-rows .ledger-row:nth-child(2) { animation-delay: 0.66s; }
  .ledger-rows .ledger-row:nth-child(3) { animation-delay: 0.74s; }
  .ledger-rows .ledger-row:nth-child(4) { animation-delay: 0.84s; }
  .ledger-card-foot { animation-delay: 0.98s; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-rise-side {
  from { opacity: 0; transform: translate(10px, 10px); }
  to { opacity: 1; transform: translate(0, 0); }
}

@keyframes underline-sweep {
  from { background-size: 0% 0.32em; }
  to { background-size: 100% 0.32em; }
}

@keyframes line-grow {
  from { width: 0; }
  to { width: 22px; }
}

@keyframes draw-check {
  from { stroke-dashoffset: 18; }
  to { stroke-dashoffset: 0; }
}

/* ---------- Section scaffolding ---------- */

section { padding: 72px 0; }

@media (min-width: 641px) {
  section { padding: 96px 0; }
}

.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 48px; }

@media (min-width: 641px) {
  .section-head { margin-bottom: 56px; }
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.35rem);
  line-height: 1.18;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 54ch;
}

/* ---------- Trust band ---------- */

.trust-band { background: var(--band-ink); color: var(--band-ink-text); padding: 72px 0; }

@media (min-width: 641px) {
  .trust-band { padding: 96px 0; }
}

.trust-band .eyebrow { color: var(--accent); }
.trust-band .eyebrow::before { background: var(--accent); }

.trust-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.9vw + 1rem, 2.5rem);
  line-height: 1.25;
  max-width: 22ch;
  margin: 20px 0 48px;
}

@media (min-width: 641px) {
  .trust-statement { margin: 20px 0 60px; }
}

.trust-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(236, 238, 229, 0.16);
  padding-top: 40px;
}

@media (max-width: 760px) {
  .trust-cols { grid-template-columns: 1fr; gap: 32px; }
}

.trust-col h3 { font-size: 1.08rem; color: var(--band-ink-text); margin-bottom: 10px; }
.trust-col p { font-size: 0.94rem; color: var(--band-ink-soft); line-height: 1.6; }

/* ---------- Service cards ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 940px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background-color: var(--surface);
  padding: 30px 24px 28px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover, .service-card:focus-within { background-color: var(--accent-soft); }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }

.service-icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 22px; transition: transform 0.3s var(--ease-out); }

.service-card:hover .service-icon, .service-card:focus-within .service-icon { transform: translateY(-2px) scale(1.06); }

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

.service-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; flex-grow: 1; }

.service-card .link-arrow { margin-top: 20px; font-size: 0.82rem; align-self: flex-start; }

/* ---------- Process ---------- */

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }

@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

.process-step { border-top: 2px solid var(--ink); padding-top: 18px; }

.process-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}

.process-step h3 { font-size: 1.05rem; margin: 10px 0; }

.process-step p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Recognition / voor wie ---------- */

.recog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

@media (max-width: 820px) { .recog-grid { grid-template-columns: 1fr; gap: 36px; } }

.recog-list { display: flex; flex-direction: column; }

.recog-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
}

.recog-item:first-child { padding-top: 0; }

.recog-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 8px; }

.quote-card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 4px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.quote-card blockquote { font-size: 1.22rem; line-height: 1.5; color: var(--ink); }

.quote-card cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Kennisbank ---------- */

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

@media (max-width: 820px) { .article-grid { grid-template-columns: 1fr; } }

.article-card { position: relative; border-top: 1px solid var(--line); padding-top: 22px; }

.article-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.article-card:hover::before, .article-card:focus-within::before { transform: scaleX(1); }

.article-card .cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.article-card h3 { font-size: 1.13rem; margin: 12px 0 10px; line-height: 1.35; }

.article-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  scroll-margin-top: 90px;
}

@media (min-width: 641px) { .final-cta { padding: 90px 0; } }

.final-cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.final-cta h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); max-width: 16ch; color: var(--ink); }

.final-cta p { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; }

.final-cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.final-cta-note { font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- Page intro (sub-pages) ---------- */

.page-intro { padding: 64px 0 52px; border-bottom: 1px solid var(--line); }

@media (min-width: 641px) { .page-intro { padding: 84px 0 64px; } }

.page-intro .eyebrow { margin-bottom: 20px; }

.page-intro h1 {
  font-size: clamp(2rem, 2.6vw + 1rem, 3.1rem);
  line-height: 1.14;
  max-width: 20ch;
  color: var(--ink);
}

.page-intro p { margin-top: 18px; max-width: 52ch; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form { display: flex; flex-direction: column; gap: 24px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 24px; }
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.field label .optional { text-transform: none; letter-spacing: normal; opacity: 0.75; }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px;
  transition: border-color 0.2s var(--ease-out);
}

.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; font-family: var(--font-body); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%237A8494' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 13px;
  padding-right: 22px;
}

.field select:invalid { color: var(--ink-faint); }

.honey-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }

.form-consent { font-size: 0.8rem; color: var(--ink-faint); line-height: 1.6; }

.form-consent a { color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: border-color 0.2s var(--ease-out); }
.form-consent a:hover { border-color: var(--ink-soft); }

.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid var(--surface-line);
  border-radius: 4px;
  padding: 36px 32px;
}

.form-success.is-visible { display: block; }

.form-success .eyebrow { margin-bottom: 16px; }

.form-success h2 { font-size: 1.4rem; margin-bottom: 10px; }

.form-success p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

.contact-info {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-row { display: flex; flex-direction: column; gap: 5px; }

.contact-info-row .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact-info-row a, .contact-info-row .value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.contact-info-row a { transition: color 0.2s var(--ease-out); }
.contact-info-row a:hover { color: var(--accent-ink); }

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 36px; background: var(--bg); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 780px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p { font-size: 0.88rem; color: var(--ink-faint); max-width: 32ch; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 16px;
  font-weight: 400;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }

.footer-col a { font-size: 0.9rem; color: var(--ink-soft); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.footer-bottom .legal-links { display: flex; gap: 22px; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
/* Content is fully visible without JS or with reduced-motion; the
   html.js-reveal hook (set by main.js) is what opts elements into the effect. */

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out),
    background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

html.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
html.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Cascade the reveal across sibling cards/columns instead of popping in at once. */
.service-grid .service-card:nth-child(2),
.process-list .process-step:nth-child(2),
.trust-cols .trust-col:nth-child(2),
.article-grid .article-card:nth-child(2),
.recog-list .recog-item:nth-child(2) { transition-delay: 70ms; }

.service-grid .service-card:nth-child(3),
.process-list .process-step:nth-child(3),
.trust-cols .trust-col:nth-child(3),
.article-grid .article-card:nth-child(3),
.recog-list .recog-item:nth-child(3) { transition-delay: 140ms; }

.service-grid .service-card:nth-child(4),
.process-list .process-step:nth-child(4),
.recog-list .recog-item:nth-child(4) { transition-delay: 210ms; }

/* Checkmarks in the "herken je dit" list draw themselves in alongside the reveal. */
.recog-item svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s var(--ease-out) 0.1s;
}

html.js-reveal .recog-item svg path { stroke-dashoffset: 18; }
html.js-reveal .recog-item.is-visible svg path { stroke-dashoffset: 0; }

/* Anchor targets sit correctly below the sticky header */
section[id], #contact { scroll-margin-top: 84px; }
