/*
 * Site-wide theme, loaded after every page's own styles.
 * Style direction: corporate and editorial — black and white, light large type,
 * square edges, flat surfaces, thin rules and plenty of whitespace.
 * Selectors are prefixed with `html body` so they win over page-level <style> blocks.
 */
:root {
  --primary: #0b63f6;
  --primary-dark: #000000;
  --accent: #0b63f6;
  --ink: #000000;
  --slate: #4a4a4a;
  --slate-light: #8a8a8a;
  --surface: #ffffff;
  --surface-subtle: #f4f4f4;
  --border-thin: #bdbdbd;
  --hero-bg: #000000;
  --rule: #bdbdbd;
  --rule-dark: rgba(255, 255, 255, 0.2);
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
html body {
  font-family: var(--font);
  color: #000;
  background: #fff;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html body *:not(i):not(svg):not(code):not(pre):not(code *):not(pre *) {
  font-family: var(--font);
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5 {
  font-weight: 300;
  letter-spacing: -0.01em;
  color: inherit;
}

html body h1 { line-height: 1.12; }
html body h2 { line-height: 1.2; }

/* Gradient text and glowing headline accents read as template-y; render them as plain text. */
html body h1 *,
html body h2 *,
html body h1,
html body h2 {
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

html body p {
  color: inherit;
}

html body a {
  text-underline-offset: 3px;
}

/* Square edges and flat surfaces everywhere. */
html body *,
html body *::before,
html body *::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .author-avatar,
html body img.rounded-circle {
  border-radius: 50% !important;
}

/* ---------- Labels (kickers, eyebrows, badges) ---------- */
html body .eyebrow,
html body .section-kicker,
html body .hero-kicker,
html body .hero-eyebrow,
html body .core-services-kicker,
html body .dark-kicker,
html body .doc-kicker,
html body .form-panel-kicker,
html body .cta-badge,
html body .bottom-cta-badge,
html body .home-blog-category-badge,
html body .blog-category,
html body .article-category,
html body .pathway-tag,
html body .service-chip {
  display: inline-block;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  opacity: 0.7;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body .eyebrow::before,
html body .section-kicker::before,
html body .hero-kicker::before,
html body .hero-eyebrow::before,
html body .section-kicker i,
html body .hero-kicker i,
html body .hero-kicker svg,
html body .section-kicker svg,
html body .hero-eyebrow svg {
  display: none !important;
}

/* ---------- Headings ---------- */
html body section h2 {
  font-weight: 300 !important;
}


html body .section-title,
html body .section-heading,
html body .core-services-heading,
html body .section-intro h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}

html body .section-text,
html body .section-subtext,
html body .core-services-subtext,
html body .section-intro-copy {
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: inherit !important;
  opacity: 0.75;
  font-weight: 400 !important;
}

/* ---------- Buttons ---------- */
html body .btn-hero-primary,
html body .btn-brand,
html body .btn-submit,
html body .btn-dashboard,
html body .btn-cta-white,
html body .btn-hero-outline,
html body .btn-hero-secondary,
html body .btn-brand-outline,
html body .btn-cta-outline,
html body .btn-cta-ghost,
html body .btn-mega-featured,
html body .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  transform: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

html body .btn-hero-primary:hover,
html body .btn-brand:hover,
html body .btn-submit:hover,
html body .btn-dashboard:hover,
html body .btn-primary:hover,
html body .btn-mega-featured:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Secondary buttons are outlined. */
html body .btn-hero-outline,
html body .btn-hero-secondary,
html body .btn-brand-outline,
html body .btn-cta-outline,
html body .btn-cta-ghost {
  background: transparent !important;
  color: #000 !important;
}

html body .btn-hero-outline:hover,
html body .btn-hero-secondary:hover,
html body .btn-brand-outline:hover,
html body .btn-cta-outline:hover,
html body .btn-cta-ghost:hover {
  background: #000 !important;
  color: #fff !important;
}

/* ---------- Header ---------- */
html body .main-nav {
  background: #fff !important;
  backdrop-filter: none;
  border-bottom: 1px solid var(--rule) !important;
  padding: 0 !important;
  min-height: 76px;
}

html body .main-nav > .container {
  min-height: 76px;
}

html body .navbar-brand .brand-logo {
  height: 40px;
}

html body .nav-link {
  color: #000 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  padding: 0.5rem 1.1rem !important;
  border-bottom: 2px solid transparent;
}

html body .nav-link:hover,
html body .nav-link.active {
  color: #000 !important;
  font-weight: 400 !important;
  text-decoration: none;
}

/* On desktop the submenus open on hover; the bridge covers the gap between link and panel. */
@media (min-width: 992px) {
  html body .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }

  html body .nav-item.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    height: 40px;
  }
}

html body .btn-header-contact {
  background: #000 !important;
  color: #fff !important;
  min-height: 46px;
  padding: 0.7rem 1.4rem !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  border: 1px solid #000;
}

html body .btn-header-contact:hover {
  background: #fff !important;
  color: #000 !important;
}

html body .mega-dropdown-menu {
  border: 0 !important;
  border-top: 1px solid var(--rule) !important;
  border-bottom: 1px solid var(--rule) !important;
  padding: 2.5rem 0 !important;
  background: #fff !important;
}

html body .mega-menu-title {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #6b6b6b !important;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.5rem !important;
}

html body .mega-menu-item {
  padding: 0.9rem 0 !important;
  background: none !important;
  border-bottom: 1px solid var(--rule);
}

html body .mega-menu-item:hover h5 {
  text-decoration: underline;
}

html body .mega-menu-icon {
  display: none !important;
}

html body .mega-menu-content h5 {
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  color: #000 !important;
}

html body .mega-menu-content p {
  color: #6b6b6b !important;
  font-size: 0.88rem !important;
}

html body .mega-menu-featured {
  background: #000 !important;
  color: #fff !important;
  padding: 1.8rem !important;
  border: 0 !important;
}

html body .mega-menu-featured h4 {
  color: #fff !important;
  font-weight: 300 !important;
  font-size: 1.5rem !important;
}

html body .mega-menu-featured p {
  color: rgba(255, 255, 255, 0.7) !important;
}

html body .mega-menu-featured .btn-mega-featured {
  background: transparent !important;
  border-color: #fff !important;
  color: #fff !important;
}

html body .mega-menu-featured .btn-mega-featured:hover {
  background: #fff !important;
  color: #000 !important;
}

/* ---------- Heroes: full-width black bands with large light type ---------- */
html body .hero,
html body .about-hero,
html body .catalog-hero,
html body .sms-hero,
html body .contact-hero,
html body .csr-hero,
html body .blog-hero,
html body .docs-hero,
html body .article-hero {
  background: #000 !important;
  background-image: none !important;
  color: #fff !important;
  padding: 120px 0 110px !important;
  text-align: left !important;
  min-height: 0 !important;
}

html body .hero::before,
html body .hero::after,
html body .about-hero::before,
html body .about-hero::after,
html body .catalog-hero::before,
html body .catalog-hero::after,
html body .sms-hero::before,
html body .sms-hero::after,
html body .contact-hero::before,
html body .contact-hero::after,
html body .csr-hero::before,
html body .csr-hero::after,
html body .blog-hero::before,
html body .blog-hero::after,
html body .docs-hero::before,
html body .docs-hero::after,
html body .article-hero::before,
html body .article-hero::after {
  display: none !important;
}

/* Bulk SMS hero keeps its photo behind a dark overlay so the text stays readable */
html body .sms-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.3) 100%),
    url("images/bulksms-hero.jpg") center/cover no-repeat !important;
}

