/* ============================================================
 HEXATECH SH.P.K. — Master Stylesheet
 ============================================================
 © 2026 HEXATECH SH.P.K. All rights reserved.
 ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette — green strictly functional */
  --brand-green: #2FAE3A;            /* logo, primary CTA, active nav */
  --brand-green-dark: #228A2B;       /* CTA hover */
  --brand-green-light: #E8F5EA;      /* retained for focus ring only */
  
  /* Industrial greyscale — PROMOTED to primary vocabulary */
  --industrial-dark: #1F2A2E;        /* header/hero/footer dominant */
  --industrial-deep: #14191C;        /* deepest background */
  --industrial-slate: #2C3539;       /* slate tone for panels on dark */
  --industrial-mid: #4A4A4A;         /* NEW — mid grey for spec labels */
  --industrial-neutral: #8A8A8A;     /* NEW — neutral grey for rules */
  --text-body: #2C2C2C;              /* slightly darker body */
  --text-muted: #595959;
  --text-faint: #8A8A8A;
  --surface-tint: #F3F5F4;
  --surface-panel: #F8F9F9;
  --rule-grey: #BFBFBF;
  --rule-light: #E5E7E6;
  --rule-heavy: #6A6A6A;             /* NEW — for spec-document rules */
  
  /* Classification warning — amber strictly for defence-tier flags */
  --warn-amber: #B88A00;
  --warn-amber-bg: #FFF8E6;
  --white: #FFFFFF;

  /* Typography — IBM Plex family */
  --font-display: 'IBM Plex Sans Condensed', 'Helvetica Neue Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  /* Type sizes */
  --fs-display: clamp(2.75rem, 5vw + 1rem, 4.5rem);
  --fs-h1: clamp(2rem, 3vw + 1rem, 3rem);
  --fs-h2: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  --fs-h3: clamp(1.125rem, 1vw + 0.75rem, 1.375rem);
  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.0625rem;           /* was 1.125rem — tighter, more technical */
  --fs-small: 0.875rem;
  --fs-caption: 0.8125rem;
  --fs-micro: 0.6875rem;

  /* Spacing scale (8px base) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --container-wide: 1440px;

  /* Effects */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(20, 25, 28, 0.06);
  --shadow: 0 4px 16px rgba(20, 25, 28, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 25, 28, 0.12);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. RESET AND BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Plex has its own technical character — no need for cv/ss overrides */
  font-feature-settings: "kern", "liga";
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-green-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-green); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 3px; }
::selection { background: var(--brand-green); color: white; }

/* ---------- 3. TYPOGRAPHY ---------- */
/* Plex Sans Condensed has a stronger industrial character than Space
   Grotesk. It is used only for H1/H2/H3 display treatments. Body text
   uses Plex Sans regular for readability. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--industrial-dark);
  letter-spacing: -0.01em;           /* Plex Condensed needs less tightening */
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.012em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.006em; }
h4 { font-size: var(--fs-body-lg); font-weight: 600; letter-spacing: 0; }
p { margin-bottom: var(--sp-2); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--industrial-dark); }

/* Legacy .eyebrow class retained for backwards compatibility only —
   the preferred pattern is .spec-header (below). New content should
   not use .eyebrow. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--industrial-mid);
  display: inline-block;
  margin-bottom: var(--sp-2);
  font-feature-settings: "tnum";
}
.eyebrow.on-dark { color: var(--industrial-neutral); }

/* .spec-header — controlled-document strip used at the top of major sections.
   Mono font + bordered top/bottom + cell dividers. */
.spec-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule-heavy);
  border-bottom: 1px solid var(--rule-heavy);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--industrial-mid);
  margin-bottom: var(--sp-4);
  font-feature-settings: "tnum";
  flex-wrap: wrap;
}
.spec-header > span {
  padding-right: var(--sp-2);
  border-right: 1px solid var(--rule-grey);
}
.spec-header > span:last-child {
  border-right: none;
  padding-right: 0;
  margin-left: auto;
}
.spec-header.on-dark {
  border-color: var(--industrial-mid);
  color: var(--industrial-neutral);
}
.spec-header.on-dark > span {
  border-right-color: var(--industrial-slate);
}

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.lead {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  line-height: 1.52;
}

