/* Culture G Influence, V4 redesign (22 October 2026) in the light direction of Jonathan Dumont's web charter (23 October 2026):
   cream and white chapters, three dark ones on night #111322 (Our Approach, Beyond Organic, contact), violet to pink light, rare yellow signals.
   Loaded only by the Influence site (body.cg-influence), after site.css; the Social Media child theme keeps site.css alone. */
.cg-influence {
  --cg-wrap: 1200px;
  --cg-gutter: 32px;
  --cg-ink: #151525;
  --cgi-text: #151525;
  --cgi-night: #111322;
  /* Text on the dark chapters. */
  --cgi-ink: #efeeea;
  --cgi-cream: #efeeea;
  --cgi-pink: #ce52e6;
  --cgi-violet: #902ee0;
  --cgi-indigo: #1f0e8b;
  --cgi-yellow: #ffd400;
  --cgi-muted: #aaa6b6;
  --cgi-soft: #d6d3dc;
  --cgi-line: rgb(239 238 234 / 10%);
  --cgi-line-d: #dad4df;
  --cgi-muted-d: #5b5869;
  --cgi-label-d: #7d24c6;
  --cgi-g: linear-gradient(100deg, #1f0e8b 0%, #902ee0 45%, #ce52e6 100%);
  --cgi-g2: linear-gradient(100deg, #902ee0 0%, #ce52e6 100%);
  --cgi-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 560px) {
  .cg-influence {
    --cg-gutter: 16px;
  }
}

/* Each V4 chapter sets its own surface, so pages and any homepage saved before V4 keep the paper body. */
.cgi-hero,
.cgi-trusted,
.cgi-dark,
.cgi-contact {
  color: var(--cgi-text);
  font-size: 16px;
  line-height: 1.55;
}

.cgi-dark,
.cgi-contact {
  color: var(--cgi-ink);
}

/* Violet focus on light surfaces, yellow on the dark ones. */
.cg-influence :focus-visible {
  outline-color: var(--cgi-violet);
}

.cg-influence :is(.cgi-dark, .cgi-contact, .cgi-visual, .cgi-yt, .cg-footer) :focus-visible {
  outline-color: var(--cgi-yellow);
}

.cg-influence .cg-main a:not([class]) {
  color: inherit;
}

/* Buttons: an indigo pill that turns violet, and an indigo outline. */
.cg-influence .wp-block-button__link,
.cg-influence .cg-btn,
.cg-influence .contact-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border: 1.5px solid var(--cgi-indigo);
  border-radius: 999px;
  background: var(--cgi-indigo);
  color: #fff;
  font: 700 15px/1.1 var(--cg-body);
  white-space: nowrap;
  box-shadow: 0 6px 0 rgb(31 14 139 / 11%);
  transition:
    transform 0.1s ease-out,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.3s ease;
}

.cg-influence .is-style-outline .wp-block-button__link {
  border-color: var(--cgi-indigo);
  background: transparent;
  color: var(--cgi-indigo);
  box-shadow: none;
}

.cg-influence .wp-block-button__link:active,
.cg-influence .cg-btn:active,
.cg-influence .contact-form .button:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .cg-influence .wp-block-button__link:hover,
  .cg-influence .cg-btn:hover,
  .cg-influence .contact-form .button:hover {
    border-color: var(--cgi-violet);
    background: var(--cgi-violet);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgb(144 46 224 / 28%);
  }

  .cg-influence .is-style-outline .wp-block-button__link:hover {
    border-color: var(--cgi-indigo);
    background: var(--cgi-indigo);
    color: #fff;
  }
}

/* Header: cream glass, dark wordmark, ink links that turn violet. */
.cg-influence .cg-header {
  border-bottom: 1px solid #d9d0de;
  background: rgb(239 238 234 / 94%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: none;
}

.cg-influence .cg-header-inner {
  min-height: 72px;
  padding-block: 0;
}

.cg-influence .cg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cgi-text);
  line-height: 20px;
  text-decoration: none;
}

.cg-influence .cg-logo,
.cg-influence .cg-header .cg-logo {
  width: auto;
  height: 20px;
  filter: none;
}

.cg-brand-label {
  padding-left: 12px;
  border-left: 1px solid rgb(21 21 37 / 22%);
  color: var(--cgi-violet);
  font: 600 15px/20px var(--cg-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cg-influence .cg-menu {
  gap: 28px;
}

.cg-influence .cg-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--cgi-text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cg-influence .cg-menu a:hover {
  background: none;
  color: var(--cgi-violet);
}

.cg-influence .cg-menu-action {
  margin-left: 28px;
}

.cg-influence .cg-menu-action .cg-btn {
  padding: 0 22px;
}

/* Header controls take the header's own surface and ink, without a box of their own. */
.cg-influence .cg-menu-toggle {
  min-height: 44px;
  padding-inline: 4px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--cgi-text);
  font-weight: 700;
}

.cg-influence .cg-languages {
  --nv-lang-color: var(--cgi-text);
  --nv-lang-accent: var(--cgi-violet);
}

/*
 * Below 1100 px, like the shared navigation script: five links, the button and the language selector no longer fit on one
 * line in French (29 October 2026). Social Media keeps the 820 px breakpoint of site.css.
 */
@media (max-width: 1100px) {
  .cg-influence .cg-menu-toggle {
    display: block;
  }

  .cg-influence .cg-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px var(--cg-gutter) 24px;
    border-bottom: 1px solid #d9d0de;
    background: rgb(239 238 234 / 98%);
  }

  .cg-influence .cg-nav.is-open {
    display: flex;
  }

  /* The language list opens under its toggle, as on desktop, rather than across the menu. */
  .cg-influence .cg-nav .cg-languages {
    align-self: flex-start;
  }

  .cg-influence .cg-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .cg-influence .cg-menu a {
    padding: 0 4px;
  }

  .cg-influence .cg-menu-action {
    margin: 8px 0 0;
  }
}

@media (max-width: 420px) {
  .cg-influence .cg-header-inner {
    gap: 12px;
  }

  .cg-influence .cg-logo,
  .cg-influence .cg-header .cg-logo {
    height: 16px;
  }

  .cg-brand-label {
    font-size: 13px;
  }
}

