/* ============================================================
   INK THEME: white pages, ink-blue type and bands, maroon accents
   Loaded last on every page. Sections opt in with:
     .ink-light            white section, ink text
     .ink-light.ink-alt    very light cool-grey section
     .ink-dark             ink-blue band (heroes, CTAs, footer)
   ":not(#_)" adds ID weight so these beat the older page themes.
   ============================================================ */
:root {
  --ink-900: #071428;
  --ink-800: #0B1F3A;
  --ink-700: #13294B;
  --ink-600: #1E3A64;
  --ink-text: #0B1F3A;
  --ink-body: #3B4A62;
  --ink-muted: #5B6B84;
  --ink-line: #E1E6EE;
  --ink-line-strong: #CBD3DF;
  --ink-bg: #F7F2EA;
  --ink-bg-alt: #F1EADF;
  --ink-pale: #C9D5E8;
  --mr-700: #7D1B2C;
  --mr-600: #94233A;
  --mr-soft: rgba(125, 27, 44, 0.08);
  --ink-band: linear-gradient(160deg, #0B1F3A 0%, #102849 55%, #081833 100%);
}

html body,
html body.hm-wine,
html body.cs-page,
html body.tp-page,
html body.bt-page { background: var(--ink-bg) !important; color: var(--ink-text); }

::selection { background: var(--ink-800); color: #fff; }
::-webkit-scrollbar-track { background: #EEF1F6; }
::-webkit-scrollbar-thumb { background: var(--ink-700); }
html body .page-transition { background: var(--ink-800) !important; }

/* ------------------------------------------------------------
   LIGHT SECTIONS
   ------------------------------------------------------------ */
html body .ink-light:not(#_) {
  background: var(--ink-bg) !important;
  color: var(--ink-body) !important;
}
html body .ink-light.ink-alt:not(#_) { background: var(--ink-bg-alt) !important; }
html body .ink-light:not(#_)::before,
html body .ink-light:not(#_)::after { opacity: 0 !important; }

/* text: solid ink everywhere (also cancels gradient-filled text) */
html body .ink-light:not(#_) :is(h1, h2, h3, h4, h5, h6),
html body .ink-light:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(span, strong, b, a) {
  color: var(--ink-text) !important;
  -webkit-text-fill-color: var(--ink-text) !important;
  text-shadow: none !important;
}
html body .ink-light:not(#_) :is(h1, h2, h3, h4, h5, h6),
html body .ink-light:not(#_) :is(h1, h2, h3, h4, h5, h6) * { filter: none !important; }
html body .ink-light:not(#_) :is(p, li, dd, dt, blockquote, figcaption, small, label, td, th, cite, time, address) {
  color: var(--ink-body) !important;
  -webkit-text-fill-color: var(--ink-body) !important;
  text-shadow: none !important;
}
html body .ink-light:not(#_) :is(span, a, div, strong, b) {
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html body .ink-light:not(#_) :is(p, li) :is(strong, b) {
  color: var(--ink-text) !important;
  -webkit-text-fill-color: var(--ink-text) !important;
}
/* italic highlight inside headings: the maroon accent */
html body .ink-light:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(em, i),
html body .ink-light:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(em, i) span {
  color: var(--mr-700) !important;
  -webkit-text-fill-color: var(--mr-700) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body .ink-light:not(#_) :is(blockquote, q, p) em {
  color: var(--ink-text) !important;
  -webkit-text-fill-color: var(--ink-text) !important;
}

/* hairlines: neutral grey instead of pink or blue glows */
html body .ink-light:not(#_) * { border-color: var(--ink-line) !important; }

/* ------------------------------------------------------------
   INK BANDS (heroes, CTA, footer, a few mid-page bands)
   ------------------------------------------------------------ */
html body .ink-dark:not(#_) {
  background-color: var(--ink-800) !important;
  color: #E6ECF5;
}
html body .ink-dark:not(#_):not(.ink-hero):not(.final-cta):not(.footer) {
  background: var(--ink-band) !important;
}
html body .ink-dark:not(#_) :is(h1, h2, h3, h4, h5, h6) {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html body .ink-dark:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(span:not([class*="sparkle"]), strong) {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html body .ink-dark:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(em, i),
html body .ink-dark:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(em, i) span {
  color: var(--ink-pale) !important;
  -webkit-text-fill-color: var(--ink-pale) !important;
  background: none !important;
  animation: none !important;
}
html body .ink-dark:not(#_) :is(p, li, dd, blockquote, figcaption, address) {
  color: rgba(230, 236, 245, 0.84) !important;
  -webkit-text-fill-color: rgba(230, 236, 245, 0.84) !important;
}
html body .ink-dark:not(#_) * { border-color: rgba(201, 213, 232, 0.18) !important; }

/* ------------------------------------------------------------
   BUTTONS: ink fill, maroon on hover
   ------------------------------------------------------------ */
html body :is(.ink-light, .ink-dark):not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--ghost"]):not([class*="btn--text"]):not([class*="--link"]) {
  background: var(--ink-800) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid var(--ink-800) !important;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.18) !important;
}
html body .ink-dark:not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--ghost"]):not([class*="btn--text"]):not([class*="--link"]) {
  background: #fff !important;
  color: var(--ink-800) !important;
  -webkit-text-fill-color: var(--ink-800) !important;
  border-color: #fff !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25) !important;
}
html body :is(.ink-light, .ink-dark):not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--text"]):not([class*="--link"]):hover {
  background: var(--mr-700) !important;
  border-color: var(--mr-700) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body :is(.ink-light, .ink-dark):not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])) * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html body .ink-light:not(#_) [class*="btn--ghost"] {
  background: transparent !important;
  color: var(--ink-800) !important;
  -webkit-text-fill-color: var(--ink-800) !important;
  border: 1px solid var(--ink-800) !important;
}
html body .ink-dark:not(#_) [class*="btn--ghost"] {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

/* ------------------------------------------------------------
   NAVBAR colours: transparent over the hero, white once scrolled
   (typefaces live in nav-font.css)
   ------------------------------------------------------------ */
html body .nav .nav__brand-suffix { color: rgba(255, 255, 255, 0.78) !important; }
html body .nav__brand-suffix::after { background: linear-gradient(90deg, var(--mr-600), transparent) !important; }
html body .nav .nav__link {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body .nav .nav__link:hover,
html body .nav .nav__link[aria-current="page"] { color: #fff !important; }
html body .nav .nav__link::after { background: var(--mr-600) !important; height: 2px !important; }
html body .nav .nav__logo.nav__brand {
  background: rgba(11, 31, 58, 0.28) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}
html body .nav .nav__logo.nav__brand::before { background: linear-gradient(120deg, rgba(255,255,255,0.55), rgba(255,255,255,0.1) 50%, rgba(148,35,58,0.6)) !important; }
html body .nav .nav__hamburger span { background: #fff !important; }

/* scrolled: white bar, ink type */
html body .nav.nav--scrolled,
html body.cs-page .nav.nav--scrolled,
html body.tp-page .nav.nav--scrolled,
html body.hm-wine .nav.nav--scrolled,
html body.bt-page .nav.nav--scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--ink-line) !important;
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.08) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
html body .nav.nav--scrolled .nav__link,
html body .nav.nav--scrolled .nav__link:hover,
html body .nav.nav--scrolled .nav__link[aria-current="page"] { color: var(--ink-800) !important; }
html body .nav.nav--scrolled .nav__link:hover { color: var(--mr-700) !important; }
html body .nav.nav--scrolled .nav__logo.nav__brand {
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.08) !important;
}
html body .nav.nav--scrolled .nav__logo.nav__brand::before { background: linear-gradient(120deg, var(--ink-line-strong), var(--ink-line) 50%, rgba(125,27,44,0.45)) !important; }
html body .nav.nav--scrolled .nav__brand-name { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }
html body .nav.nav--scrolled .nav__brand-suffix { color: var(--mr-700) !important; }
html body .nav.nav--scrolled .nav__hamburger span { background: var(--ink-800) !important; }

/* mobile menu: white sheet with ink links */
html body .mobile-menu,
html body.hm-wine .mobile-menu,
html body.cs-page .mobile-menu,
html body.tp-page .mobile-menu,
html body.bt-page .mobile-menu { background: #fff !important; color: var(--ink-800) !important; border: none !important; }
html body .mobile-menu .mobile-menu__link,
html body .mobile-menu .mobile-menu__link:focus {
  color: var(--ink-800) !important;
  -webkit-text-fill-color: var(--ink-800) !important;
  border-color: var(--ink-line) !important;
}
html body .mobile-menu .mobile-menu__link:hover { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body .mobile-menu .mobile-menu__footer { color: var(--ink-muted) !important; border-color: var(--ink-line) !important; }
/* while the sheet is open, the bar above it turns ink-on-white too */
html body .nav:has(.nav__hamburger.active) { background: #fff !important; }
html body .nav:has(.nav__hamburger.active) .nav__hamburger span { background: var(--ink-800) !important; }
html body .nav:has(.nav__hamburger.active) .nav__brand-name { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }
html body .nav:has(.nav__hamburger.active) .nav__brand-suffix { color: var(--mr-700) !important; }
html body .nav:has(.nav__hamburger.active) .nav__logo.nav__brand { background: #fff !important; box-shadow: none !important; }

/* ------------------------------------------------------------
   LIGHT SECTIONS: small type, labels, numbers
   ------------------------------------------------------------ */
html body .ink-light:not(#_) :is(span, a, strong, b, em, i, small) { color: var(--ink-text) !important; }
html body .ink-light:not(#_) div { color: var(--ink-body) !important; }
html body .ink-light:not(#_) :is([class*="eyebrow"], [class*="kicker"], [class*="__label"], [class*="__cat"], [class*="__loc"], .mf__label, .bt-chart__label, .tp-stage__n),
html body .ink-light:not(#_) :is([class*="eyebrow"], [class*="kicker"]) * {
  color: var(--mr-700) !important;
  -webkit-text-fill-color: var(--mr-700) !important;
}
html body .ink-light:not(#_) :is([class*="__num"], [class*="-num"], [class*="__n"], .cs-phase__n, .iso-step__num) {
  color: var(--mr-700) !important;
  -webkit-text-fill-color: var(--mr-700) !important;
  background: none !important;
}
html body .ink-light:not(#_) :is(.stat__num, .stat__num *, .stat__counter, .mf__stat-num, .bt-lead__stat b) {
  color: var(--ink-text) !important;
  -webkit-text-fill-color: var(--ink-text) !important;
}
html body .ink-light:not(#_) :is(.stat__label, .mf__stat-label, .mf__cred-label, .mf__sign-role, .mf__role, .tcard__company, .testimonials__rating-text, .iso-step__desc, .bt-offer__cat, .is-from) {
  color: var(--ink-muted) !important;
  -webkit-text-fill-color: var(--ink-muted) !important;
}
html body .ink-light:not(#_) [class*="eyebrow"] [class*="line"],
html body .ink-light:not(#_) :is(.mf__eyebrow-line, .mf__sign-line, .eyebrow::before) { background: var(--mr-700) !important; }
html body .ink-light:not(#_) :is(.service-panel__cta, .service-panel__cta *) { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }
html body .ink-light:not(#_) .service-panel__cta:hover,
html body .ink-light:not(#_) .service-panel__cta:hover * { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body .ink-light:not(#_) .mf__quote-mark { color: rgba(125, 27, 44, 0.16) !important; -webkit-text-fill-color: rgba(125, 27, 44, 0.16) !important; }
html body .ink-light:not(#_) .intro__headline + *,
html body .ink-light:not(#_) [class*="headline-line"],
html body .ink-light:not(#_) [class*="__rule"] { background: var(--mr-700) !important; }

/* ------------------------------------------------------------
   LIGHT SECTIONS: cards, panels, chips
   ------------------------------------------------------------ */
html body .ink-light:not(#_) :is(.iso-timeline, .industry-card, .tcard, .tcard--featured, .mf__stat, .mf__cred, .mf__quote, .bt-challenge__card, .bt-chart, .bt-offer, .cs-std, .cs-phase, .cs-step, .cs-card, .tp-card, .tp-stage, .tr-prog, .tr-card, .why__pillar) {
  background: #FFFFFF !important;
  border: 1px solid var(--ink-line) !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html body .ink-light.ink-alt:not(#_) :is(.why__pillar) { background: transparent !important; box-shadow: none !important; border-width: 0 0 1px !important; }
html body .ink-light:not(#_) .why__pillar { background: transparent !important; box-shadow: none !important; border-width: 0 0 1px !important; }
html body .ink-light:not(#_) :is(.industry-card, .tcard, .bt-offer, .cs-std, .tr-prog, .tp-card):hover {
  border-color: rgba(125, 27, 44, 0.45) !important;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.12) !important;
}
html body .ink-light:not(#_) :is(.industry-card__bar, .showcase__timeline-progress, .iso-timeline__line, .cs-steps__rail, .tr-path__rail) { background: var(--mr-700) !important; opacity: 0.7; }
html body .ink-light:not(#_) :is(.showcase__timeline-track) { background: var(--ink-line) !important; }
html body .ink-light:not(#_) :is(.showcase__timeline-dot) { background: var(--ink-line-strong) !important; }
html body .ink-light:not(#_) :is(.cs-std__ic, .cs-phase__ic, .cs-chip__ic, .cs-step__ic, .tp-ic, .tp-stage__node, .tr-node__ic, .tcard__avatar) {
  background: var(--ink-800) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
}
html body .ink-light:not(#_) :is(.cs-std__ic, .cs-phase__ic, .cs-chip__ic, .cs-step__ic, .tp-ic, .tp-stage__node, .tr-node__ic, .tcard__avatar) * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-light:not(#_) :is(.cs-std__ic, .cs-phase__ic, .cs-chip__ic, .cs-step__ic, .tp-ic, .tp-stage__node, .tr-node__ic) svg { stroke: #fff; }
/* chips and tags */
html body .ink-light:not(#_) :is([class*="__tag"]:not(.mf__tag):not([class*="__tags"]), [class$="__pill"], [class*="__pill "], .cs-chip, [class*="chip"]:not(figcaption):not([class*="__ic"])) {
  background: var(--ink-bg-alt) !important;
  color: var(--ink-800) !important;
  -webkit-text-fill-color: var(--ink-800) !important;
  border: 1px solid var(--ink-line) !important;
}
html body .ink-light.ink-alt:not(#_) :is([class*="__tag"], [class$="__pill"], [class*="__pill "], .cs-chip, [class*="chip"]:not(figcaption):not([class*="__ic"])) { background: #fff !important; }
html body .ink-light:not(#_) li[class=""],
html body .ink-light:not(#_) .tr-why li { background: var(--ink-bg-alt) !important; }

/* glows and colour washes off */
html body .ink-light:not(#_) :is(.mf__glow, .showcase__gradient-bg, .showcase__massive-text, [class*="__glow"], [class*="__orb"]) { opacity: 0 !important; }
html body .ink-light:not(#_) .services__header.has-particles { background: none !important; }

/* photo captions and image overlays stay dark for legibility */
html body .ink-light:not(#_) .mf__badge { background: rgba(11, 31, 58, 0.88) !important; border-color: rgba(255,255,255,0.15) !important; }
html body .ink-light:not(#_) .mf__badge :is(*, span, b, strong) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-light:not(#_) .cs-photo__chip { background: rgba(255,255,255,0.94) !important; border: 1px solid var(--ink-line) !important; }
html body .ink-light:not(#_) .cs-photo__chip :is(*, span, b, strong) { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }
html body .ink-light:not(#_) .cs-photo__chip :is(b, strong) { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body .ink-light:not(#_) .mf__photo { background: linear-gradient(160deg, var(--ink-bg-alt), #E3E9F2) !important; }

/* home showcase: photo cards keep an ink caption panel */
html body .ink-light:not(#_) .showcase__card { background: #fff !important; border: 1px solid var(--ink-line) !important; box-shadow: 0 18px 40px rgba(11, 31, 58, 0.10) !important; }
html body .ink-light:not(#_) .showcase__card-content { background: #fff !important; }
html body .ink-light:not(#_) .showcase__card .showcase__card-label { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body .ink-light:not(#_) .showcase__overlay { background: linear-gradient(90deg, var(--ink-bg-alt) 0%, rgba(244,246,250,0) 8%, rgba(244,246,250,0) 92%, var(--ink-bg-alt) 100%) !important; }

/* business transformation: drawn art panels read as ink "photos" */
html body .ink-light:not(#_) .bt-art { border-radius: 12px; }
html body .ink-light:not(#_) .bt-art::after { background: none !important; }
html body .ink-light:not(#_) .bt-offer__num b { background: var(--ink-800) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border-color: var(--ink-800) !important; box-shadow: none !important; }
html body .ink-light:not(#_) .bt-offer__num small { color: var(--ink-muted) !important; -webkit-text-fill-color: var(--ink-muted) !important; }
html body .ink-light:not(#_) .bt-offer:hover .bt-offer__num b { background: var(--mr-700) !important; }
html body .ink-light:not(#_) .bt-bar__pair i, html body .ink-light:not(#_) b.is-before { background: #9FB2CF !important; }
html body .ink-light:not(#_) .bt-bar__pair i.is-after, html body .ink-light:not(#_) b.is-after { background: var(--ink-800) !important; }
html body .ink-light:not(#_) .is-to { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }

/* third-party inspection cost chart */
html body .ink-light:not(#_) .tp-cost { background: var(--ink-bg-alt) !important; border: 1px solid var(--ink-line) !important; }
html body .ink-light:not(#_) .tp-cost i { background: linear-gradient(180deg, #9FB2CF, #6F86AA) !important; }
html body .ink-light:not(#_) .tp-cost b { background: var(--mr-700) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* consulting ISO 2015 -> 2026 badges */
html body .ink-light:not(#_) .cs-shift__badge { background: var(--ink-bg-alt) !important; border: 1px solid var(--ink-line-strong) !important; }
html body .ink-light:not(#_) .cs-shift__badge--new { background: var(--ink-800) !important; }
html body .ink-light:not(#_) .cs-shift__badge--new * { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ------------------------------------------------------------
   PAGE TOKENS: the older wine and gold palettes now resolve to ink
   ------------------------------------------------------------ */
html body:not(#_) {
  --cs-wine: linear-gradient(160deg, #0B1F3A 0%, #102849 55%, #081833 100%);
  --cs-wine-rev: linear-gradient(200deg, #0B1F3A 0%, #0E2443 50%, #081833 100%);
  --hm-wine: linear-gradient(160deg, #0B1F3A 0%, #102849 55%, #081833 100%);
  --hm-wine-rev: linear-gradient(200deg, #0B1F3A 0%, #0E2443 50%, #081833 100%);
  --tp-wine: linear-gradient(160deg, #0B1F3A 0%, #102849 55%, #081833 100%);
  --tp-wine-rev: linear-gradient(200deg, #0B1F3A 0%, #0E2443 50%, #081833 100%);
  --hm-btn: #0B1F3A;
  --hm-accent: linear-gradient(100deg, #ffffff 0%, #ffffff 60%, #C9D5E8 100%);
  --cs-accent: linear-gradient(100deg, #ffffff 0%, #ffffff 60%, #C9D5E8 100%);
  --tp-accent: linear-gradient(100deg, #ffffff 0%, #ffffff 60%, #C9D5E8 100%);
  --bt-gold: linear-gradient(100deg, #ffffff 0%, #E4EAF4 50%, #C9D5E8 100%);
  --bt-gold-solid: #C9D5E8;
  --tp-mustard: #C9D5E8;
  --tp-mustard-pale: #E4EAF4;
  --cs-rose: #C9D5E8;
  --brand-accent: #E4EAF4;
  --brand-accent-rgb: 228, 234, 244;
}

/* dark bands: one ink surface everywhere */
html body .ink-dark:not(#_).ink-hero,
html body .ink-dark:not(#_).final-cta,
html body .ink-dark:not(#_).footer,
html body:not(#_) footer.footer {
  background: var(--ink-band) !important;
}
/* marquee strips: white with ink words and maroon separators */
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee) {
  background: #fff !important;
  border-block: 1px solid var(--ink-line) !important;
}
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee) :is(span, em, i, b, div) {
  color: var(--ink-800) !important;
  -webkit-text-fill-color: var(--ink-800) !important;
  text-shadow: none !important;
}
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee) :is(em, i) { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee)::before,
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee)::after { background: linear-gradient(90deg, #fff, rgba(255,255,255,0)) !important; }
html body:not(#_) .bt-page .bt-hero__bg, html body.bt-page:not(#_) .bt-hero__bg { background: var(--ink-900) !important; }
html body:not(#_) .cs-hero__tint,
html body:not(#_) .tr-hero .cs-hero__tint { background: linear-gradient(180deg, rgba(11,31,58,0.88) 0%, rgba(11,31,58,0.72) 55%, rgba(8,24,51,0.9) 100%) !important; }
html body:not(#_) .tp-hero__photo::after { background: linear-gradient(170deg, rgba(11,31,58,0.35) 0%, transparent 45%, rgba(11,31,58,0.35) 100%) !important; }

/* small type on ink: no pink or gold tints */
html body .ink-dark:not(#_) :is(span, a, div, small, strong, b, label):not([class*="btn"]):not(.btn *) {
  -webkit-text-fill-color: currentColor !important;
}
html body .ink-dark:not(#_) :is([class*="eyebrow"], [class*="kicker"], [class*="__label"], [class*="__num"], [class*="-num"]):not([class*="btn"]) {
  color: #C9D5E8 !important;
  -webkit-text-fill-color: #C9D5E8 !important;
}
html body .ink-dark:not(#_) [class*="eyebrow"] [class*="line"],
html body .ink-dark:not(#_) [class*="eyebrow"]::before,
html body .ink-dark:not(#_) .hero__eyebrow-line { background: #B4384F !important; }
html body .ink-dark:not(#_) [class*="__col-title"] {
  color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important;
}
html body:not(#_) footer.footer :is(.footer__link, .footer__contact-link)::after { background: #B4384F !important; }
html body:not(#_) footer.footer :is(.footer__link, .footer__contact-link):hover { color: #fff !important; }
html body:not(#_) footer.footer::before { background: linear-gradient(90deg, transparent, rgba(180,56,79,0.7), transparent) !important; }
html body:not(#_) footer.footer::after { color: rgba(255,255,255,0.03) !important; -webkit-text-fill-color: rgba(255,255,255,0.03) !important; }

html body:not(#_) #industries .industry-card,
html body.hm-wine:not(#_) #industries .industries__grid--four .industry-card { background: #fff !important; }

/* ------------------------------------------------------------
   HOME HERO: crossfading image carousel under an ink overlay
   ------------------------------------------------------------ */
html body #hero .hero__bg { background: var(--ink-900) !important; }
html body #hero .hero__img-wrap.hero-carousel {
  left: 0 !important; right: 0 !important; width: 100% !important;
  -webkit-mask-image: none !important; mask-image: none !important;
}
html body #hero .hero-carousel__track { position: absolute; inset: 0; transform-origin: center; }
html body #hero .hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease-in-out; }
html body #hero .hero-slide.is-active { opacity: 1; }
html body #hero .hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 65% 35% !important;
  filter: saturate(0.85) brightness(0.72) !important;
  transform: scale(1.06);
  transition: transform 4s ease-out;
}
html body #hero .hero-slide.is-active img { transform: scale(1); }
html body #hero .hero__gradient,
html body.hm-wine #hero .hero__gradient {
  background:
    linear-gradient(90deg, rgba(7,20,40,0.94) 0%, rgba(7,20,40,0.78) 34%, rgba(7,20,40,0.38) 68%, rgba(7,20,40,0.22) 100%),
    linear-gradient(0deg, rgba(7,20,40,0.7) 0%, rgba(7,20,40,0) 35%) !important;
}
html body #hero :is(.hero__orb, .hero__gradient-solid) { opacity: 0 !important; }
html body #hero .hero__headline .hero__line > span { color: #fff !important; -webkit-text-fill-color: #fff !important; text-shadow: 0 2px 24px rgba(7,20,40,0.6) !important; }
html body #hero .hero__headline em,
html body #hero .hero__line--accent > span.has-sparkles em {
  background-image: linear-gradient(100deg, #C9D5E8 0%, #C9D5E8 32%, #ffffff 46%, #ffffff 54%, #C9D5E8 68%, #C9D5E8 100%) !important;
  -webkit-text-fill-color: transparent !important;
}
html body #hero .hero__body { color: rgba(230,236,245,0.88) !important; -webkit-text-fill-color: rgba(230,236,245,0.88) !important; }
html body #hero :is(.hero__eyebrow-text, .hero__meta-left, .hero__scroll-label) { color: rgba(230,236,245,0.8) !important; -webkit-text-fill-color: rgba(230,236,245,0.8) !important; }

html body #hero .hero-carousel__dots {
  position: absolute; z-index: 5;
  right: var(--pad-x); bottom: clamp(24px, 5vh, 44px);
  display: flex; gap: 6px;
}
html body #hero .hero-carousel__dot {
  cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center;
  background: none; border: 0;
}
html body #hero .hero-carousel__dot span {
  position: relative; overflow: hidden; display: block;
  width: 28px; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.32);
  transition: width .4s ease, background .3s ease;
}
html body #hero .hero-carousel__dot:hover span { background: rgba(255,255,255,0.6); }
html body #hero .hero-carousel__dot.is-active span { width: 44px; }
html body #hero .hero-carousel__dot.is-active span::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform-origin: left; animation: heroDotFill 3s linear forwards;
}
html body #hero.is-paused .hero-carousel__dot.is-active span::after { animation-play-state: paused; }
html body #hero .hero-carousel__dot:focus-visible { outline: 2px solid #fff; outline-offset: -8px; border-radius: 6px; }
@keyframes heroDotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 768px) {
  html body #hero .hero__gradient,
  html body.hm-wine #hero .hero__gradient {
    background: linear-gradient(180deg, rgba(7,20,40,0.72) 0%, rgba(7,20,40,0.78) 50%, rgba(7,20,40,0.92) 100%) !important;
  }
  html body #hero .hero-slide img { object-position: 60% 40% !important; }
  html body #hero .hero-carousel__dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; }
  html body #hero .hero__scroll { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body #hero .hero-slide { transition-duration: .01s; }
  html body #hero .hero-slide img { transform: none !important; transition: none; }
}

/* home: "From certification readiness" photo banner and final CTA tint */
html body.hm-wine:not(#_) #introVisual.intro__visual { background: #fff !important; border-block: 1px solid var(--ink-line); }
html body.hm-wine:not(#_) #introVisual .intro__visual-overlay {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.94) 34%, rgba(255,255,255,0.35) 62%, rgba(255,255,255,0) 100%) !important;
}
html body:not(#_) #introVisual :is(.intro__visual-text, .intro__visual-text b, .intro__visual-facts span) { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; text-shadow: none !important; }
html body:not(#_) #introVisual .intro__visual-text em { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; background: none !important; }
html body:not(#_) #introVisual :is(.intro__visual-eyebrow, .intro__visual-sub) { color: var(--ink-muted) !important; -webkit-text-fill-color: var(--ink-muted) !important; }
html body:not(#_) #introVisual .intro__visual-eyebrow { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body:not(#_) .final-cta .final-cta__gradient {
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0.94) 42%, rgba(255,255,255,0.6) 75%, rgba(255,255,255,0.35) 100%) !important;
}
html body:not(#_) .final-cta.ink-alt .final-cta__gradient {
  background: linear-gradient(to right, #F4F6FA 0%, rgba(244,246,250,0.94) 42%, rgba(244,246,250,0.6) 75%, rgba(244,246,250,0.35) 100%) !important;
}
html body:not(#_) .final-cta .final-cta__img { opacity: 0.55 !important; filter: grayscale(0.3) !important; }

/* business transformation: pill buttons in ink, fill wipe off */
html body.bt-page:not(#_) .bt-btn::before { display: none !important; }
html body.bt-page:not(#_) .bt-btn .bt-btn__icon { background: var(--ink-800) !important; border-color: var(--ink-800) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body.bt-page:not(#_) .ink-light .bt-btn .bt-btn__icon,
html body.bt-page:not(#_) .bt-btn:hover .bt-btn__icon { background: #fff !important; border-color: #fff !important; color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }
html body.bt-page:not(#_) .bt-btn:not(.bt-btn--primary) { background: transparent !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border-color: rgba(255,255,255,0.55) !important; }
html body.bt-page:not(#_) .ink-light .bt-btn:not(.bt-btn--primary) { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; border-color: var(--ink-800) !important; }
html body.bt-page:not(#_) .bt-btn:focus-visible { outline-color: var(--mr-600); }
html body.bt-page:not(#_) .bt-hero :is(.bt-eyebrow, .bt-hero__areas, .bt-hero__areas *) { color: #C9D5E8 !important; -webkit-text-fill-color: #C9D5E8 !important; }

/* business transformation: photo washes become white in light sections */
html body.bt-page:not(#_) .ink-light .bt-challenge__photo img { opacity: 0.22 !important; filter: grayscale(0.4) !important; }
html body.bt-page:not(#_) .ink-light .bt-challenge__photo::after {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.92) 30%, rgba(255,255,255,0.5) 75%, rgba(255,255,255,0.8) 100%),
              linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, #fff 100%) !important;
}
html body.bt-page:not(#_) .bt-approach__photo::after {
  background: radial-gradient(ellipse 45% 55% at 55% 50%, rgba(11,31,58,0.55) 0%, rgba(11,31,58,0.2) 70%),
              linear-gradient(90deg, #0B1F3A 0%, rgba(11,31,58,0.6) 30%, rgba(11,31,58,0.3) 75%, rgba(11,31,58,0.7) 100%),
              linear-gradient(180deg, #0B1F3A 0%, rgba(11,31,58,0) 25%, rgba(11,31,58,0) 75%, #0B1F3A 100%) !important;
}
html body.bt-page:not(#_) .bt-approach { background: var(--ink-800) !important; }
html body.bt-page:not(#_) .ink-light .bt-lead__art { border-color: var(--ink-line) !important; box-shadow: 0 24px 50px rgba(11,31,58,0.18) !important; }
html body.bt-page:not(#_) .ink-light .bt-lead__expertise li::before { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body.bt-page:not(#_) .ink-light .bt-lead__stat b { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }
html body.bt-page:not(#_) .ink-light .bt-lead__stat span { color: var(--ink-muted) !important; -webkit-text-fill-color: var(--ink-muted) !important; }

/* home hero: the accent line is a pale ink sweep, not pink */
html body.hm-wine #hero .hero__headline .hero__line--accent > span { color: #C9D5E8 !important; -webkit-text-fill-color: #C9D5E8 !important; }
html body.hm-wine #hero .hero__headline em {
  background-image: linear-gradient(100deg, #C9D5E8 0%, #C9D5E8 32%, #E9EEF6 43%, #ffffff 50%, #E9EEF6 57%, #C9D5E8 68%, #C9D5E8 100%) !important;
  -webkit-text-fill-color: transparent !important;
}
html body.hm-wine #hero .hero__eyebrow-text { color: rgba(230,236,245,0.85) !important; }
html body.hm-wine #hero .hero__eyebrow-line { background: #B4384F !important; }
html body.hm-wine:not(#_) :is(#hero .hero__ctas .btn--light, .final-cta__actions .btn--light, .btn--light) {
  background: #fff !important; color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important;
  border-color: #fff !important; box-shadow: 0 10px 26px rgba(0,0,0,0.25) !important;
}
html body.hm-wine:not(#_):not(#_):not(#_) .ink-light .btn--light { background: var(--ink-800) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border-color: var(--ink-800) !important; }
html body.hm-wine:not(#_) :is(#hero .hero__ctas .btn--light, .final-cta__actions .btn--light, .btn--light):hover {
  background: var(--mr-700) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border-color: var(--mr-700) !important;
}
html body.hm-wine:not(#_) :is(#hero .hero__ctas .btn--ghost, .final-cta__actions .btn--ghost) { color: #fff !important; -webkit-text-fill-color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }
html body.hm-wine:not(#_) :is(#hero .hero__ctas .btn--ghost, .final-cta__actions .btn--ghost):hover { border-color: #fff !important; background: rgba(255,255,255,0.08) !important; }

/* bands that used to be dark, now light: drawn widgets keep readable labels */
html body .ink-light:not(#_) .pattern-box.standards-orbit {
  background: radial-gradient(circle at 50% 50%, rgba(11,31,58,0.06) 0%, rgba(11,31,58,0.03) 55%, transparent 75%) !important;
}
html body .ink-light:not(#_) .standards-orbit :is(.orbit__track li span, .orbit__track li) {
  background: #fff !important; color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important;
  border: 1px solid var(--ink-line-strong) !important; box-shadow: 0 4px 12px rgba(11,31,58,0.08) !important;
}
html body .ink-light:not(#_) .standards-orbit .orbit__ring { border-color: rgba(11,31,58,0.14) !important; }
html body .ink-light:not(#_) .standards-orbit .orbit__seal { background: var(--ink-800) !important; border-color: var(--ink-800) !important; box-shadow: 0 0 0 8px rgba(125,27,44,0.08) !important; }
html body .ink-light:not(#_) .standards-orbit .orbit__seal * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-light:not(#_) .standards-orbit .orbit__seal em { color: #E9C9CE !important; -webkit-text-fill-color: #E9C9CE !important; }
html body .ink-light:not(#_) .pattern-box__grid { opacity: 0.25 !important; }

/* business transformation DMAIC on a white wash */
html body.bt-page:not(#_) .ink-light .bt-approach__photo img { opacity: 0.2 !important; filter: grayscale(0.4) !important; }
html body.bt-page:not(#_) .ink-light .bt-approach__photo::after {
  background: linear-gradient(90deg, #F4F6FA 0%, rgba(244,246,250,0.9) 35%, rgba(244,246,250,0.55) 100%),
              linear-gradient(180deg, #F4F6FA 0%, rgba(244,246,250,0) 25%, rgba(244,246,250,0) 75%, #F4F6FA 100%) !important;
}
html body.bt-page:not(#_) .bt-approach.ink-light { background: var(--ink-bg-alt) !important; }
html body.hm-wine:not(#_):not(#_):not(#_) .ink-light .btn--light:hover { background: var(--mr-700) !important; border-color: var(--mr-700) !important; }
html body.hm-wine:not(#_):not(#_):not(#_) .ink-light .btn--ghost { background: transparent !important; color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; border-color: var(--ink-800) !important; }
html body.hm-wine:not(#_):not(#_):not(#_) .ink-light .btn--ghost:hover { background: var(--ink-800) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* founder portrait: soft ink-grey backdrop instead of wine */
html body .ink-light:not(#_) .mf__photo { box-shadow: 0 24px 50px rgba(11,31,58,0.16) !important; }
html body .ink-light:not(#_) .mf__photo::before {
  background: radial-gradient(ellipse 75% 55% at 50% 35%, rgba(255,255,255,0.9) 0%, rgba(201,213,232,0.4) 50%, transparent 78%),
              linear-gradient(180deg, #E9EEF5 0%, #D9E1EC 100%) !important;
}
html body .ink-light:not(#_) .mf__photo-ring { border-color: rgba(11,31,58,0.18) !important; }
html body .ink-light:not(#_) .mf__img { filter: drop-shadow(0 12px 24px rgba(11,31,58,0.2)) !important; }

/* business transformation: DMAIC cycle and charts in ink with a maroon ring */
html body.bt-page:not(#_) .ink-light .bt-cycle__track { stroke: var(--ink-line-strong) !important; }
html body.bt-page:not(#_) .ink-light .bt-cycle__ring { stroke: var(--mr-700) !important; }
html body.bt-page:not(#_) .ink-light .bt-cycle__nodes circle { fill: var(--ink-800) !important; stroke: #fff !important; }
html body.bt-page:not(#_) .ink-light .bt-cycle__nodes text { fill: #fff !important; }
html body.bt-page:not(#_) .ink-light .bt-cycle__center { fill: var(--ink-800) !important; }
html body.bt-page:not(#_) .ink-light .bt-cycle__center-sub { fill: var(--mr-700) !important; }
html body.bt-page:not(#_) .ink-light :is(.bt-line__after, .bt-gauge__fill) { stroke: var(--ink-800) !important; }
html body.bt-page:not(#_) .ink-light .bt-line__before { stroke: #9FB2CF !important; }
html body.bt-page:not(#_) .ink-light .bt-gauge__track { stroke: var(--ink-line) !important; }
html body.bt-page:not(#_) .ink-light .bt-chart svg text { fill: var(--ink-muted) !important; }

/* third-party inspection: white benefit cards, ink-toned manpower photo */
html body .ink-light:not(#_) .tp-benefit { background: #fff !important; border: 1px solid var(--ink-line) !important; box-shadow: 0 10px 30px rgba(11,31,58,0.06) !important; }
html body:not(#_) .tp-photo::after { background: linear-gradient(160deg, #0B1F3A 0%, #13294B 50%, #1E3A64 100%) !important; opacity: 0.55 !important; }
html body:not(#_) .tp-photo { box-shadow: 0 24px 50px rgba(11,31,58,0.16) !important; }
html body .ink-light:not(#_) :is(.tp-photo__chip) { background: rgba(255,255,255,0.94) !important; border: 1px solid var(--ink-line) !important; }
html body .ink-light:not(#_) .tp-photo__chip, html body .ink-light:not(#_) .tp-photo__chip b { color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important; }

/* consulting approach: the short line under each step reads as plain text */
html body .ink-light:not(#_) .cs-phase__tag { background: none !important; border: 0 !important; padding: 0 !important; color: var(--ink-text) !important; -webkit-text-fill-color: var(--ink-text) !important; }

/* training learning cycle: ink nodes, maroon only while a node is lit */
html body .ink-light:not(#_) .tr-cycle__node circle { animation-name: trNodeInk !important; }
html body .ink-light:not(#_) .tr-cycle__k { fill: var(--mr-700) !important; }
html body .ink-light:not(#_) .tr-cycle__v { fill: var(--ink-800) !important; }
html body .ink-light:not(#_) .tr-cycle__orbit circle { fill: var(--mr-700) !important; filter: none !important; }
@keyframes trNodeInk {
  0%, 30%, 100% { fill: #0B1F3A; stroke: rgba(11,31,58,0.2); }
  5%, 22% { fill: #7D1B2C; stroke: #fff; }
}
html body .ink-light:not(#_) .tr-cycle svg > path,
html body .ink-light:not(#_) .tr-cycle marker path { stroke: #8EA0BC !important; }
html body .ink-light:not(#_) .tr-cycle svg > circle:not([class]) { stroke: var(--ink-line-strong) !important; }
html body .ink-light:not(#_) .tr-cycle svg > circle[r="78"] { fill: #fff !important; stroke: var(--ink-line-strong) !important; }
html body .ink-light:not(#_) .tr-cycle .tr-cycle__dash { stroke: rgba(125,27,44,0.45) !important; }

@media (max-width: 768px) {
  html body.hm-wine:not(#_) #introVisual .intro__visual-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.9) 42%, #fff 70%) !important;
  }
}

/* card category labels read as small maroon text, not chips */
html body .ink-light:not(#_) :is(.cs-std__tag, .cs-std__tag *) {
  background: none !important; border: 0 !important; padding: 0 !important;
  color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important;
}

/* ============================================================
   COLOUR BALANCE: white base, rich ink bands, visible maroon
   ============================================================ */
:root {
  --ink-tint: #EEF1F6;
  --mr-500: #A3263C;
  --mr-rose: #E9A6B2;
  --ink-band-rich:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(125, 27, 44, 0.42) 0%, rgba(125, 27, 44, 0) 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(42, 79, 158, 0.35) 0%, rgba(42, 79, 158, 0) 65%),
    linear-gradient(160deg, #0B1F3A 0%, #102849 55%, #081833 100%);
}

/* soft blue tint for alternating light sections */
html body .ink-light.ink-tint:not(#_) {
  background: linear-gradient(180deg, #F1EADF 0%, #F7F2EA 100%) !important;
}

/* ink bands get a maroon glow in one corner and a blue one in the other */
html body .ink-dark:not(#_):not(.ink-hero):not(.footer) { background: var(--ink-band-rich) !important; }
html body .ink-dark.final-cta:not(#_) { background: var(--ink-800) !important; }
html body:not(#_) .final-cta.ink-dark .final-cta__gradient {
  background:
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(125,27,44,0.45) 0%, rgba(125,27,44,0) 65%),
    linear-gradient(to right, rgba(11,31,58,0.96) 0%, rgba(11,31,58,0.82) 40%, rgba(11,31,58,0.4) 78%, rgba(11,31,58,0.25) 100%) !important;
}
html body:not(#_) .final-cta.ink-dark .final-cta__img { opacity: 0.5 !important; filter: none !important; }
html body .ink-hero:not(#_)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 6; opacity: 1 !important;
  background: linear-gradient(90deg, var(--mr-700), var(--mr-500) 40%, rgba(163,38,60,0) 100%) !important;
  pointer-events: none;
}
html body:not(#_) footer.footer {
  background: var(--ink-band-rich) !important;
  border-top: 3px solid var(--mr-700) !important;
}
html body.cs-page:not(#_) .cs-hero,
html body.tp-page:not(#_) .tp-hero,
html body.tr-page:not(#_) .tr-hero { background: var(--ink-band-rich) !important; }
html body:not(#_) .cs-hero__tint,
html body:not(#_) .tr-hero .cs-hero__tint {
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(125,27,44,0.38) 0%, rgba(125,27,44,0) 60%),
    linear-gradient(180deg, rgba(11,31,58,0.86) 0%, rgba(11,31,58,0.7) 55%, rgba(8,24,51,0.9) 100%) !important;
}
html body #hero .hero__gradient,
html body.hm-wine #hero .hero__gradient {
  background:
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(125,27,44,0.45) 0%, rgba(125,27,44,0) 70%),
    linear-gradient(90deg, rgba(7,20,40,0.94) 0%, rgba(7,20,40,0.84) 34%, rgba(7,20,40,0.5) 68%, rgba(7,20,40,0.34) 100%),
    linear-gradient(0deg, rgba(7,20,40,0.7) 0%, rgba(7,20,40,0) 35%) !important;
}
@media (max-width: 768px) {
  html body #hero .hero__gradient,
  html body.hm-wine #hero .hero__gradient {
    background:
      radial-gradient(ellipse 80% 40% at 0% 100%, rgba(125,27,44,0.45) 0%, rgba(125,27,44,0) 70%),
      linear-gradient(180deg, rgba(7,20,40,0.78) 0%, rgba(7,20,40,0.84) 50%, rgba(7,20,40,0.94) 100%) !important;
  }
}

/* maroon accents on ink: italic highlights, labels, numbers, rules */
html body .ink-dark:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(em, i),
html body .ink-dark:not(#_) :is(h1, h2, h3, h4, h5, h6) :is(em, i) span {
  color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important;
}
html body .ink-dark:not(#_):not(.ink-hero) :is([class*="eyebrow"], [class*="kicker"], [class*="__num"], [class*="-num"], [class*="__n"]):not([class*="btn"]) {
  color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important;
}
html body #hero .hero__headline em,
html body.hm-wine #hero .hero__headline em {
  background-image: linear-gradient(100deg, #E9A6B2 0%, #E9A6B2 32%, #F7DCE1 43%, #ffffff 50%, #F7DCE1 57%, #E9A6B2 68%, #E9A6B2 100%) !important;
}
html body.hm-wine #hero .hero__headline .hero__line--accent > span { color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important; }

/* cards on ink: glassy panels with a maroon top edge */
html body .ink-dark:not(#_) :is(.why__pillar, .cs-phase, .tp-card, .tr-benefit, .tr-perk) {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,213,232,0.16) !important;
  border-top: 2px solid var(--mr-500) !important;
  border-radius: 12px;
  box-shadow: none !important;
}
html body .ink-dark:not(#_) .why__pillar { padding: 1.2rem 1.4rem !important; margin-bottom: 0.8rem; }
html body .ink-dark:not(#_) :is(.why__pillar-title, .cs-phase__tag, h3, h4) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-dark:not(#_) :is(.cs-phase__ic, .tp-ic, .tr-node__ic) { background: var(--mr-700) !important; color: #fff !important; }
html body .ink-dark:not(#_) .cs-phase__tag { background: none !important; border: 0 !important; padding: 0 !important; }
html body .ink-dark:not(#_) .cs-steps__rail { background: var(--mr-500) !important; }

/* ------------------------------------------------------------
   MAROON ON LIGHT: buttons, card edges, icons, stats
   ------------------------------------------------------------ */
html body .ink-light:not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--ghost"]):not([class*="btn--text"]):not([class*="--link"]),
html body.hm-wine:not(#_):not(#_):not(#_) .ink-light .btn--light {
  background: var(--mr-700) !important;
  border-color: var(--mr-700) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  box-shadow: 0 10px 24px rgba(125,27,44,0.25) !important;
}
html body .ink-light:not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--ghost"]):not([class*="btn--text"]):not([class*="--link"]):hover,
html body.hm-wine:not(#_):not(#_):not(#_) .ink-light .btn--light:hover {
  background: var(--ink-800) !important; border-color: var(--ink-800) !important;
}
/* primary buttons on ink: maroon fill, white on hover */
html body .ink-dark:not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--ghost"]):not([class*="btn--text"]):not([class*="--link"]),
html body.hm-wine:not(#_) :is(#hero .hero__ctas .btn--light, .final-cta__actions .btn--light) {
  background: var(--mr-700) !important; border-color: var(--mr-700) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3) !important;
}
html body .ink-dark:not(#_) :is(.btn, [class*="__btn"], [class*="-btn"]:not([class*="btn__"])):not([class*="btn--ghost"]):not([class*="btn--text"]):not([class*="--link"]):hover,
html body.hm-wine:not(#_) :is(#hero .hero__ctas .btn--light, .final-cta__actions .btn--light):hover {
  background: #fff !important; border-color: #fff !important;
  color: var(--ink-800) !important; -webkit-text-fill-color: var(--ink-800) !important;
}
html body.bt-page:not(#_) .bt-btn--primary .bt-btn__icon { background: #fff !important; border-color: #fff !important; color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body.bt-page:not(#_) .bt-btn--primary:hover .bt-btn__icon { background: var(--ink-800) !important; border-color: var(--ink-800) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* cards: maroon top edge, faint blue wash */
html body .ink-light:not(#_) :is(.industry-card, .tcard, .mf__stat, .mf__cred, .bt-challenge__card, .bt-chart, .bt-offer, .cs-std, .tp-card, .tp-stage, .tp-benefit, .tr-prog, .tr-card, .iso-timeline) {
  border-top: 3px solid var(--mr-700) !important;
}
html body .ink-light:not(#_) .tcard--featured { background: linear-gradient(160deg, #fff 0%, #F7EEF0 100%) !important; }
html body .ink-light:not(#_) :is(.cs-std__ic, .cs-chip__ic, .cs-step__ic, .tp-ic, .tp-stage__node, .tr-node__ic, .tcard__avatar) {
  background: var(--mr-700) !important;
}
html body .ink-light:not(#_) .cs-std:hover .cs-std__ic,
html body .ink-light:not(#_) .tp-stage:hover .tp-stage__node { background: var(--ink-800) !important; }
html body .ink-light:not(#_) :is(.stat__num, .stat__num *, .stat__counter, .mf__stat-num) { color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; }
html body .ink-light:not(#_) .intro__headline + *,
html body .ink-light:not(#_) .eyebrow::before { background: var(--mr-700) !important; }
html body .ink-light:not(#_) :is([class*="__tag"]:not(.mf__tag):not([class*="__tags"]):not(.cs-std__tag):not(.cs-phase__tag), .cs-chip) {
  background: #F7EEF0 !important; border-color: rgba(125,27,44,0.18) !important;
  color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important;
}

/* home: intro photo banner back to an ink overlay */
html body.hm-wine:not(#_) #introVisual.intro__visual { background: var(--ink-800) !important; border: 0; }
html body.hm-wine:not(#_) #introVisual .intro__visual-overlay {
  background:
    radial-gradient(ellipse 45% 80% at 0% 100%, rgba(125,27,44,0.5) 0%, rgba(125,27,44,0) 70%),
    linear-gradient(90deg, rgba(11,31,58,0.95) 0%, rgba(11,31,58,0.65) 42%, rgba(11,31,58,0.1) 100%) !important;
}
html body:not(#_) #introVisual :is(.intro__visual-text, .intro__visual-text b, .intro__visual-facts span) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body:not(#_) #introVisual .intro__visual-text em { color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important; }
html body:not(#_) #introVisual :is(.intro__visual-sub) { color: rgba(230,236,245,0.85) !important; -webkit-text-fill-color: rgba(230,236,245,0.85) !important; }
html body:not(#_) #introVisual .intro__visual-eyebrow { color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important; }
@media (max-width: 768px) {
  html body.hm-wine:not(#_) #introVisual .intro__visual-overlay {
    background: linear-gradient(180deg, rgba(11,31,58,0.3) 0%, rgba(11,31,58,0.88) 45%, rgba(11,31,58,0.96) 100%) !important;
  }
}

/* home: showcase photo cards keep an ink caption */
html body .ink-light:not(#_) .showcase__card { background: var(--ink-800) !important; border: 0 !important; border-bottom: 3px solid var(--mr-700) !important; }
html body .ink-light:not(#_) .showcase__card-content { background: var(--ink-800) !important; }
html body .ink-light:not(#_) .showcase__card :is(h1, h2, h3, h4, h5, h6, h3 *, h4 *, p, span, div) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-light:not(#_) .showcase__card .showcase__card-label { color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important; }
html body .ink-light:not(#_) .showcase__overlay { background: none !important; }

/* home: standards orbit on ink */
html body .ink-dark:not(#_) .pattern-box.standards-orbit {
  background: radial-gradient(circle at 50% 50%, rgba(125,27,44,0.28) 0%, rgba(42,79,158,0.18) 45%, transparent 72%) !important;
}
html body .ink-dark:not(#_) .standards-orbit .orbit__seal { background: var(--mr-700) !important; border-color: rgba(255,255,255,0.3) !important; }
html body .ink-dark:not(#_) .standards-orbit .orbit__seal * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-dark:not(#_) .standards-orbit .orbit__track li span {
  background: rgba(11,31,58,0.9) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(233,166,178,0.45) !important;
}

/* business transformation DMAIC on ink */
html body.bt-page:not(#_) .ink-dark .bt-approach__photo::after {
  background: radial-gradient(ellipse 45% 55% at 55% 50%, rgba(11,31,58,0.55) 0%, rgba(11,31,58,0.2) 70%),
              linear-gradient(90deg, #0B1F3A 0%, rgba(11,31,58,0.6) 30%, rgba(11,31,58,0.3) 75%, rgba(11,31,58,0.7) 100%),
              linear-gradient(180deg, #0B1F3A 0%, rgba(11,31,58,0) 25%, rgba(11,31,58,0) 75%, #0B1F3A 100%) !important;
}
html body.bt-page:not(#_) .bt-approach.ink-dark { background: var(--ink-800) !important; }
html body.bt-page:not(#_) .ink-dark .bt-cycle__ring { stroke: var(--mr-500) !important; }
html body.bt-page:not(#_) .ink-dark .bt-cycle__nodes circle { fill: var(--mr-700) !important; stroke: rgba(255,255,255,0.6) !important; }
html body.bt-page:not(#_) .ink-dark .bt-cycle__center-sub { fill: var(--mr-rose) !important; }

/* inspection manpower photo and training cycle on ink */
html body .ink-dark:not(#_) .tp-photo__chip { background: rgba(11,31,58,0.85) !important; border: 1px solid rgba(255,255,255,0.15) !important; }
html body .ink-dark:not(#_) .tp-photo__chip, html body .ink-dark:not(#_) .tp-photo__chip * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .ink-dark:not(#_) .tp-photo__chip b { color: var(--mr-rose) !important; -webkit-text-fill-color: var(--mr-rose) !important; }
html body:not(#_) .tp-photo::after { background: linear-gradient(160deg, #7D1B2C 0%, #0B1F3A 55%, #1E3A64 100%) !important; opacity: 0.5 !important; }
html body .ink-dark:not(#_) .tr-cycle__node circle { animation-name: trNodeInkDark !important; }
html body .ink-dark:not(#_) .tr-cycle svg > circle[r="78"] { fill: rgba(125,27,44,0.35) !important; }
html body .ink-dark:not(#_) .tr-cycle__k { fill: var(--mr-rose) !important; }
@keyframes trNodeInkDark {
  0%, 30%, 100% { fill: #13294B; stroke: rgba(201,213,232,0.45); }
  5%, 22% { fill: #7D1B2C; stroke: #fff; }
}
/* marquee strips: maroon separators */
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee) { background: var(--ink-tint) !important; }
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee)::before,
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee)::after { background: linear-gradient(90deg, var(--ink-tint), rgba(238,243,250,0)) !important; }

/* ------------------------------------------------------------
   CREAM BASE: warm off-white instead of pure white
   ------------------------------------------------------------ */
html body .nav.nav--scrolled,
html body.cs-page .nav.nav--scrolled,
html body.tp-page .nav.nav--scrolled,
html body.hm-wine .nav.nav--scrolled,
html body.bt-page .nav.nav--scrolled { background: rgba(247, 242, 234, 0.96) !important; }
html body .mobile-menu,
html body.hm-wine .mobile-menu,
html body.cs-page .mobile-menu,
html body.tp-page .mobile-menu,
html body.bt-page .mobile-menu,
html body .nav:has(.nav__hamburger.active) { background: var(--ink-bg) !important; }
html body .nav.nav--scrolled .nav__logo.nav__brand,
html body .nav:has(.nav__hamburger.active) .nav__logo.nav__brand { background: #FFFDF9 !important; }
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee) { background: var(--ink-bg-alt) !important; }
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee)::before,
html body:not(#_) :is(.cs-marquee, .tp-marquee, .bt-marquee)::after { background: linear-gradient(90deg, var(--ink-bg-alt), rgba(241,234,223,0)) !important; }
html body.bt-page:not(#_) .ink-light .bt-challenge__photo::after {
  background: linear-gradient(90deg, #F7F2EA 0%, rgba(247,242,234,0.92) 30%, rgba(247,242,234,0.5) 75%, rgba(247,242,234,0.8) 100%),
              linear-gradient(180deg, #F7F2EA 0%, rgba(247,242,234,0) 25%, rgba(247,242,234,0) 75%, #F7F2EA 100%) !important;
}
html body .ink-light:not(#_) .tcard--featured { background: linear-gradient(160deg, #fff 0%, #F7ECEE 100%) !important; }
html body .ink-light:not(#_) :is([class*="__tag"]:not(.mf__tag):not([class*="__tags"]):not(.cs-std__tag):not(.cs-phase__tag), .cs-chip) { background: #fff !important; }

/* home "What we do": particle headline and number strip readable on cream */
html body .ink-light:not(#_) .services__header::after {
  color: var(--mr-700) !important; -webkit-text-fill-color: var(--mr-700) !important; opacity: 0.85 !important;
}
html body .ink-light:not(#_) .services__headline { animation: none !important; }

/* ------------------------------------------------------------
   LIGHT SECTIONS: red-to-blue gradient on every heading, card
   title and big number (solid ink stays as the fallback).
   ink-gradient.js wraps each heading's text in .ink-grad so every
   wrapped line runs red to blue on its own.
   ------------------------------------------------------------ */
:root { --ink-grad: linear-gradient(90deg, #B0192E 0%, #8A1C3A 30%, #3553B8 62%, #1E3A8A 100%); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html body .ink-light:not(#_) :is(h1, h2, h3, h4):not(.showcase__card *),
  html body .ink-light:not(#_) :is(.stat__num, .stat__counter, .mf__stat-num, .service-panel__num):not(#_) {
    background-image: var(--ink-grad) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
  }
  html body .ink-light:not(#_) :is(h1, h2) { width: fit-content; max-width: 100%; }
  html body .ink-light:not(#_) :is(h1, h2, h3, h4):not(.showcase__card *) *:not(#_),
  html body .ink-light:not(#_) :is(.stat__num, .stat__counter, .mf__stat-num, .service-panel__num):not(#_) * {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background: none !important;
  }
  /* per-line gradient once the text is wrapped */
  html body .ink-light:not(#_) :is(h1, h2, h3, h4).has-ink-grad:not(#_) { background-image: none !important; }
  html body .ink-light:not(#_) .has-ink-grad > .ink-grad:not(#_):not(#_) {
    background: var(--ink-grad) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  /* word-split reveal headings: each word carries its slice of the line's gradient */
  html body .ink-light:not(#_) :is(h1, h2, h3, h4).has-word-grad:not(#_) { background-image: none !important; }
  html body .ink-light:not(#_) .has-word-grad .reveal-word:not(#_):not(#_) {
    /* ink-gradient.js sets --gw/--gx so each word shows its slice of the line */
    background-image: var(--ink-grad) !important;
    background-repeat: no-repeat !important;
    background-size: var(--gw, 100%) 100% !important;
    background-position: var(--gx, 0px) 0 !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
  }
  /* centred headings keep their centring once they shrink to the text */
  html body .ink-light:not(#_) .services__headline { margin-inline: auto; }
}

/* ------------------------------------------------------------
   HOME CAPABILITY ROW: maroon-and-blue particle field behind
   six cards with a maroon-to-blue gradient body
   ------------------------------------------------------------ */
html body .ink-light:not(#_) .showcase__particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
html body .ink-light:not(#_) .showcase__bg {
  background:
    radial-gradient(ellipse 45% 60% at 8% 20%, rgba(125, 27, 44, 0.10) 0%, rgba(125, 27, 44, 0) 70%),
    radial-gradient(ellipse 50% 65% at 92% 85%, rgba(30, 58, 138, 0.12) 0%, rgba(30, 58, 138, 0) 70%) !important;
}
html body .ink-light:not(#_) .showcase__card {
  background: linear-gradient(160deg, #7D1B2C 0%, #4E2152 48%, #1E3A8A 100%) !important;
  border: 0 !important;
  box-shadow: 0 22px 44px rgba(30, 58, 138, 0.18), 0 8px 18px rgba(125, 27, 44, 0.14) !important;
}
html body .ink-light:not(#_) .showcase__card-content { background: linear-gradient(165deg, #7D1B2C 0%, #5A1F4E 45%, #1E3A8A 100%) !important; }
html body .ink-light:not(#_) .showcase__card .showcase__card-label { color: #F2C9D1 !important; -webkit-text-fill-color: #F2C9D1 !important; }

/* ------------------------------------------------------------
   HOME "FROM CERTIFICATION READINESS" BANNER: a real two-column
   layout so the copy stays in its column and never runs onto the
   photo; the banner grows with its content instead of a fixed height
   ------------------------------------------------------------ */
html body:not(#_) #introVisual.intro__visual { height: auto !important; }
html body:not(#_) #introVisual .intro__img { width: 54% !important; }
/* the overlay holds the copy, so it is the in-flow flex box that sets the height */
html body:not(#_) #introVisual .intro__visual-overlay {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  min-height: clamp(400px, 36vw, 540px) !important;
  padding-block: clamp(3rem, 5vw, 4.5rem) !important;
  box-sizing: border-box !important;
}
html body:not(#_) #introVisual .intro__visual-text {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  z-index: 2;
  margin-left: var(--pad-x, 6vw);
  width: calc(46% - var(--pad-x, 6vw) - 2.5rem) !important;
  max-width: 560px !important;
  font-size: clamp(1.9rem, 3.1vw, 3.1rem) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}
html body:not(#_) #introVisual .intro__visual-text em { font-size: 1em !important; display: inline; }
html body:not(#_) #introVisual .intro__visual-eyebrow { margin-bottom: 1.25rem; }
html body:not(#_) #introVisual .intro__visual-sub { margin-top: 1.1rem; max-width: none; }
html body:not(#_) #introVisual .intro__visual-facts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin-top: 1.6rem;
  padding-top: 1.25rem;
}
html body:not(#_) #introVisual .intro__visual-facts > span {
  padding: 0 0.9rem !important;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.45;
}
html body:not(#_) #introVisual .intro__visual-facts > span:first-child { padding-left: 0 !important; }
html body:not(#_) #introVisual .intro__visual-facts > span { overflow-wrap: normal; word-break: normal; hyphens: none; }
html body:not(#_) #introVisual .intro__visual-facts b { font-size: clamp(1.5rem, 2.2vw, 2rem); white-space: nowrap; }
/* below 900px the column gets too narrow for the stats: stack copy over the photo */
@media (max-width: 900px) {
  html body:not(#_) #introVisual .intro__visual-overlay {
    align-items: flex-end !important;
    min-height: 560px !important;
    padding-block: 2rem !important;
  }
  html body:not(#_) #introVisual .intro__img { width: 100% !important; }
  html body:not(#_) #introVisual .intro__visual-text {
    width: auto !important;
    max-width: none !important;
    margin-inline: var(--pad-x, 1.25rem);
    font-size: clamp(1.6rem, 7vw, 2rem) !important;
  }
}

/* navbar: below 1080px the six links crowd the brand and wrap,
   so switch to the menu button there too */
@media (max-width: 1080px) {
  html body .nav .nav__links,
  html body .nav .nav__cta { display: none !important; }
  html body .nav .nav__hamburger { display: flex !important; }
}

/* home capability cards link to their service panels below */
html body .ink-light:not(#_) .showcase__card[data-target] { cursor: pointer; user-select: none; -webkit-user-select: none; transition: transform .35s ease, box-shadow .35s ease; }
html body .ink-light:not(#_) .showcase__card[data-target]:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px rgba(30, 58, 138, 0.24), 0 10px 22px rgba(125, 27, 44, 0.18) !important;
}
html body .ink-light:not(#_) .showcase__card[data-target]:focus-visible { outline: 3px solid #3553B8; outline-offset: 4px; }

/* light sections: fuller type. Thin (300) headings move to bold, italic accent
   words to semibold Playfair, and lead copy gets a little more weight */
html body .ink-light:not(#_) :is(h1, h2, h3, h4):not(.services__headline):not(.why__headline):not(.why__pillar-title):not(.showcase__card *) {
  font-weight: 700 !important;
  letter-spacing: -0.015em;
}
html body .ink-light:not(#_) :is(h1, h2, h3, h4) .reveal-word:not(#_) { font-weight: inherit !important; }
html body .ink-light:not(#_) :is(h1, h2, h3, h4) :is(em, i):not(#_) { font-weight: 600 !important; }
html body .ink-light:not(#_) :is(h1, h2, h3, h4) :is(em, i) .reveal-word:not(#_) { font-weight: 600 !important; }
html body .ink-light:not(#_) p { font-weight: 400 !important; }
html body .ink-light:not(#_) p:is([class*="lede"], [class*="lead"], [class*="__intro"], [class*="__body"], [class*="__sub"]) {
  font-weight: 500 !important;
}

/* gradient text only paints inside the heading's box, so the longest word
   must fit its column: keep these two big uppercase headings within it */
html body .ink-light:not(#_) .why__headline { font-size: clamp(2rem, 3.3vw, 3.4rem) !important; }
@media (max-width: 480px) {
  html body .ink-light:not(#_) .services__headline { font-size: clamp(2.1rem, 11vw, 2.75rem) !important; }
}

/* home capability row: "Our major services" heading above the cards */
html body #showcase .showcase__header {
  position: relative; z-index: 2;
  width: 100%; max-width: 1400px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  padding-inline: var(--pad-x, 6vw);
  box-sizing: border-box;
}
html body #showcase .showcase__header .eyebrow { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
html body #showcase .showcase__header .eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--mr-700); }
html body #showcase .showcase__headline {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}
html body #showcase .showcase__headline em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; }
html body #showcase.showcase { padding-top: clamp(3.5rem, 6vw, 5.5rem) !important; }

/* ------------------------------------------------------------
   LIGHT SECTIONS: text cards fill with the red-to-blue gradient
   on hover / keyboard focus / tap (the fill wipes in from the left;
   nothing moves in the layout except a small lift)
   ------------------------------------------------------------ */
html body .ink-light:not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage):not(#_) {
  position: relative;
  border-radius: 14px;
  background-image: linear-gradient(120deg, #B0192E 0%, #7D1B2C 30%, #2F4FA8 72%, #1E3A8A 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 0% 100% !important;
  background-position: left center !important;
  transition: background-size .35s ease, transform .35s ease, box-shadow .35s ease;
}
/* the "why us" rows have no box of their own: give them one that keeps the text on the same edge */
html body .ink-light:not(#_) .why__pillar:not(#_) { margin-inline: -1.25rem; padding-inline: 1.25rem !important; }
html body .ink-light:not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage):is(:hover, :focus-within, .is-touched):not(#_) {
  background-size: 100% 100% !important;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(30, 58, 138, 0.22), 0 6px 16px rgba(125, 27, 44, 0.16) !important;
  border-color: transparent !important;
}
html body .ink-light:not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage):is(:hover, :focus-within, .is-touched) *:not(#_):not(#_):not(#_) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transition: color .25s ease;
}
@media (prefers-reduced-motion: reduce) {
  html body .ink-light:not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage):not(#_) { transition: none; }
}

/* ------------------------------------------------------------
   CLIENT SUCCESS: maroon-red to ink-blue gradient cards
   ------------------------------------------------------------ */
html body .testimonials__grid:not(#_) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}
@media (max-width: 1100px) {
  html body .testimonials__grid:not(#_) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html body .testimonials__grid:not(#_) { grid-template-columns: 1fr; }
}
html body .ink-light:not(#_):not(#_) .tcard {
  background: linear-gradient(160deg, #7D1B2C 0%, #5A1F4E 45%, #1E3A8A 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 14px 34px rgba(30, 58, 138, 0.22), 0 4px 12px rgba(125, 27, 44, 0.18) !important;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease !important;
}
html body .ink-light:not(#_):not(#_) .tcard:is(:hover, :focus-within, .is-touched) {
  background: linear-gradient(160deg, #94243A 0%, #6A2660 45%, #2B4FB0 100%) !important;
  transform: translateY(-6px);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 22px 44px rgba(30, 58, 138, 0.32), 0 8px 18px rgba(125, 27, 44, 0.26) !important;
}
html body .ink-light:not(#_):not(#_) .tcard .tcard__text {
  color: rgba(255, 255, 255, 0.94) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.94) !important;
}
html body .ink-light:not(#_):not(#_) .tcard .tcard__name {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body .ink-light:not(#_):not(#_) .tcard .tcard__company {
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
}
html body .ink-light:not(#_):not(#_) .tcard .tcard__footer { border-top-color: rgba(255, 255, 255, 0.22) !important; }
html body .ink-light:not(#_):not(#_) .tcard .tcard__avatar {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ------------------------------------------------------------
   DARK SECTIONS: numbered process rows react to the mouse.
   A maroon-to-blue fill wipes in from the left, the border glows,
   the number turns white and scales, and the row lifts with a soft
   coloured shadow. Touch uses .is-touched (card-touch.js); keyboard
   uses :focus-within.
   ------------------------------------------------------------ */
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li) {
  position: relative;
  border-radius: 12px;
  background-image: linear-gradient(120deg, #B0192E 0%, #7D1B2C 30%, #2F4FA8 72%, #1E3A8A 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 0% 100% !important;
  background-position: left center !important;
  transition: background-size .35s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}
/* give the rows that sit on the page edge some inner room, without moving their text */
html body .ink-dark:not(#_):not(#_) .cs-phase { padding: 26px 16px 14px !important; }
html body .ink-dark:not(#_):not(#_) .bt-steps li {
  padding-inline: 0.8rem !important;
  margin-inline: -0.8rem;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
html body .ink-dark:not(#_):not(#_) :is(.why__pillar-num, .cs-phase__n) {
  display: inline-block;
  transform-origin: left center;
  transition: transform .35s ease, color .35s ease, filter .35s ease !important;
}
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched) {
  background-size: 100% 100% !important;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(143, 168, 255, 0.55), 0 0 22px rgba(125, 27, 44, 0.55), 0 16px 34px rgba(30, 58, 138, 0.45) !important;
}
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched) :is(.why__pillar-num, .cs-phase__n) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
}
html body .ink-dark:not(#_):not(#_) .bt-steps li:is(:hover, :focus-within, .is-touched)::before {
  color: #fff !important;
  display: inline-block;
}
html body .ink-dark:not(#_):not(#_) .bt-steps li::before { display: inline-block; transform-origin: left center; transition: transform .35s ease, color .35s ease; }
html body .ink-dark:not(#_):not(#_) .bt-steps li:is(:hover, :focus-within, .is-touched)::before { transform: scale(1.18); }
/* keep every line fully readable on the gradient */
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched) :is(h3, b, .why__pillar-title, .cs-phase__tag) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched) :is(p, span:not(.why__pillar-num):not(.cs-phase__ic), .why__pillar-text) {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}
html body .ink-dark:not(#_):not(#_) .bt-steps li:is(:hover, :focus-within, .is-touched) { padding-left: 0.8rem !important; }
@media (prefers-reduced-motion: reduce) {
  html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li, .why__pillar-num, .cs-phase__n) { transition: none !important; transform: none !important; }
}

/* ------------------------------------------------------------
   DARK NUMBERED ROWS: idle shimmer + hold-to-breathe.
   Idle: a maroon-to-blue gradient ring drifts slowly around each row.
   Hovered / focused / tapped: the gradient fill stays and the row
   breathes (scale 1.00 to 1.03 and back). Transform and opacity only,
   so nothing in the layout moves. Reduced motion keeps the static fill.
   ------------------------------------------------------------ */
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(110deg, #B0192E, #7D1B2C 22%, #2F4FA8 50%, #7D1B2C 78%, #B0192E);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.55;
  pointer-events: none;
  animation: msRingDrift 7s linear infinite, msRingGlow 3.6s ease-in-out infinite;
  transition: opacity .35s ease;
}
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):nth-child(2n)::after { animation-delay: -2.3s, -1.1s; }
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):nth-child(3n)::after { animation-delay: -4.6s, -2.2s; }
html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched, :active)::after {
  opacity: 1;
  animation-duration: 3s, 1.4s;
}
@keyframes msRingDrift { to { background-position: 300% 0; } }
@keyframes msRingGlow { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.85; } }

html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched, :active) {
  animation: msBreathe 1.4s ease-in-out infinite;
}
@keyframes msBreathe {
  0%, 100% { transform: translateY(-4px) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li)::after { animation: none; opacity: 0.6; }
  html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched, :active) { animation: none; }
  html body .ink-dark:not(#_):not(#_) :is(.why__pillar, .cs-phase, .bt-steps li):is(:hover, :focus-within, .is-touched, :active)::after { animation: none; opacity: 1; }
}

/* ------------------------------------------------------------
   LIGHT SECTIONS: text cards rest on a PALE maroon / ink-blue
   gradient wash (cream base, no pure white); on hover / focus / tap
   the stronger red-to-blue fill wipes in over it, as before.
   Two background layers: [0] the hover fill (size animates 0% -> 100%),
   [1] the pale wash (always full size).
   ------------------------------------------------------------ */
html body .ink-light:not(#_):not(#_):not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage) {
  background-color: #F9F4EC !important;
  background-image:
    linear-gradient(120deg, #B0192E 0%, #7D1B2C 30%, #2F4FA8 72%, #1E3A8A 100%),
    linear-gradient(145deg, rgba(125, 27, 44, 0.11) 0%, rgba(125, 27, 44, 0.04) 42%, rgba(30, 58, 138, 0.14) 100%) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: left center, center !important;
  background-size: 0% 100%, 100% 100% !important;
  border: 1px solid transparent !important;
  border-color: rgba(125, 27, 44, 0.24) rgba(30, 58, 138, 0.24) rgba(30, 58, 138, 0.26) rgba(125, 27, 44, 0.22) !important;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.06) !important;
}
html body .ink-light:not(#_):not(#_):not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage):is(:hover, :focus-within, .is-touched) {
  background-size: 100% 100%, 100% 100% !important;
  border-color: transparent !important;
  box-shadow: 0 18px 36px rgba(30, 58, 138, 0.22), 0 6px 16px rgba(125, 27, 44, 0.16) !important;
}
/* text turns light only once the fill has mostly arrived (avoids light-on-pale for a frame) */
html body .ink-light:not(#_):not(#_):not(#_) :is(.why__pillar, .bt-offer, .bt-challenge__card, .cs-std, .cs-step, .tp-benefit, .tp-stage):is(:hover, :focus-within, .is-touched) *:not(#_):not(#_):not(#_):not(#_) {
  transition: color .2s ease .14s;
}

/* ------------------------------------------------------------
   PHONES: stacked footer links sit 44px apart so every link keeps
   a full-size, non-overlapping tap area (the invisible ::before
   in mars-sigma-v2.css supplies the height).
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  html body footer.footer:not(#_) :is(.footer__link, .footer__contact-link) { margin-bottom: 1.1rem !important; }
}