/* ---------- 4. LAYOUT UTILITIES ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-3); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-3); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--sp-3); }
.section { padding: var(--sp-7) 0; }
.section-sm { padding: var(--sp-5) 0; }
.section-lg { padding: var(--sp-8) 0; }
.section-dark { background: var(--industrial-dark); color: rgba(255,255,255,0.88); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark .lead { color: rgba(255,255,255,0.72); }
.section-tint { background: var(--surface-tint); }
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- 5. SKIP LINK (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--industrial-dark);
  color: white;
  padding: var(--sp-2) var(--sp-3);
  z-index: 1000;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: white; }

/* ---------- 6. HEADER AND NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule-light);
  z-index: 100;
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
/* ---------- 6. NAVIGATION ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  position: relative;
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  z-index: 101;
}
.nav-brand img { height: 40px; width: auto; }
.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: var(--industrial-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Default link styling scoped to plain items only, not the CTA, so the
     CTA does not inherit body-text colour. */
.nav-links > li > a:not(.nav-cta):not(.nav-portal) {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-body);
  padding: var(--sp-1) 0;
  position: relative;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links > li > a:not(.nav-cta):not(.nav-portal)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav-links > li > a:not(.nav-cta):not(.nav-portal):hover::after,
.nav-links > li > a:not(.nav-cta):not(.nav-portal).active::after { transform: scaleX(1); }
.nav-links > li > a:not(.nav-cta):not(.nav-portal):hover { color: var(--industrial-dark); }

/* Contact CTA — explicitly high-specificity rules so dark body text
   never leaks into the button. */
.nav-links .nav-cta,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--industrial-dark);
  color: #FFFFFF !important;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background var(--transition);
  min-height: 40px;
}
.nav-links .nav-cta:hover,
.nav-cta:hover {
  background: var(--brand-green);
  color: #FFFFFF !important;
}
/* Kill the ::after underline for the CTA specifically */
.nav-links .nav-cta::after { display: none; }

/* Partners Portal button — secondary CTA, sits next to Contact in the header.
   Outlined style so it doesn't compete with the primary Contact button.
   Includes a small inline lock-icon SVG to signal that it leads to a gated area. */
