﻿/* Reusable Case Study template — Classic Editor body + full-width bands (Figma 621:1258). */
/* overflow-x: clip (not hidden) so the article-zone sidebar can use position: sticky. */
.case-study-page {
  overflow-x: clip;
}

/* #container uses overflow-x: hidden globally; that creates a scrollport and kills sticky. */
#container:has(.case-study-page) {
  overflow-x: clip;
}

/* Per-page logos vary — don't lock a 200×60 box (except Suncor). */
.case-study-page .cs-client-logo.sc-client-logo:not(.sc-client-logo--suncor) {
  width: auto;
  max-width: 200px;
  height: auto;
}

.case-study-page .cs-client-logo.sc-client-logo:not(.sc-client-logo--suncor) > img {
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.case-study-page .cs-client-logo.sc-client-logo--suncor {
  width: 143px;
  height: 45px;
}

.case-study-page .cs-client-logo.sc-client-logo--suncor > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-study-page .cs-hero.sc-hero {
  padding: 40px 0;
}

/* Hero grid lives in case-study.css; logo slot must match max logo width (200px). */
.case-study-page .cs-hero-top.sc-hero-top {
  --cs-logo-max-width: 200px;
}

.case-study-page .cs-hero-top.sc-hero-top:has(.sc-client-logo--suncor) {
  --cs-logo-max-width: 143px;
}

/* Stick within .case-study-page__article-zone only; ends before full-width bands.
   top matches .cs-article padding-top (80px) so spacing stays consistent while stuck.
   Two-column .cs-split applies from 769px up (stacks at max-width: 768px). */
@media (min-width: 769px) {
  .case-study-page .case-study-page__article-zone > .cs-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

/* Figma 621:1291 — sidebar 300px, content 860px, gap 120px. */
@media (min-width: 1025px) {
  .case-study-page .case-study-page__article-zone.cs-split {
    grid-template-columns: 300px minmax(0, 860px);
    gap: 120px;
  }
}

.case-study-page .cs-hero-visual > img,
.case-study-page .sc-hero-visual picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.case-study-page .sc-article-content .cs-copy.sc-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 0;
}

.case-study-page .sc-article-content .cs-copy.sc-copy > :is(h2, h3) {
  font-size: 24px;
  line-height: 32px;
  color: var(--cs-ink);
}

.case-study-page .sc-article-content .cs-copy.sc-copy :is(.cs-lead, .sc-lead) {
  color: var(--cs-ink);
  font-size: 18px;
  line-height: 30px;
}

.case-study-page .sc-article-content .cs-copy.sc-copy :is(.cs-copy, .eb-621) p {
  max-width: 680px;
}

/* Full-width band — Figma 621:1330 (80px inset, 1280 content, 120px vertical). */
.case-study-page .case-study-page__full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.case-study-page .case-study-page__full-width.cs-signature {
  padding: 80px max(24px, calc(50vw - 640px));
  background: var(--cs-surface, #f7f7f8);
  border-block: 1px solid var(--cs-line, #dcdcdf);
}

.case-study-page .case-study-page__full-width .case-study-page__full-width-inner.center-wrapper {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 0;
}

.case-study-page .case-study-page__full-width-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  min-width: 0;
}

/* Pasted Classic Editor markup: let the template own the band chrome. */
.case-study-page .case-study-page__full-width-inner > section {
  display: contents;
}

.case-study-page .case-study-page__full-width-inner > section > div {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
}

/* Admin paste nests another .cs-signature / .signature-figma-621 — kill double padding. */
.case-study-page .case-study-page__full-width-inner .signature-figma-621,
.case-study-page .case-study-page__full-width-inner > section.cs-signature,
.case-study-page .case-study-page__full-width-inner > section.sc-signature {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* wpautop empty paragraphs create a huge gap under “How it works”. */
.case-study-page .case-study-page__full-width-inner > p:empty,
.case-study-page .case-study-page__full-width-inner > p:has(> br:only-child),
.case-study-page .case-study-page__full-width-inner .signature-figma-621__inner > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

.case-study-page .case-study-page__full-width-inner header,
.case-study-page .case-study-page__full-width-inner .cs-signature-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  width: 100%;
}

.case-study-page .case-study-page__full-width-inner h2:first-of-type,
.case-study-page .case-study-page__full-width-inner #orderlock-signature-title {
  font-family: 'museo', Georgia, serif;
  font-size: 44px !important;
  line-height: 52px !important;
  font-weight: 700;
  color: var(--cs-ink, #121212);
  max-width: 720px;
}

.case-study-page .case-study-page__full-width-inner header p,
.case-study-page .case-study-page__full-width-inner .cs-signature-head p {
  max-width: 680px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-timeline, [aria-label='OrderLock project timeline']) {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 64px 40px !important;
  border-radius: 12px !important;
  background: #fff !important;
  border: none !important;
  box-sizing: border-box;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-timeline-track, [aria-label='OrderLock project timeline'] > div[aria-hidden='true']) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--cs-line, #dcdcdf);
}

.case-study-page .case-study-page__full-width-inner :is(.sc-timeline-track, [aria-label='OrderLock project timeline'] > div[aria-hidden='true']) span {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--cs-ink, #121212);
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-timeline-track, [aria-label='OrderLock project timeline'] > div[aria-hidden='true']) span:last-child {
  background: var(--color-brand-500, #fa4616);
  border-color: var(--color-brand-500, #fa4616);
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) li {
  display: flex;
  flex-direction: column;
  width: 120px;
  color: var(--cs-ink, #121212);
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) li:nth-child(2) {
  text-align: center;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) li:last-child {
  text-align: right;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) li span:first-child {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) li span:last-child {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #52525a;
}

.case-study-page .case-study-page__full-width-inner :is(.sc-milestones, [aria-label='OrderLock project timeline'] ol) li:last-child span:last-child {
  color: var(--color-brand-600, #da380b);
}

/* How it works — Figma 621:1371 desktop. Mobile stack: see ≤768 block.
   Do NOT target section > div > div:last-child — that breaks Enbridge Before/After .eb-flow. */
.case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how) {
  display: grid !important;
  grid-template-columns: 396px minmax(0, 680px) !important;
  gap: 24px !important;
  align-items: start;
  width: 100% !important;
  flex-wrap: unset !important;
}

.case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how) h3 {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #2e2e33;
}

.case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how) p {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

/* Enbridge Before/After flow — Figma 621:1833 / 621:1988. */
.case-study-page .eb-sig-621 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
}

.case-study-page .eb-sig-621 .eb-flow {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 40px;
  border-radius: 12px;
  background: #fff;
}

.case-study-page .eb-sig-621 .eb-lane {
  display: flex;
  align-items: center;
  gap: 120px;
  width: 100%;
}

.case-study-page .eb-sig-621 .eb-lane-label {
  flex: 0 0 80px;
  width: 80px;
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #6e6e76;
}

.case-study-page .eb-sig-621 .eb-lane-after .eb-lane-label {
  font-weight: 700;
  color: var(--color-brand-600, #da380b);
}

.case-study-page .eb-sig-621 .eb-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-study-page .eb-sig-621 .eb-step {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  border-radius: 8px;
  background: var(--cs-surface, #f7f7f8);
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #6e6e76;
  text-align: center;
}

.case-study-page .eb-sig-621 .eb-lane-after .eb-step {
  background: #fef0eb;
  color: var(--cs-ink, #121212);
}

.case-study-page .eb-sig-621 .eb-lane-after .eb-step:last-child {
  background: var(--color-brand-600, #da380b);
  color: #fff;
  font-weight: 700;
}

.case-study-page .eb-sig-621 .eb-arrow {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-page .eb-sig-621 .eb-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Problem cards (621:1299). */
.case-study-page .sc-problems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 680px;
}

.case-study-page .sc-problem-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  min-height: 220px;
  background: var(--cs-surface, #f7f7f8);
  border-radius: 12px;
}

/* OrderLock 3-card layout only — 4-card grids (e.g. Enbridge) stay 2×2. */
.case-study-page .sc-problems:has(> :nth-child(3):last-child) .sc-problem-card:last-child {
  grid-column: 1 / -1;
  min-height: 138px;
}

.case-study-page .eb-621 .sc-problem-card:last-child,
.case-study-page .eb-621-problems .eb-621-card:last-child {
  grid-column: auto;
  min-height: 220px;
}

.case-study-page .sc-card-number {
  color: var(--color-brand-600, #da380b);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}

.case-study-page .sc-problem-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: var(--cs-ink, #121212);
}

.case-study-page .sc-problem-card p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-neutral-700, #3a3a41);
}

.case-study-page .sc-problem-card:first-child p {
  max-width: 250px;
}

.case-study-page .sc-problem-card:nth-child(2) p {
  max-width: 242px;
}

/* Results / closing — Figma 621:1375 (matches page-suncor-case-study.php). */
.case-study-page .cs-closing :is(> h2, .cs-split > h2) {
  max-width: 362px;
}

.case-study-page .cs-closing > .cs-copy,
.case-study-page .cs-closing .cs-split > .cs-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  min-width: 0;
}

.case-study-page .cs-closing:not(.cs-split):not(.center-wrapper) .cs-split {
  /* width: calc(100% - 160px); */
  max-width: 1280px;
  margin-inline: auto;
}

.case-study-page .sc-mobile-context {
  display: none;
}

@media (max-width: 1024px) {
  /*
   * Closing .cs-split: pasted markup can set inline grid-template-columns with a wide fixed
   * left track so body copy is squeezed on tablets. Cap the headline column; right column fills.
   * (Shared for any page that loads this stylesheet with .kpdi-case-study — not only .case-study-page.)
   */
  @media (min-width: 769px) {
    .kpdi-case-study .cs-closing .cs-split {
      grid-template-columns: minmax(0, min(300px, 42%)) minmax(0, 1fr) !important;
    }
  }

  /* Keep Figma left column width so label→copy gap stays large (not max-content). */
  .case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how),
  .case-study-page .signature-figma-621__how {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  @media (max-width: 1100px) and (min-width: 769px) {
    .case-study-page .case-study-page__full-width-inner .ns-sig .sc-how {
      grid-template-columns: minmax(0, 220px) minmax(0, 1fr) !important;
    }
  }

  .case-study-page .eb-sig-621 .eb-lane {
    gap: 40px;
  }

  .case-study-page .eb-sig-621 .eb-steps {
    gap: 16px;
  }

  .case-study-page .eb-sig-621 .eb-step {
    padding: 20px 12px;
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 768px) {
  .case-study-page .cs-hero.sc-hero {
    padding-bottom: 0;
  }

  .case-study-page .sc-article-content .cs-copy.sc-copy {
    gap: 32px;
  }

  .case-study-page .sc-mobile-context {
    display: block;
  }

  .case-study-page .sc-problem-title {
    max-width: 323px;
  }

  .case-study-page .case-study-page__full-width.cs-signature {
    padding: 60px 24px;
  }

  .case-study-page .case-study-page__full-width-inner,
  .case-study-page .case-study-page__full-width-inner > section > div {
    gap: 32px;
  }

  .case-study-page .case-study-page__full-width-inner h2:first-of-type,
  .case-study-page .case-study-page__full-width-inner #orderlock-signature-title,
  .case-study-page .case-study-page__full-width-inner .cs-signature-head h2 {
    font-size: 30px !important;
    line-height: 38px !important;
  }

  .case-study-page .sc-problems {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-study-page .sc-problem-card,
  .case-study-page .sc-problem-card:last-child {
    min-height: 200px;
  }

  .case-study-page .sc-problem-card:first-child p,
  .case-study-page .sc-problem-card:nth-child(2) p {
    max-width: none;
  }

  .case-study-page .sc-timeline,
  .case-study-page .case-study-page__full-width-inner .sc-timeline,
  .case-study-page .case-study-page__full-width-inner [aria-label='OrderLock project timeline'],
  .case-study-page .signature-figma-621__timeline {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: stretch !important;
    padding: 64px 40px !important;
  }

  .case-study-page .sc-timeline-track,
  .case-study-page .case-study-page__full-width-inner .sc-timeline-track,
  .case-study-page .case-study-page__full-width-inner [aria-label='OrderLock project timeline'] > div[aria-hidden='true'] {
    flex-direction: column;
    width: 2px;
    height: 300px;
    flex-shrink: 0;
  }

  .case-study-page .sc-milestones,
  .case-study-page .case-study-page__full-width-inner .sc-milestones,
  .case-study-page .case-study-page__full-width-inner [aria-label='OrderLock project timeline'] ol {
    flex-direction: column;
    align-self: stretch;
    margin-top: 0;
    min-width: 0;
  }

  .case-study-page .sc-milestones li:nth-child(n),
  .case-study-page .case-study-page__full-width-inner .sc-milestones li:nth-child(n),
  .case-study-page .case-study-page__full-width-inner [aria-label='OrderLock project timeline'] ol li:nth-child(n) {
    text-align: left;
    max-width: 100%;
  }

  /* How it works — Figma 621:1484 stacked (must beat desktop !important). */
  .case-study-page .cs-signature .cs-split.sc-how,
  .case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how),
  .case-study-page .signature-figma-621__how {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .case-study-page .signature-figma-621__how h3,
  .case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how) h3 {
    width: 100% !important;
  }

  .case-study-page .signature-figma-621__how > *,
  .case-study-page .case-study-page__full-width-inner :is(.cs-split.sc-how, .sc-how, .signature-figma-621__how) > * {
    width: 100% !important;
    max-width: 680px;
  }

  .case-study-page .eb-sig-621 .eb-flow {
    padding: 40px 24px;
  }

  .case-study-page .eb-sig-621 .eb-lane {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .case-study-page .eb-sig-621 .eb-lane-label {
    flex: none;
    width: auto;
    text-align: center;
  }

  .case-study-page .eb-sig-621 .eb-steps {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .case-study-page .eb-sig-621 .eb-step {
    width: 100%;
    padding: 24px;
    font-size: 18px;
    line-height: 30px;
  }

  .case-study-page .eb-sig-621 .eb-arrow {
    transform: rotate(90deg);
  }

  .case-study-page .cs-closing :is(> h2, .cs-split > h2) {
    max-width: 320px;
    font-size: 26px;
    line-height: 32px;
  }

  .case-study-page .cs-closing.sig-79-close .sig-79-close-split h2,
  .case-study-page .sig-79-close .sig-79-close-split h2 {
    font-size: 26px !important;
    line-height: 32px !important;
  }

  .case-study-page .cs-closing > .cs-copy,
  .case-study-page .cs-closing .cs-split > .cs-copy {
    gap: 24px;
  }

  .case-study-page .cs-closing:not(.cs-split):not(.center-wrapper) .cs-split {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0 !important;
  }

  .case-study-page .cs-closing .cs-split[style] {
    padding-inline: 0 !important;
  }
}










/* Raddar case study */
.rc-79 {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: 860px;
  box-sizing: border-box;
}

.rc-79 *,
.rc-79 *::before,
.rc-79 *::after {
  box-sizing: border-box;
}

.rc-79 .rc-79-block.cs-copy.sc-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.rc-79-block p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.rc-79-lead {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #121212;
}

.rc-79 .rc-79-title {
  margin: 0;
  max-width: 680px;
  font-family: 'museo', Georgia, serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #121212;
}

.rc-79-highlight {
  margin: 0;
  max-width: 680px;
  font-family: 'museo', Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #121212;
}

@media (max-width: 768px) {
  .rc-79 {
    gap: 48px;
  }

  .rc-79 .rc-79-title {
    font-size: 26px;
    line-height: 32px;
  }

  .rc-79-highlight {
    font-size: 22px;
    line-height: 30px;
  }
}

/* Raddar signature — Turning print into digital */
.sig-79 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  box-sizing: border-box;
}

.sig-79 *,
.sig-79 *::before,
.sig-79 *::after {
  box-sizing: border-box;
}

.sig-79-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  width: 100%;
}

.sig-79-head h2 {
  margin: 0;
  font-family: 'museo', Georgia, serif;
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  color: #121212;
}

.sig-79-head p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.sig-79-transform {
  display: grid;
  grid-template-columns: minmax(0, 424fr) 48px minmax(0, 744fr);
  gap: 32px;
  align-items: center;
  width: 100%;
}

.sig-79-flyer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 564px;
  padding: 16px;
  border: 1px solid #dcdcdf;
  border-radius: 8px;
  background: #fff;
}

.sig-79-flyer-bar {
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #dcdcdf;
}

.sig-79-flyer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.sig-79-flyer-grid span {
  display: block;
  border-radius: 6px;
  background: #ededef;
}

.sig-79-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid #dcdcdf;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sig-79-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}

.sig-79-demo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 744 / 564;
  object-fit: cover;
  border: 1px solid #dcdcdf;
  border-radius: 8px;
}

.sig-79-behind {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.sig-79-behind h3 {
  margin: 0;
  width: 396px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #2e2e33;
}

.sig-79-behind-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  min-width: 0;
}

.sig-79-behind-copy p {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

@media (max-width: 1024px) {
  .sig-79-transform {
    gap: 24px;
  }

  .sig-79-flyer {
    height: auto;
    aspect-ratio: 424 / 564;
  }

  .sig-79-behind {
    grid-template-columns: minmax(0, 396px) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .sig-79 {
    gap: 32px;
  }

  .sig-79-head h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .sig-79-transform {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    justify-items: center;
  }

  .sig-79-flyer {
    height: 564px;
    aspect-ratio: auto;
  }

  .sig-79-arrow svg {
    transform: rotate(90deg);
  }

  .sig-79-behind {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .sig-79-behind h3,
  .sig-79-behind-copy {
    width: 100%;
    max-width: 680px;
  }
}

/* Raddar closing — max 1280px; side gutters match .cs-container when viewport shrinks */
.sig-79-close {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 120px clamp(0px, calc((1440px - 100vw) / 2), 80px);
  box-sizing: border-box;
}

.sig-79-close *,
.sig-79-close *::before,
.sig-79-close *::after {
  box-sizing: border-box;
}

.sig-79-close-split {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.sig-79-close-split h2 {
  margin: 0;
  max-width: 320px;
  font-family: 'museo', Georgia, serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #121212;
}

.sig-79-close-split:last-child h2 {
  max-width: none;
  width: 396px;
}

.sig-79-close-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  min-width: 0;
  width: 100%;
}

.sig-79-close-copy .sig-79-lead {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #121212;
}

.sig-79-close-copy p {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.sig-79-close-figure {
  margin: 0;
  width: 100%;
  padding: 40px;
  border-radius: 12px;
  background: #f7f7f8;
}

.sig-79-close-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 600;
  object-fit: cover;
  border: 1px solid #dcdcdf;
  border-radius: 8px;
  background: #fff;
}

.sig-79-close-roadmap {
  margin: 0;
  padding: 0;
  width: 100%;
  border-top: 1px solid #dcdcdf;
}

.sig-79-close-roadmap > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #dcdcdf;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.sig-79-close-roadmap dt {
  margin: 0;
  color: #121212;
}

.sig-79-close-roadmap dd {
  margin: 0;
  text-align: right;
  color: #52525a;
}

@media (max-width: 1024px) {
  .sig-79-close {
    padding: 120px 24px;
  }

  .sig-79-close-split {
    grid-template-columns: minmax(0, 396px) minmax(0, 1fr);
  }

  .sig-79-close-split:last-child h2 {
    width: auto;
  }
}

@media (max-width: 768px) {
  .sig-79-close {
    gap: 64px;
    padding: 80px 24px;
  }

  .sig-79-close-split {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .sig-79-close-split h2,
  .sig-79-close-split:last-child h2 {
    max-width: 320px;
    width: 100%;
  }

  .sig-79-close-figure {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .sig-79-close-roadmap > div {
    gap: 8px;
    flex-wrap: wrap;
  }

  .sig-79-close-roadmap dd {
    margin-left: auto;
  }
}






/*suncor case study*/
.ol-621 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 860px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'museo-sans', Arial, sans-serif;
}

.ol-621 *,
.ol-621 *::before,
.ol-621 *::after {
  box-sizing: border-box;
}

.ol-621-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin: 0 0 clamp(32px, 5vw, 64px) 0;
  padding: 0;
}

.ol-621-section--last {
  margin-bottom: 0;
}

.ol-621-lead {
  margin: 0;
  padding: 0;
  max-width: 680px;
  width: 100%;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #121212;
  word-break: break-word;
}

.ol-621-p {
  margin: 0;
  padding: 0;
  max-width: 680px;
  width: 100%;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
  word-break: break-word;
}

.ol-621-title {
  margin: 0;
  padding: 0;
  max-width: 680px;
  width: 100%;
  font-family: 'museo', Georgia, serif;
  font-size: clamp(22px, 4vw, 24px);
  line-height: 32px;
  font-weight: 700;
  color: #121212;
  word-break: break-word;
}

.ol-621-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 0;
}

.ol-621-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: clamp(200px, 50vw, 220px);
  padding: 24px;
  background: #f7f7f8;
  border-radius: 12px;
}

.ol-621-card--full {
  grid-column: 1 / -1;
  min-height: 0;
}

.ol-621-card-num {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #da380b;
}

.ol-621-card-title {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: #121212;
}

.ol-621-card-desc {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #3a3a41;
}

.ol-621-card-desc--narrow {
  max-width: 250px;
}

.ol-621-card-desc--mid {
  max-width: 242px;
}

/* Theme .case-study-page__full-width already has band padding/bg — do NOT double it */
.signature-figma-621 {
  box-sizing: border-box;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.suncor-case-study .entry-content {
  padding: 0 !important;
}

.signature-figma-621 *,
.signature-figma-621 *::before,
.signature-figma-621 *::after {
  box-sizing: border-box;
}

.signature-figma-621__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 !important;
}

.signature-figma-621__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.signature-figma-621__head h2 {
  margin: 0;
  font-family: 'museo', Georgia, serif;
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  color: #121212;
}

.signature-figma-621__head p {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.signature-figma-621__timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 64px 40px;
  border-radius: 12px;
  background: #fff;
}

.signature-figma-621__track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #dcdcdf;
}

.signature-figma-621__track span {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid #121212;
  border-radius: 50%;
  background: #fff;
}

.signature-figma-621__track span:last-child {
  background: #fa4616;
  border-color: #fa4616;
}

.signature-figma-621__milestones {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.signature-figma-621__milestones li {
  display: flex;
  flex-direction: column;
  width: 120px;
  color: #121212;
}

.signature-figma-621__milestones li:nth-child(2) {
  text-align: center;
}

.signature-figma-621__milestones li:last-child {
  text-align: right;
}

.signature-figma-621__milestones li span:first-child {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.signature-figma-621__milestones li span:last-child {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #52525a;
}

.signature-figma-621__milestones li:last-child span:last-child {
  color: #da380b;
}

.signature-figma-621__how {
  display: grid !important;
  grid-template-columns: 396px minmax(0, 680px) !important;
  gap: 24px !important;
  align-items: start;
  width: 100%;
}

.signature-figma-621__how h3 {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #2e2e33;
}

.signature-figma-621__how p {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .signature-figma-621__how {
    grid-template-columns: minmax(0, 396px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .signature-figma-621__head h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .signature-figma-621__timeline {
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 64px 40px !important;
  }

  .signature-figma-621__track {
    flex-direction: column !important;
    width: 2px !important;
    height: 300px !important;
    flex-shrink: 0 !important;
  }

  .signature-figma-621__milestones {
    flex-direction: column !important;
    justify-content: space-between !important;
    align-self: stretch !important;
    flex: 1 0 0 !important;
    min-width: 0 !important;
  }

  .signature-figma-621__milestones li,
  .signature-figma-621__milestones li:nth-child(2),
  .signature-figma-621__milestones li:last-child {
    text-align: left !important;
    width: 120px;
    max-width: 100%;
  }

  .signature-figma-621__how {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .signature-figma-621__how h3,
  .signature-figma-621__how > * {
    width: 100% !important;
    max-width: 680px;
  }
}





/* Enbridge case study */
.eb-621 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  max-width: 860px;
  box-sizing: border-box;
}

.eb-621 *,
.eb-621 *::before,
.eb-621 *::after {
  box-sizing: border-box;
}

.eb-621-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.eb-621-lead {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #121212;
}

.eb-621-block p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.eb-621-title {
  margin: 0;
  max-width: 680px;
  font-family: 'museo', Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #121212;
}

.eb-621-problems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 680px;
  width: 100%;
}

.eb-621-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  border-radius: 12px;
  background: #f7f7f8;
}

.eb-621-card .eb-621-num {
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: #da380b;
}

.eb-621-card h3 {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: #121212;
}

.eb-621-card p {
  margin: 0;
  max-width: 250px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #3a3a41;
}

.eb-621-card:nth-child(2) p {
  max-width: 242px;
}

.eb-621 .sc-problem-card:last-child {
  grid-column: auto;
  min-height: 220px;
}

@media (max-width: 768px) {
  .eb-621 {
    gap: 32px;
  }

  .eb-621-title {
    max-width: 350px;
    font-size: 24px;
    line-height: 32px;
  }

  .eb-621-problems {
    grid-template-columns: minmax(0, 1fr);
  }

  .eb-621-card {
    min-height: 200px;
  }

  .eb-621-card p,
  .eb-621-card:nth-child(2) p {
    max-width: none;
  }

  .eb-621 .sc-problem-card:last-child {
    min-height: 200px;
  }
}

/* Enbridge signature — before/after flow */
.eb-sig-621 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  box-sizing: border-box;
}

.eb-sig-621 *,
.eb-sig-621 *::before,
.eb-sig-621 *::after {
  box-sizing: border-box;
}

.eb-sig-621-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  width: 100%;
}

.eb-sig-621-head h2 {
  margin: 0;
  font-family: 'museo', Georgia, serif;
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  color: #121212;
}

.eb-sig-621-head .eb-sig-lead {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #26262b;
}

.eb-sig-621-head p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.case-study-page .case-study-page__full-width-inner .eb-sig-621 .eb-flow.sc-how {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 40px;
  border-radius: 12px;
  background: #fff;
}

.eb-sig-621 .eb-lane {
  display: flex;
  align-items: center;
  gap: 120px;
  width: 100%;
}

.eb-sig-621 .eb-lane-label {
  flex: 0 0 80px;
  width: 80px;
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #6e6e76;
}

.eb-sig-621 .eb-lane-after .eb-lane-label {
  font-weight: 700;
  color: #da380b;
}

.eb-sig-621 .eb-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eb-sig-621 .eb-step {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 8px;
  background: #f7f7f8;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #6e6e76;
  text-align: center;
}

.eb-sig-621 .eb-lane-after .eb-step {
  background: #fef0eb;
  color: #121212;
}

.eb-sig-621 .eb-lane-after .eb-step:last-child {
  background: #da380b;
  color: #fff;
  font-weight: 700;
}

.eb-sig-621 .eb-arrow {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb-sig-621 .eb-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .eb-sig-621 .eb-lane {
    gap: 40px;
  }

  .eb-sig-621 .eb-steps {
    gap: 16px;
  }

  .eb-sig-621 .eb-step {
    padding: 20px 12px;
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 768px) {
  .eb-sig-621 {
    gap: 64px;
  }

  .eb-sig-621-head h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .case-study-page .case-study-page__full-width-inner .eb-sig-621 .eb-flow.sc-how {
    padding: 40px 24px;
  }

  .eb-sig-621 .eb-lane {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .eb-sig-621 .eb-lane-label {
    flex: none;
    width: auto;
    text-align: center;
  }

  .eb-sig-621 .eb-steps {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .eb-sig-621 .eb-step {
    width: 100%;
    padding: 24px;
    font-size: 18px;
    line-height: 30px;
  }

  .eb-sig-621 .eb-arrow {
    transform: rotate(90deg);
  }
}

/* Enbridge closing */
.eb-close-621 {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 0;
  box-sizing: border-box;
}

.eb-close-621 *,
.eb-close-621 *::before,
.eb-close-621 *::after {
  box-sizing: border-box;
}

.eb-close-621-split {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.eb-close-621-split h2 {
  margin: 0;
  max-width: 396px;
  font-family: 'museo', Georgia, serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #121212;
}

.eb-close-621-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  min-width: 0;
  width: 100%;
}

.eb-close-621-copy > p {
  margin: 0;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.eb-close-621-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.eb-close-621-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #dcdcdf;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.eb-close-621-list li:first-child {
  border-top: 1px solid #dcdcdf;
}

.eb-close-621-list img,
.eb-close-621-list svg {
  flex-shrink: 0;
  width: 12px;
  height: 17px;
  margin-top: 4px;
}

.eb-close-621-list span {
  min-width: 0;
  flex: 1;
}

@media (max-width: 1024px) {
  .eb-close-621 {
    padding: 120px 24px;
  }

  .eb-close-621-split {
    grid-template-columns: minmax(0, 396px) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .eb-close-621 {
    padding: 80px 24px;
  }

  .eb-close-621-split {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .eb-close-621-split h2 {
    max-width: 320px;
    font-size: 26px;
    line-height: 32px;
  }

  .eb-close-621-copy {
    max-width: none;
  }
}






/* Trent case study */
.kpdi-trent,
.kpdi-trent * {
  box-sizing: border-box;
}

.kpdi-trent {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  min-width: 0;
}

.kpdi-trent p,
.kpdi-trent h3,
.kpdi-trent blockquote,
.kpdi-trent figure,
.kpdi-trent cite {
  margin: 0;
}

.kpdi-trent p {
  max-width: 680px;
}

.kpdi-trent-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kpdi-trent-quote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid #fa4616;
}

.kpdi-trent-quote p,
.kpdi-trent-kicker {
  max-width: 680px;
  color: #121212;
  font: 700 24px / 32px "museo", Georgia, serif;
}

.kpdi-trent-quote cite {
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  font-style: normal;
}

@property --kpdi-trent-pos {
  syntax: "<number>";
  inherits: true;
  initial-value: 50;
}

@keyframes kpdi-trent-wipe {
  0% {
    --kpdi-trent-pos: 46;
  }
  45% {
    --kpdi-trent-pos: 62;
  }
  100% {
    --kpdi-trent-pos: 50;
  }
}

.kpdi-trent-ba {
  --kpdi-trent-pos: 50;
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 860 / 538;
  border: 1px solid #dcdcdf;
  border-radius: 12px;
  background: #fff;
  user-select: none;
  touch-action: pan-y;
}

.kpdi-trent-ba__before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: calc(var(--kpdi-trent-pos) * 1%);
  overflow: hidden;
}

.kpdi-trent-ba__after {
  position: absolute;
  inset: 0 0 0 calc(var(--kpdi-trent-pos) * 1%);
  overflow: hidden;
}

.kpdi-trent-ba__before img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--kpdi-trent-width, 100cqi);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}

.kpdi-trent-ba__after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.kpdi-trent-ba__pill {
  position: absolute;
  z-index: 2;
  padding: 4px 12px;
  border: 1px solid #dcdcdf;
  border-radius: 9999px;
  background: #fff;
  color: #52525a;
  font: 500 14px / 18px "museo-sans", Arial, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

.kpdi-trent-ba__pill--before {
  top: 16px;
  left: 16px;
}

.kpdi-trent-ba__pill--after {
  top: 10px;
  right: 10px;
}

.kpdi-trent-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--kpdi-trent-pos) * 1%);
  z-index: 3;
  width: 0;
  pointer-events: none;
}

/* BioPed-style entrance: zoom + wipe when the compare slider reveals */
.kpdi-motion .kpdi-trent-ba.kpdi-reveal--zoom.kpdi-reveal--visible {
  animation-name: kpdi-reveal-zoom, kpdi-reveal-fade, kpdi-trent-wipe;
  animation-duration: 0.9s, 0.9s, 1.6s;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1),
    cubic-bezier(0.45, 0, 0.55, 1), cubic-bezier(0.45, 0, 0.55, 1);
  animation-delay: var(--kpdi-reveal-delay, 0s), var(--kpdi-reveal-delay, 0s),
    calc(var(--kpdi-reveal-delay, 0s) + 0.2s);
  animation-fill-mode: both;
}

.kpdi-trent-ba__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #fa4616;
  transform: translateX(-50%);
}

.kpdi-trent-ba__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 36px;
  border: 3px solid #fa4616;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.kpdi-trent-ba__icon {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  display: block;
  max-width: none;
  transform: translate(-50%, -50%);
}

