/* =========================================================
   WHY WORK WITH US — .cg-why-work-with-us-v2
   Elementor widget. A scoped port of the reference build
   (html-design/why-work-with-us.html plus
    html-design/css/why-work-with-us.css).

   Every selector in this file starts with the namespace
   .cg-why-work-with-us-v2, so nothing here can reach the
   header, the footer, any other widget or Elementor's own
   chrome. No element selectors are used unscoped.

   REUSED FROM THE THEME rather than redefined:
     - style.css : --font-display ("Space Grotesk")
     - tokens.css: --font-sans ("Archivo")
   Both families are already enqueued globally by
   inc/enqueue.php, so the reference's own @import of Google
   Fonts is deliberately NOT carried over — it would download
   a second copy of fonts the page already has.

   The section's own palette stays scoped exactly as the
   reference had it (--cg-wwu2-navy … --cg-wwu2-hair): those are
   the design's sampled values, they only ever resolve inside
   this section, and they leak nowhere.

   BREAKPOINTS are the reference's own — 1320 / 1024 / 640 / 380
   — not Elementor's generic ones, so the section changes shape
   exactly where the reference does. Every dynamic value is read
   through a var() with the reference number as its fallback, so
   an untouched widget renders the original design byte for byte
   and a control left empty changes nothing.

   ADDITIONS OVER THE REFERENCE HTML. The reference stylesheet
   carries finished rules for a decor layer (.wwu-decor/.wwu-shape/
   .wwu-glow) and a card arrow (.wwu-card-link) that its demo HTML
   never prints, and both appear in the approved visual. They are
   rendered here, styled from those same rules, and each is behind
   a control that can switch it off.
   ========================================================= */

.cg-why-work-with-us-v2 {
  /* ---- palette, scoped (from the reference) ---- */
  --cg-wwu2-navy: #101b4d;
  --cg-wwu2-navy-soft: #5b6486;
  --cg-wwu2-pink: #f50067;
  --cg-wwu2-orange: #ff8a3d;
  --cg-wwu2-yellow: #ffc928;
  --cg-wwu2-white: #ffffff;
  --cg-wwu2-paper: #f8fafd;
  --cg-wwu2-hair: #e8ebf2;

  --cg-wwu2-gutter: clamp(22px, 4vw, 64px);
  --cg-wwu2-ease: cubic-bezier(0.22, 0.61, 0.24, 1);

  /* how much room the side photographs take on desktop; the two
     per-side widths fall back to it unless overridden */
  --cg-wwu2-side: clamp(180px, 16vw, 290px);
  --cg-wwu2-side-w-l: var(--cg-wwu2-side);
  --cg-wwu2-side-w-r: var(--cg-wwu2-side);

  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: var(--cg-wwu2-min-h, clamp(620px, 78vh, 900px));
  overflow: hidden;

  /* One declaration per side. The Padding control writes
     --cg-wwu2-pad-*; with it untouched the reference's own clamps
     render. The section has no horizontal padding of its own in the
     design — the side inset belongs to the inner wrapper. */
  padding-top: var(--cg-wwu2-pad-t, clamp(56px, 6.5vw, 104px));
  padding-right: var(--cg-wwu2-pad-r, 0px);
  padding-bottom: var(--cg-wwu2-pad-b, clamp(56px, 6.5vw, 100px));
  padding-left: var(--cg-wwu2-pad-l, 0px);

  background-color: var(--cg-wwu2-bg, var(--cg-wwu2-paper));
  color: var(--cg-wwu2-navy);
  font-family: var(--font-sans, "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cg-why-work-with-us-v2 *,
.cg-why-work-with-us-v2 *::before,
.cg-why-work-with-us-v2 *::after { box-sizing: border-box; }

.cg-why-work-with-us-v2 a { text-decoration: none; color: inherit; }

.cg-why-work-with-us-v2 a:focus-visible {
  outline: 2px solid var(--cg-wwu2-pink);
  outline-offset: 3px;
}

/* Editor-only placeholder when nothing is configured. */
.cg-why-work-with-us-v2__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 160px;
  padding: 40px 20px;
  font-size: 13px;
  text-align: center;
  color: var(--cg-wwu2-navy-soft);
  border: 1px dashed var(--cg-wwu2-hair);
}

/* ---------------------------------------------------------
   1 · DECOR — two soft brand washes and a centre glow
   --------------------------------------------------------- */

.cg-why-work-with-us-v2__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cg-why-work-with-us-v2__shape {
  position: absolute;
  top: -30%;
  display: block;
  width: clamp(120px, 13vw, 220px);
  height: 120%;
  background: linear-gradient(180deg,
    rgba(245, 0, 103, 0.10) 0%,
    rgba(255, 138, 61, 0.05) 52%,
    rgba(255, 201, 40, 0) 88%);
  filter: blur(6px);
}

.cg-why-work-with-us-v2__shape--left {
  left: 4%;
  transform: rotate(26deg);
}

.cg-why-work-with-us-v2__shape--right {
  right: 4%;
  transform: rotate(-26deg);
}

.cg-why-work-with-us-v2__glow {
  position: absolute;
  left: 50%;
  top: 40%;
  display: block;
  width: min(80vw, 1100px);
  height: min(60vw, 700px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 68%);
}

/* ---------------------------------------------------------
   2 · SIDE PHOTOGRAPHS — one each side, bleeding off the edges
   --------------------------------------------------------- */

.cg-why-work-with-us-v2__side {
  position: absolute;
  top: 50%;
  z-index: 1;
  margin: 0;
  transform: translateY(-50%);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(16, 27, 77, 0.14);
}

.cg-why-work-with-us-v2__side--left {
  left: 0;
  top: 25%;
  width: var(--cg-wwu2-side-w-l);
  border-radius: var(--cg-wwu2-side-radius-l, 0 16px 16px 0);
}

.cg-why-work-with-us-v2__side--right {
  right: 0;
  top: 75%;
  width: var(--cg-wwu2-side-w-r);
  border-radius: var(--cg-wwu2-side-radius-r, 16px 0 0 16px);
}

.cg-why-work-with-us-v2__side-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 600ms var(--cg-wwu2-ease);
}

