/* Common tokens and page-family layout corrections. Loaded last. */
:root {
  --font:
    Manrope, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  --accent-gold: #ffc857;
  --accent-pink: #da7795;
  --accent-green: #03cea4;
  --accent-blue: #329ef6;
  --content-width: 1180px;
  --radius-card: 20px;
  --radius-control: 12px;
  --readable-accent: #17649e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: var(--font);
  overflow-wrap: break-word;
}
button,
input,
textarea,
select {
  font: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
a,
button,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  text-wrap: pretty;
}
section[id],
main[id] {
  scroll-margin-top: 110px;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #329ef6;
  outline-offset: 4px;
}
.site-header :focus-visible,
.v19-footer :focus-visible {
  outline-color: #ffc857;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 24px;
  z-index: 1000;
  padding: 12px 18px;
  background: #fff;
  color: #071526;
  transform: translateY(-160%);
  border: 3px solid #329ef6;
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
}
.shell,
.company-shell,
.cs-shell,
.wrap,
.v31-offer .shell {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}
:is(
    .v31-hero-grid,
    .v31-stats,
    .v31-grid,
    .v31-split,
    .v31-fit-grid,
    .v31-related-grid,
    .v32-change-flow,
    .v32-final-grid,
    .company-hero-grid,
    .company-split,
    .contact-grid,
    .industry-grid,
    .cs-hero-grid,
    .cs-split,
    .cs-two,
    .cs-evidence,
    .cs-outcome-grid,
    .cs-steps,
    .cs-related-grid,
    .offer-grid,
    .metric-row,
    .grid,
    .four,
    .split,
    .intro,
    .approach-grid,
    .partner-grid,
    .impact-grid,
    .sn-hero-in,
    .sn-cta-grid,
    .product-stack,
    .v19-footer-main
  )
  > * {
  min-width: 0;
  max-width: 100%;
}
/* Natural hero sizing: text, actions and summary cards stay in document flow. */
.hero,
.hero-in,
.sn-hero,
.sn-hero-in {
  height: auto;
  min-height: 750px;
}
.hero-in {
  padding-block: 145px 76px;
}
.hero-copy {
  padding-top: 0;
  padding-bottom: 0;
}
.company-hero,
.offer-hero,
.page-hero,
.cs-hero {
  height: auto;
  min-height: 0;
  padding-block: 150px 80px;
}
.v31-hero {
  height: auto;
  min-height: 0;
  padding-block: 145px 50px;
  overflow: visible;
}
.v31-hero-grid {
  min-height: 0;
  padding-block: 38px 46px;
  gap: 48px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}
