/* ==========================================================================
   Rework · GEN-Z promo (reworkapp.io/genz)
   Concept B — «Максимализм-хаос». Независимый визуальный слой:
   НЕ наследует rework-revolut токены основного сайта.
   Step 2 = верстка + стиль. Motion (genz.js) подключается Шагом 3.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* base */
  --ink:        #0B0B0F;   /* near-black, роднит со связкой продукта (#0A0A0D) */
  --ink-soft:   #16161c;
  --bone:       #FBF7EC;   /* тёплый офф-вайт, не чистый #fff */
  --bone-dim:   #E7E0CE;

  /* электрик-фиолет на чёрном+белом (не Ozon, не жёлтый).
     имена переменных исторические — важны значения. */
  --acid:       #8B3DFF;   /* электрик-фиолет — главный акцент (белый текст сверху) */
  --pink:       #5B2BD6;   /* глубокий фиолет — вторичный (белый текст) */
  --electric:   #3A1D9E;   /* тёмный фиолет — свечения/тени */
  --cyan:       #C9B8FF;   /* светлая лаванда — третичный (тёмный текст) */

  /* semantic */
  --bg:         var(--ink);
  --fg:         var(--bone);
  --accent:     var(--acid);

  /* type */
  --display: 'Unbounded', system-ui, sans-serif;
  --text:    'Manrope', system-ui, -apple-system, sans-serif;

  /* rhythm */
  --pad:       clamp(1.15rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 12vw, 10rem);
  --edge:      3px;                    /* толстый брутал-бордер */
  --radius:    18px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset-lite --------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: clamp(1rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }

/* ---- Utilities ---------------------------------------------------------- */
.wrap { width: min(100%, 1180px); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow {
  font-family: var(--text);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;              /* НИКОГДА h-screen — iOS Safari */
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(110,75,255,0.32), transparent 55%),
    radial-gradient(100% 70% at 0% 100%, rgba(255,46,126,0.24), transparent 55%),
    var(--ink);
  overflow: hidden;
}

/* top bar */
.hero__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  position: relative; z-index: 3;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--display); font-weight: 800; }
.brand__mark {
  display: block; width: 1.85rem; height: 1.85rem;
  color: #fff;                       /* фирменный знак: белый на чёрном, без жёлтого */
}
.brand__mark .rmark { display: block; width: 100%; height: 100%; }
.brand__name { font-size: 1.15rem; letter-spacing: -0.03em; color: #fff; }
.bar__cta {
  border: var(--edge) solid var(--bone);
  background: transparent; color: var(--bone);
  padding: 0.5rem 1rem; border-radius: 999px;
  font-weight: 800; font-size: 0.9rem;
  transition: transform .18s var(--ease-out), background .18s, color .18s;
}
.bar__cta:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); transform: translateY(-2px); }
@media (max-width: 560px) { .bar__cta { display: none; } }

/* hero core: kinetic type + phone demo */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
  padding: clamp(1rem, 4vw, 2rem) var(--pad) clamp(2rem, 6vw, 3rem);
  position: relative; z-index: 2;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero__copy { min-width: 0; }

.hero__headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.95rem, 6.2vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  overflow-wrap: break-word;
  hyphens: none;
}
.hero__headline .hl-strike { color: var(--bone-dim); position: relative; white-space: nowrap; }
.hero__headline .hl-strike::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 52%;
  height: 0.14em; background: var(--pink); transform: rotate(-3deg);
}
.hero__headline .hl-play {
  display: inline-block;
  background: var(--acid); color: var(--ink);
  padding: 0 0.28em; border-radius: 12px;
  transform: rotate(-2deg);
}
.hero__sub {
  font-size: clamp(1.05rem, 1rem + 0.7vw, 1.35rem);
  color: var(--bone-dim);
  max-width: 30ch;
  margin: 0 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn-big {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--acid); color: var(--ink);
  border: var(--edge) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 0.95rem 1.6rem; border-radius: 14px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.btn-big:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--ink); }
.btn-big:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost {
  font-weight: 800; color: var(--bone);
  border-bottom: var(--edge) solid var(--acid);
  padding-bottom: 2px;
}

