/* Hero scenes are continuous timelines. They do not depend on hover or a one-off entrance. */
.capPage .capMasthead:is(.adsMasthead, .agencyMasthead) {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
  max-width: 1240px;
  min-height: 510px;
  margin-bottom: 85px;
}
.capPage .capMasthead:is(.adsMasthead, .agencyMasthead) h1 {
  font-size: clamp(44px, 4.6vw, 64px);
}
.capMasthead .capMastArt {
  isolation: isolate;
}
.capMasthead .capMastArt:before {
  content: none;
}
.heroMotionStage {
  position: relative;
  margin: 0;
  height: 480px;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  contain: layout;
}
.heroMotionStage:before {
  content: "";
  position: absolute;
  inset: 15% -5% 8%;
  z-index: -1;
  background: radial-gradient(ellipse, #e8ebed80, transparent 68%);
  pointer-events: none;
}
.heroMotionContent {
  position: absolute;
  inset: 0;
  overflow: visible;
}
.motionOverline {
  position: absolute;
  top: 25px;
  left: 3%;
  right: 3%;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: #73839a;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.motionOverline > span {
  letter-spacing: 0.08em;
  color: #0281c5;
}
.motionWords {
  position: absolute;
  top: 68px;
  left: 3%;
  right: 0;
  height: 110px;
  overflow: visible;
  clip-path: inset(-24px -24px -24px -24px);
}
.motionWords > span {
  position: absolute;
  inset: 0;
  font-size: clamp(58px, 6.1vw, 88px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.15;
  color: #0281c5;
  white-space: nowrap;
}
.motionWords > span:not(:first-child),
.motionActor:not([data-actor="0"]),
.commerceCounts > span:not(:first-child),
[data-stock-new],
[data-iq-word]:not(:first-child) {
  opacity: 0;
}
.motionCast {
  position: absolute;
  width: 295px;
  height: 295px;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
}
.motionActor {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px #202f5314);
  pointer-events: none;
}
.motionSteps {
  position: absolute;
  bottom: 17px;
  left: 3%;
  right: 3%;
  display: flex;
  gap: 15px;
}
.motionSteps > span {
  position: relative;
  flex: 1;
  font-size: 10px;
  font-weight: 450;
  color: #64748b;
  padding: 12px 0;
  border-bottom: 1px solid #dee2e7;
}
.motionSteps i {
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -1px;
  background: #0281c5;
  transform: scaleX(0);
  transform-origin: left;
}
.motionSteps > span:first-child i {
  transform: scaleX(0.12);
}
.heroMotionToggle {
  position: absolute;
  z-index: 5;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  right: 0;
  bottom: -24px;
  border: 1px solid #dbdfe5;
  border-radius: 50%;
  background: #f7f8f9;
  color: #66778e;
  cursor: pointer;
  padding: 5px;
  transition:
    background 0.2s,
    color 0.2s;
}
.heroMotionToggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.heroMotionToggle:hover {
  background: #eef1f4;
  color: #0281c5;
}
.motionPlayIcon {
  display: none;
}
.heroMotionToggle[aria-pressed="true"] .motionPlayIcon {
  display: block;
}
.heroMotionToggle[aria-pressed="true"] .motionPauseIcon {
  display: none;
}
.motion-commerce .motionCast {
  top: 75px;
  width: 310px;
  height: 310px;
}
.commerceCounts {
  position: absolute;
  inset: 35px 0 0;
  height: 190px;
  color: #e1e5ea;
  font-size: 190px;
  line-height: 1;
  font-weight: 450;
  letter-spacing: -0.11em;
}
.commerceCounts > span {
  position: absolute;
  left: 4%;
  top: 0;
}
.motion-commerce .motionWords {
  top: auto;
  bottom: 66px;
  height: 70px;
}
.motion-commerce .motionWords > span {
  font-size: 52px;
  text-align: center;
  letter-spacing: -0.055em;
}
.motion-channels:before {
  background: radial-gradient(ellipse, #edf0f480, transparent 68%);
}
.syncOrigin {
  position: absolute;
  left: 4%;
  top: 98px;
  width: 32%;
}
.syncOrigin > small {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #7a899e;
}
.stockFlip {
  height: 38px;
  width: 45px;
  position: relative;
  perspective: 500px;
  font-size: 29px;
  font-weight: 450;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
}
.stockFlip > span {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}
.syncOrigin .stockFlip {
  font-size: 94px;
  height: 110px;
  width: 115px;
  margin: 12px 0 8px;
  color: #0281c5;
}
.syncSku {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8593a7;
}
.syncDestinations {
  position: absolute;
  top: 82px;
  right: 3%;
  width: 53%;
}
.syncDestination {
  display: grid;
  grid-template-columns: 1fr 40px 20px;
  align-items: center;
  gap: 12px;
  padding: 25px 0;
  border-bottom: 1px solid #dee2e7;
}
.syncDestination > span {
  font-size: 23px;
  letter-spacing: -0.04em;
  color: #444f5f;
}
.syncDestination > i {
  font-style: normal;
  font-size: 12px;
  color: #0281c5;
  opacity: 0;
}
.motion-channels .motionActor {
  width: 180px;
  height: 180px;
  top: auto;
  bottom: 55px;
  left: -9px;
}
.syncNote {
  position: absolute;
  bottom: 24px;
  left: 4%;
  right: 4%;
  font-size: 11px;
  color: #6d7e96;
}
.motion-ads:before {
  background: radial-gradient(ellipse, #e8ecf180, transparent 68%);
}
.adIngredients {
  position: absolute;
  top: 80px;
  left: 3%;
  right: 0;
  height: 180px;
}
.adIngredients > span {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 43px;
  line-height: 1.25;
  font-weight: 450;
  letter-spacing: -0.055em;
  color: #0281c5;
}
.adIngredients > span:nth-child(2) {
  top: 59px;
}
.adIngredients > span:nth-child(3) {
  top: 118px;
}
.adIngredients i {
  font-size: 25px;
  color: #b1bac7;
  font-weight: 300;
  font-style: normal;
}
.adHeadline {
  position: absolute;
  top: 110px;
  left: 3%;
  right: 0;
  z-index: 2;
}
.adHeadline > span {
  display: block;
  font-size: 65px;
  letter-spacing: -0.07em;
  line-height: 1.12;
  color: #1c2949;
  opacity: 0;
}
.adHeadline > span + span {
  font-size: 42px;
  color: #0281c5;
}
.adPlacements {
  position: absolute;
  left: 3%;
  bottom: 40px;
  display: flex;
  gap: 30px;
}
.adPlacements > span {
  font-size: 12px;
  color: #8190a4;
  position: relative;
  padding-bottom: 10px;
}
.adPlacements > span:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  left: 0;
  right: 0;
  background: #0281c5;
  transform: scaleX(var(--placement-progress, 0));
  transform-origin: left;
}
.motion-ads .motionActor {
  width: 235px;
  height: 235px;
  top: auto;
  left: auto;
  right: -5px;
  bottom: 60px;
}
.iqMotionWords {
  position: absolute;
  top: 68px;
  left: 3%;
  right: 0;
  height: 75px;
  overflow: visible;
  clip-path: inset(-24px -24px -24px -24px);
}
.iqMotionWords > span {
  position: absolute;
  inset: 0;
  font-size: 46px;
  letter-spacing: -0.06em;
  line-height: 1.2;
  color: #0281c5;
  font-weight: 450;
}
.iqMotionChart {
  position: absolute;
  top: 155px;
  left: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}
.iqPrior {
  stroke: #b8c0cb;
  stroke-width: 2;
  stroke-dasharray: 4 7;
}
.iqCurrent {
  stroke: #0281c5;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}
[data-iq-cursor] {
  fill: #0281c5;
  stroke: #f7f8f9;
  stroke-width: 3;
}
[data-iq-pulse] {
  stroke: #0281c5;
  stroke-width: 1;
  opacity: 0;
}
.iqChartAxis {
  stroke: #dfe3e8;
  stroke-width: 1;
}
.iqObservation {
  position: absolute;
  left: 58%;
  top: 174px;
  font-size: 11px;
  color: #5e6d82;
  opacity: 0;
  white-space: nowrap;
}
.iqObservation > span {
  color: #0281c5;
  margin-right: 5px;
}
.motion-iq .motionActor {
  width: 140px;
  height: 140px;
  top: auto;
  left: auto;
  right: 0;
  bottom: 55px;
}
.iqChartLegend {
  display: flex;
  gap: 24px;
  position: absolute;
  bottom: 28px;
  left: 3%;
}
.iqChartLegend > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #77879d;
}
.iqChartLegend i {
  width: 13px;
  height: 2px;
  background: #0281c5;
}
.iqChartLegend > span + span i {
  background: #b8c0cb;
}
.agencyMotionLines {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 143px;
}
.agencyMotionLines > div {
  position: relative;
  display: grid;
  grid-template-columns: 25px 1fr 17px;
  gap: 14px;
  align-items: start;
  padding: 19px 0;
}
.agencyMotionLines small {
  font-size: 10px;
  color: #0281c5;
  padding-top: 7px;
}
.agencyMotionLines strong {
  display: block;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 450;
  color: #3f4956;
}
.agencyMotionLines div > span {
  display: block;
  font-size: 11px;
  color: #8391a5;
  margin-top: 8px;
}
.agencyMotionLines i {
  display: block;
  height: 1px;
  margin-top: 19px;
  background: #8dc4e2;
  transform-origin: left;
  transform: scaleX(0);
}
.agencyMotionLines b {
  color: #0281c5;
  font-size: 12px;
  opacity: 0;
  padding-top: 10px;
}
.motion-agency .motionActor {
  width: 175px;
  height: 175px;
  left: auto;
  right: -12px;
  top: -7px;
}
.heroArt:has(.unifyHeroStage) {
  position: relative;
}
.heroArt > .heroMotionToggle {
  bottom: 0;
  right: 0;
}
/* No script/reduced-motion fallback is a complete, readable first scene. */
@media (prefers-reduced-motion: reduce) {
  .heroMotionToggle {
    display: none;
  }
  .iqCurrent {
    stroke-dashoffset: 0 !important;
  }
  .motionSteps i {
    transform: scaleX(1);
  }
  .motion-ads .adHeadline > span {
    opacity: 1;
  }
  .motion-ads .adIngredients {
    display: none;
  }
  .agencyMotionLines i {
    transform: scaleX(1);
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .capPage .capMasthead:is(.adsMasthead, .agencyMasthead) {
    gap: 30px;
  }
  .motionWords > span {
    font-size: 65px;
  }
  .syncDestination > span {
    font-size: 20px;
  }
  .syncDestination {
    gap: 6px;
    grid-template-columns: 1fr 35px 15px;
  }
  .adHeadline > span {
    font-size: 55px;
  }
  .adHeadline > span + span {
    font-size: 35px;
  }
  .iqMotionWords > span {
    font-size: 36px;
  }
  .agencyMotionLines strong {
    font-size: 25px;
  }
}
@media (max-width: 900px) {
  .capPage .capMasthead:is(.adsMasthead, .agencyMasthead) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .heroMotionStage {
    max-width: 560px;
    margin: auto;
  }
  .capMastArt {
    width: 100%;
  }
  .motionWords > span {
    font-size: 85px;
  }
  .capPage .capMasthead:is(.adsMasthead, .agencyMasthead) h1 {
    font-size: clamp(45px, 7.2vw, 65px);
  }
}
@media (max-width: 680px) {
  .capPage .capMasthead:is(.adsMasthead, .agencyMasthead) {
    gap: 20px;
    margin-bottom: 65px;
  }
  .capPage .capMasthead:is(.adsMasthead, .agencyMasthead) h1 {
    font-size: clamp(39px, 9.4vw, 57px);
  }
  .heroMotionStage {
    height: 410px;
    max-width: 420px;
  }
  .motionOverline {
    top: 15px;
    font-size: 8px;
  }
  .motionWords {
    top: 55px;
    height: 88px;
  }
  .motionWords > span {
    font-size: clamp(56px, 16vw, 72px);
  }
  .motionCast {
    top: 120px;
    width: 250px;
    height: 250px;
  }
  .motionSteps {
    bottom: 10px;
    gap: 11px;
  }
  .motionSteps > span {
    font-size: 9px;
  }
  .motion-commerce .motionCast {
    top: 65px;
    width: 270px;
    height: 270px;
  }
  .commerceCounts {
    font-size: 150px;
    top: 28px;
  }
  .motion-commerce .motionWords {
    bottom: 53px;
    height: 60px;
  }
  .motion-commerce .motionWords > span {
    font-size: clamp(36px, 10vw, 47px);
  }
  .syncOrigin {
    top: 85px;
    left: 2%;
  }
  .syncOrigin .stockFlip {
    font-size: 75px;
    width: 85px;
    height: 88px;
  }
  .syncDestinations {
    top: 67px;
    right: 1%;
    width: 56%;
  }
  .syncDestination {
    grid-template-columns: 1fr 29px 11px;
    gap: 6px;
    padding: 22px 0;
  }
  .syncDestination > span {
    font-size: clamp(17px, 4.7vw, 21px);
  }
  .stockFlip {
    font-size: 24px;
    height: 30px;
    width: 30px;
  }
  .motion-channels .motionActor {
    width: 150px;
    height: 150px;
    bottom: 40px;
    left: -13px;
  }
  .syncNote {
    bottom: 15px;
    font-size: 10px;
  }
  .adIngredients {
    top: 60px;
  }
  .adIngredients > span {
    font-size: 38px;
  }
  .adHeadline {
    top: 91px;
  }
  .adHeadline > span {
    font-size: clamp(45px, 12.5vw, 60px);
  }
  .adHeadline > span + span {
    font-size: clamp(29px, 8vw, 39px);
  }
  .motion-ads .motionActor {
    width: 200px;
    height: 200px;
    right: -8px;
    bottom: 53px;
  }
  .adPlacements {
    bottom: 24px;
    gap: 25px;
  }
  .adPlacements > span {
    font-size: 11px;
  }
  .iqMotionWords {
    top: 56px;
    height: 60px;
  }
  .iqMotionWords > span {
    font-size: clamp(30px, 8.2vw, 39px);
  }
  .iqMotionChart {
    top: 142px;
  }
  .motion-iq .motionActor {
    width: 120px;
    height: 120px;
    bottom: 55px;
  }
  .iqObservation {
    top: 126px;
    left: 47%;
    font-size: 9px;
  }
  .iqChartLegend {
    bottom: 23px;
    gap: 20px;
  }
  .agencyMotionLines {
    top: 125px;
  }
  .agencyMotionLines strong {
    font-size: clamp(22px, 6.3vw, 28px);
  }
  .agencyMotionLines > div {
    padding: 16px 0;
    gap: 9px;
    grid-template-columns: 20px 1fr 13px;
  }
  .agencyMotionLines div > span {
    font-size: 10px;
  }
  .motion-agency .motionActor {
    width: 145px;
    height: 145px;
    top: 0;
    right: -13px;
  }
  .heroMotionToggle {
    bottom: -18px;
  }
}

.agencyMasthead .capTitle > .button {
  margin-top: 28px;
}
