/* Wij & Wijn — luisterruimtes.nl/wijenwijn
   Houd je aan assets/wijenwijn/design.md: alleen de tokens hieronder, zacht, warm, klein. */

@font-face { font-family: "Allura"; src: url("fonts/allura.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  /* hemel */
  --nacht-diep: #251722;
  --nacht: #332130;
  --aubergine: #4a2d3f;
  --moerbei: #6a3948;
  --bes: #804955;
  --roos: #a55a61;
  --koraal: #ca8277;
  /* duin */
  --oudroze: #cf9a88;
  --perzik: #dfb39c;
  --abrikoos: #e4cbb6;
  --zand: #eddcca;
  --zand-licht: #f7ede2;
  --room: #f0dcc8;
  --sterlicht: #fff4e8;
  /* tekst */
  --inkt: #685c6e;
  --inkt-diep: #4a3f55;
  --tekst-nacht: #f3dcc8;
  --tekst-nacht-zacht: #d9b8a6;

  --f-script: "Allura", "Snell Roundhand", "Segoe Script", cursive;
  --f-kop: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-tekst: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --zacht: cubic-bezier(.22, .61, .36, 1);
  --r-kaart: 22px;
  --wrap: 1080px;
  --schaduw: 0 1px 0 rgba(255, 246, 236, .6) inset, 0 18px 40px -26px rgba(74, 45, 63, .45);
  --schaduw-hoog: 0 1px 0 rgba(255, 246, 236, .7) inset, 0 26px 50px -26px rgba(74, 45, 63, .55);
  --speler-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--zand) 0%, var(--zand) 55%, var(--abrikoos) 100%);
  color: var(--inkt-diep);
  font: 400 1.0625rem/1.6 var(--f-tekst);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* papierkorrel over alles — de warmte van de print */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .18 0 0 0 0 .25 0 0 0 1.1 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * clamp(16px, 4vw, 32px)); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

:focus-visible { outline: 3px solid var(--aubergine); outline-offset: 3px; border-radius: 6px; }
.hemel :focus-visible, .speler :focus-visible, .voet :focus-visible { outline-color: var(--perzik); }

.overslaan {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--room); color: var(--aubergine); padding: 10px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .2s var(--zacht);
}
.overslaan:focus { top: 16px; }

.label {
  font: 600 .75rem/1.2 var(--f-tekst);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.woordmerk {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(3.6rem, 10.5vw, 6.6rem);
  line-height: .95;
  color: var(--room);
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(240, 220, 200, .22);
}

/* ---------------------------------------------------------------- hemel (hero) */
.hemel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--tekst-nacht);
  background:
    radial-gradient(90% 60% at 18% 0%, rgba(37, 23, 34, .9) 0%, rgba(37, 23, 34, 0) 70%),
    linear-gradient(180deg, var(--nacht-diep) 0%, var(--nacht) 46%, #3f2837 78%, #4f3243 100%);
  min-height: min(100svh, 980px);
  display: flex;
  flex-direction: column;
}
.hemel .sterren { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* de bogen uit de cover: concentrische banden die de hemel inkleuren */
.bogen {
  --R: 760px;
  --bx: calc(100% - 280px);
  --by: calc(100% + 220px);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle var(--R) at var(--bx) var(--by),
      #efb393 0, #e49d84 calc(var(--R) * .5), #da8f7f calc(var(--R) * .64),
      var(--koraal) calc(var(--R) * .64 + 1px) calc(var(--R) * .73),
      var(--roos) calc(var(--R) * .73 + 1px) calc(var(--R) * .82),
      var(--bes) calc(var(--R) * .82 + 1px) calc(var(--R) * .91),
      var(--moerbei) calc(var(--R) * .91 + 1px) calc(var(--R) - 1px),
      rgba(106, 57, 72, 0) var(--R));
}
/* zachte schaduwrand binnen elke band, zoals op de print */
.bogen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle var(--R) at var(--bx) var(--by),
      rgba(51, 33, 48, 0) 0 calc(var(--R) * .60),
      rgba(51, 33, 48, .08) calc(var(--R) * .64),
      rgba(51, 33, 48, 0) calc(var(--R) * .645) calc(var(--R) * .70),
      rgba(51, 33, 48, .08) calc(var(--R) * .73),
      rgba(51, 33, 48, 0) calc(var(--R) * .735) calc(var(--R) * .79),
      rgba(51, 33, 48, .09) calc(var(--R) * .82),
      rgba(51, 33, 48, 0) calc(var(--R) * .825) calc(var(--R) * .88),
      rgba(51, 33, 48, .10) calc(var(--R) * .91),
      rgba(51, 33, 48, 0) calc(var(--R) * .915) calc(var(--R) * .97),
      rgba(51, 33, 48, .12) calc(var(--R) - 1px),
      rgba(51, 33, 48, 0) var(--R));
}

