/* ============================================================
   OFFICIUM CVT — VISUAL PROTOTYPE DESIGN SYSTEM — V2 (final identity)
   Authentic brand colours (supplied by Olaf):
     #0083A5 logo turquoise · #005065 dark Officium turquoise
     #FFEE00 logo yellow (LOGO ONLY — never used in the interface) · #000 black
   Everything else here is a derived supporting digital colour.
   WCAG 2.2 AA contrast notes are beside each token and in README.md.
   ============================================================ */

/* Fonts are served from this site (no request to Google). Source Sans 3 and Source Serif 4: SIL Open Font License 1.1, texts in /fonts/OFL-*.txt.
   Same files and unicode ranges that Google Fonts delivered before (latin + latin-ext cover Dutch and all Western/Central European names).
   Source Sans 3 is one variable file for weights 400 to 700; Source Serif 4 is used at weight 500 only. */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/source-sans-3-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/source-sans-3-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/source-serif-4-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/source-serif-4-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Neutrals — very light, faintly cool so they sit well with turquoise */
  --ink: #12242B;            /* text on light: 16.0:1 on white */
  --ink-soft: #435459;       /* secondary text: 7.9:1 on white, 7.4:1 on canvas */
  --canvas: #F5F8F9;
  --surface: #FFFFFF;
  --surface-subtle: #E9F0F2;
  --border: #D3DDE0;
  --border-strong: #6F858C;  /* control borders: ≥ 3.9:1 on white (WCAG 1.4.11 needs 3:1) */

  /* Authentic Officium colours */
  --brand-deep: #005065;     /* strong surfaces, primary buttons, links: white on it 9.0:1; it on white 9.0:1 */
  --brand-blue: #0083A5;     /* logo turquoise: focus ring, selected states, icons, accents.
                                white on it 4.38:1 and it on white 4.38:1 → NOT used for small text
                                or for text on buttons (fails 4.5:1); fine for UI/graphics (3:1). */
  /* Derived supporting states */
  --brand-deep-hover: #003B4C;
  --brand-tint: #E4F1F5;     /* subtle turquoise tint for chips / selected rows */
  --brand-tint-text: #00475A;/* text on the tint: 8.9:1 */
  --on-deep-muted: #CBE3EA;  /* secondary text on #005065: 6.7:1 */
  --on-deep-line: rgba(255,255,255,0.22);

  /* Legacy aliases used throughout the markup */
  --accent: var(--brand-deep);
  --accent-hover: var(--brand-deep-hover);
  --accent-tint: var(--brand-tint);
  --focus: var(--brand-blue);
  --focus-ring-inner: #FFFFFF;
  --focus-ring-outer: var(--brand-blue);

  --success: #176B55;
  --success-tint: #E4F0EC;
  --error: #B42318;
  --error-tint: #FBEAE8;

  /* Spacing scale — 4px base */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  /* Layout */
  --container-max: 1200px;
  --reading-max: 720px;
  --radius: 8px;
  --radius-sm: 6px;

  /* Type */
  --font-sans: "Source Sans 3", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.625; /* 16/26 */
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--accent); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

/* Respect reduced motion throughout */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Focus (visible, never obscured) ---------- */
:focus { outline: none; }
:focus-visible {
  /* Double ring (white + turquoise): on every surface in this palette —
     white canvas, #005065 buttons, the dark client band, tinted chips —
     at least one of the two rings clears 3:1 against its neighbour. */
  outline: 2px solid var(--focus-ring-inner);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-ring-outer);
  border-radius: 2px;
}
/* keep sticky elements from covering focus */
html { scroll-padding-top: 90px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: var(--sp-3) var(--sp-4);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus-visible {
  left: 0;
}

/* ---------- Prototype toolbar (NOT part of production design) ---------- */
.proto-bar {
  position: sticky;
  top: 0;
  z-index: 40; /* deliberately below every real overlay (header, mobile nav, filter sheet, sticky apply bar) so this dev-only toolbar never blocks them */
  background: #1b1b1b;
  color: #f2f2f2;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border-bottom: 2px dashed #7FB3C2;
}
.proto-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  align-items: center;
}
.proto-bar strong { color: #BFE3EE; letter-spacing: 0.04em; }
.proto-bar a { color: #f2f2f2; text-decoration: underline; white-space: nowrap; }
.proto-bar a[aria-current="page"] { color: #BFE3EE; text-decoration: none; font-weight: 700; }
.proto-bar__nav { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}
@media (max-width: 767px) {
  .container { padding-inline: 20px; }
}

.section { padding-block: var(--sp-16); }
.section--tight { padding-block: var(--sp-12); }
.section--canvas { background: var(--canvas); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--brand-deep); color: var(--surface); }
.section--ink h2, .section--ink h3 { color: var(--surface); }
.section--ink .eyebrow { color: var(--on-deep-muted); }
/* Client-conversion band: one deliberate dark #005065 surface. */
.section--brand { background: var(--brand-deep); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand .text-muted { color: var(--on-deep-muted); }

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-6); column-gap: var(--sp-6); }
@media (max-width: 1023px) { .grid-12 { grid-template-columns: repeat(8, 1fr); gap: var(--sp-4); } }
@media (max-width: 767px) { .grid-12 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); } }

