/* ==========================================================================
   Batho Pele Group — site stylesheet
   GENERATED from the Batho Pele Group design system. Do not hand-edit the
   token block below: change tokens.json in the design system and recompile,
   otherwise the site and the system drift apart again.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap");

:root {
  /* colour */
  --brand-600: #2e3192;
  --brand-700: #23256e;
  --brand-500: #4a4db0;
  --brand-300: #8f93e8;
  --brand-200: #c3c6e9;
  --brand-100: #dcdef4;
  --brand-050: #e3e7f6;
  --surface-page: #ffffff;
  --surface-tint: #e9ecf8;
  --surface-sunk: #e1e5f4;
  --surface-dark: #14163f;
  --surface-dark-raised: #1d2054;
  --line: #dfe2ef;
  --line-strong: #c6cadc;
  --line-dark: #2e3270;
  --ink: #14163f;
  --ink-body: #3d4260;
  --ink-muted: #5a6080;
  --ink-on-dark: #ffffff;
  --ink-on-dark-body: #c5c9e4;
  --ink-on-dark-muted: #9198c8;
  --ink-on-brand: #ffffff;
  --signal-positive: #16704f;
  --signal-caution: #8a5a12;
  --signal-critical: #a32b1a;
  --focus-ring: #2e3192;
  --focus-ring-on-dark: #a9adee;
  --hex-lattice: #eff1f9;
  --hex-lattice-on-dark: #1e2252;

  /* type families */
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* shadow */
  --shadow-hairline: 0 1px 2px rgba(20,22,63,0.05);
  --shadow-raised: 0 2px 4px rgba(20,22,63,0.06), 0 8px 24px rgba(20,22,63,0.06);
  --shadow-dark: 0 16px 48px rgba(0,0,0,0.35);

  /* border */
  --border-hairline: 1px;
  --border-emphasis: 1.5px;
  --border-rule: 2px;

  /* layout */
  --width-content: 1200px;
  --width-narrow: 760px;
  --width-prose: 620px;
}

/* Batho Pele Group — component layer.
   Reads only design tokens. Load after tokens.css.
   Every component here is used on the live site; nothing is invented per page. */

/* ---------------------------------------------------------------- base */

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

.bpg-body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Resets are written at zero specificity (:where) on purpose. A reset that
   outweighs a component rule is how spacing silently disappears. */
:where(.bpg-body) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, figcaption, blockquote, hr, form) { margin: 0; }
:where(.bpg-body) :where(ul, ol) { padding: 0; list-style: none; }
:where(.bpg-body) :where(img, svg) { display: block; max-width: 100%; }

:where(.bpg-body) a { color: var(--brand-700); }
:where(.bpg-body) a:hover { color: var(--brand-600); }

:where(.bpg-body) :focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
.bpg-section--dark :focus-visible,
.bpg-footer :focus-visible { outline-color: var(--focus-ring-on-dark); }

.bpg-skip {
  position: absolute; left: var(--space-4); top: calc(var(--space-2) * -6);
  z-index: 100;
  background: var(--brand-600); color: var(--ink-on-brand);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 120ms ease;
}
.bpg-skip:focus { top: var(--space-4); color: var(--ink-on-brand); }

/* ------------------------------------------------------------- layout */

.bpg-container {
  width: 100%;
  max-width: var(--width-content);
  margin-inline: auto;
}

.bpg-section {
  position: relative;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
  background: var(--surface-page);
}
.bpg-section--tint { background: var(--surface-tint); }
.bpg-section--sunk { background: var(--surface-sunk); }
.bpg-section--dark { background: var(--surface-dark); color: var(--ink-on-dark-body); }
.bpg-section--tall { padding-block: clamp(var(--space-20), 10vw, var(--space-32)); }
.bpg-section--short { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }
.bpg-section--ruled { border-top: var(--border-hairline) solid var(--line); }
.bpg-section--dark + .bpg-section--dark { padding-top: 0; }

.bpg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
}
.bpg-split--wide-start { grid-template-columns: 1.25fr 1fr; }
.bpg-split--wide-end { grid-template-columns: 1fr 1.25fr; }

