/* The opening spread uses the existing press photographs and typefaces. */
.cover {
  --sleeve: #f0eadf;
  --type: #191a16;
  --fine-rule: #b9b3a6;
  --edge: clamp(24px, 4.4vw, 82px);
  display: grid;
  grid-template-columns: 49% 51%;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--sleeve);
  color: var(--type);
}
.cover-head, .cover-base { min-width: 0; padding-inline: var(--edge); }
.cover-head { grid-area: 1 / 1; padding-top: clamp(24px, 3vw, 50px); }
.cover-edition, .cover-origin, .cover-credit, .cue-duration {
  font: 600 11px/1.4 var(--font);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.cover-edition {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cover-edition::after { content: ""; height: 1px; background: var(--fine-rule); flex: 1; }
.cover-edition span:last-child { order: 1; font-variant-numeric: tabular-nums; }
.cover-type { padding: clamp(48px, 5.9vw, 100px) 0 28px; }
.cover-origin { display: flex; align-items: center; gap: .75em; flex-wrap: wrap; letter-spacing: .075em; }
.cover-origin::before { content: ""; width: .62em; height: .62em; background: #c44819; border-radius: 50%; }
.cover-origin span { color: #8d887b; }
.cover h1 {
  margin: .07em 0 .10em -.055em;
  font: italic 900 clamp(72px, 10.1vw, 240px)/1 var(--display);
  letter-spacing: -.087em;
}
.cover-intro { font-size: clamp(22px, 2.35vw, 41px); line-height: 1.12; letter-spacing: -.05em; max-width: 15em; }
.cover-base { grid-area: 2 / 1; padding-bottom: clamp(24px, 3.1vw, 55px); }
.cover-base p { color: #56584c; font-size: clamp(13px, 1.05vw, 16px); }
.cover-base strong { color: var(--type); font-weight: 600; }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 15px; }
.cover-book { background: var(--type); color: var(--sleeve); }
.cover-book:hover, .cover-book:focus-visible { background: #383a31; }
.cover-sets { font-size: 14px; border-bottom: 1px solid var(--fine-rule); padding: 8px 0; }
.cover-sets span { margin-left: 8px; }
.cover-live { grid-area: 1 / 2 / span 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.cover-image { position: relative; overflow: hidden; min-height: clamp(360px, 33vw, 620px); background: #111315; }
.cover-image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cover-credit { position: absolute; bottom: 18px; left: 20px; padding: 5px 9px; background: #10110fe0; color: #f6f0e7; }
.cover-cue {
  display: flex; align-items: center; gap: clamp(12px, 1.3vw, 24px);
  background: var(--orange); color: var(--type); padding: 16px clamp(18px, 2vw, 36px);
}
.cover-cue:focus-visible { outline: 3px solid white; outline-offset: -5px; }
.cue-play { width: 38px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; padding-left: 2px; font-size: 13px; flex: none; }
.cover-cue strong { white-space: nowrap; font-weight: 700; font-size: 17px; letter-spacing: -.03em; }
.cover-cue img { width: 0; flex: 1; height: 32px; object-fit: fill; opacity: .8; }
.cue-duration { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.cover-cue:hover .cue-play, .cover-cue:focus-visible .cue-play { background: var(--type); color: var(--orange); }

.festival-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  scroll-margin-top: 16px;
  margin-bottom: 24px;
  padding: clamp(18px, 3vw, 48px);
  background: var(--ink);
  color: var(--paper);
}
.festival-feature-copy .eyebrow { color: var(--orange); }
.festival-feature h3 { max-width: 12ch; margin: .55em 0 .32em; font-size: clamp(28px, 3.6vw, 56px); }
.festival-feature-copy > p:last-child { color: #ccc8bb; }
.festival-feature video {
  display: block;
  width: 100%;
  max-width: 18rem;
  height: auto;
  aspect-ratio: 90 / 113;
  justify-self: center;
  background: #080a09;
}
.festival-feature video:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media screen {
  .site-header { min-height: 66px; padding-block: 12px; padding-inline: clamp(20px,4.4vw,82px); }
  .header-booking { font-weight: 600; }
  .highlights { background: #20221b; color: var(--paper); padding-block: clamp(20px,2.5vw,42px); }
  .metric { border-color: #515449; }
  .metric strong { font-family: var(--display); font-weight: 400; font-size: clamp(29px,3.5vw,61px); letter-spacing: -.065em; }
  .metric-proof strong { font-family: var(--font); font-weight: 600; font-size: clamp(22px,2.5vw,43px); line-height: 1.35; }
  .metric small { color: #bec1b2; }
  .section-label { position: relative; }
  .section-label::before { position: absolute; content: ""; top: -2px; left: 0; width: 46px; height: 3px; background: var(--orange); transform-origin: left; }
  .sound .section-label::before { background: var(--ink); }
  .section-heading h2 em, .about-copy h2 em, .audience-layout h2 em, .sound-layout h2 em { display: inline-block; font-style: italic; }
  .festival-proof { padding-inline: clamp(18px,2.5vw,48px); background: #ded9cc; border: 0; border-left: 4px solid #b14a21; }
  .media-details > summary, .catalogue-details > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; list-style: none; }
  .media-details > summary::-webkit-details-marker, .catalogue-details > summary::-webkit-details-marker { display: none; }
  .media-details > summary::after, .catalogue-details > summary::after {
    content: ""; width: 24px; height: 24px; margin-left: auto; flex: none; border: 1px solid currentColor; border-radius: 50%;
    background: linear-gradient(currentColor,currentColor) center / 10px 1px no-repeat,
                linear-gradient(currentColor,currentColor) center / 1px 10px no-repeat;
  }
  .media-details[open] > summary::after, .catalogue-details[open] > summary::after { background-size: 10px 1px, 1px 0; }
  .media-details > summary small, .catalogue-details > summary span { float: none; padding: 0; margin: 0; }
  .live-preview-video:focus-visible, .about-video:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
  .country-row i { height: 3px; }
  .country-row i::before { transform-origin: left; }
  .press-photo-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .press-photo:nth-child(1), .press-photo:nth-child(4) { grid-column: span 7; }
  .press-photo:nth-child(2), .press-photo:nth-child(3) { grid-column: span 5; }
  .press-photo > a { height: clamp(260px, 34vw, 610px); }
  .press-photo { margin-bottom: 6px; }
  .booking-card:first-child { border-top: 3px solid var(--orange); }
  .booking-card:nth-child(2) { border-top: 3px solid #bdc6aa; }
}
@media screen and (min-width:761px) and (max-height:720px) {
  .cover-type { padding-block: clamp(24px,3vw,48px) 22px; }
  .cover-image { min-height: clamp(285px,52svh,430px); }
  .cover-head { padding-top: 24px; }
  .cover-base { padding-bottom: 24px; }
}
@media screen and (max-width:760px) {
  .cover { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .cover-head, .cover-live, .cover-base { grid-area: auto; }
  .cover-head { padding-top: 18px; }
  .cover-type { padding: 22px 0; }
  .cover h1 { font-size: clamp(76px, 20.4vw, 150px); }
  .cover-intro { max-width: 20em; font-size: clamp(20px, 4.8vw, 28px); }
  .cover-image { min-height: 0; height: clamp(210px, 55vw, 340px); }
  .cover-image > img { object-position: 50% 35%; }
  .cover-credit { bottom: 12px; left: var(--edge); font-size: 10px; }
  .cover-cue { padding: 10px var(--edge); }
  .cue-play { width: 32px; }
  .cover-base { padding-block: 18px 20px; }
  .cover-actions { margin-top: 10px; }
  .cover-book { min-height: 44px; padding: 11px 16px; }
  .cover-sets { padding: 10px 0; }
  .site-header { min-height: 58px; }
  .metric-proof strong { min-height: 0; }
  .festival-proof { padding: 18px; }
  .festival-feature { grid-template-columns: minmax(0, 1fr); }
  .media-details > summary, .catalogue-details > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .media-details > summary small, .catalogue-details > summary span { grid-column: 1; }
  .media-details > summary::after, .catalogue-details > summary::after { grid-area: 1 / 2 / span 2; }
  .press-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
  .press-photo:nth-child(n) { grid-column: span 1; }
  .press-photo:first-child, .press-photo:last-child { grid-column: 1/-1; }
  .press-photo > a { height: auto; aspect-ratio: 3/4; }
  .press-photo:first-child > a, .press-photo:last-child > a { aspect-ratio: 4/3; }
  .press-photo figcaption { flex-wrap: wrap; gap: 0 8px; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .cover h1 { animation: sleeve-title .65s cubic-bezier(.19,.72,.2,1) both; }
  .cover-image > img { animation: sleeve-photo 1.05s cubic-bezier(.15,.7,.2,1) both; }
  .cue-play { transition: background .18s, color .18s; }
  .entered:is(h2) em { animation: sleeve-title .65s cubic-bezier(.19,.72,.2,1); }
  .section-label.entered::before { animation: draw-line .6s ease-out; }
  .press-photo.entered img { animation: sleeve-photo .85s cubic-bezier(.2,.7,.2,1); }
  .festival-proof.entered { animation: proof-enter .48s ease-out; }
  .media-details[open] > .details-body, .catalogue-details[open] > .track-grid {
    animation: disclosure-in .26s ease-out;
  }
  .country-list.entered i::before { animation: draw-line .75s cubic-bezier(.15,.65,.25,1) both; }
  .country-row:nth-child(2) i::before { animation-delay: 45ms; }
  .country-row:nth-child(3) i::before { animation-delay: 90ms; }
  .country-row:nth-child(4) i::before { animation-delay: 135ms; }
  .country-row:nth-child(5) i::before { animation-delay: 180ms; }
  .country-row:nth-child(6) i::before { animation-delay: 225ms; }

  @keyframes sleeve-title {
    from { transform: translateY(.18em); clip-path: inset(0 0 64% -8%); }
    to { transform: none; clip-path: inset(-10% -5% -10% -8%); }
  }
  @keyframes sleeve-photo { from { transform: scale(1.055); } to { transform: scale(1); } }
  @keyframes draw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes proof-enter { from { transform: translateX(-12px); } to { transform: none; } }
  @keyframes disclosure-in { from { opacity: .7; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  /* A gentle camera push as the sleeve leaves the screen; the caption stays still. */
  @supports (animation-timeline: view()) {
    .cover { view-timeline-name: --sleeve; }
    .cover-image > img {
      animation: booth-drift linear both;
      animation-timeline: --sleeve;
      animation-range: exit 0% exit 100%;
    }
    @keyframes booth-drift { from { transform: none; } to { transform: scale(1.12) translateY(3%); } }
  }

  /* The reading line follows actual scroll distance, including open disclosures. */
  @supports (animation-timeline: scroll()) {
    .site-header::after {
      content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--orange);
      transform-origin: left; pointer-events: none;
      animation: draw-line linear both; animation-timeline: scroll(root block);
    }
  }
}
@media print {
  .festival-feature { display: block; background: white; color: black; border: 1px solid #aaa; padding: 4mm; break-inside: avoid; }
  .festival-feature p { color: black !important; }
  .festival-feature h3 { max-width: none; font-size: 16pt; }
  .festival-feature video { display: none; }
  .cover { display: block; background: white; color: black; break-inside: avoid; }
  .cover-head, .cover-base { padding: 2mm 0; }
  .cover-type { padding: 2mm 0; }
  .cover h1 { font-size: 39pt; }
  .cover-intro { font-size: 14pt; }
  .cover-edition { display: none; }
  .cover-live, .cover-actions { display: none; }
}
