/* ===================================================================
   Studio Lumex — cinematic / editorial redesign
   Warm dark + warm off-white, restrained copper accent. Section rhythm
   alternates --color-dark and --color-light across the page; the legacy
   --color-bg / --color-text / --color-accent family below is kept so the
   rest of this file didn't need a wholesale selector rename — it's just
   remapped onto the new palette.
=================================================================== */

:root {
  /* Warm palette */
  --color-dark: #11110F;
  --color-dark-soft: #181815;
  --color-light: #F3F0EA;
  --color-light-alt: #ECE9E3;
  --color-text-dark: #151515;
  --color-text-muted: #696762;
  --color-text-light: #F5F3EE;
  --color-text-light-muted: #AAA69F;
  --color-copper: #A45A10;
  --color-copper-hover: #C06A16;
  --color-line-light: rgba(21, 21, 21, 0.12);
  --color-line-dark: rgba(255, 255, 255, 0.14);

  --radius-small: 6px;
  --radius-medium: 10px;
  --radius-large: 14px;

  /* Legacy tokens the rest of the stylesheet already references, mapped
     onto the palette above so every existing rule picks it up for free. */
  --color-bg: var(--color-light-alt);
  --color-bg-raised: #FFFFFF;
  --color-text: var(--color-text-dark);
  --color-muted: var(--color-text-muted);
  --color-accent: var(--color-copper);
  --color-accent-hover: var(--color-copper-hover);
  /* Copper only reaches ~3.2:1 on our light backgrounds / ~3.7:1 on white —
     enough for large text, borders, icons and decorative fills (3:1), not
     enough for small/normal text or button labels (4.5:1). Use these
     darker variants wherever copper is the actual text or button-label
     color on a light background. */
  --color-accent-text: #8A4A0D;
  --color-accent-text-hover: #713C0A;
  --color-accent-button: #8A4A0D;
  --color-accent-button-hover: #713C0A;
  --color-accent-button-text: #FFFFFF;
  --color-border: var(--color-line-light);

  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-width: 1400px;
  --section-pad: 144px;
}

@media (max-width: 1024px) {
  :root { --section-pad: 104px; }
}

@media (max-width: 780px) {
  :root { --section-pad: 72px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

/* Keeps the layout width stable when the project modal locks background
   scrolling (see initCaseModal) — without this, removing the page's own
   scrollbar on open would shift all content sideways by its width. */
body.case-modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-anchor: none;
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 1000;
  background: var(--color-text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 10px;
  vertical-align: middle;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  margin-bottom: 20px;
}

/* #contactHeading is a programmatic focus target (advice CTA/deep-link
   moves keyboard focus here so screen-reader users land on the updated
   heading), so it needs a visible focus state despite being tabindex="-1"
   rather than a normally-tabbable control. */
#contactHeading:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; border-radius: 4px; }

.form-success h3:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; border-radius: 4px; }

.section-subtitle {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 560px;
  line-height: 1.55;
}

.section { padding: var(--section-pad) 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--radius-medium);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-accent-button);
  color: var(--color-accent-button-text);
}

.btn-primary:hover {
  background: var(--color-accent-button-hover);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Site nav (hamburger, always visible top-right) ----------
   Legacy system — still used as-is on every page except the homepage
   (dynter/horloge/kennismaken/legal pages/404/etc., whose header is
   always .visible via a hardcoded class, no hero to scroll past). The
   homepage's own header/nav is the newer #siteHeader system further
   below, which overrides these by ID so the two coexist without the
   homepage needing its own duplicate class names. */
.menu-toggle {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 78px;
  right: 32px;
  z-index: 150;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav[hidden] { display: none; }

.site-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
}

.site-nav a:hover { background: var(--color-bg); color: var(--color-accent-text); }

@media (max-width: 640px) {
  .menu-toggle { top: 16px; right: 20px; }
  .site-nav { top: 68px; right: 20px; left: 20px; min-width: 0; }
}

/* ---------- Header (legacy: scroll-triggered on pages with a hero;
   hardcoded .visible on every other page) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(238, 238, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.site-header.visible { transform: translateY(0); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.header-cta {
  padding: 11px 22px;
  font-size: 14px;
  margin-right: 60px;
}

@media (max-width: 640px) {
  .header-cta { margin-right: 56px; }
}

/* ---------- #siteHeader (homepage only): single persistent bar ----------
   Stays transparent over the whole page, matching the look at the top of
   the hero — deliberately never swaps to a solid/scrolled background (see
   initHeaderScroll in script.js, which still toggles .scrolled for any
   future use but no rule here keys off it anymore). One wayfinding
   mechanism only: inline links + one CTA on desktop, collapsing into a
   single hamburger-driven panel below 900px — never both at once. Every
   rule here is ID-scoped so it only ever touches the homepage header,
   never the legacy .site-header used elsewhere. */
#siteHeader {
  z-index: 150;
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: none;
}

/* Three-column grid (not flex) so "Studio Lumex" sits geometrically
   centered in the viewport regardless of how wide the nav-links group or
   the CTA happen to be — a flex layout with margin-right:auto can only
   ever center within the leftover space, not the true viewport center. */
#siteHeader .header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

#siteHeader .logo {
  grid-column: 2;
  justify-self: center;
  color: #fff;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; }

/* Groups the CTA with the language switcher so both sit flush right —
   .nav-cta no longer claims the grid column itself, this wrapper does.
   Deliberately NOT named .header-actions: that's already a different,
   unrelated legacy class used by dynter/horloge/kennismaken's header (see
   "Legacy header-actions/header-booking" further down), and partially
   overriding just a couple of its properties still let the rest (its own
   max-width/margin-right/flex rules) leak through per-property. */
.site-header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--radius-medium);
  border: 1px solid #E8B87E;
  background: #E8B87E;
  color: #1C1208;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-cta:hover { background: #F0C896; border-color: #F0C896; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch-link:hover { color: rgba(255, 255, 255, 0.85); }

.lang-switch-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: default;
}

.lang-switch-flag {
  display: inline-block;
  width: 17px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lang-switch-flag svg { display: block; width: 100%; height: 100%; }

/* Light-background context (inside the mobile dropdown panel) needs the
   dark-text palette instead of the header's white-on-transparent one. */
.mobile-nav .lang-switch { padding: 10px 14px 4px; }
.mobile-nav .lang-switch-link { color: var(--color-text-muted); }
.mobile-nav .lang-switch-link:hover { color: var(--color-text); }
.mobile-nav .lang-switch-link.is-active { color: var(--color-accent-text); background: var(--color-bg); }

/* Overrides the legacy fixed-circle .menu-toggle above: hidden above
   900px since .nav-links covers that width instead. Below 900px it's
   absolutely positioned within .header-inner (not a grid participant),
   so it can sit at the right edge without disturbing the logo's true
   center — the grid's two 1fr columns stay empty but still equal, which
   is what keeps the logo centered even with nothing to balance against. */
#siteHeader .menu-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  box-shadow: none;
}

#siteHeader .menu-toggle span { background: #fff; }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: var(--color-bg-raised);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-small);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-nav a:hover { background: var(--color-bg); color: var(--color-accent-text); }

.mobile-nav-cta { color: var(--color-accent-text) !important; font-weight: 600; }

@media (max-width: 900px) {
  .nav-links { display: none; }

  /* The centering grid only works with symmetrical left/right columns,
     which breaks once a real CTA needs to sit at the right edge next to
     the hamburger — so below this width the header becomes a plain flex
     row instead: logo pinned left, CTA + hamburger grouped at the right
     via the CTA's own margin-left: auto. */
  #siteHeader .header-inner { display: flex; align-items: center; gap: 6px; }

  /* The full text+flag switcher also appears in the mobile-nav dropdown
     below (see .mobile-nav .lang-switch, side-by-side there since there's
     room to spell out "Nederlands"/"English") — the compact top bar
     instead stacks the NL/EN label under its flag to stay narrow.
     flex-shrink: 0 keeps this whole group at its natural width rather
     than letting the flex row silently compress it smaller than its
     (non-shrinking) children, which is what was making the CTA visually
     overlap the hamburger. */
  .site-header-actions { margin-left: auto; gap: 6px; flex-shrink: 0; }
  .site-header-actions > .lang-switch { gap: 2px; }
  .site-header-actions > .lang-switch .lang-switch-link {
    flex-direction: column;
    gap: 2px;
    padding: 3px 2px;
  }
  .site-header-actions > .lang-switch .lang-switch-label { font-size: 9px; }
  .site-header-actions > .lang-switch .lang-switch-flag { width: 15px; height: 11px; }

  .nav-cta {
    display: inline-flex;
    padding: 7px 10px;
    font-size: 11.5px;
  }

  #siteHeader .menu-toggle { display: flex; position: static; transform: none; }
}

@media (max-width: 640px) {
  #siteHeader .header-inner { padding-top: 16px; padding-bottom: 16px; }
}

/* ---------- Hero ---------- */

/* Two-layer hero: .hero-ambient is a heavily blurred/darkened atmospheric
   backdrop (reuses the existing poster image — no second video decode),
   and .hero-frame holds the actual sharp video, visually "lifted" off
   that backdrop with a thin border, soft shadow and a restrained copper
   glow. Flex + align-items:center lets the frame's own aspect-ratio drive
   its height while min-height gives it room to sit centered within. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 96px 0 24px;
}

/* Warm backdrop: a softly lit studio wall/table photo (already shallow
   depth of field), darkened just enough to stay secondary to the sharp
   foreground frame while keeping its own warm light and texture. */
.hero-ambient {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image: url("../img/hero-ambient-studio.webp");
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.72) saturate(1.05);
}

.hero-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(11, 7, 3, 0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 calc(9.4% + 16px);
}

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(164, 90, 16, 0.16);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-frame-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,0.82) 0%, rgba(10,10,8,0.32) 30%, rgba(10,10,8,0.05) 55%);
}

.hero-text-block {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 40px 40px;
  max-width: 640px;
}

.hero-title {
  color: #F5F3EE;
}

/* Smaller lead-in line, sitting above the bigger punchline below it
   (.hero-title-accent gets its size bump scoped to this context only,
   so it doesn't affect the shared .hero-title-accent color class used
   elsewhere, e.g. the contact heading and exit-offer heading). */