.bpg-grid { display: grid; gap: var(--space-8); }
.bpg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bpg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bpg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bpg-prose { max-width: var(--width-prose); }
.bpg-narrow { max-width: var(--width-narrow); }
.bpg-stack > * + * { margin-top: var(--space-4); }

/* --------------------------------------------------------- typography */

.bpg-display {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.5rem);
  line-height: 1.02; letter-spacing: -0.022em;
  color: var(--ink); text-wrap: balance;
}
.bpg-h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.bpg-h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink); text-wrap: balance;
}
.bpg-h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ink);
}
.bpg-subhead {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
}
.bpg-lede {
  font-size: 1.1875rem; line-height: 1.6; color: var(--ink-body);
  text-wrap: pretty;
}
.bpg-text { font-size: 1rem; line-height: 1.65; color: var(--ink-body); text-wrap: pretty; }
.bpg-text-sm { font-size: 0.875rem; line-height: 1.6; color: var(--ink-body); }
.bpg-caption { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-muted); }
.bpg-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.bpg-eyebrow {
  display: block;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.bpg-section--dark .bpg-display,
.bpg-section--dark .bpg-h1,
.bpg-section--dark .bpg-h2,
.bpg-section--dark .bpg-h3,
.bpg-section--dark .bpg-subhead { color: var(--ink-on-dark); }
.bpg-section--dark .bpg-lede,
.bpg-section--dark .bpg-text,
.bpg-section--dark .bpg-text-sm { color: var(--ink-on-dark-body); }
.bpg-section--dark .bpg-caption { color: var(--ink-on-dark-muted); }
.bpg-section--dark .bpg-eyebrow { color: var(--brand-300); }

/* ---------------------------------------------------- section heading */

.bpg-head { max-width: var(--width-narrow); }
.bpg-head > .bpg-eyebrow + * { margin-top: var(--space-5); }
.bpg-head > * + .bpg-lede { margin-top: var(--space-5); }
.bpg-head > * + .bpg-text { margin-top: var(--space-4); }
.bpg-head + * { margin-top: clamp(var(--space-10), 4vw, var(--space-12)); }
.bpg-head--center { margin-inline: auto; text-align: center; }
.bpg-head--full { max-width: none; }

.bpg-rule {
  width: var(--space-10);
  height: var(--border-rule);
  margin: var(--space-6) 0 0;
  background: var(--brand-600);
  border: 0;
}
.bpg-section--dark .bpg-rule { background: var(--brand-300); }
.bpg-head--center .bpg-rule { margin-inline: auto; }

/* ------------------------------------------------------------ buttons */

.bpg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans); font-weight: 600;
  font-size: 0.9375rem; line-height: 1.2; letter-spacing: 0.005em;
  padding: var(--space-4) var(--space-8);
  border: var(--border-emphasis) solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.bpg-btn--primary { background: var(--brand-600); color: var(--ink-on-brand); }
.bpg-btn--primary:hover { background: var(--brand-700); color: var(--ink-on-brand); }

.bpg-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.bpg-btn--ghost:hover { background: var(--surface-sunk); border-color: var(--ink); color: var(--ink); }

.bpg-btn--on-dark { background: var(--surface-page); color: var(--brand-700); }
.bpg-btn--on-dark:hover { background: var(--brand-100); color: var(--brand-700); }

.bpg-btn--ghost-dark { background: transparent; color: var(--ink-on-dark); border-color: var(--brand-500); }
.bpg-btn--ghost-dark:hover { background: var(--surface-dark-raised); border-color: var(--brand-300); color: var(--ink-on-dark); }

.bpg-btn--sm { padding: var(--space-3) var(--space-5); font-size: 0.875rem; }

.bpg-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.bpg-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem;
  color: var(--ink); text-decoration: none;
  border-bottom: var(--border-rule) solid var(--brand-600);
  padding-bottom: 2px;
  transition: gap 160ms ease, border-color 160ms ease;
}
.bpg-arrow:hover { gap: var(--space-3); color: var(--ink); border-color: var(--brand-700); }
.bpg-section--dark .bpg-arrow { color: var(--ink-on-dark); border-color: var(--brand-300); }

