/* Framer Development page (framer-development.html)
   Combo classes layered on top of design-sense-2244.webflow.css.
   Everything else on the page uses the site's existing classes.
   Breakpoints match the Webflow export: 1920+, 991, 767, 479. */

/* ---------- Hero: the H1 is longer than on the Webflow page, so the copy column gets more room ---------- */
@media screen and (min-width: 992px) {
  .service-content-wrap.framer-hero-content {
    width: 58%;
  }

  .service-img-wrap.framer-hero-img {
    width: 42%;
  }
}

/* ---------- When Framer is the better fit ---------- */

.framer-link-flex {
  grid-column-gap: 40px;
  grid-row-gap: 0px;
  flex-flow: wrap;
  display: flex;
}

/* ---------- Services ---------- */
.framer-tags {
  margin-top: 20px;
}

.scope-icon-wrap.framer-mg-bottom-60 {
  margin-bottom: 60px;
}

.framer-more-ways {
  margin-top: 140px;
}

.service-scope-grid.framer-grid-5 {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.service-scope-grid.framer-grid-5 .service-scope-card,
.service-scope-grid.framer-grid-4 .service-scope-card {
  border-radius: 22px;
}

.home-service-arrow.framer-card-arrow {
  width: 18px;
  inset: 20px 20px auto auto;
}

/* ---------- Black band: process first, then Why DesignSense ---------- */
.b2b-process-wrap.framer-process-first {
  border-top-style: none;
}

.why-us-wrap.framer-why-ds {
  border-top: 1px solid #252525;
  border-bottom-style: none;
}

/* ---------- Why Framer ---------- */
.b2b-usecase-card.framer-not-fit-card {
  align-items: stretch;
}

.b2b-uc-content-div.framer-not-fit-content {
  width: 55%;
  max-width: 640px;
}

/* ---------- Framer vs Webflow ---------- */
.why-webflow-grid.framer-vs {
  grid-template-columns: 1.6fr 1fr 1fr;
}

.framer-rule-wrap {
  margin-top: 90px;
}

.b2b-scope-grid.framer-rule-grid {
  margin-top: 30px;
}

/* ---------- Selected work ---------- */
.framer-work-tabs {
  margin-top: 60px;
}

.framer-work-tabs-menu {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-flow: wrap;
  display: flex;
}

.framer-work-tab {
  color: #000;
  background-color: #f9f9f9;
  border: 1px solid #e1e2e6;
  border-radius: 40px;
  padding: 12px 26px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  transition: all .3s cubic-bezier(.456, .002, .52, .99);
}

.framer-work-tab:hover {
  border-color: #4517ff;
}

.framer-work-tab.w--current {
  color: #fff;
  background-color: #4517ff;
  border-color: #4517ff;
}

.b2b-usecase-flex.framer-work-flex {
  margin-top: 40px;
}

.framer-cs-list {
  grid-column-gap: 14px;
  grid-row-gap: 14px;
  flex-flow: column;
  width: 100%;
  margin-top: 8px;
  display: flex;
}

.framer-cs-item {
  grid-column-gap: 16px;
  grid-row-gap: 4px;
  border-top: 1px solid #e1e2e6;
  grid-template-columns: 140px 1fr;
  padding-top: 14px;
  display: grid;
}

/* ---------- Final CTA: longer copy and two buttons, so the card grows with its content ---------- */
.cta-card.framer-cta {
  height: auto;
  min-height: 500px;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.faq-wrap.framer-faq {
  border-top: 1px solid #e1e2e6;
}

.framer-faq-link .b2b-uc-link {
  margin-top: 16px;
}

@media screen and (min-width: 1920px) {
  .framer-cs-item {
    grid-template-columns: 160px 1fr;
  }
}

@media screen and (max-width: 991px) {
  .service-scope-grid.framer-grid-5 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .b2b-usecase-card.framer-not-fit-card {
    flex-flow: column;
    padding-bottom: 10px;
    padding-right: 10px;
  }

  .b2b-uc-content-div.framer-not-fit-content {
    width: 100%;
    max-width: none;
  }
}

@media screen and (max-width: 991px) {
  .cta-card.framer-cta {
    min-height: 400px;
  }
}

@media screen and (max-width: 767px) {
  .cta-card.framer-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .framer-more-ways {
    margin-top: 80px;
  }

  .service-scope-grid.framer-grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .why-webflow-grid.framer-vs {
    width: 700px;
  }

  .framer-rule-wrap {
    margin-top: 60px;
  }

  .framer-work-tabs {
    margin-top: 40px;
  }

  .framer-work-tab {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
  }

  .framer-cs-item {
    grid-template-columns: 1fr;
  }

}

@media screen and (max-width: 479px) {
  .service-scope-grid.framer-grid-5 {
    grid-template-columns: 1fr;
  }

  .why-webflow-grid.framer-vs {
    grid-template-columns: 1.6fr 1fr 1fr;
    width: 560px;
  }

  .framer-link-flex {
    flex-flow: column;
  }

  .service-scope-grid.framer-grid-5 .service-scope-card,
  .service-scope-grid.framer-grid-4 .service-scope-card {
    border-radius: 12px;
  }
}

/* ---------- Phase 3: When Framer is the better fit (solution layout) ---------- */
.b2b-solution-wrap.framer-no-border {
  border-top-style: none;
}

.b2b-sol-card-no.framer-sol-head {
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.scope-icon.framer-sol-icon {
  height: 33px;
}

.framer-sol-graphic-wrap {
  margin-top: 60px;
}

.framer-sol-graphic {
  width: 100%;
  max-width: 520px;
}

/* ---------- Who it's for: audience tiles (dropdown-services-card pattern) ---------- */
.framer-fit-tiles {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-top: 60px;
  display: grid;
}

.dropdown-services-card.framer-fit-tile {
  background-color: #f9f9f9;
  align-items: center;
  padding: 22px 20px;
  transition: all .3s cubic-bezier(.456, .002, .52, .99);
}

.dropdown-services-card.framer-fit-tile:hover {
  background-color: #fff;
}

.dropdown-services-card.framer-fit-tile-link {
  color: #4517ff;
  background-color: #fff;
  border-color: #4517ff;
  justify-content: space-between;
}

.framer-fit-icon {
  flex: none;
  width: auto;
  height: 33px;
}

.framer-link-flex {
  margin-top: 10px;
}

/* ---------- Framer or Webflow? guidance card (same treatment as the site's "Need guidance?" card) ---------- */
.framer-guide-card {
  background-color: #f9f9f9;
  border: 1px solid #e1e2e6;
  border-radius: 22px;
  margin-top: 60px;
  padding: 10px;
}

.framer-guide-inner {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  background-image: linear-gradient(90deg, #4517ff00, #4517ff17);
  border: 1px solid #4517ff;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 50px 120px 50px 50px;
  display: flex;
}

.framer-guide-content {
  max-width: 760px;
}

.framer-guide-graphic {
  flex: none;
  width: 190px;
}

/* ---------- Why Framer: compare graphic ---------- */
.b2b-uc-img-wrap.framer-not-fit-img {
  width: 45%;
}

/* ---------- Section fade-in on scroll (js/framer-development.js adds .ds-fade-ready) ----------
   Opacity only: no layout shift, compositor-only, hero excluded so it never delays LCP. */
html.ds-fade-ready .ds-fade {
  opacity: 0;
  transition: opacity .8s ease;
}

html.ds-fade-ready .ds-fade.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html.ds-fade-ready .ds-fade {
    opacity: 1;
    transition: none;
  }
}

.b2b-usecase-wrap.framer-border-top {
  border-top: 1px solid #e1e2e6;
}

@media screen and (max-width: 991px) {
  .framer-fit-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .framer-guide-inner {
    padding-right: 50px;
  }

  .b2b-uc-img-wrap.framer-not-fit-img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .framer-sol-graphic-wrap {
    display: none;
  }

  .framer-fit-tiles {
    margin-top: 40px;
  }

  .framer-guide-inner {
    flex-flow: column-reverse;
    align-items: flex-start;
    padding: 30px 20px;
  }

  .framer-guide-graphic {
    width: 120px;
  }
}

@media screen and (max-width: 479px) {
  .framer-fit-tiles {
    grid-template-columns: 1fr;
  }

  .dropdown-services-card.framer-fit-tile {
    text-align: left;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    padding: 18px;
  }

  .dropdown-services-card.framer-fit-tile-link {
    justify-content: space-between;
  }
}

/* ---------- Logo marquee (copied from the home page). On the home page IX2 runs it on page load:
   .marquee-wrapper 0 -> -102.4% over 50s, linear, looping. Same motion in CSS, transform only. ---------- */
.framer-marquee .marquee-wrapper {
  animation: framer-marquee 50s linear infinite;
  will-change: transform;
}

@keyframes framer-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-102.4%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .framer-marquee .marquee-wrapper {
    animation: none;
  }
}
