/* ============================================================
   BJMC Global — Enterprise Website (v3 — Prime Contractor)
   Inspired by: Booz Allen, Leidos, Northrop Grumman, Fluor,
   AECOM, Parsons, SAIC, Guidehouse, ICF, Jacobs
   ============================================================ */

:root {
  --navy: #0f172a;
  --navy-90: #1e293b;
  --navy-80: #334155;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #60a5fa;
  --blue-subtle: #dbeafe;
  --blue-bg: #eff6ff;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --green: #16a34a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w: 1400px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--navy-80);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--blue-subtle); color: var(--navy); }
a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { color: var(--slate-600); line-height: 1.75; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 0.88rem; font-weight: 600; font-family: var(--font);
  letter-spacing: 0.02em;
  border: none; border-radius: 4px; cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1d4ed8 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.35);
}
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--slate-300);
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  background: var(--navy); color: var(--white);
}
.btn-arrow::after {
  content: '\2192'; font-size: 1.1em;
  transition: transform 0.2s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* === Top Utility Bar === */
.util-bar {
  background: var(--navy);
  padding: 6px 0;
  font-size: 0.75rem;
  color: var(--slate-400);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.util-bar .container {
  display: flex; justify-content: flex-end; align-items: center;
}
.util-bar a { color: var(--slate-400); }
.util-bar a:hover { color: var(--white); }
.util-links { display: flex; gap: 1.5rem; align-items: center; }
.util-badge {
  background: rgba(59,130,246,0.15); color: var(--blue-light);
  padding: 2px 10px; border-radius: 3px;
  font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* === Header === */
.header {
  background: var(--white);
  height: 72px;
  position: sticky; top: 12px; z-index: 1000;
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.5s var(--ease), border-radius 0s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: none;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 3px 12px rgba(0,0,0,0.08);
  max-width: 85%;
  width: 85%;
  height: 70px;
  overflow: visible;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }

/* Nav */
.nav { display: flex; align-items: center; gap: 0; }
.nav > a, .nav-dropdown > .nav-trigger {
  padding: 8px 18px;
  font-size: 0.88rem; font-weight: 500; color: var(--navy-80);
  transition: color 0.2s; white-space: nowrap;
  background: none; border: none; cursor: pointer; font-family: var(--font);
  display: flex; align-items: center; gap: 5px;
}
.nav > a:hover, .nav-dropdown:hover > .nav-trigger { color: var(--navy); }
.nav > a.active { color: var(--blue); font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  min-width: 240px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s var(--ease);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 0.88rem; color: var(--navy-80);
  transition: all 0.15s;
}
.dropdown-menu a:hover {
  background: var(--slate-50); color: var(--blue);
}
.nav-caret {
  width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-cta { margin-left: 20px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.82rem; white-space: nowrap; }

/* Mobile toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; z-index: 1001;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--navy);
  transition: all 0.3s var(--ease); border-radius: 1px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}

/* Cinematic background treatment */
#particleCanvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
}

/* Glow accents */
.hero-glow {
  position: absolute; z-index: 2; pointer-events: none;
}
.hero-glow-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0.05) 40%, transparent 70%);
  top: -20%; right: -10%;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  bottom: -15%; left: 5%;
}

.hero .container { position: relative; z-index: 3; max-width: 1400px; }

.hero-content {
  max-width: 680px;
  margin-right: auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue-light);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 3rem;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* === Credential Strip === */
.credential-strip {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 0;
}
.credential-strip .container {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.cred-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--slate-500); font-weight: 500;
}
.cred-item img { height: 28px; width: auto; }
.cred-item svg {
  width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2;
}
.cred-sep {
  width: 1px; height: 20px; background: var(--slate-200);
}

/* === Sections === */
.section { padding: 6rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-gray { background: var(--slate-50); }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--slate-400); }

.section-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.section-dark .section-label { color: var(--blue-light); }