.nav-links .nav-portal,
.nav-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--industrial-dark) !important;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule-grey);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  min-height: 40px;
}
.nav-links .nav-portal:hover,
.nav-portal:hover {
  border-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--industrial-dark) !important;
}
.nav-links .nav-portal::after { display: none; }
.nav-portal-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.nav-portal-icon path { stroke: currentColor; }

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 102;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--industrial-dark);
  transition: all var(--transition);
  border-radius: 2px;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span { background: #FFFFFF; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile-menu logo — visible only inside the open overlay */
.mobile-menu-header {
  display: none;
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }

  /* Brand in the header bar stays visible at all times */
  .nav-brand-text { font-size: 1rem; }

  /* Full-screen overlay menu */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--industrial-dark);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    border-bottom: 0;
    box-shadow: none;
    transform: translateY(-100%);
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 100;
  }
  .nav-links.open { transform: translateY(0); }

  /* Logo at the top of the open overlay */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    height: 76px;
    padding: 0 var(--sp-3);
    border-bottom: 1px solid var(--industrial-slate);
    flex-shrink: 0;
  }
  .mobile-menu-header img {
    height: 40px;
    width: auto;
  }
  .mobile-menu-header span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    color: #FFFFFF;
  }

  /* Menu items — large tap targets on dark */
  .nav-links > li {
    list-style: none;
    border-bottom: 1px solid var(--industrial-slate);
  }
  .nav-links > li > a:not(.nav-cta):not(.nav-portal) {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    padding: 1.125rem var(--sp-3);
    width: 100%;
  }
  .nav-links > li > a:not(.nav-cta):not(.nav-portal):hover,
  .nav-links > li > a:not(.nav-cta):not(.nav-portal):active {
    background: var(--industrial-slate);
    color: #FFFFFF;
  }
  /* Disable underline indicator in mobile */
  .nav-links > li > a:not(.nav-cta):not(.nav-portal)::after { display: none; }

  /* Partners Portal — on mobile, render as a full-width outlined item with
     accent border-left strip. Lock icon stays. Sits inside the menu, not
     pinned to the bottom (Contact remains the primary bottom CTA). */
  .nav-links > li.nav-portal-wrap {
    border-bottom: 1px solid var(--industrial-slate);
  }
  .nav-links .nav-portal {
    display: flex;
    width: 100%;
    padding: 1.125rem var(--sp-3);
    border: 0;
    border-left: 3px solid var(--brand-green);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.125rem;
    justify-content: flex-start;
    gap: 0.625rem;
  }
  .nav-links .nav-portal:hover,
  .nav-links .nav-portal:active {
    background: var(--industrial-slate);
    color: #FFFFFF !important;
  }
  .nav-links .nav-portal .nav-portal-icon {
    width: 16px;
    height: 16px;
  }

  /* Mobile CTA — full-width emphasis button below list */
  .nav-links > li.nav-cta-wrap {
    border-bottom: 0;
    padding: var(--sp-3);
    margin-top: auto;
  }
  .nav-links .nav-cta {
    display: flex;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.0625rem;
    background: var(--brand-green);
    color: #FFFFFF !important;
    border-radius: var(--radius);
  }
  .nav-links .nav-cta:hover,
  .nav-links .nav-cta:active {
    background: var(--brand-green-dark);
  }

  /* Prevent body scroll when menu open — helper class added by JS */
  body.menu-open { overflow: hidden; }

  /* IMPORTANT: backdrop-filter on .site-header creates a containing block
     for fixed-position descendants (CSS spec §Containing block for fixed
     positioning). That prevents .nav-links overlay from covering the full
     viewport on mobile. Drop the backdrop-filter in mobile to fix. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #FFFFFF;
  }
}

/* ---------- 7. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-green);
  color: white;
}
.btn-primary:hover { background: var(--brand-green-dark); color: white; }
.btn-dark { background: var(--industrial-dark); color: white; }
.btn-dark:hover { background: var(--industrial-deep); color: white; }
.btn-outline { background: transparent; color: var(--industrial-dark); border: 1.5px solid var(--industrial-dark); }
.btn-outline:hover { background: var(--industrial-dark); color: white; }
.btn-outline-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: white; color: var(--industrial-dark); border-color: white; }
.btn-arrow::after {
  content: "→";
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  background: var(--industrial-dark);
  color: white;
  padding: var(--sp-8) 0 var(--sp-7);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1200px 600px at 85% 30%, rgba(47,174,58,0.12), transparent 60%),
    radial-gradient(800px 400px at 15% 80%, rgba(47,174,58,0.06), transparent 60%);
  pointer-events: none;
}
.hero::after {
  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: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}
.hero > * { position: relative; z-index: 1; }
.hero-inner { max-width: 920px; }
.hero-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-4);
  color: white;
  font-feature-settings: "kern";
  max-width: 22ch;                   /* terser, declarative hero */
}
/* Hero headline: upright white display. Accent emphasis handled with weight, not colour. */
.hero-display .accent {
  color: white;
  font-style: normal;
  font-weight: 500;
  transform: none;
}
/* Hero container: reserve right space for static spec-diagram SVG */
.hero-inner {
  max-width: 62%;
}
@media (max-width: 1100px) {
  .hero-inner { max-width: 720px; }
}
.hero-lead {
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 62ch;
  margin-bottom: var(--sp-4);
}
.hero-cta {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
}
.hero-meta {
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.4);
  text-align: right;
  z-index: 1;
}
@media (max-width: 768px) { .hero-meta { display: none; } }

