/* ==========================================================================
   AGIS — Alfa Group Integrated Systems
   Design system: "Precision Blue"
   --------------------------------------------------------------------------
   Light, architectural surfaces punctuated by deep navy anchors.
   Geometry is sharp and technical (2–4px radii) — the brand is engineering,
   not consumer software. Cyan is rationed: eyebrows, hairlines, active states.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
  /* Brand — navy sampled directly from the logo artwork (#022952) */
  --ink-900: #01111f;
  --ink-800: #021b33;
  --navy-700: #022952;
  --navy-600: #073c6e;
  --blue-500: #1668ae;
  --cyan-400: #29a8e0;
  --cyan-300: #5fc6f2;
  --cyan-100: #e3f4fd;

  /* Neutrals */
  --paper: #ffffff;
  --mist: #f3f7fa;
  --mist-2: #e9f0f6;
  --line: #e1e9f1;
  --line-strong: #cbd8e5;
  --body: #4b5c6e;
  --body-soft: #6b7c8d;
  --heading: #0b2440;

  /* On-dark */
  --on-dark: #e8f1f8;
  --on-dark-soft: #9db4c9;
  --on-dark-line: rgba(255, 255, 255, 0.14);

  /* Type — Archivo carries the squared, engineered character of the logo;
     Inter stays neutral so long technical passages read cleanly. */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 6px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(2, 41, 82, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(2, 41, 82, 0.16);
  --shadow-lg: 0 24px 60px -20px rgba(2, 41, 82, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 86px;
}

/* --- 2. Reset ----------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.026em;
  font-variation-settings: "wght" 700;
}
h1, h2 { font-weight: 800; font-variation-settings: "wght" 800; }

h1 { font-size: clamp(2.25rem, 1.35rem + 3.1vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 1.25rem + 1.9vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem); line-height: 1.25; }
h4 { font-size: 1.075rem; line-height: 1.35; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-500); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan-400); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

::selection { background: var(--navy-700); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-700); color: #fff;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --- 3. Layout primitives ----------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(64px, 4vw + 42px, 112px) 0; }
.section--tight { padding: clamp(48px, 3vw + 32px, 76px) 0; }
.section--mist { background: var(--mist); }
.section--line-top { border-top: 1px solid var(--line); }

.section--dark {
  background: var(--ink-800);
  color: var(--on-dark-soft);
  position: relative;
  overflow: hidden;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark .lede { color: var(--on-dark-soft); }

/* Faint triangulated network wash, echoing the company-profile artwork */
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(41, 168, 224, 0.16), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(22, 104, 174, 0.2), transparent 48%);
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --- 4. Typographic utilities ------------------------------------------- */

.eyebrow {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--cyan-400); flex: none;
}
.section--dark .eyebrow { color: var(--cyan-300); }

.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--body);
  max-width: 62ch;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

.text-balance { text-wrap: balance; }

/* Accent used in headlines: the second line of the promise */
.tint { color: var(--cyan-400); }
.tint-blue { color: var(--blue-500); }

/* --- 5. Buttons --------------------------------------------------------- */

.btn {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  font-size: 0.9rem; font-weight: 650; letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-600); color: #fff; box-shadow: var(--shadow-md); }

.btn--accent { background: var(--cyan-400); color: var(--ink-900); }
.btn--accent:hover { background: var(--cyan-300); color: var(--ink-900); }

.btn--ghost { border-color: var(--line-strong); color: var(--heading); background: transparent; }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); background: var(--mist); }

.btn--ghost-light { border-color: var(--on-dark-line); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: var(--cyan-400); color: var(--cyan-300); background: rgba(255, 255, 255, 0.04); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 0.9rem;
  color: var(--blue-500);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- 6. Header / navigation --------------------------------------------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; transition: opacity 0.25s var(--ease); }
.brand__light { position: absolute; opacity: 1; }
.brand__dark { opacity: 0; }
.brand { position: relative; }

/* Over a dark hero the light lockup shows; once scrolled the navy one does. */
.header--solid { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(2, 41, 82, 0.06); }
.header--solid .brand__light { opacity: 0; }
.header--solid .brand__dark { opacity: 1; }

/* Pages with a light hero start solid-on-light */
.header--light-page { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--line); }
.header--light-page .brand__light { opacity: 0; }
.header--light-page .brand__dark { opacity: 1; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--cyan-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }

.header--solid .nav__link,
.header--light-page .nav__link { color: var(--heading); }
.header--solid .nav__link:hover,
.header--light-page .nav__link:hover { color: var(--blue-500); }

.nav__caret { transition: transform 0.25s var(--ease); }
.nav__item--has-menu:hover .nav__caret,
.nav__item--open .nav__caret { transform: rotate(180deg); }

