:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1b1b1b;
  --line: rgba(255, 255, 255, .1);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --red: #e3120b;          /* заливки, кнопки */
  --red-hover: #ff2016;
  --red-text: #ff3b30;     /* красный текст на чёрном (контраст 5:1) */

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-logo: "Permanent Marker", "Oswald", cursive;
  --f-brush: var(--f-logo);

  --gutter: 16px;
  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
  --ic-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --ic-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
body.no-scroll { overflow: hidden; overflow: clip; }
/* Зерно поверх всего — убирает «цифровую» плоскость чёрного */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.muted { color: var(--muted); }
/* Стрелки-иконки вместо символов ↗ и → (символы на iOS/Android превращаются в эмодзи) */
.i-ext, .i-next {
  display: inline-block; width: .85em; height: .85em; vertical-align: -.08em; flex: none; background: currentColor;
  -webkit-mask: var(--ic-ext) center / contain no-repeat; mask: var(--ic-ext) center / contain no-repeat;
}
.i-next { -webkit-mask-image: var(--ic-next); mask-image: var(--ic-next); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

.eyebrow {
  font: 500 13px/1.3 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--red { color: var(--red-text); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
}
.header.is-solid, .header.menu-open {
  background: rgba(10, 10, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.logo {
  font: 400 30px/1 var(--f-logo); color: var(--red); letter-spacing: .02em;
  transform: rotate(-3deg); margin-right: auto; padding: 6px 0;
}
.logo--sm { font-size: 26px; margin: 0; }
.nav { display: none; }
.header__cta { margin-left: auto; }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; margin-right: -10px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  padding: calc(var(--header-h) + 32px + env(safe-area-inset-top)) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .25s var(--ease);
}
.menu[hidden] { display: none; }
.menu:not(.is-open) { pointer-events: none; }
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font: 700 clamp(36px, 11vw, 60px)/1.15 var(--f-display); text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.menu nav a:active, .menu nav a[aria-current="page"] { color: var(--red-text); }
.menu nav a { opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: 40ms; }
.menu.is-open nav a:nth-child(3) { transition-delay: 80ms; }
.menu.is-open nav a:nth-child(4) { transition-delay: 120ms; }
.menu.is-open nav a:nth-child(5) { transition-delay: 160ms; }
.menu.is-open nav a:nth-child(6) { transition-delay: 200ms; }
.menu__socials { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); }
.menu__socials a { padding: 10px 0; }

@media (min-width: 900px) {
  :root { --header-h: 76px; --gutter: 32px; }
  .burger, .menu { display: none !important; }
  .logo { margin-right: 0; font-size: 34px; }
  .nav { display: flex; gap: 36px; margin: 0 auto; }
  .nav a {
    font: 500 15px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
    padding: 12px 0; position: relative; color: rgba(245, 245, 245, .8); transition: color .2s;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav a:hover, .nav a.is-active { color: var(--text); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .header__cta { margin-left: 0; }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; overflow: clip; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
  animation: heroIn 1.6s var(--ease) both;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 18%),
    linear-gradient(to top, var(--bg) 4%, rgba(10,10,10,.85) 30%, rgba(10,10,10,0) 60%);
}
.hero__content {
  width: 100%; padding: 0 var(--gutter) calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px;
}
.hero__title {
  font: 400 clamp(96px, 34vw, 260px)/.82 var(--f-logo); color: var(--red);
  display: flex; letter-spacing: -.01em; margin: 0 0 4px -.04em;
  text-shadow: 0 6px 40px rgba(227, 18, 11, .35);
}
.hero__title span { display: inline-block; animation: letterIn .8s var(--ease) both; }
.hero__title span:nth-child(1) { animation-delay: .15s; transform: rotate(-4deg); }
.hero__title span:nth-child(2) { animation-delay: .23s; }
.hero__title span:nth-child(3) { animation-delay: .31s; }
.hero__title span:nth-child(4) { animation-delay: .39s; }
.hero__next { display: flex; flex-direction: column; gap: 4px; }
.hero__next .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.hero__next-date { display: flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero__next-venue { color: var(--muted); font-size: 13px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red-text); flex: none;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: pulse 2s infinite;
}
.hero__actions { display: flex; gap: 10px; margin-top: 8px; }
.hero__actions .btn--red { flex: 1 1 auto; }
.hero__scroll { display: none; }

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero__media { left: 42%; }
  .hero__media img { object-position: 50% 20%; }
  .hero__media::after {
    background:
      linear-gradient(to right, var(--bg) 0%, rgba(10,10,10,.6) 22%, rgba(10,10,10,0) 50%),
      linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,0) 30%);
  }
  .hero__content { max-width: var(--container); margin: 0 auto; padding: var(--header-h) var(--gutter) 0; }
  .hero__title { font-size: clamp(180px, 21vw, 320px); }
  .hero__actions { margin-top: 16px; }
  .hero__actions .btn--red { flex: none; }
  .hero__scroll {
    display: grid; place-items: center; position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted);
    animation: bob 2.4s ease-in-out infinite;
  }
}

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--red); overflow: hidden; overflow: clip; padding: 12px 0; transform: rotate(-1.2deg) scale(1.03); margin: 0 0 8px; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font: 700 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; background: var(--bg); transform: rotate(45deg); flex: none; }

