:root {
  --page-top: #ededf0;
  --page-bottom: #e4e4e9;
  --ink: #181818;
  --muted: #a8a8a8;
  --tertiary: #f1f1f1;
  --white: #ffffff;
  --shadow: 0 4px 12px 0 rgba(174, 174, 174, 0.1), 0 2px 4px 0 rgba(134, 134, 134, 0.08);
  --focus: #2f6fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

body::before {
  content: "";
  position: fixed;
  z-index: 1000;
  pointer-events: none;
}

body::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.42), transparent 38%),
    rgba(237, 237, 240, 0.86);
  animation: page-veil-out 820ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
  transform: translateZ(0);
  will-change: opacity;
  visibility: hidden;
}

html.is-page-exiting body::before {
  opacity: 1;
  animation: none;
  transition: opacity 180ms ease;
  visibility: visible;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

.page {
  position: relative;
  width: 1440px;
  height: 2312px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

.header {
  position: fixed;
  left: calc(50% - 504px);
  top: 40px;
  width: 1024px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 133px;
  overflow: visible;
  z-index: 20;
  isolation: isolate;
}

.header__surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.header__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(237, 237, 240, 0.01);
  -webkit-backdrop-filter: blur(24px) saturate(112%);
  backdrop-filter: blur(24px) saturate(112%);
  border-radius: inherit;
  z-index: 0;
}

.brand,
.header__nav {
  position: relative;
  z-index: 1;
  animation: header-content-reveal 660ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

.header__nav {
  animation-delay: 220ms;
}

.brand {
  display: block;
  width: 215.5px;
  height: 51.5px;
}

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

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  white-space: nowrap;
}

.header__links a,
.footer a {
  transition: opacity 160ms ease;
}

.header__links a:hover,
.footer a:hover {
  opacity: 0.55;
}

.pill-button {
  width: 104px;
  height: 44px;
  border-radius: 39.502px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 28px 8px 32px;
  color: var(--white);
  background: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  line-height: normal;
  font-weight: 500;
  transform-origin: center;
  transition: transform 100ms ease, background 140ms ease, box-shadow 140ms ease;
}

.pill-button img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
}

.pill-button:hover {
  background: #050505;
}

.pill-button:focus-visible,
.case-button:focus-visible,
.profile-card__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus);
}

.hero {
  position: absolute;
  inset: 0;
}

