/* Case study pages */
.cs-page {
  --cs-ink: #12081c;
  --cs-muted: rgba(40, 32, 52, 0.72);
  --cs-soft: #f7f4fb;
  --cs-deep: #1a0b2e;
  --cs-panel: #2a1048;
  color: var(--cs-ink);
  background: #fff;
  overflow-x: clip;
}
.cs-page a { color: inherit; }
.cs-accent { color: var(--color-primary); }
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.cs-hero {
  position: relative; isolation: isolate;
  min-height: min(78svh, 640px);
  display: flex; align-items: center;
  padding: clamp(110px, 16vh, 150px) clamp(24px, 6vw, 96px) clamp(56px, 8vh, 88px);
  color: #fff; background: var(--cs-deep); overflow: hidden;
}
.cs-hero__bg {
  position: absolute; inset: 0;
  background: var(--cs-hero-image) center / cover no-repeat;
  transform: translateY(var(--cs-parallax, 0px));
}
.cs-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,11,46,.9) 0%, rgba(42,16,72,.7) 55%, rgba(26,11,46,.4) 100%);
}
.cs-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.cs-hero__eyebrow {
  margin: 0 0 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(201,160,255,.95);
}
.cs-hero__title {
  margin: 0 0 18px; font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.1; font-weight: 700; letter-spacing: -.02em;
}
.cs-hero__tagline {
  margin: 0 0 28px; max-width: 58ch; font-size: clamp(1rem,1.5vw,1.12rem);
  line-height: 1.65; color: rgba(255,255,255,.86);
}
.cs-hero__cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; font-size: 15px; font-weight: 600;
  text-decoration: none; color: #fff !important; background: var(--color-primary);
  transition: transform .3s ease, background .3s ease;
}
.cs-hero__cta:hover { background: rgb(76,28,128); transform: translateY(-2px); }

.cs-section { padding: clamp(64px, 10vh, 112px) clamp(24px, 6vw, 96px); }
.cs-section--soft { background: var(--cs-soft); }
.cs-section--deep { background: var(--cs-deep); color: #fff; }
.cs-section__title {
  margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15; letter-spacing: -.02em;
}
.cs-section--deep .cs-section__title { color: #fff; }
.cs-section__body p, .cs-split__copy p {
  margin: 0 0 14px; max-width: 70ch; color: var(--cs-muted); line-height: 1.7;
}
.cs-section--deep .cs-section__body p { color: rgba(255,255,255,.78); }

.cs-split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.cs-split--flip .cs-split__media { order: 2; }
.cs-split--flip .cs-split__copy { order: 1; }
.cs-split__media { margin: 0; line-height: 0; }
.cs-split__media img { width: 100%; height: auto; display: block; }

.cs-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px; margin-top: 28px;
}
.cs-card {
  padding: 22px; background: #fff; border: 1px solid rgba(96,38,158,.12);
}
.cs-card p { margin: 0; color: var(--cs-muted); line-height: 1.6; }

.cs-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px;
}
.cs-list li {
  padding: 16px 18px; background: #fff; border: 1px solid rgba(96,38,158,.12);
  color: var(--cs-muted); line-height: 1.55;
}
.cs-section--deep .cs-list li {
  background: rgba(255,255,255,.04); border-color: rgba(201,160,255,.16); color: rgba(255,255,255,.82);
}

.cs-others { padding: clamp(48px, 8vh, 80px) clamp(24px, 6vw, 96px); background: #fff; }
.cs-others__title { margin: 0 0 22px; font-size: 1.4rem; }
.cs-others__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px;
}
.cs-others__grid a {
  display: block; padding: 16px 18px; text-decoration: none;
  border: 1px solid rgba(96,38,158,.12); transition: border-color .25s ease, transform .25s ease;
}
.cs-others__grid a:hover { border-color: rgba(96,38,158,.4); transform: translateY(-2px); }
.cs-others__grid strong { display: block; margin-bottom: 4px; }
.cs-others__grid span { color: var(--cs-muted); font-size: .95rem; }

