/* ===========================================================
   Vair · production CSS
   Adapted from vair-demo/vair.css (demo-specific elements
   removed). Ink-first palette, Switzer typography stand-in.
   =========================================================== */

/* ---------------------------------------------------------------
   Switzer — SELF-HOSTED (localised from the Fontshare CDN so the
   site makes no third-party request before cookie consent; also a
   small performance gain). woff2 files live in build/fonts/.
   --------------------------------------------------------------- */
/* Switzer — only the weights the CSS actually uses (400/500/600/700/800). */
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --navy: #1A2D4A;
  --navy-soft: #2C4368;
  --navy-deep: #0F1D33;
  --sand: #E8DDC9;
  --sand-light: #F4ECDC;
  --slate: #2D3338;
  --slate-soft: #5C6975;
  --slate-mute: #68727B;
  --paper: #FCFAF5;
  --rust: #8B3E1F;
  --rust-deep: #6E2F16;
  --rust-soft: #BA765F;
  --rust-dark-section: #C98F7A;
  --rule: rgba(45, 51, 56, 0.10);
  --rule-strong: rgba(45, 51, 56, 0.16);
  --max: 1200px;
  --max-narrow: 880px;
  --pad-x: 40px;
}

/* ----- Base ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  background: var(--paper);
  color: var(--slate);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; border-radius: 2px; }

/* ----- Skip link ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--paper);
  padding: 12px 18px;
  font-weight: 600;
  z-index: 200;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* ----- Wordmark ----- */
.wm {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--navy);
  line-height: 0.85;
  display: inline;
}
.wm .p { color: var(--rust); }

/* ----- Navigation ----- */
nav.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 245, 0.97);
  border-bottom: 1px solid var(--rule);
}
nav.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
nav.site .wm { font-size: 24px; }
nav.site .wm a { text-decoration: none; color: inherit; }
nav.site .links { display: flex; gap: 26px; align-items: center; }
nav.site .links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
nav.site .links a:not(.cta) {
  position: relative;
  padding: 8px 0;
}
nav.site .links a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}
nav.site .links a:hover,
nav.site .links a[aria-current="page"] { color: var(--rust); }
nav.site .links a:not(.cta):hover::after,
nav.site .links a:not(.cta)[aria-current="page"]::after { transform: scaleX(1); }
nav.site .links a.muted { color: var(--slate-soft); font-weight: 500; }
nav.site .cta,
nav.site .cta[aria-current="page"] {
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 4px;
  letter-spacing: 0.005em;
  transition: background 0.15s;
}
nav.site .cta:hover { background: var(--navy-deep); }
nav.site .cta[aria-current="page"] { background: var(--rust); }

/* ----- Mobile menu: accessible disclosure button -----
   Was a CSS checkbox-hack with an aria-hidden checkbox -- keyboard/SR users got a
   weak path. Now a real <button class="menu-toggle" aria-expanded aria-controls>,
   toggled by a few lines in consent.js (loaded on every page). CSS keys the open
   state off [aria-expanded="true"] instead of :checked. Reworked 2026-07-09. */

/* Desktop: hide toggle button, show links inline */
@media (min-width: 821px) {
  nav.site .menu-toggle { display: none; }
  nav.site .links {
    display: flex;
    gap: 26px;
    align-items: center;
  }
}