/* Solutions mega-menu */
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(720px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
/* Desktop only. Below the breakpoint the menu becomes a static accordion panel
   inside the drawer, and this centring transform would shove it half its own
   width off the left edge. */
@media (min-width: 1081px) {
  .nav__item--has-menu:hover .nav__menu,
  .nav__item--open .nav__menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
}
.nav__menu-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 13px; border-radius: var(--radius);
  transition: background 0.18s var(--ease);
}
.nav__menu--wide {
  width: min(760px, calc(100vw - 40px));
  grid-template-columns: repeat(3, 1fr);
}
.nav__menu--wide .nav__menu-link { padding: 9px 11px; align-items: center; }
.nav__menu-link:hover { background: var(--mist); }
.nav__menu-link svg { flex: none; margin-top: 2px; color: var(--blue-500); }
.nav__menu-txt { min-width: 0; }
.nav__menu-txt strong {
  display: block; font-size: 0.875rem; font-weight: 650;
  color: var(--heading); line-height: 1.3;
}
.nav__menu-txt span {
  display: block; font-size: 0.775rem; line-height: 1.45;
  color: var(--body-soft); margin-top: 2px;
}

.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius); cursor: pointer;
  color: #fff;
}
.header--solid .nav-toggle,
.header--light-page .nav-toggle { border-color: var(--line-strong); color: var(--heading); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav--open { opacity: 1; visibility: visible; transform: translateY(0); }

  /* The links are inline-flex for the desktop bar; inside the drawer they have
     to fill the row, and their wrapper has to stop being a flex item. */
  .nav__item { display: block; }
  .nav__link {
    display: flex; width: 100%;
    color: var(--heading); padding: 14px 4px; font-size: 1rem;
    border-bottom: 1px solid var(--line); border-radius: 0;
    justify-content: space-between;
  }
  .nav__link::after { display: none; }
  /* Every "over the dark hero" white state has to be undone here — on the
     drawer's white background it renders the link invisible. */
  .nav__link:hover,
  .nav__link:focus-visible,
  .nav__link[aria-current="page"],
  .nav__link[aria-current="page"]:hover { color: var(--blue-500); }
  .nav__link[aria-current="page"]::before {
    content: ""; position: absolute; left: -12px; top: 50%;
    width: 3px; height: 20px; margin-top: -10px;
    background: var(--cyan-400);
  }

  .nav__menu,
  .nav__menu--wide {
    position: static; transform: none;
    width: auto; max-width: 100%;
    opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; grid-template-columns: 1fr; padding: 4px 0 12px;
    display: none;
  }
  .nav__item--open .nav__menu { display: grid; }
  .nav__menu-link { padding: 12px 10px; }
  .nav__cta { margin: 18px 0 0; justify-content: center; }
}

/* --- 7. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--navy-700) 52%, var(--navy-600) 100%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.85;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 78% 34%, rgba(41, 168, 224, 0.28), transparent 62%),
    radial-gradient(ellipse 60% 70% at 8% 88%, rgba(2, 25, 51, 0.75), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 820px; }

.hero__kicker {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan-300);
  border: 1px solid rgba(41, 168, 224, 0.35);
  background: rgba(41, 168, 224, 0.08);
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero__kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-400); flex: none;
  box-shadow: 0 0 0 0 rgba(41, 168, 224, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(41, 168, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 168, 224, 0); }
}

.hero h1 { color: #fff; margin-bottom: 24px; }
.hero__lede {
  font-size: clamp(1.05rem, 0.96rem + 0.42vw, 1.28rem);
  line-height: 1.62; color: var(--on-dark-soft); max-width: 60ch;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: var(--on-dark-soft);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--cyan-400), transparent);
  animation: drop 2s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* Compact hero for interior pages */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 clamp(56px, 6vw, 88px);
  background: var(--ink-800);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.34;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--ink-900) 8%, rgba(2, 27, 51, 0.86) 46%, rgba(7, 60, 110, 0.55) 100%);
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lede { color: var(--on-dark-soft); max-width: 58ch; }
.page-hero .eyebrow { color: var(--cyan-300); }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--on-dark-soft);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--on-dark-soft); }
.breadcrumb a:hover { color: var(--cyan-300); }
.breadcrumb span { opacity: 0.5; }

/* --- 8. Stat strip ------------------------------------------------------ */

.stats {
  background: linear-gradient(100deg, var(--navy-700), var(--blue-500));
  color: #fff;
  position: relative; overflow: hidden;
}
.stats::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(41, 168, 224, 0.35), transparent 55%);
}
.stats__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stats__item { padding: 4px 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: #fff; display: flex; align-items: baseline; gap: 2px;
}
.stats__label {
  margin-top: 8px; font-size: 0.82rem; line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* --- 9. Cards ----------------------------------------------------------- */

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 3;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2, 27, 51, 0.62), rgba(2, 27, 51, 0.05) 60%);
}
.card__badge {
  position: absolute; z-index: 2; left: 16px; bottom: 14px;
  color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { font-size: 0.925rem; color: var(--body-soft); }
.card__foot { margin-top: auto; padding-top: 18px; }

.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--cyan-100); color: var(--blue-500);
  margin-bottom: 18px;
}
.card--flat { border-radius: var(--radius); }
.card--flat:hover { transform: none; }

/* Tight bullet list inside cards */
.tick-list { list-style: none; padding: 0; margin: 16px 0 0; }
.tick-list li {
  position: relative; padding-left: 24px; margin-bottom: 9px;
  font-size: 0.9rem; line-height: 1.5; color: var(--body-soft);
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px;
  border-left: 2px solid var(--cyan-400);
  border-bottom: 2px solid var(--cyan-400);
  transform: rotate(-45deg);
}
.section--dark .tick-list li { color: var(--on-dark-soft); }