/* -------------------------------------------------------------- cards */

.bpg-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--space-8);
  background: var(--surface-page);
  border: var(--border-hairline) solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hairline);
}
.bpg-section--tint .bpg-card,
.bpg-section--sunk .bpg-card { background: var(--surface-page); }

.bpg-card > * + * { margin-top: var(--space-4); }
.bpg-card > .bpg-hex + * { margin-top: var(--space-6); }

.bpg-card--link { text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.bpg-card--link:hover { border-color: var(--line-strong); box-shadow: var(--shadow-raised); transform: translateY(-2px); }

.bpg-card--dark {
  background: var(--surface-dark-raised);
  border-color: var(--line-dark);
  box-shadow: none;
}
.bpg-card--dark .bpg-subhead, .bpg-card--dark .bpg-h3 { color: var(--ink-on-dark); }
.bpg-card--dark .bpg-text, .bpg-card--dark .bpg-text-sm { color: var(--ink-on-dark-body); }
.bpg-card--flat { box-shadow: none; background: var(--surface-tint); }
.bpg-card--pad-lg { padding: var(--space-10); }

/* ------------------------------------------------ hexagon badge (motif) */

.bpg-hex {
  --bpg-hex-size: 40px;
  position: relative;
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: var(--bpg-hex-size); height: var(--bpg-hex-size);
  background: var(--brand-600);
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
}
.bpg-hex > * { grid-area: 1 / 1; }
.bpg-hex__num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: calc(var(--bpg-hex-size) * 0.32);
  line-height: 1; letter-spacing: 0;
  color: var(--ink-on-brand);
}
.bpg-hex__icon {
  width: calc(var(--bpg-hex-size) * 0.46);
  height: calc(var(--bpg-hex-size) * 0.46);
  fill: none; stroke: var(--ink-on-brand);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.bpg-hex--sm { --bpg-hex-size: 32px; }
.bpg-hex--lg { --bpg-hex-size: 56px; }
.bpg-hex--xl { --bpg-hex-size: 72px; }

/* On a dark ground the solid brand fill disappears: invert it. */
.bpg-hex--on-dark { background: var(--brand-100); }
.bpg-hex--on-dark .bpg-hex__num { color: var(--brand-700); }
.bpg-hex--on-dark .bpg-hex__icon { stroke: var(--brand-700); }

/* Quiet variant for dense lists — still a solid fill, never a pale outline. */
.bpg-hex--quiet { background: var(--brand-100); }
.bpg-hex--quiet .bpg-hex__num { color: var(--brand-700); }
.bpg-hex--quiet .bpg-hex__icon { stroke: var(--brand-700); }

/* --------------------------------------------- decorative hex lattice */

/* The hexagon motif as an ambient device, not wallpaper. It is masked back
   to a single corner so it reads as a watermark at the edge of a band and
   never competes with the type. If you can read the pattern before you read
   the headline, it is too strong. */
.bpg-lattice {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 90% 4%, #000 0%, rgba(0, 0, 0, 0.45) 38%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 78% at 90% 4%, #000 0%, rgba(0, 0, 0, 0.45) 38%, transparent 70%);
}
.bpg-lattice--start {
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 8% 6%, #000 0%, rgba(0, 0, 0, 0.45) 38%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 78% at 8% 6%, #000 0%, rgba(0, 0, 0, 0.45) 38%, transparent 70%);
}
.bpg-lattice svg { width: 100%; height: 100%; }
.bpg-lattice__cell { fill: none; stroke: var(--hex-lattice); stroke-width: 1; }
.bpg-section--dark .bpg-lattice__cell { stroke: var(--hex-lattice-on-dark); }
.bpg-section > .bpg-container { position: relative; z-index: 1; }

/* --------------------------------------------------------- stat strip */

.bpg-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--border-hairline) solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  gap: var(--border-hairline);
}
.bpg-stats__cell { background: var(--surface-page); padding: var(--space-8); }
.bpg-stats__figure {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.bpg-stats__label { margin-top: var(--space-2); font-size: 0.875rem; line-height: 1.5; color: var(--ink-muted); }

/* The same strip on a dark band: cells lift off the ground with
   surface-dark-raised, divided by line-dark rather than by a lighter rule. */
.bpg-section--dark .bpg-stats { background: var(--line-dark); border-color: var(--line-dark); }
.bpg-section--dark .bpg-stats__cell { background: var(--surface-dark-raised); }
.bpg-section--dark .bpg-stats__figure { color: var(--ink-on-dark); }
.bpg-section--dark .bpg-stats__label { color: var(--ink-on-dark-muted); }

/* ------------------------------------------------------ process steps */

.bpg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); }
.bpg-step { position: relative; padding-top: var(--space-6); border-top: var(--border-rule) solid var(--brand-600); }
.bpg-section--dark .bpg-step { border-top-color: var(--brand-500); }
.bpg-step > .bpg-hex { margin-bottom: var(--space-5); }
.bpg-step__title { margin-bottom: var(--space-2); }