/* phone mockup with real looping product video */
.hero__demo { justify-self: center; position: relative; }
.phone {
  position: relative;
  width: clamp(210px, 62vw, 288px);
  aspect-ratio: 9 / 19.2;
  background: #000;
  border: 8px solid #0f0f14;
  border-radius: 38px;
  box-shadow: 0 0 0 3px var(--acid), 22px 26px 0 rgba(110,75,255,0.5);
  overflow: hidden;
  transform: rotate(3deg);
}
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 20px; background: #0f0f14; border-radius: 999px; z-index: 2;
}
/* faux TikTok rail — реальное видео, поверх лёгкий продуктовый хром */
.phone__rail {
  position: absolute; right: 8px; bottom: 74px; z-index: 2;
  display: grid; gap: 14px; justify-items: center;
  color: #fff; font-weight: 800; font-size: 0.72rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.phone__rail i { display: grid; place-items: center; width: 34px; height: 34px; background: rgba(0,0,0,0.35); border-radius: 999px; font-style: normal; font-size: 1rem; }
.phone__cap {
  position: absolute; left: 12px; right: 54px; bottom: 16px; z-index: 2;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.phone__cap b { display: block; font-family: var(--display); font-size: 0.95rem; }
.phone__cap span { font-size: 0.78rem; opacity: 0.9; }

/* floating stickers (органичные числа, не круглые) */
.sticker {
  position: absolute; z-index: 3;
  font-family: var(--display); font-weight: 800;
  border: var(--edge) solid var(--ink);
  border-radius: 12px; padding: 0.4rem 0.7rem;
  font-size: 0.82rem; line-height: 1.05; text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.sticker b { display: block; font-size: 1.15rem; }
.sticker--likes { top: 8%;  left: -6%;  background: var(--pink); color: #fff; transform: rotate(-8deg); }
.sticker--fast  { bottom: 16%; left: -10%; background: var(--cyan); color: var(--ink); transform: rotate(6deg); }
.sticker--live  { top: 4%; right: -4%; background: var(--acid); color: var(--ink); transform: rotate(7deg); }

/* marquee strip at bottom of hero */
.hero__strip {
  position: relative; z-index: 2;
  border-top: var(--edge) solid var(--bone);
  border-bottom: var(--edge) solid var(--bone);
  background: var(--acid); color: var(--ink);
  overflow: hidden; white-space: nowrap;
}
.hero__strip .track {
  display: inline-flex; gap: 2.5rem;
  padding: 0.6rem 0;
  font-family: var(--display); font-weight: 800; letter-spacing: 0.02em;
  font-size: 0.95rem;
  will-change: transform;
}
.hero__strip .track span::after { content: '✦'; margin-left: 2.5rem; color: var(--ink); }

/* reduce motion honored globally (marquee/scroll come in Step 3) */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   SECTION shell + shared bits
   ========================================================================== */
.section { padding-block: var(--section-y); position: relative; }
.section--ink  { background: var(--ink);  color: var(--bone); }
.section--bone { background: var(--bone); color: var(--ink); }
.section--acid { background: var(--acid); color: var(--ink); }
.section__kicker {
  font-family: var(--text); font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 0.8rem; opacity: 0.75;
  margin: 0 0 0.9rem;
}
.section__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.6rem); line-height: 1.0;
  letter-spacing: -0.03em; margin: 0 0 1.6rem; text-wrap: balance;
}
.tag {
  display: inline-block; transform: rotate(-2deg);
  background: var(--electric); color: #fff;
  padding: 0 0.25em; border-radius: 8px;
}
.tag--pink { background: var(--pink); }
.tag--acid { background: var(--acid); color: var(--ink); }

/* ---- Section 2: было / стало ------------------------------------------- */
.vs { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 780px) { .vs { grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; } }
.vs__card {
  border: var(--edge) solid var(--ink); border-radius: var(--radius);
  padding: clamp(1.3rem, 4vw, 2rem);
  display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
  min-height: 240px; min-width: 0;
}
.vs__card--old {
  background: #d9d4c5; color: #4a473d;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.18);
  transform: rotate(-1deg);
}
.vs__card--new {
  background: var(--ink); color: var(--bone);
  box-shadow: 8px 8px 0 var(--electric);
  transform: rotate(1deg);
}
.vs__badge { font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.vs__card--old .vs__badge { color: #8a8578; }
.vs__big { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 4.2vw, 2.2rem); line-height: 1.02; letter-spacing: -0.02em; overflow-wrap: break-word; }
.vs__card--old .vs__big { text-decoration: line-through; text-decoration-thickness: 3px; opacity: 0.7; }
.vs__note { font-size: 0.98rem; opacity: 0.9; }
.vs__card--new .vs__pill {
  justify-self: start; background: var(--acid); color: var(--ink);
  font-weight: 800; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.9rem;
}

/* ---- Section 3: как это работает (3 шага, зигзаг) ----------------------- */
.steps { display: grid; gap: 1.1rem; margin-top: 2rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.step {
  border: var(--edge) solid var(--ink); border-radius: var(--radius);
  padding: clamp(1.3rem, 4vw, 1.9rem);
  background: var(--bone); color: var(--ink);
  display: grid; gap: 0.7rem; align-content: start; min-width: 0;
}
.step:nth-child(1) { background: var(--acid); box-shadow: 7px 7px 0 var(--ink); }
.step:nth-child(2) { background: var(--pink); color: #fff; box-shadow: 7px 7px 0 var(--ink); }
.step:nth-child(3) { background: var(--ink); color: var(--bone); border-color: var(--bone); box-shadow: 7px 7px 0 var(--electric); }
@media (min-width: 820px) {
  .step:nth-child(2) { transform: translateY(1.8rem); }
}
.step__n { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 3.4rem); line-height: 0.9; }
.step__h { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.step__p { font-size: 0.98rem; }
.step:nth-child(2) .step__p, .step:nth-child(3) .step__p { opacity: 0.95; }

/* ---- Section 4: живые вакансии (горизонтальный скролл) ------------------ */
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 1rem; margin-top: 2rem; padding-bottom: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
@media (min-width: 680px) { .reel { grid-auto-columns: 300px; } }
.jobcard {
  scroll-snap-align: start;
  position: relative; aspect-ratio: 9 / 15;
  border-radius: var(--radius); overflow: hidden;
  border: var(--edge) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  background: #111;
}
.jobcard__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jobcard__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.82)); }
.jobcard__like {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0,0,0,0.4); color: #fff; font-weight: 800; font-size: 0.8rem;
  padding: 0.3rem 0.6rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.jobcard__body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; }
.jobcard__role { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.jobcard__co { font-size: 0.9rem; opacity: 0.92; margin-top: 2px; }
.jobcard__meta { display: inline-block; margin-top: 8px; background: var(--acid); color: var(--ink); font-weight: 800; font-size: 0.82rem; padding: 0.25rem 0.6rem; border-radius: 8px; }
.reel__hint { margin-top: 0.8rem; font-weight: 700; font-size: 0.85rem; opacity: 0.6; }

/* ---- Section 5: для кого (bento, характерные карточки) ------------------ */
.who { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .who { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; } }
.who__card {
  border: var(--edge) solid var(--ink); border-radius: var(--radius);
  padding: 1.2rem; display: grid; gap: 0.5rem; align-content: space-between;
  min-height: 150px; min-width: 0; background: var(--bone); color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.who__emoji { font-size: 1.7rem; }
.who__h { font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.who__p { font-size: 0.9rem; opacity: 0.85; }
.who__card:nth-child(1) { background: var(--cyan); }
.who__card:nth-child(2) { background: var(--acid); }
.who__card:nth-child(4) { background: var(--pink); color: #fff; }
@media (min-width: 820px) {
  .who__card:nth-child(1) { grid-column: span 2; }
  .who__card:nth-child(4) { grid-column: span 2; }
}

/* ---- Section 6: CTA ----------------------------------------------------- */
.cta { text-align: center; }
.cta__title { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 9vw, 5rem); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 1.4rem; }
.cta__row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cta__note { margin-top: 1.1rem; font-weight: 700; opacity: 0.75; font-size: 0.92rem; }
.btn-invert {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--bone);
  border: var(--edge) solid var(--bone);
  box-shadow: 6px 6px 0 var(--electric);
  padding: 0.95rem 1.6rem; border-radius: 14px;
  font-family: var(--display); font-weight: 800;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s, color .16s;
}
.btn-invert:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--electric); background: var(--bone); color: var(--ink); }

/* ---- Footer ------------------------------------------------------------- */
.foot { background: var(--ink); color: var(--bone-dim); padding: 3rem var(--pad) 2.4rem; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-weight: 700; font-size: 0.9rem; }
.foot__links a:hover { color: var(--acid); }
.foot__copy { width: 100%; margin-top: 1.6rem; font-size: 0.82rem; opacity: 0.6; }

/* ==========================================================================
   MOTION (Step 3) — только transform/opacity; деградирует без JS и уважает
   prefers-reduced-motion (глобальный reduce-блок выше обнуляет анимации).
   ========================================================================== */

/* бегущая маркиза (CSS, работает и без GSAP) */
.hero__strip .track { animation: rw-marquee 20s linear infinite; }
.hero:hover .hero__strip .track { animation-play-state: paused; }
@keyframes rw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* idle-качание стикеров (лёгкое, GPU) */
.sticker--likes { animation: rw-float 5.5s ease-in-out infinite; }
.sticker--fast  { animation: rw-float 6.5s ease-in-out infinite 0.4s; }
.sticker--live  { animation: rw-float 5s   ease-in-out infinite 0.2s; }
@keyframes rw-float {
  0%,100% { transform: rotate(var(--rot,0deg)) translateY(0); }
  50%     { transform: rotate(var(--rot,0deg)) translateY(-7px); }
}
.sticker--likes { --rot: -8deg; }
.sticker--fast  { --rot: 6deg; }
.sticker--live  { --rot: 7deg; }

/* hover-lift карточек вакансий (desktop) */
@media (hover: hover) and (pointer: fine) {
  .jobcard { transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
  .jobcard:hover { transform: translateY(-6px); box-shadow: 9px 12px 0 var(--ink); }
  .who__card { transition: transform .18s var(--ease-out); }
  .who__card:hover { transform: translate(-2px,-3px); }
}

/* custom cursor-акцент (desktop). Позицию двигает transform на обёртке,
   рост — transform: scale на внутренней точке (без layout-анимации). */
@media (hover: hover) and (pointer: fine) {
  .rw-cursor {
    position: fixed; top: 0; left: 0; z-index: 90;
    pointer-events: none;
    transform: translate3d(-100px,-100px,0);
    will-change: transform;
  }
  .rw-cursor__d {
    position: absolute; left: 0; top: 0;
    width: 18px; height: 18px; margin: -9px 0 0 -9px;
    border-radius: 999px; background: var(--acid);
    mix-blend-mode: difference;
    transition: transform .18s var(--ease-out);
    will-change: transform;
  }
  .rw-cursor--big .rw-cursor__d { transform: scale(2.6); }
}

/* базовое состояние reveal ставит GSAP через gsap.from → без JS всё видно */

/* ==========================================================================
   FX (TikTok/Reels-вайб): цветомузыка, вспышка, глитч, бейджи сторов,
   тег-манифест. Всё на transform/opacity/filter, глушится reduce-блоком.
   Конфетти/салют рисует fx.js (canvas по требованию).
   ========================================================================== */

/* тег «как ТикТок» в hero */
.hero__tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--acid); color: var(--ink);
  border: var(--edge) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 0.82rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  transform: rotate(-2deg); margin-bottom: 1rem;
}
.hero__tag i { width: 8px; height: 8px; border-radius: 999px; background: var(--pink); animation: rw-blink 1.2s steps(1) infinite; }
@keyframes rw-blink { 0%,60%{opacity:1} 61%,100%{opacity:0.25} }

