.is-3d {
  --z-bg:#1a1a1a;
}
.z3d {
  --u:var(--hu);
  --oy:max(0px, (100vh - 1160 * var(--u)) / 2);
  position: relative;
  z-index: 1;
  height: 820vh;
  color: #fff;
  background: var(--z-bg);
}
.z3d-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
}
.z3d-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.z3d-grid i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--x) * var(--cu));
  width: 1px;
  background:
    linear-gradient(
      rgba(255, 255, 255, .1) 0%,
      rgba(255, 255, 255, .1) 30%,
      rgba(255, 255, 255, .05) 62%,
      rgba(255, 255, 255, .015) 85%,
      rgba(255, 255, 255, 0) 100%);
  transform-origin: 50% 0;
  scale: 1 0;
}
.z3d.is-live .z3d-grid i,
.z3d--static .z3d-grid i {
  scale: 1 1;
  transition: scale 1.8s var(--out) calc(.15s + var(--i) * .16s);
}
.z3d-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--gl,1);
  background:
    radial-gradient(
      ellipse 62% 58% at 50% 84%,
      rgba(255, 255, 255, .07) 0%,
      rgba(255, 255, 255, .062) 10%,
      rgba(255, 255, 255, .05) 20%,
      rgba(255, 255, 255, .037) 30%,
      rgba(255, 255, 255, .026) 40%,
      rgba(255, 255, 255, .017) 50%,
      rgba(255, 255, 255, .01) 60%,
      rgba(255, 255, 255, .005) 72%,
      rgba(255, 255, 255, .002) 85%,
      rgba(255, 255, 255, 0) 100%);
}
.z3d-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(26, 26, 26, .88) 0%,
      rgba(26, 26, 26, .6) 27%,
      rgba(26, 26, 26, 0) 40%,
      rgba(26, 26, 26, 0) 60%,
      rgba(26, 26, 26, .6) 73%,
      rgba(26, 26, 26, .88) 100%);
}
.z3d-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.z3d-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.z3d.is-live .z3d-canvas {
  opacity: var(--zo,1);
}
.z3d.is-run .z3d-canvas {
  transition: none;
}
.z3d-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--sc,0);
  background:
    linear-gradient(
      90deg,
      rgba(26, 26, 26, .88) 0%,
      rgba(26, 26, 26, .6) 27%,
      rgba(26, 26, 26, 0) 40%,
      rgba(26, 26, 26, 0) 60%,
      rgba(26, 26, 26, .6) 73%,
      rgba(26, 26, 26, .88) 100%);
}
.z3d-outro {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
  font-weight: 500;
  font-size: max(calc(230 * var(--cu)), 88px);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  opacity: var(--oo,0);
  transform: translate3d(calc(60vw - var(--od,0) * 160vw), calc(-50% + (1 - var(--od,0)) * 22vh - 6vh), 0);
  will-change: transform;
}
.z3d--static .z3d-outro,
.z3d--static .z3d-pin::after {
  display: none;
}
.z3d-hero {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.z3d-hero > *,
.z3d-h1 .ln {
  opacity: var(--hv,1);
  translate: 0 calc((1 - var(--hv,1)) * -90 * var(--cu));
}
.z3d-h1 {
  opacity: 1 !important;
  translate: none !important;
}
.z3d-hero .tagline {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  top: calc(154 * var(--u));
  margin: 0;
  font-weight: 300;
  font-size: var(--fs-ui,max(calc(20 * var(--u)),14px));
  line-height: 1;
}
.z3d-h1 {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(373 * var(--u) + var(--oy));
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-size: calc(120 * var(--u));
  line-height: 1;
  letter-spacing: -.01em;
}
.z3d-h1 .ln {
  position: relative;
  z-index: 3;
  display: block;
  overflow: hidden;
  padding: .06em 0 .16em;
  margin: -.06em 0 calc(7 * var(--u) - .1em);
  white-space: nowrap;
}
@media (min-width:1024px) {
  .z3d-h1 {
    top: auto;
    bottom: calc(42% + max(40px, 56 * var(--u)));
  }
}
.z3d-h1 .ln > span {
  display: inline-block;
  translate: 0 115%;
  transition: translate 1.9s var(--out);
}
.z3d-h1 .ln:nth-child(2) > span {
  transition-delay: .16s;
}
.z3d-h1 .ln:nth-child(3) > span {
  transition-delay: .32s;
}
.z3d.is-in .z3d-h1 .ln > span {
  translate: 0 0;
}
.z3d-lead {
  position: absolute;
  z-index: 3;
  left: calc(1404 * var(--cu));
  bottom: calc(48 * var(--cu));
  width: max(calc(400 * var(--cu)), 300px);
  margin: 0;
  font-size: max(calc(20 * var(--u)), 15px);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
}
.z3d-lead b {
  font-weight: 600;
  color: #fff;
}
.z3d-lead {
  transition: opacity 1.4s ease .7s;
}
.z3d:not(.is-in) .z3d-lead {
  opacity: 0;
}
.z3d.is-run :is(.z3d-lead, .z3d-hint) {
  transition: none;
}
.z3d-hint {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: calc(48 * var(--cu));
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: max(calc(12 * var(--cu)), 9px);
  opacity: 0;
  transition: opacity 1s ease 1s;
}
.z3d.is-in .z3d-hint {
  opacity: var(--hv,1);
}
.z3d-mouse {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 24px;
  margin-bottom: .2em;
  border: 1.25px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
}
.z3d-mouse i {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 5px;
  margin-left: -1px;
  border-radius: 2px;
  background: #fff;
  animation: z3d-wheel 2s cubic-bezier(.55, 0, .35, 1) infinite;
}
@keyframes z3d-wheel {
  0% {
    opacity: 0;
    translate: 0 -1px;
  }
  18% {
    opacity: 1;
    translate: 0 0;
  }
  62% {
    opacity: 1;
    translate: 0 7px;
  }
  85%, 100% {
    opacity: 0;
    translate: 0 9px;
  }
}
.z3d-hint-t {
  font-size: max(calc(20 * var(--u)), 15px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
}
.z3d-figs {
  --tg:calc(170 * var(--cu));
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.z3d-step {
  --f:0;
  --e:1;
  position: absolute;
  top: 50%;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: var(--f);
  translate: 0 calc(-50% + var(--e) * (1 - var(--f)) * 110 * var(--cu));
  filter: blur(calc((1 - var(--f)) * 8px));
}
.z3d-step--one {
  left: calc(36.1% + 12.1vh + var(--tg));
  width: calc(540 * var(--cu));
}
.z3d-step--prin {
  left: calc(36.1% + 12.1vh + var(--tg));
  width: calc(560 * var(--cu));
}
.z3d-prin-title {
  margin: 0 0 calc(40 * var(--cu));
  font-weight: 500;
  font-size: max(calc(44 * var(--cu)), 28px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.z3d-prin-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(28 * var(--cu));
  counter-reset: prin;
}
.z3d-prin-list li {
  position: relative;
  padding: calc(24 * var(--cu)) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: max(calc(20 * var(--cu)), 15px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .75);
}
.z3d-prin-list b {
  font-weight: 600;
  color: #fff;
}
.z3d-step--two {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  translate: 0 calc(var(--e) * (1 - var(--f)) * 110 * var(--cu));
}
.z3d-step--two .z3d-fig {
  position: absolute;
  width: calc(400 * var(--cu));
}
.z3d-step--two {
  --tw:9.4vh;
}
.z3d-step--two .z3d-fig:first-child {
  right: calc(50% + var(--tw) + var(--tg));
  width: max-content;
  top: calc(30% - 40 * var(--cu));
}
.z3d-step--two .z3d-fig:last-child {
  left: calc(50% + var(--tw) + var(--tg));
  top: calc(56% - 40 * var(--cu));
}
.z3d-fig .v {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: .12em;
  font-weight: 200;
  font-size: max(calc(128 * var(--cu)), 56px);
  line-height: 1;
  letter-spacing: -.04em;
}
.z3d-fig .num {
  display: inline-flex;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.z3d-fig .dg,
.z3d-fig .sg {
  display: inline-block;
  height: 1.04em;
  line-height: 1.04em;
}
.z3d-fig .dg {
  overflow: hidden;
  -webkit-mask:
    linear-gradient(
      transparent,
      #000 22%,
      #000 78%,
      transparent);
  mask:
    linear-gradient(
      transparent,
      #000 22%,
      #000 78%,
      transparent);
}
.z3d-fig .dg > span {
  display: block;
  translate: 0 0;
}
.z3d-fig .dg i {
  display: block;
  height: 1.04em;
  font-style: normal;
}
.z3d-step.is-shown .dg > span {
  translate: 0 calc(var(--n) * -1.04em);
  transition: translate calc(1.6s + var(--k) * .3s) cubic-bezier(.16, 1, .3, 1) calc(var(--k) * .06s);
}
.z3d-fig .sg {
  opacity: 0;
  translate: 0 .3em;
  transition: opacity .2s, translate .2s;
}
.z3d-step.is-shown .sg {
  opacity: 1;
  translate: 0 0;
  transition: opacity .8s ease .9s, translate 1.2s var(--out) .9s;
}
.z3d-fig .unit {
  padding-bottom: .42em;
  font-weight: 500;
  font-size: .26em;
  line-height: 1;
  letter-spacing: -.01em;
}
.z3d-fig .c {
  margin: calc(12 * var(--cu)) 0 0;
  max-width: calc(340 * var(--cu));
  font-size: max(calc(20 * var(--cu)), 15px);
  line-height: 1.4;
  color: rgba(255, 255, 255, .7);
}
.z3d-about {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.z3d-ab {
  --f:0;
  --e:1;
  position: absolute;
  top: 50%;
  width: calc(480 * var(--cu));
  opacity: var(--f);
  translate: 0 calc(-50% + var(--e) * (1 - var(--f)) * 100 * var(--cu));
  filter: blur(calc((1 - var(--f)) * 8px));
}
.z3d-ab--l {
  left: var(--gutter);
  top: 36%;
  width: calc(400 * var(--cu));
}
.z3d-ab--r {
  left: calc(1400 * var(--cu));
  top: 64%;
  width: calc(400 * var(--cu));
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--cu));
  font-size: max(calc(20 * var(--cu)), 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}
.z3d-ab.is-on {
  pointer-events: auto;
}
.z3d--lite :is(.z3d-step, .z3d-ab) {
  filter: none;
}
.z3d-ab-quote {
  margin: calc(28 * var(--cu)) 0 0;
  max-width: calc(400 * var(--cu));
  font-size: max(calc(18 * var(--cu)), 14px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}
.z3d-ab-title {
  margin: 0;
  font-weight: 500;
  font-size: max(calc(44 * var(--cu)), 28px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.z3d-ab--r p {
  margin: 0;
}
.z3d-ab--r p:first-child {
  color: #fff;
}
.z3d-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #101010;
  transition: opacity 1.6s cubic-bezier(.45, 0, .2, 1);
}
.z3d-loader.is-gone {
  opacity: 0;
  pointer-events: none;
}
.z3d-mark {
  position: relative;
  width: max(calc(76 * var(--cu)), 58px);
  aspect-ratio: 83 / 69;
  background: rgba(255, 255, 255, .12);
  -webkit-mask: url(/shared/img/scheme-znak-v2.svg) center / contain no-repeat;
  mask: url(/shared/img/scheme-znak-v2.svg) center / contain no-repeat;
}
.z3d-mark i {
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: inset(calc((1 - var(--lp,0)) * 100%) 0 0 0);
}
.z3d-mark {
  transition: opacity .7s ease, scale 1.1s cubic-bezier(.16, 1, .3, 1);
}
.z3d-loader.is-done .z3d-mark {
  opacity: 0;
  scale: 1.08;
}
.z3d--static {
  height: auto;
  min-height: 100vh;
}
.z3d--static .z3d-pin {
  position: relative;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: calc(120 * var(--cu));
  padding: calc(300 * var(--u)) 0 calc(160 * var(--cu));
}
.z3d--static :is(.z3d-hero, .z3d-figs, .z3d-about, .z3d-h1, .z3d-lead, .z3d-ab, .z3d-step, .tagline) {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  opacity: 1;
  translate: none;
  filter: none;
  pointer-events: auto;
}
.z3d--static .z3d-hero {
  display: flex;
  flex-direction: column;
  gap: calc(64 * var(--cu));
  padding: 0 var(--gutter);
}
.z3d--static .z3d-h1 .ln {
  white-space: normal;
}
.z3d--static .z3d-figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4,24px);
  padding: 0 var(--gutter);
}
.z3d--static .z3d-step {
  display: contents;
}
.z3d--static .dg > span {
  translate: 0 calc(var(--n) * -1.04em);
}
.z3d--static .sg {
  opacity: 1;
  translate: none;
}
.z3d--static .z3d-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(80 * var(--cu));
  padding: 0 var(--gutter);
}
.z3d--static .z3d-ab {
  width: auto;
}
.z3d--static :is(.z3d-loader, .z3d-hint, .z3d-canvas, .z3d-scrim) {
  display: none;
}
@media (max-width:1023px) {
  .z3d {
    height: 750vh;
  }
  .z3d-grid i:nth-child(n+2):nth-child(-n+4) {
    display: none;
  }
  .z3d-grid i:first-child {
    left: var(--gutter);
  }
  .z3d-grid i:last-child {
    left: auto;
    right: var(--gutter);
  }
  .z3d-pin {
    --bb:calc(100lvh - 100svh);
  }
  .z3d-pin::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52%;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(
        rgba(26, 26, 26, 0),
        rgba(26, 26, 26, .55) 45%,
        rgba(26, 26, 26, .86));
  }
  .z3d-hero .tagline {
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--head-h) + 58px);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
  }
  .z3d-h1 {
    top: calc(var(--head-h) + 98px);
    left: var(--gutter);
    right: var(--gutter);
    font-size: 40px;
    line-height: 1.02;
  }
  .z3d-h1 .ln {
    white-space: normal;
    margin-bottom: -.1em;
  }
  .z3d-lead,
  .z3d-step,
  .z3d-ab {
    text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
  }
  .z3d-step,
  .z3d-ab {
    filter: none;
  }
  .z3d-lead {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    top: auto;
    bottom: calc(var(--bb) + 76px);
    font-size: 15px;
    text-align: center;
    text-wrap: balance;
  }
  .z3d-hint {
    left: calc(50% - 8px);
    bottom: calc(var(--bb) + 24px);
  }
  .z3d-hint-t {
    display: none;
  }
  .z3d-step,
  .z3d-step--one,
  .z3d-step--two,
  .z3d-step--prin {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    top: auto;
    bottom: calc(var(--bb) + 72px);
    text-align: center;
    translate: 0 calc(var(--e) * (1 - var(--f)) * 60px);
  }
  .z3d-step--two {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .z3d-step--two .z3d-fig,
  .z3d-step--two .z3d-fig:first-child,
  .z3d-step--two .z3d-fig:last-child {
    position: static;
    width: auto;
  }
  .z3d-step--two .z3d-fig .v {
    font-size: clamp(56px, 16vw, 72px);
  }
  .z3d-prin-title {
    margin-bottom: 16px;
    font-size: 26px;
  }
  .z3d-prin-list {
    gap: 12px;
    text-align: center;
  }
  .z3d-prin-list li {
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.4;
  }
  .z3d-fig .v {
    justify-content: center;
    font-size: clamp(84px, 26vw, 120px);
  }
  .z3d-fig .unit {
    font-size: .24em;
  }
  .z3d-fig .c {
    margin: 8px auto 0;
    font-size: 14px;
    max-width: none;
    text-wrap: balance;
  }
  .z3d-scrim {
    background: rgba(26, 26, 26, .72);
  }
  .z3d-outro {
    font-size: 64px;
  }
  .z3d-ab {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    text-align: center;
    translate: 0 calc(var(--e) * (1 - var(--f)) * 40px);
  }
  .z3d-ab--l {
    top: calc(var(--head-h) + 28px);
    width: auto;
  }
  .z3d-ab--r {
    left: var(--gutter);
    top: auto;
    bottom: calc(var(--bb) + 40px);
    width: auto;
    gap: 12px;
    font-size: 14px;
    text-wrap: pretty;
  }
  .z3d-ab-quote {
    margin: 12px auto 0;
    font-size: 13px;
    max-width: none;
    text-wrap: balance;
  }
  .z3d-ab-title {
    text-wrap: balance;
  }
  .z3d-ab-title {
    font-size: 28px;
    line-height: 1.08;
  }
  .z3d--static .z3d-figs {
    grid-template-columns: 1fr;
  }
  .z3d--static .z3d-about {
    grid-template-columns: 1fr;
  }
  .z3d--static .z3d-pin {
    padding-top: calc(var(--head-h) + 40px);
    gap: 56px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .z3d-h1 .ln > span,
  .z3d-lead,
  .z3d-hint,
  .z3d-grid i {
    transition: none;
  }
  .z3d-mouse i {
    animation: none;
  }
}
@media (min-width:1024px) {
  .is-3d-page .z3d-h1 {
    font-size: calc(96 * var(--u));
  }
}
@media (max-width:1023px) {
  .is-3d-page .z3d-h1 {
    font-size: 34px;
  }
}
html:has(body.is-3d-page),
body.is-3d-page {
  background: #1a1a1a;
}
.is-3d-page .site-foot {
  background: #1a1a1a;
}
