/* Concert Programs: "The Engraved Programme"
   Ink on ivory · oxblood velvet accent · Cormorant Garamond / Spectral / Spline Sans Mono.
   Refined-minimal: the page reads like a finely printed recital programme.
   After dark it turns into the hall with the lights down: warm ink, gilt, velvet. */

:root {
  --paper:        #f4efe5;
  --paper-deep:   #ece3d2;
  --paper-raised: #f9f5ec;
  --ink:          #211c15;
  --ink-soft:     #574e41;
  --muted:        #73684f;   /* 4.8:1 on paper: the small mono labels must stay readable;
                                the search icon's data URI repeats this hex */
  --accent:       #6f1d28;   /* oxblood, concert-hall velvet */
  --accent-deep:  #531219;
  --accent-wash:  rgba(111, 29, 40, .06);
  --gilt:         #86692f;   /* ornaments, counts, the quiet highlights; 4.5:1 on paper */
  --rule:         #ddd3bf;
  --rule-strong:  #c7bba1;
  --header-bg:    rgba(244, 239, 229, .86);

  /* one quiet colour per orchestra: calendar tiles, chips, cards */
  --berlin:    #b0892f;   /* Philharmonie gold */
  --vienna:    #2f5680;   /* Musikverein blue */
  --amsterdam: #a5432f;   /* Concertgebouw brick */
  --london:    #2e6a58;   /* Barbican green */
  --house:     var(--accent);

  --header-h: 3.4rem;  /* sticky header; the bars pinned under it read this */
  --reading:  40rem;   /* prose column */
  --column:   60rem;   /* page column   */

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Spectral", Georgia, serif;
  --mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #16120e;
    --paper-deep:   #1f1a14;
    --paper-raised: #1c1712;
    --ink:          #ede4d3;
    --ink-soft:     #c2b59d;
    --muted:        #8f8470;
    --accent:       #e0a08f;   /* velvet under stage light */
    --accent-deep:  #f0bcae;
    --accent-wash:  rgba(224, 160, 143, .08);
    --gilt:         #c9a867;
    --rule:         #332b22;
    --rule-strong:  #4a4034;
    --header-bg:    rgba(22, 18, 14, .86);
    --berlin:    #d4ae55;
    --vienna:    #7fa6d4;
    --amsterdam: #dc8a73;
    --london:    #6fb59f;
  }
}

* { box-sizing: border-box; }

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;   /* anchors land below the sticky header */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: .003em;
  overflow-x: hidden;
}

/* faint paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  body::after { mix-blend-mode: screen; opacity: .03; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ─────────────────────────  header (sticky, compact)  ───────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.02em;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px var(--paper);
}
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: .03em;
  line-height: 1;
}
.brand:hover .brand__name { color: var(--accent); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: .35rem 0 .25rem;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.site-nav a:hover { color: var(--accent); border-color: var(--rule-strong); }
.site-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

.search { margin-left: auto; }
.search input {
  font-family: var(--body);
  font-style: italic;
  font-size: .9rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .35rem 1rem .35rem 2rem;
  width: 12rem;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373684f' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: .85rem;
  background-position: .75rem 50%;
  transition: width .3s, border-color .25s;
}
.search input:focus { outline: none; border-color: var(--accent); width: 16rem; }
.search input::placeholder { color: var(--muted); }

/* ─────────────────────────  layout  ───────────────────────── */

main {
  max-width: var(--column);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .55rem;
  margin: 0 0 2rem;
  padding: 0;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--rule-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] {
  color: var(--muted);
  max-width: 28ch;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* eyebrow section label, flanked by hairlines */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 3.4rem auto 1.6rem;
  max-width: none !important;
  text-align: center;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  height: 1px;
  background: var(--rule-strong);
  flex: 1 1 auto;
  max-width: 4.5rem;
}

/* ornamental divider */
.divider {
  text-align: center;
  color: var(--gilt);
  letter-spacing: .8em;
  font-size: .85rem;
  margin: 2.8rem 0;
  user-select: none;
}

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: .01em;
  margin: .4rem 0 1.2rem;
  text-wrap: balance;
}

