:root {
	--di-content-width: 1200px;
	--di-gutter: clamp(1rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header, .site-footer { padding-inline: var(--di-gutter); }
.site-main > .entry-content:not(:has(> [class])) { width: min(var(--di-content-width), calc(100% - 2 * var(--di-gutter))); margin-inline: auto; }
.site-navigation ul { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0; list-style: none; }


 /* Service artwork stays legible on the dark service panels. */
.inner-hero .art-core .service-icon,
.service-directory .featured-service-stat .service-icon {
	color: #fff;
	filter: brightness(0) invert(1);
}

/* Finish every capability card, including even cards and new instances. */
main .capability-grid .capability:nth-child(n) {
	border-left: 3px solid #28abe2;
	padding-left: 22px;
	margin-bottom: 15px;
}

/* Keep two-digit step labels centered and independently legible. */
main .steps .step-num {
	letter-spacing: normal;
	font-variant-numeric: tabular-nums;
	text-align: center;
	line-height: 1;
	flex-shrink: 0;
}

@media (max-width: 540px) {
	main .capability-grid .capability:nth-child(n) { padding-left: 18px; }
}
/* Related-service artwork needs the same contrast on every dark panel. */
main .related-services.dark .service-icon {
	color: #fff;
	filter: brightness(0) invert(1);
}

/* Improve team names, job titles and responsibility captions. */
main .team-roster h3 { font-size: 25px; line-height: 1.3; }
main .team-roster strong { font-size: 15px; line-height: 1.5; }
main .team-roster p { font-size: 14px; line-height: 1.6; }
main .contact-details .map-caption:empty { display: none; }
main .contact-details .location-map span {
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Gentle decorative motion, with stable text and reduced-motion support. */
@keyframes di-service-orbit {
	0%, 100% { transform: rotate(-18deg) scale(1); }
	50% { transform: rotate(2deg) scale(1.035); }
}
@keyframes di-service-orbit-inner {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(-18deg); }
}
@media (prefers-reduced-motion: no-preference) {
	.inner-hero .service-art .art-orbit {
		animation: di-service-orbit 14s ease-in-out infinite;
	}
	.inner-hero .service-art .art-orbit::after {
		animation: di-service-orbit-inner 18s ease-in-out infinite;
	}
	.inner-hero .service-art:hover .art-orbit,
	.inner-hero .service-art:hover .art-orbit::after,
	.inner-hero .service-art:focus-within .art-orbit,
	.inner-hero .service-art:focus-within .art-orbit::after {
		animation-play-state: paused;
	}
}
/* A small lift adds depth without tracking the pointer or moving labels. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .inner-hero .service-art .art-core {
    transition: transform 360ms ease, box-shadow 360ms ease;
  }
  .inner-hero .service-art:hover .art-core {
    transform: translate(-4px, -5px) rotate(-1deg);
    box-shadow: 17px 19px 0 #28abe226;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Keep compositor preparation scoped to the reveal, then release it. */
.di-entrance-active { will-change: opacity; }
footer .di-site-credit {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted, #50677b);
}

/* Filled current-page contact CTA keeps a readable foreground. */
.nav a.btn[aria-current="page"], .nav a.btn[aria-current="page"]:hover, .nav a.btn[aria-current="page"]:focus-visible { color:#fff; }
.footer-column .di-footer-menu, .footer-column .di-footer-menu .sub-menu { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.footer-column .di-footer-menu li { margin:0; padding:0; }
.footer-column .di-footer-menu .sub-menu { margin-top:12px; padding-left:12px; }

/* Preserve the brand blue while meeting small-text contrast on pale panels. */
main .onboarding-promise strong { color: #0c7199; }

/* Give the Services link and its disclosure arrow independent 44px hit areas. */
header.header .nav-services > summary { position: relative; gap: 0; padding-right: 44px; }
header.header .nav-services > summary > a { display: inline-flex; align-items: center; min-height: 44px; }
header.header .nav-services > summary::after { position: absolute; right: 17px; top: 50%; margin-top: -5px; pointer-events: none; }


/* Service footprint: a crisp, accessible SVG with editable state selections. */
.service-area-map { background:#f7fbfd; border-top:1px solid #d8e8ef; }
.service-area-intro { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:end; }
.service-area-intro h2 { max-width:440px; margin-bottom:0; }
.service-area-intro .lead { max-width:540px; margin-bottom:20px; }
.service-area-count { font-size:13px; color:#50677b; margin:0; }
.service-area-count strong { color:#002b6a; font-size:24px; margin-right:5px; }
.service-area-figure { margin:36px 0 24px; padding:20px 30px; border:1px solid #d8e8ef; border-radius:28px; background:#fff; }
.service-area-svg { width:100%; height:auto; max-height:580px; overflow:visible; }
.service-map-state { fill:#e6eff4; stroke:#fff; stroke-width:1.4; stroke-linejoin:round; }
.service-map-state.is-client { fill:#0c7199; }
.service-map-label { fill:#fff; font-size:12px; font-weight:600; text-anchor:middle; dominant-baseline:middle; pointer-events:none; }
.service-map-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 32px; padding:18px 0 8px; color:#50677b; font-size:12px; }
.service-map-legend span { display:flex; align-items:center; gap:9px; }
.service-map-swatch { display:inline-block; width:12px; height:12px; border-radius:3px; background:#0c7199; }
.service-map-hq-key { color:#002b6a; font-size:22px; font-style:normal; line-height:12px; }
.service-map-states { max-width:900px; margin:0 auto; text-align:center; font-size:12px; line-height:1.9; color:#50677b; }
.service-map-states strong { color:#002b6a; }
@media(max-width:700px) {
 .service-area-intro { grid-template-columns:1fr; gap:24px; }
 .service-area-figure { padding:12px 8px; border-radius:18px; margin-top:28px; }
 .service-map-legend { gap:12px 20px; font-size:11px; }
 .service-map-label { font-size:15px; }
 .service-area-count > span + span { display:block; margin-top:6px; }
}

/* Alternative map palette preserves the surrounding section background. */
.service-area-map--alt .service-area-figure{background:transparent;border:0;box-shadow:none;padding-left:0;padding-right:0}
.service-area-map--alt .service-map-state{fill:#fff;stroke:#cbdfe9}
.service-area-map--alt .service-map-state.is-client{fill:#0c7199;stroke:#fff}
.service-map-editor-control,.service-map-editor-controls{display:none}
body.di2026-visual-editing .service-map-editor-control{display:inline-flex;padding:8px 12px;border:1px solid currentColor;border-radius:8px;background:#fff;color:#002b6a;font:600 14px/1.4 sans-serif;cursor:pointer;margin:4px}
body.di2026-visual-editing .service-map-editor-controls{display:flex;flex-wrap:wrap;margin-bottom:20px}


/* Persistent visitor header. Reserve its normal flow height before first paint. */
:root { --di-site-header-height: 112px; }
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing):has(> header.header) {
  padding-top: var(--di-site-header-height);
}
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--di-site-header-height);
  margin-inline: auto;
  z-index: 100;
  isolation: isolate;
  color: #002b6a;
}
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header::before {
  content: '';
  position: absolute;
  inset: 0 calc((100% - 100vw) / 2);
  z-index: -1;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,43,106,.09), 0 8px 24px rgba(0,43,106,.04);
  pointer-events: none;
}
html:has(body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing)) {
  scroll-padding-top: calc(var(--di-site-header-height) + 20px);
}
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) :is(.faq-categories, .policy-layout aside) {
  top: calc(var(--di-site-header-height) + 24px);
}
/* CSS starts the intro at first paint; content stays available without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) main {
    animation: di-page-intro 300ms ease-out backwards;
    will-change: opacity;
  }
}
@keyframes di-page-intro { from { opacity: .2; } to { opacity: 1; } }
.di-page-outro { will-change: opacity; }
@media (max-width: 800px) {
  :root { --di-site-header-height: 90px; }
  body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header .nav {
    top: 100%;
    max-height: calc(100dvh - var(--di-site-header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.momentum) { scroll-behavior: auto; }
}
@media print {
  body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing):has(> header.header) { padding-top: 0; }
  body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header { position: static; }
  body.momentum main { animation: none !important; }
}


/* Compact only the fixed header; its reserved page space stays constant. */
:root { --di-site-header-compact-height: 80px; }
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header {
  transition: height 160ms ease-out;
}
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header .logo {
  transition: width 160ms ease-out;
}
body.momentum:not(.di-core-editor-chrome):not(.di2026-visual-editing) > header.header .nav > .btn {
  transition: padding 160ms ease-out;
}
/* The outro removes the compact styling immediately, before navigation/unload. */
body.momentum.di-header-compact:not(.di-core-editor-chrome):not(.di2026-visual-editing):not(:has(main.di-page-outro)) > header.header {
  height: var(--di-site-header-compact-height);
}
body.momentum.di-header-compact:not(.di-core-editor-chrome):not(.di2026-visual-editing):not(:has(main.di-page-outro)) > header.header .logo {
  width: 190px;
}
body.momentum.di-header-compact:not(.di-core-editor-chrome):not(.di2026-visual-editing):not(:has(main.di-page-outro)) > header.header .nav > .btn {
  padding: 12px 22px;
}
@media (max-width: 800px) {
  :root { --di-site-header-compact-height: 68px; }
  body.momentum.di-header-compact:not(.di-core-editor-chrome):not(.di2026-visual-editing):not(:has(main.di-page-outro)) > header.header .logo {
    width: 166px;
  }
  body.momentum.di-header-compact:not(.di-core-editor-chrome):not(.di2026-visual-editing):not(:has(main.di-page-outro)) > header.header .nav {
    max-height: calc(100dvh - var(--di-site-header-compact-height));
  }
}
@media (prefers-reduced-motion: reduce) {
  body.momentum > header.header,
  body.momentum > header.header .logo,
  body.momentum > header.header .nav > .btn { transition: none !important; }
}
@media print {
  body.momentum.di-header-compact > header.header { height: auto !important; }
}