.cg-why-work-with-us-v2__side--left .cg-why-work-with-us-v2__side-image {
  aspect-ratio: var(--cg-wwu2-side-ratio-l, 3 / 4.6);
  min-height: var(--cg-wwu2-side-minh-l, 0px);
  object-fit: var(--cg-wwu2-side-fit-l, cover);
  object-position: var(--cg-wwu2-side-pos-l, 62% 50%);
}

.cg-why-work-with-us-v2__side--right .cg-why-work-with-us-v2__side-image {
  aspect-ratio: var(--cg-wwu2-side-ratio-r, 3 / 4.6);
  min-height: var(--cg-wwu2-side-minh-r, 0px);
  object-fit: var(--cg-wwu2-side-fit-r, cover);
  object-position: var(--cg-wwu2-side-pos-r, 46% 50%);
}

.cg-why-work-with-us-v2__side:hover .cg-why-work-with-us-v2__side-image { transform: scale(1.04); }

/* ---------------------------------------------------------
   3 · CENTRE COLUMN
   Deliberately NOT positioned: that lets the side figures inside
   it anchor to the section itself and bleed off the edges.
   --------------------------------------------------------- */

.cg-why-work-with-us-v2__inner {
  width: 100%;
  max-width: var(--cg-wwu2-max-w, 1720px);
  margin: 0 auto;
  /* clears the two photographs without overlapping them */
  padding-right: calc(var(--cg-wwu2-side-w-r) + clamp(22px, 3vw, 56px));
  padding-left: calc(var(--cg-wwu2-side-w-l) + clamp(22px, 3vw, 56px));
}

/* With a photograph switched off, the centre column reclaims that
   side rather than holding an empty inset. */
.cg-why-work-with-us-v2--no-left .cg-why-work-with-us-v2__inner { padding-left: var(--cg-wwu2-gutter); }
.cg-why-work-with-us-v2--no-right .cg-why-work-with-us-v2__inner { padding-right: var(--cg-wwu2-gutter); }

.cg-why-work-with-us-v2__header,
.cg-why-work-with-us-v2__cards,
.cg-why-work-with-us-v2__footnote {
  position: relative;
  z-index: 2;
}

.cg-why-work-with-us-v2__header {
  max-width: var(--cg-wwu2-header-max, 760px);
  margin: 0 auto;
  text-align: var(--cg-wwu2-intro-align, center);
}

.cg-why-work-with-us-v2__eyebrow {
  display: flex;
  align-items: center;
  justify-content: var(--cg-wwu2-intro-justify, center);
  gap: clamp(12px, 1.4vw, 20px);
  margin: 0;
  font-size: clamp(10.5px, 0.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cg-wwu2-eyebrow-color, var(--cg-wwu2-pink));
}

