/* =========================================================
   VOCUBA — дизайн «Brooklyn 90s / коллаж на крафтовой бумаге»
   ========================================================= */

:root {
  /* палитра */
  --paper: #e9dfca;
  --paper-2: #ddd1b8;
  --ink: #1c1a17;
  --ink-2: #2a2723;
  --muted: #6e665a;
  --red: #c8432b;
  --red-dark: #9e2f1f;
  --yellow: #f2b632;
  --yellow-2: #e5a51c;
  --line: #1c1a1733;

  /* для админки (она использует общие переменные) */
  --bg: #1c1a17;
  --bg-2: #24211d;
  --surface: #2e2a25;
  --text: #f2ead9;
  --accent: var(--yellow);
  --accent-2: var(--red);
  --border: #3a352e;
  --radius: 4px;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-tag: "Caveat", cursive;

  --player-h: 104px;
  --max: 1440px;

  /* зерно бумаги */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .05 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
  background-color: var(--paper);
  background-image:
    var(--grain),
    radial-gradient(ellipse at 20% 0%, #f3ead6 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, #d6c8ab 0%, transparent 55%);
  padding-bottom: calc(var(--player-h) + 24px);
}
a { color: inherit; }
[hidden] { display: none !important; }
section[id], #tracklist { scroll-margin-top: 24px; }
.site-home {
  --paper: #e6ddc5;
  --paper-2: #d7cbb0;
  --ink: #191917;
  --red: #a44832;
  --red-dark: #883420;
  --yellow: #dfb637;
  --muted: #615b4c;
  overflow-x: clip;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom) + 16px);
  background-image: url(/img/paper-texture.webp);
  background-size: 760px auto;
  background-repeat: repeat;
  background-position: left top;
}
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--yellow); color: var(--ink); }
.skip-link:focus { top: 12px; }
.site-sheet { overflow: clip; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- шапка ---------- */
.site-header {
  position: relative; z-index: 5;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
  padding: 22px 40px 0;
}
.site-home .site-header { height: 60px; padding: 8px 3.4% 0; gap: 44px; }
.site-home .logo { font-size: 27px; letter-spacing: .4em; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  letter-spacing: .42em; text-decoration: none; color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 0; font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.nav a { text-decoration: none; padding: 4px 2px; }
.nav a:hover { color: var(--red); }
.site-home .nav a { padding-block: 10px; }
.nav a + a::before { content: "/"; color: var(--red); margin: 0 18px; font-weight: 700; }
.tape {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--yellow); padding: 6px 18px; display: inline-block;
  box-shadow: 0 2px 0 #0002;
  clip-path: polygon(2% 8%, 98% 0, 100% 92%, 1% 100%);
}
.tape--est { margin-left: auto; font-size: 22px; transform: rotate(-5deg); }
.site-home .tape--est { font-size: 20px; padding: 9px 28px; background-image: var(--grain); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
  padding: 12px 34px; border: 3px solid var(--ink); background: transparent; color: var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn--primary { background: var(--yellow); border-color: var(--yellow); }
.btn--primary:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn--outline { background: var(--paper); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--ink); }
.btn__icon { font-size: .95em; }
.site-home .btn { justify-content: center; min-height: 56px; padding: 10px 30px; font-size: 22px; border-width: 2px; background-image: var(--grain); }
.site-home .btn--outline { box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--ink); }
.hero .btn--primary { min-width: clamp(155px,14.8vw,214px); }
.hero .btn--outline { min-width: clamp(155px,14vw,202px); }
.btn--small { font-size: 15px; padding: 6px 14px; border-width: 2px; }
.btn--danger { color: var(--red); border-color: var(--red); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  height: min(34.3vw, 494px);
  min-height: 360px;
  padding: 0 3.4%;
  isolation: isolate;
}
/* рваный край снизу */
.hero::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: -2px; height: 42px; z-index: 4;
  background: var(--paper) url(/img/paper-texture.webp) left top / 760px auto;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='50' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cfilter id='r' x='-10%25' y='-50%25' width='120%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.025 .18' numOctaves='3' seed='8' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='18' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath fill='white' filter='url(%23r)' d='M-20 22 Q80 7 180 22 T350 22 T520 17 T700 22 T900 14 T1100 22 T1460 20 V80 H-20Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
}
.hero__backdrop { position: absolute; z-index: -2; inset: -60px 0 0; background: url(/img/brooklyn-collage.webp) center / cover no-repeat; }

