/* EISENPULS — спільний стиль сайту */

:root {
  --bg: #0f1214;          /* графітова сталь */
  --bg-raise: #161a1d;
  --glow-soft: rgba(79, 224, 130, .45);
  --glow-hard: rgba(79, 224, 130, .9);
  --line: #23292d;
  --text: #d8dcdf;
  --steel: #8a949b;       /* вторинний текст */
  --phosphor: #4fe082;    /* Maschinen-Hertz: люмінофор осцилографа */
  --amber: #d9a441;       /* Ein Bekenntnis: скло і бурштин */
  --rust: #e0453c;        /* Maschinenherz: сигнальний червоний */
  --font: "Roboto Condensed", "Arial Narrow", sans-serif;
  --serif: "PT Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Мовні блоки: керує клас .lang-XX на <html> ── */

[data-lang-block] { display: none; }
.lang-ua [data-lang-block="ua"],
.lang-de [data-lang-block="de"],
.lang-en [data-lang-block="en"] { display: block; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ── Плівка шуму ── */

body::after {
  content: "";
  position: fixed;
  top: -64px; left: -64px;
  width: calc(100vw + 128px);
  height: calc(100vh + 128px);
  background: url("/img/noise.png") repeat;
  opacity: .035;
  pointer-events: none;
  z-index: 200;
}
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: ep-grain 1s steps(4) infinite; }
}
@keyframes ep-grain {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-32px, 16px, 0); }
  50%  { transform: translate3d(16px, -32px, 0); }
  75%  { transform: translate3d(-16px, -16px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ── Шапка ── */

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 -20px;
  padding: 10px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  line-height: 0;
  opacity: .82;
  transition: opacity .2s;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand:hover { opacity: 1; }

nav.main {
  display: flex;
  gap: 8px;
  margin-right: auto;
  margin-left: 8px;
}
nav.main a {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  padding: 7px 13px;
  transition: color .18s, border-color .18s, background .18s;
}
nav.main a:hover { color: var(--text); border-color: var(--accent, var(--steel)); }
nav.main a.on {
  color: var(--text);
  border-color: var(--accent, var(--steel));
  background: #1c2226;
}

.lang { display: flex; gap: 2px; }
.lang button {
  font-family: var(--font);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--steel);
  background: none;
  border: 1px solid transparent;
  padding: 5px 10px;
  cursor: pointer;
}
.lang button:hover { color: var(--text); }
.lang button.on {
  color: var(--text);
  border-color: var(--line);
  background: var(--bg-raise);
}
.lang button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent, var(--phosphor));
  outline-offset: 2px;
}

/* ── Головна: герой ── */

.hero {
  padding: 38px 0 34px;
  text-align: center;
}
.hero .trace { margin: 30px 0 22px; }

.hero h1 {
  font-weight: 900;
  font-size: clamp(52px, 11vw, 112px);
  letter-spacing: .06em;
  line-height: 1;
  margin-top: 14px;
  text-transform: uppercase;
}

.hero .sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--steel);
  letter-spacing: .04em;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.home { --accent: var(--rust); }

/* ── Сигнатура: ЕКГ, що стає меандром ── */

.trace { margin: 36px 0 56px; }
.trace svg { width: 100%; height: 46px; overflow: visible; }
.trace path {
  fill: none;
  stroke: var(--accent, var(--phosphor));
  stroke-width: 1.6;
  opacity: .85;
  filter: drop-shadow(0 0 5px var(--glow-soft));
}
.trace .dot { fill: var(--accent, var(--phosphor)); filter: drop-shadow(0 0 6px var(--glow-hard)); }

@media (prefers-reduced-motion: reduce) {
  .trace .dot { display: none; }
  html { scroll-behavior: auto; }
  body::after { animation: none; }
}

/* ── Головна: про проєкт ── */

.about { padding: 14px 80px 10px; }
.about .chron p + p { margin-top: 16px; }

.sec-title {
  margin: 46px 0 22px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

/* ── Фонове поле: розмита обкладинка, підпал, креслярська сітка ── */

body { position: relative; }

body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 720px;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(255, 255, 255, .05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .05) 0 1px, transparent 1px 48px),
    linear-gradient(to bottom,
      color-mix(in srgb, var(--accent) 15%, transparent) 0%,
      color-mix(in srgb, var(--accent) 4%, transparent) 46%,
      transparent 100%),
    var(--field, none);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 100%);
}