/* --------------------------------------------------------- spec list */

.bpg-specs { display: flex; flex-direction: column; gap: var(--space-3); }
.bpg-specs li {
  position: relative;
  padding-left: var(--space-6);
  font-size: 1rem; line-height: 1.6;
  color: var(--ink-body);
}
.bpg-specs li::before {
  content: ""; position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: var(--border-rule);
  background: var(--brand-600);
}
.bpg-section--dark .bpg-specs li { color: var(--ink-on-dark-body); }
.bpg-section--dark .bpg-specs li::before { background: var(--brand-300); }

/* ------------------------------------------------------ figure plate */

.bpg-plate {
  position: relative;
  border: var(--border-hairline) solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--brand-050);
  padding: var(--space-8);
  overflow: hidden;
}
.bpg-plate--sunk { background: var(--surface-sunk); }
.bpg-plate--dark { background: var(--surface-dark-raised); border-color: var(--line-dark); }
.bpg-plate__caption {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: var(--border-hairline) solid var(--line);
  font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.01em;
  color: var(--ink-muted);
}
.bpg-plate--dark .bpg-plate__caption { border-top-color: var(--line-dark); color: var(--ink-on-dark-muted); }

/* ------------------------------------------------------- sector card */

.bpg-sector {
  display: flex; flex-direction: column;
  background: var(--surface-page);
  border: var(--border-hairline) solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-hairline);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.bpg-sector:hover { border-color: var(--line-strong); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.bpg-sector__figure {
  background: var(--brand-050);
  border-bottom: var(--border-hairline) solid var(--line);
  padding: var(--space-8);
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
}
.bpg-sector__figure svg { width: 100%; height: 100%; }
.bpg-sector__body { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.bpg-sector__body .bpg-eyebrow { color: var(--brand-700); }
.bpg-sector__foot {
  margin-top: auto; padding-top: var(--space-5);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.875rem;
  color: var(--brand-700);
}

/* -------------------------------------------------------------- pill */

.bpg-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: var(--border-hairline) solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); background: var(--surface-page);
}
.bpg-section--dark .bpg-pill { border-color: var(--line-dark); color: var(--ink-on-dark-muted); background: transparent; }

/* --------------------------------------------------------------- nav */

/* -------------------------------------------------------------- logo */
/* The mark and the wordmark are the company's own artwork, set side by side.
   Neither is redrawn, recoloured or stretched. */

.bpg-logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.bpg-logo__mark { height: 40px; width: auto; }
.bpg-logo__word { height: 15px; width: auto; }

/* The mark is brand-600 on transparent, so on surface-dark it all but
   disappears. It sits on a surface-page plate rather than being recoloured. */
