/* =============================================================
   visitwaalwijk.com stylesheet.
   Component names and structure follow visitkijkduin.com (header,
   vk-dock, cookie bar, stay-cta-bar, footer, cards) so the site reads
   as part of the Voute Digital family. Deliberate differences:
   - green accent (owner brief: vergroening, Waalwijk CO2 vrij);
   - full dark theme via prefers-color-scheme (owner runs Windows dark);
   - text uses the full page width, no max-width on text or wrappers;
   - images are never cropped (object-fit: contain, no cover);
   - main uses overflow-x: clip, never hidden (keeps position:sticky).
   Contrast pairs computed with the WCAG luminance formula (2026-10-16):
   light a500 #3f7f45 on paper 4.61, a600 6.10, white on a600 6.40;
   dark a600 #6bbf6f on paper 8.09, on surface 7.36.
   ============================================================= */
:root {
  color-scheme: light dark;
  --paper: #f8faf6;
  --surface: #ffffff;
  --surface-2: #eef3ec;
  --ink: #14281f;
  --ink2: #23412f;
  --stone: #4a6355;
  --line: rgba(20, 40, 31, 0.14);
  --accent-300: #5f9a5a;
  --accent-500: #3f7f45;
  --accent-600: #2f6b37;
  --accent-700: #22522a;
  --on-accent: #ffffff;
  --leather: #8a5a2b;
  --band: #14281f;
  --band-text: rgba(255, 255, 255, 0.9);
  --header-bg: rgba(248, 250, 246, 0.94);

  --font-serif: 'Marcellus', serif;
  --font-sans: 'Jost', system-ui, sans-serif;
  --nav-height: 72px;
  --gutter: clamp(16px, 4vw, 56px);

  --radius-xs: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-2xl: 10px;
  --radius-3xl: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(20, 40, 31, 0.10);
  --shadow-md: 0 8px 30px rgba(20, 40, 31, 0.13);
  --shadow-lg: 0 14px 44px rgba(20, 40, 31, 0.16);

  --z-progress: 125;
  --z-back-top: 90;
  --z-header: 120;
  --z-dock: 122;
  --z-cookie-bar: 160;
  --z-skip-link: 200;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1712;
    --surface: #15211a;
    --surface-2: #1b2a21;
    --ink: #e6efe8;
    --ink2: #c9d8cd;
    --stone: #9db3a4;
    --line: rgba(230, 239, 232, 0.14);
    --accent-300: #8fd18a;
    --accent-500: #74c274;
    --accent-600: #6bbf6f;
    --accent-700: #9be09d;
    --on-accent: #0e1712;
    --leather: #d9a46b;
    --band: #0a120d;
    --header-bg: rgba(14, 23, 18, 0.94);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.45);
  }
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  padding-top: var(--nav-height);
}
/* Never overflow-x on html/body (breaks position:fixed on mobile). clip, not
   hidden: hidden turns main into a scroll container and kills position:sticky. */
main { overflow-x: clip; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--accent-600); text-underline-offset: 3px; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
@media (max-width: 600px) { p, li { hyphens: auto; } body { font-size: 16px; } }
:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: var(--z-skip-link);
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  border-radius: var(--radius-md); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ===== PROGRESS (stitch line that follows the scroll) ===== */
.stitch-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-progress);
  transform-origin: 0 50%; transform: scaleX(0);
  background: repeating-linear-gradient(90deg, var(--accent-500) 0 10px, transparent 10px 15px);
  pointer-events: none;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter); height: var(--nav-height);
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; gap: 4px; flex: none; }
.site-logo-top { font-family: var(--font-serif); font-size: 19px; letter-spacing: .18em; color: var(--ink); }
.site-logo-bot { font-size: 9.5px; letter-spacing: .38em; color: var(--stone); text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); }
.header-nav a, .header-nav .nav-dropdown-toggle {
  font-size: 14px; letter-spacing: .02em; text-decoration: none; color: var(--ink2);
  transition: color .18s ease; white-space: nowrap;
}
.header-nav a:hover, .header-nav a:focus-visible, .header-nav a[aria-current="page"] { color: var(--accent-600); }
.lang-switch { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 2px; }
.lang-switch a { padding: 4px 9px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.lang-switch a[aria-current="true"] { background: var(--accent-600); color: var(--on-accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { font: inherit; background: none; border: none; padding: 0; margin: 0; cursor: pointer; color: inherit; }
.header-nav .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.header-nav .nav-dropdown-toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .18s ease;
}
.header-nav .nav-dropdown.is-open .nav-dropdown-toggle { color: var(--accent-600); }
.header-nav .nav-dropdown.is-open .nav-dropdown-toggle::after { transform: rotate(225deg) translateY(2px); }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 10px; display: flex; flex-direction: column; gap: 2px; z-index: 40;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel, .nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.header-nav .nav-dropdown-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dropdown-panel a { font-size: 14px; color: var(--ink2); text-decoration: none; padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a:focus-visible { background: var(--surface-2); color: var(--accent-600); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; min-height: 48px; border-radius: var(--radius-xs);
  font: 500 14px/1.2 var(--font-sans); letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn-primary { background: var(--accent-600); color: var(--on-accent); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-700); color: var(--on-accent); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: var(--paper); }
.disclosure { display: block; font-size: 12.5px; color: var(--stone); margin-top: 10px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; }

/* ===== HERO: text + uncropped framed photo ===== */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; padding: clamp(20px, 3.2vh, 44px) var(--gutter) clamp(24px, 4vh, 56px);
  min-height: calc(100svh - var(--nav-height));
  position: relative; isolation: isolate;
}
.hero::before { /* soft green field that breathes when motion is on */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--accent-300) 22%, transparent), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--leather) 12%, transparent), transparent 70%);
}
.hero-eyebrow { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-600); font-weight: 500; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 92px); letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 .hero-word { display: inline-block; }
.hero-lede { font-size: clamp(17px, 1.35vw, 21px); color: var(--ink2); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; position: relative; }
.hero-figure .frame {
  background: var(--surface-2); border-radius: var(--radius-3xl); padding: 10px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
  max-height: calc(100svh - var(--nav-height) - 80px);
}
.hero-figure img {
  width: 100%; height: auto; max-height: calc(100svh - var(--nav-height) - 100px);
  object-fit: contain; border-radius: var(--radius-2xl);
}
.hero-figure figcaption, .credit { font-size: 12px; color: var(--stone); margin-top: 8px; }
.photo-placeholder {
  aspect-ratio: 4 / 3; width: 100%; border-radius: var(--radius-2xl);
  background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  display: flex; align-items: center; justify-content: center; color: var(--stone); font-size: 13px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-figure .frame, .hero-figure img { max-height: none; }
}