.section-title { margin-bottom: 1rem; }
.section-desc {
  max-width: 680px; font-size: 1.05rem; color: var(--slate-500);
}
.section-header-centered {
  text-align: center; margin-bottom: 4rem;
}
.section-header-centered .section-desc {
  margin: 0.75rem auto 0;
}

/* === Stats Row === */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats-row {
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--slate-200); border-radius: 12px;
  overflow: hidden; background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.stat-cell {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid var(--slate-200);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-size: 2.75rem; font-weight: 800;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-text {
  font-size: 0.8rem; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

/* === Service Cards (3-col grid) === */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 2.25rem;
  transition: all 0.3s var(--ease);
  position: relative;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(59,130,246,0.08);
  transform: translateY(-2px);
}
.service-card .card-icon {
  width: 48px; height: 48px;
  background: var(--blue-bg); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card .card-icon svg {
  width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.5;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.92rem; color: var(--slate-500); margin-bottom: 1.25rem; }
.card-link {
  font-size: 0.85rem; font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { gap: 10px; }

/* === Split Section (text + visual) === */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-text .section-label { margin-bottom: 0.75rem; }
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { margin-bottom: 1.5rem; }
.split-visual {
  border-radius: 12px; min-height: 400px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.split-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}
.split-visual img {
  width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; opacity: 1; border-radius: 12px;
}

/* Feature list */
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 0.92rem; color: var(--slate-600);
}
.feature-list li svg {
  width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2;
  flex-shrink: 0;
}

/* === Capability Feature Cards === */
.cap-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
  border-right: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s var(--ease);
}
.cap-feature:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.cap-feature:last-child { margin-bottom: 0; }
.cap-feature-reverse { direction: rtl; border-right: 1px solid var(--slate-200); border-left: 3px solid var(--blue); }
.cap-feature-reverse > * { direction: ltr; }
.cap-feature-img {
  position: relative; overflow: hidden;
  min-height: 340px;
}
.cap-feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.cap-feature-content {
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.cap-feature-content h3 {
  font-size: 1.35rem; margin-bottom: 1rem; color: var(--navy);
}
.cap-feature-content p {
  font-size: 0.92rem; color: var(--slate-600); margin-bottom: 1.25rem; line-height: 1.7;
}
.cap-feature-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cap-feature-tags span {
  font-size: 0.78rem; font-weight: 500;
  padding: 6px 14px;
  background: var(--blue-bg);
  color: var(--blue-dark);
  border-radius: 100px;
  border: 1px solid var(--blue-subtle);
  white-space: nowrap;
}

/* === Programs / Clients === */
.program-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.program-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; transition: all 0.2s;
}
.program-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}
.program-check {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  stroke: var(--blue-light); fill: none; stroke-width: 2;
}
.program-item span {
  font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.5;
}

/* === Project Cards (Past Performance) === */
.project-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s var(--ease);
}
.project-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-color: transparent;
}
.project-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.25rem; flex-wrap: wrap; gap: 1rem;
}
.project-title h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.project-title h3 .pipe { color: var(--blue); }
.project-type { font-size: 0.8rem; color: var(--blue); font-weight: 600; }
.project-value {
  background: var(--slate-50); padding: 8px 20px;
  border-radius: 6px; border: 1px solid var(--slate-200);
  text-align: right;
}
.project-value .amount {
  font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em;
}
.project-value .label {
  font-size: 0.7rem; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.project-desc { font-size: 0.95rem; margin-bottom: 1.5rem; }
.project-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--slate-200);
}
.metric { text-align: center; }
.metric-val { font-size: 1.35rem; font-weight: 800; color: var(--blue); }
.metric-label {
  font-size: 0.72rem; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-top: 4px;
}

/* === Certifications === */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cert-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 10px; padding: 2.25rem;
  transition: all 0.25s var(--ease);
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.cert-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.04); border-color: transparent; border-left-color: var(--blue); }
.cert-card h3 { margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.92rem; color: var(--slate-500); margin-bottom: 0; }

