/* The crown and the two stepped rules follow the brass rim of the stage. */
.hero-stage::before, .hero-stage::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.hero-stage::before {
  z-index: 2;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #e8c58a;
  background: #715535;
  box-shadow: inset 0 0 0 2px #251a17;
  transform: translate(-50%, -50%) rotate(45deg);
}
.hero-stage::after {
  inset: auto 0 -1px;
  height: 22px;
  color: #d2af75;
  background:
    linear-gradient(currentColor 0 0) left bottom / 42px 2px,
    linear-gradient(currentColor 0 0) left 4px bottom 4px / 23px 1px,
    linear-gradient(currentColor 0 0) left bottom / 2px 20px,
    linear-gradient(currentColor 0 0) right bottom / 42px 2px,
    linear-gradient(currentColor 0 0) right 4px bottom 4px / 23px 1px,
    linear-gradient(currentColor 0 0) right bottom / 2px 20px;
  background-repeat: no-repeat;
}
.hero-light {
  background: none;
  opacity: 1;
  overflow: hidden;
}
.agenda-art { overflow: hidden; }
.agenda-art::after,
.participant-intro figure::before,
.vg-hero-image::before {
  --corner: linear-gradient(#e6c992 0 0);
  content: '';
  position: absolute;
  pointer-events: none;
  inset: clamp(5px, 1vw, 13px);
  z-index: 1;
  background:
    var(--corner) top left / 19px 1px, var(--corner) top left / 1px 19px,
    var(--corner) top right / 19px 1px, var(--corner) top right / 1px 19px,
    var(--corner) bottom right / 19px 1px, var(--corner) bottom right / 1px 19px,
    var(--corner) bottom left / 19px 1px, var(--corner) bottom left / 1px 19px;
  background-repeat: no-repeat;
}
.ticket-link i { transform-origin: left center; }

@media (prefers-reduced-motion: no-preference) {
  .hero-light::before {
    content: '';
    position: absolute;
    inset: 0 -35%;
    background: linear-gradient(109deg, transparent 33%, #e9b67a12 43%, #ffe3b949 50%, #e9b67a15 57%, transparent 67%);
    opacity: 0;
    animation: stage-light-pass 1900ms cubic-bezier(.25,.6,.25,1) 150ms;
  }
  @keyframes stage-light-pass {
    0% { transform: translateX(-49%); opacity: 0; }
    26% { opacity: .94; }
    76% { opacity: .74; }
    100% { transform: translateX(49%); opacity: 0; }
  }
  .ticket-link,
  .ticket-link i {
    transition: transform 240ms cubic-bezier(.2,.75,.25,1), background-color 220ms;
  }
  .ticket-link:focus-visible i { transform: translateX(2px) rotate(-3deg); }
  .ticket-link:active { transform: translateY(1px); }
  @media (hover: hover) {
    .ticket-link:hover { transform: translateY(-2px); }
    .ticket-link:hover i { transform: translateX(2px) rotate(-3deg); background-color: #d7b37b; }
  }
  .vg-card:not([hidden]) .vg-destination,
  .archive-album:not([hidden]) :is(.album-triptych,.album-spread),
  .about-hero h1, .vg-hero h1, .participant-intro h1, .interior-banner h1 {
    animation: paper-arrives 480ms cubic-bezier(.16,.75,.23,1);
  }
  @keyframes paper-arrives {
    from { opacity: .72; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}
