/* jimivandebeek.com — main stylesheet */

:root {
  --bg: #0E0F12;
  --band: #15171B;
  --card: #1A1C21;
  --card-2: #23262C;
  --line: #26282E;
  --line-2: #2E3138;
  --text: #F2F2F0;
  --muted: #B9BBC2;
  --dim: #8F929A;
  --accent: #F0883E;   /* change this one line to change the accent colour */
  --on-accent: #111214;
  --radius: 14px;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 20px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.02;
}

h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1.1;
}

h3 { font-size: 26px; font-weight: 600; line-height: 1.25; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

.stack { display: flex; flex-direction: column; gap: 40px; }
.stack-md { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }

.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 22px; color: var(--muted); max-width: 540px; }
.intro-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 22px; color: var(--muted);
}
.intro-list strong { color: var(--text); font-weight: 600; }
.sub { font-size: 22px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 17px; color: var(--dim); }
.large { font-size: 22px; color: #D3D5DA; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  padding-top: 24px; padding-bottom: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { font-family: var(--head); font-weight: 700; font-size: 26px; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 19px; font-weight: 500; }
.nav-links a { text-decoration: none; padding: 8px 0; }
.nav-links a:hover { color: var(--accent); }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 10px;
  font-weight: 600; text-decoration: none; font-size: 19px;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn-outline { border: 2px solid #4A4D55; color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.btn-dark { background: #111214; color: var(--text); }
.btn-dark:hover { color: #fff; background: #000; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero {
  padding-top: 96px; padding-bottom: 104px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
}
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-media { flex: 1 1 520px; min-width: 0; }

/* Video (click-to-load: no YouTube cookies until someone presses play) */
.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line-2);
}
.video button {
  all: unset; cursor: pointer; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.video button:hover .play { transform: scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.channel-card {
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  text-decoration: none; text-align: center; padding: 24px;
}
.channel-card .play {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
}
.channel-card span { font-size: 20px; font-weight: 600; }

/* Bands / sections */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .container { padding-top: 88px; padding-bottom: 88px; }
#projects, #music, #about { padding-top: 96px; padding-bottom: 96px; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.more { font-weight: 600; color: var(--accent); }
.more:hover { color: var(--accent); filter: brightness(1.1); }

.cards { display: flex; flex-wrap: wrap; gap: 28px; }
.cards:empty { display: none; }
.demo { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.demo .synth { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.demo h3 { font-size: 23px; }

.tile {
  flex: 1 1 300px; min-width: 0;
  border-radius: var(--radius); background: #1E2025; border: 1px solid var(--line-2);
  padding: 36px; display: flex; flex-direction: column; gap: 16px;
}
.tile svg { color: var(--accent); }
.tile h3 { font-size: 28px; }

.pill {
  display: inline-flex; align-items: center; padding: 10px 22px; border-radius: 999px;
  border: 2px solid var(--accent); color: var(--accent); font-weight: 600; font-size: 18px;
}

/* Music */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split-media { flex: 0 1 380px; min-width: 0; }
.split-media:empty { display: none; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.split-text { flex: 1 1 420px; min-width: 0; }
.release-title { font-size: 34px; }

/* Projects */
.project {
  border-radius: 16px; background: var(--card); border: 1px solid var(--line-2);
  padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
}
.project > .stack-md { flex: 1 1 460px; min-width: 0; }
.project-title { font-family: var(--head); font-size: clamp(30px, 4vw, 38px); line-height: 1.15; }
.project-icon {
  flex: 0 0 auto; width: 200px; height: 200px; border-radius: 50%;
  background: var(--card-2); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

/* Patreon band */
.patreon { background: var(--accent); color: var(--on-accent); }
.patreon-inner {
  padding-top: 72px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.patreon h2 { font-size: clamp(36px, 4.5vw, 48px); }
.patreon p { font-size: 22px; color: #2A1A0C; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; }
.about-photo { flex: 0 1 320px; min-width: 0; }
.about-photo img { width: 100%; max-width: 320px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.about-text { flex: 1 1 520px; min-width: 0; max-width: 780px; }
.accent-link { color: var(--accent); font-weight: 600; }
.accent-link:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 40px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 18px; font-weight: 500; }
.footer-links a { text-decoration: none; padding: 6px 0; }
.footer-links a:hover { color: var(--accent); }

/* Phone */
@media (max-width: 640px) {
  body { font-size: 19px; }
  .container { padding-left: 22px; padding-right: 22px; }
  .hero { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .band > .container { padding-top: 64px; padding-bottom: 64px; }
  #projects, #music, #about { padding-top: 64px; padding-bottom: 64px; }
  .project { padding: 28px; }
  .project-icon { width: 140px; height: 140px; }
  .nav-links { gap: 18px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Menu blijft bovenaan staan */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Koppen niet onder het menu laten verdwijnen */
section[id] { scroll-margin-top: 100px; }

/* Op de telefoon een compacter menu */
@media (max-width: 640px) {
  .nav { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .brand { font-size: 22px; }
  section[id] { scroll-margin-top: 130px; }
}

/* Sample pack */
.pack {
  border-radius: 16px; background: var(--card); border: 1px solid var(--line-2);
  padding: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.pack-art { flex: 0 1 340px; min-width: 0; }
.pack-art:empty { display: none; }
.pack-art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.pack-art.has-player iframe {
  display: block; border: 0; width: 100%; max-width: 350px; aspect-ratio: 350 / 442; height: auto;
  border-radius: 12px; background: var(--card);
}
.pack-text { flex: 1 1 420px; min-width: 0; }
.pack-title { font-family: var(--head); font-size: clamp(28px, 3.5vw, 36px); line-height: 1.15; }
.pack-audio { display: flex; flex-direction: column; gap: 8px; }
.pack-audio:empty { display: none; }
.pack-audio audio { width: 100%; max-width: 520px; color-scheme: dark; }
@media (max-width: 640px) { .pack { padding: 24px; gap: 28px; } }
