/* ==========================================================================
   Aemstelhorst demo: stylesheet
   Ontwerp: Faro Digital (https://farodigital.nl)

   Colour tokens use ONLY values sampled from the logo (navy, sand, gold)
   plus tints derived from them (documented next to each token).
   ========================================================================== */

/* Self-hosted fonts (SIL OFL): Lora 500, DM Sans 400-600 (variable), latin subset */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/lora-500-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: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/dm-sans-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 {
  /* Sampled from AEMST-logo-500px.png */
  --navy: #1D1B58;          /* wordmark + emblem */
  --sand: #EACA92;          /* emblem lower triangle */
  --gold: #E4A100;          /* ochre lettering: decorative rules and bullets only (2.2:1 on white) */
  --ochre-text: #896100;    /* gold darkened 40% toward black, for text: 5.6:1 on white, 5.1:1 on --warm, 4.7:1 on --warm-2 */

  /* Derived tints (mixed with white / navy), kept as static hex for old browsers */
  --white: #FFFFFF;
  --warm: #FBF4E9;          /* sand 20% on white: warm off-white surface */
  --warm-2: #F7EAD3;        /* sand 40% on white: deeper surface */
  --ink: var(--navy);       /* body + heading text */
  --ink-soft: #4A4979;      /* navy 80% on white: secondary text (8.6:1 on white) */
  --navy-hover: #38366C;    /* navy lightened 12% for hover */
  --navy-deep: #161442;     /* navy darkened 25% for footer base */
  --on-navy: #FFFFFF;
  --on-navy-soft: #CDCDDA;  /* white 78% over navy */
  --line: #EACA92;          /* hairlines on light surfaces: sand */
  --line-soft: #F2DFBE;     /* sand 60% on white */
  --focus: #1D1B58;

  /* Type */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-text: "DM Sans", "Helvetica Neue", Helvetica, sans-serif;

  --fs-300: 0.875rem;
  --fs-350: 0.9375rem;
  --fs-400: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --fs-500: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-600: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5rem);
  --fs-700: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
  --fs-800: clamp(1.875rem, 1.45rem + 1.9vw, 2.875rem);
  --fs-900: clamp(2.25rem, 1.55rem + 3vw, 3.875rem);

  /* Spacing scale (rem) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3.1rem, 2.2rem + 4vw, 6.25rem);
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);

  /* Shape */
  --radius-s: 3px;
  --radius-m: 6px;
  --radius-l: 14px;
  --shadow-s: 0 1px 2px rgba(29, 27, 88, 0.08);
  --shadow-m: 0 10px 30px -12px rgba(29, 27, 88, 0.28);

  --header-h: 64px;
  --maxw: 1200px;
  --measure: 62ch;
}

@media (min-width: 1200px) {
  :root { --header-h: 78px; }
}

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-locked { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--sand); }
[hidden] { display: none !important; }

.nowrap { white-space: nowrap; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--navy);
  color: var(--on-navy);
  text-decoration: none;
  border-radius: var(--radius-s);
}
.skip-link:focus { top: var(--s-3); }

/* ----- Type ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--fs-900); line-height: 1.07; letter-spacing: -0.018em; }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); line-height: 1.25; }
h4 { font-size: var(--fs-500); }
p { text-wrap: pretty; max-width: var(--measure); }
.lead { font-size: var(--fs-500); line-height: 1.6; color: var(--ink); }
h1 + .lead, h2 + .lead { margin-top: var(--s-4); }
.soft { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.on-navy .eyebrow { color: var(--sand); }
@media (max-width: 479px) {
  .eyebrow--stack { align-items: flex-start; }
  .eyebrow--stack::before { margin-top: 0.6em; }
  .eyebrow--stack .eyebrow__sep { display: none; }
  .eyebrow--stack .eyebrow__text > span:not(.eyebrow__sep) { display: block; }
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--block { display: inline-block; padding-block: 0.6rem; }
.on-navy .text-link { color: var(--on-navy); }

/* ----- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--warm); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--on-navy); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

/* ----- Icons ------------------------------------------------------------ */
.icon {
  display: inline-block;
  vertical-align: -0.22em;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: var(--fs-400);
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-hover); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }
.btn--sand { background: var(--sand); color: var(--navy); }
.btn--sand:hover { background: var(--white); }
.btn--outline-light { border-color: var(--on-navy-soft); color: var(--on-navy); }
.btn--outline-light:hover { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ----- Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; line-height: 0; }
.brand img { width: 138px; height: auto; }
@media (min-width: 1200px) { .brand img { width: 168px; } }