.bpg-logo--plate {
  background: var(--surface-page);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.bpg-logo--plate .bpg-logo__mark { height: 34px; }
.bpg-logo--plate .bpg-logo__word { height: 13px; }

.bpg-seal { width: 104px; height: auto; flex: 0 0 auto; }

/* --------------------------------------------------------------- nav */

.bpg-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-hairline) solid var(--line);
}
.bpg-nav__inner {
  max-width: var(--width-content); margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
.bpg-nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.bpg-nav__links { display: flex; align-items: center; gap: var(--space-6); }
.bpg-nav__link {
  position: relative;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.875rem; line-height: 1.2;
  color: var(--ink-body); text-decoration: none;
  padding-block: var(--space-2);
}
.bpg-nav__link:hover { color: var(--ink); }
.bpg-nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.bpg-nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: var(--border-rule); background: var(--brand-600); border-radius: var(--radius-xs);
}
.bpg-nav__end { display: flex; align-items: center; gap: var(--space-5); flex-shrink: 0; }
.bpg-nav__tel {
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-body);
  text-decoration: none; white-space: nowrap;
}
.bpg-nav__tel:hover { color: var(--brand-700); }
@media (max-width: 1180px) { .bpg-nav__tel { display: none; } }
.bpg-nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: var(--border-hairline) solid var(--line-strong);
  border-radius: var(--radius-md); cursor: pointer; color: var(--ink);
}
.bpg-nav__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.bpg-nav__cta-mobile { display: none; }
.bpg-nav__toggle .bpg-nav__close { display: none; }
.bpg-nav__toggle[aria-expanded="true"] .bpg-nav__close { display: block; }
.bpg-nav__toggle[aria-expanded="true"] .bpg-nav__open { display: none; }

/* -------------------------------------------------------- breadcrumb */

.bpg-crumb { font-size: 0.8125rem; color: var(--ink-muted); margin-bottom: var(--space-5); }
.bpg-crumb a { color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.bpg-crumb a:hover { color: var(--brand-700); border-color: var(--brand-600); }
.bpg-crumb span { margin-inline: var(--space-2); color: var(--ink-muted); }

/* --------------------------------------------------------- page head */

.bpg-pagehead {
  position: relative;
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
  background: var(--surface-tint);
  border-bottom: var(--border-hairline) solid var(--line);
  overflow: hidden;
}
.bpg-pagehead > .bpg-container { position: relative; z-index: 1; }

/* ----------------------------------------------------------- the map */

.bpg-map {
  border: var(--border-hairline) solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  background: var(--surface-sunk);
}
.bpg-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ------------------------------------------------- capability list */

.bpg-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-12); }
.bpg-cap { display: flex; gap: var(--space-5); }
.bpg-cap__title { margin-bottom: var(--space-2); }

/* ------------------------------------------------------------- forms */

.bpg-form { display: flex; flex-direction: column; gap: var(--space-5); }
.bpg-field { display: flex; flex-direction: column; gap: var(--space-2); }
.bpg-field__label { font-family: var(--font-sans); font-weight: 600; font-size: 0.8125rem; line-height: 1.4; color: var(--ink); }
.bpg-field__req { color: var(--signal-critical); font-weight: 600; }
.bpg-field__hint { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-muted); }
.bpg-input, .bpg-select, .bpg-textarea {
  width: 100%;
  font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.5;
  color: var(--ink);
  background: var(--surface-page);
  padding: var(--space-3) var(--space-4);
  border: var(--border-hairline) solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: border-color 160ms ease;
}
.bpg-input:hover, .bpg-select:hover, .bpg-textarea:hover { border-color: var(--ink-muted); }
.bpg-textarea { resize: vertical; min-height: 128px; }
.bpg-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: var(--space-10);
}
.bpg-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bpg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }

/* ------------------------------------------------------------ footer */

.bpg-footer {
  background: var(--surface-dark);
  color: var(--ink-on-dark-body);
  padding-block: var(--space-20) var(--space-8);
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
}
.bpg-footer__grid {
  max-width: var(--width-content); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: var(--border-hairline) solid var(--line-dark);
}
/* The footer is a dark ground but not a .bpg-section--dark, so it restates
   the dark text colours itself. */