/* --- 10. Feature rows --------------------------------------------------- */

.feature {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature__icon {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--mist); color: var(--blue-500);
  border: 1px solid var(--line);
}
.feature h4 { margin-bottom: 5px; }
.feature p { font-size: 0.9rem; color: var(--body-soft); margin: 0; }

.section--dark .feature { border-bottom-color: var(--on-dark-line); }
.section--dark .feature p { color: var(--on-dark-soft); }
.section--dark .feature__icon {
  background: rgba(41, 168, 224, 0.12);
  border-color: rgba(41, 168, 224, 0.28);
  color: var(--cyan-300);
}

/* Media panel used beside copy in split layouts */
.media-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-panel--tall img { aspect-ratio: 3 / 4; }
.media-panel__tag {
  position: absolute; left: 0; bottom: 0;
  background: rgba(2, 27, 51, 0.9);
  backdrop-filter: blur(8px);
  color: #fff; padding: 14px 20px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 650;
  border-top: 2px solid var(--cyan-400);
}

/* Decorative chevron echoing the "A" in the logo mark */
.chev-accent {
  position: absolute; pointer-events: none; opacity: 0.06;
  color: var(--navy-700);
}

/* --- 11. Integration map (home signature piece) ------------------------- */

.intmap-intro { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.intmap-intro p { max-width: 62ch; }
.intmap { position: relative; }
.intmap__stage {
  position: relative;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(20px, 3vw, 36px);
}
/* Scoped to the stage — a bare `.intmap svg` would also stretch the icons
   inside the buttons that sit under the diagram. */
.intmap__stage > svg { width: 100%; height: auto; display: block; overflow: visible; }

.intmap__node { cursor: pointer; }
.intmap__node circle.ring {
  fill: rgba(41, 168, 224, 0.08);
  stroke: rgba(41, 168, 224, 0.45);
  stroke-width: 1.2;
  transition: fill 0.3s var(--ease), stroke 0.3s var(--ease), r 0.3s var(--ease);
}
.intmap__node text {
  fill: var(--on-dark-soft); font-size: 15px; font-weight: 650;
  text-anchor: middle; letter-spacing: 0.02em;
  transition: fill 0.3s var(--ease);
}
.intmap__node:hover circle.ring,
.intmap__node.is-active circle.ring { fill: rgba(41, 168, 224, 0.28); stroke: var(--cyan-300); }
.intmap__node:hover text,
.intmap__node.is-active text { fill: #fff; }
.intmap__node .glyph { color: var(--cyan-300); }

.intmap__link {
  stroke: rgba(41, 168, 224, 0.22);
  stroke-width: 1.2; fill: none;
  transition: stroke 0.3s var(--ease), stroke-width 0.3s var(--ease);
}
.intmap__link.is-lit { stroke: var(--cyan-400); stroke-width: 2; }

.intmap__core circle { fill: url(#coreGrad); }
.intmap__core text { fill: #fff; font-weight: 800; text-anchor: middle; }

.intmap__readout {
  margin-top: 28px; min-height: 104px; max-width: 68ch;
  border-left: 2px solid var(--cyan-400);
  padding: 4px 0 4px 22px;
}
.intmap__readout h4 { color: #fff; margin-bottom: 6px; font-size: 1.2rem; }
.intmap__body { color: var(--on-dark-soft); font-size: 1rem; margin: 0; }
.intmap__hint {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-300); margin-bottom: 10px;
}
/* The diagram keeps a fixed viewBox, so on a narrow screen the labels and
   hit areas have to grow in user units to stay legible and tappable. */
@media (max-width: 860px) { .intmap__node text { font-size: 21px; } }
@media (max-width: 640px) {
  .intmap__node text { font-size: 28px; }
  .intmap__node circle.ring { r: 38; }
  .intmap__stage { padding: 14px 4px; }
}

/* --- 12. Tabs ----------------------------------------------------------- */

.tabs__list {
  display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px; padding-bottom: 0;
}
.tabs__btn {
  appearance: none; background: none; border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 16px; margin-bottom: -1px;
  font-family: inherit; font-size: 0.875rem; font-weight: 650;
  color: var(--body-soft); cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tabs__btn:hover { color: var(--heading); }
.tabs__btn[aria-selected="true"] { color: var(--navy-700); border-bottom-color: var(--cyan-400); }
.tabs__panel[hidden] { display: none; }

/* --- 13. Accordion ------------------------------------------------------ */

.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; appearance: none; background: none; border: 0;
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 0; text-align: left; cursor: pointer;
  font-family: inherit;
}
.acc__num {
  flex: none; font-size: 0.78rem; font-weight: 700;
  color: var(--cyan-400); letter-spacing: 0.1em; padding-top: 5px;
  min-width: 28px;
}
.acc__title {
  flex: 1; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.35rem);
  font-weight: 750; color: var(--heading); letter-spacing: -0.015em; line-height: 1.3;
}
.acc__sign { flex: none; position: relative; width: 16px; height: 16px; margin-top: 8px; }
.acc__sign::before,
.acc__sign::after {
  content: ""; position: absolute; background: var(--blue-500);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.acc__sign::before { left: 0; top: 7px; width: 16px; height: 2px; }
.acc__sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: scaleY(0); }

.acc__panel {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.acc__panel-inner { padding: 0 0 28px 46px; }
@media (max-width: 640px) { .acc__panel-inner { padding-left: 0; } }
.acc__panel p { color: var(--body-soft); }

/* --- 14. Filter grid (industries / partners) ---------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  appearance: none; background: #fff; cursor: pointer;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 18px; font-family: inherit;
  font-size: 0.82rem; font-weight: 600; color: var(--body);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--navy-700); color: var(--navy-700); }
.filter-btn[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--ink-800);
  display: flex; align-items: flex-end;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.62;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1, 17, 31, 0.9) 8%, rgba(2, 41, 82, 0.25) 70%);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile:hover img { transform: scale(1.06); opacity: 0.78; }
.tile__label {
  position: relative; z-index: 2; padding: 18px;
  color: #fff; font-size: 0.9rem; font-weight: 650; line-height: 1.3;
}
.tile__label small {
  display: block; font-weight: 500; font-size: 0.75rem;
  color: var(--on-dark-soft); margin-top: 4px;
}
.tile[hidden] { display: none; }

/* Icon tiles (no photography) */
.icon-tile {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.25s var(--ease);
}
.icon-tile:hover { border-color: var(--cyan-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.icon-tile svg { color: var(--blue-500); }
.icon-tile strong { font-size: 0.92rem; color: var(--heading); font-weight: 650; line-height: 1.3; }
.icon-tile span { font-size: 0.83rem; color: var(--body-soft); line-height: 1.5; }
.icon-tile[hidden] { display: none; }
/* Deep links from the Industries dropdown must clear the fixed header. */
.icon-tile[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.icon-tile:target { border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(41, 168, 224, 0.18); }

/* --- 15. Logo wall ------------------------------------------------------ */

/* Borders live on the cells rather than on grid gaps, so a ragged final row
   leaves clean white space instead of a stranded grey block. */
.logo-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
  gap: 0; background: #fff;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.logo-cell {
  background: #fff; min-height: 128px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center; padding: 18px 14px;
  transition: background 0.25s var(--ease);
}
/* Every logo gets its own height cap (--lh), set per cell from the manifest.
   A single shared cap would leave square emblems looking half the size of the
   long wordmarks beside them. */
.logo-cell img {
  width: auto; height: auto;
  max-width: 100%; max-height: var(--lh, 46px);
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}
.logo-cell:hover { background: var(--mist); }
.logo-cell:hover img { transform: scale(1.06); }
.logo-cell[hidden] { display: none; }

/* A handful of marks are drawn in white and need their own backdrop. */
.logo-cell--dark { background: var(--ink-800); }
.logo-cell--dark:hover { background: var(--navy-700); }

.wall-note {
  margin-top: 20px; font-size: 0.82rem; color: var(--body-soft);
}

@media (max-width: 520px) {
  .logo-wall { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
  .logo-cell { min-height: 108px; padding: 14px 12px; }
  .logo-cell img { max-height: calc(var(--lh, 46px) * 0.84); }
}

/* --- 16. Process / timeline --------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  color: var(--mist-2);
  transition: color 0.3s var(--ease);
}
.step:hover .step__num { color: var(--cyan-400); }
.step__body h3 { margin-bottom: 12px; }
.step__body .lede { font-size: 1rem; margin-bottom: 20px; }
.step__points {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 28px; margin-top: 4px;
}
.step__point strong { display: block; font-size: 0.85rem; color: var(--heading); font-weight: 700; letter-spacing: 0.02em; }
.step__point span { display: block; font-size: 0.85rem; color: var(--body-soft); line-height: 1.5; margin-top: 3px; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* --- 17. Quote / callout ------------------------------------------------ */

.callout {
  border-left: 3px solid var(--cyan-400);
  padding: 6px 0 6px 26px;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.5; font-weight: 600;
  color: var(--heading); letter-spacing: -0.015em;
}
.section--dark .callout { color: #fff; }

/* --- 18. CTA band ------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--ink-900) 0%, var(--navy-700) 55%, var(--blue-500) 130%);
  color: #fff;
  padding: clamp(56px, 5vw, 84px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(41, 168, 224, 0.32), transparent 55%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 20ch; }
.cta-band p { color: var(--on-dark-soft); margin: 0; max-width: 48ch; }

/* --- 19. Forms ---------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 650; color: var(--heading); letter-spacing: 0.02em; }
.field label .req { color: var(--cyan-400); }
.field input,
.field select,
.field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--heading);
  padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(41, 168, 224, 0.16);
}
.field .err { font-size: 0.78rem; color: #c2313b; display: none; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c2313b; }
.field.is-invalid .err { display: block; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-note {
  margin-top: 18px; font-size: 0.82rem; color: var(--body-soft);
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}
.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius);
  font-size: 0.9rem; display: none;
}
.form-status.is-shown { display: block; }
.form-status--ok { background: var(--cyan-100); color: var(--navy-700); border: 1px solid rgba(41, 168, 224, 0.4); }

/* --- 20. Contact / office cards ----------------------------------------- */

.office {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; background: #fff;
  transition: all 0.25s var(--ease);
}
.office:hover { border-color: var(--cyan-400); box-shadow: var(--shadow-md); }
.office__flag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan-400); margin-bottom: 10px;
  display: block;
}
.office h3 { font-size: 1.15rem; margin-bottom: 4px; }
.office__role { font-size: 0.82rem; color: var(--body-soft); margin-bottom: 18px; }
.office__rows { display: grid; gap: 11px; font-size: 0.88rem; }
.office__row { display: flex; gap: 11px; align-items: flex-start; color: var(--body); }
.office__row svg { flex: none; margin-top: 3px; color: var(--blue-500); }

/* --- 21. Footer --------------------------------------------------------- */

.footer {
  background: var(--ink-900);
  color: var(--on-dark-soft);
  padding: clamp(56px, 5vw, 80px) 0 0;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(2, 41, 82, 0.9), transparent 55%);
}
.footer > * { position: relative; z-index: 1; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px;
  padding-bottom: 48px;
}
.footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 0.88rem; max-width: 34ch; }
.footer h5 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; font-weight: 700;
}
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__links a { color: var(--on-dark-soft); font-size: 0.88rem; }
.footer__links a:hover { color: var(--cyan-300); }

.footer__offices {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  border-top: 1px solid var(--on-dark-line);
  padding: 34px 0 40px;
}
.footer__office h5 { margin-bottom: 12px; }
.footer__contact { display: grid; gap: 9px; font-size: 0.86rem; }
@media (max-width: 860px) { .footer__offices { grid-template-columns: 1fr; gap: 26px; } }
.footer__contact a { color: var(--on-dark-soft); }
.footer__contact a:hover { color: var(--cyan-300); }

.newsletter { display: flex; gap: 0; margin-top: 18px; max-width: 320px; }
.newsletter input {
  flex: 1; min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--on-dark-line);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 12px 14px; color: #fff; font-family: inherit; font-size: 0.85rem;
}
.newsletter input::placeholder { color: #7d93a8; }
.newsletter input:focus { outline: none; border-color: var(--cyan-400); }
.newsletter button {
  border: 0; cursor: pointer;
  background: var(--cyan-400); color: var(--ink-900);
  padding: 0 16px; border-radius: 0 var(--radius) var(--radius) 0;
  display: grid; place-items: center;
  transition: background 0.2s var(--ease);
}
.newsletter button:hover { background: var(--cyan-300); }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 36px; height: 36px; border-radius: var(--radius);
  border: 1px solid var(--on-dark-line);
  display: grid; place-items: center; color: var(--on-dark-soft);
  transition: all 0.2s var(--ease);
}
.socials a:hover { border-color: var(--cyan-400); color: var(--cyan-300); background: rgba(41, 168, 224, 0.1); }

.footer__bottom {
  border-top: 1px solid var(--on-dark-line);
  padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer__bottom a { color: var(--on-dark-soft); }
.footer__bottom a:hover { color: var(--cyan-300); }

@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* --- 22. Scroll progress + back to top ---------------------------------- */

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 101;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  width: 0%;
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--navy-700); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-md);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--cyan-400); color: var(--ink-900); }