/* ===== STAY BAR ===== */
.stay-cta-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px;
  background: var(--band); color: var(--band-text); padding: 18px var(--gutter); text-align: center;
  border-top: 1px solid var(--accent-600);
}
.stay-cta-bar p { margin: 0; font-size: 15px; }
.stay-cta-bar strong { color: #fff; font-family: var(--font-serif); font-weight: 400; }
.stay-cta-bar .disclosure { color: rgba(255,255,255,.72); margin: 2px 0 0; }
.stay-cta-bar-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #6bbf6f; color: #0e1712;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 26px; min-height: 44px; border-radius: var(--radius-xs); text-decoration: none; white-space: nowrap;
}
.stay-cta-bar-btn:hover, .stay-cta-bar-btn:focus-visible { background: #9be09d; color: #0e1712; }

/* ===== SECTIONS (full width, only the page gutter) ===== */
.section { padding: clamp(48px, 7vw, 104px) var(--gutter); }
.section--tint { background: var(--surface-2); }
.section-kicker { font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-600); font-weight: 500; margin-bottom: 10px; }
.section h2 { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink2); }
.direct-answer { font-size: clamp(17px, 1.25vw, 20px); border-left: 3px solid var(--accent-500); padding-left: 18px; color: var(--ink); }

/* ===== JUMP NAV (scrollspy staircase) ===== */
.jump {
  position: sticky; top: var(--site-header-h, var(--nav-height)); z-index: 30;
  background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.jump.floating { box-shadow: var(--shadow-sm); }
.jump ol { list-style: none; margin: 0; padding: 10px var(--gutter); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.jump li { flex: none; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; transition-delay: calc(var(--i) * 60ms); }
.jump.rise li, .still .jump li, .no-motion .jump li { opacity: 1; transform: none; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--line); text-decoration: none; color: var(--ink2); font-size: 14px;
}
.jump .num { font-family: var(--font-serif); color: var(--accent-600); }
.jump li.visited a { border-color: color-mix(in srgb, var(--accent-500) 45%, transparent); }
.jump li.visited .num::after { content: " \2713"; }
.jump li.active a { background: var(--accent-600); color: var(--on-accent); border-color: var(--accent-600); }
.jump li.active .num { color: var(--on-accent); }

/* ===== COUNTERS ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-top: 20px; }
.stat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 22px 22px 18px; }
.stat-value { font-family: var(--font-serif); font-size: clamp(36px, 3.8vw, 56px); line-height: 1; color: var(--accent-600); font-variant-numeric: tabular-nums; }
.stat-unit { font-size: .45em; margin-left: 4px; color: var(--stone); }
.stat-label { margin: 10px 0 4px; font-weight: 500; }
.stat-source { font-size: 12.5px; color: var(--stone); margin: 0; }

/* ===== NUMBERS DASHBOARD (#cijfers, cijfers.py + cijfers-motion.js, 2026-10-22) =====
   Without JS (or with reduced motion / "Beweging uit") everything below is simply visible.
   Motion only under html.cfx, which cijfers-motion.js sets when motion is allowed. */
@property --value { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --p { syntax: '<number>'; inherits: true; initial-value: 1; }
.dash-h { font-size: clamp(22px, 2.2vw, 30px); margin: clamp(40px, 5vw, 64px) 0 0; }

/* scale anchors: formula on hover and focus */
.anchors { margin-top: 28px; }
.anchors-label { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin: 0 0 10px; }
.anchors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.anchors li { position: relative; }
.anchor { width: 100%; text-align: left; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; cursor: help;
  background: var(--surface); color: var(--ink); border: 1px dashed var(--line); border-radius: var(--radius-3xl); padding: 16px 18px; font: inherit; }
.anchor:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; }
.anchor-value { font-family: var(--font-serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1; color: var(--accent-600); font-variant-numeric: tabular-nums; }
.anchor-label { font-size: 15px; }
.anchor-formula { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; padding: 10px 14px; font-size: 14px;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.anchors li:hover .anchor-formula, .anchor:focus-visible + .anchor-formula, .anchor:focus + .anchor-formula { opacity: 1; visibility: visible; }

/* map of the three villages */
.kern-map { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.kern-map-head { grid-column: 1 / -1; }
.kern-map-head h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 4px; }
.kern-hint { display: none; color: var(--stone); margin: 0; }
.kern-js .kern-hint { display: block; }
.kern-map-box { position: relative; aspect-ratio: 600 / 340; background: var(--surface); border: 1px solid var(--line); border-radius: 28px var(--radius-lg) 28px var(--radius-lg); }
.kern-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: color-mix(in srgb, var(--accent-500) 16%, var(--surface)); stroke: var(--accent-500); stroke-width: 2; }
.map-border { fill: none; stroke: var(--accent-500); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .7; }
.map-river { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; opacity: .28; }
.map-river-label { font: italic 15px var(--font-sans); fill: var(--stone); }
.kern-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 4px; background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; }
.kern-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--band-terracotta); border: 3px solid var(--surface); box-shadow: var(--shadow-sm); }
.kern-name { font-size: 13.5px; font-weight: 500; line-height: 1; padding: 5px 9px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); white-space: nowrap; }
.kern-pin[aria-expanded="true"] .kern-name { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kern-pin:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 2px; border-radius: var(--radius-2xl); }
.kern-panels { display: grid; gap: 12px; }
.kern-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 16px 18px; }
.kern-panel h4 { font-family: var(--font-serif); font-size: 21px; margin: 0 0 6px; }
.kern-panel p { margin: 0; }
.kern-js .kern-panel { display: none; }
.kern-js .kern-panel.is-open { display: block; }
@media (max-width: 760px) { .kern-map { grid-template-columns: 1fr; } .kern-name { font-size: 12.5px; } }