/* Footer: night, continuing the dark contact chapter. */
.cg-influence .cg-footer {
  border-top: 1px solid var(--cgi-line);
  background: var(--cgi-night);
  color: var(--cgi-muted);
}

.cg-influence .cg-footer .cg-logo {
  width: auto;
}

.cg-influence .cg-footer .cg-brand-label {
  border-left-color: rgb(239 238 234 / 25%);
  color: var(--cgi-pink);
}

.cg-influence .cg-footer-legal {
  border-top-color: var(--cgi-line);
}

/* Shared chapter rules */
.cgi-sec {
  position: relative;
  padding-block: 104px;
}

.cgi-light {
  background: var(--cgi-cream);
  color: var(--cgi-text);
}

.cgi-light .cgi-title {
  color: var(--cgi-indigo);
}

/* Our Approach: night to indigo, a magenta glow top right. */
.cgi-dark {
  background:
    radial-gradient(ellipse at 100% 0%, rgb(206 82 230 / 30%), transparent 44%),
    linear-gradient(115deg, var(--cgi-night) 0%, var(--cgi-indigo) 100%);
}

.cg-influence .cgi-title {
  max-width: 1000px;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.cg-influence .cgi-hero h1 em,
.cg-influence .cgi-title em {
  color: var(--cgi-violet);
  font-style: normal;
}

.cg-influence .cgi-dark .cgi-title em {
  color: inherit;
}

.cgi-intro {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

.cgi-light .cgi-intro {
  color: var(--cgi-muted-d);
}

.cgi-dark .cgi-intro {
  color: #e4d7f1;
}

.cgi-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@supports (animation-timeline: view()) {
  .cgi-sec .cgi-title,
  .cgi-intro,
  .cgi-card,
  .cgi-step,
  .cgi-original,
  .cgi-adapted,
  .cgi-levers,
  .cgi-reach-copy,
  .cgi-zones,
  .cgi-map,
  .cgi-facts,
  .cg-influence .group-intro,
  .cg-influence .agency-list,
  .cgi-contact-copy,
  .cgi-contact .contact-form {
    animation: cgi-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

@keyframes cgi-fade-up {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cgi-rise {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Line illustrations, drawn on hover. */
.cgi-ill {
  display: block;
  overflow: visible;
}

.cgi-ill path {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cgi-ill .s {
  stroke: rgb(255 255 255 / 28%);
  stroke-width: 1.6;
}

.cgi-ill .k {
  stroke: rgb(255 212 0 / 50%);
  stroke-width: 1.8;
}

.cgi-ill .p {
  stroke: rgb(206 82 230 / 60%);
  stroke-width: 1.8;
}

@media (hover: hover) {
  :is(.cgi-card, .cgi-step):hover .cgi-ill path {
    animation: cgi-draw 1.15s var(--cgi-ease) both;
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill .s {
    stroke: rgb(255 255 255 / 95%);
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill .k {
    stroke: var(--cgi-yellow);
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill .p {
    stroke: #e98af7;
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill path:nth-child(2) {
    animation-delay: 0.12s;
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill path:nth-child(3) {
    animation-delay: 0.24s;
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill path:nth-child(4) {
    animation-delay: 0.36s;
  }

  :is(.cgi-card, .cgi-step):hover .cgi-ill path:nth-child(5) {
    animation-delay: 0.48s;
  }
}

@keyframes cgi-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Hero: warm light paper, drifting soft glows, a faint grid and a light that follows the pointer (assets/influence.js sets --lx and --ly). */
.cgi-hero {
  --lx: 66%;
  --ly: 42%;
  position: relative;
  padding-block: 96px 104px;
  overflow: hidden;
  background: #f8f6f4;
  isolation: isolate;
}

.cgi-hero::before {
  position: absolute;
  inset: -25% -10% auto;
  z-index: -3;
  height: 150%;
  background:
    radial-gradient(ellipse 45% 60% at 97% 22%, rgb(206 82 230 / 20%), transparent 75%),
    radial-gradient(ellipse 40% 45% at -6% 80%, rgb(144 46 224 / 10%), transparent 70%),
    radial-gradient(300px circle at 78% 46%, rgb(144 46 224 / 9%), transparent 70%);
  pointer-events: none;
  animation: cgi-drift 26s ease-in-out infinite alternate;
  content: "";
}

.cgi-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--lx) var(--ly), rgb(206 82 230 / 11%), rgb(144 46 224 / 4%) 45%, transparent 72%);
  pointer-events: none;
  content: "";
}

.cgi-hero-grid::before,
.cgi-hero-grid::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--cgi-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--cgi-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  content: "";
}

.cgi-hero-grid::before {
  --cgi-grid: rgb(31 14 139 / 4%);
  z-index: -2;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.cgi-hero-grid::after {
  --cgi-grid: rgb(144 46 224 / 14%);
  z-index: -1;
  mask-image: radial-gradient(260px circle at var(--lx) var(--ly), #000, transparent 75%);
}

@keyframes cgi-drift {
  to {
    transform: translate3d(-60px, 40px, 0) scale(1.06);
  }
}

.cgi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.cg-influence .cgi-hero h1 {
  color: var(--cgi-text);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.04;
  text-wrap: pretty;
  animation: cgi-rise 0.9s var(--cgi-ease) both;
}

.cg-influence .cgi-hero h1 br {
  display: none;
}

.cg-influence .cgi-hero h1 em::before {
  content: " ";
}

.cg-influence .cgi-hero h1 em {
  animation: cgi-rise 0.9s 0.08s var(--cgi-ease) both;
}

.cgi-sub {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: var(--cgi-indigo);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  animation: cgi-rise 0.9s 0.22s var(--cgi-ease) both;
}

.cgi-sub::before {
  flex: none;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--cgi-g2);
  content: "";
}

.cgi-hero .cg-actions {
  gap: 14px;
  margin-top: 34px;
  animation: cgi-rise 0.9s 0.34s var(--cgi-ease) both;
}

.cgi-hero .wp-block-button__link {
  min-height: 58px;
  padding: 0 30px;
  font-size: 17px;
}

.cgi-hero .is-style-outline .wp-block-button__link {
  padding: 0 26px;
}

.cgi-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #5530b8;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 8%, rgb(206 82 230 / 48%), transparent 48%),
    linear-gradient(137deg, var(--cgi-indigo) 0%, var(--cgi-night) 75%);
  box-shadow:
    18px 18px 0 rgb(206 82 230 / 17%),
    inset 0 1px 0 rgb(255 255 255 / 14%);
  color: var(--cgi-ink);
  animation: cgi-rise 1s 0.2s var(--cgi-ease) both;
}

.cgi-vk {
  position: relative;
  z-index: 2;
  color: #d9b8f2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.cgi-visual-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.cgi-vrows {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.cgi-vrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 4px;
  overflow: hidden;
  border-top: 1px solid rgb(239 238 234 / 16%);
  color: #cfc9de;
  font-size: 13px;
  font-weight: 600;
}

.cgi-vrow strong {
  color: var(--cgi-yellow);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cgi-vrow::after {
  position: absolute;
  top: -1px;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cgi-pink), transparent);
  transform: translateX(-110%);
  animation: cgi-scan 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  content: "";
}

.cgi-vrow:nth-child(2)::after {
  animation-delay: 1.5s;
}

.cgi-vrow:nth-child(3)::after {
  animation-delay: 3s;
}

.cgi-vrow:nth-child(4)::after {
  animation-delay: 4.5s;
}

@keyframes cgi-scan {
  0% {
    transform: translateX(-110%);
  }

  30%,
  100% {
    transform: translateX(260%);
  }
}

.cgi-orbit {
  position: absolute;
  top: -40px;
  right: -90px;
  width: 400px;
  height: 400px;
  opacity: 0.95;
  pointer-events: none;
}

.cgi-orbit i {
  position: absolute;
  display: block;
}

.cgi-ring {
  border: 1px dashed rgb(230 180 255 / 22%);
  border-radius: 50%;
}

.cgi-r1 {
  inset: 110px;
}

.cgi-r2 {
  inset: 60px;
}

.cgi-r3 {
  inset: 10px;
}

.cgi-spin {
  position: absolute;
  inset: 0;
  animation: cgi-spin 28s linear infinite;
}

.cgi-s2 {
  animation-duration: 40s;
  animation-direction: reverse;
}

.cgi-s3 {
  animation-duration: 56s;
}

.cgi-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cgi-pink);
  box-shadow: 0 0 18px 4px rgb(206 82 230 / 65%);
}

.cgi-node--y {
  width: 10px;
  height: 10px;
  background: var(--cgi-yellow);
  box-shadow: 0 0 18px 4px rgb(255 212 0 / 55%);
}

.cgi-node--w {
  width: 8px;
  height: 8px;
  background: var(--cgi-ink);
  box-shadow: 0 0 14px 3px rgb(239 238 234 / 50%);
}

.cgi-n1 {
  top: 3px;
  left: 193px;
}

.cgi-n2 {
  bottom: 6px;
  left: 196px;
}

.cgi-n3 {
  top: 195px;
  left: 55px;
}

.cgi-n4 {
  top: 180px;
  right: 52px;
  width: 10px;
  height: 10px;
}

.cgi-n5 {
  top: 120px;
  left: 108px;
}

.cgi-n6 {
  right: 108px;
  bottom: 116px;
}

.cgi-core {
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: var(--cgi-g);
  box-shadow:
    0 0 0 10px rgb(206 82 230 / 12%),
    0 0 60px 10px rgb(206 82 230 / 45%);
  animation: cgi-breathe 4s ease-in-out infinite;
}

@keyframes cgi-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cgi-breathe {
  50% {
    box-shadow:
      0 0 0 18px rgb(206 82 230 / 8%),
      0 0 80px 16px rgb(206 82 230 / 55%);
  }
}

/* Trusted by: client logos rendered as dark silhouettes on white, then the agency figures. */
.cgi-trusted {
  padding-block: 64px;
  border-block: 1px solid #e8dcec;
  background: #fff;
}

.cg-influence .cgi-trusted h2 {
  color: var(--cgi-indigo);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* The band scrolls within the content width, like the heading and figures around it. */
.cgi-marquee {
  width: min(100% - 2 * var(--cg-gutter), var(--cg-wrap) - 2 * var(--cg-gutter));
  margin: 32px auto 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.cgi-logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  padding: 14px 40px;
  animation: cgi-marquee 44s linear infinite;
}

.cgi-marquee:hover .cgi-logo-track {
  animation-play-state: paused;
}

.cg-influence .cgi-logo {
  margin: 0;
}

.cg-influence .cgi-logo img {
  display: block;
  width: auto;
  height: 30px;
  filter: brightness(0);
  opacity: 0.68;
  transition: opacity 0.3s ease;
}

.cg-influence .cgi-logo.is-tall img {
  height: 52px;
}

.cgi-marquee:hover .cgi-logo img {
  opacity: 1;
}

@keyframes cgi-marquee {
  to {
    transform: translateX(-50%);
  }
}

.cgi-stats {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e8dcec;
  border-radius: 22px;
  background: #e8dcec;
}

.cgi-stat {
  position: relative;
  padding: 30px 28px;
  overflow: hidden;
  background: #fff;
}

/* Magenta, violet, then indigo: the three brand colours in turn. */
.cgi-stat::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cgi-pink);
  transform-origin: left;
  animation: cgi-grow 1.4s var(--cgi-ease) both;
  content: "";
}

.cgi-stat:nth-child(2)::before {
  background: var(--cgi-violet);
  animation-delay: 0.15s;
}

.cgi-stat:nth-child(3)::before {
  background: var(--cgi-indigo);
  animation-delay: 0.3s;
}

@keyframes cgi-grow {
  from {
    transform: scaleX(0);
  }
}

.cgi-stat-value {
  color: var(--cgi-indigo);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.cgi-stat-label {
  margin-top: 12px;
  color: var(--cgi-muted-d);
  font-size: 15px;
}

/* Our Expertise: nine case cards in one grid. */
.cgi-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.cgi-expertise-cards {
  display: contents;
}

.cgi-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7cbdf;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 0 rgb(31 14 139 / 4.5%);
  color: var(--cgi-text);
  text-decoration: none;
  transition:
    transform 0.45s var(--cgi-ease),
    box-shadow 0.45s ease;
}

.cgi-card-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 210px;
  padding: 18px;
  overflow: hidden;
  background: var(--cgi-night);
  color: #fff;
  isolation: isolate;
}

.cgi-card-visual::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(206 82 230 / 55%), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgb(31 14 139 / 90%), transparent 60%),
    var(--cgi-night);
  transition: transform 0.8s var(--cgi-ease);
  content: "";
}

.cgi-tone-2::before {
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(144 46 224 / 70%), transparent 55%),
    radial-gradient(90% 90% at 100% 100%, rgb(206 82 230 / 50%), transparent 60%),
    var(--cgi-night);
}

.cgi-tone-3::before {
  background:
    radial-gradient(120% 90% at 100% 100%, rgb(31 14 139 / 100%), transparent 60%),
    radial-gradient(80% 80% at 10% 10%, rgb(206 82 230 / 42%), transparent 60%),
    var(--cgi-night);
}

/* Key art fills the frame; a violet veil keeps the expertise and its promise legible. */
.cgi-card-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cgi-ease);
}

