/* ============================================================
   PGN Limited — refinements
   Loaded after each page's inline <style> so it can correct
   page-level rules that carried over from the previous design.
   ============================================================ */

/* ── ICONS ──
   One consistent treatment: small, accent-coloured, tight to the heading. */
.val-icon, .svc-icon, .sector-icon, .vc-icon, .vb-icon,
.wj-icon, .perk-icon, .team-icon {
  display: block;
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-size: 0;
}
.val-icon .icon, .svc-icon .icon, .sector-icon .icon, .vc-icon .icon,
.vb-icon .icon, .wj-icon .icon, .perk-icon .icon, .team-icon .icon {
  width: 20px; height: 20px;
}
/* Icons that sit on a dark background */
#sectors .sector-icon, .team-icon { color: var(--accent-lt); }

/* Bordered marker used in the "why us" list */
.why-icon { color: var(--accent-lt); }
.why-icon .icon { width: 17px; height: 17px; }

/* Inline ticks in checklists */
.check-tick { display: inline-flex; align-items: center; color: var(--pass); }
.check-tick .icon { width: 14px; height: 14px; stroke-width: 2; }
.success-icon { display: flex; justify-content: center; color: var(--pass); margin-bottom: 0.85rem; }
.success-icon .icon { width: 26px; height: 26px; stroke-width: 2; }

/* ── ARROW GLYPHS ── */
.svc-link::after, .report-link::after, .case-link::after,
.link-arrow::after, a::after.arrow { content: none !important; }

/* ── HERO ── */
.hero h1 { max-width: 24ch; }

/* ── STATS STRIP ──
   The gap colour was leaking out as a border because the padding sat on
   the element carrying it. */
.stats-strip { background: var(--paper); border-bottom: 1px solid var(--line); border-top: 0; }
.stats-inner {
  padding: 0 2rem; background: transparent; gap: 0;
}
.stat-item {
  padding: 1.5rem 1.75rem;
  border-left: 1px solid var(--line);
}
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.stat-num span { color: inherit; font-size: inherit !important; }
.stat-label { font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); line-height: 1.55; }

/* ── CARDS ──
   Borders and background carry the grouping; no lift, no gradient underline. */
.value-card, .service-card, .sector-card, .vc-card, .wj-card,
.perk-card, .team-card, .case-card, .res-card, .role-card {
  transition: border-color 0.15s, background 0.15s;
}
.value-card:hover, .service-card:hover, .sector-card:hover,
.vc-card:hover, .wj-card:hover, .perk-card:hover, .team-card:hover,
.case-card:hover, .res-card:hover, .role-card:hover {
  transform: none; box-shadow: none;
}
.value-card::after, .value-card:hover::after,
.service-card::before, .service-card:hover::before,
.sector-card::before, .sector-card:hover::before,
.case-card::before, .case-card:hover::before { content: none; }
.value-card { border-radius: 4px; }
.value-card:hover { border-color: var(--text-muted); }
.service-card:hover { background: var(--mist); }

/* ── STAT CARDS ON DARK ── */
.stat-card { border-radius: 0; }
.stat-card.primary {
  background: var(--ink-raise);
  border-color: var(--accent);
  box-shadow: inset 3px 0 0 var(--accent-lt);
}
.sc-label, .sc-label-dk {
  font-size: 0.8125rem; font-weight: 400;
  color: rgba(255,255,255,0.5); text-transform: none; letter-spacing: 0;
}
.sc-val, .sc-val-dk {
  font-size: 1.15rem; font-weight: 600; color: var(--paper);
  line-height: 1.3; letter-spacing: -0.015em;
}
.sc-desc, .sc-desc-dk { font-size: 0.8125rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── LINKS ── */
.svc-link, .report-link, .case-link {
  font-size: 0.8125rem; font-weight: 500; color: var(--accent);
  border-bottom: 1px solid transparent;
}
.svc-link:hover, .report-link:hover, .case-link:hover { border-bottom-color: var(--accent); }

/* ── HEADINGS INSIDE CARDS ── */
.value-card h3, .service-card h3, .sector-card h4,
.vc-card h3, .team-card h4, .perk-card h4 { margin-bottom: 0.4rem; }

/* ── ABOUT: STAT TILES ──
   A solid accent fill left the label text below the contrast floor.
   Same treatment as the homepage: dark tile, accent edge. */
.about-stat.gold { background: var(--ink-raise); box-shadow: inset 3px 0 0 var(--accent-lt); }
.about-stat.gold .as-num { color: var(--paper); }
.about-stat.gold .as-label { color: rgba(255,255,255,0.55); }
.as-num { font-weight: 600; letter-spacing: -0.02em; }
.as-label { font-size: 0.8125rem; font-weight: 400; }

/* Careers: same correction for the highlighted "why join" tile */
.wj-card.gold { background: var(--ink-raise); box-shadow: inset 3px 0 0 var(--accent-lt); }
.wj-card.gold .wj-title { color: var(--paper); }
.wj-card.gold .wj-text { color: rgba(255,255,255,0.55); }
.wj-icon { color: var(--accent-lt); }
.wj-title { font-size: 0.9375rem; font-weight: 600; }
.wj-text { font-size: 0.8125rem; line-height: 1.6; }

/* ── CASE STUDIES: OUTCOME CARDS ──
   A nth-child rule outranked the .primary modifier, so the highlighted
   card was rendering white text on a white fill. */
.case-full .outcome-card.primary,
.case-full:nth-child(even) .outcome-card.primary {
  background: var(--ink); border-color: var(--ink);
  box-shadow: inset 3px 0 0 var(--accent-lt);
}
.oc-label, .oc-label-lt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }
.oc-label { color: var(--text-muted); }
.oc-label-lt { color: rgba(255,255,255,0.55); }
.oc-val { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.oc-desc, .oc-desc-lt { font-size: 0.8125rem; line-height: 1.6; }
.oc-desc-lt { color: rgba(255,255,255,0.55); }
.tools-title, .case-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }

/* Section label in the body face, not mono */
.mission-label {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.8125rem; font-weight: 500; color: var(--accent);
  margin-bottom: 1rem;
}

/* ── FOOTER MARK ── */
.footer-reg { letter-spacing: 0; }

/* ── CTA BAND ──
   These rules only existed in the homepage's inline style block, so the
   same markup on other pages rendered unstyled. Shared here. */
.cta-band { background: var(--ink); position: relative; z-index: 1; overflow: hidden; }
.cta-band::before { content: none; }
.cta-band-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 3.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; gap: 3rem; flex-wrap: wrap;
}
.cta-band h2 { color: var(--paper); }
.cta-band p {
  color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.68;
  margin-top: 0.6rem; max-width: 56ch;
}
.cta-band-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── FOOTER: five columns now that services split into two practices ── */
.footer-main { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-main { grid-template-columns: 1fr; } }

/* ── GRID OVERFLOW GUARD ──
   Grid items default to min-width:auto, so a single wide child can push
   the whole column past the viewport on narrow screens. */
.svc-inner > *, .hero-inner > *, .platform-inner > * { min-width: 0; }
.panel-body { overflow-x: auto; }
.bench-table { table-layout: auto; }

/* ── SMALL SCREENS ──
   Page-level rules outrank the global h1 size, so restate it here. */
