/* ==========================================================================
   Maša Božić — site.css
   Zwart, klein, stil. Weinig lijnen, veel ruimte.
   ========================================================================== */

:root {
  --bg: #000;
  --text: #e8e6e2;
  --soft: #c9c7c3;
  --dim: #8f8e8a;          /* 6.3:1 op zwart */
  --faint: #3a3a38;        /* enkel decoratief */
  --hair: rgba(232, 230, 226, .11);
  --hair-strong: rgba(232, 230, 226, .28);

  /* Newsreader voor alle tekst; Roman Antique enkel voor de titels van Pale Horse */
  --sans: 'Newsreader', Georgia, 'Times New Roman', serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --antique: 'Roman Antique', 'Newsreader', Georgia, serif;
  /* Inter voor het menu en alles rond doneren: bedragen, formulieren, knoppen */
  --ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Kleine, rustige typeschaal */
  --fs-xs: .8125rem;    /* 13 */
  --fs-s: .875rem;      /* 14 */
  --fs-base: .9375rem;  /* 15 */
  --fs-read: 1rem;      /* 16: lange leesteksten */
  --fs-m: 1.125rem;     /* 18 */
  --fs-l: 1.375rem;     /* 22 */
  --fs-xl: 1.75rem;     /* 28 */

  --gutter: clamp(16px, 3vw, 36px);
  --header-h: 72px;
  --radius: 8px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 380ms;
  --t-slow: 800ms;

  --z-grain: 50;
  --z-header: 100;
  --z-player: 1000;
  --z-loader: 2000;
  --z-cursor: 3000;

  color-scheme: dark;
}

/* Roman Antique: enkel voor titels en tussentitels van Pale Horse */
@font-face {
  font-family: 'Roman Antique';
  src: url('../fonts/RomanAntique-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Roman Antique';
  src: url('../fonts/RomanAntique.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Lettertypes rechtstreeks van de eigen site (Newsreader en Inter, SIL Open Font License) */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-Italic-LatinExt.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-Italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-LatinExt.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-LatinExt.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; display: block; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--text); color: var(--bg); }

:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 4px;
  border-radius: 2px;
}

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: calc(var(--z-cursor) + 1);
  padding: 8px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 4px;
  font-size: var(--fs-s);
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.dim { color: var(--dim); }

/* ==========================================================================
   CURSOR: stip, kleiner en zachter op links, driehoek + "play" (afspeelbaar)
   ========================================================================== */
/* Cursor: de gewone cursor van het systeem (voorlopig geen eigen cursor) */


/* ==========================================================================
   KORREL: mix-blend overlay, dus puur zwart blijft puur zwart
   ========================================================================== */
.grain {
  position: fixed;
  inset: -50%;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(8) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  12% { transform: translate(-6%, 4%); }
  25% { transform: translate(5%, -7%); }
  37% { transform: translate(-3%, 9%); }
  50% { transform: translate(8%, 2%); }
  62% { transform: translate(-9%, -3%); }
  75% { transform: translate(3%, 6%); }
  87% { transform: translate(-4%, -8%); }
  100% { transform: translate(0, 0); }
}

/* ==========================================================================
   LOADER: draaiende sluiter van een 16mm-camera
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: none;
  place-items: center;
  background: var(--bg);
}
.is-loading .loader { display: grid; }
.is-loading body > *:not(.loader) { visibility: hidden; }
.loader-shutter { width: 26px; height: 26px; color: var(--text); }
.loader-shutter .blade,
.player-loading .blade {
  transform-origin: 22px 22px;
  animation: shutter .5s steps(12) infinite;
}
@keyframes shutter { to { transform: rotate(360deg); } }
/* Rennend paard: enkel bij het openen van de Pale Horse-pagina */
.loader-horse { width: 112px; height: auto; color: var(--text); }
.horse{overflow:visible}
.horse path,.horse circle{fill:currentColor}
.horse .h-far{opacity:.55}
.horse .h-run{animation:h-bob .56s steps(3,jump-none) infinite}
.horse .h-leg,.horse .h-low{animation-duration:.56s;animation-iteration-count:infinite;animation-timing-function:steps(3,jump-none)}
.horse .h-front{transform-origin:82px 41px;animation-name:h-front}
.horse .h-front .h-low{transform-origin:81px 58px;animation-name:h-front-low}
.horse .h-hind{transform-origin:39px 40px;animation-name:h-hind}
.horse .h-hind .h-low{transform-origin:38.5px 57px;animation-name:h-hind-low}
.horse .h-far,.horse .h-far .h-low{animation-delay:-.07s}
@keyframes h-bob{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-3px) rotate(-2deg)}50%{transform:translateY(-1px) rotate(1deg)}75%{transform:translateY(-4px) rotate(2deg)}}
@keyframes h-front{0%{transform:rotate(-38deg)}45%{transform:rotate(28deg)}60%{transform:rotate(32deg)}100%{transform:rotate(-38deg)}}
@keyframes h-front-low{0%{transform:rotate(8deg)}40%{transform:rotate(0)}58%{transform:rotate(25deg)}78%{transform:rotate(95deg)}100%{transform:rotate(8deg)}}
@keyframes h-hind{0%{transform:rotate(30deg)}50%{transform:rotate(-32deg)}100%{transform:rotate(30deg)}}
@keyframes h-hind-low{0%{transform:rotate(0)}15%{transform:rotate(-55deg)}32%{transform:rotate(-70deg)}50%{transform:rotate(-5deg)}100%{transform:rotate(0)}}
@media (prefers-reduced-motion: reduce){.horse *{animation:none!important}}
.loader--horse .loader-horse {
  width: 64px;
  aspect-ratio: 286 / 184;
  background: url('../img/horse-gallop.png') 0 0 / 1500% 100% no-repeat;
  animation: gallop 1.05s steps(15, jump-none) infinite;
  opacity: .92;
  translate: 0 -3px;           /* zonder ruiter zit het paard lager in het kader */
}
@keyframes gallop { to { background-position: 100% 0; } }
.loader.is-done { display: grid; animation: loader-out 420ms var(--ease-in-out) forwards; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }

.is-revealing main,
.is-revealing .site-header { animation: flicker 620ms linear both; }
@keyframes flicker {
  0% { opacity: 0; } 10% { opacity: .55; } 18% { opacity: .08; } 30% { opacity: .8; }
  38% { opacity: .35; } 52% { opacity: 1; } 60% { opacity: .82; } 100% { opacity: 1; }
}

/* ==========================================================================
   HEADER + FOOTER
   ========================================================================== */
.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: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(0, 0, 0, .92) 35%, rgba(0, 0, 0, 0));
  transition: transform var(--t-med) var(--ease-out);
  view-transition-name: site-header;
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-name {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(232, 230, 226, .8);
  transition: color var(--t-fast) ease;
}
.site-name:hover { color: var(--text); }

.site-nav ul { display: flex; gap: clamp(14px, 2vw, 24px); }
.site-nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: var(--fs-s);
  color: #7d7d7a;
  transition: color var(--t-fast) ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(80px, 12vw, 140px) var(--gutter) 24px;
  font-size: var(--fs-xs);
  color: var(--dim);
}
.lang-toggle {
  padding: 8px 0;
  font-size: var(--fs-xs);
  color: var(--dim);
  transition: color var(--t-fast) ease;
}
.lang-toggle:hover { color: var(--text); }
.lang-pending main { opacity: 0; }

