:root {
  color-scheme: light;
  --navy: #0165a7;
  --navy-dark: #014e82;
  --navy-darker: #0b2540;
  --sky: #1ca3d7;
  --sky-light: #e3f4fb;
  --ink: #0b2540;
  --offwhite: #f6f8fa;
  --navy-tint: #eaf4fb;
}

/* ---------- Page transitions (native View Transitions API) ---------- */
/* Opts every same-origin navigation into a cross-document view transition.
   Unsupported browsers (Safari/Firefox as of writing) simply navigate normally —
   this is pure progressive enhancement, no fallback JS required. */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: tmpi-page-out 0.5s cubic-bezier(0.6, 0, 0.8, 0.2) both;
  }
  ::view-transition-new(root) {
    animation: tmpi-page-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

@keyframes tmpi-page-out {
  to {
    opacity: 0;
    transform: scale(0.985);
  }
}
@keyframes tmpi-page-in {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--sky);
  color: #ffffff;
}

:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Icons: self-contained sizing, independent of parent display context ---------- */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-icon] svg {
  width: 100%;
  height: 100%;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */
[data-site-header] {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
[data-site-header].is-scrolled {
  box-shadow: 0 6px 24px -12px rgba(11, 37, 64, 0.18);
  border-bottom-color: rgba(11, 37, 64, 0.06);
}

.nav-link-active {
  color: var(--navy) !important;
  font-weight: 600;
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Carousel ---------- */
[data-carousel-track] {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
[data-carousel-track] > * {
  flex: 0 0 100%;
  width: 100%;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #cbd7e2;
  transition: background-color 0.2s ease, width 0.2s ease;
}
.carousel-dot.is-active {
  background-color: var(--navy);
  width: 22px;
}

/* ---------- Logo marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Accordion ---------- */
[data-accordion-panel] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
[data-accordion-item] [data-accordion-chevron] {
  transition: transform 0.3s ease;
}
[data-accordion-item].is-open [data-accordion-chevron] {
  transform: rotate(180deg);
}

/* ---------- Soft gradient blobs ---------- */
.bg-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Utility: gradient text ---------- */
.text-gradient {
  background-image: linear-gradient(100deg, var(--navy), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- CTA arrow nudge ---------- */
.arrow-nudge {
  animation: arrow-nudge 2s ease-in-out infinite;
}
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
}

/* ---------- Industry icon hover animations (SVG "loop" motion in place of video) ---------- */
.icon-anim-group {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes icon-dash-flow {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}
.icon-pulse-line {
  stroke-dasharray: 6 4;
}
.group:hover .icon-pulse-line {
  animation: icon-dash-flow 1s linear infinite;
}
.group:hover .icon-chart-line {
  animation: icon-dash-flow 1.4s linear infinite;
}
@keyframes icon-box-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-2deg); }
}
.group:hover .icon-box-bounce {
  animation: icon-box-bounce 1.3s ease-in-out infinite;
}
@keyframes icon-shine-sweep {
  0% { transform: translateX(-16px); opacity: 0; }
  35% { opacity: 0.9; }
  70% { opacity: 0; }
  100% { transform: translateX(16px); opacity: 0; }
}
.icon-shine {
  transform-box: fill-box;
  transform-origin: center;
}
.group:hover .icon-shine {
  animation: icon-shine-sweep 1.6s ease-in-out infinite;
}
@keyframes icon-bubble-rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  90% { opacity: 0; }
  100% { transform: translateY(-20px); opacity: 0; }
}
.icon-bubble {
  transform-box: fill-box;
  transform-origin: center;
}
.group:hover .icon-bubble {
  animation: icon-bubble-rise 1.8s ease-in infinite;
}
@keyframes icon-sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
.icon-sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.group:hover .icon-sway {
  animation: icon-sway 1.6s ease-in-out infinite;
}
.icon-sway-top {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}
.group:hover .icon-sway-top {
  animation: icon-sway 1.6s ease-in-out infinite;
}
@keyframes icon-ripple {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.icon-ripple {
  transform-box: fill-box;
  transform-origin: center;
}
.group:hover .icon-ripple {
  animation: icon-ripple 1.6s ease-out infinite;
}
@keyframes icon-knob-slide {
  0%, 100% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
}
.icon-knob {
  transform-box: fill-box;
  transform-origin: center;
}
.group:hover .icon-knob {
  animation: icon-knob-slide 1.4s ease-in-out infinite;
}

/* ---------- Card hover lift ---------- */
.card-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(11, 37, 64, 0.25);
}

/* ---------- Button press feedback ---------- */
.btn-press {
  transition-property: color, background-color, border-color, box-shadow, transform !important;
  transition-duration: 0.15s !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-press:active {
  transform: scale(0.97);
}

/* ---------- Sitewide pill shadow ---------- */
/* Same soft, blue-tinted lift as .eyebrow-badge, applied to every pill-shaped
   element (Tailwind's rounded-full) — CTA buttons, header/footer buttons,
   marquee pause toggle, carousel arrows. !important because the Tailwind CDN
   script injects its own stylesheet at runtime, so load order relative to
   this file isn't guaranteed; matches the same override approach .btn-press
   already uses above. */
.rounded-full {
  box-shadow: 0 6px 16px -6px rgba(1, 101, 167, 0.35) !important;
}

/* ---------- Live pulse dot ---------- */
.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: currentColor;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: currentColor;
  animation: pulse-dot-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pulse-dot-ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ---------- Count-up stat ---------- */
[data-count-to] {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Industries Served section
   Ported from design handoff "Industries Served v3".
   Per-card variables (motif offsets, animation delays) are set in the markup;
   everything else lives here.
   ========================================================================== */

@keyframes ind-rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ind-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ind-draw-line {
  from {
    stroke-dashoffset: 640;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ind-sweep {
  0% {
    transform: translateX(-120%);
  }
  55%, 100% {
    transform: translateX(220%);
  }
}
/* Keeps the CTA gloss skewed while it travels — a bare translate would drop the skew. */
@keyframes ind-gloss-sweep {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }
  55%, 100% {
    transform: translateX(220%) skewX(-18deg);
  }
}
@keyframes ind-pulse-dot {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes ind-arrow-nudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

.industries-section {
  position: relative;
  overflow: hidden;
  background: #c7def0;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4vw, 76px) clamp(64px, 8vw, 116px);
}
.industries-section__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(1, 101, 167, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 101, 167, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(65% 55% at 50% 15%, #000 0%, transparent 76%);
  mask-image: radial-gradient(65% 55% at 50% 15%, #000 0%, transparent 76%);
}
.industries-section__inner {
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
}

/* Trust / Client Roster: same tint + masked grid-line texture as Industries
   Served (reuses .industries-section__grid-bg directly rather than a copy). */
.trust-section {
  background: #c7def0;
}

/* Entrance: replace the site-wide transition-based reveal with the spec's
   riseIn animation. `backwards` (not `both`) so the finished animation does not
   pin `transform` and block the card hover lift. */
.industries-section [data-reveal] {
  opacity: 0;
  transform: none;
  transition: none;
}
.industries-section [data-reveal].is-visible {
  opacity: 1;
  animation: ind-rise-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--ind-delay, 0s) backwards;
}
.industries-section .eyebrow-badge[data-reveal].is-visible {
  animation-name: ind-fade-in;
}
.industries-section .industries-title[data-reveal].is-visible,
.industries-section .industries-subhead[data-reveal].is-visible {
  animation-duration: 1s;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(28, 163, 215, 0.32);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(1, 101, 167, 0.35);
}
.eyebrow-badge__dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
}
.eyebrow-badge.is-visible .eyebrow-badge__dot {
  animation: ind-pulse-dot 2.6s ease-in-out infinite;
}
.eyebrow-badge__text {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.industries-title {
  margin: 0 0 18px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #000000;
  text-wrap: pretty;
}
.industries-subhead {
  margin: 0 0 clamp(40px, 5vw, 68px);
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: #4a5a68;
}

/* 1240px cap holds the track count at 4 so the CTA lands as the 7th cell of a
   4 x 2 grid; without it auto-fit reaches 5 tracks on wide screens. */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
  max-width: 1240px;
}

.industry-card,
.industries-cta {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 28px 26px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
}
.industry-card {
  background: #ffffff;
  border: 1px solid #e4ebf2;
  box-shadow: 0 14px 32px -20px rgba(1, 101, 167, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease,
    box-shadow 0.5s ease;
}
.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--sky);
  box-shadow: 0 26px 46px -24px rgba(1, 101, 167, 0.4);
}

.industry-card__sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.industry-card.is-visible .industry-card__sweep {
  animation: ind-sweep 6s ease-in-out var(--sweep-delay, 0.4s) infinite;
}

.industry-card__motif {
  position: absolute;
  right: var(--motif-right, -16px);
  bottom: var(--motif-bottom, -10px);
  width: var(--motif-width, 200px);
  height: var(--motif-height, 140px);
  color: rgba(1, 101, 167, 0.12);
  pointer-events: none;
}
.industry-card.is-visible .industry-card__draw {
  animation: ind-draw-line 2.6s ease-out var(--draw-delay, 0.5s) both;
}
.industry-card.is-visible .industry-card__pulse {
  animation: ind-pulse-dot var(--pulse-duration, 3s) ease-in-out var(--pulse-delay, 1.6s) infinite;
}
.industry-card.is-visible .industry-card__window {
  animation: ind-fade-in 1s ease var(--window-delay, 2s) both;
}

.industry-card__tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #edf3f9;
  border: 1px solid #e0e9f2;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.4s ease,
    border-color 0.4s ease;
}
.industry-card:hover .industry-card__tile {
  transform: scale(1.08);
  background: var(--sky-light);
  border-color: var(--sky);
}
.industry-card__tile svg {
  width: 26px;
  height: 26px;
}
.industry-card__label {
  position: relative;
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}
.industry-card:hover .industry-card__label {
  color: var(--sky);
}

.industries-cta {
  background: linear-gradient(128deg, #0165a7 0%, #1077b8 50%, #1ca3d7 100%);
  box-shadow: 0 20px 44px -24px rgba(1, 101, 167, 0.6);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.industries-cta:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -26px rgba(1, 101, 167, 0.65);
}
.industries-cta__gloss {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 40%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
}
.industries-cta.is-visible .industries-cta__gloss {
  animation: ind-gloss-sweep 5.5s ease-in-out 1.2s infinite;
}
.industries-cta__title {
  position: relative;
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.industries-cta__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}
.industries-cta__link svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.industries-cta.is-visible .industries-cta__link svg {
  animation: ind-arrow-nudge 2.4s ease-in-out infinite;
}

/* Section-scoped reduced-motion guard (the site-wide one still applies too). */
@media (prefers-reduced-motion: reduce) {
  .industries-section *,
  .industries-section *::before,
  .industries-section *::after {
    animation: none !important;
    transition: none !important;
  }
  .industries-section [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Two Paths, One Partner (design handoff)
   Same visual system as Industries Served (masked grid, riseIn entrance,
   sweep line) but larger/rounder since it's photographic, not iconographic.
   ========================================================================== */
.two-paths-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 76px);
}
.two-paths-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}
.two-paths-headline {
  margin: 0 0 clamp(36px, 4.5vw, 56px);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a2a43;
}
.two-paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* Entrance: same riseIn/backwards pattern as Industries Served — `backwards`
   (not `both`) so the finished animation doesn't pin `transform` and block
   the card hover lift. Placed before the component rules below so an
   equal-specificity `:hover` rule (later in source) wins the cascade tie. */
.two-paths-section [data-reveal] {
  opacity: 0;
  transform: none;
  transition: none;
}
.two-paths-section [data-reveal].is-visible {
  opacity: 1;
  animation: tp-rise-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--tp-delay, 0s) backwards;
}
.two-paths-section .eyebrow-badge[data-reveal].is-visible,
.two-paths-section .two-paths-headline[data-reveal].is-visible {
  animation-duration: 0.8s;
}
@keyframes tp-rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.two-paths-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background: #0a2a43;
  box-shadow: 0 20px 44px -26px rgba(1, 101, 167, 0.5);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.two-paths-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 46px -24px rgba(1, 101, 167, 0.4);
}
.two-paths-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Desktop-only crop adjustment — mobile keeps the default centered crop.
   Named by card content, not direction, since the pan gets tuned over time. */
@media (min-width: 768px) {
  .two-paths-card__photo--corporate {
    object-position: 75% 15%;
  }
  .two-paths-card__photo--candidate {
    object-position: 85% 0%;
  }
}
.two-paths-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 42, 67, 0.94) 0%, rgba(10, 42, 67, 0.72) 42%, rgba(10, 42, 67, 0.18) 100%);
  transition: background 0.4s ease;
}
.two-paths-card:hover .two-paths-card__scrim {
  background: linear-gradient(100deg, rgba(10, 42, 67, 0.97) 0%, rgba(10, 42, 67, 0.8) 42%, rgba(10, 42, 67, 0.28) 100%);
}
/* Right-aligned card: dark side sits behind the text on the right instead. */
.two-paths-card__scrim--right {
  background: linear-gradient(280deg, rgba(10, 42, 67, 0.94) 0%, rgba(10, 42, 67, 0.72) 42%, rgba(10, 42, 67, 0.18) 100%);
}
.two-paths-card:hover .two-paths-card__scrim--right {
  background: linear-gradient(280deg, rgba(10, 42, 67, 0.97) 0%, rgba(10, 42, 67, 0.8) 42%, rgba(10, 42, 67, 0.28) 100%);
}
.two-paths-card__sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.two-paths-card.is-visible .two-paths-card__sweep {
  animation: ind-sweep 6s ease-in-out var(--tp-sweep-delay, 0.5s) infinite;
}
.two-paths-card__content {
  position: relative;
  width: 100%;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.two-paths-card__content--right {
  align-items: flex-end;
  text-align: right;
}
.two-paths-card__title {
  margin: 0 0 12px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.two-paths-card__desc {
  margin: 0;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.two-paths-card__content--right .two-paths-card__desc {
  margin-left: auto;
}
.two-paths-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.two-paths-card__content--right .two-paths-card__list {
  align-items: flex-end;
}
.two-paths-card__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: #ffffff;
}
.two-paths-card__list-item--right {
  flex-direction: row-reverse;
}
.two-paths-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 13px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}
.two-paths-card__content--right .two-paths-card__cta {
  align-self: flex-end;
}
.two-paths-card:hover .two-paths-card__cta {
  background: var(--sky-light);
}

@media (prefers-reduced-motion: reduce) {
  .two-paths-section *,
  .two-paths-section *::before,
  .two-paths-section *::after {
    animation: none !important;
    transition: none !important;
  }
  .two-paths-section [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   What We Offer (design handoff)
   Same visual system as Industries Served (masked grid, riseIn entrance,
   sweep line) — the difference is the motif: here it's the card's own icon
   redrawn oversized, not bespoke motif art, so it gets its own draw-in
   keyframe tuned to that icon geometry (dasharray 900) instead of reusing
   Industries Served's ind-draw-line (tuned to 640).
   ========================================================================== */
.offer-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 76px);
}
.offer-inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
}
.offer-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.offer-headline {
  margin: 0;
  max-width: 640px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a2a43;
  text-wrap: pretty;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Entrance: same riseIn/backwards pattern as Industries Served / Two Paths —
   `backwards` (not `both`) so the finished animation doesn't pin `transform`
   and block the card hover lift. Placed before the component rules below so
   an equal-specificity `:hover` rule (later in source) wins the cascade tie. */
.offer-section [data-reveal] {
  opacity: 0;
  transform: none;
  transition: none;
}
.offer-section [data-reveal].is-visible {
  opacity: 1;
  animation: offer-rise-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--offer-delay, 0s) backwards;
}
.offer-section .eyebrow-badge[data-reveal].is-visible,
.offer-section .offer-headline[data-reveal].is-visible {
  animation-duration: 0.8s;
}
@keyframes offer-rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes offer-draw-line {
  from {
    stroke-dashoffset: 900;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes offer-tile-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes offer-text-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 28px 26px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  background: #ffffff;
  border: 1px solid #e4ebf2;
  box-shadow: 0 14px 32px -20px rgba(1, 101, 167, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease,
    box-shadow 0.5s ease;
}
.offer-card:hover {
  transform: translateY(-8px);
  border-color: var(--sky);
  box-shadow: 0 26px 46px -24px rgba(1, 101, 167, 0.4);
}
.offer-card__sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.offer-card.is-visible .offer-card__sweep {
  animation: ind-sweep 6s ease-in-out var(--sweep-delay, 0.4s) infinite;
}
.offer-card__motif {
  position: absolute;
  right: var(--motif-right, -18px);
  bottom: var(--motif-bottom, -14px);
  width: var(--motif-width, 190px);
  height: var(--motif-height, 133px);
  color: rgba(1, 101, 167, 0.12);
  pointer-events: none;
}
.offer-card.is-visible .offer-card__draw {
  animation: offer-draw-line 2.8s ease-out var(--draw-delay, 0.5s) both;
}
/* Same accent-pulse touch as Industries Served's motifs (map pins, chart
   points) — a small highlight dot that pings on loop once the icon has
   drawn itself in, in the brighter accent blue rather than the faint motif
   color so it actually reads as a highlight. */
.offer-card.is-visible .offer-card__pulse {
  animation: ind-pulse-dot var(--pulse-duration, 2.6s) ease-in-out var(--pulse-delay, 1.6s) infinite;
}
.offer-card__tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #edf3f9;
  border: 1px solid #e0e9f2;
  flex: none;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.4s ease,
    border-color 0.4s ease;
}
.offer-card.is-visible .offer-card__tile {
  opacity: 1;
  animation: offer-tile-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--offer-delay, 0s) + 0.15s)
    backwards;
}
.offer-card:hover .offer-card__tile {
  transform: scale(1.08);
  background: var(--sky-light);
  border-color: var(--sky);
}
.offer-card__tile svg {
  width: 26px;
  height: 26px;
}
.offer-card__title {
  position: relative;
  margin: 0 0 8px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  opacity: 0;
  transition: color 0.3s ease;
}
.offer-card.is-visible .offer-card__title {
  opacity: 1;
  animation: offer-text-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--offer-delay, 0s) + 0.25s)
    backwards;
}
.offer-card:hover .offer-card__title {
  color: var(--sky);
}
.offer-card__desc {
  position: relative;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #5a6b7a;
  opacity: 0;
}
.offer-card.is-visible .offer-card__desc {
  opacity: 1;
  animation: offer-text-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--offer-delay, 0s) + 0.35s)
    backwards;
}