/* манифест-полоса «Как ТикТок. Только работа.» */
.manifesto {
  background: var(--ink); color: var(--bone);
  padding: clamp(2.6rem, 8vw, 5rem) var(--pad);
  text-align: center; position: relative; overflow: hidden;
}
.manifesto__big {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.9rem, 7vw, 4rem); line-height: 0.98;
  letter-spacing: -0.03em; margin: 0; text-wrap: balance;
}
.manifesto__big .m-hi { color: var(--acid); }
.manifesto__big .m-vi { color: var(--pink); }

/* глитч на слове (лёгкий, только desktop-hover и авто-раз в цикле) */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  clip-path: inset(0 0 0 0);
}
.glitch::before { color: var(--pink); animation: rw-glitch1 3.4s infinite steps(2); }
.glitch::after  { color: var(--cyan); animation: rw-glitch2 3.9s infinite steps(2); }
@keyframes rw-glitch1 { 0%,92%,100%{transform:translate(0);opacity:0} 93%{transform:translate(-3px,1px);opacity:.9} 96%{transform:translate(2px,-1px);opacity:.7} }
@keyframes rw-glitch2 { 0%,90%,100%{transform:translate(0);opacity:0} 91%{transform:translate(3px,-1px);opacity:.8} 95%{transform:translate(-2px,1px);opacity:.6} }