.hero-title-lead {
  display: inline-block;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-title-accent { color: #E8B87E; }

.hero-title .hero-title-accent {
  display: inline-block;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.15;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero { padding: 88px 0 20px; min-height: auto; }
  .hero-inner { padding: 0 calc(9.4% + 10px); }
  .hero-text-block { padding: 0 24px 28px; }
}

@media (max-width: 640px) {
  /* Desktop keeps the inset rounded "frame" card; on a phone that same
     treatment leaves the video reading as a small, padded box, so here
     the video becomes the hero section itself — full-bleed, no card,
     no ambient backdrop behind it (there's no longer any backdrop left
     uncovered to show). A square (1:1) frame — rather than the previous
     full-viewport-height one — keeps object-fit: cover much closer to
     the video's own aspect ratio, so far less of its width gets cropped
     away. */
  .hero { padding: 0; min-height: auto; }
  .hero-ambient { display: none; }
  .hero-inner { max-width: none; padding: 0; }
  .hero-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  /* Shrinks the video itself a bit further within the square frame —
     pulling back the crop below what plain object-fit: cover alone can
     do for a 16:9 source in a 1:1 box. Anchored to the frame's bottom
     edge (rather than centered) so the video sits flush against the
     next section with no gap — the margin this leaves shows up at the
     top instead, under the header, where there's no adjacent section
     to seam against. */
  .hero-bg {
    top: auto;
    bottom: 0;
    height: 82%;
  }
  .hero-text-block { padding: 0 24px 28px; }
}

/* ---------- Brand statement (quiet bridge between Hero and Featured Work) ---------- */
.brand-statement { background: var(--color-dark); padding: var(--section-pad) 0; }

.brand-statement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.brand-statement-divider {
  display: block;
  width: 1px;
  height: 56px;
  background: var(--color-line-dark);
}

.brand-statement-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text-light);
}

.brand-statement-accent { color: #E8B87E; }

.brand-statement-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light-muted);
}

@media (max-width: 640px) {
  .brand-statement-divider { height: 40px; }
  .brand-statement-text { font-size: 15.5px; }
}

/* ---------- Featured work (one full-bleed piece before the grid) ----------
   The single strongest project, ambient-looping like the hero itself —
   the only other thing on the page allowed to move on its own, so the
   grid below can stay calm (play-on-hover only, see .work-card). */
.featured-work { background: var(--color-dark); }

.featured-work-media {
  position: relative;
  display: block;
  width: 100%;
  height: 86vh;
  min-height: 560px;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: var(--color-dark);
  overflow: hidden;
}

.featured-work-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-work-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,0.85) 0%, rgba(10,10,8,0.35) 32%, rgba(10,10,8,0.05) 55%);
}

.featured-work-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 720px;
  padding: 0 32px 64px;
}

.featured-work-content .eyebrow { color: #E8B87E; margin-bottom: 16px; }

.featured-work-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.featured-work-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.25s ease, gap 0.25s ease;
}

@media (hover: hover) {
  .featured-work-media:hover .featured-work-cta {
    border-color: rgba(255, 255, 255, 0.9);
    gap: 12px;
  }
  /* This button also carries .work-card-media (shared hover/case-modal
     wiring with the Werk slider), which otherwise scales its <video> on
     hover/focus — opt this one out, it should stay still. :focus-visible
     matters here too: closing the case modal returns focus to this
     button, which would otherwise re-trigger the scale. */
  .featured-work-media:hover .featured-work-video,
  .featured-work-media:focus-visible .featured-work-video {
    transform: none;
  }
}

@media (max-width: 640px) {
  .featured-work-media { height: 72vh; min-height: 440px; }
  .featured-work-content { padding: 0 20px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-work-video { transition: none; }
}

/* ---------- Werk (portfolio scroll rows) ---------- */

.werk {
  /* A flat scrim over the ambient photo mutes its own contrast and detail
     so the portfolio videos read as the subject, not the backdrop. */
  background-image: linear-gradient(0deg, rgba(243, 240, 234, 0.6), rgba(243, 240, 234, 0.6)), url("../img/hero-ambient-studio.webp");
  background-size: cover;
  background-position: center;
  padding-bottom: 40px;
}

.werk .section-title { margin-bottom: 64px; }

.section-note {
  font-size: 14px;
  color: var(--color-muted);
}

.section-note strong { color: var(--color-text); }

.row-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

/* Film-reel tiles, not UI cards: a still poster at rest, nothing but the
   image/video itself — title and play affordance only appear on hover/
   focus (always-on for touch, which never matches :hover). Landscape
   (productvideo) items keep a 16:9 frame; portrait (merkvideo) items use
   4:5 — every card shares the same HEIGHT and lets width follow from its
   own ratio (a true filmstrip row), rather than sharing width and
   letting height vary, which left landscape and portrait cards' top and
   bottom edges both misaligned against each other. Height is set
   directly (not via aspect-ratio, which let an unloaded video's portrait
   poster dictate an intrinsic ratio that silently overrode it in some
   browsers) and width is explicit per format for the same reason.
   The clamp is tied to vw rather than a fixed px value so the number of
   cards visible at once (~3.5-4) stays roughly constant as the viewport
   widens, instead of just rendering more cards at the same size. */
.work-card-media {
  --work-card-h: clamp(220px, 19vw, 320px);
  position: relative;
  display: block;
  height: var(--work-card-h);
  width: calc(var(--work-card-h) * 16 / 9); /* 16:9 */
  border: none;
  margin: 0;
  cursor: pointer;
  background: var(--color-line-light);
  border-radius: var(--radius-medium);
  flex-shrink: 0;
  overflow: hidden;
}

.work-card-media[data-media-format="portrait"] {
  width: calc(var(--work-card-h) * 7 / 10); /* 7:10, narrower than a true 4:5 */
}

/* .featured-work-media also carries .work-card-media (shared hover/
   case-modal wiring — see the comment on that class) and, coming later
   in the file, .work-card-media's own width/height otherwise win over
   .featured-work-media's full-bleed sizing at equal specificity. Restore
   it explicitly rather than relying on source order. */
.featured-work-media.work-card-media {
  width: 100%;
  height: 86vh;
  min-height: 560px;
}

@media (max-width: 640px) {
  .featured-work-media.work-card-media { height: 72vh; min-height: 440px; }

  /* Smaller than the desktop clamp's own floor on purpose: at the
     min-220px value a single landscape card alone is already wider
     than most phones, leaving nothing of the next card peeking past
     the edge — nothing signals there's more to scroll. Sized instead
     so a slice of the following (portrait) card stays visible. */
  .work-card-media { --work-card-h: clamp(140px, 48.6vw - 23px, 220px); }
}

.work-card-media img,
.work-card-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Darkens slightly on hover/focus so the overlay title stays readable
   over any footage, light or dark. */
.work-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,0.75) 0%, rgba(10,10,8,0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 15, 10, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-small);
}

.work-card-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* On touch (no real hover), show the title permanently and skip the
   motion — there's no gesture that would reveal it otherwise. */
@media (hover: none) {
  .work-card-scrim,
  .work-card-overlay { opacity: 1; transform: none; }
}

/* One restrained hover/focus treatment: a minimal image scale, the title
   and play icon fading in — never a large scale, glow, lift or slow
   animation. */
@media (hover: hover) {
  .work-card-media:hover video,
  .work-card-media:focus-visible video {
    transform: scale(1.03);
  }
  .work-card-media:hover .work-card-scrim,
  .work-card-media:focus-visible .work-card-scrim,
  .work-card-media:hover .work-card-overlay,
  .work-card-media:focus-visible .work-card-overlay {
    opacity: 1;
    transform: none;
  }
  .work-card-media:hover .play-icon,
  .work-card-media:focus-visible .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card-media video,
  .work-card-scrim,
  .work-card-overlay,
  .play-icon { transition: none; }
}

/* ---------- BTS video (Over mij) ---------- */

/* Its own standalone card on the right, same premium treatment as the
   photo card (thin copper border, soft shadow) — purely ambient
   (autoplay/loop, muted, no sound toggle, no caption, not clickable). */
.over-video-card {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 380px;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px solid rgba(232, 184, 126, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 30px rgba(164, 90, 16, 0.18);
  pointer-events: none;
}

.over-video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Werkwijze ---------- */

.werkwijze { background: var(--color-bg); padding-top: 0; padding-bottom: 0; }

/* "Screen in a screen": the step list lives inside a dark glass panel
   floating over its own warm, blurred studio-photo backdrop (same
   treatment as the hero/Werk sections), rather than a plain editorial
   timeline on the page's own light background. Full-bleed edge to edge
   (not wrapped in .container, no border-radius) so the photo reaches the
   viewport edge instead of leaving the page's own background visible as
   a margin on either side — the text/card content inside gets its own
   nested .container to stay a readable width. */
.werkwijze-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 160px;
  text-align: center;
}

.werkwijze-hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image: url("../img/werkwijze-ambient-studio.webp");
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.75) saturate(1.05);
}

.werkwijze-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 7, 3, 0.1) 0%, rgba(11, 7, 3, 0.45) 100%);
}

.werkwijze-hero-inner { position: relative; z-index: 1; }

.werkwijze-hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  color: var(--color-text-light);
  max-width: 680px;
  margin: 0 auto 48px;
}

.process-screen {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  background: rgba(17, 17, 15, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-large);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  padding: 8px 32px;
}

/* All four steps render in full (no clipping/scroll) so the connecting
   line reads as one continuous timeline, as in the reference layout. */
.process-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The timeline's spine: a single vertical line behind every marker
   circle, from the first step to the last. Sits one stacking level
   below .process-step (which gets z-index: 1 below), and each marker's
   own opaque fill (see .process-step-marker) masks the line where it
   passes behind, so the line visually stops at each numbered circle
   instead of running through the digit. */
.process-steps::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 184, 126, 0.5), rgba(232, 184, 126, 0.12));
  z-index: 0;
}

/* First column is wider than the marker itself so the (much larger)
   photo pins have room to hang below it without reaching into the
   text column — see .process-step-photo. */