.home    { --field: url("/img/mz-00-cover-blur.jpg"); }
.mz-page { --field: url("/img/mz-00-cover-blur.jpg"); }
.mh-page { --field: url("/img/mh-00-cover-blur.jpg"); }
.eb-page { --field: url("/img/eb-00-cover-blur.jpg"); }

/* засічка біля заголовка розділу */
.sec-title { display: flex; align-items: baseline; gap: 10px; }
.sec-title::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent, var(--steel));
  flex: 0 0 22px;
  transform: translateY(-4px);
}

/* ── Альбомні картки ── */

.albums {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  counter-reset: alb;
  padding-bottom: 80px;
}

.album-card {
  display: grid;
  grid-template-columns: 320px 1fr;
}
.album-card .meta {
  border-top: none;
  border-left: 2px solid var(--accent, var(--steel));
  justify-content: center;
  padding: 26px 30px;
}

.album-card .blurb {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--steel);
  max-width: 44ch;
}

.album-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.album-card:hover { border-color: var(--accent, var(--steel)); }

.album-card .cover { position: relative; overflow: hidden; display: block; }
.album-card .cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: brightness(.9);
  transition: filter .25s;
}
.album-card:hover .cover img { filter: brightness(1); }

.album-card .meta {
  padding: 18px 20px 22px;
  border-top: 2px solid var(--accent, var(--steel));
  display: flex;
  flex-direction: column;
  flex: 1;
}
.album-card.mh { --accent: var(--phosphor); }
.album-card.eb { --accent: var(--amber); }
.album-card.mz { --accent: var(--rust); }

.album-card .meta::before {
  counter-increment: alb;
  content: counter(alb, decimal-leading-zero);
  display: block;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--steel);
  margin-bottom: 9px;
}

