/**
 * ART/ECHO — Relations- und Werkmodus
 * Nutzt UN/INFORM-Variablen aus uninform.css
 */

.art-echo-issue,
.art-echo-werk-page {
  --art-echo-prose-size: clamp(16px, 2vw, 18px);
  --art-echo-prose-line-height: 1.55;
  --art-echo-prose-letter-spacing: -.01em;
  --art-echo-between-min-height: clamp(55vh, 62vh, 70vh);
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.art-echo-issue__kicker,
.art-echo-relation-flow__question-label,
.art-echo-relation-flow__after-second-label,
.art-echo-relation-flow__resonance-label {
  font-family: var(--font);
  font-size: var(--un-kicker-size);
  font-weight: var(--un-kicker-weight);
  line-height: var(--un-kicker-line-height);
  letter-spacing: var(--un-kicker-letter-spacing);
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .75rem;
}

.art-echo-issue__title {
  font-family: var(--font);
  font-size: var(--un-display-size);
  font-weight: var(--un-display-weight);
  line-height: var(--un-display-line-height);
  letter-spacing: var(--un-display-letter-spacing);
  margin: 0 0 1rem;
}

.art-echo-issue__deck {
  font-size: var(--un-deck-size);
  line-height: var(--un-deck-line-height);
  letter-spacing: var(--un-deck-letter-spacing);
  margin: 0 0 2rem;
}

/* Modus-Navigation */

.art-echo-mode-nav {
  display: flex;
  gap: 1.5rem;
  margin: 0 0 3rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--ink);
}

.art-echo-mode-nav__link {
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: var(--un-meta-letter-spacing);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: .25rem 0;
}

.art-echo-mode-nav__link:hover,
.art-echo-mode-nav__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.art-echo-mode-nav__link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.art-echo-mode-nav__link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Hinweis bei fehlenden Werken */

.art-echo-issue__notice {
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
  padding: 1.5rem 0;
}

/* Relationsdramaturgie */

.art-echo-relation-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.art-echo-relation-flow__question {
  margin: 0 0 3rem;
}

.art-echo-relation-flow__question-text,
.art-echo-relation-flow__after-second-text,
.art-echo-relation-flow__resonance-text {
  font-size: var(--un-deck-size);
  line-height: var(--un-deck-line-height);
  letter-spacing: var(--un-deck-letter-spacing);
  margin: 0;
  max-width: 38ch;
  text-wrap: pretty;
}

.art-echo-relation-flow__after-second-text p,
.art-echo-relation-flow__resonance-text p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.art-echo-relation-flow__after-second-text strong,
.art-echo-relation-flow__resonance-text strong {
  font-weight: 850;
}

.art-echo-relation-flow__work {
  margin: 0;
}

.art-echo-relation-flow__work--b .art-echo-position-artist {
  text-align: right;
}

.art-echo-werk-block--full .art-echo-listening-position {
  margin-bottom: 0;
}

.art-echo-werk-block--full .art-echo-werk__text,
.art-echo-werk-block--full .art-echo-work-text__details,
.art-echo-werk-block--standalone .art-echo-lyrics {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.art-echo-werk-block--full .art-echo-werk__text {
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
}

.art-echo-works-mode .art-echo-listening-field {
  border-bottom: 0;
  padding-bottom: 0;
}

.art-echo-works-mode__item .art-echo-listening-position:last-child .art-echo-position-artist,
.art-echo-works-mode__grid .art-echo-works-mode__item:last-child .art-echo-position-artist {
  text-align: right;
}

.art-echo-works-mode__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.art-echo-position-title a {
  color: inherit;
  text-decoration: none;
}

.art-echo-position-title a:hover,
.art-echo-position-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .14em;
}

/* Zwischenraum — zentrale kuratorische Situation */

.art-echo-relation-flow__between {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--art-echo-between-min-height);
  margin: 3rem 0;
  padding: 2rem 1rem;
  text-align: center;
}

.art-echo-relation-flow__between-line {
  width: 1px;
  flex: 1 1 auto;
  min-height: 4rem;
  background: var(--ink);
  margin: 0 auto 2rem;
}

.art-echo-relation-flow__between-setting {
  font-family: var(--font);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: var(--un-display-weight);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}

.art-echo-relation-flow__after-first {
  font-size: var(--un-deck-size);
  line-height: var(--un-deck-line-height);
  letter-spacing: var(--un-deck-letter-spacing);
  margin: 0 0 2rem;
  max-width: 28ch;
}

.art-echo-relation-flow__silence {
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .14em;
  margin: 2rem 0 0;
}

.art-echo-relation-flow__after-second,
.art-echo-relation-flow__resonance {
  margin: 3rem 0 0;
  padding-left: clamp(0.85rem, 2.5vw, 1.5rem);
  border-left: 1px solid var(--line);
}