@media (max-width: 640px) {
  .hero h1, .page-header h1 { font-size: 1.5rem; max-width: none; }
  .hero-sub, .page-header-sub { font-size: 0.9375rem; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
  .stats-inner { padding: 0 1.125rem; }
  .stat-item { border-left: 0; border-top: 1px solid var(--line); padding: 1.125rem 0; }
  .stat-item:first-child { border-top: 0; }
}


/* ============================================================
   2026 professional consultancy refresh
   ============================================================ */
:root {
  --max-w: 1160px;
  --radius: 6px;
}
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); line-height: 1.12; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.22; }
h3 { line-height: 1.3; }
nav { height: 64px; padding-inline: clamp(1rem, 3vw, 2rem); background: rgba(14,21,25,0.97); backdrop-filter: blur(10px); }
.logo { font-size: 0.92rem; }
.logo-mark { width: 28px; height: 28px; border-radius: 6px; }
.nav-links a { font-size: 0.8rem; padding: 0.5rem 0.62rem; }
.nav-cta { border-radius: 5px; padding: 0.48rem 0.85rem; }
.hero { padding-top: 8rem !important; padding-bottom: 5rem !important; }
.hero-inner { gap: clamp(2.5rem, 6vw, 5rem) !important; }
.hero h1 { max-width: 19ch !important; }
.hero-sub { font-size: 1rem !important; line-height: 1.7 !important; max-width: 58ch !important; }
.hero-kicker { font-size: 0.78rem !important; font-weight: 500 !important; letter-spacing: 0.02em !important; }
.report { border-radius: 7px !important; box-shadow: 0 18px 50px rgba(0,0,0,0.16); }
.report-row { padding-block: 0.78rem !important; }
.compliance-bar { justify-content: center; padding-block: 0.85rem; }
.compliance-pill { border-radius: 999px; }
.section-inner { padding-top: 4.75rem; padding-bottom: 4.75rem; }
.value-grid, .services-grid, .sectors-grid { margin-top: 2.25rem !important; }
.value-card, .service-card, .sector-card, .case-card, .res-card, .role-card {
  border-radius: 6px;
}
.value-card { padding: 1.7rem !important; }
.service-card { padding: 1.75rem !important; }
.page-header { padding-top: 7.25rem; padding-bottom: 3.5rem; }
.page-header h1 { max-width: 25ch; }
.page-header-sub { font-size: 1rem; }
.cta-band-inner { padding-top: 3.75rem; padding-bottom: 3.75rem; }
footer { border-top: 1px solid rgba(255,255,255,0.08); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(74,157,147,0.55);
  outline-offset: 3px;
}
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
@media (max-width: 900px) {
  .nav-links { top: 64px; }
  .hero { padding-top: 6.75rem !important; }
}
@media (max-width: 640px) {
  h1, .hero h1, .page-header h1 { font-size: 1.8rem !important; line-height: 1.16; }
  h2 { font-size: 1.35rem; }
  .section-inner { padding: 3.5rem 1.125rem; }
  .page-header { padding: 6rem 1.125rem 2.75rem; }
  .hero { padding-inline: 1.125rem !important; }
  .hero-actions { align-items: stretch; }
  .hero-actions a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   Enterprise software company visual pass
   Inspired by the clarity and editorial rhythm of large global
   technology consultancies, while retaining PGN's own identity.
   ============================================================ */
:root {
  --accent: #2457d6;
  --accent-lt: #6f8ff0;
  --accent-dim: rgba(36,87,214,.08);
  --accent-brd: rgba(36,87,214,.22);
  --gold: #2457d6;
  --gold-light: #6f8ff0;
  --gold-dim: rgba(36,87,214,.08);
  --gold-border: rgba(36,87,214,.22);
  --ink: #111827;
  --ink-soft: #172033;
  --ink-raise: #202b40;
  --navy: #111827;
  --navy-mid: #151f32;
  --navy-light: #202b40;
  --mist: #f5f7fa;
  --cream: #f5f7fa;
  --text-body: #465166;
  --text-muted: #667085;
  --max-w: 1200px;
}
body { font-size: .91rem; line-height: 1.62; }
h1 { font-size: clamp(1.85rem, 3vw, 2.55rem) !important; line-height: 1.12 !important; letter-spacing: -.03em !important; }
h2, .section-title { font-size: clamp(1.28rem, 2vw, 1.75rem) !important; line-height: 1.24 !important; letter-spacing: -.022em !important; }
h3 { font-size: 1.02rem !important; }
nav { height: 62px; background: rgba(17,24,39,.98); }
.nav-links a { font-size: .78rem; }
.nav-cta { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.nav-cta:hover { background: #fff; color: var(--ink); }
.logo-mark { background: #fff; color: var(--ink); border-radius: 2px; }
.hero { background: #111827 !important; padding: 7.3rem 2rem 4.5rem !important; }
.hero-inner { grid-template-columns: minmax(0,1.08fr) minmax(380px,.72fr) !important; }
.hero h1 { max-width: 21ch !important; }
.hero-sub { font-size: .96rem !important; color: rgba(255,255,255,.68) !important; }
.hero-kicker { color: #9db2ff !important; text-transform: uppercase; letter-spacing: .09em !important; font-size: .68rem !important; }
.hero-note { color: rgba(255,255,255,.48) !important; }
.report { box-shadow: none !important; border-radius: 2px !important; border-color: rgba(255,255,255,.14) !important; }
.btn-primary { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; border-radius: 2px !important; }
.btn-primary:hover { background: #e9eefc !important; }
.btn-ghost { border-radius: 2px !important; }
.compliance-bar { background: #fff !important; border-bottom: 1px solid #e6e9ef; gap: .45rem !important; padding: .8rem max(1rem,calc((100vw - 1200px)/2)) !important; overflow-x: auto; justify-content: flex-start !important; flex-wrap: nowrap !important; }
.compliance-label { white-space: nowrap; }
.compliance-pill { border-radius: 2px !important; white-space: nowrap; background: #f7f8fa !important; border-color: #e3e6eb !important; color: #4b5565 !important; }
.stats-inner { padding: 0 2rem !important; background: #e7eaf0 !important; }
.stat-item { padding: 1.55rem 1.5rem !important; }
.stat-num { font-size: 1.08rem !important; letter-spacing: -.015em !important; font-weight: 600; }
.stat-label { font-size: .76rem !important; }
.section-inner { padding-top: 4.2rem !important; padding-bottom: 4.2rem !important; }
.label { font-size: .67rem !important; letter-spacing: .09em !important; text-transform: uppercase !important; font-weight: 600 !important; color: var(--accent) !important; }
.label-light { color: #9db2ff !important; }
.section-lead { font-size: .93rem !important; line-height: 1.68 !important; }
.value-grid, .services-grid, .sectors-grid { gap: 1px !important; border-radius: 0 !important; }
.value-card, .service-card, .sector-card, .case-card, .res-card, .role-card { border-radius: 0 !important; box-shadow: none !important; }
.value-card:hover, .service-card:hover { transform: none !important; box-shadow: none !important; }
.value-card { padding: 1.6rem !important; }
.value-card p, .service-card p, .sector-card p { font-size: .82rem !important; line-height: 1.67 !important; }
.svc-link { color: var(--accent) !important; }
#why, #sectors { background: #151f32 !important; }
.stat-card.primary { background: #f1f4ff !important; border-color: #dce4ff !important; }
.sc-val-dk, .sc-label-dk, .sc-desc-dk { color: #1b2b55 !important; }
.case-card { border-color: #e3e6eb !important; }
.case-industry { color: var(--accent) !important; }
.process-grid { border-radius: 0 !important; }
.cta-band { background: #1d4ed8 !important; }
.cta-band h2 { font-size: 1.45rem !important; }
.cta-band p { font-size: .88rem !important; }
footer { background: #0b1220 !important; }
.page-header { background: #111827 !important; padding-top: 6.7rem !important; padding-bottom: 3rem !important; }
.page-header h1 { font-size: clamp(1.75rem, 2.7vw, 2.35rem) !important; }
.page-header-sub { font-size: .94rem !important; }
@media (max-width:900px) {
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero { padding: 6.4rem 1.25rem 3.5rem !important; }
}
@media (max-width:640px) {
  h1, .hero h1, .page-header h1 { font-size: 1.65rem !important; }
  h2, .section-title { font-size: 1.25rem !important; }
  .section-inner { padding-top: 3.25rem !important; padding-bottom: 3.25rem !important; }
  .stats-inner { padding: 0 1.125rem !important; }
}

/* ============================================================
   PGN Limited — restrained UK enterprise technology theme
   Final typography, brand and colour pass
   ============================================================ */
:root {
  --ink: #0b1f33;
  --ink-soft: #10283f;
  --ink-raise: #18344f;
  --navy: #0b1f33;
  --navy-mid: #10283f;
  --navy-light: #18344f;
  --accent: #2563eb;
  --accent-lt: #7aa2f7;
  --accent-dim: rgba(37,99,235,.08);
  --accent-brd: rgba(37,99,235,.22);
  --gold: #2563eb;
  --gold-light: #7aa2f7;
  --gold-dim: rgba(37,99,235,.08);
  --gold-border: rgba(37,99,235,.22);
  --paper: #ffffff;
  --mist: #f6f8fb;
  --cream: #f6f8fb;
  --mist-deep: #edf1f5;
  --cream-dark: #edf1f5;
  --line: #dfe5ec;
  --text: #152536;
  --text-body: #405266;
  --text-muted: #66788a;
  --max-w: 1180px;
}

body {
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-body);
  background: #fff;
}

/* Restrained enterprise type scale: no oversized display headings */
h1,
.hero h1,
.page-header h1,
.about-intro h1 {
  font-size: clamp(2rem, 3vw, 2.5rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.026em !important;
  font-weight: 600 !important;
  max-width: 26ch !important;
}
h2,
.section-title,
.mission-sticky h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.018em !important;
  font-weight: 600 !important;
}
h3 { font-size: 1rem !important; font-weight: 600 !important; }
.hero-sub,
.page-header-sub,
.about-intro-lead,
.section-lead {
  font-size: 0.92rem !important;
  line-height: 1.68 !important;
}

/* Clean wordmark: no repeated PGN tile */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
  font-size: 1rem !important;
  font-weight: 650;
  letter-spacing: -0.018em;
  white-space: nowrap;
}
.logo-mark { display: none !important; }
.logo-wordmark { display: inline-block; }
.logo-wordmark em,
.logo em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,.70);
}
.footer-brand .logo { font-size: 0.96rem !important; }

/* Navigation */
nav {
  height: 64px;
  background: rgba(11,31,51,.985) !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav-links a {
  font-size: 0.79rem;
  color: rgba(255,255,255,.74);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-cta {
  background: #2563eb !important;
  color: #fff !important;
  border: 1px solid #2563eb !important;
  border-radius: 4px !important;
  font-size: .79rem !important;
}
.nav-cta:hover { background: #1d4ed8 !important; color: #fff !important; }

/* Dark hero/header areas: flat and professional rather than decorative */
.hero,
.page-header,
.about-intro {
  background: #0b1f33 !important;
}
.hero { padding: 7.1rem 2rem 4.2rem !important; }
.page-header { padding: 6.7rem 2rem 3.1rem !important; }
.about-intro { padding: 6.8rem 2rem 4.2rem !important; }
.about-intro::before,
.about-intro::after { opacity: .32 !important; }
.hero-kicker,
.label-light { color: #9cb8ff !important; }
.hero h1,
.page-header h1,
.about-intro h1 { color: #fff !important; }
.hero-sub,
.page-header-sub,
.about-intro-lead { color: rgba(255,255,255,.68) !important; }

/* More corporate content surfaces */
#value,
.about-mission,
.team-section,
.resources-section,
.careers-section { background: #f6f8fb !important; }
.value-card,
.service-card,
.case-card,
.role-card,
.res-card,
.vertical-card,
.mission-block {
  border-color: #e1e7ee !important;
  box-shadow: none !important;
}
.value-card:hover,
.service-card:hover,
.case-card:hover,
.role-card:hover,
.res-card:hover,
.vertical-card:hover {
  transform: none !important;
  box-shadow: 0 4px 14px rgba(11,31,51,.06) !important;
}
.label { color: #2563eb !important; }
.label::before { background: #2563eb !important; }
.svc-link,
.case-industry,
.vc-note { color: #2563eb !important; }

/* Buttons */
.btn-primary {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
  border-radius: 4px !important;
}
.btn-primary:hover { background: #1d4ed8 !important; }
.hero .btn-primary { background: #fff !important; color: #0b1f33 !important; border-color: #fff !important; }
.hero .btn-primary:hover { background: #eef3f8 !important; }
.btn-outline,
.btn-ghost,
.btn-white,
.btn-gold-outline { border-radius: 4px !important; }

/* Keep section spacing controlled */
.section-inner { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.value-grid,
.services-grid,
.sectors-grid,
.verticals-grid,
.values-grid,
.team-grid { margin-top: 2.15rem !important; }

/* Footer */
footer { background: #081725 !important; }

@media (max-width: 900px) {
  .hero { padding: 6.2rem 1.25rem 3.3rem !important; }
  .page-header,
  .about-intro { padding: 6rem 1.25rem 3rem !important; }
}
@media (max-width: 640px) {
  h1,
  .hero h1,
  .page-header h1,
  .about-intro h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    max-width: none !important;
  }
  h2,
  .section-title,
  .mission-sticky h2 { font-size: 1.25rem !important; }
  .section-inner { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .logo { font-size: .95rem !important; }
}

/* ============================================================
   PGN Limited — UK technology consultancy colour refinement
   Muted enterprise palette with accessible contrast
   ============================================================ */
:root {
  --ink: #0b2239;
  --ink-soft: #112d46;
  --ink-raise: #193952;
  --navy: #0b2239;
  --navy-mid: #112d46;
  --navy-light: #193952;
  --accent: #1f627a;
  --accent-lt: #5f8ea0;
  --accent-dim: rgba(31,98,122,.08);
  --accent-brd: rgba(31,98,122,.22);
  --gold: #1f627a;
  --gold-light: #5f8ea0;
  --gold-dim: rgba(31,98,122,.08);
  --gold-border: rgba(31,98,122,.22);
  --paper: #ffffff;
  --mist: #f5f7f9;
  --cream: #f5f7f9;
  --mist-deep: #e9eef2;
  --cream-dark: #e9eef2;
  --line: #d9e1e7;
  --text: #14283a;
  --text-body: #425568;
  --text-muted: #66788a;
}

/* Navigation: understated primary action */
nav { background: rgba(11,34,57,.985) !important; }
.nav-cta {
  background: #1f627a !important;
  border-color: #1f627a !important;
  color: #fff !important;
  box-shadow: none !important;
}
.nav-cta:hover { background: #184f63 !important; border-color: #184f63 !important; }

/* Main page headers */
.hero,
.page-header,
.about-intro { background: #0b2239 !important; }
.hero-kicker,
.label-light { color: #9fc2cf !important; }

/* Accent text/lines */
.label,
.svc-link,
.case-industry,
.vc-note,
.ci-val a { color: #1f627a !important; }
.label::before { background: #1f627a !important; }

/* Buttons: strong enough to find, quiet enough not to dominate */
.btn-primary {
  background: #1f627a !important;
  border-color: #1f627a !important;
  color: #fff !important;
  box-shadow: none !important;
}
.btn-primary:hover { background: #184f63 !important; border-color: #184f63 !important; }
.hero .btn-primary {
  background: #fff !important;
  color: #0b2239 !important;
  border-color: #fff !important;
}
.hero .btn-primary:hover { background: #eef3f5 !important; }

/* Remove large saturated-blue blocks */
.cta-band {
  background: #102d46 !important;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cta-band h2 { color: #fff !important; }
.cta-band p { color: rgba(255,255,255,.68) !important; }

/* Cards / headings that previously used strong blue fills */
.stat-card.primary,
.about-stat.gold,
.wj-card.gold {
  background: #f2f6f8 !important;
  border-color: #dbe5ea !important;
  box-shadow: inset 3px 0 0 #5f8ea0 !important;
}
.stat-card.primary *,
.about-stat.gold *,
.wj-card.gold * { color: #183249 !important; }

/* Contact form: light, credible enterprise treatment */
.form-panel {
  background: #ffffff !important;
  border: 1px solid #d9e1e7 !important;
  border-radius: 5px !important;
  box-shadow: 0 10px 28px rgba(11,34,57,.07) !important;
}
.form-panel-header {
  background: #f1f5f7 !important;
  border-bottom: 1px solid #d9e1e7 !important;
  padding: 1.35rem 2rem !important;
}
.form-panel-header h3 {
  color: #14283a !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}
.form-panel-header p { color: #5e7181 !important; }
.form-body { background: #fff !important; }
.form-group label { color: #405568 !important; font-weight: 600 !important; }
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff !important;
  border: 1px solid #cfd9e0 !important;
  color: #14283a !important;
  box-shadow: none !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #95a2ad !important; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1f627a !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(31,98,122,.10) !important;
}
.form-group select option { background: #fff !important; color: #14283a !important; }
.form-check label { color: #66788a !important; }
.form-check label a { color: #1f627a !important; }
.form-check input[type=checkbox] { accent-color: #1f627a !important; }
.contact-form button[type=submit] {
  background: #1f627a !important;
  color: #fff !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
}
.contact-form button[type=submit]:hover { background: #184f63 !important; transform: none !important; }

/* GDPR / informational callouts */
.gdpr-notice {
  background: #f4f7f8 !important;
  border-color: #d9e3e7 !important;
}
.gdpr-notice h5 { color: #1f627a !important; }

/* Featured/ribbon labels should not look like warning banners */
.eng-card.featured::before {
  background: #dfe9ed !important;
  color: #17384a !important;
}

/* Footer remains strong and understated */
footer { background: #071a2b !important; }

/* ============================================================
   PGN Limited — accessible UK enterprise contrast pass
   Light content-first surfaces; navy reserved for navigation,
   selected technical panels and compact calls to action.
   ============================================================ */
:root {
  --ink: #10263a;
  --ink-soft: #173149;
  --ink-raise: #1f3b54;
  --navy: #10263a;
  --navy-mid: #173149;
  --navy-light: #1f3b54;
  --accent: #17657a;
  --accent-lt: #4f8ea0;
  --paper: #ffffff;
  --mist: #f6f8fa;
  --cream: #f6f8fa;
  --mist-deep: #e9eef2;
  --cream-dark: #e9eef2;
  --line: #d7e0e7;
  --text: #13283a;
  --text-body: #344b5e;
  --text-muted: #566d7f;
}

body { background: #fff !important; color: var(--text-body) !important; }

/* Inner-page mastheads are deliberately light. This keeps the site looking
   like an established software consultancy rather than a dark landing page. */
.page-header,
.about-intro {
  background: #f4f7f9 !important;
  border-bottom: 1px solid #dce4ea !important;
}
.page-header h1,
.about-intro h1,
.page-header h1 em,
.about-intro h1 em { color: #13283a !important; }
.page-header-sub,
.about-intro-lead { color: #536a7c !important; }
.page-header .label,
.page-header .label-light,
.about-intro .label,
.about-intro .label-light { color: #17657a !important; }
.page-header .label::before,
.page-header .label-light::before,
.about-intro .label::before,
.about-intro .label-light::before { background: #17657a !important; }
.header-pill {
  color: #40586b !important;
  background: #fff !important;
  border-color: #cfdbe3 !important;
}

/* Keep only the homepage hero dark, with stronger secondary-text contrast. */
.hero { background: #10263a !important; }
.hero-sub { color: rgba(255,255,255,.82) !important; }
.hero-note { color: rgba(255,255,255,.72) !important; }
.hero-kicker { color: #a9d1dc !important; }

/* Main content should read as white/light-grey, not a sequence of dark blocks. */
#why,
#sectors,
.approach-section,
.insights-section,
.compliance-section,
.speculative-section,
.faq-section {
  background: #f6f8fa !important;
  color: #344b5e !important;
}
#why h2, #why h3, #why h4,
#sectors h2, #sectors h3, #sectors h4,
.approach-section h2, .approach-section h3, .approach-section h4,
.insights-section h2, .insights-section h3, .insights-section h4,
.compliance-section h2, .compliance-section h3, .compliance-section h4,
.speculative-section h2, .speculative-section h3, .speculative-section h4,
.faq-section h2, .faq-section h3, .faq-section h4 {
  color: #13283a !important;
}
#why p, #sectors p,
.approach-section p, .insights-section p,
.compliance-section p, .speculative-section p,
.faq-section p { color: #536a7c !important; }
#why .label-light, #sectors .label-light,
.approach-section .label-light, .insights-section .label-light,
.compliance-section .label-light, .speculative-section .label-light,
.faq-section .label-light { color: #17657a !important; }
#why .label-light::before, #sectors .label-light::before,
.approach-section .label-light::before, .insights-section .label-light::before,
.compliance-section .label-light::before, .speculative-section .label-light::before,
.faq-section .label-light::before { background: #17657a !important; }

/* Service technical demonstration panel: retain a technical feel but raise
   every low-contrast grey to a comfortably readable value. */
.svc-panel {
  background: #132a40 !important;
  border-color: #2e4a61 !important;
  box-shadow: none !important;
}
.svc-panel-head { background: #193249 !important; border-bottom-color: #355066 !important; }
.svc-panel-head span,
.panel-title,
.panel-subtitle { color: #d8e4ec !important; }
.panel-body { color: #e4edf3 !important; }
.panel-body .code-line,
.panel-body code,
.panel-body td,
.panel-body th { color: #dbe6ed !important; }
.panel-body .comment,
.panel-body .muted,
.bench-table th,
.check-label { color: #aebfcb !important; }
.matrix-cell {
  background: #193249 !important;
  border-color: #355066 !important;
}
.matrix-cell h6 { color: #b9dbe4 !important; }
.matrix-cell p { color: #c4d1da !important; }

/* FAQs are now a normal light information section. */
.faq-item { border-bottom-color: #d8e1e7 !important; }
.faq-question { color: #173149 !important; }
.faq-question:hover { color: #17657a !important; }
.faq-chevron { color: #17657a !important; }
.faq-answer,
.faq-answer p { color: #536a7c !important; }

/* Cards and tables: white first, dark text, understated accent. */
.value-card, .service-card, .sector-card, .case-card, .res-card, .role-card,
.vertical-card, .mission-block, .approach-card, .insight-card, .outcome-card,
.stack-layer, .wj-card, .perk-card, .team-card {
  background: #fff !important;
  border-color: #dce4ea !important;
}
.value-card h3, .service-card h3, .sector-card h4, .case-card h3,
.res-card h3, .role-card h3, .vertical-card h3, .mission-block h3,
.approach-card h3, .insight-card h3, .outcome-card h3,
.wj-card h3, .perk-card h4, .team-card h4 { color: #13283a !important; }
.value-card p, .service-card p, .sector-card p, .case-card p,
.res-card p, .role-card p, .vertical-card p, .mission-block p,
.approach-card p, .insight-card p, .outcome-card p,
.wj-card p, .perk-card p, .team-card p { color: #536a7c !important; }

/* Previously-highlighted outcome/stat cards also stay light. */
.stat-card.primary,
.about-stat.gold,
.wj-card.gold,
.case-full .outcome-card.primary,
.case-full:nth-child(even) .outcome-card.primary {
  background: #eef4f6 !important;
  border-color: #cfdee4 !important;
  box-shadow: inset 3px 0 0 #4f8ea0 !important;
}
.stat-card.primary *, .about-stat.gold *, .wj-card.gold *,
.case-full .outcome-card.primary *,
.case-full:nth-child(even) .outcome-card.primary * { color: #173149 !important; }

/* CTAs remain clearly separated, but use navy rather than a saturated colour. */
.cta-band { background: #173149 !important; }
.cta-band h2 { color: #fff !important; }
.cta-band p { color: rgba(255,255,255,.82) !important; }
.cta-band .btn-primary,
.cta-band .btn-white {
  background: #fff !important;
  color: #173149 !important;
  border-color: #fff !important;
}
.cta-band .btn-ghost,
.cta-band .btn-gold-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.52) !important;
}

/* General readability floor for subdued copy. */
.section-lead, .stat-label, .tools-title, .case-label,
.sc-label, .sc-desc, .oc-label, .oc-desc { color: #566d7f !important; }

/* Navigation and footer can remain dark; increase contrast of secondary links. */
.nav-links a { color: rgba(255,255,255,.80) !important; }
.logo em, .logo-wordmark em { color: rgba(255,255,255,.78) !important; }
footer p, footer a, .footer-desc, .footer-col a { color: rgba(255,255,255,.72) !important; }
footer a:hover, .footer-col a:hover { color: #fff !important; }

@media (max-width: 640px) {
  .page-header, .about-intro { padding-top: 5.7rem !important; padding-bottom: 2.5rem !important; }
}
/* Services technical cards */
.panel-card {
  background: #132a40 !important;
  border-color: #355066 !important;
}
.panel-header {
  background: #193249 !important;
  border-bottom-color: #355066 !important;
}
.panel-header h6 { color: #c4d2dc !important; }
.panel-body { color: #e3ebf1 !important; }
.bench-table th { color: #b3c2cc !important; border-bottom-color: #3a5368 !important; }
.bench-table td { color: #e0e8ee !important; border-bottom-color: #2d455a !important; }
.check-row { border-bottom-color: #2d455a !important; }
.check-label { color: #c2d0d9 !important; }


/* Final compactness pass: shorter, calmer enterprise layout */
section, .section-like { padding-top: 3.75rem !important; padding-bottom: 3.75rem !important; }
.page-header { padding-top: 5.5rem !important; padding-bottom: 2.75rem !important; }
.page-header-inner { max-width: 1120px !important; }
.page-header h1 { max-width: 24ch !important; font-size: clamp(1.75rem, 3vw, 2.45rem) !important; line-height: 1.16 !important; }
.page-header p, .page-header .section-lead { max-width: 62ch !important; }
.svc-section { padding: 3.5rem 2rem !important; }
.svc-inner { grid-template-columns: minmax(0, 1fr) !important; max-width: 980px !important; gap: 1.5rem !important; }
.svc-content { max-width: 760px !important; }
.svc-content h2 { font-size: clamp(1.35rem, 2.1vw, 1.8rem) !important; margin-bottom: .75rem !important; }
.svc-content > p { margin-bottom: 1.1rem !important; line-height: 1.65 !important; }
.svc-deliverables { margin-top: 1.25rem !important; }
.svc-del-list { gap: .45rem !important; }
.tool-tags { margin-top: 1rem !important; }
.cta-band { padding: 2.5rem 2rem !important; }
.value-grid, .services-grid, .cases-grid, .tools-grid { margin-top: 2rem !important; }
.value-card, .service-card, .tool-card { padding: 1.4rem !important; }
.footer { padding-top: 2.5rem !important; }
@media (max-width: 760px) {
  section, .section-like { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
  .page-header { padding: 4.75rem 1.25rem 2.25rem !important; }
  .svc-section { padding: 2.5rem 1.25rem !important; }
}

/* Additional simplification */
.case-full { padding: 3rem 2rem !important; }
.case-inner { max-width: 900px !important; grid-template-columns: 1fr !important; }
.case-info h2 { font-size: clamp(1.35rem,2.2vw,1.8rem) !important; }
.tools-section, .contact-section { padding-top: 3.25rem !important; padding-bottom: 3.25rem !important; }
.tools-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: .8rem !important; }
.tool-card { min-height: 0 !important; }
.how-steps { margin-top: 1.25rem !important; }
.how-step { padding: .8rem 0 !important; }
@media(max-width:900px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:600px){.tools-grid{grid-template-columns:1fr !important;}.case-full{padding:2.25rem 1.25rem !important;}}

/* Final compact professional typography */
.section-title, .mission-sticky h2, .svc-content h2, .case-info h2 {
  font-weight: 700 !important;
  letter-spacing: -0.018em !important;
}
h3, .value-card h3, .service-card h3, .case-card h3, .res-card h3,
.approach-card h3, .insight-card h3, .outcome-card h3 {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
}
.label, .hero-kicker, .page-kicker, .svc-eyebrow {
  font-weight: 700 !important;
  letter-spacing: .09em !important;
}
/* Homepage: deliberately short and uncluttered */
#value { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
#value .section-lead { max-width: 650px !important; margin-bottom: 2rem !important; }
#value .value-card { padding: 1.35rem !important; }
@media (max-width: 640px) {
  h3, .value-card h3, .service-card h3, .case-card h3, .res-card h3 { font-size: 1.02rem !important; }
}

/* ============================================================
   FINAL NAVIGATION + TYPOGRAPHY SIMPLIFICATION
   Corporate system-font treatment inspired by the proportions of
   established technology consultancies. No proprietary font files.
   ============================================================ */
:root {
  --ui-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
html, body, button, input, select, textarea { font-family: var(--ui-font) !important; }
body { font-size: 16px; letter-spacing: 0; }
h1, h2, h3, h4, h5, h6,
.section-title, .page-header h1, .hero h1 {
  font-family: var(--ui-font) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
}
p, li, a, label, input, select, textarea, button { font-family: var(--ui-font) !important; }

/* A compact, enterprise-style global navigation. */
.site-nav {
  height: 68px !important;
  padding: 0 max(2rem, calc((100vw - 1440px) / 2)) !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e4e7eb !important;
  box-shadow: none !important;
  color: #273142;
  overflow: visible !important;
}
.site-nav.scrolled { box-shadow: 0 2px 12px rgba(15, 23, 42, .06) !important; }
.site-nav .logo { min-width: 150px; color: #17243a !important; font-size: 1.02rem !important; }
.site-nav .logo-wordmark { font-weight: 650 !important; }
.site-nav .logo em,
.site-nav .logo-wordmark em { color: #637083 !important; font-weight: 400 !important; }
.site-nav .nav-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .15rem;
  height: 68px;
  margin: 0 auto;
}
.site-nav .nav-item { position: static; display: flex; align-items: stretch; }
.site-nav .nav-menu-button,
.site-nav .nav-direct {
  appearance: none;
  border: 0;
  background: transparent;
  color: #3f4b5d !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0 1rem !important;
  cursor: pointer;
  border-radius: 0 !important;
  white-space: nowrap;
}
.site-nav .nav-menu-button:hover,
.site-nav .nav-menu-button[aria-expanded="true"],
.site-nav .nav-direct:hover,
.site-nav .nav-direct.active { color: #111827 !important; background: #f7f8fa !important; }
.site-nav .nav-menu-button span { font-size: .92rem; color: #7a8494; transform: translateY(-1px); }
.site-nav .nav-right { min-width: 180px; justify-content: flex-end; }
.site-nav .nav-cta {
  background: #164e63 !important;
  color: #fff !important;
  border: 1px solid #164e63 !important;
  border-radius: 2px !important;
  padding: .65rem 1rem !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
}
.site-nav .nav-cta:hover { background: #103f50 !important; }

/* White mega-menu similar in structure to major consulting sites. */
.mega-menu {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(900px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid #e4e7eb;
  border-top: 3px solid #7ca443;
  box-shadow: 0 18px 50px rgba(15,23,42,.14);
  padding: 2rem 2.1rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 500;
}
.mega-menu-compact { width: min(690px, calc(100vw - 48px)); grid-template-columns: 1.25fr 1fr; }
.nav-item.open .mega-menu,
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-intro { padding-right: 1.5rem; border-right: 1px solid #e6e9ed; }
.mega-kicker {
  display: block;
  color: #6f9638;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.mega-intro strong { display: block; color: #202a39; font-size: 1.25rem; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.mega-intro p { color: #687487; font-size: .84rem; line-height: 1.6; margin-top: .55rem; }
.mega-column h3 {
  color: #5d6878;
  font-size: .73rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .06em !important;
  margin-bottom: .55rem;
}
.mega-column a {
  display: block;
  color: #384556 !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
  line-height: 1.35;
  padding: .45rem 0 !important;
  background: none !important;
  border-radius: 0 !important;
}
.mega-column a:hover { color: #164e63 !important; text-decoration: underline; text-underline-offset: 3px; }

/* Keep page typography quiet and easy to scan. */
.hero, .page-header { padding-top: 6.8rem !important; }
.hero h1, .page-header h1 { font-size: clamp(1.85rem, 3vw, 2.65rem) !important; line-height: 1.16 !important; max-width: 22ch; }
.section-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important; line-height: 1.24 !important; }
.value-card h3, .service-card h3, .case-card h3, .res-card h3,
.section-inner h3, .section-inner h4 { font-weight: 600 !important; }
.section-inner { padding-top: 3.4rem !important; padding-bottom: 3.4rem !important; }
.value-grid, .services-grid { margin-top: 2rem !important; }
.value-card { padding: 1.5rem !important; }
.cta-band-inner { padding-top: 2.4rem !important; padding-bottom: 2.4rem !important; }

@media (max-width: 980px) {
  .site-nav { height: 62px !important; padding: 0 1.15rem !important; }
  .site-nav .logo { min-width: 0; }
  .site-nav .nav-right { min-width: 0; margin-left: auto; margin-right: .75rem; }
  .site-nav .nav-cta { display: none !important; }
  .site-nav .nav-hamburger { display: flex !important; }
  .site-nav .nav-hamburger span { background: #26364c !important; }
  .site-nav .nav-links { display: none; height: auto; }
  .nav-open .site-nav .nav-links,
  .nav-open .nav-links {
    display: flex !important;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: #fff !important;
    padding: .6rem 1.15rem 2rem !important;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid #e5e7eb;
  }
  .site-nav .nav-item { display: block; border-bottom: 1px solid #edf0f2; }
  .site-nav .nav-menu-button,
  .site-nav .nav-direct { width: 100%; min-height: 52px; justify-content: space-between; padding: 0 .25rem !important; color: #283446 !important; font-size: .98rem !important; }
  .mega-menu,
  .mega-menu-compact {
    position: static;
    transform: none !important;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    border-top: 1px solid #e8ebef;
    padding: 1rem .3rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .nav-item.open .mega-menu { display: grid; }
  .nav-item:hover .mega-menu:not(:focus-within) { display: none; }
  .nav-item.open:hover .mega-menu { display: grid; }
  .mega-intro { padding: 0 0 .9rem; border-right: 0; border-bottom: 1px solid #e8ebef; }
  .mega-intro strong { font-size: 1.05rem; }
  .mega-column a { padding: .48rem 0 !important; }
  .hero, .page-header { padding-top: 5.7rem !important; }
}


/* PGN final readability refinement
   Slightly larger navigation, dropdown and secondary headings while keeping
   the restrained enterprise typography and existing responsive layout. */

.nav-link,
.nav-trigger {
  font-size: 15.5px;
  font-weight: 600;
}

.mega-link,
.mega-menu a,
.dropdown-menu a,
.nav-dropdown a {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.mega-group-title,
.mega-title,
.dropdown-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
}

.section-label,
.eyebrow {
  font-size: 13px;
  font-weight: 700;
}

.section-title,
.section-heading,
h2 {
  font-size: clamp(26px, 2.15vw, 34px);
  line-height: 1.18;
  font-weight: 700;
}

h3,
.card-title,
.service-title,
.capability-title {
  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.28;
  font-weight: 700;
}

.card h4,
.content-card h4 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
}

@media (max-width: 900px) {
  .nav-link,
  .nav-trigger,
  .mega-link,
  .mega-menu a,
  .dropdown-menu a,
  .nav-dropdown a {
    font-size: 16px;
  }

  .section-title,
  .section-heading,
  h2 {
    font-size: 27px;
  }

  h3,
  .card-title,
  .service-title,
  .capability-title {
    font-size: 20px;
  }
}

/* Final contrast and menu readability */
.mega-link,.mega-menu a,.dropdown-menu a,.nav-dropdown a{
 font-size:17px!important;line-height:1.5!important;font-weight:600!important;color:#172b3f!important}
.mega-link:hover,.mega-menu a:hover,.dropdown-menu a:hover,.nav-dropdown a:hover{color:#0f6072!important}

/* Dark metric/card text must remain clearly readable */
.stats-grid>*:not(:first-child),.stat-card.dark,.metric-card.dark,.bg-navy{color:#fff!important}
.stats-grid>*:not(:first-child) h2,.stats-grid>*:not(:first-child) h3,
.stats-grid>*:not(:first-child) strong,.stats-grid>*:not(:first-child) .stat-number,
.stats-grid>*:not(:first-child) .metric-number,.stat-card.dark h2,.stat-card.dark h3,
.metric-card.dark h2,.metric-card.dark h3,.bg-navy h2,.bg-navy h3,.bg-navy strong{
 color:#fff!important;opacity:1!important}
.stats-grid>*:not(:first-child) p,.stats-grid>*:not(:first-child) span,
.stats-grid>*:not(:first-child) small,.stat-card.dark p,.stat-card.dark span,
.metric-card.dark p,.metric-card.dark span,.bg-navy p,.bg-navy span,.bg-navy small{
 color:#e9f0f5!important;opacity:1!important}
.stats-grid>*:first-child,.stats-grid>*:first-child h2,.stats-grid>*:first-child h3,
.stats-grid>*:first-child strong,.stats-grid>*:first-child p,.stats-grid>*:first-child span{
 color:#172b3f!important;opacity:1!important}
.metric-value,.stat-value{font-weight:700!important}

/* ============================================================
   PGN visual consistency audit — final shared design system
   Applied last so every page uses the same typography, colour,
   spacing and contrast rules regardless of older page-level CSS.
   ============================================================ */
:root {
  --ink: #12283b;
  --ink-soft: #17354c;
  --ink-raise: #1d4059;
  --navy: #12283b;
  --navy-mid: #17354c;
  --navy-light: #1d4059;
  --accent: #1d6477;
  --accent-lt: #6f98a7;
  --accent-dim: rgba(29,100,119,.08);
  --accent-brd: rgba(29,100,119,.24);
  --gold: #1d6477;
  --gold-light: #6f98a7;
  --gold-dim: rgba(29,100,119,.08);
  --gold-border: rgba(29,100,119,.24);
  --paper: #ffffff;
  --white: #ffffff;
  --mist: #f6f8fa;
  --cream: #f6f8fa;
  --mist-deep: #eaf0f4;
  --cream-dark: #eaf0f4;
  --line: #d7e0e7;
  --text: #132b3d;
  --text-primary: #132b3d;
  --text-body: #42586b;
  --text-muted: #627487;
  --max-w: 1180px;
  --radius: 5px;
}

html { color-scheme: light; }
body {
  background: var(--paper);
  color: var(--text-body);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.65;
}

/* Consistent hierarchy — readable but deliberately not oversized. */
h1, h2, h3, h4, h5, h6 { color: var(--text); }
h1, .hero h1, .page-header h1 {
  font-size: clamp(2rem, 3vw, 2.55rem) !important;
  line-height: 1.16 !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}
h2, .section-title, .section-heading {
  font-size: clamp(1.55rem, 2.1vw, 2rem) !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}
h3, .card-title, .service-title, .capability-title {
  font-size: clamp(1.18rem, 1.45vw, 1.4rem) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
h4 { font-size: 1.05rem !important; line-height: 1.35 !important; font-weight: 700 !important; }
p, li { color: var(--text-body); }
.section-lead, .page-header-sub, .hero-sub { color: var(--text-body) !important; }

.label, .label-light, .section-label, .eyebrow, .hero-kicker, .case-label,
.mission-label, .tool-cat, .tools-title {
  font-size: .79rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase;
  color: var(--accent) !important;
}

/* Navigation and dropdowns */
.site-nav {
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 2px 10px rgba(18,40,59,.04) !important;
}
.site-nav .logo, .site-nav .logo-wordmark { color: var(--text) !important; }
.site-nav .nav-menu-button, .site-nav .nav-direct {
  color: #34495c !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}
.site-nav .nav-menu-button:hover, .site-nav .nav-direct:hover { color: var(--accent) !important; }
.mega-menu, .mega-menu-compact {
  background: #fff !important;
  border: 1px solid #dfe5ea !important;
  border-top: 3px solid var(--accent) !important;
  box-shadow: 0 18px 44px rgba(18,40,59,.13) !important;
}
.mega-kicker { color: var(--accent) !important; }
.mega-intro strong { color: var(--text) !important; }
.mega-intro p { color: var(--text-muted) !important; }
.mega-column h3 {
  color: #536779 !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
}
.mega-column a, .mega-link, .mega-menu a, .dropdown-menu a, .nav-dropdown a {
  color: #263d50 !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}
.mega-column a:hover, .mega-link:hover, .mega-menu a:hover,
.dropdown-menu a:hover, .nav-dropdown a:hover { color: var(--accent) !important; }

/* Primary actions */
.btn-primary, .nav-cta, .spec-submit, button[type="submit"] {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.btn-primary:hover, .nav-cta:hover, .spec-submit:hover, button[type="submit"]:hover {
  background: #17566a !important;
  border-color: #17566a !important;
}
.btn-ghost, .btn-gold-outline {
  background: #fff !important;
  border-color: #aebdc8 !important;
  color: var(--text) !important;
}

/* Page headings use one light surface throughout the site. */
.page-header, .careers-hero {
  background: var(--mist) !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--line) !important;
}
.page-header h1, .careers-hero h1 { color: var(--text) !important; }
.page-header-sub, .careers-hero-lead { color: var(--text-body) !important; }
.page-header-pills .header-pill, .header-pill {
  background: #fff !important;
  border: 1px solid #cbd6de !important;
  color: #40576a !important;
}

/* Sections and cards */
.section-inner { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.value-card, .service-card, .sector-card, .case-card, .res-card, .role-card,
.approach-card, .tool-card, .wj-card, .perk, .platform-card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--text-body) !important;
  box-shadow: none !important;
}
.value-card:hover, .service-card:hover, .sector-card:hover, .case-card:hover,
.res-card:hover, .role-card:hover, .tool-card:hover {
  border-color: #aebdc8 !important;
  background: #fbfcfd !important;
}
.value-card h3, .service-card h3, .case-card h3, .res-card h3,
.tool-card h4, .approach-card h3, .wj-card h3, .perk h3 { color: var(--text) !important; }

/* About-page metrics: explicit accessible contrast on every tile. */
.about-stat-grid { border-color: var(--line) !important; }
.about-stat {
  background: #fff !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}
.about-stat .as-num { color: var(--text) !important; font-weight: 700 !important; }
.about-stat .as-label { color: var(--text-body) !important; opacity: 1 !important; }
.about-stat.gold,
.about-stat:nth-child(n+2) {
  background: var(--ink-soft) !important;
  border-color: #31516a !important;
}
.about-stat.gold .as-num, .about-stat:nth-child(n+2) .as-num { color: #fff !important; }
.about-stat.gold .as-label, .about-stat:nth-child(n+2) .as-label {
  color: #edf4f7 !important;
  opacity: 1 !important;
}

/* Dark technical / result panels retain their technical feel but never mute text. */
.terminal, .form-panel, .panel, .report, .bg-navy,
.stat-card.dark, .metric-card.dark, .outcome-card.primary {
  background: var(--ink-soft) !important;
  border-color: #345169 !important;
  color: #fff !important;
}
.terminal *, .panel *, .report *, .bg-navy *, .stat-card.dark *,
.metric-card.dark *, .outcome-card.primary * { opacity: 1; }
.terminal p, .terminal span, .terminal td, .terminal th,
.panel p, .panel span, .panel td, .panel th,
.report p, .report span, .bg-navy p, .bg-navy span,
.stat-card.dark p, .stat-card.dark span, .metric-card.dark p, .metric-card.dark span,
.outcome-card.primary p, .outcome-card.primary span {
  color: #e7f0f4 !important;
}
.terminal h2, .terminal h3, .panel h2, .panel h3, .report h2, .report h3,
.bg-navy h2, .bg-navy h3, .stat-card.dark h2, .metric-card.dark h2,
.outcome-card.primary h2, .outcome-card.primary h3,
.sc-val, .sc-val-dk, .oc-val { color: #fff !important; }

/* Contact form stays light and highly legible. */
.form-panel { background: #fff !important; border: 1px solid var(--line) !important; color: var(--text) !important; }
.form-panel-header { background: var(--mist) !important; border-bottom: 1px solid var(--line) !important; }
.form-panel-header h3, .form-panel-header p { color: var(--text) !important; }
.form-group label { color: #344b5e !important; font-weight: 600 !important; }
.form-group input, .form-group textarea, .form-group select, .spec-field input, .spec-field textarea {
  background: #fff !important;
  border: 1px solid #b9c7d1 !important;
  color: var(--text) !important;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #788a98 !important; }

/* FAQ, filters and tags */
.faq-item { border-color: var(--line) !important; }
.faq-question { color: var(--text) !important; font-weight: 700 !important; }
.faq-answer { color: var(--text-body) !important; }
.filter-btn, .tf-btn {
  color: #41586b !important;
  border-color: #c8d3db !important;
  background: #fff !important;
  font-weight: 600 !important;
}
.filter-btn.active, .tf-btn.active { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.tag, .svc-tag, .tool-use-tag {
  background: var(--accent-dim) !important;
  border-color: var(--accent-brd) !important;
  color: #315c6a !important;
}

/* CTA and footer */
.cta-band { background: var(--ink) !important; }
.cta-band h2 { color: #fff !important; }
.cta-band p { color: #e4edf2 !important; opacity: 1 !important; }
footer { background: #0f2435 !important; color: #dce7ed !important; }
footer h3, footer strong { color: #fff !important; }
footer a, footer p, .footer-reg, .footer-bottom { color: #c9d7df !important; }
footer a:hover { color: #fff !important; }

/* Legal pages follow the same type scale and content width. */
.legal-content, .legal-inner { color: var(--text-body) !important; }
.legal-content h2, .legal-inner h2 { margin-top: 2rem; color: var(--text) !important; }

@media (max-width: 900px) {
  .site-nav .nav-menu-button, .site-nav .nav-direct,
  .mega-column a, .mega-menu a { font-size: 1rem !important; }
  .section-inner { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}
@media (max-width: 640px) {
  h1, .hero h1, .page-header h1 { font-size: 1.85rem !important; }
  h2, .section-title, .section-heading { font-size: 1.5rem !important; }
  h3, .card-title, .service-title, .capability-title { font-size: 1.18rem !important; }
  body { font-size: 15.5px; }
}


/* Accessibility and working resource filters */
.tool-card[hidden] { display: none !important; }

.tool-filter-status {
  margin: 0 0 1.25rem;
  color: #52677a;
  font-size: 0.95rem;
  font-weight: 600;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2b7a8c !important;
  outline-offset: 3px !important;
}

.tf-btn {
  min-height: 44px;
}

.tf-btn[aria-pressed="true"] {
  font-weight: 700;
}

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


/* =========================================================
   FINAL SITE-WIDE LIGHT/DARK SURFACE READABILITY CONTRACT
   ========================================================= */

/* Light information cards: dark headings + readable supporting copy */
.value-card,
.service-card,
.sector-card,
.case-card,
.res-card,
.role-card,
.approach-card,
.tool-card,
.wj-card,
.perk,
.perk-card,
.team-card,
.platform-card,
.spec-form-card,
.vertical-card,
.mission-block,
.insight-card,
.stack-layer {
  color: #21384b !important;
}

.value-card h2, .value-card h3, .value-card h4,
.service-card h2, .service-card h3, .service-card h4,
.sector-card h2, .sector-card h3, .sector-card h4,
.case-card h2, .case-card h3, .case-card h4,
.res-card h2, .res-card h3, .res-card h4,
.role-card h2, .role-card h3, .role-card h4,
.approach-card h2, .approach-card h3, .approach-card h4,
.tool-card h2, .tool-card h3, .tool-card h4,
.wj-card .wj-title,
.perk .perk-title,
.perk-card .perk-title,
.team-card h4,
.platform-card h3,
.spec-form-card .spec-form-title,
.vertical-card h3,
.mission-block h3,
.insight-card h3 {
  color: #142c40 !important;
  opacity: 1 !important;
}

.value-card p,
.service-card p,
.sector-card p,
.case-card p,
.res-card p,
.role-card p,
.approach-card p,
.tool-card p,
.wj-card .wj-text,
.perk .perk-text,
.perk-card .perk-text,
.team-card p,
.platform-card p,
.spec-form-card p,
.vertical-card p,
.mission-block p,
.insight-card p {
  color: #536a7c !important;
  opacity: 1 !important;
}

/* Career feature cards were previously white cards with inherited white copy. */
.wj-card {
  background: #ffffff !important;
  border-color: #d5e0e7 !important;
}
.wj-card.gold {
  background: #eef4f6 !important;
  border-color: #cfdee4 !important;
}
.wj-card .wj-icon { color: #36788e !important; }
.wj-card .wj-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
}
.wj-card .wj-text {
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
}

/* Keep light-card labels readable too. */
.tool-card .tool-cat,
.service-card .label,
.case-card .label,
.role-card .label,
.platform-card .label {
  color: #22677a !important;
  opacity: 1 !important;
}

/* Explicit dark-surface contract. */
.terminal,
.panel,
.report,
.bg-navy,
.stat-card.dark,
.metric-card.dark,
.cta-band {
  color: #ffffff !important;
}

.terminal h1, .terminal h2, .terminal h3, .terminal h4,
.panel h1, .panel h2, .panel h3, .panel h4,
.report h1, .report h2, .report h3, .report h4,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4,
.stat-card.dark h2, .stat-card.dark h3,
.metric-card.dark h2, .metric-card.dark h3,
.cta-band h2, .cta-band h3 {
  color: #ffffff !important;
  opacity: 1 !important;
}

.terminal p, .terminal span, .terminal td, .terminal th,
.panel p, .panel span, .panel td, .panel th,
.report p, .report span,
.bg-navy p, .bg-navy span,
.stat-card.dark p, .stat-card.dark span,
.metric-card.dark p, .metric-card.dark span,
.cta-band p {
  color: #e8f0f4 !important;
  opacity: 1 !important;
}

/* Accessible focus treatment for all interactive elements. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2b7a8c !important;
  outline-offset: 3px !important;
}

/* =========================================================
   FINAL READABILITY + BRAND WORDMARK REFINEMENT
   ========================================================= */

/* Base reading size: slightly larger without making the site feel oversized. */
body {
  font-size: 16px !important;
  color: #334e63 !important;
}

p,
li,
.section-lead,
.page-header-sub,
.careers-hero-lead,
.hero-sub {
  line-height: 1.68 !important;
}

/* Stronger normal-page supporting copy. */
.section-lead,
.page-header-sub,
.careers-hero-lead,
.content-copy,
.about-copy,
.intro-copy {
  color: #405a6f !important;
  font-size: 1.02rem !important;
  opacity: 1 !important;
}

/* The homepage hero is dark, so never inherit dark body-copy colours there. */
.hero,
.hero * {
  --hero-copy: #dce7ee;
}
.hero h1,
.hero h2,
.hero h3,
.hero strong {
  color: #ffffff !important;
}
.hero .hero-sub,
.hero p,
.hero .section-lead {
  color: #dce7ee !important;
  opacity: 1 !important;
}
.hero .hero-note {
  color: #c5d5df !important;
  opacity: 1 !important;
}
.hero .hero-kicker,
.hero .label,
.hero .eyebrow {
  color: #9fd0dc !important;
  opacity: 1 !important;
}

/* PGN Limited wordmark: more visible and better balanced with navigation. */
.site-nav .logo,
.site-nav .logo-wordmark {
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 750 !important;
  letter-spacing: -0.015em !important;
  color: #122b40 !important;
}
.site-nav .logo-wordmark em,
.site-nav .logo em {
  font-size: 0.92em !important;
  font-weight: 500 !important;
  color: #52677a !important;
  opacity: 1 !important;
}

/* Main navigation and dropdown readability. */
.nav-menu-button,
.nav-direct,
.site-nav .nav-links > li > a {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #263f54 !important;
}
.mega-menu a,
.mega-link,
.dropdown-menu a,
.nav-dropdown a {
  font-size: 17px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  color: #1e384d !important;
}
.mega-column h3,
.mega-group-title,
.dropdown-heading {
  font-size: 13.5px !important;
  font-weight: 750 !important;
  color: #1f6678 !important;
}

/* Secondary section headings and card titles: clearer hierarchy. */
h2,
.section-title,
.section-heading {
  font-weight: 750 !important;
}
h3,
.card-title,
.service-title,
.capability-title {
  font-weight: 700 !important;
}

/* Light cards: raise copy size and contrast consistently. */
.value-card p,
.service-card p,
.sector-card p,
.case-card p,
.res-card p,
.role-card p,
.approach-card p,
.tool-card p,
.wj-card .wj-text,
.perk .perk-text,
.perk-card .perk-text,
.team-card p,
.platform-card p,
.spec-form-card p,
.vertical-card p,
.mission-block p,
.insight-card p {
  color: #415c70 !important;
  font-size: 0.93rem !important;
  line-height: 1.62 !important;
  opacity: 1 !important;
}

.value-card h3, .value-card h4,
.service-card h3, .service-card h4,
.sector-card h3, .sector-card h4,
.case-card h3, .case-card h4,
.res-card h3, .res-card h4,
.role-card h3, .role-card h4,
.approach-card h3, .approach-card h4,
.tool-card h3, .tool-card h4,
.wj-card .wj-title,
.perk .perk-title,
.perk-card .perk-title,
.team-card h4,
.platform-card h3,
.vertical-card h3,
.mission-block h3,
.insight-card h3 {
  color: #152f44 !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Dark surfaces: brighter supporting text, including code/technical panels. */
.terminal p, .terminal span, .terminal td, .terminal th,
.panel p, .panel span, .panel td, .panel th,
.report p, .report span,
.bg-navy p, .bg-navy span,
.stat-card.dark p, .stat-card.dark span,
.metric-card.dark p, .metric-card.dark span,
.cta-band p {
  color: #eaf1f5 !important;
  opacity: 1 !important;
}

/* Small labels should still be legible. */
.label,
.section-label,
.eyebrow,
.page-kicker,
.svc-eyebrow,
.case-label,
.tool-cat {
  font-size: 0.78rem !important;
  font-weight: 750 !important;
}

/* Buttons: retain compact enterprise styling but improve readability. */
.btn-primary,
.btn-ghost,
.nav-cta,
button {
  font-size: 0.95rem !important;
  font-weight: 650 !important;
}

@media (max-width: 900px) {
  body { font-size: 16px !important; }
  .site-nav .logo,
  .site-nav .logo-wordmark { font-size: 19px !important; }
  .nav-menu-button,
  .nav-direct,
  .mega-menu a,
  .mega-link { font-size: 16px !important; }
}


/* Case study category navigation */
.case-full,
.case-scroll-anchor {
  scroll-margin-top: 118px;
}

.case-nav-btn {
  cursor: pointer;
  min-height: 48px;
}

.case-nav-btn.active {
  font-weight: 700;
}

.case-nav-btn:focus-visible {
  outline: 3px solid #2b7a8c !important;
  outline-offset: 3px !important;
}


/* Compact engagement models */
.engagement-section {
  background: #f7f9fa;
  padding-top: 3.25rem !important;
  padding-bottom: 3.25rem !important;
}
.engagement-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 1.75rem;
}
.engagement-intro h2 {
  margin: .4rem 0 0;
}
.engagement-intro > p {
  margin: 0;
  max-width: 680px;
  color: #435d70 !important;
  font-size: 1rem;
  line-height: 1.65;
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d5e0e7;
  border-left: 1px solid #d5e0e7;
}
.engagement-card {
  background: #fff;
  padding: 1.45rem 1.5rem;
  border-right: 1px solid #d5e0e7;
  border-bottom: 1px solid #d5e0e7;
  scroll-margin-top: 118px;
  min-height: 145px;
}
.engagement-card h3 {
  margin: 0 0 .55rem;
  color: #142c40 !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}
.engagement-card p {
  margin: 0;
  color: #536a7c !important;
  font-size: .94rem !important;
  line-height: 1.55;
}
.engagement-action {
  margin-top: 1.5rem;
}
#engagement-models {
  scroll-margin-top: 110px;
}
@media (max-width: 900px) {
  .engagement-intro { grid-template-columns: 1fr; gap: .75rem; }
  .engagement-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-card { min-height: auto; }
}


/* How we work uses the same native navigation component as all other dropdowns.
   These rules intentionally normalise any legacy nav-trigger/nav-dropdown styling. */
.site-nav .nav-links > .nav-item.has-mega > .nav-menu-button {
  font-family: inherit !important;
}

/* Simplified How we work section */
.engagement-grid-three {
  grid-template-columns: repeat(3, 1fr) !important;
}
.engagement-grid-three .engagement-card {
  min-height: 132px;
}
@media (max-width: 800px) {
  .engagement-grid-three { grid-template-columns: 1fr !important; }
  .engagement-grid-three .engagement-card { min-height: auto; }
}


/* Enhanced client-facing engagement cards */
.engagement-card-rich {
  position: relative;
  padding: 1.65rem 1.6rem 1.55rem !important;
  min-height: 330px !important;
  display: flex;
  flex-direction: column;
}
.engagement-number {
  color: #6f9638;
  font-size: .76rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: .85rem;
}
.engagement-card-rich > p {
  min-height: 4.4em;
  margin-bottom: 1rem !important;
}
.engagement-topics {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.engagement-topics li {
  position: relative;
  padding: .42rem 0 .42rem 1.05rem;
  border-top: 1px solid #edf1f3;
  color: #344f62;
  font-size: .9rem;
  line-height: 1.4;
}
.engagement-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .92rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6f9638;
}
.engagement-best {
  display: block;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid #dce5ea;
  color: #173b50;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 650;
}
.engagement-card-rich:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  z-index: 1;
}
@media (max-width: 800px) {
  .engagement-card-rich { min-height: auto !important; }
  .engagement-card-rich > p { min-height: auto; }
}


/* Partner collaboration: separate from client engagement models */
.partner-collaboration {
  scroll-margin-top: 118px;
  margin-top: 2.25rem;
  padding: 1.8rem 1.9rem;
  background: #fff;
  border: 1px solid #d8e2e8;
  border-left: 4px solid #6f9638;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr) auto;
  gap: 2rem;
  align-items: center;
}
.partner-copy h3 {
  margin: .4rem 0 .65rem;
  color: #142c40 !important;
  font-size: 1.3rem !important;
}
.partner-copy p {
  margin: 0;
  color: #4b6374 !important;
  font-size: .94rem !important;
  line-height: 1.58;
}
.partner-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1.35rem;
}
.partner-points div {
  border-top: 1px solid #e5ebef;
  padding-top: .7rem;
}
.partner-points strong {
  display: block;
  color: #173b50;
  font-size: .9rem;
  margin-bottom: .22rem;
}
.partner-points span {
  display: block;
  color: #5b7180;
  font-size: .83rem;
  line-height: 1.42;
}
.partner-action {
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .partner-collaboration {
    grid-template-columns: 1fr 1.35fr;
  }
  .partner-action {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .partner-collaboration {
    grid-template-columns: 1fr;
    padding: 1.45rem;
  }
  .partner-points {
    grid-template-columns: 1fr;
  }
  .partner-action {
    grid-column: auto;
  }
}


/* =========================================================
   Mobile & tablet responsive pass
   ========================================================= */

/* Safer defaults across the site */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
body {
  overflow-x: hidden;
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
}
input, select, textarea, button {
  font: inherit;
}
.container,
.section-inner,
.content-wrap {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

/* Header/nav */
.site-nav {
  min-height: 68px;
}
.nav-hamburger {
  display: none;
}
@media (max-width: 980px) {
  .site-nav {
    position: relative;
    min-height: 64px;
    padding-inline: 16px !important;
  }

  .site-nav .logo {
    flex: 0 0 auto;
    z-index: 602;
  }

  .site-nav .nav-right {
    display: none !important;
  }

  .nav-hamburger {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
    z-index: 603;
  }
  .nav-hamburger span {
    width: 24px;
    height: 2px;
    background: #203246;
    display: block;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 16px 18px !important;
    background: #fff;
    border-top: 1px solid #e5e9ed;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 600;
  }
  .site-nav .nav-links.mobile-open {
    display: flex !important;
  }

  .site-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid #edf0f2;
  }

  .site-nav .nav-menu-button,
  .site-nav .nav-direct {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #24384c !important;
    background: transparent !important;
  }

  .site-nav .nav-direct {
    display: flex;
    align-items: center;
  }

  .site-nav .nav-menu-button span {
    margin-left: auto;
    transition: transform .16s ease;
  }
  .site-nav .nav-menu-button[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  /* Turn desktop mega menus into inline accordions on mobile/tablet */
  .site-nav .mega-menu,
  .site-nav .mega-menu-compact {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 0 12px !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #fff !important;
  }

  .site-nav .nav-item.open > .mega-menu,
  .site-nav .nav-item:focus-within > .mega-menu {
    display: block !important;
  }

  .site-nav .mega-intro {
    border-right: 0 !important;
    border-bottom: 1px solid #edf0f2;
    padding: 4px 0 12px !important;
    margin-bottom: 8px;
  }
  .site-nav .mega-intro strong {
    font-size: 1rem !important;
    line-height: 1.4;
  }
  .site-nav .mega-intro p {
    font-size: .9rem !important;
    line-height: 1.45;
    margin-top: .35rem;
  }

  .site-nav .mega-column {
    padding: 8px 0 0 !important;
  }
  .site-nav .mega-column + .mega-column {
    margin-top: 4px;
  }
  .site-nav .mega-column h3 {
    font-size: .76rem !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 4px !important;
  }
  .site-nav .mega-menu a,
  .site-nav .mega-link {
    display: block;
    width: 100%;
    padding: 10px 0 !important;
    font-size: 15.5px !important;
    line-height: 1.35 !important;
    border-bottom: 0 !important;
  }
}

/* Content layouts */
@media (max-width: 900px) {
  .hero,
  .page-hero,
  .section,
  .section-like {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-grid,
  .split-grid,
  .two-col,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .service-grid,
  .capability-grid,
  .case-grid,
  .tools-grid,
  .roles-grid,
  .values-grid,
  .engagement-grid-three,
  .partner-collaboration {
    grid-template-columns: 1fr !important;
  }

  .engagement-intro {
    grid-template-columns: 1fr !important;
    gap: .7rem !important;
  }

  .engagement-card-rich {
    min-height: auto !important;
  }

  .partner-collaboration {
    gap: 1.3rem !important;
  }

  .partner-points {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-grid {
    gap: 1.5rem !important;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container,
  .section-inner,
  .content-wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .page-hero {
    padding-top: 3.1rem !important;
    padding-bottom: 2.6rem !important;
  }

  .section,
  .section-like,
  .engagement-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }

  h2,
  .section-title,
  .section-heading {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.18 !important;
  }

  h3,
  .card-title,
  .service-title,
  .capability-title {
    font-size: 1.15rem !important;
  }

  .hero-sub,
  .section-lead,
  .page-lead,
  .lead {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .btn-primary,
  .btn-secondary,
  .nav-cta,
  button[type="submit"] {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 46px;
  }

  .hero-actions,
  .button-row,
  .cta-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .7rem !important;
  }

  .engagement-grid,
  .engagement-grid-three {
    grid-template-columns: 1fr !important;
    border-left: 0 !important;
  }

  .engagement-card {
    min-height: auto !important;
    border-left: 1px solid #d5e0e7;
  }

  .partner-points {
    grid-template-columns: 1fr !important;
  }

  .partner-action,
  .engagement-action {
    width: 100%;
  }

  .card,
  .content-card,
  .service-card,
  .case-card,
  .tool-card,
  .role-card,
  .value-card,
  .engagement-card,
  .partner-collaboration,
  .spec-form-card {
    padding: 1.2rem !important;
  }

  /* Horizontal tables should scroll rather than break the page */
  .table-wrap,
  .responsive-table,
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Forms */
  form,
  .contact-form,
  .form-grid {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
  }

  /* Footer */
  footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 430px) {
  footer .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .site-nav .logo-wordmark {
    font-size: 18px !important;
  }
}

/* Prevent accidental overflow from long URLs / technical labels */
p, li, a, span, strong, code {
  overflow-wrap: anywhere;
}


/* =========================================================
   FINAL MOBILE NAVIGATION CORRECTION
   Single menu state: body.nav-open
   ========================================================= */
@media (max-width: 980px) {
  body.mobile-nav-lock {
    overflow: hidden !important;
  }

  .site-nav {
    position: sticky !important;
    top: 0 !important;
    height: 64px !important;
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    z-index: 1000 !important;
    background: #fff !important;
  }

  .site-nav .logo {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-nav .logo-wordmark {
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .site-nav .nav-hamburger {
    display: inline-flex !important;
    margin-left: auto !important;
    flex: 0 0 42px !important;
    align-items: center !important;
  }

  /* Closed menu */
  .site-nav .nav-links {
    display: none !important;
  }

  /* Open menu: always starts directly below the 64px header */
  body.nav-open .site-nav .nav-links {
    display: flex !important;
    position: fixed !important;
    inset: 64px 0 0 0 !important;
    width: 100% !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    margin: 0 !important;
    padding: 0 18px 28px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff !important;
    border-top: 1px solid #e5e9ed !important;
    box-shadow: none !important;
    z-index: 999 !important;
  }

  body.nav-open .site-nav .nav-item {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    border-bottom: 1px solid #e9edf0 !important;
  }

  body.nav-open .site-nav .nav-menu-button,
  body.nav-open .site-nav .nav-direct {
    display: flex !important;
    width: 100% !important;
    min-height: 54px !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 2px !important;
    color: #24384c !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }

  body.nav-open .site-nav .nav-menu-button[aria-expanded="true"] {
    color: #164e63 !important;
  }

  body.nav-open .site-nav .nav-menu-button > span {
    transform: none !important;
    transition: transform .15s ease !important;
  }

  body.nav-open .site-nav .nav-menu-button[aria-expanded="true"] > span {
    transform: rotate(180deg) !important;
  }

  /* All mega menus collapsed by default */
  body.nav-open .site-nav .mega-menu,
  body.nav-open .site-nav .mega-menu-compact {
    display: none !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 2px 2px 14px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Only the tapped dropdown opens */
  body.nav-open .site-nav .nav-item.has-mega.open > .mega-menu {
    display: block !important;
  }

  body.nav-open .site-nav .mega-intro {
    display: none !important;
  }

  body.nav-open .site-nav .mega-column {
    padding: 5px 0 0 !important;
    margin: 0 !important;
  }

  body.nav-open .site-nav .mega-column + .mega-column {
    padding-top: 12px !important;
  }

  body.nav-open .site-nav .mega-column h3 {
    margin: 4px 0 4px !important;
    color: #71808f !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
  }

  body.nav-open .site-nav .mega-column a {
    display: block !important;
    width: 100% !important;
    padding: 9px 0 !important;
    color: #344d61 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    background: transparent !important;
  }

  /* Disable desktop hover-opening on touch-size layouts */
  body.nav-open .site-nav .nav-item.has-mega:not(.open):hover > .mega-menu {
    display: none !important;
  }
}
