/* ===========================================================================
   Buro Inzicht — Webfont declarations (self-hosted woff2)
   Fraunces  — display serif (headings)
   DM Sans   — grotesque sans (body & UI)
   =========================================================================== */

/* ---------- Fraunces ----------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-900.woff2") format("woff2");
}

/* ---------- DM Sans ------------------------------------------------------ */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-700.woff2") format("woff2");
}

/* ---------- Caveat (signature accent) ------------------------------------ */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ===========================================================================
   Buro Inzicht — Color tokens
   A warm, dark-first palette: charcoal/black surfaces, an old-gold accent,
   a copper companion, plus muted xanadu (sage) and cream/merino paper tones.
   =========================================================================== */

:root {
  /* --- Neutrals (shade-0 darkest → lightest) ----------------------------- */
  --color-white: #ffffff;
  --color-neutral-lightest: #f2f2f2;
  --color-neutral-lighter: #dad9d9;
  --color-neutral-light: #b5b4b3;
  --color-neutral: #848281;
  --color-neutral-dark: #53504e;
  --color-neutral-darker: #221e1c;
  --color-neutral-darkest: #0a0503;

  /* --- Old Gold (primary accent) ----------------------------------------- */
  --color-old-gold-lightest: #faf6ec;
  --color-old-gold-lighter: #f6edda;
  --color-old-gold-light: #e0c27e;
  --color-old-gold: #d4a847;
  --color-old-gold-dark: #a98638;
  --color-old-gold-darker: #54431c;
  --color-old-gold-darkest: #3f3215;

  /* --- Copper (secondary / gradient partner) ----------------------------- */
  --color-copper-lightest: #f9efeb;
  --color-copper-lighter: #f3e0d7;
  --color-copper-light: #d59475;
  --color-copper: #c4673a;
  --color-copper-dark: #9c522e;
  --color-copper-darker: #4e2917;
  --color-copper-darkest: #3a1e11;

  /* --- Xanadu (muted sage) ----------------------------------------------- */
  --color-xanadu-lightest: #f1f3f1;
  --color-xanadu-lighter: #e4e8e4;
  --color-xanadu-light: #a1aea1;
  --color-xanadu: #7a8c7a;
  --color-xanadu-dark: #617061;
  --color-xanadu-darker: #303830;
  --color-xanadu-darkest: #242a24;

  /* --- Merino (warm paper) ----------------------------------------------- */
  --color-merino-lightest: #fefefd;
  --color-merino-lighter: #fefdfc;
  --color-merino-light: #fbf9f5;
  --color-merino: #faf7f2;
  --color-merino-dark: #c8c5c1;
  --color-merino-darker: #646260;
  --color-merino-darkest: #4b4a48;

  /* --- Charade (cool slate, for cooler dark sections) -------------------- */
  --color-charade-lightest: #eaeaeb;
  --color-charade-lighter: #d5d6d8;
  --color-charade-light: #6c7079;
  --color-charade: #2e3440;
  --color-charade-dark: #242933;
  --color-charade-darker: #121419;
  --color-charade-darkest: #0d0f13;

  /* --- Alpha overlays ---------------------------------------------------- */
  --color-white-5:  color-mix(in srgb, var(--color-white), transparent 95%);
  --color-white-10: color-mix(in srgb, var(--color-white), transparent 90%);
  --color-white-15: color-mix(in srgb, var(--color-white), transparent 85%);
  --color-white-20: color-mix(in srgb, var(--color-white), transparent 80%);
  --color-white-40: color-mix(in srgb, var(--color-white), transparent 60%);
  --color-white-60: color-mix(in srgb, var(--color-white), transparent 25%);
  --color-dark-5:  color-mix(in srgb, var(--color-neutral-darkest), transparent 95%);
  --color-dark-10: color-mix(in srgb, var(--color-neutral-darkest), transparent 90%);
  --color-dark-15: color-mix(in srgb, var(--color-neutral-darkest), transparent 85%);
  --color-dark-20: color-mix(in srgb, var(--color-neutral-darkest), transparent 80%);
  --color-dark-50: color-mix(in srgb, var(--color-neutral-darkest), transparent 50%);
  --color-dark-60: color-mix(in srgb, var(--color-neutral-darkest), transparent 40%);

  /* =========================================================================
     Semantic aliases — prefer these in components & layouts.
     ========================================================================= */

  /* Brand */
  --brand-gold: var(--color-old-gold);
  --brand-gold-deep: var(--color-old-gold-dark);
  --brand-copper: var(--color-copper);
  --gradient-brand: linear-gradient(135deg, var(--color-old-gold) 20%, var(--color-copper));
  --gradient-brand-deep: linear-gradient(135deg, var(--color-old-gold-dark), var(--color-copper-dark));

  /* Surfaces */
  --surface-base: var(--color-neutral-darker);     /* default dark page bg   */
  --surface-deep: var(--color-neutral-darkest);    /* near-black             */
  --surface-slate: var(--color-charade);           /* cool dark alt          */
  --surface-gold: var(--color-old-gold);           /* gold feature panel     */
  --surface-gold-deep: var(--color-old-gold-dark); /* deep gold panel        */
  --surface-cream: var(--color-old-gold-lightest); /* light warm section     */
  --surface-paper: var(--color-merino);            /* light neutral section  */

  /* Text */
  --text-on-dark: var(--color-white);
  --text-on-dark-muted: var(--color-white-60);
  --text-on-light: var(--color-neutral-darkest);
  --text-on-light-muted: var(--color-dark-60);
  --text-accent: var(--color-old-gold);

  /* Lines */
  --border-on-dark: var(--color-white-20);
  --border-on-light: var(--color-dark-15);

  /* Focus */
  --focus-ring: var(--color-old-gold);
}
/* ===========================================================================
   Buro Inzicht — Typography tokens
   Headings: Fraunces (high-contrast serif, optical display cut), weight 700.
   Body:     DM Sans (clean geometric grotesque), weight 400.
   Type scale is responsive: base values are mobile, *-lg are ≥992px desktop.
   =========================================================================== */

:root {
  /* --- Families ---------------------------------------------------------- */
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- Weights ----------------------------------------------------------- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* --- Type scale · mobile (default) ------------------------------------- */
  --text-h1: 3rem;       /* 48px */
  --text-h2: 2.75rem;    /* 44px */
  --text-h3: 2rem;       /* 32px */
  --text-h4: 1.5rem;     /* 24px */
  --text-h5: 1.25rem;    /* 20px */
  --text-h6: 1.125rem;   /* 18px */
  --text-large: 1.125rem;
  --text-medium: 1rem;
  --text-regular: 0.875rem;
  --text-small: 0.75rem;
  --text-tiny: 0.625rem;

  /* --- Line heights ------------------------------------------------------ */
  --leading-h1: 1.1;
  --leading-h2: 1.2;
  --leading-h3: 1.2;
  --leading-h4: 1.3;
  --leading-h5: 1.3;
  --leading-h6: 1.4;
  --leading-body: 1.5;

  /* --- Tracking ---------------------------------------------------------- */
  --tracking-heading: -0.01em;  /* headings tighten slightly */
  --tracking-body: 0;
}

/* --- Type scale · desktop (≥992px) --------------------------------------- */
@media (min-width: 992px) {
  :root {
    --text-h1: 5.25rem;   /* 84px */
    --text-h2: 3.75rem;   /* 60px */
    --text-h3: 3rem;      /* 48px */
    --text-h4: 2.5rem;    /* 40px */
    --text-h5: 2rem;      /* 32px */
    --text-h6: 1.625rem;  /* 26px */
    --text-large: 1.625rem;
    --text-medium: 1.25rem;
    --text-regular: 1.125rem;
    --text-small: 1rem;
    --text-tiny: 0.75rem;
  }
}
/* ===========================================================================
   Buro Inzicht — Spacing, radii, containers, elevation, motion
   =========================================================================== */