.cg-why-work-with-us-v2__eyebrow-line {
  display: block;
  flex: 0 0 auto;
  width: var(--cg-wwu2-eyebrow-line-w, clamp(26px, 3vw, 46px));
  height: var(--cg-wwu2-eyebrow-line-h, 2px);
  background: var(--cg-wwu2-eyebrow-line-color, var(--cg-wwu2-pink));
  opacity: 0.55;
}

.cg-why-work-with-us-v2__title {
  margin: clamp(16px, 1.8vw, 26px) 0 0;
  font-family: var(--font-display, "Space Grotesk", "Archivo", Helvetica, Arial, sans-serif);
  font-size: clamp(30px, 3.4vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--cg-wwu2-title-color, var(--cg-wwu2-navy));
  text-wrap: balance;
}

.cg-why-work-with-us-v2__accent {
  font-style: normal;
  background-image: linear-gradient(
    var(--cg-wwu2-accent-angle, 96deg),
    var(--cg-wwu2-accent-1, var(--cg-wwu2-pink)) 0%,
    var(--cg-wwu2-accent-2, #ff3d6e) 38%,
    var(--cg-wwu2-accent-3, var(--cg-wwu2-orange)) 76%,
    var(--cg-wwu2-accent-4, var(--cg-wwu2-yellow)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.cg-why-work-with-us-v2__text {
  max-width: var(--cg-wwu2-text-max, 62ch);
  margin: clamp(16px, 1.6vw, 24px) auto 0;
  font-size: clamp(14.5px, 1vw, 17px);
  line-height: 1.68;
  color: var(--cg-wwu2-text-color, var(--cg-wwu2-navy-soft));
  text-wrap: pretty;
}

/* ---------------------------------------------------------
   4 · CARDS — 3 × 2 on desktop, equal heights
   --------------------------------------------------------- */

.cg-why-work-with-us-v2__cards {
  display: grid;
  grid-template-columns: repeat(var(--cg-wwu2-cols, 3), minmax(0, 1fr));
  column-gap: var(--cg-wwu2-gap, clamp(14px, 1.4vw, 24px));
  row-gap: var(--cg-wwu2-row-gap, var(--cg-wwu2-gap, clamp(14px, 1.4vw, 24px)));
  margin: var(--cg-wwu2-cards-top, clamp(30px, 3.2vw, 52px)) 0 0;
  padding: 0;
  list-style: none;
}

.cg-why-work-with-us-v2__cards > li { display: flex; }

.cg-why-work-with-us-v2__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--cg-wwu2-card-row-gap, 0px);
  width: 100%;
  min-height: var(--cg-wwu2-card-min-h, 0px);
  padding: var(--cg-wwu2-card-pad-t, 15px) var(--cg-wwu2-card-pad-r, 15px)
           var(--cg-wwu2-card-pad-b, 15px) var(--cg-wwu2-card-pad-l, 15px);
  border: var(--cg-wwu2-card-border-w, 1px) solid var(--cg-wwu2-card-border, var(--cg-wwu2-hair));
  border-radius: var(--cg-wwu2-card-radius, 16px);
  background: var(--cg-wwu2-card-bg, var(--cg-wwu2-white));
  box-shadow: var(--cg-wwu2-card-shadow, 0 10px 26px rgba(16, 27, 77, 0.05));
  transition: transform 280ms var(--cg-wwu2-ease), box-shadow 280ms var(--cg-wwu2-ease),
              border-color 280ms var(--cg-wwu2-ease), background-color 280ms var(--cg-wwu2-ease);
}

/* Only a card that actually carries an arrow reserves room for it,
   so a card without one keeps the design's compact padding. */
.cg-why-work-with-us-v2__card--has-arrow {
  padding-bottom: var(--cg-wwu2-card-pad-b, clamp(52px, 4vw, 66px));
}

/* A whole-card link is a real anchor, never a clickable div. */
.cg-why-work-with-us-v2__card--link { color: inherit; }

.cg-why-work-with-us-v2__card:hover,
.cg-why-work-with-us-v2__card:focus-within,
.cg-why-work-with-us-v2__card--link:focus-visible {
  border-color: var(--cg-wwu2-card-border-hover, rgba(245, 0, 103, 0.3));
  box-shadow: var(--cg-wwu2-card-shadow-hover, 0 20px 40px rgba(16, 27, 77, 0.09));
  background: var(--cg-wwu2-card-bg-hover, var(--cg-wwu2-card-bg, var(--cg-wwu2-white)));
  transform: translateY(var(--cg-wwu2-card-lift, -4px));
}

.cg-why-work-with-us-v2__card-icon-box {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
}

.cg-why-work-with-us-v2__card-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: var(--cg-wwu2-icon-box, clamp(40px, 3.2vw, 50px));
  height: var(--cg-wwu2-icon-box, clamp(40px, 3.2vw, 50px));
  border: var(--cg-wwu2-icon-border-w, 0px) solid var(--cg-wwu2-icon-border, transparent);
  border-radius: var(--cg-wwu2-icon-radius, 13px);
  background: var(--cg-wwu2-icon-bg, linear-gradient(150deg, rgba(245, 0, 103, 0.13) 0%, rgba(255, 138, 61, 0.08) 100%));
  color: var(--cg-wwu2-icon-color, var(--cg-wwu2-pink));
}

.cg-why-work-with-us-v2__card-icon svg {
  display: block;
  width: var(--cg-wwu2-icon-size, 52%);
  height: var(--cg-wwu2-icon-size, 52%);
}

/* The design's own icons are stroke drawings on a 24x24 grid. Elementor's
   icon library emits filled SVGs instead, so the two are painted
   differently — otherwise a library icon would come out invisible under
   fill:none. */
.cg-why-work-with-us-v2__card-icon--preset svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cg-why-work-with-us-v2__card-icon--library svg { fill: currentColor; }

/* Elementor's icon control can emit an icon-font glyph instead of an
   SVG; size it from the same control so both render alike. */
.cg-why-work-with-us-v2__card-icon i {
  font-size: var(--cg-wwu2-icon-glyph, 22px);
  line-height: 1;
  font-style: normal;
}

/* min-width:0 so a long unbroken word cannot push the card wider
   than its grid track. */
.cg-why-work-with-us-v2__card-heading { min-width: 0; }

.cg-why-work-with-us-v2__card-number {
  display: block;
  margin: 0 0 var(--cg-wwu2-num-gap, 2px);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cg-wwu2-num-color, var(--cg-wwu2-pink));
}