/* default section heading on entity pages: a left-aligned engraved label */
main h2, .section-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3rem 0 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--rule);
}
main h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 1.5rem 0 .5rem;
}
.section-sub {
  font-family: var(--display) !important;
  font-style: italic;
  font-weight: 500 !important;
  font-size: 1.25rem !important;
  color: var(--ink-soft);
  margin: 1.8rem 0 .4rem !important;
}

a { color: var(--accent); }
p a, .prose a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s ease;
}
p a:hover, .prose a:hover { background-size: 100% 1px; }

/* generic prose on entity/about pages */
main > p, .prose { max-width: var(--reading); }
.prose h2 { margin-top: 2.4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .4rem 0; }
.more { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); }
.more a { background: none; }

/* ─────────────────────────  page heads  ───────────────────────── */

.page-head { margin: 0 0 1.5rem; }
.page-head h1 { margin: .2rem 0 .5rem; }
.page-head__kicker {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gilt);
  margin: 0;
}
.page-head__kicker a { color: inherit; background: none; }
.page-head__lede {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0;
}
.page-head--berlin    { --sw: var(--berlin); }
.page-head--vienna    { --sw: var(--vienna); }
.page-head--amsterdam { --sw: var(--amsterdam); }
.page-head--london    { --sw: var(--london); }
.page-head[class*="page-head--"] { border-left: 3px solid var(--sw); padding-left: 1.2rem; }

/* ─────────────────────────  hero (home, 404)  ───────────────────────── */

.hero {
  text-align: center;
  max-width: 44rem;
  margin: 2.5rem auto 1rem;
}
.hero__kicker {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.hero__title {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1;
  margin: .8rem 0 1.2rem;
}
.hero__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.hero--quiet { margin-top: 4rem; }
.hero--quiet .filters { justify-content: center; border: 0; }

.button {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  padding: .8rem 1.3rem;
  background-image: none !important;
  transition: background .25s, color .25s, border-color .25s;
}
.button:hover { border-color: var(--accent); color: var(--accent); }
.button--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* ─────────────────────────  cards (orchestras, venues)  ───────────────────────── */

.cards {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1rem;
}
.cards--ensembles { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.card {
  --sw: var(--gilt);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--sw);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -18px rgba(0,0,0,.45); }
.card--berlin    { --sw: var(--berlin); }
.card--vienna    { --sw: var(--vienna); }
.card--amsterdam { --sw: var(--amsterdam); }
.card--london    { --sw: var(--london); }
.card__link {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.1rem 1.2rem 1rem;
  text-decoration: none;
  color: var(--ink);
  flex: 1;
}
.card__city, .card__next-label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sw);
  color: color-mix(in srgb, var(--sw) 65%, var(--ink));   /* Berlin gold alone is too pale for small text on paper */
}
.card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.12;
}
.card__link:hover .card__title { color: var(--accent); }
.card__meta { font-size: .82rem; color: var(--muted); font-style: italic; }
.card__next {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .8rem 1.2rem 1rem;
  border-top: 1px dashed var(--rule-strong);
  text-decoration: none;
  color: var(--ink);
}
.card__next-title { font-family: var(--display); font-size: 1.08rem; line-height: 1.2; }
.card__next:hover .card__next-title { color: var(--accent); }
.card__next-date { font-size: .78rem; color: var(--muted); }

/* ─────────────────────────  concert rows + calendar tiles  ───────────────────────── */

