/* Branding gradient compositions; shared colors carry no stop positions. */
.page-branding-redesign:not(.page-ai-workflow) .bg-home-gradient.is-branding {
  background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) 46%, var(--grey-light) 52.9%);
}

.page-branding-redesign:not(.page-ai-workflow) .bg-home-gradient.padding-top-80.is3 {
  background-image: linear-gradient(var(--gradient-navy) 48%, var(--gradient-blue) 80%, var(--grey-light) 95%);
}

/* Branding holds navy one screen longer, past the reasons block (Andrew, 2026-10-28). */
.page-branding-redesign:not(.page-ai-workflow) .bg-home-gradient.padding-top-80.mod--branding {
  background-image: linear-gradient(var(--gradient-navy) calc(48% + 100vh), var(--gradient-blue) 80%, var(--grey-light) 95%);
}

@media screen and (max-width: 991px) {
  .page-branding-redesign:not(.page-ai-workflow) .bg-home-gradient.is-branding {
    background-image: linear-gradient(var(--gradient-navy) 21%, var(--gradient-blue) 65%, var(--grey-light) 88.9%);
  }
}

@media screen and (max-width: 767px) {
  .page-branding-redesign:not(.page-ai-workflow) .bg-home-gradient.is-branding {
    background-image: linear-gradient(var(--gradient-navy) 21%, var(--gradient-blue) 72%, var(--grey-light) 78.9%);
  }
}

/* Hero component style owner: css/components.css. Existing page composition remains here. */
/* Branding page hero: uses shared layout, button and starfield primitives. */

.w-mod-js .page-branding-redesign [data-gsap-line],
.w-mod-js .page-branding-redesign [data-gsap-blur],
.w-mod-js .page-branding-redesign .line {
  opacity: 0;
}

.cursor-move {
  width: 9.25rem !important;
  height: 9.25rem !important;
}


.page-branding-redesign .branding-hero__title {
  max-width: 58rem;
  margin: 0;
  color: var(--white);
  font-weight: 500;
  letter-spacing: -.08rem;
}


