/* AcNEXUS design system — generated from the static site source. */
/* ===== tokens.css ===== */
/* =========================================================================
   AcNEXUS design tokens
   Change values here to restyle the whole site.
   Breakpoints (used literally in media queries; CSS variables cannot be):
     sm 640px · md 768px · lg 1024px · xl 1280px
   ========================================================================= */
:root {
  color-scheme: light;

  /* Brand colours (approved palette) */
  --color-navy: #0B1F3A;
  --color-blue: #164E86;
  --color-gold: #D4A72C;
  --color-white: #FFFFFF;
  --color-surface: #F5F7FA;
  --color-text: #172033;
  --color-muted: #667085;

  /* Derived tints and shades (from the brand palette) */
  --color-navy-900: #071429;
  --color-navy-700: #12305A;
  --color-blue-600: #1B5C9E;
  --color-blue-100: #D8E4F1;
  --color-blue-50: #EDF3FA;
  --color-gold-100: #F8EDCF;
  --color-gold-800: #6B4E00;
  --color-border: #E2E7EE;
  --color-border-strong: #C5CFDC;
  --color-on-dark: #FFFFFF;
  --color-on-dark-muted: #B9C5D6;
  --color-line-dark: rgba(255, 255, 255, 0.14);
  --color-success: #1E7B4F;
  --color-success-bg: #E7F4EC;
  --color-error: #B42318;
  --color-error-bg: #FDECEA;
  --color-info-bg: var(--color-blue-50);

  /* Typography */
  --font-sans: "Inter", "Manrope", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.625rem, 1.3rem + 4.8vw, 4.25rem);   /* 42 → 68px */
  --fs-h1: clamp(2.25rem, 1.55rem + 2.8vw, 3.5rem);       /* 36 → 56px */
  --fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.625rem);    /* 30 → 42px */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);       /* 20 → 24px */
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); /* 18 → 21px */
  --fs-body: 1.0625rem;                                   /* 17px */
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh-tight: 1.04;
  --lh-heading: 1.18;
  --lh-body: 1.65;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;
  --tracking-label: 0.14em;
  --measure: 65ch;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4rem, 2.6rem + 5.5vw, 7rem);
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);
  --container: 1200px;
  --header-h: 72px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows (restrained) */
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 6px 16px -6px rgba(11, 31, 58, 0.14);
  --shadow-lg: 0 20px 40px -18px rgba(11, 31, 58, 0.28);
  --shadow-header: 0 1px 0 var(--color-border), 0 8px 20px -14px rgba(11, 31, 58, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 650ms;

  --z-header: 100;
}

/* ===== base.css ===== */
/* =========================================================================
   Base: reset, typography, layout primitives, accessibility, motion
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03";
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--color-navy);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { text-wrap: pretty; }
strong { font-weight: var(--fw-semibold); color: var(--color-navy); }

a {
  color: var(--color-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--color-navy); }

button, input, select, textarea { font: inherit; color: inherit; }

/* Focus: always visible for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--color-gold); }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--color-navy);
  color: #fff;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Layout primitives */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--surface { background: var(--color-surface); }
.section--navy { background: var(--color-navy); color: var(--color-on-dark-muted); }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--color-on-dark); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--flush-top { padding-top: 0; }

.stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack-gap, 1rem); }
.stack--lg { --stack-gap: 1.5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-blue);
  line-height: 1.3;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
}
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--color-gold); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--color-muted);
  max-width: var(--measure);
}
.section--navy .lead { color: var(--color-on-dark-muted); }

.muted { color: var(--color-muted); }
.prose { max-width: var(--measure); display: flex; flex-direction: column; gap: 1rem; }
.prose ul { display: flex; flex-direction: column; gap: 0.5rem; }
.prose ul li { position: relative; padding-left: 1.25rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 6px; height: 6px; background: var(--color-gold); border-radius: 1px;
}

/* Icons (single consistent line style) */
.icon {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scroll reveal (enabled by script only when motion is allowed) */
/* Uses an animation (fill-mode: backwards) rather than a transition so it never
   interferes with component hover transitions once revealed. The default is a
   soft float-in; motion.css switches blocks to fly-in and images to image float-in.
   Longhand properties keep the reveal-delay-* stagger intact. */
.has-reveal .reveal:not(.is-visible) { opacity: 0; }
.has-reveal .reveal.is-visible {
  animation-name: float-in;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: backwards;
}
.has-reveal .reveal-delay-1.is-visible { animation-delay: 100ms; }
.has-reveal .reveal-delay-2.is-visible { animation-delay: 200ms; }
.has-reveal .reveal-delay-3.is-visible { animation-delay: 300ms; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

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

/* ===== components.css ===== */
/* =========================================================================
   Components
   ========================================================================= */

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.375rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn__icon { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn--primary { background: var(--color-blue); color: #fff; }
.btn--primary:hover { background: var(--color-navy); color: #fff; box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--color-navy); border-color: var(--color-border-strong); }
.btn--secondary:hover { background: #fff; color: var(--color-navy); border-color: var(--color-navy); }
.btn--light { background: #fff; color: var(--color-navy); }
.btn--light:hover { background: var(--color-blue-50); color: var(--color-navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--sm { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 639px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: var(--fw-semibold);
  color: var(--color-blue);
  text-decoration: none;
  min-height: 44px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--color-navy); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--color-gold); }

/* ---------- Brand wordmark ---------- */
.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  padding-block: 0.5rem;
}
.brand__name {
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.025em;
  color: var(--color-navy);
}
.brand__sub {
  margin-top: 0.3rem;
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--color-on-dark-muted); }
.brand img { height: 40px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: var(--z-header);
  background: var(--color-white);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.header-inner .brand { margin-right: auto; }

.primary-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 0.125rem; }
.nav-link {
  position: relative;
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.2rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--color-blue); }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.nav-link[aria-current] { color: var(--color-navy); font-weight: var(--fw-semibold); }

.header-cta { display: none; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-navy);
  cursor: pointer;
}
.menu-toggle:hover { border-color: var(--color-border-strong); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

@media (min-width: 768px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
  .header-inner { gap: 1.5rem; }
}
@media (min-width: 1024px) and (max-width: 1150px) {
  .nav-link { padding-inline: 0.5rem; }
  .nav-link::after { left: 0.5rem; right: 0.5rem; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-header);
  animation: menu-in var(--dur) var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 1.5rem; padding-block: 0.5rem 2rem; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  text-decoration: none;
}
.mobile-nav__link .icon { width: 20px; height: 20px; color: var(--color-muted); }
.mobile-nav__link[aria-current] { color: var(--color-blue); }
.mobile-nav__link[aria-current] .icon { color: var(--color-gold); }
.mobile-subnav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0 0.5rem 1rem;
  border-bottom: 1px solid var(--color-border);
  border-left: 2px solid var(--color-border);
  color: var(--color-text);
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.mobile-subnav a[aria-current] { color: var(--color-blue); border-left-color: var(--color-gold); }
.mobile-menu__tag { font-size: var(--fs-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-muted); font-weight: var(--fw-semibold); }
html.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Section header ---------- */
.section-header { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; }
.section-header--center { margin-inline: auto; align-items: center; text-align: center; }
.section-header + * { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

/* ---------- Badges & tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.badge--dev { background: var(--color-gold-100); color: var(--color-gold-800); border-color: #E7CF87; }
.badge--dev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold); box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.25); }
.badge--done { background: var(--color-success-bg); color: var(--color-success); }
.badge--neutral { background: var(--color-blue-50); color: var(--color-blue); border-color: var(--color-blue-100); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li, .tag-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}
.tag-list li:has(> a) { padding: 0; border: 0; background: none; }
.tag-list a { text-decoration: none; min-height: 40px; padding-inline: 1rem; }
.tag-list a:hover { border-color: var(--color-blue); color: var(--color-blue); }

/* ---------- Division cards ---------- */
.division-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .division-grid { grid-template-columns: repeat(3, 1fr); } }

.division-card {
  position: relative;
  display: flex;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.division-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-blue-100); }
.division-card:focus-within { border-color: var(--color-blue); }
.division-card__main { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); flex: 1; }
.division-card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  background: var(--color-blue-50);
  color: var(--color-blue);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.division-card__icon .icon { width: 28px; height: 28px; }
.division-card:hover .division-card__icon { background: var(--color-navy); color: #fff; }
.division-card__title { font-size: var(--fs-h3); }
.division-card__tagline { font-weight: var(--fw-semibold); color: var(--color-blue); line-height: 1.4; }
.division-card__text { color: var(--color-muted); }
.division-card__services {
  display: flex; flex-direction: column; gap: 0.5rem;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-small);
}
.division-card__services li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.45; }
.division-card__services .icon { width: 16px; height: 16px; margin-top: 0.15em; color: var(--color-gold); stroke-width: 2.25; }
.division-card__cta { margin-top: auto; padding-top: 0.25rem; }
.division-card__cta .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Row variant (divisions overview) */
.division-rows { display: flex; flex-direction: column; gap: 1.25rem; }
.division-card--row { flex-direction: column; }
.division-card--row .division-card__title { font-size: var(--fs-h2); }
.division-card--row .division-card__aside { padding: 0 clamp(1.5rem, 1.2rem + 1vw, 2.25rem) clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.division-card--row .division-card__services { border-top: 1px solid var(--color-border); }
@media (min-width: 900px) {
  .division-card--row { flex-direction: row; }
  .division-card--row .division-card__main { flex: 1.3; }
  .division-card--row .division-card__aside {
    flex: 1;
    display: flex; align-items: center;
    padding: 2.25rem;
    background: var(--color-surface);
    border-left: 1px solid var(--color-border);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
  .division-card--row .division-card__services { border-top: 0; padding-top: 0; font-size: 1rem; gap: 0.75rem; }
}

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid > * { display: flex; }
.card-grid > * > * { flex: 1; }
@media (min-width: 700px) { .card-grid--2, .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.service-card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-md);
  background: var(--color-blue-50);
  color: var(--color-blue);
}
.service-card__title { font-size: 1.1875rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a:hover { color: var(--color-blue); }
.service-card__text { color: var(--color-muted); font-size: var(--fs-small); }
.service-card--help { background: var(--color-navy); border-color: var(--color-navy); color: var(--color-on-dark-muted); justify-content: center; }
.service-card--help .service-card__title { color: #fff; }
.service-card--help .service-card__text { color: var(--color-on-dark-muted); }
.service-card__cta { margin-top: auto; }

/* ---------- Feature blocks ---------- */
.feature-grid { display: grid; gap: 2rem 1.5rem; }
@media (min-width: 640px) { .feature-grid--4, .feature-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
}
.feature {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
  transition: border-color var(--dur) var(--ease);
}
.feature:hover { border-top-color: var(--color-blue); }
.feature__icon { color: var(--color-blue); }
.feature__icon .icon { width: 28px; height: 28px; }
.feature__title { font-size: 1.1875rem; }
.feature__text { color: var(--color-muted); font-size: var(--fs-small); }

/* ---------- Process steps ---------- */
.process { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 1.25rem; } }
.process-step {
  position: relative;
  display: flex; flex-direction: column; gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
}
.process-step::before {
  content: "";
  position: absolute;
  top: -6px; left: 0;
  width: 10px; height: 10px;
  background: var(--color-gold);
  transform: rotate(45deg);
}
.process-step__num { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.1em; color: var(--color-blue); font-variant-numeric: tabular-nums; }
.process-step__name { font-size: 1.0625rem; font-weight: var(--fw-black); letter-spacing: 0.08em; text-transform: uppercase; }
.process-step__text { color: var(--color-muted); font-size: var(--fs-small); }

/* ---------- Placeholder (content-ready slot) ---------- */
.placeholder {
  display: flex; gap: 0.875rem; align-items: flex-start;
  padding: 1.25rem 1.375rem;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-muted);
}
.placeholder .icon { width: 20px; height: 20px; margin-top: 0.15em; color: var(--color-blue); }
.placeholder__title { font-weight: var(--fw-semibold); color: var(--color-navy); }
.placeholder__text { font-size: var(--fs-small); margin-top: 0.25rem; }

/* ---------- Portfolio cards ---------- */
.portfolio-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.portfolio-card {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card__visual {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  min-height: 180px;
  padding: 1.5rem;
  background-color: var(--color-navy);
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #fff;
}
.portfolio-card__visual .icon { width: 40px; height: 40px; color: var(--color-gold); stroke-width: 1.5; }
.portfolio-card__sector { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-on-dark-muted); text-align: right; }
.portfolio-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.75rem; flex: 1; }
.portfolio-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.portfolio-card__category { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--color-blue); text-transform: uppercase; letter-spacing: 0.08em; }
.portfolio-card__title { font-size: var(--fs-h3); }
.portfolio-card__text { color: var(--color-muted); }
.portfolio-card__cta { margin-top: auto; }
.portfolio-card__cta .link-arrow::after { content: ""; position: absolute; inset: 0; }

