@font-face{
  font-family:'Unbounded';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url('../assets/fonts/unbounded-var.woff2') format('woff2');
}
/* ============================================================
   CJY INDUSTRIES — style.css
   Тёмная тема · акцент #ff3b3b · Unbounded
   ============================================================ */

:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --fg: #f2f2ef;
  --fg-dim: rgba(242, 242, 239, .55);
  --fg-faint: rgba(242, 242, 239, .28);
  --line: rgba(242, 242, 239, .14);
  --accent: #ff3b3b;
  --glass: rgba(255, 255, 255, .04);
  --glass-brd: rgba(255, 255, 255, .12);
  --f-head: "Unbounded", system-ui, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 4vw, 64px);
}

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

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.booting, html.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .04em; }

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

::selection { background: var(--accent); color: #050505; }

/* ---------- доступность ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: #050505;
  padding: 10px 18px; border-radius: 4px;
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* ============================================================
   ПРЕЛОАДЕР
   ============================================================ */
.boot {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--pad);
  transition: opacity .6s var(--ease), visibility .6s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.boot-top { display: flex; justify-content: space-between; color: var(--fg-dim); }

.boot-mid { align-self: flex-start; }
.boot-num {
  font-family: var(--f-head);
  font-size: clamp(64px, 14vw, 160px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
}
.boot-pct { font-size: .35em; color: var(--accent); margin-left: .1em; }
.boot-note { color: var(--fg-dim); margin-top: 8px; }

.boot-bar {
  height: 2px; width: 100%;
  background: var(--line);
  overflow: hidden;
}
.boot-bar i {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  transition: width .2s linear;
}

/* ============================================================
   GRAIN + КУРСОР
   ============================================================ */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .5;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-30px, 15px); }
  30% { transform: translate(25px, -25px); }
  50% { transform: translate(-15px, 30px); }
  70% { transform: translate(30px, -10px); }
  90% { transform: translate(-25px, -20px); }
}

.cursor { display: none; }
@media (pointer: fine) {
  html.cursor-on .cursor { display: block; }
  html.cursor-on, html.cursor-on a, html.cursor-on button { cursor: none; }
}
.cursor-ring, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 110; pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(242, 242, 239, .5);
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .25s var(--ease), background .25s var(--ease);
}
.cursor-dot { width: 4px; height: 4px; background: var(--accent); }
.cursor.is-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(255, 59, 59, .08);
}

/* ============================================================
   ХЕДЕР + МЕНЮ
   ============================================================ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  transition: transform .4s var(--ease), background .4s var(--ease),
              border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled {
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.hdr-nav { transition: opacity .3s var(--ease); }
.hdr.is-hidden .hdr-nav { opacity: 0; pointer-events: none; }

.hdr-logo {
  font-family: var(--f-head); font-weight: 700; font-size: 18px;
  letter-spacing: .02em;
}
.hdr-dot { color: var(--accent); }

.hdr-nav { display: flex; gap: 28px; margin-left: auto; }
.hdr-link { font-size: 13px; letter-spacing: .12em; color: var(--fg-dim); }
.hdr-link:hover { color: var(--fg); }

.hdr-tg {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px;
  font-size: 13px; letter-spacing: .12em; line-height: 1;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0 20px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.hdr-tg:hover { border-color: var(--accent); color: var(--accent); }

.burger {
  display: none;
  width: 40px; height: 40px;
  position: relative; z-index: 96;
}
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--fg);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mnav[hidden] { display: none !important; }

.mnav {
  position: fixed; inset: 0; z-index: 95;
  pointer-events: none;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  opacity: 0; transition: opacity .35s var(--ease);
}
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav-nav { display: flex; flex-direction: column; gap: 8px; }
.mnav-link {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(32px, 9vw, 56px);
  line-height: 1.25;
  color: var(--fg-dim);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease),
              color .3s;
  transition-delay: calc(var(--i) * 60ms);
}
.mnav.is-open .mnav-link { opacity: 1; transform: none; }
.mnav-link:hover, .mnav-link--tg { color: var(--fg); }
.mnav-link--tg:hover { color: var(--accent); }
.mnav-foot { margin-top: 48px; color: var(--fg-faint); }

@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .hdr-tg { margin-left: auto; }
}

@media (max-width: 860px) {
  .hdr { gap: 10px; padding: 14px var(--pad); }
  .hdr-nav { display: none; }
  .hdr-tg {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; height: 38px; padding: 0 14px;
    font-size: 12px; letter-spacing: .08em; line-height: 38px;
  }
  .burger { display: block; margin-left: 6px; flex-shrink: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(.9);
  transform: scale(1.06);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 0%, rgba(5, 5, 5, .55) 68%, rgba(5, 5, 5, .9) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, .5) 0%, transparent 22%, rgba(8, 8, 8, 0) 38%, rgba(8, 8, 8, .5) 58%, rgba(8, 8, 8, .85) 72%, rgba(8, 8, 8, .97) 86%, #050505 100%);
}

.hero-in {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; align-items: center;
  padding: 120px var(--pad) 40px;
}
.hero-glass {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 64px);
  max-width: 820px;
}

.hero-tag { color: var(--fg-dim); margin-bottom: 18px; }
.hero-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(34px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 16px;
  font-size: clamp(15px, 2vw, 20px);
  color: var(--fg-dim);
  letter-spacing: .02em;
}
.hero-cta { margin-top: 36px; }

.btn {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 14px; font-weight: 500;
  letter-spacing: .06em;
  background: var(--accent);
  color: #050505;
  border-radius: 999px;
  padding: 16px 34px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 59, 59, .35); }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

.hero-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  padding: 0 var(--pad) 22px;
  color: var(--fg-faint);
}
.hero-scroll { animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   СЕКЦИИ — общий каркас
   ============================================================ */