.hemel__inhoud {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-top: clamp(44px, 9vh, 112px);
  padding-bottom: clamp(120px, 15vw, 210px);
  text-align: center;
}
.hemel__tekst { max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.hemel__tekst .label { color: var(--perzik); margin-bottom: 18px; }
.ondertitel {
  font-family: var(--f-script);
  font-size: clamp(1.75rem, 4.2vw, 2.4rem);
  line-height: 1.1;
  color: var(--perzik);
  margin-top: 4px;
}
.hemel__intro {
  margin-top: 22px;
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--tekst-nacht-zacht);
  text-wrap: pretty;
}
.hemel__actie { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 68px; width: 100%; }

/* de rij kaartjes: nieuwste vooraan; het volgende kaartje piept rechts in beeld zodat je weet dat je kunt swipen */
.hemel__rij {
  --piep: 44px; min-width: 0;
  display: flex; gap: 12px;
  width: 100%; max-width: 560px;
  padding: 6px 0 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 14px);
}
.hemel__rij::-webkit-scrollbar { display: none; }
.hemel__rij[hidden] { display: none; }
.hemel__rij::before { content: ""; flex: 0 0 1px; }
.hemel__rij .knop-luister { flex: 0 0 calc(100% - var(--piep)); scroll-snap-align: end; scroll-snap-stop: always; }
.hemel__rij.een .knop-luister { flex-basis: 100%; }
.hemel__rij.een { mask-image: none; }
.hemel__stippen { display: flex; gap: 6px; }
.hemel__stippen[hidden] { display: none; }
.hemel__stippen i { width: 6px; height: 6px; border-radius: 50%; background: rgba(240, 220, 200, .32); transition: background .25s var(--zacht), transform .25s var(--zacht); }
.hemel__stippen i.aan { background: var(--room); transform: scale(1.25); }

.knop-luister {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%; min-width: 0;
  padding: 9px 20px 9px 9px;
  border: 0;
  border-radius: 999px;
  background: var(--room);
  color: var(--aubergine);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 246, 236, .45) inset, 0 18px 40px -16px rgba(12, 4, 10, .7), 0 0 60px -10px rgba(240, 220, 200, .35);
  transition: transform .28s var(--zacht), box-shadow .28s var(--zacht), background-color .28s var(--zacht);
}
.knop-luister:hover { transform: translateY(-2px); background: #f6e6d6; box-shadow: 0 0 0 1px rgba(255, 246, 236, .6) inset, 0 22px 46px -16px rgba(12, 4, 10, .75), 0 0 70px -6px rgba(240, 220, 200, .45); }
.knop-luister:active { transform: translateY(0) scale(.985); }
.knop-luister__rond {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--aubergine);
  color: var(--room);
}
.knop-luister__rond svg { width: 22px; height: 22px; fill: currentColor; }
.knop-luister__tekst { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.knop-luister__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knop-luister__label { font-weight: 650; font-size: 1.0625rem; line-height: 1.25; }
.knop-luister__sub { font-size: .875rem; line-height: 1.35; color: var(--moerbei); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knop-luister__sub:empty { display: none; }

.ico-pauze { display: none; }
.speelt .ico-speel { display: none; }
.speelt .ico-pauze { display: block; }

.binnenkort {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(240, 220, 200, .08);
  box-shadow: 0 0 0 1px rgba(240, 220, 200, .22) inset;
  color: var(--tekst-nacht-zacht);
  font-size: .9375rem;
}
.binnenkort::before {
  content: "";
  width: 12px; height: 12px; flex: none;
  background: var(--room);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.binnenkort[hidden] { display: none; }

.hemel__cover { margin: 0; position: relative; width: min(58vw, 250px); }
.hemel__cover::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 220, 200, .28), rgba(240, 220, 200, 0));
  filter: blur(6px);
}
.hemel__cover img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(240, 220, 200, .2), 0 34px 70px -28px rgba(15, 5, 12, .8);
}

