/* OSNOVA case — cover */

:root {
  --osnova-bg: #8249e7;
  --osnova-bg-deep: #6730d7;
  --osnova-fg: #f5f5f2;
  --osnova-ink: #111111;
  --osnova-muted: rgb(245 245 242 / 72%);
}

html,
body.case-osnova-page {
  margin: 0;
  background: #0e0e0f;
  color: var(--osnova-fg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

body.case-osnova-page {
  overflow-x: hidden;
  overflow-y: auto;
}

body.case-osnova-page .noise {
  display: none;
}

body.case-osnova-page .site-header {
  z-index: 200;
  color: var(--osnova-fg);
  mix-blend-mode: normal;
}

body.case-osnova-page .site-header .wordmark,
body.case-osnova-page .desktop-nav a,
body.case-osnova-page .language-toggle {
  color: var(--osnova-fg);
}

body.case-osnova-page .header-contact {
  color: var(--osnova-bg-deep);
  background: var(--osnova-fg);
}

body.case-osnova-page .site-footer {
  color: var(--osnova-fg);
  background: #0e0e0f;
  border-top: 0;
}

body.case-osnova-page .footer-meta {
  border-top-color: rgb(245 245 242 / 14%);
  color: rgb(245 245 242 / 55%);
}

.osnova-cover {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #8f57ef 0%, var(--osnova-bg) 48%, var(--osnova-bg-deep) 100%);
  color: var(--osnova-fg);
}

.osnova-meta {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(88px, 10vh, 120px) clamp(28px, 5.7vw, 110px) 0;
  font-size: clamp(11px, 1.05vw, 18px);
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.osnova-cover.is-ready .osnova-meta {
  animation: osnova-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.osnova-meta-year {
  justify-self: end;
}

.osnova-shv {
  justify-self: center;
  font-size: 1.35em;
  font-weight: 750;
  letter-spacing: -0.06em;
  color: inherit;
  text-decoration: none;
}

.osnova-shv:hover {
  opacity: 0.82;
}

.osnova-shv sup {
  position: relative;
  top: -0.4em;
  margin-left: 0.13em;
  font-size: 0.35em;
  letter-spacing: 0;
}

.osnova-stage {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.osnova-rings {
  position: absolute;
  left: 50%;
  bottom: 0;
  top: auto;
  z-index: 0;
  width: min(220vw, 2600px);
  height: min(220vw, 2600px);
  margin-left: calc(min(220vw, 2600px) / -2);
  margin-top: 0;
  margin-bottom: calc(min(220vw, 2600px) / -2);
  transform: none;
  opacity: 0;
  pointer-events: none;
}

.osnova-rings span {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  transform: scale(var(--scale));
  animation: osnova-ring-breathe 6.5s ease-in-out infinite;
  animation-delay: var(--delay);
}

.osnova-rings span:nth-child(1) {
  --scale: 0.58;
  --delay: 0s;
  background: rgb(255 255 255 / 0.22);
}

.osnova-rings span:nth-child(2) {
  --scale: 0.78;
  --delay: 0.35s;
  background: rgb(255 255 255 / 0.13);
}

.osnova-rings span:nth-child(3) {
  --scale: 1;
  --delay: 0.7s;
  background: rgb(255 255 255 / 0.07);
}

.osnova-cover.is-ready .osnova-rings {
  animation: osnova-rings-fade 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.osnova-layer {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: 0;
}

.osnova-wordmark {
  left: 3%;
  top: clamp(16%, 18vh, 22%);
  width: 94%;
  z-index: 1;
}

.osnova-phone {
  filter: drop-shadow(18px 30px 34px rgb(0 0 0 / 30%));
  transform-origin: center bottom;
  transform: translate3d(0, 72vh, 0);
}

.osnova-phone-left {
  left: 22%;
  top: 40%;
  width: 22%;
  z-index: 2;
  --duration: 2.15s;
  --delay: 0.18s;
}

.osnova-phone-right {
  left: 56%;
  top: 40%;
  width: 22%;
  z-index: 2;
  --duration: 2.05s;
  --delay: 0.28s;
}

.osnova-phone-center {
  left: 39.5%;
  top: 36%;
  width: 21%;
  z-index: 4;
  filter: drop-shadow(20px 34px 36px rgb(0 0 0 / 34%));
  --duration: 1.9s;
  --delay: 0.48s;
}

.osnova-cover.is-ready .osnova-wordmark {
  animation: osnova-fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.osnova-cover.is-ready .osnova-phone {
  animation: osnova-phone-rise var(--duration) cubic-bezier(0.22, 1, 0.36, 1) var(--delay) both;
}

.osnova-cover.is-warming .osnova-phone {
  opacity: 0.001;
  transform: translate3d(0, 0, 0);
}

.osnova-back {
  position: absolute;
  z-index: 5;
  left: clamp(28px, 5.7vw, 110px);
  bottom: clamp(24px, 4vh, 48px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--osnova-muted);
  font-size: clamp(12px, 0.9vw, 15px);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
}

.osnova-cover.is-ready .osnova-back {
  animation: osnova-fade-up 0.7s ease 0.95s forwards;
}

.osnova-back:hover {
  color: var(--osnova-fg);
}

.osnova-scroll-cue {
  position: absolute;
  z-index: 5;
  right: clamp(28px, 5.7vw, 110px);
  bottom: clamp(24px, 4vh, 48px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--osnova-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
}

.osnova-cover.is-ready .osnova-scroll-cue {
  animation: osnova-fade-up 0.7s ease 1.1s forwards;
}

.osnova-scroll-cue i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(245 245 242 / 35%);
  border-radius: 50%;
  font-style: normal;
}

.osnova-scroll-cue:hover {
  color: var(--osnova-fg);
}

.osnova-story {
  --story-pad: clamp(20px, 5.7vw, 110px);
  background: #f2eff8;
  color: #111;
  overflow: hidden;
}

.osnova-section-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.osnova-section-marker span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.osnova-section-marker small {
  font: inherit;
}

.osnova-client {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 2.45fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 70px);
  min-height: 100svh;
  padding: clamp(110px, 12vw, 180px) var(--story-pad);
  align-items: start;
  background: #f2eff8;
}

.osnova-client-title > p {
  margin: 0 0 clamp(34px, 5vw, 78px);
  color: rgb(17 17 17 / 48%);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.osnova-client-title h2,
.osnova-about-head h2,
.osnova-tasks-head h2 {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 108px);
  font-weight: 480;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.osnova-client-title h2 em,
.osnova-about-head h2 em,
.osnova-tasks-head h2 em {
  color: var(--osnova-bg);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.osnova-client-copy {
  display: grid;
  gap: 24px;
  padding-top: clamp(88px, 12vw, 180px);
}

.osnova-client-copy p,
.osnova-about-head > p {
  margin: 0;
  color: rgb(17 17 17 / 66%);
  font-size: clamp(16px, 1.22vw, 21px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.osnova-client-orbit {
  position: absolute;
  right: var(--story-pad);
  bottom: clamp(56px, 7vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 7px;
  align-items: center;
}

.osnova-client-orbit span {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
}

.osnova-client-orbit i {
  position: absolute;
  right: -34px;
  width: 170px;
  height: 170px;
  border: 1px solid rgb(130 73 231 / 36%);
  border-radius: 50%;
}

.osnova-client-orbit i::before,
.osnova-client-orbit i::after {
  position: absolute;
  inset: 18px;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.osnova-client-orbit i::after {
  inset: 38px;
}

.osnova-about {
  padding: clamp(110px, 12vw, 190px) var(--story-pad) clamp(70px, 8vw, 130px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 4%, rgb(255 255 255 / 16%), transparent 26%),
    var(--osnova-bg);
}

.osnova-about-head {
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 2.25fr) minmax(250px, 0.85fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.osnova-about-head h2 {
  font-size: clamp(48px, 7vw, 116px);
}

.osnova-about-head h2 em {
  color: #d9c6ff;
}

.osnova-about-head > p {
  color: rgb(255 255 255 / 70%);
}

.osnova-about-visual {
  margin: 0 calc(var(--story-pad) * -1);
  overflow: hidden;
  background: #eeeef5;
}

.osnova-about-visual picture,
.osnova-about-visual img {
  display: block;
  width: 100%;
}

.osnova-about-visual img {
  height: auto;
  transform: scale(1.04);
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-about-visual.is-visible img {
  transform: scale(1);
}

.osnova-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(255 255 255 / 26%);
  margin-top: clamp(54px, 7vw, 100px);
}

.osnova-facts article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  min-height: 170px;
  padding: 30px 24px 16px 0;
  border-right: 1px solid rgb(255 255 255 / 26%);
}

.osnova-facts article + article {
  padding-left: 28px;
}

.osnova-facts article:last-child {
  border-right: 0;
}

.osnova-facts strong {
  font-size: clamp(54px, 6.2vw, 100px);
  font-weight: 480;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.osnova-facts span {
  color: rgb(255 255 255 / 64%);
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
}

.osnova-tasks {
  padding: clamp(110px, 12vw, 190px) var(--story-pad);
  background: #f2eff8;
}

.osnova-tasks-head {
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 3.1fr);
  gap: clamp(24px, 4vw, 70px);
  margin-bottom: clamp(70px, 9vw, 140px);
}

.osnova-tasks-head h2 {
  max-width: 14ch;
}

.osnova-task-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.65fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}

.osnova-task-list {
  border-top: 1px solid rgb(17 17 17 / 28%);
}

.osnova-task-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgb(17 17 17 / 22%);
  transition: padding 0.35s ease, color 0.35s ease;
}

.osnova-task-list article:hover {
  padding-left: 12px;
  color: var(--osnova-bg);
}

.osnova-task-list span {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--osnova-bg);
  font-size: 11px;
}

.osnova-task-list h3 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 31px);
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.osnova-task-list p {
  max-width: 48ch;
  margin: 0;
  color: rgb(17 17 17 / 55%);
  font-size: 13px;
  line-height: 1.45;
}

.osnova-task-gallery {
  position: relative;
  min-height: min(61vw, 900px);
}

.osnova-task-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(20px, 2vw, 34px);
  box-shadow: 0 28px 70px rgb(39 15 83 / 16%);
}

.osnova-task-shot picture,
.osnova-task-shot img {
  display: block;
  width: 100%;
  height: 100%;
}

.osnova-task-shot img {
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-task-shot.is-visible img {
  transform: scale(1);
}

.osnova-task-shot--main {
  z-index: 1;
  top: 0;
  left: 0;
  width: 88%;
  aspect-ratio: 16 / 9;
}

.osnova-task-shot--side {
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 62%;
  aspect-ratio: 16 / 10;
  border: 10px solid #f2eff8;
}

[data-osnova-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-osnova-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.osnova-task-list article:nth-child(2) { transition-delay: 0.08s; }
.osnova-task-list article:nth-child(3) { transition-delay: 0.16s; }
.osnova-task-list article:nth-child(4) { transition-delay: 0.24s; }

.osnova-briefs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(80px, 10vw, 150px) var(--story-pad);
  background: #f2eff8;
}

.osnova-brief {
  --brief-color: #7543d4;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 58px;
  min-height: clamp(360px, 38vw, 540px);
  padding: clamp(28px, 3vw, 46px);
  padding-right: 18px;
  color: var(--brief-color);
  border: 1px solid color-mix(in srgb, var(--brief-color) 62%, transparent);
  border-radius: clamp(24px, 2.6vw, 42px);
  overflow: hidden;
  transition:
    color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-brief--project {
  --brief-color: #9b60df;
}

.osnova-brief::before {
  position: absolute;
  right: -12%;
  bottom: -45%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.16;
  transform: scale(0.75);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.osnova-brief:hover {
  color: #fff;
  background: var(--brief-color);
  transform: translateY(-6px);
}

.osnova-brief:hover::before {
  transform: scale(1.25);
}

.osnova-brief-num {
  position: absolute;
  top: 28px;
  right: 86px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.osnova-brief-copy {
  display: grid;
  gap: 22px;
  max-width: 34ch;
  align-content: end;
  padding: 60px clamp(14px, 2vw, 34px) 10px 0;
}

.osnova-brief-copy p {
  margin: 0;
  font-size: clamp(18px, 1.65vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.osnova-brief-copy p + p {
  font-size: clamp(14px, 1.05vw, 18px);
  opacity: 0.72;
}

.osnova-brief-label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.osnova-brief-label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.osnova-production {
  padding: clamp(90px, 11vw, 170px) var(--story-pad);
  color: #111;
  background: #ded1f9;
}

.osnova-production-head,
.osnova-journey-head {
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 3.1fr);
  gap: clamp(24px, 4vw, 70px);
  margin-bottom: clamp(60px, 8vw, 120px);
}

.osnova-production-head h2,
.osnova-journey-head h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 480;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.osnova-production-head em,
.osnova-journey-head em {
  color: var(--osnova-bg);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.osnova-production-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgb(17 17 17 / 30%);
  border-bottom: 1px solid rgb(17 17 17 / 30%);
}

.osnova-production-grid article {
  position: relative;
  display: flex;
  min-height: clamp(300px, 31vw, 460px);
  padding: 22px 18px;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgb(17 17 17 / 24%);
  overflow: hidden;
  transition: color 0.4s ease, background 0.4s ease;
}

.osnova-production-grid article:last-child {
  border-right: 0;
}

.osnova-production-grid article::before {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: var(--osnova-bg);
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.osnova-production-grid article:hover {
  color: #fff;
}

.osnova-production-grid article:hover::before {
  height: 100%;
}

.osnova-production-grid span,
.osnova-production-grid p,
.osnova-production-grid i {
  position: relative;
  z-index: 1;
}

.osnova-production-grid span {
  font-size: 12px;
}

.osnova-production-grid p {
  margin: auto 0 20px;
  font-size: clamp(15px, 1.2vw, 21px);
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.osnova-production-grid i {
  font-style: normal;
  font-size: 18px;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.osnova-production-grid article:hover i {
  opacity: 1;
  transform: translate(0, 0);
}

.osnova-journey {
  padding: clamp(100px, 12vw, 190px) 0 0;
  color: #111;
  background: #f2eff8;
}

.osnova-journey-head {
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 2.2fr) minmax(250px, 0.9fr);
  padding: 0 var(--story-pad);
  align-items: end;
}

.osnova-journey-head > p {
  margin: 0;
  color: rgb(17 17 17 / 58%);
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.osnova-journey-list {
  counter-reset: journey;
}

.osnova-journey-step {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: clamp(680px, 64vw, 900px);
  border-top: 1px solid rgb(17 17 17 / 18%);
}

.osnova-journey-step.is-reverse {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
}

.osnova-journey-step.is-reverse .osnova-journey-copy {
  grid-column: 2;
}

.osnova-journey-step.is-reverse figure {
  grid-column: 1;
  grid-row: 1;
}

.osnova-journey-copy {
  display: flex;
  padding: clamp(40px, 5vw, 82px) var(--story-pad);
  flex-direction: column;
  justify-content: space-between;
}

.osnova-journey-copy > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--osnova-bg);
  border: 1px solid var(--osnova-bg);
  border-radius: 50%;
  font-size: 11px;
}

.osnova-journey-copy h3 {
  max-width: 9ch;
  margin: auto 0 28px;
  font-size: clamp(40px, 5vw, 82px);
  font-weight: 480;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.osnova-journey-copy p {
  max-width: 40ch;
  margin: 0;
  color: rgb(17 17 17 / 58%);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.45;
}

.osnova-journey-step figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #e7e3ef;
}

.osnova-journey-step:not(.osnova-journey-step--onboard):not(.osnova-journey-step--miniapp):not(.osnova-journey-step--feature) picture,
.osnova-journey-step:not(.osnova-journey-step--onboard):not(.osnova-journey-step--miniapp):not(.osnova-journey-step--feature) img {
  display: block;
  width: 100%;
  height: 100%;
}

.osnova-journey-step:not(.osnova-journey-step--onboard):not(.osnova-journey-step--miniapp):not(.osnova-journey-step--feature) img {
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-journey-step:not(.osnova-journey-step--onboard):not(.osnova-journey-step--miniapp):not(.osnova-journey-step--feature) figure.is-visible img {
  transform: scale(1);
}

.osnova-journey-step--onboard {
  min-height: clamp(680px, 64vw, 900px);
}

.osnova-onboard-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #f1f1f7;
  isolation: isolate;
}

.osnova-onboard-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.osnova-onboard-stage.is-visible .osnova-onboard-particles {
  opacity: 1;
}

.osnova-onboard-artboard {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.osnova-onboard-layer {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform-origin: center bottom;
  transition:
    opacity var(--duration, 1.2s) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--duration, 1.2s) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.osnova-onboard-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 18px, 0);
}

.osnova-onboard-phone {
  top: 12%;
  width: 32%;
  z-index: 2;
  filter: drop-shadow(18px 28px 30px rgb(0 0 0 / 28%));
  transform: translate3d(0, 72%, 0) scale(0.965);
}

.osnova-onboard-phone--left {
  left: 16%;
}

.osnova-onboard-phone--right {
  left: 52%;
}

.osnova-onboard-stage.is-visible .osnova-onboard-bg,
.osnova-onboard-stage.is-visible .osnova-onboard-phone {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0s);
}

.osnova-journey-step--miniapp {
  display: block;
  min-height: 0;
  border-top: 1px solid rgb(17 17 17 / 18%);
  background: #eeeaf6;
}

.osnova-miniapp-scene {
  --phone-w: clamp(146px, 11.8vw, 188px);
  --phone-gap: clamp(20px, 1.9vw, 34px);
  position: relative;
  width: 100%;
  height: min(72vw, 960px);
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #eeeaf6;
}

.osnova-miniapp-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.osnova-miniapp-scene.is-visible .osnova-miniapp-particles {
  opacity: 0.78;
}

.osnova-miniapp-copy {
  position: absolute;
  z-index: 3;
  top: clamp(72px, 6.2vw, 108px);
  left: 65%;
  width: min(440px, 30%);
  color: #111;
  text-align: left;
}

.osnova-miniapp-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.4vw, 24px);
  margin-bottom: 22px;
}

.osnova-miniapp-head > span {
  flex: 0 0 auto;
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: 4px;
  place-items: center;
  color: var(--osnova-bg);
  border: 1px solid var(--osnova-bg);
  border-radius: 50%;
  font-size: 11px;
}

.osnova-miniapp-head h3 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 520;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.osnova-miniapp-copy p {
  max-width: 31ch;
  margin: 0 0 0 clamp(60px, 4.7vw, 68px);
  color: rgb(17 17 17 / 62%);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.5;
}

.osnova-miniapp-rail {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 3%,
    #000 97%,
    transparent 100%
  );
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-miniapp-scene.is-visible .osnova-miniapp-rail {
  opacity: 1;
  transform: none;
}

.osnova-miniapp-track {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: var(--phone-gap);
  width: max-content;
  height: 100%;
  padding: clamp(260px, 19vw, 330px) var(--phone-gap) clamp(42px, 4vw, 62px);
  box-sizing: border-box;
  will-change: transform;
}

.osnova-miniapp-slot {
  flex: 0 0 auto;
  width: var(--phone-w);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(10px 18px 22px rgb(0 0 0 / 14%));
  will-change: transform, filter;
  z-index: 1;
}

.osnova-miniapp-slot.is-up {
  z-index: 5;
  filter: drop-shadow(16px 28px 30px rgb(0 0 0 / 24%));
}

.osnova-miniapp-slot img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.osnova-journey-step--feature {
  grid-template-columns: 34% 66%;
  height: clamp(680px, 64vw, 900px);
  min-height: 0;
}

.osnova-feature-scene {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}

.osnova-feature-particles,
.osnova-feature-artboard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.osnova-feature-particles {
  z-index: 0;
  pointer-events: none;
}

.osnova-feature-artboard {
  z-index: 1;
  pointer-events: none;
}

.osnova-journey-step .osnova-feed-scene {
  background: #fff;
}

.osnova-feed-photo,
.osnova-feed-phone,
.osnova-chats-phone,
.osnova-chats-stack img {
  position: absolute;
  display: block;
  max-width: none;
  opacity: 0;
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.osnova-feed-photo {
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(-12vw, 0, 0);
}

.osnova-feed-phone {
  z-index: 2;
  top: 13%;
  left: 62.8%;
  width: 25%;
  height: auto;
  filter: drop-shadow(18px 30px 34px rgb(0 0 0 / 24%));
  transform: translate3d(12vw, 0, 0) scale(0.98);
}

.osnova-feature-scene.is-visible .osnova-feed-photo,
.osnova-editorial-scene.is-visible .osnova-feed-photo {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.osnova-feature-scene.is-visible .osnova-feed-phone,
.osnova-editorial-scene.is-visible .osnova-feed-phone {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.osnova-journey-step .osnova-chats-scene {
  background: radial-gradient(149.17% 149.17% at 50% 0%, #985df4 0%, #5721cd 100%);
}

.osnova-chats-stack {
  position: absolute;
  z-index: 2;
  top: 23%;
  left: 49%;
  display: flex;
  width: 44%;
  flex-direction: column;
  align-items: center;
}

.osnova-chats-stack img {
  position: relative;
  flex: 0 0 auto;
  height: auto;
  transform-origin: center;
  opacity: 0.35;
  transform: translate3d(0, var(--stack-y, 0), 0) scale(var(--stack-scale, 0.92));
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.osnova-chats-stack .is-sm {
  z-index: 2;
  width: 66.112%;
}

.osnova-chats-stack .is-md {
  z-index: 3;
  width: 83.162%;
}

.osnova-chats-stack .is-lg {
  z-index: 6;
  width: 100%;
}

.osnova-chats-stack .is-sm + .is-md {
  margin-top: -2.918%;
}

.osnova-chats-stack .is-md + .is-lg {
  margin-top: -3.671%;
}

.osnova-chats-stack .is-lg + .is-md {
  margin-top: -4.414%;
}

.osnova-chats-stack .is-md + .is-sm {
  margin-top: -3.671%;
}

.osnova-feature-scene.is-visible .osnova-chats-stack img,
.osnova-editorial-scene.is-visible .osnova-chats-stack img {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0s);
}

.osnova-editorial {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgb(17 17 17 / 18%);
  background: #f5f3fa;
}

.osnova-editorial-head {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(18px, 1.8vw, 28px) clamp(24px, 3vw, 58px);
  align-items: start;
  min-height: 0;
  padding: clamp(48px, 5.5vw, 96px) var(--story-pad) clamp(36px, 4vw, 64px);
}

.osnova-editorial-head > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: 10px;
  place-items: center;
  color: var(--osnova-bg);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.osnova-editorial-head h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(58px, 7.4vw, 116px);
  font-weight: 480;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.osnova-editorial-head p {
  grid-column: 2;
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgb(17 17 17 / 58%);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.45;
}

.osnova-editorial-scene {
  position: relative;
  min-width: 0;
  height: clamp(620px, 55vw, 860px);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}

.osnova-editorial .osnova-feature-particles {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.osnova-editorial-scene.is-visible .osnova-feature-particles {
  opacity: 1;
}

.osnova-editorial .osnova-feed-scene {
  background: #eeebf6;
}

.osnova-editorial .osnova-feed-photo {
  width: 55%;
}

.osnova-feed-phone-panel {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.osnova-editorial .osnova-feed-phone {
  top: 9%;
  left: 69%;
  width: 21%;
}

.osnova-editorial-scene.is-visible .osnova-feed-photo {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.osnova-editorial-scene.is-visible .osnova-feed-phone {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.osnova-editorial--chats {
  height: clamp(760px, 67vw, 1020px);
  color: #fff;
  background: radial-gradient(120% 130% at 70% 0%, #9c62f6 0%, #5721cd 100%);
}

.osnova-editorial--chats .osnova-editorial-head {
  position: absolute;
  inset: 0;
  grid-template-columns: 64px minmax(0, 0.75fr) minmax(250px, 0.36fr);
  height: 100%;
  min-height: 0;
  pointer-events: none;
}

.osnova-editorial--chats .osnova-editorial-head h3 {
  max-width: 6ch;
  align-self: center;
  font-size: clamp(66px, 8.5vw, 132px);
}

.osnova-editorial--chats .osnova-editorial-head p {
  grid-column: 2;
  align-self: end;
  justify-self: start;
  max-width: 31ch;
  margin-bottom: 0;
  color: rgb(255 255 255 / 72%);
}

.osnova-editorial--chats .osnova-editorial-scene {
  position: absolute;
  inset: 0;
  height: 100%;
  background: transparent;
}

.osnova-editorial--chats .osnova-chats-stack {
  top: 27%;
  left: 61%;
  width: 31%;
}

.osnova-editorial-scene.is-visible .osnova-chats-stack img {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0s);
}

.osnova-editorial--community {
  background: #fff;
}

.osnova-editorial--community .osnova-editorial-head h3 {
  max-width: 8ch;
}

.osnova-screen-scene {
  background: #ece8f5;
}

.osnova-screen-group {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.osnova-screen-group img {
  position: absolute;
  display: block;
  width: 22%;
  height: auto;
  max-width: none;
  opacity: 0;
  filter: drop-shadow(18px 30px 34px rgb(24 10 50 / 20%));
  transform: translate3d(0, 55%, 0) rotate(var(--r, 0deg)) scale(0.96);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.osnova-editorial-scene.is-visible .osnova-screen-group img {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)) scale(1);
  transition-delay: calc(var(--i, 0) * 0.14s);
}

.osnova-editorial--community .osnova-screen-group {
  pointer-events: auto;
}

.osnova-editorial--community .osnova-screen-group img {
  width: 22%;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-editorial--community .osnova-screen-group.is-swapping img {
  transition-delay: 0s;
}

.osnova-editorial--community .osnova-screen-group img.is-side-left {
  --r: -6deg;
  top: 17%;
  left: 19%;
  z-index: 1;
}

.osnova-editorial--community .osnova-screen-group img.is-main {
  --r: 0deg;
  top: 5%;
  left: 38%;
  width: 24%;
  z-index: 3;
  filter: drop-shadow(22px 36px 40px rgb(24 10 50 / 28%));
}

.osnova-editorial--community .osnova-screen-group img.is-side-right {
  --r: 6deg;
  top: 17%;
  left: 59%;
  z-index: 1;
}

.osnova-editorial--community .osnova-editorial-scene.is-visible .osnova-screen-group img.is-main {
  transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)) scale(1.04);
}

.osnova-editorial--profile {
  background: #fff;
}

.osnova-editorial--profile .osnova-editorial-head h3 {
  max-width: 8ch;
}

.osnova-task-scene,
.osnova-editorial-scene.osnova-task-scene {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: #8249e7;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.osnova-task-scene.is-visible {
  opacity: 1;
  transform: none;
}

.osnova-task-artboard {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.osnova-task-left {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 34.0625%;
  height: 100%;
  background: linear-gradient(180deg, #fff 0%, #ebddff 100%);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--duration, 1s) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--duration, 1s) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.osnova-task-layer {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform-origin: center bottom;
  will-change: transform, opacity;
  transition:
    opacity var(--duration, 1.2s) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--duration, 1.2s) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

.osnova-task-layer.is-fill {
  height: 100%;
  object-fit: fill;
}

.osnova-task-layer.is-fade {
  transform: translate3d(0, 18px, 0);
}

.osnova-task-layer.is-slide {
  transform: translate3d(-14vw, 0, 0);
}

.osnova-task-layer.is-rise {
  transform: translate3d(0, 72%, 0) scale(0.96);
}

.osnova-task-layer[src$="bg.svg"],
.osnova-task-layer[src$="cards.svg"] {
  height: 100%;
  object-fit: fill;
}

.osnova-task-scene.is-visible .osnova-task-left,
.osnova-task-scene.is-visible .osnova-task-layer {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0s);
}

.osnova-task-scene.is-visible .osnova-task-layer.is-front {
  animation: osnova-task-float 3.8s ease-in-out 1.8s infinite;
}

@keyframes osnova-task-fade {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes osnova-task-slide {
  from {
    opacity: 0;
    transform: translate3d(-14vw, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes osnova-task-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 78%, 0) scale(0.94);
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes osnova-task-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

.osnova-editorial--shop {
  position: relative;
  color: #fff;
  border-top: 0;
  overflow: hidden;
  background: radial-gradient(70% 90% at 50% 55%, #a977ff 0%, #6f34dc 55%, #5922c9 100%);
}

.osnova-editorial--shop .osnova-editorial-head {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 3;
  width: min(720px, 72%);
  padding: clamp(40px, 4.5vw, 72px) var(--story-pad) 0;
  pointer-events: none;
}

.osnova-editorial--shop .osnova-editorial-head > span {
  color: #fff;
  border-color: rgb(255 255 255 / 70%);
}

.osnova-editorial--shop .osnova-editorial-head p {
  color: rgb(255 255 255 / 70%);
}

.osnova-editorial--shop .osnova-editorial-scene,
.osnova-editorial-scene.osnova-shop-scene {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5.85;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: transparent;
}

.osnova-shop-stack {
  transform: none;
}

.osnova-editorial--shop .osnova-screen-group img {
  width: 52%;
  filter: none;
}

.osnova-editorial--shop .osnova-screen-group img:nth-child(1) {
  --r: 0deg;
  top: 26%;
  left: 24%;
}

.osnova-editorial--shop .osnova-screen-group img:nth-child(2) {
  --r: 0deg;
  top: 2%;
  left: 32%;
  z-index: 2;
}

@keyframes osnova-screen-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 55%, 0) rotate(var(--r, 0deg)) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)) scale(1);
  }
}

@keyframes osnova-feature-slide-left {
  from {
    opacity: 0;
    transform: translate3d(-12vw, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes osnova-feature-slide-right {
  from {
    opacity: 0;
    transform: translate3d(12vw, 0, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes osnova-feature-fan {
  from {
    opacity: 0.35;
    transform: translate3d(0, var(--stack-y, 0), 0) scale(var(--stack-scale, 0.92));
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes osnova-onboard-fade {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes osnova-onboard-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 72%, 0) scale(0.965);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.osnova-story-cta {
  color: var(--osnova-fg);
  background: #0e0e0f;
}

.osnova-story-cta {
  padding: clamp(100px, 12vw, 180px) clamp(20px, 5.7vw, 110px);
}

.osnova-story-cta .eyebrow {
  color: rgb(245 245 242 / 55%);
}

.osnova-story-cta h2 {
  max-width: 14ch;
  margin: 22px 0 36px;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 480;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.osnova-story-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  color: #111;
  background: var(--osnova-fg);
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.osnova-story-button:hover {
  background: #fff;
}

.osnova-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes osnova-fade-up {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes osnova-rings-fade {
  to {
    opacity: 1;
  }
}

@keyframes osnova-phone-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 72vh, 0);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes osnova-ring-breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(var(--scale));
  }

  50% {
    opacity: 1;
    transform: scale(calc(var(--scale) * 1.045));
  }
}

@media (max-aspect-ratio: 4 / 3), (max-width: 900px) {
  .osnova-cover {
    min-height: 760px;
  }

  .osnova-wordmark {
    top: clamp(18%, 20vh, 24%);
    width: 92%;
    left: 4%;
  }

  .osnova-rings {
    bottom: 0;
    top: auto;
    width: min(240vw, 2200px);
    height: min(240vw, 2200px);
    margin-left: calc(min(240vw, 2200px) / -2);
    margin-top: 0;
    margin-bottom: calc(min(240vw, 2200px) / -2);
  }

  .osnova-phone-left {
    left: 12%;
    top: 44%;
    width: 32%;
  }

  .osnova-phone-right {
    left: 56%;
    top: 44%;
    width: 32%;
  }

  .osnova-phone-center {
    left: 32%;
    top: 40%;
    width: 36%;
  }

  .osnova-client,
  .osnova-about-head {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .osnova-client {
    min-height: auto;
  }

  .osnova-client-copy,
  .osnova-about-head > p {
    grid-column: 2;
    padding-top: 0;
  }

  .osnova-client-orbit {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 2;
    justify-self: end;
    margin-top: 70px;
  }

  .osnova-about-head h2 {
    font-size: clamp(44px, 8.5vw, 84px);
  }

  .osnova-facts article {
    grid-template-columns: 1fr;
    align-content: end;
  }

  .osnova-tasks-head {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .osnova-task-layout {
    grid-template-columns: 1fr;
  }

  .osnova-task-gallery {
    min-height: 78vw;
  }

  .osnova-briefs {
    grid-template-columns: 1fr;
  }

  .osnova-production-head,
  .osnova-journey-head {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .osnova-journey-head > p {
    grid-column: 2;
  }

  .osnova-production-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .osnova-production-grid article {
    min-height: 310px;
    border-bottom: 1px solid rgb(17 17 17 / 24%);
  }

  .osnova-production-grid article:nth-child(3) {
    border-right: 0;
  }

  .osnova-journey-step,
  .osnova-journey-step.is-reverse {
    grid-template-columns: 1fr;
  }

  .osnova-journey-step.is-reverse .osnova-journey-copy,
  .osnova-journey-step.is-reverse figure {
    grid-column: auto;
    grid-row: auto;
  }

  .osnova-journey-copy {
    min-height: 520px;
  }

  .osnova-journey-step figure {
    aspect-ratio: 16 / 9;
  }

  .osnova-journey-step--feature {
    height: auto;
    min-height: 0;
  }

  .osnova-feature-scene {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .osnova-journey-step--onboard {
    min-height: 0;
  }

  .osnova-onboard-stage {
    aspect-ratio: 16 / 10;
  }

  .osnova-onboard-phone {
    top: 14%;
    width: 36%;
  }

  .osnova-onboard-phone--left {
    left: 12%;
  }

  .osnova-onboard-phone--right {
    left: 52%;
  }

  .osnova-journey-step--miniapp {
    min-height: 0;
  }

  .osnova-miniapp-scene {
    height: min(84vw, 820px);
    min-height: 580px;
    --phone-w: clamp(132px, 16vw, 168px);
    --phone-gap: clamp(16px, 2vw, 28px);
  }

  .osnova-miniapp-copy {
    left: 58%;
    width: min(380px, 38%);
  }

  .osnova-editorial-head {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 0;
  }

  .osnova-editorial-head p {
    grid-column: 2;
    margin-top: 20px;
  }

  .osnova-editorial-scene {
    height: min(78vw, 720px);
    min-height: 560px;
  }

  .osnova-editorial-scene.osnova-shop-scene,
  .osnova-editorial--shop .osnova-editorial-scene {
    aspect-ratio: 16 / 5.85;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .osnova-editorial--chats {
    height: min(110vw, 900px);
    min-height: 760px;
  }

  .osnova-editorial--chats .osnova-editorial-head {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .osnova-editorial--chats .osnova-editorial-head p {
    grid-column: 2;
  }

  .osnova-editorial--chats .osnova-chats-stack {
    top: 31%;
    left: 53%;
    width: 41%;
  }

  .osnova-task-scene,
  .osnova-editorial-scene.osnova-task-scene {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .osnova-meta {
    padding-top: 96px;
    font-size: 10px;
  }

  .osnova-wordmark {
    top: 20%;
  }

  .osnova-phone-left {
    left: 4%;
    top: 46%;
    width: 34%;
  }

  .osnova-phone-right {
    left: 62%;
    top: 46%;
    width: 34%;
  }

  .osnova-phone-center {
    left: 28%;
    top: 42%;
    width: 44%;
  }

  .osnova-scroll-cue span {
    display: none;
  }

  .osnova-story {
    --story-pad: 18px;
  }

  .osnova-editorial-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 42px var(--story-pad) 48px;
  }

  .osnova-editorial-head > span {
    width: 38px;
    height: 38px;
  }

  .osnova-editorial-head h3,
  .osnova-editorial--chats .osnova-editorial-head h3,
  .osnova-editorial--profile .osnova-editorial-head h3 {
    max-width: 9ch;
    font-size: clamp(46px, 14vw, 66px);
    line-height: 0.9;
  }

  .osnova-editorial-head p,
  .osnova-editorial--chats .osnova-editorial-head p,
  .osnova-editorial--profile .osnova-editorial-head p {
    grid-column: 2;
    margin-top: 24px;
    font-size: 15px;
  }

  .osnova-editorial-scene {
    height: 150vw;
    min-height: 560px;
    max-height: 720px;
  }

  .osnova-editorial-scene.osnova-shop-scene,
  .osnova-editorial--shop .osnova-editorial-scene {
    aspect-ratio: 16 / 5.85;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .osnova-editorial--feed .osnova-editorial-scene,
  .osnova-editorial .osnova-feed-scene {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    background: transparent;
  }

  .osnova-editorial--feed .osnova-feature-particles {
    inset: auto 0 0;
    height: min(92vw, 520px);
  }

  .osnova-editorial--feed .osnova-feature-artboard {
    position: relative;
    display: flex;
    flex-direction: column;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .osnova-editorial .osnova-feed-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    transform: none;
  }

  .osnova-editorial--feed .osnova-feed-phone-panel {
    position: relative;
    inset: auto;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 36px 18px 44px;
    background: #eeebf6;
  }

  .osnova-editorial .osnova-feed-phone {
    position: relative;
    top: auto;
    left: auto;
    width: min(72%, 300px);
    transform: none;
  }

  .osnova-editorial--chats {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .osnova-editorial--chats .osnova-editorial-head {
    position: relative;
    inset: auto;
    grid-template-columns: 42px minmax(0, 1fr);
    height: auto;
    padding: 42px var(--story-pad) 28px;
  }

  .osnova-editorial--chats .osnova-editorial-head h3 {
    align-self: start;
    max-width: 9ch;
  }

  .osnova-editorial--chats .osnova-editorial-head p {
    grid-column: 2;
    align-self: start;
    justify-self: start;
    max-width: none;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .osnova-editorial--chats .osnova-editorial-scene {
    position: relative;
    inset: auto;
    height: min(118vw, 560px);
    min-height: 420px;
    max-height: 560px;
  }

  .osnova-editorial--chats .osnova-chats-stack {
    top: 50%;
    left: 50%;
    width: min(82%, 340px);
    transform: translate(-50%, -50%);
  }

  .osnova-editorial--community .osnova-screen-group img {
    width: 40%;
  }

  .osnova-editorial--community .osnova-screen-group img.is-side-left {
    top: 22%;
    left: -4%;
    width: 40%;
  }

  .osnova-editorial--community .osnova-screen-group img.is-main {
    top: 5%;
    left: 26%;
    width: 48%;
  }

  .osnova-editorial--community .osnova-screen-group img.is-side-right {
    top: 22%;
    left: 64%;
    width: 40%;
  }

  .osnova-task-scene,
  .osnova-editorial-scene.osnova-task-scene {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .osnova-editorial--shop .osnova-editorial-head {
    position: relative;
    inset: auto;
    width: auto;
    padding: 42px var(--story-pad) 12px;
  }

  .osnova-editorial--shop .osnova-editorial-scene,
  .osnova-editorial-scene.osnova-shop-scene {
    aspect-ratio: 16 / 5.85;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .osnova-editorial--shop .osnova-screen-group img {
    width: 72%;
  }

  .osnova-editorial--shop .osnova-screen-group img:nth-child(1) {
    top: 12%;
    left: 8%;
  }

  .osnova-editorial--shop .osnova-screen-group img:nth-child(2) {
    top: -10%;
    left: 20%;
  }

  .osnova-shop-stack {
    transform: none;
  }

  .osnova-client,
  .osnova-about-head,
  .osnova-tasks-head {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .osnova-client {
    padding-top: 88px;
    padding-bottom: 92px;
  }

  .osnova-client-title > p {
    margin-bottom: 28px;
  }

  .osnova-client-title h2,
  .osnova-about-head h2,
  .osnova-tasks-head h2 {
    font-size: clamp(40px, 12vw, 60px);
  }

  .osnova-client-copy,
  .osnova-about-head > p,
  .osnova-client-orbit {
    grid-column: auto;
  }

  .osnova-client-orbit {
    justify-self: start;
    margin-top: 34px;
  }

  .osnova-about,
  .osnova-tasks {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .osnova-about-head {
    margin-bottom: 54px;
  }

  .osnova-about-visual {
    margin-inline: -18px;
  }

  .osnova-about-visual img {
    width: 150%;
    max-width: none;
    margin-left: -25%;
  }

  .osnova-facts {
    grid-template-columns: 1fr;
  }

  .osnova-facts article,
  .osnova-facts article + article {
    grid-template-columns: 1fr auto;
    min-height: 124px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 26%);
  }

  .osnova-facts strong {
    font-size: 62px;
  }

  .osnova-tasks-head {
    margin-bottom: 64px;
  }

  .osnova-task-gallery {
    min-height: 105vw;
  }

  .osnova-task-shot--main {
    width: 96%;
  }

  .osnova-task-shot--side {
    width: 72%;
    border-width: 6px;
  }

  .osnova-briefs {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .osnova-brief {
    grid-template-columns: 1fr 48px;
    min-height: 420px;
    padding: 24px 14px 24px 24px;
  }

  .osnova-brief-copy {
    padding-right: 10px;
  }

  .osnova-brief-copy p {
    font-size: 18px;
  }

  .osnova-brief-num {
    right: 72px;
  }

  .osnova-production {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .osnova-production-head,
  .osnova-journey-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .osnova-production-head h2,
  .osnova-journey-head h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .osnova-production-grid {
    grid-template-columns: 1fr 1fr;
  }

  .osnova-production-grid article,
  .osnova-production-grid article:nth-child(3) {
    min-height: 250px;
    border-right: 1px solid rgb(17 17 17 / 24%);
  }

  .osnova-production-grid article:nth-child(even) {
    border-right: 0;
  }

  .osnova-journey-head > p {
    grid-column: auto;
  }

  .osnova-journey-copy {
    min-height: 430px;
    padding: 42px 18px;
  }

  .osnova-journey-copy h3 {
    font-size: 48px;
  }

  .osnova-journey-step figure {
    aspect-ratio: 4 / 3;
  }

  .osnova-journey-step:not(.osnova-journey-step--onboard):not(.osnova-journey-step--miniapp):not(.osnova-journey-step--feature) img {
    width: 133%;
    max-width: none;
    margin-left: -16.5%;
  }

  .osnova-feature-scene {
    aspect-ratio: 4 / 3;
  }

  .osnova-feed-phone {
    top: 16%;
    left: 59%;
    width: 29%;
  }

  .osnova-chats-stack {
    left: 35%;
    width: 58%;
  }

  .osnova-onboard-stage {
    aspect-ratio: 4 / 3;
  }

  .osnova-onboard-phone {
    top: 10%;
    width: 44%;
  }

  .osnova-onboard-phone--left {
    left: 4%;
  }

  .osnova-onboard-phone--right {
    left: 52%;
  }

  .osnova-miniapp-scene {
    height: min(118vw, 720px);
    min-height: 560px;
    --phone-w: clamp(110px, 28vw, 148px);
    --phone-gap: 16px;
  }

  .osnova-miniapp-copy {
    left: 6%;
    width: min(88%, 360px);
    top: 28px;
  }

  .osnova-miniapp-head h3 {
    font-size: 28px;
  }

  .osnova-miniapp-track {
    padding-top: 34%;
  }

  .osnova-miniapp-rail {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .osnova-meta,
  .osnova-layer,
  .osnova-rings,
  .osnova-back,
  .osnova-scroll-cue,
  [data-osnova-reveal],
  .osnova-onboard-layer {
    opacity: 1 !important;
    animation: none !important;
  }

  .osnova-meta,
  .osnova-layer,
  .osnova-back,
  .osnova-scroll-cue,
  [data-osnova-reveal],
  .osnova-onboard-layer,
  .osnova-feed-photo,
  .osnova-feed-phone,
  .osnova-chats-phone,
  .osnova-chats-stack img,
  .osnova-screen-group img,
  .osnova-task-left,
  .osnova-task-layer {
    transform: none !important;
    transition: none !important;
  }

  .osnova-task-scene,
  .osnova-feed-photo,
  .osnova-feed-phone,
  .osnova-chats-phone,
  .osnova-chats-stack img,
  .osnova-screen-group img,
  .osnova-task-left,
  .osnova-task-layer {
    opacity: 1 !important;
    animation: none !important;
  }

  .osnova-rings span {
    animation: none !important;
    opacity: 1;
    transform: scale(var(--scale));
  }

  .osnova-onboard-particles,
  .osnova-miniapp-particles {
    opacity: 0.4 !important;
  }

  .osnova-miniapp-track {
    transform: none !important;
  }
}