/* --- 23. Scroll reveal -------------------------------------------------- */

/* Content is only ever hidden once JS has confirmed it can reveal it again —
   with scripting off or broken the page still reads as a complete document. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* --- 24. Misc ----------------------------------------------------------- */

.pill {
  display: inline-block; padding: 5px 13px; border-radius: 100px;
  background: var(--cyan-100); color: var(--navy-600);
  font-size: 0.74rem; font-weight: 650; letter-spacing: 0.04em;
}
.section--dark .pill { background: rgba(41, 168, 224, 0.14); color: var(--cyan-300); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.cert-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; background: #fff;
  display: flex; align-items: center; gap: 12px;
}
.cert svg { color: var(--blue-500); flex: none; }
.cert strong { display: block; font-size: 0.85rem; color: var(--heading); }
.cert span { display: block; font-size: 0.75rem; color: var(--body-soft); }
.section--dark .cert { background: rgba(255, 255, 255, 0.04); border-color: var(--on-dark-line); }
.section--dark .cert strong { color: #fff; }
.section--dark .cert span { color: var(--on-dark-soft); }

.value-card {
  padding: 26px 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
  position: relative; overflow: hidden;
  transition: all 0.28s var(--ease);
}
.value-card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--cyan-100); opacity: 0; transition: opacity 0.3s var(--ease);
}
.value-card:hover { border-color: var(--cyan-400); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card:hover::after { opacity: 0.6; }
.value-card > * { position: relative; z-index: 1; }
.value-card__idx {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--cyan-400); font-weight: 700; letter-spacing: 0.08em;
}
.value-card h4 { margin: 12px 0 8px; }
.value-card p { font-size: 0.88rem; color: var(--body-soft); margin: 0; }