/* Mobile: show toggle button, hide links by default, show when aria-expanded */
@media (max-width: 820px) {
  nav.site .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--rule-strong);
    border-radius: 4px;
    padding: 10px 16px;
    font-family: 'Switzer', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    min-height: 44px;
    background: var(--paper);
    cursor: pointer;
    user-select: none;
  }
  nav.site .menu-toggle::after {
    content: '▾';
    font-size: 12px;
    margin-left: 2px;
    transition: transform 0.2s;
    display: inline-block;
  }
  .menu-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
  nav.site .menu-toggle:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

  nav.site .links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    right: var(--pad-x);
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    padding: 16px 22px;
    gap: 14px;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(15, 29, 51, 0.08);
    min-width: 220px;
    z-index: 110;
    align-items: flex-start;
  }
  .menu-toggle[aria-expanded="true"] ~ .links { display: flex; }
  nav.site .links a {
    font-size: 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ----- Sections ----- */
section.s {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
section.s .container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section.s .container.narrow { max-width: var(--max-narrow); }
/* Insight-article containers (in header.article-hero and a bare .container.narrow
   inside article) do not match section.s .container, so the hero rendered
   full-bleed-left while the body centred. Constrain both to one 680px reading
   column. Article-scoped; no other page affected. Fixed 2026-07-09. */
article .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section.s.dark { background: var(--navy); color: var(--sand-light); border-bottom: none; }
section.s.dark p,
section.s.dark .lede,
section.s.dark .body { color: rgba(244, 236, 220, 0.85); }
section.s.sand { background: var(--sand); }
section.s.sand-light { background: var(--sand-light); }
section.s.compact { padding: 72px 0; }

/* ----- Typography ----- */
.eyebrow {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
}
section.s.dark .eyebrow { color: var(--rust-dark-section); }
.h-display {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--navy);
  margin: 0;
}
section.s.dark .h-display { color: var(--sand-light); }
.h-section {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 24px;
  max-width: 800px;
}
section.s.dark .h-section { color: var(--sand-light); }
.h-sub {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--navy);
  margin: 0 0 14px;
}
section.s.dark .h-sub { color: var(--sand-light); }
.lede {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--slate);
  max-width: 640px;
  margin: 0;
}
.body { font-size: 16px; line-height: 1.7; max-width: 640px; color: var(--slate); }
.body p { margin-bottom: 14px; }
.body p:last-child { margin-bottom: 0; }
.body.wide { max-width: 760px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 4px;
  letter-spacing: 0.005em;
  transition: background 0.15s, transform 0.15s;
  min-height: 44px;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }
section.s.dark .btn { background: var(--sand-light); color: var(--navy); }
section.s.dark .btn:hover { background: white; }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--navy);
  transition: gap 0.15s;
}
.btn-text:hover { gap: 12px; }
section.s.dark .btn-text { color: var(--sand-light); border-bottom-color: var(--sand-light); }

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 900px;
}
.related-link .btn-text { padding-top: 0; }
.related-link p {
  margin-top: 14px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
}
@media (max-width: 720px) {
  .related-links { grid-template-columns: 1fr; gap: 26px; }
}

/* ----- Hero ----- */
.hero { padding: 140px 0 120px; }
.hero h1 {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--navy);
  font-size: 88px;
  margin-bottom: 32px;
  max-width: 1000px;
}
.hero-headline {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--navy);
  line-height: 0.92;
  font-size: 96px;
  margin-bottom: 32px;
  max-width: 14ch;
}
.hero-headline .p { color: var(--rust); }
@media (max-width: 900px) {
  .hero-headline { font-size: 60px; max-width: 11ch; }
}
@media (max-width: 560px) {
  .hero-headline { font-size: 44px; max-width: 9ch; }
}
.hero .sub { font-size: 21px; line-height: 1.45; max-width: 600px; margin-bottom: 36px; color: var(--slate); }
.hero .ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-inner { padding: 100px 0 70px; }
.hero-inner h1 { font-size: 56px; line-height: 1.05; margin-bottom: 24px; max-width: 880px; }
.hero-inner .sub { font-size: 19px; max-width: 640px; color: var(--slate); }

/* ----- Posture block (two-column quote) ----- */
.posture-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .posture-block { grid-template-columns: 1fr; gap: 40px; } }
.quote-block { border-left: 3px solid var(--rust); padding-left: 24px; }
.quote-block p {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
}
.quote-block p:last-child { margin-bottom: 0; color: var(--slate); font-size: 16px; font-weight: 400; }