.album-card h2 {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.album-card .count {
  margin-top: 10px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Кнопки майданчиків ── */

.links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.album-card .open-album {
  align-self: flex-start;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  background: #1c2226;
  border: 1px solid var(--accent, var(--steel));
  padding: 11px 18px;
  transition: background .2s, transform .2s;
}
.album-card .open-album::after {
  content: "\2192";
  font-weight: 900;
  color: var(--accent, var(--steel));
  transition: transform .2s;
}
.album-card .open-album:hover { background: #232a2f; }
.album-card .open-album:hover::after { transform: translateX(3px); }

.album-card .links { margin-top: 16px; padding-top: 0; }
.links a {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
  padding: 6px 9px;
  transition: color .18s, border-color .18s;
}
.links a:hover {
  color: var(--text);
  border-color: var(--accent, var(--steel));
}

/* ── Підвал ── */

footer.site {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: .08em;
  text-align: center;
}

/* ── Сторінка альбому ── */

.album-hero {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  padding: 40px 0 8px;
}
.album-hero .cover {
  flex: 0 0 260px;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.album-hero .cover img { aspect-ratio: 1 / 1; object-fit: cover; }
.album-hero .info { min-width: 0; }
.album-hero h1 {
  font-weight: 900;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: .06em;
  line-height: 1.05;
  text-transform: uppercase;
}
.album-hero .count {
  margin-top: 10px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent, var(--phosphor));
}
.mh-page { --accent: var(--phosphor); }
.eb-page {
  --accent: var(--amber);
  --glow-soft: rgba(217, 164, 65, .45);
  --glow-hard: rgba(217, 164, 65, .9);
}
.mz-page {
  --accent: var(--rust);
  --glow-soft: rgba(224, 69, 60, .45);
  --glow-hard: rgba(224, 69, 60, .9);
}

.play-all {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-raise);
  border: 1px solid var(--accent);
  padding: 11px 20px;
  cursor: pointer;
  transition: background .2s;
}
.play-all:hover { background: #232a2f; }
.play-all svg { width: 17px; height: 17px; fill: var(--accent); }

.album-intro { padding: 26px 80px 4px; }
.album-intro .chron p + p { margin-top: 14px; }

.chron p {
  color: var(--steel);
  font-size: 16px;
  line-height: 1.65;
}
.chron a { color: var(--text); border-bottom: 1px solid var(--accent, var(--steel)); }

.sibling { margin-top: 18px; }
.sibling a {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.sibling a:hover { color: var(--text); border-color: var(--accent); }

/* ── Треки ── */

.tracks { padding-bottom: 90px; }

.track {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.track:first-child { border-top: none; }

.track {
  scroll-margin-top: 88px;
}

.track .art {
  flex: 0 0 300px;
  cursor: zoom-in;
  align-self: flex-start;
  border: 1px solid var(--line);
  position: sticky;
  top: 88px;
}
.track .art img { aspect-ratio: 1 / 1; object-fit: cover; filter: brightness(.92); }
.track.playing .art { border-color: var(--accent); }
.track.playing .art img { filter: brightness(1); }

.track .body { flex: 1; min-width: 0; }

.t-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.t-head .num {
  font-weight: 900;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .1em;
  border: 1px solid var(--line);
  padding: 4px 8px;
  align-self: center;
}
.t-head h2 {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .07em;
  text-transform: uppercase;
  flex: 1;
}
.track.playing .t-head h2 { color: var(--accent); }

.t-play {
  align-self: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--accent);
  background: #1c2226;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.t-play:hover { background: #242c31; }
.t-play svg { width: 19px; height: 19px; fill: var(--accent); }
.t-play .i-pause { display: none; }
.t-play.on .i-play { display: none; }
.t-play.on .i-pause { display: block; }
.t-play.on { background: var(--accent); }
.t-play.on svg { fill: var(--bg); }

/* ── Тексти пісень ── */

.lyrics { margin-top: 18px; }
.lyrics summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
  padding: 8px 14px;
  transition: color .2s, border-color .2s;
}
.lyrics summary::-webkit-details-marker { display: none; }
.lyrics summary::before { content: "+"; color: var(--accent); font-weight: 900; }
.lyrics[open] summary::before { content: "−"; }
.lyrics summary:hover { color: var(--text); border-color: var(--steel); }

.lyrics .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 36px;
  margin-top: 20px;
}
/* коли активна DE — перекладу нема, німецька займає всю ширину */
.lang-de .lyrics .cols { grid-template-columns: 1fr; }

.lyrics .ln {
  font-size: 15px;
  line-height: 1.75;
}
.lyrics .col.tr .ln { color: var(--steel); }
.lyrics .ln em {
  font-style: italic;
  color: var(--accent);
  opacity: .85;
}

/* ── Внутрішні сторінки ── */

.page { --accent: var(--rust); }

.page-head { padding: 32px 0 26px; }
.page-head h1 {
  font-weight: 900;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.page-head .lede {
  margin-top: 14px;
  max-width: 640px;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Завантаження ── */

.dl-group {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: start;
  padding: 26px 0 24px;
  border-top: 1px solid var(--line);
}
.dl-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  filter: brightness(.92);
}
.dl-body { min-width: 0; }
.dl-group.mh { --accent: var(--phosphor); }
.dl-group.eb { --accent: var(--amber); }
.dl-group.mz { --accent: var(--rust); }
.dl-group h2 {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dl-sub {
  margin-top: 22px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}

.dl-list { list-style: none; margin-top: 14px; }
.dl-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.dl-list li:first-child { border-top: none; }

.dl-thumb {
  width: 52px; height: 52px;
  flex: 0 0 52px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.dl-name { flex: 1; min-width: 0; font-size: 15px; }
.dl-meta {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.dl-act { display: flex; gap: 6px; flex: 0 0 auto; }
.dl-act a {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
  padding: 7px 11px;
  transition: color .18s, border-color .18s;
}
.dl-act a:hover { color: var(--text); border-color: var(--accent); }
.dl-act a[download] { color: var(--text); border-color: var(--accent); }

/* ── Контакти ── */

.contact-mail {
  margin-top: 6px;
  padding: 22px 26px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
}
.contact-mail .c-lab {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.contact-mail .mail {
  font-weight: 900;
  font-size: clamp(20px, 3.4vw, 30px);
  letter-spacing: .03em;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  word-break: break-word;
}
.contact-mail .mail:hover { color: var(--accent); }

.c-group {
  margin: 34px 0 4px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.c-group::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  flex: 0 0 18px;
  transform: translateY(-4px);
}

.contact-list ul { list-style: none; }
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.c-key {
  flex: 0 0 150px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}
.c-val {
  font-size: 17px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .2s;
  word-break: break-word;
}
.c-val:hover { border-color: var(--accent); }

.contact-note { padding: 30px 0 80px; }

/* ── Плеєр ── */

body.has-player { padding-bottom: 92px; }

.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(22, 26, 29, .97);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.p-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.p-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p-btn:hover { border-color: var(--accent); }
.p-btn svg { width: 18px; height: 18px; fill: var(--text); }
.p-toggle { border-color: var(--accent); background: #1c2226; }
.p-toggle svg { fill: var(--accent); }
.player.on .p-toggle { background: var(--accent); }
.player.on .p-toggle svg { fill: var(--bg); }
.p-toggle .i-pause { display: none; }
.player.on .p-toggle .i-play { display: none; }
.player.on .p-toggle .i-pause { display: block; }

.p-mid { flex: 1; min-width: 0; }
.p-wave {
  display: block;
  width: 100%;
  height: 34px;
  cursor: pointer;
  touch-action: none;
}

.p-title {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.p-time {
  font-size: 12px;
  color: var(--steel);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ── Лайтбокс артів ── */

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 13, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: zoom-out;
  padding: 24px;
}
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 92vh;
  border: 1px solid var(--line);
}

/* ── Індикація завантаження треку ── */

.t-play.loading,
.player.loading .p-toggle {
  border-color: var(--accent);
  animation: ep-pulse 1s ease-in-out infinite;
}
@keyframes ep-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ── Мобільний ── */

@media (max-width: 900px) {
  .album-card { grid-template-columns: 250px 1fr; }
  .album-card h2 { font-size: 25px; }
  .album-card .meta { padding: 20px 22px; }
  .about { padding-left: 40px; padding-right: 40px; }
  .dl-group { grid-template-columns: 170px 1fr; gap: 22px; }
  .album-intro { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 680px) {
  .albums { gap: 20px; }
  .album-card { display: block; }
  .album-card .meta {
    border-left: none;
    border-top: 2px solid var(--accent, var(--steel));
    padding: 18px 20px 22px;
  }
  .album-card h2 { font-size: 23px; }
  .album-card .blurb { max-width: none; font-size: 15px; }
  .album-card .open-album { align-self: stretch; justify-content: center; }
  .about, .album-intro { padding-left: 0; padding-right: 0; }
  /* на вузькому екрані текст лягає впритул до фону — притемнюємо сильніше */
  body::before { height: 560px; opacity: .72; }
  .dl-group { grid-template-columns: 1fr; gap: 16px; }
  .dl-cover { max-width: 190px; }
  .hero { padding-top: 40px; }
  header.site { gap: 0; padding: 8px 20px 0; }
  nav.main {
    order: 3;
    width: 100%;
    margin: 10px -20px 0;
    padding: 0 20px 9px;
    gap: 6px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 9px;
  }
  nav.main a { font-size: 10px; letter-spacing: .1em; padding: 6px 9px; flex: 1; text-align: center; }
  .lang button { padding: 4px 8px; font-size: 12px; }
  .brand img { width: 30px; height: 30px; }
  .sec-title { scroll-margin-top: 78px; }
  .track { scroll-margin-top: 72px; }
  .album-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .album-hero .cover { flex-basis: auto; width: 100%; max-width: 340px; }
  .track { flex-direction: column; gap: 18px; }
  .track .art { position: static; flex-basis: auto; width: 100%; max-width: 340px; }
  .lyrics .cols { grid-template-columns: 1fr; }
  .lyrics .col.de { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
  .lang-de .lyrics .col.de { border-bottom: none; }
  .p-time { display: none; }
  .dl-list li { flex-wrap: wrap; }
  .dl-name { flex: 1 1 100%; }
  .dl-act { margin-left: auto; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .contact-mail { padding: 18px 20px; }
  .c-key { flex-basis: auto; }
}

/* ── Анімація ── */

@media (prefers-reduced-motion: no-preference) {

  /* поява секцій треків і карток при прокручуванні */
  @supports (animation-timeline: view()) {
    .track,
    .album-card,
    .dl-group {
      animation: ep-rise cubic-bezier(.22, .61, .36, 1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
  @keyframes ep-rise {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  /* плавне розкриття текстів */
  @supports (transition-behavior: allow-discrete) {
    .lyrics .cols {
      transition: opacity .32s linear, transform .32s linear, display .32s allow-discrete;
    }
    .lyrics:not([open]) .cols { display: none; opacity: 0; transform: translate3d(0, -8px, 0); }
    .lyrics[open] .cols { opacity: 1; transform: translate3d(0, 0, 0); }
    @starting-style {
      .lyrics[open] .cols { opacity: 0; transform: translate3d(0, -8px, 0); }
    }
  }

}

/* міждокументні переходи: обкладинка перетікає в сторінку альбому */

@supports (view-transition-name: none) {
  .album-card.mh .cover img,
  .mh-page .album-hero .cover img { view-transition-name: cover-mh; }
  .album-card.eb .cover img,
  .eb-page .album-hero .cover img { view-transition-name: cover-eb; }
  .album-card.mz .cover img,
  .mz-page .album-hero .cover img { view-transition-name: cover-mz; }

  ::view-transition-group(*) { animation-duration: .34s; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
