@charset "UTF-8";

/* Unified case-detail presentation. All data still comes from the CMS record. */
body.ny-case-show_body.case-unified {
  --case-brand: #dc5896;
  --case-brand-warm: #f35f71;
  --case-ink: #172033;
  --case-copy: #4c5566;
  --case-line: rgba(23, 32, 51, 0.13);
  --case-surface: #fff;
  --case-title-size: clamp(2.2rem, 3vw, 2.8rem);
  --case-title-line: 1.3;
  --case-title-weight: 600;
  background: var(--case-surface) !important;
}

body.ny-case-show_body.case-unified .bj-as { display: none !important; }

body.ny-case-show_body.case-unified .show-case-content {
  --case-haze-x-a: 0px;
  --case-haze-y-a: 0px;
  --case-haze-scale-a: 1;
  --case-haze-x-b: 0px;
  --case-haze-y-b: 0px;
  --case-haze-scale-b: 1;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(5.75rem, 8vw, 8rem) 0 0 !important;
  background: #fff !important;
}

body.ny-case-show_body.case-unified .show-case-content::before,
body.ny-case-show_body.case-unified .show-case-content::after {
  content: "";
  position: fixed;
  z-index: -1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(7.5rem);
  will-change: transform;
  transition: transform 0.28s ease-out;
}

body.ny-case-show_body.case-unified .show-case-content::before {
  top: 13vh;
  left: -8rem;
  width: 29rem;
  height: 29rem;
  background: rgba(220, 88, 150, 0.11);
  transform: translate3d(var(--case-haze-x-a), var(--case-haze-y-a), 0) scale(var(--case-haze-scale-a));
}

body.ny-case-show_body.case-unified .show-case-content::after {
  top: 55vh;
  right: -10rem;
  width: 31rem;
  height: 31rem;
  background: rgba(243, 95, 113, 0.068);
  transform: translate3d(var(--case-haze-x-b), var(--case-haze-y-b), 0) scale(var(--case-haze-scale-b));
}

body.ny-case-show_body.case-unified .case-hero-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(5rem, 8vw, 7.5rem);
}

body.ny-case-show_body.case-unified .show-case-cont1 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: auto auto;
  align-items: start;
  width: 100%;
  color: var(--case-ink) !important;
  column-gap: clamp(4rem, 7vw, 8rem);
  row-gap: 1.75rem;
}

body.ny-case-show_body.case-unified .show-case-cont1 .ny-titax { display: contents !important; }

body.ny-case-show_body.case-unified .show-case-cont1 .tit {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  color: var(--case-ink) !important;
  font-family: inherit !important;
  font-size: var(--case-title-size) !important;
  line-height: var(--case-title-line) !important;
  font-weight: var(--case-title-weight) !important;
  letter-spacing: -0.035em;
}

body.ny-case-show_body.case-unified .show-case-cont1 .tit::before,
body.ny-case-show_body.case-unified .show-case-cont1 .tit::after {
  display: none !important;
  content: none !important;
}

