/* 2026-09-03 homepage updates layered over the Webflow export. Keep hand edits here, not in assets/. */

/* Levels of Digital Operations: five-tier pyramid PNG from the DOI /method page replaces the
   six-tier Webflow SVG. Keep it inside its column on wide screens. */
.lodo-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Webflow runtime removed: the three pieces below replace what webflow.js used to do. --- */

/* Nav: logo left, Book A Call right, at every width. (The collapsed menu held only dead '#' dropdowns.) */
.home-main-button {
  display: flex !important;
}
.navbar .navigation-right {
  align-items: center;
}

/* Accordion: closed by default, one open at a time (site.js toggles .is-open). */
.accordion-bottom {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion.is-open .accordion-bottom {
  max-height: 900px;
}
.accordion-top-icon-wrap {
  transition: transform 0.3s ease;
}
.accordion.is-open .accordion-top-icon-wrap {
  transform: rotate(45deg);
}

/* Testimonial slider: slides shift inside the mask (site.js sets the transform). */
.w-slide {
  transition: transform 0.45s ease;
}
.w-slider-arrow-left,
.w-slider-arrow-right {
  cursor: pointer;
}

/* Client logo bank: one quiet row with equal visual weight and no label. */
.f-section-large {
  height: auto !important;
  min-height: 0 !important;
}
.f-header-logo-grid {
  display: grid !important;
  grid-template-columns: repeat(9, minmax(72px, 1fr));
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: 1180px;
  margin: 30px auto 0;
}
.f-header-logo-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: none !important;
  height: 68px;
  padding: 0 !important;
}
.f-header-logo-wrap img {
  width: 100%;
  max-width: 116px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.28);
}
.f-header-logo-wrap img[alt="Plus Brand"] {
  transform: scale(1.8);
}
.f-header-logo-flighted {
  overflow: hidden;
}
.f-header-logo-flighted img {
  max-width: 122px;
  height: 56px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.15);
}