/* ---------- Секции ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--surface); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.section__title {
  font: 700 clamp(44px, 12vw, 96px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.01em;
}
.section__note { color: var(--muted); font-size: 15px; max-width: 30ch; }
@media (min-width: 900px) { .section { padding: 120px 0; } .section__head { margin-bottom: 48px; } }

.link-arrow {
  font: 600 14px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 0; border-bottom: 2px solid var(--red); transition: color .2s;
}
.link-arrow::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .4em; vertical-align: -.1em; background: currentColor; -webkit-mask: var(--ic-next) center / contain no-repeat; mask: var(--ic-next) center / contain no-repeat; }

/* ---------- Афиша ---------- */
.tour { border-top: 1px solid var(--line); }
.gig {
  display: grid; grid-template-columns: 76px 1fr; gap: 6px 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); position: relative;
}
.gig__date { display: flex; flex-direction: column; }
.gig__day { font: 700 44px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.gig__mon { font: 500 12px/1.4 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); margin-top: 4px; }
.gig__place { display: flex; flex-direction: column; min-width: 0; }
.gig__city { font: 700 26px/1.1 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; }
.gig__venue { color: var(--muted); font-size: 15px; margin-top: 4px; }
.gig__buy { grid-column: 1 / -1; margin-top: 12px; }
.gig__addr {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; padding: 4px 0;
  font-size: 14px; color: var(--text); border-bottom: 1px dashed rgba(255,255,255,.35); transition: color .2s, border-color .2s;
}
.gig__addr svg { color: var(--red-text); flex: none; }

.soon {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center;
  margin-top: 24px; padding: 22px; border: 1px dashed rgba(255,255,255,.2); border-radius: 6px;
}
.soon__pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--red-text); animation: pulse 2s infinite; }
.soon__title { font: 700 22px/1.15 var(--f-display); text-transform: uppercase; margin-bottom: 4px; }
.soon__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 700px) {
  .soon { grid-template-columns: auto 1fr auto; padding: 28px 32px; }
  .soon__links { grid-column: auto; }
}

@media (min-width: 700px) {
  .gig { grid-template-columns: 110px 1fr auto; gap: 24px; padding: 26px 8px; transition: background-color .25s var(--ease); }
  .gig__day { font-size: 56px; }
  .gig__city { font-size: 34px; }
  .gig__buy { grid-column: auto; margin: 0; }
  .gig::before {
    content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--red);
    transform: scaleY(0); transition: transform .25s var(--ease);
  }
}

/* ---------- Музыка: в стиле страницы артиста ---------- */
.music { position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: linear-gradient(to bottom, var(--bg) 0, var(--surface) 220px); }
.music__head { margin-bottom: 36px; }
.link-arrow--ext::after { -webkit-mask-image: var(--ic-ext); mask-image: var(--ic-ext); }
.music__glow {
  position: absolute; z-index: -1; width: 720px; height: 720px; left: -240px; top: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 18, 11, .45), rgba(227, 18, 11, 0) 65%);
  filter: blur(40px); animation: glow 9s ease-in-out infinite alternate;
}
.music__grid { display: grid; gap: 40px; }

