/*
 * Three case-study cards, each led by a headline metric that counts up as the
 * card rises into view. Solid colours only: numbers in the brand blue, the
 * metric bar in black. The section heading is built in Webflow, above the component.
 */

.D2Z9gjO4VNdmjUyDmKo5 {
  /* Overridden inline by the theme props. */
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #000d30;
  --muted: #4e4e4e;
  --border: #6c6c6c;
  --number: #005ccf;
  --rule: #000000;
  --radius: 16px;
  --maxw: 1280px;

  box-sizing: border-box;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  padding: 64px clamp(16px, 4vw, 48px);
  -webkit-font-smoothing: antialiased;
}

.D2Z9gjO4VNdmjUyDmKo5 *,
.D2Z9gjO4VNdmjUyDmKo5 *::before,
.D2Z9gjO4VNdmjUyDmKo5 *::after {
  box-sizing: border-box;
}

.D1wMJd7l0SQFliIrVOTR {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- scroll-in reveal ---------- */

.uxGwVTuzqKvDFBxU33OX .ZvHZNz_DLjH0IX0tUQpd {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.uxGwVTuzqKvDFBxU33OX .ZvHZNz_DLjH0IX0tUQpd {
  transition-delay: var(--d, 0ms);
}

.uxGwVTuzqKvDFBxU33OX.lldnKNspnB3gprUU7q0x .ZvHZNz_DLjH0IX0tUQpd {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .uxGwVTuzqKvDFBxU33OX .ZvHZNz_DLjH0IX0tUQpd {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- cards ---------- */

.XnvdCXlv7ry6oDsZMiLI {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.XnvdCXlv7ry6oDsZMiLI[data-count='2'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.XnvdCXlv7ry6oDsZMiLI[data-count='1'] {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.ZvHZNz_DLjH0IX0tUQpd {
  --fill: 1;

  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.z5ahT0VtyvQQup2FQRIc {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.Z2uRtLq03iofYOfUlweU {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--border);
}

.F09IED4hIoHBVsKOJuTY {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--number);
}

/* ---------- headline metric ---------- */

.y6DSvbxZA7puoeQCxn0D {
  margin-bottom: 24px;
}

.bFIgJzD2IpaFbfhhl5V7 {
  margin: 0;
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bFIgJzD2IpaFbfhhl5V7 .lrELXSGD8LCexiP2axD1 {
  color: var(--number);
}

.kYHUCFI_Bamn3pnXcMV0 {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* Fills in step with the count-up, so the number and the bar land together. */
.bDxet0fJhUUUV_QREsmT {
  display: block;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rule) 10%, transparent);
  overflow: hidden;
}

.Gm5TrtIhdFBzO5Eo_PLi {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rule);
  transform: scaleX(var(--fill));
  transform-origin: left center;
}

/* ---------- count-up ---------- */

.YkPZw1wbfuuSDQHOP2Pt {
  display: inline-grid;
}

.yUYJ8cmDV0qbi_uOWqg5,
.lrELXSGD8LCexiP2axD1 {
  grid-area: 1 / 1;
}

/* Holds the finished width so the counting digits never shift the layout; it is
   still the copy screen readers announce. */
.yUYJ8cmDV0qbi_uOWqg5 {
  visibility: hidden;
}

/* ---------- copy ---------- */

.eSIQe6njfRh_1YlrlZBO {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.Omi1TXs_k56yOo9SrxXg {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.OJEWYC7fyaV4H4GyQfs7 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- link ---------- */

/* Pins the link to the foot of the card so the links line up across cards. */
.tAFmurSwOId5pr5npmel {
  margin-top: auto;
  padding-top: 22px;
}

.U342Sg3KZflfXiYhbxdz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--number);
  text-decoration: none;
}

.IZbEAVVxh61PtvOa7ZVT {
  transition: transform 0.25s ease;
}

.U342Sg3KZflfXiYhbxdz:hover .IZbEAVVxh61PtvOa7ZVT,
.U342Sg3KZflfXiYhbxdz:focus-visible .IZbEAVVxh61PtvOa7ZVT {
  transform: translateX(4px);
}

.U342Sg3KZflfXiYhbxdz:focus-visible {
  outline: 2px solid var(--number);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .XnvdCXlv7ry6oDsZMiLI,
  .XnvdCXlv7ry6oDsZMiLI[data-count='2'] {
    grid-template-columns: minmax(0, 680px);
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .D2Z9gjO4VNdmjUyDmKo5 {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .ZvHZNz_DLjH0IX0tUQpd {
    padding: 24px 20px 22px;
  }
}