/* цветомузыка + вспышка в CTA-секции */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: -30%; z-index: 0;
  background: linear-gradient(115deg, var(--acid), var(--pink), var(--cyan), var(--electric), var(--acid));
  background-size: 320% 320%; opacity: 0.22; filter: blur(38px);
  animation: rw-party 11s ease-in-out infinite;
}
.cta > * { position: relative; z-index: 1; }
@keyframes rw-party {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* полноэкранная вспышка (fx.js дергает через .is-flash) */
.rw-flash {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background: radial-gradient(circle at 50% 60%, rgba(255,255,255,0.9), rgba(139,61,255,0.5) 45%, transparent 70%);
  opacity: 0; transition: opacity .12s ease-out;
}
.rw-flash.is-on { opacity: 0.85; }

/* конфетти-canvas fx.js */
.rw-confetti { position: fixed; inset: 0; z-index: 85; pointer-events: none; }

/* бейджи сторов */
.stores { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.4rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--bone); color: var(--ink);
  border: var(--edge) solid var(--ink); border-radius: 14px;
  padding: 0.6rem 1.05rem; box-shadow: 5px 5px 0 var(--acid);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.store-badge:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--acid); }
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge span { text-align: left; line-height: 1.05; }
.store-badge small { display: block; font-weight: 700; font-size: 0.62rem; letter-spacing: 0.03em; opacity: 0.7; text-transform: uppercase; }
.store-badge b { display: block; font-family: var(--display); font-weight: 800; font-size: 0.98rem; }

