.expandable-stanzas-section {
  text-align: center;
}
.expandable-stanzas-section-header.header-audio {
  margin-bottom: var(--spacing-md);
}
.expandable-stanzas-core {
  margin: 0 auto;
  max-width: 65ch;
  position: relative;
  z-index: 1;
}
.expandable-stanzas-lead p {
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  transition:
    font-size 0.5s ease,
    color 0.5s ease,
    margin-bottom 0.5s ease;
}
.expandable-stanzas-section-expanded .expandable-stanzas-lead p {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  margin-bottom: var(--spacing-lg);
}
.expandable-stanzas-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.expandable-stanzas-expand:focus-visible {
  outline: none;
}
.expandable-stanzas-expand-inner {
  color: var(--color-text-secondary);
  overflow: hidden;
}
.expandable-stanzas-section-expanded .expandable-stanzas-expand {
  grid-template-rows: 1fr;
}
.expandable-stanzas-expand p {
  opacity: 0;
  transform: translateY(-0.5rem);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.expandable-stanzas-section-expanded .expandable-stanzas-expand p {
  opacity: 1;
  transform: translateY(0);
}
.expandable-stanzas-expand p + p {
  margin-top: var(--spacing-xl);
}
.expandable-stanzas-reveal {
  opacity: 0.5;
}
.expandable-stanzas-reveal-expanded {
  margin-top: var(--spacing-sm);
}
.expandable-stanzas-reveal:hover {
  opacity: 1;
}
.expandable-stanzas-background {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.8s ease-out;
  z-index: -1;
}
.expandable-stanzas-section-expanded .expandable-stanzas-background.active {
  opacity: 1;
}
.expandable-stanzas-rune {
  animation: slowRuneDrift 20s linear infinite;
  color: var(--color-background);
  filter: blur(8px);
  height: min(80%, 520px);
  opacity: 0.65;
  transition:
    opacity 1.2s ease-out,
    transform 1.4s ease,
    filter 1.4s ease-out;
  width: min(80%, 520px);
}
@keyframes slowRuneDrift {
  0% {
    transform: rotate(-4deg) scale(1);
  }
  25% {
    transform: rotate(0) scale(1.06);
  }
  50% {
    transform: rotate(4deg) scale(1);
  }
  75% {
    transform: rotate(0) scale(1.06);
  }
  to {
    transform: rotate(-4deg) scale(1);
  }
}