.reading { max-width: var(--reading-max); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-6 > * + * { margin-top: var(--sp-6); }

@media (max-width: 767px) {
  .grid-2-col { grid-template-columns: 1fr; }
}

/* ---------- Type scale ----------
   V2: lighter, more editorial weights throughout (was 700/800 in V1) —
   less "heavy/technical", more sophisticated and human, per V2 brief. */
.text-display { font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; }
.text-h1 { font-size: 30px; line-height: 36px; font-weight: 600; }
.text-h2 { font-size: 26px; line-height: 32px; font-weight: 600; }
.text-h3 { font-size: 22px; line-height: 29px; font-weight: 600; }
.text-body-lg { font-size: 18px; line-height: 29px; font-weight: 400; }
.text-body { font-size: 16px; line-height: 26px; }
.text-meta { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; }
.text-small { font-size: 14px; line-height: 21px; }
.text-serif-statement { font-family: var(--font-serif); font-weight: 500; font-style: normal; }

@media (min-width: 768px) {
  .text-display { font-size: 46px; line-height: 52px; }
  .text-h1 { font-size: 40px; line-height: 46px; }
  .text-h2 { font-size: 32px; line-height: 38px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--on-ink { color: var(--on-deep-muted); }
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand-blue);
  display: inline-block;
}
.eyebrow--on-ink::before, .eyebrow--on-photo::before { background: rgba(255,255,255,0.7); }
.eyebrow--on-photo { color: #fff; }

.text-muted { color: var(--ink-soft); }
.u-mt-0 { margin-top: 0 !important; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-6);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--surface); }
.btn--secondary.on-ink { border-color: var(--surface); color: var(--surface); }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { background: var(--brand-tint); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,0.85); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--brand-deep); }
.btn--secondary.on-ink:hover { background: var(--surface); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.link-text {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.link-text:hover { text-decoration-color: var(--brand-blue); color: var(--accent); }
.link-accent { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.proto-bar + .site-header { top: 0; } /* proto bar already sticky above */
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--sp-6);
}
/* ---------- Logo ----------
   The authentic Officium CVT logo (assets/logo/officium-logo.png, 600×101).
   Never recoloured, redrawn or stretched: only scaled by height with
   width:auto. Clear space ≈ the height of the "O" on every side. */
.logo-slot {
  flex: none;
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 4px;
}
.logo-slot { flex-direction: column; align-items: flex-start; gap: 3px; }
.logo-slot__img { height: 30px; width: auto; display: block; }
/* identity line under the logo (CVT = Capaciteit voor Techniek): small, calm, same turquoise as the app; the logo itself is untouched */
.logo-slot__tag { font-size: 12px; line-height: 1.1; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-deep); }
@media (min-width: 1024px) { .logo-slot__tag { font-size: 13px; } }
.site-footer .logo-slot__tag { display: none; }
@media (min-width: 1024px) { .logo-slot__img { height: 38px; } }
/* Footer: logo sits on a white plate so its turquoise stays authentic on the #005065 surface */
.site-footer .logo-slot {
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
}
.site-footer .logo-slot__img { height: 32px; }
.main-nav { display: none; }
.main-nav__list { display: flex; gap: 22px; align-items: center; }
.main-nav__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: var(--sp-2) 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] { border-bottom-color: var(--brand-blue); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
/* A second header CTA (e.g. homepage's "Ik zoek professionals") only fits
   once the full nav is also showing (>=1024px) — below that it stays in
   the mobile nav drawer's CTA list instead, so it never overflows. */
.header-actions__secondary { display: none; }
@media (min-width: 1280px) {
  .header-actions__secondary { display: inline-flex; }
}
.header-actions .btn { white-space: nowrap; min-height: 44px; padding: 0 20px; }
.nav-toggle {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 250;
  display: none;
  flex-direction: column;
  padding: var(--sp-4) 20px var(--sp-8);
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { display: flex; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-8); }
.mobile-nav__close { width: 48px; height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__list li { border-bottom: 1px solid var(--border); }
.mobile-nav__list a {
  display: block;
  padding: var(--sp-4) 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
}
.mobile-nav__group-label {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: var(--sp-6);
}
.mobile-nav__ctas { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-8); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero (generic two-column, used on inner pages) ---------- */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--sp-12); }
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ---------- Photographic hero ----------
   Layers: (1) atmospheric photograph, (2) #005065 treatment as a gradient
   so the photograph stays visible on the right while the text zone on the
   left is dark enough for white type (≥ 9:1), (3) a human photograph panel.
   PROTOTYPE IMAGERY — see README for credits; replaced by Officium photography. */
.hero-photo {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--brand-deep);
  overflow: hidden;
}
.hero-photo__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/img/hero-officium.png") 56% 30% / cover no-repeat;
  filter: grayscale(0.2) contrast(1.05);
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* Mobile: text sits over the image, so the treatment is dense and even */
  background:
    linear-gradient(180deg, rgba(0,80,101,0.93) 0%, rgba(0,80,101,0.88) 100%);
}
.hero-photo__inner { padding-block: 40px 44px; position: relative; }
.hero-photo h1 { color: #fff; max-width: 20ch; }
.hero-photo__lead { margin-top: 14px; max-width: 50ch; color: #fff; opacity: 0.95; }
.hero-photo__cvt { font-weight: 700; }
.hero-photo .search-bar { margin-top: 28px; border: 0; border-top: 3px solid var(--brand-blue); box-shadow: 0 18px 40px rgba(0,30,40,0.28); color: var(--ink); }
.hero-photo__trust { margin-top: 12px; font-size: 14px; color: var(--on-deep-muted); }
.hero-photo__client {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--on-deep-line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
.hero-photo__client p { font-weight: 600; }
.hero-photo__person { height: 240px; position: relative; background: url("assets/img/hero-officium.png") 56% 30% / cover no-repeat; }
.hero-photo__person::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,80,101,0.82) 0%, rgba(0,80,101,0.25) 60%, rgba(0,80,101,0.1) 100%);
}
.photo-credit {
  position: absolute; right: 12px; bottom: 8px; z-index: 2;
  font-size: 11px; line-height: 1.3; color: #fff; text-align: right; max-width: 34ch;
  background: rgba(0,50,64,0.72); padding: 3px 8px; border-radius: 4px;
}
@media (min-width: 1024px) {
  .hero-photo__inner { padding-block: 64px 72px; }
  .hero-photo__content { max-width: 700px; }
  /* Desktop: the portrait sits right of the text; #005065 treatment fades from dense (text) to light (face) */
  .hero-photo__bg { background-position: 0% 24%; }
  .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(0,80,101,0.97) 0%, rgba(0,80,101,0.92) 44%, rgba(0,80,101,0.50) 72%, rgba(0,80,101,0.38) 100%),
      radial-gradient(60% 80% at 88% 100%, rgba(0,131,165,0.35) 0%, rgba(0,131,165,0) 70%);
  }
  .hero-photo__person { display: none; }
}
.hero-photo--compact .hero-photo__inner { padding-block: 36px 40px; }
@media (min-width: 1024px) { .hero-photo--compact .hero-photo__inner { padding-block: 56px 60px; } }

