/* ==========================================================
   MUNK — Crafting sonic identities.  (Studio-design: zwart + vuurrood)
   Palet:   nacht #100F0E · kolen #171614 · vuurrood #E63928
            rood-hi #FF6A55 · ivoor #F5F3F0 · gedempt #98918B
   Type:    Space Grotesk (display + body) · Space Mono (labels)
   ========================================================== */

:root {
  --night:  #100F0E;
  --coal:   #171614;
  --line:   #2B2825;
  --gold:   #E63928;   /* accent (naamgeving behouden voor templates) */
  --gold-hi:#FF6A55;
  --ivory:  #F5F3F0;
  --muted:  #98918B;

  --display: "Space Grotesk", sans-serif;
  --body:    "Space Grotesk", sans-serif;
  --mono:    "Space Mono", monospace;

  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 150%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--night);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ivory); }

a { color: inherit; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-decoration: none;
}
.wordmark-dot { color: var(--gold); }

/* Gegenereerd logo (uit de logo-kit) in de header */
.logo-img { display: inline-flex; text-decoration: none; }
.logo-img img { display: block; height: 92px; width: auto; }

@media (max-width: 1100px) {
  .logo-img img { height: 60px; }
  .site-nav { gap: 0.9rem; }
  .site-nav a { font-size: 0.66rem; letter-spacing: 0.1em; }
}
@media (max-width: 990px) {
  .site-nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 860px) {
  .logo-img img { height: 52px; }
  .site-nav { gap: 0.85rem; }
  .site-nav a { font-size: 0.64rem; letter-spacing: 0.1em; }
}

/* Gegenereerd vierkant logo als merkkaart (achtergrond zit al in het PNG) */
.brand-card-img {
  display: block;
  padding: 0;
  background: none;
  border: none;
  height: auto;
}

/* Logo-lockup: aap + typografie in de websitefonts */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1rem 0.35rem 0.45rem;
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
}
.lockup-mark { display: block; width: 64px; height: auto; }
.lockup-text { display: flex; flex-direction: column; line-height: 1.15; }
.lockup-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.lockup-tag {
  font-family: var(--mono);
  font-size: 0.44rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #33302A;
}

@media (max-width: 720px) {
  .lockup-mark { width: 46px; }
  .lockup-name { font-size: 0.95rem; }
  .lockup-tag { font-size: 0.38rem; }
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
  flex-shrink: 0;
}
.brand-badge img { display: block; width: 26px; height: auto; }

.site-nav { display: flex; gap: 1.8rem; align-items: center; }
.site-nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ivory); }

.nav-cta {
  background: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--gold-hi) !important;
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory) !important;
}

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 4rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 15vw, 10rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 1.2rem 0 0.4rem;
  color: var(--ivory);
}

.hero-tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--muted);
}
.hero-tagline em { color: var(--gold); font-style: normal; }

.hero-wave {
  width: min(720px, 92vw);
  margin: 3rem 0 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

#waveform { width: 100%; height: 96px; display: block; }

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.8rem 1.4rem;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.25s ease;
}
.play-button:hover, .play-button:focus-visible { transform: translateY(-2px); filter: brightness(1.1); }

.play-icon {
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.play-button[aria-pressed="true"] .play-icon {
  border: none;
  width: 9px; height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.hero-sub {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- secties ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.section-head { max-width: 40rem; margin-bottom: 3.2rem; }
.section-lede { margin-top: 1rem; color: var(--muted); }

.section-head h2, .story-copy h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 0.9rem;
}

/* diensten */

.service-list { list-style: none; }

.service-row {
  display: grid;
  grid-template-columns: 7rem 1fr 1.4fr;
  gap: 1.5rem 2.5rem;
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s ease, background 0.25s ease;
}
.service-row:hover { padding-left: 0.8rem; background: var(--coal); }
.service-row:hover .service-title { color: var(--gold-hi); }
.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-freq {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold-hi);
}

.service-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.service-text { color: var(--muted); font-size: 0.95rem; }

/* verhaal */

.section-story { background: var(--coal); max-width: none; }
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: center;
}