/* stat wall: ring as progress, a small time mark for the two years, the key figure on a mustard tint */
.stat-ring, .stat-mark { position: absolute; top: 16px; right: 16px; }
.stat-ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line); stroke-width: 5; }
.ring-fill { fill: none; stroke: var(--accent-500); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc((1 - var(--p)) * 100px); }
.stat-mark { width: 52px; height: 14px; }
.stat-mark line { stroke: var(--line); stroke-width: 2; }
.stat-mark circle { fill: var(--leather); }
.stat--key { background: color-mix(in srgb, var(--band-mustard) 12%, var(--surface)); border-radius: 30px var(--radius-md) 30px var(--radius-md); }
#cijfers .stat-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; padding-right: 56px; }
#cijfers .stat-unit { margin-left: 0; }
@keyframes dash-rise { from { opacity: 0; transform: translateY(16px); } }
.cfx .stats:not(.is-in) .stat { opacity: 0; }
.cfx .stats.is-in .stat { animation: dash-rise .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 70ms); }

/* timeline: horizontal from 760px, vertical below; scroll-driven where supported, IntersectionObserver fallback otherwise */
.timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--leather); opacity: .5; }
.tl-item { position: relative; padding-top: 34px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--leather); }
.tl-when { font-family: var(--font-serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; margin: 0 0 8px; color: var(--ink); }
.tl-what { margin: 0 0 6px; }
.tl-src { font-size: 12.5px; color: var(--stone); margin: 0; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 30px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-item { padding-top: 0; }
  .tl-item::before { left: -30px; top: 6px; }
}
@keyframes tl-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .cfx .tl-item { animation: tl-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
}
@supports not (animation-timeline: view()) {
  .cfx .tl-item { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 90ms); }
  .cfx .tl-item.is-visible { opacity: 1; transform: none; }
}