/* ----- Service / value tiles (4-grid) ----- */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  margin-top: 48px;
}
@media (max-width: 720px) { .tiles-grid { grid-template-columns: 1fr; } }
.tiles-grid.foundation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles-grid.foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tiles-grid.foundation-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--paper);
  padding: 40px 36px;
  transition: background 0.2s;
}
.tile:hover { background: var(--sand-light); }
.tile .num {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: block;
}
.tile h3 {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.tile p { font-size: 15px; line-height: 1.65; color: var(--slate); margin-bottom: 12px; }
.tile .rules-out { font-size: 14px; color: var(--slate-soft); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.tile .rules-out strong { color: var(--navy); font-weight: 600; }

/* ----- People grid ----- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .people-grid { grid-template-columns: 1fr; } }
/* Homepage people preview: three faces, sized like the team wall (not stretched). */
.people-grid.preview-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
@media (max-width: 760px) { .people-grid.preview-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 460px) { .people-grid.preview-3 { grid-template-columns: 1fr; } }
.person { display: flex; flex-direction: column; gap: 14px; }
/* Unified portrait: one intentional navy monogram tile (homepage + specialisten).
   Photo-ready — drop an <img> in and add class "has-photo" for a navy-tinted treatment. */
.portrait {
  aspect-ratio: 1 / 1.2;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(158deg, var(--navy-soft) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait .initials {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: rgba(244, 236, 220, 0.92);
  letter-spacing: 0.02em;
}
.portrait.has-photo { background: var(--sand); }
.portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.portrait.has-photo::after { content: ''; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: 0.55; }
.person .role-label {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.person .name {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.person .role { font-size: 13px; color: var(--slate); margin-top: 2px; }
.person .desc { font-size: 14px; color: var(--slate); line-height: 1.6; margin-top: 6px; }

/* ----- Specialist long-form (specialisten page) ----- */
.specialist-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}
.specialist-block:last-child { border-bottom: none; }
@media (max-width: 720px) {
  .specialist-block { grid-template-columns: 1fr; gap: 24px; }
  .specialist-block .portrait { max-width: 220px; }
}
.specialist-person { margin: 0; }
.specialist-person figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; }
.specialist-person .name { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.specialist-person .role { font-size: 13px; line-height: 1.4; color: var(--slate); }
.specialist-block .portrait .initials { font-size: 64px; }
.specialist-block .meta { font-size: 13px; color: var(--rust); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.specialist-block h2 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 16px; }
.specialist-block p { font-size: 16px; line-height: 1.7; color: var(--slate); margin-bottom: 14px; max-width: 640px; }
.specialist-block .contact-link { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; }
.specialist-block .contact-link:hover { color: var(--rust); border-bottom-color: var(--rust); }

/* ----- BAG callout (service-line URL) ----- */
.bag-callout {
  background: var(--sand-light);
  padding: 56px 48px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
@media (max-width: 900px) { .bag-callout { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; } }
.bag-callout h3 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.02em; }
.bag-callout p { font-size: 15px; line-height: 1.65; color: var(--slate); margin-bottom: 16px; max-width: 520px; }
.bag-callout .url-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 14px 20px;
  border-radius: 8px;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.15s;
}
.bag-callout .url-link:hover { border-color: var(--rust); }
.bag-callout .url-link .dot { width: 8px; height: 8px; background: var(--rust); border-radius: 50%; }

/* ----- Contact blocks ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 32px 28px;
}
.contact-card h3 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); margin-bottom: 14px; }
.contact-card .primary { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-card .primary a { color: inherit; text-decoration: none; }
.contact-card .primary a:hover { color: var(--rust); }
.contact-card .meta { font-size: 14px; color: var(--slate-soft); line-height: 1.6; }
.contact-card .placeholder { color: var(--slate-mute); font-style: italic; font-size: 13px; }

.map-block { margin-top: 56px; text-align: center; }
.map-block img { display: inline-block; max-width: 100%; height: auto; border: 1px solid var(--rule-strong); border-radius: 4px; }
.map-block .map-note { font-size: 14px; color: var(--slate-soft); margin-top: 14px; }

/* ----- Heritage / achtergrond layout ----- */
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
@media (max-width: 820px) { .heritage-grid { grid-template-columns: 1fr; gap: 40px; } }
.heritage-block h3 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.02em; }
.heritage-block p { font-size: 16px; line-height: 1.7; color: var(--slate); margin-bottom: 14px; max-width: 560px; }
.heritage-block .disambig { font-size: 14px; color: var(--slate-soft); padding: 12px 16px; background: var(--sand-light); border-radius: 4px; margin-top: 18px; max-width: 560px; }

/* ----- Strategie page values list ----- */
.values-list { margin-top: 40px; display: grid; gap: 28px; max-width: 760px; }
.value-item { padding: 28px 32px; background: var(--sand-light); border-radius: 6px; }
.value-item .value-name { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.value-item h3 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.02em; }
.value-item p { font-size: 15px; line-height: 1.65; color: var(--slate); margin-bottom: 12px; }
.value-item .excludes { font-size: 14px; color: var(--slate-soft); padding-top: 12px; border-top: 1px solid var(--rule-strong); }
.value-item .excludes strong { color: var(--navy); }

/* ----- Inline links inside body ----- */
.body a, p a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; transition: text-decoration-color 0.15s, color 0.15s; }
.body a:hover, p a:hover { color: var(--rust); text-decoration-color: var(--rust); }

/* ----- Footer ----- */
footer.site {
  background: var(--navy-deep);
  color: rgba(244, 236, 220, 0.85);
  padding: 64px 0 32px;
}
footer.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 1080px) {
  footer.site .inner { grid-template-columns: repeat(4, 1fr); }
  footer.site .brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) { footer.site .inner { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 560px) { footer.site .inner { grid-template-columns: 1fr; } }
footer.site .brand .wm { color: var(--sand-light); font-size: 28px; display: inline-block; margin-bottom: 14px; }
footer.site .brand .wm .p { color: var(--rust-soft); }
footer.site .brand p { font-size: 14px; line-height: 1.65; color: rgba(244, 236, 220, 0.7); max-width: 360px; }
footer.site h4 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 236, 220, 0.55); margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 8px; font-size: 14px; }
footer.site a { color: var(--sand-light); text-decoration: none; }
footer.site a:hover { color: white; text-decoration: underline; }
footer.site .legal { border-top: 1px solid rgba(244, 236, 220, 0.12); margin-top: 48px; padding: 24px var(--pad-x) 0; max-width: var(--max); margin-left: auto; margin-right: auto; font-size: 13px; color: rgba(244, 236, 220, 0.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer.site .legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Legal document: canonical text from legal/reference, presented in the site shell. */
.legal-hero { border-bottom: 1px solid var(--rule); }
.legal-hero .container > p:last-child { margin-top: 18px; color: var(--slate); font-size: 14px; }
.legal-section { background: var(--sand-light); }
.legal-copy { max-width: 840px; padding: clamp(28px, 5vw, 58px); background: var(--paper); border: 1px solid var(--rule); color: var(--slate); font-size: 15px; line-height: 1.65; }
.legal-copy h2 { margin: 46px 0 16px; color: var(--navy); font-size: 27px; line-height: 1.15; }
.legal-copy h2:first-of-type { margin-top: 0; }
.legal-copy h2.annex { padding-top: 38px; border-top: 1px solid var(--rule); }
.legal-copy p { margin: 0 0 16px; }
.legal-copy ol { margin: 0 0 28px; padding-left: 24px; }
.legal-copy li { margin-bottom: 10px; padding-left: 5px; }
.legal-copy ol.alpha { list-style-type: lower-alpha; margin-top: 10px; }
@media (max-width: 640px) {
  .legal-copy { padding: 26px 20px; font-size: 14px; }
  .legal-copy h2 { font-size: 23px; }
}

/* ----- Utility ----- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.placeholder-marker { display: inline-block; background: rgba(139, 62, 31, 0.08); color: var(--rust-deep); padding: 1px 6px; border-radius: 3px; font-size: 0.92em; font-weight: 500; }

/* ----- Responsive headline scaling ----- */
@media (max-width: 900px) {
  .hero h1 { font-size: 58px; }
  .h-display { font-size: 48px; }
  .h-section { font-size: 32px; }
  .hero-inner h1 { font-size: 42px; }
  section.s { padding: 72px 0; }
  .hero { padding: 90px 0 70px; }
}
@media (max-width: 560px) {
  :root { --pad-x: 22px; }
  .hero h1 { font-size: 44px; }
  .h-display { font-size: 36px; }
  .h-section { font-size: 26px; }
  .hero-inner h1 { font-size: 32px; }
}

/* ============================================================
   VISUAL POLISH ADDITIONS — 2026-05-25
   Pass 1: card hover, pull-quote, stat strip, diagonal sections,
   paper-grain, animated wordmark, drop caps, gradient portraits,
   scroll-reveal, icon styling.
   ============================================================ */

/* ----- Wordmark period — pulses twice on load, then rests ----- */
@keyframes wordmark-pulse {
  0%, 40%, 100% { transform: scale(1); }
  20% { transform: scale(1.15); }
}
.wm .p {
  display: inline-block;
  transform-origin: center;
  animation: wordmark-pulse 1.8s ease-in-out 2;
}
@media (prefers-reduced-motion: reduce) {
  .wm .p { animation: none; }
}

/* ----- Card hover states ----- */
.tile {
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(15, 29, 51, 0.12);
  z-index: 3;
}
.contact-card {
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(15, 29, 51, 0.10);
  border-color: var(--rust);
}
.specialist-block {
  transition: background 0.3s ease;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 6px;
}
.specialist-block:hover { background: var(--sand-light); }
.insight-card {
  transition: background 0.2s ease, transform 0.2s ease, padding 0.2s ease;
}
.insight-card:hover { transform: translateX(4px); }

/* (Removed 2026-07-07: unused .stat-strip and .diag-top/.diag-bottom rules.) */

/* ----- Pull-quote treatment (improved) ----- */
.pull-block {
  margin: 56px 0;
  padding: 40px 44px;
  background: var(--sand-light);
  border-left: 4px solid var(--rust);
  border-radius: 0 6px 6px 0;
  position: relative;
}
.pull-block::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 24px;
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 84px;
  font-weight: 800;
  color: var(--rust);
  opacity: 0.18;
  line-height: 1;
}
.pull-block p {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  margin: 0;
  position: relative;
}
.pull-block .attribution {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
@media (max-width: 720px) {
  .pull-block { padding: 28px 24px; }
  .pull-block p { font-size: 20px; }
}

/* ----- Drop cap (insight post first paragraph) ----- */
.article-body > p:first-of-type::first-letter,
.article-body .drop-cap::first-letter {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 64px;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--rust);
  letter-spacing: -0.04em;
}

/* ----- Gradient-blob portraits ----- */
/* (Removed 2026-07-07: .portrait-blob gradient blobs — portraits unified to the .portrait tile.) */

/* ----- Icon styling ----- */
.icon {
  width: 36px;
  height: 36px;
  display: inline-block;
  vertical-align: middle;
  color: var(--rust);
  flex-shrink: 0;
}
.icon-sm { width: 24px; height: 24px; }
.icon-lg { width: 48px; height: 48px; }
.tile .icon, .contact-card .icon { margin-bottom: 14px; }

/* ----- Scroll-reveal animation ----- */
.reveal {
  opacity: 1;
  transform: none;
}
html.js-on .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js-on .reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- Subtle hover on buttons ----- */
.btn { transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { box-shadow: 0 8px 20px -6px rgba(15, 29, 51, 0.25); }

/* ----- Dimension cards for /overname-en-opvolging ----- */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 720px) { .dimension-grid { grid-template-columns: 1fr; } }
.dimension-card {
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.dimension-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(15, 29, 51, 0.10);
}
.dimension-card .icon { color: var(--rust); margin-bottom: 18px; }
.dimension-card h3 { font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.02em; }
.dimension-card p { font-size: 15px; line-height: 1.6; color: var(--slate); }

/* ============================================================
   BUGFIX PASS — 2026-05-25 (post-visual-polish)
   ============================================================ */

/* Bug A — prevent horizontal page overflow from paper-grain, transforms,
   or long unbreakable strings in narrow viewports */
html, body { overflow-x: hidden; }

/* Bug B — CTA on current page (aria-current) needs unambiguous text colour.
   The .links a[aria-current] rule was tying on specificity; force .cta. */
nav.site a.cta,
nav.site a.cta:link,
nav.site a.cta:visited,
nav.site a.cta[aria-current="page"] {
  color: var(--paper) !important;
  background: var(--navy);
}
nav.site a.cta[aria-current="page"] { background: var(--rust); }
nav.site a.cta:hover { background: var(--navy-deep); }
nav.site a.cta[aria-current="page"]:hover { background: var(--rust-deep); }

/* Bug C — .btn inside dark sections inherits color from parent <p>; force it */
section.s.dark .btn,
section.s.dark .btn:link,
section.s.dark .btn:visited {
  background: var(--sand-light);
  color: var(--navy) !important;
}
section.s.dark .btn:hover { background: white; color: var(--navy) !important; }


/* ----- Concrete commitments strip (replaces stat strip) ----- */
.commitments-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-strong);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.commitments-strip .commitment {
  background: var(--paper);
  padding: 36px 32px;
}
.commitments-strip .commitment-label {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
  display: block;
}
.commitments-strip .commitment p {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.005em;
}
@media (max-width: 720px) {
  .commitments-strip { grid-template-columns: 1fr; }
  .commitments-strip .commitment { padding: 28px 24px; }
}