.process-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 80px 1fr 44px;
  align-items: start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step:last-child { border-bottom: none; }

/* Small, square "photo pins" threaded onto the timeline itself between
   steps — not a separate photo column — so they read as a personal,
   understated detail rather than a competing block of content. A thick
   light frame, a real drop shadow and a slight candid tilt are what
   keep them legible against the busy blurred backdrop behind the panel;
   without that framing they visually disappear into it. Only a small
   amount of the frame dips past the divider (the rest reaches up into
   the step's own left-hand margin, which is clear of the text — see
   the wider first grid column above) so steps keep their normal,
   compact rhythm instead of needing extra margin to clear the pin. */
.process-step-photo {
  position: absolute;
  left: 12px;
  bottom: -16px;
  z-index: 2;
  display: block;
  width: 125px;
  height: 125px;
  transform: translateX(-50%) rotate(-5deg);
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--color-light);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.process-step-photo--b { transform: translateX(-50%) rotate(4deg); }

.process-step-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-step-marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  /* Opaque (not translucent) so it fully masks the timeline's spine
     line passing behind it — the line should read as stopping at each
     numbered circle, not running through the digit. */
  background: var(--color-dark-soft);
  border: 1px solid rgba(232, 184, 126, 0.4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: #E8B87E;
}

.process-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.process-step-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.process-step-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-light-muted);
  margin: 0;
}

.process-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-small);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
}

.process-step-icon svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .werkwijze-hero { padding: 100px 20px 100px; }
  .werkwijze-hero-title { margin-bottom: 36px; }
  .process-screen { padding: 4px 18px; }
  .process-step { grid-template-columns: 60px 1fr; gap: 14px; }
  .process-step-icon { display: none; }
  .process-steps::before { left: 10px; }
  .process-step-photo { left: 10px; width: 102px; height: 102px; bottom: -13px; }
}

/* ---------- Combined video portfolio grid (Merk- en productvideo's) ---------- */

/* Horizontal, snap-scrolling filmstrip rather than a static grid — every
   card shares the same height (set on .work-card-media above) and its
   own width just follows from its aspect ratio, so landscape and
   portrait cards line up cleanly along both the top and bottom edge
   instead of only sharing a width and drifting apart vertically. */
.work-slider-wrap {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.work-slider {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 64px;
  padding: 8px 64px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 1024px) {
  .work-slider { scroll-padding-left: 24px; padding: 8px 24px; }
}

.work-slider::-webkit-scrollbar { display: none; }

.work-card {
  display: flex;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.work-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-text);
  opacity: 0.55;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.work-slider-prev { left: 12px; }
.work-slider-next { right: 12px; }
.work-slider-arrow:hover { background: var(--color-bg-raised); border-color: var(--color-accent-text); opacity: 1; }
.work-slider-arrow:disabled { opacity: 0; pointer-events: none; }
.work-slider-arrow svg { width: 14px; height: 14px; }

@media (max-width: 780px) {
  .work-slider-arrow { display: none; }
}

.work-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.work-slider-dot {
  width: 14px;
  height: 2px;
  padding: 0;
  border: none;
  border-radius: 1px;
  background: var(--color-line-light);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.work-slider-dot.is-active { width: 20px; background: var(--color-accent-text); opacity: 0.6; }

@media (prefers-reduced-motion: reduce) {
  .work-slider { scroll-behavior: auto; }
}

/* ---------- Over mij ----------
   One composition: a photo + stats + BTS clip on one side, one headline
   and the story on the other — not two stacked "about" moments. */

/* Near-black base with two very low-opacity copper glows (one roughly
   behind the photo, one behind the text) instead of a flat fill, plus a
   pair of large, mostly off-canvas rings as subtle decorative curves —
   both purely atmospheric, kept behind the actual content. */
.over {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 650px at 18% 30%, rgba(164, 90, 16, 0.1) 0%, transparent 62%),
    radial-gradient(ellipse 700px 550px at 78% 65%, rgba(164, 90, 16, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #15110c 0%, #11110f 50%, #0d0b08 100%);
  padding-bottom: calc(var(--section-pad) + 80px);
}

.over .section-title {
  position: relative;
  z-index: 1;
  color: var(--color-text-light);
  margin-bottom: 48px;
}

.over::before,
.over::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 126, 0.08);
  pointer-events: none;
}

.over::before { width: 900px; height: 900px; right: -320px; top: -260px; }
.over::after { width: 640px; height: 640px; left: -220px; bottom: -280px; }

/* Three-part row — photo card, a quiet handwritten-label column, video
   card — bounded and centered as its own composition rather than
   stretched to the full container. */
.over-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.46fr) minmax(0, 0.62fr);
  align-items: stretch;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.over-photo-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--color-dark-soft);
  border: 1px solid rgba(232, 184, 126, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(164, 90, 16, 0.12);
}

.over-photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.over-photo { position: absolute; inset: 0; }

.over-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  display: block;
  transition: opacity 0.18s ease;
}

.over-photo.is-swapping img { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .over-photo img { transition: none; }
}

.over-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,0.8) 0%, rgba(10,10,8,0.15) 32%, rgba(10,10,8,0) 55%);
}

.over-photo-caption {
  padding: 22px 24px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-light-muted);
}

.over-photo-caption + .over-photo-caption {
  padding-top: 0;
  margin-top: 10px;
}

.over-unlock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 48px);
  margin: 18px 24px 24px;
  padding: 14px 20px;
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.over-unlock-btn:hover,
.over-unlock-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 184, 126, 0.45);
}

.over-unlock-icon {
  display: flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-text-light-muted);
}

/* Decorative, hand-labelled callouts between the two cards — Caveat
   (a casual script face) + simple curved-arrow SVGs standing in for a
   hand-drawn annotation, pointing from the label toward each card. */
.over-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  min-height: 320px;
  padding: 12px 0;
}

.over-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(245, 243, 238, 0.75);
}

.over-label-arrow { width: 96px; height: 46px; color: inherit; }

.over-label-text {
  font-family: "Caveat", cursive;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.over-label-luuk { align-self: flex-start; }
.over-label-luuk .over-label-arrow { width: 68px; height: 52px; margin-top: -6px; }
.over-label-bts { align-self: flex-end; align-items: flex-end; }
.over-label-bts .over-label-text { margin-bottom: 2px; text-align: right; }
.over-label-bts .over-label-arrow { transform: scaleY(-1); }

@media (max-width: 900px) {
  .over-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .over-photo-card { width: 100%; }
  .over-labels { display: none; }
  .over-video-card { width: 100%; height: auto; max-width: 260px; aspect-ratio: 3 / 4; }
}

/* ---------- Contact ---------- */

/* Dark, integrated contact section: no floating white form card. Base
   .form-row/.contact-form/.whatsapp-link/.form-success/.form-error rules
   above stay light (aanvraag-compleet still uses them as-is) — every
   override below is scoped to .contact so it only repaints this section. */
/* Negative scroll-margin so the #contact anchor link scrolls past this
   section's own large top padding instead of landing on it — without
   this, jumping here leaves a big empty gap above the eyebrow. */
.contact { background: var(--color-dark); padding-top: calc(var(--section-pad) + 80px); scroll-margin-top: -95px; }

.contact .eyebrow { color: #E8B87E; }
.contact .section-title { color: var(--color-text-light); }
.contact .section-subtitle { color: var(--color-text-light-muted); margin-bottom: 0; }

/* ---------- Contact: objection killers ---------- */

/* A quiet, single line of reassurance right before the contact cards —
   deliberately plain text, no card/border/background of its own, so it
   reads as a soft footnote under the subtitle rather than a fourth
   piece of content competing with the three real contact options. */
.objection-killers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.objection-killers li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 20px;
  border-left: 1px solid var(--color-line-dark);
}

.objection-killers li:first-child { border-left: none; }

.objection-killers-q {
  font-size: 13px;
  color: var(--color-text-light-muted);
}

.objection-killers-a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #E8B87E;
  white-space: nowrap;
}

.objection-killers-a svg { width: 12px; height: 12px; flex-shrink: 0; }

@media (max-width: 780px) {
  .objection-killers { flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
  .objection-killers li { border-left: none; padding: 0; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
}

/* ---------- Contact: three-card layout ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  /* start, not stretch: the right card's height now changes (the email
     form expands in place), and stretch would force the left card to
     grow and shrink along with it every time. */
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .contact-grid { margin-top: 40px; gap: 16px; }
  .contact-card { padding: 24px; }
}

.contact-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-large);
  padding: 32px;
}

.contact-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-medium);
  background: rgba(232, 184, 126, 0.08);
  border: 1px solid rgba(232, 184, 126, 0.3);
  color: #E8B87E;
}

.contact-card-icon svg { width: 22px; height: 22px; }

.contact-card-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-light-muted);
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.contact-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-light-muted);
  margin-bottom: 28px;
}

.contact-card-form .contact-card-text { margin-bottom: 24px; }

/* Pushes the CTA (and everything after it) to the card's bottom edge so
   all three cards' buttons line up even though the body copy above is a
   different length in each — .contact-grid's align-items:stretch is what
   gives every card the same height to push against. */
.contact-card > .contact-cta,
.contact-card > form { margin-top: auto; }

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-medium);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-cta-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-cta-label svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-cta-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s ease; }

.contact-cta-primary {
  background: #E8B87E;
  color: var(--color-text-dark);
}

.contact-cta-primary:hover {
  background: #DEA968;
  transform: translateY(-1px);
}

.contact-cta-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--color-text-light);
}

.contact-cta-whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.14);
  transform: translateY(-1px);
}

.contact-cta-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-line-dark);
  color: var(--color-text-light);
}

.contact-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* Arrow rotates to point down once the email form is revealed, echoing
   the same open/closed cue used by the case-modal and FAQ-style toggles
   elsewhere on the site. */
.contact-cta-secondary[aria-expanded="true"] .contact-cta-arrow {
  transform: rotate(90deg);
}

.contact-cta:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-cta { transition: none; }
}

.contact-card-phone {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--color-text-light-muted);
}