@media screen and (min-width: 992px) {
  .page-branding .services-scroll.is--dark { padding-top: calc(var(--space-section-major) - 8rem); }
  .page-branding .hero-branding > .container.is--labeled .branding-hero__title {
    max-width: 52rem;
  }

  .page-branding[data-mobile-layout="2026"] .section.mod--branding-evolution .branding-evolution__title {
    margin-top: var(--40);
  }

  .page-branding[data-mobile-layout="2026"] main .values-ico__wrap a[data-link-underline]::before {
    transform: scaleX(0);
    transition: transform .5s cubic-bezier(.14, 0, 0, 1.01);
  }

  .page-branding[data-mobile-layout="2026"] main .values-ico__wrap a[data-link-underline]:hover::before {
    transform: scaleX(1);
    animation: none;
  }

  .page-branding-redesign.page-branding .bg-home-gradient.padding-top-80.is3 {
    background-image: linear-gradient(var(--gradient-navy) 65%, var(--gradient-blue) 85%, var(--grey-light) 98%);
  }

  .page-branding-redesign.page-product-design .hero-branding > .container.is--labeled .branding-hero__title {
    max-width: 58rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-branding .services-scroll.is--dark { padding-top: calc(var(--112) - 5.5rem); padding-bottom: 0; }
  .page-branding[data-mobile-layout="2026"] .section.mod--choose { padding-top: var(--112); }
  .page-branding[data-mobile-layout="2026"] .section.mod--success { padding-bottom: 0; }
  .page-branding[data-mobile-layout="2026"] .section.mod--faq-custom { padding-top: var(--112); }
  .page-branding .hero-branding > .container.is--labeled .branding-hero__title { max-width: 36rem; }
  .page-branding[data-mobile-layout="2026"] .section.mod--values { padding-bottom: 0; }
  .page-branding[data-mobile-layout="2026"] .section.mod--branding-evolution { padding-top: var(--112, 7rem); }
  .page-branding[data-mobile-layout="2026"] .section.mod--branding-evolution .branding-evolution__title { margin-top: var(--32); }
  .page-branding .services-scroll__title { max-width: 37rem; }
  .page-branding .container.mod--branding-faq .h2 { max-width: 34rem; margin-inline: auto; }
}

@media screen and (max-width: 991px) {
  .page-branding[data-mobile-layout="2026"] main .values-ico__wrap a[data-link-underline]::before { display: none; }
}

@media screen and (max-width: 767px) {
  .page-branding[data-mobile-layout="2026"] .services-scroll.is--dark { padding-top: 0; padding-bottom: 0; }
  .page-branding[data-mobile-layout="2026"] .section.mod--choose { padding-top: var(--80); }
  .page-branding[data-mobile-layout="2026"] .section.mod--success { padding-bottom: 0; }
  .page-branding-redesign.page-branding[data-mobile-layout="2026"] .section.mod--faq-custom { padding-top: var(--80); }
}

@media (prefers-reduced-motion: reduce) {
  .w-mod-js .page-branding-redesign [data-gsap-line],
  .w-mod-js .page-branding-redesign [data-gsap-blur],
  .w-mod-js .page-branding-redesign .line {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile 2026: shared profile, with the branding hero's own copy and actions. */
@media screen and (max-width: 767px) {


  .page-branding-redesign[data-mobile-layout="2026"] .section.mod--showreel {
    padding-bottom: 2.5rem;
  }

  .page-branding-redesign[data-mobile-layout="2026"]:not(.page-ai-workflow) .bg-home-gradient.is-branding {
    background-image: linear-gradient(var(--gradient-navy) 0%, #0c3272 43.31%, var(--gradient-blue) 71.58%, var(--grey-light) 80.6%);
  }

  .page-branding-redesign[data-mobile-layout="2026"]:not(.page-ai-workflow) .bg-home-gradient.is3 {
    background-image: linear-gradient(var(--gradient-navy) 42.14%, var(--gradient-blue) 71.52%, #f8f9fd 94.38%);
    padding-top: 5rem;
  }


}

/* Staging auto-alignment: the light stop follows the Services content edge.
   Page composition stays here; Evolution owns no page background. */
.page-branding-redesign:not(.page-branding-service):not(.page-ai-workflow) .bg-home-gradient.is-branding[data-services-gradient-aligned] {
  background-image: linear-gradient(
    var(--gradient-navy) 4%,
    var(--gradient-blue) var(--services-gradient-blue-stop),
    var(--grey-light) var(--services-gradient-light-stop)
  );
}

.page-branding-redesign.page-branding .bg-home-gradient.is-branding[data-services-gradient-aligned] {
  background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) calc(var(--services-gradient-light-stop) - 32rem), var(--grey-light) var(--services-gradient-light-stop));
}

/* Product Design continues the Signs fade into the upper Approach spacing. */
.page-branding-redesign.page-product-design:not(.page-branding-service):not(.page-ai-workflow) .bg-home-gradient.is-branding {
  background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) calc(100% - 25rem), var(--grey-light) calc(100% + 15rem));
}

/* Match color stops across wrappers independently of accordion height. */
.page-branding-redesign.page-product-design:not(.page-branding-service):not(.page-ai-workflow) .bg-home-gradient.is-branding + .bg-color-grey {
  background-image: linear-gradient(var(--gradient-blue) -25rem, var(--grey-light) 15rem);
}

/* Existing staging service compositions. Automatic Services alignment above
   remains primary; these percentages are the unmeasured fallback only. */
@media screen and (min-width: 992px) {
  .page-branding-redesign:is(.page-rebranding-redesign, .page-software-product-redesign) .bg-home-gradient.is-branding {
    background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) 41%, var(--grey-light) 45.9%);
  }
}

/* A service composition without the carousel returns to navy. Keep these
   route contexts separate from the reference Branding / AI fallback fixtures. */
:is(.page-cms-development-redesign, .page-mvp-development-redesign,
  .page-rebranding-redesign, .page-software-product-redesign,
  .page-ui-ux-audit-redesign, .page-web-development-redesign,
  .page-mobile-app-design-redesign, .page-web-redesign-redesign,
  .page-website-design-redesign) .bg-home-gradient.is-branding:not(:has(.section.mod--services-scroll)) {
  background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) 58%, var(--gradient-navy) 100%);
}