.hero__title-wrap {
  position: absolute;
  z-index: 2;
  left: 492px;
  top: 307px;
  width: 461px;
  height: 98px;
  font-family: "JetBrains Mono", monospace;
  line-height: 1.2;
  word-break: break-word;
  animation: content-reveal-up 780ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

.hero__title-wrap h1,
.hero__title-wrap p {
  margin: 0;
  width: 100%;
  white-space: nowrap;
}

.hero__title-wrap h1 {
  height: 58px;
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
}

.hero__title-wrap p {
  height: 40px;
  font-size: 33px;
  font-weight: 500;
  color: var(--muted);
}

.hero-object {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  transform: translate3d(var(--hero-repel-x, 0px), var(--hero-repel-y, 0px), 0);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  animation: object-fade-in 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-object__float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  animation: hero-object-float var(--float-duration, 5.2s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  will-change: transform;
}

.hero-object img {
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 4px 12px rgba(174, 174, 174, 0.1)) drop-shadow(0 2px 4px rgba(134, 134, 134, 0.08));
}

.hero-object--figma {
  left: 274.03px;
  top: 221px;
  width: 183.848px;
  height: 183.848px;
  --float-distance: 6px;
  --float-duration: 5.4s;
  --float-delay: -0.8s;
  animation-delay: 260ms;
}

.hero-object--figma img {
  width: 130px;
  height: 130px;
  transform: rotate(45deg);
}

.hero-object--black {
  left: 531px;
  top: 120.79px;
  width: 142.033px;
  height: 142.033px;
  --float-distance: 5px;
  --float-duration: 4.8s;
  --float-delay: -1.4s;
  animation-delay: 180ms;
}

.hero-object--black img {
  width: 118px;
  height: 118px;
  transform: rotate(-13.33deg);
}

.hero-object--orange {
  left: 906px;
  top: 148px;
  width: 145.609px;
  height: 145.609px;
  --float-distance: 6px;
  --float-duration: 5.7s;
  --float-delay: -2.1s;
  animation-delay: 320ms;
}

.hero-object--orange img {
  width: 130px;
  height: 130px;
  transform: rotate(7.37deg);
}

.hero-object--blue {
  left: 391px;
  top: 444px;
  width: 118px;
  height: 118px;
  --float-distance: 4.5px;
  --float-duration: 5.1s;
  --float-delay: -0.2s;
  animation-delay: 420ms;
}

.hero-object--blue img {
  width: 118px;
  height: 118px;
}

.hero-object--openai {
  left: 959px;
  top: 394.79px;
  width: 145.727px;
  height: 145.727px;
  --float-distance: 5.5px;
  --float-duration: 5.9s;
  --float-delay: -1.1s;
  animation-delay: 520ms;
}

.hero-object--openai img {
  width: 118px;
  height: 118px;
  transform: rotate(-15.84deg);
}

@keyframes hero-object-float {
  0%,
  100% {
    transform: translate3d(0, calc(var(--float-distance, 5px) * -0.5), 0);
  }

  50% {
    transform: translate3d(0, calc(var(--float-distance, 5px) * 0.5), 0);
  }
}

@keyframes page-veil-out {
  0% {
    opacity: 1;
    visibility: visible;
  }

  68% {
    opacity: 0.82;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes header-content-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }

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

@keyframes content-reveal-up {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 28px, 0);
  }

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

@keyframes card-reveal {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(0, 34px, 0) scale(0.985);
  }

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

@keyframes object-fade-in {
  0% {
    opacity: 0;
    filter: blur(14px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

html.is-page-exiting .page-shell,
html.is-page-exiting .case-study-shell {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.992);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.motion-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 28px, 0);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.footer.motion-reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.profile-card-wrap {
  position: absolute;
  z-index: 2;
  left: 561.7447px;
  top: 506px;
  width: 336.1407px;
  height: 499.246px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: card-reveal 860ms cubic-bezier(0.22, 1, 0.36, 1) 420ms both;
}

.profile-card {
  width: 280px;
  height: 468px;
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-7.16deg);
}

.profile-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 0;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.profile-card__photo {
  width: 100%;
  height: 288px;
  border-radius: 16px;
  overflow: hidden;
}

.profile-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.profile-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 8px 4px;
}

.profile-card__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.profile-card__copy p {
  margin: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.tag {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 76px;
  background: var(--white);
  font-size: 14px;
  line-height: normal;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.tag--muted {
  background: var(--tertiary);
}

.profile-card__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.profile-card__button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 39.502px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--white);
  background: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  line-height: normal;
  font-weight: 500;
  cursor: pointer;
  transform-origin: center;
  transition: transform 100ms ease, background 140ms ease, box-shadow 140ms ease;
}

.profile-card__button img {
  width: 14.633px;
  height: 14.633px;
}

.profile-card__action p {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}

.experience {
  position: absolute;
  left: 312px;
  top: 1095px;
  width: 816px;
  height: 1019px;
}

.experience h2 {
  width: 816px;
  height: 38px;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.job {
  position: absolute;
  left: 0;
  width: 816px;
}

.job--wetnose {
  top: 78px;
  height: 585px;
}

.job--indahouse {
  top: 703px;
  height: 316px;
}

.job__head {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 45px;
}

.job--indahouse .job__head {
  align-items: flex-start;
  height: 44px;
}

.job__logo {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.job__logo img {
  position: absolute;
  display: block;
  max-width: none;
}

.job__logo--wetnose img {
  left: -13.98%;
  top: -14.55%;
  width: 127.96%;
  height: 128.48%;
}

.job__logo--indahouse img {
  left: -14.77%;
  top: -15.03%;
  width: 129.55%;
  height: 129.95%;
}

.job__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.job__role,
.job__date {
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}

.job--wetnose .job__role {
  font-size: 18px;
}

.job--wetnose .job__date,
.job--indahouse .job__date {
  font-size: 16px;
  color: var(--muted);
}

.job--indahouse .job__role {
  font-size: 16px;
}

.case-card {
  position: absolute;
  left: 0;
  width: 816px;
  height: 252px;
  padding: 19px 24px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.case-card--wetnose {
  top: 65px;
  background: #f9ebf4;
  --case-title: #b41d92;
  --case-text: var(--ink);
  --case-number: var(--muted);
}

.case-card--cykly {
  top: 333px;
  background: #ecebfd;
  --case-title: #350b8c;
  --case-text: var(--ink);
  --case-number: var(--muted);
}

.case-card--nolpyat {
  top: 64px;
  background: #f7eadd;
  --case-title: #891748;
  --case-text: var(--ink);
  --case-number: var(--ink);
}

.case-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.case-card__content {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

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

.case-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  word-break: break-word;
}

.case-card__text h3,
.case-card__text p {
  margin: 0;
  width: 100%;
}

.case-card__text h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--case-title);
}

.case-card__text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--case-text);
}