.duin { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 13vw, 190px); z-index: 2; display: block; }
.duin__achter { fill: var(--oudroze); opacity: .85; }
.duin__voor { fill: var(--zand); }

@media (min-width: 900px) {
  .hemel__inhoud {
    grid-template-columns: 1.05fr .95fr;
    justify-items: start;
    text-align: left;
    padding-top: clamp(72px, 11vh, 132px);
  }
  .hemel__tekst { align-items: flex-start; }
  .hemel__actie { align-items: flex-start; }
  .hemel__rij { max-width: 520px; }
  .hemel__cover { width: min(100%, 440px); justify-self: end; }
}
@media (min-width: 1360px) {
  .bogen { --R: 860px; --bx: calc(50% + 400px); }
}
@media (max-width: 899px) {
  /* op de telefoon komen de bogen als een zonsondergang achter de duin op, onder de tekst */
  .bogen { --R: 340px; --bx: 50%; --by: calc(100% - 40px); }
}
@media (max-width: 380px) {
  .knop-luister { padding-right: 18px; gap: 12px; }
}

/* ---------------------------------------------------------------- secties */
main { position: relative; z-index: 1; }
.afleveringen { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(72px, 9vw, 112px); }
.sectie-kop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid rgba(165, 90, 97, .28);
  padding-bottom: 14px;
}
.sectie-kop h2, .over h2 {
  font-family: var(--f-kop);
  font-style: italic;
  font-weight: 420;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--inkt);
}
.sectie-kop__meta { font-size: .9375rem; color: var(--inkt-diep); white-space: nowrap; }
.sectie-kop h2 { flex: 0 1 auto; min-width: 0; }

/* ---------------------------------------------------------------- afleveringen */
.lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.afl {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  grid-template-areas: "speel kop reacties klap" "uit uit uit uit";
  align-items: center;
  column-gap: 12px;
  padding: 12px clamp(12px, 2.2vw, 18px) 12px 12px;
  background: rgba(247, 237, 226, .62);
  border: 1px solid rgba(215, 151, 129, .4);
  border-radius: var(--r-kaart);
  box-shadow: var(--schaduw);
  transition: background-color .3s var(--zacht), border-color .3s var(--zacht), box-shadow .3s var(--zacht), transform .3s var(--zacht);
  scroll-margin: 24px;
}
.afl:hover { background: rgba(250, 242, 233, .78); box-shadow: var(--schaduw-hoog); }
.afl.is-actief { background: rgba(255, 246, 236, .8); border-color: rgba(74, 45, 63, .28); }
.afl.uitgelicht { animation: oplichten 2.6s var(--zacht) 1; }
.afl__kop { grid-area: kop; min-width: 0; }
.afl__klap {
  grid-area: klap;
  width: 40px; height: 40px; margin-right: -6px;
  border: 0; background: none; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--inkt-diep);
  transition: background .2s var(--zacht), color .2s var(--zacht);
}
.afl__klap:hover { background: rgba(74, 45, 63, .06); color: var(--aubergine); }
.afl__klap svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--zacht); }
.afl.open .afl__klap svg { transform: rotate(180deg); }
.afl__uit { grid-area: uit; padding: 8px 0 0 60px; }
.afl__uit[hidden] { display: none; }
.afl .reacties { grid-area: reacties; margin-left: 0; }
@media (max-width: 520px) {
  .afl { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "speel kop klap" "speel reacties klap" "uit uit uit"; row-gap: 0; }
  .afl .reacties { justify-self: start; margin-left: -8px; }
  .afl__uit { padding-left: 0; }
}
@keyframes oplichten {
  0% { box-shadow: var(--schaduw), 0 0 0 0 rgba(165, 90, 97, .0); }
  25% { box-shadow: var(--schaduw), 0 0 0 6px rgba(165, 90, 97, .22); }
  100% { box-shadow: var(--schaduw), 0 0 0 0 rgba(165, 90, 97, 0); }
}