/* The reference leaves the card title on the browser's own 1em block
   margins — its stylesheet resets no headings — and that margin is what
   opens the space between the icon row and the copy. The theme's
   tokens.css DOES zero heading margins globally, so the value is
   restated here to keep the card identical to the design. */
.cg-why-work-with-us-v2__card-title {
  margin: var(--cg-wwu2-card-title-gap, 1em) 0;
  font-family: var(--font-display, "Space Grotesk", "Archivo", Helvetica, Arial, sans-serif);
  font-size: clamp(15.5px, 1.15vw, 19px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--cg-wwu2-card-title-color, var(--cg-wwu2-navy));
  overflow-wrap: anywhere;
}

.cg-why-work-with-us-v2__card-text {
  max-width: var(--cg-wwu2-card-text-max, none);
  margin: 0;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  color: var(--cg-wwu2-card-text-color, var(--cg-wwu2-navy-soft));
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

/* The arrow. An <a> when the card links out, a decorative <span>
   when the whole card is the link — the same box either way. */
.cg-why-work-with-us-v2__card-arrow {
  position: absolute;
  right: clamp(16px, 1.4vw, 24px);
  bottom: clamp(16px, 1.4vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--cg-wwu2-arrow-size, clamp(32px, 2.4vw, 38px));
  height: var(--cg-wwu2-arrow-size, clamp(32px, 2.4vw, 38px));
  border: 1px solid var(--cg-wwu2-arrow-border, var(--cg-wwu2-hair));
  border-radius: 999px;
  color: var(--cg-wwu2-arrow-color, var(--cg-wwu2-navy));
  background: var(--cg-wwu2-arrow-bg, var(--cg-wwu2-white));
  transition: background-color 260ms var(--cg-wwu2-ease), border-color 260ms var(--cg-wwu2-ease),
              color 260ms var(--cg-wwu2-ease);
}

.cg-why-work-with-us-v2__card-arrow svg {
  display: block;
  width: 45%;
  height: 45%;
  transition: transform 260ms var(--cg-wwu2-ease);
}

.cg-why-work-with-us-v2__card-arrow--preset svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cg-why-work-with-us-v2__card-arrow--library svg { fill: currentColor; }

.cg-why-work-with-us-v2__card-arrow i {
  font-size: var(--cg-wwu2-arrow-glyph, 14px);
  line-height: 1;
  font-style: normal;
}

.cg-why-work-with-us-v2__card-arrow:hover,
.cg-why-work-with-us-v2__card-arrow:focus-visible,
.cg-why-work-with-us-v2__card--link:hover .cg-why-work-with-us-v2__card-arrow,
.cg-why-work-with-us-v2__card--link:focus-visible .cg-why-work-with-us-v2__card-arrow {
  background: var(--cg-wwu2-arrow-bg-hover, var(--cg-wwu2-pink));
  border-color: var(--cg-wwu2-arrow-border-hover, var(--cg-wwu2-pink));
  color: var(--cg-wwu2-arrow-color-hover, var(--cg-wwu2-white));
}

.cg-why-work-with-us-v2__card-arrow:hover svg,
.cg-why-work-with-us-v2__card-arrow:focus-visible svg,
.cg-why-work-with-us-v2__card--link:hover .cg-why-work-with-us-v2__card-arrow svg,
.cg-why-work-with-us-v2__card--link:focus-visible .cg-why-work-with-us-v2__card-arrow svg {
  transform: translateX(2px);
}

/* The arrow's accessible name, off-screen but readable by screen
   readers and never affecting layout. */
.cg-why-work-with-us-v2__sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------
   5 · FOOTNOTE
   --------------------------------------------------------- */

.cg-why-work-with-us-v2__footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 20px);
  margin: var(--cg-wwu2-footnote-top, clamp(28px, 3vw, 46px)) 0 0;
  font-size: clamp(10px, 0.78vw, 12.5px);
  font-weight: 600;
  letter-spacing: var(--cg-wwu2-footnote-ls, 0.3em);
  text-transform: uppercase;
  color: var(--cg-wwu2-footnote-color, var(--cg-wwu2-navy-soft));
  opacity: 0.8;
}

