:root {
  --background: #0c0d09;
  --title: rgba(238, 217, 255, 0.05);
  --text: #eed9ff;
  --hero-center-y: 42vh;
  --title-size: clamp(120px, 17.36vw, 250px);
  --title-final-x: 120px;
  --title-final-y: 48px;
  --title-final-size: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f5f5f5;
  scroll-behavior: smooth;
}

html {
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
}

body:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) {
  overflow-y: auto;
}

body.about-view,
body.work-view,
body.case-detail-view,
body.playground-view {
  overflow-y: auto;
}

body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) {
  overflow-y: hidden;
}

.scroll-topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(238, 217, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(24, 27, 25, 0.94), rgba(10, 11, 9, 0.98)),
    #0c0d09;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.scroll-topbar-visible .scroll-topbar {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.scroll-topbar-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.scroll-topbar-avatar {
  display: block;
  width: 46px;
  height: 52px;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 18px rgba(184, 242, 255, 0.12));
}

.scroll-topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-topbar-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.scroll-topbar-links a {
  color: rgba(238, 217, 255, 0.48);
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition:
    color 220ms ease,
    text-shadow 220ms ease,
    transform 220ms ease;
}

.scroll-topbar-links a:hover,
.scroll-topbar-links a:focus-visible {
  color: rgba(238, 217, 255, 0.9);
  text-shadow: 0 0 18px rgba(238, 217, 255, 0.28);
  transform: translateY(-1px);
}

.scroll-topbar-links a:focus-visible {
  outline: 1px solid rgba(238, 217, 255, 0.55);
  outline-offset: 4px;
}

.mobile-topbar,
.mobile-menu,
.mobile-menu-overlay {
  display: none;
}

