/* Veegclub — design system. See CREATIVE-DIRECTION.md (locked 2026-07-16). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Italiana";
  src: url("assets/fonts/italiana.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --veld: #090a0c; /* carbon near-black: deep enough for the dawn light to read */
  --papier: #f2ede3;
  --inkt: #20281f;
  --licht: #ede8dc;
  --groen: #33513f;
  --mandje: #31549e; /* basket blue, deepened: the ONE interface accent */
  --espresso: #2b231e;
  --zand: #d8cfbf;
  --lijn: rgba(32, 40, 31, 0.2);

  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  /* Fraunces' highly stylised j and f made short Dutch headings read as a
     rendering error. Keep the type family human and calm, but use the more
     legible local grotesk for editorial text and titles. */
  --font-serif: "Hanken Grotesk", "Avenir Next", system-ui, sans-serif;
  --font-titel: "Hanken Grotesk", "Avenir Next", system-ui, sans-serif;

  /* fluid type, set once at root */
  --stap--1: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
  --stap-0: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --stap-1: clamp(1.35rem, 1.2rem + 0.8vw, 1.9rem);
  --stap-2: clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --stap-3: clamp(2.6rem, 1.8rem + 4.2vw, 5.4rem);
  --stap-hero: clamp(3.2rem, 1.6rem + 8.5vw, 9rem);

  --maat: min(92vw, 72rem);
  --ruimte: clamp(4rem, 9vh, 8rem);
}

* { box-sizing: border-box; }
html { 
  scroll-padding-top: 100px; /* Offset for fixed header */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--veld);
  color: var(--inkt);
  font-family: var(--font-body);
  font-size: var(--stap-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

/* Continue the hero's soft photographic edges in the editorial world. */
.editorial figure {
  overflow: hidden;
  border-radius: clamp(0.55rem, 1vw, 0.9rem);
}


h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.5em;
  font-weight: 640;
  letter-spacing: -0.01em;
}

a { color: var(--mandje); }
a:focus-visible, button:focus-visible, .knop:focus-visible {
  outline: 2px solid var(--mandje);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -200vw;
  top: 0;
  z-index: 100;
  background: var(--papier);
  color: var(--inkt);
  padding: 0.6em 1em;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ===== header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.9rem, 2.5vw, 1.5rem) clamp(1rem, 3.5vw, 2.5rem);
  transition: color 0.5s ease;
  color: var(--licht);
  pointer-events: none;
}
.site-header[data-theme="light"] {
  color: var(--inkt);
  /* scrim keeps ink text readable when photos slide under the header */
  background: linear-gradient(rgba(242, 237, 227, 0.92), rgba(242, 237, 227, 0));
}
.site-header a, .site-header button { pointer-events: auto; }

.brand {
  display: inline-grid;
  justify-items: start;
  color: inherit;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-sweep {
  width: 6.5rem;
  height: auto;
  margin: 0.08rem 0 -0.22rem 0.28rem;
}

.site-nav {
  --glass-x: 72%;
  --glass-y: 18%;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.site-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 560;
  font-size: var(--stap--1);
}
.nav-leden {
  border: 1.5px solid currentColor;
  border-radius: 99px;
  padding: 0.35em 1em;
}
/* Optical liquid-glass capsule. The highlight is positioned by main.js. */
.site-nav {
  isolation: isolate;
  overflow: hidden;
  gap: 0;
  padding: 0.3rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.18), transparent 30%),
    rgba(9, 10, 12, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 10px 32px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  backdrop-filter: blur(22px) saturate(1.55);
  pointer-events: auto;
}
.site-nav a, .site-nav button {
  position: relative;
  z-index: 1;
  padding: 0.5em 1.1em;
  border-radius: 99px;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.site-nav a:hover, .site-nav button:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}
