/* Presentation layers for Beethoven 5 only. All layers leave transport accessible. */
body {
  --cinema-tone: 140, 153, 226;
  --cinema-energy: 0;
  --cinema-reveal: 0;
  --cinema-scene: 1;
  --cinema-caption: 1;
  --cinema-end: 0;
}
#cinematic-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(var(--cinema-tone), calc(.035 + var(--cinema-energy) * .14)), transparent 58%),
    radial-gradient(ellipse at 0% 62%, rgba(var(--cinema-tone), calc(.025 + var(--cinema-energy) * .1)), transparent 36%),
    radial-gradient(ellipse at 100% 62%, rgba(var(--cinema-tone), calc(.025 + var(--cinema-energy) * .1)), transparent 36%),
    #06080e;
  opacity: var(--cinema-scene);
}
#stage { z-index: 1; opacity: calc(var(--cinema-reveal) * var(--cinema-scene)); }
.symphony-instruments { z-index: 2; opacity: calc(var(--cinema-reveal) * var(--cinema-scene)); }
.symphony-instruments figure { --presence: 0; }
.symphony-instruments svg {
  filter: brightness(calc(1.05 + var(--light) * .75 + var(--presence) * .15))
    drop-shadow(0 0 calc(var(--light) * 10px + var(--presence) * 5px) rgba(var(--tone), .8));
}
.symphony-instruments figcaption {
  transition: color .3s, text-shadow .3s;
  letter-spacing: .015em;
}
.symphony-instruments [data-featured="true"] figcaption {
  color: #fff4da;
  text-shadow: 0 0 14px rgba(var(--tone), .95), 0 0 30px rgba(var(--tone), .35);
}
.symphony-instruments [data-featured="true"] { border-bottom-color: rgba(var(--tone), .6); }
#cinematic-vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 52%, transparent 44%, #02030980 100%);
}
#cinematic-caption, #cinematic-ending {
  position: fixed;
  z-index: 4;
  pointer-events: none;
  text-align: center;
  color: #efe8db;
  text-shadow: 0 2px 18px #000, 0 0 50px rgba(var(--cinema-tone), .2);
}
#cinematic-caption {
  top: 15%;
  left: 23%;
  width: 54%;
  opacity: var(--cinema-caption);
  transform: translateY(calc((1 - var(--cinema-caption)) * -10px));
}
.cinematic-eyebrow { font-size: clamp(9px, .76vw, 28px); letter-spacing: .28em; color: #d3c4aa; }
.cinematic-name { font: 400 clamp(28px, 4.3vw, 170px)/1.15 Georgia, serif; margin: 1.8vh 0 1.2vh; }
.cinematic-name span { color: #f5d59b; }
.cinematic-subtitle { font-size: clamp(9px, .8vw, 30px); letter-spacing: .3em; color: #c5bfba; }
.cinematic-rule { height: 1px; width: 30%; margin: 2.1vh auto; background: linear-gradient(90deg, transparent, #d6b980, transparent); }
.cinematic-movement { font: italic clamp(12px, 1.25vw, 46px) Georgia, serif; color: #f3dcb8; }
#cinematic-ending { top: 35%; left: 20%; width: 60%; opacity: var(--cinema-end); }
#cinematic-ending .cinematic-name { font-size: clamp(25px, 3.6vw, 140px); }
#cinematic-ending p { font-size: clamp(10px, .85vw, 30px); line-height: 1.9; color: #a9a9b4; margin-top: 3vh; }
header, footer { z-index: 10; }
@media (max-width: 700px) and (orientation: portrait) {
  #cinematic-caption { top: 15%; left: 8%; width: 84%; }
  .cinematic-name { font-size: 30px; }
  .cinematic-eyebrow { letter-spacing: .12em; }
  #cinematic-ending { left: 8%; width: 84%; }
}
@media (prefers-reduced-motion: reduce) {
  #cinematic-caption { transform: none; }
  .symphony-instruments figcaption { transition: none; }
}
