/* De Henkcast: bold & playful, gebouwd op de rood-mosterd huisstijl van de artwork. */

:root {
  --red: #D63A1F;
  --red-deep: #A42A12;
  --mustard: #F5B83D;
  --mustard-soft: #FCE3A6;
  --cream: #FFF4DE;
  --paper: #FFFAF0;
  --ink: #1F140E;
  --ink-soft: #5B4A3F;
  --teal: #17897D;
  --pink: #F57C99;
  --spotify: #1ED760;

  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat Brush", "Comic Sans MS", cursive;

  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 1rem/1 var(--body);
  padding: .95em 1.4em;
  border: var(--line); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--spotify { background: var(--spotify); }
.btn--primary { background: var(--red); color: var(--paper); }
.btn--ghost { background: var(--paper); }
.btn--light { background: var(--paper); }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { padding: 1.1em 1.8em; font-size: 1.1rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Navigatie ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: .3em; text-decoration: none; font-family: var(--display); }
.logo__de { font-size: .95rem; background: var(--mustard); border: 2px solid var(--ink); padding: .1em .35em; border-radius: 6px; transform: rotate(-6deg); }
.logo__name { font-size: 1.6rem; color: var(--red); -webkit-text-stroke: 1px var(--ink); }
.logo--light .logo__name { color: var(--mustard); -webkit-text-stroke: 0; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-weight: 700; text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; background: var(--red); transition: right .2s ease; }
.nav__links a:hover::after { right: 0; }
.nav__end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang button { font: 700 .8rem/1 var(--body); padding: .5em .75em; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(245,184,61,.35) 0 18%, transparent 19%),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.035) 0 2px, transparent 2px 14px),
    var(--red);
  color: var(--paper);
  border-bottom: var(--line);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 80px 96px; }
.kicker { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; background: var(--ink); color: var(--mustard); padding: .55em 1em; border-radius: 999px; }
.dot { width: .6em; height: .6em; border-radius: 50%; background: var(--spotify); box-shadow: 0 0 0 0 rgba(30,215,96,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(30,215,96,0); } 100% { box-shadow: 0 0 0 0 rgba(30,215,96,0); } }
.hero__title { font-size: clamp(3.4rem, 9vw, 7.6rem); margin: 22px 0 22px; color: var(--mustard); text-shadow: 5px 5px 0 var(--ink); }
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--paper); transform: rotate(-2deg); transform-origin: left; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: #FFE9DA; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stats { display: flex; gap: 36px; margin: 40px 0 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-family: var(--display); font-size: 2.2rem; color: var(--mustard); line-height: 1; }
.stats dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #FFD9C7; margin-top: 6px; }