.naics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.naics-item {
  display: flex; align-items: center; gap: 14px;
  padding: 1.1rem 1.5rem;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: 8px;
}
.naics-code { font-size: 1.05rem; font-weight: 800; color: var(--blue); min-width: 65px; }
.naics-desc { font-size: 0.9rem; color: var(--slate-600); }

.reg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.reg-item {
  padding: 2rem; background: var(--white); border-radius: 10px;
  border: 1px solid var(--slate-200); text-align: center;
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.reg-label {
  font-size: 0.72rem; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.5rem; font-weight: 600;
}
.reg-value {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  font-family: 'SF Mono', 'Courier New', monospace;
}

.contract-table {
  width: 100%; border-collapse: collapse;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.contract-table th {
  background: var(--navy); color: var(--white);
  padding: 14px 20px; text-align: left;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.contract-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--slate-200);
  font-size: 0.92rem; color: var(--slate-600); background: var(--white);
}
.contract-table tr:hover td { background: var(--slate-50); }

/* === Past Performance Stats Bar === */
.pp-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,0.2);
}
.pp-stat {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.pp-stat:last-child { border-right: none; }
.pp-stat-num {
  font-size: 2.25rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.4rem;
}
.pp-stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

/* === Past Performance Recognition === */
.pp-recognition {
  margin-top: 2rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--blue);
  border-radius: 8px; padding: 2rem 2.5rem;
  display: flex; align-items: center; gap: 1.75rem;
}
.pp-recognition-badge {
  width: 52px; height: 52px; min-width: 52px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pp-recognition-badge svg {
  width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 1.5;
}
.pp-recognition h3 { margin-bottom: 0.4rem; font-size: 1.05rem; color: var(--navy); }
.pp-recognition p { font-size: 0.9rem; color: var(--slate-600); margin-bottom: 0; line-height: 1.65; }

/* === Recognition Banner (legacy) === */
.recognition-banner {
  background: var(--blue-bg);
  border: 1px solid var(--blue-subtle);
  border-radius: 12px; padding: 2.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.recognition-icon {
  width: 64px; height: 64px;
  background: var(--white); border: 1px solid var(--blue-subtle);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.recognition-icon svg {
  width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.5;
}
.recognition-content h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.recognition-content p { font-size: 0.92rem; color: var(--slate-500); margin-bottom: 0; }

/* === Leader === */
.leader-grid {
  display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start;
}
.leader-photo {
  background: radial-gradient(ellipse at center 35%, #d7d7d4 0%, #c0c1c5 50%, #969ba5 100%);
  border-radius: 12px; height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}
.leader-photo::before { display: none; }
.leader-photo svg { width: 60px; height: 60px; fill: rgba(255,255,255,0.08); }
.leader-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  position: relative; z-index: 2;
}
.leader-info h3 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.leader-title { font-size: 0.95rem; color: var(--blue); font-weight: 600; margin-bottom: 1.5rem; }
.leader-info p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.leader-creds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}
.leader-creds .cred {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.88rem; color: var(--slate-600); font-weight: 500;
}
.leader-creds .cred svg { margin-top: 3px; flex-shrink: 0; }
.leader-creds .cred svg {
  width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 1.5;
}

/* === Systems / QA Cards === */
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sys-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 10px; padding: 2.25rem 2rem; text-align: center;
  transition: all 0.3s var(--ease);
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.sys-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); border-color: transparent; border-left-color: var(--blue); }
.sys-card svg { width: 32px; height: 32px; stroke: var(--blue); fill: none; stroke-width: 1.5; margin: 0 auto 1.25rem; }
.sys-card h4 { margin-bottom: 0.5rem; }
.sys-card p { font-size: 0.9rem; color: var(--slate-500); margin-bottom: 0; }