/* comparison band: full bleed inside the tinted section */
.compare { background: var(--band); color: var(--band-text); margin: clamp(40px, 5vw, 64px) calc(-1 * var(--gutter)) 0; padding: clamp(36px, 5vw, 64px) var(--gutter); }
.compare h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 18px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px clamp(20px, 3vw, 44px); }
.cmp-text { font-family: var(--font-serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; color: #fff; margin: 0 0 10px; text-wrap: balance; }
.compare summary { cursor: pointer; color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.compare summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.compare details p { margin: 6px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.cfx .compare:not(.is-in) li { opacity: 0; }
.cfx .compare.is-in li { animation: dash-rise .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 120ms); }
#cijfers > .btn-row { margin-top: clamp(32px, 4vw, 48px); }

/* map markers: scale in with a light overshoot, then stand still (no endless pulse) */
@keyframes pin-in { from { opacity: 0; transform: scale(.6); } }
.cfx .kern-map-box:not(.is-in) .kern-dot, .cfx .kern-map-box:not(.is-in) .kern-name { opacity: 0; }
.cfx .kern-map-box.is-in .kern-dot, .cfx .kern-map-box.is-in .kern-name { animation: pin-in .55s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--i) * 180ms + 120ms); }

/* "Beweging uit" pauses every animation site-wide (.still *); paused at its first frame these would stay invisible */
.still.cfx #cijfers .stat, .still.cfx #cijfers .compare li, .still.cfx #cijfers .tl-item,
.still.cfx #cijfers .kern-dot, .still.cfx #cijfers .kern-name { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }

/* ===== LIVING TILES ===== */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; perspective: 1100px; }
.tile {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl); overflow: hidden;
  transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease;
  opacity: 1;
}
.fx-ready .tiles .tile { opacity: 0; transform: translateY(26px); }
.tiles.reveal .tile { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .25s; transition-delay: calc(var(--i) * 90ms); }
.tile:hover, .tile:focus-visible { box-shadow: var(--shadow-lg); color: var(--ink); }
.tile::after { /* glare following the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 60%);
}
.tile:hover::after { opacity: 1; }
.tile svg.scene { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: var(--surface-2); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }
.tile-body { padding: 18px 20px 22px; }
.tile-body h3 { font-size: 23px; margin-bottom: 6px; }
.tile-body p { margin: 0; color: var(--ink2); font-size: 15.5px; }
.tile-more { margin-top: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); font-weight: 500; }
.scene .s-ground { fill: color-mix(in srgb, var(--accent-300) 30%, var(--surface-2)); }
.scene .s-line { stroke: var(--ink2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene .s-fill { fill: var(--ink2); }
.scene .s-acc { fill: var(--accent-500); }
.scene .s-acc-line { stroke: var(--accent-500); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.scene .s-leather { fill: var(--leather); }
.scene .s-water { fill: color-mix(in srgb, #4f8fb8 35%, var(--surface-2)); }
.scene .s-soft { fill: var(--surface); }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.bob { animation: bob 3.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ===== YEAR WHEEL (agenda) ===== */
.wheel-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: start; margin-top: 24px; }
.wheel { width: 100%; height: auto; aspect-ratio: 1; max-height: 560px; }
.wheel .m-arc { fill: var(--surface); stroke: var(--line); cursor: pointer; transition: fill .2s; }
.wheel .m-arc:hover, .wheel .m-arc:focus-visible { fill: var(--surface-2); outline: none; }
.wheel .m-arc.is-active { fill: var(--accent-600); }
.wheel .m-label { font: 500 13px var(--font-sans); fill: var(--ink2); pointer-events: none; text-transform: uppercase; letter-spacing: .08em; }
.wheel .m-label.is-active { fill: var(--on-accent); }
.wheel .ev-dot { fill: var(--leather); pointer-events: none; }
.wheel .now-hand { stroke: var(--accent-500); stroke-width: 2; }
.wheel .center-title { font: 400 30px var(--font-serif); fill: var(--ink); }
.wheel .center-sub { font: 400 13px var(--font-sans); fill: var(--stone); letter-spacing: .1em; text-transform: uppercase; }
.month-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 16px 18px; }
.event-card h3 { font-size: 21px; margin-bottom: 4px; }
.event-meta { font-size: 13.5px; color: var(--stone); margin: 0 0 6px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink2); }
.badge--ok { background: var(--accent-600); color: var(--on-accent); }
.badge--past { background: transparent; border: 1px solid var(--line); color: var(--stone); }
@media (max-width: 900px) { .wheel-wrap { grid-template-columns: 1fr; } .wheel { max-height: 440px; } }

/* ===== CARDS / FAQ ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 22px; }
.dv-card { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 20px; }
.dv-card h3 { font-size: 20px; margin-bottom: 6px; }
.dv-card p { margin: 0; color: var(--ink2); font-size: 15px; }
.faq { display: grid; gap: 12px; margin-top: 20px; }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 18px 20px; position: relative; }
.answer h3 { font-size: 21px; margin-bottom: 8px; }
.answer p:last-child { margin-bottom: 0; }
.fx-ready .answer { opacity: 0; transform: translateY(18px) scale(.98); }
.answer.stamped { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1.2); }
.answer.stamped::before { /* stitched seam drawn in on entrance */
  content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--accent-500) 0 7px, transparent 7px 12px);
  transform-origin: top; animation: seam .9s ease-out both;
}
@keyframes seam { from { transform: scaleY(0); } }