/* ---------- Portrait placeholder (SVG, clearly not a real photo) ---------- */
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}
.portrait--3-4 { aspect-ratio: 3 / 4; }
.portrait--4-5 { aspect-ratio: 4 / 5; }
.portrait--16-9 { aspect-ratio: 16 / 9; }
.portrait svg { width: 100%; height: 100%; }
.portrait__tag {
  position: absolute;
  bottom: var(--sp-2);
  left: var(--sp-2);
  background: rgba(0, 59, 76, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ---------- Search bar ---------- */
.search-bar {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  box-shadow: none;
}
@media (min-width: 768px) {
  .search-bar { grid-template-columns: 1fr 1fr auto; align-items: end; }
}
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 var(--sp-3);
  font-size: 16px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 120px; padding: var(--sp-3); resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.field .hint { font-size: 13px; color: var(--ink-soft); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field__error {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--error);
}

/* ---------- Vacancy card ---------- */
.vacancy-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.vacancy-card:hover { border-color: var(--border-strong); box-shadow: 0 1px 0 var(--border-strong); }
.vacancy-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.vacancy-card__title a { color: var(--ink); text-decoration: none; }
.vacancy-card__title a:hover { color: var(--accent); text-decoration: underline; }
.vacancy-card__intro { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.meta-row { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.meta-item svg { width: 16px; height: 16px; flex: none; color: var(--ink-soft); }
.vacancy-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--surface-subtle);
}
.vacancy-card__date { font-size: 13px; color: var(--ink-soft); }
.vacancy-card__recruiter { font-size: 13px; color: var(--ink-soft); }

/* ---------- Tags / chips ---------- */
.chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.chip--removable button {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
}
.chip--removable button:hover { color: var(--error); }
.chip--removable { background: var(--brand-tint); border-color: var(--brand-blue); color: var(--brand-tint-text); }
.chip--removable button { color: var(--brand-tint-text); }
.chip--expertise { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-tint-text); }

/* ---------- Status banners ---------- */
.status-banner {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 15px;
  line-height: 1.5;
}
.status-banner svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.status-banner--closed { background: var(--surface-subtle); border-color: var(--border-strong); color: var(--ink); }
.status-banner--success { background: var(--success-tint); border-color: var(--success); color: #0d3d31; }
.status-banner--error { background: var(--error-tint); border-color: var(--error); color: #6f140d; }
.status-banner--info { background: var(--brand-tint); border-color: var(--brand-blue); color: var(--brand-tint-text); }

/* ---------- Cards: expertise / proof / process ---------- */
.content-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-6);
  height: 100%;
}
.content-card--placeholder {
  border-style: dashed;
  background: transparent;
  color: var(--ink-soft);
}
.process-step {
  display: flex;
  gap: var(--sp-4);
}
.process-step__index {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ---------- Recruiter card ---------- */
.recruiter-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.recruiter-card__portrait { width: 88px; flex: none; }
.recruiter-card__name { font-weight: 700; font-size: 16px; }
.recruiter-card__role { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.recruiter-card__contact { margin-top: var(--sp-2); display: flex; flex-direction: column; gap: 2px; }
.recruiter-card__contact a { font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 600; }
.recruiter-card__contact a:hover { color: var(--accent); text-decoration: underline; }

.recruiter-card--full { flex-direction: column; align-items: flex-start; }
.recruiter-card--full .recruiter-card__portrait { width: 160px; }
@media (min-width: 640px) {
  .recruiter-card--full { flex-direction: row; }
}

/* ---------- Footer (#005065) ---------- */
.site-footer {
  background: var(--brand-deep);
  color: #E3EFF3;
  padding-block: var(--sp-16) var(--sp-8);
}
.site-footer a { color: #E3EFF3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2, .footer-grid h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-3); }
.footer-grid ul li { margin-bottom: var(--sp-2); }
.footer-tagline { margin-top: 16px; max-width: 34ch; color: var(--on-deep-muted); }
.footer-brand { margin-top: 14px; color: #FFFFFF; }
.footer-brand + .footer-tagline { margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--on-deep-line);
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between;
  font-size: 13px;
  color: var(--on-deep-muted);
}
.footer-bottom__links { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: var(--sp-2); align-items: center; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); text-decoration: underline; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Vacancy overview layout ---------- */
.overview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (min-width: 1024px) {
  .overview-layout { grid-template-columns: 280px 1fr; }
}
.filter-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-6);
}
.filter-group + .filter-group { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--surface-subtle); }
.filter-group__title { font-weight: 700; font-size: 15px; margin-bottom: var(--sp-3); }
.filter-option { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; min-height: 44px; }
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] { width: 20px; height: 20px; flex: none; accent-color: var(--brand-blue); }
.filter-option label { font-size: 15px; }

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
}
.results-count { font-weight: 700; font-size: 15px; }
.active-filters { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; margin-bottom: var(--sp-6); }