/* ---------- 9. DIVISIONS SHOWCASE ---------- */
.divisions { padding: var(--sp-7) 0; background: var(--white); }
.divisions-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--rule-light);
}
.divisions-header h2 { max-width: 540px; }
.divisions-header p { max-width: 420px; color: var(--text-muted); }
@media (max-width: 768px) { .divisions-header { grid-template-columns: 1fr; } }

.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (max-width: 900px) { .division-grid { grid-template-columns: 1fr; } }

.division-card {
  background: var(--white);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  min-height: 380px;
  text-decoration: none;
  color: inherit;
  /* No hover transform — static spec-sheet feel. */
}
.division-card:hover { background: var(--surface-panel); color: inherit; }
.division-card:hover .division-card-arrow { color: var(--brand-green); }
/* .division-number — mono-font document identifier (e.g. HX-DIV-I), shown
   as a tagged tag, not a decorative numeral. */
.division-number {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--industrial-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-light);
}
.division-card h3 {
  font-size: 1.375rem;
  line-height: 1.15;
  margin-bottom: var(--sp-1);
  color: var(--industrial-dark);
}
.division-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.52;
}
.division-card ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule-light);
}
.division-card ul li {
  font-size: var(--fs-small);
  color: var(--text-body);
  padding-left: 0.875rem;
  position: relative;
}
/* Bullet is a thin horizontal tick, not a decorative square. */
.division-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--industrial-mid);
}
.division-card-arrow {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--industrial-neutral);
  font-family: var(--font-mono);
}

/* ---------- 10. FEATURE STRIP (Moto-Truck anchor) ---------- */
.feature-strip {
  background: var(--industrial-dark);
  color: white;
  padding: var(--sp-6) 0;
  position: relative;
  overflow: hidden;
}
.feature-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 360px;
  height: 100%;
  background: var(--brand-green);
  clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
  opacity: 0.06;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; gap: var(--sp-4); } }
.feature-label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--industrial-neutral);
  margin-bottom: var(--sp-2);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--industrial-mid);
  display: inline-block;
  padding-right: var(--sp-3);
}
.feature-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: var(--sp-3);
}
.feature-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.feature-meta dt {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.feature-meta dd {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* ---------- 11. COMPLIANCE TEASER ---------- */
.compliance-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-top: var(--sp-4);
}
.compliance-item {
  background: white;
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.compliance-item-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compliance-item-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--industrial-dark);
  line-height: 1.3;
}

/* ---------- 12. STATS (for credibility) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  margin: var(--sp-4) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--brand-green);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.stat-label {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.7);
}

/* ---------- 13. WARNING CALLOUT (Vol III classification) ---------- */
.callout {
  padding: var(--sp-3);
  border-left: 4px solid var(--warn-amber);
  background: var(--warn-amber-bg);
  margin: var(--sp-3) 0;
}
.callout.on-dark {
  background: rgba(184, 138, 0, 0.12);
  border-left-color: var(--warn-amber);
  color: rgba(255,255,255,0.9);
}
.callout-label {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warn-amber);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.callout p { margin-bottom: 0; font-size: var(--fs-small); line-height: 1.5; }

/* ---------- 14. PARTNERS (tiered) ---------- */
.partners-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
.partner-cell {
  background: white;
  padding: var(--sp-3);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.partner-tier {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--industrial-mid);
}
.partner-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--industrial-dark);
  font-size: 1.125rem;
}
.partner-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ---------- 15. NEWS/ARTICLE CARDS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-3);
}
.news-card {
  background: white;
  border: 1px solid var(--rule-light);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.news-card:hover { border-color: var(--industrial-mid); color: inherit; }
.news-date {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.news-card h3 { font-size: 1.125rem; line-height: 1.3; }
.news-card p { font-size: var(--fs-small); color: var(--text-muted); }

/* ---------- 16. BREADCRUMBS ---------- */
.breadcrumbs {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumbs li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--rule-grey);
}
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs li:last-child { color: var(--industrial-dark); font-weight: 500; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand-green-dark); }