/* ============================================================
   Mobile menu — full-screen overlay pattern (2026-05-25)
   Replaces the dropdown approach which had transparency and
   sizing problems on small screens. Full-screen overlay = no
   background-bleed, no positioning math, no z-index conflicts.
   ============================================================ */
@media (max-width: 820px) {
  nav.site { z-index: 200; }

  nav.site .menu-toggle {
    padding: 8px 14px !important;
    font-size: 13px !important;
    min-height: 38px !important;
    background: var(--paper) !important;
    z-index: 220;
    position: relative;
  }

  /* The overlay container — fixed full-screen, solid background */
  nav.site .links {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 96px 28px 32px !important;
    background: var(--paper) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-direction: column;
    gap: 4px !important;
    align-items: flex-start !important;
    z-index: 210;
    overflow-y: auto;
  }

  .menu-toggle[aria-expanded="true"] ~ .links {
    display: flex !important;
  }

  /* Each link — clear, tap-friendly, full-width */
  nav.site .links a {
    font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 22px !important;
    font-weight: 600;
    color: var(--navy) !important;
    min-height: 52px !important;
    padding: 12px 0 !important;
    line-height: 1.2;
    width: 100%;
    border-bottom: 1px solid var(--rule);
    display: flex !important;
    align-items: center !important;
    letter-spacing: -0.01em;
  }
  nav.site .links a[aria-current="page"] {
    color: var(--rust) !important;
  }
  nav.site .links a.muted {
    font-size: 15px !important;
    color: var(--slate) !important;
    font-weight: 500;
  }
  /* The CTA — a real button, sits at the bottom */
  nav.site .links a.cta,
  nav.site .links a.cta:link,
  nav.site .links a.cta:visited {
    background: var(--navy) !important;
    color: var(--paper) !important;
    margin-top: 24px;
    padding: 16px 22px !important;
    font-size: 15px !important;
    font-weight: 600;
    border-radius: 4px;
    border-bottom: none;
    justify-content: center;
    min-height: 52px !important;
  }

  /* Prevent body scroll when menu is open */
  body:has(.menu-toggle[aria-expanded="true"]) {
    overflow: hidden;
  }
}