.nav-leden {
  border: none;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 8px rgba(0, 0, 0, 0.1);
}
.site-header[data-theme="light"] .site-nav {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.9), transparent 30%),
    rgba(242, 237, 227, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(32, 40, 31, 0.08),
    0 10px 30px rgba(32, 40, 31, 0.08);
}
.site-header[data-theme="light"] .site-nav a:hover, .site-header[data-theme="light"] .site-nav button:hover { background: rgba(255, 255, 255, 0.5); }
.site-header[data-theme="light"] .nav-leden {
  background: rgba(32, 40, 31, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}
/* Removed leden-body .site-nav a:hover override */

/* ===== fullscreen paper menu ===== */
.menu-knop {
  color: inherit;
  font: inherit;
  font-weight: 560;
  font-size: var(--stap--1);
  cursor: pointer;
  display: none; /* desktop shows the inline links; the overlay is mobile-only */
  transition: background 220ms ease, transform 220ms ease;
  border: none;
  background: transparent;
}
.menu-knop:active { transform: scale(0.96); }
.doe-mee-knoppen .cta-sweep:focus-visible,
.site-nav a:focus-visible, .site-nav button:focus-visible,
.menu-knop:focus-visible { border-radius: 99px; }
@media (max-width: 700px) {
  .site-nav a { display: none; }
  .menu-knop { display: inline-block; }
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  /* liquid glass: the spiral keeps living faintly behind the menu */
  background: rgba(9, 10, 12, 0.62);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  backdrop-filter: blur(30px) saturate(1.5);
  color: var(--licht);
  display: grid;
  align-content: center;
  padding: clamp(1rem, 6vw, 5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}
.menu-overlay nav a {
  display: flex;
  align-items: baseline;
  gap: clamp(0.8rem, 2.5vw, 1.6rem);
  font-family: var(--font-titel);
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 4.4rem);
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid rgba(237, 232, 220, 0.16);
  padding: 0.14em 0.1em;
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.65s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease;
}
.menu-overlay nav a:last-child { border-bottom: 1px solid rgba(237, 232, 220, 0.16); }
.menu-overlay.open nav a:hover { transform: translateX(0.5em); transition-duration: 0.35s; }
.menu-overlay nav a small {
  font-family: var(--font-body);
  font-size: var(--stap--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.7;
}
.menu-overlay.open nav a { opacity: 1; transform: none; }
.menu-overlay.open nav a:nth-child(2) { transition-delay: 0.06s; }
.menu-overlay.open nav a:nth-child(3) { transition-delay: 0.12s; }
.menu-voet {
  margin: clamp(2rem, 8vh, 5rem) 0 0;
  font-size: var(--stap--1);
  opacity: 0.72;
}

/* ===== hero ===== */
.hero { position: relative; }

.hero-track { height: 960vh; }
@media (max-width: 1100px) { .hero-track { height: 800vh; } }
@media (max-width: 700px) { .hero-track { height: 640vh; } }
html.no-webgl .hero-track, html.still .hero-track { height: 100vh !important; }

/* ===== loader ===== */
.hero-loader {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  background: var(--veld);
  color: var(--licht);
  transition: opacity 0.7s ease, visibility 0.7s;
}
.hero-loader.done { opacity: 0; visibility: hidden; }
html.no-webgl .hero-loader, html.still .hero-loader { display: none; }
.loader-mark { width: clamp(6.5rem, 18vw, 8.5rem); height: auto; --p: 0; }
.loader-sweep { stroke-dasharray: var(--p, 0) 1; transition: stroke-dasharray 0.15s linear; }
.loader-bristles {
  opacity: calc(var(--p, 0) * 4 - 3);
  transform: translateX(calc((1 - var(--p, 0)) * 5px));
  transform-origin: 99px 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.loader-woord {
  margin: 0.7rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--stap-1);
  color: var(--licht);
  opacity: 0.55;
}
.loader-pct {
  display: flex;
  align-items: flex-start;
  gap: 0.08em;
  font-family: var(--font-titel);
  font-size: var(--stap-2);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
  margin: 0;
  opacity: 0.94;
}
.loader-unit {
  font-size: 0.42em;
  line-height: 1;
  margin-top: 0.12em;
}

/* entrance arming: hero.js drives these once loaded (the title's letters
   carry their own opacity, so the container stays out of this rule) */
.hero-copy.js-entrance .hero-sub,
.hero-copy.js-entrance .hero-scrollhint {
  opacity: 0;
  will-change: opacity, transform, clip-path;
}

.hero-canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--veld);
}
#hero-canvas { width: 100%; height: 100%; display: block; }
html.no-webgl .hero-canvas-wrap, html.still .hero-canvas-wrap { display: none; }

/* end-of-hero veil: fades the scene into paper */
.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--papier);
  opacity: 0;
  pointer-events: none;
}

.hero-fallback { display: none; }
html.no-webgl .hero-fallback, html.still .hero-fallback {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1;
}
html.no-webgl .hero-fallback img, html.still .hero-fallback img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 22% center; /* keep the storage door in frame on portrait crops */
  opacity: 0.82;
}
html.no-webgl .hero-fallback::after, html.still .hero-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 84% 18%, rgba(246, 239, 222, 0.18), rgba(246, 239, 222, 0) 48%),
    linear-gradient(180deg, rgba(9, 10, 12, 0.64), rgba(9, 10, 12, 0.18) 45%, rgba(9, 10, 12, 0.72));
}

.hero-copy {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: var(--licht);
}
.hero-beat {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  opacity: 0;
  margin: 0;
  padding: 0 1rem;
  transform: translateY(12px);
  will-change: opacity, transform;
}
html.no-webgl .hero-beat[data-beat="0"], html.still .hero-beat[data-beat="0"] {
  opacity: 1; transform: none;
}

.hero-title {
  font-family: var(--font-titel);
  font-size: var(--stap-hero);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  margin: 0;
  text-wrap: balance;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}
.hero-title span { display: inline-block; will-change: transform, opacity; }
.hero-sub {
  font-size: var(--stap--1);
  font-family: var(--font-body);
  font-weight: 480;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 1.1em 0 0;
  opacity: 0.85;
}
.hero-scrollhint {
  font-size: var(--stap--1);
  opacity: 0.6;
  margin-top: 4rem;
}
html.no-webgl .hero-scrollhint, html.still .hero-scrollhint { display: none; }

.hero-caption {
  font-family: var(--font-serif);
  font-weight: 440;
  font-size: var(--stap-2);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 26px rgba(9, 10, 12, 0.88), 0 0 3px rgba(9, 10, 12, 0.68);
  text-wrap: balance;
  max-width: 18ch;
  place-content: end start;
  text-align: left;
  padding: 0 clamp(1.2rem, 6vw, 5rem) clamp(4rem, 12vh, 7rem);
}
.hero-caption-end {
  color: var(--inkt);
  text-shadow: none;
  place-content: center;
  text-align: center;
  max-width: none;
  padding: 0 1rem;
}