.header-tools { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--s-3);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-s);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-350);
  background: var(--white);
}
.icon-btn:hover { background: var(--warm); }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.nav-panel { display: none; }
.nav-panel.is-open {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  overflow-y: auto;
  background: var(--white);
  padding: var(--s-5) var(--gutter) var(--s-8);
  border-top: 1px solid var(--line);
}
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: var(--fs-700);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.portals-mobile { margin-top: var(--s-6); }
.portals-mobile h2 {
  font-family: var(--font-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}
.portal-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 48px;
  padding-block: var(--s-2);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.portal-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.nav-panel .header-phone {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
  font-weight: 600;
  font-size: var(--fs-500);
  text-decoration: none;
  min-height: 48px;
}
.nav-panel .btn { margin-top: var(--s-4); width: 100%; }
.portals-desktop { display: none; }

/* no-JS: header content stays reachable as a simple stack */
.no-js .menu-btn { display: none; }
.no-js .nav-panel { display: block; position: static; padding: 0 0 var(--s-5); border: 0; }
.no-js .header-row { flex-wrap: wrap; padding-block: var(--s-3); }
.no-js .nav-panel { width: 100%; }
.no-js .main-nav ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.no-js .main-nav a { min-height: 44px; font-size: var(--fs-500); border: 0; }

@media (min-width: 1200px) {
  .header-tools { display: none; }
  .menu-btn, .portals-mobile { display: none; }
  .nav-panel,
  .nav-panel.is-open {
    display: flex;
    position: static;
    inset: auto;
    overflow: visible;
    padding: 0;
    border: 0;
    background: none;
    align-items: center;
    justify-content: flex-end;
    gap: var(--s-5);
    flex: 1;
  }
  .no-js .header-row { flex-wrap: nowrap; padding-block: 0; }
  .no-js .nav-panel { width: auto; padding: 0; }
  .main-nav ul { display: flex; align-items: center; gap: var(--s-1); }
  .main-nav a {
    min-height: 44px;
    padding: 0 var(--s-3);
    font-family: var(--font-text);
    font-size: var(--fs-400);
    font-weight: 500;
    border: 0;
    border-radius: var(--radius-s);
  }
  .main-nav a:hover { background: var(--warm); }
  .main-nav a[aria-current="page"] { background: none; text-decoration-thickness: 2px; }
  .portals-desktop { display: block; position: relative; }
  .portals-desktop summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    padding: 0 var(--s-3);
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-s);
    color: var(--ink-soft);
  }
  .portals-desktop summary::-webkit-details-marker { display: none; }
  .portals-desktop summary:hover { background: var(--warm); color: var(--ink); }
  .portals-desktop[open] summary { background: var(--warm); color: var(--ink); }
  .portals-desktop summary .icon { transition: transform 0.18s ease; }
  .portals-desktop[open] summary .icon { transform: rotate(180deg); }
  .portals-desktop .portal-popover {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 340px;
    padding: var(--s-4) var(--s-5) var(--s-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-m);
  }
  .portal-popover p { font-size: var(--fs-300); color: var(--ink-soft); margin-bottom: var(--s-2); }
  .nav-panel .header-phone { margin: 0; min-height: 44px; font-size: var(--fs-400); white-space: nowrap; }
  .nav-panel .btn { margin: 0; width: auto; white-space: nowrap; min-height: 46px; }
}

/* ----- Hero ------------------------------------------------------------- */
.hero {
  background: var(--warm);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: var(--s-6);
  padding-top: clamp(2rem, 1rem + 3vw, 4rem);
}
.hero__copy { padding-bottom: var(--s-3); }
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-6); }
.hero__phone { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-350); color: var(--ink-soft); }
.hero__phone a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-underline-offset: 0.2em; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.hero__media { align-self: end; justify-self: center; width: min(100%, 560px); }
.hero__media img { width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: end; gap: var(--s-7); padding-top: 0; }
  .hero__copy { padding-block: clamp(3rem, 2rem + 4vw, 6rem); align-self: center; }
  .hero__media { width: 100%; max-width: 580px; justify-self: end; }
}

.factbar { border-top: 1px solid var(--line); background: var(--white); }
.factbar ul { display: grid; }
.factbar li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line-soft); }
.factbar li:last-child { border-bottom: 0; }
.factbar strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-600); line-height: 1.25; }
.factbar span { color: var(--ink-soft); font-size: var(--fs-350); }
@media (min-width: 800px) {
  .factbar ul { grid-template-columns: repeat(3, 1fr); }
  .factbar li { padding: var(--s-5) var(--s-5) var(--s-5) 0; border: 0; border-right: 1px solid var(--line-soft); }
  .factbar li + li { padding-left: var(--s-5); }
  .factbar li:last-child { border-right: 0; }
}