/* Capability Cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cap-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 0;
  transition: all 0.3s var(--ease);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: transparent; border-left-color: var(--blue); }
.cap-card-top {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.cap-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cap-icon svg { width: 24px; height: 24px; stroke: var(--white); fill: none; stroke-width: 1.5; }
.cap-card-top h3 { font-size: 1.05rem; margin: 0; color: var(--navy); line-height: 1.3; }
.cap-card-body { padding: 1.75rem 2rem 2rem; }
.cap-card p { font-size: 0.88rem; color: var(--slate-500); margin-bottom: 1.25rem; line-height: 1.65; }
.cap-list { list-style: none; padding: 0; margin: 0; }
.cap-list li {
  font-size: 0.84rem; color: var(--navy-80); padding: 0.35rem 0;
  padding-left: 1.25rem; position: relative; font-weight: 500;
}
.cap-list li::before {
  content: ''; position: absolute; left: 0; top: 0.7rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
}

/* Arrows Graphic */
.arrows-graphic {
  max-width: 1000px; margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 12px 40px rgba(15,23,42,0.1);
  padding-bottom: 3.5rem;
  position: relative;
}
.arrows-graphic::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.arrows-target {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  padding: 1.25rem 2rem;
  border-radius: 8px 8px 0 0;
  text-align: center;
  position: relative; z-index: 2;
}
.arrows-target span {
  font-size: 1.1rem; font-weight: 800; color: var(--white);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.arrows-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  padding: 0 1.5rem;
  position: relative; z-index: 1;
}
.arrow-pillar {
  text-align: center; position: relative; overflow: visible;
}
.arrow-point {
  display: none;
}
.arrow-body {
  background: linear-gradient(180deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
  clip-path: polygon(50% 0%, 100% 12%, 100% 100%, 0% 100%, 0% 12%);
  padding: 3rem 1rem 2rem;
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
  min-height: 312px;
  position: relative;
}
.arrow-body::after {
  content: ''; position: absolute; inset: -4px;
  background: rgba(0,0,0,0.2);
  clip-path: polygon(50% 0%, 100% 12%, 100% 100%, 0% 100%, 0% 12%);
  filter: blur(10px);
  z-index: -1;
  transform: translateY(4px);
}
.arrow-body svg {
  width: 32px; height: 32px; stroke: var(--white); fill: none;
  stroke-width: 1.5; margin-bottom: 0; flex-shrink: 0;
  height: 60px;
}
.arrow-body h4 { font-size: 1rem; margin-top: 1.25rem; margin-bottom: 0.75rem; color: var(--white); }
.arrow-body p { font-size: 0.84rem; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.55; }
.fade-in {
  opacity: 0;
  transition: opacity 2s var(--ease);
}
.fade-in.visible { opacity: 1; }
@keyframes pillarReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pillar-reveal {
  opacity: 0;
  animation: pillarReveal 2.5s var(--ease) forwards;
  animation-play-state: paused;
  will-change: opacity;
}
.pillar-reveal.running {
  animation-play-state: running;
}
.arrows-base {
  background: var(--slate-200);
  padding: 1.25rem 2rem;
  border-radius: 0 0 8px 8px;
  text-align: center;
  position: relative; z-index: 2;
  border-top: 3px solid var(--navy);
}
.arrows-base span {
  font-size: 0.88rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* QA Steps */
.qa-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.qa-steps::before {
  content: ''; position: absolute; top: 24px;
  left: 12.5%; right: 12.5%; height: 2px;
  background: var(--slate-200);
}
.qa-step { text-align: center; padding: 0 1rem; position: relative; }
.qa-num {
  width: 48px; height: 48px;
  background: var(--blue); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  margin: 0 auto 1.25rem; position: relative; z-index: 2;
}
.qa-step h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.qa-step p { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 0; }

/* === Careers === */
.careers-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.career-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.career-feat {
  display: flex; gap: 10px; align-items: flex-start;
}
.career-feat svg {
  width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.5;
  flex-shrink: 0; margin-top: 3px;
}
.career-feat h4 { font-size: 0.92rem; margin-bottom: 2px; }
.career-feat p { font-size: 0.84rem; color: var(--slate-500); margin-bottom: 0; }

.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pos-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 10px; padding: 1.75rem;
  transition: all 0.25s var(--ease);
}
.pos-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.pos-card h4 { margin-bottom: 0.3rem; }
.pos-tag { font-size: 0.72rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.pos-card p { font-size: 0.88rem; color: var(--slate-500); margin-bottom: 0; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.contact-details { margin-bottom: 2rem; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-item svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 3px; }
.contact-item h4 { font-size: 0.92rem; margin-bottom: 2px; }
.contact-item p { font-size: 0.92rem; margin-bottom: 0; }
.contact-form {
  background: var(--slate-50); padding: 2.5rem; border-radius: 12px;
  border: 1px solid var(--slate-200);
}
.contact-form h3 { margin-bottom: 0.4rem; }
.contact-form > p { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy-80); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--slate-300); border-radius: 6px;
  font-size: 0.92rem; font-family: var(--font);
  background: var(--white); color: var(--navy);
  transition: all 0.2s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Application Form */
.application-form-wrap { max-width: 720px; margin: 0 auto; }
.file-upload { position: relative; }
.file-upload input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
}
.file-upload-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 2rem;
  border: 2px dashed var(--slate-300); border-radius: 8px;
  background: var(--white); color: var(--slate-500);
  text-align: center; transition: border-color 0.2s, background 0.2s;
}
.file-upload-label svg { color: var(--blue); }
.file-upload-label span { font-size: 0.92rem; font-weight: 500; color: var(--navy-80); }
.file-upload-label small { font-size: 0.8rem; color: var(--slate-400); }
.file-upload:hover .file-upload-label,
.file-upload.dragover .file-upload-label {
  border-color: var(--blue); background: rgba(59,130,246,0.03);
}
.file-upload.has-file .file-upload-label {
  border-color: var(--green); border-style: solid; background: rgba(34,197,94,0.04);
}
.file-upload.has-file .file-upload-label span { color: var(--green); font-weight: 600; }