.sec { padding: clamp(90px, 14vw, 160px) 0 0; scroll-margin-top: 88px; }
.sec-kits { padding-bottom: clamp(60px, 8vw, 100px); }

.sec-head { margin-bottom: clamp(36px, 6vw, 72px); }
.sec-label { color: var(--accent); margin-bottom: 14px; }
.sec-title-line {
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.sec-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.sec-note { margin-top: 18px; color: var(--fg-dim); max-width: 560px; text-wrap: pretty; }

/* ============================================================
   BEATS
   ============================================================ */
.filter-rows {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.filter { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--f-head); font-size: 13px; font-weight: 500;
  letter-spacing: .08em;
  padding: 12px 22px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--fg-dim);
  transition: color .25s, border-color .25s, background .25s;
}
.filter-btn:hover { color: var(--fg); border-color: var(--fg-dim); }
.filter-btn:active { transform: scale(.97); }
.filter-btn.is-on {
  background: var(--accent); border-color: var(--accent); color: #050505;
}

.beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 980px) { .beats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .beats { grid-template-columns: 1fr; } }

.beat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease);
}
.beat:hover { border-color: rgba(255, 59, 59, .45); }
@media (hover: hover) and (pointer: fine) {
  .beat:hover { transform: translateY(-4px); }
  .svc-card:hover { transform: translateY(-4px); }
}
.beat:focus-within { border-color: rgba(255, 59, 59, .55); }

.beat-wave { position: relative; padding: 22px 22px 0; }
.beat-wave > svg { width: 100%; height: 96px; display: block; overflow: visible; }
.wave-base { stroke: var(--line); stroke-width: 1; fill: none; }
.wave-bars {
  stroke: var(--fg-dim); stroke-width: 3; fill: none;
  stroke-linecap: round;
  transition: stroke .3s;
}
.beat:hover .wave-bars { stroke: var(--fg); }

/* прогресс поверх волны */
.beat-wave-fill {
  position: absolute; top: 22px; left: 22px;
  width: calc(100% - 44px); height: 96px;
  pointer-events: none;
  clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0);
  transition: clip-path .08s linear;
}
.beat-wave-fill .wave-base { stroke: transparent; }
.beat-wave-fill .wave-bars { stroke: var(--accent); }