:root {
  /* --- Spacing scale (rem) ----------------------------------------------- */
  --space-1: 0.25rem;   /* 4  */
  --space-2: 0.5rem;    /* 8  */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-8: 2rem;      /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-18: 4.5rem;   /* 72 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */
  --space-28: 7rem;     /* 112 */
  --space-30: 7.5rem;   /* 120 */

  /* Section rhythm — vertical padding for full-width sections.
     Mobile / tablet / desktop respectively. */
  --section-y: 4rem;
  --section-y-md: 6rem;
  --section-y-lg: 7rem;
  /* Horizontal page gutter */
  --page-x: 5%;

  /* --- Radii ------------------------------------------------------------- */
  --radius-button: 0.375rem;   /* 6px  */
  --radius-badge: 0.375rem;    /* 6px  */
  --radius-input: 0.375rem;    /* 6px  */
  --radius-checkbox: 0.125rem; /* 2px  */
  --radius-card: 1rem;         /* 16px */
  --radius-image: 1rem;        /* 16px */
  --radius-full: 9999px;

  /* --- Containers -------------------------------------------------------- */
  --container-sm: 30rem;   /* 480 */
  --container-md: 35rem;   /* 560 */
  --container-lg: 48rem;   /* 768 */
  --container-xl: 64rem;   /* 1024 */
  --container-xxl: 80rem;  /* 1280 — default page container */

  /* --- Breakpoints (reference) ------------------------------------------- */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 992px;

  /* --- Elevation --------------------------------------------------------- */
  /* The brand leans flat: most depth comes from color contrast & imagery,
     not shadows. These soft, warm-tinted shadows are used sparingly on
     floating cards / overlays. */
  --shadow-sm: 0 1px 2px rgba(10, 5, 3, 0.08);
  --shadow-md: 0 6px 20px rgba(10, 5, 3, 0.12);
  --shadow-lg: 0 18px 48px rgba(10, 5, 3, 0.22);

  /* --- Motion ------------------------------------------------------------ */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 400ms;
}
/* ===========================================================================
   Buro Inzicht — Base element styles
   Minimal resets + the brand's default type rendering. Components and kits
   build on top of these defaults; tokens stay the single source of truth.
   =========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-medium);
  line-height: var(--leading-body);
  color: var(--text-on-dark);
  background-color: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--text-h1); line-height: var(--leading-h1); }
h2 { font-size: var(--text-h2); line-height: var(--leading-h2); }
h3 { font-size: var(--text-h3); line-height: var(--leading-h3); }
h4 { font-size: var(--text-h4); line-height: var(--leading-h4); }
h5 { font-size: var(--text-h5); line-height: var(--leading-h5); }
h6 { font-size: var(--text-h6); line-height: var(--leading-h6); }

p { margin: 0; text-wrap: pretty; }

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

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

button {
  font-family: inherit;
  font-size: inherit;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

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

/* Layout helpers ---------------------------------------------------------- */
.bi-container {
  width: 100%;
  max-width: var(--container-xxl);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.bi-section {
  padding-block: var(--section-y);
}
@media (min-width: 768px) {
  .bi-section { padding-block: var(--section-y-md); }
}
@media (min-width: 992px) {
  .bi-section { padding-block: var(--section-y-lg); }
}

/* Eyebrow / kicker label above headings */
.bi-eyebrow {
  font-size: var(--text-medium);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-4);
}
/* ===========================================================================
   Buro Inzicht — Color schemes
   Sections are painted by applying ONE scheme class to the section element.
   Each scheme exposes --scheme-bg / --scheme-text / --scheme-accent /
   --scheme-border so children inherit the correct contrast automatically.
   Alternate light/dark schemes down a page to create rhythm.
   =========================================================================== */

.scheme-1,
.scheme-2,
.scheme-3,
.scheme-4,
.scheme-5,
.scheme-6,
.scheme-7 {
  background-color: var(--scheme-bg);
  color: var(--scheme-text);
}

/* Scheme 1 — Charcoal (default dark) ·············· logo: light ··· */
.scheme-1 {
  --scheme-bg: var(--color-neutral-darker);
  --scheme-text: var(--color-white);
  --scheme-accent: var(--color-old-gold);
  --scheme-border: var(--color-white-20);
  --scheme-muted: var(--color-white-60);
}

/* Scheme 2 — Cream (light warm) ·················· logo: dark ···· */
.scheme-2 {
  --scheme-bg: var(--color-old-gold-lightest);
  --scheme-text: var(--color-neutral-darkest);
  --scheme-accent: var(--color-neutral-darkest);
  --scheme-border: var(--color-dark-15);
  --scheme-muted: var(--color-dark-60);
}

/* Scheme 3 — Deep gold ·························· logo: light ··· */
.scheme-3 {
  --scheme-bg: var(--color-old-gold-darker);
  --scheme-text: var(--color-white);
  --scheme-accent: var(--color-white);
  --scheme-border: var(--color-white-20);
  --scheme-muted: var(--color-white-60);
}

/* Scheme 4 — Slate (cool dark) ················· logo: light ··· */
.scheme-4 {
  --scheme-bg: var(--color-charade);
  --scheme-text: var(--color-white);
  --scheme-accent: var(--color-white);
  --scheme-border: var(--color-white-20);
  --scheme-muted: var(--color-white-60);
}

/* Scheme 5 — Paper (light neutral) ············· logo: dark ···· */
.scheme-5 {
  --scheme-bg: var(--color-merino);
  --scheme-text: var(--color-neutral-darkest);
  --scheme-accent: var(--color-neutral-darkest);
  --scheme-border: var(--color-dark-15);
  --scheme-muted: var(--color-dark-60);
}

/* Scheme 6 — Bright gold ······················· logo: light ··· */
.scheme-6 {
  --scheme-bg: var(--color-old-gold);
  --scheme-text: var(--color-white);
  --scheme-accent: var(--color-white);
  --scheme-border: var(--color-white-20);
  --scheme-muted: var(--color-white-60);
}

/* Scheme 7 — Light gold ························· logo: dark ···· */
.scheme-7 {
  --scheme-bg: var(--color-old-gold-light);
  --scheme-text: var(--color-neutral-darkest);
  --scheme-accent: var(--color-neutral-darkest);
  --scheme-border: var(--color-dark-15);
  --scheme-muted: var(--color-dark-60);
}

/* Helper: borders & accents that follow the active scheme */
.scheme-border { border-color: var(--scheme-border); }
.scheme-accent { color: var(--scheme-accent); }
.scheme-muted  { color: var(--scheme-muted); }

/* On light schemes, the light logo (white/gold) must invert to stay legible.
   Add .logo-invert-on-light alongside a scheme on light backgrounds. */
.scheme-2 .logo-dark img,
.scheme-5 .logo-dark img,
.scheme-7 .logo-dark img {
  filter: brightness(0);
}
/* ===========================================================================
   Buro Inzicht — Homepage styles
   Builds on the design-system tokens (tokens/*.css). Tokens stay the single
   source of truth; this file is layout + components only.
   =========================================================================== */