.contact-card-phone a { color: var(--color-text-light); font-weight: 600; }
.contact-card-phone a:hover { color: #E8B87E; }

/* Two stacked CTAs (WhatsApp, email) with their own sub-notes, replacing
   what used to be two separate cards. */
.contact-card-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card-options .contact-card-phone:last-of-type { margin-bottom: 4px; }

/* The email CTA reveals the existing contact form in place rather than
   linking out or opening a popup. Height starts at 0 and is animated to
   the content's measured scrollHeight by initContactEmailReveal in
   script.js (a plain grid-template-rows: 0fr -> 1fr tween doesn't get a
   content-based track size here, since this sits inside a flex column);
   once open it's set back to "auto" so the box can still grow/shrink
   naturally if the form swaps for the success/error state. */
.contact-email-reveal {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.contact-email-reveal-inner {
  padding-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-email-reveal { transition: none; }
}

.contact-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line-dark);
  font-size: 12.5px;
  color: var(--color-text-light-muted);
}

.contact-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.contact-card-meta svg { width: 13px; height: 13px; }
.contact-card-meta-sep { color: rgba(255, 255, 255, 0.25); }

.contact-card-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.contact-card-form .contact-form {
  gap: 14px;
}

.contact-card-form .form-row-group { gap: 14px; }
.contact-card-form .form-row-group > .form-row { flex: 1 1 140px; min-width: 0; }

.contact .contact-form {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.contact .form-row label { color: var(--color-text-light-muted); }

.contact .form-row input,
.contact .form-row select,
.contact .form-row textarea {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-line-dark);
  color: var(--color-text-light);
  border-radius: var(--radius-small);
}

.contact .form-row input::placeholder,
.contact .form-row textarea::placeholder { color: var(--color-text-light-muted); opacity: 0.7; }

.contact .form-row input:focus-visible,
.contact .form-row select:focus-visible,
.contact .form-row textarea:focus-visible {
  border-color: var(--color-copper);
  outline-color: var(--color-copper);
  background: rgba(255, 255, 255, 0.06);
}

.contact .optional,
.contact .form-hint { color: var(--color-text-light-muted); }

.contact .form-privacy-note {
  color: var(--color-text-light-muted);
}

.contact .form-privacy-note a { color: #E8B87E; }

.contact .form-success,
.contact .form-error {
  background: var(--color-dark-soft);
  border-color: var(--color-line-dark);
}

.contact-card-form .form-success,
.contact-card-form .form-error {
  background: none;
  border: none;
  padding: 0;
  margin-top: 0;
  text-align: left;
}

.contact .form-success h3,
.contact .form-error h3 { color: var(--color-text-light); }

.contact .form-success p,
.contact .form-error p { color: var(--color-text-light-muted); }

/* Small checkmark badge above the confirmation heading, same pattern
   as the exit-offer/contact-widget success states elsewhere on the
   site, so a submitted form reads as a clear, reassuring "done" rather
   than just plain text. */
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 126, 0.4);
  background: rgba(232, 184, 126, 0.08);
  color: #E8B87E;
}

.form-success-icon svg { width: 20px; height: 20px; }

.contact .whatsapp-link {
  background: none;
  border-color: var(--color-line-dark);
  color: var(--color-text-light);
}

.contact .whatsapp-link:hover { border-color: #25D366; }

.contact-subnote {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.contact-steps {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 14px;
}

/* Short, visually secondary timing indication under the pre-submission
   steps — deliberately styled like .contact-subnote (small, muted, no
   border/background of its own) rather than a callout, so it reads as a
   quiet caveat rather than a warning. */
.contact-timing-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.contact-steps-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 14px;
}

.contact-steps ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-steps li {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--color-bg-raised);
  transition: border-color 0.15s ease;
}

/* WhatsApp's own green rather than the site's copper accent, so its
   hover reads as distinct from .contact-choice-form-link's copper hover
   — the two routes stay equally weighted, not one looking like a
   variant of the other. */
.whatsapp-link:hover { border-color: #25D366; }

.whatsapp-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-link { transition: none; }
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  padding: 4px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  fill: #fff;
  box-sizing: content-box;
}

.contact-form {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.hidden-field { position: absolute; left: -9999px; }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* The shared omschrijving field is wrapped in a <fieldset> (so advice mode
   can hide+disable it like every other route-specific field group) — this
   strips the browser's default fieldset border/margin/padding so it still
   looks like an ordinary .form-row. */
.form-row-plain {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Same reasoning as .form-group[hidden]/.form-option[hidden] above: this
   rule sets its own explicit display, which otherwise beats the browser's
   default [hidden]{display:none} UA rule for individually-toggled
   conditional fields (as opposed to whole fieldsets). */
.form-row[hidden] { display: none; }

/* Groups two or three short related .form-row fields side by side on
   desktop (e.g. postcode + plaats) — each still stacks to full width on
   narrow screens since it's just a wrapping flex row. */
.form-row-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-row-group > .form-row { flex: 1 1 200px; }

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  resize: vertical;
}

.form-row select { cursor: pointer; }

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--color-accent);
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
}

/* Groups a run of .form-row/.form-group elements under one visible
   section heading, for longer forms (like /aanvraag-compleet/) that
   benefit from a clearer sense of place than a flat field list. */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.form-section:first-of-type { padding-top: 0; border-top: none; }

.form-section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-muted);
}

.form-hint {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: -2px;
}

.form-group-hint {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: -4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* .form-group sets its own explicit display, which otherwise beats the
   browser's default [hidden]{display:none} UA rule — without this, the
   four route-specific fieldsets (add-ons / maatwerk / "weet het nog niet"
   / bureau) stayed visually present, taking up full height with their
   heading, divider and fields, even though `hidden`+`disabled` already
   correctly removed them from the tab order, validation and FormData. */
.form-group[hidden] { display: none; }

.form-group-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  padding: 0;
}

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.form-option:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(181, 119, 58, 0.08);
}

.form-option:has(input:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@keyframes formOptionPulse {
  0% { box-shadow: 0 0 0 0 rgba(181, 119, 58, 0.35); }
  100% { box-shadow: 0 0 0 8px rgba(181, 119, 58, 0); }
}

.form-option-highlight { animation: formOptionPulse 1.2s ease-out; }

.form-option input[type="checkbox"],
.form-option input[type="radio"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-subgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-subgroup-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

/* Groups the "1/3 extra infographicbeelden" checkboxes under one
   accessible name (its legend, kept visually hidden) without affecting
   layout — like .addon-radiogroup above, its two .form-option children
   still participate directly in .form-options-addons' flex-wrap row. */
.form-subfieldset-inline { display: contents; }

/* Same reasoning as .form-option[hidden]/.form-group[hidden] above: this
   fieldset's own explicit `display: contents` would otherwise beat the UA
   default [hidden]{display:none} when the whole 1/3-extra-images pair is
   hidden for a package that doesn't offer it. */
.form-subfieldset-inline[hidden] { display: none; }

/* Standard accessible-hiding technique: present in the accessibility
   tree and readable by screen readers, removed from visual layout. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-group-custom {
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.form-group-error {
  display: none;
  font-size: 13px;
  color: #C0392B;
}

.form-group.invalid .form-options { border-radius: 10px; outline: 2px solid #C0392B; outline-offset: 4px; }
.form-group.invalid .form-group-error { display: block; }

/* The language-limit message isn't tied to the .form-group.invalid /
   showPakketGroupError mechanism above — it's shown or hidden directly via
   its `hidden` attribute whenever the visitor is over the package's
   language cap. .form-group-error's own unconditional `display: none`
   would otherwise always win, so it needs the same kind of explicit
   [hidden] override as .form-option/.form-group above. */
.form-group-error-limit:not([hidden]) { display: block; }

/* .form-option sets its own display, so the [hidden] attribute (used to
   drop irrelevant add-ons for the selected package) needs an explicit
   override — otherwise the UA default [hidden]{display:none} loses to the
   more specific author rule and the row stays visible. */
.form-option[hidden] { display: none; }

/* Route-specific fieldsets (add-ons / maatwerk / "weet het nog niet" /
   bureau) pop in the instant they're un-hidden — quick and no layout
   height animation, so switching routes feels immediate rather than like
   a slow accordion. Reduced-motion visitors skip the animation entirely. */
.form-group-addons,
.form-group-custom {
  animation: formSectionIn 0.18s ease;
}

@keyframes formSectionIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .form-group-addons,
  .form-group-custom { animation: none; }
}

.form-success {
  display: none;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
}

.form-success.visible { display: block; }

.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--color-muted);
  font-size: 15px;
}

.form-error {
  display: none;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px 36px;
  text-align: center;
  margin-top: 20px;
}

.form-error.visible { display: block; }

.form-error h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #C0392B;
  margin-bottom: 10px;
}

.form-error p {
  color: var(--color-muted);
  font-size: 15px;
}

.form-error .whatsapp-link { margin-top: 16px; }

/* Extends the existing #formSuccess state with the choice to continue
   straight to /aanvraag-compleet/ (kept visually primary) or wait for the
   manually-sent confirmation email (kept as quiet secondary text) — see
   initContactForm, which only toggles .form-success/.visible and never
   touches this markup directly. */
.form-success-next {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.form-success-next h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.form-success-next p { margin-bottom: 16px; }

.form-success-next .btn { margin-bottom: 14px; }

.form-success-later {
  font-size: 13px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Reusable numbered process overview — full-size, with the first step
   marked .is-current, at the top of /aanvraag-compleet/. Always
   left-aligned regardless of a centered parent like .form-success. */
.process-overview {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: left;
}

.process-overview-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 16px;
}

.process-overview ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-overview li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.process-overview-number {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

.process-overview li.is-current .process-overview-number {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.process-overview-text strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  color: var(--color-text);
  margin-bottom: 2px;
}

.process-overview-text span {
  display: block;
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.5;
}

.process-overview-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-accent-text);
}

@media (max-width: 640px) {
  .process-overview { padding: 20px; }
}

/* Small callout card for standalone informational asides (e.g. "what
   happens after submitting", "how to deliver files") — same bg/border/
   radius language as .process-overview, but a plain heading+paragraph
   shape instead of a numbered list, with a left accent bar so it reads
   as a highlighted note rather than another content card. */