/* ===== veeg zelf: sweep the grey away, the colour was there all along ===== */
.veeg-kop h2 { max-width: 14ch; }
.veeg-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--stap-1);
  color: var(--inkt);
}
.veeg-frame {
  position: relative;
  margin: clamp(1.6rem, 3.5vw, 2.8rem) 0 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #090a0c;
}
.veeg-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.veeg-frame .veeg-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-origin: 52% 52%;
  will-change: transform;
}
.veeg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><text y="38" font-size="38">🧹</text></svg>') 6 43, crosshair;
  touch-action: pan-y; /* vertical scroll passes, horizontal drags sweep */
}
.veeg-hint {
  position: absolute;
  inset: auto 0 1.1rem;
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--stap-1);
  color: var(--papier);
  text-shadow: 0 1px 14px rgba(9, 10, 12, 0.6);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.veeg-voet {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.85rem;
}
.veeg-caption { margin: 0; color: rgba(32, 40, 31, 0.78); }
.veeg-skip {
  border: 0;
  background: none;
  padding: 0.4rem 0;
  font: inherit;
  font-size: var(--stap--1);
  color: var(--mandje);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

/* ===== editorial ===== */
.editorial {
  position: relative;
  z-index: 3;
  background: var(--papier);
  color: var(--inkt);
  /* pull the paper up over the hero's end so content follows the door directly */
  margin-top: -45vh;
}
html.no-webgl .editorial, html.still .editorial { margin-top: 0; }
.editorial section {
  max-width: var(--maat);
  margin: 0 auto;
  padding: var(--ruimte) clamp(1rem, 4vw, 2.5rem);
}
.editorial h2 {
  font-size: var(--stap-2);
  max-width: 18ch;
  text-wrap: balance;
  letter-spacing: -0.025em;
}

/* The first paper viewport is the architectural threshold after the cellar. */
.arrival {
  min-height: min(92svh, 58rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(0.6rem, 1.6vw, 1.4rem);
  align-items: end;
  border-bottom: 1px solid var(--lijn);
  padding-top: clamp(7rem, 14vh, 11rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}
.arrival-meta {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--lijn);
  color: rgba(32, 40, 31, 0.72);
  font-size: var(--stap--1);
  font-variant-numeric: tabular-nums;
}
.arrival h2 {
  grid-column: 1 / 12;
  align-self: end;
  max-width: none;
  margin: 0;
  font-size: clamp(3.4rem, 9.5vw, 6rem);
  font-weight: 590;
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.arrival-note {
  grid-column: 7 / 12;
  max-width: 35ch;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  font-family: var(--font-display);
  font-size: var(--stap-1);
  font-weight: 460;
  line-height: 1.35;
  text-wrap: balance;
}
.arrival-sweep {
  grid-column: 12;
  width: 100%;
  height: 1px;
  margin-top: clamp(2rem, 5vw, 4rem);
  background: var(--inkt);
  transform-origin: left;
}

/* ===== green thread: exactly one door-green signal per viewport ===== */
::selection { background: var(--mandje); color: var(--papier); }
.tekst-groen { color: var(--groen); }
.werf-feiten p:first-child strong { color: var(--groen); }
.footer-merk .brand-mark { color: #b7c9bb; }

.manifest {
  padding-top: calc(var(--ruimte) * 1.25);
  padding-bottom: calc(var(--ruimte) * 1.35);
  display: grid;
  grid-template-columns: 3fr 8fr;
  gap: 1rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.manifest h2 { grid-column: 1; }
.manifest-lead {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--stap-2);
  line-height: 1.12;
  max-width: 26ch;
  margin-top: 0.2em;
  text-wrap: balance;
}
.manifest > p:last-child {
  grid-column: 2;
  max-width: 52ch;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: 1rem;
  border-top: 1px solid var(--lijn);
}
@media (max-width: 900px) {
  .manifest { grid-template-columns: 1fr; }
  .manifest h2, .manifest-lead, .manifest > p:last-child { grid-column: 1; }
}

.werfcompositie {
  max-width: var(--maat) !important;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-top: 0 !important;
  padding-bottom: calc(var(--ruimte) * 1.25) !important;
}
.werf-intro {
  grid-column: 1 / span 4;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--lijn);
  border-bottom: 1px solid var(--lijn);
}
.werf-intro p {
  max-width: 29ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--stap-1);
  font-weight: 520;
  line-height: 1.3;
  text-wrap: balance;
}
.werf-intro span {
  padding-top: 1rem;
  color: rgba(32, 40, 31, 0.72);
  font-size: var(--stap--1);
}
.werf-hoofdbeeld {
  grid-column: 5 / -1;
  grid-row: 1 / span 2;
  min-height: 48rem;
  margin: 0;
}
.werf-hoofdbeeld picture,
.werf-hoofdbeeld img,
.werf-detailbeeld picture,
.werf-detailbeeld img {
  display: block;
  width: 100%;
  height: 100%;
}
.werf-hoofdbeeld img,
.werf-detailbeeld img { object-fit: cover; }
.werf-hoofdbeeld img { object-position: center 54%; }
.werf-detailbeeld {
  grid-column: 1 / span 4;
  min-height: 26rem;
  margin: 0;
  overflow: visible;
  border-radius: 0;
}
.werf-detailbeeld picture {
  height: 26rem;
  overflow: hidden;
  border-radius: clamp(0.55rem, 1vw, 0.9rem);
}
.werf-detailbeeld figcaption {
  max-width: 28ch;
  margin-top: 0.75rem;
  color: rgba(32, 40, 31, 0.7);
  font-size: var(--stap--1);
  line-height: 1.35;
}
.werf-feiten {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(32, 40, 31, 0.32);
  border-bottom: 1px solid rgba(32, 40, 31, 0.32);
}
.werf-feiten p {
  min-height: 9rem;
  display: flex;
  align-items: baseline;
  gap: clamp(0.6rem, 1.6vw, 1.2rem);
  margin: 0;
  padding: 1.2rem clamp(0.8rem, 2vw, 1.5rem);
}
.werf-feiten p + p { border-left: 1px solid rgba(32, 40, 31, 0.32); }
.werf-feiten strong {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.werf-feiten span { max-width: 8ch; font-size: var(--stap--1); line-height: 1.25; }

.rondje { padding-top: calc(var(--ruimte) * 1.45) !important; }
.rondje-kop {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lijn);
}
.rondje-kop h2 {
  max-width: 12ch;
  margin: 0;
  font-size: var(--stap-3);
}
.rondje-kop p { max-width: 34ch; margin: 0 0 0 auto; }

.rondje-stappen {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.stap { position: relative; }
.stap:nth-child(1) { grid-column: 1 / span 7; }
.stap:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(7rem, 14vw, 13rem); }
.stap:nth-child(3) {
  grid-column: 3 / span 9;
  margin-top: clamp(5rem, 10vw, 9rem);
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 0 clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}
.stap figure { margin: 0 0 1.3rem; }
.stap img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.stap:nth-child(1) img { object-position: center 72%; }
.stap:nth-child(2) img { aspect-ratio: 4 / 5; object-position: center 52%; }
.stap:nth-child(3) img { object-position: center 50%; }
.stap:nth-child(3) figure { grid-column: 1; grid-row: 1 / 5; margin: 0; }
.stap:nth-child(3) .stap-nr,
.stap:nth-child(3) h3,
.stap:nth-child(3) p { grid-column: 2; }
.stap-nr {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--inkt);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 260;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stap h3 { font-size: var(--stap-1); margin-top: 0.5rem; }
.stap p { max-width: 38ch; }

.verhalen {
  max-width: none !important;
  background: var(--espresso);
  color: var(--licht);
  padding-left: max(clamp(1rem, 4vw, 2.5rem), calc((100vw - 72rem) / 2 + 2.5rem)) !important;
  padding-right: max(clamp(1rem, 4vw, 2.5rem), calc((100vw - 72rem) / 2 + 2.5rem)) !important;
}
.verhalen-kop {
  display: grid;
  grid-template-columns: 8fr 4fr;
  align-items: end;
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(237, 232, 220, 0.22);
}
.verhalen-kop h2 {
  max-width: 12ch;
  margin: 0;
  font-size: var(--stap-3);
}
.verhalen-intro { max-width: 32ch; margin: 0 0 0 auto; color: rgba(237, 232, 220, 0.76); }
.verhalen-lijst { display: grid; gap: 0; margin-top: clamp(3rem, 7vw, 6rem); }
.verhaal {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(237, 232, 220, 0.18);
}
.verhaal:first-child { border-top: 0; padding-top: 0; }
.verhaal:nth-child(even) .verhaal-tekst { order: -1; }
.verhaal figure { margin: 0; }
.verhaal img { max-height: 68vh; object-fit: cover; width: 100%; }
.verhaal figcaption {
  max-width: 48ch;
  margin-top: 0.7rem;
  color: rgba(237, 232, 220, 0.7);
  font-size: var(--stap--1);
}
.verhaal-datum { font-size: var(--stap--1); color: #b7c9bb; margin-bottom: 0.7rem; }
.verhaal h3 { font-size: var(--stap-2); }
.verhaal-tekst p:last-child { max-width: 44ch; }

.doe-mee {
  max-width: none !important;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 0;
  align-items: center;
  padding: 0 !important;
  background: var(--zand);
}
.doe-mee-inner { width: min(100%, 36rem); margin-left: auto; padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5rem); }
.doe-mee-inner h2 { font-size: var(--stap-3); }
.doe-mee-inner p { max-width: 40ch; }
.doe-mee-beeld { height: 100%; min-height: 46rem; margin: 0; }
.doe-mee-beeld img { width: 100%; height: 100%; object-fit: cover; }
.doe-mee-klein { font-size: var(--stap--1); opacity: 0.75; }

.doe-mee-knoppen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: clamp(1.7rem, 4vw, 2.5rem);
}

/* Optical liquid glass: one shared geometry, hierarchy through glass density. */
.doe-mee-knoppen .cta-sweep {
  --glass-x: 18%;
  --glass-y: 12%;
  --glass-shift-x: 0px;
  --glass-shift-y: 0px;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  min-width: 0;
  min-height: 4.25rem;
  margin: 0;
  padding: 0.36rem 0.38rem 0.36rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  font: inherit;
  font-weight: 650;
  letter-spacing: -0.016em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  backdrop-filter: blur(20px) saturate(1.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 12px 30px rgba(24, 31, 25, 0.12);
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 320ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.doe-mee-knoppen .cta-sweep::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -35%;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.58) 0, rgba(255, 255, 255, 0.16) 14%, transparent 34%),
    linear-gradient(112deg, transparent 27%, rgba(255, 255, 255, 0.12) 43%, transparent 60%);
  opacity: 0.62;
  transform: translate3d(0, 0, 0);
  transition: opacity 300ms ease;
}
.doe-mee-knoppen .cta-sweep::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  pointer-events: none;
}
.cta-sweep-label,
.cta-sweep-icon { position: relative; z-index: 1; }
.cta-sweep-label {
  transform: translate3d(calc(var(--glass-shift-x) * 0.24), calc(var(--glass-shift-y) * 0.24), 0);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-sweep-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 5px 14px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(8px) saturate(1.3);
  backdrop-filter: blur(8px) saturate(1.3);
  transform: translate3d(var(--glass-shift-x), var(--glass-shift-y), 0);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms ease;
}
.doe-mee-knoppen .cta-sweep--primary {
  background-color: var(--espresso);
  color: var(--licht);
  border-color: rgba(237, 232, 220, 0.34);
}
.doe-mee-knoppen .cta-sweep--secondary {
  background-color: rgba(242, 237, 227, 0.72);
  color: var(--veld);
  border-color: rgba(255, 253, 248, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(32, 40, 31, 0.12),
    0 12px 28px rgba(24, 31, 25, 0.08);
}
.doe-mee-knoppen .cta-sweep--secondary .cta-sweep-icon {
  border-color: rgba(32, 40, 31, 0.16);
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 5px 14px rgba(32, 40, 31, 0.08);
}
@media (hover: hover) {
  .doe-mee-knoppen .cta-sweep:hover {
    transform: translateY(-3px) scale(1.006);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      inset 0 -1px 0 rgba(0, 0, 0, 0.22),
      0 18px 38px rgba(24, 31, 25, 0.18);
  }
  .doe-mee-knoppen .cta-sweep:hover::before { opacity: 1; }
  .doe-mee-knoppen .cta-sweep--primary:hover {
    background-color: #382d26;
    color: #fffdf7;
    border-color: rgba(237, 232, 220, 0.5);
  }
  .doe-mee-knoppen .cta-sweep--secondary:hover {
    background-color: rgba(248, 245, 238, 0.9);
    color: var(--veld);
    border-color: rgba(255, 255, 255, 0.95);
  }
  .doe-mee-knoppen .cta-sweep--primary:hover .cta-sweep-icon { background: rgba(255, 255, 255, 0.2); }
  .doe-mee-knoppen .cta-sweep--secondary:hover .cta-sweep-icon { background: rgba(255, 255, 255, 0.62); }
}
.doe-mee-knoppen .cta-sweep:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 90ms;
}