/* ==========================================================================
   BOUWSTENEN
   ========================================================================== */
.page { padding: calc(var(--header-h) + clamp(40px, 8vw, 110px)) var(--gutter) 0; }

.media {
  position: relative;
  overflow: hidden;
  background: #000;               /* geen grijs vlak terwijl een beeld laadt */
  border-radius: var(--radius);
}
.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media img { transition: opacity var(--t-slow) ease, transform 1.4s var(--ease-out), filter var(--t-med) ease; }
.media img[data-loading] { opacity: 0; }

.preview video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-med) ease;
}
.preview.is-playing video { opacity: 1; }

/* De Pale Horse-promo heeft ingebrande ondertitels: in loops snijden we die weg */
.crop-subs video,
.crop-subs img { height: 124% !important; object-position: 50% 0; }

/* Plaatshouders voor info die nog moet komen */
.placeholder {
  color: var(--dim);
  font-style: italic;
  text-decoration: underline dotted var(--faint);
  text-underline-offset: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: var(--fs-s);
  color: var(--dim);
  transition: color var(--t-fast) ease;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 11px; height: 11px; transition: transform var(--t-med) var(--ease-out); }
.back-link:hover svg { transform: translateX(-3px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: var(--fs-base);
  font-weight: 500;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--hair); color: var(--soft); }
.btn-ghost:hover { border-color: var(--hair-strong); color: var(--text); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ==========================================================================
   HOME: één klein, stil venster op Pale Horse
   ========================================================================== */
.home {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 150px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 0;
}
.home-card { display: block; width: clamp(280px, 38vw, 540px); }
.home-card .media { aspect-ratio: 4 / 3; }
.home-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  font-size: var(--fs-s);
}
.home-caption em { font-family: var(--serif); font-size: var(--fs-read); }
.home-sub {
  margin-top: 2px;
  font-size: var(--fs-xs);
  color: var(--dim);
  transition: color var(--t-fast) ease;
}
.home-card:hover .home-sub { color: var(--text); }

/* ==========================================================================
   WORK: drie gelijke vensters op één lijn
   ========================================================================== */
.work-page {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 150px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 0;
}
.work-grid {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px clamp(16px, 2.4vw, 32px);
}
.work-card { display: block; }
.work-card .media { aspect-ratio: 4 / 3; }
.work-card .media img { filter: brightness(.85); }
.work-card:hover .media img { filter: brightness(1); }
.work-card-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: var(--fs-s);
}
.work-card-caption span:last-child { color: var(--dim); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; gap: 36px; max-width: 460px; }
}

/* ==========================================================================
   FILMPAGINA
   ========================================================================== */
.film { max-width: 960px; margin: 0 auto; }
.film-head { margin-top: clamp(24px, 3vw, 40px); }
.film-title {
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  color: #d4d2ce;
}
.film-title small {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-read);
  letter-spacing: 0;
  color: var(--dim);
}
.film-specs {
  margin-top: 10px;
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.film-logline {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 34rem;
  font-size: var(--fs-m);
  line-height: 1.45;
  font-weight: 500;
  color: var(--soft);
}

.film-poster { margin-top: clamp(40px, 6vw, 72px); }
.film-poster .media { aspect-ratio: var(--ratio, 16 / 9); }
.film-poster .media img { filter: brightness(.86); }
.film-poster .media:hover img { filter: brightness(1); transform: scale(1.01); }
.poster-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  border-radius: inherit;
}
.poster-hit:focus-visible { outline-offset: -4px; }
/* Op touch-toestellen: klein speelteken, want daar is geen cursor */
.touch-play {
  position: absolute;
  left: 14px; bottom: 14px;
  display: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  place-items: center;
}
.touch-play::before {
  content: '';
  width: 9px; height: 10px;
  margin-left: 2px;
  background: var(--text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media (hover: none) { .touch-play { display: grid; } }

.film-info {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px clamp(24px, 4vw, 56px);
  font-size: var(--fs-s);
}
.info-block h2 {
  margin-bottom: 14px;
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--dim);
}
.credits { display: grid; gap: 6px; }
.credits div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 10px; }
.credits dt { color: var(--dim); }
.festivals { display: grid; gap: 12px; line-height: 1.5; }
.festivals .year { color: var(--dim); }
.festivals .award { display: block; margin-top: 2px; font-style: italic; color: var(--soft); }
.press p {
  font-family: var(--serif);
  font-size: var(--fs-read);
  line-height: 1.55;
  color: var(--soft);
}
.press cite { display: block; margin-top: 10px; font-style: normal; color: var(--dim); }
@media (max-width: 860px) {
  .film-info { grid-template-columns: 1fr 1fr; }
  .film-info .press { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .film-info { grid-template-columns: 1fr; } }

.stills {
  margin: clamp(64px, 9vw, 110px) auto 0;
  max-width: 720px;
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}
.stills .media { aspect-ratio: 4 / 3; }

.film-foot { margin-top: clamp(64px, 9vw, 110px); text-align: center; }

/* ==========================================================================
   FOCUSMODUS-SPELER: gecentreerd, niet schermvullend; de site dimt weg
   ========================================================================== */
.player {
  position: fixed;
  inset: 0;
  z-index: var(--z-player);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  visibility: hidden;
  pointer-events: none;
}
.player.is-open { visibility: visible; pointer-events: auto; }
.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 520ms var(--ease-in-out);
}
.player.is-open .player-backdrop { opacity: 1; }

.player-frame {
  position: relative;
  width: min(1060px, 100%, calc((100svh - 160px) * var(--ratio, 1.7778)));
}
.player-top,
.player-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  color: var(--dim);
  opacity: 0;
  transition: opacity var(--t-med) ease;
}
/* Enkel een kruisje rechtsboven om de speler te sluiten (Esc werkt ook) */
.player-top { justify-content: flex-end; height: 32px; margin-bottom: 6px; }
.player-close { display: grid; place-items: center; width: 32px; height: 32px; margin-right: -9px; color: var(--soft); transition: color var(--t-fast) ease, opacity var(--t-fast) ease; }
.player-close svg { width: 14px; height: 14px; }
.player-close:hover { color: var(--text); }

.player-stage {
  position: relative;
  aspect-ratio: var(--ratio, 16 / 9);
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  transform-origin: 0 0;
  will-change: transform;
}
.player-stage video,
.player-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.player-ui { margin-top: 8px; color: var(--text); font-variant-numeric: tabular-nums; }
.player.is-open.is-ready .player-ui,
.player.is-open.is-ready .player-top { opacity: 1; }
.player.is-idle.is-open .player-ui { opacity: 0; }
.player.is-embed .player-ui { display: none; }

.player-btn {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: none;
  border-radius: 50%;
  color: var(--text);
  transition: background-color var(--t-fast) ease;
}
.player-btn:hover { background: rgba(232, 230, 226, .1); }
.player-btn svg { width: 13px; height: 13px; }
.player-time, .player-duration { min-width: 2.6em; color: var(--dim); }
.player-scrub {
  position: relative;
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  touch-action: none;
}
.player-scrub-track {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(232, 230, 226, .18);
  transition: height var(--t-fast) ease;
}
.player-scrub:hover .player-scrub-track { height: 3px; }
.player-scrub-buffer,
.player-scrub-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; }
.player-scrub-buffer { background: rgba(232, 230, 226, .2); }
.player-scrub-fill { background: var(--text); }