.cgi-card-visual.has-art::before {
  z-index: -1;
  background: linear-gradient(180deg, rgb(17 19 34 / 10%) 30%, rgb(17 19 34 / 85%)), linear-gradient(100deg, rgb(31 14 139 / 45%), transparent 60%);
}

.cgi-card-crop {
  position: absolute;
  top: 46px;
  right: 18px;
  z-index: -1;
  width: 44%;
  height: 58%;
  border: 1px solid rgb(239 238 234 / 18%);
  border-radius: 4px;
  transition:
    transform 0.6s var(--cgi-ease),
    border-color 0.4s ease;
}

.cgi-card-visual .cgi-ill {
  position: absolute;
  top: 50px;
  right: 22px;
  z-index: -1;
  width: 40%;
  height: 52%;
}

.cgi-card-keyword {
  align-self: flex-start;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--cgi-yellow);
  color: var(--cgi-text);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cg-influence .cgi-card-title {
  max-width: 78%;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-shadow: 0 2px 14px rgb(0 0 0 / 50%);
}

.cgi-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 20px;
}

.cgi-card-client {
  font-size: 14px;
  font-weight: 800;
}

.cgi-card-client span {
  color: var(--cgi-muted-d);
}

.cgi-card-label {
  color: var(--cgi-label-d);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cgi-card-block p:not(.cgi-card-label) {
  margin-top: 4px;
  color: var(--cgi-muted-d);
  font-size: 13.5px;
  line-height: 1.45;
}

.cgi-card-block strong {
  color: var(--cgi-text);
  font-weight: 800;
}

.cgi-card-result {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--cgi-line-d);
}

