/*
 * Services page redesign.
 * Three alternating service stories, a supporting-services grid and testimonial.
 */

.services-page-main {
  overflow: hidden;
  background: #FFFFFF;
  color: #1A1A1A;
}

.services-hero {
  position: relative;
  padding: 190px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 38% at 8% 58%, rgba(226, 226, 226, 0.62), transparent 72%),
    radial-gradient(ellipse 48% 40% at 82% 52%, rgba(210, 210, 210, 0.54), transparent 74%),
    radial-gradient(ellipse 40% 34% at 55% 95%, rgba(209, 209, 209, 0.5), transparent 76%),
    #FFFFFF;
}

.services-hero-inner,
.service-stories,
.balance-services,
.services-testimonial {
  width: min(var(--rf-section-max, 1280px), calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.services-eyebrow,
.service-stories-heading > p,
.balance-services-heading > p,
.services-testimonial > p {
  margin: 0;
  color: #C2410C;
  font: 700 10px/1.3 "DM Sans", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.services-hero h1 {
  max-width: 1080px;
  margin: 28px 0 0;
  color: #1A1A1A;
  font-family: "Manrope", sans-serif;
  font-size: clamp(62px, 7.5vw, 112px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.services-hero h1 em {
  color: #C2410C;
  font-family: Georgia, serif;
  font-weight: 400;
}

.services-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  margin-top: 54px;
}

.services-hero-bottom > p {
  max-width: 660px;
  margin: 0;
  color: #616161;
  font-size: 18px;
  line-height: 1.62;
}

.services-hero-actions {
  display: flex;
  gap: 10px;
}

.services-hero-actions a,
.service-story-copy > a,
.services-testimonial > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(27, 27, 27, 0.13);
  border-radius: 8px;
  color: #1D1D1D;
  font: 700 11px/1 "DM Sans", sans-serif;
  text-decoration: none;
}

.services-hero-actions a:first-child,
.service-story-copy > a,
.services-testimonial > a {
  border-color: #1B1B1B;
  background: #1B1B1B;
  color: #FFFFFF;
}

.services-hero-actions a span,
.service-story-copy > a span,
.services-testimonial > a span {
  margin-left: 9px;
  color: #D7D7D7;
}

.services-platform-line {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 88px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  border-left: 1px solid rgba(26, 26, 26, 0.1);
}

.services-platform-line span {
  min-height: 64px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(26, 26, 26, 0.1);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  color: #686868;
  font: 700 10px/1 "DM Sans", sans-serif;
}

.service-stories {
  padding: clamp(105px, 11vw, 168px) 0;
}

.service-stories-heading {
  max-width: 840px;
  margin-bottom: clamp(88px, 10vw, 142px);
}

.service-stories-heading h2,
.balance-services-heading h2 {
  max-width: 790px;
  margin: 20px 0 0;
  color: #1A1A1A;
  font-family: "Manrope", sans-serif;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
}

.service-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  gap: clamp(62px, 10vw, 148px);
  align-items: center;
  padding: clamp(70px, 8vw, 110px) 0;
  border-top: 1px solid rgba(26, 26, 26, 0.09);
}

.service-story-reverse .service-story-copy {
  grid-column: 2;
  grid-row: 1;
}

.service-story-reverse .service-demo {
  grid-column: 1;
  grid-row: 1;
}

.service-story-index {
  margin: 0 0 22px !important;
  color: #7A7A7A !important;
  font: 700 10px/1.2 "DM Sans", sans-serif !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-story-index span {
  margin-right: 10px;
  color: #C2410C;
}

.service-story-copy h2 {
  max-width: 610px;
  margin: 0;
  color: #1A1A1A;
  font-family: "Manrope", sans-serif;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.service-story-copy > p:not(.service-story-index) {
  max-width: 610px;
  margin: 25px 0 0;
  color: #676767;
  font-size: 16px;
  line-height: 1.62;
}

.service-brief {
  max-width: 650px;
  margin: 34px 0 28px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFEFEF, #F5F5F5);
}

.service-brief strong {
  color: #662B00;
  font: 700 12px/1.2 "DM Sans", sans-serif;
}

.service-brief p {
  margin: 10px 0 0;
  color: #525252;
  font-size: 14px;
  line-height: 1.55;
}

.service-demo {
  min-height: 455px;
  padding: 28px;
  border: 1px solid rgba(146, 61, 0, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 75px rgba(119, 50, 0, 0.1);
}

.service-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #ECECEC;
}

.service-demo-bar > span {
  display: flex;
  gap: 5px;
}

.service-demo-bar i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #DBDBDB;
}

.service-demo-bar i:first-child {
  background: #FFAD66;
}

.service-demo-bar small {
  color: #939393;
  font: 700 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.07em;
}

.service-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
}

.service-metric-grid div {
  min-height: 84px;
  display: grid;
  align-content: center;
  padding: 14px;
  border-radius: 8px;
  background: #F4F4F4;
}

.service-metric-grid div:nth-child(2),
.service-metric-grid div:nth-child(3) {
  background: #EFEFEF;
}

.service-metric-grid small,
.cro-results small {
  color: #777777;
  font-size: 9px;
}

.service-metric-grid strong {
  margin-top: 5px;
  color: #242424;
  font: 700 20px/1 "Manrope", sans-serif;
}

.service-roadmap {
  margin-top: 28px;
}

.service-roadmap > p,
.store-opportunities > p {
  margin: 0 0 15px;
  color: #363636;
  font: 700 10px/1 "DM Sans", sans-serif;
}

.service-roadmap > div {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #EEEEEE;
  color: #737373;
  font-size: 10px;
}

.service-roadmap i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #EEEEEE;
}

.service-roadmap i::after {
  content: "";
  width: 86%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #C2410C, #FFAD66);
}

.service-roadmap b {
  color: #B44B00;
  font-size: 9px;
}

.service-demo-shopify {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 154, 61, 0.2), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(255, 173, 102, 0.4), transparent 42%),
    #FBFBFB;
}

.service-demo-shopify::before {
  content: "";
  width: 170px;
  height: 170px;
  position: absolute;
  right: -80px;
  bottom: -90px;
  border: 24px solid rgba(194, 65, 12, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.shop-board-head,
.shop-board-brand,
.shop-live,
.shop-revenue-card,
.shop-funnel > div,
.shop-funnel li,
.shop-order-card > div,
.shop-signal-row {
  display: flex;
  align-items: center;
}

.shop-board-head {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 16px;
}

.shop-board-brand {
  gap: 10px;
}

.shop-bag-mark {
  width: 32px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
}

.shop-bag-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}


.shop-board-brand p,
.shop-board-brand small,
.shop-board-brand strong {
  margin: 0;
}

.shop-board-brand p {
  display: grid;
  gap: 4px;
}

.shop-board-brand small {
  color: #848484;
  font: 800 7px/1 "DM Sans", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-board-brand strong {
  color: #222222;
  font: 700 14px/1 "Manrope", sans-serif;
}

.shop-live {
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(175, 73, 0, 0.12);
  border-radius: 999px;
  background: rgba(242, 242, 242, 0.8);
  color: #A14300;
  font: 750 8px/1 "DM Sans", sans-serif;
  text-transform: uppercase;
}

.shop-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF7C1F;
  box-shadow: 0 0 0 4px rgba(255, 124, 31, 0.12);
}

.shop-revenue-card {
  min-height: 140px;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px;
  overflow: hidden;
  border-radius: 17px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 173, 102, 0.26), transparent 32%),
    linear-gradient(135deg, #171717, #743000 58%, #FF7513);
  color: #FFFFFF;
  box-shadow: 0 18px 36px rgba(119, 50, 0, 0.18);
}

.shop-revenue-card > div:first-child {
  min-width: 148px;
  display: grid;
}

.shop-revenue-card span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
}