.info-block {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 24px;
}

.info-block-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-block p {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.info-block-compact {
  padding: 16px 20px;
  margin-top: 14px;
}

.info-block-compact .info-block-title { font-size: 14.5px; margin-bottom: 6px; }
.info-block-compact p { font-size: 13.5px; }

/* ---------- /aanvraag-compleet/ (scoped to .legal-page so it can't
   affect the homepage's own .contact-form/.form-success/.form-error in
   the two-column #contact layout) ---------- */

.legal-page .contact-form,
.legal-page .form-success,
.legal-page .form-error,
.legal-page .aanvraag-process {
  max-width: 760px;
}

.legal-content-tight { margin-top: 20px; }

.form-option-checkbox {
  align-items: flex-start;
  min-height: 0;
  padding: 14px 16px;
}

.form-success-home { margin-top: 8px; }

/* ---------- /creatieve-briefing/ multi-step form ---------- */

.briefing-progress { margin: 28px 0 24px; }

.briefing-progress-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 10px;
}

.briefing-progress-bar {
  height: 6px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}

.briefing-progress-fill {
  display: block;
  height: 100%;
  background: var(--color-accent);
  border-radius: 100px;
  transition: width 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .briefing-progress-fill { transition: none; }
}

/* Each step is a plain child of the one real <form> — hiding a step sets
   display:none, which the HTML spec already excludes from constraint
   validation automatically (no need to also toggle `disabled` on its
   fields, unlike the individually-conditional rows below), so only the
   currently visible step's required fields can ever block submission. */
.form-step[hidden] { display: none; }

.form-step { animation: formSectionIn 0.18s ease; }

@media (prefers-reduced-motion: reduce) {
  .form-step { animation: none; }
}

.form-step-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}

.form-step-intro {
  color: var(--color-muted);
  font-size: 14.5px;
  margin-bottom: 4px;
}

.briefing-service-section .form-section-title { font-size: 16px; }

/* .form-section sets its own explicit display:flex, which otherwise beats
   the UA default [hidden]{display:none} — without this override, a
   package/route section toggled via section.hidden = true (see
   setSectionVisible) stayed visually present even though its fields were
   correctly disabled and excluded from validation/FormData. */
.form-section[hidden] { display: none; }

.form-step-error {
  display: none;
  font-size: 13.5px;
  color: #C0392B;
}

.form-step-error.visible { display: block; }

.form-step-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-step-actions .btn-primary { margin-left: auto; }

@media (max-width: 480px) {
  .form-step-actions { flex-direction: column-reverse; }
  .form-step-actions .btn { width: 100%; margin-left: 0; }
}

/* Disabled past the four-choice cap (see initCreatieveBriefingForm) —
   greys out the remaining unchecked chips so a fifth choice is physically
   unreachable rather than merely validated against after the fact. */
.form-option:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }

/* ---------- Step 3: content route + repeatable blocks ---------- */

.form-options-stacked { flex-direction: column; }

/* The two content-route cards (klant werkt inhoud uit / Studio Lumex
   stelt voor) carry their own title + explanatory line, so they need
   more room than a plain .form-option chip — same selected/focus
   treatment, just full-width and block-level internally. */
.form-option-block {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: flex-start;
  padding: 14px 16px;
}

.form-option-block-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-option-block-text strong { font-size: 14.5px; color: var(--color-text); }
.form-option-block-text span { font-size: 13px; color: var(--color-muted); line-height: 1.5; }

.briefing-route { display: flex; flex-direction: column; gap: 24px; }
.briefing-route[hidden] { display: none; }

/* Card used for both the 7 infographic image blocks and the up-to-5 video
   "onderdeel" items — same bg/border/radius language as .info-block and
   .form-price-summary, so a repeated block reads as clearly separated
   without introducing a new visual idiom. */
.briefing-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
}

.briefing-block[hidden] { display: none; }

.briefing-block-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
}

.briefing-add-item { align-self: flex-start; }

/* Route B: read-only mirror of step 2's USP / eigenschappen /
   specificaties answers — visually quiet (no border of its own beyond a
   thin divider) so it reads as reference material, not a new question. */
.briefing-summary-field {
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
}

.briefing-summary-field:first-of-type { padding-top: 0; border-top: none; }

.briefing-summary-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.briefing-summary-value {
  font-size: 14.5px;
  color: var(--color-text);
  margin-bottom: 6px;
}

.briefing-summary-edit {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.briefing-summary-edit:hover,
.briefing-summary-edit:focus-visible { color: var(--color-accent-text-hover); }

.briefing-summary-edit:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Step 5: review summary ---------- */

.briefing-review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

.briefing-review-group {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
}

.briefing-review-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.briefing-review-group-title {
  font-family: var(--font-display);
  font-size: 15px;
}

.briefing-review-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 4px 16px;
  padding: 6px 0;
  border-top: 1px solid var(--color-border);
  font-size: 13.5px;
}

.briefing-review-row:first-of-type { border-top: none; padding-top: 0; }

.briefing-review-row-label { color: var(--color-muted); }
.briefing-review-row-value { color: var(--color-text); word-break: break-word; }

.briefing-review-empty { font-size: 13.5px; color: var(--color-muted); }

@media (max-width: 640px) {
  .briefing-review-row { grid-template-columns: 1fr; gap: 2px; }
}

/* The brief asks for the whole page — heading included, not only the
   form — to read in a single centred ~840px column, narrower than the
   760px used on /aanvraag-compleet/'s wider legal-page treatment. The
   heading rules are re-applied after the "Legal pages" section further
   below (see .legal-page .section-subtitle there), since that later,
   equally-specific selector would otherwise win the cascade tie. */
.briefing-page .contact-form,
.briefing-page .form-error,
.briefing-page .briefing-progress,
.briefing-page .legal-content-tight,
.briefing-page .info-block {
  max-width: 840px;
}

.briefing-thanks-info { margin-bottom: 28px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tagline { font-size: 14px; }

.footer-location {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  max-width: 220px;
}

.footer-location-title {
  font-weight: 700;
  color: #fff;
}

.footer-address {
  font-style: normal;
  line-height: 1.5;
}

.footer-address a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(255,255,255,0.7);
}

.footer-address a:hover,
.footer-address a:focus-visible { color: #fff; text-decoration: underline; }

.footer-address a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer-location-note { font-size: 13px; }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
}

.footer-meta a:hover,
.footer-meta a:focus-visible { color: #fff; text-decoration: underline; }

.footer-meta a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer-copyright {
  padding-top: 24px;
  font-size: 13px;
}

.footer-wordmark {
  margin: 24px 0 -28px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 13vw, 168px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 640px) {
  .footer-wordmark { font-size: 15vw; margin-bottom: -12px; }
}

/* ---------- Contact widget ----------
   Asynchronous contact shortcut styled like a light chat UI — explicitly
   not live chat (no online dot, no "replies instantly" messaging). Sits
   alone in the bottom-right corner now that the floating WhatsApp button
   has been removed. */

.contact-widget-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 140;
  display: flex;
  align-items: flex-end;
}