/* ===== CONTENT PAGES ===== */
.hero--page { min-height: 0; padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(24px, 4vw, 56px); }
.hero--page h1 { font-size: clamp(34px, 4.6vw, 68px); }
.hero--solo { grid-template-columns: 1fr; }
.crumbs { font-size: 13.5px; color: var(--stone); margin-bottom: 14px; }
.crumbs a { color: var(--stone); }
.prose h2 { font-size: clamp(26px, 2.8vw, 40px); margin: 1.6em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(20px, 1.7vw, 25px); margin: 1.3em 0 .45em; }
.prose p, .prose li { font-size: clamp(16.5px, 1.15vw, 18.5px); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--leather); color: var(--ink2); font-style: italic; }
.prose .faq { margin-top: 10px; }
.prose h2.sources + ul { font-size: 14px; color: var(--stone); }
.prose h2.sources + ul li { font-size: 14px; word-break: break-word; }
/* sources block: last thing before the footer, centred, small, muted (owner rule 2026-10-23) */
.prose h2.sources { text-align: center; font-size: clamp(18px, 1.5vw, 21px); }
.prose h2.sources + ol.sources-list { list-style-position: inside; padding: 0; margin: 0 auto; text-align: center; color: var(--stone); }
.prose h2.sources + ol.sources-list li { font-size: 13.5px; word-break: break-word; hyphens: manual; scroll-margin-top: 90px; }
.prose h2.sources ~ .last-updated { text-align: center; }
sup.fn { font-size: .72em; line-height: 0; margin-left: .08em; }
sup.fn a { font-weight: 600; text-decoration: none; padding: 0 .18em; }
.prose li:target { background: var(--accent-100, rgba(120, 160, 120, .18)); border-radius: 6px; }
.prose .month-list { margin-bottom: 2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--surface-2); font-weight: 500; }
.table-wrap tr:last-child td { border-bottom: 0; }
.last-updated { margin-top: 2.2em; font-size: 13.5px; color: var(--stone); }

/* ===== PARTNER TIERS + FORM ===== */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 12px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.tier--best { border-color: var(--accent-500); box-shadow: var(--shadow-md); }
.tier .badge { align-self: flex-start; margin-bottom: 6px; }
.tier h3 { font-size: 26px; }
.tier-price { font-family: var(--font-serif); font-size: clamp(30px, 3vw, 42px); color: var(--accent-600); margin: 6px 0 0; line-height: 1.1; }
.tier-price span { font-family: var(--font-sans); font-size: 15px; color: var(--stone); }
.tier-year { color: var(--ink2); margin: 0 0 12px; }
.tier ul { margin: 0 0 14px; padding-left: 1.2em; }
.tier .btn { margin-top: auto; }
.domain-box { background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius-3xl); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.domain-box > * { margin: 0; }
.domain-box .btn { margin-top: 16px; }
.domain-box .tier-price { margin-top: 4px; }
.cf { display: grid; gap: 4px; }
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 700px) { .cf-grid { grid-template-columns: 1fr; } }
.cf label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 15px; }
.cf input, .cf select, .cf textarea {
  width: 100%; font: 400 16px/1.4 var(--font-sans); color: var(--ink); background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--radius-md); padding: 12px 14px; min-height: 48px;
}
.cf textarea { resize: vertical; }
.cf input:focus-visible, .cf select:focus-visible, .cf textarea:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 1px; }
.cf .cf-short { width: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; margin: 6px 0; }
@media (max-width: 480px) { .cf-turnstile { min-height: 140px; } }
.cf-status { font-weight: 500; min-height: 1.5em; }
.cf-status.is-ok { color: var(--accent-600); }
.cf-status.is-error { color: #b3261e; }
@media (prefers-color-scheme: dark) { .cf-status.is-error { color: #ffb4ab; } }

/* ===== MOTION TOGGLE ===== */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink2);
  font: 500 13px var(--font-sans); cursor: pointer;
}
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }

/* ===== FOOTER ===== */
.site-footer { background: var(--band); color: var(--band-text); padding: 56px var(--gutter) 28px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.footer-brand-top { font-family: var(--font-serif); font-size: 20px; letter-spacing: .18em; color: #fff; display: block; }
.footer-brand-bot { font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.footer-col-title { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: #9be09d; margin: 0 0 12px; font-weight: 500; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-links a { text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.footer-meta button { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; padding: 6px 0; }
/* Keep the last footer row clear of the fixed buttons in the bottom corners (measured 2026-10-22): back-to-top
   right (up to 64px from the bottom) and the collapsed Voute ticker toggle left (up to 124px at <= 1100px). */
.site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-width: 1100px) { .site-footer { padding-bottom: calc(136px + env(safe-area-inset-bottom)); } }

/* ===== COOKIE BAR ===== */
.cookie-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-cookie-bar);
  flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px;
  padding: 18px var(--gutter); background: var(--band); color: var(--band-text); box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}
.cookie-bar-text { font-size: 14px; margin: 0; }
.cookie-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar-actions button { font: 500 13.5px var(--font-sans); padding: 11px 20px; min-height: 44px; border-radius: var(--radius-xs); cursor: pointer; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; }
#cookieAccept { background: #6bbf6f; border-color: #6bbf6f; color: #0e1712; }

/* ===== MOBILE DOCK (Kijkduin pattern: fixed top) ===== */
.vk-dock { display: none; }
@media (max-width: 1100px) {
  .site-header { display: none; }
  body { padding-top: max(66px, calc(60px + env(safe-area-inset-top))); }
  .jump { top: max(66px, calc(60px + env(safe-area-inset-top))); }
  .stitch-progress { top: auto; bottom: 0; }
  .vk-dock {
    position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-dock);
    display: flex; justify-content: space-around; align-items: stretch; gap: 2px;
    padding: max(6px, env(safe-area-inset-top)) 4px 6px;
    background: var(--header-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }
  .vk-dock__item {
    flex: 1 1 0; min-width: 0; min-height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 5px 2px; border-radius: var(--radius-2xl); color: var(--stone); text-decoration: none;
  }
  .vk-dock__item svg { width: 22px; height: 22px; flex: none; stroke-width: 1.75; }
  .vk-dock__item span { font-size: 9.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; max-width: 100%; white-space: nowrap; }
  .vk-dock__item--active, .vk-dock__item:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
  .vk-dock .nav-dropdown { flex: 1 1 0; min-width: 0; display: flex; }
  .vk-dock .nav-dropdown-toggle { flex: 1 1 0; }
  .vk-dock .nav-dropdown-panel {
    position: fixed; top: max(72px, calc(66px + env(safe-area-inset-top))); left: 12px; right: 12px; min-width: 0;
    max-height: 70vh; overflow-y: auto;
  }
  .vk-dock .nav-dropdown-panel .lang-switch { align-self: flex-start; margin: 6px 12px; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: var(--z-back-top);
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper); border: none; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); box-shadow: var(--shadow-md);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; }

/* ===== VOUTE TICKER (voutedigital.com/assets/voute-ticker.js 1.0.5) =====
   The ticker sets body { padding-bottom: 65px/170px !important } unconditionally, also when it is collapsed on
   mobile (voute-ticker-default-state.js removes .vgt-active). Only reserve that space while the bar is open.
   It lifts .back-top-btn above itself, so the back-to-top button carries that class too.
   Its region <select> is 11px: iOS zooms on focus below 16px. */
body:not(.vgt-active) { padding-bottom: 0 !important; }
.vgt-controls { padding: 6px 10px !important; gap: 8px !important; }
@media (max-width: 1100px) { #voute-global-ticker select { font-size: 16px !important; } }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) { scroll-behavior: auto; }
  html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
}

/* ===== WAALWIJK MOMENTEN ===== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.moments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.moments-grid:empty { display: none; }
.moment { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 10px; align-self: start; }
.moment .frame { background: var(--surface-2); border-radius: var(--radius-xl, 12px); display: flex; align-items: center; justify-content: center; }
.moment img { width: 100%; height: auto; max-height: 340px; object-fit: contain; border-radius: var(--radius-xl, 12px); }
.moment figcaption { display: flex; flex-direction: column; gap: 4px; padding: 10px 4px 2px; font-size: 14.5px; }
.moment-credit { font-size: 12.5px; color: var(--stone); }
.cf-checks { display: grid; gap: 12px; margin: 8px 0 18px; }
.cf .cf-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; }
.cf .cf-check input { width: 24px; height: 24px; min-height: 0; margin: 1px 0 0; flex: none; accent-color: var(--accent-600); }
.cf input[type="file"] { padding: 10px; }
.moments-rules { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 18px 22px; margin: 0 0 18px; }
.moments-rules h3 { font-size: 20px; margin-bottom: 10px; }
.moments-rules ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

/* ===== PARTNER LISTINGS (partner page, food-page card, tier example page) ===== */
.partner-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--leather); border: 1px solid color-mix(in srgb, var(--leather) 45%, transparent); border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 14px; }
.hero--partner h1 { font-size: clamp(32px, 3.4vw, 54px); margin-bottom: 14px; }
.hero--partner .hero-lede { margin-bottom: 18px; }
.hero--partner .btn { padding: 12px 22px; }
.partner-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
@media (max-width: 760px) { .partner-facts { grid-template-columns: 1fr; } }
.partner-facts > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 22px 24px; }
.partner-facts h3 { font-size: 22px; margin-bottom: 10px; }
.partner-facts address { font-style: normal; font-size: 17px; margin-bottom: 4px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--ink2); padding-right: 16px; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: var(--stone); }
.story-box { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--leather); border-radius: var(--radius-2xl); padding: clamp(20px, 2.6vw, 32px); margin: 8px 0 0; }
.story-box h2 { margin-top: 0; }
.story-box .story-slogan { font-family: var(--font-serif); font-size: clamp(20px, 1.8vw, 26px); color: var(--accent-600); margin-bottom: 0; }
.story-note { display: block; font-size: 12.5px; color: var(--stone); margin-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.gallery--food { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
/* equal 4:3 frames; every photo fits whole inside (contain), the frame colour fills the rest */
.gallery--food figure { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery--food a { aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.gallery--food img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s cubic-bezier(0, 1, .5, 1); }
/* dish title on hover, after the balifrietbutik.nl portfolio: black layer at 80 %, photo zooms to 110 % (owner asked for the same effect) */
.gallery--food a { position: relative; }
.gallery--food .dish { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  background: rgba(0, 0, 0, .8); color: #fff; opacity: 0; transition: opacity 1s cubic-bezier(0, 1, .5, 1);
  font: 600 clamp(17px, 1.6vw, 24px)/1.25 var(--font-sans); text-transform: uppercase; letter-spacing: .18em; pointer-events: none; }
.gallery--food a:hover .dish, .gallery--food a:focus-visible .dish { opacity: 1; }
.gallery--food a:hover img, .gallery--food a:focus-visible img { transform: scale(1.1); }
.gallery--food a:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 3px; }
@media (hover: none) {
  .gallery--food .dish { inset: auto 0 0 0; opacity: 1; padding: 22px 8px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .78) 45%);
    font-size: 12px; letter-spacing: .12em; }
  .gallery--food a:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .gallery--food img, .gallery--food .dish { transition: none; } .gallery--food a:hover img, .gallery--food a:focus-visible img { transform: none; } }