/* CSR hero keeps its photo behind a dark overlay so the text stays readable */
html body .csr-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.35) 100%),
    url("images/csr-hero.jpg") center/cover no-repeat !important;
}

html body .hero h1,
html body .about-hero h1,
html body .catalog-hero h1,
html body .sms-hero h1,
html body .contact-hero h1,
html body .csr-hero h1,
html body .blog-hero h1,
html body .docs-hero h1,
html body .article-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  max-width: 17ch;
  margin-left: 0 !important;
  margin-right: auto !important;
}

html body .hero p,
html body .about-hero p,
html body .catalog-hero p,
html body .sms-hero p,
html body .contact-hero p,
html body .csr-hero p,
html body .blog-hero p,
html body .docs-hero p,
html body .article-hero p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  max-width: 46rem;
  margin-left: 0 !important;
}

html body .hero-copy {
  text-align: left !important;
  margin-left: 0 !important;
  align-items: flex-start !important;
}

html body .hero .row {
  justify-content: flex-start !important;
}

html body .hero h1 span {
  display: inline !important;
  color: inherit !important;
}

html body .eyebrow {
  margin-left: 0 !important;
  margin-bottom: 1.5rem;
}

html body .hero-actions {
  justify-content: flex-start !important;
}

/* Inside dark bands the primary button inverts to white. */
html body .hero .btn-hero-primary,
html body .about-hero .btn-brand,
html body .catalog-hero .btn-brand,
html body .sms-hero .btn-hero-primary,
html body .csr-hero .btn-brand,
html body .docs-hero .btn-hero-primary,
html body .contact-hero .btn-brand {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html body .hero .btn-hero-primary:hover,
html body .sms-hero .btn-hero-primary:hover,
html body .docs-hero .btn-hero-primary:hover {
  background: transparent !important;
  color: #fff !important;
}

html body .hero .btn-hero-outline,
html body .sms-hero .btn-hero-secondary,
html body .docs-hero .btn-hero-secondary,
html body .about-hero .btn-brand-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

html body .hero .btn-hero-outline:hover,
html body .sms-hero .btn-hero-secondary:hover,
html body .docs-hero .btn-hero-secondary:hover,
html body .about-hero .btn-brand-outline:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Proof points and hero metrics become a ruled row of figures. */
html body .hero-proof,
html body .hero-metrics,
html body .hero-stats,
html body .hero-promise-row {
  justify-content: flex-start !important;
  gap: 3rem !important;
  margin-top: 3.5rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
}

html body .hero-proof-item,
html body .hero-metric,
html body .hero-stat,
html body .hero-promise {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

html body .hero-proof-item svg,
html body .hero-proof-item i {
  display: none;
}

/* ---------- Sections ---------- */
html body .section-space,
html body .services-section,
html body .about-section,
html body .core-services-section,
html body .home-blog-section,
html body .blog-section,
html body .faq-section,
html body .quick-contact,
html body .program-section,
html body .values-section,
html body .story-section,
html body .why-section {
  padding-top: 110px !important;
  padding-bottom: 110px !important;
  background: #fff !important;
  background-image: none !important;
}

/* Alternate bands use a quiet grey. */
html body .core-services-section,
html body .pricing-band,
html body .program-section,
html body .why-section,
html body .faq-section {
  background: var(--surface-subtle) !important;
}

/* Statement and figure bands are black, as in the reference style. */
html body .purpose-band,
html body .services-band,
html body .achievements-section,
html body .impact-strip,
html body .trust-strip,
html body .stats-row {
  background: #000 !important;
  background-image: none !important;
  color: #fff !important;
}

html body .purpose-band *,
html body .services-band .section-title,
html body .services-band .section-text,
html body .achievements-section h2,
html body .achievements-section h3,
html body .achievements-section p,
html body .impact-strip *,
html body .trust-strip * {
  color: #fff !important;
}

/* Remove the overlap where the first homepage block floats over the hero. */
html body .services-section,
html body .services-section .container,
html body .core-services-wrap {
  margin-top: 0 !important;
  transform: none !important;
}

/* ---------- Cards: flat, bordered, sharp ---------- */
html body .service-card,
html body .core-service-card,
html body .product-card,
html body .feature-card,
html body .pricing-card,
html body .value-card,
html body .purpose-card,
html body .achievement-card,
html body .program-card,
html body .story-card,
html body .info-card,
html body .doc-card,
html body .home-blog-card,
html body .blog-card,
html body .faq-item,
html body .stat-card,
html body .pathway-panel,
html body .sidebar-widget,
html body .contact-form-panel,
html body .feature-panel,
html body .api-panel,
html body .hero-panel {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid var(--rule) !important;
  transform: none !important;
  transition: border-color 0.2s ease !important;
  color: #000;
}

html body .service-card:hover,
html body .core-service-card:hover,
html body .product-card:hover,
html body .feature-card:hover,
html body .value-card:hover,
html body .program-card:hover,
html body .home-blog-card:hover,
html body .blog-card:hover,
html body .info-card:hover {
  border-color: #000 !important;
  transform: none !important;
}

html body .service-card::before,
html body .service-card::after,
html body .core-service-card::before,
html body .core-service-card::after,
html body .product-card::before,
html body .product-card::after,
html body .feature-card::before,
html body .pricing-card::before,
html body .value-card::before {
  display: none !important;
}

/* Cards inside black bands invert. */
html body .purpose-band .purpose-card,
html body .achievements-section .achievement-card,
html body .services-band .service-card,
html body .stats-row .stat-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--rule-dark) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: #fff !important;
}