.contact-widget-trigger {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 20px;
  border-radius: 999px;
  border: 1px solid rgba(232, 184, 126, 0.35);
  background: var(--color-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-widget-trigger:hover,
.contact-widget-trigger:focus-visible {
  transform: scale(1.03);
  border-color: rgba(232, 184, 126, 0.6);
}

.contact-widget-trigger:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

.contact-widget-trigger-label {
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.contact-widget-trigger-icon-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(232, 184, 126, 0.12);
  color: #E8B87E;
}

.contact-widget-trigger-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-widget-trigger-icon-close { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }

.contact-widget-trigger.is-open .contact-widget-trigger-icon-open { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
.contact-widget-trigger.is-open .contact-widget-trigger-icon-close { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (max-width: 480px) {
  .contact-widget-trigger { padding: 4px 4px 4px 16px; gap: 10px; }
  .contact-widget-trigger-label { font-size: 14px; }
  .contact-widget-trigger-icon-circle { width: 40px; height: 40px; }
}

/* The compact "pick a reason" popup that appears above .contact-widget-
   trigger after a delay — a smaller, lighter-weight sibling of the full
   panel (same dark/copper language, same pill option buttons), not a
   chat bubble. Positioned absolutely within .contact-widget-dock so it
   stacks directly above the trigger regardless of its own width. */
.contact-widget-teaser {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 252px;
  padding: 16px;
  background: var(--color-dark);
  border: 1px solid rgba(232, 184, 126, 0.3);
  border-radius: var(--radius-large);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-widget-teaser[hidden] { display: none; }

.contact-widget-teaser.is-visible { opacity: 1; transform: translateY(0); }

.contact-widget-teaser-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-widget-teaser-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-light);
}

.contact-widget-teaser-close {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: none;
  color: var(--color-text-light-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-widget-teaser-close:hover { color: var(--color-text-light); background: rgba(255, 255, 255, 0.08); }

.contact-widget-teaser-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-widget-teaser-option {
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-medium);
  border: 1px solid var(--color-line-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.contact-widget-teaser-option:hover,
.contact-widget-teaser-option:focus-visible {
  border-color: #E8B87E;
  background: rgba(232, 184, 126, 0.1);
  color: #E8B87E;
}

.contact-widget-panel {
  position: fixed;
  right: 24px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 140;
  width: 392px;
  max-width: calc(100vw - 48px);
  max-height: min(600px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: var(--color-dark);
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(164, 90, 16, 0.1);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.contact-widget-panel[hidden] { display: none; }

.contact-widget-panel.is-open { opacity: 1; transform: translateY(0) scale(1); }

.contact-widget-panel-inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px 24px;
}

.contact-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.contact-widget-eyebrow {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E8B87E;
}

.contact-widget-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: none;
  color: var(--color-text-light-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-widget-close:hover { color: var(--color-text-light); background: rgba(255, 255, 255, 0.08); }

.contact-widget-step[hidden] { display: none; }

.contact-widget-heading {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 8px;
}

.contact-widget-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-light-muted);
  margin: 0 0 18px;
}

.contact-widget-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-widget-quick-btn {
  text-align: left;
  padding: 11px 14px;
  border-radius: var(--radius-medium);
  border: 1px solid var(--color-line-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.contact-widget-quick-btn:hover { border-color: rgba(232, 184, 126, 0.4); }

.contact-widget-quick-btn.is-selected {
  border-color: #E8B87E;
  background: rgba(232, 184, 126, 0.1);
  color: #E8B87E;
}

.contact-widget-divider {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-light-muted);
  text-align: center;
  margin: 0 0 14px;
}

.contact-widget-field { margin-bottom: 16px; }

.contact-widget-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light-muted);
  margin-bottom: 8px;
}

.contact-widget-optional { font-weight: 500; color: var(--color-text-light-muted); }

.contact-widget-step textarea,
.contact-widget-step input[type="email"],
.contact-widget-step input[type="tel"],
.contact-widget-step input[type="text"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  border: 1px solid var(--color-line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-light);
  resize: vertical;
}

.contact-widget-step textarea::placeholder,
.contact-widget-step input::placeholder { color: var(--color-text-light-muted); opacity: 0.7; }

.contact-widget-step textarea:focus-visible,
.contact-widget-step input:focus-visible {
  outline: none;
  border-color: var(--color-copper);
  background: rgba(255, 255, 255, 0.06);
}

.contact-widget-hint {
  font-size: 12px;
  color: var(--color-text-light-muted);
  margin: 6px 0 0;
}

.contact-widget-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-medium);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.contact-widget-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.contact-widget-btn:disabled { opacity: 0.45; cursor: default; }

.contact-widget-btn-primary {
  background: #E8B87E;
  color: #1C1208;
}

.contact-widget-btn-primary:hover:not(:disabled) { background: #F0C896; }

.contact-widget-btn-primary.is-loading { opacity: 0.75; cursor: default; }

.contact-widget-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-line-dark);
  color: var(--color-text-light);
  justify-content: center;
}

.contact-widget-btn-secondary:hover { border-color: rgba(255, 255, 255, 0.3); }

.contact-widget-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 0;
  background: none;
  color: var(--color-text-light-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.contact-widget-back svg { width: 15px; height: 15px; }

.contact-widget-back:hover { color: var(--color-text-light); }

.contact-widget-method {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-widget-method-btn {
  flex: 1;
  padding: 11px 14px;
  text-align: center;
  border-radius: var(--radius-medium);
  border: 1px solid var(--color-line-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.contact-widget-method-btn.is-selected {
  border-color: #E8B87E;
  background: rgba(232, 184, 126, 0.1);
  color: #E8B87E;
}

.contact-widget-error {
  font-size: 13px;
  color: #C0392B;
  margin: 0 0 14px;
}

.contact-widget-step-success {
  text-align: center;
  padding-top: 8px;
}

.contact-widget-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 126, 0.4);
  background: rgba(232, 184, 126, 0.08);
  color: #E8B87E;
}

.contact-widget-success-icon svg { width: 22px; height: 22px; }

.contact-widget-step-success .contact-widget-text { margin-bottom: 22px; }

@media (max-width: 640px) {
  .contact-widget-dock { right: 16px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .contact-widget-teaser { width: 228px; max-width: calc(100vw - 32px); }

  .contact-widget-panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 86vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%) scale(1);
    transform-origin: bottom center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .contact-widget-panel.is-open { transform: translateY(0) scale(1); }

  body.contact-widget-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-widget-trigger,
  .contact-widget-trigger-icon,
  .contact-widget-teaser,
  .contact-widget-panel,
  .contact-widget-quick-btn,
  .contact-widget-teaser-option,
  .contact-widget-method-btn,
  .contact-widget-btn,
  .contact-widget-close,
  .contact-widget-teaser-close { transition: none; }
}

/* ---------- Exit-intent content-check offer ----------
   A calm, optional-feeling modal (never a "DON'T LEAVE" banner) — same
   dark/copper language as the rest of the site, shown at most once per
   session via initExitOffer in script.js. Split layout: a real studio
   photo on the left as the eyecatcher, the offer itself on the right —
   kept deliberately plain (no stats, no fabricated social proof) so it
   reads as premium rather than busy. */

.exit-offer[hidden] { display: none; }

.exit-offer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 15, 12, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.exit-offer.is-open .exit-offer-backdrop { opacity: 1; }

.exit-offer-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 301;
  display: grid;
  grid-template-columns: 38% 1fr;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  background: var(--color-dark);
  border: 1px solid rgba(232, 184, 126, 0.3);
  border-radius: var(--radius-large);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.exit-offer.is-open .exit-offer-panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.exit-offer-media { position: relative; min-height: 0; background: var(--color-dark-soft); }

.exit-offer-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exit-offer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(17, 17, 15, 0.35));
}

.exit-offer-content {
  min-height: 0;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 44px;
}

.exit-offer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-light-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.exit-offer-close:hover { color: var(--color-text-light); background: rgba(255, 255, 255, 0.16); }

.exit-offer-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 184, 126, 0.3);
  background: rgba(232, 184, 126, 0.1);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E8B87E;
}

.exit-offer-label svg { width: 13px; height: 13px; flex-shrink: 0; }

.exit-offer-heading {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 12px;
  padding-right: 24px;
}

.exit-offer-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-light-muted);
  margin: 0 0 20px;
}

.exit-offer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.exit-offer-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
}

.exit-offer-trust svg { width: 14px; height: 14px; flex-shrink: 0; color: #E8B87E; }

.exit-offer-field { margin-bottom: 14px; }

.exit-offer-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light-muted);
  margin-bottom: 8px;
}

.exit-offer-optional { font-weight: 500; }

.exit-offer-field-input {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.exit-offer-field-input svg {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--color-text-light-muted);
  pointer-events: none;
}

.exit-offer-field input,
.exit-offer-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 14px 11px 40px;
  border-radius: var(--radius-small);
  border: 1px solid var(--color-line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-light);
  resize: none;
}

.exit-offer-field input::placeholder,
.exit-offer-field textarea::placeholder { color: var(--color-text-light-muted); opacity: 0.7; }

.exit-offer-field input:focus-visible,
.exit-offer-field textarea:focus-visible {
  outline: none;
  border-color: var(--color-copper);
  background: rgba(255, 255, 255, 0.06);
}

.exit-offer-error {
  font-size: 13px;
  color: #C0392B;
  margin: 0 0 14px;
}

.exit-offer-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-medium);
  border: none;
  background: #E8B87E;
  color: #1C1208;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.exit-offer-submit-arrow { width: 18px; height: 18px; flex-shrink: 0; }

.exit-offer-submit:hover:not(:disabled) { background: #F0C896; }
.exit-offer-submit:disabled { opacity: 0.6; cursor: default; }

.exit-offer-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12px;
  text-align: center;
  color: var(--color-text-light-muted);
}

.exit-offer-reassurance-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.exit-offer-step-success {
  text-align: center;
  padding-top: 4px;
}

.exit-offer-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 126, 0.4);
  background: rgba(232, 184, 126, 0.08);
  color: #E8B87E;
}

.exit-offer-success-icon svg { width: 22px; height: 22px; }

.exit-offer-step-success .exit-offer-heading { padding-right: 0; }

.exit-offer-text-muted { font-size: 13px; }

.exit-offer-btn-secondary {
  margin-top: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-medium);
  border: 1px solid var(--color-line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.exit-offer-btn-secondary:hover { border-color: rgba(255, 255, 255, 0.3); }

body.exit-offer-open { overflow: hidden; }

@media (max-width: 860px) {
  .exit-offer-panel { max-width: 480px; grid-template-columns: 1fr; }
  /* Media becomes a short top strip above the content instead of a
     side column (and instead of disappearing) — same photo as desktop,
     just a compact slice of it rather than half the panel. */
  .exit-offer-media { height: 130px; }
  .exit-offer-media::after { background: linear-gradient(180deg, transparent 55%, rgba(17, 17, 15, 0.9) 100%); }
}

@media (max-width: 640px) {
  .exit-offer-panel {
    width: calc(100% - 32px);
    max-height: 85vh;
  }
  .exit-offer-media { height: 110px; }
  .exit-offer-content { padding: 20px 20px 18px; }
  .exit-offer-close { top: 10px; right: 10px; width: 28px; height: 28px; }
  .exit-offer-label { margin-bottom: 10px; padding: 5px 10px; }
  .exit-offer-heading { font-size: 19px; margin-bottom: 8px; padding-right: 0; }
  .exit-offer-text { font-size: 13.5px; margin-bottom: 14px; }
  .exit-offer-trust { gap: 6px 14px; margin-bottom: 16px; }
  .exit-offer-field { margin-bottom: 10px; }
  .exit-offer-field-label { margin-bottom: 5px; }
  .exit-offer-field input,
  .exit-offer-field textarea { padding: 9px 12px 9px 36px; font-size: 14px; }
  .exit-offer-field-input svg { top: 11px; left: 12px; }
  .exit-offer-submit { padding: 12px 18px; }
  .exit-offer-reassurance { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .exit-offer-backdrop,
  .exit-offer-panel,
  .exit-offer-close,
  .exit-offer-submit,
  .exit-offer-btn-secondary { transition: none; }
}

/* ---------- Portfolio CTA (first-time visitors) ----------
   Shares its visual language with the returning-visitor CTA just below
   (same dark glass card, same copper accent button) since the two are
   mutually exclusive counterparts of one component, never shown
   together — but this one carries no close button and no scroll-reveal
   state: it's ordinary page content for a first-time visitor, visible
   by default, and only initPortfolioCta in script.js hides it (for a
   returning visitor, who gets .returning-cta instead). */

.portfolio-cta-wrap { }

.portfolio-cta[hidden] { display: none; }

.portfolio-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1050px;
  margin: 32px auto;
  padding: 24px 28px;
  background: rgba(17, 17, 15, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 184, 126, 0.25);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.portfolio-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 126, 0.3);
  background: rgba(232, 184, 126, 0.08);
  color: #E8B87E;
}

.portfolio-cta-icon svg { width: 20px; height: 20px; }

.portfolio-cta-body { flex: 1; min-width: 0; }

.portfolio-cta-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 4px;
}

.portfolio-cta-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-light-muted);
  margin: 0;
}

