/* ==========================================================================
   Producer Cursus — Design tokens
   ========================================================================== */
:root {
  --ink: #14161B;
  --ink-soft: #1E2128;
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --teal: #0FBFA6;
  --teal-dark: #0A9A85;
  --amber: #FF9D3D;
  --line: #E4E3DD;
  --line-dark: #2B2F38;
  --text-muted: #6B6E76;
  --text-on-dark-muted: #9BA0AC;
  --radius: 4px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: 0.01em; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--teal); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin: 0 0 0.9em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--teal);
  color: #06110F;
}
.btn-accent:hover { background: var(--teal-dark); }

.btn-ghost {
  background: white;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-on-dark {
  border-color: var(--text-on-dark-muted);
  color: var(--paper);
}
.btn-on-dark:hover { border-color: var(--teal); color: var(--teal); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: #25D366;
  color: #06110F;
  margin-top: 8px;
}
.btn-whatsapp:hover { background: #1EBE5A; }

.link-arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--teal);
  white-space: nowrap;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(20,22,27,0.07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark { color: var(--teal); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-name em { font-style: normal; color: var(--teal); }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
}
.main-nav > ul > li > a:hover { color: var(--teal-dark); }

.has-dropdown { display: flex; align-items: center; }
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
  display: none;
}
.dropdown {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(20,22,27,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a { font-size: 0.9rem; padding: 9px 12px; }
.dropdown a:hover { background: var(--paper); color: var(--teal-dark); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,22,27,0.55) 0%, rgba(20,22,27,0.88) 65%, var(--ink) 100%),
    var(--ink) url('/images/hero-bg.jpg') center center / cover no-repeat;
  color: var(--paper);
  overflow: hidden;
  padding: 96px 0 88px;
}
.eq-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.eq-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60%;
  opacity: 0.28;
  padding: 0 12px;
}
.eq-bars span {
  flex: 1;
  background: linear-gradient(to top, var(--teal), transparent);
  animation: eqmove 1.8s ease-in-out infinite;
  border-radius: 2px 2px 0 0;
}
@keyframes eqmove {
  0%, 100% { transform: scaleY(var(--h1, 0.3)); }
  50% { transform: scaleY(var(--h2, 0.8)); }
}
@media (prefers-reduced-motion: reduce) {
  .eq-bars span { animation: none; transform: scaleY(0.5); }
}
.eq-bars span { transform-origin: bottom; }

.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: var(--teal); }
.hero-lead { font-size: 1.15rem; color: var(--text-on-dark-muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 84px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .eyebrow { color: var(--teal); }
.section-dark h2 { color: var(--paper); }
.section-intro { max-width: 640px; color: var(--text-muted); font-size: 1.05rem; }
.section-dark .section-intro { color: var(--text-on-dark-muted); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }

/* Split (intro) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-text h2 { margin-top: 0; }

/* Muziekstijlen */
.style-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 28px;
}
.style-grid li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--paper);
}
.style-note { color: var(--text-on-dark-muted); margin: 0; }
.style-note a { color: var(--teal); text-decoration: underline; }

/* Nieuws */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card h3 { font-family: var(--font-body); text-transform: none; font-size: 1.15rem; font-weight: 700; letter-spacing: 0; margin: 12px 0 4px; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--teal-dark); }
.news-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin: 14px 0 0;
}
.news-date { color: var(--text-muted); font-size: 0.85rem; margin: 0 0 10px; }

/* Chapters */
.chapters {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.chapter { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.chapter-tag {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.85rem;
}
.chapter h3 { margin: 8px 0 8px; }
.chapter p { color: var(--text-on-dark-muted); font-size: 0.95rem; margin: 0; }

/* DAW grid */
.daw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.daw-card { text-decoration: none; color: var(--ink); }
.daw-card h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 12px;
  text-align: center;
}
.daw-card:hover h3 { color: var(--teal-dark); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0 40px;
}
.price-card {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.price-card-featured { border-top-color: var(--amber); }
.price-name {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--paper);
  margin-bottom: 4px;
}
.price-amount span { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-on-dark-muted); }
.price-sub { color: var(--text-on-dark-muted); font-size: 0.85rem; margin-bottom: 18px; }
.price-card:not(.price-card-featured) .price-name { margin-bottom: 10px; }
.price-card .btn { margin-top: 18px; }

.price-notes {
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}
.price-notes p { margin: 0 0 6px; }
.price-help { color: var(--text-on-dark-muted); margin-top: 18px; }
.price-help a { color: var(--teal); text-decoration: underline; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-list { list-style: none; padding: 0; margin: 24px 0 28px; }
.contact-list li { margin-bottom: 14px; }
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 2px;
}
.contact-list a { text-decoration: underline; }

.contact-form {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0C0E12;
  color: var(--text-on-dark-muted);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--paper);
  margin-bottom: 14px;
}
.footer-col p { margin: 0 0 8px; font-size: 0.9rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: center;
}
.footer-bottom a { text-decoration: underline; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .daw-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    z-index: 1001;
  }

  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1002;
  }

  .header-cta .btn-accent {
    display: inline-flex !important;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Main Nav Overlay */
  .main-nav {
    display: none;
    position: fixed !important;
    top: 65px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 65px);
    height: calc(100dvh - 65px);
    background: #ffffff !important;
    padding: 20px 24px 80px 24px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 1000;
  }

  .main-nav.is-open {
    display: block !important;
  }

  .main-nav ul,
  .main-nav > ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .main-nav > ul > li {
    border-bottom: 1px solid var(--line);
    width: 100%;
    position: relative;
  }

  .main-nav > ul > li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }

  .has-dropdown {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between;
  }

  .has-dropdown > a {
    flex: 1;
  }

  .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .main-nav .dropdown {
    display: none !important;
    position: static !important;
    width: 100% !important;
    background: #f8fafc !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    margin: 4px 0 12px 0 !important;
    border-radius: var(--radius);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  .has-dropdown.is-open > .dropdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px;
  }

  .dropdown a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 8px;
    color: var(--ink);
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-col h3 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .footer-col p {
    margin-bottom: 10px;
  }

  .footer-col a {
    display: inline-block;
    padding: 2px 0;
  }

  .footer-bottom {
    text-align: center;
    padding: 20px 16px;
  }
}