.afl__speel {
  grid-area: speel;
  position: relative;
  width: 48px; height: 48px;
  padding: 0; border: 0;
  border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--aubergine);
  color: var(--room);
  cursor: pointer;
  box-shadow: 0 8px 18px -10px rgba(74, 45, 63, .8);
  transition: transform .25s var(--zacht), box-shadow .25s var(--zacht);
}
.afl__speel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.afl__speel::after { content: ""; position: absolute; inset: 0; background: rgba(40, 18, 32, .28); transition: background .25s var(--zacht); }
.afl__speel svg { position: relative; z-index: 1; width: 20px; height: 20px; fill: currentColor; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.afl__speel:hover { transform: scale(1.04); box-shadow: 0 10px 22px -10px rgba(74, 45, 63, .9); }
.afl__speel:hover::after { background: rgba(40, 18, 32, .42); }
.afl__speel:active { transform: scale(.96); }
@media (max-width: 520px) { .afl__speel { width: 44px; height: 44px; align-self: start; margin-top: 2px; } }
.afl__speel.laadt { animation: ademen 1.4s ease-in-out infinite; }
@keyframes ademen { 50% { box-shadow: 0 0 0 7px rgba(74, 45, 63, .12); } }

.afl__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px;
  margin-top: 2px;
  font-size: .8125rem; line-height: 1.4;
  color: var(--inkt-diep);
  font-variant-numeric: tabular-nums;
}
.afl__nr { font-weight: 650; color: var(--moerbei); letter-spacing: .02em; }
.afl__nieuw {
  display: inline-block;
  font: 650 .625rem/1 var(--f-tekst);
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 999px;
  background: var(--aubergine); color: var(--room);
}
.afl__stip { opacity: .45; }

.afl__titel {
  font-family: var(--f-kop);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.25;
  color: var(--aubergine);
  text-wrap: pretty;
}
.afl__titel button {
  all: unset;
  cursor: pointer;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}
.afl__titel button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(74, 45, 63, .35); }
.afl__titel button:focus-visible { outline: 3px solid var(--aubergine); outline-offset: 3px; }
.afl:first-child .afl__titel { font-size: clamp(1.15rem, 2.3vw, 1.35rem); }
.afl__titel button { display: block; }

.afl__tekst {
  margin-top: 2px;
  max-width: 64ch;
  color: var(--inkt-diep);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.afl__tekst.open { display: block; -webkit-line-clamp: unset; line-clamp: unset; }
.afl__tekst:empty { display: none; }

.afl__voet { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 2px; font-size: .875rem; }
.voortgang { display: inline-flex; align-items: center; gap: 8px; color: var(--inkt-diep); min-height: 44px; }
.voortgang[hidden] { display: none; }
.voortgang__balk { width: 56px; height: 4px; border-radius: 4px; background: rgba(74, 45, 63, .14); overflow: hidden; }
.voortgang__balk i { display: block; height: 100%; width: 0; background: var(--roos); border-radius: inherit; }
.voortgang.klaar .voortgang__balk i { background: var(--inkt); }

.tekstknop {
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--aubergine);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: underline;
  text-decoration-color: rgba(74, 45, 63, .25);
  text-underline-offset: 4px;
  transition: text-decoration-color .2s var(--zacht);
}
.tekstknop:hover { text-decoration-color: currentColor; }