.cg-why-work-with-us-v2__footnote-line {
  display: block;
  flex: 0 0 auto;
  width: var(--cg-wwu2-footnote-line-w, clamp(30px, 4vw, 66px));
  height: var(--cg-wwu2-footnote-line-h, 1px);
  background: var(--cg-wwu2-footnote-line-color, var(--cg-wwu2-navy-soft));
  opacity: 0.35;
}

.cg-why-work-with-us-v2__footnote-dash { opacity: 0.6; }

/* ---------------------------------------------------------
   6 · MOTION
   --------------------------------------------------------- */

.cg-why-work-with-us-v2__header,
.cg-why-work-with-us-v2__cards > li,
.cg-why-work-with-us-v2__footnote,
.cg-why-work-with-us-v2__side {
  animation: cg-wwu2-rise 800ms var(--cg-wwu2-ease) both;
}

.cg-why-work-with-us-v2__side--left { animation-delay: 80ms; }
.cg-why-work-with-us-v2__side--right { animation-delay: 140ms; }
.cg-why-work-with-us-v2__header { animation-delay: 60ms; }
.cg-why-work-with-us-v2__cards > li:nth-child(1) { animation-delay: 180ms; }
.cg-why-work-with-us-v2__cards > li:nth-child(2) { animation-delay: 230ms; }
.cg-why-work-with-us-v2__cards > li:nth-child(3) { animation-delay: 280ms; }
.cg-why-work-with-us-v2__cards > li:nth-child(4) { animation-delay: 330ms; }
.cg-why-work-with-us-v2__cards > li:nth-child(5) { animation-delay: 380ms; }
.cg-why-work-with-us-v2__cards > li:nth-child(6) { animation-delay: 430ms; }
.cg-why-work-with-us-v2__footnote { animation-delay: 500ms; }

@keyframes cg-wwu2-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}

/* the side photos are vertically centred, so they need their own
   keyframes or the reveal would drop their centring */
.cg-why-work-with-us-v2__side { animation-name: cg-wwu2-rise-side; }