/* .knop-rand: the liquid-glass outline variant — same recipe as .site-nav's
   capsule (blur + saturate over a translucent fill), but as a standalone
   button rather than a nav container. See .knop below for the filled twin
   and the shared @supports fallback for browsers without backdrop-filter.
   Usage: always pair with .knop (e.g. class="knop knop-rand") — .knop-rand
   only overrides colour/border/blur, .knop supplies shape (border-radius),
   sizing (padding), and the touch-target baseline. A bare .knop-rand without
   .knop renders as a square corner-less chip, not the pill shape. */
.knop-rand {
  background: transparent;
  color: var(--inkt);
  border: 1.5px solid rgba(32, 40, 31, 0.4);
  font: inherit;
  cursor: pointer;
  min-height: 44px; /* touch target */
}
.knop-rand:hover { background: rgba(32, 40, 31, 0.85); color: var(--papier); border-color: transparent; }
/* dark-field variant, for the day a glass button sits over --veld instead of
   --papier (the header/menu-overlay glass already handles this split via
   [data-theme]; buttons opt in the same way with .knop-rand--dark) */
.knop-rand--dark {
  background: rgba(237, 232, 220, 0.1);
  color: var(--licht);
  border-color: rgba(237, 232, 220, 0.3);
}
.knop-rand--dark:hover { background: rgba(237, 232, 220, 0.85); color: var(--veld); }