/* ---------- 17. PAGE HEADER (non-home pages) ---------- */
.page-header {
  background: var(--industrial-dark);
  color: white;
  padding: var(--sp-6) 0 var(--sp-5);
  position: relative;
  overflow: hidden;
}
/* Page-header reads as a controlled-document section identifier — flat dark
   panel with bordered eyebrow strip. */
.page-header-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--industrial-neutral);
  margin-bottom: var(--sp-2);
  padding: 0.375rem 0;
  border-top: 1px solid var(--industrial-mid);
  border-bottom: 1px solid var(--industrial-mid);
  padding-left: 0;
  padding-right: var(--sp-3);
  min-width: 200px;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  line-height: 1.08;
  color: white;
  max-width: 820px;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.015em;
}
.page-header-lead {
  font-size: var(--fs-body-lg);
  color: rgba(255,255,255,0.78);
  max-width: 680px;
}

/* ---------- 18. CONTENT LAYOUT (division + other content pages) ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; gap: var(--sp-3); } }
.sidebar {
  position: sticky;
  top: 100px;
  font-size: var(--fs-small);
}
.sidebar-title {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: var(--sp-1);
  margin-bottom: var(--sp-2);
  border-bottom: 1px solid var(--rule-light);
}
.sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 0.125rem; }
.sidebar a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-body);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.sidebar a:hover { background: var(--surface-tint); color: var(--industrial-dark); }
.sidebar a.active {
  border-left-color: var(--brand-green);
  background: var(--brand-green-light);
  color: var(--industrial-dark);
  font-weight: 500;
}
.prose { max-width: 720px; }
.prose h2 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-4); margin-bottom: var(--sp-1); color: var(--industrial-dark); font-size: 1.25rem; font-weight: 600; }
.prose p { margin-bottom: var(--sp-2); font-size: var(--fs-body-lg); line-height: 1.62; color: var(--text-body); max-width: 68ch; }
.prose ul, .prose ol { margin: var(--sp-2) 0 var(--sp-3) 1.25rem; max-width: 68ch; }
.prose li { margin-bottom: 0.5rem; font-size: var(--fs-body-lg); line-height: 1.58; }
.prose blockquote {
  margin: var(--sp-3) 0;
  padding: var(--sp-2) var(--sp-3);
  border-left: 3px solid var(--brand-green);
  background: var(--surface-tint);
  font-size: var(--fs-body-lg);
  font-style: italic;
  color: var(--industrial-dark);
}
.prose strong { color: var(--industrial-dark); font-weight: 600; }

/* Capability grid used on division pages */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin: var(--sp-4) 0;
}
.capability-item {
  background: white;
  padding: var(--sp-3);
}
.capability-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--industrial-dark);
}
.capability-item p {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- 19. FOOTER ---------- */
.site-footer {
  background: var(--industrial-deep);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-6) 0 var(--sp-3);
  font-size: var(--fs-small);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-main { grid-template-columns: 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.footer-brand-mark img { height: 44px; width: 44px; flex-shrink: 0; }
.footer-brand-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}
.footer-brand p { font-size: var(--fs-small); line-height: 1.5; }
.footer-brand .legal-name { color: white; font-weight: 600; font-family: var(--font-display); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--brand-green); }

.footer-bottom {
  padding-top: var(--sp-3);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) { .footer-bottom { grid-template-columns: 1fr; } }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--brand-green); }
.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
}
.footer-credit strong {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: white;
  font-weight: 500;
}