/* Two-up "gap" graphic — literal expression of "Bridging Gaps" */
.bridge {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 0;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bridge__side { padding: clamp(24px, 3vw, 36px); }
.bridge__side h4 { color: #fff; margin-bottom: 8px; }
.bridge__side p { font-size: 0.88rem; color: var(--on-dark-soft); margin: 0; }
.bridge__mid {
  align-self: stretch; width: 92px;
  display: grid; place-items: center;
  background: rgba(41, 168, 224, 0.1);
  border-inline: 1px solid var(--on-dark-line);
  color: var(--cyan-300);
}
@media (max-width: 720px) {
  .bridge { grid-template-columns: 1fr; }
  .bridge__mid { width: auto; height: 64px; border-inline: 0; border-block: 1px solid var(--on-dark-line); }
  .bridge__mid svg { transform: rotate(90deg); }
}

@media print {
  .header, .to-top, .scroll-progress, .hero__canvas { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* --- 25. The gap motif --------------------------------------------------- */
/* "Bridging Gaps" is the strategy, so the layout should perform it rather than
   only describe it: rules that break and rejoin, columns that sit on different
   baselines and are tied together by a hairline, and the chevron lifted from
   the "A" of the logo mark used as the joint. */

.rule-gap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: clamp(48px, 6vw, 88px) 0;
}
.rule-gap::before,
.rule-gap::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.rule-gap::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.rule-gap__mark { color: var(--cyan-400); display: grid; place-items: center; }
.section--dark .rule-gap::before { background: linear-gradient(90deg, transparent, var(--on-dark-line)); }
.section--dark .rule-gap::after { background: linear-gradient(90deg, var(--on-dark-line), transparent); }

/* Two columns deliberately off the same baseline, bridged by a hairline. */
.grid--offset { align-items: start; }
@media (min-width: 981px) {
  .grid--offset > :nth-child(2) { margin-top: 88px; position: relative; }
  .grid--offset > :nth-child(2)::before {
    content: "";
    position: absolute; top: -52px; left: -36px; width: 36px; height: 1px;
    background: var(--cyan-400);
  }
  .grid--offset > :nth-child(2)::after {
    content: "";
    position: absolute; top: -52px; left: -36px; width: 1px; height: 52px;
    background: linear-gradient(to bottom, transparent, var(--cyan-400));
  }
}

/* --- 26. Full-bleed statement -------------------------------------------- */

.statement {
  padding: clamp(60px, 6vw, 104px) 0;
  background: var(--paper);
  position: relative;
}
.statement--mist { background: var(--mist); }
.statement__mark { color: var(--cyan-400); margin-bottom: 30px; }
.statement p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--heading);
  max-width: 21ch;
  margin: 0;
}
.statement p em {
  font-style: normal;
  color: var(--blue-500);
}
.statement .statement__by {
  font-family: var(--font); font-weight: 600;
  margin-top: 30px; max-width: none; line-height: 1.5;
  font-size: 0.8rem; letter-spacing: 0.16em; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--body-soft);
}