.rows { list-style: none; padding: 0; margin: .6rem 0 1.5rem; }
.row {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.row:last-child { border-bottom: none; }

.tile {
  --sw: var(--house);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--rule-strong);
  border-top: 4px solid var(--sw);
  background: var(--paper-raised);
  padding: .2rem 0 .3rem;
  line-height: 1;
  text-align: center;
}
.tile--berlin    { --sw: var(--berlin); }
.tile--vienna    { --sw: var(--vienna); }
.tile--amsterdam { --sw: var(--amsterdam); }
.tile--london    { --sw: var(--london); }
.tile__dow, .tile__mon {
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .2rem 0;
}
.tile__day {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--ink);
  /* Cormorant's old-style 1 reads as a roman I on a calendar */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.row__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.row__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
  text-wrap: balance;
}
.row__title:hover { color: var(--accent); }
.row__meta {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.row__works { font-style: italic; font-size: .9rem; color: var(--ink-soft); }

.month { margin: 0 0 1rem; }
.month__label {
  font-family: var(--display) !important;
  font-style: italic;
  font-weight: 500 !important;
  font-size: 1.3rem !important;
  color: var(--gilt);
  margin: 1.8rem 0 .2rem !important;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.month__label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* legacy lists (works, index pages) */
.concert-list, .entity-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.concert-list li, .entity-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.concert-list li a, .entity-list li a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}
.concert-list li a:hover, .entity-list li a:hover { color: var(--accent); }

.meta {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.empty { color: var(--muted); font-style: italic; font-family: var(--display); font-size: 1.1rem; list-style: none; }

/* A–Z indexes */
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0 0 1.5rem;
}
/* Bars that stay under the header, so any letter or month is one tap away
   however far down the page the reader is. */
.alphabet, .month-strip {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  padding: .5rem 0;
  background: var(--paper);
}
.alphabet a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.alphabet a:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.letter__head {
  font-family: var(--display) !important;
  font-size: 2rem !important;
  letter-spacing: 0 !important;
  color: var(--gilt) !important;
  text-transform: none !important;
  margin: 1.5rem 0 .2rem !important;
}
.index-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  columns: 2 18rem;
  column-gap: 2.5rem;
}
.index-list li {
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .35rem 0;
  border-bottom: 1px dotted var(--rule);
}
.index-list a {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.index-list a:hover { color: var(--accent); }
.index-list__meta { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.index-list__count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--gilt);
}

/* ─────────────────────────  chips, facets, filters  ───────────────────────── */

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 1rem; }
.chip {
  --sw: var(--rule-strong);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: .4rem .85rem;
  background-image: none !important;
  transition: background .2s, color .2s, border-color .2s;
}
.chip::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--sw);
}
.chip span { color: var(--gilt); }
.chip--berlin    { --sw: var(--berlin); }
.chip--vienna    { --sw: var(--vienna); }
.chip--amsterdam { --sw: var(--amsterdam); }
.chip--london    { --sw: var(--london); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.facets { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin: 1.5rem 0 0; }
.facet__label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.refine { margin: .5rem 0 1rem; }
.refine summary {
  cursor: pointer;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  width: fit-content;
}
.refine summary:hover { color: var(--accent); }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.filters select, .filters input, .filters button {
  font-family: var(--body);
  font-size: .95rem;
  padding: .45rem .65rem;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  max-width: 16rem;
}
.filters--search input { flex: 1; max-width: 30rem; font-size: 1.1rem; }
.filters button {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.filters button:hover { background: var(--accent); border-color: var(--accent); }
.filters__clear { font-size: .85rem; align-self: center; }

.month-strip {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  margin: 1.5rem 0 0;
  scrollbar-width: thin;
}
.month[id] { scroll-margin-top: 3.2rem; }   /* jump targets clear the pinned strip */
.month-strip a {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: .45rem .75rem;
}
.month-strip a span { color: var(--muted); }
.month-strip a:hover { border-color: var(--accent); color: var(--accent); }

.search-result { flex-direction: row !important; align-items: baseline; gap: .9rem !important; }
.search-result .kind {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gilt);
  flex: 0 0 5.5rem;
}

/* ─────────────────────────  concert page  ───────────────────────── */

/* reading progress: scroll-driven where supported, invisible elsewhere */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }

