/* Bookings page, per Bookings PDF. Every rule scoped to body[data-world="bookings"].
 * Contrast (unchanged, with the designer): accent on donker 3.89:1, accent on licht 3.23:1,
 * donker on accent 3.90:1, licht on donker 12.59:1. */
body[data-world="bookings"] {
  --accent: #8d71ff; --licht: #f5f5f0; --donker: #2d2d2d;
  margin: 0; background: var(--licht); color: var(--donker); min-height: 100dvh;
}
body[data-world="bookings"] .bk-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
body[data-world="bookings"] :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body[data-world="bookings"] .bk-band--accent :is(a, button):focus-visible { outline-color: var(--donker); }

/* Shared type roles */
body[data-world="bookings"] .bk-text {
  margin: 0; font: 400 var(--world-text-size)/var(--world-text-leading) var(--world-font-body);
}
body[data-world="bookings"] .bk-head {
  margin: 0 0 var(--ruimte-66);
  font: 700 var(--world-kop3-size)/var(--world-kop3-leading) var(--world-font-display);
}
body[data-world="bookings"] .bk-sub { max-width: 30em; }

/* 1 Hero */
body[data-world="bookings"] .bk-hero {
  background: var(--licht); text-align: center;
  padding: calc(var(--ruimte-100) + var(--site-logo-bottom)) 0 var(--ruimte-100);
}
body[data-world="bookings"] .bk-hero-inner { display: flex; flex-direction: column; align-items: center; }
body[data-world="bookings"] .bk-kicker {
  margin: 0 0 var(--ruimte-66);
  font: 400 var(--world-caps-size)/var(--world-caps-leading) var(--world-font-display);
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
body[data-world="bookings"] .bk-title {
  margin: 0 0 var(--ruimte-66);
  font: 700 var(--world-kop1-size)/1 var(--world-font-display); color: var(--accent);
}
body[data-world="bookings"] .bk-lede {
  margin: 0; max-width: 21em; text-wrap: balance;
  font: 400 var(--world-text-size)/var(--world-text-leading) var(--world-font-body); color: var(--donker);
}
body[data-world="bookings"] .bk-formal { margin-top: var(--ruimte-66); max-width: 15em; }
body[data-world="bookings"] .bk-hero + #video-section.world-module--video { padding-top: 0; }

/* 2 Showreel: heading below the video */
body[data-world="bookings"] #video-section .bk-reel-video { width: 100%; }
body[data-world="bookings"] #video-section .world-video-head { margin: var(--ruimte-66) 0 0; }

/* Bands */
body[data-world="bookings"] .bk-band { padding: var(--ruimte-100) 0; }
body[data-world="bookings"] .bk-band--accent { background: var(--accent); color: var(--donker); }
body[data-world="bookings"] .bk-band--donker { background: var(--donker); color: var(--licht); }
body[data-world="bookings"] .bk-band--licht { background: var(--licht); color: var(--donker); }
body[data-world="bookings"] .bk-band--accent .bk-head { color: var(--donker); }
body[data-world="bookings"] .bk-band--donker .bk-head { color: var(--licht); }
body[data-world="bookings"] .bk-band--licht .bk-head { color: var(--accent); }

/* 3 Milestones */
body[data-world="bookings"] .bk-milestones {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--ruimte-78); row-gap: var(--ruimte-66);
}
body[data-world="bookings"] .bk-milestone {
  display: flex; flex-direction: column; border-top: 1px solid var(--donker);
  padding-top: var(--world-list-padding);
  font: 400 var(--world-text-size)/var(--world-text-leading) var(--world-font-body);
}
body[data-world="bookings"] .bk-milestone-year { color: var(--donker); }
body[data-world="bookings"] .bk-milestone-title { color: var(--licht); }
body[data-world="bookings"] .bk-milestone-title :is(strong, b) { font-weight: 400; }
body[data-world="bookings"] .bk-milestone-caption {
  margin-top: var(--world-list-padding);
  font: 400 var(--world-caps-size)/var(--world-caps-leading) var(--world-font-display);
  color: var(--donker); letter-spacing: .08em; text-transform: uppercase;
}