.shop-revenue-card strong {
  margin-top: 7px;
  color: #FFFFFF;
  font: 700 clamp(29px, 3vw, 40px)/1 "Manrope", sans-serif;
  letter-spacing: -0.06em;
}

.shop-revenue-card small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
}

.shop-revenue-card small b {
  margin-right: 4px;
  color: #EFEFEF;
}

.shop-spark {
  width: min(210px, 46%);
  height: 80px;
  display: flex;
  align-items: end;
  gap: 6px;
  padding-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.shop-spark i {
  width: 100%;
  height: var(--bar);
  display: block;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #E2E2E2, #FFAE74);
  opacity: 0.86;
}

.shop-insight-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr);
  gap: 10px;
  margin-top: 10px;
}

.shop-funnel,
.shop-order-card {
  min-width: 0;
  border: 1px solid rgba(147, 61, 0, 0.07);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
}

.shop-funnel {
  padding: 15px;
}

.shop-funnel > div {
  justify-content: space-between;
  gap: 12px;
}

.shop-funnel > div strong {
  color: #2C2C2C;
  font-size: 10px;
}

.shop-funnel > div em {
  color: #C2410C;
  font: 750 10px/1 "DM Sans", sans-serif;
}

.shop-funnel ol {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.shop-funnel li {
  display: grid;
  grid-template-columns: 68px 1fr 30px;
  gap: 8px;
  color: #7A7A7A;
  font-size: 8px;
}

.shop-funnel li > i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #EDEDED;
}

.shop-funnel li > i b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #C2410C, #FFB27B);
}

.shop-funnel li > em {
  color: #363636;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.shop-order-card {
  display: grid;
  align-content: start;
  padding: 15px;
}

.shop-order-card > span {
  color: #7A7A7A;
  font-size: 8px;
}