.concert-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1rem;
}
.concert-header .eyebrow { margin-top: 0; }
.concert-header h1 { margin: .6rem 0 1rem; }
.concert-header .meta {
  font-family: var(--body);
  font-size: 1.02rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: .4rem 0;
}
.concert-header .meta a { color: var(--ink); display: inline-block; }   /* a hall or orchestra name wraps whole, not mid-name */
.concert-header .meta a:hover { color: var(--accent); }
.concert-header .when {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* the running order: tonight's programme, and the guide's contents */
.running-order {
  max-width: var(--reading);
  margin: 2.4rem auto 1rem;
  padding: 1.3rem 1.5rem 1.1rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 4px;
}
.running-order__label {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 .8rem;
}
.running-order__label span { color: var(--muted); letter-spacing: .1em; }
.running-order ol { list-style: none; margin: 0; padding: 0; counter-reset: ro; }
.running-order li { counter-increment: ro; border-bottom: 1px dotted var(--rule-strong); }
.running-order li:last-child { border-bottom: none; }
.running-order li a {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  grid-template-areas: "n c d" "n w d";
  column-gap: .6rem;
  padding: .55rem 0;
  text-decoration: none;
  color: var(--ink);
}
.running-order li a::before {
  content: counter(ro, upper-roman);
  grid-area: n;
  font-family: var(--display);
  font-style: italic;
  color: var(--gilt);
  font-size: 1.05rem;
  align-self: center;
}
.ro__composer {
  grid-area: c;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ro__work { grid-area: w; font-family: var(--display); font-size: 1.18rem; line-height: 1.2; }
.ro__dur { grid-area: d; align-self: center; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.running-order li a:hover .ro__work { color: var(--accent); }
.running-order__jump {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin: .9rem 0 0;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.running-order__jump a { color: var(--ink-soft); }

.programme { max-width: var(--reading); margin: 0 auto; }

.programme-item {
  position: relative;
  padding: 2.6rem 0;
  border-top: 1px solid var(--rule);
}
.programme-item:first-of-type { border-top: none; }
.programme-item__num {
  position: absolute;
  left: -4.2rem;
  top: 2.2rem;
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  color: var(--rule-strong);
}

.programme-item h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0 0 .25rem;
  padding: 0;
  border: 0;
  color: var(--ink);
}
.programme-item h2 a { color: var(--ink); text-decoration: none; }
.programme-item h2 a:hover { color: var(--accent); }
.programme-item h2 .dates {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--muted);
  margin-left: .25rem;
  white-space: nowrap;   /* never split a life span across two lines */
}
.programme-item h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink-soft);
  margin: 0 0 1.3rem;
  text-wrap: balance;
}
.programme-item h3 a { color: inherit; text-decoration: none; }
.programme-item h3 a:hover { color: var(--accent); }
.dur {
  display: inline-block;
  font-family: var(--mono);
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: .1rem .55rem;
  margin-left: .5rem;
  vertical-align: middle;
}

/* the per-work prose, with a drop cap on its opening paragraph */
.work-notes { max-width: var(--reading); hyphens: auto; }
/* A note may open with a one-line subtitle above its first heading; the
   drop cap belongs to the prose under that heading, not to that line. */
.work-notes > h4:first-of-type + p::first-letter {
  font-family: var(--display);
  font-weight: 600;
  float: left;
  font-size: 3.6em;
  line-height: .72;
  padding: .06em .12em 0 0;
  color: var(--accent);
}
.work-notes h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.2rem 0 .6rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.work-notes h4::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.work-notes p { margin: 0 0 1.1rem; }

/* tonight's artists */
.artists { max-width: var(--reading); margin: 0 auto; }
.artists h2 {
  font-size: .72rem;
  letter-spacing: .26em;
  text-align: center;
  margin: 3rem 0 1.8rem;
  border: 0;
}
.artists h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 1.8rem 0 .4rem;
}
.artists h3 a { color: var(--ink); text-decoration: none; }
.artists h3 a:hover { color: var(--accent); }