/* ---------- Insight cards ---------- */
.insight-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card {
  position: relative;
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.insight-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-blue-100); }
.insight-card__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: var(--color-muted); }
.insight-card__type { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: var(--fw-semibold); color: var(--color-blue); text-transform: uppercase; letter-spacing: 0.08em; }
.insight-card__title { font-size: 1.25rem; }
.insight-card__title a { color: inherit; text-decoration: none; }
.insight-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.insight-card__title a:hover { color: var(--color-blue); }
.insight-card__text { color: var(--color-muted); font-size: var(--fs-small); }
.insight-card__category { margin-top: auto; font-size: var(--fs-xs); color: var(--color-muted); font-weight: var(--fw-medium); }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-chip {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.filter-chip:hover { border-color: var(--color-blue); color: var(--color-blue); }
.filter-chip[aria-pressed="true"] { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  background: var(--color-navy);
  color: var(--color-on-dark-muted);
}
.cta-band__pattern {
  position: absolute;
  right: -40px; top: 50%;
  width: min(520px, 70vw);
  height: auto;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.cta-band__content { display: flex; flex-direction: column; gap: 1rem; max-width: 42rem; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: var(--color-on-dark-muted); }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 4rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) 2rem;
  background: var(--color-navy-900);
  color: var(--color-on-dark-muted);
  font-size: var(--fs-small);
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1.3fr 1.2fr; gap: 3rem; } .footer-brand { grid-column: auto; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-tagline { color: #fff; font-weight: var(--fw-semibold); }
.footer-statement { max-width: 32rem; }
.footer-approach {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.75rem; font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
}
.footer-approach__arrow { color: var(--color-gold); }
.footer-heading { margin-bottom: 1rem; font-size: 0.75rem; font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--color-on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact-note { margin-bottom: 0.25rem; }
.footer-social { margin-top: 1rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line-dark);
  font-size: var(--fs-xs);
}

/* ---------- Forms ---------- */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form__note { font-size: var(--fs-xs); color: var(--color-muted); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field__label { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-navy); }
.field__req { color: var(--color-error); }
.field__opt { font-weight: var(--fw-regular); color: var(--color-muted); }
.field__hint { font-size: var(--fs-xs); color: var(--color-muted); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field__input:hover { border-color: #9AA8BA; }
.field__input:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(22, 78, 134, 0.22); }
.field__input[aria-invalid="true"] { border-color: var(--color-error); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.18); }
.field__textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field__select { position: relative; }
.field__select select { appearance: none; padding-right: 2.5rem; cursor: pointer; }
.field__select::after {
  content: "";
  position: absolute; right: 1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--color-muted); border-bottom: 2px solid var(--color-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__error { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--color-error); }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; }
.contact-form__pending {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--color-gold);
  background: var(--color-gold-100);
  font-size: var(--fs-xs);
  color: var(--color-gold-800);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.contact-form__pending strong { color: inherit; }
@media (max-width: 639px) { .contact-form__actions .btn { width: 100%; } }
.form-status { padding: 0.875rem 1rem; border-radius: var(--radius-md); font-size: var(--fs-small); font-weight: var(--fw-medium); border: 1px solid transparent; }
.form-status:focus { outline: 3px solid var(--color-blue); outline-offset: 2px; }
.form-status--info { background: var(--color-info-bg); color: var(--color-navy); border-color: var(--color-blue-100); }
.form-status--success { background: var(--color-success-bg); color: var(--color-success); }
.form-status--error { background: var(--color-error-bg); color: var(--color-error); }

/* ===== sections.css ===== */
/* =========================================================================
   Page sections and signature visuals
   ========================================================================= */

/* Subtle technical grid used behind heroes */
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(22, 78, 134, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 78, 134, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  pointer-events: none;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.hero__grid { position: relative; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; }
.hero__title {
  margin-top: 1.25rem;
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
}
.hero__title > span { display: block; }
.hero__title > span:nth-child(2) { color: var(--color-blue); }
.hero__dot { color: var(--color-gold); }
.hero__text { margin-top: 1.5rem; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--color-muted); }
.hero__actions { margin-top: 2.25rem; }
@media (max-width: 639px) { .hero__actions { align-self: stretch; } }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: clamp(1rem, 0.5rem + 2vw, 1.75rem);
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__caption {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-line-dark);
  font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.hero__caption span { color: var(--color-gold); }

/* Hero network SVG */
.hero-network { width: 100%; height: auto; overflow: visible; }
.hv-ring { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; stroke-dasharray: 2 6; }
.hv-ring--outer { stroke: rgba(255, 255, 255, 0.07); }
.hv-edge { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.25; stroke-dasharray: 5 7; }
.hv-flow { animation: hv-dash 40s linear infinite; }
.hv-spoke { stroke: rgba(212, 167, 44, 0.65); stroke-width: 1.5; }
.hv-thin { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.hv-sat__ring { fill: none; stroke: rgba(255, 255, 255, 0.22); }
.hv-sat__dot { fill: #fff; }
.hv-sat__label { fill: var(--color-on-dark-muted); font: 600 11.5px/1 var(--font-sans); letter-spacing: 0.1em; }
.hv-node__disc { fill: var(--color-blue); stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.hv-node__icon { fill: none; stroke: #fff; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hv-node__label { fill: #fff; font: 700 16px/1 var(--font-sans); letter-spacing: -0.01em; }
.hv-core { fill: var(--color-gold); }
.hv-core__label { fill: var(--color-navy); font: 800 13.5px/1 var(--font-sans); letter-spacing: -0.01em; }
.hv-pulse { fill: none; stroke: var(--color-gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hv-pulse 3.6s var(--ease) infinite; }
@keyframes hv-pulse { 0% { opacity: 0.7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes hv-dash { to { stroke-dashoffset: -480; } }
@media (prefers-reduced-motion: reduce) { .hv-pulse { display: none; } .hv-flow { animation: none; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.8rem + 3.5vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.page-hero .container { position: relative; }
.page-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-hero__title {
  max-width: 22ch;
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.page-hero__lead { max-width: 44rem; }
.page-hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-meta { font-size: var(--fs-small); color: var(--color-muted); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; font-size: var(--fs-xs); color: var(--color-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--color-border-strong); border-right: 1.5px solid var(--color-border-strong); transform: rotate(45deg); }
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--color-navy); font-weight: var(--fw-medium); }

.division-switch { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.division-switch a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: var(--fs-small); font-weight: var(--fw-semibold);
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.division-switch a .icon { width: 18px; height: 18px; color: var(--color-blue); }
.division-switch a:hover { border-color: var(--color-blue); }
.division-switch a[aria-current] { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.division-switch a[aria-current] .icon { color: var(--color-gold); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: center; }
@media (min-width: 1024px) {
  .split--intro { grid-template-columns: 5fr 7fr; align-items: start; }
  .split--media { grid-template-columns: 1fr 1fr; }
  .split--audience { grid-template-columns: 5fr 7fr; align-items: start; }
}
.statement {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5625rem);
  line-height: 1.5;
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  letter-spacing: -0.01em;
  max-width: 40rem;
}

/* ---------- Knowledge + People + Technology + Evidence mosaic ---------- */
.mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 560px; margin-inline: auto; }
.mosaic__tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  min-height: clamp(150px, 12vw + 90px, 210px);
  padding: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  border-radius: var(--radius-lg);
}
.mosaic__tile--navy { background: var(--color-navy); color: #fff; }
.mosaic__tile--blue { background: var(--color-blue); color: #fff; }
.mosaic__tile--light { background: var(--color-blue-50); color: var(--color-navy); }
.mosaic__tile--outline { background: #fff; border: 1px solid var(--color-border-strong); color: var(--color-navy); }
.mosaic__icon { width: 28px; height: 28px; stroke-width: 1.5; }
.mosaic__tile--navy .mosaic__icon, .mosaic__tile--blue .mosaic__icon { color: var(--color-gold); }
.mosaic__tile--light .mosaic__icon, .mosaic__tile--outline .mosaic__icon { color: var(--color-blue); }
.mosaic__name { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); font-weight: var(--fw-black); letter-spacing: -0.01em; }
.mosaic__text { margin-top: 0.25rem; font-size: var(--fs-xs); line-height: 1.45; opacity: 0.85; }
.mosaic__tile--navy .mosaic__text, .mosaic__tile--blue .mosaic__text { color: #DCE5F0; opacity: 1; }
.mosaic__plus {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  border: 4px solid #fff;
  transform: translate(-50%, -50%);
}
.section--surface .mosaic__plus { border-color: var(--color-surface); }
.mosaic__plus .icon { stroke-width: 2.5; }

/* ---------- From Insight to Impact (signature element) ---------- */
.approach-wrap {
  --appr-line: var(--color-border-strong);
  --appr-text: var(--color-muted);
  --appr-name: var(--color-navy);
  --appr-tag: var(--color-blue);
  --appr-m1: var(--color-blue-50);
  --appr-m2: var(--color-blue-100);
  --appr-m3: var(--color-blue);
  --appr-m4: var(--color-navy);
  --appr-mfg: var(--color-navy);
  --appr-mfg-dark: #fff;
}
.on-dark .approach-wrap {
  --appr-line: rgba(255, 255, 255, 0.22);
  --appr-text: var(--color-on-dark-muted);
  --appr-name: #fff;
  --appr-tag: var(--color-gold);
  --appr-m1: #1A3A64;
  --appr-m2: #20528A;
  --appr-m3: #2C6BB0;
  --appr-m4: var(--color-gold);
  --appr-mfg: #fff;
  --appr-mfg-dark: var(--color-navy);
}
.approach { position: relative; display: grid; gap: 2rem; }
.approach::before {
  content: "";
  position: absolute;
  left: 23px; top: 24px; bottom: 24px;
  width: 2px;
  background: var(--appr-line);
}
.approach__step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding-left: 4.25rem; min-height: 48px; }
.approach__marker {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 0.875rem; font-weight: var(--fw-black); font-variant-numeric: tabular-nums;
  color: var(--appr-mfg);
  background: var(--appr-m1);
  box-shadow: 0 0 0 6px var(--approach-halo, var(--color-white));
}
.section--surface .approach-wrap { --approach-halo: var(--color-surface); }
.on-dark .approach-wrap { --approach-halo: var(--color-navy); }
.approach__step:nth-child(2) .approach__marker { background: var(--appr-m2); }
.approach__step:nth-child(3) .approach__marker { background: var(--appr-m3); color: #fff; }
.approach__step:nth-child(4) .approach__marker { background: var(--appr-m4); color: var(--appr-mfg-dark); }
.approach__name { margin-top: 0.6rem; font-size: 1.1875rem; font-weight: var(--fw-black); letter-spacing: 0.1em; text-transform: uppercase; color: var(--appr-name); }
.approach__text { color: var(--appr-text); max-width: 22rem; }
.approach__division {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.04em;
  color: var(--appr-tag);
  text-decoration: none;
  min-height: 32px;
}
.approach__division::before { content: ""; width: 14px; height: 1.5px; background: currentColor; }
.approach__division:hover { text-decoration: underline; color: var(--appr-tag); }

/* Highlighted stages (division pages) */
.approach--focus .approach__step:not(.is-highlighted) .approach__marker { opacity: 0.4; }
.approach--focus .approach__step:not(.is-highlighted) .approach__name { color: var(--appr-text); }
.approach--focus .approach__step.is-highlighted .approach__marker { outline: 2px solid var(--color-gold); outline-offset: 4px; }

.approach-loop { margin-top: 1.75rem; }
.approach-loop__line { display: none; }
.approach-loop__text {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--appr-text);
}
.approach-loop__text .icon { width: 18px; height: 18px; color: var(--color-gold); }

@media (min-width: 900px) {
  .approach { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .approach::before { left: 24px; right: calc(25% - 1.125rem - 24px); top: 23px; bottom: auto; width: auto; height: 2px; }
  .approach__step { padding-left: 0; padding-top: 4.25rem; }
  .approach__name { margin-top: 0; }
  /* Chevron between markers */
  .approach__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 19px; right: calc(-0.75rem - 2px);
    width: 10px; height: 10px;
    border-top: 2px solid var(--color-gold);
    border-right: 2px solid var(--color-gold);
    transform: rotate(45deg);
    background: transparent;
  }
  /* Return path: Measure → Understand */
  .approach-loop { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1.5rem; }
  .approach-loop__line {
    position: relative;
    display: block;
    align-self: stretch;
    height: 28px;
    margin-left: 23px;
    margin-right: calc(25% - 1.125rem - 25px);
    border: 2px dashed var(--appr-line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
  }
  .approach-loop__line::before {
    content: "";
    position: absolute;
    left: -7px; top: -6px;
    border: 6px solid transparent;
    border-bottom: 8px solid var(--color-gold);
    border-top: 0;
  }
}

/* ---------- Product feature + mockup ---------- */
.product-feature {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.section--surface .product-feature { background: #fff; }
.product-feature { grid-template-columns: minmax(0, 1fr); }
.product-feature > * { min-width: 0; }
@media (min-width: 1024px) { .product-feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.product-feature__content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.125rem; }
.product-feature__label { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-muted); }
.product-feature__title { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
.product-feature__facts { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.product-feature__facts dt { font-size: var(--fs-xs); color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: var(--fw-semibold); }
.product-feature__facts dd { margin-top: 0.3rem; font-weight: var(--fw-semibold); color: var(--color-navy); }
.product-feature__text { color: var(--color-muted); }
.product-feature__content .btn { margin-top: 0.5rem; }
@media (max-width: 639px) { .product-feature__content .btn { width: 100%; } }

.mockup, .product-shot { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.product-shot img { width: 100%; }
.mockup__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; background: var(--color-navy); color: var(--color-on-dark-muted); }
.mockup__dots { display: inline-flex; gap: 5px; }
.mockup__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.mockup__title { font-size: 0.75rem; font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup__body { display: grid; grid-template-columns: 128px 1fr; min-height: 290px; }
.mockup__side { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem; background: var(--color-surface); border-right: 1px solid var(--color-border); }
.mockup__nav { padding: 0.45rem 0.6rem; border-radius: var(--radius-sm); font-size: 0.72rem; font-weight: var(--fw-medium); color: var(--color-muted); }
.mockup__nav.is-active { background: #fff; color: var(--color-navy); font-weight: var(--fw-semibold); box-shadow: var(--shadow-sm); border-left: 2px solid var(--color-gold); }
.mockup__main { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; min-width: 0; }
.mockup__head { display: flex; justify-content: space-between; align-items: center; }
.mockup__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.mockup__tile { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.65rem; border: 1px solid var(--color-border); border-radius: 6px; min-width: 0; }
.mockup__tile-label { font-size: 0.66rem; font-weight: var(--fw-semibold); color: var(--color-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skeleton { display: block; height: 8px; border-radius: 4px; background: var(--color-blue-100); }
.skeleton--faint { background: var(--color-border); }
.skeleton--pill { width: 56px; height: 18px; border-radius: 9px; background: var(--color-blue-50); border: 1px solid var(--color-blue-100); }
.mockup__chart { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 0.75rem; border: 1px solid var(--color-border); border-radius: 6px; }
.mockup__chart-label { font-size: 0.66rem; font-weight: var(--fw-semibold); color: var(--color-navy); }
.mockup__bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 90px; }
.mockup__bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--color-blue-100); }
.mockup__bars span.is-accent { background: var(--color-blue); }
.mockup__note {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--color-gold-100);
  border-top: 1px solid #E7CF87;
  font-size: 0.75rem; font-weight: var(--fw-semibold);
  color: var(--color-gold-800);
}
.mockup__note .icon { width: 16px; height: 16px; }
@media (max-width: 479px) {
  .mockup__body { grid-template-columns: 1fr; }
  .mockup__side { flex-direction: row; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--color-border); }
  .mockup__nav { white-space: nowrap; }
  .mockup__row { grid-template-columns: repeat(2, 1fr); }
  .mockup__row .mockup__tile:nth-child(3) { display: none; }
}

/* ---------- Insights content-ready state ---------- */
.content-ready {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
@media (min-width: 1024px) { .content-ready { grid-template-columns: 2fr 1fr; gap: 3rem; } }
.content-ready__types { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .content-ready__types { grid-template-columns: 1fr 1fr; } }
.content-ready__status {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.5rem;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.content-ready__title { font-weight: var(--fw-bold); color: var(--color-navy); font-size: 1.0625rem; line-height: 1.4; }
.content-type { display: flex; gap: 0.875rem; align-items: flex-start; }
.content-type > .icon { margin-top: 0.1rem; color: var(--color-blue); }
.content-type__name { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.content-type p { font-size: var(--fs-small); color: var(--color-muted); }
.content-type-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .content-type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .content-type-grid { grid-template-columns: repeat(3, 1fr); } }
.content-type--card { padding: 1.5rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.category-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.category-row__title { font-size: var(--fs-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-muted); }
.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) 1.5rem;
  text-align: center;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
}
.empty-state__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-blue-50); color: var(--color-blue); margin-bottom: 0.5rem; }
.empty-state__title { font-size: 1.25rem; }

/* ---------- Audiences ---------- */
.audience-list { display: grid; gap: 0 2rem; }
@media (min-width: 640px) { .audience-list { grid-template-columns: 1fr 1fr; } }
.audience-list__item {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  line-height: 1.35;
}
.audience-list__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--color-blue-50); color: var(--color-blue); }
.section--surface .audience-list__icon { background: #fff; }

/* ---------- About: statements, commitments ---------- */
.statement-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .statement-grid { grid-template-columns: repeat(3, 1fr); } }
.statement-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.statement-card__label { font-size: var(--fs-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-blue); display: flex; align-items: center; gap: 0.75rem; }
.statement-card__label::before { content: ""; width: 24px; height: 2px; background: var(--color-gold); }
.statement-card__text { color: var(--color-text); font-size: 1.0625rem; line-height: 1.6; }
.statement-card--purpose { background: var(--color-navy); border-color: var(--color-navy); }
.statement-card--purpose .statement-card__label { color: var(--color-gold); }
.statement-card--purpose .statement-card__text { color: #fff; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); font-weight: var(--fw-bold); line-height: 1.3; letter-spacing: -0.015em; }

.commitments { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .commitments { grid-template-columns: repeat(2, 1fr); } }
.commitment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.commitment__icon { grid-row: span 2; color: var(--color-blue); padding-top: 0.1rem; }
.commitment__title { font-size: 1.125rem; }
.commitment__text { color: var(--color-muted); font-size: var(--fs-small); }

/* ---------- Research emphasis ---------- */
.emphasis-grid { display: grid; gap: 1px; background: var(--color-line-dark); border: 1px solid var(--color-line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .emphasis-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .emphasis-grid { grid-template-columns: repeat(4, 1fr); } }
.emphasis { display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); background: var(--color-navy); }
.emphasis__name { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); font-weight: var(--fw-black); color: #fff; letter-spacing: -0.02em; }
.emphasis__name::after { content: "."; color: var(--color-gold); }
.emphasis__text { color: var(--color-on-dark-muted); font-size: var(--fs-small); }

/* ---------- Case study layout ---------- */
.case-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .case-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } }
.case-main { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }
.case-section { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.case-section__title { font-size: var(--fs-h3); }
.case-aside { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
@media (min-width: 1024px) { .case-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.case-aside__note { display: flex; gap: 0.6rem; font-size: var(--fs-xs); color: var(--color-muted); line-height: 1.5; }
.case-aside__note .icon { width: 18px; height: 18px; flex: none; color: var(--color-blue); }

.fact-list { display: flex; flex-direction: column; }
.fact-list > div { display: flex; flex-direction: column; gap: 0.35rem; padding-block: 0.875rem; border-bottom: 1px solid var(--color-border); }
.fact-list > div:first-child { padding-top: 0; }
.fact-list dt { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.fact-list dd { font-weight: var(--fw-medium); color: var(--color-navy); }
.fact-list__scope { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; font-weight: var(--fw-regular); font-size: var(--fs-small); }
.fact-list__scope li:not(:last-child)::after { content: ","; }

.portfolio-note { display: flex; gap: 0.6rem; margin-top: 2rem; font-size: var(--fs-small); color: var(--color-muted); max-width: 48rem; }
.portfolio-note .icon { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: var(--color-blue); }
.portfolio-grid + [data-filter-empty] { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 4rem; } }
.contact-layout__form {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-layout__title { font-size: var(--fs-h3); }
.contact-aside { display: flex; flex-direction: column; gap: 2rem; }
.contact-aside__block { display: flex; flex-direction: column; gap: 1rem; }
.contact-aside__block + .contact-aside__block { padding-top: 2rem; border-top: 1px solid var(--color-border); }
.contact-aside__title { font-size: 1.125rem; }
.check-list { display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--fs-small); }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list .icon { width: 18px; height: 18px; margin-top: 0.2em; color: var(--color-gold); stroke-width: 2.25; }
.contact-aside__links { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-aside__links a {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: 52px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.contact-aside__links a .icon { color: var(--color-blue); }
.contact-aside__links a:hover { border-color: var(--color-blue); background: var(--color-blue-50); }

/* ---------- Article ---------- */
.article-body { font-size: 1.125rem; line-height: 1.75; }
.not-found { min-height: 50vh; display: flex; align-items: center; }

/* Mobile refinements */
@media (max-width: 899px) {
  /* End the vertical timeline at the last marker */
  .approach__step:last-child::before {
    content: "";
    position: absolute;
    left: 20px; top: 54px; bottom: -26px;
    width: 8px;
    background: var(--approach-halo, var(--color-white));
  }
}
@media (max-width: 479px) {
  .hero__caption { letter-spacing: 0.08em; font-size: 0.6875rem; }
}

/* =========================================================================
   Colour & illustration layer
   ========================================================================= */

/* Gold call-to-action (used sparingly: hero + closing CTA) */
.btn--gold { background: var(--color-gold); color: var(--color-navy); }
.btn--gold:hover { background: #E2B93F; color: var(--color-navy); box-shadow: 0 8px 20px -8px rgba(212, 167, 44, 0.6); }

/* Dark heroes */
.hero, .page-hero { background: var(--color-navy); border-bottom: 0; color: var(--color-on-dark-muted); }
.hero::before, .page-hero::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  right: -10%; top: -30%;
  width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(44, 107, 176, 0.35), transparent);
  pointer-events: none;
}
.hero__grid, .page-hero .container { z-index: 1; }
.hero__title { color: #fff; }
.hero__title > span:nth-child(2) { color: #8DB8E8; }
.hero__text { color: var(--color-on-dark-muted); }
.hero__visual { background: var(--color-navy-700); border: 1px solid var(--color-line-dark); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.page-hero__title { color: #fff; }
.page-hero .lead { color: var(--color-on-dark-muted); }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs a { color: var(--color-on-dark-muted); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs [aria-current] { color: #fff; }
.page-hero .breadcrumbs li + li::before { border-color: rgba(255, 255, 255, 0.35); }
.page-hero .article-meta, .page-hero .article-meta a { color: var(--color-on-dark-muted); }
.page-hero .division-switch a { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.page-hero .division-switch a .icon { color: var(--color-gold); }
.page-hero .division-switch a:hover { border-color: #fff; }
.page-hero .division-switch a[aria-current] { background: #fff; border-color: #fff; color: var(--color-navy); }
.page-hero .division-switch a[aria-current] .icon { color: var(--color-blue); }
.page-hero .badge--neutral { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.25); }

/* Division pages: text + illustration */
.page-hero--visual .container { display: grid; gap: 2.5rem; align-items: center; }
.page-hero--visual .breadcrumbs { grid-column: 1 / -1; }
.page-hero--visual .page-hero__body { margin-top: 0; }
.page-hero__visual { width: 100%; max-width: 560px; margin-inline: auto; }
.page-hero__visual > svg, .page-hero__visual > img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line-dark);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
@media (min-width: 1024px) {
  .page-hero--visual .container { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* Division cards: illustrated header */
.division-card { flex-direction: column; overflow: hidden; }
.division-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-navy); }
.division-card__media > svg, .division-card__media > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.division-card:hover .division-card__media > svg, .division-card:hover .division-card__media > img { transform: scale(1.04); }
.division-card__icon {
  position: relative;
  margin-top: calc(-1 * clamp(1.5rem, 1.2rem + 1vw, 2.25rem) - 28px);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.division-card--consulting .division-card__icon { color: var(--color-navy); }
.division-card--digitalisation .division-card__icon { color: var(--color-blue); }
.division-card--research .division-card__icon { color: var(--color-blue); }
.division-card:hover .division-card__icon { background: var(--color-navy); color: var(--color-gold); }
.division-card__cta .link-arrow::after { z-index: 2; }

/* Row variant: illustration | text | services */
.division-card--row .division-card__media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .division-card--row { flex-direction: row; }
  .division-card--row .division-card__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 300px; }
  .division-card--row .division-card__main { flex: 1.2; }
  .division-card--row .division-card__aside { border-radius: 0; }
  .division-card--row .division-card__icon { margin-top: 0; }
}

/* Stronger brand colour on icons */
.service-card__icon { background: var(--color-blue); color: #fff; }
.service-card:nth-child(odd) .service-card__icon { background: var(--color-navy); }
.card-grid > *:nth-child(3n+2) .service-card__icon { background: var(--color-navy); }
.card-grid > *:nth-child(3n+1) .service-card__icon { background: var(--color-blue); }
.card-grid > *:nth-child(3n) .service-card__icon { background: var(--color-blue-600); }
.service-card { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); border-top: 3px solid var(--color-blue); }
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card--help { border-top-color: var(--color-gold); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--color-navy); color: var(--color-gold); }
.feature { border-top-color: var(--color-blue-100); }
.audience-list__icon { background: var(--color-blue); color: #fff; }
.section--surface .audience-list__icon { background: var(--color-blue); }
.content-type > .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: var(--radius-md); background: var(--color-blue); color: #fff; }
.statement-card:not(.statement-card--purpose) { border-top: 3px solid var(--color-blue); }
.commitment__icon { color: var(--color-gold); }
.commitment { border-left: 3px solid var(--color-blue); }
.portfolio-card__visual { background-color: var(--color-blue); }
.division-card__media--consulting { background: var(--color-navy); }
.division-card__media--digitalisation { background: var(--color-blue); }
.division-card__media--research { background: var(--color-blue-50); }
@media (min-width: 900px) {
  .division-card--row .division-card__media { display: flex; align-items: center; flex: 0 0 38%; min-height: 0; }
  .division-card--row .division-card__media > svg { height: auto; }
}

/* ---------- Contact: location map ---------- */
.location { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 1024px) { .location { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.location__map {
  position: relative;
  min-height: 340px;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-blue-50);
  box-shadow: var(--shadow-md);
}
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--color-blue); font-size: var(--fs-small); font-weight: var(--fw-medium);
  background-image:
    linear-gradient(rgba(22, 78, 134, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 78, 134, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.location__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-on-dark-muted);
  position: relative;
  overflow: hidden;
}
.location__card::after {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.03), 0 0 0 60px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.location__pin { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-gold); color: var(--color-navy); }
.location__name { color: #fff; font-size: var(--fs-h3); }
.location__address { font-style: normal; font-size: 1.0625rem; line-height: 1.7; color: #DCE5F0; }
.location__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; padding-top: 0.5rem; position: relative; z-index: 1; }
.location__actions .btn { gap: 0.5rem; }
@media (max-width: 639px) { .location__actions { align-self: stretch; flex-direction: column; } .location__actions .btn { width: 100%; } }

/* ---------- Contact: coloured form area ---------- */
.section--contact {
  position: relative;
  background-color: var(--color-blue-50);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(22, 78, 134, 0.12) 1px, transparent 0),
    linear-gradient(180deg, var(--color-blue-50), #E3ECF6);
  background-size: 22px 22px, 100% 100%;
}
.section--contact .contact-layout__form {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-blue-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -24px rgba(11, 31, 58, 0.35);
}
.contact-layout__head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  background: var(--color-navy);
  border-bottom: 3px solid var(--color-gold);
}
.contact-layout__head-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.08); color: var(--color-gold); }
.section--contact .contact-layout__title { color: #fff; }
.contact-layout__sub { margin-top: 0.2rem; font-size: var(--fs-small); color: var(--color-on-dark-muted); }
.section--contact .contact-form { padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); }
.section--contact .field__input { background: var(--color-surface); border-color: #D5DEE9; }
.section--contact .field__input:hover { border-color: #9AA8BA; }
.section--contact .field__input:focus { background: #fff; }
.section--contact .field__input[aria-invalid="true"] { background: #fff; }

/* Guidance column as white cards on the blue background */
.section--contact .contact-aside { gap: 1rem; }
.section--contact .contact-aside__block {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-blue-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px -18px rgba(11, 31, 58, 0.35);
}
.section--contact .contact-aside__block + .contact-aside__block { padding-top: 1.5rem; border-top: 1px solid var(--color-blue-100); }
.section--contact .contact-aside__block:first-child { background: var(--color-blue); border-color: var(--color-blue); }
.section--contact .contact-aside__block:first-child .contact-aside__title { color: #fff; }
.section--contact .contact-aside__block:first-child .check-list { color: #E4ECF6; }
.section--contact .contact-aside__block .placeholder { background: var(--color-surface); }

/* ===== backgrounds.css ===== */
/* =========================================================================
   Section background system
   Four tones, alternated so neighbouring sections never match:
     .section                 white          reading-heavy content
     .section--surface        brand tint     white cards pop against it
     .section--navy           deep navy      key statements, the approach cycle
     .section--blue           brand blue     emphasis bands
   Text colours adapt automatically inside dark tones (.on-dark).
   ========================================================================= */
.section, .cta-band, .page-hero, .hero { position: relative; isolation: isolate; }
.section::before, .section::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.section::before, .section::after { display: none; }

/* White: a whisper of structure at the top edge */
.section:not(.section--surface):not(.section--navy):not(.section--blue):not(.section--contact) {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, #FBFCFE 100%);
}

/* Brand tint */
.section--surface {
  --section-bg: #EAF1F8;
  background: linear-gradient(180deg, #EEF4FA 0%, #E6EEF7 100%);
  border-top: 1px solid #DCE6F2;
  border-bottom: 1px solid #DCE6F2;
}
.section--surface::before {
  display: block;
  background-image: radial-gradient(circle at 1px 1px, rgba(22, 78, 134, 0.1) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35));
}
.section--surface .lead, .section--surface .muted { color: #56627A; }
.section--surface .mosaic__plus { border-color: #EAF1F8; }
.section--surface .approach-wrap { --approach-halo: #EAF1F8; }

/* Deep navy */
.section--navy { background: var(--color-navy); }
.section--navy::before {
  display: block;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 70%);
}
.section--navy::after {
  display: block;
  background: radial-gradient(600px circle at 90% 0%, rgba(44, 107, 176, 0.35), transparent 70%),
              radial-gradient(500px circle at 0% 100%, rgba(212, 167, 44, 0.08), transparent 70%);
}

/* Brand blue */
.section--blue { background: var(--color-blue); color: #D9E5F2; }
.section--blue::before {
  display: block;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px);
}
.section--blue::after {
  display: block;
  background: radial-gradient(700px circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 65%),
              radial-gradient(600px circle at 0% 100%, rgba(11, 31, 58, 0.45), transparent 70%);
}
.section--blue .approach-wrap { --approach-halo: var(--color-blue); }

/* ---------- Text on dark tones ---------- */
.section--blue h2, .section--blue h3, .section--blue strong { color: #fff; }
.section--blue .eyebrow { color: #fff; }
.section--blue .eyebrow::before { background: var(--color-gold); }
.on-dark .section-header__text, .section--blue .lead { color: #D9E5F2; }
.section--navy .section-header__text { color: var(--color-on-dark-muted); }

/* Feature blocks (Why AcNEXUS, Core values) on dark tones */
.on-dark .feature { border-top-color: rgba(255, 255, 255, 0.22); }
.on-dark .feature:hover { border-top-color: var(--color-gold); }
.on-dark .feature__title { color: #fff; }
.on-dark .feature__text { color: #D9E5F2; }
.section--blue .feature__icon { background: rgba(11, 31, 58, 0.55); color: var(--color-gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* Cards keep their own light surface and readable text on any tone */
.on-dark :is(.division-card, .service-card:not(.service-card--help), .statement-card:not(.statement-card--purpose), .commitment, .content-type--card, .portfolio-card, .insight-card) { color: var(--color-text); }

/* Page heroes: slightly deeper finish so headings stand out */
.page-hero { background: linear-gradient(160deg, #0B1F3A 0%, #0E274A 55%, #12305A 100%); }
.hero { background: linear-gradient(160deg, #0B1F3A 0%, #0D2445 60%, #10294F 100%); }

/* Case study and article pages read on white with a tinted summary card */
.case-aside { background: #EEF4FA; border-color: #DCE6F2; }
.case-aside .fact-list dt, .case-aside__note { color: #4F5B72; }

/* ===== motion.css ===== */
/* =========================================================================
   Motion layer
   Everything here is progressive: it runs only when the visitor has not asked
   for reduced motion (the .has-reveal class is set in <head> on that condition,
   and base.css neutralises all animation under prefers-reduced-motion).
   ========================================================================= */

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-scale { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes slide-in-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.4); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes scan { 0%, 100% { transform: translate(-22px, 4px); } 50% { transform: translate(18px, -6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: 0.45; transform: scale(0.7) rotate(20deg); } }
@keyframes dot-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
@keyframes dash-flow { to { stroke-dashoffset: -40; } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

/* ---------- Smooth page-to-page transitions (supporting browsers) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: 220ms var(--ease) both fade reverse; }
  ::view-transition-new(root) { animation: 380ms var(--ease) both rise; }
}

/* ---------- Scroll progress (gold hairline under the header) ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

/* ---------- Homepage hero: load sequence ---------- */
.has-reveal .hero__content > .eyebrow { animation: rise 0.7s var(--ease) 0.05s backwards; }
.has-reveal .hero__title > span { display: block; animation: rise 0.8s var(--ease) backwards; }
.has-reveal .hero__title > span:nth-child(1) { animation-delay: 0.15s; }
.has-reveal .hero__title > span:nth-child(2) { animation-delay: 0.3s; }
.has-reveal .hero__title > span:nth-child(3) { animation-delay: 0.45s; }
.has-reveal .hero__dot { display: inline-block; animation: pop 0.5s var(--ease) backwards; }
.has-reveal .hero__title > span:nth-child(1) .hero__dot { animation-delay: 0.7s; }
.has-reveal .hero__title > span:nth-child(2) .hero__dot { animation-delay: 0.85s; }
.has-reveal .hero__title > span:nth-child(3) .hero__dot { animation-delay: 1s; }
.has-reveal .hero__text { animation: rise 0.8s var(--ease) 0.6s backwards; }
.has-reveal .hero__actions { animation: rise 0.8s var(--ease) 0.75s backwards; }
.has-reveal .hero__visual { animation: rise-scale 1s var(--ease) 0.3s backwards; }
.has-reveal .hero__caption { animation: fade 0.8s var(--ease) 1.4s backwards; }

/* Hero network: nodes pop in, spokes draw, satellites appear, data packets travel */
.hero-network .il-draw { stroke-dasharray: 1; }
.has-reveal .hero-network:not(.is-inview) .hv-node,
.has-reveal .hero-network:not(.is-inview) .hv-sat,
.has-reveal .hero-network:not(.is-inview) .hv-core,
.has-reveal .hero-network:not(.is-inview) .hv-core__label { opacity: 0; }
.has-reveal .hero-network:not(.is-inview) .il-draw { stroke-dashoffset: 1; }
.hero-network.is-inview .hv-core { transform-box: fill-box; transform-origin: center; animation: pop 0.7s var(--ease) 0.2s backwards; }
.hero-network.is-inview .hv-core__label { animation: fade 0.5s var(--ease) 0.6s backwards; }
.hero-network.is-inview .il-draw { animation: draw 0.8s var(--ease) 0.45s backwards; }
.hero-network.is-inview .hv-node { transform-box: fill-box; transform-origin: center; animation: pop 0.6s var(--ease) var(--d, 0.4s) backwards; }
.hero-network.is-inview .hv-sat { animation: fade 0.6s var(--ease) var(--d, 1s) backwards; }
.hero-network .hv-node__disc { transition: fill var(--dur) var(--ease); }
.hero-network .hv-node:hover .hv-node__disc { fill: var(--color-blue-600); }
.hv-packet { fill: var(--color-gold); opacity: 0.9; }
.has-reveal .hero-network:not(.is-inview) .hv-packet { opacity: 0; }

/* ---------- Inner-page hero ---------- */
.has-reveal .page-hero .breadcrumbs { animation: fade 0.6s var(--ease) backwards; }
.has-reveal .page-hero__body > * { animation: rise 0.8s var(--ease) backwards; }
.has-reveal .page-hero__body > :nth-child(1) { animation-delay: 0.05s; }
.has-reveal .page-hero__body > :nth-child(2) { animation-delay: 0.15s; }
.has-reveal .page-hero__body > :nth-child(3) { animation-delay: 0.3s; }
.has-reveal .page-hero__body > :nth-child(n+4) { animation-delay: 0.45s; }
.has-reveal .page-hero__visual { animation: slide-in-right 1s var(--ease) 0.25s backwards; }

/* ---------- Illustrations: come alive when scrolled into view ---------- */
.illustration .il-draw { stroke-dasharray: 1; }
.illustration .il-bar, .illustration .il-pop, .illustration .il-scan,
.illustration .il-spin, .illustration .il-twinkle, .illustration .il-pulse, .illustration .il-float {
  transform-box: fill-box;
}
.illustration .il-bar { transform-origin: 50% 100%; }
.illustration .il-pop, .illustration .il-spin, .illustration .il-twinkle, .illustration .il-pulse { transform-origin: 50% 50%; }

.has-reveal .anim-scene:not(.is-inview) .il-bar { transform: scaleY(0); }
.has-reveal .anim-scene:not(.is-inview) .il-draw { stroke-dashoffset: 1; }
.has-reveal .anim-scene:not(.is-inview) .il-fade,
.has-reveal .anim-scene:not(.is-inview) .il-pop { opacity: 0; }

.anim-scene.is-inview .il-bar { animation: grow-y 0.9s var(--ease) var(--d, 0s) backwards; }
.anim-scene.is-inview .il-draw { animation: draw 1.1s var(--ease) var(--d, 0s) backwards; }
.anim-scene.is-inview .il-fade { animation: fade 0.6s var(--ease) var(--d, 0s) backwards; }
.anim-scene.is-inview .il-pop { animation: pop 0.6s var(--ease) var(--d, 0s) backwards; }

/* Gentle ambient loops (paused when off-screen) */
.anim-scene .il-float { animation: float 5s ease-in-out var(--d, 0s) infinite; }
.anim-scene .il-float--slow { animation-duration: 6.5s; }
.anim-scene .il-scan { animation: scan 7s ease-in-out infinite; }
.anim-scene .il-spin { animation: spin 7s linear infinite; }
.anim-scene .il-twinkle { animation: twinkle 3.2s ease-in-out infinite; }
.anim-scene .il-pulse { animation: dot-pulse 2.4s ease-in-out infinite; }
.anim-scene .il-flow { animation: dash-flow 2.4s linear infinite; }
.anim-scene:not(.is-playing) .il-float, .anim-scene:not(.is-playing) .il-scan,
.anim-scene:not(.is-playing) .il-spin, .anim-scene:not(.is-playing) .il-twinkle,
.anim-scene:not(.is-playing) .il-pulse, .anim-scene:not(.is-playing) .il-flow { animation-play-state: paused; }

/* ---------- From Insight to Impact: the cycle assembles itself ---------- */
.has-reveal .approach-wrap:not(.is-inview) .approach::before { transform: scaleY(0); }
.has-reveal .approach-wrap:not(.is-inview) .approach__marker,
.has-reveal .approach-wrap:not(.is-inview) .approach__step > :not(.approach__marker),
.has-reveal .approach-wrap:not(.is-inview) .approach-loop { opacity: 0; }
.approach::before { transform-origin: top; }
.approach-wrap.is-inview .approach::before { animation: grow-y 1.4s var(--ease) 0.1s backwards; }
.approach-wrap.is-inview .approach__marker { animation: pop 0.55s var(--ease) backwards; }
.approach-wrap.is-inview .approach__step > :not(.approach__marker) { animation: rise 0.7s var(--ease) backwards; }
.approach-wrap.is-inview .approach__step:nth-child(1) > * { animation-delay: 0.15s; }
.approach-wrap.is-inview .approach__step:nth-child(2) > * { animation-delay: 0.45s; }
.approach-wrap.is-inview .approach__step:nth-child(3) > * { animation-delay: 0.75s; }
.approach-wrap.is-inview .approach__step:nth-child(4) > * { animation-delay: 1.05s; }
.approach-wrap.is-inview .approach-loop { animation: fade 0.8s var(--ease) 1.5s backwards; }
@media (min-width: 900px) {
  .has-reveal .approach-wrap:not(.is-inview) .approach::before { transform: scaleX(0); }
  .approach::before { transform-origin: left; }
  .approach-wrap.is-inview .approach::before { animation-name: grow-x; }
  .approach__step:not(:last-child)::after { transition: transform var(--dur) var(--ease); }
  .has-reveal .approach-wrap:not(.is-inview) .approach__step::after { opacity: 0; }
  .approach-wrap.is-inview .approach__step::after { animation: fade 0.4s var(--ease) backwards; }
  .approach-wrap.is-inview .approach__step:nth-child(1)::after { animation-delay: 0.5s; }
  .approach-wrap.is-inview .approach__step:nth-child(2)::after { animation-delay: 0.8s; }
  .approach-wrap.is-inview .approach__step:nth-child(3)::after { animation-delay: 1.1s; }
}
.approach__marker { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.approach__step:hover .approach__marker { transform: scale(1.1); }
.approach-loop__text .icon { transition: transform 0.8s var(--ease); }
.approach-loop:hover .approach-loop__text .icon { transform: rotate(180deg); }

/* ---------- Process steps: markers slide into place in sequence ---------- */
.process-step::before { transition: transform var(--dur) var(--ease); }
.process-step:hover::before { transform: rotate(135deg) scale(1.2); }
.process-step { transition: border-color var(--dur) var(--ease); }
.process-step:hover { border-top-color: var(--color-blue); }

/* ---------- Hover refinements ---------- */
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%) skewX(-20deg);
  z-index: -1;
  pointer-events: none;
}
.btn--gold:hover::after { animation: shine 0.9s var(--ease); }
.btn--primary:hover, .btn--gold:hover { transform: translateY(-1px); }

.mosaic__tile { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.mosaic__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mosaic__plus { transition: transform 0.6s var(--ease); }
.mosaic:hover .mosaic__plus { transform: translate(-50%, -50%) rotate(90deg); }

.feature__icon, .service-card__icon, .audience-list__icon, .division-card__icon { transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.feature:hover .feature__icon { transform: translateY(-3px) rotate(-4deg); }
.service-card:hover .service-card__icon { transform: scale(1.08); }
.service-card { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.service-card:hover { transform: translateY(-3px); }
.audience-list__item { transition: padding-left var(--dur) var(--ease), color var(--dur) var(--ease); }
.audience-list__item:hover { padding-left: 0.5rem; color: var(--color-blue); }
.audience-list__item:hover .audience-list__icon { transform: scale(1.08); background: var(--color-navy); }
.statement-card, .commitment, .content-type--card { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.statement-card:hover, .commitment:hover, .content-type--card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.emphasis { transition: background-color var(--dur) var(--ease); }
.emphasis:hover { background: var(--color-navy-700); }
.division-switch a { transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease); }
.division-switch a:hover { transform: translateY(-2px); }
.footer-links a { transition: color var(--dur-fast) var(--ease), transform var(--dur) var(--ease); }
.footer-links a:hover { transform: translateX(3px); }

/* Mobile menu: links cascade in */
.mobile-menu:not([hidden]) .mobile-nav > li { animation: rise 0.45s var(--ease) backwards; }
.mobile-menu:not([hidden]) .mobile-nav > li:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu:not([hidden]) .mobile-nav > li:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu:not([hidden]) .mobile-nav > li:nth-child(4) { animation-delay: 0.12s; }
.mobile-menu:not([hidden]) .mobile-nav > li:nth-child(5) { animation-delay: 0.16s; }
.mobile-menu:not([hidden]) .mobile-nav > li:nth-child(6) { animation-delay: 0.2s; }
.menu-toggle .icon { transition: transform var(--dur) var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { animation: pop 0.35s var(--ease); }

/* Form feedback */
.form-status:not([hidden]) { animation: rise 0.4s var(--ease); }
.field__error:not([hidden]) { animation: fade 0.25s var(--ease); }

/* ---------- Reduced motion: stop everything, including SVG packets ---------- */
@media (prefers-reduced-motion: reduce) {
  .hv-packet { display: none; }
  .anim-scene .il-float, .anim-scene .il-scan, .anim-scene .il-spin,
  .anim-scene .il-twinkle, .anim-scene .il-pulse, .anim-scene .il-flow { animation: none !important; }
  .scroll-progress { display: none; }
}

/* =========================================================================
   Fly-in (blocks) and float-in (images and text)
   ========================================================================= */
@keyframes float-in {
  from { opacity: 0; transform: translateY(34px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes float-in-image {
  0% { opacity: 0; transform: translateY(48px) scale(0.94); filter: blur(10px); }
  60% { opacity: 1; filter: none; }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes fly-in-left {
  from { opacity: 0; transform: translateX(-140px) rotate(-2.5deg) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@keyframes fly-in-right {
  from { opacity: 0; transform: translateX(140px) rotate(2.5deg) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@keyframes fly-in-up {
  from { opacity: 0; transform: translateY(110px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* ---------- Blocks fly in ---------- */
.has-reveal :is(.division-card, .feature, .statement-card, .commitment, .emphasis,
  .content-type--card, .portfolio-card, .insight-card, .contact-layout__form, .contact-aside,
  .card-grid > *, .product-feature, .content-ready, .empty-state).reveal.is-visible,
.has-reveal .reveal.is-visible:has(> .product-feature) {
  animation-duration: 0.95s;
  animation-timing-function: cubic-bezier(0.22, 1.12, 0.36, 1); /* slight settle */
}
/* Direction follows position in the grid: left column from the left, right column from the right */
.has-reveal :is(.division-card, .feature, .statement-card, .commitment, .emphasis,
  .content-type--card, .portfolio-card, .insight-card, .card-grid > *).reveal.is-visible:nth-child(odd) { animation-name: fly-in-left; }
.has-reveal :is(.division-card, .feature, .statement-card, .commitment, .emphasis,
  .content-type--card, .portfolio-card, .insight-card, .card-grid > *).reveal.is-visible:nth-child(even) { animation-name: fly-in-right; }
/* In three-column grids the middle card rises from below */
@media (min-width: 900px) {
  .has-reveal :is(.division-grid, .statement-grid) > .reveal.is-visible:nth-child(3n+2) { animation-name: fly-in-up; }
  .has-reveal :is(.division-grid, .statement-grid) > .reveal.is-visible:nth-child(3n) { animation-name: fly-in-right; }
  .has-reveal :is(.division-grid, .statement-grid) > .reveal.is-visible:nth-child(3n+1) { animation-name: fly-in-left; }
}
@media (min-width: 1024px) {
  .has-reveal .card-grid--3 > .reveal.is-visible:nth-child(3n+2),
  .has-reveal .feature-grid--3 > .reveal.is-visible:nth-child(3n+2),
  .has-reveal .content-type-grid > .reveal.is-visible:nth-child(3n+2) { animation-name: fly-in-up; }
  .has-reveal .card-grid--3 > .reveal.is-visible:nth-child(3n),
  .has-reveal .feature-grid--3 > .reveal.is-visible:nth-child(3n),
  .has-reveal .content-type-grid > .reveal.is-visible:nth-child(3n) { animation-name: fly-in-right; }
  .has-reveal .card-grid--3 > .reveal.is-visible:nth-child(3n+1),
  .has-reveal .feature-grid--3 > .reveal.is-visible:nth-child(3n+1),
  .has-reveal .content-type-grid > .reveal.is-visible:nth-child(3n+1) { animation-name: fly-in-left; }
  /* Four across: two from each side */
  .has-reveal .feature-grid--4 > .reveal.is-visible:nth-child(4n+1),
  .has-reveal .feature-grid--4 > .reveal.is-visible:nth-child(4n+2) { animation-name: fly-in-left; }
  .has-reveal .feature-grid--4 > .reveal.is-visible:nth-child(4n+3),
  .has-reveal .feature-grid--4 > .reveal.is-visible:nth-child(4n) { animation-name: fly-in-right; }
}
/* Stagger grid items by position (in addition to any reveal-delay-*) */
.has-reveal :is(.division-grid, .card-grid, .feature-grid, .statement-grid, .commitments, .emphasis-grid,
  .content-type-grid, .portfolio-grid, .insight-grid) > .reveal.is-visible:nth-child(2) { animation-delay: 120ms; }
.has-reveal :is(.division-grid, .card-grid, .feature-grid, .statement-grid, .commitments, .emphasis-grid,
  .content-type-grid, .portfolio-grid, .insight-grid) > .reveal.is-visible:nth-child(3) { animation-delay: 240ms; }
.has-reveal :is(.division-grid, .card-grid, .feature-grid, .statement-grid, .commitments, .emphasis-grid,
  .content-type-grid, .portfolio-grid, .insight-grid) > .reveal.is-visible:nth-child(4) { animation-delay: 360ms; }
.has-reveal :is(.division-grid, .card-grid, .feature-grid, .statement-grid, .commitments, .emphasis-grid,
  .content-type-grid, .portfolio-grid, .insight-grid) > .reveal.is-visible:nth-child(5) { animation-delay: 180ms; }
.has-reveal :is(.division-grid, .card-grid, .feature-grid, .statement-grid, .commitments, .emphasis-grid,
  .content-type-grid, .portfolio-grid, .insight-grid) > .reveal.is-visible:nth-child(6) { animation-delay: 300ms; }
/* Full-width panels and stacked rows fly up / alternate */
.has-reveal .reveal.is-visible:has(> .product-feature),
.has-reveal :is(.product-feature, .content-ready, .empty-state, .contact-layout__form).reveal.is-visible { animation-name: fly-in-up; }
.has-reveal .contact-aside.reveal.is-visible { animation-name: fly-in-right; }
.has-reveal .division-rows > .reveal.is-visible:nth-child(odd) { animation-name: fly-in-left; }
.has-reveal .division-rows > .reveal.is-visible:nth-child(even) { animation-name: fly-in-right; }

/* ---------- Images float in ---------- */
.has-reveal .reveal.is-visible:has(> .mosaic),
.has-reveal .case-visual.reveal.is-visible {
  animation-name: float-in-image;
  animation-duration: 1.3s;
}
/* Pictures inside flying cards float in just after the card lands */
.has-reveal :is(.division-card, .portfolio-card).reveal:not(.is-visible) :is(.division-card__media > *, .portfolio-card__visual > *) { opacity: 0; }
.has-reveal :is(.division-card, .portfolio-card).reveal.is-visible :is(.division-card__media > *, .portfolio-card__visual > *) {
  animation: float-in-image 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}
/* Text inside flying cards floats in line by line */
.has-reveal .division-card.reveal.is-visible .division-card__main > * { animation: float-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.has-reveal .division-card.reveal.is-visible .division-card__main > :nth-child(1) { animation-delay: 0.55s; }
.has-reveal .division-card.reveal.is-visible .division-card__main > :nth-child(2) { animation-delay: 0.65s; }
.has-reveal .division-card.reveal.is-visible .division-card__main > :nth-child(3) { animation-delay: 0.75s; }
.has-reveal .division-card.reveal.is-visible .division-card__main > :nth-child(4) { animation-delay: 0.85s; }
.has-reveal .division-card.reveal.is-visible .division-card__main > :nth-child(n+5) { animation-delay: 0.95s; }
.has-reveal .division-card.reveal:not(.is-visible) .division-card__main > * { opacity: 0; }

/* Hero images and text: float-in on page load */
.has-reveal .hero__visual { animation: float-in-image 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards; }
.has-reveal .page-hero__visual { animation: float-in-image 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards; }
.has-reveal .hero__content > .eyebrow,
.has-reveal .hero__title > span,
.has-reveal .hero__text,
.has-reveal .hero__actions,
.has-reveal .page-hero__body > * { animation-name: float-in; animation-duration: 1s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
/* Location: the map floats in like an image, the address card flies in */
.has-reveal .location__map.reveal.is-visible { animation-name: float-in-image; animation-duration: 1.3s; }
.has-reveal .location__card.reveal.is-visible { animation-name: fly-in-right; animation-duration: 0.95s; animation-timing-function: cubic-bezier(0.22, 1.12, 0.36, 1); animation-delay: 150ms; }
.location__pin { animation: float 4s ease-in-out infinite; }

/* ===== chat.css ===== */
/* =========================================================================
   Floating contact widget: WhatsApp + AcNEXUS Assistant
   ========================================================================= */
.fab-stack {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
}
.fab {
  position: relative;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  padding: 0;
  border: 0; border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(11, 31, 58, 0.45);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 30px -10px rgba(11, 31, 58, 0.5); }
.fab:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; }
.fab--chat { background: var(--color-navy); color: #fff; box-shadow: 0 0 0 2px var(--color-gold), 0 10px 24px -8px rgba(11, 31, 58, 0.45); }
.fab--chat:hover { box-shadow: 0 0 0 2px var(--color-gold), 0 16px 30px -10px rgba(11, 31, 58, 0.5); }
.fab--chat::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--color-gold); opacity: 0; }
.fab--chat .fab__icon { width: 26px; height: 26px; }
.fab--chat .fab__icon--close { display: none; }
.chat-widget.is-open .fab--chat .fab__icon--open { display: none; }
.chat-widget.is-open .fab--chat .fab__icon--close { display: block; }
.chat-widget.is-open .fab--chat { background: var(--color-blue); }
.fab--whatsapp { width: 50px; height: 50px; background: #25D366; color: #fff; text-decoration: none; }
.fab--whatsapp:hover { background: #1EBE5A; color: #fff; }
.fab--pending { background: #6CC894; }
.wa-glyph { width: 26px; height: 26px; display: inline-block; flex: none; }
.fab__label {
  position: absolute; right: calc(100% + 0.6rem); top: 50%;
  padding: 0.3rem 0.6rem; border-radius: var(--radius-sm);
  background: var(--color-navy); color: #fff; font-size: 0.75rem; font-weight: var(--fw-semibold);
  white-space: nowrap; opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.fab--whatsapp:hover .fab__label, .fab--whatsapp:focus-visible .fab__label { opacity: 1; transform: translate(0, -50%); }
.fab-note {
  position: absolute; right: 0; bottom: calc(100% + 0.5rem);
  width: min(260px, calc(100vw - 2rem));
  padding: 0.75rem 0.9rem; border-radius: var(--radius-md);
  background: #fff; color: var(--color-text); font-size: var(--fs-xs); line-height: 1.5;
  box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
}
.fab-stack > .fab-note { bottom: calc(100% + 0.5rem); }

/* Teaser bubble */
.chat-teaser {
  position: absolute; right: calc(100% + 0.75rem); bottom: 8px;
  display: flex; align-items: flex-start; gap: 0.25rem;
  width: max-content; max-width: min(240px, calc(100vw - 7rem));
  padding: 0.7rem 0.5rem 0.7rem 0.9rem;
  border-radius: 14px 14px 4px 14px;
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs); line-height: 1.45; color: var(--color-text);
}
.chat-teaser button { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.chat-teaser strong { color: var(--color-blue); }
.chat-teaser__x { display: grid; place-items: center; width: 28px; height: 28px; flex: none; color: var(--color-muted) !important; border-radius: 50%; }
.chat-teaser__x:hover { background: var(--color-surface) !important; }
.chat-teaser:not([hidden]) { animation: teaser-in 0.5s var(--ease); }
@keyframes teaser-in { from { opacity: 0; transform: translateY(8px) scale(0.95); } to { opacity: 1; transform: none; } }

/* Panel */
.chat-panel {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + 58px + 0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 2rem));
  height: min(580px, calc(100dvh - 7.5rem));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(11, 31, 58, 0.45);
  transform-origin: bottom right;
}
.chat-panel:not([hidden]) { animation: panel-in 0.35s cubic-bezier(0.22, 1.12, 0.36, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(0.92); } to { opacity: 1; transform: none; } }
.chat-panel__head { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 0.9rem 0.9rem 1rem; background: var(--color-navy); color: #fff; }
.chat-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-gold); color: var(--color-navy); font-weight: var(--fw-black); font-size: 0.9375rem; letter-spacing: -0.02em; }
.chat-panel__titles { flex: 1; min-width: 0; }
.chat-panel__title { font-weight: var(--fw-bold); font-size: 1rem; line-height: 1.2; }
.chat-panel__sub { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.2rem; font-size: 0.75rem; color: var(--color-on-dark-muted); }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.25); }
.chat-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, 0.1); }
.chat-close:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 0; }

.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; background: var(--color-surface); }
.chat-msg { max-width: 88%; padding: 0.7rem 0.9rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; animation: msg-in 0.3s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--color-border); border-bottom-left-radius: 4px; color: var(--color-text); }
.chat-msg--user { align-self: flex-end; background: var(--color-blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg ul { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.chat-msg li { position: relative; padding-left: 1rem; }
.chat-msg li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 1px; background: var(--color-gold); }
.chat-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.chat-link { display: inline-flex; align-items: center; min-height: 34px; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); background: var(--color-blue-50); color: var(--color-blue); font-size: 0.8125rem; font-weight: var(--fw-semibold); text-decoration: none; border: 1px solid var(--color-blue-100); }
.chat-link:hover { background: var(--color-blue); color: #fff; }
.chat-link--wa { background: #E7F8EE; color: #0E7A3A; border-color: #BDEBD0; }
.chat-link--wa:hover { background: #25D366; color: #fff; }
.chat-note { margin-top: 0.6rem; font-size: 0.78rem; color: var(--color-muted); }
.chat-typing { display: flex; gap: 4px; padding: 0.85rem 1rem; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-blue-100); animation: typing 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { transform: translateY(0); background: var(--color-blue-100); } 40% { transform: translateY(-4px); background: var(--color-blue); } }

.chat-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem; background: var(--color-surface); }
.chat-quick:not(:empty) { padding-bottom: 0.75rem; }
.chat-chip { min-height: 34px; padding: 0.35rem 0.8rem; border: 1px solid var(--color-blue); border-radius: var(--radius-pill); background: #fff; color: var(--color-blue); font-size: 0.8125rem; font-weight: var(--fw-semibold); cursor: pointer; animation: msg-in 0.3s var(--ease) backwards; transition: background-color var(--dur-fast), color var(--dur-fast); }
.chat-chip:hover { background: var(--color-blue); color: #fff; }
.chat-chip:nth-child(2) { animation-delay: 0.05s; } .chat-chip:nth-child(3) { animation-delay: 0.1s; } .chat-chip:nth-child(4) { animation-delay: 0.15s; }

.chat-form { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--color-border); background: #fff; }
.chat-input { flex: 1; min-width: 0; min-height: 44px; padding: 0.55rem 0.9rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); font-size: 0.9375rem; }
.chat-input:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(22, 78, 134, 0.18); }
.chat-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-gold); color: var(--color-navy); cursor: pointer; transition: transform var(--dur) var(--ease); }
.chat-send:hover { transform: scale(1.06); }
.chat-panel__foot { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.55rem 0.9rem; border-top: 1px solid var(--color-border); font-size: 0.78rem; }
.chat-panel__foot a, .chat-foot-muted { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; color: var(--color-blue); font-weight: var(--fw-semibold); text-decoration: none; }
.chat-panel__foot a:first-child .wa-glyph { color: #25D366; }
.chat-panel__foot .wa-glyph, .chat-panel__foot .icon { width: 16px; height: 16px; }
.chat-foot-muted { color: var(--color-muted); font-weight: var(--fw-medium); }

/* Phones: panel becomes a full-height sheet */
@media (max-width: 479px) {
  .chat-panel { inset: 0; width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .chat-widget.is-open .fab-stack { display: none; }
  .fab { width: 54px; height: 54px; }
  .fab--whatsapp { width: 48px; height: 48px; }
}
/* Keep page content clear of the floating buttons at the very bottom */
.site-footer { padding-bottom: calc(2rem + 80px); }
@media (min-width: 1024px) { .site-footer { padding-bottom: 2rem; } }

@media (prefers-reduced-motion: reduce) {
  .chat-panel:not([hidden]), .chat-msg, .chat-chip, .chat-teaser:not([hidden]) { animation: none; }
}