.case-button {
  width: 212px;
  height: 44px;
  border: 0;
  border-radius: 39.502px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 32px;
  color: var(--white);
  background: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  line-height: normal;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transform-origin: center;
  transition: transform 100ms ease, background 140ms ease, box-shadow 140ms ease;
}

.case-button:hover {
  background: #050505;
}

.pill-button:active,
.profile-card__button:active,
.case-button:not(.case-button--disabled):active {
  transform: scale(0.98);
}

.case-button img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  padding: 4.0165px;
  display: block;
}

.case-button--disabled,
.case-button--disabled:hover {
  color: var(--muted);
  background: var(--tertiary);
  cursor: default;
}

.case-button--disabled img {
  width: 16px;
  height: 16px;
  padding: 0.6835px 1.35px;
}

.case-card__media {
  position: absolute;
  z-index: 1;
  right: 35.57px;
  top: 19px;
  width: 399.756px;
  height: 302.179px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card__media-frame {
  position: relative;
  flex: 0 0 auto;
  width: 375.744px;
  height: 267.195px;
  border-radius: 12px;
  box-shadow: 0 4px 21.8px 0 rgba(253, 182, 217, 0.1), 0 2px 11.4px 0 rgba(255, 217, 236, 0.4);
  transform: rotate(-5.53deg);
  transform-origin: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  overflow: hidden;
}

.case-card__media-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .case-card:not([aria-disabled="true"]):hover .case-card__media-frame,
  .case-card:not([aria-disabled="true"]):focus-within .case-card__media-frame {
    transform: rotate(-5.53deg) scale(1.04);
  }
}

.case-card--cykly .case-card__media-frame img {
  inset: auto;
  left: -0.24%;
  top: 0.05%;
  width: 100.2%;
  height: 90.12%;
  object-fit: fill;
}

.case-card--nolpyat .case-card__media {
  top: 37px;
}

.case-card--nolpyat .case-card__media-frame {
  border-radius: 0;
  filter: blur(6.75px);
  box-shadow: none;
}

.case-card--nolpyat .case-card__media-frame img {
  inset: auto;
  left: -1.29%;
  top: -0.18%;
  width: 100%;
  height: 137.72%;
  border-radius: 0;
  object-fit: fill;
}

.case-card__number {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  font-size: 14px;
  line-height: 1.5;
  color: var(--case-number);
}

.footer {
  position: absolute;
  left: 313px;
  top: 2232px;
  width: 814px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0 8px;
  border-top: 1px solid rgba(168, 168, 168, 0.2);
  font-size: 16px;
  line-height: normal;
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 19px;
}

.scroll-top img {
  width: 10px;
  height: 12px;
  transform: scaleY(-1);
}

.footer__nav {
  width: 256px;
  height: 19px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 19px;
  white-space: nowrap;
}

.footer__nav img {
  width: 10px;
  height: 12px;
}