/* === Page Hero (Interior) === */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-90) 50%, #1e3a8a 100%);
  padding: 7rem 0 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
}
.page-hero h1 {
  color: var(--white); font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem; position: relative; z-index: 2;
}
.page-hero p {
  color: rgba(255,255,255,0.5); font-size: 1.05rem;
  max-width: 620px; margin: 0 auto;
  position: relative; z-index: 2;
}
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 1.5rem; position: relative; z-index: 2;
}
.breadcrumb a { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.2); font-size: 0.82rem; }
.breadcrumb .current { color: rgba(255,255,255,0.6); }

/* === Map Parallax === */
.map-parallax {
  height: 400px;
  background: url('../Logo/performance_map.png') center center / cover no-repeat fixed;
  position: relative;
}
.map-parallax-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.map-parallax-overlay h2 { color: var(--white); margin-bottom: 0.5rem; font-size: 2rem; }
.map-parallax-overlay p { color: var(--slate-300); font-size: 1.1rem; margin: 0; }

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-90) 50%, #1e3a8a 100%);
  padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; position: relative; z-index: 2; }
.cta-section p { color: var(--slate-400); font-size: 1.05rem; margin-bottom: 2rem; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* === Footer === */
.footer {
  background: var(--navy); color: var(--slate-400); padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { }
.footer-brand .logo-footer img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--slate-500); max-width: 280px; line-height: 1.7; }
.footer-brand .sdvosb-badge { margin-top: 1.25rem; }
.footer-brand .sdvosb-badge img { height: 44px; width: auto; opacity: 0.6; }
.footer-brand .sdvosb-badge img:hover { opacity: 1; }

