/* Overgangssite wiekevanrosmalen.nl — stijl volgens overgang/ONTWERP.md (10-10-2026).
   Eén schaal voor de hele site. Geen donkere modus: groen/crème is de identiteit. */

@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url(/assets/fonts/HankenGrotesk.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/assets/fonts/GeistMono-400.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --kader: #364e2f; --papier: #fff8f4; --inkt: #1f2a1d; --zacht: #5b6357;
  --naam: #426020; --naam-licht: #4b741c; --blauw: #2351fc; --indigo: #363f8d; --roze: #fae3de;
  --lijn: rgba(31, 42, 29, .14);
  --letter: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --rand: 16px; --binnen: 32px; --zij: 220px; --tussen: 40px;
}

* { box-sizing: border-box; }
html { background: var(--kader); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--inkt); font: 420 18px/1.55 var(--letter); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; min-height: 100vh; padding: var(--rand); overflow-wrap: break-word; }
/* het groene kader: vast aan het scherm, de inhoud schuift eronder door */
body::after { content: ""; position: fixed; inset: 0; border: var(--rand) solid var(--kader); pointer-events: none; z-index: 40; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blauw); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* link "naar de inhoud": alleen zichtbaar bij focus */
.naar-inhoud { position: absolute; left: calc(var(--rand) + 8px); top: calc(var(--rand) + 8px); z-index: 60;
  padding: 10px 16px; background: var(--papier); border: 2px solid var(--inkt); border-radius: 999px;
  font: 500 15px/1 var(--letter); text-decoration: none; transform: translateY(-200%); }
.naar-inhoud:focus { transform: none; }
main:focus { outline: none; }

/* vage achtergrond: vooraf vervaagd (assets/waas/), hier alleen doorzichtigheid */
.waas { position: fixed; inset: var(--rand); z-index: 0; overflow: hidden; pointer-events: none; }
.waas img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: var(--waas, .09); }

/* ---------- opbouw (desktop ≥1100 px) ---------- */
.raam { position: relative; z-index: 1; display: grid; grid-template-columns: var(--zij) minmax(0, 1fr) var(--zij);
  column-gap: var(--tussen); align-items: start; padding: var(--binnen); max-width: 1440px; margin: 0 auto; }
.klok { grid-column: 1; grid-row: 1; font: 14px/1 var(--mono); color: var(--zacht); font-variant-numeric: tabular-nums;
  padding-top: 14px; min-height: 1em; }
.nav { grid-column: 3; grid-row: 1; text-align: right; }
.midden { grid-column: 2; grid-row: 1; max-width: 880px; width: 100%; justify-self: center; }

.home-knop { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 20px; border: 2px solid var(--inkt);
  border-radius: 999px; font: 500 18px/1 var(--letter); letter-spacing: .08em; text-decoration: none; }
.home-knop:hover { background: var(--inkt); color: var(--papier); }
/* op home zelf: hetzelfde roze als het actieve menu-item */
.home-knop[aria-current="page"] { background: var(--roze); font-weight: 600; }
.home-knop[aria-current="page"]:hover { background: var(--inkt); color: var(--papier); }

.menu { list-style: none; margin: 28px 0 0; padding: 0; font-size: 16px; line-height: 1.5; letter-spacing: .02em; }
.menu li.groep { margin-top: 16px; }
.menu a { white-space: nowrap; text-decoration: none; padding: 1px 6px; margin-right: -6px; border-radius: 3px; }
.menu a::before { content: "↗\00a0"; }
.menu a:hover { text-decoration: underline; text-underline-offset: .2em; }
.menu a[aria-current="page"] { background: var(--roze); font-weight: 600; }
/* stip bij de voorstelling die nu speelt (geen tekst; aria-label "speelt nu") */
.menu .nu { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%;
  background: var(--naam-licht); vertical-align: middle; position: relative; top: -1px; }
.menu-knop { display: none; }

/* ovaal "Lievelingsvoorstelling van nu": desktop vast rechtsonder, in de menukolom */
.lieveling { position: fixed; z-index: 30;
  right: max(calc(var(--rand) + var(--binnen)), calc((100vw - 1440px) / 2 + var(--binnen)));
  bottom: calc(var(--rand) + var(--binnen));
  width: 184px; height: 124px; display: grid; place-items: center; text-align: center; border: 3px solid var(--indigo);
  border-radius: 50%; background: var(--papier); color: var(--indigo); font: 500 16px/1.25 var(--letter);
  letter-spacing: .03em; text-decoration: none; }