/* listen & download */
/* Further reading: three books per programme, two accessible and one deeper */
.reading { max-width: var(--reading); margin: 3rem auto 0; }
.reading__list { list-style: none; padding: 0; margin: 0; }
.reading__item { padding: 1rem 0; border-top: 1px solid var(--rule); }
.reading__item:first-child { border-top: 0; }  /* the section label already draws a rule */
.reading__item:last-child { border-bottom: 1px solid var(--rule); }
.reading__head { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
.reading__title { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.2;
  color: var(--ink); text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.reading__title:hover { color: var(--accent); }
.reading__level { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .12rem .45rem; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--ink-soft); }
.reading__level--deeper { border-color: var(--gilt); color: var(--gilt); }
.reading__by { margin: .25rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.reading__pub { font-style: italic; color: var(--muted); }
.reading__why p { margin: .45rem 0 0; font-size: .95rem; }
.reading__disclosure { margin: .8rem 0 0; font-size: .78rem; color: var(--muted); }

.listen { max-width: var(--reading); margin: 3rem auto 0; }
.playlists { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0 0 1.5rem; }
.playlists a, .pdf-link {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  padding: .75rem 1.25rem;
  transition: background .25s, color .25s, border-color .25s;
}
.playlists a:hover, .pdf-link:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }

.pdf-editions__label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .7rem;
}
.pdf-editions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .8rem;
}
.pdf-edition__link {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s, transform .25s;
}
.pdf-edition__link:hover { border-color: var(--accent); transform: translateY(-2px); }
/* a little sheet drawn at each edition's proportions: A4 portrait, A6 pocket */
.pdf-edition__sheet {
  width: 1.6rem;
  height: 2.26rem;
  border: 1px solid var(--rule-strong);
  background:
    repeating-linear-gradient(to bottom, transparent 0 .3rem, var(--rule) .3rem calc(.3rem + 1px)) .25rem .45rem / calc(100% - .5rem) calc(100% - .8rem) no-repeat,
    var(--paper);
  margin-bottom: .3rem;
}
.pdf-edition--pocket .pdf-edition__sheet { width: 1.15rem; height: 1.62rem; margin-top: .64rem; }
.pdf-edition--hall .pdf-edition__sheet { box-shadow: 3px 3px 0 -1px var(--paper), 3px 3px 0 0 var(--rule-strong); }
.pdf-edition__name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--accent); }
.pdf-edition__desc { font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* continue: neighbours and cross-links */
.continue { max-width: var(--reading); margin: 2rem auto 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pager a {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s;
}
.pager a:hover { border-color: var(--accent); }
.pager__next { text-align: right; grid-column: 2; }
.pager__dir {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pager__title { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.pager a:hover .pager__title { color: var(--accent); }
.pager__date { font-size: .8rem; color: var(--muted); }
.continue__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.4rem;
  margin: 1.4rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
}

/* ─────────────────────────  version line + sources  ───────────────────────── */

/* A quiet subtitle under the masthead ("v3 · updated 30 September 2026")
   that opens into the change log. */
.version { margin: 1rem auto 0; max-width: 34rem; text-align: center; }
.version summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .3rem .8rem;
  transition: color .2s, border-color .2s;
}
.version summary::-webkit-details-marker { display: none; }
.version summary::after { content: " ▾"; }
.version[open] summary::after { content: " ▴"; }
.version summary:hover { color: var(--accent); border-color: var(--accent); }
.version__log {
  text-align: left;
  margin: 1rem 0 0;
  padding: 1rem 1.2rem;
  list-style: none;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  font-size: .9rem;
}
.version__log > li { margin: 0 0 .8rem; }
.version__log > li:last-child { margin-bottom: 0; }
.version__head { margin: 0; color: var(--ink); }
.version__head strong { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.version__log ul { margin: .3rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.version__sources { font-size: .85rem; margin: .6rem 0 0; }

.sources-wrap { max-width: var(--reading); margin: 0 auto; }
.sources { margin-top: 3rem; }
.sources__count { color: var(--muted); letter-spacing: .1em; }
.sources__list { padding-left: 1.4rem; margin: 0; font-size: .88rem; line-height: 1.5; }
.sources__list > li { margin: 0 0 .7rem; padding-left: .2rem; }
.sources__list > li::marker { font-family: var(--mono); font-size: .7rem; color: var(--gilt); }
.sources__list a { color: var(--ink); text-decoration-color: var(--rule-strong); text-underline-offset: 2px; }
.sources__list a:hover { color: var(--accent); }
.sources__pub { color: var(--ink-soft); font-style: italic; }
.sources__meta { display: block; font-size: .78rem; color: var(--muted); }
.sources__meta a { color: var(--muted); }

.status-flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  padding: .3rem .8rem;
  margin: 0;
}
.status-flag--small { font-size: .55rem; padding: .15rem .5rem; width: fit-content; }

.artists__role {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: .5rem;
}

/* ─────────────────────────  footer  ───────────────────────── */

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 2.2rem 1.5rem 2.5rem;
  color: var(--muted);
  font-size: .9rem;
  background: var(--paper-deep);
}
.site-footer .ornament { color: var(--gilt); font-size: 1.1rem; margin: 0 0 1.2rem; text-align: center; }
.site-footer__cols {
  max-width: var(--column);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.5rem 2rem;
}
.site-footer__label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .5rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .2rem 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__fine { text-align: center; font-size: .78rem; margin: 2rem 0 0; }

/* ─────────────────────────  motion  ───────────────────────── */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.programme-item { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.programme-item:nth-of-type(2) { animation-delay: .08s; }
.programme-item:nth-of-type(3) { animation-delay: .16s; }
.programme-item:nth-of-type(4) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  main, .programme-item, .progress { animation: none; }
  .card, .pdf-edition__link { transition: none; }
}

/* ─────────────────────────  responsive  ───────────────────────── */

@media (max-width: 70rem) {
  .programme-item__num { position: static; font-size: 1.1rem; color: var(--gilt); margin-bottom: .4rem; }
  .programme-item__num::before { content: "No. "; font-style: italic; font-weight: 400; }
}

@media (max-width: 52rem) {
  .site-header__inner { flex-wrap: wrap; gap: .5rem 1rem; padding: .6rem 1rem; }
  .search { margin-left: auto; }
  .search input, .search input:focus { width: 9.5rem; }
  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.1rem;
    padding-bottom: .1rem;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  :root { --header-h: 5.6rem; }
  html { scroll-padding-top: 7rem; }
}

@media (max-width: 34rem) {
  html { font-size: 17px; }
  main { padding: 1.5rem 1rem 3rem; }
  .brand__name { font-size: 1.2rem; }
  .search input, .search input:focus { width: 7.5rem; }
  .row { grid-template-columns: 3rem 1fr; gap: .8rem; }
  .row__title { font-size: 1.25rem; }
  .concert-list li a, .entity-list li a { font-size: 1.25rem; }
  .search-result { flex-direction: column !important; gap: .2rem !important; }
  .search-result .kind { flex-basis: auto; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { grid-column: 1; }
  .running-order { padding: 1rem; }
  .filters select, .filters input { max-width: 100%; }
  /* one swipeable row instead of a tower of pills */
  nav.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -1rem; padding-right: 1rem; }
  nav.chips::-webkit-scrollbar { display: none; }
  nav.chips .chip { flex: 0 0 auto; }
}

/* ─────────────────────────  print  ───────────────────────── */

@media print {
  body::after, .site-header, .site-footer, .crumbs, .progress, .continue,
  .listen, .running-order__jump, .skip-link, .version summary::after { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main { max-width: none; padding: 0; animation: none; }
  .programme-item { break-inside: avoid-page; animation: none; }
  a { color: inherit; }
}

/* Analytics consent: a quiet card in the corner until the visitor chooses. */
.consent {
  position: fixed; z-index: 60; right: 1rem; bottom: 1rem; left: 1rem;
  max-width: 24rem; margin-left: auto;
  padding: 1.1rem 1.2rem 1rem;
  background: var(--paper-raised); color: var(--ink);
  border: 1px solid var(--rule-strong); border-top: 2px solid var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.consent--in { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__label {
  margin: 0 0 .45rem; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gilt);
}
.consent__text { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.consent__actions { display: flex; gap: .6rem; }
.consent__actions .button { flex: 1; cursor: pointer; padding: .7rem 1rem; text-align: center; }
.consent__actions .button:not(.button--solid) { background-color: transparent; }
.consent__note { margin: .8rem 0 0; font-size: .78rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* "Spotted a mistake?" at the end of every guide. */
.feedback-note {
  max-width: var(--reading); margin: 2.5rem auto 0; padding: 1.1rem 1.25rem;
  border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  background: var(--accent-wash); border-radius: 4px;
}
.feedback-note p { margin: 0 0 .7rem; }
.feedback-note p:last-child { margin-bottom: 0; }
.feedback-note__title { font-weight: 600; }
.feedback-note__more { margin-left: .8rem; font-size: .92rem; }
.feedback-promise { border-left: 3px solid var(--gilt); padding-left: .9rem; }

/* Work page: the movements of the work, before its note. */
.movements { max-width: var(--reading); margin: 1.5rem 0 2rem; }
.movements ol { margin: .6rem 0 0; padding-left: 1.4rem; }
.movements li { margin: .25rem 0; }
.movements .meta { font-size: .8rem; color: var(--muted); font-weight: normal; }
#program-notes { max-width: var(--reading); margin-bottom: 2.5rem; }