.footer-col h4 {
  color: var(--white); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1.25rem; font-weight: 700;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--slate-500); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; font-size: 0.8rem; color: var(--slate-500);
  flex-wrap: wrap; gap: 1rem;
}
.footer-tags { display: flex; gap: 0.6rem; align-items: center; }
.footer-tag {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  padding: 4px 10px; border-radius: 3px;
  font-size: 0.7rem; color: var(--slate-400); font-weight: 600; letter-spacing: 0.04em;
}
.footer-legal {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 1rem 0 1.5rem; font-size: 0.75rem; flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a { color: var(--slate-500); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }
.footer-legal-sep { color: var(--slate-600); }

/* Cookie Consent Banner — Desktop: full-width bottom bar */
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner {
  display: flex; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999; padding: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  border-top: 2px solid var(--blue-dark);
  animation: cookieSlideUp 0.5s var(--ease) both;
}
.cookie-banner-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 1.5rem 2rem;
  color: var(--navy); background: var(--white);
}
.cookie-banner-content h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--navy);
}
.cookie-banner-content p {
  font-size: 0.82rem; line-height: 1.5; color: var(--slate-600); margin-bottom: 0;
}
.cookie-banner-content p a { color: var(--blue-dark); text-decoration: underline; }
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-buttons {
  display: flex; flex-direction: row; gap: 0.6rem;
  flex-shrink: 0; align-items: center;
}
.cookie-btn {
  padding: 0.55rem 1.25rem; border-radius: 5px; font-size: 0.82rem;
  font-weight: 600; cursor: pointer; border: 2px solid var(--blue-dark);
  transition: all 0.2s; text-align: center; white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark);
}
.cookie-btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.cookie-btn-outline {
  background: var(--white); color: var(--blue-dark); border-color: var(--blue-dark);
}
.cookie-btn-outline:hover { background: var(--blue-bg); }

/* Cookie Banner — Mobile: centered card popup */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem; background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px); border-top: none;
    box-shadow: none; justify-content: center;
  }
  .cookie-banner-content {
    flex-direction: column; gap: 1rem;
    border-radius: 12px; padding: 2rem;
    max-width: 520px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
  .cookie-banner-content h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
  .cookie-banner-content p { font-size: 0.88rem; margin-bottom: 0.75rem; }
  .cookie-banner-buttons { flex-direction: column; width: 100%; }
  .cookie-btn { padding: 0.7rem 1.25rem; font-size: 0.9rem; width: 100%; }
}

/* Cookie Preferences Modal */
.cookie-prefs-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(3px);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.cookie-prefs-overlay.active { opacity: 1; visibility: visible; }
.cookie-prefs-modal {
  background: var(--navy); border-radius: 14px;
  width: 92%; max-width: 560px; max-height: 85vh;
  overflow: hidden; position: relative; box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s var(--ease);
}
.cookie-prefs-overlay.active .cookie-prefs-modal { transform: scale(1) translateY(0); }
/* Navy header bar */
.cookie-prefs-header {
  background: var(--navy); color: var(--white);
  padding: 1.5rem 2rem; border-radius: 14px 14px 0 0;
  position: relative;
}
.cookie-prefs-header h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin: 0; letter-spacing: -0.01em;
}
.cookie-prefs-header p {
  font-size: 0.78rem; color: var(--slate-300); margin: 0.35rem 0 0; line-height: 1.5;
}
.cookie-prefs-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--slate-400); line-height: 1; padding: 0.25rem;
}
.cookie-prefs-close:hover { color: var(--white); }
/* Body */
.cookie-prefs-body { padding: 1.5rem 2rem 2rem; overflow-y: auto; max-height: calc(85vh - 5.5rem); }
.cookie-prefs-body p.cookie-prefs-intro {
  font-size: 0.82rem; line-height: 1.7; color: var(--slate-600); margin: 0 0 1.25rem;
}
.cookie-prefs-intro a { color: var(--blue-dark); text-decoration: underline; }
/* Category cards */
.cookie-pref-categories { display: flex; flex-direction: column; gap: 0.6rem; }
.cookie-pref-category {
  background: var(--white); border-radius: 10px;
  border: 1px solid var(--slate-200);
  transition: border-color 0.2s;
}
.cookie-pref-category:hover { border-color: var(--slate-300); }
.cookie-pref-header {
  display: flex; align-items: center; padding: 0.9rem 1.15rem;
  cursor: pointer; gap: 0.6rem; user-select: none;
}
.cookie-pref-expand {
  width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); flex-shrink: 0;
  background: var(--blue-bg); border-radius: 4px;
}
.cookie-pref-label { flex: 1; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.cookie-toggle-always {
  font-size: 0.75rem; font-weight: 600; color: var(--green);
  white-space: nowrap; background: rgba(22,163,74,0.08);
  padding: 3px 10px; border-radius: 20px;
}
/* Toggle switch */
.cookie-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--slate-300); border-radius: 22px; cursor: pointer;
  transition: background 0.25s;
}
.cookie-toggle-slider::before {
  content: ''; position: absolute; width: 16px; height: 16px;
  left: 3px; bottom: 3px; background: var(--white); border-radius: 50%;
  transition: transform 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--blue-dark); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }
/* Description panel */
.cookie-pref-desc {
  max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
}
.cookie-pref-desc.open { max-height: 200px; }
.cookie-pref-desc p {
  padding: 0 1.15rem 0.85rem 2.5rem;
  font-size: 0.78rem; line-height: 1.65; color: var(--slate-500); margin: 0;
}
/* Actions */
.cookie-prefs-actions {
  display: flex; gap: 0.6rem; justify-content: flex-end;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .cookie-prefs-header { padding: 1.25rem 1.25rem; }
  .cookie-prefs-body { padding: 1.25rem; }
  .cookie-prefs-modal { max-height: 90vh; }
  .cookie-prefs-actions { flex-direction: column; }
  .cookie-prefs-actions .cookie-btn { width: 100%; }
}

/* Legal / Policy Pages */
.legal-content {
  max-width: 740px; margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
}
.legal-content h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin: 2.5rem 0 0.75rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--slate-200);
  letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.92rem; line-height: 1.85; color: var(--slate-600);
  margin-bottom: 1rem;
}
.legal-content a { color: var(--blue-dark); text-decoration: underline; }
.legal-content a:hover { color: var(--blue); }
.legal-content ul {
  margin: 0.75rem 0 1.5rem 1.5rem; line-height: 1.85;
  font-size: 0.92rem; color: var(--slate-600);
}
.legal-content ul li { margin-bottom: 0.5rem; }
.legal-content .legal-updated {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.8rem; color: var(--slate-400);
}