.portfolio-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.portfolio-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-medium);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.portfolio-cta-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.portfolio-cta-btn-primary { background: #E8B87E; color: #1C1208; border: 1px solid transparent; }
.portfolio-cta-btn-primary:hover { background: #F0C896; }

@media (max-width: 780px) {
  .portfolio-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 24px auto;
    padding: 22px 20px 20px;
  }
  .portfolio-cta-icon { display: none; }
  .portfolio-cta-actions { flex-direction: column; gap: 8px; }
  .portfolio-cta-btn { justify-content: center; width: 100%; }
}

/* ---------- Returning-visitor CTA ----------
   A quiet, integrated card for a visitor who already explored the site
   once before (see initReturningVisitorCta in script.js) — the lower-key
   counterpart to the exit-offer, never shown in the same visit as it.
   Lives in the normal page flow between the portfolio and "Even
   voorstellen" (not a floating overlay): it stays [hidden] — no
   reserved space at all — unless the visitor qualifies, then fades/
   slides into place once actually scrolled to. */

/* No padding of its own — the wrap is always present in the DOM (only
   the card inside it is [hidden] for a non-qualifying visitor), so any
   spacing here would show up as a blank gap between the portfolio and
   "Even voorstellen" even when nothing is shown. The spacing instead
   lives on .returning-cta itself, via margin, which collapses to
   nothing along with it when [hidden] takes it out of the flow. */
.returning-cta-wrap { }

.returning-cta[hidden] { display: none; }

.returning-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1050px;
  margin: 32px auto;
  padding: 24px 48px 24px 28px;
  background: rgba(17, 17, 15, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 184, 126, 0.25);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.returning-cta.is-visible { opacity: 1; transform: translateY(0); }

.returning-cta-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.returning-cta-close:hover { color: var(--color-text-light); background: rgba(255, 255, 255, 0.1); }

.returning-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 126, 0.3);
  background: rgba(232, 184, 126, 0.08);
  color: #E8B87E;
}

.returning-cta-icon svg { width: 20px; height: 20px; }

.returning-cta-body { flex: 1; min-width: 0; }

.returning-cta-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 4px;
}

.returning-cta-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-light-muted);
  margin: 0;
}

.returning-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.returning-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-medium);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.returning-cta-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.returning-cta-btn-primary { background: #E8B87E; color: #1C1208; border: 1px solid transparent; }
.returning-cta-btn-primary:hover { background: #F0C896; }

@media (max-width: 780px) {
  .returning-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 24px auto;
    padding: 22px 20px 20px;
  }
  .returning-cta-icon { display: none; }
  .returning-cta-actions { flex-direction: column; gap: 8px; }
  .returning-cta-btn { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .returning-cta { transition: none; }
}

/* ---------- Project case modal ---------- */

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(15, 15, 12, 0.72);
}

.case-modal[hidden] { display: none; }

/* The panel itself never scrolls — .case-modal-body (below) is the one
   scroll container, so the sticky close button and the fixed-size media
   never get carried away by a long Doel/Toepassing/Aanpak read. On
   standard desktop widths every format (see "Format-aware layout" further
   down) becomes a two-column row — media left, project info right — so
   info never sits underneath the media; only the column proportions and
   max-width differ per format. Below that width the layout stacks.
   Driven entirely by data-media-format on the project, never by a
   project-specific selector. */
.case-modal-panel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--color-dark);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.case-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.case-modal-close:hover { background: rgba(0, 0, 0, 0.6); }

.case-modal-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Deliberately not a centering flexbox: its single child (.case-modal-video
   or .case-modal-gallery) is always width:100% of this box, so centering
   would only ever apply to flex's own shrink-to-fit sizing — which is
   exactly what caused that child to size itself by content instead of
   filling the column. Any real ratio mismatch (an edge case, since the
   assets' ratios are matched to these boxes) is handled internally by
   object-fit: contain on the video/image itself. */
.case-modal-media {
  position: relative;
  flex-shrink: 0;
  background: #000;
}

.case-modal-video {
  display: block;
  width: 100%;
  max-height: 56vh;
  background: #000;
}

.case-modal-video[hidden] { display: none; }

.case-modal-gallery[hidden] { display: none; }

/* 1:1 matches the actual delivered infographic/main-image assets (see
   the Infographics package's "vierkant formaat" deliverable) — using the
   real ratio here, rather than an approximate box, is what lets the
   stage's height be derived from its width instead of stretching to
   whatever height the text column happens to need. */
.case-modal-gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 56vh;
  background: #000;
}

.case-modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

/* Sit close enough to the image to read as attached to it rather than
   floating in the letterboxed black area around a narrower photo. */
.case-modal-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.case-modal-gallery-nav:hover { background: rgba(255, 255, 255, 0.26); }

.case-modal-gallery-nav:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.case-modal-gallery-nav[hidden] { display: none; }

.case-modal-gallery-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.case-modal-gallery-prev { left: 12px; }
.case-modal-gallery-next { right: 12px; }

.case-modal-gallery-counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  padding: 10px 0 0;
}

/* Horizontal scroll is preserved for touch/mouse-wheel/trackpad, and
   click-and-drag with the primary mouse button is added in script.js
   (see initCaseModal) since a plain div has no native drag-to-scroll —
   that's also what the grab/grabbing cursor here signals. The scrollbar
   itself is hidden the same way as .case-modal-body-scroll above; the
   generous right padding keeps the final thumbnail from ever sitting
   flush against the modal's rounded edge once fully scrolled into view. */
/* scroll-behavior is deliberately left at its "auto" default (not
   "smooth") — script.js always passes an explicit behavior to
   scrollIntoView()/scrollLeft already, and a CSS scroll-behavior:smooth
   on this element was found to silently override that JS-specified
   "auto", turning the active-thumbnail reveal into a no-op animation
   that never actually completed. */
.case-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 24px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.case-modal-thumbs::-webkit-scrollbar { display: none; width: 0; height: 0; }

.case-modal-thumbs.is-dragging,
.case-modal-thumbs.is-dragging * {
  cursor: grabbing;
}

/* ~25% larger than the previous 64×48 tiles, so each infographic's content
   and layout is actually identifiable at a glance rather than just its
   colour. The active tile is marked with aria-current (read by screen
   readers) and doesn't rely on colour alone: a copper outline plus a
   soft glow, on top of full vs. dimmed opacity. */
.case-modal-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.case-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.case-modal-thumb:hover { opacity: 0.8; }

.case-modal-thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(181, 119, 58, 0.25);
}

.case-modal-thumb:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* .case-modal-body itself carries no padding or content height of its
   own — its only job is to sit in the layout (flex item on mobile, grid
   item on desktop) and take on whatever height the media column ends up
   with. .case-modal-body-scroll is absolutely positioned to fill it
   exactly (inset: 0) and is the one actual scroll container: mouse
   wheel, trackpad, touch, keyboard (arrow keys / Page Up / Page Down /
   Home / End) and screen-reader scrolling all keep working — only the
   visible scrollbar track is hidden. Because the inner element is
   positioned rather than in normal flow, its content's height never
   feeds back into .case-modal-body's own size, which is what stops a
   long Doel/Toepassing/Aanpak read from inflating the media column too
   (see "Format-aware layout" further down) — only when the text
   genuinely doesn't fit the media-derived height does it scroll,
   instead of growing the modal. */
.case-modal-body {
  position: relative;
  flex: 1;
  min-height: 0;
  transition: opacity 0.15s ease;
}

.case-modal-body-scroll {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 26px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.case-modal-body-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }

.case-modal-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.case-modal-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.case-modal-clarification {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.case-modal-clarification[hidden] { display: none; }

.case-modal-intro {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin-bottom: 14px;
}

.case-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-modal-field {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
}

.case-modal-field dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-accent);
}

.case-modal-field dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

/* Kept deliberately secondary: the case content is the proof, this is
   just a quiet next step — smaller padding and an outline treatment
   instead of a large solid-fill primary button. margin-top:auto (body
   is a flex column) pushes this — and the project nav after it — down
   to the bottom of the panel when the media column is taller than the
   text, instead of leaving one large accidental gap underneath. */
.case-modal-cta {
  margin-top: auto;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-modal-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.case-modal-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-medium);
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: #E8B87E;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.case-modal-cta-link:hover {
  background: var(--color-accent);
  color: #1a1a1a;
}

