/* ==========================================================================
   INSOMNIA — Maschinen schlafen nie
   Design-System: Akira Expanded (Display) · IBM Plex Mono (Daten/Labels)
   · IBM Plex Sans (Lesetext) · Schwarz #09090A · Teal #4BB9C4
   ========================================================================== */

@font-face {
  font-family: 'Akira Expanded';
  src: url('/assets/fonts/Akira Expanded Demo.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/IBMPlexSans-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/IBMPlexSans-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/IBMPlexSans-SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/IBMPlexSans-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}

:root {
  --ink: #09090a;
  --ink-soft: #141416;
  --ink-raise: #1c1c1f;
  --teal: #4bb9c4;
  --teal-dim: #2e6e75;
  --white: #f6f6f3;
  --muted: #9a9fa3;
  --line: rgba(246, 246, 243, 0.14);

  --font-display: 'Akira Expanded', 'Arial Narrow', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  --edge: clamp(20px, 6vw, 64px);
  --content-max: 1200px;
  --prose-max: 38em;
}

* { box-sizing: border-box; }
html { background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  isolation: isolate;
}

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration-color: var(--teal-dim);
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: var(--teal); }

a:focus-visible,
button:focus-visible,
.accordion__trigger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 0.96;
}

p {
  margin: 0 0 1em;
  -webkit-hyphens: auto;
  hyphens: auto;
}
p:last-child { margin-bottom: 0; }

.mono { font-family: var(--font-mono); }

/* Akira Expanded hat keine Umlaute — Grundbuchstabe + zwei gezeichnete
   Punkte darüber, siehe akira_safe() in functions.php. */
.uml {
  position: relative;
  display: inline;
}
.uml::before {
  content: "";
  position: absolute;
  top: 0.02em;
  left: 50%;
  width: 0.13em;
  height: 0.13em;
  background: currentColor;
  transform: translateX(-0.26em);
  box-shadow: 0.34em 0 0 0 currentColor;
}

/* ---------- layout helpers ---------- */
.section {
  padding: clamp(56px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}
.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--edge);
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em 2em;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.section__title {
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
}
.section__hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 24em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--edge);
  background: var(--ink);
}
.site-head__mark {
  display: block;
  line-height: 0;
  color: var(--white);
  transition: color 0.15s;
}
.site-head__mark:hover { color: var(--teal); }
.site-head__mark svg {
  height: clamp(40px, 6vw, 56px);
  width: auto;
  display: block;
  overflow: visible;
}
.site-head__nav--desktop { display: none; }

/* mobile: full-screen overlay panel, toggled via body[data-menu-open]. Lives
   outside <header> so header's backdrop-filter can't trap its fixed position. */
.site-head__nav--mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 35;
  padding: clamp(96px, 20vh, 140px) var(--edge) var(--edge);
  background: var(--ink);
  overflow-y: auto;
}
body[data-menu-open="true"] .site-head__nav--mobile { display: flex; }
.site-head__nav--mobile a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 7.6vw, 2.6rem);
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
  padding: 0.3em 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: break-word;
  word-break: break-word;
}
.site-head__nav--mobile a:first-child { padding-top: 0; }
.site-head__nav--mobile a:hover { color: var(--teal); }
body[data-menu-open="true"] { overflow: hidden; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 40;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), opacity 0.2s, width 0.2s;
}
.menu-toggle span:nth-child(2) { width: 68%; }
.menu-toggle:hover span { background: var(--teal); }
body[data-menu-open="true"] .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); width: 100%; }
body[data-menu-open="true"] .menu-toggle span:nth-child(2) { opacity: 0; }
body[data-menu-open="true"] .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); width: 100%; }

@media (min-width: 760px) {
  .menu-toggle { display: none; }
  .site-head__nav--mobile { display: none !important; }
  .site-head__nav--desktop {
    display: flex;
    flex-direction: row;
    gap: 2em;
  }
  .site-head__nav--desktop a {
    font-family: var(--font-mono);
    text-transform: none;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
  }
  .site-head__nav--desktop a:hover { color: var(--white); }
}