.cgi-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cgi-label-d);
  font-size: 12px;
  font-weight: 800;
}

.cgi-card-more .cg-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--cgi-ease);
}

@media (hover: hover) {
  .cgi-card:hover {
    box-shadow: 0 26px 60px rgb(31 14 139 / 18%);
    transform: translateY(-6px);
  }

  .cgi-card:hover .cgi-card-visual::before,
  .cgi-card:hover .cgi-card-art {
    transform: scale(1.08);
  }

  .cgi-card:hover .cgi-card-crop {
    border-color: rgb(255 212 0 / 60%);
    transform: translate(-6px, -6px);
  }

  .cgi-card:hover .cgi-card-more .cg-arrow {
    transform: translateX(3px);
  }
}

/* Brand or publisher logo in a white cartouche, as on wupevent.com: contained, never cropped; only the art scales on hover. */
.cg-brand-logo {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(17 19 34 / 18%);
}

.cg-brand-logo img {
  display: block;
  width: auto;
  max-width: 140px;
  height: auto;
  max-height: 26px;
}

/* Logos keep their own colours; Embark's file is white, so it is drawn black to read on the cartouche. */
.cg-brand-logo img[src*="embark-studios"] {
  filter: brightness(0);
}

/* Case pages and other case cards: bottom left of the key art. */
.cg-influence .cg-visual .cg-brand-logo {
  bottom: 12px;
  left: 12px;
}

/* Homepage cards: top right, opposite the expertise tag, which wraps rather than run under it. */
.cgi-card-visual .cg-brand-logo {
  top: 14px;
  right: 14px;
  height: 34px;
  padding: 0 10px;
}

.cgi-card-visual .cg-brand-logo img {
  max-width: 84px;
  max-height: 18px;
}

.cgi-card-visual:has(.cg-brand-logo) .cgi-card-keyword {
  max-width: calc(100% - 112px);
}

/* Case pages: the homepage card's expertise visual, which key art covers on the homepage. */
.cg-influence .cgi-case-expertise {
  justify-content: center;
  gap: 12px;
  height: auto;
  min-height: 200px;
  margin-bottom: 32px;
  padding: 32px 40% 32px 32px;
  border-radius: 22px;
}

/* In the hero, until the case has key art: the key art's frame, illustration above the expertise. */
.cg-influence .cg-case-hero .cgi-case-expertise {
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 28px;
}

.cg-influence .cg-case-hero .cgi-case-expertise .cgi-ill {
  top: 12%;
  right: 12%;
  width: 40%;
  height: 46%;
}

.cg-case-hero .cgi-case-expertise .cgi-card-crop {
  top: 8%;
  right: 8%;
  width: 48%;
  height: 54%;
}

.cg-influence .cgi-case-expertise .cgi-card-title {
  max-width: none;
  font-size: clamp(22px, 2.4vw, 30px);
}

.cgi-case-expertise .cgi-card-crop {
  top: 14%;
  right: 5%;
  width: 28%;
  height: 72%;
}

.cg-influence .cgi-case-expertise .cgi-ill {
  top: 16%;
  right: 7%;
  width: 24%;
  height: 68%;
}

/* The card's hover state at rest, drawn in by assets/reveal.js as it enters the view; it stays drawn without the script. */
.cgi-case-expertise .cgi-ill .s {
  stroke: rgb(255 255 255 / 95%);
}

.cgi-case-expertise .cgi-ill .k {
  stroke: var(--cgi-yellow);
}

.cgi-case-expertise .cgi-ill .p {
  stroke: #e98af7;
}

