/* 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 centered desktop row and two compact mobile rows. */
.f-section-large {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 48px !important;
  padding-bottom: 42px !important;
}
.f-header-logo-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 20px 32px;
  width: 100%;
  max-width: 1120px;
  margin: 40px auto 0;
}
.f-header-logo-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: none !important;
  height: 80px;
  padding: 0 !important;
  overflow: hidden;
}
.f-header-logo-wrap img {
  width: 100%;
  max-width: 160px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.28);
}
/* Square source canvases include empty space above and below the marks.
   Size these by width; the centered wrapper hides only that empty space. */
.f-header-logo-wrap img[alt="8020"],
.f-header-logo-wrap img[alt="Hampton"],
.f-header-logo-flighted img {
  height: auto;
  max-height: none;
  flex-shrink: 0;
}
.f-header-logo-wrap img[alt="8020"],
.f-header-logo-wrap img[alt="Hampton"] {
  max-width: 180px;
}
.f-header-logo-wrap img[alt="D'Vine Taste Promotions"] {
  max-width: 175px;
}
.f-header-logo-flighted img {
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.15);
}

@media screen and (max-width: 767px) {
  .f-header-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 20px;
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
    padding: 0;
  }
  .f-header-logo-wrap {
    height: 56px;
  }
  .f-header-logo-wrap img {
    max-width: 120px;
  }
}

/* Results strip (replaces the "Make Better Tech Decisions" stats block) */
.results-strip-section {
  display: block;
  padding: 64px 0;
}
.results-strip-head {
  padding: 0 10%;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.results-strip-note {
  margin: 0;
  opacity: 0.8;
}
.results-all-link {
  align-self: flex-start;
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-underline-offset: 4px;
}
.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;
  display: flex;
  width: 400px;
  min-height: 158px;
  margin-right: 1rem;
  padding: 1.25rem 1.4rem;
  flex-direction: column;
  justify-content: center;
  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;
  order: 2;
  min-height: 0;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--teal);
  margin: 0;
  white-space: nowrap;
}
.results-desc {
  order: 1;
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.82;
  white-space: nowrap;
}
.results-company {
  order: 3;
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.results-strip-section .scta-wrapper {
  padding: 0 10%;
  margin-top: 2rem;
}

@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: 330px;
  }
  .results-stat {
    font-size: 1.45rem;
  }
}

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

