/* Belgian Music Days — lightweight stylesheet */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/raleway-latin.woff2) format("woff2");
}

:root {
  --ink: #111;
  --text: #2b2b2b;
  --muted: #666;
  --line: #e4e4e4;
  --paper: #fff;
  --soft: #f5f4f2;
  --red: #9b1f1b;
  --blue: #2b6b87;
  --radius: 10px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: "Raleway", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 17px/1.65 var(--body);
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.2;
  font-variant-numeric: lining-nums;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 300; letter-spacing: .02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.soft { background: var(--soft); }
.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: .5rem;
}
.lead { font-size: 1.15rem; color: var(--ink); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 41px; }
.brand span { font-family: var(--head); font-weight: 500; letter-spacing: .08em; font-size: 1rem; text-transform: uppercase; line-height: 1.15; }
.brand small { display: block; font-weight: 300; letter-spacing: .02em; text-transform: none; font-size: .78rem; color: var(--muted); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 12px;
  font-family: var(--head); font-weight: 500; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-radius: 6px;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--head); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.small { padding: 8px 16px; font-size: .78rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-mark { width: min(280px, 60%); justify-self: center; }
.hero h1 { margin-bottom: .3em; }
.hero h1 b { font-weight: 600; }
.hero .facts { font-family: var(--head); font-size: 1.15rem; color: var(--ink); margin-bottom: 1.2rem; }
.hero .facts strong { color: var(--red); font-weight: 600; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-mark { order: -1; width: 150px; }
  .hero .actions { justify-content: center; }
}

/* ---------- Page header ---------- */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head p { max-width: 720px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 3vw, 28px); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card > img, .card > .yt { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card .meta { font-size: .85rem; color: var(--muted); font-family: var(--head); letter-spacing: .04em; }
.card p { margin: 0; }

/* Editions strip */
.editions { counter-reset: e; }
.edition { border-top: 3px solid var(--ink); padding-top: 16px; }
.edition .year { font-family: var(--head); font-size: 2.4rem; font-weight: 300; color: var(--ink); line-height: 1; }
.edition .city { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--red); font-weight: 600; margin: 6px 0 10px; }
.edition:nth-child(2) { border-color: var(--red); }
.edition:nth-child(3) { border-color: var(--blue); }

/* Bilingual columns */
.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.bilingual .lang { font-family: var(--head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--blue); margin-bottom: .8rem; }
@media (max-width: 820px) { .bilingual { grid-template-columns: 1fr; } }

.lang-switch { display: none; gap: 8px; margin-bottom: 20px; }
@media (max-width: 820px) { .lang-switch { display: flex; } }

/* ---------- Programme ---------- */
.day-nav {
  position: sticky; top: 68px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line);
}
.day-nav ul { list-style: none; margin: 0 auto; padding: 10px var(--gutter); display: flex; gap: 8px; overflow-x: auto; max-width: var(--wrap); scrollbar-width: none; }
.day-nav ul::-webkit-scrollbar { display: none; }
.day-nav a {
  display: block; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--ink); text-decoration: none;
}
.day-nav a:hover { border-color: var(--red); color: var(--red); }
.day-nav a small { font-weight: 400; color: var(--muted); margin-left: 4px; }

.day { padding: clamp(32px, 5vw, 56px) 0 8px; scroll-margin-top: 130px; }
.day-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 24px; }
.day-title h2 { margin: 0; }
.day-title span { color: var(--muted); font-family: var(--head); }

.event {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(18px, 3vw, 32px);
  padding: 24px 0 32px; border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.event:last-child { border-bottom: 0; }
.event > img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--soft); }
.event .time { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--red); }
.event h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); margin: 4px 0 4px; }
.event .venue { color: var(--muted); font-size: .95rem; margin-bottom: 12px; display: flex; gap: 6px; align-items: flex-start; }
.event .venue::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: .55em; }
.event .intro { margin-bottom: 12px; }
.tag { display: inline-block; font-size: .78rem; font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); margin: 0 6px 8px 0; }
.tag.free { background: #e7f0f4; color: var(--blue); }
@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; }
}

.works { list-style: none; padding: 0; margin: 0 0 1em; }
.works li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.works li:last-child { border-bottom: 0; }
.works b { color: var(--ink); }
.works em { display: block; }
.works .inst { display: block; font-size: .9rem; color: var(--muted); }

details { border-top: 1px solid var(--line); margin-top: 8px; }
details summary {
  cursor: pointer; list-style: none; padding: 12px 0; font-family: var(--head); font-weight: 600;
  font-size: .9rem; letter-spacing: .04em; color: var(--ink); display: flex; align-items: center; gap: 8px;
}
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); font-size: .95rem; line-height: 1; }
details[open] summary::before { content: "−"; }
details .lang-block { padding-bottom: 8px; }
details .lang-block + .lang-block { border-top: 1px dotted var(--line); padding-top: 12px; }
details .lang-block > .label { font-family: var(--head); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }

.schedule { list-style: none; padding: 0; margin: 0 0 1em; }
.schedule li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.schedule li > span:first-child { font-family: var(--head); font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 480px) { .schedule li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Video ---------- */
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  background: #000 center / cover no-repeat;
}
.yt::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 12px;
  background: rgba(155,31,27,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: transform .15s;
}
.yt:hover::after { transform: scale(1.08); }
iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ---------- Supporters ---------- */
.supporters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); }
.supporters img { max-height: 56px; width: auto; }
.partners-strip { background: #000; border-radius: var(--radius); padding: clamp(10px, 2vw, 20px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #e9a19d; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer .brand-foot { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.site-footer .brand-foot img { width: 34px; filter: invert(1); }
.site-footer .brand-foot span { font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.site-footer .legal { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #8a8a8a; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.pdf-box { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.pdf-box img { border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
@media (max-width: 560px) { .pdf-box { grid-template-columns: 1fr; } .pdf-box img { max-width: 220px; } }
.contact-box { font-size: 1.1rem; }
.contact-box a { font-weight: 600; }
.post { padding: 32px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post .meta { color: var(--muted); font-family: var(--head); font-size: .85rem; letter-spacing: .04em; margin-bottom: 4px; }
.post-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
@media (max-width: 560px) { .post-media { grid-template-columns: 1fr; } }

/* ---------- NL / FR switch ---------- */
html:not(.l-fr) .tr[lang="fr"], html.l-fr .tr[lang="nl"] { display: none !important; }
.lang-toggle { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; padding: 2px; margin-left: 8px; flex: none; }
.lang-toggle button {
  border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 999px;
  font: 600 .75rem/1 var(--head); letter-spacing: .08em; color: var(--ink);
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.header-tools { display: flex; align-items: center; gap: 4px; }
@media (max-width: 860px) { .site-header .wrap { gap: 8px; } .brand small { display: none; } }
@media (max-width: 380px) { .brand span { font-size: .85rem; } }

/* ---------- Video ---------- */
video { display: block; width: 100%; height: auto; background: #000; border-radius: var(--radius); }
.video-portrait { max-width: 380px; margin: 0 auto; }
.hero-video { justify-self: center; width: min(360px, 100%); }
@media (max-width: 760px) { .hero-video { order: -1; width: min(300px, 100%); } }

/* ---------- 2026 programme extras ---------- */
.day-intro { max-width: 760px; margin: -8px 0 20px; color: var(--text); }
.venue-card { display: flex; gap: 10px; align-items: center; font-family: var(--head); font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.people { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.people li b { color: var(--ink); }
.notes details { border-top: 1px dashed var(--line); margin-top: 0; }
.notes details:first-child { border-top: 1px solid var(--line); }
.notes summary { font-weight: 500; }
.notes summary b { font-weight: 700; }
.notes .dur { color: var(--muted); font-weight: 400; margin-left: auto; font-size: .85rem; padding-left: 8px; }
.note-body { padding: 0 0 12px 30px; }
.note-body h5 { font: 700 .74rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 10px 0 4px; }
@media (max-width: 560px) { .note-body { padding-left: 0; } }
.pause { font-family: var(--head); color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.event.no-img { grid-template-columns: 1fr; max-width: 820px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 16px 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Archive ---------- */
.edition-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 3vw, 24px); }
.edition-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .15s, box-shadow .15s; }
.edition-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); color: var(--text); }
.edition-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--soft); }
.edition-card .body { padding: 16px 18px 20px; }
.edition-card .year { font: 300 2.2rem/1 var(--head); color: var(--ink); }
.edition-card .city { font: 600 .82rem/1.4 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 6px 0 8px; }
.crumbs { font-family: var(--head); font-size: .85rem; margin-bottom: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.edition-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 28px 0 0; margin-top: 32px; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.docs a { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 500; }
.docs a:hover { border-color: var(--red); color: var(--red); }
.docs a::before { content: "PDF"; font: 700 .68rem/1 var(--head); letter-spacing: .08em; background: var(--red); color: #fff; padding: 5px 6px; border-radius: 4px; }
.docs a small { margin-left: auto; color: var(--muted); font-weight: 400; }
.table-wrap { overflow-x: auto; }
.sched-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.sched-table th, .sched-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sched-table th { font-family: var(--head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.zoom-img { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* Ticket info + partner logos */
.ticket-info { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 5px 14px; margin: 0 0 12px; }
.ticket-info::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.partners-logos { width: 100%; max-width: 1100px; margin: 0 auto; }
@media (max-width: 699px) { .partners-logos { max-width: 520px; } }