@media screen and (max-width: 991px) {
  :is(.page-cms-development-redesign, .page-mvp-development-redesign,
  .page-rebranding-redesign, .page-software-product-redesign,
  .page-ui-ux-audit-redesign, .page-web-development-redesign,
  .page-mobile-app-design-redesign, .page-web-redesign-redesign,
  .page-website-design-redesign) .bg-home-gradient.is-branding:not(:has(.section.mod--services-scroll)) {
    background-image: linear-gradient(var(--gradient-navy) 21%, var(--gradient-blue) 68%, var(--gradient-navy) 100%);
  }
}

@media screen and (max-width: 767px) {
  :is(.page-cms-development-redesign, .page-mvp-development-redesign,
  .page-rebranding-redesign, .page-software-product-redesign,
  .page-ui-ux-audit-redesign, .page-web-development-redesign,
  .page-mobile-app-design-redesign, .page-web-redesign-redesign,
  .page-website-design-redesign) .bg-home-gradient.is-branding:not(:has(.section.mod--services-scroll)) {
    background-image: linear-gradient(var(--gradient-navy) 21%, var(--gradient-blue) 72%, var(--gradient-navy) 100%);
  }
}

/* Product Design reuses AI Workflow's continuous three-color transition.
   Hold navy through the Love letters entrance, blue at the FAQ heading,
   and the shared light surface by the discussion copy. */
.page-branding-redesign.page-product-design .bg-home-gradient.padding-top-80.is3 {
  background-image: linear-gradient(var(--gradient-navy) 60%, var(--gradient-blue) 80%, var(--grey-light) 95%);
}

.page-product-design .bg-home-gradient.mod--discuss {
  background-image: none;
  background-color: transparent;
}

@media screen and (max-width: 991px) {
  .page-branding-redesign.page-product-design .bg-home-gradient.padding-top-80.is3 {
    background-image: linear-gradient(var(--gradient-navy) 44%, var(--gradient-blue) 75%, var(--grey-light) 95%);
  }
}

@media screen and (max-width: 767px) {
  .page-branding-redesign.page-product-design .bg-home-gradient.padding-top-80.is3 {
    background-image: linear-gradient(var(--gradient-navy) 45%, var(--gradient-blue) 75%, var(--grey-light) 95%);
  }
}

/* Approved Product Design desktop heading wraps and 180-unit section gaps. */
@media screen and (min-width: 992px) {
  .page-product-design #reasons .h2,
  .page-product-design #related-blogs .related-blog__title {
    max-width: 48rem;
  }

  /* Approach contributes 80; Services supplies the remaining 100. */
  .page-product-design #product-design-services {
    padding-top: calc(var(--space-section-major) - var(--80));
  }

  /* FAQ contributes 100; Blog supplies the remaining 80. */
  .page-product-design #related-blogs {
    padding-bottom: var(--80);
  }
}

/* Product Design review caption: only the review count links to Clutch. */
.product-design-review-link {
  color: inherit;
  text-decoration: none;
}