/* Also fix the inline article-body styles in insight posts which use bare Switzer */
.article-hero h1,
.article-body h2,
.article-body .pull p,
.article-end h3 {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================
   Bugfix: .btn inside .article-body was inheriting navy text
   from .article-body a rule (specificity battle), making the
   "Plan een kennismaking" button text invisible on its navy bg.
   ============================================================ */
.article-body a.btn,
.article-body a.btn:link,
.article-body a.btn:visited,
.article-end a.btn,
.article-end a.btn:link,
.article-end a.btn:visited {
  color: var(--paper) !important;
  text-decoration: none !important;
}
.article-body a.btn:hover,
.article-end a.btn:hover {
  color: var(--paper) !important;
  text-decoration: none !important;
}
/* Also: .btn-text inside article body needs to keep its border-bottom + navy text */
.article-body a.btn-text,
.article-end a.btn-text {
  text-decoration: none !important;
  border-bottom: 1px solid var(--navy);
}

/* ============================================================
   Article-body bugfixes — 2026-05-25
   - Drop cap was too big on narrow columns; scale down + responsive
   - Article hero typography needs mobile scaling
   ============================================================ */
.article-body > p:first-of-type::first-letter,
.article-body .drop-cap::first-letter {
  font-size: 40px;
  margin: 2px 8px 0 0;
}
@media (max-width: 720px) {
  .article-body > p:first-of-type::first-letter,
  .article-body .drop-cap::first-letter {
    font-size: 30px;
    margin: 2px 6px 0 0;
  }
  .pull-block { padding: 22px 18px; margin: 28px 0; }
  .pull-block p { font-size: 17px; }
}
@media (max-width: 480px) {
  .article-body > p:first-of-type::first-letter,
  .article-body .drop-cap::first-letter {
    font-size: 28px;
  }
}

/* ----- Text wrapping polish (2026-07-07) ----- */
h1, h2, h3, .h-display, .h-section, .h-sub, .hero-headline { text-wrap: balance; }
p, .sub, .lede { text-wrap: pretty; }

/* ----- Design pass (2026-07-07) ----- */

/* Rust period system — the trailing period of every heading is a rust accent
   (echoes the Vair wordmark's rust period): page h1s + section h2s. */
h1 .p, .h-section .p { color: var(--rust); }
section.s.dark .h-section .p, section.s.dark h1 .p { color: var(--rust-soft); }

/* Hero heritage line — quiet 1919 credibility anchor under the sub */
.hero-heritage {
  margin-top: 18px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate-soft);
}
.hero-heritage strong { color: var(--navy); font-weight: 700; }