@media (max-width: 640px) { .gallery--food { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gallery--food figure { padding: 4px; } }
.gallery figure { margin: 0; background: var(--surface-2); border-radius: var(--radius-2xl); padding: 6px; align-self: start; }
.gallery a { display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.gallery img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.gallery figcaption { font-size: 12px; color: var(--stone); padding: 6px 4px 0; }
.lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1280px); max-height: 94vh; color: #fff; }
.lb::backdrop { background: rgba(8, 14, 10, .9); }
.lb img { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; border-radius: 8px; }
.lb p { text-align: center; font-size: 14px; margin: 10px 8px 0; }
.lb-bar { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.lb button { min-width: 48px; min-height: 48px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff; font-size: 20px; cursor: pointer; }
.lb button:hover, .lb button:focus-visible { background: rgba(255,255,255,.22); }
/* partner cards on category pages: max 3 per row on desktop, 2 on tablet, stacked on mobile */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 16px; align-items: start; }
@media (max-width: 1000px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl);
  padding: 12px; box-shadow: var(--shadow-sm); }
.partner-card > .frame { background: var(--surface-2); border-radius: var(--radius-2xl); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.partner-card > .frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 14px 6px 4px; }
.pc-body h2 { font-size: clamp(22px, 1.8vw, 28px); margin: 0 0 6px; }
.pc-body p { color: var(--ink2); font-size: 15.5px; }
.pc-body .btn-row { margin-top: auto; padding-top: 10px; }
.pc-brand { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.partner-logo { display: block; width: 104px; height: auto; object-fit: contain; border-radius: 6px; }
.partner-promo { margin: 0; width: 82px; flex: none; text-align: center; }
.partner-promo img { width: 100%; height: auto; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-sm); }
.partner-promo figcaption { font-size: 10.5px; line-height: 1.25; color: var(--stone); margin-top: 4px; }
.pc-body .partner-label { align-self: flex-start; margin-bottom: 8px; font-size: 11.5px; }
/* example cards: blurred AI dish with a centred offer */
.partner-card--open > .frame { position: relative; }
.slot-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px; text-align: center; background: radial-gradient(closest-side, rgba(10, 18, 13, .72), rgba(10, 18, 13, .38)); }
.slot-free { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #14281f; background: #f2c14e; padding: 4px 12px; border-radius: var(--radius-pill); }
.slot-claim { margin: 0; font-family: var(--font-serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); text-wrap: balance; }
.pc-body .slot-price { font-weight: 600; color: var(--accent-600); margin-top: 4px; }
.ai-tag { position: absolute; left: 10px; bottom: 10px; font-size: 11px; letter-spacing: .06em; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: var(--radius-pill); }
/* tier example page */
.tier-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 8px; }
@media (max-width: 640px) { .tier-switch { grid-template-columns: 1fr; } }
.tier-switch button { text-align: left; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-2xl);
  padding: 14px 18px; min-height: 64px; cursor: pointer; font: 400 15px/1.35 var(--font-sans); display: flex; flex-direction: column; gap: 2px; }