.hero__art { position: relative; justify-self: center; width: min(100%, 460px); }
.poster { margin: 0; border: 4px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 12px 12px 0 var(--ink); transform: rotate(3deg); transition: transform .4s ease; background: var(--ink); }
.hero__art:hover .poster { transform: rotate(0deg) scale(1.02); }
.sticker { position: absolute; font-family: var(--hand); color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--shadow-sm); }
.sticker--round {
  top: -26px; left: -34px; width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 14px;
  background: var(--mustard); font-size: 1.45rem; line-height: 1.05;
  transform: rotate(-14deg); animation: wobble 6s ease-in-out infinite;
}
.sticker--tag { bottom: 28px; right: -22px; background: var(--paper); padding: .35em .8em; border-radius: 10px; font-size: 1.35rem; transform: rotate(-5deg); }
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.04); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--mustard); border-bottom: var(--line); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: scroll 38s linear infinite; }
.ticker__track span { font-family: var(--display); font-size: 1.35rem; padding: 16px 0; padding-right: .6em; text-transform: uppercase; letter-spacing: .04em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Secties ---------- */
.section { padding-block: 96px; }
.section--cream { background: var(--cream); border-block: var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 44px; }
.section__title { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.section__sub { font-family: var(--hand); font-size: 1.6rem; color: var(--red-deep); transform: rotate(-1.5deg); }

/* ---------- Uitgelichte aflevering ---------- */
.feature {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
  background: var(--mustard); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; margin-bottom: 48px; position: relative;
}
.feature__skeleton { grid-column: 1 / -1; height: 300px; border-radius: 12px; background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.12), rgba(0,0,0,.06)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.feature__cover { border: var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--ink); transform: rotate(-2deg); box-shadow: var(--shadow-sm); }
.feature__cover img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-block; font: 700 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; background: var(--red); color: var(--paper); border: 2px solid var(--ink); padding: .5em .8em; border-radius: 999px; }
.feature h3 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.meta span + span::before { content: "•"; margin-right: 16px; color: var(--red); }
.feature p.desc { margin: 16px 0 24px; max-width: 42em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Afleveringenraster ---------- */
.episodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.ep {
  background: var(--paper); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ep:nth-child(odd):hover { transform: rotate(-1.5deg) translateY(-4px); box-shadow: var(--shadow); }
.ep:nth-child(even):hover { transform: rotate(1.5deg) translateY(-4px); box-shadow: var(--shadow); }
.ep__cover { position: relative; aspect-ratio: 1; border-bottom: var(--line); background: var(--ink); }
.ep__cover img { width: 100%; height: 100%; object-fit: cover; }
.ep__num { position: absolute; left: 12px; top: 12px; font-family: var(--display); font-size: 1.4rem; background: var(--mustard); border: 2px solid var(--ink); border-radius: 10px; padding: .1em .45em; box-shadow: 3px 3px 0 var(--ink); }
.ep__play {
  position: absolute; right: 12px; bottom: 12px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--spotify); border: var(--line); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease;
}
.ep__play:hover { transform: scale(1.08); }
.ep__play svg { width: 22px; height: 22px; margin-left: 3px; }
.ep__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ep__body h3 { font-size: 1.45rem; }
.ep__body p { font-size: .95rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ep__link { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; color: var(--red-deep); }
.ep__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.feed-error { margin-top: 20px; font-weight: 700; }

/* ---------- Onderwerpen ---------- */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.topic { border: var(--line); border-radius: var(--radius); padding: 28px 24px 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.topic:nth-child(1) { transform: rotate(-1.5deg); }
.topic:nth-child(2) { transform: rotate(1deg) translateY(12px); }
.topic:nth-child(3) { transform: rotate(-.8deg); }
.topic:nth-child(4) { transform: rotate(1.6deg) translateY(10px); }
.topic:hover { transform: rotate(0) translateY(-6px); }
.topic--mustard { background: var(--mustard); }
.topic--teal { background: var(--teal); color: var(--paper); }
.topic--pink { background: var(--pink); }
.topic--red { background: var(--red); color: var(--paper); }
.topic__ico { width: 56px; height: 56px; margin-bottom: 18px; }
.topic h3 { font-size: 1.55rem; margin-bottom: 10px; }
.topic p { font-size: .98rem; }

/* ---------- Volgband ---------- */
.follow { background: var(--ink); color: var(--paper); padding-block: 96px; text-align: center; position: relative; overflow: hidden; }
.follow::before, .follow::after { content: "★"; position: absolute; font-size: 12rem; color: var(--red); opacity: .5; line-height: 1; }
.follow::before { left: -30px; top: -20px; transform: rotate(-15deg); }
.follow::after { right: -20px; bottom: -40px; color: var(--mustard); opacity: .35; transform: rotate(20deg); }
.follow__inner { position: relative; z-index: 1; }
.follow__title { font-size: clamp(2.6rem, 7vw, 5.2rem); color: var(--mustard); }
.follow__sub { max-width: 38em; margin: 20px auto 36px; color: #EBDDD0; font-size: 1.1rem; }
.follow__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.follow .btn { box-shadow: 5px 5px 0 var(--red); }
.follow .btn:hover { box-shadow: 7px 7px 0 var(--red); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__intro p { margin-top: 18px; font-size: 1.1rem; max-width: 30em; }
.contact__intro .contact__small { font-size: .9rem; color: var(--ink-soft); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--cream); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 10px; padding: .75em .9em;
  transition: box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--teal); }
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); background: #FFEDE8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__end { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form__status { font-weight: 700; }
.form__status.ok { color: var(--teal); }
.form__status.err { color: var(--red-deep); }

/* ---------- Footer ---------- */
.foot { background: var(--red-deep); color: var(--paper); border-top: var(--line); padding-block: 40px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot__motto { font-family: var(--hand); font-size: 1.4rem; color: var(--mustard-soft); }
.foot__links { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0 0 0 auto; }
.foot__links a { font-weight: 700; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__copy { width: 100%; font-size: .85rem; color: #F3C9B9; }

/* ---------- Mini-speler ---------- */
.player {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50;
  width: min(100% - 32px, 760px);
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 10px 12px;
}
.player[hidden] { display: none; }
.player__cover { width: 48px; height: 48px; border-radius: 8px; border: 2px solid var(--ink); object-fit: cover; flex: none; }
.player__meta { display: flex; flex-direction: column; min-width: 0; flex: 0 1 180px; }
.player__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 700; }
.player__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player audio { flex: 1; min-width: 0; height: 40px; }
.player__close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mustard); font-size: 1.3rem; line-height: 1; cursor: pointer; }

/* ---------- Responsief ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; padding-block: 56px 80px; }
  .hero__art { width: min(100%, 400px); }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .feature { grid-template-columns: 240px 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__end { margin-left: auto; }
  .logo__name { font-size: 1.35rem; }
  .section, .follow { padding-block: 64px; }
  .feature { grid-template-columns: 1fr; padding: 20px; }
  .feature__cover { max-width: 280px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .sticker--round { width: 104px; height: 104px; font-size: 1.15rem; left: -10px; top: -30px; }
  .sticker--tag { right: -6px; }
  .stats { gap: 24px; }
  .player__meta { display: none; }
  .foot__links { margin-left: 0; }
}
@media (max-width: 520px) {
  .topics { grid-template-columns: 1fr; }
  .topic:nth-child(n) { transform: none; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .episodes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ep__body { padding: 12px 14px 14px; }
  .ep__body h3 { font-size: 1.1rem; }
  .ep__body p { display: none; }
  .ep__play { width: 44px; height: 44px; right: 8px; bottom: 8px; }
  .ep__num { font-size: 1.05rem; left: 8px; top: 8px; }
  .ep .meta { font-size: .8rem; flex-direction: column; gap: 0; }
  .ep .meta span + span::before { content: none; }
  .ep__link { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .ticker__track { transform: none; }
}
