/* ---- Modernist design tokens ---- */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-accent-100: #fff2ef;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --rule: 2px solid var(--color-text);
  --pad-x: clamp(20px, 5vw, 64px);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent-700);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
}
a:hover { color: var(--color-accent-800); background: var(--color-accent-100); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-heading); }

/* ---- Language toggle ---- */
[data-lang="nl"] .i18n-en,
[data-lang="en"] .i18n-nl { display: none; }

.skip-link {
  position: absolute; left: -9999px;
  padding: 10px 18px; background: var(--color-text); color: var(--color-bg);
  font-weight: 700; font-size: 14px; border: none; z-index: 10;
}
.skip-link:focus { left: var(--pad-x); top: 12px; background: var(--color-text); }

/* ---- Shared blocks ---- */
.section { padding: clamp(40px, 6vw, 80px) var(--pad-x); border-bottom: var(--rule); }
.section--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.col { min-width: 0; }

.eyebrow {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 40px;
}
.eyebrow__num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--color-accent-700);
}
.eyebrow__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-neutral-700);
}
.eyebrow h2 {
  font-weight: 900; font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em; margin: 0;
}

.btn {
  display: inline-flex; align-items: center;
  padding: 14px 24px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  border: none;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-700); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--color-text);
  border: var(--rule);
}
.btn--ghost:hover { background: var(--color-text); color: var(--color-bg); }

/* ---- Header ---- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 20px var(--pad-x);
  border-bottom: var(--rule);
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__logo { display: block; line-height: 0; }
.brand__logo img {
  height: 26px; width: auto;
  /* lockup viewBox is 4051x935 with the baseline at y=725: at 26px the "g"
     descender is 210/935*26 = 5.84px, so lower the image by that much to put
     the wordmark baseline on the line baseline the tagline aligns to */
  vertical-align: -5.84px;
}
.brand__tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-neutral-700);
}
.header__actions { display: flex; align-items: center; gap: 16px; }

.lang { display: flex; border: var(--rule); }
.lang button {
  padding: 8px 14px; border: none; background: transparent;
  color: var(--color-text); font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  cursor: pointer;
}
[data-lang="nl"] .lang button[value="nl"],
[data-lang="en"] .lang button[value="en"] {
  background: var(--color-text); color: var(--color-bg);
}

.header__mail {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: var(--color-accent); color: #fff;
  border: none; font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.header__mail:hover { background: var(--color-accent-700); color: #fff; }

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 7vw, 96px) var(--pad-x) clamp(32px, 5vw, 64px);
  border-bottom: var(--rule);
}
.hero__kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-accent-700);
  margin-bottom: 20px;
}
.hero__col { container-type: inline-size; }
.hero h1 {
  font-weight: 900;
  /* the h1 sits in a grid column roughly half the viewport, so sizing it on vw
     overflows and re-wraps the hard line breaks; size it on the column instead.
     vw clamp is the fallback where cqw is unsupported. */
  font-size: clamp(26px, 3.5vw, 72px);
  font-size: clamp(26px, 8.4cqw, 72px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 0 24px; text-wrap: balance;
}
.hero__lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5;
  max-width: 52ch; margin: 0 0 32px;
  color: var(--color-neutral-800); text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: var(--rule); border-left: var(--rule);
  align-self: start; min-width: 0;
}
.stat {
  padding: 24px;
  border-right: var(--rule); border-bottom: var(--rule);
}
.stat--accent { background: var(--color-accent); color: #fff; }
.stat__value {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(40px, 4.5vw, 60px); line-height: 1; letter-spacing: -0.04em;
}
.stat__label {
  margin-top: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-neutral-700);
}
.stat--accent .stat__label { color: inherit; }

/* ---- Ruled column grids ---- */
.ruled {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 40px; row-gap: 0;
}
.ruled > * { padding: 28px 0; border-top: var(--rule); }
.ruled h3 {
  font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.ruled p {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--color-neutral-800); text-wrap: pretty;
}

/* ---- Cijferwijzer ---- */
.app h2 {
  font-weight: 900; font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: -0.035em; line-height: 1; margin: 0 0 20px;
}
.app__lede {
  font-size: 17px; line-height: 1.55; max-width: 48ch;
  margin: 0 0 28px; color: var(--color-neutral-800); text-wrap: pretty;
}
.app .eyebrow { margin-bottom: 24px; }

.spec { border: var(--rule); align-self: start; min-width: 0; }
.spec__grid {
  display: grid; grid-template-columns: auto 1fr; font-size: 14px;
}
.spec__key, .spec__val {
  padding: 14px 18px;
  border-bottom: 2px solid var(--color-divider);
}
.spec__key {
  border-right: 2px solid var(--color-divider);
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 12px; color: var(--color-neutral-700);
}
.spec__grid > :nth-last-child(-n+2) { border-bottom: none; }

/* ---- Promises ---- */
.promises {
  background: var(--color-accent); color: #fff;
  padding: clamp(40px, 6vw, 80px) var(--pad-x);
  border-bottom: var(--rule);
}
.promises .eyebrow { margin-bottom: 36px; }
.promises .eyebrow__num { color: inherit; }
.promises h2 {
  font-weight: 900; font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.035em; margin: 0;
}
.promises__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  column-gap: 40px; row-gap: 0;
}
.promise {
  padding: 28px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
}
.promise__title {
  font-family: var(--font-heading); font-weight: 900; font-size: 28px;
  letter-spacing: -0.03em; margin-bottom: 10px;
}
.promise p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---- Contact ---- */
.contact { border-bottom: none; }
.contact .eyebrow { margin-bottom: 24px; }
.contact__lede {
  font-size: 17px; line-height: 1.55; max-width: 44ch;
  margin: 0; color: var(--color-neutral-800); text-wrap: pretty;
}
.details { border-top: var(--rule); min-width: 0; }
.details__row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 18px 0;
  border-bottom: 2px solid var(--color-divider);
}
.details__key {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-neutral-700);
}
.details__val { font-weight: 600; }

/* ---- Footer ---- */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 24px var(--pad-x);
  border-top: var(--rule);
  font-size: 13px; color: var(--color-neutral-700);
}
.site-footer__mark {
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