/* --- Tweakable runtime knobs (overridden by JS from the Tweaks panel) ----- */
:root {
  --heading-weight: var(--weight-bold);
  --heading-scale: 1;
  --hero-scrim: 0.46;          /* hero overlay darkness 0–1            */
  --card-bd: var(--scheme-border);
  --card-shadow: none;
  --card-bg-tint: transparent;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body { overflow-x: hidden; }

/* Headings honour the tweakable weight; display headings honour the scale. */
h1, h2, h3, h4, h5, h6 { font-weight: var(--heading-weight); }

::selection { background: var(--color-old-gold); color: var(--color-neutral-darkest); }

/* --- Reusable bits -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--container-xxl); margin-inline: auto; padding-inline: var(--page-x); }
.wrap-narrow { max-width: var(--container-xl); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--scheme-accent);
  margin: 0 0 var(--space-5);
}
.eyebrow.center { text-align: center; }

.lede { color: var(--scheme-muted); font-size: var(--text-large); line-height: 1.55; max-width: 46ch; }
.lede.center { margin-inline: auto; text-align: center; }

.display { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); }
.display-xl { font-size: calc(var(--text-h1) * var(--heading-scale)); line-height: var(--leading-h1); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --_bg: var(--color-old-gold);
  --_fg: var(--color-neutral-darkest);
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-medium); font-weight: var(--weight-semibold);
  line-height: 1; padding: 0.95em 1.6em; border-radius: var(--radius-button);
  border: 1.5px solid transparent; background: var(--_bg); color: var(--_fg);
  transition: transform var(--duration-base) var(--ease-standard),
              background var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(212,168,71,0.28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn--primary {
  --_bg: linear-gradient(135deg,
    color-mix(in srgb, var(--color-old-gold) 92%, white) 0%,
    var(--color-old-gold) 55%,
    color-mix(in srgb, var(--color-old-gold) 92%, black) 100%);
  --_fg: var(--color-neutral-darkest);
}
.btn--ghost {
  --_bg: transparent; --_fg: currentColor;
  border-color: color-mix(in srgb, currentColor, transparent 60%);
}
.btn--ghost:hover { background: var(--color-white-10); box-shadow: none; border-color: currentColor; }
.scheme-2 .btn--ghost:hover, .scheme-5 .btn--ghost:hover, .scheme-7 .btn--ghost:hover { background: var(--color-dark-5); }
.btn--on-gold { --_bg: var(--color-neutral-darkest); --_fg: var(--color-white); }
.btn--on-gold:hover { box-shadow: 0 10px 26px rgba(10,5,3,0.28); }

.textlink {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--weight-semibold); font-size: var(--text-medium);
  color: var(--scheme-accent); position: relative; transition: gap var(--duration-base) var(--ease-standard);
}
.textlink svg { width: 1em; height: 1em; transition: transform var(--duration-base) var(--ease-standard); }
.textlink:hover { gap: var(--space-3); }
.textlink:hover svg { transform: translateX(3px); }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); padding: var(--space-5) var(--page-x);
  min-height: 138px;
  transition: background var(--duration-slow) var(--ease-standard),
              box-shadow var(--duration-slow) var(--ease-standard),
              border-color var(--duration-slow) var(--ease-standard);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--color-neutral-darkest), transparent 8%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--color-white-10);
  box-shadow: 0 10px 40px rgba(10,5,3,0.35);
}
.nav__logo { flex-shrink: 0; display: inline-flex; }
.nav__logo img, .nav__logo svg { height: 114px; width: auto; max-width: none; object-fit: contain; display: block; transition: height var(--duration-base) var(--ease-standard); }
.nav__logo svg .blade { transform-origin: 48px 54px; fill: #e3b148; animation: bi-blade-open 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.58s both; }
.nav__logo svg .lens { transform-origin: 48px 53px; animation: bi-lens-in 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both; }
.nav__logo svg .tv-text { transform-origin: 211px 64px; transform: scaleY(0); animation: bi-tv-on 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 1.2s forwards; }
.nav__logo svg .tv-line { transform-origin: 211px 64px; transform: scaleX(0); opacity: 0; fill: #f5ecd5; filter: blur(0.77px); animation: bi-tv-line 0.5s ease-out 0.95s forwards; }
@keyframes bi-blade-open { 0% { transform: rotate(-55deg) scale(0.15); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(0deg) scale(1); opacity: 1; } }
@keyframes bi-lens-in { 0% { transform: scale(0.4) rotate(0deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1) rotate(-720deg); opacity: 1; } }
@keyframes bi-tv-on { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes bi-tv-line { 0% { transform: scaleX(0); opacity: 0; } 25% { transform: scaleX(1); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nav__logo svg .blade, .nav__logo svg .lens, .nav__logo svg .tv-text, .nav__logo svg .tv-line { animation: none; transform: none; opacity: 1; } }
.nav.is-stuck .nav__logo img, .nav.is-stuck .nav__logo svg { height: 76px; }
@media (max-width: 700px) {
  .nav { min-height: 84px; padding-block: var(--space-3); }
  .nav__logo img, .nav__logo svg { height: 56px; }
  .nav.is-stuck .nav__logo img, .nav.is-stuck .nav__logo svg { height: 44px; }
}
.nav__links { display: flex; align-items: center; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: var(--text-medium); font-weight: var(--weight-medium); color: var(--color-white-60);
  position: relative; padding: 4px 0; transition: color var(--duration-base) var(--ease-standard);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--color-old-gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-base) var(--ease-standard);
}
.nav__links a:hover { color: var(--color-white); }
.nav__links a.is-active { color: var(--color-white); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: var(--space-5); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius-button);
    background: var(--color-white-10); border: 1px solid var(--color-white-20); color: var(--color-white);
  }
  .nav__toggle svg { width: 22px; height: 22px; }
}

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--color-neutral-darkest);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-4);
  padding: var(--page-x); opacity: 0; pointer-events: none; transition: opacity var(--duration-base);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-heading); font-size: var(--text-h3); color: var(--color-white); }
.mobile-menu a:hover { color: var(--color-old-gold); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--space-30) + 1.5rem) 0 var(--space-20); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img,
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--color-neutral-darkest) calc(var(--hero-scrim) * 105%), transparent) 0%,
      color-mix(in srgb, var(--color-neutral-darkest) calc(var(--hero-scrim) * 60%), transparent) 34%,
      transparent 64%,
      color-mix(in srgb, var(--color-neutral-darkest) calc(var(--hero-scrim) * 55%), transparent) 100%),
    linear-gradient(90deg,
      color-mix(in srgb, var(--color-neutral-darkest) calc(var(--hero-scrim) * 110%), transparent) 0%,
      color-mix(in srgb, var(--color-neutral-darkest) calc(var(--hero-scrim) * 55%), transparent) 40%,
      transparent 72%);
}
.hero__inner { max-width: 60ch; }
.hero h1 {
  font-size: calc(var(--text-h1) * var(--heading-scale)); line-height: var(--leading-h1);
  color: var(--color-white); margin-bottom: var(--space-6); max-width: 15ch;
  text-shadow: 0 2px 40px rgba(10,5,3,0.55);
}
.hero p { color: var(--color-white); opacity: 0.92; font-size: var(--text-large); line-height: 1.5; max-width: 48ch; margin-bottom: var(--space-8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.floating-scroll {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in srgb, var(--color-white) 25%, transparent);
  background: color-mix(in srgb, var(--color-neutral-darkest) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  display: grid; place-items: center;
  cursor: pointer; padding: 0;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    background var(--duration-base) var(--ease-standard),
    color var(--duration-base) var(--ease-standard);
  box-shadow: var(--shadow-lg);
}
.floating-scroll svg { width: 22px; height: 22px; transition: transform var(--duration-base) var(--ease-standard); }
.floating-scroll.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-scroll:hover { background: var(--color-old-gold); color: var(--color-neutral-darkest); border-color: transparent; }
.floating-scroll.is-top svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .floating-scroll, .floating-scroll svg { transition: none; }
}

/* =========================================================================
   WERKWIJZE (split feature)
   ========================================================================= */
.feature { padding: 0; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; }
.feature__media { position: relative; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }

.feature-carousel { position: absolute; inset: 0; }
.feature-carousel__track { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.feature-carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1600ms cubic-bezier(.45, 0, .55, 1);
}
.feature-carousel__slide.is-active { opacity: 1; }
.feature-carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-carousel__dots {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.feature-carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--color-white-10); border: 1px solid var(--color-white-20);
  color: var(--color-white); display: grid; place-items: center;
  transition: background var(--duration-base), opacity var(--duration-base);
  z-index: 3; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.feature-carousel__btn:hover { background: var(--color-white-20); }
.feature-carousel__btn svg { width: 20px; height: 20px; }
.feature-carousel__prev { left: 16px; }
.feature-carousel__next { right: 16px; }
@media (max-width: 600px) {
  .feature-carousel__btn { width: 38px; height: 38px; }
  .feature-carousel__prev { left: 8px; }
  .feature-carousel__next { right: 8px; }
}
.feature-carousel__dots button {
  width: 22px; height: 8px; padding: 0; border: 0; background: transparent;
  cursor: pointer; position: relative;
}
.feature-carousel__dots button::before {
  content: ""; position: absolute; inset: -8px;
}
.feature-carousel__dots button::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-white) 55%, transparent);
  transform: translate(-50%, -50%);
  transition: width var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