html body .services-band .service-card * {
  color: #fff !important;
}

html body .services-band .service-card p,
html body .services-band .service-card li {
  color: rgba(255, 255, 255, 0.7) !important;
}

html body .service-card h3,
html body .core-service-title,
html body .product-card h3,
html body .feature-card h3,
html body .value-card h3,
html body .program-card h3,
html body .info-card h3,
html body .home-blog-title,
html body .blog-title {
  font-weight: 400 !important;
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
}

/* Coloured icon tiles become plain line icons. */
html body .service-icon,
html body .core-service-icon,
html body .product-icon,
html body .feature-icon,
html body .value-icon,
html body .purpose-icon,
html body .achievement-icon,
html body .story-icon,
html body .info-icon,
html body .trust-item-icon,
html body [class^="si-"],
html body [class*=" si-"],
html body .icon-yt,
html body .icon-sms,
html body .icon-ict,
html body .icon-sys,
html body .icon-srv,
html body .icon-davo {
  background: none !important;
  border: 0 !important;
  color: currentColor !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  justify-content: flex-start !important;
}

/* The big service icon sits on its own line, and the chip keeps a gap between its icon and label. */
html body .service-icon {
  display: flex !important;
  margin-bottom: 0.9rem !important;
}

html body .service-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem !important;
}