.lieveling:hover { background: var(--indigo); color: var(--papier); }

/* ---------- sticker in het midden ---------- */
/* elke sticker even groot in oppervlak: --b = 215·√(b/h), 150–300 px, gezet door bouw-site.py */
.sticker { position: relative; margin: 40px auto 0; width: var(--b, 210px); max-width: 100%; }
.sticker img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.sticker .schaduw { opacity: .5; }

/* ---------- kop ---------- */
.kop { text-align: center; margin: 24px 0 56px; }
.rol { font: 15px/1.4 var(--mono); color: var(--naam); margin: 0 0 10px; }
.titel { font-size: clamp(28px, 1.2rem + 1.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: .03em;
  margin: 0; text-wrap: balance; }
.titel .jaar { font-weight: 400; white-space: nowrap; }
.wie { font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--zacht); margin: 10px 0 0; line-height: 1.45; }

/* ---------- tekst + pers ---------- */
.tekst-pers { display: grid; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 48px; }
.tekst { max-width: 62ch; min-width: 0; }
.tekst p { margin: 0 0 1em; }
.tekst h2 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--inkt); margin: 56px 0 12px; letter-spacing: .02em; }
.tekst > h2:first-child { margin-top: 0; }
.tekst p.credits, .tekst p.credits-kop { font-size: 15px; line-height: 1.5; }
.tekst p.credits-kop { margin: 32px 0 6px; }
.tekst h2.credits-kop { margin-top: 40px; }
.tekst a, .pers a { color: var(--blauw); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .2em; text-decoration-color: rgba(35, 81, 252, .4); }
.tekst a:hover, .pers a:hover { text-decoration-color: currentColor; }
.tekst figure { margin: 32px 0; }

/* Muziek: na de eerste figuur lopen de secties door onder tekst en pers; tekst 62ch, beeld over de volle breedte */
.tekst.secties { max-width: none; margin-top: 8px; }
.secties > p, .secties > h2, .secties > .links { max-width: 62ch; }
.secties figure { margin: 40px 0; }
.secties .foto { width: fit-content; max-width: 100%; margin: 0 auto; }
.secties .foto img { max-height: 82vh; width: auto; margin: 0 auto; }
.secties figure:not(.video-vak) figcaption { text-align: center; }

/* speeldata op de projectpagina (dezelfde lijst als /agenda) */
.speeldata { margin: -16px auto 64px; max-width: 720px; }
.speeldata .label { text-align: center; margin: 0 0 12px; }
.speeldata-meer { text-align: center; margin: 20px 0 0; }
.speeldata-meer .volgende { margin-top: 0; }

.label { font: 14px/1.4 var(--mono); color: var(--naam); letter-spacing: .02em; margin: 0 0 12px; }
.pers { font-size: 15px; line-height: 1.55; padding-top: 4px; min-width: 0; }
.pers .bron { font-weight: 500; font-size: 16px; display: inline-block; }
.pers .bericht { margin: 0 0 28px; }
.pers blockquote { margin: 8px 0 0; }
.pers blockquote p { margin: 0 0 .8em; }
.pers blockquote p:last-child { margin-bottom: 0; }

/* extra links (partners, recensies, luisteren) als kleine pillen */
.links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 28px 0 0; padding: 0; }
.tekst .pil, .pil { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--lijn); border-radius: 999px; background: rgba(255, 255, 255, .5); color: var(--inkt);
  font: 500 14px/1.2 var(--letter); letter-spacing: .02em; text-decoration: none; cursor: pointer; }
.tekst .pil:hover, .pil:hover { border-color: var(--inkt); }

/* ---------- beeld ---------- */
.beeld { margin-top: 64px; }
.beeld figure { margin: 0 0 32px; }
.beeld .groot img { max-height: 82vh; width: auto; margin: 0 auto; }
.beeld .rest { columns: 2 300px; column-gap: 24px; }
.beeld .rest figure { break-inside: avoid; margin: 0 0 24px; }
figure { margin: 0; }
figcaption { font: 14px/1.45 var(--mono); color: var(--zacht); margin-top: 8px; }
figcaption a { color: inherit; }
.foto { all: unset; cursor: zoom-in; display: block; }
.foto img { background: rgba(31, 42, 29, .05); }
.beeld .groot .foto { width: fit-content; max-width: 100%; margin: 0 auto; }
.beeld .groot figcaption { text-align: center; }
.foto:focus-visible { outline: 2px solid var(--blauw); outline-offset: 3px; }