/* reacties: wijnglas (telt elke start) en hartje (bewust achtergelaten) — rechts in de voet, als bij een post */
.reacties { display: inline-flex; align-items: center; gap: 2px; }
.reactie {
  min-height: 44px; padding: 0 8px; border: 0; background: none;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--inkt-diep); font: inherit; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums;
  border-radius: 999px; transition: background .2s var(--zacht), color .2s var(--zacht), transform .2s var(--zacht);
}
.reactie svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: fill .25s var(--zacht), transform .25s var(--zacht); }
.reactie b { font-weight: 600; }
.reactie--glas { cursor: default; }
.reactie--glas svg { fill: rgba(141, 46, 74, .12); }
.reactie--hart { cursor: pointer; }
.reactie--hart:hover { background: rgba(74, 45, 63, .06); color: var(--aubergine); }
.reactie--hart.aan { color: var(--roos); }
.reactie--hart.aan svg { fill: currentColor; animation: hartklop .45s var(--zacht); }
.reactie b.tik { animation: tik .35s var(--zacht); }
@keyframes hartklop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes tik { from { transform: translateY(-4px); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .reactie--hart.aan svg, .reactie b.tik { animation: none; } }

/* "En wij, dat zijn…" — de twee stemmen achter de podcast */
.wij { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(74, 45, 63, .14); }
.wij__kop { margin: 0 0 10px; font-family: var(--f-kop); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100; font-size: 1.3rem; color: var(--aubergine); }
.wij p + p { margin-top: .8em; }
.tekstknop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* drie ademende balkjes bij wat nu speelt */
.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; margin-left: 2px; }
.is-actief .eq { display: inline-flex; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--roos); transform-origin: bottom; transform: scaleY(.35); }
.is-spelend .eq i { animation: eq 1.1s ease-in-out infinite; }
.is-spelend .eq i:nth-child(2) { animation-delay: -.4s; animation-duration: 1.3s; }
.is-spelend .eq i:nth-child(3) { animation-delay: -.8s; animation-duration: .95s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* lege staat */
.leeg { text-align: center; padding: clamp(28px, 6vw, 56px) 20px; border-radius: var(--r-kaart); background: rgba(247, 237, 226, .5); border: 1px dashed rgba(165, 90, 97, .38); }
.leeg[hidden] { display: none; }
.leeg__glas { width: 46px; height: 69px; margin: 0 auto 14px; fill: none; stroke: var(--inkt); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.leeg__tekst { font-family: var(--f-kop); font-variation-settings: "SOFT" 100; font-size: 1.25rem; color: var(--aubergine); }
.leeg__script { font-family: var(--f-script); font-size: 2rem; color: var(--inkt); margin-top: 4px; }

/* ---------------------------------------------------------------- de andere podcast + de overgang */
.balk { position: relative; z-index: 3; display: flex; justify-content: flex-end; padding-top: 18px; }
.wissel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem;
  color: var(--tekst-nacht); background: rgba(243, 220, 200, .08); box-shadow: 0 0 0 1px rgba(243, 220, 200, .22) inset;
  transition: background .25s var(--zacht), transform .25s var(--zacht);
}
.wissel:hover { background: rgba(243, 220, 200, .16); transform: translateY(-1px); }
.wissel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.schenk {
  position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 200; pointer-events: none;
  background: linear-gradient(180deg, #e0b86a, #cf9d45 40%, #9c7330);
  transition: height .85s cubic-bezier(.5, 0, .2, 1);
}
.schenk:not(.vol):not(.leegt) { visibility: hidden; }
.schenk__schuim { position: absolute; left: 0; right: 0; top: -58px; width: 100%; height: 60px; fill: #faf6ee; }
.schenk.vol { height: 100vh; }
.schenk.wijn { background: linear-gradient(180deg, var(--roos), var(--moerbei) 50%, var(--nacht)); }
.schenk.wijn .schenk__schuim { fill: var(--tekst-nacht-zacht); }
.js .schenk.leegt { height: 100vh; transition: none; }
.js .schenk.leegt.weg { height: 0; transition: height .75s cubic-bezier(.6, 0, .3, 1) .05s; }
@media (prefers-reduced-motion: reduce) { .schenk { transition: none !important; } }

/* ---------------------------------------------------------------- over */
.over { padding-bottom: clamp(88px, 11vw, 136px); }
.over__raster { display: grid; gap: 22px 64px; border-top: 1px solid rgba(165, 90, 97, .28); padding-top: clamp(40px, 6vw, 64px); }
.over h2 em { font-style: italic; }
.over__lead {
  margin-top: 14px;
  font-family: var(--f-kop);
  font-variation-settings: "SOFT" 100;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  color: var(--aubergine);
  max-width: 22ch;
  text-wrap: balance;
}
.over__tekst p { max-width: 58ch; text-wrap: pretty; }
.themas { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.themas li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(247, 237, 226, .6);
  box-shadow: 0 0 0 1px rgba(165, 90, 97, .3) inset;
  font-size: .9375rem;
  color: var(--aubergine);
}
.themas li::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--roos);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
@media (min-width: 820px) {
  .over__raster { grid-template-columns: 5fr 7fr; align-items: start; }
}

/* ---------------------------------------------------------------- voet */
.voet {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #4f3243 0%, var(--nacht) 38%, var(--nacht-diep) 100%);
  color: var(--tekst-nacht-zacht);
  text-align: center;
  padding: clamp(120px, 14vw, 180px) 20px calc(56px + var(--speler-h));
}
.voet .sterren { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.voet__golf { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(70px, 10vw, 150px); z-index: 1; display: block; }
.voet__golf-a { fill: var(--roos); opacity: .9; }
.voet__golf-b { fill: var(--abrikoos); }
.voet__inhoud { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; }
.woordmerk--klein { font-size: clamp(2.8rem, 7vw, 3.8rem); }
.voet__groet { font-family: var(--f-kop); font-style: italic; font-variation-settings: "SOFT" 100; font-size: 1.125rem; color: var(--tekst-nacht); }
.voet__klein { margin-top: 18px; font-size: .875rem; }
.voet__klein a { color: var(--tekst-nacht); text-decoration-color: rgba(243, 220, 200, .35); text-underline-offset: 4px; }
.voet__klein a:hover { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- speler */
.speler {
  position: fixed;
  z-index: 60;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 1000px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-areas: "cover info knoppen" "lijn lijn lijn";
  align-items: center;
  gap: 6px 12px;
  padding: 10px 12px 8px 10px;
  border-radius: 24px;
  color: var(--tekst-nacht);
  background: rgba(45, 28, 42, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 0 0 1px rgba(240, 220, 200, .14) inset, 0 26px 60px -22px rgba(18, 6, 14, .8);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform .5s var(--zacht), opacity .4s var(--zacht);
}
.speler[hidden] { display: none; }
.speler.zichtbaar { transform: none; opacity: 1; }
.speler__cover { grid-area: cover; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(240, 220, 200, .18); }
.speler__info { grid-area: info; min-width: 0; }
.speler__titel { font-weight: 600; font-size: .9375rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speler__sub { font-size: .8125rem; color: var(--tekst-nacht-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speler__knoppen { grid-area: knoppen; display: flex; align-items: center; gap: 2px; }
.speler__lijn { grid-area: lijn; display: flex; align-items: center; gap: 10px; min-width: 0; }
.tijd { font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--tekst-nacht-zacht); min-width: 36px; }
.tijd--rest { text-align: right; }

.ik {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--tekst-nacht);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color .2s var(--zacht), transform .2s var(--zacht);
}
.ik:hover { background: rgba(240, 220, 200, .1); }
.ik:active { transform: scale(.94); }
.ik svg { width: 28px; height: 28px; }
.ik__boog, .ik__pijl { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ik text { font: 700 8.5px/1 var(--f-tekst); fill: currentColor; text-anchor: middle; }
.ik--speel { width: 48px; height: 48px; background: var(--room); color: var(--aubergine); margin-inline: 2px; }
.ik--speel:hover { background: #f6e6d6; }
.ik--speel svg { width: 22px; height: 22px; fill: currentColor; }
.ik--speel.laadt { animation: ademen-licht 1.4s ease-in-out infinite; }
@keyframes ademen-licht { 50% { box-shadow: 0 0 0 6px rgba(240, 220, 200, .16); } }

.snelheid {
  flex: none;
  margin-left: 2px;
  min-width: 52px; height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(240, 220, 200, .1);
  box-shadow: 0 0 0 1px rgba(240, 220, 200, .25) inset;
  color: var(--tekst-nacht);
  font-size: .8125rem; font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .2s var(--zacht);
}
.snelheid:hover { background: rgba(240, 220, 200, .18); }

/* tijdlijn */
.speler input[type="range"] {
  --p: 0%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.speler input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--perzik) var(--p), rgba(240, 220, 200, .2) var(--p));
}
.speler input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; margin-top: -5px;
  border-radius: 50%;
  background: var(--sterlicht);
  box-shadow: 0 0 0 4px rgba(223, 179, 156, .22), 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .2s var(--zacht);
}
.speler input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
.speler input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(240, 220, 200, .2); }
.speler input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--perzik); }
.speler input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--sterlicht); box-shadow: 0 0 0 4px rgba(223, 179, 156, .22); }
.speler input[type="range"]:focus-visible { outline: none; }
.speler input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--nacht), 0 0 0 6px var(--perzik); }
.speler input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--nacht), 0 0 0 6px var(--perzik); }