.feature-carousel__dots button.is-active::after { width: 22px; background: var(--color-white); }

/* =============================================================
   WHATSAPP QR MODAL
   ============================================================= */
.wa-modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-neutral-darkest), transparent 10%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: var(--space-6);
}
.wa-modal[hidden] { display: none; }
.wa-modal__panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--color-white);
  color: var(--color-neutral-darkest);
  border-radius: var(--radius-card);
  padding: var(--space-10) var(--space-8) var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.wa-modal__close {
  position: absolute; top: var(--space-3); right: var(--space-3);
  width: 36px; height: 36px; border: 0; padding: 0; background: transparent;
  color: var(--color-neutral-darkest); cursor: pointer; border-radius: var(--radius-full);
  display: grid; place-items: center;
  transition: background var(--duration-base);
}
.wa-modal__close:hover { background: var(--color-dark-5); }
.wa-modal__close svg { width: 20px; height: 20px; }
.wa-modal__panel h3 { font-family: var(--font-heading); font-size: var(--text-h4); margin: 0 0 var(--space-3); }
.wa-modal__lede { color: var(--color-dark-60); font-size: var(--text-regular); margin: 0 0 var(--space-6); }
.wa-modal__qr {
  display: grid; place-items: center;
  margin: 0 auto var(--space-5);
  width: 280px; height: 280px;
  background: var(--color-white);
  border-radius: var(--radius-card);
}
.wa-modal__qr img, .wa-modal__qr svg { width: 100%; height: 100%; display: block; }
.wa-modal__hint { font-size: var(--text-small); color: var(--color-dark-60); margin: 0; }
.wa-modal__hint a { color: var(--color-old-gold-dark); font-weight: var(--weight-semibold); }
.wa-modal__hint a:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: 0; top: 0;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
  padding: var(--space-3) var(--space-5);
  background: var(--color-old-gold); color: var(--color-neutral-darkest);
  border-radius: var(--radius-full); font-weight: var(--weight-semibold);
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus, .skip-link:focus-visible {
  width: auto; height: auto; overflow: visible;
  clip: auto; clip-path: none; white-space: normal;
  left: var(--space-4); top: var(--space-4);
  outline: 2px solid var(--color-white); outline-offset: 2px;
}

.feature__signature {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 3;
  font-family: "Caveat", cursive;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.01em;
  opacity: 0.5;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .feature-carousel__slide { transition: none; }
}
.feature__play {
  position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: var(--radius-full);
  background: var(--color-white); color: var(--color-neutral-darkest); border: none;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform var(--duration-base) var(--ease-standard);
}
.feature__play svg { width: 26px; height: 26px; margin-left: 3px; }
.feature__play::after { content: ""; position: absolute; inset: -10px; border-radius: var(--radius-full); border: 1px solid var(--color-white-40); animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.feature__play:hover { transform: scale(1.06); }
.feature__panel {
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--color-old-gold-dark) 88%, white) 0%, transparent 55%),
    radial-gradient(120% 100% at 100% 100%, color-mix(in srgb, var(--color-old-gold-dark) 92%, black) 0%, transparent 60%),
    var(--color-old-gold-dark);
  color: var(--color-white);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--section-y-md) clamp(2rem, 6vw, 6rem);
}
.feature__icon {
  width: 64px; height: 64px; border-radius: var(--radius-card); display: grid; place-items: center;
  background: var(--color-white-15); border: 1px solid var(--color-white-20); margin-bottom: var(--space-6);
}
.feature__icon svg { width: 30px; height: 30px; }
.feature__icon--text {
  font-family: var(--font-heading);
  font-size: 40px; line-height: 1; font-weight: var(--weight-bold);
  color: var(--color-white);
}
.feature__panel h2 { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); margin-bottom: var(--space-5); max-width: 14ch; }
.feature__panel p { color: var(--color-white); opacity: .85; font-size: var(--text-large); line-height: 1.55; margin-bottom: var(--space-8); max-width: 42ch; }
.feature__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

@media (max-width: 860px) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature__media { min-height: 50vh; }
  .feature__panel { padding: var(--section-y) var(--page-x); }
}

/* =========================================================================
   SECTION HEADER (shared)
   ========================================================================= */
.sec-head { max-width: 60ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); margin-bottom: var(--space-5); }
.sec-head .lede { margin-top: var(--space-4); }
.sec-actions { display: flex; justify-content: center; gap: var(--space-4); margin-top: var(--space-16); }

/* =========================================================================
   DIENSTEN
   ========================================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin-top: var(--space-20); }
.svc {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-8); border-radius: var(--radius-card);
  border: 1px solid var(--card-bd); background: var(--card-bg-tint); box-shadow: var(--card-shadow);
  transition: transform var(--duration-base) var(--ease-standard), border-color var(--duration-base), background var(--duration-base);
}
.svc:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--color-old-gold), transparent 30%); }
.svc__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--radius-card); background: var(--color-white-10); color: var(--color-old-gold); border: 1px solid var(--color-white-15); }
.svc__icon svg { width: 28px; height: 28px; }
.svc__num { font-family: var(--font-heading); font-size: var(--text-small); color: var(--scheme-muted); letter-spacing: .1em; }
.svc h3 { font-size: var(--text-h5); line-height: var(--leading-h5); }
.svc p { color: var(--scheme-muted); font-size: var(--text-regular); line-height: 1.55; }

/* Diensten layout variants (Tweak: Diensten-indeling) */
[data-svc="list"] .svc-grid { grid-template-columns: 1fr; gap: 0; margin-top: var(--space-16); }
[data-svc="list"] .svc {
  flex-direction: row; align-items: center; gap: var(--space-8);
  border-radius: 0; border-width: 0 0 1px 0; padding: var(--space-8) var(--space-4);
  box-shadow: none; background: transparent;
}
[data-svc="list"] .svc:first-child { border-top: 1px solid var(--card-bd); }
[data-svc="list"] .svc:hover { transform: none; padding-left: var(--space-6); }
[data-svc="list"] .svc__icon { flex: none; }
[data-svc="list"] .svc h3 { flex: 0 0 26%; margin: 0; }
[data-svc="list"] .svc p { flex: 1; margin: 0; }
[data-svc="list"] .svc__num { display: none; }