@media screen and (max-width: 991px) {
  .f-header-logo-grid {
    grid-template-columns: repeat(9, 108px);
    justify-content: start;
    width: 100%;
    padding: 0 5vw 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
  .f-header-logo-wrap {
    height: 62px;
  }
}

/* Results strip (replaces the "Make Better Tech Decisions" stats block) */
.results-strip-section {
  display: block;
  padding: 90px 0;
}
.results-strip-head {
  padding: 0 10%;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.results-strip-note {
  margin: 0;
  opacity: 0.8;
}
.results-strip {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.results-track {
  display: flex;
  width: max-content;
  animation: results-scroll 80s linear infinite;
}
.results-strip:hover .results-track {
  animation-play-state: paused;
}
.results-card {
  flex: 0 0 auto;
  width: 300px;
  margin-right: 1.25rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.results-stat {
  font-family: Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--teal);
  margin: 0 0 0.6rem;
}
.results-desc {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--white);
}
.results-strip-section .scta-wrapper {
  padding: 0 10%;
  margin-top: 2.5rem;
}

@keyframes results-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-strip {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .results-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    padding: 0 10%;
    row-gap: 1.25rem;
  }
  .results-track .results-card:nth-child(n + 14) {
    display: none;
  } /* hide the duplicate loop copy */
}

@media screen and (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .navbar .nav-container {
    width: 100%;
    padding: 10px 24px;
  }
  .navbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .navbar .navigation-right {
    width: auto;
  }
  .navbar .form-button {
    min-width: 148px;
    max-width: 168px;
    margin-right: 0;
  }
  .f-section-large {
    padding: 56px 24px 64px !important;
  }
  .f-grid-two-column {
    display: block !important;
    width: 100%;
  }
  .f-header-main,
  .h1-heading {
    width: calc(100vw - 88px);
    max-width: calc(100vw - 88px);
  }
  .h1-heading {
    display: block !important;
  }
  .h1-heading .bold-text {
    white-space: normal;
    font-size: clamp(2.2rem, 10.5vw, 2.65rem);
  }
  .paragraph-large-2 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .results-strip-section {
    padding: 64px 0;
  }
  .results-card {
    width: 250px;
  }
  .results-stat {
    font-size: 1.6rem;
  }
}

/* Hide the retired Webflow capability and offer blocks without disturbing the export. */
[hidden] {
  display: none !important;
}

/* Digital Operations flywheel, carried over from the redesign. */
.interim-flywheel-section,
.interim-offers-section {
  padding: 92px 0;
  color: #171329;
  background: #f7f7fb;
}
.interim-section-wrap {
  width: min(1180px, 88vw);
  margin: 0 auto;
}
.interim-section-head {
  max-width: 760px;
  margin-bottom: 54px;
}
.interim-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--color);
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.interim-section-head h2,
.interim-offers-head h2 {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.interim-section-head > p {
  max-width: 680px;
  margin: 18px 0 0;
  color: #615c70;
  font-size: 1.06rem;
  line-height: 1.65;
}
.flywheel-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  align-items: center;
  gap: 72px;
}
.flywheel-graphic {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 24px solid #e7def7;
  border-top-color: var(--color);
  border-right-color: var(--yellow);
  border-bottom-color: var(--dark-purple);
  border-left-color: var(--teal);
  border-radius: 50%;
  transform: rotate(8deg);
}
.flywheel-graphic::before {
  position: absolute;
  inset: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  content: "DIGITAL OPERATIONS\A FLYWHEEL";
  color: #171329;
  background: var(--white);
  font-family: Poppins, sans-serif;
  font-size: clamp(0.86rem, 2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  white-space: pre;
  box-shadow: 0 18px 50px rgba(35, 0, 86, 0.13);
  transform: rotate(-8deg);
}
.flywheel-label {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(-8deg);
}
.flywheel-label-consistency {
  top: 14px;
  right: -54px;
  background: var(--color);
}
.flywheel-label-clarity {
  right: -54px;
  bottom: 58px;
  color: #171329;
  background: var(--yellow);
}
.flywheel-label-capacity {
  bottom: 10px;
  left: -46px;
  background: var(--dark-purple);
}
.flywheel-cards {
  display: grid;
  gap: 14px;
}
.flywheel-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #e2deea;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(35, 0, 86, 0.06);
}
.flywheel-card b {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--color);
  font-family: Poppins, sans-serif;
  font-size: 1.8rem;
}
.flywheel-card:nth-child(2) b {
  color: #171329;
  background: var(--yellow);
}
.flywheel-card:nth-child(3) b {
  background: var(--dark-purple);
}
.flywheel-card h3 {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 1.18rem;
}
.flywheel-card p {
  margin: 4px 0 0;
  color: #615c70;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Current three-offer model from the Tony pitch brief. */
.interim-offers-section {
  background: var(--white);
}
.interim-offers-head {
  margin-bottom: 44px;
  text-align: center;
}
.interim-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.interim-offer-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid #e2deea;
  border-top: 5px solid var(--teal);
  border-radius: 16px;
  background: #f7f7fb;
}
.interim-offer-card > span {
  color: var(--color);
  font-family: Poppins, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}
.interim-offer-card h3 {
  margin: 64px 0 14px;
  font-family: Poppins, sans-serif;
  font-size: 1.65rem;
  line-height: 1.15;
}
.interim-offer-card p {
  margin: 0;
  color: #615c70;
  font-size: 0.98rem;
  line-height: 1.6;
}
.interim-offer-card-featured {
  border-top-color: var(--yellow);
  color: var(--white);
  background: var(--dark-purple);
}
.interim-offer-card-featured > span {
  color: var(--yellow);
}
.interim-offer-card-featured p {
  color: rgba(255, 255, 255, 0.76);
}
.interim-offers-cta {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}
.interim-offers-cta .pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--color);
  box-shadow: 0 8px 18px rgba(112, 0, 224, 0.24);
  font-weight: 700;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .interim-flywheel-section,
  .interim-offers-section {
    padding: 68px 0;
  }
  .interim-section-wrap {
    width: min(90vw, 620px);
  }
  .interim-section-head {
    margin-bottom: 42px;
  }
  .flywheel-wrap {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .flywheel-graphic {
    width: min(270px, 82vw);
    border-width: 18px;
  }
  .flywheel-graphic::before {
    inset: 34px;
  }
  .flywheel-label-consistency {
    right: -30px;
  }
  .flywheel-label-clarity {
    right: -34px;
    bottom: 42px;
  }
  .flywheel-label-capacity {
    left: -28px;
  }
  .flywheel-card {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .flywheel-card b {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
  .interim-offer-grid {
    grid-template-columns: 1fr;
  }
  .interim-offer-card {
    min-height: 0;
  }
  .interim-offer-card h3 {
    margin-top: 34px;
  }
}