.art-echo-relation-flow__curatorial {
  margin: 4rem 0 0;
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
}

.art-echo-relation-flow__curatorial summary {
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: var(--un-meta-letter-spacing);
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.art-echo-relation-flow__curatorial summary::-webkit-details-marker {
  display: none;
}

.art-echo-relation-flow__curatorial summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.art-echo-relation-flow__curatorial-body {
  margin-top: clamp(1.25rem, 2.5vw, 1.65rem);
  padding-top: clamp(1rem, 2vw, 1.35rem);
  border-top: 1px solid var(--line);
}

.art-echo-relation-flow__curatorial-body.issue-prose p {
  margin: 0 0 1.05em;
  font-family: var(--body);
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
  letter-spacing: var(--art-echo-prose-letter-spacing);
}

.art-echo-relation-flow__curatorial-body.issue-prose p:last-child {
  margin-top: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 0;
  padding-top: clamp(1rem, 2vw, 1.25rem);
  border-top: 1px solid var(--line);
  font-size: var(--un-deck-size);
  line-height: var(--un-deck-line-height);
  letter-spacing: var(--un-deck-letter-spacing);
}

.art-echo-relation-flow__curatorial-body.issue-prose strong {
  font-weight: 850;
}

/* Relationales Feedback — nach Resonanzfrage, vor kuratorischem Text */

.art-echo-relational-feedback {
  max-width: 47.5rem;
  margin-top: clamp(4rem, 10vw, 6.25rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink);
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
}

.art-echo-relational-feedback summary {
  padding-block: 1.125rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

.art-echo-relational-feedback summary::-webkit-details-marker {
  display: none;
}

.art-echo-relational-feedback summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.art-echo-relational-feedback-close {
  display: none;
}

.art-echo-relational-feedback[open] .art-echo-relational-feedback-open {
  display: none;
}

.art-echo-relational-feedback[open] .art-echo-relational-feedback-close {
  display: inline;
}

.art-echo-relational-feedback-content {
  max-width: 42.5rem;
  padding-block: 2rem 3.5rem;
  font-family: var(--body);
  font-size: clamp(17px, 2.1vw, 18px);
  line-height: 1.75;
  letter-spacing: -.008em;
}

.art-echo-relational-feedback-content p {
  margin: 0 0 1.5em;
}

.art-echo-relational-feedback-content p:last-child {
  margin-bottom: 0;
}

.art-echo-relational-feedback-content strong {
  font-weight: 850;
}

.art-echo-relational-feedback-content em {
  font-style: italic;
}

/* Werk-Komponente — Karten in formate.css (.art-echo-listening-position) */

.art-echo-works-mode__title {
  font-family: var(--font);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: var(--un-display-weight);
  margin: 0 0 1rem;
}

.art-echo-works-mode__notice {
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
  margin: 0 0 2.5rem;
  max-width: 36rem;
}

.art-echo-works-mode__work-link {
  margin: 1rem 0 0;
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: var(--un-meta-letter-spacing);
  text-transform: uppercase;
}

.art-echo-works-mode__work-link a {
  color: var(--ink);
}

.art-echo-works-mode__credits {
  margin: 4rem 0 0;
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
}

.art-echo-works-mode__credits summary {
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: var(--un-meta-letter-spacing);
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  padding: .15rem 0;
}

.art-echo-works-mode__credits summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.art-echo-works-mode__credits summary::-webkit-details-marker {
  display: none;
}

.art-echo-works-mode__credits-meta {
  display: block;
  margin-top: .35rem;
  opacity: .7;
}

.art-echo-works-mode__credits-body {
  margin-top: clamp(1.35rem, 2.8vw, 1.85rem);
  padding-top: clamp(1.15rem, 2.2vw, 1.5rem);
  border-top: 1px solid var(--line);
}

.art-echo-works-mode__credits-body.art-echo-credits.issue-prose h3:first-of-type {
  margin-top: 0;
}

.art-echo-works-mode__credits-body.art-echo-credits.issue-prose h3 {
  margin-bottom: 1.25rem;
}

.art-echo-works-mode__credits-body.art-echo-credits.issue-prose h3 + p {
  margin-top: 0;
}

.art-echo-works-mode__credits-body.art-echo-credits.issue-prose p {
  margin-bottom: 1.05em;
  font-family: var(--body);
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
  letter-spacing: var(--art-echo-prose-letter-spacing);
}

.art-echo-works-mode__credits-body.art-echo-credits.issue-prose p:last-child {
  margin-bottom: 0;
}

.art-echo-works-mode__credits-body.art-echo-credits.issue-prose strong {
  font-weight: 650;
}

/* Autonome Werkseite */

.art-echo-werk-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.art-echo-werk-block--standalone .art-echo-listening-position {
  max-width: 100%;
}

.art-echo-werk-standalone-extras .art-echo-lyrics,
.art-echo-werk-standalone-extras .art-echo-werk-standalone__origin {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.art-echo-werk-standalone-extras .art-echo-lyrics {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.art-echo-werk--ii .art-echo-position-artist,
.art-echo-werk-block--standalone .art-echo-werk--ii .art-echo-position-artist {
  text-align: right;
}

.art-echo-werk-page__back {
  margin: 3rem 0 0;
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: var(--un-meta-letter-spacing);
  text-transform: uppercase;
}

.art-echo-werk-page__back a {
  color: var(--ink);
}

/* Lyrics / Transkript — nur autonome Einzelwerkseite */

.art-echo-lyrics {
  max-width: 47.5rem;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.art-echo-lyrics summary {
  padding-block: 1.125rem;
  cursor: pointer;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .12em;
  text-transform: uppercase;
  list-style: none;
  color: var(--ink);
}

.art-echo-lyrics summary::-webkit-details-marker {
  display: none;
}

.art-echo-lyrics summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.art-echo-lyrics-close {
  display: none;
}

.art-echo-lyrics[open] .art-echo-lyrics-open {
  display: none;
}

.art-echo-lyrics[open] .art-echo-lyrics-close {
  display: inline;
}

.art-echo-lyrics-content {
  max-width: 38.75rem;
  padding-block: 1.75rem 3rem;
  font-family: var(--body);
  font-size: var(--art-echo-prose-size);
  line-height: 1.75;
  letter-spacing: -.008em;
}

.art-echo-lyrics-content p {
  margin: 0 0 1.5em;
}

.art-echo-lyrics-content .song-section-label {
  display: block;
  margin: 1.75em 0 .65em;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.art-echo-lyrics-content .song-section-label:first-child {
  margin-top: 0;
}

.art-echo-lyrics-content p:last-child {
  margin-bottom: 0;
}

.art-echo-work-text .art-echo-lyrics {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

/* Ausgabe — Werkpaar, Operator */

.art-echo-issue__work-pair {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: var(--un-meta-letter-spacing);
  text-transform: uppercase;
}

.art-echo-work__operator {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.art-echo-relation-flow__pause-duration {
  margin: 1rem 0 0;
  font-size: var(--un-meta-size);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Medienoffene Werk-Komponenten */

.art-echo-media {
  margin: 0 0 1.25rem;
}

.art-echo-media__duration {
  margin: .75rem 0 0;
  font-size: var(--un-meta-size);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.art-echo-media__figure {
  margin: 0 0 1.25rem;
}

.art-echo-media__image {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
}

.art-echo-media__gallery {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.art-echo-media__facts {
  margin: 0 0 1.25rem;
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
}

.art-echo-media__facts div {
  margin: 0 0 .65rem;
}

.art-echo-media__facts dt {
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.art-echo-media__facts dd {
  margin: .2rem 0 0;
}

.art-echo-media__subheading {
  margin: 0 0 .75rem;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.art-echo-media__text {
  margin: 0 0 1.25rem;
  font-size: var(--art-echo-prose-size);
  line-height: var(--art-echo-prose-line-height);
}

.art-echo-media__video-element {
  display: block;
  width: 100%;
  max-width: 36rem;
}

.art-echo-media__voice {
  margin: 0 0 1rem;
  font-size: var(--un-meta-size);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.art-echo-media__hybrid-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.art-echo-media__hybrid-list li {
  margin: 0 0 .5rem;
}

.art-echo-media__hybrid-medium {
  display: inline-block;
  margin-right: .5rem;
  font-family: var(--font);
  font-size: var(--un-meta-size);
  font-weight: var(--un-meta-weight);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.art-echo-work-block--full .art-echo-work__text,
.art-echo-werk-block--full .art-echo-werk__text,
.art-echo-work-block--full .art-echo-work-text__details,
.art-echo-werk-block--full .art-echo-work-text__details,
.art-echo-work-block--standalone .art-echo-lyrics,
.art-echo-werk-block--standalone .art-echo-lyrics {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.art-echo-work-block--standalone .art-echo-lyrics,
.art-echo-werk-block--standalone .art-echo-lyrics {
  margin-top: clamp(3rem, 8vw, 5rem);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .art-echo-relation-flow__between {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .art-echo-relation-flow__between-line {
    min-height: 2rem;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .art-echo-issue__title,
  .art-echo-werk-page__title {
    font-size: var(--un-display-size-mobile);
  }

  .art-echo-issue__deck,
  .art-echo-relation-flow__question-text,
  .art-echo-relation-flow__after-second-text,
  .art-echo-relation-flow__resonance-text,
  .art-echo-relation-flow__after-first {
    font-size: var(--un-deck-size-mobile);
  }

  .art-echo-relation-flow__curatorial-body.issue-prose p:last-child {
    font-size: var(--un-deck-size-mobile);
  }
}