/* кнопка play/pause на дорожке */
.beat-play {
  position: absolute; top: 22px; left: 22px;
  width: calc(100% - 44px); height: 96px;
  display: grid; place-items: center;
  z-index: 2;
}
.beat-play-ico {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--glass-brd);
  background: rgba(5, 5, 5, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: .8;
  transition: opacity .25s, border-color .25s, transform .25s var(--ease);
}
.beat-play:hover .beat-play-ico { opacity: 1; transform: scale(1.06); border-color: var(--accent); }
.beat-play-ico::before {
  content: ''; position: absolute; left: 54%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 11px solid var(--fg);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.beat.is-playing .beat-play-ico::before {
  left: 42%;
  width: 4px; height: 15px;
  border: 0; background: var(--fg);
  border-radius: 1px;
}
.beat.is-playing .beat-play-ico::after {
  content: ''; position: absolute; left: 58%; top: 50%;
  width: 4px; height: 15px; border-radius: 1px;
  background: var(--fg);
  transform: translate(-50%, -50%);
}
.beat.is-playing .beat-wave-fill { opacity: 1; }
.beat.is-playing .beat-tag { border-color: var(--accent); color: var(--accent); }

.beat-body { padding: 18px 22px 22px; }
.beat-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.beat-name {
  font-family: var(--f-head);
  font-size: 19px; font-weight: 600;
  letter-spacing: .01em;
}
.beat-tag {
  color: var(--accent);
  border: 1px solid rgba(255, 59, 59, .35);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.beat-meta { color: var(--fg-faint); margin-top: 6px; }
.beat-links { display: flex; gap: 18px; margin-top: 10px; }
.beat-link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 4px; margin: 0 -4px;
}

.beats-note { color: var(--fg-faint); margin-top: 28px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 980px) { .svc { grid-template-columns: 1fr; } }

.svc-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .35s var(--ease);
}
.svc-card:hover { border-color: rgba(255, 59, 59, .45); }

.svc-num { color: var(--accent); }
.svc-name {
  font-family: var(--f-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin-top: 16px;
}
.svc-desc { color: var(--fg-dim); margin-top: 14px; flex: 1; text-wrap: pretty; }
.svc-price { color: var(--fg-faint); margin-top: 22px; }
.svc-btn { margin-top: 18px; align-self: flex-start; }

/* ============================================================
   PRICING
   ============================================================ */
.price {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 1100px) { .price { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .price { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
  transition: border-color .3s;
}
.price-card:hover { border-color: rgba(255, 59, 59, .45); }
.price-card--top { border-color: rgba(255, 59, 59, .35); }

.price-tier {
  font-family: var(--f-head);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
  letter-spacing: .01em;
}
.price-val {
  margin-top: 12px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: .02em;
  color: var(--fg);
}
.price-feats {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 7px;
  flex: 1;
}
.price-feats li {
  position: relative; padding-left: 14px;
  color: var(--fg-dim);
  font-size: 14px; line-height: 1.45;
}
.price-feats li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--fg-faint);
}
.price-feats li.is-free { color: var(--accent); }
.price-feats li.is-free::before { color: var(--accent); }
.price-btn { margin-top: 18px; align-self: flex-start; }

/* ============================================================
   KITS + MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  margin: clamp(48px, 8vw, 96px) 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--f-head);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--fg-faint);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.kits-cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  padding: clamp(32px, 5vw, 72px);
  text-align: center;
}
.kits-kicker { color: var(--accent); }
.kits-title {
  font-family: var(--f-head);
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 600;
  margin-top: 14px;
}
.kits-desc { color: var(--fg-dim); margin: 16px auto 30px; max-width: 480px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  margin-top: clamp(90px, 14vw, 160px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(64px, 9vw, 120px) 0 28px;
  scroll-margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-note { margin-top: 18px; color: var(--fg-dim); }
.foot-mail {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--f-head);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 500;
  color: var(--fg);
}

.foot-social { display: flex; flex-direction: column; }
.foot-soc {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease), color .3s;
}
.foot-soc:hover { padding-left: 16px; color: var(--accent); }
.foot-soc-name { font-family: var(--f-head); font-weight: 500; font-size: 16px; }
.foot-soc-h { color: var(--fg-faint); }
.foot-soc-arr { margin-left: auto; color: var(--fg-faint); transition: transform .3s var(--ease), color .3s; }
.foot-soc:hover .foot-soc-arr { transform: translate(4px, -4px); color: var(--accent); }

.foot-base {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(48px, 7vw, 88px);
  color: var(--fg-faint);
}

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ (только когда html.js)
   ============================================================ */
html.js [data-rv] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--k, 0) * 90ms);
}
html.js [data-rv].is-in { opacity: 1; transform: none; }

html.js [data-split] { overflow: hidden; }
html.js [data-split] .sp-w,
html.js [data-split] .sp-ch {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--si, 0) * 35ms);
}
html.js [data-split].is-in .sp-w,
html.js [data-split].is-in .sp-ch { transform: none; }
html.js [data-split] .sp-mask {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: .08em; margin-bottom: -.08em;
}