.player-loading {
  position: absolute;
  left: 50%; top: 50%;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  color: var(--text);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
  pointer-events: none;
}
.player.is-buffering .player-loading { opacity: .8; }
html.player-open { overflow: hidden; }

/* ==========================================================================
   ABOUT: twee kolommen, gecentreerd, niets meer
   ========================================================================== */
.about-page {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 150px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 0;
}
.about {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 40px clamp(32px, 6vw, 80px);
  font-size: var(--fs-base);
  line-height: 1.55;
}
.about-text p + p { margin-top: 1.1em; }
.about-contact { align-self: start; }
.about-contact .city { font-weight: 500; margin-bottom: 1.5em; }
.about-contact a { display: block; width: fit-content; transition: opacity var(--t-fast) ease; }
.about-contact a:hover { opacity: .6; }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } }

/* ==========================================================================
   PALE HORSE
   ========================================================================== */
.ph-head,
.ph-layout,
.ph-rewards,
.ph-donors { max-width: 1120px; margin-left: auto; margin-right: auto; }

.ph-meta { font-size: var(--fs-s); color: var(--dim); }
.ph-title {
  margin-top: 10px;
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}
.ph-head-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 40px;
}
.ph-logline {
  max-width: 30rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-m);
  line-height: 1.45;
  color: var(--soft);
}
.ph-lang {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--dim);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.ph-lang:hover { color: var(--text); border-color: var(--hair-strong); }

.ph-layout {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.ph-main { min-width: 0; max-width: 640px; }

.ph-film .media { aspect-ratio: var(--ratio, 4 / 3); }

.ph-section { padding-top: clamp(44px, 5vw, 64px); }
.ph-section h2 {
  margin-bottom: 14px;
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
  letter-spacing: 0;
}
.ph-section p {
  font-size: var(--fs-read);
  line-height: 1.7;
  color: #d2d0cc;
}
.ph-section p + p { margin-top: 1em; }

.ph-photo { margin-top: clamp(44px, 5vw, 64px); }
.ph-photo .media { aspect-ratio: 3 / 2; border-radius: 12px; }
.ph-photo.is-portrait { max-width: 420px; }
.ph-photo.is-portrait .media { aspect-ratio: 1080 / 1310; }
.ph-photo figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--dim); }

/* ---- Donatiepaneel: geen grijze vlakken, wel een duidelijk kader ---- */
.ph-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  display: grid;
  gap: 14px;
}
.ph-sidebar .ph-lang { justify-self: center; }
.ph-donate {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--hair);
  background: #0b0b0b;
}
.ph-donate-label { font-size: var(--fs-xs); color: var(--dim); }
.ph-figures {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.ph-raised { font-size: 1.375rem; font-weight: 500; letter-spacing: 0; line-height: 1.15; }
.ph-goal { font-size: var(--fs-s); color: var(--dim); }

.ph-bar {
  position: relative;
  height: 3px;
  margin-top: 14px;
  background: rgba(232, 230, 226, .12);
  border-radius: 999px;
  overflow: hidden;
}
.ph-bar-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out);
}

.ph-stats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}
.ph-stats dt { order: 2; font-size: var(--fs-xs); color: var(--dim); }
.ph-stats dd { order: 1; font-size: var(--fs-read); font-weight: 500; }
.ph-stats div { display: flex; flex-direction: column; }

.ph-donate .btn-primary { width: 100%; margin-top: 20px; }
.ph-donate-alt {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: var(--fs-s);
  color: var(--dim);
  transition: color var(--t-fast) ease;
}
.ph-donate-alt:hover { color: var(--text); }

.ph-bank { margin-top: 16px; font-size: var(--fs-s); }
.ph-bank summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  color: var(--dim);
  transition: color var(--t-fast) ease;
}
.ph-bank summary::-webkit-details-marker { display: none; }
.ph-bank summary:hover { color: var(--text); }
.ph-bank summary svg { width: 10px; height: 10px; transition: transform var(--t-med) var(--ease-out); }
.ph-bank[open] summary svg { transform: rotate(180deg); }
.ph-bank dl { display: grid; gap: 6px; margin-top: 12px; }
.ph-bank dl div { display: flex; justify-content: space-between; gap: 12px; }
.ph-bank dt { color: var(--dim); }
.ph-bank dd { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ph-copy {
  margin-top: 10px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--dim);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.ph-copy:hover, .ph-copy.is-copied { color: var(--text); border-color: var(--hair-strong); }
.ph-bank-note { margin-top: 10px; font-size: var(--fs-xs); line-height: 1.5; color: var(--dim); }

/* ---- Tegenprestaties ---- */
.ph-rewards { margin-top: clamp(96px, 12vw, 150px); scroll-margin-top: calc(var(--header-h) + 24px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--antique); font-style: italic; font-weight: 400; font-size: 1.625rem; letter-spacing: 0; }
.section-head p { max-width: 30rem; font-size: var(--fs-s); color: var(--dim); }

.reward-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.reward {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #050505;
  transition: border-color var(--t-med) ease, background-color var(--t-med) ease, transform var(--t-med) var(--ease-out);
}
.reward:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.reward.is-featured { border-color: var(--hair-strong); background: #0b0b0b; }
.reward-flag {
  position: absolute;
  top: 18px; right: 18px;
  padding: 3px 10px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--text);
}
.tier-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  color: var(--soft);
  vertical-align: 1px;
}
.reward-amount { font-size: var(--fs-l); font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.reward-amount small { font-size: var(--fs-s); font-weight: 400; color: var(--dim); }
.reward-title { margin-top: 10px; font-size: var(--fs-base); font-weight: 500; }
.reward-text { margin-top: 6px; font-size: var(--fs-s); line-height: 1.55; color: var(--dim); }
.reward-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  color: var(--dim);
}
.reward-choose { color: var(--text); opacity: .55; transition: opacity var(--t-fast) ease; }
.reward:hover .reward-choose { opacity: 1; }

/* ---- Donateurs + boodschappen ---- */
.ph-donors { margin-top: clamp(80px, 10vw, 120px); }
.donor-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px 40px;
}
.donor { display: grid; gap: 6px; align-content: start; }
.donor-name { font-size: var(--fs-s); font-weight: 500; }
.donor-name span { font-weight: 400; color: var(--dim); }
.donor-message { font-family: var(--serif); font-size: var(--fs-read); line-height: 1.5; color: var(--soft); }
.donor-empty { margin-top: 20px; font-size: var(--fs-s); color: var(--dim); }

/* ---- Mobiel ---- */
.ph-mobilebar { display: none; }
@media (max-width: 900px) {
  .ph-layout { grid-template-columns: 1fr; }
  .ph-sidebar { position: static; order: -1; }
  .ph-main { max-width: none; }
  .ph-mobilebar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    background: rgba(0, 0, 0, .78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--hair);
    border-radius: 999px;
    font-size: var(--fs-s);
    font-variant-numeric: tabular-nums;
    transition: transform var(--t-med) var(--ease-out), opacity var(--t-med) ease;
  }
  .ph-mobilebar.is-hidden { transform: translateY(140%); opacity: 0; }
  .ph-mobilebar .btn { min-height: 38px; padding: 0 16px; font-size: var(--fs-s); }
}