/* ---------- 20. COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-2);
  left: var(--sp-2);
  right: var(--sp-2);
  max-width: 720px;
  margin: 0 auto;
  background: var(--industrial-dark);
  color: white;
  padding: var(--sp-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  z-index: 200;
  transform: translateY(calc(100% + 24px));
  transition: transform var(--transition-slow);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: var(--fs-small); margin: 0; flex: 1; color: rgba(255,255,255,0.85); }
.cookie-banner a { color: var(--brand-green); }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-actions button {
  padding: 0.5rem 1rem;
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-accept { background: var(--brand-green); color: white; }
.cookie-accept:hover { background: var(--brand-green-dark); }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.cookie-decline:hover { color: white; border-color: white; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; }
}

/* ---------- 21. REVEAL ANIMATION (no-op) ---------- */
/* The .reveal class is intentionally a no-op. Content is visible on load.
   Retained as a hook in case a controlled motion behaviour is reintroduced. */
.reveal,
.reveal.is-visible,
.reveal.delay-1,
.reveal.delay-2,
.reveal.delay-3,
.reveal.delay-4 {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- 22. CLASSIFICATION BADGE (for Division II specific treatment) ---------- */
.classification-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warn-amber);
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--warn-amber);
  background: var(--warn-amber-bg);
  border-radius: var(--radius-sm);
}
.classification-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--warn-amber);
  border-radius: 50%;
}

/* ---------- 23. CONTACT FORMS ---------- */
.form-grid { display: grid; gap: var(--sp-2); }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-field label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--industrial-dark);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: inherit;
  font-size: var(--fs-body);
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule-grey);
  border-radius: var(--radius);
  background: white;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px var(--brand-green-light);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-consent {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-consent input { margin-top: 0.25rem; }

/* ============================================================
 24. SVG GRAPHICS ( — static only, no animation)
 ============================================================
 Classification-neutral engineering diagrams placed on the right
 of the hero (home) and beside page headers (divisions,
 compliance). All animation removed — motion is one of
 the things that made the site read as tech-startup / consumer
 web rather than engineering/defence register.
 ============================================================ */

.hero {
  position: relative;
}
.hero-container {
  position: relative;
  z-index: 2;
}
.hero-graphic {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: min(520px, 38vw);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}
.hero-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 1100px) {
  .hero-graphic { opacity: 0.22; right: -40px; width: 440px; }
}
@media (max-width: 768px) {
  .hero-graphic { display: none; }
}

/* Division / compliance page-header graphic */
.page-header {
  position: relative;
  overflow: hidden;
}
.page-header-graphic {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}
.page-header-graphic svg,
.page-header-graphic object { width: 100%; height: 100%; display: block; }
.page-header-graphic object { pointer-events: none; }
.page-header > .container { position: relative; z-index: 1; }
@media (max-width: 1024px) {
  .page-header-graphic { opacity: 0.15; }
}

/* Reduced motion: no-op (no animations to disable). */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
 25. CAPABILITY MATRIX ============================================================
 Specification-sheet table replacing the marketing stats band.
 Used on home page + divisions capability strips.
 ============================================================ */
.capability-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-4);
  font-size: var(--fs-small);
}
.capability-matrix caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--industrial-mid);
  padding-bottom: 0.75rem;
}
.capability-matrix thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--industrial-mid);
  border-bottom: 1px solid var(--industrial-mid);
}
.capability-matrix tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 0.875rem 1rem 0.875rem 0;
  vertical-align: top;
  width: 28%;
  border-bottom: 1px solid var(--industrial-slate);
}
.capability-matrix tbody td {
  padding: 0.875rem 1rem;
  color: rgba(255,255,255,0.88);
  vertical-align: top;
  border-bottom: 1px solid var(--industrial-slate);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.capability-matrix tbody tr:last-child th,
.capability-matrix tbody tr:last-child td {
  border-bottom: none;
}
/* Light-bg variant for use outside section-dark */
.section:not(.section-dark) .capability-matrix thead th {
  color: var(--industrial-mid);
  border-color: var(--rule-heavy);
}
.section:not(.section-dark) .capability-matrix tbody th {
  color: var(--text-muted);
  border-color: var(--rule-light);
}
.section:not(.section-dark) .capability-matrix tbody td {
  color: var(--text-body);
  border-color: var(--rule-light);
}