/* --- 27. Comparison table ------------------------------------------------ */
/* Dense, technical and skimmable — the module competitors avoid because it
   invites a direct comparison. */

.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; min-width: 620px;
  border-collapse: collapse;
  font-size: 0.925rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cmp th, .cmp td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cmp thead th {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--body-soft);
  background: var(--mist);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.cmp thead th:last-child { color: var(--navy-700); }
.cmp tbody th {
  font-family: var(--font-display);
  font-weight: 700; color: var(--heading); font-size: 0.9rem;
  width: 26%;
}
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp td { color: var(--body-soft); }
.cmp td:last-child { color: var(--body); background: rgba(41, 168, 224, 0.045); }
.cmp tbody tr:hover td:last-child { background: rgba(41, 168, 224, 0.09); }
.cmp .mark { display: inline-flex; align-items: center; gap: 8px; }
.cmp .mark svg { flex: none; }
.cmp .mark--yes { color: var(--blue-500); }
.cmp .mark--no { color: #b0bcc8; }
.cmp-note { margin-top: 14px; font-size: 0.8rem; color: var(--body-soft); }

/* --- 28. Big-number moment ----------------------------------------------- */

.bignum {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.bignum__fig {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 2rem + 11vw, 11rem);
  font-weight: 800; line-height: 0.82; letter-spacing: -0.05em;
  color: var(--navy-700);
}
.section--dark .bignum__fig { color: #fff; }
.bignum__fig sup {
  font-size: 0.34em; vertical-align: super; color: var(--cyan-400);
  letter-spacing: 0;
}
.bignum__body p { max-width: 44ch; }
@media (max-width: 720px) { .bignum { grid-template-columns: 1fr; } }

/* --- 29. Proof block (home) ---------------------------------------------- */
/* Sits high on the page, so it has to establish credibility without stealing
   the weight of a full section: heading and link share one baseline row. */

.proof-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.proof-head h2 {
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  margin: 0; max-width: 22ch;
}
.proof-head .eyebrow { margin-bottom: 12px; }
.proof-head > div:first-child { min-width: 0; }
.proof-head .link-arrow { padding-bottom: 4px; white-space: nowrap; }

/* --- 30. Header lockup sizing -------------------------------------------- */
/* The lockup stacks a mark over two lines of type, so it needs real height to
   stay legible — but not so much that it crowds a phone screen. */
@media (max-width: 1080px) {
  :root { --header-h: 78px; }
  .brand img { height: 50px; }
}
@media (max-width: 420px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
}

/* --- 31. Direct contact card --------------------------------------------- */

.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist); padding: 28px 26px;
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 20px; }