.artist { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.artist__avatar {
  width: 140px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; overflow: clip; flex: none;
  box-shadow: 0 20px 60px -10px rgba(227, 18, 11, .55);
}
.artist__avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist__label { font-size: 15px; font-weight: 600; color: var(--muted); }
.artist__name { font: 800 clamp(64px, 18vw, 112px)/.95 var(--f-body); letter-spacing: -.04em; margin: 2px 0 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1); font-size: 15px; font-weight: 600;
}
.chip svg { color: var(--muted); }
.artist__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 16px/1 var(--f-body); transition: background-color .2s var(--ease), transform .16s ease-out, color .2s;
}
.pill:active { transform: scale(.96); }
.pill--play { background: var(--red); color: #fff; padding-left: 22px; }
.pill--soft { background: rgba(255,255,255,.12); }
.pill--soft.is-on { background: var(--text); color: var(--bg); }

.popular__title { font: 800 26px/1.2 var(--f-body); letter-spacing: -.02em; }
.popular__note { color: var(--muted); font-size: 14px; margin: 6px 0 12px; }
.ptrack {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; align-items: center; gap: 4px;
  margin: 0 -10px; padding-right: 2px; border-radius: 12px; transition: background-color .2s var(--ease);
}
.ptrack__main {
  display: grid; grid-template-columns: 28px 48px minmax(0, 1fr); align-items: center; gap: 14px;
  min-height: 68px; padding: 8px 10px; text-align: left; border-radius: 12px; transition: transform .16s ease-out;
}
.ptrack__main:active { transform: scale(.98); }
.ptrack__n { position: relative; display: grid; place-items: center; height: 24px; color: var(--muted); font: 600 15px/1 var(--f-body); }
.ptrack__n > * { grid-area: 1 / 1; }
.ptrack__play, .ptrack__pause, .eq { opacity: 0; transition: opacity .15s; }
.ptrack__cover { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; overflow: clip; background: var(--surface-2); }
.ptrack__cover img { width: 100%; height: 100%; object-fit: cover; }
.ptrack__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ptrack__title { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; overflow: clip; text-overflow: ellipsis; transition: color .2s; }
.ptrack__artist { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; overflow: clip; text-overflow: ellipsis; }
.ptrack__progress { height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; overflow: clip; margin-top: 6px; display: none; }
.ptrack__progress i { display: block; height: 100%; background: var(--red-text); transform: scaleX(0); transform-origin: left; }
.ptrack__dur { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; padding: 0 6px; }
.ptrack__full { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: color .2s, background-color .2s; }

/* Текущий трек: эквалайзер, когда играет */
.ptrack.is-current { background: rgba(255,255,255,.07); }
.ptrack.is-current .ptrack__title { color: var(--red-text); }
.ptrack.is-current .ptrack__num { opacity: 0; }
.ptrack.is-current .ptrack__progress { display: block; }
.ptrack.is-current:not(.is-playing) .ptrack__play { opacity: 1; color: var(--red-text); }
.ptrack.is-playing .eq { opacity: 1; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 3px; height: 100%; background: var(--red-text); border-radius: 1px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.2s; }
.eq i:nth-child(2) { animation-delay: -.5s; }
.eq i:nth-child(3) { animation-delay: -.8s; }

/* Кнопка «Слушать» на первом экране */
.listen { display: inline-flex; align-items: center; gap: 12px; padding-right: 8px; min-height: 56px; }
.listen__circle {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1.5px solid rgba(255,255,255,.55); transition: background-color .2s var(--ease), border-color .2s, transform .16s ease-out;
}
.listen:active .listen__circle { transform: scale(.94); }
.listen__label { font: 600 14px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }

/* Мини-плеер */
.player {
  position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 35;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px auto 40px; align-items: center; gap: 10px;
  padding: 8px; border-radius: 14px; overflow: hidden; overflow: clip;
  background: rgba(28, 28, 28, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateY(140%); transition: transform .3s var(--ease);
}
.player.is-open { transform: none; }
.player__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.1); }
.player__bar i { display: block; height: 100%; background: var(--red-text); transform: scaleX(0); transform-origin: left; }
.player__cover { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.player__text { display: flex; flex-direction: column; min-width: 0; }
.player__title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; overflow: clip; text-overflow: ellipsis; }
.player__artist { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; overflow: clip; text-overflow: ellipsis; }
.player__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s, transform .16s ease-out; }
.player__btn:active { transform: scale(.92); }
.player__btn > svg { grid-area: 1 / 1; }
.player .i-play { display: none; }
.player.is-paused .i-play { display: block; }
.player.is-paused .i-pause { display: none; }
.player__full { font-size: 13px; font-weight: 700; color: var(--red-text); white-space: nowrap; padding: 10px 4px; }
.player__full-long { display: none; }
.player__close { width: 40px; height: 40px; color: var(--muted); }
body.has-player .sticky-buy { display: none; }
body.has-player .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) {
  .player { left: 50%; right: auto; width: 640px; translate: -50% 0; bottom: 20px; padding: 10px 12px; grid-template-columns: 52px minmax(0, 1fr) 44px auto 40px; gap: 14px; }
  .player__cover { width: 52px; height: 52px; }
  .player__full-long { display: inline; }
}