.shop-order-card > strong {
  margin-top: 7px;
  color: #242424;
  font: 700 24px/1 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

.shop-order-card > small {
  margin-top: 7px;
  color: #B74C00;
  font-size: 7px;
}

.shop-order-card > div {
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #EEEEEE;
}

.shop-order-card > div > i {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  background:
    linear-gradient(145deg, transparent 42%, rgba(255, 255, 255, 0.45) 43% 57%, transparent 58%),
    linear-gradient(145deg, #FFAD66, #C2410C);
}

.shop-order-card p {
  min-width: 0;
  display: grid;
  gap: 4px;
  margin: 0;
}

.shop-order-card p b {
  overflow: hidden;
  color: #363636;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-order-card p small {
  color: #8C8C8C;
  font-size: 7px;
}

.shop-signal-row {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
}

.shop-signal-row span {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid rgba(147, 61, 0, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.8);
  color: #777777;
  font-size: 7px;
  white-space: nowrap;
}

.shop-signal-row b {
  color: #A74600;
}

.store-health-title,
.cro-chart-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.store-health-title span,
.cro-chart-title span {
  color: #616161;
  font: 700 11px/1 "DM Sans", sans-serif;
}

.store-health-title strong,
.cro-chart-title strong {
  color: #C2410C;
  font: 700 18px/1 "Manrope", sans-serif;
}

.store-health-bars {
  display: grid;
  gap: 19px;
  margin-top: 38px;
}

.store-health-bars > div {
  display: grid;
  grid-template-columns: 125px 1fr 24px;
  gap: 10px;
  align-items: center;
  color: #6D6D6D;
  font-size: 10px;
}

.store-health-bars i {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #EAEAEA;
}

.store-health-bars b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #FF974C, #FFAD66);
}

.store-health-bars em {
  color: #323232;
  font-style: normal;
  font-weight: 700;
}

.store-opportunities {
  margin-top: 42px;
}

.store-opportunities > div {
  width: calc(50% - 5px);
  min-height: 62px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  margin: 4px 2px;
  padding: 12px;
  border-radius: 8px;
  background: #F4F4F4;
  color: #5E5E5E;
  font-size: 10px;
}

.store-opportunities b {
  margin-top: 6px;
  color: #B94D00;
  font-size: 9px;
}

.service-demo-cro {
  padding: 22px;
  border-color: #E5E5E5;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 172, 113, 0.16), transparent 37%),
    radial-gradient(circle at 100% 0, rgba(255, 180, 126, 0.14), transparent 35%),
    #FAFAFA;
  box-shadow: 0 26px 60px rgba(172, 72, 0, 0.11);
}

.cro-dashboard-head,
.cro-dashboard-head > div,
.cro-dashboard-head p,
.cro-lift-card,
.cro-line-key,
.cro-line-key span,
.cro-experiment-list article p {
  display: flex;
  align-items: center;
}

.cro-dashboard-head {
  justify-content: space-between;
  gap: 18px;
}

.cro-dashboard-head > div { display: grid; gap: 5px; }

.cro-dashboard-head > div > span {
  color: #F26500;
  font: 800 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cro-dashboard-head strong {
  color: #202020;
  font: 750 16px/1 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

.cro-dashboard-head p {
  flex: 0 0 auto;
  gap: 6px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(190, 79, 0, 0.14);
  border-radius: 999px;
  background: #F6F6F6;
  color: #A44400;
  font: 750 8px/1 "DM Sans", sans-serif;
  text-transform: uppercase;
}

.cro-dashboard-head p i,
.cro-experiment-list article p span {
  width: 6px;
  height: 6px;
  display: block;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #FF710B;
  box-shadow: 0 0 0 3px rgba(255, 113, 11, 0.13);
}

.cro-lift-card {
  min-height: 232px;
  gap: 20px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #181818, #AA4700 63%, #FF720E);
  box-shadow: 0 16px 30px rgba(150, 63, 0, 0.2);
}

.cro-lift-copy {
  width: 34%;
  min-width: 114px;
  display: grid;
  align-content: center;
  gap: 9px;
}

.cro-lift-copy > span {
  color: rgba(235, 235, 235, 0.7);
  font: 700 8px/1 "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cro-lift-copy strong {
  color: #FFFFFF;
  font: 750 clamp(32px, 4.2vw, 51px)/0.88 "Manrope", sans-serif;
  letter-spacing: -0.09em;
}

.cro-lift-copy small {
  max-width: 120px;
  color: rgba(238, 238, 238, 0.72);
  font-size: 8px;
  line-height: 1.45;
}

.cro-line-panel {
  width: 66%;
  min-width: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 13px 13px 8px;
  border: 1px solid rgba(223, 223, 223, 0.17);
  border-radius: 11px;
  background: rgba(13, 13, 13, 0.2);
}

.cro-line-key {
  justify-content: space-between;
  gap: 8px;
  color: rgba(240, 240, 240, 0.66);
  font: 650 7px/1 "DM Sans", sans-serif;
}

.cro-line-key span { gap: 5px; }

.cro-line-key span i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 2px;
  background: #FFC9A3;
}

.cro-line-key b { font-weight: 600; color: rgba(240, 240, 240, 0.46); }

.cro-line-chart {
  width: 100%;
  height: 142px;
  overflow: visible;
}

.cro-line-grid { fill: none; stroke: rgba(231, 231, 231, 0.14); stroke-width: 1; }
.cro-line-area { fill: url(#croGradient); opacity: 0.5; }
.cro-line-path { fill: none; stroke: #DBDBDB; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cro-line-chart circle { fill: #FFFFFF; stroke: #FFBC8D; stroke-width: 3; }

.cro-line-axis {
  display: flex;
  justify-content: space-between;
  color: rgba(238, 238, 238, 0.5);
  font: 600 6px/1 "DM Sans", sans-serif;
}

.cro-experiment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cro-experiment-list article {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid #E7E7E7;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.cro-experiment-list article p {
  justify-content: space-between;
  gap: 7px;
  margin: 0;
  color: #838383;
  font: 700 7px/1 "DM Sans", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cro-experiment-list article p b {
  padding: 4px 5px;
  border-radius: 4px;
  background: #F4F4F4;
  color: #AA4700;
  font: 800 7px/1 "DM Sans", sans-serif;
}

.cro-experiment-list article:not(.is-winning) p span { background: #FFA96C; box-shadow: 0 0 0 3px rgba(255, 169, 108, 0.12); }
.cro-experiment-list article:not(.is-winning) p b { background: #F0F0F0; color: #FF8229; }

.cro-experiment-list article > strong {
  color: #662B00;
  font: 700 11px/1.15 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.cro-experiment-list article > small {
  color: #7C7C7C;
  font-size: 8px;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .service-demo-cro { padding: 16px; }
  .cro-lift-card { gap: 12px; padding: 15px; }
  .cro-lift-copy { min-width: 96px; }
  .cro-lift-copy strong { font-size: 30px; }
  .cro-line-panel { padding: 10px 8px 7px; }
  .cro-line-chart { height: 120px; }
  .cro-experiment-list { grid-template-columns: 1fr; }
}

.balance-services {
  position: relative;
  padding: clamp(105px, 11vw, 166px) 0;
}

.balance-services::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
  background:
    radial-gradient(ellipse 50% 35% at 6% 52%, rgba(236, 236, 236, 0.72), transparent 72%),
    radial-gradient(ellipse 48% 38% at 88% 55%, rgba(219, 219, 219, 0.68), transparent 72%),
    #FFFFFF;
}

.balance-services-heading {
  max-width: 820px;
  margin: 0 auto 58px;
  text-align: center;
}

.balance-services-heading h2 {
  margin-right: auto;
  margin-left: auto;
}

.balance-services-heading > span {
  max-width: 650px;
  display: block;
  margin: 22px auto 0;
  color: #6B6B6B;
  font-size: 15px;
  line-height: 1.58;
}

.balance-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.balance-services-grid article {
  min-height: 190px;
  position: relative;
  padding: 28px;
  border: 1px solid rgba(153, 64, 0, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 35px rgba(140, 58, 0, 0.05);
}

.balance-services-grid article > span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #C2410C;
  font: 700 10px/1 "DM Sans", sans-serif;
}

.balance-services-grid h3 {
  margin: 45px 0 10px;
  color: #1E1E1E;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.balance-services-grid p {
  max-width: 300px;
  margin: 0;
  color: #6D6D6D;
  font-size: 12px;
  line-height: 1.5;
}

.services-testimonial {
  margin-top: clamp(28px, 3.5vw, 52px);
  margin-bottom: clamp(105px, 12vw, 180px);
  padding: clamp(60px, 8vw, 105px);
  border: 1px solid rgba(177, 74, 0, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 100%, rgba(235, 235, 235, 0.46), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(224, 224, 224, 0.48), transparent 32%),
    #FFFFFF;
  box-shadow: 0 30px 80px rgba(136, 57, 0, 0.08);
  text-align: center;
}

.services-testimonial blockquote {
  max-width: 990px;
  margin: 34px auto 0;
  color: #1D1D1D;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.testimonial-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 36px;
}

.testimonial-person > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFAD66, #C2C2C2);
  color: #222222;
  font: 800 11px/1 "DM Sans", sans-serif;
}

.testimonial-person p {
  display: grid;
  gap: 4px;
  margin: 0;
  text-align: left;
}

.testimonial-person strong {
  color: #292929;
  font-size: 12px;
}

.testimonial-person small {
  color: #858585;
  font-size: 10px;
}

.services-testimonial > a {
  margin-top: 34px;
}

@media (max-width: 1020px) {
  .services-hero-inner,
  .service-stories,
  .balance-services,
  .services-testimonial {
    width: min(900px, calc(100% - 48px));
  }

  .service-story {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .service-story-reverse .service-story-copy,
  .service-story-reverse .service-demo {
    grid-column: auto;
    grid-row: auto;
  }

  .service-story-reverse .service-story-copy {
    order: 1;
  }

  .service-story-reverse .service-demo {
    order: 2;
  }

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

@media (max-width: 740px) {
  .services-hero {
    padding: 150px 0 58px;
  }

  .services-hero-inner,
  .service-stories,
  .balance-services,
  .services-testimonial {
    width: calc(100% - 32px);
  }

  .services-hero h1 {
    font-size: clamp(54px, 15vw, 76px);
  }

  .services-hero-bottom {
    grid-template-columns: 1fr;
  }

  .services-hero-actions {
    flex-wrap: wrap;
  }

  .services-platform-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 58px;
  }

  .service-story {
    grid-template-columns: minmax(0, 1fr);
    padding: 70px 0;
  }

  .service-demo {
    min-height: 420px;
    padding: 20px;
  }

  .balance-services-grid {
    grid-template-columns: 1fr;
  }

  .services-testimonial {
    padding: 54px 24px;
  }
}

@media (max-width: 460px) {
  .services-hero-actions a {
    width: 100%;
  }

  .services-platform-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-roadmap > div {
    grid-template-columns: 104px 1fr;
  }

  .service-roadmap b {
    grid-column: 2;
  }

  .store-health-bars > div {
    grid-template-columns: 100px 1fr 20px;
  }

  .service-demo-shopify {
    padding: 16px;
  }

  .shop-board-head {
    align-items: flex-start;
  }

  .shop-revenue-card {
    align-items: flex-end;
    gap: 12px;
    padding: 18px;
  }

  .shop-spark {
    width: 42%;
    gap: 3px;
  }

  .shop-insight-grid {
    grid-template-columns: 1fr;
  }

  .shop-signal-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cro-results {
    grid-template-columns: 1fr;
  }
}

/* Services hero: moving CMS work wall. */
.services-hero-legacy {
  display: none !important;
}

.services-work-hero {
  min-height: 880px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 0.68fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 7vw, 126px);
  padding: 122px max(36px, calc((100vw - 1280px) / 2)) 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 47%, rgba(238, 99, 0, 0.18), transparent 34%),
    radial-gradient(circle at 13% 86%, rgba(209, 87, 0, 0.16), transparent 34%),
    #030303;
  color: #F9F9F9;
  isolation: isolate;
}

.services-work-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(255, 180, 127, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 180, 127, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(90deg, #000000, rgba(0, 0, 0, 0.3) 55%, transparent);
  mask-image: linear-gradient(90deg, #000000, rgba(0, 0, 0, 0.3) 55%, transparent);
  pointer-events: none;
}

.services-work-intro {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.services-work-intro .services-eyebrow {
  color: #FFC79F;
}

.services-work-intro h1 {
  margin: 24px 0 0;
  color: #FAFAFA;
  font: 700 clamp(54px, 5.6vw, 90px)/0.9 "Manrope", sans-serif;
  letter-spacing: -0.078em;
}

.services-work-intro h1 em {
  display: block;
  margin-top: 0.1em;
  color: #FFC69E;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.services-work-intro > p:not(.services-eyebrow) {
  max-width: 390px;
  margin: 27px 0 0;
  color: rgba(240, 240, 240, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.services-work-intro > a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  padding: 0 18px;
  border-radius: 8px;
  background: #F7F7F7;
  color: #171717;
  font: 700 11px/1 "DM Sans", sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.services-work-intro > a span {
  color: #FF7C1E;
  font-size: 16px;
}

.services-work-wall {
  height: 660px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  align-self: center;
  overflow: hidden;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000000 8%, #000000 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000000 8%, #000000 92%, transparent);
}

.services-work-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  will-change: transform;
}

.services-work-column-up {
  animation: services-card-rise 8.5s ease-in-out infinite alternate;
}

.services-work-column-down {
  animation: services-card-fall 9.8s ease-in-out infinite alternate;
}

.services-work-wall.is-paused .services-work-column {
  animation-play-state: paused;
}

.services-work-card {
  min-height: 256px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(233, 233, 233, 0.14);
  border-radius: 12px;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.25);
}

.services-work-column > .services-work-card:nth-child(2) {
  min-height: 302px;
}

.services-work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.03) 18%, rgba(5, 5, 5, 0.79) 100%);
  pointer-events: none;
}

.work-card-preview {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(135deg, #AF4900, #151515 88%);
}

.work-card-preview::before {
  content: "";
  width: 71%;
  height: 46%;
  position: absolute;
  right: -9%;
  bottom: -11%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50% 50% 0 0;
  transform: rotate(-18deg);
}

.work-card-preview small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font: 700 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.11em;
}

.work-card-preview strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: #FFFFFF;
  font: 700 clamp(27px, 2.4vw, 39px)/0.88 "Manrope", sans-serif;
  letter-spacing: -0.07em;
}

.work-card-preview i {
  height: 6px;
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.52);
}

.work-card-preview i:first-of-type {
  width: 65%;
  margin-top: 16px;
}

.work-card-preview i:nth-of-type(2) {
  width: 44%;
}

.work-card-preview i:nth-of-type(3) {
  width: 29%;
}

.work-card-wordpress .work-card-preview {
  background: linear-gradient(145deg, #C95400, #803500 55%, #111111);
}

.work-card-shopify .work-card-preview {
  background: linear-gradient(145deg, #DB5B00, #843700 53%, #1D1D1D);
}

.work-card-bigcommerce .work-card-preview {
  background: linear-gradient(145deg, #E09638, #8F4321 54%, #171717);
}

.work-card-wix .work-card-preview {
  background: linear-gradient(145deg, #FF7D20, #8B3A00 55%, #0F0F0F);
}

.work-card-webflow .work-card-preview {
  background: linear-gradient(145deg, #EB6200, #B84D00 53%, #171717);
}

.work-card-react .work-card-preview {
  background: linear-gradient(145deg, #FF7F23, #BB4E00 53%, #131313);
}

.work-card-cms {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font: 700 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.work-card-reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 21px;
  background: linear-gradient(145deg, rgba(9, 9, 9, 0.96), rgba(102, 43, 0, 0.94));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 190ms ease, transform 190ms ease;
}

.work-card-reveal small {
  color: #FFC79F;
  font: 700 8px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.1em;
}

.work-card-reveal strong {
  margin: auto 0;
  color: #FFFFFF;
  font: 700 clamp(18px, 1.7vw, 25px)/1 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.work-card-reveal em {
  color: rgba(243, 243, 243, 0.72);
  font: 600 11px/1.38 "DM Sans", sans-serif;
  font-style: normal;
}

.work-card-reveal b {
  margin-left: 5px;
  color: #FFC79F;
  font-size: 14px;
}

.services-work-card:hover .work-card-reveal,
.services-work-card:focus-visible .work-card-reveal {
  opacity: 1;
  transform: translateY(0);
}

.services-work-card:focus-visible {
  outline: 2px solid #CECECE;
  outline-offset: 4px;
}

@keyframes services-card-rise {
  from { transform: translateY(42px); }
  to { transform: translateY(-52px); }
}

@keyframes services-card-fall {
  from { transform: translateY(-54px); }
  to { transform: translateY(43px); }
}

@media (max-width: 1180px) {
  .services-work-hero {
    grid-template-columns: minmax(260px, 0.62fr) minmax(510px, 1fr);
    gap: 38px;
    padding-right: 36px;
    padding-left: 36px;
  }

  .services-work-wall {
    height: 610px;
  }

  .services-work-card {
    min-height: 235px;
  }

  .services-work-column > .services-work-card:nth-child(2) {
    min-height: 277px;
  }
}

@media (max-width: 880px) {
  .services-work-hero {
    min-height: auto;
    display: block;
    padding: 152px 24px 72px;
  }

  .services-work-intro {
    max-width: 650px;
  }

  .services-work-intro h1 {
    max-width: 650px;
  }

  .services-work-wall {
    height: 470px;
    margin-top: 52px;
  }
}

@media (max-width: 600px) {
  .services-work-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .services-work-intro h1 {
    font-size: clamp(47px, 14vw, 68px);
  }

  .services-work-intro > p:not(.services-eyebrow) {
    font-size: 16px;
  }

  .services-work-wall {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .services-work-column {
    gap: 10px;
    animation: none !important;
  }

  .services-work-column-last {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-work-card,
  .services-work-column > .services-work-card:nth-child(2) {
    min-height: 186px;
  }

  .work-card-preview {
    padding: 14px;
  }

  .work-card-preview strong {
    font-size: 26px;
  }

  .work-card-cms {
    top: 10px;
    right: 10px;
    padding: 5px 6px;
    font-size: 7px;
  }

  .work-card-reveal {
    padding: 14px;
  }
}

/* Local services wall: continuous one-way work flow and quiet website previews. */
.services-work-hero {
  min-height: 780px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 28px 72px;
  background: #040404;
}

.services-work-hero::before {
  z-index: 0;
  opacity: 0.38;
  background-size: 76px 76px;
}

.services-wave-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-work-wall {
  --work-gap: 16px;
  width: min(1090px, 100%);
  height: 610px;
  position: relative;
  z-index: 2;
  gap: var(--work-gap);
  margin: 0 auto;
  padding: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000000 5%, #000000 95%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000000 5%, #000000 95%, transparent);
}

.services-work-column {
  height: max-content;
  align-self: start;
  gap: var(--work-gap);
  transform: translate3d(0, 0, 0);
}

.services-work-column-up {
  animation: services-work-flow-up 22s linear infinite;
}

.services-work-column-down {
  animation: services-work-flow-down 26s linear infinite;
}

.services-work-column > .services-work-card:nth-child(even) {
  min-height: 302px;
}

@keyframes services-work-flow-up {
  to { transform: translate3d(0, calc(-50% + (var(--work-gap) / 2)), 0); }
}

@keyframes services-work-flow-down {
  from { transform: translate3d(0, calc(-50% + (var(--work-gap) / 2)), 0); }
  to { transform: translate3d(0, 0, 0); }
}

.services-work-card::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.18));
}

.work-card-preview {
  display: block;
  padding: 11px;
  background: linear-gradient(145deg, #B24A00, #131313 78%);
}

.work-card-preview::before {
  content: none;
}

.work-site-shot {
  min-height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 9px;
  background: #F2F2F2;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.2);
}

.site-shot-top {
  height: 23px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid #E1E1E1;
  background: rgba(255, 255, 255, 0.92);
}

.site-shot-top i {
  width: 5px;
  height: 5px;
  display: block !important;
  margin: 0 !important;
  border-radius: 999px;
  background: #FFBA88;
}

.site-shot-top i:first-child { background: #FFA96B; }

.site-shot-top b {
  width: 39%;
  height: 5px;
  display: block;
  margin-left: auto;
  border-radius: 999px;
  background: #E9E9E9;
}

.site-shot-mark,
.site-shot-title,
.site-shot-copy,
.site-shot-media,
.site-shot-card {
  position: absolute;
  display: block;
}

.site-shot-mark {
  top: 40px;
  left: 15px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #171717;
}

.site-shot-title {
  top: 42px;
  left: 49px;
  width: 38%;
  height: 8px;
  border-radius: 999px;
  background: #1B1B1B;
}

.site-shot-copy {
  top: 59px;
  left: 49px;
  width: 29%;
  height: 5px;
  border-radius: 999px;
  background: #FFB885;
}

.site-shot-copy-short {
  top: 70px;
  left: 15px;
  width: 48%;
  background: #DCDCDC;
}

.site-shot-media {
  right: 13px;
  bottom: 13px;
  left: 13px;
  height: 42%;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(103, 43, 0, 0.14), rgba(29, 29, 29, 0.66)),
    url("../images/richfolds-studio.png") center 46% / cover;
}

.site-shot-card {
  top: 89px;
  left: 15px;
  width: 44%;
  height: 25%;
  border-radius: 7px;
  background: linear-gradient(145deg, #E5E5E5, #FFC9A3);
}

.work-card-wordpress .work-card-preview { background: linear-gradient(145deg, #CD5500, #662B00 76%); }
.work-card-shopify .work-card-preview { background: linear-gradient(145deg, #F86700, #2B2B2B 76%); }
.work-card-bigcommerce .work-card-preview { background: linear-gradient(145deg, #F26D32, #441207 76%); }
.work-card-wix .work-card-preview { background: linear-gradient(145deg, #FF832A, #662B00 76%); }
.work-card-webflow .work-card-preview { background: linear-gradient(145deg, #FF720D, #672B00 76%); }
.work-card-react .work-card-preview { background: linear-gradient(145deg, #FF7614, #682B00 76%); }

.work-card-shopify .site-shot-card { right: 15px; left: auto; width: 34%; border-radius: 999px 999px 7px 7px; background: #E6E6E6; }
.work-card-bigcommerce .site-shot-media { height: 47%; background-position: 35% 50%; }
.work-card-wix .site-shot-mark { border-radius: 50%; background: #FF730F; }
.work-card-webflow .site-shot-card { width: 56%; background: #DADADA; }
.work-card-react .site-shot-media { background-position: 69% 35%; }

.work-card-reveal em {
  display: flex;
  align-items: center;
  gap: 7px;
}

.work-card-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #FFC79F;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card-reveal b { display: none; }

@media (max-width: 880px) {
  .services-work-hero { min-height: 680px; padding-top: 114px; }
  .services-work-wall { height: 500px; }
}

@media (max-width: 600px) {
  .services-work-hero { min-height: auto; padding: 102px 16px 54px; }
  .services-work-wall { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .services-work-column { height: auto; animation: none !important; }
  .services-work-card.is-flow-clone { display: none; }
  .services-work-column > .services-work-card:nth-child(even) { min-height: 186px; }
}

/* Keep this local image mosaic last: it intentionally overrides older card skins. */
.services-work-wall {
  width: min(var(--rf-section-max, 1280px), 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-work-column-last {
  display: flex;
  grid-column: auto;
  grid-template-columns: none;
  animation: services-work-flow-down 26s linear infinite;
}

.services-work-card {
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.work-card-preview {
  padding: 0;
  background-color: #141414;
  background-image:
    linear-gradient(180deg, rgba(7, 7, 7, 0.05) 12%, rgba(7, 7, 7, 0.44) 100%),
    url("../images/services-work-mosaic.png") !important;
  background-size: 100% 100%, 400% 200% !important;
  background-blend-mode: normal;
}

.work-card-wordpress .work-card-preview { background-position: center, 0 0 !important; }
.work-card-shopify .work-card-preview { background-position: center, 33.333% 0 !important; }
.work-card-bigcommerce .work-card-preview { background-position: center, 66.666% 0 !important; }
.work-card-woocommerce .work-card-preview { background-position: center, 100% 0 !important; }
.work-card-wix .work-card-preview { background-position: center, 0 100% !important; }
.work-card-webflow .work-card-preview { background-position: center, 33.333% 100% !important; }
.work-card-react .work-card-preview { background-position: center, 66.666% 100% !important; }
.work-card-custom-cms .work-card-preview { background-position: center, 100% 100% !important; }

@media (max-width: 1080px) {
  .services-work-wall {
    width: min(900px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-work-wall { width: 100%; }
  .services-work-column-last { animation: none !important; }
}

/* Keep this last: split Services hero with text left and moving work right. */
.services-work-hero {
  min-height: 780px;
  display: grid !important;
  grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.22fr) !important;
  align-items: center;
  gap: clamp(52px, 7vw, 118px);
  padding: 112px max(32px, calc((100vw - 1320px) / 2)) 70px !important;
}

.services-work-intro {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 470px;
  margin: 0;
  color: #F9F9F9;
}

.services-work-intro .services-eyebrow {
  margin: 0 0 24px;
  color: #FFB078;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-work-intro h1 {
  max-width: 470px;
  margin: 0 0 26px;
  color: #F9F9F9;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.services-work-intro h1 em {
  color: #FFBD8E;
  font-family: inherit;
  font-style: normal;
}

.services-work-intro > p:not(.services-eyebrow) {
  max-width: 455px;
  margin: 0 0 28px;
  color: rgba(231, 231, 231, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.services-work-intro .services-work-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.services-work-intro .services-work-platforms span {
  border: 1px solid rgba(255, 179, 124, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(237, 237, 237, 0.82);
  background: rgba(30, 30, 30, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-work-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 10px;
  padding: 0 20px;
  color: #0F0F0F;
  background: #FFC59B;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.services-work-intro > a svg { width: 17px; height: 17px; }

.services-work-wall {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end;
  width: 100% !important;
  max-width: 720px;
  height: 610px;
  margin: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 1040px) {
  .services-work-hero {
    grid-template-columns: minmax(280px, 0.82fr) minmax(430px, 1.18fr) !important;
    gap: 38px;
    padding-right: 28px !important;
    padding-left: 28px !important;
  }

  .services-work-wall { height: 540px; }
  .services-work-intro h1 { font-size: clamp(48px, 6vw, 66px); }
}

@media (max-width: 760px) {
  .services-work-hero {
    min-height: auto;
    display: block !important;
    padding: 118px 20px 54px !important;
  }

  .services-work-intro {
    max-width: 620px;
    margin: 0 auto 44px;
    text-align: center;
  }

  .services-work-intro h1,
  .services-work-intro > p:not(.services-eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .services-work-intro .services-work-platforms { justify-content: center; }
  .services-work-wall { max-width: 680px; height: 500px; margin: 0 auto !important; }
}

@media (max-width: 560px) {
  .services-work-intro h1 { font-size: clamp(44px, 14vw, 58px); }
  .services-work-wall { height: auto; }
}

/* Services hero split — final override. */
.services-work-hero {
  min-height: 780px;
  display: grid !important;
  grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.22fr) !important;
  align-items: center;
  gap: clamp(52px, 7vw, 118px);
  padding: 112px max(32px, calc((100vw - 1320px) / 2)) 70px !important;
}

.services-work-intro {
  display: block !important;
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 470px;
  margin: 0;
  color: #F9F9F9;
}

.services-work-intro .services-eyebrow {
  margin: 0 0 24px;
  color: #FFB078;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-work-intro h1 {
  max-width: 470px;
  margin: 0 0 26px;
  color: #F9F9F9;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.services-work-intro h1 em {
  color: #FFBD8E;
  font-family: inherit;
  font-style: normal;
}

.services-work-intro > p:not(.services-eyebrow) {
  max-width: 455px;
  margin: 0 0 28px;
  color: rgba(231, 231, 231, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.services-work-intro .services-work-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.services-work-intro .services-work-platforms span {
  border: 1px solid rgba(255, 179, 124, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(237, 237, 237, 0.82);
  background: rgba(30, 30, 30, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-work-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 10px;
  padding: 0 20px;
  color: #0F0F0F;
  background: #FFC59B;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.services-work-intro > a svg {
  width: 17px;
  height: 17px;
}

.services-work-wall {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 100% !important;
  max-width: 720px;
  height: 610px;
  margin: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 1040px) {
  .services-work-hero {
    grid-template-columns: minmax(280px, 0.82fr) minmax(430px, 1.18fr) !important;
    gap: 38px;
    padding-right: 28px !important;
    padding-left: 28px !important;
  }

  .services-work-wall { height: 540px; }
  .services-work-intro h1 { font-size: clamp(48px, 6vw, 66px); }
}

@media (max-width: 760px) {
  .services-work-hero {
    min-height: auto;
    display: block !important;
    padding: 118px 20px 54px !important;
  }

  .services-work-intro {
    max-width: 620px;
    margin: 0 auto 44px;
    text-align: center;
  }

  .services-work-intro h1,
  .services-work-intro > p:not(.services-eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .services-work-intro .services-work-platforms { justify-content: center; }
  .services-work-wall { max-width: 680px; height: 500px; margin: 0 auto !important; }
}

@media (max-width: 560px) {
  .services-work-intro h1 { font-size: clamp(44px, 14vw, 58px); }
  .services-work-wall { height: auto; }
}

/* Split hero: the service story stays on the left while the work wall flows on the right. */
.services-work-hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(46px, 7vw, 122px);
  padding: 122px max(36px, calc((100vw - 1280px) / 2)) 74px;
}

.services-work-intro {
  display: block;
  position: relative;
  z-index: 3;
  max-width: 435px;
  padding-left: clamp(0px, 2.2vw, 30px);
}

.services-work-intro .services-eyebrow {
  margin: 0;
  color: #FFBE8F;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-work-intro h1 {
  max-width: 430px;
  font-size: clamp(52px, 5vw, 76px);
}

.services-work-intro > a {
  transition: transform 180ms ease, background 180ms ease;
}

.services-work-intro > a:hover {
  background: #FFC79F;
  transform: translateY(-2px);
}

.services-work-intro > a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-work-wall {
  width: 100%;
  height: 590px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  align-self: center;
}

.services-work-column {
  width: 100%;
}

@media (max-width: 1060px) {
  .services-work-hero {
    grid-template-columns: minmax(240px, 0.7fr) minmax(440px, 1.1fr);
    gap: 38px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .services-work-intro { padding-left: 0; }
  .services-work-intro h1 { font-size: clamp(48px, 6.1vw, 65px); }
  .services-work-wall { height: 535px; }
}

@media (max-width: 760px) {
  .services-work-hero {
    min-height: auto;
    display: block;
    padding: 122px 20px 56px;
  }

  .services-work-intro {
    max-width: 560px;
    margin: 0 auto 42px;
  }

  .services-work-intro h1 { font-size: clamp(48px, 12vw, 66px); }
  .services-work-wall { width: 100%; height: 460px; }
}

@media (max-width: 600px) {
  .services-work-platforms { gap: 7px; }
  .services-work-intro > p:not(.services-eyebrow) { font-size: 16px; }
  .services-work-wall { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Authoritative hero composition. */
.services-work-hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(310px, 0.76fr) minmax(560px, 1.24fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: center;
  justify-content: initial;
  padding: 112px max(32px, calc((100vw - var(--rf-section-max, 1280px)) / 2)) 68px;
}

.services-work-intro { display: block; }

.services-work-wall {
  width: min(700px, 100%);
  height: 620px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  margin: 0;
}

@media (max-width: 1080px) {
  .services-work-hero {
    grid-template-columns: minmax(280px, 0.72fr) minmax(470px, 1.08fr);
    gap: 38px;
    padding-right: 30px;
    padding-left: 30px;
  }
  .services-work-wall { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .services-work-hero { min-height: auto; display: block; padding: 132px 24px 64px; }
  .services-work-wall { height: 520px; margin: 50px auto 0; }
}

@media (max-width: 600px) {
  .services-work-hero { padding: 112px 16px 52px; }
  .services-work-wall { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Final services hero layout. Kept last because earlier experiments hide the intro. */
.services-work-hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(310px, 0.76fr) minmax(560px, 1.24fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: center;
  justify-content: initial;
  padding: 112px max(32px, calc((100vw - var(--rf-section-max, 1280px)) / 2)) 68px;
}

.services-work-intro {
  display: block;
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.services-work-intro .services-eyebrow {
  margin: 0;
  color: #FFBF91;
  font: 750 10px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-work-intro h1 {
  max-width: 530px;
  margin: 23px 0 0;
  color: #FAFAFA;
  font: 680 clamp(52px, 5.2vw, 78px)/0.94 "Manrope", sans-serif;
  letter-spacing: -0.072em;
}

.services-work-intro h1 em {
  display: block;
  margin-top: 0.08em;
  color: #FFBE8F;
  font: inherit;
}

.services-work-intro > p:not(.services-eyebrow) {
  max-width: 475px;
  margin: 26px 0 0;
  color: rgba(238, 238, 238, 0.72);
  font-size: 17px;
  line-height: 1.58;
}

.services-work-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.services-work-platforms span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 194, 151, 0.2);
  border-radius: 999px;
  color: rgba(235, 235, 235, 0.84);
  background: rgba(103, 43, 0, 0.35);
  font: 680 9px/1 "DM Sans", sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.services-work-intro > a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 0 19px;
  border-radius: 9px;
  color: #161616;
  background: #F9F9F9;
  font: 720 11px/1 "DM Sans", sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.services-work-intro > a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #FF6A00;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-work-wall {
  width: min(700px, 100%);
  height: 620px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  margin: 0;
}

.services-work-column > .services-work-card,
.services-work-column > .services-work-card:nth-child(even) {
  min-height: 276px;
}

@media (max-width: 1080px) {
  .services-work-hero {
    grid-template-columns: minmax(280px, 0.72fr) minmax(470px, 1.08fr);
    gap: 38px;
    padding-right: 30px;
    padding-left: 30px;
  }
  .services-work-wall { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .services-work-hero { min-height: auto; display: block; padding: 132px 24px 64px; }
  .services-work-intro { max-width: 650px; margin: 0 auto; text-align: center; }
  .services-work-intro h1,
  .services-work-intro > p:not(.services-eyebrow) { margin-right: auto; margin-left: auto; }
  .services-work-platforms { justify-content: center; }
  .services-work-wall { height: 520px; margin: 50px auto 0; }
}

@media (max-width: 600px) {
  .services-work-hero { padding: 112px 16px 52px; }
  .services-work-intro h1 { font-size: clamp(47px, 14vw, 64px); }
  .services-work-intro > p:not(.services-eyebrow) { font-size: 16px; }
  .services-work-wall { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-work-column > .services-work-card,
  .services-work-column > .services-work-card:nth-child(even) { min-height: 188px; }
}

/* Services hero: copy on the left, two uninterrupted work streams on the right. */
.services-work-hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(310px, 0.76fr) minmax(560px, 1.24fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: center;
  padding: 112px max(32px, calc((100vw - var(--rf-section-max, 1280px)) / 2)) 68px;
}

.services-work-intro {
  display: block;
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.services-work-intro .services-eyebrow {
  margin: 0;
  color: #FFBF91;
  font: 750 10px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-work-intro h1 {
  max-width: 530px;
  margin: 23px 0 0;
  color: #FAFAFA;
  font: 680 clamp(52px, 5.2vw, 78px)/0.94 "Manrope", sans-serif;
  letter-spacing: -0.072em;
}

.services-work-intro h1 em {
  display: block;
  margin-top: 0.08em;
  color: #FFBE8F;
  font: inherit;
}

.services-work-intro > p:not(.services-eyebrow) {
  max-width: 475px;
  margin: 26px 0 0;
  color: rgba(238, 238, 238, 0.72);
  font-size: 17px;
  line-height: 1.58;
}

.services-work-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.services-work-platforms span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 194, 151, 0.2);
  border-radius: 999px;
  color: rgba(235, 235, 235, 0.84);
  background: rgba(103, 43, 0, 0.35);
  font: 680 9px/1 "DM Sans", sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.services-work-intro > a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 0 19px;
  border-radius: 9px;
  color: #161616;
  background: #F9F9F9;
  font: 720 11px/1 "DM Sans", sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.services-work-intro > a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #FF6A00;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-work-intro > a:hover {
  background: #EAEAEA;
  transform: translateY(-2px);
}

.services-work-wall {
  width: min(700px, 100%);
  height: 620px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  margin: 0;
}

.services-work-column > .services-work-card,
.services-work-column > .services-work-card:nth-child(even) {
  min-height: 276px;
}

@media (max-width: 1080px) {
  .services-work-hero {
    grid-template-columns: minmax(280px, 0.72fr) minmax(470px, 1.08fr);
    gap: 38px;
    padding-right: 30px;
    padding-left: 30px;
  }

  .services-work-wall {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .services-work-hero {
    min-height: auto;
    display: block;
    padding: 132px 24px 64px;
  }

  .services-work-intro {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
  }

  .services-work-intro h1,
  .services-work-intro > p:not(.services-eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .services-work-platforms { justify-content: center; }
  .services-work-wall { height: 520px; margin: 50px auto 0; }
}

@media (max-width: 600px) {
  .services-work-hero { padding: 112px 16px 52px; }
  .services-work-intro h1 { font-size: clamp(47px, 14vw, 64px); }
  .services-work-intro > p:not(.services-eyebrow) { font-size: 16px; }
  .services-work-wall { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-work-column > .services-work-card,
  .services-work-column > .services-work-card:nth-child(even) { min-height: 188px; }
}

/* WordPress build demo: a compact, familiar WP-admin analytics dashboard. */
@font-face {
  font-family: "Dashicons";
  src: url("../fonts/dashicons.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.service-demo-wordpress {
  min-height: 462px;
  padding: 0;
  overflow: hidden;
  border-color: #E5E5E5;
  border-radius: 22px;
  background: #F4F4F4;
  box-shadow: 0 26px 58px rgba(106, 44, 0, 0.1);
}

.wp-dashboard-shell {
  min-height: 462px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  background: #F7F7F7;
}

.wp-dashboard-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 8px;
  background: #1D1D1D;
  color: rgba(255, 255, 255, 0.82);
}

.wp-rail-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin: 0 0 16px 4px;
  border-radius: 50%;
  overflow: hidden;
  background: #1D1D1D;
}

.wp-rail-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.wp-rail-item {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.wp-rail-item .dashicons {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 12px;
  font-family: "Dashicons";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  speak: never;
}

.dashicons:before { display: inline-block; }
.dashicons-dashboard:before { content: "\f226"; }
.dashicons-admin-post:before { content: "\f109"; }
.dashicons-admin-media:before { content: "\f104"; }
.dashicons-admin-page:before { content: "\f105"; }
.dashicons-admin-plugins:before { content: "\f106"; }
.dashicons-admin-generic:before { content: "\f111"; }

.wp-rail-item b {
  font: 600 8px/1 "DM Sans", sans-serif;
  letter-spacing: -0.02em;
}

.wp-rail-item.is-active {
  background: #FF7E22;
  color: #FFFFFF;
}

.wp-dashboard-stage {
  min-width: 0;
  padding: 16px 18px 18px;
  background: #F8F8F8;
}

.wp-dashboard-toolbar,
.wp-dashboard-title,
.wp-dashboard-tabs,
.wp-dashboard-report,
.wp-traffic-summary,
.wp-channel-tabs,
.wp-channel-report p {
  display: flex;
}

.wp-dashboard-toolbar {
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #E3E3E3;
}

.wp-dashboard-toolbar strong {
  color: #242424;
  font: 700 15px/1 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

.wp-dashboard-toolbar span {
  color: #787878;
  font: 600 8px/1 "DM Sans", sans-serif;
}

.wp-dashboard-title {
  display: block;
  margin-top: 15px;
}

.wp-dashboard-title p {
  margin: 0;
  color: #202020;
  font: 700 16px/1.08 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.wp-dashboard-title small {
  display: block;
  margin-top: 6px;
  color: #797979;
  font-size: 8px;
}

.wp-dashboard-tabs {
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 13px;
  flex-wrap: wrap;
  overflow: visible;
}

.wp-dashboard-tabs span {
  min-height: 24px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 0 6px;
  border: 1px solid #E4E4E4;
  border-radius: 999px;
  background: #FFFFFF;
  color: #712F00;
  font: 650 6.6px/1 "DM Sans", sans-serif;
}

.wp-dashboard-tabs span i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 2px;
  background: #636363;
}

.wp-dashboard-tabs span.is-active {
  border-color: #DFDFDF;
  background: #F2F2F2;
  color: #FF7E22;
}

.wp-dashboard-tabs span.is-active i { background: #FF7E22; }

.wp-dashboard-report {
  min-height: 235px;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(132px, 0.95fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  background: #FFFFFF;
}

.wp-traffic-report {
  width: auto;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.wp-traffic-summary {
  display: grid;
}

.wp-traffic-summary span {
  color: #707070;
  font-size: 8px;
}

.wp-traffic-summary strong {
  margin-top: 5px;
  color: #232323;
  font: 700 31px/0.9 "Manrope", sans-serif;
  letter-spacing: -0.075em;
}

.wp-traffic-summary small {
  margin-top: 8px;
  color: #B94D00;
  font-size: 7px;
}

.wp-traffic-graph {
  width: 100%;
  height: 118px;
  margin-top: 9px;
  overflow: visible;
}

.wp-graph-grid {
  fill: none;
  stroke: #EBEBEB;
  stroke-width: 1;
}

.wp-graph-line {
  fill: none;
  stroke: #B44B00;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.wp-channel-report {
  width: auto;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-left: 4px;
}

.wp-channel-tabs {
  justify-content: flex-end;
  gap: 13px;
  white-space: nowrap;
  color: #7D7D7D;
  font: 600 7px/1 "DM Sans", sans-serif;
}

.wp-channel-tabs .is-active {
  padding-bottom: 5px;
  border-bottom: 2px solid #B74C00;
  color: #A44400;
}

.wp-channel-chart {
  width: min(126px, 100%);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  margin: 13px auto 4px;
  border-radius: 50%;
  background: conic-gradient(#FFCF73 0 69%, #FFA667 69% 84%, #FFC69D 84% 92%, #FFAC71 92% 100%);
}

.wp-channel-chart::after {
  content: "";
  width: 59%;
  aspect-ratio: 1;
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
}

.wp-channel-chart span {
  position: relative;
  z-index: 1;
  color: #6D6D6D;
  font: 600 8px/1.2 "DM Sans", sans-serif;
  text-align: center;
}

.wp-channel-report p {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  align-items: center;
  column-gap: 7px;
  row-gap: 4px;
  margin: 0;
  color: #757575;
  font-size: 5.8px;
  white-space: normal;
}

.wp-channel-report p span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.wp-channel-report p i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #FFCF73;
}

.wp-channel-report p span:nth-child(2) i { background: #FFA667; }
.wp-channel-report p span:nth-child(3) i { background: #FFC69D; }
.wp-channel-report p span:nth-child(4) i { background: #FFAC71; }

@media (max-width: 620px) {
  .service-demo-wordpress,
  .wp-dashboard-shell { min-height: 410px; }
  .wp-dashboard-shell { grid-template-columns: 48px minmax(0, 1fr); }
  .wp-dashboard-rail { align-items: center; padding: 12px 5px; }
  .wp-rail-mark { width: 24px; height: 24px; margin: 0 0 10px; }
  .wp-rail-item { width: 32px; justify-content: center; padding: 0; }
  .wp-rail-item b { display: none; }
  .wp-dashboard-stage { padding: 13px; }
  .wp-dashboard-report { min-height: 0; padding: 10px; grid-template-columns: minmax(0, 1fr) minmax(104px, 0.92fr); gap: 8px; }
  .wp-traffic-summary strong { font-size: 30px; }
  .wp-traffic-graph { height: 98px; }
  .wp-channel-tabs { gap: 8px; font-size: 6px; }
  .wp-channel-chart { width: min(110px, 100%); margin-top: 10px; }
  .wp-channel-report p { grid-template-columns: 1fr; justify-content: start; font-size: 5.4px; }
}

/* Image-led four-column work mosaic. Details stay out of view until hover. */
.services-work-hero {
  padding-right: 28px;
  padding-left: 28px;
}

.services-work-wall {
  width: min(var(--rf-section-max, 1280px), 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-work-column-last {
  display: flex;
  grid-column: auto;
  grid-template-columns: none;
}

.services-work-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #030303;
}

.work-card-preview {
  padding: 0;
  background-color: #141414;
  background-image:
    linear-gradient(180deg, rgba(7, 7, 7, 0.05) 12%, rgba(7, 7, 7, 0.44) 100%),
    url("../images/services-work-mosaic.png");
  background-position: center, 0 0;
  background-size: 100% 100%, 400% 200%;
}

.work-site-shot { display: none; }

.work-card-wordpress .work-card-preview { background-position: center, 0 0; }
.work-card-shopify .work-card-preview { background-position: center, 33.333% 0; }
.work-card-bigcommerce .work-card-preview { background-position: center, 66.666% 0; }
.work-card-woocommerce .work-card-preview { background-position: center, 100% 0; }
.work-card-wix .work-card-preview { background-position: center, 0 100%; }
.work-card-webflow .work-card-preview { background-position: center, 33.333% 100%; }
.work-card-react .work-card-preview { background-position: center, 66.666% 100%; }
.work-card-custom-cms .work-card-preview { background-position: center, 100% 100%; }

.services-work-card::after {
  background: linear-gradient(180deg, rgba(4, 4, 4, 0.02), rgba(4, 4, 4, 0.5));
}

.work-card-reveal {
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.55), rgba(8, 8, 8, 0.94));
  transform: scale(0.985);
  transition: opacity 190ms ease, transform 190ms ease;
}

.services-work-card:hover .work-card-reveal,
.services-work-card:focus-visible .work-card-reveal {
  transform: scale(1);
}

@media (max-width: 1080px) {
  .services-work-wall {
    width: min(900px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-work-hero { padding-right: 16px; padding-left: 16px; }
  .services-work-wall { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .services-work-column {
    animation: none !important;
  }
}

/* Reference-style work wall: no visible title until a card is inspected. */
.services-work-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 36px 60px;
}

.services-work-intro {
  display: none;
}

.services-work-wall {
  width: min(1090px, 100%);
  height: 610px;
  margin: 0 auto;
}

.work-card-preview {
  background-image:
    linear-gradient(145deg, rgba(18, 18, 18, 0.22), rgba(5, 5, 5, 0.46)),
    url("../images/richfolds-studio.png");
  background-size: cover;
  background-blend-mode: multiply, normal;
}

.work-card-preview small,
.work-card-preview strong,
.work-card-preview i,
.work-card-cms {
  display: none;
}

.work-card-wordpress .work-card-preview {
  background-position: 67% 37%;
  background-color: #F66700;
}

.work-card-shopify .work-card-preview {
  background-position: 32% 61%;
  background-color: #C15000;
}

.work-card-bigcommerce .work-card-preview {
  background-position: 72% 76%;
  background-color: #A74B26;
}

.work-card-wix .work-card-preview {
  background-position: 26% 22%;
  background-color: #DC5C00;
}

.work-card-webflow .work-card-preview {
  background-position: 83% 27%;
  background-color: #BF5000;
}

.work-card-react .work-card-preview {
  background-position: 52% 48%;
  background-color: #B94D00;
}

@media (max-width: 880px) {
  .services-work-hero {
    min-height: 670px;
    padding-top: 116px;
  }

  .services-work-wall {
    height: 500px;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .services-work-hero {
    min-height: auto;
    padding: 104px 16px 52px;
  }

  .services-work-wall {
    height: auto;
  }
}

/* Final local-only wall override: the running work grid stays visual until hovered. */
.services-work-hero {
  min-height: 780px;
  padding: 112px 28px 72px;
  background: #040404;
}

.services-work-intro { display: none; }

.services-work-hero::before { z-index: 0; opacity: 0.38; }

.services-wave-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-work-wall {
  --work-gap: 16px;
  width: min(1090px, 100%);
  height: 610px;
  position: relative;
  z-index: 2;
  gap: var(--work-gap);
  margin: 0 auto;
  padding: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000000 5%, #000000 95%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000000 5%, #000000 95%, transparent);
}

.services-work-column {
  height: max-content;
  align-self: start;
  gap: var(--work-gap);
}

.services-work-column-up { animation: services-work-flow-up 22s linear infinite; }
.services-work-column-down { animation: services-work-flow-down 26s linear infinite; }
.services-work-column > .services-work-card:nth-child(even) { min-height: 302px; }

.work-card-preview {
  display: block;
  padding: 11px;
  background-image: none;
  background-blend-mode: normal;
}

.work-card-preview::before { content: none; }
.work-card-preview small,
.work-card-preview strong,
.work-card-cms { display: none; }

.work-card-wordpress .work-card-preview { background: linear-gradient(145deg, #CD5500, #662B00 76%); }
.work-card-shopify .work-card-preview { background: linear-gradient(145deg, #F86700, #2B2B2B 76%); }
.work-card-bigcommerce .work-card-preview { background: linear-gradient(145deg, #F26D32, #441207 76%); }
.work-card-wix .work-card-preview { background: linear-gradient(145deg, #FF832A, #662B00 76%); }
.work-card-webflow .work-card-preview { background: linear-gradient(145deg, #FF720D, #672B00 76%); }
.work-card-react .work-card-preview { background: linear-gradient(145deg, #FF7614, #682B00 76%); }

.site-shot-top i {
  display: block !important;
  margin: 0 !important;
}

.services-work-card::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.18));
}

@media (max-width: 880px) {
  .services-work-hero { min-height: 680px; padding-top: 114px; }
  .services-work-wall { height: 500px; }
}

@media (max-width: 600px) {
  .services-work-hero { min-height: auto; padding: 102px 16px 54px; }
  .services-work-wall { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .services-work-column { height: auto; animation: none !important; }
  .services-work-card.is-flow-clone { display: none; }
  .services-work-column > .services-work-card:nth-child(even) { min-height: 186px; }
}

/* Local mosaic final layer — deliberately last so legacy visual skins cannot replace it. */
.services-work-wall {
  width: min(var(--rf-section-max, 1280px), 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-work-column-last {
  display: flex;
  grid-column: auto;
  grid-template-columns: none;
  animation: services-work-flow-down 26s linear infinite;
}

.services-work-card {
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.work-card-preview {
  padding: 0;
  background-color: #141414;
  background-image:
    linear-gradient(180deg, rgba(7, 7, 7, 0.05) 12%, rgba(7, 7, 7, 0.44) 100%),
    url("../images/services-work-mosaic.png") !important;
  background-size: 100% 100%, 400% 200% !important;
  background-blend-mode: normal;
}

.work-card-wordpress .work-card-preview { background-position: center, 0 0 !important; }
.work-card-shopify .work-card-preview { background-position: center, 33.333% 0 !important; }
.work-card-bigcommerce .work-card-preview { background-position: center, 66.666% 0 !important; }
.work-card-woocommerce .work-card-preview { background-position: center, 100% 0 !important; }
.work-card-wix .work-card-preview { background-position: center, 0 100% !important; }
.work-card-webflow .work-card-preview { background-position: center, 33.333% 100% !important; }
.work-card-react .work-card-preview { background-position: center, 66.666% 100% !important; }
.work-card-custom-cms .work-card-preview { background-position: center, 100% 100% !important; }

@media (max-width: 1080px) {
  .services-work-wall {
    width: min(900px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-work-wall { width: 100%; }
  .services-work-column-last { animation: none !important; }
}