/* ==========================================================================
   DONEERPAGINA
   ========================================================================== */
.donate-page {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.donate-title {
  margin-top: 20px;
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.donate-intro { margin-top: 10px; max-width: 30rem; font-size: var(--fs-base); color: var(--dim); }

.form-step { margin-top: clamp(36px, 5vw, 52px); }
.form-step legend,
.form-step-title {
  display: block;
  margin-bottom: 14px;
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--text);
}
.form-step legend span,
.form-step-title span { color: var(--dim); font-weight: 400; }

.tier-list { display: grid; gap: 8px; }
.tier {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 4px 16px;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.tier:hover { border-color: var(--hair-strong); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier:has(input:checked) { border-color: var(--text); background: rgba(232, 230, 226, .04); }
.tier:has(input:focus-visible) { outline: 1px solid var(--text); outline-offset: 3px; }
.tier-amount { font-size: var(--fs-read); font-weight: 500; font-variant-numeric: tabular-nums; }
.tier-title { font-size: var(--fs-base); font-weight: 500; }
.tier-text { grid-column: 2; font-size: var(--fs-s); color: var(--dim); line-height: 1.5; }

.field { display: grid; gap: 6px; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row { margin-top: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: var(--fs-s); color: var(--soft); }
.field label .opt { color: var(--dim); }
.input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--hair);
  border-radius: 10px;
  font-size: var(--fs-base);
  color: var(--text);
  transition: border-color var(--t-fast) ease;
}
.input::placeholder { color: #5f5e5b; }
.input:hover { border-color: var(--hair-strong); }
.input:focus { border-color: var(--text); outline: none; }
.input[aria-invalid="true"] { border-color: #e0826f; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.amount-input { position: relative; }
.amount-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.amount-input .input { padding-left: 30px; font-variant-numeric: tabular-nums; }
.field-hint { font-size: var(--fs-xs); color: var(--dim); }
.field-error { font-size: var(--fs-xs); color: #e9a191; }
.field-error:empty { display: none; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: var(--fs-s);
  color: var(--soft);
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  border: 1px solid var(--hair-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.check input::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--text);
  transform: scale(0);
  transition: transform var(--t-fast) var(--ease-out);
}
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }

[data-ship-fields][hidden] { display: none; }

.form-submit { margin-top: clamp(32px, 4vw, 44px); display: grid; gap: 12px; justify-items: start; }
.form-submit .note { font-size: var(--fs-xs); color: var(--dim); max-width: 30rem; }

.donate-summary {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: #0b0b0b;
  font-size: var(--fs-s);
}
.donate-summary .media { aspect-ratio: 4 / 3; border-radius: 10px; }
.summary-rows { display: grid; gap: 6px; margin-top: 16px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary-rows dt { color: var(--dim); }
.summary-rows dd { text-align: right; }
.summary-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: var(--fs-read); font-weight: 500; }

.donate-done { margin-top: 24px; max-width: 32rem; }
.donate-done h2 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-l); }
.donate-done p { margin-top: 10px; font-size: var(--fs-base); color: var(--soft); }
.donate-done dl { display: grid; gap: 6px; margin-top: 18px; font-size: var(--fs-s); }
.donate-done dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; }
.donate-done dt { color: var(--dim); }

@media (max-width: 820px) {
  .donate-page { grid-template-columns: 1fr; }
  .donate-summary { position: static; order: -1; }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: calc(100svh - 200px);
  text-align: center;
}
.notfound h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--fs-l); }

/* ==========================================================================
   PAGINA-OVERGANGEN
   ========================================================================== */
@view-transition { navigation: auto; }
/* Een korte, zachte crossfade tussen pagina's; de header blijft staan */
::view-transition-old(root) { animation: vt-out 420ms cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-in 760ms cubic-bezier(.16, 1, .3, 1) 140ms both; }
::view-transition-group(site-header) { animation-duration: 0s; }
/* De oude pagina zakt weg in een waas, de nieuwe komt rustig omhoog in beeld */
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } }

/* ==========================================================================
   MINDER BEWEGING
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .grain { display: none; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* Label "Bekijk de promofilm": altijd zichtbaar, ook op telefoon */
.watch-label {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs);
  color: var(--text);
  pointer-events: none;
  transition: background-color var(--t-fast) ease;
}
.watch-label svg { width: 9px; height: 10px; overflow: visible; }
.media:hover .watch-label { background: rgba(0, 0, 0, .75); }

/* Heel lage schermen: het paneel scrolt gewoon mee, zodat er niets buiten beeld valt */
@media (max-height: 740px) and (min-width: 901px) {
  .ph-sidebar { position: static; }
}

/* ==========================================================================
   CAST EN CREW (Pale Horse) — rustig raster, zoals in het dossier
   ========================================================================== */
.people { padding-top: clamp(64px, 8vw, 96px); }
.people-head h2 {
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
}
.people-head p { margin-top: 4px; font-size: var(--fs-xs); color: var(--dim); }
.people-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(14px, 2.4vw, 28px);
}
.person .media { aspect-ratio: 3 / 4; border-radius: 12px; }
.person .media img { filter: grayscale(1); }
.person.is-empty .media { background: transparent; border: 1px dotted rgba(232, 230, 226, .3); }
.person-role {
  margin-top: 12px;
  font-family: var(--antique);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.2;
}
.person-name { margin-top: 2px; font-size: var(--fs-s); color: var(--soft); }
.person.is-empty .person-name { color: var(--dim); }
.crew-more {
  margin-top: 36px;
  display: grid;
  gap: 8px;
  font-size: var(--fs-s);
}
.crew-more div { display: flex; align-items: baseline; gap: 8px; }
.crew-more dt { flex: none; color: var(--dim); }
.crew-more dd { flex: none; text-align: right; }
.crew-more div::after { content: none; }
.crew-more dt::after {
  content: '';
  display: inline-block;
  width: 0;
}
.crew-more .leader { flex: 1; border-bottom: 1px dotted rgba(232, 230, 226, .22); transform: translateY(-4px); }
@media (max-width: 560px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   PALE HORSE: in het kort, steun, regisseur, eerder werk, tijdlijn, FAQ, delen
   ========================================================================== */
.ph-facts {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  font-size: var(--fs-s);
}
.ph-facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; }
.ph-facts dt { color: var(--dim); }
.ph-facts dd { color: var(--soft); }

.ph-block { padding-top: clamp(64px, 8vw, 96px); }
.ph-block > h2 {
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
}
.ph-block-intro { margin-top: 12px; font-size: var(--fs-read); line-height: 1.7; color: #d2d0cc; }
.ph-subhead {
  margin-top: 44px;
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
}

.spend-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}
.spend-list li { display: grid; gap: 2px; font-size: var(--fs-s); line-height: 1.5; }
.spend-list strong { font-weight: 500; color: var(--text); font-size: var(--fs-base); }
.spend-list span { color: var(--dim); }