.modal--video .modal__body { position: relative; }
.modal__ig {
  position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 2;
  padding: 10px 16px; border-radius: 999px; background: rgba(10,10,10,.6); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}

@media (min-width: 900px) {
  .music__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .artist { position: sticky; top: calc(var(--header-h) + 32px); }
  .artist__avatar { width: 200px; }
  .popular__title { font-size: 28px; margin-bottom: 16px; }
  .ptrack__main { grid-template-columns: 32px 56px minmax(0, 1fr); min-height: 76px; }
  .ptrack__cover { width: 56px; height: 56px; }
  .ptrack__title { font-size: 17px; }
}

/* ---------- Магазин: коллаж ---------- */
.shop { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: 72px 0 80px; }
.shop__type {
  position: absolute; z-index: -1; left: 0; right: 0; top: 46%; translate: 0 -50%;
  display: flex; flex-direction: column; align-items: center; gap: 0; pointer-events: none; rotate: -6deg;
}
.shop__type span {
  font: 700 clamp(84px, 26vw, 260px)/.92 var(--f-display); text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); will-change: transform;
}
.shop__type span:last-child { -webkit-text-stroke-color: rgba(227,18,11,.35); }
.shop__head { position: relative; z-index: 2; }
.shop__lead { color: var(--muted); font-size: 17px; margin-top: 12px; }