.hero__text { position: relative; z-index: 2; padding-top: 12px; width: 47%; }
.hero__title {
  position: relative; margin: 0;
  font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: flex-end; height: clamp(214px, 20vw, 288px);
  font-size: clamp(125px, 12.5vw, 180px); line-height: 1; letter-spacing: -.045em;
  text-transform: uppercase; color: var(--ink);
  transform: rotate(-4deg); transform-origin: left bottom;
}
.grunge {
  display: inline-block;
  transform: scaleY(1.68); transform-origin: left bottom;
  /* «стёртая» краска: шумовая маска с дырками */
  --wear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -30 0 0 0 23'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--wear);
  mask-image: var(--wear);
}
.crown {
  position: absolute; left: .08em; top: -.03em; width: .4em; height: auto;
  fill: none; stroke: var(--red); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round;
  transform: rotate(-8deg);
}
.hero__tagline { position: relative; margin: 12px -4px 2px -8px; transform: rotate(-4deg); transform-origin: left; white-space: nowrap; }
.hero__tagline span {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; color: var(--paper);
  font-size: clamp(32px, 3.65vw, 52px); line-height: 1.1;
  padding: 8px 30px 12px 22px;
  background: var(--red) var(--grain);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='100' viewBox='0 0 600 100' preserveAspectRatio='none'%3E%3Cfilter id='r' x='-10%25' y='-50%25' width='120%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.08 .3' numOctaves='3' seed='5' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='10' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath d='M5 7 593 4 594 92 5 96Z' fill='white' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
}
.hero__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; padding-left: 5px; }

.hero__crew {
  position: absolute; z-index: 3; left: 34%; right: -1%; bottom: 12px; height: 100%;
  pointer-events: none;
  clip-path: inset(-160px -40px 0 -160px);
}
.hero__dog {
  position: absolute; height: auto;
  filter: drop-shadow(-3px 0 0 var(--paper)) drop-shadow(3px 0 0 var(--paper)) drop-shadow(0 -4px 0 var(--paper));
}
.hero__dog--1 { left: 3%; width: 52%; z-index: 3; bottom: -17%; }
.hero__dog--2 { left: 26%; width: 55%; z-index: 2; bottom: -13%; }
.hero__dog--3 { right: -4%; width: 49%; z-index: 1; bottom: -16%; }