.contact-lines { display: grid; gap: 10px; }
.contact-line {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.contact-line:hover {
  border-color: var(--cyan-400); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-line svg { flex: none; color: var(--blue-500); }
.contact-line span { display: block; min-width: 0; }
.contact-line strong {
  display: block; font-size: 0.95rem; color: var(--heading);
  font-weight: 650; line-height: 1.3; word-break: break-word;
}
.contact-line small {
  display: block; font-size: 0.78rem; color: var(--body-soft);
  margin-top: 2px; line-height: 1.4;
}

.contact-social {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.contact-social a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 650; color: var(--heading);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 8px 14px; background: #fff;
  transition: all 0.2s var(--ease);
}
.contact-social a:hover { border-color: var(--blue-500); color: var(--blue-500); }

/* ==========================================================================
   32. Physical Security one-pager
   --------------------------------------------------------------------------
   A bespoke layout for solution-physical-security.html, matching the client's
   approved mockup. Scoped entirely to `.ps-*` so the other thirteen pages are
   untouched. Colours, type and radii still come from the global tokens, so it
   reads as the same site rather than a bolted-on page.
   ========================================================================== */

/* --- hero: copy left, control-room right, capability chips floating over --- */
.ps-hero {
  position: relative;
  background: var(--ink-800);
  color: var(--on-dark);
  overflow: hidden;
  padding: calc(var(--header-h) + 76px) 0 84px;
  min-height: min(84vh, 660px);
  display: flex; align-items: center;
}
.ps-hero__media {
  position: absolute; inset: 0 0 0 38%;
  background-size: cover; background-position: center;
}
.ps-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, var(--ink-800) 0%, rgba(2,27,51,.82) 28%, rgba(2,27,51,.30) 100%);
}
.ps-hero > .wrap { position: relative; z-index: 2; }
.ps-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 40px; align-items: center; }
.ps-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3vw, 3.4rem); margin-bottom: 14px; }
.ps-hero__tag {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
  color: var(--cyan-300); margin-bottom: 18px; letter-spacing: -.01em;
}
.ps-hero__lede { color: var(--on-dark-soft); max-width: 46ch; font-size: 1rem; }

.ps-chips { display: grid; gap: 12px; justify-items: end; }
.ps-chip {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--radius);
  padding: 13px 22px 13px 16px;
  min-width: 260px;
  box-shadow: 0 14px 34px -14px rgba(1,17,31,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ps-chip svg { flex: none; color: var(--blue-500); }
.ps-chip span { font-family: var(--font-display); font-weight: 650; font-size: .95rem; color: var(--heading); }
.ps-chip:hover { transform: translateX(-6px); box-shadow: 0 18px 40px -14px rgba(1,17,31,.75); }

@media (max-width: 980px) {
  .ps-hero__media { inset: 0; opacity: .32; }
  .ps-hero__grid { grid-template-columns: 1fr; }
  .ps-chips { justify-items: stretch; margin-top: 34px; }
  .ps-chip { min-width: 0; }
}

/* --- centred "trusted partners" band -------------------------------------- */
.ps-band-title {
  display: flex; align-items: center; gap: 22px;
  margin-bottom: 30px;
}
.ps-band-title::before, .ps-band-title::after {
  content: ""; height: 1px; background: var(--line-strong); flex: 1;
}
.ps-band-title span {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--heading);
  white-space: nowrap;
}
.ps-logos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 26px 20px; align-items: center; justify-items: center;
}
.ps-logos img { max-width: 100%; object-fit: contain; }
@media (max-width: 860px) { .ps-logos { grid-template-columns: repeat(3, 1fr); } }