/* ----- Origin animation (achtergrond) ----- */
.origin-animation-section { padding-top: 24px; }
.origin-animation-section .container { max-width: 1120px; }
.origin-animation-copy { max-width: 720px; margin-bottom: 28px; }
.origin-anim-wrap {
  max-width: 1040px;
  margin: 0 auto;
  justify-self: center;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
}
.hero-anim-wrap { position: relative; width: 100%; max-width: 540px; margin: 0; justify-self: end; }
@media (max-width: 940px) { .hero-anim-wrap { justify-self: center; margin-top: 8px; } }
.origin-anim-wrap.hero-anim-wrap { max-width: 1040px; justify-self: center; }
.hero-video-wrap {
  overflow: hidden;
  background: var(--paper);
}
.hero-anim-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.hero-video-fallback { display: none; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0; }
.hero-video-fallback .fb-word {
  display: flex; align-items: baseline;
  font-family: 'Switzer', system-ui, sans-serif; font-weight: 800; font-size: 76px;
  line-height: 1; color: var(--navy);
}
.hero-video-fallback .fb-dot { width: 14px; height: 14px; margin-left: 6px; background: var(--rust); }
.hero-video-fallback .fb-sub { font-family: 'Switzer', system-ui, sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.44em; padding-left: 0.44em; color: rgba(26,45,74,0.72); }
.hero-video-fallback .fb-copy { font-size: 16px; color: rgba(26,45,74,0.78); margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
  .hero-anim-video { display: none; }
  .hero-video-fallback { display: flex; }
}
@media (max-width: 600px) { .hero-video-fallback .fb-word { font-size: 58px; } .hero-video-fallback .fb-dot { width: 11px; height: 11px; } }