.bpg-footer .bpg-text, .bpg-footer .bpg-text-sm, .bpg-footer .bpg-lede { color: var(--ink-on-dark-body); }
.bpg-footer .bpg-caption { color: var(--ink-on-dark-muted); }
.bpg-footer .bpg-subhead, .bpg-footer .bpg-h3 { color: var(--ink-on-dark); }
.bpg-footer__brand > .bpg-logo { margin-bottom: var(--space-6); }
.bpg-footer__title {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-on-dark-muted);
  margin-bottom: var(--space-5);
}
.bpg-footer__list { display: flex; flex-direction: column; gap: var(--space-3); }
.bpg-footer__list a { color: var(--ink-on-dark-body); font-size: 0.875rem; text-decoration: none; }
.bpg-footer__list a:hover { color: var(--ink-on-dark); }
.bpg-footer__list .bpg-mono { font-family: var(--font-mono); font-size: 0.8125rem; }
.bpg-footer__base {
  max-width: var(--width-content); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-3);
  padding-top: var(--space-6);
}
.bpg-footer__base small {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-on-dark-muted);
}
.bpg-footer__top {
  font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
  color: var(--ink-on-dark-body); text-decoration: none;
  border: var(--border-hairline) solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
}
.bpg-footer__top:hover { color: var(--ink-on-dark); border-color: var(--brand-500); }

/* ----------------------------------------------------------- figures */
/* Every illustration on the site is an inline SVG built from these classes.
   There is no photography: nothing is licensed, nothing hotlinks, nothing
   looks like a stock library. Swap a figure for a real photograph only when
   a real Batho Pele photograph exists. */