.maker {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.maker-photo { aspect-ratio: 3 / 4; border-radius: 12px; }
.maker-photo.is-empty { background: transparent; border: 1px dotted rgba(232, 230, 226, .3); }
.maker-photo img { filter: grayscale(1); }
.maker-text p { font-size: var(--fs-read); line-height: 1.7; color: #d2d0cc; }
.maker-text p + p { margin-top: 1em; }

.prev-work {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(14px, 2.4vw, 28px);
}
.prev-card { display: block; }
.prev-card .media { aspect-ratio: 4 / 3; border-radius: 12px; }
.prev-card .media img { filter: brightness(.85); }
.prev-card:hover .media img { filter: brightness(1); }
.prev-title { margin-top: 10px; font-size: var(--fs-base); font-weight: 500; }
.prev-title span { margin-left: 6px; font-weight: 400; color: var(--dim); }
.prev-facts { margin-top: 6px; display: grid; gap: 3px; font-size: var(--fs-xs); line-height: 1.5; color: var(--dim); }
.prev-quote { margin-top: 28px; max-width: 34rem; }
.prev-quote p { font-family: var(--serif); font-style: italic; font-size: var(--fs-read); line-height: 1.55; color: var(--soft); }
.prev-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: var(--fs-xs); color: var(--dim); }

/* Tijdlijn: een dunne verticale lijn met punten; wat voorbij is, is gevuld */
.timeline { position: relative; margin-top: 24px; display: grid; gap: 18px; padding-left: 22px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 4px; top: 6px; bottom: 6px;
  width: 1px;
  background: rgba(232, 230, 226, .16);
}
.tl-item { position: relative; }
.tl-dot {
  position: absolute;
  left: -22px; top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(232, 230, 226, .4);
  background: var(--bg);
}
.tl-item.is-done .tl-dot { background: var(--dim); border-color: var(--dim); }
.tl-item.is-now .tl-dot { background: var(--text); border-color: var(--text); box-shadow: 0 0 0 4px rgba(232, 230, 226, .12); }
.tl-when { font-size: var(--fs-xs); color: var(--dim); font-variant-numeric: tabular-nums; }
.tl-title { font-size: var(--fs-base); color: var(--soft); }
.tl-item.is-done .tl-title { color: var(--dim); }
.tl-item.is-now .tl-title { color: var(--text); }
.tl-now {
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
}

/* Verwachte levering op de kaarten */
.reward-delivery { margin-top: 14px; font-size: var(--fs-xs); color: var(--dim); }
.reward-delivery + .reward-meta { padding-top: 8px; }

/* Veelgestelde vragen */
.ph-faq { max-width: 1120px; margin: clamp(80px, 10vw, 120px) auto 0; }
.faq-list { margin-top: 20px; max-width: 46rem; display: grid; gap: 6px; }
.faq-item { border: 1px solid var(--hair); border-radius: 12px; background: #050505; }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 18px;
  font-size: var(--fs-base);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 10px; height: 10px; color: var(--dim); transition: transform var(--t-med) var(--ease-out); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { padding: 0 18px 16px; font-size: var(--fs-s); line-height: 1.6; color: var(--dim); max-width: 40rem; }

/* Delen */
.share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  font-size: var(--fs-xs);
}
.share-label { color: var(--dim); }
.share a, .share button { color: var(--soft); padding: 4px 0; transition: color var(--t-fast) ease; }
.share a:hover, .share button:hover { color: var(--text); }

@media (max-width: 640px) {
  .spend-list, .prev-work { grid-template-columns: 1fr; }
  .maker { grid-template-columns: 6rem minmax(0, 1fr); gap: 16px; }
}

/* ==========================================================================
   ONTHULLING BIJ HET SCROLLEN
   ========================================================================== */
/* Tekst verschijnt zacht: een korte fade met een kleine beweging. */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 1100ms ease,
    transform 1300ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
/* Beelden staan er meteen, zonder effect. */
.reveal-on [data-reveal]:has(.media),
.reveal-on .media[data-reveal] { opacity: 1; transform: none; transition: none; }

/* ==========================================================================
   PALE HORSE: nieuwe onderdelen
   ========================================================================== */
.ph-appeal {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 34rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--text);
  text-wrap: balance;
}
.maker-photo img { aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); }
.maker-text a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(232, 230, 226, .4); transition: text-decoration-color var(--t-fast) ease; }
.maker-text a:hover { text-decoration-color: var(--text); }

.prev-list { margin-top: 14px; display: grid; gap: 16px; max-width: 36rem; }
.prev-list a { display: inline-flex; align-items: baseline; gap: 10px; padding: 2px 0; transition: opacity var(--t-fast) ease; }
.prev-list a:hover { opacity: .65; }
.prev-list .prev-title { font-size: var(--fs-read); font-weight: 500; color: var(--text); }
.prev-list .prev-year { font-size: var(--fs-s); color: var(--dim); font-variant-numeric: tabular-nums; }
.prev-list p { margin-top: 2px; font-size: var(--fs-s); line-height: 1.55; color: var(--dim); }

/* Portretfoto (Demetrius): gecentreerd, onderschrift dicht bij het beeld */
.ph-photo.is-portrait { margin-left: auto; margin-right: auto; }
.ph-photo figcaption { margin-top: 6px; }
.ph-photo.is-portrait figcaption { text-align: center; }

/* Crew en cast */
.person-name.is-pending { color: var(--dim); font-style: italic; }
.crew-full { margin-top: 30px; }
.crew-full summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: var(--fs-s);
  color: var(--soft);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.crew-full summary::-webkit-details-marker { display: none; }
.crew-full summary:hover { color: var(--text); border-color: var(--hair-strong); }
.crew-full summary svg { width: 10px; height: 10px; transition: transform var(--t-med) var(--ease-out); }
.crew-full[open] summary svg { transform: rotate(180deg); }
.crew-groups {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  animation: crew-in 500ms var(--ease-out);
}
@keyframes crew-in { from { opacity: 0; transform: translateY(-6px); } }
.crew-group h4 { margin: 0 0 10px; font-size: var(--fs-xs); font-weight: 500; color: var(--dim); }
.crew-group .crew-more { margin-top: 0; }
.crew-more dd.is-pending { color: var(--dim); font-style: italic; }
@media (max-width: 640px) { .crew-groups { grid-template-columns: 1fr; } }

.donor-example {
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px dotted var(--hair-strong);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--dim);
}

/* Delen: alles op één lijn */
.share { align-items: center; line-height: 1.4; }
.share-label, .share a, .share button { display: inline-flex; align-items: center; padding: 4px 0; line-height: 1.4; }

/* ==========================================================================
   FILMPAGINA'S: kleinere hoofdstill, stills in verhouding
   ========================================================================== */
.film-poster { max-width: 640px; margin-left: auto; margin-right: auto; }
.stills { max-width: 520px; }
.film-info--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.film-info--two .press p { font-family: var(--sans); font-size: var(--fs-base); line-height: 1.7; color: var(--soft); max-width: 34rem; }
@media (max-width: 860px) { .film-info--two { grid-template-columns: 1fr; } }

/* ==========================================================================
   DONEREN IN STAPPEN (één rustige kolom, zoals een kassa)
   ========================================================================== */
.checkout { max-width: 600px; margin: 0 auto; }
.steps {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--dim);
}
.steps li { display: grid; gap: 8px; }
.steps li::before {
  content: '';
  height: 2px;
  border-radius: 2px;
  background: rgba(232, 230, 226, .14);
  transition: background-color var(--t-med) ease;
}
.steps li.is-done::before { background: var(--dim); }
.steps li.is-current::before { background: var(--text); }
.steps li.is-current { color: var(--text); }
@media (max-width: 480px) { .steps span { font-size: 12px; } }

