/* Страница канала River: шапка с видео, что создаём, «хотите так же», конвейер шагами */
.top nav a[aria-current] { color: var(--bone); }
.k-hero { position: relative; isolation: isolate; min-height: min(78vh, 640px); display: grid; align-items: end; overflow: hidden; }
.k-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.k-img { background-size: cover; background-position: center; filter: blur(18px) saturate(1.1); transform: scale(1.15); opacity: .55; }
.k-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,6,9,.2) 0%, rgba(6,6,9,.55) 55%, var(--bg, #060609) 100%); }
.k-hero-in { padding: 120px 16px 48px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.k-hero h1 { font: 700 clamp(34px, 8vw, 88px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.k-hero p { max-width: 36em; color: #D5CFDD; font-size: clamp(16px, 2.2vw, 20px); margin: 0; }
.k-soc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
@media (max-width: 560px) { .k-soc { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; } .k-soc .btn { justify-content: center; } .k-soc .btn:only-child, .k-soc .btn:nth-child(odd):last-child { grid-column: 1 / -1; } }
.k-make ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.k-make li { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 20px; font-weight: 600; font-size: 17px; }
.k-make li::before { content: ""; display: block; width: 26px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 12px; }
.k-want { margin: 36px 0 8px; padding: 28px; border-radius: 22px; border: 1px solid rgba(224,22,58,.35);
  background: radial-gradient(600px 200px at 0% 0%, rgba(224,22,58,.18), transparent 70%), var(--panel);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.k-want p { margin: 0; font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; max-width: 34em; }
.k-steps { list-style: none; padding: 0; margin: 0 0 18px; position: relative; display: grid; gap: 14px; }
.k-steps::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), rgba(224,22,58,.08)); }
.k-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; opacity: .25; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.k-step.on { opacity: 1; transform: none; }
.k-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #120c16; border: 1px solid rgba(224,22,58,.5);
  font: 600 15px var(--data); color: var(--bone); box-shadow: 0 0 0 6px var(--bg, #060609); }
.k-step.on .k-n { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px var(--bg, #060609), 0 0 28px rgba(224,22,58,.6); }
.k-step h3 { margin: 6px 0 4px; font-size: 19px; }
.k-step p { margin: 0; color: var(--muted); }
.k-how { padding-bottom: 60px; scroll-margin-top: 80px; }
.k-shot { position: relative; margin: 14px 0 6px; max-width: 680px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px -28px rgba(224,22,58,.55); background: #07060C; }
.k-shot img, .k-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.k-shot video:not([src]) { display: none; }
.k-shot.v { aspect-ratio: 9 / 16; max-width: 300px; }
.k-shot.sq { aspect-ratio: 1; max-width: 360px; }
@media (prefers-reduced-motion: reduce) { .k-step { opacity: 1; transform: none; transition: none; } }

/* «Все проекты»: сразу справа от логотипа в шапке, на виду на любом экране */
.top .wrap { position: relative; }
.top .k-back { position: absolute; left: 16px; top: calc(100% + 12px); z-index: 25; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--bone, #EDE8DF); text-decoration: none; white-space: nowrap;
  background: rgba(224, 22, 58, .2); border: 1px solid rgba(255, 92, 118, .55); transition: background .2s, transform .2s; }
.top .k-back:hover { background: rgba(224, 22, 58, .38); transform: translateX(-2px); }
.top .k-back span { transition: transform .2s; }
.top .k-back:hover span { transform: translateX(-3px); }