/* ----- Audience routes -------------------------------------------------- */
.routes__head { margin-bottom: var(--s-7); max-width: 40rem; }
.routes { display: grid; gap: var(--s-5); }
.route {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--radius-m);
}
.route h3 { font-size: var(--fs-700); }
.route .route__eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.route--mkb { background: var(--navy); color: var(--on-navy); }
.route--mkb h3 { color: var(--on-navy); }
.route--mkb .route__eyebrow { color: var(--sand); }
.route--zzp { background: var(--warm-2); color: var(--ink); }
.route--zzp .route__eyebrow { color: var(--ink-soft); }
.route .btn { margin-top: auto; align-self: flex-start; }
.route p { font-size: var(--fs-400); }
@media (min-width: 860px) {
  .routes { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}

/* ----- Services overview ------------------------------------------------ */
.services__grid { display: grid; gap: var(--s-6); }
.services__intro h2 { font-size: var(--fs-700); }
.services__intro p + p { margin-top: var(--s-4); }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2) var(--s-5);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__no {
  font-family: var(--font-display);
  font-size: var(--fs-600);
  color: var(--ochre-text);
  font-feature-settings: "lnum";
  line-height: 1.25;
  padding-top: 0.1em;
}
.service-row h3 { margin-bottom: var(--s-2); }
.service-row p { color: var(--ink); }
.services__more {
  margin-top: var(--s-5);
  padding: var(--s-5);
  background: var(--warm);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}
.services__more p { font-size: var(--fs-400); }
.services__more p + p { margin-top: var(--s-2); }
@media (min-width: 960px) {
  .services__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-8); align-items: start; }
  .services__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ----- Approach --------------------------------------------------------- */
.approach__grid { display: grid; gap: var(--s-6); }
.approach__statement--spaced { margin-top: var(--s-6); }
.approach__statement {
  font-family: var(--font-display);
  font-size: var(--fs-700);
  line-height: 1.25;
  font-weight: 500;
  padding-left: var(--s-5);
  border-left: 3px solid var(--gold);
  max-width: 24ch;
}
.approach__points { display: grid; }
.approach__points li { padding-block: var(--s-4); border-top: 1px solid var(--line); }
.approach__points li:last-child { border-bottom: 1px solid var(--line); }
.approach__points h3 { font-size: var(--fs-500); font-family: var(--font-text); font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.approach__points p { color: var(--ink-soft); font-size: var(--fs-400); }
@media (min-width: 900px) {
  .approach__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; }
}

.panorama { margin-top: clamp(2rem, 1.6rem + 2.4vw, 4rem); }
.panorama--flush { margin-top: 0; }
.panorama__scroller {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
  border-bottom: 1px solid var(--line);
}
.panorama__scroller:focus-visible { outline-offset: -3px; }
.panorama img {
  width: 100%;
  min-width: 820px;
  height: auto;
  mix-blend-mode: multiply;
}
.panorama__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-6);
  padding-top: var(--s-4);
  font-size: var(--fs-350);
  color: var(--ink-soft);
}
.panorama__hint { display: inline-flex; align-items: center; gap: var(--s-2); }
@media (min-width: 900px) {
  .panorama img { min-width: 0; }
  .panorama__hint { display: none; }
}

/* ----- Administratie + InforWijzers ----------------------------------- */
.admin__grid { display: grid; gap: var(--s-7); }
.admin__copy p + p { margin-top: var(--s-3); }
.admin__clients { font-size: var(--fs-350); color: var(--ink-soft); }
.iw {
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.iw h3 { font-size: var(--fs-600); margin-bottom: var(--s-2); }
.iw__intro { font-size: var(--fs-350); color: var(--ink-soft); margin-bottom: var(--s-3); }
.iw-list li + li { border-top: 1px solid var(--line-soft); }
.iw-list a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: center;
  min-height: 64px;
  padding-block: var(--s-2);
  text-decoration: none;
}
.iw-list img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}
.iw-list__title { display: block; font-weight: 600; font-size: var(--fs-350); line-height: 1.35; }
.iw-list__meta { display: block; margin-top: 1px; font-size: var(--fs-300); color: var(--ink-soft); }
.iw-list a:hover .iw-list__title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
@media (min-width: 1000px) {
  .admin__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; }
}