.step { margin-top: clamp(36px, 5vw, 52px); }
.step.is-entering { animation: step-in 520ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } }
.checkout-title {
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 2.25rem);
  line-height: 1.1;
  text-wrap: balance;
}
.checkout-title:focus { outline: none; }
.checkout-intro { margin-top: 10px; font-size: var(--fs-base); color: var(--dim); max-width: 32rem; }

.checkout .tier-list { margin-top: 28px; display: grid; gap: 10px; }
.checkout .tier {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #050505;
  grid-template-columns: none;
  transition: border-color var(--t-med) ease, background-color var(--t-med) ease, transform var(--t-med) var(--ease-out);
}
.checkout .tier:hover { border-color: var(--hair-strong); background: #0b0b0b; transform: translateY(-1px); }
.checkout .tier.is-featured { border-color: var(--hair-strong); }
.checkout .tier.is-selected { border-color: var(--text); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.checkout .tier-amount { font-size: var(--fs-l); font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.checkout .tier-amount small { font-size: var(--fs-s); font-weight: 400; color: var(--dim); }
.checkout .tier-title { font-size: var(--fs-base); font-weight: 500; }
.checkout .tier-text { grid-column: auto; font-size: var(--fs-s); line-height: 1.55; color: var(--dim); max-width: 36rem; }
.tier-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; font-size: var(--fs-xs); color: var(--dim); }
.tier-go {
  position: absolute;
  right: 22px; bottom: 18px;
  font-size: var(--fs-xs);
  color: var(--text);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease-out);
}
.checkout .tier:hover .tier-go, .checkout .tier:focus-visible .tier-go { opacity: 1; transform: none; }

.chosen {
  margin: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: #0b0b0b;
}
.chosen > div { display: grid; gap: 2px; }
.chosen-label { font-size: var(--fs-xs); color: var(--dim); }
.chosen-title { font-size: var(--fs-base); font-weight: 500; }
.chosen-amount { font-size: var(--fs-s); color: var(--soft); }
.chosen-change, .review-edit { font-size: var(--fs-s); color: var(--dim); padding: 6px 0; transition: color var(--t-fast) ease; }
.chosen-change:hover, .review-edit:hover { color: var(--text); }

.ship-note { margin: 22px 0 12px; font-size: var(--fs-s); color: var(--dim); }

.step-nav { margin-top: 32px; display: flex; justify-content: space-between; gap: 12px; }
.step-nav .btn-primary { min-width: 160px; }
.submit-note { margin-top: 14px; max-width: 32rem; }

.review { margin-top: 24px; display: grid; border-top: 1px solid var(--hair); }
.review div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  font-size: var(--fs-base);
}
.review dt { color: var(--dim); font-size: var(--fs-s); }
.review dd { overflow-wrap: anywhere; }
@media (max-width: 480px) { .review div { grid-template-columns: 1fr auto; } .review dt { grid-column: 1 / -1; } }
.field-row { align-items: start; }
.film-info--two .credits div { grid-template-columns: 9rem 1fr; }

/* Mobiel: promo en oproep eerst, dan het donatiepaneel, dan het verhaal */
@media (max-width: 900px) {
  .ph-layout { display: flex; flex-direction: column; gap: 0; }
  .ph-main { display: contents; }
  .ph-main > * { order: 4; }
  .ph-main > .ph-film { order: 1; }
  .ph-main > .ph-appeal { order: 2; }
  .ph-sidebar { order: 3; margin-top: 32px; }
  .ph-sidebar .ph-lang { display: inline-flex; }
}
.ph-lang { display: inline-flex; align-items: center; justify-content: center; }

/* ==========================================================================
   RONDE 6
   ========================================================================== */

/* "Steun mijn masterfilm…": Roman Antique regular, iets meer lucht onder de promo */
.ph-appeal {
  margin-top: clamp(40px, 5vw, 60px);
  font-family: var(--antique);
  font-style: normal;
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: 0;
}

/* Credits van de promofilm: klein en uitklapbaar */
.promo-credits { margin-top: 14px; }
.promo-credits summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: var(--fs-xs);
  color: var(--dim);
  transition: color var(--t-fast) ease;
}
.promo-credits summary::-webkit-details-marker { display: none; }
.promo-credits summary:hover { color: var(--text); }
.promo-credits summary svg { width: 9px; height: 9px; transition: transform var(--t-med) var(--ease-out); }
.promo-credits[open] summary svg { transform: rotate(180deg); }
.promo-credits .credits { margin-top: 10px; font-size: var(--fs-xs); gap: 4px; animation: crew-in 400ms var(--ease-out); }
.promo-credits .credits div { grid-template-columns: 8.5rem 1fr; }

/* De regisseur: vierkante kleurenfoto, uitgelijnd met de tekst */
.maker { grid-template-columns: 15rem minmax(0, 1fr); gap: 28px; }
.maker-photo { margin: 0; aspect-ratio: auto; border-radius: 0; }
.maker-photo .media { aspect-ratio: 1 / 1; border-radius: 12px; }
.maker-photo img { aspect-ratio: 1 / 1; filter: none; }
.maker-photo figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--dim); }
@media (max-width: 640px) {
  .maker { grid-template-columns: 1fr; }
  .maker-photo { max-width: 260px; }
}

/* Tegenprestaties: gelijke blokken in een strak raster */
.reward-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.reward-grid > li { display: flex; }
.reward-grid .reward { width: 100%; height: 100%; }
@media (max-width: 1000px) { .reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reward-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* Donateurs: naam en datum met lucht ertussen */
.donor-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.donor-date { font-weight: 400; color: var(--dim); font-variant-numeric: tabular-nums; }
.donor-example { margin-left: 0; }

/* Doneerformulier: velden naast elkaar op dezelfde lijn */
.field-row > .field + .field { margin-top: 0; }
.step .checkout-intro + .field { margin-top: 22px; }

/* QR-code op de bevestiging (enkel op grotere schermen; op een telefoon kun je je eigen scherm niet scannen) */
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 28px; align-items: start; margin-top: 18px; }
.pay-grid dl { order: 1; margin-top: 0; }
.pay-qr { order: 2; margin: 0; }
.pay-qr-code { padding: 10px; background: #fff; border-radius: 12px; line-height: 0; }
.pay-qr-code svg { width: 100%; height: auto; display: block; }
.pay-qr figcaption { margin-top: 10px; font-size: var(--fs-xs); line-height: 1.5; color: var(--dim); }
@media (max-width: 700px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-qr { display: none; }
}
.checkout-faq { margin-top: clamp(64px, 9vw, 96px); text-align: center; }

/* Filmpagina's: meer lucht rond de hoofdstill */
.film-poster { margin-top: clamp(56px, 8vw, 96px); }
.film-poster + .film-info { margin-top: clamp(72px, 10vw, 120px); }
/* Zwart achter de stills, zodat er aan de afgeronde hoeken geen licht randje doorschemert */
.film .media, .work-card .media { background: #000; }

/* About: de tekst verschijnt als één geheel, traag en zacht */
.reveal-on .about-text[data-reveal] { transform: translateY(6px); transition: opacity 1800ms ease, transform 2000ms var(--ease-out); }
.about-contact[data-reveal] { transition-delay: 400ms; }
.steps[hidden] { display: none; }

/* ==========================================================================
   HOME: artefacten, klein en fijn, met korrel en flikkering
   ========================================================================== */
.home--art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 72px);
  padding: var(--header-h) var(--gutter) 56px;
}
.art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.art-replay {
  position: relative;
  display: block;
  border-radius: 2px;
}
.art-stage {
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
}
/* Reeks: één klein venster */
.art-stage { width: clamp(112px, 11vw, 156px); aspect-ratio: 1; }
.art-slot { position: absolute; inset: 0; }
.art-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;          /* zwart rond het voorwerp valt altijd weg */
  filter: brightness(var(--flick, 1));
}
.art-slot img { animation: art-flash 200ms steps(4, end); }
/* Enkel helderheid: zuiver zwart blijft zwart, dus geen vierkant rond het voorwerp */
@keyframes art-flash {
  0%   { filter: brightness(1.45); }
  100% { filter: brightness(var(--flick, 1)); }
}

