:root {
  --bg: #000;
  --fg: #f4f2ee;
  --muted: #9a9894;
  --line: #262626;
  --card: #0e0e0e;
  --todo: #ff3b30;
  --serif: Cochin, "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

main, .nav { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Rode placeholder: iets wat Florian nog moet aanleveren. Gaat weg voor livegang. */
.todo {
  outline: 1px dashed var(--todo);
  color: var(--todo) !important;
}

/* Navigatie */
.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-top: 24px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--fg); }

/* Kop */
.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 88px; margin: 0 auto 20px; }
.hero h1 {
  font: 400 clamp(34px, 6vw, 52px)/1.1 var(--serif);
  margin: 0;
}
.hero p {
  font: italic 20px/1.4 var(--serif);
  color: var(--muted);
  margin: 12px 0 0;
}

/* Socials */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.socials .circle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .2s, background .2s;
}
.socials a:hover .circle { border-color: var(--fg); background: #111; }
.socials a:hover { color: var(--fg); }

/* Iconen: SVG als masker, zodat ze de tekstkleur aannemen */
.icon {
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
  flex: none;
}
.socials .icon { color: var(--fg); }
a:hover .icon { background: var(--c, currentColor); }

/* Zoeken */
.search { margin: 40px auto 0; max-width: 520px; }
.search input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font: inherit;
}
.search input:focus { outline: none; border-color: var(--muted); }

/* Secties */
section { margin-top: 72px; }
h2 {
  font: 400 32px/1.2 var(--serif);
  text-align: center;
  margin: 0 0 6px;
}
.lead { text-align: center; color: var(--muted); margin: 0 0 28px; }

/* Streamingdiensten */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
main .services a { padding: 8px 12px; gap: 8px; font-size: 13px; border-radius: 999px; }
.services .icon { width: 16px; height: 16px; }
h2 + .services, h2 + .grid { margin-top: 24px; }
.services a, .listen a, .listen li > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  text-decoration: none;
  transition: border-color .2s;
}
.services a:hover, .listen a:hover { border-color: var(--muted); }

/* Tegels nummers en albums */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.tile {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
}
.tile .art {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card) center / cover;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font: italic 19px/1.25 var(--serif);
  transition: transform .25s, border-color .25s;
}
.tile .art { position: relative; overflow: hidden; }
.tile .art .t { position: relative; z-index: 1; }
/* Alleen het beeld donkerder, de titel blijft helder */
.tile .art.dim::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); transition: opacity .25s; }
.tile:hover .art.dim::before, .tile:focus-visible .art.dim::before { opacity: .45; }
.tile .art.dim .t { color: #fff; font-size: 21px; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.tile:hover .art, .tile:focus-visible .art { transform: translateY(-3px); border-color: var(--muted); }
.tile .name { margin-top: 8px; font-size: 14px; }
.tile .meta { font-size: 12px; color: var(--muted); }
.tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
}

.albums { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.buy {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

/* Live */
.live { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 720px; margin: 0 auto; }
.live .art { aspect-ratio: 16 / 9; font: 14px var(--sans); }
.live-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3b30;
  margin-right: 14px;
  vertical-align: middle;
  box-shadow: 0 0 8px 2px rgba(255, 59, 48, .8), 0 0 22px 6px rgba(255, 59, 48, .35);
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow {
  50% { box-shadow: 0 0 12px 4px rgba(255, 59, 48, .95), 0 0 34px 12px rgba(255, 59, 48, .45); }
}

/* Playlist en losse kaarten */
.card {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
  text-decoration: none;
}

/* Venster "Listen on" */
dialog {
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a0a0a;
  color: var(--fg);
}
dialog::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px); }
.dlg-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.dlg-head .art {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card) center / cover;
  flex: none;
}
.dlg-head small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dlg-head h3 { font: 400 24px/1.2 var(--serif); margin: 2px 0 0; }
.listen { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.dlg-label { display: block; margin: 18px 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.reels { display: flex; flex-wrap: wrap; gap: 8px; }
.reels a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; text-decoration: none; }
.reels a:hover { border-color: var(--muted); }
.reels .icon { width: 16px; height: 16px; }
.close {
  all: unset;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 22px;
  color: var(--muted);
}

/* Footer */
footer {
  margin: 96px 0 0;
  padding: 32px 16px 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
footer p { margin: 6px 0; }

/* About */
.prose { max-width: 620px; margin: 0 auto; font-size: 17px; }
.prose p { margin: 0 0 1.1em; }
.prose .open { font: italic 26px/1.35 var(--serif); color: var(--fg); text-align: center; margin-bottom: 1.4em; }
.prose .verse-end { margin-top: 2em; font-size: 22px; }
.prose .verse-end span { display: block; margin-top: 10px; font: 13px var(--sans); color: var(--muted); font-style: normal; }
.photo { display: block; width: 100%; max-width: 760px; height: auto; border-radius: 12px; margin: 48px auto; }

.note {
  all: unset;
  cursor: pointer;
  position: relative;
  display: block;
  width: min(760px, 100%);
  margin: 0 auto;
  container-type: inline-size;
}
.note video { display: block; width: 100%; height: auto; }
.note video[hidden] { display: none; }
/* Tekst over de strook: die ligt tussen 4 en 95 procent van de breedte, 26 tot 75 procent van de hoogte */
.note-text {
  position: absolute;
  inset: 28% 9%;
  display: grid;
  place-content: center;
  text-align: center;
  font: 500 3.9cqw/1.15 "Caveat", cursive;
  color: #1d2433;
  transform: rotate(-1deg);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.note-text .ref { font-size: .7em; color: #4a5160; }
.note.open .note-text { opacity: 1; }

.quotes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Reacties in YouTube-stijl (donker thema), naam en foto bewust vaag */
.quotes .yt-c {
  display: flex;
  gap: 14px;
  min-height: 15em;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f0f0f;
  font: 400 14px/1.45 var(--sans);
  transition: opacity 1.2s;
}
.quotes .yt-c.fade { opacity: 0; }
.yt-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5a5a5a, #2c2c2c); filter: blur(1.5px); }
.yt-head { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.yt-name { width: 96px; height: 11px; border-radius: 6px; background: #8a8a8a; filter: blur(3px); }
.yt-src { font-size: 12px; color: #aaa; }
.quotes .yt-c p { margin: 0; color: #f1f1f1; font-weight: 400; }
.yt-act { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: #aaa; }
.yt-act svg { width: 18px; height: 18px; color: #f1f1f1; }
.yt-down svg { transform: rotate(180deg); margin-left: 8px; }
.yt-act span:last-child { margin-left: 14px; font-weight: 500; color: #f1f1f1; }

/* Contact */
.actions { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.actions .card { margin: 0; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