.results-list { display: flex; flex-direction: column; gap: var(--sp-4); }

.mobile-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 700;
  font-size: 15px;
}
.filter-sheet-row { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-6); }
@media (min-width: 1024px) { .filter-sheet-row { display: none; } }
@media (max-width: 1023px) { .filter-panel.desktop-only { display: none; } }

/* Mobile full-screen filter sheet */
.filter-sheet {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 260;
  display: none;
  flex-direction: column;
}
.filter-sheet[data-open="true"] { display: flex; }
.filter-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 20px;
  border-bottom: 1px solid var(--border);
}
.filter-sheet__body { flex: 1; overflow-y: auto; padding: var(--sp-4) 20px; }
.filter-sheet__footer {
  padding: var(--sp-4) 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--sp-3);
  padding-bottom: max(var(--sp-4), env(safe-area-inset-bottom));
}

.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state__icon { width: 48px; height: 48px; margin: 0 auto var(--sp-4); color: var(--ink-soft); }
.empty-state__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-6); }

.pagination { display: flex; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-8); }
.pagination a, .pagination span {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.pagination a[aria-current="page"] { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }

/* ---------- Vacancy detail layout ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 1024px) {
  .detail-layout { grid-template-columns: 7fr 4fr; }
}
.detail-main > * + * { margin-top: var(--sp-8); }
.detail-side {
  align-self: start;
  position: sticky;
  top: 96px;
}
.apply-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-6);
}
.apply-panel__meta { margin: var(--sp-4) 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.apply-panel hr { border: none; border-top: 1px solid var(--surface-subtle); margin: var(--sp-4) 0; }

.key-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (min-width: 640px) { .key-facts { grid-template-columns: repeat(4, 1fr); } }
.key-fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 700; margin: 0; }
.key-fact dd { font-size: 16px; font-weight: 700; margin: 2px 0 0; }

.content-section h2 { margin-bottom: var(--sp-4); }
.content-section ul.bullet { list-style: none; }
.content-section ul.bullet li {
  padding-left: var(--sp-6);
  position: relative;
  margin-bottom: var(--sp-2);
}
.content-section ul.bullet li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 2px;
  background: var(--brand-blue);
}

/* Sticky mobile apply bar */
.sticky-apply-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-3) 20px;
  padding-bottom: max(var(--sp-3), env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}
@media (min-width: 1024px) { .sticky-apply-bar { display: none; } }
.sticky-apply-bar__info { flex: 1; min-width: 0; }
.sticky-apply-bar__title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-apply-bar__sub { font-size: 12px; color: var(--ink-soft); }
body.has-sticky-apply { padding-bottom: 80px; }
@media (min-width: 1024px) { body.has-sticky-apply { padding-bottom: 0; } }

/* ---------- Related vacancies ---------- */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Form patterns ---------- */
.form-shell { max-width: var(--reading-max); }
.fieldset-legend { font-weight: 700; font-size: 18px; margin-bottom: var(--sp-3); }
.required-flag { color: var(--accent); margin-left: 2px; }
.error-summary {
  border: 2px solid var(--error);
  background: var(--error-tint);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.error-summary h2 { font-size: 17px; color: var(--error); margin-bottom: var(--sp-2); }
.error-summary ul { list-style: disc; padding-left: var(--sp-6); }
.error-summary a { color: var(--error); font-weight: 700; text-decoration: underline; }
.privacy-note {
  background: var(--surface-subtle);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  font-size: 14px;
  color: var(--ink-soft);
}
.file-upload {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--sp-6);
  text-align: center;
}
.file-upload__chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  margin-top: var(--sp-3);
  font-size: 14px;
}
.file-upload__chosen button { background: none; border: none; color: var(--error); font-weight: 700; cursor: pointer; text-decoration: underline; }