.case-study-shell {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

.case-study-page {
  position: relative;
  width: 1440px;
  min-height: 10650px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
}

.case-study {
  width: 816px;
  margin: 0 auto;
  padding: 156px 0 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.case-study-page--cykly {
  min-height: auto;
}

.case-study--cykly {
  align-items: flex-end;
}

.case-study__headline {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.case-study__tags {
  margin-bottom: 16px;
}

.case-study__headline h1 {
  width: 816px;
  margin: 0 0 22px;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  word-break: break-word;
}

.case-study__headline p {
  width: 555px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.2;
}

.case-study__headline--cykly {
  min-height: auto;
  gap: 12px;
}

.case-study__headline--cykly .case-study__tags {
  margin-bottom: 0;
}

.case-study__headline--cykly h1 {
  margin-bottom: 0;
}

.case-study__headline--cykly p {
  width: 816px;
  line-height: 24px;
}

.case-study--cykly .case-study__text-block h2,
.case-study--cykly .case-study__visual-block h2 {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.48px;
}

.case-study__hero-image,
.case-study__screen-image {
  display: block;
  width: 816px;
  height: 580px;
}

.case-study__hero-image {
  border-radius: 24px;
  object-fit: cover;
}

.case-study__text-block,
.case-study__visual-block,
.case-study__section-head,
.case-study__screen,
.case-study__screen-head,
.case-study__mini-block,
.case-study__test-block,
.case-study__result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.case-study__text-block {
  gap: 16px;
}

.case-study__text-block h2,
.case-study__visual-block h2,
.case-study__screen-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  word-break: break-word;
}

.case-study__text-block h2,
.case-study__visual-block h2 {
  font-size: 24px;
  line-height: 1.2;
}

.case-study__text-block p,
.case-study__ordered-list,
.case-study__dash-list,
.case-study__section-head p,
.case-study__screen-head p,
.case-study__mini-block p {
  margin: 0;
  width: 816px;
  color: var(--ink);
  font-size: 16px;
  line-height: normal;
  word-break: break-word;
}

.case-study__ordered-list,
.case-study__dash-list {
  padding-left: 24px;
}

.case-study__ordered-list li + li,
.case-study__dash-list li + li {
  margin-top: 0;
}

.case-study__dash-list--rich {
  list-style: none;
  padding-left: 0;
}

.case-study__dash-list--rich li::before {
  content: "— ";
}

.case-study__copy-group {
  width: 816px;
  display: flex;
  flex-direction: column;
}

.case-study__copy-group p {
  margin: 0;
  width: 816px;
  color: var(--ink);
  font-size: 16px;
  line-height: normal;
}

.case-study__metrics-intro {
  gap: 16px;
}

.case-study__visual-block {
  gap: 32px;
}

.case-study__visual-block--with-copy {
  gap: 32px;
}

.case-study__section-head {
  gap: 16px;
}

.case-study__visual {
  position: relative;
  width: 816px;
  overflow: hidden;
}

.case-study__visual img,
.case-study__screen-image img {
  display: block;
  max-width: none;
  pointer-events: none;
}

.case-study__visual--process {
  height: 601px;
  overflow: visible;
}

.case-study__visual--process img {
  width: 816px;
  height: 601px;
  object-fit: fill;
}

.case-study__visual--analysis {
  height: 770px;
  border-radius: 24px;
}

.case-study__visual--analysis img {
  position: absolute;
  left: -2.34%;
  top: -0.77%;
  width: 102.34%;
  height: 100.97%;
  object-fit: fill;
}

.case-study__visual--cjm {
  height: 1099px;
  border-radius: 24px;
}

.case-study__visual--cjm img {
  position: absolute;
  left: -8.32%;
  top: 0;
  width: 112.78%;
  height: 99.99%;
  object-fit: fill;
}

.case-study__visual--cykly-competitors {
  height: 1006px;
}

.case-study__visual--cykly-persona-a {
  height: 873px;
}

.case-study__visual--cykly-persona-b {
  height: 930px;
}

.case-study__visual--cykly-architecture {
  height: 368px;
}

.case-study__visual--cykly-competitors img,
.case-study__visual--cykly-persona-a img,
.case-study__visual--cykly-persona-b img,
.case-study__visual--cykly-architecture img {
  width: 816px;
  height: 100%;
  object-fit: fill;
}

.case-study__visual-block--cykly-research {
  gap: 40px;
}

.case-study__key-screens {
  min-height: 102px;
}

.case-study__screen {
  gap: 24px;
}

.case-study__screen-head {
  gap: 8px;
}

.case-study__screen-head h2 {
  font-size: 20px;
  line-height: 24px;
}

.case-study__screen-head p {
  color: var(--muted);
}

.case-study__screen-image {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

.case-study__screen-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study__compare {
  --compare-position: 48.529%;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.case-study__compare-image {
  z-index: 0;
}

.case-study__compare-after {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--compare-position));
}

.case-study__compare-divider {
  position: absolute;
  z-index: 3;
  left: var(--compare-position);
  top: 0;
  width: 1px;
  height: 580px;
  background: #ea4040;
  transform: translateX(-0.5px);
  pointer-events: none;
}

.case-study__compare-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 32px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4.3px 0 rgba(174, 174, 174, 0.2), 0 2px 4px 0 rgba(134, 134, 134, 0.08);
}

.case-study__compare-handle img {
  position: static;
  width: 8px;
  height: 15px;
  object-fit: contain;
}

.case-study__compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
}