/* ==========================================================================
   NEON v2 — ярче, холоднее, больше шума и резких переключений.
   Идёт последним → переопределяет предыдущее где нужно. Всё глушится
   глобальным reduce-блоком (анимации) выше.
   ========================================================================== */

/* зерно/шум поверх всего (статичное, дёшево) */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* неон-свечения (brighter) */
.hero__headline { text-shadow: 0 0 26px rgba(255,30,122,0.35); }
.hero__headline .hl-play { box-shadow: 0 0 22px rgba(255,30,122,0.75); }
.manifesto__big .m-hi { text-shadow: 0 0 24px rgba(255,30,122,0.7); }
.manifesto__big .m-vi { text-shadow: 0 0 24px rgba(46,123,255,0.7); }
.brand__mark { filter: drop-shadow(0 0 9px rgba(255,255,255,0.28)); }
.phone { box-shadow: 0 0 0 3px var(--acid), 0 0 40px rgba(255,30,122,0.45), 22px 26px 0 rgba(46,123,255,0.5); }
.btn-big { box-shadow: 6px 6px 0 var(--ink), 0 0 26px rgba(255,30,122,0.55); }
.btn-big:hover { box-shadow: 9px 9px 0 var(--ink), 0 0 34px rgba(255,30,122,0.8); }
.section__title, .cta__title { text-shadow: 0 0 22px rgba(46,123,255,0.25); }

/* цветомузыка резче и быстрее + скачки */
.cta::before { animation-duration: 6s !important; opacity: 0.3 !important; filter: blur(30px) saturate(1.3); }
.hero__strip { animation: rw-stripswitch 2.4s steps(1) infinite; }
@keyframes rw-stripswitch {
  0%,100% { background: var(--acid); }
  50%     { background: var(--cyan); }
}