[hidden] { display: none !important; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.flex-row { display: flex; align-items: center; gap: var(--sp-2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.editorial-note {
  font-size: 13px;
  color: var(--ink-soft);
  border-left: 2px solid var(--border-strong);
  padding-left: var(--sp-3);
}


.lbl-short { display: none; }
@media (max-width: 599px) { .lbl-long { display: none; } .lbl-short { display: inline; } }

@media (max-width: 480px) {
  .site-header__row { gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 14px; font-size: 15px; }
  .nav-toggle { width: 44px; height: 44px; }
  .logo-slot__img { height: 27px; }
}
/* Very small phones (iPhone SE and narrower): logo + button + menu must fit on one row; below 340px the menu alone remains (it holds the same link). */
@media (max-width: 389px) {
  .site-header__row { gap: 6px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 0 10px; font-size: 14px; }
  .logo-slot__img { height: 22px; }
}
@media (max-width: 339px) { .header-actions .btn { display: none; } #hero-title, .hero-photo .text-display { font-size: 28px; overflow-wrap: break-word; } }
.grid-12 .portrait--3-4 { aspect-ratio: 4 / 5; }

/* Real team portraits (black-and-white originals supplied by Officium) */
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* Small avatar (sticky apply panel): zoom into the face of the full-length portraits */
.recruiter-card__portrait[style*="56px"] img { transform: scale(1.9); transform-origin: 50% 16%; }

/* ---------- Photographic page header on vacancy pages ---------- */
.hero-photo .breadcrumb, .hero-photo .breadcrumb a { color: var(--on-deep-muted); }
.hero-photo .breadcrumb a:hover { color: #fff; }
.hero-photo .key-facts { color: var(--ink); border: 0; border-top: 3px solid var(--brand-blue); box-shadow: 0 18px 40px rgba(0,30,40,0.28); }
.hero-photo h1 { max-width: 28ch; }
.hero-photo--closed .hero-photo__bg { filter: grayscale(1) contrast(1.05); }
.hero-photo--closed::after { background: linear-gradient(180deg, rgba(0,80,101,0.95) 0%, rgba(0,80,101,0.92) 100%); }
@media (min-width: 1024px) {
  .hero-photo--closed::after { background: linear-gradient(90deg, rgba(0,80,101,0.97) 0%, rgba(0,80,101,0.93) 55%, rgba(0,80,101,0.75) 100%); }
}
.hero-photo .status-banner--closed { color: var(--ink); }
@media (min-width: 640px) { .hero-photo .key-facts { grid-template-columns: 1.1fr 0.8fr 0.7fr 1.4fr; } }

/* Vacatures-hoofdpagina: groepsfoto van vier collega's aan tafel (zwart-wit), links aangevuld met rustige achtergrond zodat de gezichten rechts van tekst en zoekbalk staan. Vacaturepagina's met een contactpersoon gebruiken de foto van die persoon. */
.hero-photo__bg--vacancy { background: url("assets/img/hero-vacatures.jpg?v=2") 50% 40% / cover no-repeat; }
@media (min-width: 1024px) { .hero-photo__bg--vacancy { background-position: 50% 40%; } }
/* Taller vacancy headers (detail/closed): shift the crop so the face stays right of the text */
.hero-photo--closed .hero-photo__bg--vacancy,
.hero-photo--detail .hero-photo__bg--vacancy { background-position: 66% 30%; }

/* ---------- Expertise: bento grid of vakgebieden ---------- */
.expertise-head { display: grid; gap: 16px 48px; align-items: end; }
@media (min-width: 900px) { .expertise-head { grid-template-columns: 1fr 1fr; } }
.expertise-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.expertise-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px 22px; min-height: 0;
  background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1px solid var(--border); border-top: 3px solid var(--brand-blue);
  border-radius: var(--radius);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.expertise-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); transition: background-color 180ms ease, color 180ms ease; }
.expertise-card__icon svg { width: 24px; height: 24px; }
.expertise-card__num { position: absolute; top: 22px; right: 26px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-soft); }
.expertise-card__title { font-size: 22px; line-height: 28px; margin-top: 10px; color: inherit; }
.expertise-card__text { color: var(--ink-soft); font-size: 15px; line-height: 23px; transition: color 180ms ease; }
.expertise-card__link { margin-top: auto; padding-top: 14px; font-size: 15px; color: var(--brand-deep); border-top: 1px solid var(--surface-subtle); display: flex; gap: 6px; align-items: center; transition: color 180ms ease, border-color 180ms ease; }
.expertise-card__link strong { font-weight: 700; }
.expertise-card:hover, .expertise-card:focus-visible { background: #fff; border-color: var(--brand-blue); border-top-color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,60,78,0.10); }
.expertise-card:hover .expertise-card__icon, .expertise-card:focus-visible .expertise-card__icon { background: var(--brand-deep); color: #fff; }
.expertise-card:hover .expertise-card__link, .expertise-card:focus-visible .expertise-card__link { text-decoration: underline; text-underline-offset: 3px; }




@media (prefers-reduced-motion: reduce) { .expertise-card:hover { transform: none; } }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 7fr 5fr; gap: 64px; } }
.location-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand-blue); border-radius: var(--radius); padding: 28px; }
.location-card__pin { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); margin-bottom: 14px; }
.location-card__pin svg { width: 24px; height: 24px; }
.location-card__address { font-style: normal; margin-top: 12px; font-size: 18px; line-height: 28px; }
.location-card__lines { margin-top: 10px; }
.location-card__lines a { color: var(--brand-deep); font-weight: 700; }
.location-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-people { margin-top: 32px; display: grid; gap: 16px; }
.contact-person { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.contact-person .portrait { border-radius: 6px; }
.contact-person .recruiter-card__contact a { overflow-wrap: anywhere; }

/* ---------- Downloads ---------- */
.hero-photo__bg--downloads { background: url("assets/img/hero-downloads.png") 50% 50% / cover no-repeat; }
.doc-group + .doc-group { margin-top: 56px; }
.doc-list { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .doc-list { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.doc-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.doc-card:hover, .doc-card:focus-visible { border-color: var(--brand-blue); box-shadow: 0 10px 24px rgba(0,60,78,0.12); transform: translateY(-1px); }
.doc-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); }
.doc-card__icon svg { width: 24px; height: 24px; }
.doc-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-card__title { font-weight: 600; font-size: 17px; line-height: 24px; }
.doc-card__meta { font-size: 13px; color: var(--ink-soft); }
.doc-card__cta { font-weight: 700; font-size: 14px; color: var(--brand-deep); white-space: nowrap; }
@media (max-width: 520px) { .doc-card { grid-template-columns: 44px 1fr; } .doc-card__cta { grid-column: 2; } }
@media (prefers-reduced-motion: reduce) { .doc-card:hover { transform: none; } }

/* ---------- Proof / certification ---------- */
.proof-grid { display: grid; gap: 16px; margin-top: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand-blue); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.section--surface .proof-card { background: var(--canvas); }
.proof-card__check { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; background: var(--brand-deep); color: #fff; }
.proof-card__check svg { width: 20px; height: 20px; }
.proof-card__label { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-deep); }
.proof-card__title { font-size: 18px; line-height: 25px; }
.proof-card__text { font-size: 14px; line-height: 21px; color: var(--ink-soft); }
.recruiter-card__contact span { font-size: 14px; color: var(--ink-soft); }

/* Opdrachtgevers-hero: eigen beeld (bovenaanzicht van een vergadertafel, zwart-wit), anders dan home */
.hero-photo__bg--clients { background: url("assets-opt/hero-opdrachtgevers-1000.webp") 72% 40% / cover no-repeat; filter: grayscale(1) contrast(1.05); }
@media (min-width: 1024px) { .hero-photo__bg--clients { background-image: url("assets-opt/hero-opdrachtgevers-1800.webp"); background-position: 60% 38%; } }
.hero-photo__bg--contact { background: url("assets/img/hero-contact.jpg") 50% 30% / cover no-repeat; }

/* Team-hero: diep turquoise vlak met drie portretten */
.team-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(900px 420px at 88% 110%, rgba(0,131,165,0.45), transparent 70%), var(--brand-deep); }
.team-hero__inner { display: grid; gap: 32px; padding-block: 40px 48px; align-items: center; }
.team-hero h1 { color: #fff; max-width: 18ch; }
.team-hero__lead { margin-top: 14px; max-width: 50ch; color: #fff; opacity: 0.95; }
.team-hero .hero__ctas { margin-top: 24px; }
@media (min-width: 900px) {
  .team-hero__inner { padding-block: 56px 72px; }
}
.team-hero .breadcrumb, .team-hero .breadcrumb a { color: var(--on-deep-muted); }
.team-hero .breadcrumb a:hover { color: #fff; }
.proof-card { transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.proof-card__check { transition: transform 180ms ease, background-color 180ms ease; }
.proof-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,60,78,0.10); }
.proof-card:hover .proof-card__check { background: var(--brand-blue); transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .proof-card:hover, .proof-card:hover .proof-card__check { transform: none; } }
.expertise-intro { color: var(--brand-deep); }

/* Quote in de home-hero: rechts van de foto op breed scherm, eronder gestapeld op smaller scherm */
.hero-photo__quote {
  display: block; position: relative; z-index: 1;
  margin: 0 20px 28px; max-width: 640px; padding: 20px 22px;
  font-size: 19px; line-height: 29px; font-weight: 600; color: #fff;
  background: rgba(0,80,101,0.82); border-left: 3px solid #fff; border-radius: 0 var(--radius) var(--radius) 0;
}
.hero-photo__quote span { font-size: 28px; line-height: 0; vertical-align: -6px; opacity: 0.85; }
@media (min-width: 768px) {
  .hero-photo__quote { margin: 0 0 36px max(32px, calc((100% - 1136px) / 2)); max-width: 680px; font-size: 20px; line-height: 30px; }
}
@media (min-width: 1360px) {
  .hero-photo__quote {
    position: absolute; margin: 0; max-width: none;
    right: max(24px, calc((100% - 1136px) / 2 - 120px)); top: 50%; transform: translateY(-50%);
    width: clamp(290px, 22vw, 320px); padding: 24px 26px;
    box-shadow: 0 16px 36px rgba(0,30,40,0.30);
  }
}

.expertise-card__num { display: none; }
.expertise-card__title { font-size: 20px; line-height: 26px; }

/* ---------- Carrière: mega-menu (desktop) ---------- */
.main-nav__item { position: static; }
.main-nav__list .main-nav__btn {
  font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); background: none; border: 0;
  border-bottom: 2px solid transparent; padding: calc(var(--sp-2) + 2px) 0 calc(var(--sp-2) - 2px); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav__btn svg { transition: transform 180ms ease; }
.main-nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.main-nav__btn:hover, .main-nav__btn[aria-expanded="true"], .main-nav__btn[aria-current] { border-bottom-color: var(--brand-blue); }
.main-nav__btn:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 3px; }
.mega {
  position: absolute; left: 50%; transform: translateX(-50%); top: 100%; z-index: 110;
  width: min(1136px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--brand-blue);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 24px 48px rgba(0,40,50,0.18); padding: 24px 24px 0;
}
.mega[hidden] { display: none; }
.mega__grid { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 8px 24px; }
.mega__col--primary { background: var(--brand-tint); border-radius: var(--radius); padding: 18px 20px 14px; }
.mega__title { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand-deep); margin: 4px 0 10px; }
.main-nav__list .mega__title a { font-size: 12px; font-weight: 700; color: var(--brand-deep); padding: 0; border: 0; }
.mega__col--primary .mega__title { font-size: 13px; }
.mega__lead { font-size: 14px; line-height: 20px; color: #00475A; margin: -2px 0 10px; }
.main-nav__list .mega a {
  display: block; font-size: 15px; line-height: 21px; font-weight: 500; color: var(--ink);
  padding: 6px 0; border: 0; white-space: normal; text-decoration: none;
}
.main-nav__list .mega a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-blue); border: 0; }
.main-nav__list .mega a:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; border-radius: 3px; }
.mega__col--primary a { font-weight: 600; color: var(--brand-deep); }
.mega .is-concept::after, .mega__dot { content: ""; display: inline-block; width: 6px; height: 6px; border: 1.5px solid var(--brand-blue); border-radius: 50%; box-sizing: border-box; }
.mega .is-concept::after { margin-left: 8px; vertical-align: middle; }
.mega__dot { margin-right: 8px; vertical-align: middle; width: 8px; height: 8px; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; padding: 14px 0 16px; border-top: 1px solid var(--border); }
.main-nav__list .mega .mega__cta { display: inline; font-weight: 700; color: var(--brand-deep); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.mega__legend { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 1199px) { .mega__grid { gap: 8px 16px; } .mega { padding-inline: 18px; } }

/* ---------- Carrière: mobile accordion ---------- */
.mobile-nav__acc {
  width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 20px; font-weight: 700; color: var(--ink); padding: var(--sp-4) 0; min-height: 48px; text-align: left;
}
.mobile-nav__acc svg { flex: none; transition: transform 180ms ease; }
.mobile-nav__acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__acc:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.mobile-nav__list .mobile-nav__panel { padding: 0 0 12px 12px; border-left: 3px solid var(--brand-tint); margin-bottom: 8px; }
.mobile-nav__list .mobile-nav__panel li, .mobile-nav__list .mobile-nav__sublist li { border-bottom: 0; }
.mobile-nav__acc--sub { font-size: 17px; font-weight: 700; color: var(--brand-deep); padding: 10px 0; min-height: 44px; }
.mobile-nav__list .mobile-nav__sublist { padding: 0 0 8px 8px; }
.mobile-nav__list .mobile-nav__sublist a { font-size: 17px; font-weight: 500; padding: 9px 0; min-height: 44px; }
.mobile-nav__list .mobile-nav__sublist .is-concept::after { content: ""; display: inline-block; width: 6px; height: 6px; border: 1.5px solid var(--brand-blue); border-radius: 50%; box-sizing: border-box; margin-left: 8px; vertical-align: middle; }
.mobile-nav__legend { font-size: 13px; color: var(--ink-soft); padding: 6px 0 0 8px; }

/* ---------- Carrière / vakgebied pagina's ---------- */
.team-hero--text .team-hero__inner { grid-template-columns: 1fr; }
.team-hero--text h1 { max-width: 22ch; }
.team-hero--text .team-hero__lead { max-width: 62ch; }
.role-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role-list li { background: var(--brand-tint); color: #00475A; border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.mindset-card { background: var(--brand-tint); border-top: 3px solid var(--brand-blue); border-radius: var(--radius); padding: 24px; }
.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.chip-links a:hover { border-color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; }
.vak-links { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vak-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vak-links { grid-template-columns: repeat(4, 1fr); } }
.vak-link { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--brand-blue); border-radius: var(--radius); color: var(--ink); text-decoration: none; height: 100%; transition: border-color 180ms ease, box-shadow 180ms ease; }
.vak-link:hover { border-color: var(--brand-blue); box-shadow: 0 8px 20px rgba(0,60,78,0.10); }
.concept-grid { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .concept-grid { grid-template-columns: repeat(2, 1fr); } }
.concept-item { background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 22px 24px; scroll-margin-top: 100px; }
.section--canvas .concept-item { background: #fff; }
.concept-item--real { border-style: solid; border-color: var(--border); border-top: 3px solid var(--brand-blue); }
.concept-item__q { margin-top: 8px; font-weight: 600; color: var(--brand-deep); }
.chip--concept { background: transparent; color: var(--ink-soft); border: 1px dashed var(--border-strong); }

/* Hero-illustratie (techniek + kantoor), rechts in de tekst-heroes */
.team-hero--text::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 56%; z-index: -1;
  background: url("assets/img/hero-techniek.svg") right 24px bottom 0 / auto 92% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
@media (max-width: 899px) { .team-hero--text::before { width: 100%; opacity: 0.35; background-position: right -40px bottom 0; background-size: auto 70%; } }

/* Carrière-kaarten: rustige hover zoals de rest van de site */
.info-grid { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-card { display: block; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand-blue); border-radius: var(--radius); padding: 24px; scroll-margin-top: 100px; color: var(--ink); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.info-card--wide { grid-column: 1 / -1; }
.info-card:hover, a.info-card:focus-visible { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,60,78,0.10); }
a.info-card:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.info-card__q { margin-top: 6px; font-weight: 600; color: var(--brand-deep); }
.info-card__body { margin-top: 10px; color: var(--ink-soft); }
.info-card__body p + p { margin-top: 10px; }
.info-card--link .expertise-card__link { margin-top: 14px; padding-top: 0; border-top: 0; }
.info-card--link:hover .expertise-card__link { text-decoration: underline; text-underline-offset: 3px; }
.info-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; list-style: disc; }
.info-list li::marker { color: var(--brand-blue); }
.info-card__body p + .info-list { margin-top: 10px; }
.info-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.faq { display: grid; gap: 14px 32px; margin: 0; }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, 1fr); } }
.faq dt { font-weight: 700; color: var(--ink); }
.faq dd { margin: 4px 0 0; color: var(--ink-soft); }
.faq a { color: var(--brand-deep); font-weight: 600; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .info-card:hover { transform: none; } }
/* vakgebied-pagina's: hover op functies, mindset-kaart en overige vakgebieden */
.role-list li { transition: background-color 180ms ease, color 180ms ease; }
.role-list li:hover { background: var(--brand-deep); color: #fff; }
.mindset-card { transition: box-shadow 180ms ease; }
.mindset-card:hover { box-shadow: 0 10px 24px rgba(0,60,78,0.10); }
.chip-links a { transition: border-color 180ms ease, background-color 180ms ease; }
.chip-links a:hover { background: var(--brand-tint); }
.ext-icon { margin-left: 6px; vertical-align: -1px; opacity: 0.85; }
.site-footer a[href*="weekstaten"] { display: inline-flex; align-items: center; }

.team-col { grid-column: span 4; }
@media (min-width: 1024px) { .team-col { grid-column: span 3; } }

.location-card { overflow: hidden; }
.location-card__photo { position: relative; margin: -28px -28px 0; height: 230px; background: var(--brand-deep); }
.location-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; filter: grayscale(1) contrast(1.05); }
.location-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,80,101,0.55) 0%, rgba(0,80,101,0.78) 100%), radial-gradient(90% 80% at 85% 100%, rgba(0,131,165,0.55), transparent 70%); mix-blend-mode: normal; }
.location-card__photo + .location-card__pin { position: relative; margin-top: -22px; margin-bottom: 14px; box-shadow: 0 0 0 4px var(--surface); z-index: 1; }

