:root {
  --silver: #edeff2;
  --ink: #24120a;
  --brown: #5a2d14;
  --orange: #e2562b;
  --orange-deep: #b93c14;
  --muted: #5d6169;
  --line: #cfd2d8;
}
html { scrollbar-gutter: stable; }
* { box-sizing: border-box; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--silver);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
a { color: var(--brown); text-decoration-color: var(--orange); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.logo { display: block; width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--silver); padding: 0.5rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

/* Balk bovenaan: logo links, menuknop rechts */
.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--silver);
  border-bottom: 1px solid var(--line);
}
.id { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.25rem; min-width: 0; }
.brand { display: block; flex: none; width: clamp(9rem, 38vw, 22rem); }
.tools { display: flex; align-items: center; gap: 0.25rem; flex: none; }
.social { display: grid; place-items: center; height: 2.75rem; min-width: 2.75rem; padding: 0 0.35rem; border-radius: 6px; color: var(--ink); transition: color 0.15s; }
.social:hover { color: var(--orange-deep); }
.mark { --h: 1.2rem; display: block; height: var(--h); background-repeat: no-repeat; background-size: 200% 100%; background-position: 0 0; }
.mark-ra { width: calc(var(--h) * 1.988); background-image: url("images/ra-sprite.png"); }
.mark-sc { width: calc(var(--h) * 2.146); background-image: url("images/soundcloud-sprite.png"); }
.social:hover .mark, .social:focus-visible .mark { background-position: 100% 0; }
@media (min-width: 40rem) {
  .social { padding: 0 0.5rem; }
  .mark { --h: 1.5rem; }
}
.menu { position: relative; }
.menu summary { transition: color 0.15s; list-style: none; cursor: pointer; user-select: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 6px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { color: var(--orange-deep); }
.bars {
  display: block;
  width: 1.6rem;
  height: 1.2rem;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 3px no-repeat;
}
.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 14rem;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background: var(--silver);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.menu nav a { padding: 0.65rem 1rem; border-radius: 4px; color: var(--ink); font-weight: 600; text-decoration: none; transition: color 0.15s; }
.menu nav a:hover { color: var(--orange-deep); }
.menu nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); }

/* Homepage: afbeelding links, events rechts */
.home main { display: grid; grid-template-columns: 1fr; width: 100%; max-width: none; margin: 0; padding: 0; flex: 1; min-height: 0; }
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--ink);
}
.stage::before {
  content: "";
  position: absolute;
  inset: -3rem;
  z-index: -1;
  background: url("images/city-2-city.jpg") center / cover;
  filter: blur(36px) brightness(0.55) saturate(1.3);
}
.stage .flyer { display: block; width: auto; max-width: 100%; height: auto; max-height: 60vh; max-height: 60svh; border-radius: 4px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55); }

.upcoming { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem 1.25rem 1.25rem; background: var(--silver); }
.upcoming h2 { margin: 0; font-size: 1.6rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.eventlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.eventlist li { padding-left: 1rem; border-left: 4px solid var(--orange); }
.eventlist time { display: block; color: var(--orange-deep); font-weight: 700; }
.eventlist h3 { margin: 0; font-size: 1.75rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.eventlist .place { margin: 0.25rem 0 0.4rem; color: var(--muted); }
.eventlist a { font-weight: 700; }
.copy { margin: auto 0 0; color: var(--muted); font-size: 0.9rem; }

@media (min-width: 56rem) and (min-height: 32rem) {
  body.home { height: 100vh; height: 100svh; }
  .home main { grid-template-columns: 1fr 26rem; grid-template-rows: minmax(0, 1fr); }
  .stage .flyer { height: calc(100vh - 10rem); height: calc(100svh - 10rem); max-height: none; }
  .upcoming { overflow-y: auto; border-left: 1px solid var(--line); }

}

/* Topbalk op alle pagina's: de iconen staan op dezelfde plek als boven "Upcoming events" op de homepage */
@media (min-width: 56rem) {
  .topbar { display: grid; grid-template-columns: 1fr 26rem; padding-right: 0; }
  .tools { padding: 0 1.25rem 0 calc(1.25rem + 1px); }
  .tools .menu { margin-left: auto; }
  .tools .social:first-child { margin-left: -0.5rem; }
}

/* Binnenpagina's */
main, footer { width: 100%; max-width: 44rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
main { flex: 1; padding-top: 2.5rem; padding-bottom: 3rem; }
main h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.home main { max-width: none; padding: 0; }
p { margin: 0 0 1rem; max-width: 36rem; }
main.bio p { max-width: 40rem; }

.quote { margin: 0 0 1.5rem; padding-left: 1rem; border-left: 4px solid var(--orange); max-width: 34rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0 0 0.35rem; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.quote figcaption { color: var(--muted); font-size: 1rem; }

.track { margin: 0 0 1.5rem; }
.track figcaption { font-weight: 700; margin-bottom: 0.4rem; }
.track audio { width: 100%; max-width: 34rem; }

.events { list-style: none; margin: 0 0 1rem; padding: 0; }
.events li { display: grid; gap: 0.1rem; margin-bottom: 1.5rem; padding: 0.4rem 0 0.4rem 1rem; border-left: 4px solid var(--orange); }
.events time { font-weight: 700; }
.events span { color: var(--muted); }
.events .flyer { display: block; width: 100%; max-width: 18rem; height: auto; margin-top: 0.75rem; border-radius: 4px; }

.tips { list-style: none; margin: 0 0 1rem; padding: 0; }
.tips li { display: grid; gap: 0.1rem; margin-bottom: 1.25rem; padding: 0.4rem 0 0.4rem 1rem; border-left: 4px solid var(--orange); }
.tips span { color: var(--muted); }

.embed { max-width: 40rem; margin: 0 0 1rem; }
.embed iframe { display: block; width: 100%; height: 450px; border: 0; border-radius: 6px; }
.embed .note { color: var(--muted); font-size: 1rem; }
.btn { font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 6px; padding: 0.85rem 1.75rem; background: var(--ink); color: var(--silver); }
.btn:hover { background: var(--orange-deep); }

main h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; line-height: 1.2; font-weight: 800; }
h1 + h2 { margin-top: 0; }
.past { list-style: none; margin: 0 0 1rem; padding: 0; }
.past li { display: flex; flex-wrap: wrap; gap: 0.1rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.past time { min-width: 10.5rem; color: var(--muted); }
.past strong { font-weight: 400; }
.past span { color: var(--muted); }

.year { border-bottom: 1px solid var(--line); }
.year summary { cursor: pointer; list-style: none; padding: 0.75rem 0; font-size: 1.25rem; font-weight: 800; }
.year summary::-webkit-details-marker { display: none; }
.year summary::after { content: "+"; float: right; color: var(--orange-deep); }
.year[open] summary::after { content: "\2013"; }
.year .past { margin-bottom: 0.5rem; }
.year .past li:last-child { border-bottom: 0; }

.mail { font-size: 1.4rem; font-weight: 700; }

footer { padding-top: 1.5rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .social, .menu summary, .menu nav a { transition: none; }
}