/* ==========================================================================
   Seitenhintergrund (fixiertes Dreieck-Motiv aus dem Plakat)
   Liegt als eigenes, unbewegtes Element hinter dem gesamten Inhalt; nur die
   transparente .hero-Sektion lässt es sehen, alle .section/.site-foot-Blöcke
   haben eine deckende Hintergrundfarbe und decken es beim Scrollen zu.
   viewBox-Koordinaten = exakt aus dem Plakat abgemessene Pixelwerte, damit
   das Seitenverhältnis unverändert bleibt (kein preserveAspectRatio="none").
   ========================================================================== */
.page-bg {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4772 / 3944;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.page-bg__shape {
  fill: none;
  stroke: var(--teal);
  stroke-width: 6.6;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
}
.hero + .section,
#programm,
#kuenstler,
#besuch,
#foerderer { border-top: none; }
#besuch { padding: clamp(28px, 5vw, 64px) 0; }
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(64px, 30vw, 360px) var(--edge) clamp(48px, 9vw, 88px);
  text-align: center;
}

.hero__body { display: block; width: 100%; text-align: left; }

/*
 * .hero__fit: Titel, Subline und Tagline sollen jede Zeile exakt die volle
 * Breite des Blocks einnehmen, unabhängig vom Textinhalt. Das lässt sich mit
 * vw-Clamps nur annähern, deshalb setzt main.js die font-size per JS so, dass
 * scrollWidth == Elementbreite ist (siehe fitHeroText()). Die clamp-Werte
 * hier sind nur der Fallback, bevor das Skript/die Schrift geladen ist.
 */
.hero__fit { display: block; white-space: nowrap; }

.hero__wordmark {
  display: block;
  line-height: 0;
}
.hero__wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.05rem, 5.1vw, 4.3rem);
  color: var(--white);
  line-height: 1;
  margin-top: 0.06em;
}
.hero__meta {
  margin-top: clamp(16px, 2.6vw, 28px);
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.68rem, 1.5vw, 0.85rem);
  color: var(--white);
  line-height: 1.25;
}
.hero__hours {
  margin-top: clamp(4px, 0.8vw, 8px);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  color: var(--teal);
  line-height: 1.3;
}
.hero__hours-note {
  font-weight: 500;
  color: var(--white);
  opacity: 0.7;
}

/* ==========================================================================
   Manifest
   ========================================================================== */
.manifest__summary,
.manifest__lede {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 1em;
}
.manifest__summary { color: var(--teal); }
.manifest__body {
  color: var(--white);
  font-size: 1.02rem;
}
.manifest__body p { color: #d7d7d3; }

.manifest__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.8em;
  background: none;
  border: 1px solid var(--teal);
  padding: 0.7em 1.3em;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.manifest__toggle:hover,
.manifest__toggle:focus-visible {
  background: var(--teal);
  color: var(--ink);
}
.manifest__toggle-icon {
  width: 0.55em;
  height: 0.55em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
  flex-shrink: 0;
}
.manifest__toggle[aria-expanded="true"] .manifest__toggle-icon { transform: rotate(90deg); }

.manifest__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(.16,1,.3,1);
}
.manifest__more[data-open="true"] { grid-template-rows: 1fr; }
.manifest__more-inner { overflow: hidden; padding-top: 0.4em; }

/* ==========================================================================
   Programm — Accordion
   ========================================================================== */
.programm__list {
  border-top: 2px solid var(--teal);
}
.accordion {
  border-bottom: 2px solid var(--teal);
  background: var(--ink);
  padding: 0 24px;
}
.accordion__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  line-height: 1;
}
.accordion__when {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.accordion__row {
  width: 100%;
  padding: 2px 0 16px;
}
.accordion__title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  line-height: 1.15;
  margin-top: 2px;
}
.accordion__kicker {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: none;
  font-size: 0.68em;
  color: var(--muted);
  margin-top: 4px;
}
.accordion__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink);
  background: var(--teal);
  padding: 0.3em 0.6em;
  border-radius: 2px;
  white-space: nowrap;
}