[data-svc="columns"] .svc-grid { gap: var(--space-10) var(--space-12); }
[data-svc="columns"] .svc { border: none; background: transparent; box-shadow: none; padding: 0; text-align: left; }
[data-svc="columns"] .svc:hover { transform: translateY(-4px); }
[data-svc="columns"] .svc__icon { background: transparent; border: none; color: var(--color-old-gold); width: 40px; height: 40px; padding: 0; }
[data-svc="columns"] .svc__icon svg { width: 38px; height: 38px; }
[data-svc="columns"] .svc { position: relative; padding-top: var(--space-8); }
[data-svc="columns"] .svc::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 2px; background: var(--color-old-gold); }

@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); }
  [data-svc="list"] .svc { flex-wrap: wrap; }
  [data-svc="list"] .svc h3 { flex-basis: 100%; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   VOORDELEN (gold radial layout)
   ========================================================================= */
.benefits { background: var(--color-old-gold); color: var(--color-white); }
.benefits .eyebrow { color: var(--color-white); opacity: .8; }
.benefits h2 { color: var(--color-white); }
.benefits__index { font-family: var(--font-heading); font-size: var(--text-h4); color: var(--color-white); opacity: .55; text-align: center; margin-top: var(--space-4); }
.benefits__grid {
  display: grid; grid-template-columns: 1fr minmax(280px, 420px) 1fr;
  gap: var(--space-12); align-items: center; margin-top: var(--space-18);
}
.benefits__media { border-radius: var(--radius-image); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-lg); }
.benefits__media img { width: 100%; height: 100%; object-fit: cover; }
.benefit { display: flex; flex-direction: column; gap: var(--space-3); }
.benefit__icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--color-white); }
.benefit__icon svg { width: 34px; height: 34px; }
.benefit h3 { font-size: var(--text-h5); line-height: 1.25; color: var(--color-white); }
.benefit p { color: var(--color-white); opacity: .82; font-size: var(--text-regular); line-height: 1.55; }
.benefits__col { display: flex; flex-direction: column; gap: var(--space-16); }
.benefits__col--left { text-align: right; align-items: flex-end; }
.benefits__col--left .benefit { align-items: flex-end; text-align: right; }
.benefits .sec-actions .btn--ghost { border-color: var(--color-white-40); }
.benefits .sec-actions .btn--ghost:hover { background: var(--color-white-15); border-color: var(--color-white); }

@media (max-width: 960px) {
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefits__media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16/10; max-width: 520px; margin-inline: auto; }
  .benefits__col--left { text-align: left; align-items: flex-start; }
  .benefits__col--left .benefit { align-items: flex-start; text-align: left; }
}
@media (max-width: 600px) { .benefits__grid { grid-template-columns: 1fr; } .benefits__col { gap: var(--space-10); } }

/* =========================================================================
   PORTFOLIO
   ========================================================================= */
.pf__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.pf__filter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); margin-bottom: var(--space-12); }
.chip-btn {
  font-size: var(--text-regular); font-weight: var(--weight-medium); color: var(--color-white-60);
  padding: 0.55em 1.05em; border-radius: var(--radius-full); border: 1px solid var(--color-white-20);
  background: transparent; transition: all var(--duration-base) var(--ease-standard);
}
.chip-btn:hover { color: var(--color-white); border-color: var(--color-white-40); }
.chip-btn.is-active { background: var(--color-old-gold); color: var(--color-neutral-darkest); border-color: var(--color-old-gold); }

.pf-grid { columns: 3; column-gap: var(--space-6); }
.pf__more-wrap { display: flex; justify-content: center; margin-top: var(--space-12); }
.pf-card {
  break-inside: avoid; margin-bottom: var(--space-6); display: block; position: relative;
  border-radius: var(--radius-card); overflow: hidden; background: #2C2520;
  border: 1px solid var(--card-bd); box-shadow: var(--card-shadow);
}
.pf-card.is-hidden { display: none; }
.pf-card__media { position: relative; overflow: hidden; cursor: zoom-in; }
.pf-card__media img { width: 100%; height: auto; display: block; transition: transform var(--duration-slow) var(--ease-standard); }
.pf-card:hover .pf-card__media img { transform: scale(1.04); }
.pf-card__zoom {
  position: absolute; top: var(--space-3); right: var(--space-3); width: 38px; height: 38px;
  border-radius: var(--radius-full); background: var(--color-dark-60); color: var(--color-white);
  display: grid; place-items: center; opacity: 0; transform: translateY(-6px);
  transition: all var(--duration-base) var(--ease-standard); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pf-card__zoom svg { width: 18px; height: 18px; }
.pf-card:hover .pf-card__zoom { opacity: 1; transform: translateY(0); }
.pf-card__body { padding: var(--space-6); }
.pf-card__body h3 { font-size: var(--text-h5); line-height: 1.2; margin-bottom: var(--space-3); }
.pf-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.tag { font-size: var(--text-small); color: var(--color-white-60); padding: 0.35em 0.8em; border-radius: var(--radius-badge); background: var(--color-white-5); border: 1px solid var(--color-white-10); }

@media (max-width: 900px) { .pf-grid { columns: 2; } }
@media (max-width: 560px) { .pf-grid { columns: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-neutral-darkest), transparent 4%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity var(--duration-base);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__stage {
  width: min(94vw, 1280px); max-height: 88vh;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 380px);
  gap: var(--space-6); align-items: stretch;
  transform: scale(.96); transition: transform var(--duration-base) var(--ease-standard);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__media { display: grid; place-items: center; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
.lightbox__info {
  display: flex; flex-direction: column; gap: var(--space-4);
  color: var(--color-white); overflow-y: auto; padding: var(--space-2) var(--space-1);
}
.lightbox__title { font-family: var(--font-heading); font-size: var(--text-h4); line-height: 1.15; margin: 0; }
.lightbox__meta { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; }
.lightbox__meta-row { display: grid; gap: 2px; }
.lightbox__meta-row dt { font-size: var(--text-small); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-white-60); margin: 0; }
.lightbox__meta-row dd { font-size: var(--text-regular); color: var(--color-white); margin: 0; }
.lightbox__meta-row[hidden] { display: none; }
.lightbox__description { font-size: var(--text-regular); line-height: 1.55; color: var(--color-white-80, rgba(255,255,255,.88)); margin: 0; }
.lightbox__description[hidden] { display: none; }
.lightbox__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  align-self: flex-start;
  padding: var(--space-3) var(--space-5);
  background: var(--color-old-gold); color: var(--color-neutral-darkest);
  border-radius: var(--radius-full); font-weight: var(--weight-semibold);
  text-decoration: none; transition: background var(--duration-base);
  position: relative; z-index: 1;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lightbox__link:hover { background: color-mix(in srgb, var(--color-old-gold) 80%, white); }
.lightbox__link svg { width: 16px; height: 16px; }
.lightbox__link[hidden] { display: none; }
.lightbox__count { color: var(--color-white-60); font-variant-numeric: tabular-nums; font-size: var(--text-small); margin-top: auto; }
@media (max-width: 900px) {
  .lightbox__stage { grid-template-columns: 1fr; max-height: 92vh; gap: var(--space-4); }
  .lightbox__img { max-height: 55vh; }
  .lightbox__info { padding: 0; }
}
.lightbox__btn {
  position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: var(--radius-full); background: var(--color-white-10); border: 1px solid var(--color-white-20);
  color: var(--color-white); display: grid; place-items: center; transition: background var(--duration-base);
  z-index: 210; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lightbox__btn:hover { background: var(--color-white-20); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__prev { left: var(--space-6); }
.lightbox__next { right: var(--space-6); }
.lightbox__close { position: fixed; top: var(--space-6); right: var(--space-6); width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--color-white-10); border: 1px solid var(--color-white-20); color: var(--color-white); display: grid; place-items: center; z-index: 210; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.lightbox__close:hover { background: var(--color-white-20); }
.lightbox__close svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .lightbox__btn { width: 42px; height: 42px; } .lightbox__prev { left: var(--space-2); } .lightbox__next { right: var(--space-2); } }

/* =========================================================================
   GETUIGENISSEN (carousel)
   ========================================================================= */
.tst__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.tst__nav { display: flex; gap: var(--space-3); }
.carousel-btn {
  width: 50px; height: 50px; border-radius: var(--radius-full); border: 1px solid var(--border-on-light);
  background: transparent; color: var(--scheme-text); display: grid; place-items: center;
  transition: all var(--duration-base) var(--ease-standard);
}
.carousel-btn:hover { background: var(--color-neutral-darkest); color: var(--color-white); border-color: var(--color-neutral-darkest); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-btn:disabled:hover { background: transparent; color: var(--scheme-text); border-color: var(--border-on-light); }
.carousel-btn svg { width: 22px; height: 22px; }

.tst__track {
  display: flex; gap: var(--space-6); margin-top: var(--space-12); overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: var(--space-4);
  scrollbar-width: none;
}
.tst__track::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: center; flex: 0 0 100%;
  background: var(--color-white); border-radius: var(--radius-card); padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-5); border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-sm);
}
.quote-card__stars { display: flex; gap: 3px; color: var(--color-old-gold); }
.quote-card__stars svg { width: 20px; height: 20px; }
.quote-card blockquote { font-family: var(--font-heading); font-size: var(--text-h5); line-height: 1.35; color: var(--color-neutral-darkest); margin: 0; font-weight: var(--weight-medium); }
.quote-card__person { display: flex; align-items: center; gap: var(--space-4); margin-top: auto; }
.quote-card__person img { width: 52px; height: 52px; border-radius: var(--radius-full); object-fit: cover; }
.quote-card__person--logo img { width: auto; height: 52px; max-width: 120px; border-radius: 0; object-fit: contain; }
.quote-card__name { font-weight: var(--weight-semibold); color: var(--color-neutral-darkest); }
.quote-card__role { font-size: var(--text-regular); color: var(--text-on-light-muted); }
.tst__dots { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-8); }
.tst__dots button { width: 9px; height: 9px; border-radius: var(--radius-full); border: none; background: var(--color-dark-15); transition: all var(--duration-base); }
.tst__dots button.is-active { background: var(--color-old-gold); width: 26px; }
@media (max-width: 700px) { .quote-card { flex-basis: 100%; } }