/* резкие цвето-переключения на тэге и «live» (TikTok-флэш) */
.hero__tag { animation: rw-switch 1.6s steps(1) infinite; }
@keyframes rw-switch {
  0%,49%  { background: var(--acid); color: var(--ink); }
  50%,100%{ background: var(--pink); color: #fff; }
}
.sticker--live { animation: rw-float 5s ease-in-out infinite 0.2s, rw-live 0.9s steps(1) infinite; }
@keyframes rw-live { 0%,60%{ background: var(--acid); } 61%,100%{ background: var(--cyan); } }

/* «для соискателей» плашка */
.seeker-line {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 800; font-size: 0.8rem;
  color: var(--acid); letter-spacing: 0.02em;
}
.seeker-line b { color: var(--cyan); }

/* вход для найма — скромный, внизу */
.hire {
  width: 100%; margin-top: 2rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(251,247,236,0.14);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: baseline;
  font-size: 0.9rem; color: var(--bone-dim);
}
.hire a {
  font-weight: 800; color: var(--acid);
  border-bottom: 2px solid var(--acid); padding-bottom: 1px;
}
.hire a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ==========================================================================
   HERO «огонёк» — живое свечение (CSS) + угольки (embers.js на canvas).
   Вдохновлено фоном academy.wogl.io, но реализация своя и лёгкая (без WebGL).
   ========================================================================== */
.hero::before {
  content: ''; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 38% at 22% 32%, rgba(255,30,122,0.50), transparent 60%),
    radial-gradient(44% 44% at 80% 18%, rgba(46,123,255,0.45), transparent 60%),
    radial-gradient(52% 52% at 62% 92%, rgba(27,59,255,0.40), transparent 62%);
  filter: blur(34px);
  animation: rw-fireglow 13s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes rw-fireglow {
  0%   { transform: translate3d(-2%, 1%, 0) scale(1);    opacity: 0.9; }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.12); opacity: 1;   }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.05); opacity: 0.85;}
}
.hero__embers {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

/* ==========================================================================
   PHONE — TikTok-свайп: вертикальная лента слайдов, авто-прокрутка (phone.js)
   ========================================================================== */
.phone__feed { position: absolute; inset: 0; z-index: 1; will-change: transform; }
.phone__slide { position: relative; width: 100%; height: 100%; overflow: hidden; }
.phone__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__slide .phone__cap { z-index: 2; }
.phone__slide::after {   /* затемнение снизу под подпись */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.75));
}
/* кастомные иконки рейла */
.phone__rail i svg { width: 18px; height: 18px; display: block; }
/* подсказка свайпа */
.phone__swipe {
  position: absolute; left: 50%; top: 44px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.45); color: #fff; backdrop-filter: blur(4px);
  font-weight: 800; font-size: 0.72rem; padding: 0.28rem 0.7rem; border-radius: 999px;
}
.phone__swipe b { display: inline-block; animation: rw-swipeup 1.4s ease-in-out infinite; }
@keyframes rw-swipeup { 0%,100%{ transform: translateY(2px); opacity: .6 } 50%{ transform: translateY(-3px); opacity: 1 } }

/* кастомные иконки в «для кого» */
.who__emoji { line-height: 0; }
.who__emoji svg { width: 2rem; height: 2rem; display: block; }

/* ==========================================================================
   VIOLET override — фиолет тёмный → белый текст на его плашках,
   свечения/градиенты/мигания в фиолет-гамме. Идёт последним (cascade wins).
   ========================================================================== */
/* белый текст на фиолетовых поверхностях */
.bar__cta:hover,
.hero__headline .hl-play,
.btn-big,
.sticker--live,
.section--acid,
.tag--acid,
.vs__card--new .vs__pill,
.step:nth-child(1),
.jobcard__meta,
.who__card:nth-child(2),
.hero__strip { color: #fff; }

/* свечения в фиолет (были магента/синий) */
.hero__headline { text-shadow: 0 0 26px rgba(139,61,255,0.4); }
.hero__headline .hl-play { box-shadow: 0 0 22px rgba(139,61,255,0.75); }
.manifesto__big .m-hi { color: var(--acid); text-shadow: 0 0 24px rgba(139,61,255,0.7); }
.manifesto__big .m-vi { color: var(--cyan); text-shadow: 0 0 22px rgba(201,184,255,0.6); }
.phone { box-shadow: 0 0 0 3px var(--acid), 0 0 40px rgba(139,61,255,0.45), 22px 26px 0 rgba(58,29,158,0.55); }
.btn-big { box-shadow: 6px 6px 0 var(--ink), 0 0 26px rgba(139,61,255,0.55); }
.btn-big:hover { box-shadow: 9px 9px 0 var(--ink), 0 0 34px rgba(139,61,255,0.85); }
.section__title, .cta__title { text-shadow: 0 0 22px rgba(139,61,255,0.28); }

/* фон hero и «огонёк» в фиолет */
.hero {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(139,61,255,0.34), transparent 55%),
    radial-gradient(100% 70% at 0% 100%, rgba(91,43,214,0.30), transparent 55%),
    var(--ink);
}
.hero::before {
  background:
    radial-gradient(38% 38% at 22% 32%, rgba(139,61,255,0.52), transparent 60%),
    radial-gradient(44% 44% at 80% 18%, rgba(120,80,255,0.42), transparent 60%),
    radial-gradient(52% 52% at 62% 92%, rgba(58,29,158,0.44), transparent 62%);
}