/* Arrow links in the reference style: plain text, underline on hover. */
html body .home-read-more,
html body .read-more,
html body .blog-cta-link,
html body .service-card a:not([class*="btn"]) {
  color: #000 !important;
  font-weight: 400 !important;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Imagery: no rounded masks or tilts. */
html body .home-blog-image,
html body .blog-image,
html body .article-main-image,
html body .feature-visual img {
  transform: none !important;
}

/* ---------- Stats ---------- */
html body .stat-card h3,
html body .achievement-card h3,
html body .impact-item strong,
html body .hero-stat strong {
  font-size: clamp(2.2rem, 3.6vw, 2.8rem) !important;
  font-weight: 300 !important;
}

/* ---------- Forms ---------- */
html body .form-control,
html body .form-select,
html body .search-input,
html body input[type="text"],
html body input[type="email"],
html body input[type="tel"],
html body textarea {
  border: 0 !important;
  border-bottom: 1px solid #000 !important;
  background: transparent !important;
  padding-left: 0 !important;
  font-size: 1rem !important;
}

html body .form-control:focus,
html body .form-select:focus,
html body .search-input:focus {
  outline: none;
  border-bottom-width: 2px !important;
}

html body .form-label {
  font-weight: 400 !important;
  color: #4a4a4a !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ---------- Closing calls to action ---------- */
html body .pre-footer-cta,
html body .cta-shell,
html body .cta-band,
html body .bottom-cta {
  background: #fff !important;
  padding: 0 !important;
}

html body .cta-card,
html body .bottom-cta-card {
  background: var(--surface-subtle) !important;
  background-image: none !important;
  color: #000 !important;
  border: 0 !important;
  padding: 90px 0 !important;
  max-width: none;
  text-align: left !important;
}

html body .cta-card *,
html body .bottom-cta-card *,
html body .pre-footer-cta * {
  color: #000 !important;
}

html body .cta-card h2,
html body .bottom-cta-card h2,
html body .pre-footer-cta h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem) !important;
  font-weight: 300 !important;
}

html body .cta-card::before,
html body .cta-card::after,
html body .bottom-cta-card::before,
html body .bottom-cta-card::after,
html body .pre-footer-cta::before,
html body .pre-footer-cta::after {
  display: none !important;
}

