/* Dedicated Consumer Packaged Goods page.
   Visually distinct from the Food + Beverage industry page while reusing its
   editorial grid, typography, motion, navigation, and accessible form system. */
.cpg-market-page .industry-hero {
  background: var(--cream);
  color: var(--green);
}
.cpg-market-page .industry-hero::after {
  background-image:conic-gradient(var(--green) 25%,var(--cream) 0 50%,var(--green) 0 75%,var(--cream) 0);
}
.cpg-market-page .industry-hero .industry-cta {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream);
}
.cpg-market-page .industry-hero .industry-cta:hover,
.cpg-market-page .industry-hero .industry-cta:focus-visible {
  background: var(--cream);
  color: var(--green);
}
.cpg-market-page .cpg-visual-lead img {
  object-position: center 43%;
}
.cpg-market-page .industry-outcomes {
  background: var(--paper);
}
.cpg-market-page .cpg-first-step {
  background: var(--green);
  color: var(--cream);
}
.cpg-market-page .cpg-proof {
  background: var(--green);
  color: var(--cream);
}
.cpg-market-page .cpg-proof .industry-proof-top,
.cpg-market-page .cpg-proof .industry-metric,
.cpg-market-page .cpg-proof .industry-proof-note {
  border-color: rgba(255,243,215,.48);
}
.cpg-market-page .cpg-proof .industry-metric strong {
  color: var(--cream);
}
.cpg-market-page .cpg-proof .industry-proof-work {
  color: var(--cream);
}
.cpg-market-page .cpg-measurement {
  background: var(--ink);
}
.cpg-market-page .industry-outcome:nth-child(1) .outcome-photo img {
  object-position:center 48%;
}
.cpg-market-page .industry-outcome:nth-child(2) .outcome-photo img {
  object-position:center 52%;
}
.cpg-market-page .industry-outcome:nth-child(3) .outcome-photo img {
  object-position:center 48%;
}
.cpg-market-page .industry-proof .industry-metric span {
  color:var(--cream);
}
@media (min-width:1181px) {
  .cpg-market-page .industry-hero h1{
    font-size:clamp(80px,8.5vw,122px);
    max-width:1200px;
  }
  .cpg-market-page .cpg-visual-lead img {
    object-position:center 39%;
  }
}
@media (max-width:760px) {
  .cpg-market-page .industry-hero {
    background:var(--cream);
    color:var(--green);
  }
  .cpg-market-page .industry-hero::after {
    background-image:conic-gradient(var(--green) 25%,var(--cream) 0 50%,var(--green) 0 75%,var(--cream) 0);
  }
  .cpg-market-page .industry-hero h1 {
    max-width:350px;
    font-size:clamp(41px,12.1vw,52px);
  }
  .cpg-market-page .cpg-visual-lead img {
    object-position:center 45%;
  }
  .cpg-market-page .cpg-proof {
    background:var(--green);
    color:var(--cream);
  }
}

/* CPG visual flow, October 2026.
   A single cream opening carries the hero into the product photography and
   business problems. A deliberate rule introduces the lighter outcome chapter. */
.cpg-market-page .cpg-visual-lead,
.cpg-market-page .cpg-problems {
  background-color:var(--cream);
}
.cpg-market-page .cpg-visual-lead img {
  object-position:50% 21%;
  filter:sepia(.12) saturate(1.16) contrast(1.1);
}
.cpg-market-page .cpg-outcomes {
  background-color:var(--paper);
  border-top:2px solid var(--green);
}
/* Alternate brand-green and cream chapters instead of stacking two green
   panels together. Restore accessible dark proof copy and green metric numerals. */
.cpg-market-page .cpg-proof {
  background-color:var(--cream);
  color:var(--ink);
}
.cpg-market-page .cpg-proof .industry-proof-top,
.cpg-market-page .cpg-proof .industry-metric,
.cpg-market-page .cpg-proof .industry-proof-note {
  border-color:rgba(18,38,31,.32);
}
.cpg-market-page .cpg-proof .industry-metric strong,
.cpg-market-page .cpg-proof .industry-proof-work {
  color:var(--green);
}
.cpg-market-page .cpg-proof .industry-metric span,
.cpg-market-page .cpg-proof .industry-proof-note {
  color:var(--ink);
}
/* The secondary headline/photo arrangement should not produce a banner-sized
   button at tablet widths. Keep it sized as a button, like the desktop CTA. */
@media (min-width:761px) and (max-width:1180px) {
  .cpg-market-page .industry-hero .industry-cta {
    min-width:0;
    width:min(100%,360px);
    justify-self:start;
  }
}
@media (max-width:760px) {
  .cpg-market-page .cpg-visual-lead img {
    object-position:50% 24%;
  }
}


/* Full-bleed CPG product image.
   Only this lead photograph breaks out of the editorial gutters; its caption
   remains aligned with the headline/content grid. */
.cpg-market-page .cpg-visual-lead {
  padding-left: 0;
  padding-right: 0;
}
.cpg-market-page .cpg-visual-lead > img {
  display: block;
  width: 100%;
  max-width: none;
}
.cpg-market-page .cpg-visual-lead > figcaption {
  left: 62px;
}
@media (min-width: 761px) and (max-width: 1180px) {
  .cpg-market-page .cpg-visual-lead > figcaption {
    left: 46px;
  }
}
@media (max-width: 760px) {
  .cpg-market-page .cpg-visual-lead {
    padding-left: 0;
    padding-right: 0;
  }
  .cpg-market-page .cpg-visual-lead > figcaption {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: -24px 18px 0;
  }
}

/* Revised brand-neutral lead photograph: keep the central product grouping in
   frame at all breakpoints; the original image already has warm color balance. */
.cpg-market-page .cpg-visual-lead > img {
  object-position: 50% 50%;
  filter: none;
}
@media (max-width:760px) {
  .cpg-market-page .cpg-visual-lead > img {
    object-position: 50% 50%;
  }
}