/* Product Design: approved tablet/mobile composition comments, 2026-10-27. */
@media screen and (max-width: 991px) {
  .page-branding-redesign.page-product-design:not(.page-branding-service):not(.page-ai-workflow) .bg-home-gradient.is-branding {
    background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) calc(100% - 28rem), var(--grey-light) calc(100% + 12rem));
  }
  .page-branding-redesign.page-product-design:not(.page-branding-service):not(.page-ai-workflow) .bg-home-gradient.is-branding + .bg-color-grey {
    background-image: linear-gradient(var(--gradient-blue) -28rem, var(--grey-light) 12rem);
  }
  /* Approach already contributes 80 units to this combined section gap. */
  .page-product-design .section[aria-labelledby="product-design-services-title"] {
    padding-top: calc(var(--space-section-major) - var(--80));
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  /* The Values section supplies 4rem of the 7rem gap to the illustration. */
  .page-product-design .section[aria-labelledby="branding-evolution-title"] {
    padding-top: var(--48);
  }
  .page-product-design .branding-evolution__title {
    max-width: 23rem;
    margin-top: var(--48);
  }
  /* Process and Numbers/FAQ already contribute 5.5rem and 3.5rem respectively. */
  .page-product-design .section[aria-labelledby="product-design-industries-title"] {
    padding-top: calc(var(--space-section-major) - 5.5rem);
  }
  .page-product-design .related-blog {
    padding-top: var(--56);
    padding-bottom: var(--56);
  }
  .page-product-design .hero-branding__lead {
    width: 20rem;
    max-width: calc(100% - 17rem);
  }
  .page-product-design .ai-workflow-steps__title {
    max-width: 32rem;
  }
  .page-product-design .services-scroll__title {
    max-width: 36.5rem;
  }
  .page-product-design .section.is--dark .services-scroll__title {
    max-width: 31rem;
  }
  .page-product-design .related-blog__title {
    max-width: 31rem;
  }
  .page-product-design .container.mod--branding-faq .h2 {
    max-width: 34rem;
    margin-inline: auto;
  }
  /* The lower gradient wrapper supplies the first 32 units on tablet. */
  .page-branding-redesign.page-product-design .section.mod--process {
    padding-top: calc(var(--space-section-major) - var(--32));
  }
}
@media screen and (max-width: 767px) {
  .page-product-design .hero-branding__lead {
    width: 18rem;
    max-width: 100%;
  }
  .page-product-design .ai-workflow-step__number,
  .page-product-design .ai-workflow-step__dot {
    display: none;
  }
  .page-product-design .ai-workflow-step__toggle[aria-expanded="true"] .ai-workflow-step__number {
    display: inline;
  }
  .page-product-design .section.is--dark {
    /* Process already supplies the full major gap above Industries. */
    padding-top: 0;
    padding-bottom: var(--space-section-major);
  }
  .page-product-design .related-blog {
    padding-bottom: 0;
  }
  .page-branding-redesign.page-product-design[data-mobile-layout="2026"] .section.mod--faq-custom {
    padding-top: var(--space-section-major);
  }
  .page-product-design .container.mod--branding-faq .h2 {
    max-width: 18rem;
  }
}

/* Development keeps Process, Stack and AI navy; later wrappers own the fades. */
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .bg-home-gradient.padding-top-80.is3 {
  background-image: none;
  background-color: var(--gradient-navy);
}



@media screen and (min-width: 992px) {
  .page-product-development .section.mod--choose .h2 {
    max-width: 48rem;
  }
  .page-product-development .new-discuss__text {
    max-width: 33rem;
  }
  /* Services contributes 80; Collaboration supplies the rest of the 180 gap. */
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .collaboration-scenarios {
    padding-top: calc(var(--space-section-major) - var(--80));
  }
}

/* Development spacing: count adjacent sections as one gap, not two.
   Classes own styling; unique section IDs remain navigation/ARIA targets only. */
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .collaboration-scenarios {
  padding-bottom: var(--64);
}

.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .developer-team {
  /* Process already contributes its existing 8rem bottom padding. */
  padding-top: calc(var(--space-section-major) - 8rem);
  /* The following AI carousel supplies the complete major gap. */
  padding-bottom: 0;
}

@media screen and (max-width: 991px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .developer-team {
    padding-top: calc(var(--space-section-major) - 5.5rem);
  }
}

@media screen and (max-width: 767px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .developer-team {
    /* Mobile Process supplies the complete major gap below pagination. */
    padding-top: 0;
  }
}

/* Reuse the carousel's measured Branding transition: blue reviews, light Services. */
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .bg-home-gradient.is-branding[data-services-gradient-aligned] {
  background-image: linear-gradient(var(--gradient-navy) 4%, var(--gradient-blue) calc(var(--services-gradient-light-stop) - 40rem), var(--grey-light) var(--services-gradient-light-stop));
}

/* Approved Development-only mobile wrapping for document-owned deliverables. */
@media screen and (max-width: 767px) {
  .page-product-development .section.mod--process .swiper-process__timeline-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    text-align: left;
    white-space: normal;
  }
}

