:root{--g:max(80px,calc((100% - 1280px) / 2))}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:#FAFAF8}
.cw-root{--g:max(80px,calc((100% - 1280px) / 2));width:100% !important;height:auto !important;min-height:100vh;overflow:hidden}
.cw-root img{max-width:100%}
.cw-si{display:contents}
[data-stage]{max-width:100%}
.cw-root .cw-ar:not([data-stage] *){max-width:100%;height:auto !important;aspect-ratio:var(--ar)}

/* Pill CTAs: hover + focus */
.cw-root a[style*="border-radius: 26px"]{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease,filter .2s ease}
.cw-root a[style*="border-radius: 26px"][style*="background:"]:hover{filter:brightness(.92) saturate(1.05);transform:translateY(-1px);box-shadow:0 8px 20px -10px rgba(10,60,40,.55)}
.cw-root a[style*="border-radius: 26px"][style*="border: 1px solid #1A1A1A"]:hover{background:#1A1A1A;color:#FAFAF8 !important;transform:translateY(-1px)}
.cw-root a[style*="border-radius: 26px"][style*="border: 1px solid #4A4A4E"]:hover{background:#F4F4F0;border-color:#F4F4F0 !important;color:#151517 !important;transform:translateY(-1px)}
.cw-root a[style*="border-radius: 26px"]:active{transform:translateY(0)}
.cw-root a:focus-visible{outline:2px solid #12B76A;outline-offset:3px;border-radius:6px}
.cw-root a[style*="border-radius: 26px"]:focus-visible{border-radius:26px}
/* Whole case study cards are clickable */
.cw-root article:has(.cw-cta){position:relative;isolation:isolate;cursor:pointer;transition:box-shadow .3s ease,border-color .3s ease}
.cw-root article .cw-cta::after{content:"";position:absolute;inset:0;z-index:100}
.cw-root article:has(.cw-cta):hover{box-shadow:0 24px 50px -30px rgba(26,26,26,.35);border-color:#CFCFC6 !important}
.cw-root article:has(.cw-cta):hover .cw-cta .cw-ul{background-size:100% 1.5px}
.cw-root article:has(.cw-cta:focus-visible){outline:2px solid #12B76A;outline-offset:4px}
.cw-root article .cw-cta:focus-visible{outline:none}
/* Next case study link */
.cw-root a[aria-label^="Next case study"] svg{transition:transform .3s cubic-bezier(.2,0,0,1)}
.cw-root a[aria-label^="Next case study"]:hover svg{transform:translateX(6px)}
/* Scroll reveal for the large media under each case study hero */
.cw-reveal{will-change:transform;transform-origin:50% 0}
@media (prefers-reduced-motion: reduce){.cw-root a,.cw-root article{transition:none !important;transform:none !important}.cw-reveal{transform:none !important}}
@media (max-width:1300px){
  .cw-root h1 [style*="font-size: 84px"]{font-size:clamp(44px,6.2vw,84px) !important}
}
@media (max-width:1300px){
  .cw-root article{height:auto !important}
}
@media (max-width:1100px){
  .cw-root{--g:40px}
  .cw-root article[style*="grid-template-columns"]{display:flex !important;flex-direction:column !important;min-height:0 !important}
  .cw-root article > [data-stage],.cw-root article > :has([data-stage]){order:-1}
  .cw-root h1 span{white-space:normal !important}
  .cw-root [style*="display: flex"][style*="gap"]:not([style*="flex-direction: column"]):not([data-stage] *):not(nav):not(.cw-ticker):not(.cw-nowrap){flex-wrap:wrap}
}
@media (max-width:900px){
  .cw-root{--g:20px}
  .cw-root [style*="grid-template-columns"]:not([data-stage] *):not(.cw-g2):not(.cw-g3){display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:28px !important}
  .cw-root .cw-g2:not([data-stage] *){grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:20px 16px !important}
  .cw-root .cw-g3:not([data-stage] *){grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important}
  .cw-root .cw-g2 > *,.cw-root .cw-g3 > *{grid-column:auto !important}
  .cw-root .cw-ha{height:auto !important;min-height:0 !important}
  .cw-root [style*="min-height: 528px"]:not([data-stage]){min-height:0 !important}
  .cw-root .cw-ar:not([data-stage] *){height:auto !important;aspect-ratio:var(--ar);width:100% !important;max-width:100% !important}
  .cw-root [data-stage]{width:100% !important}
  /* type scale */
  .cw-root [style*="font-size: 112px"]:not([data-stage] *){font-size:52px !important}
  .cw-root [style*="font-size: 84px"]:not([data-stage] *){font-size:44px !important}
  .cw-root h1 span,.cw-root h2 span{white-space:normal !important}
  .cw-root article > [data-stage],.cw-root article > :has([data-stage]){order:-1}
  .cw-root [style*="font-size: 64px"]:not([data-stage] *){font-size:40px !important}
  .cw-root [style*="font-size: 50px"]:not([data-stage] *){font-size:34px !important}
  .cw-root [style*="font-size: 44px"]:not([data-stage] *){font-size:32px !important}
  .cw-root [style*="font-size: 40px"]:not([data-stage] *){font-size:30px !important}
  .cw-root [style*="font-size: 36px"]:not([data-stage] *){font-size:28px !important}
  .cw-root [style*="font-size: 34px"]:not([data-stage] *){font-size:28px !important}
  .cw-root [style*="font-size: 32px"]:not([data-stage] *){font-size:26px !important}
  .cw-root [style*="font-size: 30px"]:not([data-stage] *){font-size:23px !important}
  .cw-root [style*="font-size: 28px"]:not([data-stage] *){font-size:23px !important}
  .cw-root [style*="font-size: 19px"]:not([data-stage] *),.cw-root [style*="font-size: 18px"]:not([data-stage] *){font-size:17px !important}
  /* vertical rhythm */
  .cw-root [style*="padding: 160px"]:not([data-stage] *){padding-top:80px !important;padding-bottom:80px !important}
  .cw-root [style*="padding: 140px"]:not([data-stage] *){padding-top:72px !important;padding-bottom:72px !important}
  .cw-root [style*="padding: 120px"]:not([data-stage] *){padding-top:64px !important;padding-bottom:64px !important}
  .cw-root [style*="padding: 96px"]:not([data-stage] *){padding-top:56px !important;padding-bottom:56px !important}
  .cw-root [style*="var(--g) 140px var(--g)"]:not([data-stage] *){padding-bottom:72px !important}
  .cw-root [style*="padding: 88px"]:not([data-stage] *){padding-top:48px !important}
  .cw-root [style*="padding: 96px var(--g) 0"]:not([data-stage] *){padding-top:48px !important}
  .cw-root .cw-arn:not([data-stage] *){width:min(var(--arw),100%) !important;max-width:100% !important;margin-left:auto;margin-right:auto}
  .cw-root :has(> [data-stage]){min-width:0 !important;max-width:100% !important;flex-shrink:1 !important}
  .cw-root [style*="display: flex"]:has(> [style*="width: 280px"]){flex-direction:column !important;align-items:stretch !important}
  .cw-root :has(> [style*="width: 280px"]) > [style*="width: 280px"]{width:100% !important}
  .cw-root :has(> [style*="width: 280px"]) > [style*="flex-grow: 1"]{padding:14px 0 !important}
  .cw-root :has(> [style*="width: 280px"]) > [style*="flex-grow: 1"] > div{width:44px !important;transform:rotate(90deg);margin:12px 0}
  .cw-root [style*="padding: 64px 72px"]:not([data-stage] *),.cw-root [style*="padding: 64px 64px"]:not([data-stage] *),.cw-root [style*="padding: 56px 64px"]:not([data-stage] *){padding:28px 20px !important}
  .cw-root [style*="padding: 40px 40px"]:not([data-stage] *){padding:24px 20px !important}
  .cw-root footer{flex-wrap:wrap;gap:6px 24px}
  /* homepage hero */
  .cw-root main{padding-top:56px !important;padding-bottom:64px !important;gap:40px !important}
  .cw-root h1 span{display:inline !important}
  .cw-root h1 span:first-child::after{content:" "}
  .cw-root a[style*="border-radius: 26px"]:not([data-stage] *){padding:0 22px !important;min-height:48px !important;font-size:15px !important}
  /* next case study: stacked */
  .cw-root a[aria-label^="Next case study"] > div{width:100%}
  .cw-root a[aria-label^="Next case study"] > div:last-child{justify-content:space-between !important}
  .cw-root #contact[style*="padding: 160px"]{padding-bottom:32px !important}
  .cw-root [style*="margin-top: 88px"]:not([data-stage] *){margin-top:44px !important}
  .cw-root [style*="margin-top: 72px"]:not([data-stage] *){margin-top:40px !important}
  .cw-root [style*="margin-top: 64px"]:not([data-stage] *){margin-top:36px !important}
  .cw-root [style*="margin: 88px 0 0 0"]:not([data-stage] *){margin-top:44px !important}
  .cw-root [style*="gap: 120px"]:not([data-stage] *){gap:56px !important}
  .cw-root [style*="gap: 96px"]:not([data-stage] *){gap:48px !important}
  .cw-root [style*="gap: 80px"]:not([data-stage] *){gap:40px !important}
  .cw-root [style*="gap: 64px"]:not([data-stage] *){gap:36px !important}
  .cw-root [style*="gap: 56px"]:not([data-stage] *){gap:32px !important}
  .cw-root [style*="gap: 48px"]:not([data-stage] *){gap:28px !important}
  .cw-root [style*="gap: 40px"]:not([data-stage] *){gap:24px !important}
  .cw-root [style*="justify-content: flex-end"]:not([data-stage] *){justify-content:flex-start !important}
  .cw-root [style*="align-items: flex-end"][style*="flex-direction: column"]:not([data-stage] *){align-items:flex-start !important}
  .cw-root [style*="align-self: flex-end"]:not([data-stage] *){align-self:flex-start !important}
}