/* video: pas na een klik laden */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000;
  cursor: pointer; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .knop { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: var(--papier); box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.video .knop::after { content: ""; position: absolute; left: 29px; top: 24px; border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent var(--kader); }
.video:hover .knop { background: #fff; }
.video-vak iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
.spotify-vak { margin: 24px 0 32px; }
.spotify-vak iframe { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
.pil.spotify { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--kader); color: var(--kader); font-weight: 600; background: transparent; }
.pil.spotify:hover { background: var(--kader); color: var(--papier); }

/* ---------- home ---------- */
.held { text-align: center; padding-top: 24px; }
.held .sticker { margin-top: 0; }
.naam { color: var(--naam); font-weight: 700; letter-spacing: .06em; font-size: clamp(34px, 1rem + 3.4vw, 60px);
  line-height: 1.05; margin: 28px 0 0; text-wrap: balance; }
.vak { color: var(--naam-licht); font-weight: 400; letter-spacing: .14em; font-size: clamp(20px, .9rem + 1.3vw, 32px);
  margin: 16px 0 0; line-height: 1.2; }
.volgende { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 28px;
  font: 14px/1.4 var(--mono); text-decoration: none; padding: 10px 18px; border: 1px solid var(--lijn); border-radius: 22px;
  background: rgba(255, 255, 255, .5); }
.volgende:hover { border-color: var(--inkt); }
.v-stad-vak { display: inline-flex; gap: 10px; }
.bio { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin-top: 72px; }
.bio p { margin: 0 0 1em; }
.bio a { color: var(--blauw); }
.home .beeld .rest figure { margin-bottom: 24px; }

/* ---------- voet ---------- */
.voet { position: relative; z-index: 1; text-align: center; font: 14px/1.6 var(--mono); padding: 48px 16px 64px; }
.voet a { text-decoration: none; display: inline-block; padding: 4px 2px; }
.voet a:hover { text-decoration: underline; }

/* ---------- agenda ---------- */
.agenda-groep { margin: 0 0 40px; }
.show { text-align: center; margin: 0 0 32px; }
.show a, .show span { font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: .02em; }
.show a::before { content: "↗\00a0"; }
.show a:hover { text-decoration: underline; text-underline-offset: .2em; }
.show div { color: var(--zacht); font-size: 15px; margin-top: 4px; letter-spacing: .04em; }
.agenda { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; border-top: 1px solid var(--lijn); }
.agenda li { display: grid; grid-template-columns: 112px 64px minmax(0, 1fr) auto; align-items: center; column-gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--lijn); }
.agenda .dag { font: 15px/1.3 var(--mono); }
.agenda .tijd { font: 15px/1.3 var(--mono); color: var(--zacht); }
.agenda .stad { font-weight: 600; }
.agenda .zaal { color: var(--zacht); }
.kaartjes { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--kader);
  border-radius: 999px; color: var(--kader); font: 600 14px/1 var(--letter); letter-spacing: .02em; text-decoration: none;
  white-space: nowrap; }
.kaartjes:hover { background: var(--kader); color: var(--papier); }
.kaartjes.laatste { background: var(--roze); border-color: var(--roze); color: var(--inkt); }
.kaartjes.laatste:hover { border-color: var(--inkt); background: var(--roze); color: var(--inkt); }
.agenda-leeg { text-align: center; color: var(--zacht); }

/* ---------- foto groot (dialog) ---------- */
.lichtbak { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--papier); color: var(--inkt); }
.lichtbak::backdrop { background: var(--papier); }
.lb-teller { position: absolute; top: 32px; left: 28px; font: 14px/1 var(--mono); color: var(--zacht);
  font-variant-numeric: tabular-nums; }
.lichtbak[open] { display: grid; place-items: center; animation: lb-in .15s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lichtbak figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.lichtbak img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; }
.lichtbak figcaption { text-align: center; }
.lb-knop { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--inkt); background: var(--papier);
  color: var(--inkt); display: grid; place-items: center; font: 500 20px/1 var(--letter); cursor: pointer; padding: 0; }
