/* ==========================================================================
   Joy Pranger Music
   Layout: een donker podium; de notenbalk is het menu, elke sectie een maat.
   ========================================================================== */

/* ---------- Fonts (lokaal gehost: geen verzoeken naar Google) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* kleur */
  --ink: #161312;          /* podium */
  --ink-raised: #1e1a18;   /* tweede vlak */
  --ink-glass: rgb(22 19 18 / 0.9);
  --rule: #352e2b;         /* haarlijnen */
  --paper: #f2ece7;        /* tekst */
  --paper-soft: #d9d0ca;
  --mute: #a99e97;         /* secundaire tekst */
  --staff: #8b807a;        /* notenbalklijnen */
  --coral: #fc654e;        /* accent, kleur uit het logo */
  --coral-hover: #ff7f6b;
  --on-coral: #161312;

  /* type */
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --f-body: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.875rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.7rem + 4.2vw, 4.75rem);
  --step-5: clamp(3.2rem, 1.2rem + 6vw, 6.25rem);

  /* ruimte */
  --wrap: 75rem;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --logo-row: 76px;
  --nav-row: 52px;
  --radius-pill: 999px;

  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class],
.site-nav ul, .footer__col ul, .topics ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--coral); color: var(--on-coral); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  padding: 0.75rem 1.25rem;
  background: var(--coral);
  color: var(--on-coral);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Logo ---------- */
.logo {
  display: inline-block;
  line-height: 0;
  border-radius: 4px;
}
.logo img {
  width: 11.75rem;
  height: auto;
}
@media (min-width: 900px) {
  .logo img { width: 13.5rem; }
}
.footer__brand .logo img { width: 14rem; }

/* ---------- Kop + navigatie ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--ink);
}

.site-header {
  position: sticky;
  /* op mobiel schuift de logo-rij weg en blijft alleen het menu staan */
  top: calc(env(safe-area-inset-top, 0px) - var(--logo-row));
  z-index: 50;
  background: var(--ink-glass);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: grid;
  grid-template-rows: var(--logo-row) var(--nav-row);
}
.site-header .logo { align-self: end; justify-self: start; }

.site-nav { display: flex; align-self: stretch; }
.site-nav ul {
  display: flex;
  gap: clamp(1.1rem, 6vw, 2.5rem);
  align-items: stretch;
}
.site-nav li { display: flex; }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--paper-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.6rem;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover { color: var(--paper); }
.site-nav a.is-current,
.site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a.is-current::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .site-header { top: env(safe-area-inset-top, 0px); }
  .site-header__inner {
    grid-template-rows: 88px;
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .site-header .logo { align-self: center; }
  .site-nav { justify-self: end; height: 88px; }
  .site-nav a::after { bottom: 1.45rem; }
}

/* ---------- Bouwstenen ---------- */
.section { padding-block: var(--section); }
section[id], article[id] { scroll-margin-top: calc(var(--nav-row) + 16px); }
@media (min-width: 900px) {
  section[id], article[id] { scroll-margin-top: 104px; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 3px;
  background: currentColor;
}

.section-title { font-size: var(--step-4); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--paper);
}