/* мигания в фиолет-безопасной гамме (оба кадра тёмные → белый текст) */
@keyframes rw-switch {
  0%,49%  { background: var(--acid); color: #fff; }
  50%,100%{ background: var(--pink); color: #fff; }
}
@keyframes rw-stripswitch {
  0%,100% { background: var(--acid); }
  50%     { background: var(--electric); }
}
@keyframes rw-live {
  0%,60%   { background: var(--acid); }
  61%,100% { background: var(--pink); }
}

/* embers в фиолет-гамме подхватятся из embers.js (COLORS обновлю там же) */

/* ==========================================================================
   STUDIO v2 — вау-набор (Apple/Snapchat/Netflix). Единый язык:
   пружина-физика · кино-свет · скролл-маски · один spark-салют.
   Всё transform/opacity/filter, под prefers-reduced-motion.
   ========================================================================== */

/* #1 свайп: вертикальный жест внутри телефона не крадёт скролл страницы */
.phone { touch-action: pan-x; cursor: grab; z-index: 1; }
.phone:active { cursor: grabbing; }
.phone__swipe.is-touched { opacity: 0; transition: opacity .3s; }

/* #2 свет из экрана телефона на сцену */
.phone__spill {
  position: absolute; inset: -18% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 55%, rgba(139,61,255,.55), rgba(91,43,214,.22) 45%, transparent 72%);
  filter: blur(40px); opacity: .6; will-change: opacity, transform;
  animation: rw-screenglow 8s ease-in-out infinite;
}
@keyframes rw-screenglow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .8; transform: scale(1.05); } }
.phone.is-pulse + .phone__spill { opacity: 1; transform: scale(1.14); transition: opacity .42s var(--ease-out), transform .42s var(--ease-out); }

/* #3 магнит + squash-нажатие на кнопках */
.btn-big, .btn-invert, .store-badge { will-change: transform; }
@keyframes rw-pop { 0% { transform: scale(.95); } 55% { transform: scale(1.03); } 100% { transform: scale(1); } }
.is-pop { animation: rw-pop .26s cubic-bezier(.2,1.2,.32,1); }

/* #5 фокус-ряд Netflix (активна только при JS через .is-live) */
.reel.is-live .jobcard {
  transition: transform .45s var(--ease-out), filter .45s var(--ease-out), box-shadow .45s var(--ease-out);
  filter: saturate(.6) brightness(.72); transform: scale(.93);
}
.reel.is-live .jobcard.is-focus {
  filter: none; transform: scale(1.05);
  box-shadow: 0 0 0 3px var(--acid), 0 18px 50px rgba(139,61,255,.45);
}