.lidmaatschap-blok {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1.5px solid rgba(32, 40, 31, 0.15);
  max-width: 30rem;
}
.lidmaatschap-blok h3 { font-size: var(--stap-0); margin: 0 0 0.4em; }
.lidmaatschap-intro { max-width: 40ch; }
#form-lidmaatschap label { display: block; font-weight: 600; font-size: var(--stap--1); margin: 1rem 0 0.3rem; }
#form-lidmaatschap input {
  width: 100%;
  font: inherit;
  color: inherit;
  background: rgba(242, 237, 227, 0.68);
  border: 1.5px solid rgba(32, 40, 31, 0.35);
  border-radius: 8px;
  padding: 0.65em 0.8em;
}
#form-lidmaatschap input:focus,
#form-lidmaatschap input:focus-visible {
  outline: none;
  background: var(--papier);
  border-color: var(--inkt);
  box-shadow: 0 3px 0 rgba(32, 40, 31, 0.16);
}
#form-lidmaatschap input:-webkit-autofill,
#form-lidmaatschap input:-webkit-autofill:hover,
#form-lidmaatschap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--papier) inset, 0 3px 0 rgba(32, 40, 31, 0.16);
  -webkit-text-fill-color: var(--inkt);
}
.lidmaatschap-toestemming input { accent-color: var(--inkt); }
#form-lidmaatschap .knop-aanvraag {
  margin-top: 1.2rem;
  width: 100%;
  text-align: center;
}
.doe-mee .form-fout { color: #9c3318; font-size: var(--stap--1); font-weight: 600; margin-top: 0.8rem; }
.lidmaatschap-bevestiging {
  position: relative;
  overflow: hidden;
  margin-top: 1.2rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  color: var(--inkt);
  background: rgba(51, 81, 63, 0.075);
  border: 1px solid rgba(51, 81, 63, 0.2);
  border-radius: 10px;
  animation: bevestiging-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lidmaatschap-bevestiging::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--mandje);
}
.bevestiging-veeg {
  width: 5.5rem;
  margin-bottom: 1.15rem;
  color: var(--groen);
}
.lidmaatschap-bevestiging .bevestiging-label {
  margin: 0 0 0.45rem;
  color: var(--groen);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.lidmaatschap-bevestiging h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-serif);
  font-size: var(--stap-2);
  font-weight: 480;
  letter-spacing: -0.025em;
}
.lidmaatschap-bevestiging p { margin: 0; }
.lidmaatschap-bevestiging .bevestiging-afsluiting {
  margin-top: 1rem;
  color: var(--groen);
  font-weight: 650;
}
.lidmaatschap-bevestiging:focus { outline: none; }