.prose {
  display: grid;
  gap: 1.1em;
  max-width: 38rem;
  color: var(--paper-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.8rem 0.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn--primary { background: var(--coral); color: var(--on-coral); }
.btn--primary:hover { background: var(--coral-hover); }
.btn--primary:active { transform: translateY(1px); }

.link-u {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  transition: color 0.2s;
}
.link-u:hover { color: var(--coral); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.75rem, 1.5rem + 6vw, 7rem) clamp(1rem, 3vw, 2rem); }
.hero__grid {
  display: grid;
  gap: 2rem;
}
.hero__head {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.hero__head .lede { max-width: 34rem; margin-top: 0.5rem; }
.hero__title {
  font-size: var(--step-5);
  line-height: 0.9;
  letter-spacing: -0.012em;
}
.hero__title span { display: block; }
.hero__body {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
  color: var(--paper-soft);
}
.hero__ask { color: var(--paper); font-weight: 500; }
.hero .actions { margin-top: 0.6rem; }

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
    align-items: end;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title span { animation: beat-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__title span:nth-child(2) { animation-delay: 0.12s; }
  .hero__title span:nth-child(3) { animation-delay: 0.24s; }
}
@keyframes beat-in {
  from { transform: translateY(0.18em); opacity: 0.001; }
  to   { transform: none; opacity: 1; }
}

/* ---------- Werk: kop ---------- */
.work { padding-top: clamp(4rem, 2.5rem + 6vw, 7rem); }
.work__head {
  display: grid;
  gap: 1.5rem 4rem;
}
.work__head .prose { align-self: end; }
@media (min-width: 1024px) {
  .work__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- Werk: de notenbalk als menu ---------- */
.score {
  margin-top: clamp(2.75rem, 2rem + 4vw, 4.5rem);
  scroll-margin-top: calc(var(--nav-row) + 20px);
}
@media (min-width: 900px) { .score { scroll-margin-top: 112px; } }

.staff {
  --gap: clamp(15px, 1rem + 1.2vw, 23px);  /* afstand tussen twee notenbalklijnen */
  position: relative;
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto;
  align-items: start;
}
@media (min-width: 560px) {
  .staff { grid-template-columns: auto auto repeat(4, minmax(0, 1fr)) auto; }
}

.staff__lines {
  position: absolute;
  left: 0;
  top: calc(var(--gap) * 2);
  width: 100%;
  height: calc(var(--gap) * 4);
  overflow: visible;
  pointer-events: none;
}
.staff__lines line {
  stroke: var(--staff);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.staff__clef,
.staff__time,
.staff__end { position: relative; pointer-events: none; }
.staff__clef svg { width: calc(var(--gap) * 3); height: calc(var(--gap) * 8); overflow: visible; fill: var(--paper); }
.staff__time { display: none; }
.staff__time svg { width: calc(var(--gap) * 2.4); height: calc(var(--gap) * 8); overflow: visible; }
.staff__time text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.85px;
  fill: var(--paper);
}
@media (min-width: 560px) { .staff__time { display: block; } }
.staff__end svg { width: calc(var(--gap) * 1.05); height: calc(var(--gap) * 8); overflow: visible; fill: var(--paper); }

.note {
  --i: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
  padding-bottom: 0.5rem;
  color: var(--mute);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
}
.note:focus-visible { outline-offset: -2px; }
.note__glyph { width: calc(var(--gap) * 3); height: calc(var(--gap) * 8); overflow: visible; }
.note__head,
.note__stem { fill: var(--paper); transition: fill 0.2s ease; }
.note__head { transform-box: fill-box; transform-origin: center; }
.note__ring {
  fill: none;
  stroke: var(--coral);
  stroke-width: 0.09;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}
.note__label {
  position: relative;
  max-width: 100%;
  padding-bottom: 0.45rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.375rem);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: manual;
  transition: color 0.2s ease;
}
.note__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2.25rem;
  height: 3px;
  margin-left: -1.125rem;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.note.is-active { color: var(--paper); }
.note.is-active .note__head,
.note.is-active .note__stem { fill: var(--coral); }
.note.is-active .note__label::after { transform: scaleX(1); }

@media (hover: hover) {
  .note:hover { color: var(--paper); }
  .note:hover .note__head,
  .note:hover .note__stem { fill: var(--coral-hover); }
}

.note.is-plucked .note__head { animation: pluck 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
.note.is-plucked .note__ring { animation: ripple 0.9s ease-out; }
.note:nth-of-type(2) { --i: 1; }
.note:nth-of-type(3) { --i: 2; }
.note:nth-of-type(4) { --i: 3; }
.staff.is-playing .note .note__head { animation: melody 0.5s ease-in-out both; animation-delay: calc(var(--i) * 0.16s + 0.2s); }

@keyframes pluck {
  0% { transform: scale(1); }
  35% { transform: scale(1.22) rotate(-4deg); }
  100% { transform: scale(1); }
}
@keyframes ripple {
  0% { opacity: 0.9; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(2.8); }
}
@keyframes melody {
  0%, 100% { transform: none; }
  40% { transform: translateY(-0.18px) scale(1.18); fill: var(--coral); }
}
@media (prefers-reduced-motion: reduce) {
  .note.is-plucked .note__head,
  .note.is-plucked .note__ring,
  .staff.is-playing .note .note__head { animation: none; }
}

.score__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--mute);
}
.hint__tap { display: inline; }
.hint__click { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hint__tap { display: none; }
  .hint__click { display: inline; }
}

.sound {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--paper-soft);
  font-size: var(--step--1);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.js .sound { display: inline-flex; }
.sound:hover { border-color: var(--staff); color: var(--paper); }
.sound .icon-off { display: none; }
.sound[aria-pressed="false"] .icon-on { display: none; }
.sound[aria-pressed="false"] .icon-off { display: block; }

/* ---------- Werk: panelen ---------- */
.panels {
  margin-top: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  display: grid;
  gap: 4rem;
}

/* Met JavaScript (of in browsers die dat aangeven) staan de panelen op elkaar
   en is er steeds één zichtbaar. Zonder JavaScript staan ze gewoon onder elkaar. */
.js .panels { gap: 0; }
.js .panel { grid-area: 1 / 1; }
.js .panel:not(.is-active) { visibility: hidden; opacity: 0; pointer-events: none; }
@media (scripting: enabled) {
  html:not(.js) .panels { gap: 0; }
  html:not(.js) .panel { grid-area: 1 / 1; }
  html:not(.js) .panel:not(.is-active):not(:target),
  html:not(.js) .panels:has(.panel:target) .panel.is-active:not(:target) { visibility: hidden; opacity: 0; pointer-events: none; }
}

.panel {
  display: grid;
  gap: 2.25rem 4rem;
  align-content: start;
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--rule);
  transition: opacity 0.35s ease, visibility 0.35s;
}
@media (prefers-reduced-motion: no-preference) {
  .js .panel.is-active .panel__main { animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js .panel.is-active .panel__side { animation: rise 0.45s 0.06s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise {
  from { transform: translateY(10px); }
  to { transform: none; }
}

.panel__main { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.panel__title { font-size: var(--step-3); margin-bottom: 0.35rem; }
.panel__main p { max-width: 38rem; color: var(--paper-soft); }
.panel__main .lede { color: var(--paper); }

.panel__side { display: grid; gap: 2rem; align-content: start; min-width: 0; }
.panel__side .btn { justify-self: start; }

.panel__next {
  display: inline-grid;
  justify-self: start;
  gap: 0.15rem;
  padding-block: 0.5rem;
  text-decoration: none;
  color: var(--paper);
}
.panel__next small {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.panel__next span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.1;
}
.panel__next .icon { transition: transform 0.2s ease; color: var(--coral); }
.panel__next:hover span { color: var(--coral); }
.panel__next:hover .icon { transform: translateX(4px); }

@media (min-width: 900px) {
  .panel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .panel__next { grid-column: 1 / -1; }
}

/* ---------- Feitenlijst ---------- */
.facts { display: grid; gap: 1.1rem; }
.facts > div {
  display: grid;
  gap: 0.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.facts dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.facts dd { color: var(--paper); line-height: 1.45; }

/* ---------- Over mij ---------- */
.about { background: var(--ink-raised); }
.about__grid {
  display: grid;
  gap: 2.5rem 5rem;
  grid-template-areas: "title" "body" "facts";
}
.about__grid > .section-title { grid-area: title; }
.about__body { grid-area: body; }
.about__facts { grid-area: facts; align-self: start; max-width: 26rem; }
.about__body { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.statement {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--paper);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.statement em { font-style: normal; color: var(--coral); }
.about__body > p:not(.statement) { max-width: 38rem; color: var(--paper-soft); }
.about__coda {
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-weight: 500;
}
.about .about__body .about__coda { color: var(--paper); }

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "title body" "facts body";
    row-gap: 3rem;
  }
}

/* ---------- Agenda ---------- */
.agenda__head { display: grid; gap: 1.5rem 4rem; }
.agenda__head .lede { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); line-height: 1.15; }
.agenda__intro { display: grid; gap: 0.75rem; align-content: end; max-width: 34rem; }
.agenda__intro p:not(.lede) { color: var(--paper-soft); }
@media (min-width: 1024px) {
  .agenda__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

.agenda__list-title {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  margin-bottom: 1rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.gigs { border-top: 1px solid var(--rule); }
.gig {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 0.6rem 1rem;
  align-items: start;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.gig__date {
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  align-items: center;
  font-family: var(--f-display);
}
.gig__day {
  grid-row: 1 / 3;
  font-weight: 800;
  font-size: 3.25rem;
  line-height: 0.82;
  min-width: 1.05em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.gig__month {
  align-self: end;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}
.gig__dow {
  align-self: start;
  margin-top: 0.2rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--mute);
}
.gig__body { display: grid; gap: 0.3rem; min-width: 0; }
.gig__ensemble {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.gig__title { font-weight: 700; font-size: var(--step-2); line-height: 1.1; }
.gig__venue {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  color: var(--paper-soft);
  line-height: 1.4;
}
.gig__venue .icon { margin-top: 0.18em; color: var(--coral); }

@media (min-width: 760px) {
  .gig {
    grid-template-columns: 9rem minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem 2rem;
    align-items: center;
    padding-block: 1.75rem;
  }
  .gig__body { display: contents; }
  .gig__lead { display: grid; gap: 0.3rem; }
  .gig__venue { align-self: center; }
}

.agenda__empty {
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
  color: var(--paper-soft);
  max-width: 38rem;
}
.agenda__coda {
  margin-top: 2.5rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.2;
  max-width: 34rem;
}

/* ---------- Contact ---------- */
.contact { background: var(--ink-raised); }
.contact__grid { display: grid; gap: 3rem 5rem; }
.contact__intro { display: grid; gap: 1.1rem; align-content: start; }
.contact__intro .prose { margin-top: 0.25rem; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.ways { display: grid; align-content: start; min-width: 0; }
.way {
  display: grid;
  gap: 0.5rem 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--rule);
}
.way:last-of-type { border-bottom: 1px solid var(--rule); }
.way__label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.way__value {
  justify-self: start;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.625rem, 1rem + 2.6vw, 2.75rem);
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
.way__value:hover { color: var(--coral); }
.way__copy {
  justify-self: start;
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--paper-soft);
  font-size: var(--step--1);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.js .way__copy { display: inline-flex; }
.way__copy:hover { border-color: var(--staff); color: var(--paper); }
.way__copy.is-done { border-color: var(--coral); color: var(--paper); }
@media (min-width: 560px) {
  .way { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .way__label { grid-column: 1 / -1; }
}

.topics { display: grid; gap: 0.9rem; margin-top: 2rem; }
.topics p { color: var(--mute); font-size: var(--step--1); }
.topics ul { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.topics a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--paper);
  font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.topics a:hover { border-color: var(--coral); color: var(--coral); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  color: var(--mute);
}
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.footer__brand p { line-height: 1.5; }
.footer__col { display: grid; gap: 0.75rem; align-content: start; }
.footer__col h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer__col ul { display: grid; gap: 0.4rem; }
.footer__col a { text-decoration: none; color: var(--paper-soft); transition: color 0.2s; }
.footer__col a:hover { color: var(--coral); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.footer__base a { color: var(--paper-soft); }
.footer__base a:hover { color: var(--coral); }
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
}

/* ---------- Tekstpagina's (privacy) ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 5vw, 6rem) 0; }
.page-head .wrap { display: grid; gap: 1.5rem; }
.page-head h1 { font-size: var(--step-4); }
.page-head p { color: var(--mute); }

.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) var(--section); }
.legal__body {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  color: var(--paper-soft);
}
.legal__body h2 {
  margin-top: 2rem;
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--paper);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body ul { display: grid; gap: 0.4rem; padding-left: 1.2rem; }
.legal__body li::marker { color: var(--coral); }
.legal__body strong { color: var(--paper); font-weight: 600; }
.legal__body a { text-decoration-color: var(--coral); text-underline-offset: 3px; }
.legal__body a:hover { color: var(--coral); }
.legal__summary {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--ink-raised);
}
.legal__summary p { color: var(--paper); }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.lost .wrap { display: grid; gap: 1.5rem; justify-items: start; }
.lost h1 { font-size: var(--step-5); }
.lost p { max-width: 32rem; color: var(--paper-soft); }
.lost__rest { width: min(22rem, 100%); height: auto; margin-bottom: 1rem; }
.page-head .eyebrow,
.lost .eyebrow { color: var(--coral); }
.lost__rest line { stroke: var(--staff); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.lost__rest rect { fill: var(--coral); }
.lost__rest .lost__ink { fill: var(--paper); }

/* ---------- Print ---------- */
@media print {
  :root { --ink: #fff; --ink-raised: #fff; --paper: #000; --paper-soft: #222; --mute: #444; --rule: #ccc; }
  .site-header, .score, .sound, .way__copy, .skip-link, .panel__next { display: none !important; }
  .js .panel:not(.is-active) { visibility: visible; opacity: 1; }
  .js .panel { grid-area: auto; }
}