@media (min-width: 760px) {
  .speler {
    grid-template-columns: 56px minmax(150px, 250px) auto minmax(0, 1fr);
    grid-template-areas: "cover info knoppen lijn";
    gap: 0 16px;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .speler__cover { width: 56px; height: 56px; border-radius: 14px; }
}

/* melding */
/* ---------------------------------------------------------------- insturen: vaste knop rechtsonder, altijd in beeld */
.instuur {
  position: fixed; z-index: 65;
  right: 12px;
  bottom: calc(var(--speler-h) + 12px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 0; border-radius: 999px;
  background: rgba(74, 45, 63, .82); color: var(--tekst-nacht, #f5e9de);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  text-align: left; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 246, 236, .14) inset, 0 10px 24px -12px rgba(18, 6, 14, .7);
  transition: transform .25s var(--zacht), box-shadow .25s var(--zacht), bottom .3s var(--zacht), background-color .25s var(--zacht);
}
.instuur:hover { transform: translateY(-1px); background: rgba(106, 57, 72, .92); }
.instuur:active { transform: translateY(0) scale(.98); }
.instuur:focus-visible { outline: 3px solid var(--roos); outline-offset: 3px; }
.instuur__glas { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(165, 90, 97, .9); color: var(--room); }
.instuur__glas svg { width: 15px; height: 15px; fill: rgba(255, 255, 255, .15); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.instuur__tekst { font-weight: 650; font-size: .8125rem; line-height: 1; white-space: nowrap; }
.instuur__pijl { flex: none; width: 16px; height: 16px; display: grid; place-items: center; opacity: .8; }
.instuur__pijl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--zacht); }
.instuur:hover .instuur__pijl svg { transform: translateX(2px); }
.instuur.gloei { animation: gloei 2.2s var(--zacht) 1; }
@keyframes gloei {
  0% { box-shadow: 0 0 0 1px rgba(255, 246, 236, .14) inset, 0 10px 24px -12px rgba(18, 6, 14, .7), 0 0 0 0 rgba(240, 220, 200, .28); }
  55% { box-shadow: 0 0 0 1px rgba(255, 246, 236, .28) inset, 0 10px 24px -12px rgba(18, 6, 14, .7), 0 0 0 8px rgba(240, 220, 200, 0); }
  100% { box-shadow: 0 0 0 1px rgba(255, 246, 236, .14) inset, 0 10px 24px -12px rgba(18, 6, 14, .7), 0 0 0 0 rgba(240, 220, 200, 0); }
}
@media (prefers-reduced-motion: reduce) { .instuur.gloei { animation: none; } }

/* het paneel */
.instuur-paneel {
  margin: auto 14px calc(14px + env(safe-area-inset-bottom, 0px)) auto;
  width: min(440px, calc(100% - 28px));
  padding: 0; border: 0; border-radius: 22px;
  background: var(--zand-licht, #f7ede2); color: var(--inkt-diep);
  box-shadow: 0 30px 70px -24px rgba(18, 6, 14, .7);
}
.instuur-paneel::backdrop { background: rgba(37, 23, 34, .55); backdrop-filter: blur(3px); }
.instuur-paneel[open] { animation: paneel-in .3s var(--zacht); }
@keyframes paneel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.instuur-paneel__vorm, .instuur-paneel__dank { position: relative; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.instuur-paneel__vorm[hidden], .instuur-paneel__dank[hidden] { display: none; }
.instuur-paneel__sluit { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--inkt); cursor: pointer; display: grid; place-items: center; }
.instuur-paneel__sluit:hover { background: rgba(74, 45, 63, .08); color: var(--aubergine); }
.instuur-paneel__sluit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.instuur-paneel__kop { margin: 0 32px 0 0; font-family: var(--f-kop); font-weight: 560; font-variation-settings: "SOFT" 100; font-size: 1.45rem; line-height: 1.2; color: var(--aubergine); text-wrap: balance; }
.instuur-paneel__lead { margin: -6px 0 0; color: var(--inkt-diep); }
.instuur-paneel__keuze { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.instuur-paneel__keuze label { position: relative; cursor: pointer; }
.instuur-paneel__keuze input { position: absolute; opacity: 0; inset: 0; }
.instuur-paneel__keuze span { display: block; padding: 11px 6px; text-align: center; border-radius: 12px; font-weight: 600; font-size: .875rem; white-space: nowrap; background: rgba(74, 45, 63, .06); border: 1.5px solid transparent; transition: background .2s var(--zacht), border-color .2s var(--zacht), color .2s var(--zacht); }
.instuur-paneel__keuze input:checked + span { background: var(--aubergine); color: var(--room); }
.instuur-paneel__keuze input:focus-visible + span { border-color: var(--roos); }
.instuur-paneel__veld { display: flex; flex-direction: column; gap: 6px; }
.instuur-paneel__label { font-weight: 600; font-size: .9375rem; color: var(--aubergine); }
.instuur-paneel__label em { font-style: normal; font-weight: 400; color: var(--inkt); }
.instuur-paneel textarea, .instuur-paneel input[type="text"] {
  width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 12px;
  border: 1.5px solid rgba(74, 45, 63, .18); background: #fff9f3; color: var(--aubergine);
  font: inherit; font-size: 1rem; line-height: 1.45; resize: vertical;
}
.instuur-paneel textarea:focus, .instuur-paneel input[type="text"]:focus { outline: none; border-color: var(--roos); box-shadow: 0 0 0 3px rgba(165, 90, 97, .18); }
.instuur-paneel__honing { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.instuur-paneel__fout { margin: -4px 0 0; color: #a3303a; font-size: .9rem; }
.instuur-paneel__fout[hidden] { display: none; }
.instuur-paneel__verstuur {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--aubergine); color: var(--room); font: inherit; font-weight: 650; font-size: 1rem;
  transition: background .2s var(--zacht), transform .2s var(--zacht);
}
.instuur-paneel__verstuur:hover { background: var(--moerbei); transform: translateY(-1px); }
.instuur-paneel__verstuur:disabled { opacity: .6; cursor: wait; }
.instuur-paneel__verstuur svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.instuur-paneel__dank-script { margin: 0; font-family: var(--f-script); font-size: 2.4rem; line-height: 1; color: var(--roos); }

.melding {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(var(--speler-h) + 28px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--aubergine);
  color: var(--tekst-nacht);
  font-size: .9375rem;
  box-shadow: 0 18px 40px -18px rgba(18, 6, 14, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--zacht), transform .3s var(--zacht);
}
.melding.zichtbaar { opacity: 1; transform: translate(-50%, 0); }

/* binnenkomst van secties */
.js .onthul { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--zacht), transform .8s var(--zacht); }
.js .onthul.zichtbaar { opacity: 1; transform: none; }
.js .lijst .afl { animation: binnen .7s var(--zacht) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes binnen { from { opacity: 0; transform: translateY(10px); } }

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