/* Дизайн «Стробоскоп» (второй раунд, выбран Mr Grey 2026-11-02): чёрный, белый, красный,
   огромные буквы режутся по долям 140 BPM. Движение выключается кнопкой и системной настройкой. */
@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  src: url(/assets/fonts/roboto-flex-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  src: url(/assets/fonts/roboto-flex-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(/assets/fonts/sofia-xcond-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(/assets/fonts/sofia-xcond-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(/assets/fonts/martian-mono-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(/assets/fonts/martian-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Тёмная тема — основная: настоящий чёрный зал. Красный — единственный цветной всплеск,
   им отмечены только «Билеты» и сильная доля такта. */
:root {
  --bg: #000;
  --panel: #0b0b0b;
  --line: #222;
  --line-2: #3a3a3a;
  --text: #f2f2ef;
  --muted: #a6a6a2;
  --ghost: #2a2a2a;
  --hit: #c8001e;
  --hit-ink: #ff3141;
  --on-hit: #fff;
  --solid: #f2f2ef;
  --on-solid: #000;
  --focus: #fff;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --sans: "Roboto Flex", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: max(16px, env(safe-area-inset-left));
  --pad-r: max(16px, env(safe-area-inset-right));
  --beat: 428.571ms; /* 60 000 / 140 BPM */
  color-scheme: dark;
}
/* Светлая — вторичная: белый лист, те же правила. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f4f1;
    --panel: #eaeae6;
    --line: #d2d2cd;
    --line-2: #b4b4ae;
    --text: #0a0a0a;
    --muted: #4f4f4b;
    --ghost: #d9d9d4;
    --hit: #c0001c;
    --hit-ink: #b5001a;
    --on-hit: #fff;
    --solid: #0a0a0a;
    --on-solid: #f4f4f1;
    --focus: #000;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f4f1;
  --panel: #eaeae6;
  --line: #d2d2cd;
  --line-2: #b4b4ae;
  --text: #0a0a0a;
  --muted: #4f4f4b;
  --ghost: #d9d9d4;
  --hit: #c0001c;
  --hit-ink: #b5001a;
  --on-hit: #fff;
  --solid: #0a0a0a;
  --on-solid: #f4f4f1;
  --focus: #000;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--sans);
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--solid); color: var(--on-solid); padding: 12px 16px; font: 600 13px var(--mono); }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad-r); }
.mono { font-family: var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .06em; }
.label { font: 500 11px/1.4 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.demo {
  display: inline-block; vertical-align: middle;
  font: 500 10px/1 var(--mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: lowercase;
  color: var(--muted); border: 1px dashed var(--line-2); padding: 4px 6px 3px; white-space: nowrap;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: 700 13px/1.1 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; text-align: center;
  border: 2px solid var(--text); background: transparent; color: var(--text);
  cursor: pointer;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn--hit { background: var(--hit); border-color: var(--hit); color: var(--on-hit); }
.btn--hit:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--solid { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.btn--solid:hover { background: var(--hit); border-color: var(--hit); color: var(--on-hit); }
.btn small { font-weight: 500; opacity: .85; letter-spacing: .04em; }
.btn svg { width: 14px; height: 14px; flex: none; }

/* ---------- Шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.top-row { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.logo {
  font: 1000 22px/1 var(--display); letter-spacing: .01em;
  text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; min-height: 44px;
}
.bpm { display: inline-flex; align-items: center; gap: 8px; }
.bpm .label { color: var(--muted); }
.beat { display: inline-flex; gap: 3px; }
.beat i { width: 8px; height: 8px; border: 1px solid var(--line-2); }
.beat i:first-child { border-color: var(--hit-ink); }
.nav { display: flex; gap: 2px; }
.nav a, .tool {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px;
  font: 600 11px/1 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .07em;
  text-decoration: none; color: var(--text); background: none; border: 0; cursor: pointer;
}
.nav a:hover, .tool:hover { color: var(--hit-ink); }
.tool { border: 1px solid var(--line-2); gap: 8px; }
.tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.tool[disabled] { cursor: default; color: var(--muted); }
.tool--icon { width: 44px; padding: 0; }
.top .btn { min-height: 44px; padding: 0 16px; font-size: 11px; }
.top-tickets { display: none; }

/* ---------- Нарезка: буквы, которые режутся по долям ----------
   Две полосы-«дубля» лежат поверх основного текста с фоном страницы. В покое они совпадают
   с ним и скрыты, на долях такта появляются со сдвигом — буква «режется». Текст дублей
   берётся из data-text и скрыт от скринридера (content: … / ""). */
.cut { position: relative; display: inline-block; white-space: nowrap; }
.cut::before, .cut::after {
  content: attr(data-text) / "";
  position: absolute; top: 0; bottom: 0; left: -.25em; right: -.25em; padding-left: .25em;
  background: var(--bg); color: inherit; pointer-events: none; visibility: hidden;
}
.cut::before { clip-path: inset(0 0 63% 0); }
.cut::after { clip-path: inset(57% 0 0 0); }

/* ---------- Первый экран ---------- */
.hero { overflow-x: clip; padding: 18px 0 40px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.word {
  margin: 14px 0 0;
  font: 1000 calc((100vw - 32px) * .52)/.8 var(--display);
  text-transform: uppercase; letter-spacing: -.01em;
  display: flex; flex-direction: column; align-items: flex-start;
}
.word .cut { transform-origin: 50% 100%; }
.word .cut + .cut { margin-top: .04em; }
.word .cut:nth-child(2) { --k: -1; }
.hero-lead { margin: 22px 0 0; font: 500 18px/1.35 var(--sans); max-width: 34em; }
.hero-lead b { font-weight: 800; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.actions .btn--hit { grid-column: 1 / -1; min-height: 60px; font-size: 15px; }
.actions .btn { padding: 0 12px; }

/* Бегущая строка дат: декоративная, текст дублирует афишу. */
.ticker { margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: run calc(var(--beat) * 64) linear infinite; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-list li {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 22px 12px 0; white-space: nowrap;
  font: 900 30px/1 var(--display); text-transform: uppercase;
}
.ticker-list li::after { content: ""; width: 10px; height: 10px; background: var(--line-2); align-self: center; margin-left: 10px; }
.ticker-list li:first-child::after { background: var(--hit); }
.ticker-list .t-date { font-weight: 300; }
.ticker-list .demo { align-self: center; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Кадры ---------- */
.frame { overflow-x: clip; padding: 0 0 64px; }
.slate {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  border-top: 2px solid var(--text); padding: 12px 0 0; margin-top: 8px;
}
.slate .label:first-child { color: var(--text); }
.slate .beat i { width: 6px; height: 6px; }
.title {
  margin: 18px 0 26px;
  font: 1000 calc((100vw - 32px) / 4.6)/.84 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.title .cut { --k: .6; }
.title .ghost { color: var(--muted); }
.sub { font: 500 18px/1.4 var(--sans); margin: 0 0 22px; max-width: 32em; }

/* Ближайшая ночь */
.night { display: grid; gap: 22px; }
.night-date {
  font: 1000 calc((100vw - 32px) / 2.02)/.8 var(--display); letter-spacing: -.01em;
  display: block; margin: 0;
}
.night-date .cut { --k: -.5; }
.night-when { font: 800 22px/1.15 var(--display); margin: 0; text-transform: uppercase; }
.night-club { font: 1000 64px/.9 var(--display); margin: 6px 0 0; text-transform: uppercase; }
.night-club span { color: var(--muted); font-weight: 500; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 20px 0 0; }
.facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 10px/1.4 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 700 17px/1.25 var(--sans); }
.count { color: var(--hit-ink); }
.night-actions { display: grid; gap: 8px; margin-top: 22px; }
.night-actions .btn--hit { min-height: 60px; font-size: 15px; }

/* Афиша */
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.date-row {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: end;
  padding: 18px 0; border-bottom: 1px solid var(--line-2);
}
.d-num { grid-row: 1 / span 2; font: 1000 68px/.8 var(--display); }
.d-city {
  font: 1000 30px/.9 var(--display); text-transform: uppercase;
  transition: letter-spacing .2s ease-out;
}
.d-info { font: 500 11px/1.5 var(--mono); font-stretch: 87.5%; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.d-cta { grid-column: 1 / -1; margin-top: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.d-cta .btn { min-height: 48px; }
.d-soon { font: 600 11px/1 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.date-row:hover .d-city { letter-spacing: .05em; }
.date-row.is-next .d-num { color: var(--hit-ink); }

/* Подписка на город: сами города — крупные переключатели */
.cities { border: 0; margin: 0; padding: 0; min-width: 0; }
.cities legend { padding: 0; margin-bottom: 10px; }
.city-list { display: flex; flex-wrap: wrap; gap: 0 18px; }
.city { position: relative; }
.city input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.city span {
  display: inline-flex; align-items: center; min-height: 48px;
  font: 1000 40px/1 var(--display); text-transform: uppercase;
  color: var(--muted); font-weight: 300;
  transition: font-weight .2s ease-out;
}
.city input:checked + span { color: var(--text); font-weight: 1000; }
.city input:checked + span::after { content: ""; width: 12px; height: 12px; background: var(--hit); margin-left: 8px; align-self: flex-start; margin-top: 8px; }
.city input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.city:hover span { color: var(--text); }
.sub-form-row { display: grid; gap: 10px; margin-top: 22px; }
.note { font: 500 12px/1.5 var(--mono); font-stretch: 87.5%; color: var(--muted); margin: 10px 0 0; }

/* Последний сет */
.player { border: 1px solid var(--line-2); background: var(--panel); padding: 16px; }
.player-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.set-name { font: 1000 40px/.92 var(--display); text-transform: uppercase; margin: 16px 0 6px; }
.set-meta { font: 500 12px/1.5 var(--mono); font-stretch: 87.5%; color: var(--muted); margin: 0 0 16px; }
.wave { position: relative; height: 96px; margin: 0 0 12px; }
.wave svg { width: 100%; height: 100%; }
.wave .played { fill: var(--text); }
.wave .rest { fill: var(--line-2); }
.wave .head { position: absolute; top: -6px; bottom: -6px; left: 36%; width: 2px; background: var(--hit); }
.player-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.time { font: 700 14px/1 var(--mono); font-stretch: 87.5%; }
.time span { color: var(--muted); }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font: 600 12px/1 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .06em; }

/* О диджее */
.bio { font: 600 22px/1.3 var(--sans); margin: 0; max-width: 30em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; border-top: 1px solid var(--line-2); }
.stats div { padding: 14px 10px 0 0; }
.stats dd { margin: 0; font: 1000 44px/.9 var(--display); }
.stats dt { font: 500 10px/1.4 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.venues { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.venues li {
  font: 1000 calc((100vw - 32px) / 8.4)/.95 var(--display); text-transform: uppercase;
  padding: 8px 0 4px; border-bottom: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  transition: letter-spacing calc(var(--beat) / 3) ease-out;
}
.venues li small { font: 500 11px/1 var(--mono); font-stretch: 87.5%; letter-spacing: .06em; color: var(--muted); flex: none; }

/* Букинг */
.booking { display: grid; gap: 22px; }
.booking .booking-lead { font: 1000 44px/.92 var(--display); text-transform: uppercase; margin: 0; }
.booking-lead em { font-style: normal; }
.booking p { margin: 0; font: 500 18px/1.45 var(--sans); max-width: 32em; }
.booking-actions { display: grid; gap: 8px; }

/* Площадки */
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
  padding: 8px 0; border-bottom: 1px solid var(--line-2); text-decoration: none;
  font: 1000 36px/1 var(--display); text-transform: uppercase;
  transition: letter-spacing .2s ease-out;
}
.links a:hover { letter-spacing: .06em; color: var(--hit-ink); }
.links svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* Подвал */
.foot { border-top: 2px solid var(--text); padding: 20px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0 0 14px -12px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 600 11px/1 var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .07em; }
.foot p { margin: 0 0 8px; font: 500 11px/1.6 var(--mono); font-stretch: 87.5%; color: var(--muted); }
.foot .foot-word { font: 1000 calc((100vw - 32px) / 3.8)/.72 var(--display); color: var(--ghost); margin: 22px 0 0; text-transform: uppercase; user-select: none; }

/* ---------- Телефон: шапка в две строки ---------- */
@media (max-width: 759px) {
  .top-row--nav { min-height: 44px; margin: 0 -12px; }
  .top-row--nav .nav { width: 100%; justify-content: space-between; }
  .bpm .label { display: none; }
}

/* ---------- Планшет и десктоп ---------- */
@media (min-width: 760px) {
  :root { --pad: max(32px, env(safe-area-inset-left)); --pad-r: max(32px, env(safe-area-inset-right)); }
  html { scroll-padding-top: 72px; }
  .top-row { min-height: 64px; }
  .top-row, .top-row--nav { display: contents; }
  .top-inner { display: flex; align-items: center; gap: 10px; min-height: 64px; }
  .top-inner .logo { order: 1; margin-right: 18px; }
  .top-inner .nav { order: 2; margin-right: auto; }
  .top-inner .bpm { order: 3; margin-right: 8px; }
  .top-inner .top-tickets { order: 4; }
  .top-inner #motion { order: 5; }
  .top-inner #theme { order: 6; }
  .word { flex-direction: row; font-size: calc((100vw - 64px) / 3.82); margin-top: 18px; }
  .word .cut + .cut { margin-top: 0; }
  .hero-lead { font-size: 22px; }
  .hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-top: 28px; }
  .hero-bottom .hero-lead, .hero-bottom .actions { margin-top: 0; }
  .actions { grid-template-columns: auto auto auto; justify-content: start; }
  .actions .btn--hit { grid-column: auto; }
  .actions .btn { padding: 0 26px; }
  .ticker-list li { font-size: 44px; padding: 18px 30px 14px 0; }
  .title { font-size: 13vw; }
  .night { grid-template-columns: auto 1fr; align-items: end; gap: 40px; }
  .night-date { font-size: 27vw; }
  .night-actions { grid-template-columns: auto auto; justify-content: start; }
  .date-row { grid-template-columns: 230px minmax(0, 1fr) minmax(0, .9fr) auto; align-items: center; column-gap: 28px; padding: 22px 0; }
  .d-num { grid-row: auto; font-size: 96px; }
  .d-city { font-size: 54px; }
  .d-cta { grid-column: auto; margin-top: 0; justify-content: flex-end; }
  .city span { font-size: 64px; min-height: 64px; }
  .city-list { gap: 0 30px; }
  .sub-form-row { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .set-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  .player { padding: 24px; }
  .set-name { font-size: 64px; }
  .wave { height: 140px; }
  .bio { font-size: 32px; }
  .stats dd { font-size: 72px; }
  .venues li { font-size: 8.2vw; }
  .booking { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .booking .booking-lead { font-size: 80px; }
  .booking-actions { grid-template-columns: auto auto; justify-content: start; }
  .links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .links a { font-size: 52px; min-height: 84px; }
  .foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
  .foot .foot-word { font-size: calc((100vw - 64px) / 3.8); }
}
@media (min-width: 1100px) {
  .top-tickets { display: inline-flex; }
  .about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .venues { margin-top: 0; }
  .venues li { font-size: 6.4vw; }
  .about .title, .about .slate { grid-column: 1 / -1; }
}
@media (min-width: 1600px) {
  .word { font-size: 400px; }
  .title { font-size: 208px; }
  .night-date { font-size: 432px; }
  .venues li { font-size: 102px; }
  .foot .foot-word { font-size: 404px; }
}

/* ---------- Движение под 140 BPM ----------
   Часы долей ставят на <html> data-beat (0–3) и data-bar (0–3). Самое частое событие —
   доля, 2,33 раза в секунду: это ниже порога 3 вспышек в секунду. Полноэкранных смен
   яркости нет: сдвигаются полосы букв, вспыхивают только мелкие метки, слово «худеет»
   до тонкого начертания раз в четыре такта (≈0,15 Гц), с плавным переходом. */
html[data-motion="on"] .cut { transition: transform calc(var(--beat) * .35) cubic-bezier(.2, .9, .3, 1), font-weight calc(var(--beat) * .5) ease-out, letter-spacing calc(var(--beat) * .5) ease-out; }
html[data-beat="0"] .beat i:nth-child(1) { background: var(--hit); border-color: var(--hit); }
html[data-beat="1"] .beat i:nth-child(2),
html[data-beat="2"] .beat i:nth-child(3),
html[data-beat="3"] .beat i:nth-child(4) { background: var(--text); border-color: var(--text); }

html[data-beat="1"] .cut::before { visibility: visible; transform: translateX(calc(.045em * var(--k, 1))); }
html[data-beat="3"] .cut::after { visibility: visible; transform: translateX(calc(-.035em * var(--k, 1))); }
html[data-beat="0"] .word .cut { transform: scaleY(1.08); }
html[data-beat="2"] .word .cut:nth-child(2) { font-weight: 250; }
html[data-beat="2"] .night-date .cut { letter-spacing: -.035em; }
html[data-beat="0"][data-bar="1"] .word .cut::after { visibility: visible; color: var(--hit-ink); transform: translateX(.02em); }
html[data-beat="2"][data-bar="3"] .word .cut:nth-child(1) { font-weight: 200; }

/* Площадки в «О диджее»: на каждой доле тянется следующая */
html[data-beat="0"] .venues li:nth-child(1),
html[data-beat="1"] .venues li:nth-child(2),
html[data-beat="2"] .venues li:nth-child(3),
html[data-beat="3"] .venues li:nth-child(4) { letter-spacing: .03em; }
html[data-beat="0"] .venues li:nth-child(1) small,
html[data-beat="1"] .venues li:nth-child(2) small,
html[data-beat="2"] .venues li:nth-child(3) small,
html[data-beat="3"] .venues li:nth-child(4) small { color: var(--hit-ink); }
html[data-beat="0"] .wave .head, html[data-beat="2"] .wave .head { box-shadow: 0 0 0 2px var(--hit); }

/* Кадр входит в экран «нарезкой» за одну долю — один раз */
.cutin { animation: cutin calc(var(--beat) * 1) steps(4, end) both; }
@keyframes cutin {
  0% { clip-path: inset(0 100% 0 0); transform: translateX(-.04em); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}

/* Движение выключено кнопкой или системой: всё стоит, бегущая строка становится обычным списком. */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .ticker-track { width: auto; flex-wrap: wrap; padding: 0 var(--pad-r) 0 var(--pad); }
html[data-motion="off"] .ticker-list { flex-wrap: wrap; }
html[data-motion="off"] .ticker-list[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { width: auto; flex-wrap: wrap; padding: 0 var(--pad-r) 0 var(--pad); }
  .ticker-list { flex-wrap: wrap; }
  .ticker-list[aria-hidden="true"] { display: none; }
}
/* Стоп-кадр для скриншотов (?still): движение «включено», но время остановлено. */
html.still *, html.still *::before, html.still *::after { animation-play-state: paused !important; }

/* ---------- Внутренние страницы (нет в макете: собраны из тех же элементов) ---------- */
.page { padding: 18px 0 64px; overflow-x: clip; }
.crumbs { margin: 0; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.page .night { margin-top: 12px; }
.night-title { font: 1000 40px/.92 var(--display); text-transform: uppercase; margin: 6px 0 0; }
.cancelled { display: inline-block; margin: 12px 0 0; padding: 6px 10px; background: var(--hit); color: var(--on-hit); font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.lineup { font: 500 14px/1.5 var(--mono); font-stretch: 87.5%; color: var(--muted); margin: 18px 0 0; }
.prose { font: 500 18px/1.5 var(--sans); max-width: 34em; }
.prose p { margin: 0 0 14px; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.list a { font: 800 20px/1.2 var(--sans); text-decoration: none; }
.list a:hover { color: var(--hit-ink); }
.notice { border-left: 4px solid var(--hit); background: var(--panel); padding: 14px 16px; margin: 0 0 22px; font: 500 16px/1.45 var(--sans); max-width: 40em; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; }
.form input, .form textarea { font: 500 16px/1.4 var(--sans); color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: 0; padding: 12px; min-height: 52px; }
.form input:disabled, .form textarea:disabled { opacity: .6; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { background: transparent; color: var(--text); }
.empty { font: 800 22px/1.2 var(--display); text-transform: uppercase; color: var(--muted); margin: 0; padding: 18px 0; border-top: 1px solid var(--line-2); }
@media (min-width: 760px) {
  .night-title { font-size: 64px; }
}
