@font-face {
  font-family: "Kommuna";
  src: url("../assets/fonts/Kommuna-Normal.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope/Manrope-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope/Manrope-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope/Manrope-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  background: #f1f2f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: #f1f2f4;
}

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

.case-hero {
  position: relative;
  height: 1030px;
  min-height: 1030px;
  overflow: hidden;
}

.case-header {
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 50%;
  width: min(calc(100% - 48px), 1200px);
  transform: translateX(-50%);
}

.case-nav {
  display: flex;
  min-height: 70px;
  padding: 8px 8px 8px 12px;
  border-radius: 99px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.case-nav__location,
.case-nav__links,
.case-nav__actions {
  display: flex;
  align-items: center;
}

.case-nav__location {
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.case-nav__avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border-radius: 50%;
}

.case-nav__avatar img {
  position: absolute;
  top: -0.21%;
  left: 0;
  width: 100%;
  height: 124.15%;
  object-fit: cover;
}

.case-nav__links {
  gap: 24px;
  margin-left: 140px;
  font-size: 16px;
  line-height: 1.4;
}

.case-nav__links a,
.case-nav__location {
  transition: opacity 160ms ease;
}

.case-nav__links a:hover,
.case-nav__location:hover {
  opacity: 0.55;
}

.case-nav__actions {
  gap: 4px;
}

.case-nav__button {
  display: inline-flex;
  min-height: 54px;
  padding: 16px 20px;
  border-radius: 99px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform 160ms ease;
}

.case-nav__button:hover {
  transform: translateY(-2px);
}

.case-nav__button--light {
  background: #fff;
}

.case-nav__button--dark {
  background: #000;
  color: #fff;
}

.case-nav a:focus-visible,
.case-back:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.case-hero__content {
  position: absolute;
  top: 172px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.case-back {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 9.6px;
  border-radius: 50%;
  place-items: center;
  background: #f1f2f4;
  transition: background-color 160ms ease, transform 160ms ease;
}

.case-back:hover {
  background: #fff;
  transform: translateX(-3px);
}

.case-back img {
  display: block;
  width: 28.8px;
  height: 28.8px;
}

.case-hero__copy {
  display: flex;
  width: 800px;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.case-hero h1 {
  width: 100%;
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.case-hero__description {
  width: 650px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.case-hero__meta {
  display: flex;
  margin: 0;
  align-items: flex-start;
  gap: 8px;
  color: #949494;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}

.case-hero__visual {
  position: relative;
  width: 1200px;
  height: 600px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(166.587deg, #98aef7 12.799%, #7792ef 106.73%);
}

.case-hero--mobile {
  height: 972px;
  min-height: 972px;
}

.case-hero--mobile .case-hero__content {
  gap: 32px;
}

.case-hero--mobile .case-hero__copy {
  min-height: 168px;
}

.case-hero--mobile .case-hero__visual--mobile {
  background: linear-gradient(166.587deg, #98aef7 12.799%, #7792ef 106.73%);
}

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

.case-hero--alfa {
  height: 1077px;
  min-height: 1077px;
}

.case-hero--alfa .case-hero__copy {
  min-height: 168px;
}

.case-hero__meta--alfa {
  max-width: 100%;
}

.case-video {
  width: min(100%, 1200px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
}

.case-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.alfa-intro {
  display: grid;
  width: 802px;
  min-height: 423px;
  margin: 40px auto 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.alfa-intro__card {
  position: relative;
  min-height: 423px;
  padding: 20px;
  overflow: hidden;
}

.alfa-intro h2,
.alfa-intro p { position: relative; z-index: 1; margin: 0; }
.alfa-intro h2 { margin-bottom: 12px; font-family: "Kommuna", "Iowan Old Style", Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.1; }
.alfa-intro p { font-size: 16px; line-height: 1.5; }
.alfa-intro p + p { margin-top: 12px; line-height: 1.4; }
.alfa-intro__highlights { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.alfa-intro__highlights span { position: absolute; height: 22px; background: #d6e7ff; }
.alfa-intro__card--context .alfa-intro__highlights span:nth-child(1) { top: 63px; left: 15px; width: 285px; }
.alfa-intro__card--context .alfa-intro__highlights span:nth-child(2) { top: 87px; left: 109px; width: 232px; }
.alfa-intro__card--context .alfa-intro__highlights span:nth-child(3) { top: 113px; left: 15px; width: 197px; }
.alfa-intro__card--context .alfa-intro__highlights span:nth-child(4) { top: 270px; left: 15px; width: 183px; }
.alfa-intro__card--context .alfa-intro__highlights span:nth-child(5) { top: 294px; left: 137px; width: 235px; }
.alfa-intro__card--context .alfa-intro__highlights span:nth-child(6) { top: 317px; left: 15px; width: 270px; }
.alfa-intro__card--research .alfa-intro__highlights span:nth-child(1) { top: 241px; left: 14px; width: 331px; }
.alfa-intro__card--research .alfa-intro__highlights span:nth-child(2) { top: 265px; left: 173px; width: 172px; }
.alfa-intro__card--research .alfa-intro__highlights span:nth-child(3) { top: 288px; left: 14px; width: 289px; }
.alfa-intro__card--research .alfa-intro__highlights span:nth-child(4) { top: 311px; left: 14px; width: 152px; }

.alfa-image {
  width: min(calc(100% - 48px), 1200px);
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 28px;
}

.alfa-image img {
  display: block;
  width: 100%;
  height: auto;
}

.alfa-image--checks {
  width: min(calc(100% - 48px), 1190px);
}

.alfa-cards {
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  margin: 40px auto 0;
  gap: 12px;
}

.alfa-cards__card {
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 36px;
}

.alfa-cards__card img {
  display: block;
  width: 100%;
  height: auto;
}

.alfa-ai-principle {
  display: flex;
  width: 800px;
  min-height: 298px;
  margin: 40px auto 0;
  padding: 20px 0;
  flex-direction: column;
  gap: 16px;
}

.alfa-ai-principle h2,
.alfa-ai-principle p { margin: 0; }
.alfa-ai-principle h2 { font-family: "Kommuna", "Iowan Old Style", Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.1; }
.alfa-ai-principle p { font-size: 16px; line-height: 1.5; }
.alfa-ai-principle dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.alfa-ai-principle dl > div { min-height: 107px; padding: 20px; border-radius: 20px; background: #fff; }
.alfa-ai-principle dt { margin-bottom: 12px; font-family: "Kommuna", "Iowan Old Style", Georgia, serif; font-size: 28px; line-height: 1.1; background: linear-gradient(164deg, #1348ff 12.799%, #7792ef 106.73%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alfa-ai-principle dd { margin: 0; font-size: 16px; line-height: 1.5; }

.alfa-flow {
  display: flex;
  width: 800px;
  min-height: 234px;
  margin: 40px auto 0;
  padding: 20px 0;
  flex-direction: column;
  gap: 12px;
}

.alfa-flow h2,
.alfa-flow p { margin: 0; }
.alfa-flow h2 { font-family: "Kommuna", "Iowan Old Style", Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.1; }
.alfa-flow p { font-size: 16px; line-height: 1.5; }
.alfa-flow__steps { display: flex; height: 36px; align-items: center; }
.alfa-flow__steps span { display: inline-flex; height: 36px; padding: 5px 10px; border-radius: 6px; align-items: center; justify-content: center; background: #000; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.alfa-flow__steps img { position: relative; z-index: 1; width: 10px; height: 8px; margin: 0 -5px; }

.alfa-experiments {
  display: flex;
  width: 800px;
  min-height: 175px;
  margin: 40px auto 0;
  padding: 20px 0;
  flex-direction: column;
  gap: 16px;
}

.alfa-experiments h2,
.alfa-experiments p { margin: 0; }
.alfa-experiments h2 { font-family: "Kommuna", "Iowan Old Style", Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.1; }
.alfa-experiments p { font-size: 16px; line-height: 1.5; }

.alfa-business-data {
  display: flex;
  width: 800px;
  min-height: 166px;
  margin: 40px auto 0;
  padding: 20px 0;
  flex-direction: column;
  gap: 16px;
}

.alfa-business-data h2,
.alfa-business-data p { margin: 0; }
.alfa-business-data h2 { font-family: "Kommuna", "Iowan Old Style", Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.1; }
.alfa-business-data p { font-size: 16px; line-height: 1.5; }

.mobile-case-intro {
  width: 802px;
  margin: 40px auto 0;
}

.mobile-case-intro__top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mobile-case-intro__card {
  position: relative;
  padding: 20px;
  overflow: hidden;
}

.mobile-case-intro h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.mobile-case-intro p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.mobile-case-intro p + p {
  margin-top: 12px;
  line-height: 1.4;
}

.mobile-case-intro__card::before,
.mobile-case-intro__card::after {
  position: absolute;
  z-index: 0;
  height: 22px;
  background: #d6e7ff;
  content: "";
}

.mobile-case-intro__card--context {
  height: 347px;
}

.mobile-case-intro__card--context::before {
  top: 195px;
  left: 14px;
  width: 300px;
  box-shadow: 0 25px 0 #d6e7ff, 166px 66px 0 #d6e7ff;
}

.mobile-case-intro__card--context::after {
  top: 220px;
  left: 14px;
  width: 284px;
}

.mobile-case-intro__card--task {
  height: 347px;
}

.mobile-case-intro__card--task::before {
  top: 64px;
  left: 16px;
  width: 344px;
  box-shadow: 0 25px 0 #d6e7ff, 283px 151px 0 #d6e7ff;
}

.mobile-case-intro__card--task::after {
  top: 237px;
  left: 16px;
  width: 270px;
}

.mobile-case-intro__card--research {
  height: 187px;
}

.mobile-case-intro__card--research::before {
  top: 65px;
  left: 14px;
  width: 237px;
}

.mobile-case-intro__card--research::after {
  display: none;
}

.mobile-case-intro__results {
  padding: 20px;
}

.mobile-case-intro__results h2 {
  margin-bottom: 20px;
}

.mobile-case-intro__results dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.mobile-case-intro__results dl > div {
  min-height: 131px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
}

.mobile-case-intro__results dt {
  margin-bottom: 12px;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  background: linear-gradient(169deg, #1348ff 12.799%, #7792ef 106.73%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile-case-intro__results dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.mobile-case-image {
  width: min(calc(100% - 48px), 1200px);
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 28px;
}

.mobile-case-image img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-case-key,
.mobile-case-process {
  width: 800px;
  margin: 40px auto 0;
}

.mobile-case-key {
  position: relative;
  min-height: 209px;
  padding: 20px 0;
}

.mobile-case-key::before,
.mobile-case-key::after,
.mobile-case-process__part--solution::before,
.mobile-case-process__part--solution::after {
  position: absolute;
  z-index: 0;
  height: 22px;
  background: #d6e7ff;
  content: "";
}

.mobile-case-comparison {
  margin-top: 40px;
}

.mobile-case-process--checkout {
  min-height: 491px;
}

.mobile-case-process--checkout .mobile-case-process__part:first-of-type {
  min-height: 220px;
}

.mobile-case-process--checkout .mobile-case-process__part p + p {
  line-height: 1.5;
}

.mobile-case-process--shift {
  min-height: 527px;
}

.mobile-case-process--shift .mobile-case-process__part {
  min-height: 220px;
}

.mobile-case-process--shift .mobile-case-process__part p + p {
  line-height: 1.5;
}

.mobile-case-cards {
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  margin: 40px auto 0;
  gap: 12px;
}

.mobile-case-cards__card {
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 36px;
}

.mobile-case-cards__card img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-case-process--client {
  min-height: 307px;
}

.mobile-case-process--client .mobile-case-process__part {
  min-height: 220px;
}

.mobile-case-process--client .mobile-case-process__part p + p {
  line-height: 1.5;
}

.mobile-case-reflection {
  width: 802px;
  margin: 40px auto 0;
}

.mobile-case-reflection h2 {
  margin: 0 0 16px;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.mobile-case-reflection p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.mobile-case-reflection p + p {
  margin-top: 16px;
}

.mobile-case-key::before {
  top: 66px;
  left: 395px;
  width: 342px;
}

.mobile-case-key::after {
  top: 89px;
  left: -6px;
  width: 230px;
}

.mobile-case-key h2,
.mobile-case-key p,
.mobile-case-process h2,
.mobile-case-process__part > * {
  position: relative;
  z-index: 1;
}

.mobile-case-key h2,
.mobile-case-process h2 {
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.mobile-case-key h2 {
  margin-bottom: 12px;
}

.mobile-case-key p,
.mobile-case-process p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.mobile-case-key p + p,
.mobile-case-process__part p + p {
  margin-top: 12px;
  line-height: 1.4;
}

.mobile-case-process {
  padding: 20px 0;
}

.mobile-case-process h2 {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-case-process h2 span {
  opacity: 0.3;
}

.mobile-case-process__part {
  position: relative;
  min-height: 208px;
  padding: 20px 0;
}

.mobile-case-process__part h3 {
  margin: 0 0 12px;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.mobile-case-process__part--solution {
  min-height: 184px;
}

.mobile-case-process__part--solution::before {
  top: 57px;
  left: 598px;
  width: 144px;
}

.mobile-case-process__part--solution::after {
  top: 82px;
  left: 166px;
  width: 437px;
}

.case-hero__screen {
  position: absolute;
  top: 73px;
  left: 50%;
  display: block;
  width: 1001px;
  height: 603px;
  border-radius: 20px;
  object-fit: cover;
  transform: translateX(-50%);
}

.privacy-mask {
  position: absolute;
  z-index: 1;
  background: rgba(242, 243, 247, 0.2);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

.privacy-mask--logo {
  top: 85px;
  left: 111px;
  width: 91px;
  height: 18px;
}

.privacy-mask--project {
  top: 447px;
  left: 111px;
  width: 91px;
  height: 24px;
  border-radius: 4px;
}

.case-intro {
  display: flex;
  width: 802px;
  height: 1037px;
  margin: 40px auto 0;
  flex-direction: column;
  gap: 12px;
}

.case-intro__section,
.case-intro__results {
  display: flex;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.case-intro__section--context { height: 209px; }
.case-intro__section--immersion { height: 265px; }
.case-intro__section--research { height: 166px; }
.case-intro__results { height: 361px; gap: 16px; }

.case-intro h2,
.case-intro p,
.case-intro dl,
.case-intro dt,
.case-intro dd {
  margin: 0;
}

.case-intro h2,
.case-intro dt {
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.case-intro p,
.case-intro dd {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.case-intro__lead { line-height: 1.5 !important; }

.case-intro mark {
  margin: 0 -5px;
  padding: 0 5px;
  background: #d6e7ff;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.case-intro__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
}

.case-intro__logos img { display: block; max-height: 48px; width: auto; }

.case-intro__results dl {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-intro__results dl > div {
  display: flex;
  height: 131px;
  padding: 20px;
  border-radius: 20px;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.case-intro__results dt { color: #1c4ae5; }

.case-intro__results dd { line-height: 1.5; }

.research-collage {
  width: min(calc(100% - 48px), 1200px);
  aspect-ratio: 1200 / 624;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 28px;
}

.research-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-planning {
  display: flex;
  width: 800px;
  height: 491px;
  margin: 40px auto 0;
  padding: 20px 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.case-planning--onboarding {
  height: auto;
  padding: 0;
}

.case-planning.case-planning--onboarding h2 {
  white-space: normal;
}

.case-planning h2,
.case-planning h3,
.case-planning p,
.case-planning ul {
  margin: 0;
}

.case-planning h2 {
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.case-planning h2 span {
  margin-right: 8px;
}

.case-planning__content {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.case-planning__part {
  display: flex;
  width: 100%;
  height: 184px;
  padding: 20px 0;
  border-radius: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.case-planning__part--requirements {
  height: 220px;
}

.case-planning h3,
.case-process-summary h3 {
  width: 100%;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.case-planning p,
.case-planning li,
.case-process-summary p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.case-planning p {
  width: 100%;
}

.case-planning ul {
  width: 100%;
  padding-left: 24px;
}

.case-reflection {
  display: flex;
  width: min(calc(100% - 32px), 802px);
  height: 215px;
  margin: 40px auto 0;
  flex-direction: column;
  gap: 16px;
}

.case-reflection h2,
.case-reflection p {
  width: 100%;
  margin: 0;
}

.case-reflection h2 {
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.case-reflection p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.case-reflection__question { font-weight: 600 !important; }

.case-footer {
  margin-top: 40px;
  padding-bottom: 40px;
}

.case-footer__nav {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  text-align: center;
}

.case-footer__projects { display: flex; gap: 12px; }

.case-footer__project {
  display: flex;
  flex: 1;
  min-width: 0;
  padding: 16px 32px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 99px;
  background: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.case-footer__project--next { background: #000; color: #fff; }
.case-footer__project:hover { background: #e9e9e9; }
.case-footer__project--next:hover { background: #262626; }

.case-footer__arrow {
  width: 13.56px;
  height: 7.56px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.case-footer__arrow--next { transform: rotate(-90deg) scaleY(-1); }

.case-footer a:focus-visible { outline: 2px solid #000; outline-offset: 4px; }

@media (max-width: 860px) {
  .case-footer__nav { width: calc(100% - 32px); }
  .case-footer__projects { flex-direction: column; gap: 12px; }
  .case-footer__project { padding: 16px 20px; font-size: 16px; }
}

.case-process-summary {
  display: flex;
  width: min(calc(100% - 32px), 800px);
  margin: 40px auto 0;
  padding: 20px 0;
  flex-direction: column;
  gap: 12px;
  overflow-wrap: break-word;
}

.case-process-summary h3,
.case-process-summary p {
  margin: 0;
}

.case-planning-details {
  width: min(calc(100% - 48px), 1200px);
  margin: 8px auto 0;
}

.case-planning-details img {
  display: block;
  width: 100%;
  height: auto;
}

.case-carousel {
  cursor: pointer;
  position: relative;
  width: min(calc(100% - 48px), 1200px);
  margin: 40px auto 0;
  aspect-ratio: 1200 / 579;
  border-radius: 28px;
  overflow: hidden;
  touch-action: pan-y;
}

.case-carousel__slides img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.case-carousel [hidden] { display: none; }

/* The exported frames include the controls; buttons provide their hit areas. */
.case-carousel button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.case-carousel button:focus-visible {
  outline: 2px solid #777;
  outline-offset: -2px;
  border-radius: 20px;
}

.case-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: max(44px, 4%);
  height: max(44px, 8.3%);
}

.case-carousel__arrow--prev { left: 1.667%; }
.case-carousel__arrow--next { right: 1.667%; }

.case-carousel__dots {
  position: absolute;
  left: 50%;
  top: 96.55%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 5%;
  height: 32px;
}

.case-carousel__dots button { flex: 1; min-width: 0; }

.case-comparison {
  --split: 50%;
  position: relative;
  width: min(calc(100% - 48px), 1200px);
  aspect-ratio: 1200 / 625;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  isolation: isolate;
  user-select: none;
}

.case-comparison__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.case-comparison__image--before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.case-comparison__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  pointer-events: none;
}

.case-comparison__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.case-hero__comparison {
  width: min(100%, 1200px);
  margin: 0;
  background: linear-gradient(166.05deg, #98aef7 12.799%, #7792ef 106.73%);
}

@media (max-width: 620px) {
  .case-planning-details {
    width: calc(100% - 32px);
  }

  .case-carousel {
    width: calc(100% - 32px);
    border-radius: 18px;
  }

  .case-comparison {
    width: calc(100% - 32px);
    border-radius: 18px;
  }
}

@media (max-width: 1100px) {
  .case-nav__links {
    margin-left: 0;
  }

  .case-hero__visual {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .case-hero {
    height: auto;
    min-height: 100svh;
    padding-bottom: 20px;
    overflow: visible;
  }

  .case-nav__links {
    display: none;
  }

  .case-hero__content {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 32px);
    padding-top: 124px;
    transform: none;
  }

  .case-hero__copy {
    width: min(100%, 650px);
    min-height: 0;
  }

  .case-hero h1 {
    font-size: clamp(30px, 6vw, 32px);
  }

  .case-hero__description {
    width: min(100%, 650px);
  }

  .case-hero__description br {
    display: none;
  }

  .case-back {
    top: 124px;
  }

  .case-hero__copy {
    padding-top: 64px;
  }

  .case-hero__visual {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .case-hero__comparison {
    width: 100%;
  }

  .case-hero__screen {
    top: 12%;
    width: 83.42%;
    height: auto;
    aspect-ratio: 1001 / 603;
  }

  .privacy-mask--logo,
  .privacy-mask--project {
    display: none;
  }

  .case-intro {
    width: min(calc(100vw - 32px), 802px);
    height: auto;
  }

  .case-intro__section,
  .case-intro__results {
    height: auto;
  }

  .case-planning {
    width: min(calc(100vw - 32px), 800px);
    height: auto;
  }

  .case-reflection {
    height: auto;
  }

  .case-planning__part,
  .case-planning__part--requirements {
    height: auto;
  }

  .case-planning br {
    display: none;
  }
}

@media (max-width: 620px) {
  .case-header {
    top: 12px;
    width: calc(100vw - 24px);
  }

  .case-nav {
    min-height: 60px;
    padding: 6px 6px 6px 8px;
  }

  .case-nav__avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .case-nav__location > span:last-child,
  .case-nav__button--light {
    display: none;
  }

  .case-nav__button {
    min-height: 48px;
    padding: 13px 16px;
    font-size: 14px;
  }

  .case-hero__content {
    width: calc(100vw - 32px);
    gap: 24px;
    padding-top: 98px;
  }

  .case-back {
    top: 98px;
    width: 42px;
    height: 42px;
  }

  .case-hero__copy {
    min-width: 0;
    max-width: 100%;
    gap: 14px;
    padding-top: 58px;
  }

  .case-hero h1 {
    font-size: clamp(28px, 8vw, 32px);
  }

  .case-hero h1 br {
    display: none;
  }

  .case-hero__description {
    max-width: 100%;
    font-size: 14px;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }

  .case-hero__meta {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    white-space: normal;
  }

  .case-hero__visual {
    height: 430px;
    border-radius: 22px;
  }

  .case-hero--mobile .case-hero__copy,
  .case-hero--mobile .case-hero__visual {
    width: 100%;
    min-width: 0;
  }

  .case-hero--mobile .case-hero__visual {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .case-hero--mobile .case-hero__visual img {
    max-width: 100%;
  }

  .case-hero__screen {
    top: 52px;
    width: auto;
    height: 430px;
    max-width: none;
  }

  .research-collage {
    width: calc(100vw - 32px);
    border-radius: 18px;
  }

  .case-intro__logos {
    height: auto;
    flex-wrap: wrap;
  }

  .case-intro__results dl {
    grid-template-columns: 1fr;
  }

  .mobile-case-intro {
    width: calc(100% - 32px);
  }

  .mobile-case-image {
    width: calc(100% - 32px);
    border-radius: 18px;
  }

  .mobile-case-key,
  .mobile-case-process,
  .mobile-case-reflection {
    width: calc(100% - 32px);
    min-height: 0;
  }

  .mobile-case-cards {
    width: calc(100% - 32px);
    gap: 8px;
  }

  .mobile-case-cards__card {
    border-radius: 18px;
  }

  .alfa-intro {
    width: calc(100% - 32px);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .alfa-intro__card {
    min-height: 0;
  }

  .alfa-intro__highlights {
    display: none;
  }

  .alfa-image {
    width: calc(100% - 32px);
    border-radius: 18px;
  }

  .alfa-cards {
    width: calc(100% - 32px);
    gap: 8px;
  }

  .alfa-cards__card {
    border-radius: 18px;
  }

  .alfa-ai-principle {
    width: calc(100% - 32px);
    min-height: 0;
  }

  .alfa-ai-principle dl {
    grid-template-columns: 1fr;
  }

  .alfa-flow {
    width: calc(100% - 32px);
    min-height: 0;
  }

  .alfa-experiments {
    width: calc(100% - 32px);
    min-height: 0;
  }

  .alfa-business-data {
    width: calc(100% - 32px);
    min-height: 0;
  }

  .alfa-flow__steps {
    height: auto;
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .mobile-case-key::before,
  .mobile-case-key::after,
  .mobile-case-process__part--solution::before,
  .mobile-case-process__part--solution::after {
    display: none;
  }

  .mobile-case-intro__top,
  .mobile-case-intro__results dl {
    grid-template-columns: 1fr;
  }

  .mobile-case-intro__card--context,
  .mobile-case-intro__card--task,
  .mobile-case-intro__card--research {
    height: auto;
    min-height: 0;
  }

  .mobile-case-intro__card::before,
  .mobile-case-intro__card::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-nav__links a,
  .case-nav__location,
  .case-nav__button,
  .case-back {
    transition: none;
  }
}