.case-modal-cta-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Previous/next project navigation, scoped to the active category by
   script.js (see CASE_CATEGORIES) — hidden entirely when a category only
   has one project (e.g. Productvideo's today). */
.case-modal-projectnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-modal-projectnav[hidden] { display: none; }

.case-modal-projectnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.case-modal-projectnav-next { margin-left: auto; }

.case-modal-projectnav-btn:hover { color: #fff; }

.case-modal-projectnav-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.case-modal-projectnav-btn:disabled {
  color: rgba(255, 255, 255, 0.25);
  cursor: default;
}

/* -------- Format-aware layout --------
   Every format becomes a two-column CSS grid on standard desktop/laptop
   widths — media left, project info right. The grid (rather than a
   stretched flexbox row) is what makes the height honest: the media
   column's height comes from its own aspect-ratio (real 16:9 / 9:16 /
   1:1 assets — see the ratios set on .case-modal-video/-gallery-stage
   above and below), so the row's height is driven by the media itself
   instead of by whichever column happens to have more text. The info
   panel (.case-modal-body) already has overflow-y:auto + min-height:0,
   which — combined with a grid item's "automatic minimum size is small
   when overflow isn't visible" rule — stops it from ever inflating the
   row: it just stretches to match the media's height and, only if its
   own content genuinely doesn't fit, scrolls internally instead of
   growing the modal. Only the column split and the panel's max-width
   differ per format: gallery gives the media more room (it's the thing
   being sold), portrait/square give the copy more room (the video
   itself is already narrow). Landscape gets its own, later breakpoint —
   see below. Below the breakpoint everything stacks vertically instead. */
@media (min-width: 900px) {
  .case-modal-panel.format-gallery,
  .case-modal-panel.format-portrait,
  .case-modal-panel.format-square {
    display: grid;
    align-items: stretch;
  }

  .case-modal-panel[class*="format-"] .case-modal-media,
  .case-modal-panel[class*="format-"] .case-modal-body { min-width: 0; }

  .case-modal-panel.format-gallery { max-width: 1040px; grid-template-columns: 60% 40%; }

  .case-modal-panel.format-portrait { max-width: 900px; grid-template-columns: 42% 58%; }

  .case-modal-panel.format-square { max-width: 1000px; grid-template-columns: 46% 54%; }

  /* Width-driven, not height:100%/flex:1 — the box's height is a
     consequence of its own ratio, capped only as a safeguard for
     unusually short viewports, never forced. */
  .case-modal-panel.format-portrait .case-modal-video {
    aspect-ratio: 9 / 16;
    width: 100%;
    height: auto;
    max-height: 82vh;
  }

  .case-modal-panel.format-square .case-modal-video {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    max-height: 82vh;
  }

  .case-modal-panel.format-gallery .case-modal-gallery-stage { max-height: 82vh; }
}

/* Landscape productvideo gets a noticeably wider details column (43-46%,
   ~500px+ in practice) and a wider modal than the other formats, because
   its text (a full Doel/Toepassing/Aanpak read) needs the room to fit
   beside the video without scrolling — at the narrower 40% split used by
   the other formats it wrapped onto too many lines to fit the 16:9
   video's height. Held off until 1100px (rather than the shared 900px)
   so the wider split never gets cramped; below that it stacks like every
   other format. */
@media (min-width: 1100px) {
  .case-modal-panel.format-landscape {
    display: grid;
    align-items: stretch;
    max-width: min(96vw, 1680px);
    grid-template-columns: 56% 44%;
  }

  .case-modal-panel.format-landscape .case-modal-media,
  .case-modal-panel.format-landscape .case-modal-body { min-width: 0; }

  .case-modal-panel.format-landscape .case-modal-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-height: 82vh;
  }

  /* The whole point of the wider column is that the text genuinely fits
     next to the video — so, unlike the other formats, this panel isn't
     meant to need internal scrolling. Reverting the scroll wrapper to
     normal flow (rather than force-fitting it) means that on the rare
     narrower/shorter screen where it doesn't quite fit, the panel grows
     slightly instead of clipping or scrolling — never a hidden overflow. */
  .case-modal-panel.format-landscape .case-modal-body-scroll {
    position: static;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .case-modal { padding: 0; }
  .case-modal-panel {
    max-width: none;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    flex-direction: column;
  }
  .case-modal-panel[class*="format-"] .case-modal-media { width: 100%; }
  .case-modal-field { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .case-modal-cta-link,
  .case-modal-thumb,
  .case-modal-projectnav-btn,
  .case-modal-body { transition: none; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer legal links ---------- */

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 6px;
  font-size: 13px;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: #fff; text-decoration: underline; }

.footer-legal a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- 404 ---------- */

.error-page { text-align: center; }

.error-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-page .eyebrow { justify-content: center; }

.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 140px);
  line-height: 1;
  color: var(--color-accent);
  margin: 8px 0 0;
}

.error-page .section-subtitle { margin: 0 auto 32px; }

/* ---------- Legal pages (privacyverklaring / cookiebeleid / algemene-voorwaarden) ---------- */

.legal-page .section-subtitle { margin-bottom: 0; max-width: none; }

/* Re-narrows the heading specifically for /creatieve-briefing/ — comes
   after the rule above so it wins the equal-specificity cascade tie. */
.briefing-page .eyebrow,
.briefing-page .section-title,
.briefing-page .section-subtitle {
  max-width: 840px;
}

.legal-content {
  max-width: 760px;
  margin-top: 56px;
}

/* ---------- /feedback-contentplan/ (client instruction page) ---------- */

.feedback-page .eyebrow,
.feedback-page .section-title,
.feedback-page .section-subtitle {
  max-width: 700px;
}

.feedback-steps {
  max-width: 700px;
  margin-top: 40px;
}

.feedback-video-section {
  max-width: 1000px;
  margin-top: 48px;
}

.feedback-video-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 8px;
}

.feedback-video-intro {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
  max-width: 640px;
}

.feedback-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #000;
}

@media (max-width: 640px) {
  .feedback-steps { margin-top: 32px; }
  .feedback-video-section { margin-top: 36px; }
  .feedback-video { border-radius: 12px; }
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  margin: 48px 0 14px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.legal-content p {
  color: var(--color-muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  color: var(--color-muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-content li { margin-bottom: 6px; }

.legal-content strong { color: var(--color-text); }

.legal-content a { color: var(--color-accent-text); text-underline-offset: 2px; }
.legal-content a:hover,
.legal-content a:focus-visible { color: var(--color-accent-text-hover); text-decoration: underline; }

.legal-content .legal-intro {
  font-size: 15.5px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
}

.legal-content table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
}

.legal-content th {
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.legal-content-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-muted);
}

/* Contact form privacy note (see #contactForm) */
.form-privacy-note {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-top: -4px;
}

.form-privacy-note a { color: var(--color-accent-text); text-underline-offset: 2px; }
.form-privacy-note a:hover,
.form-privacy-note a:focus-visible { color: var(--color-accent-text-hover); text-decoration: underline; }

/* ---------- Secondary button (cookie consent + reusable) ---------- */

.btn-secondary {
  background: var(--color-bg-raised);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
}

/* ---------- Cookie consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  padding: 24px 28px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 18px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.cookie-banner-actions .btn {
  padding: 11px 20px;
  font-size: 14px;
}

.cookie-banner-link {
  background: none;
  border: none;
  padding: 12px 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner-link:hover { color: var(--color-text); }

@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-banner-actions { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions .btn,
  .cookie-banner-actions .cookie-banner-link { width: 100%; text-align: center; }
}

/* ---------- Cookie preferences dialog ---------- */

.cookie-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(26, 26, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.cookie-dialog-overlay[hidden] { display: none; }

.cookie-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--color-bg-raised);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.cookie-dialog h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
}

.cookie-dialog > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 28px;
}

.cookie-dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
}

.cookie-dialog-close:hover { color: var(--color-text); }

.cookie-category {
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
}

.cookie-category:first-of-type { border-top: none; padding-top: 0; }

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.cookie-category-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-text);
}

.cookie-category-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-muted);
  margin: 0;
}

.cookie-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  border-radius: 100px;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.cookie-toggle[aria-checked="true"] { background: var(--color-accent); }

.cookie-toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.cookie-toggle[aria-checked="true"] .cookie-toggle-dot { transform: translateX(18px); }

.cookie-toggle-locked {
  background: var(--color-accent);
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle-locked .cookie-toggle-dot { transform: translateX(18px); }

.cookie-toggle-locked.cookie-toggle-off {
  background: var(--color-border);
  opacity: 1;
}

.cookie-toggle-locked.cookie-toggle-off .cookie-toggle-dot { transform: translateX(0); }

.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.cookie-dialog-actions .btn { padding: 12px 22px; font-size: 14px; }

@media (max-width: 480px) {
  .cookie-dialog { padding: 28px 22px; }
  .cookie-dialog-actions { flex-direction: column; align-items: stretch; }
  .cookie-dialog-actions .btn,
  .cookie-dialog-actions .cookie-banner-link { width: 100%; text-align: center; }
}

/* Visible keyboard-focus states for the consent UI */
.cookie-banner button:focus-visible,
.cookie-dialog button:focus-visible,
.cookie-dialog a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Footer cookie-preferences button (matches .footer-legal a) ---------- */

.footer-legal button.footer-legal-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: none;
  padding: 4px 8px;
  font: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.footer-legal button.footer-legal-btn:hover,
.footer-legal button.footer-legal-btn:focus-visible { color: #fff; text-decoration: underline; }

.footer-legal button.footer-legal-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Dynter (private video preview) ---------- */

.dynter-video-wrap {
  margin-top: 28px;
  max-width: 960px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.dynter-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.bts-title {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.bts-video-wrap {
  margin-top: 20px;
  max-width: 320px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.bts-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Kennismaken (Calendly booking) ---------- */

/* Legacy header-actions/header-booking: used by dynter/horloge/kennismaken
   (the pages with a "Plan een kennismaking" button next to "Bekijk werk"
   in their always-.visible header). :not(#siteHeader) keeps the mobile
   logo-hiding rule from also reaching the homepage's own #siteHeader,
   which keeps its logo at every width. */
.header-actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.header-booking .btn {
  padding: 10px 20px;
  font-size: 14px;
  background: var(--color-accent-button);
  color: var(--color-accent-button-text);
  border-color: transparent;
}

.header-booking .btn:hover { background: var(--color-accent-button-hover); }

@media (max-width: 899px) {
  .site-header:not(#siteHeader) .header-inner {
    justify-content: flex-end;
    padding: 12px 20px;
  }

  .site-header:not(#siteHeader) .header-inner .logo { display: none; }

  .header-actions {
    flex: 1 1 auto;
    max-width: 276px;
    margin-right: 64px;
    gap: 8px;
  }

  .header-actions .header-cta,
  .header-actions .header-booking {
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0;
  }

  .header-actions .header-booking .btn,
  .header-actions .header-cta {
    width: 100%;
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }

  .header-actions { align-items: stretch; }

  .header-actions .header-booking { display: flex; }

  .header-actions .header-booking .booking-cta-note { display: none; }
}

.site-nav a.site-nav-booking {
  color: var(--color-accent-text);
  font-weight: 600;
}

.booking-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.booking-cta-note {
  font-size: 13px;
  color: var(--color-muted);
}

.booking-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 28px auto 44px;
  padding: 28px 24px;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-align: center;
}

.booking-hint-title {
  font-weight: 600;
  color: var(--color-text);
}

.kennismaken-benefits {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.kennismaken-benefits li {
  padding: 18px 20px;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
}

.kennismaken-booking { margin-top: 48px; }

.calendly-inline {
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.calendly-fallback {
  padding: 48px 24px;
  text-align: center;
}

.kennismaken-reassurance {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .kennismaken-benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .calendly-inline { height: 760px; }
}

@media (max-width: 480px) {
  .kennismaken-benefits { grid-template-columns: 1fr; }
}