/* =========================================================================
   CTA
   ========================================================================= */
.cta { text-align: center; }
.cta h2 { font-size: calc(var(--text-h1) * var(--heading-scale) * .82); line-height: var(--leading-h2); color: var(--color-white); max-width: 16ch; margin-inline: auto; }
.cta p { color: var(--color-white-60); font-size: var(--text-large); margin: var(--space-6) auto var(--space-10); max-width: 44ch; }
.cta__form { display: flex; gap: var(--space-3); max-width: 520px; margin-inline: auto; }
.cta__field { flex: 1; position: relative; }
.cta__field input {
  width: 100%; height: 58px; padding: 0 var(--space-5); border-radius: var(--radius-input);
  border: 1px solid var(--color-white-20); background: var(--color-white-5); color: var(--color-white);
  font-family: inherit; font-size: var(--text-medium); transition: border-color var(--duration-base), background var(--duration-base);
}
.cta__field input::placeholder { color: var(--color-white-40); }
.cta__field input:focus { outline: none; border-color: var(--color-old-gold); background: var(--color-white-10); }
.cta__form.is-invalid .cta__field input { border-color: var(--color-copper); }
.cta__form .btn { height: 58px; }
.cta__msg { min-height: 1.4em; margin-top: var(--space-4); font-size: var(--text-regular); }
.cta__msg.error { color: var(--color-copper-light); }
.cta__msg.success { color: var(--color-old-gold-light); }
.cta__note { color: var(--color-white-40); font-size: var(--text-small); margin-top: var(--space-5); }
.cta__success {
  max-width: 520px; margin: 0 auto; padding: var(--space-8); border-radius: var(--radius-card);
  background: var(--color-white-5); border: 1px solid var(--color-old-gold); display: none;
}
.cta__success.show { display: block; }
.cta__success h3 { color: var(--color-white); font-size: var(--text-h5); margin-bottom: var(--space-3); }
.cta__success p { color: var(--color-white-60); margin: 0; font-size: var(--text-medium); }
@media (max-width: 560px) { .cta__form { flex-direction: column; } .cta__form .btn { justify-content: center; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--color-neutral-darkest); color: var(--color-white); padding-block: var(--section-y-md) var(--space-10); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-12); }
.footer__brand img { height: 36px; width: auto; margin-bottom: var(--space-6); }

/* Email obfuscation: source text is reversed; CSS flips it back visually */
.email-rev { unicode-bidi: bidi-override; direction: rtl; }
.footer__brand p { color: var(--color-white-60); max-width: 30ch; line-height: 1.6; font-size: var(--text-regular); }
.footer__meta { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.footer__meta span { display: block; font-size: var(--text-small); letter-spacing: .12em; text-transform: uppercase; color: var(--color-white-40); margin-bottom: var(--space-1); }
.footer__meta p { color: var(--color-white); font-size: var(--text-regular); margin: 0; max-width: none; }
.footer__meta a:hover { color: var(--color-old-gold); }
.footer__col h3 { font-family: var(--font-body); font-size: var(--text-regular); font-weight: var(--weight-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--color-white-60); margin-bottom: var(--space-5); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a { color: var(--color-white-60); font-size: var(--text-regular); transition: color var(--duration-base); }
.footer__col a:hover { color: var(--color-white); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-8); }
.footer__social a { width: 42px; height: 42px; border-radius: var(--radius-full); border: 1px solid var(--color-white-20); display: grid; place-items: center; color: var(--color-white-60); transition: all var(--duration-base); }
.footer__social a:hover { background: var(--color-old-gold); color: var(--color-neutral-darkest); border-color: var(--color-old-gold); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-20); padding-top: var(--space-8); border-top: 1px solid var(--color-white-10); }
.footer__bottom p { color: var(--color-white-40); font-size: var(--text-small); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.footer__legal a { color: var(--color-white-40); font-size: var(--text-small); }
.footer__legal a:hover { color: var(--color-white); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* =========================================================================
   SCROLL REVEAL
   Content is visible by DEFAULT. JS "arms" the hidden+animate state inside a
   requestAnimationFrame tick, so any non-painting context (where rAF never
   fires) simply shows content instead of trapping it at opacity:0.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].reveal-armed {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s var(--ease-standard), transform .7s var(--ease-standard);
  }
  [data-reveal].reveal-armed.is-visible { opacity: 1; transform: none; }
  [data-reveal-delay="1"].reveal-armed { transition-delay: .08s; }
  [data-reveal-delay="2"].reveal-armed { transition-delay: .16s; }
  [data-reveal-delay="3"].reveal-armed { transition-delay: .24s; }
  [data-reveal-delay="4"].reveal-armed { transition-delay: .32s; }
}

/* Card-style tweak hooks */
[data-cards="flat"] { --card-bd: transparent; --card-shadow: none; --card-bg-tint: var(--color-white-5); }
[data-cards="bordered"] { --card-bd: var(--color-white-15); --card-shadow: none; --card-bg-tint: transparent; }
[data-cards="shadow"] { --card-bd: transparent; --card-shadow: var(--shadow-lg); --card-bg-tint: var(--color-charade-dark); }

/* =========================================================================
   DIENSTEN — doorlink affordance (cards are now links)
   ========================================================================= */