/* roll-ссылки */
.roll {
  display: inline-block; overflow: hidden; vertical-align: top;
  line-height: 1.3;
}
.roll span { display: block; transition: transform .35s var(--ease); }
.roll::after {
  content: attr(data-t2) / "";
  display: none;
}
.roll:hover span { transform: translateY(-110%); }
.roll span::after {
  content: attr(data-t);
  position: absolute; left: 0; top: 100%;
  color: var(--accent);
}
.roll { position: relative; }
.roll span { position: relative; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js [data-rv], html.js [data-split] .sp-w, html.js [data-split] .sp-ch {
    opacity: 1; transform: none;
  }
  .grain, .hero-scroll, .marquee-track { animation: none !important; }
}

@media (max-width: 860px) {
  .mnav { justify-content: flex-start; padding-top: 130px; }
}

/* ============================================================
   ПЛЕЕР
   ============================================================ */
.pl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(120%);
  transition: transform .45s var(--ease);
  pointer-events: none;
}
.pl.is-open { transform: none; pointer-events: auto; }
.pl-in {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: rgba(10, 10, 10, .92);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .7);
}
.pl-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .25s, color .25s, background .25s;
}
.pl-btn:hover { border-color: var(--accent); color: var(--accent); }
.pl-btn--play { background: var(--accent); border-color: var(--accent); color: #050505; }
.pl-btn--play:hover { background: #fff; border-color: #fff; color: #050505; }
.pl-btn--sm { width: 38px; height: 38px; }
.pl-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pl-ico {
  position: relative; width: 14px; height: 14px;
}
.pl-ico::before {
  content: ''; position: absolute; left: 3px; top: 0;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.pl.is-playing .pl-ico::before {
  border: 0; left: 1px; top: 0; width: 4px; height: 14px;
  background: currentColor; border-radius: 1px;
}
.pl.is-playing .pl-ico::after {
  content: ''; position: absolute; right: 1px; top: 0;
  width: 4px; height: 14px; background: currentColor; border-radius: 1px;
}

.pl-mid { flex: 1; min-width: 0; }
.pl-top { display: flex; align-items: baseline; gap: 10px; }
.pl-name {
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl-tag {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(255, 59, 59, .35);
  border-radius: 999px; padding: 1px 8px; flex-shrink: 0;
}
.pl-time { margin-left: auto; font-size: 11px; color: var(--fg-faint); flex-shrink: 0; }

.pl-bar {
  position: relative; height: 22px; margin-top: 2px;
  display: flex; align-items: center; cursor: pointer;
  touch-action: none;
}
.pl-bar::before {
  content: ''; position: absolute; left: 0; right: 0; height: 3px;
  background: rgba(255, 255, 255, .12); border-radius: 2px;
}
.pl-bar-fill {
  position: absolute; left: 0; height: 3px; width: 0;
  background: var(--accent); border-radius: 2px; pointer-events: none;
}
.pl-bar-knob {
  position: absolute; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%); pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.pl-bar:hover .pl-bar-knob, .pl-bar:focus-visible .pl-bar-knob { opacity: 1; }
.pl-bar:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.pl-err { color: var(--accent); font-size: 10px; margin-top: 2px; }
.pl-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pl-buy { font-size: 11px; letter-spacing: .06em; color: var(--fg-dim); white-space: nowrap; }
.pl-buy:hover { color: var(--accent); }
.pl-close { border-color: transparent; color: var(--fg-faint); }

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

@media (max-width: 620px) {
  .pl { padding: 0 8px calc(8px + env(safe-area-inset-bottom)); }
  .pl-in { gap: 10px; padding: 9px 10px; border-radius: 14px; }
  .pl-btn { width: 40px; height: 40px; }
  .pl-btn--sm { width: 36px; height: 36px; }
  .pl-name { font-size: 14px; }
  .pl-tag { display: none; }
  .pl-end { gap: 4px; }
  .pl-buy { display: none; }
  .pl-time { font-size: 10px; }
  body.has-player { padding-bottom: 92px; }
}


/* ---------- glass-photo: живой hero-фон ---------- */
.glass-photo{position:absolute;inset:0;pointer-events:none}
.glass-photo canvas{opacity:0;transition:opacity .9s ease}
.glass-photo.is-ready canvas{opacity:1}
@media (prefers-reduced-motion: reduce){.glass-photo{display:none}.hero-bg::before{content:"";position:absolute;inset:0;background:url("assets/bg-hero-full.jpg") center bottom/cover no-repeat}}