/* #6 double-tap лайк: большое сердце + bump счётчика */
.jobcard__pop, .phone__pop {
  position: absolute; left: 50%; top: 50%; z-index: 6; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; color: var(--acid);
  filter: drop-shadow(0 0 14px rgba(139,61,255,.8));
  animation: rw-heartpop .6s ease-out forwards;
}
.jobcard__pop svg, .phone__pop svg { width: 100%; height: 100%; }
@keyframes rw-heartpop {
  0% { opacity: 0; transform: scale(.4) rotate(-8deg); }
  30% { opacity: 1; transform: scale(1.15) rotate(5deg); }
  100% { opacity: 0; transform: scale(.95) translateY(-14px); }
}
.jobcard__like.bump { animation: rw-bump .22s ease; }
@keyframes rw-bump { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* #7 маска-вход H1: плашка play впечатывается (сам wipe делает GSAP) */
.hero__headline { will-change: clip-path, transform; }

/* #4 манифест по словам (базово приглушены, GSAP докрашивает по скроллу) */
.manifesto.is-live .manifesto__big .mw { display: inline-block; opacity: .22; will-change: opacity; }

/* #8 кино-виньетка (глобально, статична) + спот в hero за курсором */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 69; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0,0,0,.5));
  mix-blend-mode: multiply;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(340px at var(--mx,50%) var(--my,28%), rgba(139,61,255,.16), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.hero.is-lit::after { opacity: 1; }

/* ==========================================================================
   HOLO + 3D (тренд 2026) — курированный мультиколор как МАТЕРИАЛ (перелив
   фиолет→маджента→циан→электрик) поверх фиолет-базы + CSS-3D глубина.
   Спектр холодный (без зелёного/жёлтого) → premium-хром, не радуга.
   Идёт последним. Всё под prefers-reduced-motion.
   ========================================================================== */
:root { --holo: linear-gradient(115deg, #8B3DFF, #C93DFF, #3DCFFF, #3D6BFF, #8B3DFF); }
@keyframes rw-holo { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

/* голографик-текст «ТикТок» в манифесте (буквы переливаются) */
.manifesto__big .m-hi {
  background: var(--holo); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 26px rgba(139,61,255,.45);
  animation: rw-holo 6s linear infinite;
}
/* голографик-плашка play (ink-текст читаем на крупном) */
.hero__headline .hl-play {
  background: var(--holo); background-size: 300% 100%;
  color: #0B0B0F;
  box-shadow: 0 0 24px rgba(139,61,255,.6);
  animation: rw-holo 6.5s linear infinite;
}
/* голографик-подчерк у «работа» */
.manifesto__big .m-vi {
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(115deg, #3DCFFF, #3D6BFF, #8B3DFF, #3DCFFF);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  animation: rw-holo 7s linear infinite;
}

/* мультиколор-свет из экрана телефона */
.phone__spill {
  background:
    radial-gradient(60% 50% at 38% 45%, rgba(139,61,255,.55), transparent 60%),
    radial-gradient(52% 46% at 70% 58%, rgba(201,61,255,.42), transparent 60%),
    radial-gradient(46% 42% at 55% 78%, rgba(61,207,255,.36), transparent 62%);
}
/* мультиколор «огонёк» в hero */
.hero::before {
  background:
    radial-gradient(38% 38% at 20% 30%, rgba(139,61,255,.5), transparent 60%),
    radial-gradient(40% 40% at 82% 22%, rgba(201,61,255,.4), transparent 60%),
    radial-gradient(46% 46% at 60% 90%, rgba(61,207,255,.34), transparent 62%);
}
/* голографик-цветомузыка в CTA */
.cta::before {
  background: linear-gradient(115deg, #8B3DFF, #C93DFF, #3DCFFF, #3D6BFF, #8B3DFF) !important;
  background-size: 320% 320% !important;
}

/* экструд-3D у крупных заголовков (объём) */
.manifesto__big, .cta__title {
  text-shadow:
    1px 1px 0 #5B2BD6, 2px 2px 0 #4B24C0, 3px 3px 0 #3A1D9E,
    4px 5px 0 #2a156f, 6px 8px 16px rgba(0,0,0,.55);
}
/* у голо-слов свой шэдоу (не наследуют экструд, чтобы clip-text не рвался) */
.manifesto__big .m-hi { text-shadow: 0 0 26px rgba(139,61,255,.45); }
.manifesto__big .m-vi { text-shadow: 0 0 22px rgba(61,207,255,.4); }

/* CSS-3D сцена телефона (наклон к курсору из micro.js) */
.hero__demo { perspective: 1000px; }
.phone { transform-style: preserve-3d; will-change: transform; }

/* ==========================================================================
   ВЕРТИКАЛЬНАЯ ЛЕНТА-ТИКЕР слоганов (крутится снизу вверх как фид).
   Контент дублируется x2 → бесшовный луп. Только transform, GPU.
   ========================================================================== */
.slogans { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem); }
.slogans__kicker {
  text-align: center; font-family: var(--text); font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem;
  color: var(--cyan); opacity: .85; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
}
.slogans__mask {
  height: clamp(320px, 58vh, 540px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.slogans__track {
  display: flex; flex-direction: column; gap: clamp(1.1rem, 3vw, 2rem);
  animation: rw-vscroll 24s linear infinite; will-change: transform;
}
.slogans:hover .slogans__track { animation-play-state: paused; }
@keyframes rw-vscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.slogan {
  font-family: var(--display); font-weight: 800; text-align: center;
  font-size: clamp(1.55rem, 5vw, 2.9rem); line-height: 1.03; letter-spacing: -0.02em;
  color: var(--bone); text-wrap: balance; padding-inline: var(--pad);
}
.slogan .s-hl {
  background: var(--holo); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: rw-holo 6s linear infinite;
}