.svc { text-decoration: none; }
.svc__more {
  margin-top: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--weight-semibold); font-size: var(--text-regular); color: var(--scheme-accent);
  transition: gap var(--duration-base) var(--ease-standard);
}
.svc__more svg { width: 1em; height: 1em; transition: transform var(--duration-base) var(--ease-standard); }
.svc:hover .svc__more { gap: var(--space-3); }
.svc:hover .svc__more svg { transform: translateX(3px); }
[data-svc="columns"] .svc__more { margin-top: var(--space-2); }
[data-svc="list"] .svc__more { margin: 0 0 0 auto; flex: none; }

/* =========================================================================
   OVER BURO INZICHT (story)
   ========================================================================= */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__media { border-radius: var(--radius-image); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.story__body h2 { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); margin-bottom: var(--space-6); max-width: 15ch; }
.story__body > p { color: var(--scheme-muted); font-size: var(--text-large); line-height: 1.35; margin-bottom: var(--space-4); max-width: 54ch; }
.story__values { list-style: none; margin: var(--space-8) 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.story__values li { display: flex; align-items: baseline; gap: var(--space-4); font-family: var(--font-heading); font-size: var(--text-h6); color: var(--scheme-text); }
.story__values span { font-family: var(--font-body); font-size: var(--text-small); font-weight: var(--weight-semibold); letter-spacing: .1em; color: var(--scheme-accent); }
.story__sign { margin: var(--space-8) 0; padding-left: var(--space-5); border-left: 2px solid var(--scheme-accent); }
.story__name { font-family: "Caveat", cursive; font-size: calc(var(--text-h3) * 1.1); font-weight: 600; line-height: 1; letter-spacing: 0.01em; opacity: 0.6; }
.story__role { color: var(--scheme-muted); font-size: var(--text-regular); }
.story__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { aspect-ratio: 4/5; max-width: 460px; margin-inline: auto; }
  .story__media img { object-position: center 20%; }
}

/* =========================================================================
   KLANTLOGO'S
   ========================================================================= */
.logos { padding: var(--space-16) clamp(1rem, 3vw, 2rem); border-top: 1px solid var(--scheme-border); }
.logos__title { text-align: center; font-family: var(--font-heading); font-size: var(--text-h6); color: var(--scheme-text); margin: 0 0 var(--space-10); }
.logos-carousel {
  position: relative;
  max-width: 1600px;
  margin-inline: auto;
  padding: 0 clamp(2.5rem, 5vw, 4rem);
}
.logos-carousel__viewport {
  overflow: hidden;
}
.logos-carousel__track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  transition: transform var(--duration-slow) var(--ease-standard);
  will-change: transform;
}
.logos__item {
  flex: 0 0 calc((100% - 3 * clamp(1rem, 2.5vw, 2.5rem)) / 4);
  display: inline-flex; align-items: center; justify-content: center;
  height: 150px;
  min-width: 0;
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: 1px solid color-mix(in srgb, var(--scheme-text) 8%, transparent);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05);
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.logos__item img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.logos__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 16px 36px rgba(0,0,0,0.08);
}

.logos-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - var(--space-3)));
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid color-mix(in srgb, var(--scheme-text) 12%, transparent);
  color: var(--scheme-text);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: background var(--duration-base), opacity var(--duration-base);
  z-index: 2;
}
.logos-carousel__btn:hover { background: var(--color-old-gold); color: var(--color-neutral-darkest); border-color: transparent; }
.logos-carousel__btn:disabled { opacity: 0.35; cursor: default; }
.logos-carousel__btn svg { width: 20px; height: 20px; }
.logos-carousel__prev { left: 0; }
.logos-carousel__next { right: 0; }
.logos-carousel__dots {
  display: flex; justify-content: center; gap: 18px;
  margin-top: var(--space-6);
}
.logos-carousel__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--scheme-text) 25%, transparent);
  cursor: pointer; position: relative;
  transition: width var(--duration-base), background var(--duration-base);
}
.logos-carousel__dots button::before {
  content: ""; position: absolute; inset: -8px;
}
.logos-carousel__dots button.is-active { width: 22px; background: var(--color-old-gold); }

@media (max-width: 900px) {
  .logos__item { flex-basis: calc((100% - clamp(1rem, 2.5vw, 2.5rem)) / 2); height: 130px; }
}
@media (max-width: 520px) {
  .logos__item { flex-basis: 100%; height: 110px; }
}

/* =========================================================================
   CONTACT (two-column form)
   ========================================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__intro .eyebrow { color: var(--color-old-gold); }
.contact__intro h2 { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); color: var(--color-white); margin-bottom: var(--space-5); max-width: 13ch; }
.contact__lede { color: var(--color-white-60); font-size: var(--text-large); line-height: 1.6; margin-bottom: var(--space-10); max-width: 42ch; }
.contact__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.contact__meta li { display: flex; flex-direction: column; gap: var(--space-1); }
.contact__meta-label { font-size: var(--text-small); letter-spacing: .12em; text-transform: uppercase; color: var(--color-white-60); }
.contact__meta a, .contact__meta li > span:last-child { color: var(--color-white); font-size: var(--text-large); font-family: var(--font-heading); }
.contact__meta a { transition: color var(--duration-base); }
.contact__meta a:hover { color: var(--color-old-gold); }
.contact__image { display: block; margin-top: var(--space-8); border-radius: 8px; overflow: hidden; }
.contact__image img { display: block; width: 100%; height: auto; }

.contact__form {
  display: flex; flex-direction: column; gap: var(--space-5);
  background: var(--color-white-5); border: 1px solid var(--color-white-15);
  border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-regular); font-weight: var(--weight-medium); color: var(--color-white); }
.field input, .field textarea, .field select {
  width: 100%; padding: var(--space-4) var(--space-5); border-radius: var(--radius-input);
  border: 1px solid var(--color-white-20); background: var(--color-white-5); color: var(--color-white);
  font-family: inherit; font-size: var(--text-medium);
  transition: border-color var(--duration-base), background var(--duration-base);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-white-40); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-old-gold); background: var(--color-white-10); }
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: var(--color-copper); }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a847' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--space-5) center;
  background-size: 16px;
  padding-right: calc(var(--space-5) * 2 + 16px);
  cursor: pointer;
}
.field select option { background: #2a2520; color: var(--color-white); }
.field__err { font-size: var(--text-small); color: var(--color-copper-light); min-height: 1em; }
.contact__form .btn { align-self: flex-start; }
.contact__note { color: var(--color-white-40); font-size: var(--text-small); margin: 0; }

.contact__success {
  display: none; grid-column: 2; align-self: start;
  background: var(--color-white-5); border: 1px solid var(--color-old-gold);
  border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.contact__success.show { display: block; }
.contact__success-icon { width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--color-old-gold); color: var(--color-neutral-darkest); display: grid; place-items: center; margin-bottom: var(--space-5); }
.contact__success-icon svg { width: 26px; height: 26px; }
.contact__success-title { color: var(--color-white); font-family: var(--font-heading); font-size: var(--text-h5); margin: 0 0 var(--space-3); }
.contact__success p { color: var(--color-white-60); font-size: var(--text-medium); margin: 0; }
@media (min-width: 861px) {
  .contact__form { margin-top: calc(var(--text-small) * 1.4 + var(--space-5) + 20px); }
}
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__success { grid-column: 1; }
  .contact__image { display: none; }
}

/* =========================================================================
   PAGE HEADER (sub-pages, e.g. portfolio)
   ========================================================================= */
.page-header { padding-top: calc(var(--section-y-lg) + 72px); }
.page-header .lede { margin-top: var(--space-5); }

/* =========================================================================
   WERKWIJZE PAGE — intro prose, philosophy, timeline
   ========================================================================= */