@keyframes bevestiging-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lidmaatschap-bevestiging { animation: none; }
  .doe-mee-knoppen .cta-sweep,
  .doe-mee-knoppen .cta-sweep::before,
  .cta-sweep-icon,
  .cta-sweep-label { transition: none; }
}

@media (max-width: 700px) {
  .doe-mee-knoppen .cta-sweep { width: 100%; min-width: 0; text-align: left; }
}

/* .knop: the filled liquid-glass button — same blur+saturate recipe as the
   nav capsule (.site-nav) and the menu overlay, applied to a solid-tinted
   base rather than a fully transparent one. A solid base (not just glass
   over whatever sits behind it) is deliberate: the button's own background
   colour is what guarantees AA contrast against --papier/--veld regardless
   of what photo or gradient happens to be behind it, and only the blur +
   inset highlight read as "glass" on top of that guaranteed-readable base. */
.knop {
  position: relative;
  display: inline-block;
  --glass-x: 72%;
  --glass-y: 18%;
  background:
    radial-gradient(circle at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.12), transparent 30%),
    rgba(9, 10, 12, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 10px 32px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  backdrop-filter: blur(22px) saturate(1.55);
  color: var(--papier);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85em 1.7em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  margin: 0.8rem 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.knop::after { content: "\2197"; display: inline-block; margin-left: 0.7em; font-weight: 400; }
.knop:hover { 
  background:
    radial-gradient(circle at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.18), transparent 40%),
    rgba(9, 10, 12, 0.95);
  transform: translateY(-2px); 
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 14px 40px rgba(0, 0, 0, 0.18);
}
.knop:active { transform: translateY(0); }

/* Fallback for browsers without backdrop-filter support: the glass reads as
   a plain solid button (already AA-compliant on its own), sheen included —
   the sheen is a gradient sweep, not a blur effect, so it still works fine.
   Only the frosted-blur look itself is skipped. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .knop, .knop-rand, .knop-rand--dark {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .knop-rand { background: var(--papier); }
  .knop-rand--dark { background: var(--veld); }
}

/* ===== editorial motion (quiet; the hero owns the strong physics) ===== */
@media (prefers-reduced-motion: no-preference) {
  .m-fig {
    position: relative;
    overflow: hidden;
    background: rgba(43, 35, 30, 0.08);
    contain: paint;
    /* entry rise lives on the figure: the img transform is owned per-frame
       by the parallax loop and would overwrite any rise placed there */
    transform: translateY(var(--m-rise, 64px));
    transition: transform 1.0s cubic-bezier(0.22, 0.9, 0.3, 1);
  }
  .m-fig::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: -1px;
    pointer-events: none;
    background: var(--m-curtain, var(--papier));
    transform: scaleY(1);
    transform-origin: center bottom;
    transition: transform 1.1s cubic-bezier(0.22, 0.9, 0.3, 1);
  }
  .m-fig.in {
    transform: translateY(0);
    transition-delay: var(--m-delay, 0ms);
  }
  .m-fig.in::after {
    transform: scaleY(0);
    transition-delay: var(--m-delay, 0ms);
  }
  /* rest state: soft-mono with the shared film grade — quiet by default;
     hover/focus restores full colour WITH the grade, so the reveal is big
     and every image still sits on the same roll of film */
  .m-fig img {
    transform: scale(1.09);
    filter: saturate(var(--m-sat, 0.55)) grayscale(var(--m-gray, 0.2)) contrast(0.98) sepia(var(--foto-sep, 0.09)) brightness(0.99);
    transition:
      filter 0.65s ease;
  }
  .m-fig.in img {
    transition-delay: var(--m-delay, 0ms);
  }
  .m-fig.focus img { filter: saturate(1) contrast(0.98) sepia(var(--foto-sep, 0.09)) brightness(0.99); }
  @media (hover: hover) {
    .m-fig:hover img { filter: saturate(1) contrast(0.98) sepia(var(--foto-sep, 0.09)) brightness(0.99); transition-delay: 0ms; }
    .m-fig.in:hover {
      transform: translateY(0) scale(1.015);
      transition-duration: 0.35s;
      transition-delay: 0ms;
    }
  }
}
.verhalen .m-fig { --m-curtain: var(--espresso); }