/* Mission / Vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card {
  padding: 2.5rem; border-radius: 10px;
  background: var(--white); border: 1px solid var(--slate-200);
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.mv-card h3 {
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 10px; font-size: 1.2rem;
}
.mv-card h3 svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.5; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  text-align: center; padding: 2.25rem 1.5rem;
  background: var(--white); border-radius: 10px; border: 1px solid var(--slate-200);
  transition: all 0.25s var(--ease);
}
.value-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.04); border-color: transparent; }
.value-icon {
  width: 44px; height: 44px;
  background: var(--blue-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.value-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.value-card h4 { margin-bottom: 0.4rem; }
.value-card p { font-size: 0.9rem; color: var(--slate-500); margin-bottom: 0; }

/* === Diff grid for about/why sections === */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diff-card {
  text-align: center; padding: 2.25rem 1.5rem;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 10px; transition: all 0.25s var(--ease);
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.diff-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.04); border-color: transparent; border-left-color: var(--blue); }
.diff-icon {
  width: 52px; height: 52px;
  background: var(--blue-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.diff-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.diff-card h4 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.diff-card p { font-size: 0.9rem; color: var(--slate-500); margin-bottom: 0; }

/* Prevent nav flash during resize */
body.resizing .nav,
body.resizing .dropdown-menu {
  transition: none !important;
}

/* === Animations === */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* === Responsive === */
@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-bottom: 1px solid var(--slate-200); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(n+3) { border-bottom: none; }
  .pp-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .pp-stat { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .pp-stat:nth-child(2) { border-right: none; }
  .pp-stat:nth-child(n+3) { border-bottom: none; }
  .pp-recognition { flex-direction: column; text-align: center; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-reverse { direction: ltr; }
  .split-visual { height: 280px; }
  .cap-feature { grid-template-columns: 1fr; }
  .cap-feature-reverse { direction: ltr; }
  .cap-feature-img { min-height: 250px; }
  .leader-grid { grid-template-columns: 1fr; }
  .leader-photo { height: 500px; }
  .leader-photo img { object-position: center 20%; }
  .leader-photo-cole { height: auto; }
  .leader-photo-cole img { object-fit: contain; object-position: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-glow { display: none; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header {
    max-width: 100%; width: 100%; border-radius: 0;
    margin-left: auto; margin-right: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header.scrolled { max-width: 90%; width: 90%; }
  .section { padding: 4rem 0; }
  .util-bar { display: none; }

  .nav {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh; background: var(--white);
    flex-direction: column; padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.08);
    transition: right 0.3s var(--ease), opacity 0.3s var(--ease);
    align-items: flex-start;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1001;
  }
  .header.scrolled { overflow: visible; }
  .nav.active { right: 0; visibility: visible; opacity: 1; pointer-events: auto; }
  .nav > a, .nav-dropdown > .nav-trigger { padding: 10px 0; width: 100%; font-size: 0.95rem; }
  .nav-dropdown .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu {
    position: static; opacity: 1; visibility: inherit;
    transform: none; box-shadow: none; border: none;
    padding: 0 0 0 1rem; min-width: auto;
    transition: none;
  }
  .nav-cta { margin-left: 0; margin-top: 1rem; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { min-height: 85vh; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 1.75rem 1rem; border-bottom: 1px solid var(--slate-200); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(n+3) { border-bottom: none; }
  .stat-num { font-size: 2rem; }

  .card-grid-3, .card-grid-2, .cert-grid, .naics-grid, .reg-grid,
  .sys-grid, .pos-grid, .mv-grid, .values-grid, .diff-grid, .cap-grid { grid-template-columns: 1fr; }
  .arrows-row { grid-template-columns: 1fr; }
  .arrow-body { min-height: auto; padding: 1.5rem; clip-path: none; }
  .program-grid { grid-template-columns: 1fr; }
  .careers-split, .career-features { grid-template-columns: 1fr; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .project-metrics { grid-template-columns: repeat(2, 1fr); }
  .qa-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .qa-steps::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero { padding: 5.5rem 1.5rem 3rem; }
  .page-hero p { font-size: 0.95rem; }

  .contract-table thead { display: none; }
  .contract-table, .contract-table tbody, .contract-table tr, .contract-table td {
    display: block; width: 100%;
  }
  .contract-table tr {
    margin-bottom: 1.5rem; border-radius: 10px; overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }
  .contract-table td {
    padding: 10px 20px; border-bottom: none;
    text-align: left;
  }
  .contract-table td:first-child {
    background: var(--navy); color: var(--white);
    padding: 14px 20px; font-size: 0.95rem;
  }
  .contract-table td:first-child strong { color: var(--white); }
  .contract-table tr:hover td:first-child { background: var(--navy); }

  .leader-creds { flex-direction: column; gap: 0.75rem; }
  .recognition-banner { flex-direction: column; text-align: center; }
  .credential-strip { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell,
  .stat-cell:nth-child(n+3) { border-right: none; border-bottom: 1px solid var(--slate-200); }
  .stat-cell:last-child { border-bottom: none; }

  .pp-stats-bar { grid-template-columns: 1fr; }
  .pp-stat,
  .pp-stat:nth-child(n+3) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .pp-stat:last-child { border-bottom: none; }
}