.company-hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
}
.hero h1,
.sn-hero h1,
.company-hero h1,
.v31-hero h1,
.offer-hero h1,
.page-hero h1,
.cs-hero h1 {
  font-family: var(--font);
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 850px;
}
.v31-hero > .shell > .v31-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: none;
  gap: 14px;
}
.v31-hero > .shell > .v31-stats > div {
  min-height: 0;
  padding: 24px 20px;
}
.v31-hero > .shell > .v31-stats strong {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.v31-stats span {
  line-height: 1.6;
}
.v31-problem {
  padding-top: 90px;
}
.v31-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}
.v31-fit-grid,
.v32-final-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 48px;
}
.v31-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.v31-related {
  gap: 20px;
}
.v31-related > div {
  min-width: 0;
}
.v31-related > span {
  flex: none;
}
.v31-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.v31-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.v32-change-flow {
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
}
.v31-evidence .v31-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.v33-evidence-head .v31-section-head {
  min-width: 0;
}
.v31-section,
.company-section,
.offer-section,
.cs-section {
  padding-block: 90px;
}
.v31-section-head h2,
.company-heading h2,
.contact-copy h2,
.offer-section h2,
.section-head h2,
.cs-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.v31-grid article,
.offer-card,
.industry-card,
.principle-grid article,
.card {
  border-radius: var(--radius-card);
}
.offer-actions a,
.v31-actions a,
.v31-final a,
.btn,
.button,
.contact-form button,
.company-final a {
  border-radius: var(--radius-control);
  font-family: var(--font);
  line-height: 1.5;
  white-space: normal;
}
.contact-form input,
.contact-form textarea {
  min-width: 0;
  font-size: 1rem;
}
.contact-form small {
  color: #526276;
  line-height: 1.6;
}
.contact-form .email-alternative {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.email-alternative a {
  color: #17649e;
  text-decoration: underline;
}
/* Common category/service layout, retaining each page's original content. */
.offer-main {
  padding-block: 30px;
}
.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offer-section {
  margin: 0;
}
.offer-hero h1 {
  max-width: 850px;
}
.offer-card {
  padding: 30px;
}
.offer-card h3 {
  font-size: 22px;
}
.offer-card p,
.offer-section > p {
  font-size: 16px;
  line-height: 1.75;
}
.offer-card a {
  font-size: 14px;
  color: #17649e;
}
.offer-card .number {
  color: #17649e;
}
.offer-band {
  border-radius: 20px;
}
.services-page .page-hero .hero-copy {
  max-width: none;
}
.services-page .page-hero h1 {
  max-width: 850px;
}
.services-page .page-main {
  padding-block: 90px;
}
.services-page .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-page .card p {
  font-size: 16px;
}
.category-page .offer-cta .cta,
.services-page .cta {
  border-radius: 20px;
  padding: 40px;
}
.category-page .offer-cta h2,
.services-page .cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
/* Palette colours remain on decoration; darker variants improve light-surface text. */
.v31-pink,
.v31-purple {
  --v31-accent: #da7795;
  --v31-soft: #fcebf1;
}
.v31-gold {
  --v31-accent: #ffc857;
}
.v33-solution-knowledge,
.v33-solution-cmdb {
  --v33-icon-accent: #da7795;
}
.v33-solution-agents,
.v33-solution-resilience {
  --v33-icon-accent: #03cea4;
}
.v31-section:not(.v31-process):not(.v31-evidence) .v31-eyebrow,
.v31-section:not(.v31-process):not(.v31-evidence) .v31-index,
.v31-related span,
.company-section .company-eyebrow,
.industry-card > span,
.company-section .contact-points span {
  color: #17649e !important;
}
.company-dark .company-eyebrow,
.company-dark .company-heading > p:last-child {
  color: #b9d5ed !important;
}
.product-purple {
  --product-accent: #da7795;
}
.industry-card li {
  line-height: 1.5;
}
.v19-footer a {
  overflow-wrap: anywhere;
}
.reveal {
  opacity: 1;
  transform: none;
}
.company-hero-image {
  transform: none;
}
.company-hero-image:before {
  inset: 10px;
  transform: none;
}
.cs-steps {
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.cs-outcome-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.cs-evidence {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}
.cs-crumb,
.company-crumb,
.v31-breadcrumb {
  flex-wrap: wrap;
}
.cs-tags {
  flex-wrap: wrap;
}
.sn-hero-in {
  padding-block: 145px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: center;
}
.sn-hero-copy {
  width: 100%;
  padding: 0;
}
.sn-logo-panel {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 370px;
  height: 300px;
  justify-self: center;
}
.sn-impact {
  margin-top: 0;
  padding-block: 30px;
}
.impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.impact-grid article {
  min-height: 0;
}
.policy-page .company-hero {
  padding-block: 145px 65px;
}
.policy-copy {
  max-width: 900px;
}
.policy-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin-top: 38px;
}
.policy-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: #405269;
}
.policy-copy a {
  color: #17649e;
  text-decoration: underline;
}
.review-banner {
  padding: 18px 22px;
  border: 1px solid #dab761;
  border-left: 5px solid #ffc857;
  border-radius: 12px;
  background: #fff5d9;
  color: #463811 !important;
}
@media (max-width: 1180px) {
  .v31-hero-grid,
  .company-hero-grid {
    grid-template-columns: 1fr;
  }
  .v31-hero-visual {
    display: none;
  }
  .v31-hero > .shell > .v31-stats,
  .v31-evidence .v31-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v32-change-flow {
    grid-template-columns: 1fr;
  }
  .v32-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
    margin: 8px;
  }
  .v32-change-flow article {
    min-height: 0;
  }
  .v31-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
  .v31-split,
  .v31-fit-grid,
  .v32-final-grid,
  .company-split,
  .contact-grid,
  .cs-split,
  .sn-cta-grid,
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sn-hero-in {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sn-logo-panel {
    height: 160px;
    max-width: 300px;
  }
  .industry-hero-mark,
  .contact-hero-card {
    display: block;
    max-width: 640px;
  }
  .company-hero-image {
    display: block;
    width: min(420px, 100%);
  }
  .services-page .grid {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .shell,
  .company-shell,
  .cs-shell,
  .wrap,
  .v31-offer .shell {
    width: calc(100% - 32px);
  }
  .hero,
  .hero-in,
  .sn-hero,
  .sn-hero-in {
    min-height: 0;
    height: auto;
  }
  .hero-in,
  .sn-hero-in {
    padding-block: 120px 56px;
  }
  .hero-copy {
    padding: 0;
    align-self: auto;
  }
  .company-hero,
  .offer-hero,
  .page-hero,
  .cs-hero {
    padding-block: 120px 56px;
  }
  .v31-hero {
    padding-block: 120px 36px;
  }
  .v31-hero-grid {
    padding-block: 26px 36px;
    min-height: 0;
  }
  .company-hero-grid {
    margin-top: 24px;
  }
  .hero h1,
  .sn-hero h1,
  .company-hero h1,
  .v31-hero h1,
  .offer-hero h1,
  .page-hero h1,
  .cs-hero h1 {
    font-size: clamp(2rem, 8vw, 2.625rem);
    line-height: 1.12;
  }
  .v31-hero > .shell > .v31-stats,
  .v31-evidence .v31-stats,
  .v31-grid,
  .v31-process-grid,
  .v31-related-grid,
  .offer-grid,
  .metric-row,
  .impact-grid,
  .metrics,
  .field-row,
  .principle-grid,
  .cs-two,
  .cs-related-grid {
    grid-template-columns: 1fr;
  }
  .v31-hero > .shell > .v31-stats > div {
    min-height: 0;
    padding: 22px;
  }
  .v31-problem {
    padding-top: 64px;
  }
  .v31-section,
  .company-section,
  .offer-section,
  .cs-section {
    padding-block: 64px;
  }
  .v31-grid article,
  .v31-fit aside,
  .contact-form {
    padding: 24px;
  }
  .v31-section-head h2,
  .company-heading h2,
  .contact-copy h2,
  .offer-section h2,
  .section-head h2,
  .cs-head h2 {
    font-size: clamp(1.875rem, 7vw, 2.375rem);
  }
  .v31-actions,
  .offer-actions,
  .sn-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .sn-logo-panel {
    position: relative;
    inset: auto;
    max-width: 240px;
    height: 130px;
    opacity: 1;
  }
  .sn-logo-panel > div {
    padding: 22px;
  }
  .sn-impact {
    margin: 0;
    padding-top: 24px;
  }
  .sn-hero-copy {
    padding: 0;
  }
  .v31-related {
    padding: 24px;
  }
  .v33-evidence-head > .v33-solution-icon {
    display: none;
  }
  .product-stack {
    grid-template-columns: 1fr;
  }
  .category-page .offer-cta .cta,
  .services-page .cta {
    padding: 26px;
  }
  .contact-band > .company-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .v33-icon-light {
    stroke-dasharray: none;
    opacity: 0.6;
  }
  .who-carousel img {
    transition: none;
  }
}
/* Shared contact section and requested visual refinements. */
.site-cta {
  padding: 90px 0;
  background: #071d33;
  color: #fff;
}
.site-cta-inner {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.site-cta h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.site-cta p {
  color: #b6c6d5;
  font-size: 17px;
  line-height: 1.75;
}
.site-cta .site-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 18px;
  color: #80bff1;
}
.site-cta img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: 20px;
}
.site-cta-button {
  display: inline-block;
  margin-top: 12px;
  background: #329ef6;
  color: #071d33;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.5;
}
.site-cta-button:hover {
  background: #79bffd;
}
.identity .split {
  gap: 54px;
  align-items: center;
}
.identity h2 {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  line-height: 1.15;
}
.identity .who-carousel {
  aspect-ratio: 0.88;
  border-radius: 20px;
}
.identity .who-carousel img {
  filter: grayscale(1);
}
.case-visual {
  height: 162px !important;
  background: linear-gradient(
    155deg,
    #071d33 5%,
    color-mix(in srgb, var(--case-accent, #329ef6) 72%, #071d33)
  ) !important;
}
.case-visual-one {
  --case-accent: #329ef6;
}
.case-visual-two {
  --case-accent: #da7795;
}
.case-visual-three {
  --case-accent: #03cea4;
}
.case-visual-four {
  --case-accent: #329ef6;
}
.case-visual-five {
  --case-accent: #ffc857;
}
.case-visual:before {
  width: 80px;
  height: 94px;
  top: 22px;
  left: calc(50% - 58px);
  border-radius: 0;
  transform: rotate(-10deg);
  background: #ffffff12;
  border: 1px solid #ffffff4d;
  box-shadow: 0 14px 40px #0004;
}
.case-visual:after {
  width: 72px;
  height: 82px;
  top: 49px;
  left: calc(50% - 12px);
  right: auto;
  border-radius: 0;
  transform: rotate(9deg);
  background: #ffffff12;
  border: 1px solid #ffffff4d;
  box-shadow: 0 14px 40px #0004;
}
.case-visual svg {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  stroke: #fff;
}
.cases .case-card {
  border-radius: 20px;
  overflow: hidden;
}
.cases small {
  font-weight: 700;
}
.cs-hero-mark > span {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  max-width: 90%;
  line-height: 1.2;
}
.about-intro-copy {
  max-width: 920px;
  font-size: 19px;
  line-height: 1.8;
  color: #405269;
}
.about-expertise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 40px;
}
.about-expertise h3 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.about-expertise p {
  font-size: 16px;
  line-height: 1.8;
  color: #405269;
}
.who-carousel {
  position: relative;
  overflow: hidden;
  background: #dce9f2;
}
.who-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
}
.who-carousel img.active {
  opacity: 1;
}
.about-carousel {
  width: min(100%, 960px);
  margin: 40px auto 0;
  aspect-ratio: 1.5;
  border-radius: 20px;
}
.carousel-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.carousel-controls button {
  border: 1px solid #9aaebe;
  border-radius: 8px;
  background: #fff;
  color: #173b5d;
  padding: 9px 14px;
  font-size: 14px;
}
.carousel-controls span {
  color: #405269;
  font-size: 14px;
}
.identity .photo {
  overflow: visible;
  background: transparent;
}
.identity .photo .carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}
.identity .carousel-controls {
  position: absolute;
  top: 100%;
  width: 100%;
}
.contact-form > input,
.contact-form > textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #b9c8d6;
  border-radius: 10px;
  background: #fff;
  color: #173b5d;
  margin: 7px 0 20px;
}
.contact-form > label {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
.contact-form textarea {
  min-height: 190px;
  resize: vertical;
}
.contact-form .form-privacy {
  font-size: 13px;
  line-height: 1.6;
  color: #526276;
}
.form-privacy a {
  color: #17649e;
  text-decoration: underline;
}
.contact-form #form-status:empty {
  display: none;
}
.contact-form #form-status {
  font-size: 15px;
  line-height: 1.6;
}
.contact-form #form-status[data-state='error'] {
  color: #a32e36;
}
.contact-form #form-status[data-state='success'] {
  color: #176343;
}
.contact-form .email-alternative {
  margin-top: 24px;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .site-cta-inner {
    gap: 36px;
  }
  .about-expertise {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .identity .split {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 720px) {
  .site-cta {
    padding: 64px 0;
  }
  .site-cta-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }
  .identity .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .identity .who-carousel {
    aspect-ratio: 1.15;
    margin-bottom: 60px;
  }
  .about-carousel {
    aspect-ratio: 1.1;
  }
  .site-cta p {
    font-size: 16px;
  }
  .site-cta img {
    margin-top: 4px;
  }
}
.identity .who-carousel img {
  border-radius: 20px;
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