.tier-switch button strong { font-family: var(--font-serif); font-weight: 400; font-size: 21px; }
.tier-switch button span { color: var(--stone); font-size: 14px; }
.tier-switch button[aria-pressed="true"] { border-color: var(--accent-500); box-shadow: 0 0 0 2px var(--accent-500) inset, var(--shadow-sm); }
.tier-switch button:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
.tier-switch[hidden] { display: none; }
.tier-stage + .tier-stage { margin-top: clamp(40px, 6vw, 72px); }
.tier-stage[hidden] { display: none; }
.tier-stage > h2 { margin-bottom: 8px; }
.tier-stage .tier-incl { margin: 10px 0 20px; padding-left: 1.2em; color: var(--ink2); }
.mock { border: 1px solid var(--line); border-radius: var(--radius-3xl); background: var(--paper); box-shadow: var(--shadow-md); overflow: hidden; margin-top: 18px; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--stone); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.mock-bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: clamp(14px, 2.4vw, 28px); }
.mock-title { font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 14px; }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mock-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); padding: 10px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.mock-card h3 { font-size: 20px; margin: 4px 4px 0; }
.mock-card p { font-size: 14.5px; color: var(--ink2); margin: 0 4px; }
.mock-card .frame { background: var(--surface-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mock-card img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.mock-card .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-card .logo { width: 96px; height: auto; margin: 2px 4px 0; }
.mock-card a { margin: 0 4px 4px; font-size: 14.5px; color: var(--accent-600); }
.mock-card--ph { color: var(--stone); }
.mock-card--ph .ph-line { height: 10px; border-radius: 6px; background: var(--surface-2); margin: 4px; }
.mock-card--ph .ph-line.short { width: 60%; }
.mock-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; border: 2px solid var(--accent-500);
  background: var(--surface); border-radius: var(--radius-3xl); padding: 14px; }
@media (max-width: 760px) { .mock-feature { grid-template-columns: 1fr; } }
.mock-feature .frame { background: var(--surface-2); border-radius: var(--radius-2xl); padding: 6px; align-self: start; }
.mock-feature img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.mock-feature h3 { font-size: clamp(22px, 2vw, 30px); margin: 6px 0 8px; }
.mock-feature p { color: var(--ink2); margin: 0 0 10px; }
.mock-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 8px 0 4px; }
.mock-thumbs img { border-radius: 6px; background: var(--surface-2); }
.mock-thumbs + small { color: var(--stone); font-size: 13px; }
.mock-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; background: var(--band); color: var(--band-text);
  padding: 16px clamp(14px, 2.4vw, 28px); border-bottom: 1px solid var(--accent-600); }
.mock-banner p { margin: 0; font-size: 15px; }
.mock-banner strong { color: #fff; font-family: var(--font-serif); font-weight: 400; font-size: 19px; }
.mock-banner small { display: block; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.mock-banner .stay-cta-bar-btn { text-transform: none; letter-spacing: .02em; }
.mock-spot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: center; }
@media (max-width: 760px) { .mock-spot { grid-template-columns: 1fr; } }
.mock-spot .frame { background: var(--surface-2); border-radius: var(--radius-3xl); padding: 8px; }
.mock-spot img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-2xl); }
.mock-spot h3 { font-size: clamp(26px, 2.8vw, 40px); margin: 8px 0 10px; }
.mock-caption { font-size: 13.5px; color: var(--stone); margin: 10px 0 0; }

/* ===== COLOURED BANDS (Eten & drinken; motion after blogger.com, owner request 2026-10-22) ===== */
:root { --band-green: #2f6b37; --band-mustard: #f2c14e; --band-terracotta: #a8492a; --band-slate: #3d4f58;
  --band-on-dark: #ffffff; --band-on-light: #14281f; --ease-band: cubic-bezier(.645, .045, .355, 1); }
@media (prefers-color-scheme: dark) { :root { --band-green: #1f4a27; --band-mustard: #8a6414; --band-terracotta: #7f3720; --band-slate: #26343b; --band-on-light: #ffffff; } }
.band { padding: clamp(48px, 7vw, 100px) var(--gutter); color: var(--band-on-dark); overflow: hidden; }
.band--green { background: var(--band-green); }
.band--mustard { background: var(--band-mustard); color: var(--band-on-light); }
.band--terracotta { background: var(--band-terracotta); }
.band--slate { background: var(--band-slate); }
.band-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.band--flip .band-text { order: 2; }
.band h2 { font-size: clamp(30px, 3.6vw, 52px); margin: 0 0 18px; color: inherit; text-wrap: balance; }
.band p { font-size: clamp(16.5px, 1.15vw, 18.5px); color: inherit; text-wrap: pretty; }
.band a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.band strong { color: inherit; }
.band-art { display: block; min-width: 0; }
/* full 16:9 AI image, never cropped (object-fit contain on the intrinsic ratio), caption says it is an AI image */
.band-photo { display: block; width: 100%; margin: 0; }
.band-photo img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 536; object-fit: contain;
  border-radius: 1.25rem; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.band-photo figcaption { margin-top: 10px; font-size: 13px; letter-spacing: .04em; color: inherit; }
@media (max-width: 860px) { .band-inner { grid-template-columns: 1fr; } .band--flip .band-text { order: 0; } }
/* motion: only when bands.js added .bands-fx (JS on, motion allowed); otherwise everything stays in place */
.bands-fx .band .band-text { opacity: 0; transform: translateX(-48px); transition: opacity .9s var(--ease-band), transform .9s var(--ease-band); }
.bands-fx .band--flip .band-text { transform: translateX(48px); }
.bands-fx .band .band-photo { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-band) .2s, transform 1.2s var(--ease-band) .2s; }
.bands-fx .band.is-in .band-text, .bands-fx .band.is-in .band-photo { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html:not(.motion-on) .band .band-text, html:not(.motion-on) .band .band-photo { opacity: 1; transform: none; transition: none; } }