.accordion__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.accordion__actions .accordion__ics { margin-left: auto; }
.accordion__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  line-height: 1;
  background: none;
  border: 1px solid var(--teal);
  padding: 0.55em 1.1em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.accordion__trigger:hover,
.accordion__trigger:focus-visible {
  background: var(--teal);
  color: var(--ink);
}
.accordion__ics {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: #ff00aa;
  border: 1px solid #ff00aa;
  padding: 0.55em 1.1em;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.accordion__ics:hover,
.accordion__ics:focus-visible {
  background: #ff33bb;
  color: #fff;
}
.accordion__trigger-icon {
  width: 0.55em;
  height: 0.55em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
  flex-shrink: 0;
}
.accordion__trigger[aria-expanded="true"] .accordion__trigger-icon { transform: rotate(90deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(.16,1,.3,1);
}
.accordion[data-open="true"] .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }
.accordion__content {
  max-width: var(--prose-max);
  padding-bottom: 24px;
  color: #d7d7d3;
}
.accordion__speakers {
  margin-top: 0.9em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal);
}
.accordion__speakers-label { color: var(--muted); margin-right: 0.6em; }

.accordion__rsvp {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.4em;
  background: var(--teal);
  border: 1px solid var(--teal);
  padding: 0.75em 1.3em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.accordion__rsvp:hover,
.accordion__rsvp:focus-visible {
  background: var(--ink);
  color: var(--teal);
}
.accordion__rsvp-arrow { transition: transform 0.15s; }
.accordion__rsvp:hover .accordion__rsvp-arrow { transform: translateX(3px); }

.accordion__video {
  margin-top: 1.4em;
  max-width: 480px;
}
.accordion__video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--teal);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, color 0.15s;
}
.accordion__video-play:hover,
.accordion__video-play:focus-visible {
  border-color: var(--teal);
  color: var(--white);
}
.accordion__video-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.6em 0 0.6em 1em;
  border-color: transparent transparent transparent currentColor;
}
.accordion__video-note {
  margin-top: 0.7em;
  font-size: 0.78rem;
  color: #a9a9a4;
  line-height: 1.4;
}
.accordion__video-note a { color: var(--teal); }
.accordion__video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ==========================================================================
   Floorplan
   ========================================================================== */
.floorplan {
  display: grid;
  gap: 40px;
  align-items: start;
}
.floorplan__map { max-width: 420px; margin: 0 auto; }
.floorplan__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}
.floorplan__legend li {
  display: flex;
  gap: 1em;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
}
.floorplan__legend a { text-decoration: none; }
.floorplan__legend a:hover .floorplan__legend-name { color: var(--teal); }
.floorplan__legend-num {
  color: var(--teal);
  width: 1.6em;
  flex-shrink: 0;
}
.floorplan__legend-name { color: var(--white); transition: color 0.15s; }
.floorplan__legend-room { color: var(--muted); }