.bpg-fig { width: 100%; height: auto; display: block; overflow: visible; }
.bpg-fig .ln { fill: none; stroke: var(--brand-200); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.bpg-fig .ln-strong { fill: none; stroke: var(--brand-600); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bpg-fig .ln-hair { fill: none; stroke: var(--hex-lattice); stroke-width: 1; }
.bpg-fig .fl { fill: var(--brand-600); }
.bpg-fig .fl-soft { fill: var(--brand-100); }
.bpg-fig .fl-tint { fill: var(--brand-050); }
.bpg-fig .fl-page { fill: var(--surface-page); }
.bpg-fig .fl-ink { fill: var(--ink); }
.bpg-fig .tx {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em;
  fill: var(--ink-muted); text-transform: uppercase;
}
.bpg-fig .tx-strong {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em;
  fill: var(--ink); font-weight: 500;
}
.bpg-fig .tx-on-fill { fill: var(--ink-on-brand); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.bpg-fig .ic { fill: none; stroke: var(--ink-on-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bpg-fig .ic-soft { fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bpg-section--dark .bpg-fig .ln,
.bpg-plate--dark .bpg-fig .ln { stroke: var(--brand-500); }
.bpg-section--dark .bpg-fig .ln-strong,
.bpg-plate--dark .bpg-fig .ln-strong { stroke: var(--brand-300); }
.bpg-section--dark .bpg-fig .ln-hair,
.bpg-plate--dark .bpg-fig .ln-hair { stroke: var(--hex-lattice-on-dark); }
.bpg-section--dark .bpg-fig .fl,
.bpg-plate--dark .bpg-fig .fl { fill: var(--brand-100); }
.bpg-section--dark .bpg-fig .fl-soft,
.bpg-plate--dark .bpg-fig .fl-soft { fill: var(--brand-500); }
.bpg-section--dark .bpg-fig .fl-tint,
.bpg-plate--dark .bpg-fig .fl-tint { fill: var(--surface-dark); }
.bpg-section--dark .bpg-fig .fl-page,
.bpg-plate--dark .bpg-fig .fl-page { fill: var(--surface-dark); }
.bpg-section--dark .bpg-fig .tx,
.bpg-plate--dark .bpg-fig .tx { fill: var(--ink-on-dark-muted); }
.bpg-section--dark .bpg-fig .tx-strong,
.bpg-plate--dark .bpg-fig .tx-strong { fill: var(--ink-on-dark); }
.bpg-section--dark .bpg-fig .tx-on-fill,
.bpg-plate--dark .bpg-fig .tx-on-fill { fill: var(--brand-700); }
.bpg-section--dark .bpg-fig .ic,
.bpg-plate--dark .bpg-fig .ic { stroke: var(--brand-700); }
.bpg-section--dark .bpg-fig .ic-soft,
.bpg-plate--dark .bpg-fig .ic-soft { stroke: var(--ink-on-dark); }

/* --------------------------------------------------------- utilities */

.bpg-hr { height: var(--border-hairline); background: var(--line); border: 0; margin: 0; }
.bpg-section--dark .bpg-hr { background: var(--line-dark); }
.bpg-center { text-align: center; }
.bpg-center .bpg-rule { margin-inline: auto; }

/* Spacing utilities. Token steps only — never an arbitrary pixel value.
   If a gap here is not on the scale, the scale is wrong, not the gap. */
.bpg-mt-3 { margin-top: var(--space-3); }
.bpg-mt-4 { margin-top: var(--space-4); }
.bpg-mt-5 { margin-top: var(--space-5); }
.bpg-mt-6 { margin-top: var(--space-6); }
.bpg-mt-8 { margin-top: var(--space-8); }
.bpg-mt-10 { margin-top: var(--space-10); }
.bpg-mt-12 { margin-top: var(--space-12); }
.bpg-mt-16 { margin-top: var(--space-16); }
.bpg-flush-top { padding-top: 0; }
.bpg-align-start { align-items: start; }
.bpg-row-center { justify-content: center; }
.bpg-inline-split { display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); flex-wrap: wrap; }
.bpg-inline-note { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.bpg-stack-lg { display: flex; flex-direction: column; gap: var(--space-8); }
.bpg-badge-center { display: flex; justify-content: center; }
.bpg-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------- preview harness */
/* Used only by this design system's component previews, never by the site. */

.bpg-demo { padding: var(--space-8); background: var(--surface-page); }
.bpg-demo--tint { background: var(--surface-tint); }
.bpg-demo.bpg-section--dark { background: var(--surface-dark); border-radius: var(--radius-lg); }
.bpg-demo__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.bpg-demo__grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.bpg-demo__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3);
}
.bpg-section--dark .bpg-demo__label { color: var(--ink-on-dark-muted); }
.bpg-demo__split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }

/* ------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .bpg-stats, .bpg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bpg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bpg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bpg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .bpg-nav__toggle { display: inline-flex; }
  .bpg-nav__links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-page);
    border-bottom: var(--border-hairline) solid var(--line);
    box-shadow: var(--shadow-raised);
    padding: var(--space-2) clamp(var(--space-5), 5vw, var(--space-10)) var(--space-5);
  }
  .bpg-nav__links[data-open="true"] { display: flex; }
  .bpg-nav__link { padding-block: var(--space-4); border-bottom: var(--border-hairline) solid var(--line); font-size: 1rem; }
  .bpg-nav__link[aria-current="page"]::after { display: none; }
  .bpg-nav__link[aria-current="page"] { color: var(--brand-700); }
  .bpg-split, .bpg-split--wide-start, .bpg-split--wide-end { grid-template-columns: 1fr; }
  .bpg-grid--2, .bpg-grid--3, .bpg-grid--4 { grid-template-columns: 1fr; }
  .bpg-form__row { grid-template-columns: 1fr; }
  .bpg-caps { grid-template-columns: 1fr; }
  .bpg-split--flip > *:first-child { order: 2; }
}

/* Below this the logo, the menu button and a call-to-action no longer fit on
   one row, so the call-to-action moves into the menu rather than shrinking. */
@media (max-width: 620px) {
  .bpg-nav__end { display: none; }
  .bpg-nav__cta-mobile { display: inline-flex; align-self: flex-start; margin-top: var(--space-5); }
}

@media (max-width: 560px) {
  .bpg-stats, .bpg-steps { grid-template-columns: 1fr; }
  .bpg-footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .bpg-card { padding: var(--space-6); }
  .bpg-card--pad-lg { padding: var(--space-8); }
}

@media (prefers-reduced-motion: reduce) {
  .bpg-body *, .bpg-body *::before, .bpg-body *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .bpg-card--link:hover, .bpg-sector:hover { transform: none; }
}

@media print {
  .bpg-nav, .bpg-footer__top, .bpg-skip { display: none; }
  .bpg-section { padding-block: var(--space-8); }
}