/* ----- CTA band --------------------------------------------------------- */
.cta-band.section { padding-block: clamp(2.5rem, 2rem + 2.2vw, 4.25rem); }
.cta-band__grid { display: grid; gap: var(--s-5); align-items: center; }
.cta-band__person { display: flex; gap: var(--s-4); align-items: center; }
.cta-band__person img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sand);
  flex: none;
}
.cta-band h2 { font-size: var(--fs-800); margin-bottom: var(--s-4); }
.cta-band p { color: var(--on-navy-soft); }
.cta-band .btn-row { margin-top: var(--s-5); }
.cta-band__phone { display: block; margin-top: var(--s-4); font-size: var(--fs-350); color: var(--on-navy-soft); }
.cta-band__phone a { color: var(--on-navy); font-weight: 600; }
@media (min-width: 900px) {
  .cta-band__grid { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-7); }
  .cta-band__person img { width: 128px; height: 128px; }
}

/* ----- Sub page hero ---------------------------------------------------- */
.page-hero { background: var(--warm); }
.page-hero__grid { display: grid; gap: var(--s-6); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.page-hero h1 { font-size: var(--fs-800); margin-bottom: var(--s-5); }
.nowrap-line { display: inline-block; }
@media (min-width: 560px) { .nowrap-line { display: block; } }
.page-hero--simple { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.page-hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); align-items: center; }
}