body:not(.case-detail-view) {
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  display: grid;
  order: 1;
  width: calc(100% - 48px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  place-items: center;
  overflow: hidden;
  background: var(--background);
  border-radius: 24px;
}

body.about-view .hero {
  display: none;
}

body.work-view .hero {
  display: none;
}

body.case-detail-view .hero {
  display: none;
}

body.playground-view .hero {
  display: none;
}

.about-slide {
  position: relative;
  display: grid;
  width: calc(100% - 48px);
  min-height: 360px;
  margin: -1px auto 0;
  padding: 80px clamp(28px, 8.33vw, 120px) 104px;
  overflow: hidden;
  background: var(--background);
  border-radius: 24px;
  opacity: 1;
  transform: translateY(-12px);
}

.skills-cloud {
  position: absolute;
  left: clamp(28px, 8.47vw, 122px);
  top: 160px;
  display: flex;
  width: min(422px, 34vw);
  flex-direction: column;
  gap: 24px;
  color: #8d8d8d;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.skills-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 195px));
  gap: 24px;
}

.skills-cloud ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-statement {
  position: absolute;
  left: clamp(420px, 42.78vw, 616px);
  top: 160px;
  width: min(704px, 50vw);
  margin: 0;
  color: #eed9ff;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-intro {
  position: relative;
  left: 50%;
  top: auto;
  width: min(927px, calc(100vw - 56px));
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
}

.about-intro-title {
  margin: 0;
  background: linear-gradient(270deg, #fce6d7 0%, #eed9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 32px;
  font-weight: 500;
  line-height: 37px;
  letter-spacing: -0.04em;
}

.about-intro-title span:not(.inline-arrow) {
  display: block;
}

.inline-arrow {
  display: inline-grid;
  width: 60px;
  height: 60px;
  margin: 0 2px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(90deg, #f4d0c9 0%, #cbe6ec 22%, #a3ceff 51%, #c9b5d6 72%, #eaddd7 100%);
  line-height: 1;
  vertical-align: -0.26em;
}

.inline-arrow::before {
  width: 35px;
  height: 35px;
  content: "";
  background: url("./assets/arrow-right.svg") center / contain no-repeat;
  filter: drop-shadow(0.45px 0 0 #0c0d09) drop-shadow(-0.45px 0 0 #0c0d09);
}

.about-intro-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 25px 0 0;
  color: #92969e;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.04em;
}

.works-pill {
  display: inline-flex;
  width: 106px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 24px;
  background: #eed9ff;
  color: #0c0d09;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.next-slide {
  --matryoshka-open: 0;
  --matryoshka-next-open: 0;
  --lawyer-card-opacity: 0;
  --project-card-opacity: 0;
  --designer-card-opacity: 0;
  --about-intro-progress: 0;
  overflow-anchor: none;
  display: none;
}

body.about-view .next-slide {
  position: relative;
  display: block;
  width: calc(100% - 48px);
  height: calc(100vh + 2760px);
  margin: 0 auto;
  background: var(--background);
  border-radius: 24px;
  overflow: visible;
}

body.about-view .next-slide.is-matryoshka-compact,
body:not(.case-detail-view) .next-slide.is-matryoshka-compact {
  height: calc(100vh + 720px);
}

.next-slide-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--background);
  border-radius: 24px;
  overflow-anchor: none;
  overflow: hidden;
}

.about-back {
  position: absolute;
  left: clamp(36px, 5vw, 72px);
  top: 48px;
  z-index: 6;
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(238, 217, 255, 0.72);
  border-radius: 40px;
  background: #0c0d09;
  color: #eed9ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.about-back:hover,
.about-back:focus-visible {
  background: #eed9ff;
  color: #0c0d09;
  transform: translateY(-1px);
}

.about-explore {
  animation: none;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.about-explore::before,
.about-explore .nav-trigger::before,
.about-explore .nav-trigger::after {
  animation: none;
  opacity: 0;
}

.nav.about-explore::before {
  animation: none;
  opacity: 0;
}

.about-explore .nav-trigger {
  background: #0c0d09;
}

.about-explore .nav-trigger span {
  color: #ffffff;
  mix-blend-mode: normal;
}

.about-socials {
  animation: none;
  opacity: 1;
  transform: none;
}

body.about-view .about-back,
body.work-view .about-back {
  position: fixed;
  z-index: 30;
}

body.about-view .about-socials,
body.work-view .about-socials {
  position: fixed;
  z-index: 30;
}

.about-page-title {
  position: absolute;
  left: 50%;
  top: 84px;
  z-index: 0;
  width: min(1200px, 100%);
  margin: 0;
  color: rgba(238, 217, 255, 0.13);
  filter: none;
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.about-page-statement {
  position: absolute;
  right: max(clamp(32px, 7.57vw, 109px), calc((100% - 1200px) / 2));
  top: 170px;
  z-index: 3;
  width: min(734px, calc(100% - 96px));
  margin: 0;
  color: #eed9ff;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.84px;
  opacity: calc(1 - (var(--about-intro-progress) * 1.15));
  transform: translateY(calc(var(--about-intro-progress) * -160px));
  transition:
    opacity 120ms linear,
    transform 120ms linear;
}

.white-slide {
  display: none;
}

.cases-page {
  display: none;
}

body.work-view .cases-page {
  display: block;
  width: calc(100% - 48px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--background);
  border-radius: 24px;
  color: #0c0d09;
  overflow: visible;
}

.cases-viewport {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 clamp(32px, 7.57vw, 109px) 190px;
  background: var(--background);
  border-radius: 24px;
  overflow: visible;
}

.cases-header {
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding-top: 170px;
}

.cases-header h2 {
  position: absolute;
  left: 50%;
  top: 84px;
  z-index: 0;
  width: min(1200px, 100%);
  margin: 0;
  color: rgba(238, 217, 255, 0.13);
  filter: none;
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.cases-intro-copy {
  position: relative;
  z-index: 1;
  width: min(734px, calc(100% - 96px));
  margin: 0 max(0px, calc((100% - 1200px) / 2)) 0 auto;
  color: #eed9ff;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.84px;
}

.cases-intro-copy p {
  margin: 0;
}

.cases-intro-accent {
  color: #cadf91;
  font-weight: 700;
}

.cases-stack {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-bottom: 140px;
}

.case-feature-card {
  position: relative;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(800px, 100%);
  height: 651px;
  color: #ffffff;
  overflow: visible;
  text-decoration: none;
}

.case-feature-image {
  position: absolute;
  top: 0;
  left: 50%;
  width: 800px;
  max-width: 100%;
  height: 533px;
  overflow: hidden;
  border-radius: 16px;
  background: #0c0d09;
  transform: translateX(-50%);
}

.case-feature-image picture,
.case-detail-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.case-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
}

.case-feature-blur {
  position: absolute;
  top: 300px;
  left: 50%;
  z-index: 1;
  width: min(870px, calc(100vw - 32px));
  height: 194px;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(12, 13, 9, 0.07) 0%, #0c0d09 100%);
  pointer-events: none;
  transform: translateX(-50%);
}

.case-feature-blur::before,
.case-feature-blur::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.case-feature-blur::before {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.08) 18%, rgba(0, 0, 0, 0.5) 52%, #000000 76%, #000000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.08) 18%, rgba(0, 0, 0, 0.5) 52%, #000000 76%, #000000 100%);
}

.case-feature-blur::after {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.72) 80%, #000000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.72) 80%, #000000 100%);
}

.case-feature-content {
  position: absolute;
  top: 405px;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 800px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transform: translateX(-50%);
}

.case-feature-copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.case-feature-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.case-feature-copy h3 span {
  display: block;
}

.case-feature-copy p {
  width: 506px;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: #999999;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

.case-feature-tags {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
}

.case-feature-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 100px;
  background: #222222;
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.case-feature-button {
  display: inline-flex;
  width: 320px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 100px;
  background: #cadf91;
  color: #16181a;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  transition:
    border-color 260ms ease,
    background 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-feature-button-text {
  display: block;
  line-height: 1.2;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .case-feature-button:hover {
    border-color: rgba(238, 217, 255, 0.92);
    background: linear-gradient(118deg, #f2c8ff 0%, #eed9ff 44%, #cadf91 100%);
    box-shadow: 0 12px 28px rgba(238, 217, 255, 0.16), 0 0 28px rgba(202, 223, 145, 0.13);
  }
}

.case-feature-button:focus-visible {
  border-color: rgba(238, 217, 255, 0.92);
  background: linear-gradient(118deg, #f2c8ff 0%, #eed9ff 44%, #cadf91 100%);
  box-shadow: 0 12px 28px rgba(238, 217, 255, 0.16), 0 0 28px rgba(202, 223, 145, 0.13);
}

.case-feature-button:focus-visible {
  outline: 1px solid rgba(238, 217, 255, 0.78);
  outline-offset: 4px;
}

.case-feature-trading-card {
  width: min(870px, 100%);
  height: 668px;
  margin-top: 126px;
}

.case-feature-trading-card .case-feature-image {
  top: 0;
  width: min(800px, calc(100% - 70px));
  height: 533px;
  background: transparent;
}

.case-feature-trading-card .case-feature-blur {
  top: 313px;
  width: min(870px, calc(100vw - 32px));
  height: 225px;
  background: linear-gradient(180deg, rgba(12, 13, 9, 0) 0%, rgba(12, 13, 9, 0.38) 28%, rgba(12, 13, 9, 0.5) 40%, rgba(12, 13, 9, 0.7) 62%, #0c0d09 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.case-feature-trading-card .case-feature-blur::before,
.case-feature-trading-card .case-feature-blur::after {
  display: block;
}

.case-feature-trading-card .case-feature-blur::before {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.72) 62%, #000000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.72) 62%, #000000 100%);
}

.case-feature-trading-card .case-feature-blur::after {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.22) 56%, rgba(0, 0, 0, 0.78) 78%, #000000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.22) 56%, rgba(0, 0, 0, 0.78) 78%, #000000 100%);
}

.case-feature-trading-card .case-feature-content {
  top: 406px;
  width: min(800px, calc(100% - 70px));
}

.case-feature-trading-card .case-feature-copy h3 {
  font-size: 32px;
  line-height: 1.2;
}

.case-feature-kaspersky-card {
  width: min(870px, 100%);
  height: 692px;
  margin-top: 126px;
}

.case-feature-kaspersky-card .case-feature-image {
  top: 0;
  width: min(800px, calc(100% - 70px));
  height: 533px;
  background: transparent;
}

.case-feature-kaspersky-card .case-feature-image img {
  position: absolute;
  top: 0;
  left: 7.96%;
  width: 84.09%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  transform: none;
}

.case-feature-kaspersky-card .case-feature-blur {
  top: 313px;
  width: min(870px, calc(100vw - 32px));
  height: 225px;
  background: linear-gradient(180deg, rgba(12, 13, 9, 0) 0%, rgba(12, 13, 9, 0.5) 42%, rgba(12, 13, 9, 0.6) 62%, #0c0d09 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.case-feature-kaspersky-card .case-feature-blur::before,
.case-feature-kaspersky-card .case-feature-blur::after {
  display: block;
}

.case-feature-kaspersky-card .case-feature-blur::before {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 22%, rgba(0, 0, 0, 0.56) 48%, #000000 78%, #000000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 22%, rgba(0, 0, 0, 0.56) 48%, #000000 78%, #000000 100%);
}

.case-feature-kaspersky-card .case-feature-blur::after {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.82) 80%, #000000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.82) 80%, #000000 100%);
}

.case-feature-kaspersky-card .case-feature-content {
  top: 433px;
  width: min(800px, calc(100% - 70px));
}

.case-feature-kaspersky-card .case-feature-copy h3 {
  font-size: 32px;
  line-height: normal;
}

.case-study-card {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: 32px;
  background: #161616;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  color: #f3f5f5;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition:
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card-one {
  z-index: 1;
  background: #161616;
}

.case-card-one::after,
.case-card-two::after,
.case-card-three::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.case-card-one::after {
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(210, 248, 255, 0.56), rgba(99, 184, 255, 0.24) 34%, rgba(46, 70, 86, 0.08) 72%, rgba(255, 255, 255, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card-two {
  z-index: 1;
  background: #161616;
}

.case-card-two::after {
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(247, 255, 128, 0.46) 36%, rgba(158, 175, 54, 0.08) 72%, rgba(255, 255, 255, 0.2));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card-three {
  z-index: 1;
  background: #161616;
}

.case-card-three::after {
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(247, 236, 255, 0.64), rgba(211, 172, 255, 0.36) 36%, rgba(108, 72, 135, 0.08) 72%, rgba(255, 255, 255, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 330px;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #0c0d09;
  box-shadow: 1px -2px 12.3px rgba(0, 0, 0, 0.1);
}

.case-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-preview-falcoria {
  width: calc(100% + 60px);
  height: auto;
  aspect-ratio: 4 / 3;
  margin-right: -30px;
  margin-bottom: -30px;
  margin-left: -30px;
  background: transparent;
  box-shadow: none;
}

.case-preview-falcoria img {
  object-fit: cover;
  object-position: center;
}

.case-preview-wide {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5 / 1;
  margin-bottom: 0;
  background: transparent;
  box-shadow: none;
}

.case-preview-wide img {
  position: relative;
  object-fit: contain;
  object-position: center;
}

.case-preview-kaspersky {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.case-preview-kaspersky img {
  object-fit: contain;
  object-position: center;
  padding: 14px;
}

.case-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
}

.case-card-content h3 {
  max-width: 500px;
  margin: 0;
  color: rgba(243, 245, 245, 0.86);
  font-size: clamp(23px, 2.08vw, 30px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.case-card-content p {
  max-width: 480px;
  margin: 0;
  color: #a7a7a7;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.03em;
}

.case-card-title-mobile,
.case-card-description,
.case-card-tags-mobile,
.case-card-mobile-action {
  display: none;
}

.case-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.case-card-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(191, 182, 255, 0.055);
  color: rgba(243, 245, 245, 0.48);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.case-study-card:hover,
.case-study-card:focus-visible {
  background: #161616;
  transform: translateY(-2px);
}

.case-card-one:hover,
.case-card-one:focus-visible {
  background: #161616;
}

.case-card-two:hover,
.case-card-two:focus-visible {
  background: #161616;
}

.case-card-three:hover,
.case-card-three:focus-visible {
  background: #161616;
}

.case-card-one:hover::after,
.case-card-one:focus-visible::after,
.case-card-two:hover::after,
.case-card-two:focus-visible::after,
.case-card-three:hover::after,
.case-card-three:focus-visible::after {
  opacity: 1;
}

.case-study-card:hover .case-preview img,
.case-study-card:focus-visible .case-preview img {
  transform: scale(1.045);
}

.case-card-two:hover .case-preview-wide img,
.case-card-two:focus-visible .case-preview-wide img {
  transform: scale(1);
}

.case-card-three:hover .case-preview-kaspersky img,
.case-card-three:focus-visible .case-preview-kaspersky img {
  transform: scale(1);
}

.case-study-card:focus-visible {
  outline: 1px solid rgba(191, 182, 255, 0.7);
  outline-offset: 4px;
}

.cases-explore {
  position: fixed;
  animation: none;
  opacity: 1;
  pointer-events: auto;
}

.playground-page {
  display: none;
  width: calc(100% - 48px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--background);
  color: #ffffff;
}

body.playground-view .playground-page {
  display: block;
}

body.playground-view .playground-back,
body.playground-view .playground-socials {
  position: fixed;
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
}

.playground-inner {
  position: relative;
  display: flow-root;
  width: 100%;
  min-height: 2300px;
  padding: 0 clamp(32px, 6vw, 86px) 160px;
}

.playground-inner h2 {
  position: absolute;
  left: clamp(32px, 7.57vw, 109px);
  top: 84px;
  z-index: 0;
  width: calc(100% - (clamp(32px, 7.57vw, 109px) * 2));
  margin: 0;
  color: rgba(238, 217, 255, 0.13);
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  filter: none;
  pointer-events: none;
  transform: none;
  white-space: nowrap;
}

body:not(.case-detail-view) .cases-page,
body:not(.case-detail-view) .playground-page,
body:not(.case-detail-view) .next-slide,
body:not(.case-detail-view) .experience-page,
body:not(.case-detail-view) .iconic-cta {
  position: relative;
  display: block;
  width: calc(100% - 48px);
  margin: 0 auto;
  background: var(--background);
  border-radius: 24px;
}

body:not(.case-detail-view) .cases-page::before,
body:not(.case-detail-view) .playground-page::before,
body:not(.case-detail-view) .next-slide::before,
body:not(.case-detail-view) .experience-page::before,
body:not(.case-detail-view) .iconic-cta::before {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 12;
  width: calc(100% - 96px);
  height: 8px;
  background-image: radial-gradient(circle, rgba(247, 244, 229, 0.2) 1.45px, transparent 2.05px);
  background-position: center;
  background-size: 44px 8px;
  content: "";
  opacity: 0.78;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.68) 18%, rgba(0, 0, 0, 0.42) 50%, rgba(0, 0, 0, 0.68) 82%, rgba(0, 0, 0, 0.18) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.68) 18%, rgba(0, 0, 0, 0.42) 50%, rgba(0, 0, 0, 0.68) 82%, rgba(0, 0, 0, 0.18) 100%);
}

body:not(.case-detail-view) .cases-page {
  order: 2;
  min-height: 100vh;
  color: #0c0d09;
  overflow: visible;
}

body:not(.case-detail-view) .playground-page {
  order: 3;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
}

body:not(.case-detail-view) .next-slide {
  order: 4;
  position: relative;
  height: calc(100vh + 2760px);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  overflow: visible;
}

body:not(.case-detail-view) .next-slide.is-matryoshka-compact {
  height: calc(100vh + 720px);
}

.experience-page {
  display: none;
}

body:not(.case-detail-view) .experience-page {
  order: 5;
  margin-top: 0;
  padding: 100px 0 120px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow: hidden;
  color: #ffffff;
}

body:not(.case-detail-view) .experience-page::before {
  display: none;
}

.iconic-cta {
  display: none;
}

body:not(.case-detail-view) .iconic-cta {
  order: 6;
  padding: 56px 0 32px;
  color: #ffffff;
  overflow: hidden;
}

.iconic-cta-inner {
  display: flex;
  width: 100%;
  max-width: 1202px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}

.iconic-cta-copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.iconic-cta-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 72px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

.iconic-cta-copy h2 span {
  display: block;
}

.iconic-cta-copy h2 em,
.iconic-cta-copy h2 strong {
  font-style: normal;
  font-weight: 700;
}

.iconic-cta-copy h2 em {
  color: #d1acd6;
}

.iconic-cta-copy h2 strong {
  color: #cadf91;
}

.iconic-cta-availability {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.iconic-cta-copy p {
  margin: 0;
  color: #d7d6d6;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.6px;
}

.iconic-cta-copy .iconic-cta-interests {
  max-width: 620px;
  color: rgba(215, 214, 214, 0.72);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.iconic-cta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.iconic-cta-link {
  appearance: none;
  display: inline-flex;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid #eed9ff;
  border-radius: 40px;
  background: #0c0d09;
  box-shadow: none;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.iconic-cta-link:hover,
.iconic-cta-link:focus-visible {
  border-color: rgba(238, 217, 255, 0.95);
  background: linear-gradient(116deg, rgba(238, 217, 255, 0.22) 0%, rgba(209, 172, 214, 0.18) 48%, rgba(202, 223, 145, 0.18) 100%);
  box-shadow: 0 0 22px rgba(209, 172, 214, 0.16);
  outline: none;
}

.iconic-cta-email.is-copied,
.iconic-cta-email.is-copied:hover,
.iconic-cta-email.is-copied:focus-visible {
  border-color: rgba(202, 223, 145, 0.48);
  background: rgba(202, 223, 145, 0.08);
  color: rgba(202, 223, 145, 0.86);
  cursor: default;
  box-shadow: none;
}

.iconic-cta-link img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.iconic-cta-copy-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.iconic-cta-copy-icon::before,
.iconic-cta-copy-icon::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 13px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
}

.iconic-cta-copy-icon::before {
  right: 1px;
  bottom: 1px;
}

.iconic-cta-copy-icon::after {
  top: 1px;
  left: 1px;
  opacity: 0.72;
}

.iconic-cta-email.is-copied .iconic-cta-copy-icon::before {
  top: 1px;
  left: 3px;
  width: 10px;
  height: 6px;
  border-width: 0 0 2px 2px;
  border-radius: 0;
  transform: rotate(-45deg);
}

.iconic-cta-email.is-copied .iconic-cta-copy-icon::after {
  display: none;
}

.iconic-cta-footer {
  align-self: stretch;
  margin: 20px 0 0;
  color: rgba(247, 244, 229, 0.42);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.experience-inner {
  display: flex;
  width: 100%;
  max-width: 1202px;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
  margin: 0 auto;
  padding-top: 0;
}

.experience-title {
  width: 100%;
  margin: 0;
  color: #cadf91;
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0;
}

.experience-grid {
  width: 100%;
  overflow: hidden;
}

.experience-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.experience-card {
  display: flex;
  min-width: 0;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-radius: 16px;
  background: #1c1c1c;
  overflow: hidden;
}

.experience-card-falcoria {
  flex: 0 0 390px;
}

.experience-card-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.experience-card-heading {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.experience-card-topline {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.experience-company {
  display: flex;
  min-width: max-content;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
}

.experience-logo {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.experience-logo-falcoria {
  border: 1px solid #ffd3cb;
  background: #2e2e2e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.experience-logo-td {
  border: 1px solid #e7ffff;
  background: linear-gradient(179deg, #e7ffff 1.23%, #c3eaff 99.6%);
}

.experience-logo-td img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.experience-logo-kaspersky {
  border: 1px solid #666666;
  background: #0c0d09;
}

.experience-logo-kaspersky img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.experience-title-stack {
  display: flex;
  min-width: max-content;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  overflow: visible;
}

.experience-title-stack h3,
.experience-title-stack p,
.experience-description,
.experience-card time {
  margin: 0;
  line-height: normal;
  letter-spacing: 0;
}

.experience-title-stack h3 {
  width: 100%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.experience-title-stack p {
  width: 100%;
  color: #999999;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.experience-card time {
  flex: 0 0 auto;
  color: #999999;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.experience-divider {
  width: 100%;
  height: 1px;
  background: #404040;
}

.experience-description {
  width: 100%;
  color: #d1d1d1;
  font-size: 16px;
  font-weight: 400;
}

.experience-download {
  appearance: none;
  display: inline-flex;
  width: 147px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid #eed9ff;
  border-radius: 40px;
  background: #eed9ff;
  color: #000000;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 260ms ease,
    background 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-download:hover,
.experience-download:focus-visible {
  border-color: rgba(238, 217, 255, 0.92);
  background: linear-gradient(118deg, #f2c8ff 0%, #eed9ff 44%, #cadf91 100%);
  box-shadow: 0 12px 28px rgba(238, 217, 255, 0.16), 0 0 28px rgba(202, 223, 145, 0.13);
}

.experience-download:focus-visible {
  outline: 1px solid rgba(238, 217, 255, 0.78);
  outline-offset: 4px;
}

body:not(.case-detail-view) .about-back,
body:not(.case-detail-view) .about-socials,
body:not(.case-detail-view) .cases-socials,
body:not(.case-detail-view) .playground-socials {
  display: none;
}

body:not(.case-detail-view) .cases-header {
  min-height: 430px;
  padding-top: 170px;
}

body:not(.case-detail-view) .cases-intro-copy {
  color: #f7f4e5;
  font-size: clamp(21px, 1.95vw, 26px);
  font-weight: 500;
  line-height: 1.2;
}

body:not(.case-detail-view) .about-page-statement {
  color: #f7f4e5;
  font-size: clamp(21px, 1.95vw, 26px);
  font-weight: 500;
  line-height: 1.2;
}

body:not(.case-detail-view) .cases-viewport {
  padding-bottom: 96px;
}

body:not(.case-detail-view) .cases-stack {
  padding-bottom: 0;
}

.playground-collage {
  position: relative;
  z-index: 2;
  width: min(933.818px, calc(100vw - 160px));
  aspect-ratio: 933.818 / 1493;
  height: auto;
  margin: 166px auto 0;
  padding: 0;
}

.playground-collage img,
.playground-video-block img,
.playground-phone-showcase img {
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.playground-crypto {
  position: absolute;
  left: 5.1%;
  top: 0;
  z-index: 2;
  width: 31.9%;
  border-radius: 24px;
  transform: rotate(24.24deg);
}

.playground-controls {
  position: absolute;
  left: 16.8%;
  top: 20.6%;
  z-index: 5;
  width: 7.4%;
  height: 13.8%;
  object-fit: contain;
}

.playground-phone-toniks {
  position: absolute;
  left: 35.5%;
  top: 13.2%;
  z-index: 3;
  width: 35%;
}

.playground-phone-book {
  position: absolute;
  left: 0;
  top: 39.8%;
  z-index: 2;
  width: 28.9%;
  transform: rotate(-5.6deg);
}

.playground-card {
  position: absolute;
  left: 45.8%;
  top: 58.3%;
  z-index: 4;
  width: 22.3%;
}

.playground-long {
  position: absolute;
  right: 0;
  top: 9.9%;
  z-index: 1;
  width: 25.2%;
  object-fit: cover;
  object-position: top center;
}

.playground-collage .playground-long {
  height: 90.1%;
}

.playground-video-block {
  position: relative;
  width: 551px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 100px auto 0;
  overflow: hidden;
  border-radius: 24px;
}

.playground-video-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playground-phone-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(949px, calc(100vw - 160px));
  margin: 100px auto 0;
  align-items: flex-start;
  justify-content: center;
  gap: 23px;
}

.playground-phone-showcase img {
  width: 301px;
  max-width: calc((100% - 46px) / 3);
}

@keyframes playground-concept-scale {
  0% {
    opacity: 0.68;
    transform: translateY(42px) scale(0.94);
  }

  22% {
    opacity: 1;
    transform: translateY(0) scale(1.045);
  }

  58% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0.72;
    transform: translateY(-34px) scale(0.92);
  }
}

.playground-collage,
.playground-video-block,
.playground-phone-showcase {
  transform-origin: center center;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .playground-collage,
  .playground-video-block,
  .playground-phone-showcase {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.case-detail-page {
  display: none;
}

body.case-detail-view.case-falcoria-detail-view #case-falcoria,
body.case-detail-view.case-trading-detail-view #case-trading {
  display: block;
  width: calc(100% - 48px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--background);
  border-radius: 24px;
  color: #f4f6fb;
  overflow: hidden;
}

.trading-detail-page {
  --trading-lime: #cdfa2b;
  --trading-panel: #171819;
  --trading-card: #2d2e30;
  --trading-muted: rgba(244, 246, 251, 0.68);
}

.trading-case-inner {
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto;
  padding: 146px 0 180px;
}

.trading-case-hero {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.trading-case-heading {
  display: flex;
  gap: 80px;
  align-items: flex-end;
  justify-content: space-between;
}

.trading-case-title-group {
  display: flex;
  max-width: 800px;
  flex-direction: column;
  gap: 32px;
}

.trading-case-title-group h2 {
  margin: 0;
  color: #f4f6fb;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.trading-case-lead {
  width: min(710px, 100%);
  margin: 0;
  color: #f4f6fb;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.trading-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
}

.trading-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.trading-hero-media {
  width: 100%;
  background: linear-gradient(120deg, #20c9ef 0%, #2f78ff 100%);
}

.trading-case-stack {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 132px;
}

.trading-case-section {
  display: grid;
  grid-template-columns: minmax(280px, 388px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.trading-section-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trading-section-kicker {
  margin: 0 0 8px;
  color: var(--trading-lime);
  font-family: "Inter", "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.trading-section-copy h3 {
  margin: 0;
  color: #f4f6fb;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.trading-section-copy p:not(.trading-section-kicker) {
  margin: 0;
  color: var(--trading-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.trading-problem-media {
  background: #000000;
}

.trading-phone-pair,
.trading-overview-media {
  justify-self: center;
  width: min(792px, 100%);
  background: #000000;
  border-radius: 0;
}

.trading-overview-media {
  width: min(801px, 100%);
}

.trading-wide-media,
.trading-api-media {
  grid-column: 1 / -1;
  width: 100%;
  background: #151515;
}

.trading-settings-section,
.trading-api-section {
  grid-template-columns: 1fr;
  gap: 40px;
}

.trading-settings-section .trading-section-copy,
.trading-api-section .trading-section-copy {
  width: min(720px, 100%);
}

.trading-filters-section {
  grid-template-columns: 1fr;
  gap: 40px;
}

.trading-filters-section .trading-section-copy {
  width: min(760px, 100%);
}

.trading-extra-wide-media {
  width: 100%;
  background: #000000;
  border-radius: 0;
}

.trading-menu-section,
.trading-spacing-section {
  grid-template-columns: minmax(280px, 480px) minmax(280px, 544px);
  justify-content: center;
}

.trading-menu-media,
.trading-spacing-media {
  justify-self: center;
  width: min(544px, 100%);
  background: #000000;
  border-radius: 0;
}

.trading-menu-media {
  width: min(516px, 100%);
}

body.case-detail-view.case-trading-detail-view #case-trading {
  width: 100%;
  margin: 0;
  background: #151515;
  border-radius: 0;
}

.trading-detail-page .trading-case-inner {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: none;
  flex-direction: column;
  gap: 120px;
  margin: 0;
  padding: 120px 120px 180px;
}

.trading-layout-block {
  display: grid;
  width: 100%;
  place-items: center;
  margin: 0;
  overflow: visible;
}

.trading-layout-block img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.trading-layout-hero img {
  max-width: 1500px;
}

.trading-layout-pair img {
  width: min(100%, 801px);
}

.trading-layout-wide img {
  max-width: 100%;
}

.trading-layout-columns {
  grid-template-columns: minmax(0, 516px) minmax(0, 544px);
  gap: 120px;
  align-items: start;
  justify-content: center;
}

.trading-layout-columns img {
  width: 100%;
}

body.case-detail-view.case-trading-detail-view #case-trading {
  width: 100%;
  margin: 0;
  background: #0c0d09;
  border-radius: 0;
  color: #f3f5f5;
}

.trading-detail-page .trading-case-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 156px 120px 180px;
}

.trading-case-hero,
.trading-case-main,
.trading-decision {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trading-case-hero {
  gap: 120px;
}

.trading-case-main {
  gap: 100px;
  margin-top: 56px;
}

.trading-case-heading,
.trading-case-intro,
.trading-challenge-group,
.trading-challenge,
.trading-decisions-block,
.trading-decisions-title,
.trading-impact-section,
.trading-case-switcher {
  width: 1200px;
  max-width: 100%;
}

.trading-case-heading {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.trading-case-heading h2 {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin: 0;
  color: #f4f6fb;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.28px;
}

.trading-case-headline-row {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
}

.trading-case-tags {
  display: flex;
  align-items: flex-start;
}

.trading-case-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid #f4f6fb;
  border-radius: 50px;
  color: #f4f6fb;
  font-family: "Inter", "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.trading-case-meta {
  display: flex;
  gap: 56px;
  justify-content: flex-end;
  color: #f4f6fb;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.54px;
}

.trading-case-meta div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trading-case-meta p,
.trading-case-meta strong {
  margin: 0;
}

.trading-case-meta p {
  color: #dddddd;
  font-weight: 400;
}

.trading-case-meta strong {
  color: #f4f6fb;
  font-weight: 500;
}

.trading-case-intro {
  display: grid;
  grid-template-columns: 881px 280px;
  gap: 20px;
  align-items: stretch;
}

.trading-about-card,
.trading-disclaimer-card,
.trading-dark-panel {
  border-radius: 24px;
  background: #141414;
}

.trading-about-card {
  display: flex;
  min-height: 285px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: 32px;
  background: #161616;
}

.trading-brand-mark {
  display: block;
  width: 260px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.trading-about-card p {
  margin: 0;
  color: #e8e6e6;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.trading-disclaimer-card {
  display: flex;
  min-height: 285px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 24px;
  border-radius: 32px;
  background: #d0f246;
  color: #000000;
}

.trading-disclaimer-card span {
  display: inline-flex;
  align-self: center;
  padding: 8px 16px;
  border-radius: 12px;
  background: #1e1e1e;
  color: #ffffff;
  font-family: "Inter", "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: -5px 4px 9.35px #ffffff;
}

.trading-disclaimer-card p {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  color: #000000;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.trading-dark-panel {
  box-sizing: border-box;
  width: 1000px;
  max-width: 100%;
  overflow: hidden;
}

.trading-dark-panel img {
  display: block;
  max-width: 100%;
  height: auto;
}

.trading-hero-shot {
  display: grid;
  height: auto;
  place-items: center;
  padding: 0;
  background: transparent;
  border-radius: 24px;
}

.trading-hero-shot img {
  width: 1000px;
  max-width: 100%;
  border-radius: 24px;
}

.trading-text-section {
  display: grid;
  width: 1000px;
  max-width: 100%;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.trading-api-decision .trading-text-section {
  grid-template-columns: 520px minmax(0, 1fr);
}

.trading-problem-group {
  display: flex;
  width: 1200px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.trading-text-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trading-text-heading img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 7px;
}

.trading-text-heading h3 {
  margin: 0;
  color: #d0f246;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.trading-text-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trading-text-copy p {
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: -0.1px;
}

.trading-text-copy strong {
  color: #d0f246;
  font-weight: 700;
}

.trading-before-panel {
  display: flex;
  height: 564px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 56px 32px;
}

.trading-before-panel h3 {
  margin: 0;
  color: #d7d6d6;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.trading-before-panel img {
  width: 760px;
}

.trading-research-panel {
  display: grid;
  grid-template-columns: 415px 289px;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 32px 56px;
}

.trading-research-panel p {
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.trading-research-panel img {
  width: 289px;
  height: 195px;
  object-fit: cover;
  object-position: 10% 0;
  border-radius: 24px;
}

.trading-challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trading-challenge-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.trading-thinking-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 13px;
  background: linear-gradient(252deg, #ffffff 45%, #d0f246 93%);
}

.trading-thinking-icon img {
  width: 32px;
  height: 32px;
}

.trading-challenge h3 {
  margin: 10px 0 0;
  color: #d0f246;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.44px;
  text-align: center;
}

.trading-challenge p {
  width: 792px;
  max-width: 100%;
  margin: 0;
  color: rgba(223, 228, 236, 0.86);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.56px;
  text-align: center;
}

.trading-challenge-cards {
  position: relative;
  width: 787px;
  max-width: 100%;
  height: 187px;
}

.trading-challenge-card {
  position: absolute;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: 16px;
  background: #282828;
  color: #d1d1d1;
}

.trading-challenge-card p {
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-align: center;
  white-space: nowrap;
}

.trading-challenge-card-left {
  left: 0;
  top: 23px;
  width: 274px;
  transform: rotate(-16.9deg);
}

.trading-challenge-card-center {
  left: 254px;
  top: 0;
  background: #1c1c1c;
}

.trading-challenge-card-right {
  left: 499px;
  top: 21px;
  transform: rotate(16.9deg);
}

.trading-decisions-title {
  margin: 0;
  color: rgba(244, 246, 251, 0.58);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.56px;
  text-align: center;
}

.trading-impact-section h3 {
  margin: 0;
  color: #cacaca;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.08px;
  text-align: center;
}

.trading-decisions-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.trading-decision {
  gap: 56px;
  width: 1200px;
  max-width: 100%;
}

.trading-phone-pair-panel {
  display: grid;
  place-items: center;
  padding: 24px;
}

.trading-phone-pair-panel img {
  width: 528px;
}

.trading-overview-panel {
  display: grid;
  grid-template-columns: 331px 534px;
  gap: 56px;
  align-items: end;
  justify-content: center;
  padding: 24px;
}

.trading-overview-panel blockquote {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #312f2f;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.36px;
}

.trading-overview-panel img {
  width: 534px;
}

.trading-tabs-panel {
  position: relative;
  display: grid;
  grid-template-columns: 430px 315px;
  gap: 32px;
  justify-content: center;
  min-height: 517px;
  padding: 24px;
}

.trading-tabs-panel > p {
  align-self: end;
  margin: 0;
  padding: 16px;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.36px;
}

.trading-tabs-panel > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.trading-tabs-panel > div > p {
  margin: 0;
  color: #f3f5f5;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.trading-tabs-panel img {
  width: 315px;
}

.trading-popup-panel {
  display: grid;
  height: 640px;
  place-items: center;
  padding: 24px;
}

.trading-popup-panel img {
  width: 907px;
}

.trading-subcopy-section .trading-text-heading {
  opacity: 0;
}

.trading-subcopy-section {
  margin-bottom: -24px;
}

.trading-settings-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 44px 24px;
}

.trading-settings-panel img {
  width: 906px;
}

.trading-api-panel {
  display: grid;
  grid-template-columns: 513px 366px;
  gap: 32px;
  align-items: start;
  justify-content: center;
  padding: 24px;
}

.trading-api-panel > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.trading-api-panel p {
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-family: "Inter", "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.trading-api-panel img {
  width: 100%;
}

.trading-impact-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.trading-impact-section h3 {
  color: #d0f246;
  letter-spacing: 0;
}

.trading-impact-row {
  display: grid;
  grid-template-columns: 536px 300px 300px;
  gap: 32px;
  align-items: start;
}

.trading-impact-row > p {
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.trading-impact-row article {
  display: flex;
  height: 212px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 24px;
  background: #f3f5f5;
}

.trading-impact-row article.is-accent {
  background: #d0f246;
}

.trading-impact-row strong {
  color: #1b1d24;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.trading-impact-row span {
  color: #515164;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.32px;
}

.trading-case-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-bottom-switcher {
  justify-content: flex-end;
  margin-top: 120px;
}

.case-bottom-switcher a {
  position: relative;
}

.case-bottom-preview {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 0;
  display: block;
  width: 230px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  filter: none;
  transform: translate(-50%, 8px) scale(0.92);
  transform-origin: center bottom;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms ease;
}

.case-bottom-preview img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.trading-case-switcher a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 246, 251, 0.58);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-decoration: none;
  transition:
    filter 180ms ease,
    text-shadow 180ms ease,
    color 180ms ease;
}

.trading-case-switcher img {
  width: 28px;
  height: 28px;
  opacity: 0.58;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.trading-case-switcher .case-bottom-preview img {
  width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
}

.trading-case-arrow-next {
  transform: rotate(180deg);
}

.trading-case-switcher a:hover,
.trading-case-switcher a:focus-visible,
.trading-case-switcher a:active {
  background: linear-gradient(118deg, #f2c8ff 0%, #eed9ff 44%, #cadf91 100%);
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 0 12px rgba(242, 200, 255, 0.38))
    drop-shadow(0 0 22px rgba(202, 223, 145, 0.22));
}

.case-bottom-switcher a:hover,
.case-bottom-switcher a:focus-visible,
.case-bottom-switcher a:active {
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .case-bottom-switcher a:hover .case-bottom-preview,
  .case-bottom-switcher a:focus-visible .case-bottom-preview {
    opacity: 1;
    filter: none;
    transform: translate(-50%, 0) scale(1);
  }
}

.trading-case-switcher a:hover img,
.trading-case-switcher a:focus-visible img,
.trading-case-switcher a:active img {
  opacity: 1;
  filter:
    brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(967%) hue-rotate(31deg) brightness(101%) contrast(95%)
    drop-shadow(0 0 12px rgba(242, 200, 255, 0.38))
    drop-shadow(0 0 22px rgba(202, 223, 145, 0.22));
}

.case-bottom-switcher a:hover .case-bottom-preview img,
.case-bottom-switcher a:focus-visible .case-bottom-preview img,
.case-bottom-switcher a:active .case-bottom-preview img {
  width: 100%;
  height: auto;
  filter: none;
}

.case-bottom-switcher a:hover > img,
.case-bottom-switcher a:focus-visible > img,
.case-bottom-switcher a:active > img {
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(967%) hue-rotate(31deg) brightness(101%) contrast(95%);
}

.trading-case-switcher a:focus-visible {
  outline: 2px solid rgba(242, 200, 255, 0.86);
  outline-offset: 4px;
}

.case-detail-footer {
  width: 1200px;
  max-width: 100%;
  margin: 86px auto 0;
  color: rgba(247, 244, 229, 0.42);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

body.case-detail-view .about-back,
body.case-detail-view .about-socials {
  position: fixed;
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
}

body.case-detail-view .case-detail-back {
  letter-spacing: 0;
}

.case-detail-inner {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 146px 0 32px;
}

.case-detail-hero {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  padding-bottom: 100px;
}

.case-detail-heading {
  display: flex;
  width: 100%;
  gap: 80px;
  align-items: flex-end;
  justify-content: space-between;
}

.case-detail-title-group {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 32px;
}

.case-detail-title-group h2 {
  margin: 0;
  color: #f4f6fb;
  font-size: 64px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.03em;
}

.case-another-title {
  margin: 0;
  color: #f4f6fb;
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.03em;
}

.case-detail-tags {
  display: flex;
  align-items: flex-start;
}

.case-detail-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid #f4f6fb;
  border-radius: 50px;
  color: #f4f6fb;
  font-family: "Inter", "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.case-detail-meta {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  min-width: 0;
  color: #f4f6fb;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.03em;
}

.case-detail-meta div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-detail-meta p,
.case-detail-meta strong {
  margin: 0;
}

.case-detail-meta p {
  color: rgba(244, 246, 251, 0.58);
  font-weight: 400;
}

.case-detail-meta strong {
  color: rgba(244, 246, 251, 0.82);
  font-weight: 500;
}

.case-detail-about-project {
  display: grid;
  width: min(1000px, 100%);
  grid-template-columns: 219px minmax(0, 625px);
  gap: 160px;
  align-items: start;
  margin: 112px auto 0;
}

.case-detail-about-project h3 {
  margin: 0;
  color: #6687ff;
  font-size: 32px;
  font-weight: 600;
  line-height: 58px;
  letter-spacing: -0.04em;
}

.case-detail-about-project p {
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.case-detail-hero-media {
  position: relative;
  display: grid;
  width: min(1000px, 100%);
  aspect-ratio: 3 / 2;
  height: auto;
  place-items: center;
  overflow: hidden;
  border-radius: 32px;
  clip-path: inset(0 round 32px);
  margin: 56px auto 0;
  transform: none;
}

.case-mini-shot,
.case-tall-shot,
.case-ui-sidebar,
.case-large-phone-placeholder {
  background:
    linear-gradient(180deg, rgba(231, 255, 255, 0.96) 0%, rgba(195, 234, 255, 0.96) 100%);
}

.case-detail-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  clip-path: inherit;
  object-fit: contain;
  transform: none;
}

.case-detail-stack {
  display: flex;
  width: min(1000px, 100%);
  flex-direction: column;
  gap: 120px;
  margin: 0 auto;
}

.case-detail-hero > .case-detail-about-project,
.case-detail-hero > .case-detail-hero-media,
.case-detail-stack > .case-challenge-section,
.case-detail-stack > .case-panel-navigation,
.case-detail-stack > .case-panel-empty-state,
.case-detail-stack > .case-panel-import-xml,
.case-detail-stack > .case-panel-guided,
.case-detail-stack > .case-panel-results,
.case-detail-stack > .case-panel-filters {
  display: none;
}

.case-study-section {
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
}

.case-about-section {
  gap: 44px;
}

.case-about-section .case-detail-hero-media {
  margin-top: 0;
}

.case-about-section .case-section-heading h3 {
  line-height: 32px;
  transform: translateY(-4px);
}

.case-section-heading {
  display: grid;
  width: 100%;
  grid-template-columns: 380px minmax(0, 596px);
  gap: 24px;
  align-items: start;
}

.case-section-heading > * {
  min-width: 0;
}

.case-section-heading h3 {
  margin: 0;
  color: #6687ff;
  font-size: 32px;
  font-weight: 600;
  line-height: 58px;
  letter-spacing: -0.04em;
}

.case-section-heading p,
.case-section-heading li {
  margin: 0;
  max-width: 596px;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.case-section-heading-icon h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #6687ff;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0;
}

.case-section-heading-icon h3 img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.case-section-heading-icon p,
.case-section-heading-icon li {
  color: rgba(232, 230, 230, 0.72);
  font-weight: 400;
}

.case-section-heading ol {
  margin: 0;
  padding-left: 27px;
  color: #cbd3df;
}

.case-section-heading strong {
  font-weight: 600;
}

.case-challenge-overview {
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
}

.case-challenge-title-block {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.case-challenge-title-block h3 {
  margin: 0;
  color: #6687ff;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.case-insights-section > h3 {
  margin: 0;
  color: #6687ff;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.case-challenge-title-block p {
  width: min(673px, 100%);
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
}

.case-challenge-title-block p span {
  display: block;
}

.case-challenge-title-block > div {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.case-challenge-icon {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
}

.case-challenge-icon-back,
.case-challenge-icon-border,
.case-challenge-icon img {
  grid-area: 1 / 1;
}

.case-challenge-icon-back {
  display: none;
}

.case-challenge-icon-border {
  width: 50px;
  height: 50px;
  border: 1px solid #ffffff;
  border-radius: 13px;
  background: linear-gradient(252deg, #ffffff 45%, #6687ff 93%);
}

.case-challenge-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  z-index: 1;
}

.case-challenge-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-challenge-grid::after {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 20px;
  background: #6687ff;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.case-challenge-grid article {
  display: flex;
  min-height: 204px;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.case-challenge-grid span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 500;
}

.case-challenge-grid h4 {
  margin: 0;
  color: rgba(244, 246, 251, 0.84);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-insights-section h4 {
  margin: 0;
  color: #f4f6fb;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-challenge-grid p {
  margin: -16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.005em;
}

.case-study-section .case-panel-challenge,
.case-study-section .case-panel-empty-state,
.case-study-section .case-panel-import-xml,
.case-study-section .case-panel-guided,
.case-study-section .case-panel-results,
.case-study-section .case-panel-filters {
  display: flex;
}

.case-detail-panel {
  overflow: hidden;
  border-radius: 32px;
}

.case-panel-dark {
  background: #161616;
  color: #f4f6fb;
}

.case-panel-light {
  background:
    linear-gradient(179deg, #e7ffff 1%, #e7ffff 56%, #e0fbff 66%, #d8f6ff 77%, #cef0ff 86%, #c3eaff 100%);
  color: #000000;
}

.case-challenge-section {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.case-challenge-intro {
  display: grid;
  width: min(1000px, 100%);
  grid-template-columns: 219px minmax(0, 625px);
  gap: 160px;
  align-items: start;
}

.case-challenge-intro h3 {
  margin: 0;
  color: #6687ff;
  font-size: 32px;
  font-weight: 600;
  line-height: 58px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.case-challenge-intro p {
  margin: 0;
  color: rgba(244, 246, 251, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.case-panel-challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
}

.case-panel-copy {
  display: flex;
  width: min(642px, 100%);
  flex-direction: column;
  gap: 12px;
}

.case-panel-copy h3 {
  margin: 0 0 8px;
  color: #f4f6fb;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.03em;
}

.case-panel-copy p,
.case-detail-panel > p {
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.03em;
}

.case-panel-images {
  display: flex;
  width: 100%;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.case-mini-shot {
  width: min(466px, 48%);
  height: 116px;
  overflow: hidden;
  border-radius: 24px;
  background: #2d2d2e;
}

.case-tall-shot {
  width: min(402px, 45%);
  height: 403px;
  overflow: hidden;
  border-radius: 24px;
  background: #2d2d2e;
}

.case-mini-shot img,
.case-tall-shot img,
.case-ui-sidebar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-mini-shot img {
  object-fit: cover;
}

.case-panel-split {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(260px, 364px);
  gap: 32px;
  padding: 32px;
  align-items: start;
  justify-content: center;
}

.case-panel-navigation {
  background: transparent;
}

.case-panel-navigation img {
  display: block;
  width: 100%;
  height: auto;
}

.case-study-section .case-panel-empty-state {
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.case-study-section .case-empty-state-media {
  width: 100%;
  padding: 0;
  border-radius: 24px;
  background: transparent;
  overflow: visible;
}

.case-study-section .scope-projects-shot {
  width: 362px;
  aspect-ratio: 362 / 304;
}

.case-study-section .scope-actions-shot {
  width: 560px;
  aspect-ratio: 560 / 303;
}

.case-study-section .case-starting-shot {
  display: block;
  position: relative;
  flex: 0 0 auto;
  border-radius: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.case-study-section .case-starting-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #6c7584;
  border-radius: inherit;
  box-sizing: border-box;
  pointer-events: none;
}

.case-study-section .case-starting-shot img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
}

.case-study-section .case-panel-import-xml,
.case-study-section .case-panel-guided,
.case-study-section .case-panel-results,
.case-study-section .case-panel-filters {
  padding: 0;
  background: transparent;
}

.case-study-section .case-import-xml-media,
.case-study-section .case-large-phone-placeholder,
.case-study-section .case-results-media,
.case-study-section .case-filters-media {
  border-radius: 32px;
}

.case-study-section .case-panel-results,
.case-study-section .case-panel-filters {
  min-height: 0;
}

.case-study-section .case-results-media {
  min-height: 1052px;
}

.case-study-section .case-filters-media {
  min-height: 632px;
  padding: 32px;
}

.case-study-section .case-filters-media img {
  width: 100%;
  max-width: 100%;
  border-radius: 24px;
}

.case-insights-section {
  display: flex;
  width: min(1000px, 100%);
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin: 100px auto 0;
}

.case-insights-section > h3 {
  width: 380px;
  align-self: center;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0;
  text-align: center;
}

.case-insights-section article {
  display: flex;
  width: min(700px, 100%);
  flex-direction: column;
  gap: 12px;
}

.case-insights-section h4 {
  color: #e8e6e6;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.case-insights-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.01em;
}

.case-panel-split > .case-panel-copy > p {
  color: #e8e6e6;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-wrap: pretty;
}

.case-panel-split > .case-panel-copy {
  gap: 80px;
}

.case-annotation-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}

.case-annotation-list p {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
  color: #e8e6e6;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.case-annotation-list p::after {
  content: "";
  flex: 0 0 64px;
  width: 64px;
  height: 6px;
  background: url("./assets/case-arrow.svg") center / contain no-repeat;
  filter: invert(1) brightness(1.4);
}

.case-annotation-list.light p {
  color: #000000;
  font-size: 15px;
  line-height: 18px;
}

.case-annotation-list.light p::after {
  filter: none;
}

.case-ui-sidebar {
  display: grid;
  height: 452px;
  place-items: center;
  padding: 32px;
  border-radius: 24px;
  background: #2d2d2e;
}

.case-panel-empty-state {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
}

.case-panel-empty-state > p {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: #e8e6e6;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.03em;
}

.case-empty-state-media {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: #2d2d2e;
}

.case-empty-state-media img {
  display: block;
  height: 161px;
  object-fit: cover;
}

.scope-projects-shot {
  width: 192px;
}

.scope-actions-shot {
  width: 296px;
}

.case-panel-import-xml {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding-top: 32px;
}

.case-panel-import-xml > p {
  width: min(624px, calc(100% - 64px));
  margin: 0 32px;
  color: #e8e6e6;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.03em;
}

.case-import-xml-media {
  display: grid;
  width: 100%;
  min-height: 899px;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(179deg, #e7ffff 1.23%, #e7ffff 56.39%, #e0fbff 66.18%, #d8f6ff 77.02%, #cef0ff 86.27%, #c3eaff 99.6%);
}

.case-import-xml-media img {
  display: block;
  width: min(920px, calc(100% - 56px));
  height: auto;
}

.case-panel-guided {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: auto;
  align-items: flex-start;
  padding: 32px 0 0;
  background: #161616;
  overflow: hidden;
}

.case-panel-guided > .case-guided-intro {
  box-sizing: border-box;
  width: min(624px, 100%);
  margin: 0;
  padding: 0 32px;
  color: #e8e6e6;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.03em;
}

.case-large-phone-placeholder {
  display: grid;
  width: 100%;
  height: auto;
  place-items: center;
  padding: 48px 32px;
  border-radius: 32px;
  background:
    linear-gradient(179deg, #e7ffff 1%, #e7ffff 56%, #e0fbff 66%, #d8f6ff 77%, #cef0ff 86%, #c3eaff 100%);
  box-shadow: none;
  overflow: visible;
}

.case-large-phone-placeholder img {
  display: block;
  width: min(760px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.case-panel-results {
  display: flex;
  min-height: 1260px;
  flex-direction: column;
  gap: 56px;
  padding: 32px 0 0;
  overflow: hidden;
}

.case-panel-results > p,
.case-panel-filters > p {
  width: min(560px, calc(100% - 64px));
  margin: 0 32px;
  color: #e8e6e6;
  font-weight: 500;
}

.case-results-media {
  display: grid;
  width: 100%;
  min-height: 1052px;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(179deg, #e7ffff 1.23%, #e7ffff 56.39%, #e0fbff 66.18%, #d8f6ff 77.02%, #cef0ff 86.27%, #c3eaff 99.6%);
}

.case-results-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.case-panel-filters {
  display: flex;
  min-height: 792px;
  flex-direction: column;
  gap: 56px;
  padding: 32px 0 0;
}

.case-filters-media {
  display: grid;
  width: 100%;
  min-height: 632px;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(179deg, #e7ffff 1.23%, #e7ffff 56.39%, #e0fbff 66.18%, #d8f6ff 77.02%, #cef0ff 86.27%, #c3eaff 99.6%);
}

.case-filters-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.case-another-section {
  display: none;
  width: min(1200px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 56px;
  margin: 100px auto 0;
}

.case-another-section .case-another-title {
  width: min(590px, 100%);
  margin: 0;
  text-align: center;
}

.case-more-grid {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px 30px;
  align-items: flex-start;
  justify-content: center;
}

.case-more-card {
  display: flex;
  width: 380px;
  flex-direction: column;
  gap: 32px;
  color: #f4f6fb;
}

.case-more-media {
  width: 100%;
  height: 390px;
  overflow: hidden;
  border-radius: 24px;
  background: #151515;
}

.case-more-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 420ms ease;
}

.case-more-card:hover .case-more-media img,
.case-more-card:focus-within .case-more-media img {
  transform: scale(1.05);
}

.case-more-copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

.case-more-heading {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 16px;
}

.case-more-heading h3,
.case-more-heading p {
  margin: 0;
  color: #f4f6fb;
}

.case-more-heading h3 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.case-more-heading p {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: Inter, "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.case-more-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: flex-start;
}

.case-more-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #f4f6fb;
  border-radius: 50px;
  color: #f4f6fb;
  font-family: Inter, "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.matryoshka-stage {
  position: absolute;
  top: calc(118% - (var(--about-intro-progress) * 68%));
  left: 50%;
  width: min(497px, calc(100vw - 96px));
  transform: translate(-50%, -50%);
}

.matryoshka-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.matryoshka-top,
.matryoshka-bottom {
  display: block;
  width: 100%;
  height: auto;
  opacity: clamp(0, calc(1.45 - (var(--matryoshka-open) * 1.65)), 1);
  user-select: none;
  will-change: transform, opacity;
}

.matryoshka-top {
  transform: translate(
      calc(var(--matryoshka-open) * 60vw),
      calc(var(--matryoshka-open) * -58vh)
    )
    rotate(calc(var(--matryoshka-open) * 42deg))
    scale(calc(1 - (var(--matryoshka-open) * 0.18)));
  transform-origin: 62% 72%;
}

.matryoshka-bottom {
  transform: translate(
      calc(var(--matryoshka-open) * -70vw),
      calc(var(--matryoshka-open) * 58vh)
    )
    rotate(calc(var(--matryoshka-open) * -24deg))
    scale(calc(1 - (var(--matryoshka-open) * 0.2)));
  transform-origin: 38% 22%;
}

.matryoshka-next-shell {
  position: absolute;
  top: 52px;
  left: 50%;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: translateX(-50%) scale(calc(0.72 + (var(--matryoshka-open) * 0.44)));
  transform-origin: top center;
  opacity: clamp(0, calc((var(--matryoshka-open) * 1.35) - (var(--matryoshka-next-open) * 1.15)), 1);
  user-select: none;
  will-change: opacity, transform;
}

.matryoshka-next-top,
.matryoshka-next-bottom {
  display: block;
  width: 100%;
  height: auto;
  opacity: clamp(0, calc(1.45 - (var(--matryoshka-next-open) * 1.65)), 1);
  user-select: none;
  will-change: transform, opacity;
}

.matryoshka-next-top {
  transform: translate(
      calc(var(--matryoshka-next-open) * 58vw),
      calc(var(--matryoshka-next-open) * -50vh)
    )
    rotate(calc(var(--matryoshka-next-open) * 34deg))
    scale(calc(1 - (var(--matryoshka-next-open) * 0.16)));
  transform-origin: 62% 72%;
}

.matryoshka-next-bottom {
  transform: translate(
      calc(var(--matryoshka-next-open) * -62vw),
      calc(var(--matryoshka-next-open) * 52vh)
    )
    rotate(calc(var(--matryoshka-next-open) * -20deg))
    scale(calc(1 - (var(--matryoshka-next-open) * 0.18)));
  transform-origin: 38% 22%;
}

.matryoshka-final-shell {
  position: absolute;
  top: 48px;
  left: 50%;
  z-index: 0;
  display: block;
  width: 116%;
  height: auto;
  opacity: clamp(0, calc((var(--matryoshka-next-open) - 0.08) * 1.35), 1);
  transform: translateX(-50%) scale(calc(0.62 + (var(--matryoshka-next-open) * 0.38)));
  transform-origin: top center;
  user-select: none;
  will-change: opacity, transform;
}

.next-slide.is-matryoshka-compact .matryoshka-shell,
.next-slide.is-matryoshka-compact .matryoshka-next-shell {
  opacity: 0;
  visibility: hidden;
}

.next-slide.is-matryoshka-compact .matryoshka-final-shell {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.next-slide.is-matryoshka-compact .lawyer-card,
.next-slide.is-matryoshka-compact .project-card {
  opacity: 0;
  visibility: hidden;
}

.next-slide.is-matryoshka-compact .designer-card {
  opacity: 1;
  visibility: visible;
}

.matryoshka-card {
  position: absolute;
  z-index: 4;
  width: 380px;
  padding: 16px;
  border-radius: 29px;
  background: #cadf91;
  color: #1e1e1e;
  font-size: 20px;
  line-height: normal;
  opacity: 0;
  transform: none;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.next-slide.is-matryoshka-visible .lawyer-card {
  opacity: var(--lawyer-card-opacity);
  transform: none;
}

.project-card {
  top: calc(118% - (var(--about-intro-progress) * 68%) + 90px);
  left: calc(50% + 48px);
  opacity: var(--project-card-opacity);
  transform: none;
}

.designer-card {
  top: calc(118% - (var(--about-intro-progress) * 68%) + 90px);
  left: calc(50% + 48px);
  opacity: var(--designer-card-opacity);
  transform: none;
}

.matryoshka-card h3,
.matryoshka-card p {
  margin: 0;
}

.matryoshka-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.matryoshka-card p {
  font-size: 20px;
  font-weight: 400;
}

.lawyer-card {
  top: calc(118% - (var(--about-intro-progress) * 68%) + 90px);
  left: calc(50% + 48px);
}

.mobile-break {
  display: none;
}

.mobile-line {
  display: inline;
}

.nav {
  position: absolute;
  bottom: 48px;
  left: 50%;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 54px;
  padding: 0;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(238, 217, 255, 0.72);
  border-radius: 40px;
  background: var(--background);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition:
    top 980ms cubic-bezier(0.22, 1, 0.36, 1),
    width 980ms cubic-bezier(0.22, 1, 0.36, 1),
    height 980ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 980ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: nav-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) 3950ms forwards;
}

.nav::before {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4d0c9 0%, #cbe6ec 22%, #a3ceff 51%, #c9b5d6 72%, #eaddd7 100%);
  content: "";
  filter: blur(16px);
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition: opacity 240ms ease;
  animation: explore-glow 2600ms ease-in-out infinite;
}

.nav.is-open {
  width: 702px;
  height: 116px;
  padding: 16px 24px 17px;
}

.nav.is-open::before {
  animation: none;
  opacity: 0;
}

.nav-trigger {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 40px;
  background: #0c0d09;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    color 220ms ease,
    opacity 250ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-trigger::before,
.nav-trigger::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  will-change: opacity, transform;
  animation: explore-sweep 3400ms ease-in-out infinite;
}

.nav-trigger::before {
  z-index: 0;
  background: linear-gradient(90deg, transparent 0%, #ffd3cb 18%, #b8f2ff 34%, #98c8ff 50%, #e1b2ff 66%, #ffc8af 82%, transparent 100%);
}

.nav-trigger span {
  position: absolute;
  left: 50%;
  top: 39%;
  z-index: 3;
  display: block;
  color: #ffffff;
  line-height: 1;
  mix-blend-mode: difference;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition:
    color 220ms ease;
}

.nav-trigger:hover,
.nav-trigger:focus-visible {
  color: #0c0d09;
  background: #ffffff;
  transform: scale(1.06);
}

.nav-trigger:hover span,
.nav-trigger:focus-visible span {
  color: #0c0d09;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
}

.nav-trigger:hover::before,
.nav-trigger:focus-visible::before {
  opacity: 0;
  animation-play-state: paused;
}

.nav-trigger:focus-visible {
  outline: 1px solid rgba(238, 217, 255, 0.65);
  outline-offset: 2px;
}

.nav.is-open .nav-trigger {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-24px) scale(0.9);
}

.nav.is-open .nav-trigger::before {
  animation: none;
}

.nav-links {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.92);
  transition:
    opacity 520ms ease 260ms,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.is-open .nav-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-card {
  position: relative;
  display: inline-flex;
  width: 190px;
  height: 72px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 24px;
  border-radius: 32px;
  color: #000000;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  transition:
    background-color 220ms ease,
    opacity 620ms ease,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.is-open .nav-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav.is-open .nav-card:nth-child(2) {
  transition-delay: 90ms;
}

.nav.is-open .nav-card:nth-child(3) {
  transition-delay: 180ms;
}

.nav-card-about {
  background: #b8f2ff;
}

.nav-card-work {
  background: #eed9ff;
}

.nav-card-resume {
  background: #a5a5ff;
}

.nav-card span {
  position: relative;
  z-index: 2;
}

.nav-card img {
  position: absolute;
  right: -30px;
  top: 0;
  z-index: 1;
  width: 96px;
  height: 82px;
  object-fit: contain;
  transform: rotate(-10deg);
  pointer-events: none;
}

.nav-close {
  display: inline-flex;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: url("./assets/close.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.nav.is-open .nav-card:hover,
.nav.is-open .nav-card:focus-visible {
  transform: translateY(-3px) scale(1.045);
}

.nav-close:hover,
.nav-close:focus-visible {
  transform: translateY(-2px) scale(1.08);
}

.nav.is-open .nav-close {
  transition:
    opacity 620ms ease 240ms,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1) 240ms;
}

.nav-close:hover,
.nav-close:focus-visible {
  background-image: url("./assets/close.png");
  transform: rotate(90deg);
}

.nav-card:focus-visible,
.nav-close:focus-visible {
  outline: 1px solid rgba(238, 217, 255, 0.65);
  outline-offset: 2px;
}

.hero-title {
  position: absolute;
  left: 50%;
  top: var(--hero-center-y);
  z-index: 1;
  width: max-content;
  margin: 0;
  transform: translate(-50%, -47%);
  color: var(--title);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: left center;
  will-change: color, font-size, left, top, transform;
  animation:
    title-settle 940ms cubic-bezier(0.22, 1, 0.36, 1) 2000ms forwards,
    title-dock 1400ms cubic-bezier(0.16, 1, 0.3, 1) 3050ms forwards;
}

.hero-location {
  position: absolute;
  left: var(--title-final-x);
  top: calc(var(--title-final-y) + var(--title-final-size) + 4px);
  z-index: 4;
  max-width: min(360px, calc(100vw - 48px));
  margin: 0;
  color: rgba(238, 217, 255, 0.58);
  font-size: 13px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  animation: location-enter 640ms cubic-bezier(0.22, 1, 0.36, 1) 4200ms forwards;
}

.hero-socials {
  position: absolute;
  top: 48px;
  right: clamp(68px, 8.06vw, 116px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(-12px);
  animation: social-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) 3350ms forwards;
}

.hero-socials.about-socials {
  opacity: 1;
  transform: none;
  animation: none;
}

.social-button {
  display: inline-flex;
  width: 58px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 217, 255, 0.28);
  border-radius: 40px;
  background: rgba(12, 13, 9, 0.72);
  color: rgba(238, 217, 255, 0.48);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.social-button img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 220ms ease;
}

.social-cv {
  color: rgba(238, 217, 255, 0.78);
}

.social-button:hover,
.social-button:focus-visible {
  background: rgba(238, 217, 255, 0.15);
  border-color: rgba(238, 217, 255, 0.75);
  color: rgba(238, 217, 255, 0.9);
  transform: translateY(-1px);
}

.social-button:hover img,
.social-button:focus-visible img {
  opacity: 0.9;
}

.social-button:focus-visible {
  outline: 1px solid rgba(238, 217, 255, 0.65);
  outline-offset: 2px;
}


.image-stack {
  position: absolute;
  top: var(--hero-center-y);
  left: 50%;
  z-index: 2;
  width: min(306px, 60vw);
  height: min(270px, 53vw);
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  will-change: opacity, transform;
  animation: collapse-stack 940ms cubic-bezier(0.22, 1, 0.36, 1) 2000ms forwards;
}

.stack-item {
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  max-width: 340px;
  max-height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 1px -2px 12.3px rgba(0, 0, 0, 0.1);
  filter: drop-shadow(0 24px 20px rgba(0, 0, 0, 0.28));
  opacity: 0;
  user-select: none;
  animation-duration: 860ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stack-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-item-one {
  z-index: 1;
  width: min(224px, 42vw);
  height: min(270px, 50vw);
  transform: translate(-63%, -52%) rotate(-0.14deg);
  animation-name: reveal-card-one;
  animation-delay: 260ms;
}

.stack-item-two {
  z-index: 2;
  width: min(224px, 42vw);
  height: min(270px, 50vw);
  transform: translate(-24%, -52%) rotate(-0.14deg);
  animation-name: reveal-card-two;
  animation-delay: 620ms;
}

.stack-item-three {
  z-index: 3;
  width: min(224px, 42vw);
  height: min(270px, 50vw);
  object-fit: cover;
  transform: translate(-54%, -48%) rotate(-14.41deg);
  animation-name: reveal-card-three;
  animation-delay: 980ms;
}

.stack-item-four {
  z-index: 4;
  width: min(256px, 48vw);
  height: min(253px, 47vw);
  object-fit: cover;
  transform: translate(-40%, -47%) rotate(2.16deg);
  animation-name: reveal-card-four;
  animation-delay: 1340ms;
}

body.hero-intro-complete .stack-item {
  opacity: 1;
  animation: none;
}

body.hero-intro-complete .image-stack,
body.hero-intro-complete .hero-title,
body.hero-intro-complete .hero-location,
body.hero-intro-complete .designer-question,
body.hero-intro-complete .hero-socials,
body.hero-intro-complete .hero-about,
body.hero-intro-complete .nav,
body.hero-intro-complete .nav-trigger,
body.hero-intro-complete .nav-trigger::before,
body.hero-intro-complete .nav::before {
  animation: none;
}

body.hero-intro-complete .image-stack {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

body.hero-intro-complete .hero-title {
  left: var(--title-final-x);
  top: var(--title-final-y);
  transform: translate(0, 0);
  color: rgba(238, 217, 255, 0.13);
  font-size: var(--title-final-size);
}

body.hero-intro-complete .hero-location {
  opacity: 1;
  transform: translateY(0);
}

body.hero-intro-complete .designer-question,
body.hero-intro-complete .hero-socials,
body.hero-intro-complete .hero-about {
  opacity: 1;
}

body.hero-intro-complete .designer-question {
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

body.hero-intro-complete .hero-about {
  transform: translateX(-50%) translateY(0);
}

body.hero-intro-complete .hero-socials {
  transform: translateY(0);
}

body.hero-intro-complete .nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.designer-question {
  position: absolute;
  left: 50%;
  top: 56%;
  z-index: 3;
  display: grid;
  width: min(1100px, calc(100vw - 32px));
  gap: 34px;
  justify-items: center;
  transform: translate(-50%, -50%) translateY(22px) scale(0.96);
  opacity: 0;
  color: #ffffff;
  text-align: center;
  pointer-events: none;
  animation: question-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) 3350ms forwards;
}

.designer-question h2 {
  position: relative;
  z-index: 2;
  order: 1;
  margin: 0;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.designer-question span {
  display: inline-block;
}

.headline-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.headline-main {
  color: #ffffff;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 4.45vw, 64px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.headline-note {
  margin-left: 16px;
  color: #b2b2b2;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 2.22vw, 32px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.headline-second {
  display: block;
  color: #ffffff;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 4.45vw, 64px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.05;
  white-space: nowrap;
}

.headline-second strong {
  background: linear-gradient(90deg, #ffd3cb 0%, #b8f2ff 22%, #98c8ff 51%, #e1b2ff 72%, #ffc8af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 600;
}

.headline-gradient {
  display: block;
  width: max-content;
  max-width: calc(100vw - 48px);
  color: #f7f4e5;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 3.45vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2px;
  text-align: center;
  white-space: normal;
  word-break: normal;
}

.headline-line {
  display: block;
}

.headline-second-line {
  display: block;
  white-space: nowrap;
}

.designer-question .headline-gradient,
.designer-question .headline-line,
.designer-question .headline-second-line {
  display: block;
}

.headline-product {
  color: #f7f4e5;
}

.headline-complex {
  color: #d1acd6;
  display: inline;
}

.headline-b2b {
  color: #cadf91;
  display: inline;
}

.designer-question .headline-complex,
.designer-question .headline-b2b {
  display: inline;
}

.thinking-stage {
  position: relative;
  z-index: 2;
  order: 2;
  width: min(470px, 44vw);
  aspect-ratio: 1;
  justify-self: center;
  opacity: 0.98;
}

.thinking-stage::before {
  position: absolute;
  inset: 9%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.34) 1.8px, transparent 2.2px);
  background-size: 35px 35px;
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 84%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 84%);
  content: "";
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.thinking-stage[data-step="grid"]::before,
.thinking-stage[data-step="context"]::before,
.thinking-stage[data-step="logic"]::before,
.thinking-stage[data-step="interface"]::before,
.thinking-stage[data-step="impact"]::before,
.thinking-stage[data-step="center"]::before {
  opacity: 1;
  transform: scale(1);
}

.corner-label {
  position: absolute;
  z-index: 2;
  color: rgba(238, 217, 255, 0.42);
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition:
    color 360ms ease,
    text-shadow 360ms ease,
    opacity 520ms ease,
    transform 520ms ease;
}

.corner-label::before {
  display: none;
  content: none;
}

.label-context {
  left: 16%;
  top: 4%;
  color: rgba(184, 242, 255, 0.5);
  text-align: center;
}

.label-logic {
  left: 84%;
  top: 4%;
  color: rgba(225, 178, 255, 0.5);
  text-align: center;
}

.label-logic::before,
.label-impact::before {
  margin-left: auto;
  margin-right: auto;
}

.label-interface {
  left: 16%;
  top: 56%;
  bottom: auto;
  color: rgba(255, 211, 203, 0.5);
  text-align: center;
}

.label-impact {
  left: 84%;
  top: 56%;
  bottom: auto;
  color: rgba(152, 200, 255, 0.5);
  text-align: center;
}

.thinking-stage[data-step="context"] .label-context,
.thinking-stage[data-step="logic"] .label-context,
.thinking-stage[data-step="logic"] .label-logic,
.thinking-stage[data-step="interface"] .label-context,
.thinking-stage[data-step="interface"] .label-logic,
.thinking-stage[data-step="interface"] .label-interface,
.thinking-stage[data-step="impact"] .label-context,
.thinking-stage[data-step="impact"] .label-logic,
.thinking-stage[data-step="impact"] .label-interface,
.thinking-stage[data-step="impact"] .label-impact,
.thinking-stage[data-step="center"] .corner-label {
  color: #ffffff;
  opacity: 1;
  transform: translate(-50%, 0);
  text-shadow: 0 0 18px rgba(36, 141, 255, 0.42);
}

.thinking-stage[data-step="center"] .label-context {
  left: 10%;
  top: 8%;
}

.thinking-stage[data-step="center"] .label-logic {
  left: 90%;
  top: 8%;
}

.thinking-stage[data-step="center"] .label-interface {
  left: 10%;
  top: auto;
  bottom: 6%;
}

.thinking-stage[data-step="center"] .label-impact {
  left: 90%;
  top: auto;
  bottom: 6%;
}

.final-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
}

.thinking-stage[data-step="center"] .final-lines {
  opacity: 0;
}

.final-lines path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 0.85;
  opacity: 0.72;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: none;
}

.thinking-stage[data-step="center"] .final-lines path {
  animation: reveal-line 1150ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes reveal-line {
  to {
    stroke-dashoffset: 0;
  }
}

.stage-figure {
  position: absolute;
  left: var(--stage-left);
  top: var(--stage-top);
  z-index: 5;
  width: var(--stage-width, 94px);
  opacity: 0;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32));
  transform: translate(-50%, -50%) translateY(10px) scale(0.86);
  transition:
    left 980ms cubic-bezier(0.2, 0.96, 0.16, 1),
    top 980ms cubic-bezier(0.2, 0.96, 0.16, 1),
    opacity 520ms ease,
    transform 980ms cubic-bezier(0.2, 0.96, 0.16, 1),
    filter 520ms ease;
}

.stage-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure-context {
  --stage-left: 16%;
  --stage-top: 24%;
  --stage-width: 94px;
}

.figure-logic {
  --stage-left: 84%;
  --stage-top: 24%;
  --stage-width: 108px;
}

.figure-interface {
  --stage-left: 18%;
  --stage-top: 78%;
  --stage-width: 104px;
}

.figure-impact {
  --stage-left: 84%;
  --stage-top: 78%;
  --stage-width: 98px;
}

.figure-final {
  --stage-left: 50%;
  --stage-top: 48%;
  --stage-width: 112px;
  z-index: 7;
  filter:
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 26px rgba(184, 242, 255, 0.2));
  transform: translate(-50%, -50%) translateY(12px) scale(0.78);
}

.thinking-stage[data-step="context"] .figure-context,
.thinking-stage[data-step="logic"] .figure-context,
.thinking-stage[data-step="logic"] .figure-logic,
.thinking-stage[data-step="interface"] .figure-context,
.thinking-stage[data-step="interface"] .figure-logic,
.thinking-stage[data-step="interface"] .figure-interface,
.thinking-stage[data-step="impact"] .figure-context,
.thinking-stage[data-step="impact"] .figure-logic,
.thinking-stage[data-step="impact"] .figure-interface,
.thinking-stage[data-step="impact"] .figure-impact {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.thinking-stage[data-step="center"] .figure-context,
.thinking-stage[data-step="center"] .figure-logic,
.thinking-stage[data-step="center"] .figure-interface,
.thinking-stage[data-step="center"] .figure-impact {
  left: 50%;
  top: 48%;
  opacity: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  transform: translate(-50%, -50%) scale(0.32);
}

.thinking-stage[data-step="center"] .figure-final {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.center-caption {
  position: absolute;
  left: 50%;
  top: calc(50% + 64px);
  z-index: 4;
  color: rgba(238, 217, 255, 0.72);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  white-space: nowrap;
}

.thinking-stage[data-step="center"] .center-caption {
  opacity: 1;
  transform: translate(-50%, 0);
}

.portrait-orbit {
  position: relative;
  z-index: 2;
  width: 103px;
  height: 102px;
  margin: 0 auto -24px;
  border-radius: 50%;
  background: linear-gradient(110deg, #e0c2f8 0%, #eeeeee 36%, #000000 86%);
  box-shadow: 4px -3px 14.7px rgba(208, 242, 70, 0.2);
  padding: 2px;
}

.portrait-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.hero-about {
  position: absolute;
  left: 50%;
  top: calc(34% + 210px);
  z-index: 3;
  display: grid;
  width: min(1168px, calc(100vw - 144px));
  grid-template-columns: 422px minmax(0, 1fr);
  gap: clamp(56px, 8vw, 114px);
  align-items: start;
  transform: translateX(-50%) translateY(24px);
  opacity: 0;
  animation: hero-about-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) 3500ms forwards;
}

.hero-skills {
  display: flex;
  width: 422px;
  flex-direction: column;
  gap: 24px;
  color: #8d8d8d;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-skills-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 195px));
  gap: 24px;
}

.hero-skills ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-statement {
  width: min(704px, 100%);
  margin: 0;
  color: #eed9ff;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

@keyframes reveal-card-one {
  from {
    opacity: 0;
    transform: translate(-72%, -46%) rotate(-9deg) scale(0.86);
  }

  to {
    opacity: 1;
    transform: translate(-63%, -52%) rotate(-0.14deg) scale(1);
  }
}

@keyframes reveal-card-two {
  from {
    opacity: 0;
    transform: translate(-15%, -46%) rotate(8deg) scale(0.86);
  }

  to {
    opacity: 1;
    transform: translate(-24%, -52%) rotate(-0.14deg) scale(1);
  }
}

@keyframes reveal-card-three {
  from {
    opacity: 0;
    transform: translate(-67%, -40%) rotate(-26deg) scale(0.84);
  }

  to {
    opacity: 1;
    transform: translate(-54%, -48%) rotate(-14.41deg) scale(1);
  }
}

@keyframes reveal-card-four {
  from {
    opacity: 0;
    transform: translate(-31%, -39%) rotate(15deg) scale(0.84);
  }

  to {
    opacity: 1;
    transform: translate(-40%, -47%) rotate(2.16deg) scale(1);
  }
}

@keyframes collapse-stack {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes title-settle {
  to {
    color: rgba(238, 217, 255, 0.15);
    font-size: calc(var(--title-size) - 50px);
  }
}

@keyframes title-dock {
  from {
    left: 50%;
    top: var(--hero-center-y);
    transform: translate(-50%, -47%);
    color: rgba(238, 217, 255, 0.15);
    font-size: calc(var(--title-size) - 50px);
  }

  to {
    left: var(--title-final-x);
    top: var(--title-final-y);
    transform: translate(0, 0);
    color: rgba(238, 217, 255, 0.15);
    font-size: var(--title-final-size);
  }
}

@keyframes question-enter {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
}

@keyframes nav-enter {
  to {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes social-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes location-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-about-enter {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes about-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes explore-glow {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.9);
  }

  48% {
    opacity: 0.34;
    transform: scale(1.08);
  }
}

@keyframes explore-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-115%, 0, 0);
  }

  8% {
    opacity: 1;
  }

  16% {
    opacity: 1;
    transform: translate3d(-62%, 0, 0);
  }

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

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

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

@supports (animation-timeline: view()) {
  .about-slide {
    opacity: 0;
    transform: translateY(42px);
    animation: about-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 38%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-item {
    opacity: 1;
    animation: none;
  }

  .image-stack,
  .hero-title,
  .hero-location,
  .designer-question,
  .hero-socials,
  .hero-about,
  .nav,
  .nav-trigger,
  .nav-trigger::before,
  .nav::before {
    animation: none;
  }

  .image-stack {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  .hero-title {
    left: var(--title-final-x);
    top: var(--title-final-y);
    transform: translate(0, 0);
    color: rgba(238, 217, 255, 0.15);
    font-size: var(--title-final-size);
  }

  .hero-location {
    opacity: 1;
    transform: translateY(0);
    animation: none;
  }

  .designer-question,
  .hero-socials,
  .hero-about {
    opacity: 1;
  }

  .designer-question {
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }

  .hero-about {
    transform: translateX(-50%) translateY(0);
  }

  .hero-socials {
    transform: translateY(0);
  }

  .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 700px) {
  :root {
    --hero-center-y: 45vh;
    --title-size: clamp(72px, 23vw, 118px);
    --title-final-x: 24px;
    --title-final-y: 30px;
    --title-final-size: 18px;
    --mobile-intro-title-y: 46vh;
    --mobile-intro-title-docked-y: 72px;
    --mobile-intro-title-size: clamp(42px, 12.8vw, 50px);
    --mobile-intro-title-offset: calc(var(--mobile-intro-title-y) - var(--mobile-intro-title-docked-y));
    --mobile-intro-title-scale: 0.36;
  }

  html,
  body {
    background: var(--background);
  }

  body {
    overflow-x: hidden;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body:not(.case-detail-view) .cases-page,
  body:not(.case-detail-view) .playground-page,
  body:not(.case-detail-view) .next-slide,
  body:not(.case-detail-view) .experience-page,
  body:not(.case-detail-view) .iconic-cta,
  body:not(.case-detail-view) .hero {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
  }

  body:not(.case-detail-view) .next-slide {
    height: calc(100vh + 1720px);
    border-radius: 0;
  }

  body:not(.case-detail-view) .experience-page {
    border-radius: 0;
  }

  .next-slide-sticky {
    border-radius: 0;
  }

  body:not(.case-detail-view) .cases-page::before,
  body:not(.case-detail-view) .playground-page::before,
  body:not(.case-detail-view) .next-slide::before,
  body:not(.case-detail-view) .experience-page::before,
  body:not(.case-detail-view) .iconic-cta::before {
    width: calc(100% - 32px);
    background-size: 34px 8px;
  }

  body:not(.case-detail-view) .experience-page {
    padding: 24px 16px;
  }

  body:not(.case-detail-view) .iconic-cta {
    padding: 24px 16px;
  }

  .iconic-cta-inner {
    gap: 28px;
  }

  .iconic-cta-copy h2 {
    font-size: clamp(44px, 13vw, 60px);
    line-height: 0.98;
  }

  .iconic-cta-copy p {
    max-width: 320px;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -0.3px;
  }

  .iconic-cta-copy .iconic-cta-interests {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .iconic-cta-links {
    width: 100%;
    gap: 12px;
  }

  .iconic-cta-link {
    height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .iconic-cta-email {
    min-width: min(220px, 100%);
  }

  .iconic-cta-footer {
    margin-top: 8px;
  }

  .experience-inner {
    gap: 24px;
  }

  .experience-title {
    font-size: 28px;
  }

  .experience-grid {
    flex-direction: column;
  }

  .experience-card,
  .experience-card-falcoria {
    width: 100%;
    flex: none;
    padding: 24px;
  }

  .experience-card-topline {
    flex-direction: column;
    gap: 14px;
  }

  .experience-company,
  .experience-title-stack {
    min-width: 0;
  }

  .experience-title-stack p {
    white-space: normal;
  }

  .experience-description {
    font-size: 15px;
  }

  .experience-download {
    align-self: center;
    margin: 8px auto 32px;
    border-color: rgba(238, 217, 255, 0.78);
    background: linear-gradient(118deg, #cadf91 0%, #eed9ff 58%, #f2c8ff 100%);
    background-size: 160% 160%;
    box-shadow:
      0 0 18px rgba(202, 223, 145, 0.14),
      0 0 26px rgba(238, 217, 255, 0.12);
    animation: mobileCvGlow 3.8s ease-in-out infinite;
  }

  @keyframes mobileCvGlow {
    0%,
    100% {
      background-position: 0% 50%;
      box-shadow:
        0 0 14px rgba(202, 223, 145, 0.12),
        0 0 22px rgba(238, 217, 255, 0.1);
    }

    50% {
      background-position: 100% 50%;
      box-shadow:
        0 0 22px rgba(202, 223, 145, 0.18),
        0 0 34px rgba(242, 200, 255, 0.16);
    }
  }

  body:not(.case-detail-view) .cases-viewport {
    padding-bottom: 24px;
  }

  .nav {
    top: auto;
    bottom: 24px;
    width: 164px;
    max-width: calc(100vw - 28px);
    height: 54px;
    padding: 0;
  }

  .nav.is-open {
    width: min(260px, calc(100vw - 28px));
    height: 318px;
    padding: 14px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .nav-card {
    width: min(216px, calc(100vw - 72px));
    height: 58px;
    padding: 10px 20px;
    border-radius: 26px;
    font-size: 18px;
    line-height: 26px;
  }

  .nav-card img {
    right: -24px;
    top: -1px;
    width: 78px;
    height: 66px;
  }

  .nav-close {
    order: 10;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin-top: 4px;
  }

  .hero-title {
    white-space: normal;
    text-align: center;
  }

  .hero-location {
    left: var(--title-final-x);
    top: calc(var(--title-final-y) + var(--title-final-size) + 4px);
    max-width: calc(100vw - 48px);
    font-size: 11px;
    line-height: 14px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-socials {
    top: 22px;
    right: 18px;
    gap: 8px;
  }

  .scroll-topbar {
    display: none;
  }

  .mobile-topbar {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 60;
    display: flex;
    width: calc(100% - 32px);
    height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 6px 7px;
    border: 1px solid rgba(238, 217, 255, 0.3);
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(24, 27, 25, 0.96), rgba(10, 11, 9, 0.98)),
      #0c0d09;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
    transform: translateX(-50%);
  }

  .mobile-topbar-avatar {
    display: block;
    width: 34px;
    height: 38px;
    object-fit: contain;
    filter:
      drop-shadow(0 10px 16px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 16px rgba(238, 217, 255, 0.12));
  }

  .mobile-menu-trigger {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #eed9ff;
    padding: 0;
  }

  .mobile-menu-trigger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #eed9ff;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
  }

  .mobile-menu {
    position: fixed;
    inset: 0 0 0 16px;
    z-index: 80;
    display: block;
    width: auto;
    background:
      linear-gradient(145deg, rgba(24, 27, 25, 0.98), rgba(10, 11, 9, 0.99)),
      #0c0d09;
    border-left: 1px solid rgba(238, 217, 255, 0.22);
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
    box-shadow: -22px 0 48px rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transform: translateX(102%);
    transition:
      opacity 220ms ease,
      transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mobile-menu-panel {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 18px 18px 24px;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
  }

  .mobile-menu-avatar {
    display: block;
    width: 54px;
    height: 62px;
    object-fit: contain;
  }

  .mobile-menu-close {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(238, 217, 255, 0.92);
    border-radius: 40px;
    background: #0c0d09;
    padding: 0;
  }

  .mobile-menu-close::before,
  .mobile-menu-close::after {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #eed9ff;
    content: "";
  }

  .mobile-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-menu-links a {
    display: flex;
    width: min(150px, 100%);
    min-height: 56px;
    align-items: center;
    border: 1px solid rgba(238, 217, 255, 0.2);
    border-radius: 22px;
    padding: 0 18px;
    color: #f7f4e5;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    text-decoration: none;
    background: rgba(238, 217, 255, 0.045);
  }

  .mobile-menu-location {
    width: min(210px, 100%);
    margin: auto 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(238, 217, 255, 0.16);
    border-radius: 20px;
    background: rgba(238, 217, 255, 0.04);
    color: rgba(238, 217, 255, 0.66);
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.03em;
  }

  .mobile-menu-contacts {
    margin-top: 22px;
    padding-top: 0;
  }

  .mobile-menu-contacts p {
    margin: 0 0 14px;
    color: rgba(238, 217, 255, 0.52);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .mobile-menu-socials {
    display: flex;
    gap: 10px;
  }

  .mobile-menu-socials .social-button {
    width: 54px;
    height: 40px;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .mobile-menu-socials .mobile-menu-cv {
    color: #eed9ff;
    font-family: "Golos Text", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }

  .social-button {
    width: 42px;
    height: 32px;
    font-size: 11px;
  }

  .mobile-menu-socials .social-button {
    width: 54px;
    height: 40px;
  }

  body:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero-location,
  body:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero > .hero-socials,
  body:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero > .nav {
    display: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .image-stack {
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item {
    opacity: 0;
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-one {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-two {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-three {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-four {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero-title {
    left: 50%;
    top: var(--mobile-intro-title-docked-y);
    display: block;
    width: calc(100vw - 32px);
    color: rgba(238, 217, 255, 0.13);
    font-size: var(--mobile-intro-title-size);
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%) translateY(var(--mobile-intro-title-offset));
    transform-origin: center center;
    animation: mobile-title-shrink-up 1280ms cubic-bezier(0.2, 0.82, 0.18, 1) 620ms both;
  }

  body.hero-intro-complete:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero-title {
    left: 50%;
    top: var(--mobile-intro-title-docked-y);
    display: block;
    color: rgba(238, 217, 255, 0.13);
    font-size: var(--mobile-intro-title-size);
    text-align: center;
    transform: translateX(-50%) scale(var(--mobile-intro-title-scale));
    transform-origin: center center;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .designer-question,
  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero-about {
    opacity: 0 !important;
    pointer-events: none;
    animation: none !important;
    transform: translate(-50%, -50%) translateY(32px) scale(0.96) !important;
  }

  .designer-question {
    top: 55%;
    width: calc(100vw - 28px);
    gap: 24px;
  }

  body.hero-intro-complete:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .designer-question {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(24px) scale(0.975);
    animation: mobile-question-soft-enter 1180ms cubic-bezier(0.2, 0.82, 0.18, 1) 120ms both;
  }

  @keyframes mobile-title-shrink-up {
    from {
      color: rgba(238, 217, 255, 0.13);
      width: calc(100vw - 32px);
      font-size: var(--mobile-intro-title-size);
      transform: translateX(-50%) translateY(var(--mobile-intro-title-offset)) scale(1);
    }

    to {
      color: rgba(238, 217, 255, 0.13);
      width: calc(100vw - 32px);
      font-size: var(--mobile-intro-title-size);
      transform: translateX(-50%) scale(var(--mobile-intro-title-scale));
    }
  }

  @keyframes mobile-question-soft-enter {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) translateY(28px) scale(0.97);
    }

    to {
      opacity: 1;
      transform: translate(-50%, -50%) translateY(0) scale(1);
    }
  }

  @keyframes mobile-story-card-one {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(-8deg) scale(0.72);
    }

    8%,
    82% {
      opacity: 1;
      transform: translate(-63%, -52%) rotate(-0.14deg) scale(1);
    }

    94%,
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(-0.14deg) scale(0);
    }
  }

  @keyframes mobile-story-card-two {
    0%,
    12% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(8deg) scale(0.72);
    }

    24%,
    82% {
      opacity: 1;
      transform: translate(-24%, -52%) rotate(-0.14deg) scale(1);
    }

    94%,
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(-0.14deg) scale(0);
    }
  }

  @keyframes mobile-story-card-three {
    0%,
    26% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(-20deg) scale(0.72);
    }

    40%,
    82% {
      opacity: 1;
      transform: translate(-54%, -48%) rotate(-14.41deg) scale(1);
    }

    94%,
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(-14.41deg) scale(0);
    }
  }

  @keyframes mobile-story-card-four {
    0%,
    42% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(14deg) scale(0.72);
    }

    56%,
    82% {
      opacity: 1;
      transform: translate(-40%, -47%) rotate(2.16deg) scale(1);
    }

    94%,
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(2.16deg) scale(0);
    }
  }

  .designer-question h2 {
    letter-spacing: -0.05em;
  }

  .headline-main,
  .headline-second,
  .headline-gradient {
    width: max-content;
    max-width: calc(100vw - 32px);
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.08;
    letter-spacing: -1.2px;
  }

  .headline-second-line {
    white-space: normal;
  }

  .thinking-stage {
    width: min(330px, 82vw);
  }

  .thinking-stage::before {
    inset: 8%;
    background-size: 30px 30px;
  }

  .corner-label {
    max-width: 86px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }

  .figure-context {
    --stage-left: 19%;
    --stage-top: 24%;
    --stage-width: 68px;
  }

  .figure-logic {
    --stage-left: 81%;
    --stage-top: 24%;
    --stage-width: 68px;
  }

  .figure-interface {
    --stage-left: 18%;
    --stage-top: 78%;
    --stage-width: 76px;
  }

  .figure-impact {
    --stage-left: 81%;
    --stage-top: 78%;
    --stage-width: 72px;
  }

  .figure-final {
    --stage-width: 92px;
  }

  .label-context {
    left: 19%;
    top: 4%;
  }

  .label-logic {
    left: 81%;
    top: 4%;
  }

  .label-interface {
    left: 18%;
    top: 56%;
    bottom: auto;
  }

  .label-impact {
    left: 81%;
    top: 56%;
    bottom: auto;
  }

  .thinking-stage[data-step="center"] .label-context {
    left: 18%;
    top: 8%;
  }

  .thinking-stage[data-step="center"] .label-logic {
    left: 82%;
    top: 8%;
  }

  .thinking-stage[data-step="center"] .label-interface {
    left: 18%;
    bottom: 7%;
  }

  .thinking-stage[data-step="center"] .label-impact {
    left: 82%;
    bottom: 7%;
  }

  .headline-note {
    margin-left: 8px;
  }

  .headline-second {
    white-space: normal;
  }

  .portrait-orbit {
    margin-bottom: -16px;
    transform: scale(0.78);
  }

  .hero-about {
    top: calc(38% + 170px);
    width: calc(100vw - 40px);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-skills {
    width: 100%;
    gap: 24px;
    font-size: 14px;
    color: #8d8d8d;
  }

  .hero-skills-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-skills ul {
    gap: 8px;
  }

  .hero-statement {
    font-size: clamp(24px, 8vw, 34px);
  }

  .image-stack {
    width: min(276px, 78vw);
    height: min(276px, 78vw);
  }

  .white-slide {
    width: calc(100% - 24px);
    min-height: 640px;
  }

  body.about-view .next-slide {
    height: calc(100vh + 1960px);
  }

  body.work-view .cases-page {
    width: 100%;
    min-height: 2600px;
    border-radius: 0;
  }

  body.case-detail-view .case-detail-page {
    width: 100%;
  }

  body.case-detail-view {
    background: var(--background);
  }

  body.case-detail-view.case-falcoria-detail-view #case-falcoria {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: var(--background);
  }

  .trading-case-inner {
    width: calc(100% - 32px);
    padding: 118px 0 120px;
  }

  .trading-case-hero {
    gap: 32px;
  }

  .trading-case-heading {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .trading-case-title-group {
    gap: 20px;
  }

  .trading-case-title-group h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .trading-case-lead {
    font-size: 15px;
    line-height: 1.2;
  }

  .trading-shot {
    border-radius: 20px;
  }

  .trading-hero-media {
    width: calc(100% + 32px);
    margin-left: -16px;
    border-radius: 0;
  }

  .trading-case-stack {
    gap: 64px;
    margin-top: 72px;
  }

  .trading-case-section,
  .trading-menu-section,
  .trading-spacing-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trading-section-kicker {
    font-size: 12px;
    line-height: 1.2;
  }

  .trading-section-copy {
    gap: 12px;
  }

  .trading-section-copy h3 {
    font-size: 26px;
    line-height: 1.2;
  }

  .trading-section-copy p:not(.trading-section-kicker) {
    color: rgba(244, 246, 251, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
  }

  .trading-phone-pair,
  .trading-overview-media,
  .trading-menu-media,
  .trading-spacing-media,
  .trading-extra-wide-media {
    width: calc(100% + 32px);
    margin-left: -16px;
    border-radius: 0;
  }

  .trading-wide-media,
  .trading-api-media {
    width: calc(100% + 32px);
    margin-left: -16px;
    border-radius: 0;
  }

  .trading-settings-section,
  .trading-api-section,
  .trading-filters-section {
    gap: 28px;
  }

  body.case-detail-view.case-trading-detail-view #case-trading {
    width: 100%;
    background: #151515;
    border-radius: 0;
  }

  .trading-detail-page .trading-case-inner {
    width: 100%;
    gap: 56px;
    margin: 0;
    padding: 96px 16px 112px;
  }

  .trading-layout-block {
    width: 100%;
  }

  .trading-layout-block img,
  .trading-layout-pair img {
    width: 100%;
    max-width: 100%;
  }

  .trading-layout-columns {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .trading-detail-page .trading-case-inner {
    padding: 96px 16px 112px;
    gap: 0;
  }

  .trading-case-main {
    gap: 56px;
    margin-top: 24px;
  }

  .trading-case-hero {
    gap: 56px;
  }

  .trading-case-heading,
  .trading-case-intro,
  .trading-challenge-group,
  .trading-text-section,
  .trading-problem-group,
  .trading-dark-panel,
  .trading-challenge,
  .trading-decisions-block,
  .trading-decisions-title,
  .trading-decision,
  .trading-impact-section,
  .trading-case-switcher {
    box-sizing: border-box;
    width: 100%;
  }

  .trading-case-heading h2 {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.72px;
  }

  .trading-case-headline-row,
  .trading-case-intro,
  .trading-impact-row {
    flex-direction: column;
    display: flex;
    gap: 24px;
    align-items: stretch;
  }

  .trading-case-intro {
    gap: 56px;
  }

  .trading-case-tags {
    flex-wrap: wrap;
  }

  .trading-case-tags span {
    padding: 10px 16px;
    font-size: 12px;
  }

  .trading-case-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.03em;
  }

  .trading-case-meta div {
    gap: 6px;
  }

  .trading-case-meta p {
    color: rgba(244, 246, 251, 0.58);
  }

  .trading-case-meta strong {
    color: rgba(244, 246, 251, 0.82);
  }

  .trading-about-card,
  .trading-disclaimer-card {
    height: auto;
    min-height: 0;
    border-radius: 24px;
  }

  .trading-about-card {
    order: 2;
    gap: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .trading-disclaimer-card {
    order: 1;
    padding: 20px;
  }

  .trading-about-card p {
    color: rgba(244, 246, 251, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
  }

  .trading-disclaimer-card {
    gap: 24px;
  }

  .trading-disclaimer-card span {
    font-size: 16px;
    line-height: 1.2;
  }

  .trading-hero-shot {
    width: 100%;
    height: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
  }

  .trading-hero-shot img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
  }

  .trading-text-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trading-api-decision .trading-text-section {
    grid-template-columns: 1fr;
  }

  .trading-text-heading {
    gap: 11px;
  }

  .trading-text-heading img {
    margin-top: 2px;
  }

  .trading-text-heading h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.66px;
  }

  .trading-subcopy-section {
    margin-bottom: 0;
  }

  .trading-text-copy p,
  .trading-impact-row > p {
    color: rgba(244, 246, 251, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
  }

  .trading-before-panel {
    height: auto;
    gap: 18px;
    padding: 20px 16px;
  }

  .trading-before-panel h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  .trading-before-panel img,
  .trading-phone-pair-panel img,
  .trading-overview-panel img,
  .trading-popup-panel img,
  .trading-settings-panel img {
    width: 100%;
  }

  .trading-research-panel,
  .trading-overview-panel,
  .trading-tabs-panel,
  .trading-api-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    background: transparent;
  }

  .trading-overview-panel blockquote {
    box-sizing: border-box;
    width: 100%;
  }

  .trading-tabs-panel > p {
    box-sizing: border-box;
    padding: 0 0 0 10px;
  }

  .trading-research-panel p,
  .trading-tabs-panel > p,
  .trading-overview-panel blockquote {
    color: rgba(244, 246, 251, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
  }

  .trading-research-panel p {
    box-sizing: border-box;
    padding-left: 10px;
    text-indent: 0;
  }

  .trading-research-panel,
  .trading-tabs-panel {
    overflow: visible;
  }

  .trading-research-panel img {
    width: 100%;
    height: auto;
  }

  .trading-challenge h3 {
    margin: 8px 0 0;
    font-size: 30px;
    letter-spacing: -0.03em;
  }

  .trading-challenge p {
    box-sizing: border-box;
    width: 100%;
    padding-inline: 8px;
    color: rgba(223, 228, 236, 0.86);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.02em;
  }

  .trading-challenge-group {
    gap: 56px;
  }

  .trading-challenge-cards {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 12px;
  }

  .trading-challenge-card {
    position: static;
    width: 100%;
    padding: 20px;
    transform: none;
  }

  .trading-challenge-card p {
    color: rgba(244, 246, 251, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
    white-space: normal;
  }

  .trading-decisions-title,
  .trading-impact-section h3 {
    font-size: 28px;
    line-height: 1.2;
  }

  .trading-decisions-title span {
    display: block;
  }

  .trading-decision {
    gap: 32px;
  }

  .case-detail-footer {
    margin-top: 72px;
    font-size: 13px;
    text-align: center;
  }

  .trading-phone-pair-panel,
  .trading-popup-panel,
  .trading-settings-panel {
    height: auto;
    padding: 0;
    border-radius: 20px;
    background: transparent;
  }

  .trading-tabs-panel img {
    width: min(100%, 315px);
  }

  .trading-api-panel p {
    color: rgba(244, 246, 251, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.01em;
  }

  .trading-api-panel {
    gap: 18px;
    padding: 12px;
    border: 1px solid rgba(208, 242, 70, 0.62);
    border-radius: 20px;
    background: #161616;
    overflow: hidden;
  }

  .trading-impact-row article {
    width: 100%;
    height: 180px;
  }

  .trading-case-switcher {
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
  }

  .trading-case-switcher a {
    flex: 0 1 calc(50% - 8px);
    font-size: 18px;
  }

  .trading-case-switcher a:first-child {
    justify-content: flex-start;
    text-align: left;
  }

  .trading-case-switcher a:last-child {
    justify-content: flex-end;
    text-align: right;
  }

  .trading-case-switcher a span {
    display: block;
    line-height: 1.2;
  }

  body.case-detail-view .case-detail-back,
  body.case-detail-view .case-detail-socials {
    display: none;
  }

  .case-detail-inner {
    width: calc(100% - 32px);
    padding: 118px 0 24px;
  }

  .case-detail-hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-bottom: 72px;
  }

  .case-detail-heading {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .case-detail-title-group {
    gap: 20px;
  }

  .case-detail-title-group h2,
  .case-another-title {
    font-size: 34px;
    line-height: 38px;
  }

  .case-detail-tags {
    flex-wrap: wrap;
    gap: 8px;
  }

  .case-detail-tags span {
    padding: 10px 16px;
    font-size: 12px;
  }

  .case-detail-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    font-size: 14px;
    line-height: 18px;
  }

  .case-detail-meta div,
  .case-detail-tags {
    gap: 10px;
  }

  .case-detail-meta div {
    gap: 6px;
  }

  .case-detail-about-project {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 64px;
  }

  .case-detail-about-project h3 {
    font-size: 26px;
    line-height: 34px;
  }

  .case-detail-about-project p {
    font-size: 15px;
    line-height: 20px;
  }

  .case-detail-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    margin-top: 32px;
    border-radius: 24px;
    clip-path: inset(0 round 24px);
  }

  .case-detail-hero-media img {
    width: 100%;
    height: 100%;
  }

  .case-detail-stack {
    gap: 48px;
  }

  .case-study-section,
  .case-challenge-overview {
    gap: 24px;
  }

  .case-challenge-overview {
    gap: 56px;
  }

  .case-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-section-heading h3 {
    font-size: 26px;
    line-height: 34px;
  }

  .case-section-heading-icon h3 {
    gap: 9px;
    font-size: 22px;
    line-height: 28px;
  }

  .case-section-heading p,
  .case-section-heading li {
    font-size: 15px;
    line-height: 20px;
  }

  .case-challenge-title-block h3 {
    font-size: 30px;
  }

  .case-challenge-title-block p {
    box-sizing: border-box;
    padding-inline: 8px;
    font-size: 15px;
    line-height: 20px;
  }

  .case-challenge-title-block p span {
    display: inline;
  }

  .case-challenge-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-challenge-grid::after {
    display: none;
  }

  .case-challenge-grid article {
    min-height: 0;
    gap: 20px;
    padding: 18px;
    border-radius: 20px;
  }

  .case-challenge-grid h4 {
    font-size: 20px;
  }

  .case-challenge-grid p {
    margin-top: -8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
  }

  .case-study-section .case-empty-state-media {
    flex-direction: column;
    align-items: stretch;
  }

  .case-study-section .scope-projects-shot,
  .case-study-section .scope-actions-shot {
    width: 100%;
  }

  .case-study-section .case-results-media,
  .case-study-section .case-filters-media {
    min-height: 0;
  }

  .case-study-section .case-filters-media {
    padding: 16px;
  }

  .case-insights-section {
    width: 100%;
    gap: 24px;
    margin-top: 72px;
  }

  .case-insights-section > h3 {
    width: 100%;
    font-size: 22px;
    line-height: 28px;
  }

  .case-insights-section h4 {
    font-size: 18px;
    line-height: 24px;
  }

  .case-insights-section p {
    font-size: 15px;
    line-height: 20px;
  }

  .case-detail-panel {
    border-radius: 24px;
  }

  .case-challenge-section {
    gap: 32px;
  }

  .case-challenge-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-challenge-intro h3 {
    font-size: 26px;
    line-height: 34px;
    white-space: normal;
  }

  .case-challenge-intro p {
    font-size: 15px;
    line-height: 20px;
  }

  .case-panel-challenge,
  .case-panel-split,
  .case-panel-guided,
  .case-panel-results,
  .case-panel-filters {
    padding: 16px;
  }

  .case-panel-copy p,
  .case-detail-panel > p,
  .case-panel-results > p,
  .case-panel-filters > p {
    width: 100%;
    font-size: 15px;
    line-height: 20px;
  }

  .case-panel-images,
  .case-panel-split,
  .case-panel-empty-state,
  .case-panel-guided {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .case-panel-split > .case-panel-copy {
    gap: 32px;
  }

  .case-mini-shot,
  .case-tall-shot,
  .case-ui-sidebar,
  .case-large-phone-placeholder {
    width: 100%;
  }

  .case-empty-state-media {
    width: 100%;
    flex-direction: column;
    padding: 16px;
    border-radius: 20px;
  }

  .scope-projects-shot,
  .scope-actions-shot {
    width: 100%;
    height: auto;
  }

  .case-empty-state-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .case-panel-import-xml {
    gap: 16px;
    padding-top: 16px;
  }

  .case-panel-import-xml > p {
    width: auto;
    margin: 0 16px;
    font-size: 15px;
    line-height: 20px;
  }

  .case-import-xml-media {
    box-sizing: border-box;
    padding: 16px;
    min-height: auto;
    place-items: center;
    overflow: visible;
    border-radius: 20px;
  }

  .case-import-xml-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .case-mini-shot {
    height: 96px;
  }

  .case-tall-shot,
  .case-ui-sidebar {
    height: 320px;
  }

  .case-panel-guided,
  .case-panel-results,
  .case-panel-filters {
    min-height: auto;
  }

  .case-panel-guided {
    gap: 16px;
    padding: 16px 0 0;
  }

  .case-panel-guided > .case-guided-intro {
    width: 100%;
    margin: 0;
    padding: 0 16px;
    font-size: 15px;
    line-height: 20px;
  }

  .case-large-phone-placeholder {
    height: auto;
    padding: 16px;
    border-radius: 20px;
  }

  .case-panel-guided .case-large-phone-placeholder {
    height: auto;
  }

  .case-panel-results {
    gap: 16px;
    padding: 16px 0 0;
  }

  .case-panel-results > p {
    width: auto;
    margin: 0 16px;
  }

  .case-results-media {
    min-height: auto;
    padding: 16px;
    border-radius: 20px;
  }

  .case-results-media img {
    width: 100%;
  }

  .case-panel-filters {
    gap: 16px;
    padding: 16px 0 0;
  }

  .case-panel-filters > p {
    width: auto;
    margin: 0 16px;
  }

  .case-filters-media {
    min-height: auto;
    padding: 16px;
    border-radius: 20px;
  }

  .case-filters-media img {
    width: 100%;
  }

  .case-annotation-list,
  .case-annotation-list.light {
    gap: 18px;
    padding-top: 0;
  }

  .case-annotation-list p {
    gap: 10px;
  }

  .case-annotation-list p::after {
    flex-basis: 42px;
    width: 42px;
  }

  .case-another-section {
    display: none;
  }

  .case-bottom-switcher {
    width: 100%;
    margin-top: 56px;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .case-bottom-preview {
    display: none;
  }

  .cases-viewport {
    padding: 0 16px 24px;
  }

  body:not(.case-detail-view) .cases-header {
    min-height: 0;
    padding-top: 24px;
    margin-bottom: 56px;
  }

  .cases-header h2 {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-bottom: 32px;
    color: rgba(238, 217, 255, 0.13);
    filter: none;
    font-size: 42px;
    line-height: 1;
    transform: none;
    text-align: center;
    white-space: normal;
  }

  body:not(.case-detail-view) .cases-intro-copy {
    width: 100%;
    margin: 0;
    color: #f7f4e5;
    font-size: 17px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: -0.42px;
    text-wrap: pretty;
  }

  body:not(.case-detail-view) .cases-intro-copy p {
    display: inline;
  }

  body:not(.case-detail-view) .cases-intro-copy p + p::before {
    content: " ";
  }

  .cases-stack {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 56px;
  }

  body:not(.case-detail-view) .cases-stack {
    padding-bottom: 56px;
  }

  .case-feature-card {
    width: 100%;
    height: 456px;
  }

  .case-feature-image {
    width: calc(100vw - 32px);
    max-width: none;
    height: 300px;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .case-feature-image img {
    width: 110.5%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
    min-height: 0;
    transform: translate(-4.75%, -8.5%);
    transform-origin: top center;
  }

  .case-feature-blur {
    top: 142px;
    width: calc(100% + 32px);
    height: 230px;
    background: linear-gradient(to bottom, rgba(12, 13, 9, 0.1) 0%, rgba(12, 13, 9, 0.82) 58%, #0c0d09 100%);
  }

  .case-feature-blur::before {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 12%, rgba(0, 0, 0, 0.72) 42%, #000000 70%, #000000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 12%, rgba(0, 0, 0, 0.72) 42%, #000000 70%, #000000 100%);
  }

  .case-feature-blur::after {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 26%, rgba(0, 0, 0, 0.68) 58%, #000000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 26%, rgba(0, 0, 0, 0.68) 58%, #000000 100%);
  }

  .case-feature-content {
    top: 216px;
    width: 100%;
    gap: 20px;
    padding: 0 8px;
  }

  .case-feature-copy {
    gap: 0;
  }

  .case-feature-copy h3 {
    max-width: 342px;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 26px;
    text-wrap: balance;
  }

  .case-feature-copy h3 span {
    display: inline;
  }

  .case-feature-copy p {
    min-width: 0;
    width: 100%;
    max-width: 334px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 18px;
    text-wrap: pretty;
  }

  .case-feature-tags {
    flex-wrap: wrap;
  }

  .case-feature-tags span {
    padding: 6px 14px;
    font-size: 11px;
  }

  .case-feature-button {
    width: min(272px, calc(100% - 48px));
    height: 44px;
    font-size: 14px;
    font-weight: 600;
  }

  .case-feature-trading-card {
    height: 402px;
    margin-top: 56px;
  }

  .case-feature-trading-card .case-feature-image {
    width: calc(100vw - 32px);
    max-width: none;
    height: clamp(224px, calc((100vw - 32px) * 0.686), 252px);
    border-radius: 16px;
  }

  .case-feature-trading-card .case-feature-image img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 92%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center top;
    transform: translateX(-50%);
  }

  .case-feature-trading-card .case-feature-blur {
    top: calc((100vw - 32px) * 0.22);
    width: calc(100% + 32px);
    height: 300px;
    background: linear-gradient(180deg, rgba(12, 13, 9, 0) 0%, rgba(12, 13, 9, 0.38) 18%, rgba(12, 13, 9, 0.68) 34%, rgba(12, 13, 9, 0.9) 50%, #0c0d09 64%, #0c0d09 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .case-feature-trading-card .case-feature-blur::before {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 12%, rgba(0, 0, 0, 0.7) 34%, #000000 58%, #000000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 12%, rgba(0, 0, 0, 0.7) 34%, #000000 58%, #000000 100%);
  }

  .case-feature-trading-card .case-feature-blur::after {
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 16%, rgba(0, 0, 0, 0.36) 30%, rgba(0, 0, 0, 0.86) 52%, #000000 76%, #000000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 16%, rgba(0, 0, 0, 0.36) 30%, rgba(0, 0, 0, 0.86) 52%, #000000 76%, #000000 100%);
  }

  .case-feature-trading-card .case-feature-content {
    top: calc((100vw - 32px) * 0.465);
    width: 100%;
    gap: 20px;
    padding: 0;
  }

  .case-feature-trading-card .case-feature-copy h3 {
    max-width: 342px;
    font-size: 24px;
    line-height: 1.2;
  }

  .case-feature-trading-card .case-feature-copy h3 span {
    display: block;
  }

  .case-feature-trading-card .case-feature-copy p {
    max-width: 334px;
  }

  .case-feature-kaspersky-card {
    height: 472px;
    margin-top: 56px;
  }

  .case-feature-kaspersky-card .case-feature-image {
    width: calc(100vw - 32px);
    max-width: none;
    height: clamp(224px, calc((100vw - 32px) * 0.666), 252px);
    border-radius: 16px;
  }

  .case-feature-kaspersky-card .case-feature-image img {
    left: 50%;
    width: min(100%, 318px);
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center top;
    transform: translateX(-50%);
  }

  .case-feature-kaspersky-card .case-feature-blur {
    top: calc((100vw - 32px) * 0.31);
    width: calc(100% + 32px);
    height: 250px;
    background: linear-gradient(180deg, rgba(12, 13, 9, 0) 0%, rgba(12, 13, 9, 0.54) 36%, rgba(12, 13, 9, 0.74) 58%, #0c0d09 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .case-feature-kaspersky-card .case-feature-content {
    top: calc((100vw - 32px) * 0.59);
    width: 100%;
    gap: 20px;
    padding: 0;
  }

  .case-feature-kaspersky-card .case-feature-copy h3 {
    max-width: 342px;
    font-size: 24px;
    line-height: 29px;
  }

  .case-feature-kaspersky-card .case-feature-copy h3 span {
    display: block;
  }

  .case-feature-kaspersky-card .case-feature-copy p {
    max-width: 334px;
  }

  .case-study-card {
    min-height: auto;
    gap: 20px;
    padding: 16px;
    border-radius: 18px;
  }

  .case-preview {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.5 / 1;
    border-radius: 20px;
  }

  .case-preview-falcoria {
    width: 100%;
    margin: 0;
  }

  .case-preview-kaspersky {
    width: 100%;
    margin: 0;
  }

  .case-preview-kaspersky img {
    padding: 10px;
  }

  .case-preview-wide {
    width: 100%;
    margin-bottom: 0;
  }

  .case-card-content {
    gap: 16px;
  }

  .case-card-content h3 {
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.06;
  }

  .case-card-content p {
    font-size: 15px;
    line-height: 20px;
  }

  .case-card-tags {
    gap: 6px;
  }

  .case-card-tags span {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .case-card-action {
    margin-top: 8px;
    font-size: 14px;
    width: 32px;
    height: 32px;
  }

  .case-card-two {
    position: relative;
    display: block;
    width: 100%;
    height: 432px;
    min-height: 432px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .case-card-two::before {
    position: absolute;
    left: -16px;
    top: calc((100vw - 32px) * 0.36);
    z-index: 2;
    width: calc(100% + 32px);
    height: 218px;
    content: "";
    pointer-events: none;
    background:
      radial-gradient(ellipse at 18% 22%, rgba(202, 223, 145, 0.18) 0%, rgba(202, 223, 145, 0.06) 34%, transparent 58%),
      radial-gradient(ellipse at 78% 18%, rgba(120, 132, 180, 0.13) 0%, rgba(120, 132, 180, 0.05) 30%, transparent 58%),
      linear-gradient(180deg, rgba(12, 13, 9, 0) 0%, rgba(12, 13, 9, 0.379) 23.465%, rgba(12, 13, 9, 0.5) 33.428%, rgba(12, 13, 9, 0.7) 51.282%, #0c0d09 83.333%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25) 13%, rgba(0, 0, 0, 0.82) 42%, #000000 78%, #000000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25) 13%, rgba(0, 0, 0, 0.82) 42%, #000000 78%, #000000 100%);
  }

  .case-card-two::after {
    display: none;
  }

  .case-card-two .case-preview-wide {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: clamp(224px, calc((100vw - 32px) * 0.686), 252px);
    margin: 0;
    border-radius: 16px;
    background: transparent;
    overflow: hidden;
  }

  .case-card-two .case-preview-wide img {
    width: 104%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center top;
    transform: translateX(-2%);
  }

  .case-card-two .case-card-content {
    position: absolute;
    left: 0;
    top: calc((100vw - 32px) * 0.465);
    z-index: 3;
    width: 100%;
    align-items: center;
    gap: 0;
    padding: 0;
  }

  .case-card-two .case-card-title-desktop,
  .case-card-two .case-card-tags-desktop {
    display: none;
  }

  .case-card-two .case-card-title-mobile {
    display: flex;
    max-width: 342px;
    flex-direction: column;
    align-items: center;
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
  }

  .case-card-two .case-card-description {
    display: block;
    width: min(334px, 100%);
    max-width: 334px;
    margin: 0 0 12px;
    color: #999999;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    text-wrap: pretty;
  }

  .case-card-two .case-card-tags-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .case-card-two .case-card-tags-mobile span {
    min-height: 29px;
    padding: 6px 16px;
    border-radius: 100px;
    background: #222222;
    color: #ffffff;
    font-size: 11px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
  }

  .case-card-two .case-card-mobile-action {
    display: flex;
    width: min(320px, calc(100% - 40px));
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 100px;
    background: #cadf91;
    color: #16181a;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
  }

  .cases-explore {
    bottom: 18px;
  }

  .playground-page {
    width: 100%;
  }

  .playground-inner {
    min-height: 1640px;
    padding: 0 16px 24px;
  }

  .playground-inner h2 {
    left: 50%;
    top: 24px;
    width: calc(100% - 32px);
    color: rgba(238, 217, 255, 0.13);
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.04em;
    filter: none;
    transform: translateX(-50%);
    text-align: center;
    white-space: normal;
  }

  .playground-collage {
    width: min(330px, calc(100vw - 48px));
    aspect-ratio: 933.818 / 1493;
    height: auto;
    margin-top: 68px;
    padding: 0;
  }

  .playground-crypto {
    left: 5.1%;
    top: 0;
    width: 31.9%;
  }

  .playground-controls {
    left: 16.8%;
    top: 20.6%;
    width: 7.4%;
    height: 13.8%;
  }

  .playground-phone-toniks {
    left: 35.5%;
    top: 13.2%;
    width: 35%;
  }

  .playground-phone-book {
    left: 0;
    top: 39.8%;
    width: 28.9%;
  }

  .playground-card {
    left: 45.8%;
    top: 58.3%;
    width: 22.3%;
  }

  .playground-long {
    right: 0;
    top: 9.9%;
    width: 25.2%;
    height: 90.1%;
  }

  .playground-video-block {
    width: min(240px, 100%);
    margin-top: 56px;
  }

  .playground-phone-showcase {
    width: min(246px, calc(100vw - 112px));
    margin-top: 56px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .playground-phone-showcase img {
    width: 100%;
    max-width: 100%;
  }

  .about-page-title {
    left: 50%;
    top: 24px;
    width: calc(100% - 32px);
    color: rgba(238, 217, 255, 0.13);
    filter: none;
    font-size: 42px;
    line-height: 1;
    transform: translateX(-50%);
    text-align: center;
    white-space: normal;
  }

  body:not(.case-detail-view) .about-page-statement {
    left: 16px;
    right: auto;
    top: 118px;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    color: #eed9ff;
    font-size: 17px;
    font-weight: 600;
    line-height: 21px;
    letter-spacing: -0.42px;
    text-wrap: pretty;
    opacity: clamp(0, calc(1 - (var(--about-intro-progress) * 3.2)), 1);
    transform: none;
    transition: opacity 60ms linear;
  }

  .case-card-content h3,
  .case-card-content p,
  .experience-description,
  .iconic-cta-copy p {
    text-wrap: pretty;
  }

  .matryoshka-stage {
    top: calc(112% - (var(--about-intro-progress) * 54%));
    width: min(360px, calc(100vw - 64px));
    left: 38%;
  }

  .matryoshka-top {
    transform: translate(
        calc(var(--matryoshka-open) * 58vw),
        calc(var(--matryoshka-open) * -42vh)
      )
      rotate(calc(var(--matryoshka-open) * 42deg))
      scale(calc(1 - (var(--matryoshka-open) * 0.18)));
  }

  .matryoshka-bottom {
    transform: translate(
        calc(var(--matryoshka-open) * -58vw),
        calc(var(--matryoshka-open) * 46vh)
      )
      rotate(calc(var(--matryoshka-open) * -24deg))
      scale(calc(1 - (var(--matryoshka-open) * 0.2)));
  }

  .matryoshka-next-top {
    transform: translate(
        calc(var(--matryoshka-next-open) * 48vw),
        calc(var(--matryoshka-next-open) * -36vh)
      )
      rotate(calc(var(--matryoshka-next-open) * 34deg))
      scale(calc(1 - (var(--matryoshka-next-open) * 0.16)));
  }

  .matryoshka-next-bottom {
    transform: translate(
        calc(var(--matryoshka-next-open) * -48vw),
        calc(var(--matryoshka-next-open) * 38vh)
      )
      rotate(calc(var(--matryoshka-next-open) * -20deg))
      scale(calc(1 - (var(--matryoshka-next-open) * 0.18)));
  }

  .matryoshka-final-shell {
    top: 38px;
    width: 108%;
    transform: translateX(-50%) scale(calc(0.62 + (var(--matryoshka-next-open) * 0.38)));
  }

  .matryoshka-card {
    box-sizing: border-box;
    width: min(292px, calc(100% - 112px));
    padding: 12px 14px;
    border-radius: 27px;
    font-size: 14px;
  }

  .matryoshka-card h3,
  .matryoshka-card p {
    font-size: 14px;
  }

  .matryoshka-card h3 {
    margin-bottom: 8px;
  }

  .lawyer-card,
  .project-card,
  .designer-card {
    top: calc(112% - (var(--about-intro-progress) * 54%) + 56px);
    right: 16px;
    left: auto;
  }

  .designer-card {
    width: min(292px, calc(100% - 112px));
  }

  .designer-card p {
    line-height: 1.28;
  }

  .about-back {
    left: 18px;
    top: 18px;
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  .about-explore {
    bottom: 18px;
  }

  .about-socials {
    top: 18px;
    right: 18px;
  }

  body.case-detail-view .case-detail-back,
  body.case-detail-view .case-detail-socials {
    display: none;
  }

  .next-slide.is-matryoshka-visible .lawyer-card {
    transform: none;
  }

  .mobile-break {
    display: block;
  }

  .mobile-line {
    display: block;
  }

  .about-slide {
    min-height: 920px;
    padding: 140px 24px 96px;
  }

  .skills-cloud,
  .about-statement,
  .about-intro {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }

  .skills-cloud {
    margin-top: 78px;
    font-size: 14px;
  }

  .skills-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-statement {
    margin-top: 56px;
    font-size: clamp(31px, 9vw, 44px);
  }

  .about-intro {
    margin-top: 84px;
    transform: none;
  }

  .about-intro-title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .inline-arrow {
    width: 46px;
    height: 46px;
  }

  .inline-arrow::before {
    width: 28px;
    height: 28px;
  }

  .about-intro-note {
    flex-wrap: wrap;
    font-size: 16px;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .image-stack {
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item {
    opacity: 0;
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-one {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-two {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-three {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .stack-item-four {
    animation: none;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .hero-title {
    left: 50%;
    top: var(--mobile-intro-title-docked-y);
    display: block;
    width: calc(100vw - 32px);
    color: rgba(238, 217, 255, 0.13);
    font-size: var(--mobile-intro-title-size);
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%) translateY(var(--mobile-intro-title-offset)) scale(1);
    transform-origin: center center;
    animation: mobile-title-shrink-up 1280ms cubic-bezier(0.2, 0.82, 0.18, 1) 620ms both;
  }

  body.hero-intro-running:not(.about-view):not(.work-view):not(.case-detail-view):not(.playground-view) .designer-question {
    opacity: 0 !important;
    animation: none !important;
    transform: translate(-50%, -50%) translateY(32px) scale(0.96) !important;
  }
}