html body .cta-card .btn-cta-white,
html body .bottom-cta-card .btn-cta-white,
html body .pre-footer-cta .btn-cta-white,
html body .cta-card .btn-brand {
  background: #000 !important;
  color: #fff !important;
}

html body .cta-card .btn-cta-white:hover,
html body .bottom-cta-card .btn-cta-white:hover,
html body .pre-footer-cta .btn-cta-white:hover {
  background: transparent !important;
  color: #000 !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  html body .main-nav .navbar-collapse {
    border-top: 1px solid var(--rule);
    padding: 1rem 0;
  }

  html body .navbar-nav {
    align-items: flex-start !important;
  }
}

@media (max-width: 767px) {
  html body {
    font-size: 16px;
  }

  html body .hero,
  html body .about-hero,
  html body .catalog-hero,
  html body .sms-hero,
  html body .contact-hero,
  html body .csr-hero,
  html body .blog-hero,
  html body .docs-hero,
  html body .article-hero {
    padding: 80px 0 70px !important;
  }

  html body .section-space,
  html body .services-section,
  html body .about-section,
  html body .core-services-section,
  html body .home-blog-section,
  html body .blog-section,
  html body .faq-section,
  html body .quick-contact,
  html body .program-section,
  html body .values-section,
  html body .story-section,
  html body .why-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  html body .cta-card,
  html body .bottom-cta-card {
    padding: 64px 16px !important;
  }

  html body .hero-proof,
  html body .hero-metrics,
  html body .hero-stats,
  html body .hero-promise-row {
    gap: 1.2rem !important;
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* ---------- Page-level fixes ---------- */
/* Card text was styled for dark cards; keep it readable on white. */
html body .core-service-card,
html body .core-service-card .core-service-title,
html body .core-service-card .core-service-text {
  color: #000 !important;
}

html body .core-service-card .core-service-text {
  opacity: 0.7;
}

html body .core-services-section::before,
html body .core-services-section::after,
html body .services-section::before,
html body .services-section::after,
html body .about-section::before,
html body .about-section::after {
  display: none !important;
}


/* The homepage closing CTA is a full-width grey band, not a dark card. */
html body .pre-footer-cta {
  background: var(--surface-subtle) !important;
  padding: 100px 0 !important;
}

html body .pre-footer-cta > .container {
  background: none !important;
}

html body .pre-footer-cta .row {
  background: none !important;
  padding: 0 !important;
  border: 0 !important;
}

html body .pre-footer-cta .row::before,
html body .pre-footer-cta .row::after {
  display: none !important;
}

html body .core-service-highlight {
  background: #fff !important;
  border: 1px solid var(--rule) !important;
  color: #000 !important;
}

html body .core-service-highlight a {
  color: #000 !important;
  text-decoration: underline;
}

@media (max-width: 767px) {
  html body .pre-footer-cta {
    padding: 64px 0 !important;
  }
}

/* Hero figures: white and light, not bold blue. */
html body .hero-metric strong,
html body .hero-stat strong,
html body .about-hero strong {
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 300 !important;
  font-size: 2.2rem !important;
}

html body .hero-metric span,
html body .hero-stat span {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

/* About page story label and pull quote. */
html body .story-since {
  display: none !important;
}

html body .story-quote {
  background: none !important;
  border: 0 !important;
  border-top: 1px solid #000 !important;
  padding: 1.5rem 0 0 !important;
  font-style: normal !important;
}

html body .story-quote,
html body .story-quote * {
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  font-style: normal !important;
  line-height: 1.4 !important;
  color: #000 !important;
}

/* Respect sections that deliberately join up with the next one. */
html body .section-space[style*="padding-bottom: 0"] {
  padding-bottom: 0 !important;
}

html body .section-space[style*="padding-top"] {
  padding-top: 40px !important;
}

/* Remaining brand-blue accents become black. */
html body .pathway-num,
html body .faq-toggle,
html body .login-page .btn,
html body form .btn:not(.btn-link) {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

html body .card-link,
html body .stat-value,
html body .info-value,
html body .info-value a,
html body .form-kicker,
html body .muted-link {
  color: #000 !important;
}

html body .stat-value {
  font-weight: 300 !important;
}

html body .card-link,
html body .muted-link {
  text-decoration: underline;
}

/* CSR photo shown as-is, without the blue tint. */
html body .feature-visual {
  background: url("https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat !important;
  min-height: 420px;
}

html body .pricing-header {
  background: #fff !important;
}

/* Products page portfolio stats: a ruled white row rather than a black box. */
html body .stats-row {
  background: #fff !important;
  color: #000 !important;
  border-top: 1px solid #000 !important;
}

html body .stats-row .stat-card {
  background: transparent !important;
  border: 0 !important;
  color: #000 !important;
}

html body .stats-row .stat-card * {
  color: #000 !important;
}

html body .stats-row .stat-value {
  font-size: 2.6rem !important;
}

html body .services-band::before,
html body .services-band::after,
html body .purpose-band::before,
html body .purpose-band::after,
html body .achievements-section::before,
html body .achievements-section::after {
  display: none !important;
}

html body .nav-link.btn-header-contact.active {
  color: #fff !important;
  text-decoration: none !important;
}

html body .cta-card,
html body .bottom-cta-card {
  padding: 90px 64px !important;
}

@media (max-width: 767px) {
  html body .cta-card,
  html body .bottom-cta-card {
    padding: 56px 24px !important;
  }
}

/* The About hero carries a photo under a left-to-right shade so the text stays readable. */
html body header.about-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("images/about-hero.jpg") center 35% / cover no-repeat !important;
}

/* The Contact hero uses the meeting-room photo under the same shade as the About hero. */
html body .contact-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("images/contact-hero.jpg") center 40% / cover no-repeat !important;
}

/* On wide screens the homepage photo sits on the right so the headline never covers the person. */
@media (min-width: 992px) {
  html body .hero .hero-image {
    left: auto;
    right: 0;
    width: 62%;
    object-position: 30% 30%;
  }

  html body .hero {
    background: #000;
  }

  html body .hero .hero-overlay {
    background: linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.1) 100%) !important;
  }
}

/* Homepage hero slides stack in one grid cell and cross-fade. */
html body .hero {
  display: grid;
}

html body .hero .hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}