body.ny-case-show_body.case-unified .case-project-meta {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: 42rem;
  padding-top: 0.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

body.ny-case-show_body.case-unified .case-project-meta__item { min-width: 0; }
body.ny-case-show_body.case-unified .case-project-meta__item span,
body.ny-case-show_body.case-unified .case-project-meta__item strong { display: block; }

body.ny-case-show_body.case-unified .case-project-meta__item span {
  margin-bottom: 0.48rem;
  color: var(--case-brand);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

body.ny-case-show_body.case-unified .case-project-meta__item strong {
  color: #30394a;
  font-size: 1.06rem;
  line-height: 1.55;
  font-weight: 500;
}

body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 {
  display: flex !important;
  grid-column: 2;
  grid-row: 1;
  align-items: flex-start;
  width: 100% !important;
  margin: 0 !important;
}

body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 a.fxas {
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  width: 13rem;
  height: 3.75rem;
  padding: 0 1.7rem !important;
  color: #fff !important;
  background: var(--case-brand) !important;
  border: 1px solid var(--case-brand) !important;
  border-radius: 999px !important;
  box-shadow: 0 0.75rem 2rem rgba(220, 88, 150, 0.2);
  transition: color 0.45s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 a.fxas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.52s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 a.fxas::after { display: none !important; }
body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 a.fxas:hover {
  color: var(--case-brand) !important;
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.5rem rgba(220, 88, 150, 0.24);
}
body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 a.fxas:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

body.ny-case-show_body.case-unified .case-link-label {
  position: relative;
  z-index: 1;
  color: currentColor;
  font-size: 0.94rem;
  line-height: 1;
  font-weight: 600;
}

body.ny-case-show_body.case-unified .case-link-icon {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.7rem;
}

body.ny-case-show_body.case-unified .case-link-icon i {
  position: absolute;
  top: 50%;
  width: 0.72rem;
  height: 0.42rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  transform: translateY(-50%) rotate(-34deg);
}
body.ny-case-show_body.case-unified .case-link-icon i:first-child { left: 0.02rem; }
body.ny-case-show_body.case-unified .case-link-icon i:last-child { left: 0.55rem; }

body.ny-case-show_body.case-unified .show-case-cont1 .cont-p {
  grid-column: 2;
  grid-row: 2;
  margin: 0 !important;
  padding-top: 1.5rem;
  color: var(--case-copy) !important;
  border-top: 1px solid var(--case-line) !important;
  font-size: 1.05rem !important;
  line-height: 1.9 !important;
  font-weight: 400;
}

body.ny-case-show_body.case-unified .show-case-cont1 .cont-p::before,
body.ny-case-show_body.case-unified .show-case-cont1 .cont-p::after {
  display: none !important;
  content: none !important;
}

body.ny-case-show_body.case-unified .case451-admin-config,
body.ny-case-show_body.case-unified .case-admin-config { display: none !important; }

/* Optional video and process modules. */
body.ny-case-show_body.case-unified .case451-video-stage,
body.ny-case-show_body.case-unified .case451-process,
body.ny-case-show_body.case-unified .case-detail-shell { position: relative; z-index: 2; }

body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage { padding: 0 var(--cbasta) 8.5rem; }
body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: -1;
  width: 32rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(220, 88, 150, 0.12);
  filter: blur(6.5rem);
  transform: translateX(-50%);
  pointer-events: none;
}
body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage__inner { width: min(78rem, 80vw); margin: 0 auto; }
body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage__frame {
  --case-video-lift: 0px;
  --case-video-scale: 1;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #fff;
  border: 0.5rem solid #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2.5rem 6rem rgba(23, 32, 51, 0.19), 0 0 0 1px rgba(23, 32, 51, 0.06);
  transform: translate3d(0, var(--case-video-lift), 0) scale(var(--case-video-scale));
  transform-origin: center;
  will-change: transform;
  transition: transform 0.2s ease-out, box-shadow 0.25s ease-out;
}
body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage__frame video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  background: #fff;
}

body.ny-case-show_body.case451-redesign .case451-process { padding: 1rem var(--cbasta) 3.25rem; }
body.ny-case-show_body.case451-redesign .case451-process__inner { max-width: 86rem; margin: 0 auto; }
body.ny-case-show_body.case451-redesign .case451-process__title {
  margin: 0 0 5.25rem;
  color: var(--case-ink);
  font-family: inherit !important;
  font-size: var(--case-title-size) !important;
  line-height: var(--case-title-line) !important;
  font-weight: var(--case-title-weight) !important;
  letter-spacing: -0.035em;
}
body.ny-case-show_body.case451-redesign .case451-process__title span,
body.ny-case-show_body.case451-redesign .case451-process__title strong { display: block; }
body.ny-case-show_body.case451-redesign .case451-process__title span,
body.ny-case-show_body.case451-redesign .case451-process__title strong { font-weight: var(--case-title-weight) !important; }
body.ny-case-show_body.case451-redesign .case451-process__steps {
  display: grid;
  padding-top: 2.25rem;
  border-top: 1px solid var(--case-line);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2rem;
}
body.ny-case-show_body.case451-redesign .case451-process__step { display: flex; min-width: 0; flex-direction: column; }
body.ny-case-show_body.case451-redesign .case451-process__step > strong {
  color: var(--case-brand);
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}
body.ny-case-show_body.case451-redesign .case451-process__number { display: inline; color: inherit; font: inherit; }
body.ny-case-show_body.case451-redesign .case451-process__label { margin-top: 0.85rem; color: #333b4b; font-size: 1rem; line-height: 1.5; }
body.ny-case-show_body.case451-redesign .case451-process.is-ready .case451-process__step > strong,
body.ny-case-show_body.case451-redesign .case451-process.is-ready .case451-process__label {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
body.ny-case-show_body.case451-redesign .case451-process.is-visible .case451-process__step > strong,
body.ny-case-show_body.case451-redesign .case451-process.is-visible .case451-process__label { opacity: 1; transform: translateY(0); }
body.ny-case-show_body.case451-redesign .case451-process__step:nth-child(1) > strong { transition-delay: 0ms; }
body.ny-case-show_body.case451-redesign .case451-process__step:nth-child(2) > strong { transition-delay: 80ms; }
body.ny-case-show_body.case451-redesign .case451-process__step:nth-child(3) > strong { transition-delay: 160ms; }
body.ny-case-show_body.case451-redesign .case451-process__step:nth-child(4) > strong { transition-delay: 240ms; }
body.ny-case-show_body.case451-redesign .case451-process__step:nth-child(5) > strong { transition-delay: 320ms; }
body.ny-case-show_body.case451-redesign .case451-process__step:nth-child(6) > strong { transition-delay: 400ms; }

/* Shared detail body and fixed QR rail. */
body.ny-case-show_body.case-unified .case-detail-shell {
  display: grid;
  box-sizing: border-box;
  width: min(92rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 9rem 3rem;
  grid-template-columns: minmax(0, 1fr) 10rem;
  column-gap: clamp(3rem, 4vw, 5rem);
  align-items: start;
}
body.ny-case-show_body.case-unified .case-detail-main { min-width: 0; }
body.ny-case-show_body.case-unified .case-detail-heading { padding: 0; }
body.ny-case-show_body.case-unified .case-detail-heading__inner {
  margin: 0;
  padding: 5.75rem 0 4rem;
  border-top: 0;
}
body.ny-case-show_body.case451-redesign .case-detail-heading__inner { padding-top: 2.75rem; }
body.ny-case-show_body.case-unified .case-detail-heading p {
  margin: 0 0 1.2rem;
  color: var(--case-brand) !important;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0.18em;
  mix-blend-mode: normal !important;
}
body.ny-case-show_body.case-unified .case-detail-heading h2 {
  margin: 0;
  color: var(--case-ink);
  font-family: inherit !important;
  font-size: var(--case-title-size) !important;
  line-height: var(--case-title-line) !important;
  font-weight: var(--case-title-weight) !important;
  letter-spacing: -0.045em;
}

body.ny-case-show_body.case-unified .show-case-content .content {
  width: 100%;
  min-width: 0;
  margin-top: 0 !important;
  color: var(--case-copy);
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 1.0625rem;
  line-height: 1.95;
}
body.ny-case-show_body.case-unified .show-case-content .content .wh,
body.ny-case-show_body.case-unified .show-case-content .content .ptx { width: 100% !important; max-width: none !important; }
body.ny-case-show_body.case-unified .show-case-content .content p {
  max-width: 62rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: inherit;
  text-align: left;
  mix-blend-mode: normal !important;
}
body.ny-case-show_body.case-unified .show-case-content .content strong { font-weight: 600; }
body.ny-case-show_body.case-unified .show-case-content .content a { color: var(--case-brand); }
body.ny-case-show_body.case-unified .show-case-content .content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
  border-radius: 1rem;
}

body.ny-case-show_body.case-unified .case-socials {
  position: sticky !important;
  top: 5.75rem;
  z-index: 4;
  align-self: start;
  width: 10rem;
  height: max-content;
  padding-top: 5.75rem;
}
body.ny-case-show_body.case-unified .case-socials__item { margin-bottom: 2rem; text-align: center; }
body.ny-case-show_body.case-unified .case-socials__qr {
  overflow: hidden;
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.09);
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2.5rem rgba(23, 32, 51, 0.08);
}
body.ny-case-show_body.case-unified .case-socials__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.ny-case-show_body.case-unified .case-socials__item strong,
body.ny-case-show_body.case-unified .case-socials__item span { display: block; }
body.ny-case-show_body.case-unified .case-socials__item strong {
  margin-top: 0.9rem;
  color: var(--case-ink);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}
body.ny-case-show_body.case-unified .case-socials__item span { margin-top: 0.25rem; color: #7a8190; font-size: 0.72rem; line-height: 1.55; }

@media (max-width: 1024px) {
  body.ny-case-show_body.case-unified .case-detail-shell {
    width: calc(100% - 2.5rem);
    padding-left: 2.5rem;
    grid-template-columns: minmax(0, 1fr) 8.5rem;
    column-gap: 2rem;
  }
  body.ny-case-show_body.case-unified .case-socials { width: 8.5rem; }
  body.ny-case-show_body.case-unified .case-socials__qr { width: 7.5rem; height: 7.5rem; }
  body.ny-case-show_body.case451-redesign .case451-process__steps { gap: 1.25rem; }
  body.ny-case-show_body.case451-redesign .case451-process__step > strong { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  body.ny-case-show_body.case-unified { --case-title-size: 1.85rem; --case-title-line: 1.4; }
  body.ny-case-show_body.case-unified .embed-icon,
  body.ny-case-show_body.case-unified #dify-chatbot-bubble-button,
  body.ny-case-show_body.case-unified #dify-chatbot-bubble-window { display: none !important; }
  body.ny-case-show_body.case-unified .show-case-content { padding-top: 4.25rem !important; }
  body.ny-case-show_body.case-unified .show-case-content::before { top: 2rem; left: -10rem; width: 22rem; height: 22rem; filter: blur(5rem); }
  body.ny-case-show_body.case-unified .show-case-content::after { top: 38rem; right: -10rem; width: 20rem; height: 20rem; filter: blur(5rem); }
  body.ny-case-show_body.case-unified .case-hero-wrap { padding-bottom: 4.5rem; }
  body.ny-case-show_body.case-unified .show-case-cont1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 1.5rem;
  }
  body.ny-case-show_body.case-unified .show-case-cont1 .tit { grid-column: 1; grid-row: 1; }
  body.ny-case-show_body.case-unified .case-project-meta { grid-column: 1; grid-row: 2; max-width: none; gap: 0.7rem; }
  body.ny-case-show_body.case-unified .case-project-meta__item span { font-size: 0.9rem; }
  body.ny-case-show_body.case-unified .case-project-meta__item strong { font-size: 0.88rem; line-height: 1.45; }
  body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 { grid-column: 1; grid-row: 3; }
  body.ny-case-show_body.case-unified .show-case-cont1 .ewda1 a.fxas { width: 12rem; height: 3.5rem; }
  body.ny-case-show_body.case-unified .show-case-cont1 .cont-p { grid-column: 1; grid-row: 4; padding-top: 1.25rem; font-size: 1rem !important; line-height: 1.75 !important; }

  body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage { padding: 0 4% 5.5rem; }
  body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage__inner { width: 100%; }
  body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage__frame { border-width: 0.3rem; border-radius: 1rem; box-shadow: 0 1.5rem 3.5rem rgba(23, 32, 51, 0.17); }
  body.ny-case-show_body.case451-redesign .case451-process { padding: 0 4% 3.25rem; }
  body.ny-case-show_body.case451-redesign .case451-process__title { margin-bottom: 3rem; }
  body.ny-case-show_body.case451-redesign .case451-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.25rem; padding-top: 1.75rem; }
  body.ny-case-show_body.case451-redesign .case451-process__step > strong { font-size: 2.25rem; }

  body.ny-case-show_body.case-unified .case-detail-shell { display: flex; width: auto; padding: 0 4% 6rem; flex-direction: column; }
  body.ny-case-show_body.case-unified .case-detail-main { width: 100%; }
  body.ny-case-show_body.case-unified .case-detail-heading__inner { padding: 4.5rem 0 2.75rem; }
  body.ny-case-show_body.case-unified .case-detail-heading h2 { font-size: var(--case-title-size) !important; }
  body.ny-case-show_body.case-unified .show-case-content .content { width: 100%; font-size: 1rem; line-height: 1.85; }
  body.ny-case-show_body.case-unified .case-socials {
    position: static !important;
    display: grid;
    width: 100%;
    margin: 4rem auto 0;
    padding-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  body.ny-case-show_body.case-unified .case-socials__item { min-width: 0; margin-bottom: 0; }
  body.ny-case-show_body.case-unified .case-socials__qr { width: min(6.5rem, 100%); height: auto; aspect-ratio: 1; }
  body.ny-case-show_body.case-unified .case-socials__item strong { font-size: 0.82rem; }
  body.ny-case-show_body.case-unified .case-socials__item span { font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.ny-case-show_body.case-unified .show-case-content::before,
  body.ny-case-show_body.case-unified .show-case-content::after,
  body.ny-case-show_body.case-unified.case-video-enabled .case451-video-stage__frame { transform: none !important; transition: none !important; }
  body.ny-case-show_body.case451-redesign .case451-process.is-ready .case451-process__step > strong,
  body.ny-case-show_body.case451-redesign .case451-process.is-ready .case451-process__label { opacity: 1; transform: none; transition: none; }
}