@media (min-width: 820px) {
  .floorplan { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ==========================================================================
   Künstler grid
   ========================================================================== */
.artists {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.artist-card {
  background: var(--ink);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 300px;
}
.artist-card__kicker {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  max-width: 68%;
}
.artist-card__name {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 0.95;
  color: var(--white);
  max-width: 68%;
}
.artist-card__work {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--teal);
  max-width: 68%;
}
.artist-card__excerpt {
  position: relative;
  z-index: 1;
  color: #c7c7c3;
  font-size: 0.92rem;
  line-height: 1.3;
  flex-grow: 1;
  max-width: 62%;
}
.artist-card__links {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}
.artist-card__link {
  color: var(--muted);
  display: inline-flex;
  transition: color 0.15s ease;
}
.artist-card__link:hover,
.artist-card__link:focus-visible {
  color: var(--teal);
}
.artist-card__photo {
  position: absolute;
  right: 0; bottom: 0;
  height: 54%;
  width: auto;
  max-width: 44%;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.85;
  pointer-events: none;
}
.artist-card--placeholder {
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.artist-card__placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 760px) {
  .artists { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Sponsors
   ========================================================================== */
.sponsors__group { margin-bottom: clamp(32px, 5vw, 48px); }
.sponsors__group:last-child { margin-bottom: 0; }
.sponsors__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.4em;
}
.sponsors__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 24px;
  column-gap: 24px;
}
.sponsors__row + .sponsors__row { margin-top: 50px; }
.sponsors__row a {
  display: flex;
  align-items: center;
  line-height: 0;
}
.sponsors__row img {
  height: clamp(34px, 4vw, 48px);
  width: auto;
  opacity: 0.88;
  filter: grayscale(0%);
  transition: opacity 0.15s;
}
.sponsors__row a:hover img { opacity: 1; }
.sponsors__row--host {
  justify-content: flex-start;
  gap: 28px;
}
.sponsors__host-mark {
  display: flex;
  align-items: center;
  color: var(--white);
  transition: color 0.15s;
}
.sponsors__host-mark svg {
  height: clamp(32px, 4vw, 44px);
  width: auto;
  display: block;
}
.sponsors__host-mark:hover { color: var(--teal); }
.sponsors__host-ig {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.15s;
}
.sponsors__host-ig:hover { color: var(--teal); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.site-foot__address, .site-foot__dates { font-family: var(--font-mono); font-size: 0.92rem; }
.site-foot__anreise { font-size: 0.85rem; color: var(--muted); margin-top: 0.8em; max-width: 26em; }
.site-foot__legal {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6em 1.5em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.site-foot__legal-left {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}
.site-foot__credit { color: var(--muted); }
.site-foot__legal a { text-decoration: none; }
.site-foot__legal a:hover { color: var(--white); }


/* ==========================================================================
   Artist detail page
   ========================================================================== */
.artist-hero {
  padding: calc(var(--edge) + 48px) var(--edge) var(--edge);
  display: grid;
  gap: 32px;
  border-top: 1px solid var(--line);
}
.artist-hero__back {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 24px;
}
.artist-hero__room {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 0.6em;
}
.artist-hero__name {
  font-size: clamp(2.6rem, 8vw, 5rem);
}
.artist-hero__work {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-top: 0.6em;
  max-width: 32em;
}
.artist-hero__photo { max-width: 420px; }
.artist-hero__bio {
  max-width: var(--prose-max);
  font-size: 1.05rem;
  color: #d7d7d3;
}
@media (min-width: 860px) {
  .artist-hero { grid-template-columns: 1.3fr 1fr; align-items: end; }
}

/* ==========================================================================
   Medien-Download-Seite
   ========================================================================== */
.media-grid {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: 1fr;
}
.media-card {
  background: var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.media-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--white);
}
.media-card__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: -10px;
}
.media-card__media {
  display: flex;
}
.media-card__media video {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  background: #000;
  border: 1px solid var(--line);
}
.media-card__media audio {
  width: 100%;
}
.media-card__media img {
  width: 100%;
  max-width: 300px;
  background: #000;
  border: 1px solid var(--line);
  padding: 32px;
}
.media-card__download {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  align-self: flex-start;
  background: var(--teal);
  border: 1px solid var(--teal);
  padding: 0.75em 1.3em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.media-card__download:hover,
.media-card__download:focus-visible {
  background: var(--ink);
  color: var(--teal);
}
.media-card__download-arrow { transition: transform 0.15s; }
.media-card__download:hover .media-card__download-arrow { transform: translateY(2px); }

@media (min-width: 640px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .media-grid { grid-template-columns: repeat(3, 1fr); }
}