html body .hero .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

html body .hero h2.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  max-width: 17ch;
  margin-bottom: 1rem;
}

html body .hero .hero-slide-strategy .hero-image {
  object-position: 70% 40%;
}

html body .hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

html body .hero-dot {
  width: 36px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

html body .hero-dot.is-active {
  background: #fff;
}

/* Hero text rises in line by line when a slide arrives and lifts away when it leaves; the photo eases out of a slow zoom. */
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroTextOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-28px); }
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

html body .hero .hero-slide.is-active .hero-image {
  animation: heroZoom 8s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

html body .hero .hero-slide.is-active .hero-copy > * {
  animation: heroTextIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

html body .hero .hero-slide.is-active .hero-copy > *:nth-child(1) { animation-delay: 0.25s; }
html body .hero .hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: 0.4s; }
html body .hero .hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: 0.55s; }
html body .hero .hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: 0.7s; }
html body .hero .hero-slide.is-active .hero-copy > *:nth-child(5) { animation-delay: 0.85s; }

html body .hero .hero-slide.is-leaving .hero-copy > * {
  animation: heroTextOut 0.5s ease-in both;
}

html body .hero .hero-slide.is-leaving .hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
html body .hero .hero-slide.is-leaving .hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
html body .hero .hero-slide.is-leaving .hero-copy > *:nth-child(4) { animation-delay: 0.15s; }
html body .hero .hero-slide.is-leaving .hero-copy > *:nth-child(5) { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html body .hero .hero-slide .hero-image,
  html body .hero .hero-slide .hero-copy > * {
    animation: none !important;
  }
}

/* ---------- Motion: scroll reveal ---------- */
html body .reveal {
  opacity: 0;
  transform: translateY(28px) !important;
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease, background-color 0.25s ease !important;
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms !important;
}

html body .reveal.is-visible {
  opacity: 1;
  transform: none !important;
}

/* ---------- Motion: hover ---------- */
/* Cards lift slightly and take a black rule; images inside them ease in. */
html body .service-card,
html body .core-service-card,
html body .product-card,
html body .feature-card,
html body .value-card,
html body .program-card,
html body .home-blog-card,
html body .blog-card,
html body .info-card,
html body .doc-card,
html body .story-card,
html body .purpose-card,
html body .achievement-card,
html body .pricing-card,
html body .stat-card {
  overflow: hidden;
}