.kpdi-trent-ba__icon--mobile {
  display: none;
}

.kpdi-trent-ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.kpdi-trent-ba:has(.kpdi-trent-ba__range:focus-visible) .kpdi-trent-ba__handle::after {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

.kpdi-trent > p:empty,
.kpdi-trent-inner > p:empty,
.kpdi-trent br {
  display: none;
}

@media (max-width: 768px) {
  .kpdi-trent-ba__pill--before {
    top: 10px;
    left: 10px;
  }

  .kpdi-trent-ba__handle::after {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .kpdi-trent-ba__icon--desktop {
    width: 18px;
    height: 18px;
  }

  .kpdi-trent-ba__icon--mobile {
    display: none;
  }
}

/* Trent ecosystem / full-width */
.kpdi-trent-eco,
.kpdi-trent-eco * {
  box-sizing: border-box;
}

.kpdi-trent-eco {
  width: 100%;
  min-width: 0;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-eco-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.kpdi-trent-eco-inner header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  width: 100%;
}

.kpdi-trent-eco-inner h2 {
  margin: 0;
  color: #121212;
  font: 700 44px / 52px "museo", Georgia, serif;
}

.kpdi-trent-eco-inner p,
.kpdi-trent-eco-inner h3 {
  margin: 0;
}

.kpdi-trent-eco-inner header p.kpdi-trent-eco-lead {
  max-width: 680px;
  color: #26262b;
  font: 500 18px / 30px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-eco-inner header p {
  max-width: 680px;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-eco-card {
  display: flex;
  align-items: stretch;
  gap: 80px;
  width: 100%;
  padding: 40px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.kpdi-trent-eco-legend {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
}

.kpdi-trent-eco-key {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a3a41;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  white-space: nowrap;
}

.kpdi-trent-eco-swatch {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 2px;
  background: #dcdcdf;
}

.kpdi-trent-eco-swatch--new {
  background: #fa4616;
}

.kpdi-trent-eco-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 474px;
  flex-shrink: 0;
}

.kpdi-trent-eco-grid span {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: #dcdcdf;
}

.kpdi-trent-eco-grid span.is-new {
  background: #fa4616;
}

.kpdi-trent-eco-approach {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.kpdi-trent-eco-approach h3 {
  margin: 0;
  color: #2e2e33;
  font: 700 14px / 18px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-eco-approach div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

.kpdi-trent-eco-approach p {
  max-width: 680px;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-eco > style,
.kpdi-trent-eco > script,
.kpdi-trent-eco > p:empty,
.kpdi-trent-eco-inner > p:empty {
  display: none !important;
}

.cs-copy .kpdi-trent-eco,
.sc-copy .kpdi-trent-eco {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 120px max(24px, calc(50vw - 640px));
  background: #f7f7f8;
  border-top: 1px solid #dcdcdf;
  border-bottom: 1px solid #dcdcdf;
}

.case-study-page__full-width .kpdi-trent-eco {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

@media (max-width: 950px) {
  .kpdi-trent-eco-inner h2 {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  .kpdi-trent-eco-card {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
  }

  .kpdi-trent-eco-legend {
    width: 100%;
    justify-content: flex-start;
  }

  .kpdi-trent-eco-grid {
    gap: 4px;
    width: 356px;
    max-width: 100%;
  }

  .kpdi-trent-eco-grid span {
    width: 14px;
    height: 14px;
    border-radius: 1.3px;
  }

  .kpdi-trent-eco-approach {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .cs-copy .kpdi-trent-eco,
  .sc-copy .kpdi-trent-eco {
    padding: 80px 24px;
  }
}

/* Trent closing — Figma 301:715 (white band; must sit outside .cs-signature) */
.kpdi-trent-close,
.kpdi-trent-close * {
  box-sizing: border-box;
}

.kpdi-trent-close {
  display: block;
  width: 100%;
  margin: 0;
  padding: 80px 0 50px 0;
  background: #fff;
}

/* If pasted inside the gray signature band, keep a real box + paint white full-bleed. */
.case-study-page .case-study-page__full-width-inner > section.kpdi-trent-close {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 120px max(24px, calc(50vw - 640px));
  background: #fff;
}

.case-study-page .case-study-page__full-width-inner > section.kpdi-trent-close > .kpdi-trent-close-inner {
  width: 100%;
  max-width: 1280px;
}

.kpdi-trent-close-inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(1280px, calc(100% - 160px));
  margin-inline: auto;
  container-type: inline-size;
}

.kpdi-trent-close-split {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.kpdi-trent-close-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 680px;
  width: 100%;
}

.kpdi-case-study .kpdi-trent-close h2,
.case-study-page .kpdi-trent-close h2 {
  margin: 0;
  max-width: 320px;
  color: #121212;
  font: 700 32px / 40px "museo", Georgia, serif;
}

.kpdi-case-study .kpdi-trent-close p,
.case-study-page .kpdi-trent-close p {
  margin: 0;
  max-width: 680px;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-trent-close-lead,
.kpdi-case-study .kpdi-trent-close p.kpdi-trent-close-lead,
.case-study-page .kpdi-trent-close p.kpdi-trent-close-lead {
  color: #121212;
  font-size: 18px;
  line-height: 30px;
}

.kpdi-trent-close > p:empty,
.kpdi-trent-close > p:has(> br:only-child),
.kpdi-trent-close-inner > p:empty {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}

@media (max-width: 1200px) {
  .kpdi-trent-close-split {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 32px;
  }

  .kpdi-trent-close-copy,
  .kpdi-case-study .kpdi-trent-close p,
  .case-study-page .kpdi-trent-close p {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .kpdi-trent-close-inner {
    width: calc(100% - 48px);
  }

  .kpdi-trent-close-split {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .kpdi-trent-close,
  .case-study-page .case-study-page__full-width-inner > section.kpdi-trent-close {
    padding: 80px 0px 30px 0px;
  }

  .kpdi-trent-close-inner {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .kpdi-trent-close-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .kpdi-case-study .kpdi-trent-close h2,
  .case-study-page .kpdi-trent-close h2 {
    font-size: 26px;
    line-height: 32px;
    max-width: 320px;
  }
}

/* BioPed case study */
.kpdi-bioped,
.kpdi-bioped * {
  box-sizing: border-box;
}

.kpdi-bioped {
  display: block;
  width: 100%;
  max-width: 860px;
  min-width: 0;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  container-type: inline-size;
}

.kpdi-bioped-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  min-width: 0;
}

.kpdi-bioped-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.kpdi-bioped p,
.kpdi-bioped h2,
.kpdi-bioped figure {
  margin: 0;
}

.kpdi-bioped p {
  max-width: 680px;
}

.kpdi-case-study .kpdi-bioped p {
  color: #52525a;
  font-size: 16px;
  line-height: 26px;
}

.kpdi-bioped-lead,
.kpdi-case-study .kpdi-bioped p.kpdi-bioped-lead {
  max-width: 680px;
  color: #121212;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
}

.kpdi-bioped h2 {
  max-width: 680px;
  color: #121212;
  font: 700 24px / 32px "museo", Georgia, serif;
}

.kpdi-bioped-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 40px;
  border-radius: 12px;
  background: #f7f7f8;
}

.kpdi-bioped-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 0 0 220px;
  width: 220px;
  min-height: 150px;
  padding: 24px 12px;
  border: 1px solid #dcdcdf;
  border-radius: 6px;
  background: #fff;
}

.kpdi-bioped-node--hot {
  border: 2px solid #fa4616;
}

.kpdi-bioped-node-title,
.kpdi-case-study .kpdi-bioped p.kpdi-bioped-node-title {
  max-width: none;
  color: #121212;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.kpdi-bioped-node-text,
.kpdi-case-study .kpdi-bioped p.kpdi-bioped-node-text {
  max-width: none;
  color: #52525a;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.kpdi-bioped-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fef0eb;
  color: #da380b;
  font: 500 12px / 14px "museo-sans", Arial, sans-serif;
}

.kpdi-bioped-link {
  flex: 0 0 auto;
  width: 50px;
  height: 2px;
  background: #bfbfc4;
}

.kpdi-bioped-ba {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 860 / 538;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dcdcdf;
  border-radius: 12px;
  background: #fff;
  --pos: 50;
  touch-action: none;
}

.kpdi-bioped-ba__after,
.kpdi-bioped-ba__before {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.kpdi-bioped-ba__after {
  right: 0;
  left: calc(var(--pos) * 1%);
}

.kpdi-bioped-ba__before {
  left: 0;
  z-index: 1;
  width: calc(var(--pos) * 1%);
}

.kpdi-bioped-ba__after img,
.kpdi-bioped-ba__before img {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.kpdi-bioped-ba__after img {
  width: 100%;
  object-position: center;
}

.kpdi-bioped-ba__before img {
  width: calc(10000% / var(--pos));
  max-width: none;
  object-position: left center;
}

.kpdi-bioped-ba__pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #dcdcdf;
  border-radius: 999px;
  background: #fff;
  color: #52525a;
  font: 500 14px / 18px "museo-sans", Arial, sans-serif;
  white-space: nowrap;
}

.kpdi-bioped-ba__pill--before {
  top: 16px;
  left: 16px;
}

.kpdi-bioped-ba__pill--after {
  top: 16px;
  right: 16px;
}

.kpdi-bioped-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  z-index: 3;
  width: 0;
  pointer-events: none;
}

.kpdi-bioped-ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #fa4616;
  transform: translateX(-50%);
}

.kpdi-bioped-ba__knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 3px solid #fa4616;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.kpdi-bioped-ba__knob svg {
  display: block;
  width: 24px;
  height: 24px;
}

.kpdi-bioped-ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.kpdi-bioped-ba:has(.kpdi-bioped-ba__range:focus-visible) .kpdi-bioped-ba__knob {
  outline: 2px solid #121212;
  outline-offset: 3px;
}

@property --pos {
  syntax: "<number>";
  inherits: true;
  initial-value: 50;
}

@keyframes kpdi-bio-up {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes kpdi-bio-zoom {
  from {
    opacity: 0;
    transform: scale3d(0.98, 0.98, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes kpdi-bio-wipe {
  0% {
    --pos: 46;
  }
  45% {
    --pos: 62;
  }
  100% {
    --pos: 50;
  }
}

.kpdi-bioped.is-ready .kpdi-bioped-rise:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.kpdi-bioped.is-ready .kpdi-bioped-zoom:not(.is-in) {
  opacity: 0;
  transform: scale3d(0.98, 0.98, 1);
}

.kpdi-bioped.is-ready .kpdi-bioped-rise.is-in {
  animation: kpdi-bio-up 0.7s cubic-bezier(0.45, 0, 0.55, 1) both;
  animation-delay: var(--d, 0s);
}

.kpdi-bioped.is-ready .kpdi-bioped-zoom.is-in {
  animation: kpdi-bio-zoom 0.9s cubic-bezier(0.45, 0, 0.55, 1) both;
}

.kpdi-bioped.is-ready .kpdi-bioped-ba.is-in {
  animation:
    kpdi-bio-zoom 0.9s cubic-bezier(0.45, 0, 0.55, 1) both,
    kpdi-bio-wipe 1.6s cubic-bezier(0.45, 0, 0.55, 1) 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  .kpdi-bioped.is-ready .kpdi-bioped-rise,
  .kpdi-bioped.is-ready .kpdi-bioped-zoom {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@container (max-width: 760px) {
  .kpdi-bioped-inner {
    gap: 32px;
  }

  .kpdi-bioped-flow {
    flex-direction: column;
    padding: 32px 24px;
  }

  .kpdi-bioped-node {
    flex: 0 0 150px;
    width: 220px;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
  }

  .kpdi-bioped-link {
    width: 2px;
    height: 50px;
  }

  /* Match Trent: slightly smaller handle on narrow containers */
  .kpdi-bioped-ba__knob {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .kpdi-bioped-ba__knob svg {
    width: 18px;
    height: 18px;
  }

  .kpdi-bioped-ba__pill--before {
    top: 10px;
    left: 10px;
  }

  .kpdi-bioped-ba__pill--after {
    top: 10px;
    right: 10px;
  }
}

/* BioPed signature */
.kpdi-bioped-sig,
.kpdi-bioped-sig * {
  box-sizing: border-box;
}

.kpdi-bioped-sig {
  display: block;
  width: 100%;
  min-width: 0;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  container-type: inline-size;
}

.kpdi-bioped-sig-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  min-width: 0;
}

.kpdi-bioped-sig header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 720px;
}

.kpdi-bioped-sig h2 {
  margin: 0;
  max-width: 720px;
  color: #121212;
  font: 700 44px / 52px "museo", Georgia, serif;
}

.case-study-page .case-study-page__full-width-inner .kpdi-bioped-sig p {
  max-width: 680px;
  margin: 0;
  color: #52525a;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.case-study-page .case-study-page__full-width-inner .kpdi-bioped-sig p.kpdi-bioped-sig-lead {
  color: #26262b;
  font-size: 18px;
  line-height: 30px;
}

.kpdi-bioped-sig-roles {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 40px;
  border-radius: 12px;
  background: #fff;
}

.kpdi-bioped-sig-role {
  display: flex;
  align-items: center;
  gap: 120px;
  width: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid #dcdcdf;
  border-radius: 6px;
  background: #fbfbfc;
}

.kpdi-bioped-sig-role h3 {
  flex: 0 0 200px;
  width: 200px;
  margin: 0;
  color: #121212;
  font: 500 18px / 30px "museo-sans", Arial, sans-serif;
}

.kpdi-bioped-sig-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.kpdi-bioped-sig-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid #dcdcdf;
  border-radius: 999px;
  background: #fff;
  color: #121212;
  font: 500 14px / 18px "museo-sans", Arial, sans-serif;
  white-space: nowrap;
}

.kpdi-bioped-sig-chip svg {
  display: block;
  flex: 0 0 auto;
}

.kpdi-bioped-sig-chip--no {
  border-style: dashed;
  background: transparent;
  color: #52525a;
}

.kpdi-bioped-sig-chip--no span {
  text-decoration: line-through;
}

.kpdi-bioped-sig-chip--wait {
  border-color: #fed8cd;
  background: #fef0eb;
  color: #b32e09;
}

.kpdi-bioped-sig-result {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.case-study-page .case-study-page__full-width-inner .kpdi-bioped-sig p.kpdi-bioped-sig-kicker {
  max-width: none;
  color: #2e2e33;
  font-size: 32px;
  line-height: 32px;
  font-weight: 600;
}

@keyframes kpdi-sig-up {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes kpdi-sig-zoom {
  from {
    opacity: 0;
    transform: scale3d(0.98, 0.98, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

.kpdi-bioped-sig.is-ready .kpdi-sig-rise:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.kpdi-bioped-sig.is-ready .kpdi-sig-zoom:not(.is-in) {
  opacity: 0;
  transform: scale3d(0.98, 0.98, 1);
}

.kpdi-bioped-sig.is-ready .kpdi-sig-rise.is-in {
  animation: kpdi-sig-up 0.7s cubic-bezier(0.45, 0, 0.55, 1) both;
  animation-delay: var(--d, 0s);
}

.kpdi-bioped-sig.is-ready .kpdi-sig-zoom.is-in {
  animation: kpdi-sig-zoom 0.9s cubic-bezier(0.45, 0, 0.55, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .kpdi-bioped-sig.is-ready .kpdi-sig-rise,
  .kpdi-bioped-sig.is-ready .kpdi-sig-zoom {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@container (max-width: 860px) {
  .case-study-page .case-study-page__full-width-inner .kpdi-bioped-sig h2 {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  .kpdi-bioped-sig-roles {
    gap: 8px;
    padding: 32px;
  }

  .kpdi-bioped-sig-role {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .kpdi-bioped-sig-role h3 {
    flex-basis: auto;
    width: auto;
  }

  .kpdi-bioped-sig-chip {
    padding: 8px 12px;
  }

  .kpdi-bioped-sig-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .case-study-page .kpdi-bioped-sig {
    margin-block: 20px;
  }
}

/* BioPed closing */
.kpdi-bioped-close,
.kpdi-bioped-close * {
  box-sizing: border-box;
}

.kpdi-bioped-close-inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(1280px, calc(100% - 160px));
  margin-inline: auto;
  container-type: inline-size;
}

.kpdi-bioped-close-split {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.kpdi-bioped-close-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 680px;
}

.kpdi-case-study .kpdi-bioped-close h2 {
  margin: 0;
  color: #121212;
  font: 700 32px / 40px "museo", Georgia, serif;
}

.kpdi-bioped-close-split:last-child h2 {
  max-width: 283px;
}

.kpdi-case-study .kpdi-bioped-close p {
  margin: 0;
  max-width: 680px;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-bioped-close > p:empty,
.kpdi-bioped-close > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

@keyframes kpdi-close-up {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.kpdi-bioped-close.is-ready .kpdi-close-rise:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.kpdi-bioped-close.is-ready .kpdi-close-rise.is-in {
  animation: kpdi-close-up 0.7s cubic-bezier(0.45, 0, 0.55, 1) both;
  animation-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .kpdi-bioped-close.is-ready .kpdi-close-rise {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@container (max-width: 800px) {
  .kpdi-bioped-close-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .kpdi-case-study .kpdi-bioped-close h2 {
    font-size: 26px;
    line-height: 32px;
    max-width: none;
  }

  .kpdi-bioped-close-split:first-child h2 {
    max-width: 320px;
  }
}

@media (max-width: 1024px) {
  .kpdi-bioped-close-inner {
    width: calc(100% - 48px);
  }
}

/* NUCAP case study */
.entry-content.nucap-story {
  --ns-ink: #121212;
  --ns-body: #52525a;
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

.entry-content.nucap-story .nucap-story__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entry-content.nucap-story p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: var(--ns-body);
}

.entry-content.nucap-story .nucap-story__section > h2.nucap-story__title,
.case-study-page .entry-content.nucap-story .nucap-story__section > h2.nucap-story__title {
  margin: 0;
  max-width: 680px;
  font-family: 'museo', Georgia, serif;
  font-size: 32px !important;
  line-height: 40px !important;
  font-weight: 700;
  color: var(--ns-ink);
}

.entry-content.nucap-story p.nucap-story__quote {
  font-family: 'museo', Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ns-ink);
}

.entry-content.nucap-story .nucap-story__figure {
  margin: 0;
  padding: 40px;
  background: #f7f7f8;
  border-radius: 12px;
  overflow: hidden;
}

.entry-content.nucap-story .nucap-story__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 780 / 439;
  object-fit: cover;
  background: #fff;
  border: 1px solid #dcdcdf;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .entry-content.nucap-story {
    gap: 48px;
  }

  .entry-content.nucap-story .nucap-story__section > h2.nucap-story__title,
  .case-study-page .entry-content.nucap-story .nucap-story__section > h2.nucap-story__title {
    font-size: 26px !important;
    line-height: 34px !important;
  }

  .entry-content.nucap-story p.nucap-story__quote {
    font-size: 20px;
    line-height: 28px;
  }

  .entry-content.nucap-story .nucap-story__figure {
    padding: 16px;
    border-radius: 10px;
  }
}

/* NUCAP signature */
.ns-sig {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  min-width: 0;
}

.ns-sig .cs-signature-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  width: 100%;
  margin: 0;
}

.ns-sig .cs-signature-head h2 {
  margin: 0;
  max-width: 720px;
  font-family: 'museo', Georgia, serif;
  font-size: 44px !important;
  line-height: 52px !important;
  font-weight: 700;
  color: #121212;
}

.ns-sig .cs-signature-head p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

.ns-sig .ns-logos.sc-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
}

.ns-sig .ns-logos.sc-stats > div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ns-sig .ns-logos.sc-stats > div + div {
  border: 0;
}

.ns-sig .ns-logos img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ns-sig .ns-nrs {
  width: 121px;
  height: 60px;
  object-fit: contain;
}

.ns-sig .ns-gripblock {
  width: 230px;
  height: auto;
}

.ns-sig .ns-energy {
  width: 183px;
  height: 60px;
  object-fit: contain;
}

.ns-sig .ns-spidertech {
  width: 230px;
  height: auto;
}

.ns-sig .ns-gripmetal {
  position: relative;
  flex-shrink: 0;
  width: 230px;
  height: 56.834px;
}

.ns-sig .ns-gripmetal img {
  position: absolute;
  max-width: none;
}

.ns-sig .ns-gm-word {
  top: 0;
}

.ns-sig .ns-gm-symbol {
  top: 2.13px;
  transform: rotate(90deg) scaleX(-1);
}

.ns-sig .ns-gm-tm {
  right: 1.035px;
  top: 0;
}

.ns-sig .ns-gm-tagline {
  left: 2.093px;
  bottom: 0;
}

.ns-sig .ns-gm-line {
  left: -0.056px;
  top: 39.46px;
}

.ns-sig .ns-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.ns-sig .ns-figure.sc-hero-visual {
  margin: 0;
  padding: 40px;
  width: 100%;
  aspect-ratio: 860 / 519;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.ns-sig .ns-figure.sc-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  max-width: 100%;
  aspect-ratio: 780 / 439;
  object-fit: cover;
  background: #fff;
  border: 1px solid #dcdcdf;
  border-radius: 8px;
  position: static;
}

.ns-sig .sc-how {
  align-items: start;
}

.ns-sig .ns-behind {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 680px;
  min-width: 0;
  width: 100%;
}

.ns-sig .ns-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ns-sig .ns-pills li {
  margin: 0;
  padding: 4px 12px;
  border: 1px solid #dcdcdf;
  border-radius: 9999px;
  background: #fff;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #52525a;
}

.ns-sig .ns-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.ns-sig .ns-results > h3.ns-results-title,
.case-study-page .case-study-page__full-width-inner .ns-sig .sc-how .ns-results > h3.ns-results-title {
  margin: 0;
  font-family: 'museo', Georgia, serif;
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 700;
  color: #121212;
}

.ns-sig .ns-results p {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #52525a;
}

@media (max-width: 1200px) {
  .ns-sig .ns-logos.sc-stats {
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ns-sig .ns-figure.sc-hero-visual {
    padding: 24px;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .case-study-page .case-study-page__full-width-inner .ns-sig .sc-how {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .ns-sig .cs-signature-head h2,
  .case-study-page .case-study-page__full-width-inner .ns-sig .cs-signature-head h2 {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  .ns-sig .ns-logos.sc-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ns-sig .ns-logos.sc-stats > div {
    width: 100%;
  }

  .ns-sig .ns-gripmetal {
    transform: scale(1.147826, 1.055706);
  }

  .ns-sig .ns-gripblock {
    width: 264px;
  }

  .ns-sig .ns-spidertech {
    width: 265px;
    height: 48px;
    object-fit: contain;
  }

  .ns-sig .ns-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .ns-sig .ns-figure.sc-hero-visual {
    padding: 12px;
  }

  .ns-sig .ns-results > h3.ns-results-title,
  .case-study-page .case-study-page__full-width-inner .ns-sig .sc-how .ns-results > h3.ns-results-title {
    font-size: 22px !important;
    line-height: 30px !important;
    max-width: 340px;
  }
}

/* NUCAP closing */
.ns-close.cs-closing.cs-split > h2,
.case-study-page .ns-close.cs-closing.cs-split > h2 {
  margin: 0;
  max-width: 300px;
  font-family: 'museo', Georgia, serif;
  font-size: 32px !important;
  line-height: 40px !important;
  font-weight: 700;
  color: #121212;
}

.ns-close .cs-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  min-width: 0;
}

.ns-close .cs-lead {
  margin: 0;
  max-width: 680px;
  font-family: 'museo-sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #121212;
}

.ns-close .ns-close-highlight {
  margin: 0;
  max-width: 680px;
  font-family: 'museo', Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #121212;
}

@media (max-width: 768px) {
  .ns-close.cs-closing.cs-split > h2,
  .case-study-page .ns-close.cs-closing.cs-split > h2 {
    max-width: 320px;
    font-size: 26px !important;
    line-height: 32px !important;
  }

  .ns-close .cs-copy {
    gap: 24px;
  }

  .ns-close .ns-close-highlight {
    font-size: 22px;
    line-height: 30px;
  }
}






/* Rosenberg case study */
.kpdi-rosenberg,
.kpdi-rosenberg * {
  box-sizing: border-box;
}

.kpdi-rosenberg {
  display: block;
  width: 100%;
  max-width: 860px;
  min-width: 0;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  container-type: inline-size;
}

.kpdi-rosenberg-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  min-width: 0;
}

.kpdi-rosenberg-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.kpdi-rosenberg p,
.kpdi-rosenberg h2,
.kpdi-rosenberg figure {
  margin: 0;
}

.kpdi-rosenberg p {
  max-width: 680px;
}

.kpdi-case-study .kpdi-rosenberg p {
  color: #52525a;
  font-size: 16px;
  line-height: 26px;
}

.kpdi-rosenberg-lead,
.kpdi-case-study .kpdi-rosenberg p.kpdi-rosenberg-lead {
  max-width: 680px;
  color: #121212;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
}

.kpdi-rosenberg h2 {
  max-width: 680px;
  color: #121212;
  font: 700 24px / 32px "museo", Georgia, serif;
}

.kpdi-rosenberg > p:empty,
.kpdi-rosenberg > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}

.kpdi-rosenberg-ba {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 860 / 538;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dcdcdf;
  border-radius: 12px;
  background: #f7f7f8;
  --pos: 50;
  touch-action: none;
}

.kpdi-rosenberg-ba__after,
.kpdi-rosenberg-ba__before {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background: #f7f7f8;
}

.kpdi-rosenberg-ba__after {
  right: 0;
  left: calc(var(--pos) * 1%);
}

.kpdi-rosenberg-ba__before {
  left: 0;
  z-index: 1;
  width: calc(var(--pos) * 1%);
}

.kpdi-rosenberg-ba__after img,
.kpdi-rosenberg-ba__before img {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.kpdi-rosenberg-ba__after img {
  width: 100%;
  object-position: center;
}

.kpdi-rosenberg-ba__before img {
  width: calc(10000% / var(--pos));
  max-width: none;
  object-position: left center;
}

.kpdi-rosenberg-ba__pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #dcdcdf;
  border-radius: 999px;
  background: #fff;
  color: #52525a;
  font: 500 14px / 18px "museo-sans", Arial, sans-serif;
  white-space: nowrap;
}

.kpdi-rosenberg-ba__pill--before {
  top: 16px;
  left: 16px;
}

.kpdi-rosenberg-ba__pill--after {
  top: 16px;
  right: 16px;
}

.kpdi-rosenberg-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  z-index: 3;
  width: 0;
  pointer-events: none;
}

.kpdi-rosenberg-ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #fa4616;
  transform: translateX(-50%);
}

.kpdi-rosenberg-ba__knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 3px solid #fa4616;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.kpdi-rosenberg-ba__knob svg {
  display: block;
  width: 24px;
  height: 24px;
}

.kpdi-rosenberg-ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.kpdi-rosenberg-ba:has(.kpdi-rosenberg-ba__range:focus-visible) .kpdi-rosenberg-ba__knob {
  outline: 2px solid #121212;
  outline-offset: 3px;
}

@property --pos {
  syntax: "<number>";
  inherits: true;
  initial-value: 50;
}

@keyframes kpdi-rr-up {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes kpdi-rr-zoom {
  from {
    opacity: 0;
    transform: scale3d(0.98, 0.98, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes kpdi-rr-wipe {
  0% {
    --pos: 46;
  }
  45% {
    --pos: 62;
  }
  100% {
    --pos: 50;
  }
}

.kpdi-rosenberg.is-ready .kpdi-rr-rise:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.kpdi-rosenberg.is-ready .kpdi-rr-zoom:not(.is-in) {
  opacity: 0;
  transform: scale3d(0.98, 0.98, 1);
}

.kpdi-rosenberg.is-ready .kpdi-rr-rise.is-in {
  animation: kpdi-rr-up 0.7s cubic-bezier(0.45, 0, 0.55, 1) both;
  animation-delay: var(--d, 0s);
}

.kpdi-rosenberg.is-ready .kpdi-rr-zoom.is-in {
  animation: kpdi-rr-zoom 0.9s cubic-bezier(0.45, 0, 0.55, 1) both;
}

.kpdi-rosenberg.is-ready .kpdi-rosenberg-ba.is-in {
  animation:
    kpdi-rr-zoom 0.9s cubic-bezier(0.45, 0, 0.55, 1) both,
    kpdi-rr-wipe 1.6s cubic-bezier(0.45, 0, 0.55, 1) 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  .kpdi-rosenberg.is-ready .kpdi-rr-rise,
  .kpdi-rosenberg.is-ready .kpdi-rr-zoom {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@container (max-width: 760px) {
  .kpdi-rosenberg-inner {
    gap: 32px;
  }

  .kpdi-rosenberg-ba__knob {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .kpdi-rosenberg-ba__knob svg {
    width: 18px;
    height: 18px;
  }

  .kpdi-rosenberg-ba__pill--before {
    top: 10px;
    left: 10px;
  }

  .kpdi-rosenberg-ba__pill--after {
    top: 10px;
    right: 10px;
  }
}

/* Rosenberg signature */
.kpdi-rr-sig,
.kpdi-rr-sig * {
  box-sizing: border-box;
}

.kpdi-rr-sig {
  display: block;
  width: 100%;
  min-width: 0;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  container-type: inline-size;
}

.kpdi-rr-sig-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  min-width: 0;
}

.kpdi-rr-sig header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 720px;
}

.kpdi-rr-sig h2 {
  margin: 0;
  max-width: 720px;
  color: #121212;
  font: 700 44px / 52px "museo", Georgia, serif;
}

.case-study-page .case-study-page__full-width-inner .kpdi-rr-sig p {
  max-width: 680px;
  margin: 0;
  color: #52525a;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.case-study-page .case-study-page__full-width-inner .kpdi-rr-sig header p {
  max-width: 600px;
}

.kpdi-rr-sig > p:empty,
.kpdi-rr-sig > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}

.kpdi-rr-journey {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 40px;
  border-radius: 12px;
  background: #fff;
}

.kpdi-rr-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.kpdi-rr-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.kpdi-rr-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.kpdi-rr-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.kpdi-rr-step-num {
  color: #da380b;
  font: 700 14px / 18px "museo-sans", Arial, sans-serif;
}

.kpdi-rr-step-name {
  margin: 0;
  color: #121212;
  font: 500 18px / 30px "museo-sans", Arial, sans-serif;
}

.kpdi-rr-step-arrow {
  display: flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.kpdi-rr-step-arrow svg {
  display: block;
}

.kpdi-rr-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 384 / 250;
  border: 1px solid #dcdcdf;
  border-radius: 8px;
  background: #f7f7f8;
}

.case-study-page .case-study-page__full-width-inner .kpdi-rr-sig p.kpdi-rr-slot-label {
  max-width: none;
  color: #52525a;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

.kpdi-rr-ab {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 12px 24px;
  border: 1px solid #fed8cd;
  border-radius: 8px;
  background: #fef0eb;
}

.case-study-page .case-study-page__full-width-inner .kpdi-rr-sig p.kpdi-rr-ab-label {
  max-width: none;
  color: #da380b;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  white-space: nowrap;
}

.kpdi-rr-ab-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kpdi-rr-ab-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #fed8cd;
  border-radius: 999px;
  background: #fff;
  color: #121212;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
  white-space: nowrap;
}

.kpdi-rr-after {
  display: grid;
  grid-template-columns: 396px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.case-study-page .case-study-page__full-width-inner .kpdi-rr-sig p.kpdi-rr-kicker {
  max-width: none;
  color: #2e2e33;
  font: 700 32px / 40px "museo", Georgia, serif;
}

.kpdi-rr-sig.is-ready .kpdi-rr-rise:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.kpdi-rr-sig.is-ready .kpdi-rr-zoom:not(.is-in) {
  opacity: 0;
  transform: scale3d(0.98, 0.98, 1);
}

.kpdi-rr-sig.is-ready .kpdi-rr-rise.is-in {
  animation: kpdi-rr-up 0.7s cubic-bezier(0.45, 0, 0.55, 1) both;
  animation-delay: var(--d, 0s);
}

.kpdi-rr-sig.is-ready .kpdi-rr-zoom.is-in {
  animation: kpdi-rr-zoom 0.9s cubic-bezier(0.45, 0, 0.55, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .kpdi-rr-sig.is-ready .kpdi-rr-rise,
  .kpdi-rr-sig.is-ready .kpdi-rr-zoom {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@container (max-width: 860px) {
  .case-study-page .case-study-page__full-width-inner .kpdi-rr-sig h2 {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  .case-study-page .case-study-page__full-width-inner .kpdi-rr-sig header p {
    max-width: 680px;
  }

  .kpdi-rr-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .kpdi-rr-ab {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .kpdi-rr-ab-tags {
    justify-content: center;
  }

  .kpdi-rr-after {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .case-study-page .kpdi-rr-sig {
    margin-block: 20px;
  }
}

/* Rosenberg closing */
.kpdi-rr-close,
.kpdi-rr-close * {
  box-sizing: border-box;
}

.kpdi-rr-close-inner {
  width: min(1280px, calc(100% - 100px));
  margin-inline: auto;
  container-type: inline-size;
}

.kpdi-rr-close-split {
  display: grid;
  grid-template-columns: 390px minmax(0, 680px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.kpdi-rr-close-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 680px;
}

.kpdi-case-study .kpdi-rr-close h2 {
  margin: 0;
  color: #121212;
  font: 700 32px / 40px "museo", Georgia, serif;
}

.kpdi-case-study .kpdi-rr-close p {
  margin: 0;
  max-width: 680px;
  color: #52525a;
  font: 500 16px / 26px "museo-sans", Arial, sans-serif;
}

.kpdi-rr-close-lead,
.kpdi-case-study .kpdi-rr-close p.kpdi-rr-close-lead {
  color: #121212;
  font-size: 18px;
  line-height: 30px;
}

.kpdi-rr-quote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 3px solid #fa4616;
  background: transparent;
}

.kpdi-case-study .kpdi-rr-close .kpdi-rr-quote-text {
  max-width: 680px;
  color: #121212;
  font: 700 24px / 32px "museo", Georgia, serif;
}

.kpdi-rr-close > p:empty,
.kpdi-rr-close > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}

@keyframes kpdi-rrc-up {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.kpdi-rr-close.is-ready .kpdi-rrc-rise:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.kpdi-rr-close.is-ready .kpdi-rrc-rise.is-in {
  animation: kpdi-rrc-up 0.7s cubic-bezier(0.45, 0, 0.55, 1) both;
  animation-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .kpdi-rr-close.is-ready .kpdi-rrc-rise {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@container (max-width: 800px) {
  .kpdi-rr-close-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .kpdi-case-study .kpdi-rr-close h2 {
    font-size: 26px;
    line-height: 32px;
    max-width: 320px;
  }

  .kpdi-rr-close-lead,
  .kpdi-case-study .kpdi-rr-close p.kpdi-rr-close-lead {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .kpdi-rr-close-inner {
    width: calc(100% - 48px);
  }
}