/* Approved six-stage Development CTA; other Process consumers retain five stages. */
@media screen and (min-width: 768px) {
  .page-product-development .section.mod--process[data-process-active-index="4"] .process-heading__default,
  .page-product-development .section.mod--process[data-process-active-index="5"] .process-heading__cta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .page-product-development .section.mod--process[data-process-active-index="4"] .process-heading__cta,
  .page-product-development .section.mod--process[data-process-active-index="5"] .process-heading__default {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .page-product-development .section.mod--process.is-dark[data-process-active-index="5"] .process-nav__btn.is-cta-step.active {
    background-color: var(--white);
    color: var(--blue-dark);
  }

  .page-product-development .section.mod--process.is-dark[data-process-active-index="5"] .process-nav__btn.is-cta-step.active .process-nav__numb {
    background-color: var(--blue-dark);
    color: var(--white);
  }
}

/* Development responsive review: approved section gaps and component-local sizing. */
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .services-scroll.is--dark { padding-bottom: 0; }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--choose { padding-top: var(--space-section-major); padding-bottom: 0; }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .achievements { padding-bottom: 0; }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--love-letters { padding-top: var(--space-section-major); padding-bottom: 0; }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--success { padding-top: var(--space-section-major); padding-bottom: 0; }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--faq-custom { padding-top: var(--space-section-major); }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .branding-evolution__card-text { text-wrap: wrap; }
.page-branding-redesign.page-product-development[data-mobile-layout="2026"] .bg-home-gradient.mod--development-results { background-image: linear-gradient(var(--gradient-navy) 32%, var(--gradient-blue) 72%, var(--grey-light) 92%); }
@media screen and (min-width: 992px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .hero-branding > .container.is--labeled .branding-hero__title { max-width: 55rem; }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .hero-branding__lead { width: 15rem; max-width: none; }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .hero-branding__action { width: 20rem; }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--branding-evolution { padding-top: var(--48); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .branding-evolution__title { margin-top: var(--24); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .hero-branding .h2-label { margin-bottom: var(--24); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .collaboration-scenarios { padding-top: var(--48); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .services-scroll__track::after { content: ''; flex: 0 0 var(--16); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .services-scroll__title { max-width: 38rem; }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .container.mod--branding-faq .h2 { max-width: 34rem; margin-inline: auto; }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .achievements__wreath { width: 8rem; }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--process { padding-top: calc(var(--space-section-major) - var(--32)); }
}
@media screen and (max-width: 767px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .collaboration-scenarios { padding-top: 0; }
}

@media screen and (min-width: 992px) {
 .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--process { padding-top: calc(var(--space-section-major) - var(--80)); }
}

@media screen and (max-width: 767px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .services-scroll:not(.is--dark) { padding-bottom: var(--space-section-major); }
}

@media screen and (min-width: 992px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--new-discuss { margin-top: calc(var(--space-section-major) - var(--final-cta-leading-space, 0rem)); }
}

/* Approved follow-up spacing measured from visible artwork and pagination. */
.page-product-development .branding-evolution__cards { margin-top: var(--64); }
@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--branding-evolution { padding-top: var(--48); }
}
@media screen and (max-width: 767px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .collaboration-scenarios { padding-bottom: var(--40); }
  .page-product-development .swiper-process__timeline-wrap > p { margin: 0; }
}

/* Development annotation refinements: shared tokens, scoped composition. */
@media screen and (min-width: 768px) {
  .page-product-development .section.mod--new-discuss .final-cta { overflow: visible; }
}
@media screen and (min-width: 992px) {
  .page-product-development .branding-evolution__cards { margin-top: var(--48); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--new-discuss { margin-top: calc(var(--space-section-major) - var(--final-cta-leading-space, 0rem)); }
}
@media screen and (max-width: 767px) {
  .page-product-development .branding-evolution__cards { margin-top: var(--40); }
  .page-product-development .achievements__wreath { width: 6.25rem; }
}

@media screen and (min-width: 992px) {
  .page-product-development .branding-evolution__title { margin-top: var(--64); }
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--success { padding-top: var(--80); }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-branding-redesign.page-product-development[data-mobile-layout="2026"] .section.mod--success { padding-top: var(--40); }
}