.story-mark { display: grid; place-items: center; }

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: min(320px, 100%);
  padding: 2.2rem 1.8rem 1.9rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px -30px rgba(230, 57, 40, 0.35);
}
.brand-card img { display: block; width: 62%; height: auto; margin-bottom: 0.9rem; }

.lockup-name-lg {
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
}
.lockup-tag-lg {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
}

/* promo in de hero */
.promo-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.play-button-lg { padding: 1rem 1.7rem; font-size: 0.8rem; }
.promo-time {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  min-width: 3.2em;
}

.story-copy p { margin-top: 1.2rem; color: var(--muted); max-width: 36rem; }
.story-copy strong { color: var(--gold-hi); font-weight: 600; }

/* werkwijze */

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}

.process-step {
  border-top: 1px solid var(--gold);
  padding-top: 1.4rem;
}
.process-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold-hi);
  letter-spacing: 0.12em;
}
.process-step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0.7rem 0 0.5rem;
}
.process-step p { color: var(--muted); font-size: 0.94rem; }

/* contact */

.contact-lede { margin-top: 1rem; color: var(--muted); }

.form-status {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.form-status.is-ok    { border-color: var(--gold); color: var(--gold-hi); }
.form-status.is-error { border-color: #7a3b32; color: #d99a8f; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  max-width: 44rem;
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.55rem 0;
  transition: border-color 0.25s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

/* honeypot: buiten beeld, niet display:none (bots checken dat) */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.submit-button {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--gold);
  color: var(--ivory);
  border: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.25s ease;
}
.submit-button:hover, .submit-button:focus-visible { transform: translateY(-2px); filter: brightness(1.1); }

.contact-meta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.2rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.contact-meta a { color: var(--gold-hi); text-decoration: none; }
.contact-meta a:hover { color: var(--ivory); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.6rem clamp(1.25rem, 4vw, 3rem);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-tag { color: var(--gold-hi); }

/* ---------- demo's ---------- */

.demo-empty { color: var(--muted); max-width: 34rem; }
.demo-empty a { color: var(--gold-hi); }

.demo-list { list-style: none; max-width: 46rem; }

.demo-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.25s ease;
}
.demo-item:last-child { border-bottom: 1px solid var(--line); }

.demo-play {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.demo-play:hover, .demo-play:focus-visible { border-color: var(--gold); color: var(--gold-hi); }
.demo-item.is-playing .demo-play { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.demo-item.is-playing .demo-play .play-icon {
  border: none;
  width: 9px; height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.demo-body { flex: 1; min-width: 0; }
.demo-title {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.demo-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  border-radius: 2px;
}

.demo-time {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  min-width: 3.2em;
  text-align: right;
}

/* ---------- admin ---------- */

.admin-body { min-height: 100vh; }
.admin-main { padding-top: 10rem; }

.admin-login { max-width: 24rem; }
.admin-upload { margin-bottom: 3.5rem; }

.admin-subhead {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.admin-list { list-style: none; max-width: 52rem; }
.admin-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.admin-row:last-child { border-bottom: 1px solid var(--line); }
.admin-row-info { flex: 1; min-width: 200px; }
.admin-meta { display: block; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.admin-row audio { height: 36px; max-width: 260px; }

.admin-delete {
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-delete:hover, .admin-delete:focus-visible { border-color: var(--gold); color: var(--gold-hi); }

.field input[type="file"] { border: 1px dashed var(--line); padding: 0.8rem; border-radius: 4px; }
.field input[type="file"]::file-selector-button {
  background: var(--gold);
  color: var(--ivory);
  border: none;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.45rem 1rem;
  margin-right: 1rem;
  cursor: pointer;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-list { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 5rem 1fr; }
  .service-text { grid-column: 2; }
}

@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .service-text { grid-column: 1; }
  .demo-time { display: none; }
}