.case-study__compare-range::-webkit-slider-thumb {
  width: 44px;
  height: 580px;
  appearance: none;
  cursor: ew-resize;
}

.case-study__compare-range::-moz-range-thumb {
  width: 44px;
  height: 580px;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.case-study__mini-block {
  gap: 12px;
}

.case-study__mini-block h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: normal;
  font-weight: 700;
}

.case-study__test-block {
  gap: 20px;
}

.case-study__metrics-row {
  display: flex;
  align-items: flex-start;
  gap: 29px;
  white-space: nowrap;
}

.case-study__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.case-study__metric p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
}

.case-study__metric strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.case-study__result {
  gap: 40px;
}

.case-study__result-grid {
  width: 637px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 70px;
}

.case-study__screens-result {
  width: 816px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.cykly-screens-list {
  width: 816px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.cykly-screen-item {
  width: 816px;
  height: 330px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.cykly-screen-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30.5px;
  height: 1px;
  background: rgba(168, 168, 168, 0.2);
}

.cykly-screen-item__copy {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cykly-screen-item__copy h3,
.cykly-screen-item__copy p {
  margin: 0;
  width: 100%;
  word-break: break-word;
}

.cykly-screen-item__copy h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.cykly-screen-item__copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: normal;
}

.cykly-screen-item__picture {
  width: 516px;
  height: 330px;
  flex: 0 0 516px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.cykly-screen-item__picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: cover;
}

@supports not (overflow: clip) {
  .page-shell,
  .case-study-shell {
    overflow-x: hidden;
  }
}

@media (min-width: 1441px) {
  .page,
  .case-study-page {
    width: 100%;
  }

  .hero__title-wrap {
    left: calc(50% - 228px);
  }

  .hero-object--figma {
    left: calc(50% - 445.97px);
  }

  .hero-object--black {
    left: calc(50% - 189px);
  }

  .hero-object--orange {
    left: calc(50% + 186px);
  }

  .hero-object--blue {
    left: calc(50% - 329px);
  }

  .hero-object--openai {
    left: calc(50% + 239px);
  }

  .profile-card-wrap {
    left: calc(50% - 158.2553px);
  }

  .experience {
    left: calc(50% - 408px);
  }

  .footer {
    left: calc(50% - 407px);
  }
}

@media (max-width: 1439px) {
  .page {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 0 24px 64px;
  }

  .case-study-page {
    width: 100%;
    min-height: 100vh;
  }

  .header {
    left: 24px;
    right: 24px;
    top: 24px;
    width: auto;
    height: 76px;
    padding: 12px;
  }

  .brand {
    width: 204px;
    height: 48.77px;
  }

  .header__nav {
    gap: 28px;
  }

  .hero {
    position: relative;
    inset: auto;
    width: 100%;
    height: 1040px;
  }

  .hero__title-wrap {
    left: calc(50% - 230.5px);
    top: 302px;
  }

  .hero-object--figma {
    left: calc(50% - 438px);
    top: 210px;
  }

  .hero-object--black {
    left: calc(50% - 190px);
    top: 126px;
  }

  .hero-object--orange {
    left: calc(50% + 196px);
    top: 156px;
  }

  .hero-object--blue {
    left: calc(50% - 330px);
    top: 450px;
  }

  .hero-object--openai {
    left: calc(50% + 240px);
    top: 398px;
  }

  .profile-card-wrap {
    left: calc(50% - 168px);
    top: 514px;
  }

  .experience,
  .footer {
    position: relative;
    left: auto;
    top: auto;
    width: min(816px, 100%);
    height: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .experience {
    margin-top: 36px;
  }

  .experience h2,
  .job,
  .case-card {
    width: 100%;
  }

  .job,
  .case-card {
    position: relative;
    left: auto;
    top: auto;
  }

  .job {
    height: auto;
  }

  .job--wetnose,
  .job--indahouse {
    top: auto;
    height: auto;
  }

  .job--wetnose {
    margin-top: 34px;
  }

  .job--indahouse {
    margin-top: 40px;
  }

  .case-card {
    margin-top: 20px;
  }

  .footer {
    margin-top: 80px;
  }

  .case-study {
    width: min(816px, calc(100% - 48px));
    padding: 140px 0 96px;
  }

  .case-study__headline h1,
  .case-study__headline p,
  .case-study__headline--cykly p,
  .case-study__text-block p,
  .case-study__ordered-list,
  .case-study__dash-list,
  .case-study__section-head p,
  .case-study__screen-head p,
  .case-study__mini-block p,
  .case-study__copy-group,
  .case-study__copy-group p,
  .case-study__screens-result,
  .cykly-screens-list {
    width: 100%;
  }

  .case-study__hero-image,
  .case-study__screen-image {
    width: 100%;
    height: auto;
    aspect-ratio: 816 / 580;
  }

  .case-study__visual {
    width: 100%;
  }

  .case-study__visual--process {
    height: auto;
    aspect-ratio: 816 / 601;
  }

  .case-study__visual--analysis {
    height: auto;
    aspect-ratio: 816 / 770;
  }

  .case-study__visual--cjm {
    height: auto;
    aspect-ratio: 816 / 1099;
  }

  .case-study__visual--cykly-competitors {
    height: auto;
    aspect-ratio: 816 / 1006;
  }

  .case-study__visual--cykly-persona-a {
    height: auto;
    aspect-ratio: 816 / 873;
  }

  .case-study__visual--cykly-persona-b {
    height: auto;
    aspect-ratio: 816 / 930;
  }

  .case-study__visual--cykly-architecture {
    height: auto;
    aspect-ratio: 816 / 368;
  }

  .case-study__visual--process img,
  .case-study__visual--cykly-competitors img,
  .case-study__visual--cykly-persona-a img,
  .case-study__visual--cykly-persona-b img,
  .case-study__visual--cykly-architecture img {
    width: 100%;
    height: 100%;
  }

  .case-study__compare-divider,
  .case-study__compare-range::-webkit-slider-thumb,
  .case-study__compare-range::-moz-range-thumb {
    height: 100%;
  }
}

@media (max-width: 900px) {
  .header__nav {
    gap: 20px;
  }

  .header__links {
    gap: 18px;
  }

  .hero {
    height: 980px;
  }

  .hero__title-wrap {
    top: 280px;
  }

  .profile-card-wrap {
    top: 498px;
  }

  .job__meta {
    min-width: 0;
    white-space: normal;
  }

  .case-card {
    height: clamp(500px, 72vw, 600px);
    min-height: 0;
    padding: 24px;
  }

  .case-card__content {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .case-card .case-button {
    position: relative;
    z-index: 3;
    width: 100%;
  }

  .case-card__media {
    position: absolute;
    left: 50%;
    right: auto;
    top: clamp(218px, 30vw, 284px);
    bottom: auto;
    width: 112%;
    height: auto;
    margin-top: 0;
    transform: translateX(-50%);
  }

  .case-card__media-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 375.744 / 267.195;
  }

  .case-card--cykly .case-card__media-frame img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .case-card--nolpyat .case-card__media {
    top: clamp(226px, 31vw, 296px);
    bottom: auto;
  }

  .case-card--nolpyat .case-card__media-frame img {
    width: 100%;
    height: 137.72%;
    object-fit: fill;
  }

  .case-study__metrics-row {
    flex-wrap: wrap;
    gap: 18px 28px;
    white-space: normal;
  }

  .case-study__result-grid {
    width: 100%;
    gap: 16px 32px;
  }

  .cykly-screen-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 18px;
  }

  .cykly-screen-item__picture {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 516 / 330;
  }
}

@media (max-width: 600px) {
  .page {
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 48px;
  }

  .header {
    left: 12px;
    right: 12px;
    top: 12px;
    height: 64px;
    padding: 10px;
  }

  .brand {
    width: 172px;
    height: 41.11px;
  }

  .header__nav {
    gap: 12px;
  }

  .header__links {
    gap: 0;
    font-size: 14px;
  }

  .header__links a:not(:first-child) {
    display: none;
  }

  .pill-button {
    width: 76px;
    height: 40px;
    gap: 6px;
    padding: 8px 16px;
    font-size: 15px;
  }

  .pill-button img {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .hero {
    height: 794px;
  }

  .hero__title-wrap {
    left: 0;
    top: 172px;
    width: 100%;
    height: auto;
    text-align: center;
  }

  .hero__title-wrap h1,
  .hero__title-wrap p {
    height: auto;
    white-space: normal;
  }

  .hero__title-wrap h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .hero__title-wrap p {
    margin-top: 4px;
    font-size: 23px;
    line-height: 1.2;
  }

  .hero-object {
    display: none;
  }

  .profile-card-wrap {
    left: calc(50% - 150px);
    top: 296px;
    width: 300px;
    height: 470px;
  }

  .profile-card {
    width: 260px;
    height: 435px;
  }

  .profile-card__photo {
    height: 267px;
  }

  .profile-card__body {
    gap: 10px;
  }

  .profile-card__copy p {
    font-size: 13px;
  }

  .tag {
    height: 22px;
    padding: 0 7px;
    font-size: 13px;
  }

  .profile-card__button,
  .case-button {
    height: 42px;
    font-size: 15px;
  }

  .experience {
    margin-top: 24px;
  }

  .experience h2 {
    height: auto;
    font-size: 28px;
  }

  .job--wetnose,
  .job--indahouse {
    margin-top: 28px;
  }

  .job__head {
    height: auto;
    align-items: flex-start;
  }

  .job__role,
  .job--wetnose .job__role {
    font-size: 16px;
  }

  .job__date,
  .job--wetnose .job__date,
  .job--indahouse .job__date {
    font-size: 14px;
  }

  .case-card {
    height: clamp(464px, 122vw, 520px);
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .case-card__content {
    min-height: 0;
  }

  .case-card__text h3 {
    font-size: 22px;
  }

  .case-card__media {
    top: 192px;
    bottom: auto;
    width: 118%;
  }

  .case-card__media-frame {
    height: auto;
  }

  .case-card--nolpyat .case-card__media {
    top: 204px;
    bottom: auto;
  }

  .footer {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 64px;
    padding: 22px 0 0;
  }

  .footer__nav {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 16px;
  }

  .case-study {
    width: calc(100% - 32px);
    padding: 104px 0 72px;
    gap: 44px;
  }

  .case-study__headline {
    min-height: 0;
  }

  .case-study__headline h1 {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .case-study__headline p,
  .case-study__text-block p,
  .case-study__ordered-list,
  .case-study__dash-list,
  .case-study__section-head p,
  .case-study__screen-head p,
  .case-study__mini-block p,
  .case-study__copy-group p,
  .cykly-screen-item__copy p {
    font-size: 15px;
  }

  .case-study__text-block h2,
  .case-study__visual-block h2,
  .case-study--cykly .case-study__text-block h2,
  .case-study--cykly .case-study__visual-block h2 {
    font-size: 22px;
    letter-spacing: 0;
  }

  .case-study__screen-head h2 {
    font-size: 19px;
  }

  .case-study__visual-block,
  .case-study__visual-block--with-copy {
    gap: 24px;
  }

  .case-study__hero-image,
  .case-study__screen-image,
  .case-study__visual,
  .cykly-screen-item__picture {
    border-radius: 16px;
  }

  .case-study__metrics-row,
  .case-study__result-grid {
    display: flex;
    flex-direction: column;
  }

  .case-study__metric p,
  .case-study__metric strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    content: none;
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-object,
  .hero-object__float,
  .header,
  .hero__title-wrap,
  .profile-card-wrap,
  .motion-reveal {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }

  .motion-reveal {
    opacity: 1 !important;
    filter: none !important;
  }
}