/* 4 Productions */
body[data-world="bookings"] .bk-prods {
  list-style: none; margin: var(--ruimte-66) 0 0; padding: 0; border-top: 1px solid var(--accent);
}
body[data-world="bookings"] .bk-prod {
  --bk-prod-leading: var(--world-text-leading);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) auto;
  column-gap: var(--ruimte-78); row-gap: var(--world-list-padding);
  padding-block: var(--world-list-padding); border-bottom: 1px solid var(--accent); align-items: start;
}
body[data-world="bookings"] .bk-prod-name {
  display: inline-block; color: var(--accent); text-decoration: none;
  font: 700 var(--world-text-size)/var(--bk-prod-leading) var(--world-font-body);
}
body[data-world="bookings"] .bk-prod-name:hover { text-decoration: underline; text-underline-offset: 4px; }
body[data-world="bookings"] .bk-prod-tagline { margin: 0; font: 400 var(--world-text-size)/var(--world-text-leading) var(--world-font-body); color: var(--licht); }
body[data-world="bookings"] .bk-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ruimte-78); row-gap: var(--world-list-padding);
}
body[data-world="bookings"] .bk-fact { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body[data-world="bookings"] .bk-fact-label {
  font: 400 var(--world-caps-size)/var(--bk-prod-leading) var(--world-font-display);
  letter-spacing: .08em; text-transform: uppercase; color: var(--licht);
}
body[data-world="bookings"] .bk-fact-value { font: 400 var(--world-text-size)/var(--world-text-leading) var(--world-font-body); color: var(--licht); }
body[data-world="bookings"] .bk-prod-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }

/* Pills */
body[data-world="bookings"] .bk-pill {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-height: 44px; height: var(--world-pill-height); padding-block: 0; padding-inline: var(--world-pill-padding); border-radius: 36px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 400 var(--world-caps-size)/1 var(--world-font-display); text-align: center; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
body[data-world="bookings"] .bk-pill--accent { background: var(--accent); color: var(--donker); border-color: var(--accent); }
body[data-world="bookings"] .bk-pill--accent:hover,
body[data-world="bookings"] .bk-pill--accent[aria-expanded="true"] { background: var(--licht); border-color: var(--licht); }
body[data-world="bookings"] .bk-pill--outline { background: transparent; color: var(--licht); border-color: var(--accent); }
body[data-world="bookings"] .bk-pill--outline:hover { background: var(--accent); color: var(--donker); }
body[data-world="bookings"] .bk-pill--dark { background: var(--donker); color: var(--licht); border-color: var(--donker); margin-top: var(--ruimte-66); }
body[data-world="bookings"] .bk-pill--dark:hover { background: var(--licht); color: var(--donker); }
body[data-world="bookings"] .bk-view-concerto { gap: .65em; }
body[data-world="bookings"] .bk-view-concerto::after { content: none; }
body[data-world="bookings"] .bk-pill[hidden] { display: none; }
/* Admin keeps empty rider/watch editors reachable */
body[data-world="bookings"]:has(#adm-bar) :is(.bk-rider--empty, .bk-watch--empty)[hidden] { display: inline-flex; opacity: .45; }

/* Row player */
body[data-world="bookings"] .bk-player { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
body[data-world="bookings"] .bk-player[hidden] { display: none; }
body[data-world="bookings"] .bk-player-stage { width: 100%; }
body[data-world="bookings"] .bk-player-close {
  min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--accent);
  font: 400 var(--world-caps-size)/var(--world-caps-leading) var(--world-font-display); letter-spacing: .08em; text-transform: uppercase;
}
body[data-world="bookings"] .bk-player-close:hover { text-decoration: underline; }

/* 7 See it live: module 9 with world names (Tour row grid) */
body[data-world="bookings"] .bk-tour-head { margin: 0 0 var(--ruimte-66); }
body[data-world="bookings"] .bk-tour-head .world-kop3 { margin: 0 0 var(--ruimte-66); color: var(--licht); }
body[data-world="bookings"] .bk-tour-head .bk-text { color: var(--licht); }
body[data-world="bookings"] #project-tour .bk-tour-past { display: none; }
body[data-world="bookings"] #project-tour.world-module--tour .world-tour-row {
  grid-template-columns: minmax(90px, 1.1fr) minmax(0, 3fr) minmax(0, 3fr) max(64px, 4.16666667vw);
  grid-template-rows: auto 1fr;
  grid-template-areas: "date proj place tix" "date note place tix";
  align-items: start; column-gap: var(--ruimte-78); row-gap: 0;
}
body[data-world="bookings"] #project-tour .world-tour-date { grid-area: date; }
body[data-world="bookings"] #project-tour .tour-project { grid-area: proj; min-width: 0; }
body[data-world="bookings"] #project-tour .world-tour-place { grid-area: place; min-width: 0; }
body[data-world="bookings"] #project-tour .world-tour-tickets { grid-area: tix; justify-self: end; }
body[data-world="bookings"] #project-tour .tour-note { grid-area: note; min-width: 0; }
body[data-world="bookings"] #project-tour :is(.tour-project, .tour-note, .world-tour-place, .world-tour-date) > * {
  display: block; overflow-wrap: break-word;
  font: 400 var(--world-text-size)/var(--world-text-leading) var(--world-font-body); color: var(--licht);
}
body[data-world="bookings"] #project-tour :is(.world-tour-day, .world-tour-venue, .tour-world) { font-weight: 700; }
body[data-world="bookings"] #project-tour a.tour-world-link { position: relative; color: var(--licht); text-decoration: none; }
body[data-world="bookings"] #project-tour a.tour-world-link::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 44px); transform: translateY(-50%);
}
body[data-world="bookings"] #project-tour a.tour-world-link:hover { text-decoration: underline; text-underline-offset: 4px; }
body[data-world="bookings"] #project-tour .world-tour-ticket { min-height: 44px; align-items: center; justify-content: center; padding-block: 0; text-decoration: none; }
body[data-world="bookings"] #project-tour .world-tour-status { margin-bottom: var(--ruimte-66); }
body[data-world="bookings"] #project-tour .bk-show-all {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--world-list-padding);
  font: 400 var(--world-caps-size)/var(--world-caps-leading) var(--world-font-display);
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none;
}
body[data-world="bookings"] #project-tour .bk-show-all:hover { text-decoration: underline; }
body[data-world="bookings"] #project-tour .bk-show-all[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  body[data-world="bookings"] .bk-pill { transition: none; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  body[data-world="bookings"] .bk-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  body[data-world="bookings"] .bk-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  body[data-world="bookings"] .bk-prod { grid-template-columns: minmax(0, 1fr); }
  body[data-world="bookings"] .bk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 12px; }
  body[data-world="bookings"] .bk-fact { gap: 3px; }
  body[data-world="bookings"] .bk-prod-actions { flex-direction: row; flex-wrap: wrap; }
  body[data-world="bookings"] .bk-prod-actions .bk-pill { flex: 1 1 auto; }
  body[data-world="bookings"] .bk-prod-actions .bk-watch { flex: 0 0 auto; width: auto; padding-inline: 20px; }
  body[data-world="bookings"] #project-tour.world-module--tour .world-tour-row {
    grid-template-columns: 19.62962963vw minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "date proj" "tix place" "tix note";
    column-gap: 2.03703704vw;
  }
  /* Override module 9's two-column venue placement for Tour's extra world line. */
  body[data-world="bookings"] #project-tour.world-module--tour .world-tour-date { grid-area: date; }
  body[data-world="bookings"] #project-tour.world-module--tour .tour-project { grid-area: proj; }
  body[data-world="bookings"] #project-tour.world-module--tour .world-tour-place { grid-area: place; }
  body[data-world="bookings"] #project-tour.world-module--tour .tour-note { grid-area: note; }
  body[data-world="bookings"] #project-tour.world-module--tour .world-tour-tickets { grid-area: tix; }
  body[data-world="bookings"] #project-tour.world-module--tour .world-tour-place .world-tour-venue { white-space: normal; }
  body[data-world="bookings"] #project-tour.world-module--tour .world-tour-tickets { justify-self: start; }
  body[data-world="bookings"] #project-tour .world-tour-tickets:empty { display: block; }
}