.lb-knop:hover { background: var(--inkt); color: var(--papier); }
.lb-dicht { top: 20px; right: 20px; }
.lb-vorige { left: 20px; top: 50%; margin-top: -22px; }
.lb-volgende { right: 20px; top: 50%; margin-top: -22px; }

/* ---------- laptops (1100–1439 px): smallere zijkolommen, pers onder de tekst tot 1365 ---------- */
@media (min-width: 1100px) and (max-width: 1439px) { :root { --zij: 190px; --tussen: 32px; } }
@media (min-width: 1100px) and (max-width: 1365px) {
  .tekst-pers { grid-template-columns: minmax(0, 1fr); }
  .pers { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--lijn); max-width: 62ch; }
}

/* ---------- tablet en telefoon (<1100 px) ---------- */
@media (max-width: 1099px) {
  :root { --binnen: 24px; }
  .raam { grid-template-columns: minmax(0, 1fr); }
  .klok { display: none; }
  html { scroll-padding-top: 90px; }
  /* de balk met HOME en MENU blijft bovenaan staan */
  .nav { grid-column: 1; grid-row: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    gap: 12px; text-align: left; position: sticky; top: var(--rand); z-index: 20; background: var(--papier);
    margin: calc(-1 * var(--binnen)) calc(-1 * var(--binnen)) 0; padding: 12px var(--binnen);
    border-bottom: 1px solid var(--lijn); max-height: calc(100vh - 2 * var(--rand)); overflow-y: auto; }
  .midden { grid-column: 1; grid-row: 2; }
  .menu-knop { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 18px; border: 2px solid var(--inkt);
    border-radius: 999px; background: none; font: 500 16px/1 var(--letter); letter-spacing: .08em; color: var(--inkt); cursor: pointer; }
  .menu-knop[aria-expanded="true"] { background: var(--inkt); color: var(--papier); }
  .home-knop { font-size: 16px; }
  .menu { flex-basis: 100%; margin: 4px 0 8px; font-size: 20px; line-height: 1.3; }
  .js .menu { display: none; }
  .js .menu.open { display: block; }
  .menu li a { display: block; padding: 9px 0; margin: 0; white-space: normal; }
  .menu li a[aria-current="page"] { display: inline-block; padding: 9px 8px; margin-left: -8px; }
  .menu li.groep { margin-top: 12px; }
  .lieveling { position: static; margin: 48px auto 0; }
}
/* lage schermen: het ovaal niet over het menu */
@media (min-width: 1100px) and (max-height: 640px) {
  .lieveling { position: static; margin: 48px auto 0; }
}
@media (max-width: 799px) {
  .tekst-pers, .bio { grid-template-columns: minmax(0, 1fr); }
  .pers { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--lijn); }
}
@media (max-width: 699px) {
  :root { --rand: 10px; --binnen: 16px; }
  body { font-size: 17px; }
  .waas img { opacity: calc(var(--waas, .09) * .8); }
  .sticker { width: calc(var(--b, 210px) * .8); }
  /* knop op home: regel 1 "↗ AGENDA · wo 14 okt", regel 2 de titel; de stad valt weg */
  .v-stad-vak, .v-sep { display: none; }
  .v-titel { order: 10; flex-basis: 100%; }
  .naam { font-size: 35px; }
  .vak { font-size: 20px; }
  .titel { font-size: 28px; }
  .wie { font-size: 15px; }
  .tekst h2 { font-size: 19px; }
  .beeld { margin-top: 48px; }
  .beeld .rest { columns: 1; }
  .links .pil { min-height: 44px; }
  .agenda li { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "dag waar" "tijd waar" ". knop"; row-gap: 2px; align-items: start; }
  .agenda .zaal { display: block; }
  .agenda .dag { grid-area: dag; }
  .agenda .tijd { grid-area: tijd; }
  .agenda .waar { grid-area: waar; }
  .agenda .kaartjes { grid-area: knop; justify-self: start; margin-top: 10px; min-height: 44px; }
  .pil.spotify { min-height: 44px; }
  .lb-dicht { top: 12px; right: 12px; }
  .lb-vorige { left: 8px; top: auto; bottom: 16px; margin: 0; }
  .lb-volgende { right: 8px; top: auto; bottom: 16px; margin: 0; }
  .lichtbak img { max-height: 76vh; }
  .lb-teller { top: 26px; left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