/* ----- Contact form ----- */
.form-wrap { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; gap: 28px; } }
.form-intro .lede { margin-top: 12px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-form .req { color: var(--rust); }
.contact-form input, .contact-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px;
  padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 5px;
  background: var(--paper); color: var(--navy); transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26, 45, 74, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
/* art. 13 information notice. Replaced the consent checkbox — see contact.html. */
.contact-form .form-notice { font-weight: 400; font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0 0 10px; }
.contact-form .form-notice:last-of-type { margin-bottom: 18px; }
.contact-form .form-notice a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-submit { margin-top: 8px; border: 0; cursor: pointer; }
.contact-form.sending .form-submit { opacity: .55; pointer-events: none; }
.contact-form .field.invalid input, .contact-form .field.invalid textarea { border-color: var(--rust); }
.contact-form .form-status { margin: 14px 0 0; font-size: 14px; min-height: 1.2em; }
.contact-form .form-status.ok { color: #2f7d43; font-weight: 600; }
.contact-form .form-status.err { color: var(--rust); }

/* Team group headers (over-ons: Vair / Belastingadvies Groningen brackets) */
.team-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 56px 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.team-group-head:first-of-type { margin-top: 36px; }
.team-group-head h3 {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.team-group-head h3 .p { color: var(--rust); }
.team-group-head .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.team-group-note { font-size: 14px; color: var(--slate); margin: 0 0 8px; max-width: 640px; }

/* Heritage timeline — 1919 → 2026 as large numerals */
.heritage-timeline {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 44px 0 12px;
}
.ht-node { display: flex; flex-direction: column; gap: 8px; max-width: 260px; }
.ht-year {
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 88px;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.ht-node .ht-label { font-size: 13px; line-height: 1.5; color: var(--slate); }
.ht-node .ht-label strong { color: var(--navy); font-weight: 700; }
.ht-arrow { font-size: 44px; font-weight: 300; color: var(--rust); line-height: 1; }
@media (max-width: 600px) {
  .heritage-timeline { gap: 8px 22px; }
  .ht-year { font-size: 58px; }
  .ht-arrow { font-size: 30px; }
}