.collage { position: relative; height: 205vw; margin: 44px 0 8px; }
.tee { position: absolute; }
.tee__card {
  --py: 0px; position: relative; background: #f2f0ea; padding: 7px 7px 34px; border-radius: 3px;
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.75), 0 2px 6px rgba(0,0,0,.4);
  transform: translateY(var(--py)) rotate(var(--r, 0deg));
  transition: rotate .4s var(--ease), scale .4s var(--ease), box-shadow .4s var(--ease);
}
.tee__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; }
.tee__tape {
  position: absolute; z-index: 2; left: 50%; top: -12px; width: 76px; height: 24px; translate: -50% 0; rotate: -4deg;
  background: rgba(240, 236, 225, .55); backdrop-filter: blur(1px); box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.tee__tag {
  position: absolute; left: 10px; right: 10px; bottom: 6px; display: flex; align-items: baseline; gap: 8px; color: #141414;
  font-size: 12px; line-height: 1.2; overflow: hidden; overflow: clip;
}
.tee__tag span { white-space: nowrap; overflow: hidden; overflow: clip; text-overflow: ellipsis; color: #555; font-weight: 600; }
.tee__tag b {
  flex: none; font: 700 14px/1 var(--f-display); color: #fff; background: var(--red); padding: 5px 7px 4px; rotate: -3deg;
}

/* Раскладка — телефон: часть вещей уходит за края экрана */
.tee:nth-child(1) { left: -16%; top: 0;   width: 56%; z-index: 2; --r: -9deg; }
.tee:nth-child(2) { right: 3%;  top: 6%;  width: 46%; z-index: 3; --r: 7deg; }
.tee:nth-child(3) { left: 20%;  top: 31%; width: 54%; z-index: 4; --r: -3deg; }
.tee:nth-child(4) { left: -4%;  top: 58%; width: 44%; z-index: 3; --r: 8deg; }
.tee:nth-child(5) { right: -14%; top: 52%; width: 52%; z-index: 5; --r: -7deg; }
.tee:nth-child(6) { left: 28%;  top: 79%; width: 46%; z-index: 6; --r: 4deg; }
.tee:nth-child(n+7) { display: none; }

.shop__cta { position: relative; z-index: 7; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.shop__cta .btn { gap: 10px; }

@media (min-width: 900px) {
  .shop { padding: 120px 0 120px; }
  .shop__type { top: 52%; }
  .collage { height: 960px; max-width: 1440px; margin: 32px auto 0; }
  .tee:nth-child(n) { left: auto; right: auto; top: auto; }
  .tee:nth-child(1) { left: -5%;  top: 2%;  width: 25%; --r: -8deg; }
  .tee:nth-child(2) { left: 30%;  top: 0;   width: 21%; --r: 5deg; }
  .tee:nth-child(3) { right: 6%;  top: 6%;  width: 23%; --r: -5deg; }
  .tee:nth-child(4) { left: 14%;  top: 47%; width: 22%; --r: 6deg; }
  .tee:nth-child(5) { left: 44%;  top: 40%; width: 24%; --r: -4deg; }
  .tee:nth-child(6) { right: -4%; top: 52%; width: 22%; --r: 9deg; }
  .tee__card { padding: 10px 10px 44px; }
  .tee__tag { left: 14px; right: 14px; bottom: 10px; font-size: 14px; }
  .tee__tag b { font-size: 17px; }
  .shop__cta { flex-direction: row; align-items: center; gap: 24px; justify-content: center; margin-top: 24px; }
}

/* ---------- Контакты ---------- */
.contacts { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.contacts__bg {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%; opacity: .22; filter: grayscale(1) contrast(1.1);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%);
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
}
.contacts__grid { display: grid; gap: 48px; }
.contacts__lead { color: var(--muted); margin: 16px 0 28px; font-size: 17px; max-width: 34ch; }
.contact-card { border-left: 3px solid var(--red); padding-left: 20px; }
.contact-card__name { font: 700 28px/1.1 var(--f-display); text-transform: uppercase; }
.contact-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact-card__links .btn { text-transform: none; letter-spacing: .02em; font-family: var(--f-body); font-weight: 600; }
.contacts__socials .eyebrow { margin-bottom: 8px; }
.socials { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.socials a {
  display: flex; justify-content: space-between; align-items: center; min-height: 60px;
  border-bottom: 1px solid var(--line); font: 600 24px/1 var(--f-display); text-transform: uppercase; transition: color .2s, transform .25s var(--ease);
}
.socials a::after { content: ""; width: 20px; height: 20px; flex: none; background: var(--muted); -webkit-mask: var(--ic-ext) center / contain no-repeat; mask: var(--ic-ext) center / contain no-repeat; }
.projects__label { margin: 32px 0 8px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.project {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: border-color .2s, background-color .2s, transform .16s ease-out;
}
.project:active { transform: scale(.97); }
.project__name { font: 700 18px/1.1 var(--f-display); text-transform: uppercase; }
.project__note { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .contacts__grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: end; } }

/* ---------- Подвал ---------- */
.footer { padding: 40px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer__inner { display: flex; flex-direction: column; gap: 12px; }
.footer__legal { opacity: .7; }
@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
}


/* ---------- Сниппеты: бесконечная лента ---------- */
.snippets { padding: 72px 0 0; background: var(--bg); }
.strip { overflow: hidden; overflow: clip; }
.strip__track { display: flex; width: max-content; animation: strip var(--dur, 40s) linear infinite; }
.strip__track li { flex: 0 0 auto; }
.strip__item { position: relative; display: block; width: 46vw; aspect-ratio: 9 / 16; overflow: hidden; overflow: clip; background: var(--surface-2); }
.strip__item img, .strip__item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip__item video { opacity: 0; transition: opacity .4s var(--ease); }
.strip__item video.is-playing { opacity: 1; }
.strip__item::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,10,.75), rgba(10,10,10,0) 30%);
}
.strip__title {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; text-align: left;
  font: 700 16px/1.1 var(--f-display); text-transform: uppercase; white-space: nowrap; overflow: hidden; overflow: clip; text-overflow: ellipsis;
}
@keyframes strip { to { transform: translateX(-50%); } }

/* Заголовки вкладки «Видео» */
.more__slash { color: var(--red-text); margin: 0 6px; }
.more__title {
  font: 700 clamp(56px, 17vw, 132px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; margin-top: 12px;
}

@media (min-width: 900px) {
  .snippets { padding-top: 120px; }
  .strip__item { width: 260px; }
  .strip__title { font-size: 18px; left: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip__track { animation: none; }
}

/* ---------- Страница «Видео»: премьера + сетка ---------- */
.feat {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: calc(var(--header-h) + 28px) 0 48px;
  background:
    radial-gradient(50% 45% at 30% 45%, rgba(255, 70, 40, .45), transparent 70%),
    linear-gradient(180deg, #3d0000 0%, #9e0b06 28%, #e3120b 55%, #8a0905 80%, var(--bg) 100%);
}
.feat__grid { display: grid; gap: 24px; justify-items: center; }
.feat__card {
  position: relative; width: min(72vw, 360px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; overflow: clip; padding: 0;
  background: #111; box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);
  rotate: -2deg; transition: rotate .5s var(--ease), scale .2s ease-out;
}
.feat__card img, .feat__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat__card video { opacity: 0; transition: opacity .5s var(--ease); }
.feat__card video.is-playing { opacity: 1; }
.feat__card:active { scale: .98; }
.feat__badge {
  position: absolute; z-index: 2; left: 12px; top: 12px; padding: 6px 10px 5px; background: var(--bg); color: #fff;
  font: 700 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; rotate: -3deg;
}
.feat__info { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.feat__eyebrow { color: rgba(255,255,255,.85); }
.feat__title { font: 700 clamp(48px, 15vw, 128px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.feat__tag { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); }
.feat__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.pill--light { background: #fff; color: var(--bg); padding-left: 22px; }
.snips__title { margin-bottom: 28px; }

@media (min-width: 900px) {
  .feat { padding-bottom: 72px; }
  .feat__grid { grid-template-columns: auto 1fr; gap: 72px; align-items: center; justify-items: start; }
  .feat__card { width: 340px; }
  .feat__info { align-items: flex-start; text-align: left; gap: 14px; }
  .feat__actions { justify-content: flex-start; }
  .feat__tag { font-size: 17px; }
}
@media (hover: hover) and (pointer: fine) {
  .feat__card:hover { rotate: 0deg; }
  .pill--light:hover { background: var(--text); }
}

.section--tight { padding-top: 24px; }
.snips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.snip {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; overflow: clip; border-radius: 6px;
  background: var(--surface-2); text-align: left; isolation: isolate;
  transition: transform .16s ease-out;
}
.snip img, .snip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.snip video { opacity: 0; transition: opacity .4s var(--ease), transform .8s var(--ease); }
.snip video.is-playing { opacity: 1; }
.snip::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,10,.9) 0%, rgba(10,10,10,0) 45%), linear-gradient(to bottom, rgba(10,10,10,.45), rgba(10,10,10,0) 25%);
}
.snip:active { transform: scale(.97); }
.snip__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,10,.35); border: 1.5px solid rgba(255,255,255,.75); backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.snip__play svg { margin-left: 3px; }
.snip__dur {
  position: absolute; z-index: 2; top: 10px; right: 10px; font: 600 12px/1 var(--f-display); letter-spacing: .08em;
  padding: 5px 7px; border-radius: 3px; background: rgba(10,10,10,.6);
}
.snip__info { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.snip__tag { font: 500 11px/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--red-text); }
.snip__title { font: 700 20px/1.1 var(--f-display); text-transform: uppercase; }
@media (min-width: 700px) { .snips { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .snips { grid-template-columns: repeat(4, 1fr); gap: 20px; } .snip__title { font-size: 24px; } }

.vcta { padding: 40px 0 96px; }
.vcta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; border-top: 1px solid var(--line); padding-top: 56px; }
@media (min-width: 900px) { .vcta__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.modal--video { max-width: 520px; }
.modal--video .modal__body { background: #000; display: grid; }
.modal--video video, .modal--video iframe { width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.player-stub {
  display: grid; place-items: end center; padding: 32px; background-size: cover; background-position: center;
  box-shadow: inset 0 -200px 120px -40px rgba(10,10,10,.95); font: 600 16px/1.3 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
}
.page-video .footer { padding-bottom: 40px; }

/* ---------- Страница «Концерты»: обложка + список ---------- */
.page-inner .footer { padding-bottom: 40px; }
.cover {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding-top: var(--header-h);
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(255, 70, 40, .55), transparent 70%),
    linear-gradient(180deg, #3d0000 0%, #9e0b06 26%, #e3120b 52%, #8a0905 76%, var(--bg) 100%);
}
.cover__stage { position: relative; height: min(122vw, 86svh); min-height: 440px; }
.cover__word {
  position: absolute; z-index: 1; left: 0; right: 0; top: 11%;
  display: flex; justify-content: center; margin: 0;
  font: 400 clamp(120px, 38vw, 420px)/.8 var(--f-brush); color: #fff; letter-spacing: -.02em;
  text-shadow: .045em .045em 0 #0a0a0a;
}
.cover__word span { display: inline-block; animation: letterIn .8s var(--ease) both; }
.cover__word span:nth-child(1) { animation-delay: .1s; rotate: -5deg; }
.cover__word span:nth-child(2) { animation-delay: .18s; }
.cover__word span:nth-child(3) { animation-delay: .26s; rotate: 3deg; }
.cover__word span:nth-child(4) { animation-delay: .34s; }
.cover__artist {
  position: absolute; z-index: 2; bottom: 0; left: 50%; translate: -50% 0;
  width: 82vw; max-width: 560px; height: auto;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%);
  animation: riseIn 1s var(--ease) .25s both;
}
.cover__sticker {
  position: absolute; z-index: 3; right: 7%; top: 9%;
  font: 700 18px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: #fff; padding: 9px 14px 8px; rotate: 7deg;
  box-shadow: 4px 4px 0 rgba(0,0,0,.35);
}
.countdown { position: relative; z-index: 3; text-align: center; padding-top: 28px; padding-bottom: 8px; }
.countdown__label { font: 500 13px/1.3 var(--f-display); letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.countdown__grid { display: flex; justify-content: center; align-items: flex-start; gap: 6px; }
.countdown__grid i { font: 700 clamp(36px, 10vw, 72px)/1 var(--f-display); color: var(--red-text); font-style: normal; animation: blink 1s steps(2, start) infinite; }
.countdown__cell { display: flex; flex-direction: column; align-items: center; min-width: 19vw; }
.countdown__num { font: 700 clamp(44px, 13vw, 96px)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.countdown__unit { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .countdown__cell { min-width: 140px; } .countdown__grid { gap: 14px; } .countdown { padding-top: 40px; } }
@keyframes blink { to { visibility: hidden; } }

.tour__more { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.tour__more .soon__pulse { width: 10px; height: 10px; flex: none; }

@media (min-width: 900px) {
  .cover__stage { height: min(82svh, 820px); min-height: 620px; }
  .cover__word { top: 12%; font-size: clamp(220px, 26vw, 440px); }
  .cover__artist { width: auto; height: 96%; max-width: none; }
  .cover__sticker { right: 18%; top: 14%; font-size: 22px; }
}
@keyframes riseIn { from { opacity: 0; translate: -50% 40px; } to { opacity: 1; translate: -50% 0; } }

/* ---------- Страница «Бренд одежды» ---------- */
.bcover {
  position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; overflow: clip; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 56px;
}
.bcover__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bcover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--bg) 2%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.25) 70%, rgba(10,10,10,.6) 100%);
}
.bcover__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.bcover__eyebrow { color: rgba(255,255,255,.8); }
.bcover__logo { width: min(86vw, 760px); margin: 0; }
.bcover__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.bcover__lead { font-size: 17px; color: rgba(255,255,255,.85); }
.bcover__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 13px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .2s, background-color .2s, border-color .2s, transform .16s ease-out;
}
.filter:active { transform: scale(.95); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
.prod a { display: flex; flex-direction: column; gap: 6px; }
.prod__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; overflow: clip; background: var(--surface-2); border: 1px solid rgba(255,255,255,.05); margin-bottom: 8px; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prod__cta {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 11px 0; text-align: center;
  font: 700 12px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px);
  transform: translateY(140%); transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.prod__name { font: 700 14px/1.25 var(--f-body); text-transform: uppercase; }
.prod__price { font: 700 14px/1 var(--f-display); color: var(--red-text); letter-spacing: .04em; }
.prod a:active .prod__img { scale: .98; }
.catalog__order {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); color: var(--muted);
}
@media (min-width: 700px) { .catalog { grid-template-columns: repeat(3, 1fr); gap: 48px 20px; } .prod__name { font-size: 15px; } }
@media (min-width: 1100px) { .catalog { grid-template-columns: repeat(4, 1fr); } }
@media (hover: hover) and (pointer: fine) {
  .prod a:hover .prod__img img { transform: scale(1.05); }
  .prod a:hover .prod__cta { transform: none; }
  .prod__cta:hover { background: #fff; color: var(--bg); }
  .filter:not([aria-pressed="true"]):hover { color: var(--text); border-color: rgba(255,255,255,.4); }
}

/* Логотип бренда в блоке на главной */
.shop__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.shop__logo { height: 26px; width: auto; }
.shop__cta .btn--ghost { border-color: rgba(255,255,255,.35); }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 20px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.notfound .logo { font-size: 48px; margin: 0 0 12px; }

/* ---------- Кнопка снизу на телефоне ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 55%, rgba(10, 10, 10, 0));
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-buy.is-on { transform: none; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- Окно покупки ---------- */
.modal {
  width: 100%; max-width: 640px; height: 100%; max-height: 100%; margin: 0; padding: 0;
  border: 0; background: var(--surface); color: var(--text);
  inset: auto 0 0; display: none; flex-direction: column;
}
.modal[open] { display: flex; animation: sheetIn .35s var(--ease); }
.modal::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); animation: fadeIn .3s var(--ease); }
.modal.is-closing { animation: sheetOut .22s cubic-bezier(.4, 0, 1, 1) forwards; }
.modal.is-closing::backdrop { animation: fadeOut .22s ease-in forwards; }
.modal__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 16px; border-bottom: 1px solid var(--line);
}
.modal__title { font: 700 24px/1.15 var(--f-display); text-transform: uppercase; margin-top: 4px; }
.modal__close { width: 44px; height: 44px; display: grid; place-items: center; margin: -6px -10px 0 0; border-radius: 50%; }
.modal__close:hover { background: var(--surface-2); }
.modal__body { flex: 1; min-height: 0; }
.modal__body iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.modal__stub { padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
@media (min-width: 700px) {
  .modal { inset: 0; margin: auto; height: min(820px, 90vh); border-radius: 8px; overflow: hidden; overflow: clip; }
  .modal[open] { animation: fadeUp .3s var(--ease); }
  .modal.is-closing { animation: fadeDown .18s ease-in forwards; }
  .modal__head { padding: 20px 24px; }
  .modal__stub { padding: 40px 24px; }
}


/* ---------- Наведение — только на устройствах с мышью (на телефоне не «залипает») ---------- */
@media (hover: hover) and (pointer: fine) {
  .gig:hover { background: rgba(255, 255, 255, .03); }
  .gig:hover::before { transform: scaleY(1); }
  .ptrack:hover { background: rgba(255,255,255,.08); }
  .ptrack:hover .ptrack__num, .ptrack:hover .eq { opacity: 0; }
  .ptrack:not(.is-playing):hover .ptrack__play { opacity: 1; }
  .ptrack.is-playing:hover .ptrack__pause { opacity: 1; color: var(--red-text); }
  .ptrack__full:hover { color: var(--text); background: rgba(255,255,255,.1); }
  .pill--play:hover { background: var(--red-hover); }
  .pill--soft:not(.is-on):hover { background: rgba(255,255,255,.2); }
  .listen:hover .listen__circle { background: var(--text); color: var(--bg); border-color: var(--text); }
  .player__btn:hover { background: rgba(255,255,255,.1); }
  .modal__ig:hover { background: var(--red); }
  .tee:hover { z-index: 10; }
  .tee:hover .tee__card { rotate: calc(var(--r) * -1); scale: 1.06; box-shadow: 0 40px 70px -14px rgba(0,0,0,.85); }
  .socials a:hover { color: var(--red-text); transform: translateX(8px); }
  .link-arrow:hover { color: var(--red-text); }
  .gig__addr:hover { color: var(--red-text); border-color: var(--red-text); }
  .project:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
  .hero__scroll:hover { color: var(--text); border-color: var(--text); }
  .snip:hover img, .snip:hover video { transform: scale(1.05); }
  .snip:hover .snip__play { background: var(--red); border-color: var(--red); }
}

/* ---------- Отклик на нажатие ---------- */
.socials a { transition-property: color, background-color, border-color, transform; }
.socials a:active { transform: scale(.97); transition-duration: 140ms; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes letterIn { from { opacity: 0; translate: 0 40%; } to { opacity: 1; translate: 0 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 50% { translate: -50% 6px; } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes glow { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@keyframes fadeDown { to { opacity: 0; transform: translateY(12px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