/* --- five tall solution cards: photo over a navy body --------------------- */
.ps-solutions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ps-sol {
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-700); color: var(--on-dark-soft);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ps-sol:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ps-sol__media { height: 208px; overflow: hidden; }
.ps-sol__media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease); }
.ps-sol:hover .ps-sol__media img { transform: scale(1.06); }
.ps-sol__body { padding: 20px 20px 24px; flex: 1; }
.ps-sol__body h3 {
  color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px; line-height: 1.25;
  min-height: 2.5em;                 /* keeps every card's bullets on one baseline */
  display: flex; align-items: flex-end;
}
.ps-sol__body ul { list-style: none; padding: 0; margin: 0; }
.ps-sol__body li {
  position: relative; padding-left: 14px; margin-bottom: 8px;
  font-size: .84rem; line-height: 1.45; color: var(--on-dark-soft);
}
.ps-sol__body li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-400);
}
@media (max-width: 1080px) { .ps-solutions { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ps-solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ps-solutions { grid-template-columns: 1fr; } }

/* --- integration rail ----------------------------------------------------- */
.ps-rail {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; padding: 34px 30px 28px;
}
.ps-rail__track {
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.ps-rail__track::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 80px;
  height: 1px; background: var(--line-strong);
}
.ps-rail__node { text-align: center; position: relative; }
.ps-rail__node .ico { height: 58px; display: grid; place-items: center; color: var(--blue-500); }
.ps-rail__node .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--cyan-400);
  margin: 18px auto 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px #fff;
}
.ps-rail__node strong {
  display: block; margin-top: 14px;
  font-family: var(--font-display); font-size: .8rem; font-weight: 650;
  color: var(--heading); line-height: 1.3;
}
.ps-rail__node--hot .ico { color: #d94a3d; }
@media (max-width: 860px) {
  .ps-rail__track { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .ps-rail__track::before { display: none; }
}

/* --- photo tiles with an icon overlay (industries, technologies) ---------- */
.ps-tiles { display: grid; gap: 14px; }
.ps-tiles--7 { grid-template-columns: repeat(7, 1fr); }
.ps-tiles--6 { grid-template-columns: repeat(6, 1fr); }
.ps-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-800); min-height: 206px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ps-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .74; transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.ps-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,41,82,.94) 18%, rgba(2,41,82,.16) 70%, rgba(1,17,31,.26));
}
.ps-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ps-tile:hover img { transform: scale(1.07); opacity: .88; }
.ps-tile__ico {
  position: absolute; top: 0; left: 0; right: 0; bottom: 44px;
  display: grid; place-items: center; color: #fff; z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(1,17,31,.55));
}
.ps-tile__label {
  position: relative; z-index: 2; padding: 12px 14px 14px; text-align: center;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1.3;
}
.ps-tiles--6 .ps-tile { min-height: 176px; }
.ps-tiles--6 .ps-tile__ico { display: none; }
.ps-tiles--6 .ps-tile img { opacity: .82; }
.ps-tiles--6 .ps-tile::after {
  background: linear-gradient(to top, rgba(2,41,82,.97) 26%, rgba(2,41,82,.12) 64%, transparent);
}
@media (max-width: 1080px) { .ps-tiles--7, .ps-tiles--6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .ps-tiles--7, .ps-tiles--6 { grid-template-columns: repeat(2, 1fr); } }

/* --- why choose: photo left, two columns of reasons right ----------------- */
.ps-why { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(28px,4vw,56px); align-items: center; }
.ps-why__shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.ps-why__shot img { width: 100%; height: 400px; object-fit: cover; }
.ps-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; margin-top: 26px; }
.ps-why__item { display: flex; gap: 13px; align-items: flex-start; }
.ps-why__item svg { flex: none; color: var(--blue-500); margin-top: 2px; }
.ps-why__item strong { display: block; font-family: var(--font-display); font-size: .93rem; color: var(--heading); font-weight: 700; }
.ps-why__item span { display: block; font-size: .85rem; color: var(--body-soft); line-height: 1.45; margin-top: 3px; }
@media (max-width: 980px) {
  .ps-why { grid-template-columns: 1fr; }
  .ps-why__shot img { height: 300px; }
}
@media (max-width: 560px) { .ps-why__grid { grid-template-columns: 1fr; } }

/* --- dark rounded stat bar ------------------------------------------------ */
.ps-statbar {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(100deg, var(--navy-700), var(--navy-600) 62%, var(--blue-500));
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 30px 20px;
}
.ps-statbar::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 20%, rgba(41,168,224,.32), transparent 58%);
}
.ps-statbar__item {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.2);
}
.ps-statbar__item:first-child { border-left: 0; }
.ps-statbar__item svg { flex: none; color: rgba(255,255,255,.75); }
.ps-statbar__n {
  font-family: var(--font-display); font-size: clamp(1.6rem,1.2rem + 1.1vw,2.2rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff;
}
.ps-statbar__l { font-size: .8rem; line-height: 1.35; color: rgba(255,255,255,.82); margin-top: 5px; }
@media (max-width: 900px) {
  .ps-statbar { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding: 26px 14px; }
  .ps-statbar__item { padding: 4px 12px; gap: 12px; }
  .ps-statbar__item svg { width: 28px; height: 28px; }
  .ps-statbar__item:nth-child(odd) { border-left: 0; }
}
/* Two columns can't hold an icon plus a wrapping label on a phone — the items
   were running past the bar's right edge. */
@media (max-width: 460px) {
  .ps-statbar { grid-template-columns: 1fr; gap: 20px 0; }
  .ps-statbar__item { border-left: 0; padding: 4px 6px; }
}

/* --- closing CTA over photography ---------------------------------------- */
.ps-cta { position: relative; overflow: hidden; padding: clamp(48px,5vw,76px) 0; }
.ps-cta__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ps-cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, var(--ink-900) 6%, rgba(2,27,51,.9) 42%, rgba(2,41,82,.6) 100%);
}
.ps-cta > .wrap { position: relative; z-index: 2; }
.ps-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.ps-cta h2 { color: #fff; margin-bottom: 8px; }
.ps-cta p { color: var(--on-dark-soft); margin: 0; }