/* Korrel en vignet over het beeld, zacht uitgevaagd naar de randen */
.art-grain {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240%;
  height: 240%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .2;
  -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,.9) 10%, rgba(0,0,0,.35) 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, rgba(0,0,0,.9) 10%, rgba(0,0,0,.35) 55%, transparent 100%);
  transition: opacity 1.6s ease;
}
.art.is-resting .art-grain { opacity: .1; }

/* Titel en bijschrift */
.art-title {
  font-family: var(--antique);
  font-style: italic;
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: 0;
  line-height: 1;
  color: var(--text);
  transition: opacity var(--t-med) ease;
}
.art-title:hover { opacity: .65; }
@media (max-width: 700px) {
  .art-stage { width: 108px; }
}

/* ==========================================================================
   RONDE 7
   ========================================================================== */
/* Pagina's waar alles in één beeld past (home, work, about): niet scrollen */
@media (min-width: 761px) and (min-height: 540px) {
  html.is-fixed .site-footer { padding-top: 12px; }
  html.is-fixed .about-page,
  html.is-fixed .work-page,
  html.is-fixed .home { padding-top: var(--header-h); padding-bottom: 12px; }
  html.is-fixed,
  html.is-fixed body { height: 100%; overflow: hidden; }
  html.is-fixed body { min-height: 0; }
  html.is-fixed main {
    flex: 1 1 auto;
    min-height: 0 !important;
    overflow-y: auto;            /* vangnet op een heel laag scherm */
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  html.is-fixed main::-webkit-scrollbar { display: none; }
}

/* Het reliëf als een klein artefact */
.ph-photo.is-artefact { max-width: 250px; }
.ph-photo.is-artefact .media { aspect-ratio: 3 / 4; }
.ph-photo.is-artefact figcaption { width: max-content; max-width: min(90vw, 34rem); margin-left: 50%; transform: translateX(-50%); }

/* Zes tegenprestaties: twee rijen van drie */
.reward-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reward-grid { grid-template-columns: 1fr; } }

/* Rustig einde onder de veelgestelde vragen */
.ph-faq { padding-bottom: clamp(120px, 14vw, 200px); }
@media (max-width: 900px) { .ph-faq { padding-bottom: 150px; } }

/* In Een Ander Vaderland: het filmbeeld is iets smaller dan 4:3. De hover-preview
   zoomt net genoeg in zodat er links en rechts geen zwarte rand overblijft. */
.crop-pillar video { transform: scale(1.075); }


/* ==========================================================================
   RONDE 8
   ========================================================================== */
/* Een zachte, stilstaande korrel over de foto's van Pale Horse en de crew */
.ph-photo .media,
.person .media { position: relative; }
.ph-photo .media::before,
.person .media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: url('../img/grain.png') 0 0 / 128px 128px;   /* fijn: één korreltje per schermpixel */
  mix-blend-mode: overlay;
  opacity: .12;
  pointer-events: none;
}
.person.is-empty .media::before { content: none; }
/* Het reliëf krijgt meer ruimte boven en onder */
.ph-photo.is-artefact { margin-top: clamp(72px, 9vw, 112px); margin-bottom: clamp(72px, 9vw, 112px); }
.ph-photo.is-artefact + .ph-section { margin-top: 0; }

/* Doneren, bedragen en formulieren in Inter, op de vroegere maten:
   duidelijker voor cijfers, het IBAN en wat je invult. */
.site-nav, .ph-donate, .ph-mobilebar, .ph-lang, .share, .reward-grid, .checkout, .btn,
input, textarea, select {
  font-family: var(--ui);
  --fs-xs: .75rem;
  --fs-s: .8125rem;
  --fs-base: .875rem;
  --fs-read: .9375rem;
  --fs-m: 1.0625rem;
  --fs-l: 1.375rem;
}
.ph-donate, .reward-grid, .checkout { font-variant-numeric: tabular-nums lining-nums; }
/* About op een laag scherm: iets compacter, zodat alles in beeld blijft */
@media (min-width: 761px) and (max-height: 640px) {
  .about { font-size: var(--fs-s); line-height: 1.5; }
  .about-text p + p { margin-top: .8em; }
}


/* Home: de titel verschijnt zacht bij het laatste artefact */
.js .art:not(.is-titled) .art-title { opacity: 0; pointer-events: none; }
.art-title { transition: opacity 3.2s ease; }
.art.is-titled .art-title:hover { opacity: .65; transition-duration: var(--t-med); }

/* Doneren: korte privacyuitleg boven de bevestigknop */
.privacy-note { margin-top: 18px; max-width: 38rem; line-height: 1.6; }

/* Doneerpagina: de veelgestelde vragen klappen open onder de knop */
.checkout-faq > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.checkout-faq > summary::-webkit-details-marker { display: none; }
.checkout-faq > summary svg { width: 10px; height: 10px; transition: transform var(--t-med) var(--ease-out); }
.checkout-faq[open] > summary svg { transform: rotate(180deg); }
.checkout-faq .faq-list { margin: 24px auto 0; text-align: left; }

/* Zacht einde van een video: beeld vervaagt naar zwart, daarna verdwijnt de speler */
.player-stage { transition: opacity 1s ease; }
.player.is-ending .player-stage { opacity: 0; }
.player.is-ending .player-top { opacity: 0; transition-duration: .6s; }

/* ==========================================================================
   RONDE 9: MOBIEL EN AFWERKING
   ========================================================================== */
/* Speelteken op elke still die een video opent, ook op de computer */
.touch-play { display: grid; }

/* Header verschijnt en verdwijnt zacht bij het scrollen */
.site-header { transition: transform 700ms var(--ease-out), opacity 600ms ease; }
.site-header.is-hidden { opacity: 0; }

/* Knop "Volledige crew" in Inter; de lijst zelf blijft zoals ze is */
.crew-full > summary { font-family: var(--ui); font-size: .8125rem; }

/* Bedankscherm: deelknoppen en vertrouwenszin */
.pay-trust { margin-top: 16px; font-size: var(--fs-xs); color: var(--dim); max-width: 34rem; }
.done-share { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hair); }
.done-share-title { font-size: var(--fs-s); color: var(--soft); }
.done-share-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Laadanimatie: het paard speelt ook bij "Verminder beweging" (klein en rustig) */
@media (prefers-reduced-motion: reduce) {
  .loader--horse .loader-horse { animation-duration: 1.05s !important; animation-iteration-count: infinite !important; }
}