@media (prefers-reduced-motion: reduce) {
  .offer-section *,
  .offer-section *::before,
  .offer-section *::after {
    animation: none !important;
    transition: none !important;
  }
  .offer-section [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   White-section grid background
   Same masked line-grid texture as the Industries Served section, applied
   only to plain white-background sections (not the hero, not offwhite/navy
   sections, and not Industries Served itself, which has its own).
   ========================================================================== */
.section-grid-bg {
  position: absolute;
  inset: 0;
  /* Negative so it sits behind this section's own in-flow content. Relies on
     the :has() rule below to give the parent section its own stacking
     context — otherwise a bare `position:relative` parent doesn't contain
     z-index:-1, and it falls all the way back to the root stacking context,
     landing underneath the sitewide fixed .smoke-bg layer and disappearing
     completely (found while making this section's grid more visible: it was
     actually invisible everywhere, not just faint). */
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(1, 101, 167, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 101, 167, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(65% 55% at 50% 15%, #000 0%, transparent 76%);
  mask-image: radial-gradient(65% 55% at 50% 15%, #000 0%, transparent 76%);
}
/* Contains the negative z-index above to this section instead of the root
   stacking context. Fixes every current and future .section-grid-bg use in
   one place, with no markup changes required. */
section:has(> .section-grid-bg) {
  isolation: isolate;
}

/* Testimonials: same grid, bumped opacity so it reads clearly next to the
   plain white section — the base 0.08 was too subtle here on request. */
.testimonials-section .section-grid-bg {
  background-image: linear-gradient(rgba(1, 101, 167, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 101, 167, 0.14) 1px, transparent 1px);
}

/* Closing CTA: same masked line-grid as Industries Served (72px pitch, same
   radial mask shape) but in white — the section's navy-to-sky gradient would
   swallow the navy-tinted lines used everywhere else. No z-index needed: as
   the first child, it paints behind the content div next to it as long as
   that div stays position:relative (already the case here), same as
   Industries Served's own grid. */
.cta-section__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(65% 55% at 50% 15%, #000 0%, transparent 76%);
  mask-image: radial-gradient(65% 55% at 50% 15%, #000 0%, transparent 76%);
}

/* ==========================================================================
   Sitewide ambient smoke wash
   A single fixed layer of soft brand-color gradients, pinned to the viewport
   rather than the page. Sections scroll past/through it, so the atmosphere
   reads as one continuous thing instead of resetting at each page break.
   Placed as the last element in <body> with no z-index: it naturally paints
   above normal in-flow content but stays under anything with an explicit
   z-index (the fixed header, hero controls, mobile nav), so it never
   competes with a click target — pointer-events is also off as a backstop.
   ========================================================================== */
.smoke-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(50% 40% at 12% 12%, rgba(1, 101, 167, 0.45) 0%, transparent 70%),
    radial-gradient(55% 45% at 88% 28%, rgba(28, 163, 215, 0.4) 0%, transparent 70%),
    radial-gradient(60% 50% at 50% 95%, rgba(1, 101, 167, 0.35) 0%, transparent 70%);
}