/* Concrete buying problems lead into the original Digital Operations frameworks. */
.home-pains-section { padding: 70px 0; color: #171329; background: var(--white); }
.home-pains-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.home-pains-layout .interim-section-head { margin-bottom: 0; }
.home-pains-list article { padding: 24px 0; border-bottom: 1px solid #dcd7e5; }
.home-pains-list article:first-child { padding-top: 0; }
.home-pains-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.home-pains-list h3 { margin: 0 0 10px; color: var(--dark-purple); font: 700 clamp(1.15rem, 1.8vw, 1.4rem)/1.35 Inter, sans-serif; }
.home-pains-list p { margin: 0; color: #615c70; font: 400 1rem/1.65 Inter, sans-serif; }
@media (max-width: 991px) {
  .home-pains-layout { gap: 40px; }
}
@media (max-width: 767px) {
  .home-pains-section { padding: 52px 0; }
  .home-pains-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

/* Digital Operations flywheel, carried over from the redesign. */
.interim-flywheel-section,
.interim-offers-section {
  padding: 70px 0;
  color: #171329;
  background: #f7f7fb;
}
.interim-section-wrap {
  width: min(1180px, 88vw);
  margin: 0 auto;
}
.interim-section-head {
  max-width: 760px;
  margin-bottom: 38px;
}
.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: 52px;
}
.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 two-offer model. */
.interim-offers-section {
  background: var(--white);
}
.interim-offers-head {
  max-width: 850px;
  margin: 0 auto 32px;
  text-align: center;
}
.interim-offers-head p {
  max-width: 780px;
  margin: 16px auto 0;
  color: #615c70;
  font-size: 1rem;
  line-height: 1.6;
}
.interim-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.interim-offer-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  border: 1px solid #e2deea;
  border-top: 5px solid var(--color);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(35, 0, 86, 0.07);
}
.interim-offer-card > span {
  color: var(--color);
  font-family: Poppins, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}
.interim-offer-card h3 {
  margin: 20px 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 .offer-benefit {
  margin: 0 0 16px;
  color: #302b3d;
  font-family: Poppins, sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
}
.offer-detail-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color);
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 4px;
}
.navbar .nav-container {
  flex-wrap: wrap;
  gap: 16px;
}
.navbar .navigation-left,
.navbar .navigation-right {
  width: auto;
  flex: 0 0 auto;
}
.navbar .logo {
  width: 150px;
  height: auto;
}
.home-page-nav {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  gap: 28px;
}
.home-page-nav a {
  color: #302b3d;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.home-page-nav a:hover {
  color: var(--color);
}
@media screen and (max-width: 767px) {
  .navbar .nav-container { gap: 10px; }
  .navbar .logo { width: 116px; }
  .navbar .form-button { min-width: 130px; max-width: 150px; padding: 12px 16px; font-size: 0.75rem; }
  .home-page-nav { flex: 1 0 100%; order: 3; gap: 20px; padding-top: 6px; }
  .home-page-nav a { font-size: 0.84rem; }
}
.interim-offer-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #e8e4ef;
  list-style: none;
}
.interim-offer-card li {
  position: relative;
  padding-left: 19px;
  color: #302b3d;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}
.interim-offer-card li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--yellow);
}
.interim-offer-price {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 24px;
  color: #302b3d;
  font-size: 0.84rem;
  line-height: 1.4;
}
.interim-offer-price b {
  color: var(--color);
  font-family: Poppins, sans-serif;
  font-size: 0.94rem;
}
.interim-offer-price span {
  color: #716b7d;
}
.interim-offer-guarantee {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 26px 30px;
  border: 1px solid #ded7e9;
  border-radius: 16px;
  background: #f7f4fb;
}
.interim-offer-guarantee > span {
  color: var(--color);
  font-family: Poppins, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.interim-offer-guarantee h3 {
  margin: 0 0 6px;
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}
.interim-offer-guarantee p {
  margin: 0;
  color: #615c70;
  font-size: 0.92rem;
  line-height: 1.55;
}
.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;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  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;
}

/* Compress the remaining Webflow sections without changing their content. */
.levels-of-digiops {
  padding-top: 68px;
  padding-bottom: 68px;
}
.levels-of-digiops .lodo-grid {
  align-items: start;
  margin-top: 30px;
}
.levels-of-digiops .lodo-graphics-container {
  align-self: center;
}
.pr-section-large-copy {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media screen and (max-width: 767px) {
  .interim-flywheel-section,
  .interim-offers-section {
    padding: 52px 0;
  }
  .interim-section-wrap {
    width: min(90vw, 620px);
  }
  .interim-section-head {
    margin-bottom: 32px;
  }
  .flywheel-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .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;
    padding: 26px;
  }
  .interim-offer-card h3 {
    margin-top: 20px;
  }
  .interim-offer-guarantee {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 26px;
  }
  .levels-of-digiops {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .levels-of-digiops .lodo-grid {
    margin-top: 26px;
  }
  .levels-of-digiops .accordion-top-wrap {
    min-width: 0;
    padding-right: 12px;
  }
  .levels-of-digiops .accordion-top-text {
    display: block;
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .levels-of-digiops .level {
    display: none;
  }
}

/* One footer treatment for the homepage and interior pages. */
.page-footer { padding: 56px 0 28px; color: var(--white); font: 400 1rem/1.65 Inter, sans-serif; }
.page-footer .footer-inner { width: min(1180px, 88vw); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 60px; }
.page-footer .footer-logo { display: flex; align-items: center; gap: 14px; color: var(--white); font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.page-footer img { flex: 0 0 56px; object-fit: contain; }
.page-footer .footer-desc { max-width: 480px; margin: 18px 0 0; color: #c5c5c5; font-size: 1rem; line-height: 1.7; }
.page-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-footer .footer-col { display: grid; gap: 10px; align-content: start; }
.page-footer .footer-col b { margin-bottom: 4px; color: var(--white); font-family: Inter, sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-footer nav a { color: #ffffffcf; font-size: .95rem; text-decoration: none; }
.page-footer nav a:hover { color: #b76fff; }
.page-footer a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.page-footer .footer-small { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid #ffffff29; color: #ffffffba; font-size: .875rem; }
@media (max-width: 767px) {
  .page-footer .footer-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 28px; }
}