.cg-reveal-ready .cgi-case-expertise .cgi-ill path {
  stroke-dashoffset: 1;
}

.cg-reveal-ready .cgi-case-expertise.is-visible .cgi-ill path {
  animation: cgi-draw 1.4s var(--cgi-ease) 0.2s both;
}

.cgi-case-expertise.is-visible .cgi-ill path:nth-child(2) {
  animation-delay: 0.4s;
}

.cgi-case-expertise.is-visible .cgi-ill path:nth-child(3) {
  animation-delay: 0.6s;
}

.cgi-case-expertise.is-visible .cgi-ill path:nth-child(4) {
  animation-delay: 0.8s;
}

.cgi-case-expertise.is-visible .cgi-ill path:nth-child(5) {
  animation-delay: 1s;
}

.cgi-case-expertise.is-visible .cgi-card-crop {
  animation: cgi-frame 1.2s var(--cgi-ease) 0.2s both;
}

@keyframes cgi-frame {
  from {
    opacity: 0;
    transform: translate(10px, 10px);
  }
}

/* Our Approach */
.cgi-approach {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.cgi-track {
  position: absolute;
  top: -22px;
  right: 24px;
  left: 24px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(239 238 234 / 12%);
}

.cgi-track i {
  position: absolute;
  top: 0;
  left: 0;
  width: 22%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cgi-pink), var(--cgi-yellow));
  animation: cgi-travel 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes cgi-travel {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(460%);
  }
}

.cgi-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  border: 1px solid rgb(211 176 248 / 33%);
  border-top: 4px solid var(--cgi-pink);
  border-radius: 22px;
  background: rgb(255 255 255 / 7.5%);
  transition:
    transform 0.45s var(--cgi-ease),
    border-color 0.3s ease,
    background 0.3s ease;
}

/* Each step keeps its own accent along the top edge. */
.cgi-step:nth-child(2 of .cgi-step) {
  border-top-color: var(--cgi-yellow);
}

.cgi-step:nth-child(3 of .cgi-step) {
  border-top-color: #a76af0;
}

@media (hover: hover) {
  .cgi-step:hover {
    border-color: rgb(206 82 230 / 55%);
    background: rgb(144 46 224 / 18%);
    transform: translateY(-6px);
  }
}

.cgi-num {
  color: var(--cgi-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.cgi-step .cgi-ill {
  width: 100%;
  height: 92px;
  margin: 18px 0 4px;
}

.cg-influence .cgi-step h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cgi-step p:not(.cgi-num) {
  color: #e0d7ed;
  font-size: 15px;
  line-height: 1.6;
}

/* Creator content (V8, 26 October 2026): the original creator video, then three platform adaptations. */
.cgi-light:has(.cgi-demo) {
  background: #fcfafd;
}

.cgi-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 36px;
}

.cgi-demo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cgi-indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cgi-demo-label::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cgi-yellow);
  box-shadow: 0 0 0 3px rgb(255 212 0 / 25%);
  content: "";
}

.cgi-demo-label--pink::before {
  background: var(--cgi-pink);
  box-shadow: 0 0 0 3px rgb(206 82 230 / 22%);
}

.cgi-yt {
  overflow: hidden;
  border-radius: 16px;
  background: var(--cgi-night);
  box-shadow: 10px 10px 0 rgb(206 82 230 / 17%);
}

.cg-influence .cgi-yt-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cg-influence .cgi-yt-frame img,
.cg-influence .cgi-mock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cgi-yt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #e9e4f0;
  font-size: 14px;
}

.cgi-yt-bar::before {
  flex: none;
  width: 22px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 15'%3E%3Crect width='22' height='15' rx='4' fill='%23ff0033'/%3E%3Cpath d='M9 4.5v6l5-3z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}

.cg-influence .cgi-yt-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.cg-influence .cgi-yt-bar a:hover {
  text-decoration: underline;
}

.cgi-yt-bar span {
  margin-left: auto;
  color: #cfc9de;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
}

.cgi-demo-foot,
.cgi-adapt-note {
  margin-top: 14px;
  color: var(--cgi-muted-d);
  font-size: 15px;
}

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

.cgi-format {
  min-width: 0;
}

.cg-influence .cgi-format h3 {
  margin: 12px 0 2px;
  color: var(--cgi-indigo);
  font-size: 16px;
  font-weight: 800;
}

.cgi-format > p {
  color: var(--cgi-muted-d);
  font-size: 13px;
}

/* Platform mockups: a phone-like frame around authentic campaign screenshots. */
.cgi-mock {
  position: relative;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  border: 1px solid var(--cgi-line-d);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 0 rgb(31 14 139 / 4.5%);
  transition:
    transform 0.45s var(--cgi-ease),
    box-shadow 0.45s ease;
}

@media (hover: hover) {
  .cgi-format:hover .cgi-mock {
    box-shadow: 0 13px 26px rgb(31 14 139 / 13%);
    transform: translateY(-4px);
  }
}

.cg-influence .cgi-mock figure {
  margin: 0;
}

.cg-influence .cgi-mock--tiktok figure {
  position: absolute;
  inset: 0;
}

.cgi-mock--tiktok::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgb(17 19 34 / 80%));
  content: "";
}

.cgi-mock-platform,
.cgi-mock-caption {
  position: absolute;
  z-index: 1;
  left: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgb(0 0 0 / 60%);
}

.cgi-mock-platform {
  top: 10px;
}

.cgi-mock-caption {
  right: 10px;
  bottom: 12px;
  line-height: 1.3;
}

.cgi-mock-caption small {
  font-weight: 500;
}

.cgi-mock--meta {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.cgi-mock-sponsor {
  padding: 8px 10px;
  color: var(--cgi-text);
  font-size: 11px;
  font-weight: 700;
}

.cgi-mock-sponsor small,
.cgi-mock-head small {
  color: var(--cgi-muted-d);
  font-weight: 500;
}

.cg-influence .cgi-mock--meta figure {
  min-height: 0;
}

.cgi-mock-cta {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--cgi-indigo);
  color: #fff;
  font-size: 12px;
}