@keyframes cg-wwu2-rise-side {
  from { opacity: 0; transform: translate(0, calc(-50% + 18px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

/* ============================================================
   7 · RESPONSIVE — the reference's own bands
   ============================================================ */

/* ---- iPad landscape / small desktop: keep both photos ---- */
@media (min-width: 1025px) and (max-width: 1320px) {
  .cg-why-work-with-us-v2 {
    --cg-wwu2-side: clamp(150px, 15vw, 200px);
    min-height: var(--cg-wwu2-min-h, 0px);
  }
  .cg-why-work-with-us-v2__inner {
    padding-right: calc(var(--cg-wwu2-side-w-r) + clamp(18px, 2.4vw, 34px));
    padding-left: calc(var(--cg-wwu2-side-w-l) + clamp(18px, 2.4vw, 34px));
  }
  .cg-why-work-with-us-v2--no-left .cg-why-work-with-us-v2__inner { padding-left: var(--cg-wwu2-gutter); }
  .cg-why-work-with-us-v2--no-right .cg-why-work-with-us-v2__inner { padding-right: var(--cg-wwu2-gutter); }

  .cg-why-work-with-us-v2__cards {
    grid-template-columns: repeat(var(--cg-wwu2-cols-tl, var(--cg-wwu2-cols, 3)), minmax(0, 1fr));
  }
  .cg-why-work-with-us-v2__title { font-size: clamp(28px, 3.4vw, 40px); }
  .cg-why-work-with-us-v2__text { font-size: 14.5px; }
  .cg-why-work-with-us-v2__card {
    padding: var(--cg-wwu2-card-pad-t, 16px) var(--cg-wwu2-card-pad-r, 16px)
             var(--cg-wwu2-card-pad-b, 16px) var(--cg-wwu2-card-pad-l, 16px);
  }
  .cg-why-work-with-us-v2__card--has-arrow { padding-bottom: var(--cg-wwu2-card-pad-b, 54px); }
  .cg-why-work-with-us-v2__card-title { font-size: 15.5px; }
  .cg-why-work-with-us-v2__card-text { font-size: 13px; }
}

/* ---- iPad portrait and below: photos join the flow ---- */
@media (max-width: 1024px) {
  .cg-why-work-with-us-v2 {
    display: block;
    min-height: var(--cg-wwu2-min-h, 0px);
    padding-top: var(--cg-wwu2-pad-t, clamp(48px, 6vw, 72px));
    padding-bottom: var(--cg-wwu2-pad-b, clamp(52px, 6vw, 80px));
  }

  /* out of the absolute layout — they now sit in the flow */
  .cg-why-work-with-us-v2__side {
    position: static;
    width: auto;
    transform: none;
    animation-name: cg-wwu2-rise;
    box-shadow: 0 18px 40px rgba(16, 27, 77, 0.12);
  }
  /* Stacked, both photographs are full boxes rather than half-round
     panels bleeding off an edge — the design's own change. A radius
     set by the administrator still wins, on both layouts. */
  .cg-why-work-with-us-v2__side--left {
    width: auto;
    border-radius: var(--cg-wwu2-side-radius-l, 16px);
  }
  .cg-why-work-with-us-v2__side--right {
    width: auto;
    border-radius: var(--cg-wwu2-side-radius-r, 16px);
  }
  .cg-why-work-with-us-v2__side--left .cg-why-work-with-us-v2__side-image {
    aspect-ratio: var(--cg-wwu2-side-ratio-l, 16 / 10);
  }
  .cg-why-work-with-us-v2__side--right .cg-why-work-with-us-v2__side-image {
    aspect-ratio: var(--cg-wwu2-side-ratio-r, 16 / 10);
  }

  .cg-why-work-with-us-v2__inner {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    max-width: var(--cg-wwu2-max-w-tp, 900px);
    padding-right: var(--cg-wwu2-gutter);
    padding-left: var(--cg-wwu2-gutter);
  }
  .cg-why-work-with-us-v2--no-left .cg-why-work-with-us-v2__inner,
  .cg-why-work-with-us-v2--no-right .cg-why-work-with-us-v2__inner {
    padding-right: var(--cg-wwu2-gutter);
    padding-left: var(--cg-wwu2-gutter);
  }

  /* order: header → left photo → cards → right photo → footnote */
  .cg-why-work-with-us-v2__header { order: 1; max-width: none; }
  .cg-why-work-with-us-v2__side--left { order: 2; }
  .cg-why-work-with-us-v2__cards { order: 3; margin: 0; }
  .cg-why-work-with-us-v2__side--right { order: 4; }
  .cg-why-work-with-us-v2__footnote { order: 5; margin: 0; }

  .cg-why-work-with-us-v2__cards {
    grid-template-columns: repeat(var(--cg-wwu2-cols-tp, 2), minmax(0, 1fr));
  }

  .cg-why-work-with-us-v2__shape {
    width: clamp(120px, 20vw, 200px);
    opacity: 0.7;
  }
  .cg-why-work-with-us-v2__shape--left { left: -8%; }
  .cg-why-work-with-us-v2__shape--right { right: -8%; }
  .cg-why-work-with-us-v2__glow { display: none; }
}

/* ---- mobile ---- */
@media (max-width: 640px) {
  .cg-why-work-with-us-v2 {
    padding-top: var(--cg-wwu2-pad-t, 48px);
    padding-bottom: var(--cg-wwu2-pad-b, 56px);
  }
  .cg-why-work-with-us-v2__inner { gap: 26px; }
  .cg-why-work-with-us-v2__eyebrow { gap: 10px; letter-spacing: 0.24em; }
  .cg-why-work-with-us-v2__eyebrow-line { width: var(--cg-wwu2-eyebrow-line-w, 22px); }
  .cg-why-work-with-us-v2__title { font-size: clamp(27px, 8vw, 36px); line-height: 1.1; }
  .cg-why-work-with-us-v2__text { font-size: 15px; line-height: 1.66; }

  .cg-why-work-with-us-v2__cards {
    grid-template-columns: repeat(var(--cg-wwu2-cols-mob, 1), minmax(0, 1fr));
    column-gap: var(--cg-wwu2-gap, 12px);
    row-gap: var(--cg-wwu2-row-gap, var(--cg-wwu2-gap, 12px));
  }
  .cg-why-work-with-us-v2__card {
    padding: var(--cg-wwu2-card-pad-t, 18px) var(--cg-wwu2-card-pad-r, 18px)
             var(--cg-wwu2-card-pad-b, 18px) var(--cg-wwu2-card-pad-l, 18px);
  }
  /* the arrow moves beside the copy so cards stay compact */
  .cg-why-work-with-us-v2__card--has-arrow {
    padding-right: var(--cg-wwu2-card-pad-r, 68px);
    padding-bottom: var(--cg-wwu2-card-pad-b, 18px);
  }
  .cg-why-work-with-us-v2__card-arrow {
    top: 18px;
    right: 18px;
    bottom: auto;
    width: var(--cg-wwu2-arrow-size, 36px);
    height: var(--cg-wwu2-arrow-size, 36px);
  }
  .cg-why-work-with-us-v2__card-title { font-size: 16px; }
  .cg-why-work-with-us-v2__card-text { font-size: 14px; }

  .cg-why-work-with-us-v2__footnote {
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: var(--cg-wwu2-footnote-ls, 0.22em);
  }
  .cg-why-work-with-us-v2__footnote-line { width: var(--cg-wwu2-footnote-line-w, 20px); }

  .cg-why-work-with-us-v2__shape { opacity: 0.6; }
  .cg-why-work-with-us-v2__shape--right { display: none; }
}

/* ---- narrow phones ---- */
@media (max-width: 380px) {
  .cg-why-work-with-us-v2__title { font-size: 26px; }
  .cg-why-work-with-us-v2__card {
    padding: var(--cg-wwu2-card-pad-t, 16px) var(--cg-wwu2-card-pad-r, 16px)
             var(--cg-wwu2-card-pad-b, 16px) var(--cg-wwu2-card-pad-l, 16px);
  }
  .cg-why-work-with-us-v2__card--has-arrow { padding-right: var(--cg-wwu2-card-pad-r, 62px); }
  .cg-why-work-with-us-v2__card-arrow {
    width: var(--cg-wwu2-arrow-size, 34px);
    height: var(--cg-wwu2-arrow-size, 34px);
    top: 16px;
    right: 16px;
  }
  .cg-why-work-with-us-v2__footnote-line { display: none; }
}

/* ---------------------------------------------------------
   8 · MOTION PREFERENCES
   The entrance reveal and the photo zoom are removed; the hover
   state itself stays, just without the travel, so nothing that
   communicates state is lost.
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cg-why-work-with-us-v2 *,
  .cg-why-work-with-us-v2 *::before,
  .cg-why-work-with-us-v2 *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .cg-why-work-with-us-v2__side { opacity: 1; }
  .cg-why-work-with-us-v2__side:hover .cg-why-work-with-us-v2__side-image { transform: none; }
  .cg-why-work-with-us-v2__card:hover,
  .cg-why-work-with-us-v2__card:focus-within { transform: none; }
}