@media (max-width: 900px) {
  /* Pale Horse: credits meteen onder de teaser, paneel op volle breedte */
  .ph-layout { align-items: stretch; }
  .ph-photo.is-artefact { width: 100%; margin-left: auto; margin-right: auto; }
  .ph-main > .promo-credits { order: 1; }
  .ph-sidebar { align-self: stretch; width: 100%; margin-top: 40px; }
  .ph-appeal { margin-top: 28px; }
  .ph-sidebar .share { margin-top: 6px; }
}

@media (max-width: 700px) {
  /* Menu iets kleiner, en een iets dichtere achtergrond zodat tekst er niet doorheen loopt */


  .site-header { background: linear-gradient(to bottom, rgba(0, 0, 0, .96) 55%, rgba(0, 0, 0, 0)); }

  /* Paard kleiner en subtieler */
  .loader--horse .loader-horse { width: 48px; }

  /* Homepagina: kleiner artefact, alles in het absolute midden, niet scrollen */
  html.is-home, html.is-home body { height: 100%; overflow: hidden; }
  html.is-home .home--art { position: fixed; inset: 0; z-index: 1; min-height: 0; padding: 0; }
  html.is-home .site-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; padding-top: 12px; }
  .art { gap: 28px; }
  .art-stage { width: 88px; }
  .art-title { font-size: 1.5rem; }

  /* Reliëf kleiner */
  .ph-photo.is-artefact { max-width: 190px; }

  /* Crew: kleinere portretten, meer lucht */
  .people-grid { grid-template-columns: repeat(2, minmax(0, 140px)); gap: 32px 24px; }

  /* Work: kleinere stills, gecentreerd, onder elkaar */
  .work-grid { max-width: 250px; gap: 40px; }
  .work-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }

  /* About: tekst begint halverwege het scherm, meer ruimte langs de randen */
  .about-page { place-items: start center; padding: 46svh 28px 72px; }
}

/* Lucht tussen tekstblokken op gsm */
@media (max-width: 560px) {
  .ph-section p + p { margin-top: 1.1em; }
  .ph-photo { margin-top: 48px; }
  .ph-section { padding-top: 52px; }
  .section-head p { margin-top: 8px; }
}

/* Foto’s: AVIF waar mogelijk; het <picture>-element telt niet mee in de opmaak */
.media picture { display: contents; }

/* ==========================================================================
   MENU zoals 1080p: klein, ruim, de actieve pagina wit, de rest gedimd
   ========================================================================== */
.site-header { height: auto; padding: 1.5rem 3rem; }
.site-nav { margin-left: auto; }
.site-nav ul { gap: 2.5rem; }
.site-nav a {
  padding: 4px 0;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .05em;
  color: #fff;
  opacity: .4;
  transition: opacity .3s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; opacity: 1; }
.site-name { font-size: 1.125rem; }
@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .site-nav ul { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .site-header { padding: 1rem; }
  .site-nav ul { gap: 1rem; }
}


/* Vertrekken zonder View Transitions: zacht vervagen */
html.is-leaving main, html.is-leaving .site-footer { opacity: 0; transform: translateY(-8px); filter: blur(4px); transition: opacity 300ms ease, transform 300ms ease, filter 300ms ease; }
html { scroll-behavior: auto; }

/* Pijl terug naar boven, onderaan de crowdfundingpagina */
.to-top { display: flex; justify-content: center; padding: 8px 0 clamp(72px, 9vw, 110px); }
.to-top-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  color: var(--soft);
  opacity: .7;
  transition: opacity .3s ease, transform .4s var(--ease-out);
}
.to-top-btn:hover { opacity: 1; transform: translateY(-3px); }
.to-top-btn svg { width: 18px; height: 22px; }
.ph-faq { padding-bottom: clamp(56px, 7vw, 88px); }
@media (max-width: 900px) { .ph-faq { padding-bottom: 48px; } .to-top { padding-bottom: 120px; } }

/* ==========================================================================
   MENU (bijgewerkt): vast bovenaan, transparant, naam en menu netjes uitgelijnd
   ========================================================================== */
.site-header {
  padding: var(--gutter);
  align-items: center;
  background: none;
}
.site-header.is-hidden { transform: none; opacity: 1; }
.site-name { font-size: 1.375rem; line-height: 1; }
.site-nav a { font-size: 12px; padding: 0; line-height: 1; }
@media (max-width: 768px) {
  .site-header { padding: 1.25rem; background: none; }
  .site-name { font-size: 1.125rem; }
  .site-nav a { font-size: 10px; }
}
@media (max-width: 480px) { .site-header { padding: 1rem; } }

/* Work op gsm: titel en jaar iets kleiner */
@media (max-width: 700px) { .work-card-caption { font-size: .75rem; } }

/* Speelteken met licht afgeronde hoeken */
.touch-play::before {
  width: 10px; height: 11px;
  margin-left: 2px;
  clip-path: none;
  background: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M2.1 1.2 8.6 5.5 2.1 9.8Z' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M2.1 1.2 8.6 5.5 2.1 9.8Z' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  background-color: var(--text);
}

/* Doneren: vakje voor updates, en een ruimer bedankscherm */
.check-updates { margin-top: 22px; }
.pay-grid { grid-template-columns: minmax(0, 1fr) 180px; gap: 40px; }
.pay-grid dl div { grid-template-columns: 9rem 1fr; }
.pay-grid dd { white-space: nowrap; }
.done-share { text-align: center; }
.done-share-links { justify-content: center; }
.donate-done .back-link { display: block; text-align: center; margin-top: 28px; }
@media (max-width: 700px) { .pay-grid dd { white-space: normal; } }
.checkout { max-width: 680px; }
.donate-done { max-width: none; }
.pay-grid dl div { grid-template-columns: 8.5rem 1fr; }

/* Bedankscherm: kopieerknop onder de gegevens, vertrouwenszin op één regel */
.pay-grid .pay-copy { margin-top: 10px; }
.pay-grid .pay-copy dd { white-space: normal; }
.donate-done .pay-trust { max-width: none; margin-top: 28px; }
.nowrap { white-space: nowrap; }

/* Tegenprestaties: de inleidende zin op één regel (op brede schermen) */
@media (min-width: 900px) {
  .ph-rewards .section-head p { max-width: none; white-space: nowrap; }
}

/* About op gsm: iets kleiner en verticaal in het midden, zodat tekst en contact in één beeld passen */
@media (max-width: 640px) {
  .about-page { place-items: center; padding: var(--header-h) 24px 0; min-height: 0; flex: 1 0 auto; }
  .about { font-size: .8125rem; line-height: 1.5; gap: 22px; }
  .about-text p + p { margin-top: .75em; }
  .about-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .about-contact .city { width: 100%; margin-bottom: 4px; }
}

/* Menu op gsm: zelfde kleine letters, maar een groter tikvlak voor de vinger */
@media (max-width: 768px) {
  .site-nav a, .site-name { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .site-nav a { padding-inline: 6px; margin-inline: -6px; }
}

/* Stappenbalk op gsm: "Tegenprestatie" krijgt wat meer plaats, zodat de woorden niet tegen elkaar lopen */
@media (max-width: 480px) {
  .steps { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; }
  .steps span { font-size: 11px; white-space: nowrap; }
}