html body .service-card.is-visible:hover,
html body .core-service-card.is-visible:hover,
html body .product-card.is-visible:hover,
html body .feature-card.is-visible:hover,
html body .value-card.is-visible:hover,
html body .program-card.is-visible:hover,
html body .home-blog-card.is-visible:hover,
html body .blog-card.is-visible:hover,
html body .info-card.is-visible:hover,
html body .doc-card.is-visible:hover,
html body .story-card.is-visible:hover,
html body .purpose-card.is-visible:hover,
html body .achievement-card.is-visible:hover,
html body .pricing-card.is-visible:hover,
html body .stat-card.is-visible:hover {
  transform: translateY(-6px) !important;
  transition-delay: 0ms !important;
  border-color: #000 !important;
}

html body .service-card img,
html body .core-service-card img,
html body .product-card img,
html body .home-blog-card img,
html body .blog-card img,
html body .story-card img,
html body .program-card img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html body .service-card:hover img,
html body .core-service-card:hover img,
html body .product-card:hover img,
html body .home-blog-card:hover img,
html body .blog-card:hover img,
html body .story-card:hover img,
html body .program-card:hover img {
  transform: scale(1.05);
}

/* Icons inside cards nudge on hover. */
html body [class*="-card"] svg.lucide,
html body .portfolio-tile svg.lucide {
  transition: transform 0.3s ease;
}

html body [class*="-card"]:hover svg.lucide,
html body .portfolio-tile:hover svg.lucide {
  transform: translateX(3px);
}

/* Buttons: smooth colour swap and the arrow slides forward. */
html body .btn,
html body .btn-brand,
html body .btn-outline-brand,
html body .btn-header-contact {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

html body .btn svg.lucide,
html body .btn-brand svg.lucide,
html body .btn-outline-brand svg.lucide {
  transition: transform 0.25s ease;
}

html body .btn:hover svg.lucide-arrow-right,
html body .btn-brand:hover svg.lucide-arrow-right,
html body .btn-outline-brand:hover svg.lucide-arrow-right {
  transform: translateX(4px);
}

/* Photos outside cards ease in on hover. */
html body .about-photo-wrap,
html body .feature-visual {
  overflow: hidden;
}

html body .about-photo,
html body .feature-visual img {
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.8s ease !important;
}

html body .about-photo:hover,
html body .feature-visual:hover img {
  transform: scale(1.03) !important;
}

/* Client logos lift a touch when hovered. */
html body .slide img {
  transition: transform 0.3s ease;
}

html body .slide:hover img {
  transform: scale(1.08);
}

/* Mega menu entries slide right on hover. */
html body .mega-menu-item {
  transition: transform 0.25s ease !important;
}

html body .mega-menu-item:hover {
  transform: translateX(6px) !important;
}

/* Footer links fade instead of underlining. */
html body .footer a {
  transition: opacity 0.2s ease;
}

html body .footer a:hover {
  opacity: 0.65;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html body .reveal {
    opacity: 1;
    transform: none !important;
  }

  html body *:hover {
    transition: none !important;
  }
}

/* Black strip above the menu with quick contact details; it scrolls away while the menu stays pinned. */
html body .topbar {
  background: #000;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

html body .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

html body .topbar-contact,
html body .topbar-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

html body .topbar a,
html body .topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

html body .topbar a:hover {
  color: #fff;
}

html body .topbar svg.lucide {
  width: 14px;
  height: 14px;
}

html body .topbar-links a {
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 1.6rem;
}

/* The last tile in the homepage services grid is a black call-to-action. */
html body a.core-service-card.core-service-cta {
  display: flex;
  flex-direction: column;
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  text-decoration: none;
}

html body .core-service-cta .core-service-title,
html body .core-service-cta .core-service-text {
  color: #fff !important;
}

html body .core-service-cta .core-service-text {
  opacity: 0.75;
}

html body .core-service-cta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

html body .core-service-cta-link svg.lucide {
  width: 18px;
  height: 18px;
}