/* Intro prose under a page-header lede */
.process-intro { margin-top: var(--space-8); display: grid; gap: var(--space-5); max-width: 62ch; }
.process-intro p { color: var(--scheme-muted); font-size: var(--text-large); line-height: 1.6; margin: 0; }

/* Philosophy split: heading left, narrative right */
.why__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why__head h2 { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); max-width: 14ch; }
.why__sign { margin-top: var(--space-8); padding-left: var(--space-5); border-left: 2px solid var(--scheme-accent); }
.why__name { font-family: var(--font-heading); font-size: var(--text-h5); }
.why__role { color: var(--scheme-muted); font-size: var(--text-regular); }
.why__body { display: grid; gap: var(--space-6); }
.why__body p { color: var(--scheme-text); font-size: var(--text-large); line-height: 1.65; margin: 0; }
.why__body p:first-child { font-family: var(--font-heading); font-size: var(--text-h5); line-height: 1.4; font-weight: var(--weight-medium); color: var(--scheme-text); }
@media (max-width: 820px) { .why__grid { grid-template-columns: 1fr; gap: var(--space-10); } }
.why__body--standalone { max-width: 68ch; }
.werkwijze-why { margin-top: var(--space-20); padding-top: var(--space-16); border-top: 1px solid var(--scheme-border); }
.werkwijze-steps { margin-top: var(--space-24); }
.werkwijze-steps .sec-head { max-width: 60ch; }

.has-vignette { position: relative; isolation: isolate; }
.has-vignette::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 95% 80% at 50% 50%,
      transparent 35%,
      color-mix(in srgb, var(--color-old-gold-dark) 22%, transparent) 70%,
      color-mix(in srgb, var(--color-old-gold-dark) 45%, transparent) 90%,
      color-mix(in srgb, var(--color-old-gold-dark) 65%, transparent) 100%);
}
.has-vignette > * { position: relative; z-index: 1; }

/* =============================================================
   TIMELINE — sticky header left, scroll-linked rail, accordion
   ============================================================= */
.timeline {
  --rail-col: 88px;
  --rail-line: 2px;
  --progress: 0;
  /* Force gold accent regardless of section scheme */
  --tl-gold: var(--color-old-gold);
  max-width: var(--container-lg);
  margin: var(--space-20) auto 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.timeline__head {
  position: sticky;
  top: calc(var(--nav-height, 72px) + var(--space-8));
  max-width: 28ch;
}
.timeline__head .eyebrow { color: var(--tl-gold); }
.timeline__head h2 {
  font-size: calc(var(--text-h2) * var(--heading-scale));
  line-height: var(--leading-h2);
  margin-top: var(--space-3);
}
.timeline__hint {
  margin-top: var(--space-6);
  color: var(--scheme-muted);
  font-size: var(--text-small);
  letter-spacing: 0.02em;
}

/* The list owns the rail line (single connected line behind all steps) */
.timeline__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline__list::before,
.timeline__list::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--rail-col) / 2 - var(--rail-line) / 2);
  width: var(--rail-line);
  border-radius: var(--rail-line);
  pointer-events: none;
}
.timeline__list::before { background: var(--scheme-border); }
.timeline__list::after {
  background: var(--tl-gold);
  transform-origin: top;
  transform: scaleY(var(--progress));
  transition: transform .12s linear;
  box-shadow: 0 0 12px color-mix(in srgb, var(--tl-gold) 60%, transparent);
}

.tl-step {
  display: grid;
  grid-template-columns: var(--rail-col) minmax(0, 1fr);
  column-gap: var(--space-6);
  padding-bottom: var(--space-8);
  position: relative;
}
.tl-step:last-child { padding-bottom: 0; }

.tl-step__rail {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
  position: relative;
  z-index: 1;
}
.tl-step__num {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: var(--weight-bold);
  background: var(--scheme-bg);
  color: var(--scheme-muted);
  border: 2px solid var(--scheme-border);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.tl-step.is-passed .tl-step__num,
.tl-step.is-active .tl-step__num {
  background: var(--tl-gold);
  color: var(--scheme-bg);
  border-color: var(--tl-gold);
}
.tl-step.is-active .tl-step__num {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--tl-gold) 18%, transparent);
}

/* Panel = summary (clickable header) + collapsible content */
.tl-step__panel {
  padding-top: 4px;
}
.tl-step__summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  background: none;
  border: 0;
  padding: var(--space-3) 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.tl-step__summary:focus-visible {
  outline: 2px solid var(--tl-gold);
  outline-offset: 6px;
  border-radius: 4px;
}
.tl-step__heading { display: grid; gap: var(--space-2); min-width: 0; }
.tl-step__eyebrow {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scheme-muted);
  transition: color .3s ease;
}
.tl-step.is-active .tl-step__eyebrow,
.tl-step.is-open .tl-step__eyebrow { color: var(--tl-gold); }
.tl-step__title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  color: var(--scheme-text);
}

.tl-step__chevron {
  flex: none;
  width: 14px; height: 14px;
  border-right: 2px solid var(--scheme-muted);
  border-bottom: 2px solid var(--scheme-muted);
  transform: rotate(45deg);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s ease;
  margin-right: 4px;
}
.tl-step.is-open .tl-step__chevron {
  transform: rotate(-135deg);
  border-color: var(--tl-gold);
}

/* Smooth height animation via grid-template-rows */
.tl-step__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.22,.61,.36,1);
}
.tl-step__content-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s ease .05s, transform .35s ease .05s;
}
.tl-step.is-open .tl-step__content { grid-template-rows: 1fr; }
.tl-step.is-open .tl-step__content-inner { opacity: 1; transform: none; }
.tl-step__content-inner p {
  color: var(--scheme-muted);
  font-size: var(--text-large);
  line-height: 1.6;
  margin: var(--space-3) 0 var(--space-6);
  max-width: 56ch;
}

/* Tablet: collapse to single column, header non-sticky */
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: var(--space-10); }
  .timeline__head { position: static; max-width: none; }
}

/* Mobile rail */
@media (max-width: 600px) {
  .timeline { --rail-col: 56px; }
  .tl-step { column-gap: var(--space-4); }
  .tl-step__num { width: 44px; height: 44px; font-size: var(--text-h6); }
  .tl-step__title { font-size: var(--text-h5); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline__list::after { transition: none; }
  .tl-step__num, .tl-step__chevron, .tl-step__content, .tl-step__content-inner {
    transition: none;
  }
}

/* Closing CTA band */
.process-cta { text-align: center; }
.process-cta h2 { font-size: calc(var(--text-h2) * var(--heading-scale)); line-height: var(--leading-h2); color: var(--color-white); max-width: 18ch; margin-inline: auto; }
.process-cta p { color: var(--color-white); opacity: .85; font-size: var(--text-large); margin: var(--space-5) auto var(--space-10); max-width: 48ch; }
.process-cta .sec-actions { margin-top: 0; }

/* =========================================================================
   WARM OVERRIDE — contactsectie van koel leisteen (charade) naar warm #2C2520
   ========================================================================= */
.scheme-4 {
  --scheme-bg: #2C2520;          /* warme antraciet i.p.v. blauwig leisteen */
  --scheme-border: rgba(255,255,255,0.12);
}
.contact.scheme-4 { background-color: #2C2520; }
/* Iets lichtere warme tint voor het formulierpaneel en de velden */
.contact__form { background: #342d27; border-color: rgba(255,255,255,0.10); }
.contact__form .field input,
.contact__form .field textarea,
.contact__form .field select { background: #3d352e; border-color: rgba(255,255,255,0.14); }
.contact__form .field input:focus,
.contact__form .field textarea:focus,
.contact__form .field select:focus { background: #463d35; border-color: var(--color-old-gold); }