/* Recruiter block in the vacancy sidebar */
.recruiter-panel { margin-top: var(--sp-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: var(--sp-5, 20px) var(--sp-6); }
.recruiter-panel .recruiter-card__portrait { width: 84px; }
.recruiter-panel .recruiter-card__contact a { overflow-wrap: anywhere; }

/* Links inside hero text keep the text colour (a phone number in a lead sentence must stay readable on the dark photo). iOS also turns bare phone numbers and addresses into
   blue links by itself ("data detectors"): those take over the colour of the text around them instead of the default blue. */
.hero-photo__lead a, .team-hero__lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font: inherit !important; }

.hero-photo--team .hero-photo__inner { min-height: 0; }
.hero-photo--team .hero-photo__content { width: 100%; }
/* Ons team hero: team photo with the standard turquoise treatment. Desktop: photo (16:9) on the right, fading out towards the text.
   Mobile: text first, then the photo as a full-width landscape band so all four faces stay visible. */
.hero-photo--team { display: flex; flex-direction: column; }
.hero-photo__bg--team { position: relative; inset: auto; order: 2; z-index: 0; aspect-ratio: 16 / 9; filter: none; background: linear-gradient(rgba(0,80,101,0.62), rgba(0,80,101,0.62)), url("assets-opt/hero-team-900.webp") 50% 30% / cover no-repeat #808080; background-blend-mode: normal, luminosity; }
.hero-photo--team::after { display: none; }
@media (min-width: 1024px) {
  .hero-photo--team { display: block; }
  .hero-photo--team::after { display: block; background:
    linear-gradient(90deg, rgba(0,80,101,0.97) 0%, rgba(0,80,101,0.92) 40%, rgba(0,80,101,0.66) 65%, rgba(0,80,101,0.58) 100%),
    radial-gradient(60% 80% at 88% 100%, rgba(0,131,165,0.35) 0%, rgba(0,131,165,0) 70%); }
  .hero-photo__bg--team { position: absolute; inset: 0 0 0 auto; width: 62%; height: auto; aspect-ratio: auto; z-index: -2; filter: grayscale(1) contrast(1.05); background: url("assets-opt/hero-team-1600.webp") 50% 14% / cover no-repeat; background-blend-mode: normal;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
}

/* Expertise on the homepage: ten vakgebieden, five side by side on wide screens (2 rows), two columns on tablets, one on phones */
@media (min-width: 1100px) {
  .expertise-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .expertise-grid .expertise-card { padding: 22px 18px 18px; }
  .expertise-grid .expertise-card__title { font-size: 18px; line-height: 24px; }
  .expertise-grid .expertise-card__text { font-size: 14px; line-height: 21px; }
}

/* Vacatures overview hero: own photo (two colleagues at a laptop), people on the right; the turquoise treatment comes from the standard hero layers */
.hero-photo__bg--overview { background: url("assets-opt/hero-vacatures-overview-1000.webp") 80% 35% / cover no-repeat; filter: grayscale(1) contrast(1.05); }
@media (min-width: 1024px) { .hero-photo__bg--overview { background-image: url("assets-opt/hero-vacatures-overview-1800.webp"); background-position: 50% 35%; } }

/* Mobile: heroes with a photo (vakgebied pages, Carrière) show text first and the photo as a tinted landscape band underneath, so the people stay visible */
@media (max-width: 899px) {
  .team-hero.team-hero--band.team-hero--photo { display: flex; flex-direction: column; }
  .team-hero.team-hero--band.team-hero--photo::before { position: relative; inset: auto; order: 2; z-index: 0; width: 100%; aspect-ratio: 2.4 / 1; opacity: 1; filter: none; -webkit-mask-image: none; mask-image: none;
    background: linear-gradient(rgba(0,80,101,0.60), rgba(0,80,101,0.60)), var(--hero-img) var(--hero-pos, 50% 28%) / cover no-repeat #808080; background-blend-mode: normal, luminosity; }
  .team-hero.team-hero--band.team-hero--photo::after { display: none; }
  .team-hero.team-hero--band.team-hero--photo .team-hero__inner { padding-bottom: 32px; }
}

/* Vakgebied heroes: same height on every page (the text length differs per vakgebied), content centred vertically */
@media (min-width: 900px) {
  .team-hero.team-hero--band { min-height: 562px; display: flex; align-items: center; }
  .team-hero.team-hero--band .team-hero__inner { width: 100%; }
}
@media (max-width: 899px) {
  .team-hero.team-hero--band.team-hero--photo { min-height: 826px; }
  .team-hero.team-hero--band.team-hero--photo::before { margin-top: auto; }
}

/* Vacancy overview: "Meer vacatures laden" (all cards are in the HTML; JavaScript only limits what is shown) */
.results-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: var(--sp-6, 24px); }
.results-more[hidden], .results-more [hidden] { display: none !important; }
.results-more__status { margin: 0; color: var(--ink-soft); outline: none; }
.results-more .btn { min-width: 240px; }
@media (max-width: 639px) { .results-more .btn { width: 100%; } }

/* Carrière "Praktisch": blocks stacked over the full width; FAQ as collapsible questions */
.info-grid--stack { grid-template-columns: 1fr !important; }
.faq-list { margin-top: 12px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 0; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--brand-deep); border-bottom: 2px solid var(--brand-deep); transform: rotate(45deg); transition: transform 160ms ease; margin-right: 4px; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; border-radius: 4px; }
.faq-item__a { padding: 0 0 16px; color: var(--ink-soft); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* File upload: the native control shows the browser language ("Choose file / No file chosen"), so it is visually hidden and replaced by a Dutch button and status line */
.file-upload { position: relative; }
.file-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.file-upload__pick { display: inline-block; margin-top: 12px; cursor: pointer; }
.file-upload__input:focus-visible + .file-upload__pick .btn { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.file-upload__status { margin-top: 10px; }