.cgi-mock-cta span {
  padding: 8px;
  border-radius: 6px;
  background: var(--cgi-yellow);
  color: var(--cgi-text);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.cgi-mock--x {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.cgi-mock-head {
  padding-left: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23151525' d='M17.8 3h3.1l-6.8 7.8 8 10.2h-6.3l-4.9-6.4-5.6 6.4H2.2l7.3-8.3L1.8 3h6.4l4.4 5.9L17.8 3Zm-1.1 16.2h1.7L7.4 4.7H5.6l11.1 14.5Z'/%3E%3C/svg%3E") left 2px / 15px no-repeat;
  color: var(--cgi-text);
  font-size: 12px;
  line-height: 1.25;
}

.cgi-mock-head small {
  display: block;
}

.cgi-mock-copy {
  color: var(--cgi-text);
  font-size: 12px;
  line-height: 1.4;
}

.cg-influence .cgi-mock-media {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.cgi-mock-media .cgi-play {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
}

.cgi-demo-disclaimer {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px dashed var(--cgi-line-d);
  color: var(--cgi-muted-d);
  font-size: 12px;
}

.cgi-play {
  position: absolute;
  top: 44%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  background: rgb(0 0 0 / 45%);
  backdrop-filter: blur(6px);
}

.cgi-play path {
  fill: #fff;
}

.cgi-play::after {
  position: absolute;
  inset: -1px;
  border: 1px solid rgb(206 82 230 / 90%);
  border-radius: 50%;
  animation: cgi-ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
  content: "";
}

@keyframes cgi-ping {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

/* Beyond Organic (V8): one creator campaign at the centre of its three levers, on deep violet. */
.cgi-beyond {
  background:
    radial-gradient(ellipse at 85% 70%, rgb(206 82 230 / 30%), transparent 54%),
    linear-gradient(130deg, #35137d, var(--cgi-indigo) 68%, var(--cgi-night));
}

.cg-influence .cgi-beyond .cgi-title em {
  color: #e35af1;
}

.cgi-levers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: 40px;
}

.cgi-levers-graphic {
  --cgi-ring: 380px;
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(var(--cgi-ring) + 40px);
}

.cgi-levers-graphic::before,
.cgi-levers-graphic::after {
  position: absolute;
  width: var(--cgi-ring);
  height: var(--cgi-ring);
  border: 1px solid rgb(177 93 226 / 54%);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.cgi-levers-graphic::after {
  width: calc(var(--cgi-ring) * 0.79);
  height: calc(var(--cgi-ring) * 0.79);
  border-style: dashed;
  opacity: 0.6;
  animation: cgi-spin 60s linear infinite;
}

.cgi-amp-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  border: 5px solid #f2c6ff;
  border-radius: 50%;
  /* Deep magenta to violet, dark enough for yellow small caps (at least 4.5:1) and the white title. */
  background: radial-gradient(circle at 25% 15%, #9e1fa8, var(--cgi-label-d) 70%);
  box-shadow:
    0 0 0 12px rgb(206 82 230 / 18%),
    0 30px 120px rgb(206 82 230 / 45%);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.cgi-amp-core span,
.cgi-amp-core small {
  color: var(--cgi-yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cgi-amp-core strong {
  margin: 10px 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.cgi-amp-core::before,
.cgi-amp-core::after {
  position: absolute;
  inset: -14px;
  border: 1px solid rgb(230 170 255 / 45%);
  border-radius: 50%;
  animation: cgi-wave 4s cubic-bezier(0, 0, 0.2, 1) infinite;
  content: "";
}

.cgi-amp-core::after {
  animation-delay: 2s;
}

@keyframes cgi-wave {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.cgi-lever-tag {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border: 1px solid #a969d8;
  border-radius: 999px;
  background: #221154;
  color: var(--cgi-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cgi-lever-tag--top {
  top: calc(50% - var(--cgi-ring) / 2 - 18px);
  left: 50%;
  transform: translateX(-50%);
}

.cgi-lever-tag--right {
  top: 56%;
  left: calc(50% + var(--cgi-ring) * 0.42);
}

.cgi-lever-tag--left {
  top: 56%;
  right: calc(50% + var(--cgi-ring) * 0.42);
}

.cgi-levers-steps {
  display: grid;
  gap: 14px;
}

.cgi-lever {
  padding: 20px 24px;
  border: 1px solid rgb(213 166 237 / 40%);
  border-left: 4px solid var(--cgi-yellow);
  border-radius: 14px;
  background: rgb(255 255 255 / 7%);
  transition:
    transform 0.45s var(--cgi-ease),
    background 0.3s ease;
}

.cgi-lever:nth-child(2) {
  border-left-color: var(--cgi-pink);
}

.cgi-lever:nth-child(3) {
  border-left-color: #aa8dff;
}

@media (hover: hover) {
  .cgi-lever:hover {
    background: rgb(255 255 255 / 11%);
    transform: translateX(4px);
  }
}

.cgi-lever-num {
  color: var(--cgi-yellow);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.cg-influence .cgi-lever h3 {
  margin: 6px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.cgi-lever p:not(.cgi-lever-num) {
  color: #e1d4f0;
  font-size: 14px;
  line-height: 1.5;
}

/* One agency, multiple markets (V8): four regions and an illustrative map, then how campaigns run across them. */
.cgi-light:has(.cgi-reach) {
  background: #f7f4f7;
}

.cgi-reach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px 56px;
}

/* The facts sit beside the title on wide screens but come last in reading order, as on phones. */
.cgi-reach > .cgi-facts {
  grid-row: 1;
  grid-column: 2;
}

.cgi-reach > .cgi-zones,
.cgi-reach > .cgi-map {
  grid-column: 1 / -1;
}

.cgi-zones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cgi-market {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid #dccde7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 0 rgb(31 14 139 / 4.5%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.4s var(--cgi-ease),
    box-shadow 0.4s ease;
}

@media (hover: hover) {
  .cgi-market:hover {
    box-shadow: 0 18px 40px rgb(31 14 139 / 16%);
    transform: translateY(-4px);
  }
}

.cgi-market-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cgi-indigo);
}

.cgi-market:nth-child(2) .cgi-market-icon {
  background: var(--cgi-violet);
}

.cgi-market:nth-child(3) .cgi-market-icon {
  background: var(--cgi-pink);
}

.cgi-market:nth-child(4) .cgi-market-icon {
  background: #3b1a8f;
}

.cgi-market-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

/* Coded map after Warning Up's (docs/warningup-network-artwork.md), drawn on the section background without a frame.
   Hub positions come from the Mercator projection that generated reach/world-network.svg. */
.cgi-map {
  position: relative;
  container-type: inline-size;
  justify-self: center;
  width: min(100%, 900px);
  aspect-ratio: 1600 / 930;
  background: url("./media/reach/world-network.svg") center / 100% 100% no-repeat;
}

.cgi-map > .cgi-hub {
  position: absolute;
  top: var(--hub-y);
  left: var(--hub-x);
  margin: 0;
  padding-top: max(2.2cqw, 12px);
  color: var(--cgi-indigo);
  font-size: max(1.5cqw, 10px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow:
    0 0 3px #f7f4f7,
    0 0 6px #f7f4f7;
  text-transform: uppercase;
  white-space: nowrap;
  translate: -50% 0;
}

.cgi-hub--los-angeles {
  --hub-x: 14.37%;
  --hub-y: 49.39%;
}

.cgi-hub--paris {
  --hub-x: 47.88%;
  --hub-y: 39.87%;
}

.cgi-hub--tokyo {
  --hub-x: 86.03%;
  --hub-y: 48.43%;
}

.cgi-hub::before,
.cgi-hub::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: max(2.2cqw, 12px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-sizing: border-box;
  translate: -50% -50%;
  content: "";
}

.cgi-hub::before {
  z-index: 1;
  border: 2px solid #fff;
  background: var(--cgi-indigo);
  box-shadow: 0 0 0 3px rgb(206 82 230 / 35%);
}

.cgi-hub::after {
  border: 2px solid var(--cgi-pink);
  animation: cgi-hub-pulse 2.4s ease-out infinite;
}

.cgi-hub--paris::after {
  animation-delay: -0.8s;
}

.cgi-hub--tokyo::after {
  animation-delay: -1.6s;
}

@keyframes cgi-hub-pulse {
  from {
    opacity: 0.8;
    scale: 1;
  }

  to {
    opacity: 0;
    scale: 2.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgi-hub::after {
    display: none;
  }
}

.cgi-facts {
  display: flex;
  flex-direction: column;
}

.cgi-fact {
  position: relative;
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--cgi-line-d);
  color: var(--cgi-muted-d);
}

.cgi-fact::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--cgi-pink);
  transition: width 0.6s var(--cgi-ease);
  content: "";
}

.cgi-fact:nth-child(2)::before {
  background: var(--cgi-violet);
}

.cgi-fact:nth-child(3)::before {
  background: var(--cgi-indigo);
}

@media (hover: hover) {
  .cgi-fact:hover::before {
    width: 100%;
  }
}

.cgi-fact strong {
  color: var(--cgi-indigo);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* New Vega group (shared block), as white cards on cream, so only three chapters stay dark. */
.cg-influence .group {
  border-top: 1px solid var(--cgi-line-d);
  background: var(--cgi-cream);
  color: var(--cgi-text);
  padding-block: 96px;
}

.cg-influence .group-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 24px 56px;
  margin-bottom: 36px;
}

/* "Member of the group" and the New Vega logo read as one mention, as on the other group sites. */
.cg-influence .group-heading {
  gap: 10px 20px;
}

.cg-influence .group-heading span {
  color: var(--cgi-label-d);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.cg-influence .group-intro-logo {
  transition: opacity 0.3s ease;
}

.cg-influence .group-intro-logo:hover {
  opacity: 0.75;
}

.cg-influence .group-intro-logo img {
  width: clamp(170px, 16vw, 220px);
  height: auto;
}

.cg-influence .group-promise {
  color: var(--cgi-muted-d);
  font-size: 18px;
  line-height: 1.55;
}

.cg-influence .group-promise strong {
  color: var(--cgi-text);
  font-weight: 700;
}

.cg-influence .agency-list {
  gap: 14px;
}

.cg-influence .agency-list a,
.cg-influence .agency-card {
  position: relative;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--cgi-line-d);
  border-radius: 20px;
  background: #fff;
  color: var(--cgi-text);
  transition:
    transform 0.45s var(--cgi-ease),
    border-color 0.3s ease,
    background 0.3s ease;
}

@media (hover: hover) {
  .cg-influence .agency-list a:hover {
    border-color: rgb(144 46 224 / 45%);
    box-shadow: 0 13px 26px rgb(31 14 139 / 13%);
    transform: translateY(-4px);
  }
}

.cg-influence .agency-current .agency-card {
  border: 1px solid rgb(206 82 230 / 55%);
  background: #f6f0fa;
}

.cg-influence .agency-logo {
  height: 34px;
  margin-bottom: 0;
}

.cg-influence .agency-list img {
  max-width: 160px;
  max-height: 30px;
  filter: brightness(0);
  opacity: 0.85;
}

/* PocketWhale's mark carries its name in small type under the whale. */
.cg-influence .agency-list img[alt="PocketWhale"] {
  max-height: 40px;
}

.cg-influence .agency-current img {
  max-height: 18px;
  filter: none;
  opacity: 1;
}

.cg-influence .agency-expertise {
  margin-top: 6px;
  color: var(--cgi-text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cg-influence .agency-description {
  margin: 0;
  color: var(--cgi-muted-d);
  font-size: 14px;
  line-height: 1.55;
}

.cg-influence .agency-destination {
  margin-top: auto;
  padding-top: 10px;
  color: var(--cgi-label-d);
  font-size: 13px;
  font-weight: 700;
}

.cg-influence .agency-here {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--cgi-yellow);
  color: var(--cgi-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Contact: night to indigo with a magenta glow, a light form card from the shared block. */
.cgi-contact {
  --lx: 78%;
  --ly: 55%;
  position: relative;
  padding-block: 112px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 95% 10%, rgb(206 82 230 / 48%), transparent 50%),
    linear-gradient(125deg, var(--cgi-night), var(--cgi-indigo));
  isolation: isolate;
}

.cgi-contact::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px circle at var(--lx) var(--ly), rgb(206 82 230 / 20%), transparent 65%),
    conic-gradient(from 210deg at 8% 0%, transparent 0deg, rgb(255 255 255 / 8%) 18deg, transparent 36deg);
  pointer-events: none;
  content: "";
}

.cgi-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.cg-influence .cgi-contact h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.cgi-csub {
  max-width: 30em;
  margin-top: 20px;
  color: #e1d4f0;
  font-size: 19px;
}

.cgi-addr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
  color: #e1d4f0;
}

.cgi-addr .cgi-label {
  color: var(--cgi-yellow);
}

.cg-influence .cgi-addr a {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  font-weight: 700;
}

/* The shared block's own heading stays for assistive technology; the page column introduces the form. */
.cgi-contact .contact > div:first-child {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cg-influence .cgi-contact .contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 12px;
  padding: 28px;
  border: 1px solid #d9c3e9;
  border-radius: 24px;
  background: #f7f2fa;
  box-shadow: 12px 12px 0 rgb(206 82 230 / 23%);
  color: var(--cgi-text);
}

.cg-influence .cgi-contact .contact-form :focus-visible {
  outline-color: var(--cgi-violet);
}

.cgi-contact .contact-form > :not(label:nth-of-type(-n + 2)) {
  grid-column: 1 / -1;
}

.cgi-contact .contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--cgi-text);
  font-size: 13px;
  font-weight: 700;
}

.cgi-contact .contact-form input,
.cgi-contact .contact-form textarea {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #cdbadb;
  border-radius: 12px;
  background: #fff;
  color: var(--cgi-text);
  font: 500 15px/1.4 var(--cg-body);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.cgi-contact .contact-form input:focus,
.cgi-contact .contact-form textarea:focus {
  border-color: var(--cgi-violet);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgb(144 46 224 / 22%);
}

.cgi-contact .contact-form .form-privacy,
.cgi-contact .contact-form .draft-note {
  color: var(--cgi-muted-d);
  font-size: 12.5px;
}

.cgi-contact .contact-form .form-privacy a {
  color: var(--cgi-label-d);
}

.cg-influence .cgi-contact .contact-form .button {
  justify-self: stretch;
  min-height: 58px;
  font-size: 17px;
}

.cgi-contact .contact-form .form-feedback:not([hidden]) {
  background: rgb(144 46 224 / 8%);
  color: var(--cgi-text);
}

.cgi-contact .contact-form .form-feedback[data-state="error"] {
  color: #a3123d;
}

/* Motion and transparency preferences */
@media (prefers-reduced-motion: reduce) {
  .cg-influence *,
  .cg-influence *::before,
  .cg-influence *::after {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }

  .cg-reveal-ready .cgi-case-expertise .cgi-ill path {
    stroke-dashoffset: 0;
  }

  .cgi-card:hover,
  .cgi-step:hover,
  .cgi-lever:hover,
  .cgi-format:hover .cgi-mock,
  .cgi-market:hover,
  .cg-influence .agency-list a:hover {
    transform: none;
  }

  /* A still band: one pass of logos, wrapped. */
  .cgi-logo-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 56px;
    width: auto;
  }

  .cgi-logo-track > :nth-child(n + 11) {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .cg-influence .cg-header {
    background: var(--cgi-cream);
    backdrop-filter: none;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .cg-influence .agency-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-influence .group-intro {
    grid-template-columns: 1fr;
  }

  .cgi-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cgi-approach {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cgi-track {
    display: none;
  }

  .cgi-levers {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Four regions in a row need about 1100 px; two by two below that. */
@media (max-width: 1100px) {
  .cgi-zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cgi-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cgi-demo,
  .cgi-reach,
  .cgi-contact-grid {
    grid-template-columns: 1fr;
  }

  .cgi-reach {
    gap: 32px;
  }

  .cgi-reach > .cgi-facts {
    grid-row: auto;
    grid-column: auto;
  }

  .cgi-sec {
    padding-block: 80px;
  }

  .cgi-stats {
    grid-auto-flow: row;
  }
}

@media (max-width: 560px) {
  .cgi-proof-grid,
  .cgi-approach,
  .cg-influence .agency-list,
  .cg-influence .cgi-contact .contact-form {
    grid-template-columns: 1fr;
  }

  .cgi-hero {
    padding-block: 64px 72px;
  }

  .cgi-fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  /* Three small mockups side by side, as in the V8 mockup. */
  .cgi-formats {
    gap: 8px;
  }

  .cgi-mock-copy,
  .cgi-mock-head,
  .cgi-mock-caption {
    font-size: 10px;
  }

  .cgi-mock--x {
    padding: 8px;
  }

  .cgi-mock-cta span {
    padding: 6px 4px;
    font-size: 10px;
  }

  .cgi-levers-graphic {
    --cgi-ring: 290px;
  }

  .cgi-amp-core {
    width: 180px;
    height: 180px;
  }

  .cgi-amp-core strong {
    font-size: 20px;
  }

  /* The line is wider than the smaller circle: two lines inside it rather than over its border. */
  .cgi-amp-core small {
    max-width: 130px;
  }

  .cgi-levers-graphic {
    min-height: calc(var(--cgi-ring) + 80px);
  }

  /* Side tags move under the ring so they never cover the campaign. */
  .cgi-lever-tag--right,
  .cgi-lever-tag--left {
    top: auto;
    bottom: 0;
  }

  .cgi-lever-tag--right {
    left: 54%;
  }

  .cgi-lever-tag--left {
    right: 54%;
  }

  .cgi-orbit {
    opacity: 0.5;
  }

  /* A shorter offset shadow stays inside the gutter. */
  .cgi-visual {
    box-shadow:
      10px 10px 0 rgb(206 82 230 / 17%),
      inset 0 1px 0 rgb(255 255 255 / 14%);
  }

  .cgi-zones {
    grid-template-columns: 1fr;
  }

  .cg-influence .cg-case-study > .cgi-case-expertise {
    min-height: 0;
    padding: 132px 20px 22px;
  }

  .cg-case-study > .cgi-case-expertise .cgi-card-crop,
  .cg-influence .cg-case-study > .cgi-case-expertise .cgi-ill {
    top: 20px;
    right: auto;
    left: 20px;
    width: 120px;
    height: 96px;
  }
}