.hero-index {
  padding: var(--s-5) var(--s-5) var(--s-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.hero-index h2 {
  font-family: var(--font-text);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}
.hero-index a {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: baseline;
  gap: var(--s-2);
  min-height: 48px;
  padding-block: var(--s-3);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.hero-index li:last-child a { border-bottom: 0; }
.hero-index a span:first-child { font-family: var(--font-display); color: var(--ochre-text); }
.hero-index a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* ----- MKB services ----------------------------------------------------- */
.svc-layout { display: grid; gap: var(--s-6); }
.svc-index { display: none; }
.svc-index h2 {
  font-family: var(--font-text);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.svc-index a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--s-2);
  padding: var(--s-3) 0;
  min-height: 44px;
  text-decoration: none;
  font-size: var(--fs-350);
  line-height: 1.35;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.svc-index a:hover { color: var(--ink); }
.svc-index a span:first-child { font-family: var(--font-display); color: var(--ochre-text); }

.svc { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc__head { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-5); align-items: baseline; margin-bottom: var(--s-4); }
.svc__no { font-family: var(--font-display); font-size: var(--fs-700); color: var(--ochre-text); line-height: 1; }
.svc h2 { font-size: var(--fs-700); }
.svc__body { max-width: 66ch; }
.svc__body > * + * { margin-top: var(--s-4); }
.callout {
  padding: var(--s-4) var(--s-5);
  background: var(--warm);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}
.callout strong { font-weight: 600; }

.accordion { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  min-height: 52px;
  padding: var(--s-3) 0;
  text-align: left;
  font-weight: 600;
}
.accordion__btn:hover { color: var(--navy-hover); }
.accordion__btn .icon { transition: transform 0.2s ease; }
.accordion__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion__panel { padding: 0 0 var(--s-5); }
.accordion__panel h3 {
  font-family: var(--font-text);
  font-size: var(--fs-350);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  margin: var(--s-4) 0 var(--s-2);
  color: var(--ink-soft);
}
.accordion__panel h3:first-child { margin-top: 0; }
.bullets { display: grid; gap: var(--s-2); }
.bullets li {
  position: relative;
  padding-left: 1.4rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.bullets--cols { grid-template-columns: 1fr; column-gap: var(--s-6); }
@media (min-width: 700px) { .bullets--cols { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1000px) {
  .svc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
  .svc-index {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .svc { padding-block: 2.5rem; }
}

/* ----- ZZP -------------------------------------------------------------- */
.zzp-layout { display: grid; gap: var(--s-6); }
.zzp-aside { display: none; }
.zzp-aside img { width: 100%; height: auto; border-radius: var(--radius-m); aspect-ratio: 768 / 1200; object-fit: cover; }
.zzp-aside figcaption { margin-top: var(--s-3); font-size: var(--fs-300); color: var(--ink-soft); }
.zzp-block { padding-block: var(--s-5); border-top: 1px solid var(--line); }
.zzp-block:first-child { border-top: 0; padding-top: 0; }
.zzp-block h2 { font-size: var(--fs-700); }
.zzp-block__tag {
  margin-bottom: var(--s-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.zzp-block .stack { max-width: 62ch; }
.zzp-inline-photo { margin-bottom: var(--s-5); }
.zzp-inline-photo img { width: 100%; max-width: 768px; height: auto; max-height: 420px; object-fit: cover; object-position: center 25%; border-radius: var(--radius-m); }
.zzp-later {
  margin-top: var(--s-5);
  padding: var(--s-6);
  background: var(--warm);
  border-radius: var(--radius-m);
}
.zzp-later h2 { font-size: var(--fs-700); margin-bottom: var(--s-3); }
.zzp-later .bullets { margin-top: var(--s-4); }
@media (min-width: 1080px) {
  .zzp-layout { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
  .zzp-aside { display: block; }
  .zzp-inline-photo { display: none; }
  .zzp-block { padding-block: var(--s-6); }
}
/* the photo only sticks when the viewport is tall enough to show it whole */
@media (min-width: 1080px) and (min-height: 760px) {
  .zzp-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ----- Team ------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
.person { display: flex; flex-direction: column; }
.person__photo {
  aspect-ratio: 1 / 1;
  background: var(--warm);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.person__name {
  margin-top: var(--s-4);
  font-size: var(--fs-500);
  line-height: 1.25;
}
.person__role { margin-top: 2px; font-size: var(--fs-300); color: var(--ink-soft); min-height: 1.4em; }
.person__mail {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-1);
  min-height: 44px;
  font-size: var(--fs-350);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
.person__mail .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 479px) {
  .team-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .person { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--s-4); align-content: start; }
  .person__photo { grid-row: 1 / span 3; align-self: start; }
  .person__name { margin-top: 0; }
  .person__mail { margin-top: var(--s-1); }
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
  .person__role { font-size: var(--fs-350); }
}
@media (min-width: 1000px) { .team-grid { gap: var(--s-7) var(--s-6); } }

.hiring {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-400);
}

/* ----- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--s-7); }
.contact-actions { display: grid; gap: var(--s-4); }
.contact-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4) var(--s-5);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-m);
  text-decoration: none;
  min-height: 72px;
  transition: background-color 0.18s ease;
}
.contact-action:hover { background: var(--warm); }
.contact-action .icon { width: 1.6rem; height: 1.6rem; color: var(--navy); }
.contact-action__label { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-action__value { display: block; font-family: var(--font-display); font-size: var(--fs-600); line-height: 1.25; word-break: break-word; }
.contact-details { display: grid; gap: var(--s-5); }
.contact-details h2 { font-size: var(--fs-600); margin-bottom: var(--s-2); }
.contact-details address { font-style: normal; }
.contact-details dl { display: grid; gap: var(--s-3); }
.contact-details dt { font-weight: 600; }
.contact-photo { max-width: 440px; }
.contact-photo img { width: 100%; height: auto; border-radius: var(--radius-m); aspect-ratio: 490 / 437; object-fit: cover; }
.contact-photo figcaption { margin-top: var(--s-3); font-size: var(--fs-300); color: var(--ink-soft); }
.route-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin-top: var(--s-1); }
.kennis__grid { display: grid; gap: var(--s-6); align-items: center; }
.kennis__photo img {
  width: 100%; max-width: 280px; height: auto;
  border-radius: var(--radius-m);
  aspect-ratio: 1 / 1; object-fit: cover;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: var(--s-8); align-items: start; }
  .kennis__grid { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-8); }
}

/* ----- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-navy); }
.footer__grid { display: grid; gap: var(--s-6); padding-block: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); }
.footer__brand img { width: 190px; height: auto; margin-bottom: var(--s-4); }
.footer__brand address { font-style: normal; color: var(--on-navy-soft); }
.footer__brand p { margin-top: var(--s-4); font-size: var(--fs-350); color: var(--on-navy-soft); max-width: 36ch; }
.site-footer h2 {
  font-family: var(--font-text);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: var(--s-3);
}
.footer-list a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  min-width: 44px;
  color: var(--on-navy);
  text-decoration: none;
}
.footer-list a:hover { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 0.25em; }
.footer-contact a { color: var(--on-navy); font-weight: 600; text-underline-offset: 0.25em; text-decoration-color: var(--sand); }
.footer-contact li { margin: 0; }
.footer-contact li { margin-bottom: var(--s-1); }
.footer__bottom { border-top: 1px solid rgba(234, 202, 146, 0.28); background: var(--navy-deep); }
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-6);
  padding-block: var(--s-4);
  font-size: var(--fs-300);
  color: var(--on-navy-soft);
}
.footer__bottom a { color: var(--on-navy); }
.footer__legal-id { margin-top: var(--s-4); color: var(--on-navy-soft); font-size: var(--fs-300); }
.footer__sub { margin-top: var(--s-5); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: var(--s-7); } }

/* ----- Motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-hide {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-hide.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band { display: none; }
  .reveal-hide { opacity: 1 !important; transform: none !important; }
}