.cs-connect {
  background: var(--cs-panel); color: #fff;
  padding: clamp(64px, 10vh, 112px) clamp(24px, 6vw, 96px);
}
.cs-connect__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.cs-connect__title { margin: 0 0 18px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cs-connect__intro p { margin: 0 0 14px; color: rgba(255,255,255,.78); line-height: 1.65; }
.cs-connect__form { display: grid; gap: 14px; }
.cs-connect__field { display: flex; flex-direction: column; gap: 6px; }
.cs-connect__field label {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.cs-connect__field input:not([type=checkbox]),
.cs-connect__field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 15px; outline: none;
}
.cs-connect__field--checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.cs-connect__field--checkbox label {
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.7);
}
.cs-connect__submit {
  justify-self: start; min-height: 48px; padding: 0 28px; border: none;
  background: #fff; color: var(--color-primary); font-size: 15px; font-weight: 700; cursor: pointer;
}
.cs-connect__submit:hover { background: #f0e8ff; }

@media (max-width: 960px) {
  .cs-split, .cs-split--flip, .cs-cards, .cs-list, .cs-others__grid, .cs-connect__grid { grid-template-columns: 1fr; }
  .cs-split--flip .cs-split__media, .cs-split--flip .cs-split__copy { order: initial; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.cs-hero__brand {
  display: block;
  width: auto;
  height: 42px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.cs-hero__brand--natural {
  filter: none;
  height: 48px;
}
.cs-hero--recog {
  padding-bottom: clamp(140px, 20vh, 180px);
}
.cs-hero__recog {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(28px, 5vh, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  max-width: min(520px, calc(100% - 48px));
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--cs-ink);
  box-shadow: 0 12px 30px rgba(18, 8, 28, 0.18);
}
.cs-hero__recog-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  flex-shrink: 0;
}
.cs-hero__recog strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}
.cs-hero__recog p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cs-muted);
}
@media (max-width: 720px) {
  .cs-hero__recog {
    border-radius: 18px;
    max-width: calc(100% - 32px);
    left: 16px;
    right: 16px;
  }
}
.cs-banner {
  padding: clamp(40px, 7vh, 72px) clamp(24px, 6vw, 96px);
  text-align: center;
  background: #fff;
}
.cs-banner__title {
  margin: 0 auto;
  max-width: min(920px, 92vw);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.cs-media--accent {
  position: relative;
  z-index: 0;
}
.cs-media--accent::before,
.cs-media--accent::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  z-index: -1;
}
.cs-media--accent::before {
  top: -12px;
  left: -12px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.cs-media--accent::after {
  right: -12px;
  bottom: -12px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.cs-section__lead {
  margin: 0 auto 36px;
  max-width: 68ch;
  text-align: center;
  color: var(--cs-muted);
  line-height: 1.7;
}
.cs-section--watermark {
  position: relative;
  overflow: hidden;
}
.cs-section--watermark::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 0;
  width: min(42%, 420px);
  height: 70%;
  background: var(--cs-idea-bg) right bottom / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
.cs-card__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.cs-award__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cs-idea {
  position: relative;
  padding: clamp(72px, 12vh, 120px) clamp(24px, 6vw, 96px);
  text-align: center;
  background: #f7f4f8;
  overflow: hidden;
}
.cs-idea::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: var(--cs-idea-bg) center bottom / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.cs-idea__title,
.cs-idea__text {
  position: relative;
  z-index: 1;
}
.cs-idea__title {
  margin: 0 auto 18px;
  max-width: 24ch;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
}
.cs-idea__text {
  margin: 0 auto;
  max-width: 70ch;
  color: var(--cs-muted);
  line-height: 1.7;
}
.cs-idea__text + .cs-idea__text {
  margin-top: 14px;
}
.cs-split + .cs-cards {
  margin-top: clamp(36px, 5vh, 56px);
}
.cs-card__title.cs-accent {
  color: var(--color-primary);
}
.cs-text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-primary) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cs-photos {
  position: relative;
}
.cs-photos__viewport {
  overflow: hidden;
  border-radius: 14px;
  line-height: 0;
  background: #12081c;
}
.cs-photos__track {
  display: flex;
  transition: transform 0.45s ease;
}
.cs-photos__slide {
  flex: 0 0 100%;
  margin: 0;
}
.cs-photos__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.cs-photos__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #12081c;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
.cs-photos__nav--prev { left: 12px; }
.cs-photos__nav--next { right: 12px; }
.cs-video-block {
  padding: clamp(64px, 10vh, 112px) clamp(24px, 6vw, 96px);
  background: #faf6f8;
  text-align: center;
}
.cs-video-block .cs-section__title {
  margin-left: auto;
  margin-right: auto;
  max-width: 28ch;
}
.cs-video-block__lead {
  margin: 0 auto 28px;
  max-width: 70ch;
  color: var(--cs-muted);
  line-height: 1.7;
}
.cs-video {
  position: relative;
  display: block;
  max-width: 960px;
  margin: 0 auto;
  line-height: 0;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
}
.cs-video img {
  width: 100%;
  height: auto;
  display: block;
}
.cs-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.cs-video__play::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 24px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--color-primary);
}
.cs-related {
  padding: clamp(56px, 9vh, 96px) clamp(24px, 4vw, 48px) clamp(72px, 10vh, 120px);
  background: #fff;
}
.cs-related__title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cs-related__shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.cs-related__viewport {
  overflow: hidden;
}
.cs-related__track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.cs-related__card {
  flex: 0 0 min(78vw, 280px);
  display: grid;
  gap: 10px;
  text-decoration: none;
}
.cs-related__card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #1a0b2e;
}
.cs-related__meta {
  font-size: 12px;
  color: var(--cs-muted);
  line-height: 1.4;
}
.cs-related__card strong {
  font-size: 1rem;
  line-height: 1.35;
}
.cs-related__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(18, 8, 28, 0.16);
  background: #fff;
  font-size: 22px;
  cursor: pointer;
}
.cs-related__arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
@media (max-width: 960px) {
  .cs-related__shell { grid-template-columns: 1fr; }
  .cs-related__arrow { justify-self: center; }
}

.cs-section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 28ch;
}
.cs-cards--lift {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}
.cs-cards--lift .cs-card {
  box-shadow: 0 14px 34px rgba(18, 8, 28, 0.08);
  border: none;
}
.cs-cards--icons .cs-card {
  text-align: center;
  padding: 28px 22px;
}
.cs-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}
.cs-video--inline {
  max-width: none;
  margin: 0;
  width: 100%;
}
.cs-media--accent-right::before {
  left: auto;
  right: -12px;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.cs-media--accent-right::after {
  right: auto;
  left: -12px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.cs-orbit {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px) 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  margin-top: 36px;
}
.cs-orbit__col {
  display: grid;
  gap: 14px;
}
.cs-orbit__chip {
  margin: 0;
  padding: 16px 18px;
  background: #f3eef7;
  border-radius: 14px;
  color: var(--cs-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}
.cs-orbit__media {
  margin: 0;
  line-height: 0;
  border-radius: 18px;
  overflow: hidden;
}
.cs-orbit__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.cs-icon-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.cs-icon-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--cs-muted);
  line-height: 1.55;
}
.cs-icon-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
@media (max-width: 960px) {
  .cs-orbit {
    grid-template-columns: 1fr;
  }
  .cs-orbit__media {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
}