.m-copy {
  transform: translateY(34px);
  opacity: 0.35;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0, 1), opacity 0.9s ease;
  will-change: transform, opacity;
}
.m-copy.in { transform: none; opacity: 1; }
.arrival-sweep.m-copy { transform: scaleX(0); opacity: 1; }
.arrival-sweep.m-copy.in { transform: scaleX(1); }

/* a photograph may break the editorial grid, gently */
.verhaal:nth-child(odd) figure { margin-left: calc(clamp(1rem, 3vw, 2.2rem) * -1); }
@media (max-width: 900px) { .verhaal:nth-child(odd) figure { margin-left: 0; } }

/* ===== footer: the visit ends at the bench — a framed postcard on paper ===== */
/* ===== Story Detail Modal (Gastheerschap pattern) ===== */
.verhaal {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.verhaal:hover {
  transform: translateY(-3px);
}
.verhaal-modal {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.verhaal-modal[open] {
  display: flex;
}
.verhaal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 18, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}
.verhaal-modal-card {
  position: relative;
  z-index: 2;
  width: min(920px, 92vw);
  max-height: min(760px, 86vh);
  background: var(--papier);
  color: var(--inkt);
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(9, 10, 12, 0.4);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
/* --- Ultra-Subtle Editorial Glass Close Button --- */
.verhaal-modal-sluit {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(32, 40, 31, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(32, 40, 31, 0.12);
  color: var(--inkt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 20;
  cursor: pointer;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.verhaal-modal-sluit:hover {
  background: rgba(32, 40, 31, 0.16);
  transform: scale(1.06);
}
.verhaal-modal-sluit:focus,
.verhaal-modal-sluit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(32, 40, 31, 0.25);
  border-radius: 50%;
}
.verhaal-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  height: 100%;
  min-height: 0;
}
.verhaal-modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.5rem;
  max-height: calc(86vh - 2 * clamp(1.5rem, 4vw, 3rem));
}
@media (max-width: 750px) {
  .verhaal-modal-card {
    overflow-y: auto;
    max-height: 88vh;
  }
  .verhaal-modal-content {
    grid-template-columns: 1fr;
    height: auto;
  }
  .verhaal-modal-body {
    overflow-y: visible;
    max-height: none;
    padding-right: 0;
  }
}
/* Gastheerschap Vertical/Horizontal Reel Animations */
@keyframes reel-v {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes reel-h {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.verhaal-modal-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 1rem;
}

.reel-mask {
  width: 100%;
  height: 100%;
  min-height: 460px;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
}
.reel-mask::before,
.reel-mask::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 18px;
  pointer-events: none;
}
.reel-mask::before {
  top: 0;
  background: linear-gradient(to bottom, var(--papier), rgba(242, 237, 227, 0));
}
.reel-mask::after {
  bottom: 0;
  background: linear-gradient(to top, var(--papier), rgba(242, 237, 227, 0));
}

.reel-track {
  display: flex;
  flex-direction: column;
  height: max-content;
  width: 100%;
  will-change: transform;
}

.reel-set {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  align-items: center;
}

.reel-set img {
  width: 92%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.85rem;
  box-shadow: 0 6px 20px rgba(9, 10, 12, 0.15);
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.reel-set img:hover {
  transform: scale(1.03);
  filter: brightness(1.04);
}

@media (max-width: 750px) {
  .verhaal-modal-media,
  .reel-mask {
    min-height: 250px;
    max-height: 45vh;
  }
  .reel-mask {
    overflow: hidden;
    mask: none;
    -webkit-mask: none;
  }
  .reel-mask::before,
  .reel-mask::after {
    top: 0;
    bottom: 0;
    width: 18px;
    height: auto;
  }
  .reel-mask::before {
    right: auto;
    background: linear-gradient(to right, var(--papier), rgba(242, 237, 227, 0));
  }
  .reel-mask::after {
    left: auto;
    background: linear-gradient(to left, var(--papier), rgba(242, 237, 227, 0));
  }
  .reel-track {
    flex-direction: row;
    width: max-content;
    height: 100%;
  }
  .reel-set {
    flex-direction: row;
    gap: 1rem;
    padding-bottom: 0;
    padding-right: 1rem;
  }
  .reel-set img {
    width: 250px;
    height: 180px;
  }
}
.verhaal-modal-gallery img {
  width: 4.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 0.4rem;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.verhaal-modal-gallery img.actief, .verhaal-modal-gallery img:hover {
  opacity: 1;
  transform: scale(1.04);
}
.verhaal-modal-titel {
  font-family: var(--font-titel);
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0.4rem 0 0.9rem;
  color: var(--inkt);
}
.verhaal-modal-sub {
  font-weight: 600;
  color: var(--groen);
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  margin-bottom: 1.2rem;
}
.verhaal-modal-tekst {
  line-height: 1.75;
  color: rgba(32, 40, 31, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
}
.verhaal-modal-tekst p {
  margin-bottom: 1.1rem;
}
.verhaal-modal-meta {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(32, 40, 31, 0.14);
  font-size: 0.95rem;
  color: rgba(32, 40, 31, 0.75);
}

body {
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--papier);
  color: var(--inkt);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🧹</text></svg>') 4 20, auto;
}
a, button, label {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🧹</text></svg>') 4 20, pointer;
}
.stofje {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 1px 3px rgba(9, 10, 12, 0.2);
}
.site-footer {
  position: relative;
  z-index: 3;
  background: var(--papier);
  color: var(--inkt);
  padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) clamp(1.4rem, 3.5vh, 2.2rem);
}
.footer-beeld {
  --m-sat: 0.42;
  --m-gray: 0.35;
  --m-rise: 0px;
  position: relative;
  margin: 0 auto;
  max-width: var(--maat);
  border-radius: clamp(0.55rem, 1vw, 0.9rem);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.footer-beeld img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.footer-beeld::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(9, 10, 12, 0.52), rgba(9, 10, 12, 0.22) 46%, rgba(9, 10, 12, 0.58));
}
.footer-regel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  margin: 0;
  padding: 0 1rem;
  font-family: var(--font-titel);
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 1.05;
  text-align: center;
  color: var(--papier);
  text-shadow: 0 2px 26px rgba(9, 10, 12, 0.55);
  opacity: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .footer-beeld:hover img {
    filter: saturate(1) grayscale(0) contrast(0.98) sepia(var(--foto-sep, 0.09)) brightness(1.07);
  }
}
.footer-inner {
  position: relative;
  max-width: var(--maat);
  margin: 0 auto;
  padding-top: clamp(1.2rem, 3vh, 2rem);
}
.footer-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 800px) {
  .footer-rij {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
.footer-item {
  font-size: 0.9em;
  color: var(--inkt);
  opacity: 0.8;
}
.site-footer a { color: var(--inkt); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lidmaatschap-toestemming { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1.3rem; font-size: var(--stap--1); font-weight: 500; line-height: 1.45; }
.lidmaatschap-toestemming input { flex: 0 0 auto; margin-top: 0.25rem; }
.site-footer a:hover { opacity: 0.7; }
.leden-body .site-footer a { color: var(--licht); }
@media (max-width: 700px) {
  .footer-beeld { aspect-ratio: 4 / 5; }
  .footer-beeld img { object-position: 42% 50%; }
}
.footer-merk { display: flex; align-items: center; gap: 1rem; }
.footer-merk .brand-mark { width: 5.4rem; height: auto; }
.footer-merk p { margin: 0; }
.site-footer nav { display: flex; gap: 2rem; }
.site-footer nav { display: flex; gap: 2rem; }

/* ===== responsive ===== */
@media (max-width: 900px) {
  .arrival h2 { grid-column: 1 / -1; }
  .arrival-note { grid-column: 5 / -1; }
  .arrival-sweep { grid-column: 11 / -1; }
  .rondje-kop, .verhalen-kop { grid-template-columns: 1fr; }
  .rondje-kop p, .verhalen-intro { margin-left: 0; }
  .rondje-stappen { grid-template-columns: 1fr; }
  .stap:nth-child(1), .stap:nth-child(2), .stap:nth-child(3) { grid-column: 1; margin-top: 0; }
  .stap:nth-child(2), .stap:nth-child(3) { margin-top: clamp(3rem, 8vw, 5rem); }
  .stap:nth-child(3) { display: block; }
  .stap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem 1.4rem; align-items: start; }
  .stap figure { grid-row: 1 / 4; margin: 0; }
  .stap .stap-nr, .stap h3, .stap p { grid-column: 2; }
  .stap:nth-child(3) figure { grid-row: 1 / 4; }
  .verhaal, .doe-mee { grid-template-columns: 1fr; }
  .verhaal:nth-child(even) .verhaal-tekst { order: 0; }
  .doe-mee-inner { width: auto; margin: 0; }
  .doe-mee-beeld { min-height: 58vw; }
}

@media (max-width: 700px) {
  .werfcompositie {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .werf-intro { grid-column: 1; min-height: 14rem; }
  .werf-hoofdbeeld { grid-column: 1 / -1; grid-row: auto; min-height: 33rem; }
  .werf-detailbeeld { grid-column: 1 / -1; min-height: 22rem; }
  .werf-feiten { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .werf-feiten p { min-height: 7rem; }
  .werf-feiten p + p { border-left: 0; border-top: 1px solid rgba(32, 40, 31, 0.32); }
  .werf-feiten strong { min-width: 5ch; }
  .werf-feiten span { max-width: none; }
}

@media (max-width: 560px) {
  .arrival { min-height: 82svh; }
  .arrival-meta span:last-child { display: none; }
  .arrival h2, .arrival-note, .arrival-sweep { grid-column: 1 / -1; }
  .arrival-note { font-size: var(--stap-0); }
  .hero-title {
    font-size: clamp(2.35rem, 10.8vw, 3.2rem);
    letter-spacing: 0.04em;
  }
  .stap { display: block; }
  .stap figure { margin: 0 0 1rem; }
  .stap:nth-child(2) img { aspect-ratio: 5 / 4; }
  .hero-track { height: 520vh; }
}

/* ===========================================================================
   Awwwards Award-Level Micro-Interactions & Polish
   =========================================================================== */

/* --- Custom Floating Glass Lens Cursor (Optie A) --- */
.cursor-badge {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 26, 21, 0.65);
  color: #F2EDE3;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 237, 227, 0.38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}
.cursor-badge.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (pointer: coarse) {
  .cursor-badge { display: none !important; }
}

/* --- Magnetic Button Spring Transition --- */
.cta-sweep, .knop, .site-nav a {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- View Transitions API for seamless page shifts --- */
::view-transition-old(root) {
  animation: 260ms cubic-bezier(0.4, 0, 1, 1) both fade-out-down;
}
::view-transition-new(root) {
  animation: 320ms cubic-bezier(0, 0, 0.2, 1) both fade-in-up;
}
@keyframes fade-out-down {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(8px); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