/* ---------- контент ---------- */
.board {
  max-width: var(--max); margin: 0 auto; padding: 4px 3.4% 0;
  display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr); gap: 0 26px;
}
.side { border-left: 1px solid var(--line); padding-left: 24px; min-width: 0; }
.section { max-width: var(--max); margin: 0 auto; padding: 8px 0; min-width: 0; }
.board .section { width: 100%; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section__title {
  font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1;
  text-transform: uppercase; letter-spacing: .01em; margin: 0 0 16px;
}
.link-more {
  background: none; border: 0; padding: 0;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; color: var(--red); font-size: 18px;
}
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- треклист ---------- */
.tracklist, .upcoming { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.tracklist:empty { display: none; }
.tracklist.is-collapsed .track:nth-child(n+6) { display: none; }
.track {
  display: grid;
  grid-template-columns: 38px 84px minmax(0, 1fr) 40px 70px 50px 36px;
  align-items: center; gap: 12px;
  padding: 10px 12px; min-height: 105px;
  border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .15s;
}
.track:hover { background: #0000000a; }
.track.is-active { background: var(--yellow); border-bottom-color: transparent; box-shadow: 0 0 0 0 var(--yellow); }
.track__num { font-family: var(--font-display); font-weight: 700; font-size: 34px; }
.track__cover { width: 84px; height: 84px; object-fit: cover; filter: contrast(1.05); }
.track__info { display: flex; flex-direction: column; min-width: 0; }
.track__title {
  font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track__artist { font-family: var(--font-display); font-weight: 500; color: var(--muted); font-size: 18px; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.is-active .track__artist { color: #5b4a20; }
.track__plays { font-family: var(--font-display); font-size: 18px; white-space: nowrap; }
.track__plays:not(:empty)::before { content: "▶ "; font-size: .8em; }
.track__duration { font-family: var(--font-display); font-size: 24px; font-variant-numeric: tabular-nums; text-align: right; }
.track__play {
  width: 36px; height: 44px; border: 0; background: transparent; color: var(--ink);
  font-size: 15px; display: grid; place-items: center; padding: 0;
  transition: background .15s;
}
.track__play:hover, .track.is-active .track__play { background: var(--ink); color: var(--yellow); }
.tracklist__empty { margin: 0; }
.release-note { margin: -4px 0 12px; color: var(--muted); font-size: 15px; }
.track--upcoming { cursor: default; }
.track--upcoming:first-child { background: color-mix(in srgb, var(--yellow) 82%, transparent); }
.track__release { font-family: var(--font-display); text-transform: uppercase; font-size: 15px; color: var(--muted); }
.track__play:disabled { opacity: .35; cursor: not-allowed; background: transparent; color: var(--ink); }

/* эквалайзер на активном треке */
.eq { display: flex; align-items: flex-end; gap: 3px; height: 27px; visibility: hidden; }
.eq i { width: 5px; background: var(--ink); height: 40%; }
.track.is-active .eq { visibility: visible; }
.track.is-playing .eq i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { height: 80%; animation-delay: -.3s !important; }
.eq i:nth-child(3) { height: 55%; animation-delay: -.6s !important; }
.eq i:nth-child(4) { height: 100%; animation-delay: -.15s !important; }
.eq i:nth-child(5) { height: 65%; animation-delay: -.45s !important; }
@keyframes eq { 0% { transform: scaleY(.5); } 100% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }

/* ---------- состав ---------- */
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.section--crew .section__title { margin-bottom: 8px; }
.member { text-align: center; }
.member__frame {
  aspect-ratio: .85; overflow: hidden; position: relative;
  background: url(/img/brooklyn-collage.webp) 80% 15% / auto 220%;
  box-shadow: 0 0 0 1px #0002;
}
.member:nth-child(2) .member__frame { background-position: 75% 15%; }
.member:nth-child(3) .member__frame { background-position: 100% 20%; }
.member__photo {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 130%; max-width: none; height: auto; bottom: -16%;
  transition: transform .25s;
}
.member:hover .member__photo { transform: translateX(-50%) scale(1.05) rotate(-1.5deg); }
.member__name {
  display: inline-block; margin: 6px 0 0;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2;
  padding-bottom: 6px; position: relative;
}
.member__name::after { content: ""; position: absolute; height: 4px; bottom: 0; left: 8%; right: 8%; background: var(--yellow); transform: rotate(-3deg); clip-path: polygon(0 35%,18% 10%,60% 15%,100% 0,98% 80%,70% 70%,24% 100%,2% 85%); }
.member__role { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- о группе ---------- */
.section--about { position: relative; padding-top: 8px; padding-bottom: 16px; }
.section--about p { margin: 0; max-width: calc(100% - 100px); font-size: 17px; line-height: 1.35; }
.tag {
  position: absolute; right: -6px; bottom: 20px;
  font-family: var(--font-tag); font-weight: 700; color: var(--red); font-size: 46px; line-height: 1;
  transform: rotate(-14deg); opacity: .92; pointer-events: none;
}
.tag svg { position: absolute; left: .2em; top: -.7em; width: .7em; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tag::after { content: ""; position: absolute; bottom: -.1em; left: 0; right: 0; height: 3px; background: currentColor; transform: rotate(-8deg); }

/* ---------- контакты ---------- */
.section--contacts { padding: 24px 3.4% 10px; border-top: 1px solid var(--line); margin-top: 20px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.socials a, .socials__pending {
  display: block; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase;
  padding: 10px 22px; border: 3px solid var(--ink); background: var(--paper);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.socials a:hover { background: var(--yellow); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.socials__pending { color: var(--muted); border-color: var(--line); }
.socials__pending small { font: 13px var(--font-body); text-transform: none; margin-left: 6px; }
.socials li:nth-child(odd) a { transform: rotate(-1.5deg); }
.socials li:nth-child(even) a { transform: rotate(1deg); }
.site-footer { text-align: center; font-family: var(--font-display); color: var(--muted); padding: 30px 20px; letter-spacing: .06em; }

/* ---------- ПЛЕЕР ---------- */
.player {
  --progress: 0%;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  min-height: var(--player-h);
  display: grid;
  grid-template-columns: 76px minmax(130px, 1.2fr) auto minmax(180px, 1.7fr) auto;
  align-items: center; gap: 20px;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
  color: var(--paper);
  background: var(--ink) var(--grain);
  border-top: 4px double var(--paper-2);
  border-bottom: 1px solid var(--muted);
  box-shadow: 0 -4px 0 #19191799;
}
.player__cover { width: 76px; height: 76px; object-fit: cover; }
.player__meta { min-width: 0; padding-right: 22px; border-right: 1px solid #ffffff1f; }
.player__title { font-family: var(--font-display); font-weight: 600; font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__artist { font-family: var(--font-display); color: #b8ad98; font-size: 16px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player__controls { display: flex; align-items: center; gap: 10px; }
.player__btn {
  width: 56px; height: 56px; display: grid; place-items: center; padding: 0;
  border: 0; background: var(--paper) var(--grain); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.12em;
  transition: transform .1s, background .1s;
}
.player__btn svg { width: 26px; height: 26px; fill: currentColor; }
.player__btn:hover { transform: translateY(-2px); }
.player__btn:active { transform: translateY(1px); }
.player__btn--main { width: 64px; height: 64px; background: var(--yellow) var(--grain); }
/* Значок рисуется псевдоэлементом и ставится строго по центру: текстовый «▶/❚❚» в кнопке
   (нужен для скринридеров) скрыт и не влияет на раскладку. Треугольник сдвинут вправо на 6% —
   оптический центр, иначе он кажется смещённым влево. */
#btn-play { position: relative; font-size: 0; line-height: 0; color: var(--ink); }
#btn-play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 28px; transform: translate(-44%, -50%); background: currentColor; clip-path: polygon(10% 0,100% 50%,10% 100%); }
.player[data-state="playing"] #btn-play::before { transform: translate(-50%, -50%); clip-path: none; width: 22px; height: 28px; background: linear-gradient(to right,currentColor 0 32%,transparent 32% 66%,currentColor 66%); }
.player :focus-visible { outline-color: var(--yellow); }
.player[data-state="loading"] .player__btn--main { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

.player__btn--ghost { width: 40px; height: 40px; background: transparent; color: #b8ad98; }
.player__btn--ghost:hover { color: var(--paper); }
.player__btn--ghost svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.player__btn--ghost[aria-pressed="true"],
.player__btn--ghost[data-mode="all"],
.player__btn--ghost[data-mode="one"] { color: var(--yellow); }
.player__btn--ghost[data-mode="one"] { position: relative; }
.player__btn--ghost[data-mode="one"]::after {
  content: "1"; position: absolute; right: 2px; top: 2px;
  font-size: 11px; letter-spacing: 0; background: var(--yellow); color: var(--ink);
  width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%;
}

.player__progress { display: flex; align-items: center; min-width: 0; gap: 10px; padding-left: 18px; border-left: 1px solid #ffffff1f; }
.player__time { font-family: var(--font-display); font-size: 16px; color: #d8cdb7; min-width: 38px; font-variant-numeric: tabular-nums; }
.player__extra { display: flex; align-items: center; gap: 8px; padding-left: 16px; border-left: 1px solid #ffffff1f; }
.player__vol-icon svg { width: 26px; height: 26px; fill: var(--paper); display: block; margin-left: 8px; }

/* range-ползунки */
.player input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 22px; background: transparent; cursor: pointer; margin: 0;
}
.player__seek { flex: 1; min-width: 0; width: 100%; --fill: var(--progress); }
.player__volume { width: 105px; --fill: calc(var(--vol, .9) * 100%); }
.player input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 / var(--fill) 100% no-repeat, #5a544a;
}
.player input[type="range"]::-moz-range-track { height: 5px; background: #5a544a; }
.player input[type="range"]::-moz-range-progress { height: 5px; background: var(--yellow); }
.player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow); border: 0; margin-top: -6.5px;
}
.player input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 0;
}
.player__volume::-webkit-slider-thumb { background: var(--paper); }
.player__volume::-moz-range-thumb { background: var(--paper); }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .hero { min-height: 390px; }
  .site-home .site-header { gap: 26px; }
  .site-home .nav a + a::before { margin-inline: 12px; }
  .site-home .tape--est { font-size: 17px; padding-inline: 18px; }
  .track { grid-template-columns: 30px 68px minmax(0,1fr) 28px 55px 44px 36px; gap: 9px; padding-inline: 10px; min-height: 90px; }
  .track__cover { width: 68px; height: 68px; }
  .track__title { font-size: 22px; }
  .track__num { font-size: 28px; }
  .track__duration { font-size: 20px; }
  .track__plays { font-size: 16px; }
  .eq { gap: 2px; }
  .eq i { width: 4px; }
  .board { gap: 20px; }
  .side { padding-left: 18px; }
  .crew { gap: 9px; }
  .member__name { font-size: 17px; }
  .member__role { font-size: 13px; }
  .section--about p { font-size: 16px; }
  .tag { font-size: 39px; }
  .player { gap: 14px; grid-template-columns: 60px minmax(100px,1fr) auto minmax(140px,1.4fr) auto; padding-inline: 18px; }
  .player__cover { width: 60px; height: 60px; }
  .player__title { font-size: 19px; }
  .player__meta { padding-right: 12px; }
  .player__btn { width: 48px; height: 48px; }
  .player__btn--main { width: 58px; height: 58px; }
  .player__btn--ghost { width: 34px; height: 44px; }
  .player__extra { padding-left: 10px; gap: 5px; }
  .player__progress { padding-left: 10px; }
  .player__volume { width: 72px; }
  .player__time { font-size: 14px; min-width: 30px; }
}

@media (max-width: 1000px) {
  :root { --player-h: 128px; }
  .player { grid-template-columns: 52px minmax(0,1fr) auto auto; grid-template-rows: 58px 28px; gap: 4px 12px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); align-content: center; }
  .player__cover { width: 52px; height: 52px; }
  .player__meta { border: 0; padding: 0; }
  .player__controls { gap: 8px; }
  .player__btn { width: 44px; height: 44px; }
  .player__btn--main { width: 52px; height: 52px; }
  .player__progress { grid-column: 1 / -1; grid-row: 2; border: 0; padding: 0; }
  .player__extra { padding-left: 12px; }
  .player__volume { width: 85px; }
}

@media (max-width: 900px) {
  .site-home .site-header { padding: 10px 24px 0; gap: 24px; }
  .site-home .nav { font-size: 16px; }
  .site-home .nav a + a::before { margin-inline: 9px; }
  .site-home .logo { font-size: 24px; }
  .site-home .tape--est { display: none; }
  .hero { height: auto; min-height: 0; padding: 18px 24px 0; display: flex; flex-direction: column; }
  .hero__backdrop { background-position: 62% center; }
  .hero__text { width: 78%; padding-top: 18px; }
  .hero__title { height: 30vw; max-height: 270px; font-size: 21vw; }
  .hero__title .grunge { transform: scaleY(1.75); }
  /* корона над растянутой по вертикали «V», а не внутри буквы */
  .hero__title .crown { top: auto; bottom: 1.36em; left: .1em; width: .34em; z-index: 1; }
  .hero__tagline { margin-top: 8px; margin-bottom: 22px; }
  .hero__tagline span { font-size: clamp(32px,5.5vw,48px); }
  .hero__crew { position: relative; left: auto; right: auto; bottom: auto; align-self: center; width: calc(100% + 48px); height: 57vw; max-height: 500px; margin-top: 24px; overflow: hidden; }
  .hero__dog--1 { bottom: -20%; }
  .hero__dog--2 { bottom: -15%; }
  .hero__dog--3 { bottom: -18%; }
  .board { grid-template-columns: 1fr; padding: 8px 24px 0; }
  .track { grid-template-columns: 36px 76px minmax(0,1fr) 36px 65px 48px 40px; gap: 12px; min-height: 96px; }
  .track__cover { width: 76px; height: 76px; }
  .track__title { font-size: 25px; }
  .side { border-left: 0; padding-left: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; border-top: 1px solid var(--line); margin-top: 20px; }
  .section--about { padding-top: 12px; }
  .section--about p { max-width: 100%; }
  .tag { position: relative; display: block; width: max-content; margin: 38px 8px 10px auto; bottom: auto; right: auto; }
  .section--contacts { padding-inline: 24px; }
}

@media (max-width: 600px) {
  :root { --player-h: 156px; }
  body { font-size: 16px; }
  .site-home .site-header { height: auto; flex-wrap: wrap; row-gap: 0; padding: 14px 20px 0; }
  .site-home .logo { font-size: 24px; }
  .site-home .nav { order: 3; width: 100%; justify-content: space-between; font-size: 16px; white-space: nowrap; }
  .site-home .nav a + a::before { margin-inline: 7px; }
  .hero { padding: 22px 20px 0; }
  .hero__backdrop { top: -100px; background-position: left top; background-size: auto 130%; }
  .hero__text { width: 100%; padding-top: 15px; }
  .hero__title { height: 39vw; max-height: none; font-size: 28vw; }
  .hero__tagline { margin-top: 6px; margin-left: -5px; margin-bottom: 20px; }
  .hero__tagline span { font-size: 7.5vw; padding: 9px 20px 12px 16px; }
  .hero__actions { padding-left: 0; gap: 10px; }
  .site-home .hero .btn { min-width: 0; min-height: 48px; flex: 1; font-size: 18px; padding: 10px 12px; }
  .hero__crew { width: calc(100% + 40px); height: 62vw; margin-top: 22px; }
  .hero__crew::before { content: ""; position: absolute; z-index: -1; inset: 12% 0 0; background: url(/img/brooklyn-collage.webp) right bottom / auto 170%; mask-image: linear-gradient(transparent,black 28%); }
  .board { padding-inline: 20px; }
  .side { grid-template-columns: 1fr; gap: 0; }
  .section__title { font-size: 30px; }
  .track { grid-template-columns: 48px minmax(0,1fr) 30px 36px; gap: 8px; min-height: 74px; padding: 10px 8px; }
  .track__cover { width: 48px; height: 48px; }
  .track__title { font-size: 19px; }
  .track__artist { font-size: 14px; }
  .track__num, .track__plays, .track__release, .eq { display: none; }
  .track__duration { font-size: 16px; }
  .track__play { display: grid; }
  .release-note { font-size: 14px; }
  .member__name { font-size: clamp(15px,4vw,21px); }
  .member__role { font-size: 13px; }
  .section--about { padding-top: 20px; }
  .section--about p { font-size: 17px; max-width: calc(100% - 58px); }
  .tag { position: absolute; font-size: 34px; right: 0; bottom: 24px; margin: 0; }
  .section--contacts { padding-inline: 20px; }
  .socials { gap: 10px; }
  .socials a, .socials__pending { padding: 8px 14px; font-size: 17px; }
  .player { grid-template-columns: 44px minmax(0,1fr) auto; grid-template-rows: 52px 28px 40px; gap: 2px 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .player__cover { width: 44px; height: 44px; }
  .player__title { font-size: 16px; }
  .player__artist { font-size: 12px; }
  .player__controls { gap: 6px; }
  .player__btn { width: 40px; height: 44px; }
  .player__btn svg { width: 20px; height: 20px; }
  .player__btn--main { width: 50px; height: 50px; }
  #btn-play::before, .player[data-state="playing"] #btn-play::before { width: 18px; height: 23px; }
  .player__progress { grid-column: 1 / -1; grid-row: 2; padding: 0; border: 0; gap: 10px; }
  .player__extra { grid-column: 1 / -1; grid-row: 3; border: 0; padding: 0; gap: 10px; justify-content: center; }
  .player__extra .player__btn { width: 40px; height: 40px; }
  .player__vol-icon svg { margin-left: 8px; width: 22px; }
  .player__volume { width: auto; flex: 1; max-width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Extended catalog uses the same printed sleeve below the reference composition. */
.media-section { max-width:1448px; margin:0 auto; padding:30px 3.4%; border-top:1px solid var(--line); }
.media-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.media-heading .section__title { margin:0; }
.media-heading > a, .media-heading > span { color:var(--red); font:600 18px var(--font-display); text-transform:uppercase; }
.release-grid, .video-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.release-card, .video-card { min-width:0; }
.release-card > img, .release-card__link > img { width:100%; aspect-ratio:1; height:auto; object-fit:cover; border:1px solid var(--ink); }
.release-card h3, .video-card h3 { font:600 25px/1.2 var(--font-display); margin:8px 0; overflow-wrap:anywhere; }
.release-card__type { margin:12px 0 0; color:var(--red); font:500 14px var(--font-display); text-transform:uppercase; }
.release-card button { margin-top:12px; min-height:44px; width:100%; border:1px solid var(--ink); background:var(--yellow) var(--grain); font:600 18px var(--font-display); padding:8px; }
.release-card button:disabled { opacity:.5; cursor:default; }
.video-card__watch { position:relative; display:block; padding:0; width:100%; border:1px solid var(--ink); background:var(--ink); }
.video-card__watch img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.video-card__watch span { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:54px; height:44px; display:grid; place-items:center; background:var(--yellow); font-size:22px; color:var(--ink); box-shadow:3px 3px 0 var(--ink); }
.video-card__watch:hover span { background:var(--paper); }
.video-card > a { font-size:15px; color:var(--red); }
.media-note { color:var(--muted); font-size:14px; margin:16px 0 0; }
#video-stage { background:var(--ink) var(--grain); color:var(--paper); padding:20px; margin-top:24px; scroll-margin-bottom:var(--player-h); }
.video-stage__heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.video-stage__heading h3 { margin:0; font:600 26px var(--font-display); }
#video-close { background:var(--yellow); border:0; color:var(--ink); padding:10px 16px; min-height:44px; }
#video-embed iframe { display:block; width:100%; aspect-ratio:16/9; min-height:200px; border:0; }
#video-stage .media-note { color:var(--paper); }
@media(max-width:900px) { .release-grid, .video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } .media-section { padding-inline:24px; } }
@media(max-width:600px) { .media-section { padding:24px 20px; } .video-grid { grid-template-columns:1fr; } .release-grid { gap:16px; } .release-card h3 { font-size:21px; } .release-card button { font-size:16px; } #video-stage { margin-inline:-10px; padding:10px; } }
