/* Click Catalyst additions on top of the Webflow stylesheet. Linked from every page after it. */

/* No orphans (Ben, 2026-10-22): headings break into even lines, body copy never leaves one word on its last line. */
h1, h2, h3, h4, h5, h6, .highlight-text, .heading-style-h2, .heading-style-h4 {
  text-wrap: balance;
}
p, li, .text-size-medium, .text-size-tiny, .cs-metric-tag, .name-designation, .feature-card p {
  text-wrap: pretty;
}

/* Reviews: the Growth Audit report's review card (stars, pulled headline, topics, folded body, stat pills, byline). */
.cc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cc-reviews {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}
.cc-reviews:not([data-all]) > li:nth-child(n + 4) {
  display: none;
}
.cc-review {
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 10, 61, 0.05);
}
.cc-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--orange);
}
.cc-review blockquote {
  margin: 0.5rem 0 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  line-height: inherit;
}
.cc-review-headline {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dull-green);
  text-wrap: balance;
}
.cc-review-topics {
  margin: 0.5rem 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.cc-review-body p {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-grey);
}
.cc-review-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dull-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cc-review-more svg,
.cc-results-more svg {
  transition: transform 0.2s;
}
.cc-review-more[aria-expanded="true"] svg,
.cc-results-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.cc-review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.cc-review-stats li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 0.625rem 0.75rem;
  border: 1px solid #cfcbfa;
  border-radius: 10px;
  background: #f7f6ff;
}
.cc-review-stats strong {
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dull-green);
}
.cc-review-stats span {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--dark-grey);
}
.cc-review-by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid #ece8e3;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: left;
  color: var(--grey);
}
.cc-review-by img {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 50%;
}
.cc-review-by strong {
  display: block;
  font-weight: 600;
  color: var(--black);
}
.cc-results-more {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 1.25rem auto 0;
  padding: 0 1.125rem;
  border: 1px solid #cfcbfa;
  border-radius: 999px;
  background: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dull-green);
  cursor: pointer;
}
.cc-results-more:hover {
  border-color: var(--dull-green);
}
.cc-review-more:focus-visible,
.cc-results-more:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
@media (max-width: 479px) {
  .cc-review {
    padding: 1.25rem 1rem;
  }
  .cc-review-headline {
    font-size: 1.25rem;
  }
  .cc-review-stats {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cc-review-stats li {
    flex-direction: row;
    align-items: baseline;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
  }
}

/* The dark value card's body copy: Webflow's grey reads poorly on navy. */
.feature-card.dark p {
  color: #d9d6fb;
}

/* Booking on the home page (#book): every booking button scrolls here (the scroll itself is in the page's script). */
#book,
#contact {
  scroll-margin-top: 80px;
}
.cc-anchor {
  display: block;
}
.cc-book {
  background: var(--cream);
}
.cc-book-cal {
  min-height: 640px;
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  background: var(--white);
}
.cc-book-loading {
  margin: 0;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--grey);
}
.cc-book-fallback {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  text-align: center;
  color: var(--grey);
}
.cc-book-fallback a {
  color: var(--dull-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cc-sticky {
  display: none;
}
@media (max-width: 767px) {
  .cc-book-cal {
    margin-top: 1.5rem;
    border-radius: 8px;
  }
  .cc-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 10, 61, 0.94);
    box-shadow: 0 -8px 24px rgba(15, 10, 61, 0.18);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .cc-sticky.is-on {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease, visibility 0s;
  }
  .cc-sticky .button {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile QC fixes (2026-10-22). */
.tag {
  text-wrap: balance;
}
.utility-page_component {
  display: flex;
}
.utility-page_wrapper {
  text-align: center;
}
@media screen and (max-width: 991px) {
  /* The FAQ's side card would stack a second booking block right on top of the calendar. */
  .section-faq .cta-card {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  /* Dashboards show whole, as on the case studies page, instead of cropped at both sides. */
  .cs-image-wrapper.increase {
    height: auto;
    aspect-ratio: 1168 / 674;
  }
  /* The mission sticker sits on the card's corner, clear of the "our mission" tag. */
  .mission-logo {
    max-width: 7.5rem;
    top: -1.25rem;
    right: -0.5rem;
  }
  .subject-text {
    font-size: 0.6875rem;
  }
}
@media screen and (max-width: 991px) {
  /* Tap targets on touch screens: footer links, logos and the menu button get a 32px+ hit area without moving visually. */
  .footer-link {
    font-size: 0.75rem;
  }
  a.footer-link {
    display: inline-block;
    padding: 0.5625rem 0;
  }
  .footer-links-flex {
    grid-row-gap: 0;
  }
  .footer-logo-wrapper {
    padding: 0.75rem 0;
    margin: -0.75rem 0;
  }
  .menu-button {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: -10px;
    margin-bottom: -10px;
  }
  .navbar-logo-wrapper {
    padding: 12px 0;
    margin: -12px 0;
  }
  .copyright-text {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 479px) {
  .menu-button {
    padding: 10px;
    margin: -10px -10px -10px 0;
  }
  /* Legal headings at a reading size, so short headings don't strand a word. */
  .text-rich-text h2 {
    font-size: 1.75rem;
  }
}
