/* =========================================================
   DRAWPOINT TALENT — Production stylesheet
   Authoritative brand tokens per handoff §10
   ========================================================= */

/* =========================================================
   COLOUR SYSTEM (Step B) — three tiers:
   1) PRIMITIVES  raw brand values (the only place hexes live)
   2) SEMANTIC    role tokens the UI consumes (--accent, --bg, --text…)
   3) STATE       feedback colours, contrast-checked (AA+)
   Off-brand secondary hues are banned. One accent family: amber.
   Every text/bg pairing is WCAG-AA verified (matrix in DESIGN-SPEC §contrast).
   ========================================================= */
:root {
  /* ---- 1. PRIMITIVES ---- */
  --coal-900: #0D0D0D;   /* canvas        */
  --coal-800: #141414;   /* raised surface */
  --coal-700: #1A1A1A;   /* card          */
  --charcoal-900: #1C1813;/* warm dark (About) */
  --limestone-50: #F5F0E8;/* warm off-white */
  --sage-200: #D8E2DD;   /* light surface  */
  --sage-300: #BCCBC4;   /* light surface deep */
  --cream-50: #FBF9F4;   /* lightest       */
  --ink-900: #0D0D0D;    /* text on light  */

  /* Amber ramp (single accent family — no other hue) */
  --amber-700: #845A0E;  /* dark ochre — accent text on light (AA on sage+cream) */
  --amber-800: #6E4B12;  /* deep bronze — secondary accent text on light */
  --amber-500: #EDB22E;  /* core accent    */
  --amber-450: #E8A33D;  /* warm accent    */
  --amber-400: #F6BE00;  /* bright (hover) */

  /* State primitives (contrast-checked, no green) */
  --rust-500: #B5462F;   /* danger on LIGHT (5.4:1 on white) */
  --rust-300: #D9614A;   /* danger on DARK  (5.3:1 on coal)  */

  /* ---- 2. SEMANTIC (dark theme = default) ---- */
  --bg:            var(--coal-900);
  --surface:       var(--coal-800);
  --surface-card:  var(--coal-700);
  --text:          var(--limestone-50);
  --text-dim:      rgba(245, 240, 232, 0.70);  /* 8.6:1  */
  --text-muted:    rgba(245, 240, 232, 0.55);  /* 5.4:1 (was .50/4.8 — nudged to clear AA) */
  --text-faint:    #888888;                    /* slate, 5.5:1 */
  --line:          rgba(245, 240, 232, 0.14);  /* hairline */
  --accent:        var(--amber-500);
  --accent-warm:   var(--amber-450);
  --accent-hover:  var(--amber-400);
  --accent-dim:    rgba(237, 178, 46, 0.15);
  --on-accent:     var(--coal-900);            /* text on amber fills (10.2:1) */

  /* ---- 3. STATE ---- */
  --danger:        var(--rust-300);            /* on dark surfaces */
  --warning:       var(--amber-450);
  --on-warning:    var(--coal-900);
  /* success: NO green by law — use --accent + check icon for confirmation */

  /* ---- back-compat aliases (existing rules still reference these) ---- */
  --coal:            var(--bg);
  --coal-lift:       var(--surface);
  --coal-card:       var(--surface-card);
  --limestone:       var(--text);
  --limestone-dim:   var(--text-dim);
  --limestone-muted: var(--text-muted);
  --slate:           var(--text-faint);
  --charcoal:        var(--charcoal-900);
  --amber:           var(--amber-500);
  --amber-warm:      var(--amber-450);
  --sage:            var(--sage-200);
  --sage-deep:       var(--sage-300);
  --cream:           var(--cream-50);

  /* ---- TYPOGRAPHY (Step C) ---- */
  /* Families */
  --font-display: 'Bebas Neue', Impact, sans-serif;   /* headings, wordmark, numerals */
  --font-label:   'Barlow Condensed', sans-serif;     /* eyebrows, pills, italic strap */
  --font-body:    'Poppins', system-ui, sans-serif;   /* body, UI */
  /* Bimodal type scale (big display vs small body — no timid middles) */
  --fs-display: clamp(48px, 6.5vw, 88px);  /* hero H1 */
  --fs-h1:      clamp(34px, 4.5vw, 48px);  /* section titles */
  --fs-h2:      clamp(24px, 3vw, 30px);    /* sub-heads */
  --fs-h3:      20px;                       /* card titles */
  --fs-lead:    17px;                       /* lead paragraph */
  --fs-body:    15px;                       /* body default */
  --fs-sm:      13px;                       /* small / card body */
  --fs-xs:      12px;                       /* labels / captions */
  --fs-2xs:     10px;                       /* micro labels */
  /* Leading + tracking */
  --lh-tight: 1.05;   --lh-snug: 1.15;   --lh-body: 1.8;
  --tr-display: 2px;  --tr-label: 3px;    --tr-body: 0;

  /* ---- SPACING & GRID (Step D) ---- */
  /* 8px-based spacing scale (matches existing usage; use these going forward) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-7: 32px;  --sp-8: 40px;
  --sp-9: 48px;  --sp-10: 64px; --sp-11: 80px; --sp-12: 100px;
  /* Section rhythm + gutters */
  --section-y: 100px;          /* vertical padding per section */
  --section-x: 40px;           /* side gutter (→ 20px on mobile) */
  --gap-grid: 2px;             /* hairline grid gap (card mosaics) */
  --gap-card: 24px;            /* comfortable card grid gap */
  /* Radius scale */
  --r-sm: 2px;   --r-md: 4px;   --r-lg: 8px;   --r-xl: 14px;  --r-pill: 999px;
  /* Elevation scale (dark-tuned) */
  --e-1: 0 2px 8px rgba(0,0,0,0.25);
  --e-2: 0 8px 24px rgba(0,0,0,0.35);
  --e-3: 0 16px 48px rgba(0,0,0,0.45);
  /* Z-index scale */
  --z-base: 1; --z-sticky: 100; --z-nav: 100; --z-overlay: 150; --z-modal: 200;

  /* ---- MOTION (Step F) — responsive, never perpetual ---- */
  --dur-fast: 150ms;   /* micro: hover, focus, press */
  --dur-base: 250ms;   /* standard transitions */
  --dur-slow: 600ms;   /* scroll reveals */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* decelerate (entrances) */
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);     /* standard */

  --nav-h: 72px;
  --container: 1100px;
}

/* Spacing utility helpers (optional, for the system/handoff) */
.stack-sm > * + * { margin-top: var(--sp-3); }
.stack    > * + * { margin-top: var(--sp-6); }
.stack-lg > * + * { margin-top: var(--sp-9); }

/* Bento grid — size = importance. 12-col base; children span via .b-* utilities.
   Uniform gutter + radius (the premium-reference discipline). Collapses to 1-col ≤768. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap-card);
}
.bento > * { border-radius: var(--r-xl); }
.b-4  { grid-column: span 4; }   /* third  */
.b-6  { grid-column: span 6; }   /* half   */
.b-8  { grid-column: span 8; }   /* feature */
.b-12 { grid-column: span 12; }  /* full   */
.b-tall { grid-row: span 2; }    /* double-height feature tile */
@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; gap: var(--gap-grid); }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
}

/* Graphic device (Step G — hybrid imagery) — amber-on-coal brand texture for
   sections that use NO photo. Subtle drawpoint-wedge motif + topographic lines,
   very low alpha so it reads as texture, not decoration. Apply .gfx-device to a
   positioned container; it paints a non-interactive backdrop. */
.gfx-device { position: relative; overflow: hidden; }
.gfx-device::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(237,178,46,0.04) 0 1px, transparent 1px 22px),
    radial-gradient(120% 80% at 100% 0%, rgba(237,178,46,0.05) 0%, transparent 55%);
  z-index: 0;
}
.gfx-device > * { position: relative; z-index: 1; }

/* Lining figures everywhere (numbers align on the baseline; safe default for
   Poppins/Bebas, and guards against old-style-figure surprises). */
body { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Type utility classes (use these going forward; named scale steps) */
.t-display { font-family: var(--font-display); font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tr-display); }
.t-h1      { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: var(--tr-display); }
.t-h2      { font-family: var(--font-display); font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: 1px; }
.t-h3      { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: 1px; }
.t-label   { font-family: var(--font-label); font-size: var(--fs-xs); letter-spacing: var(--tr-label); text-transform: uppercase; }
.t-lead    { font-family: var(--font-body); font-size: var(--fs-lead); line-height: var(--lh-body); }
.t-body    { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); }
.t-sm      { font-family: var(--font-body); font-size: var(--fs-sm); line-height: 1.7; }

/* Light section — re-binds the dark tokens so every child flips to dark-on-light.
   Drop `sec-light` on any <section> to give the page a light/dark rhythm. */
.sec-light {
  --coal: var(--cream);
  --coal-lift: var(--sage);
  --coal-card: #ffffff;
  --limestone: #0D0D0D;
  --limestone-dim: rgba(13, 13, 13, 0.72);   /* 6.9:1 on sage */
  --limestone-muted: rgba(13, 13, 13, 0.62);  /* 5.0:1 on sage (was .55/3.97 FAIL) */
  --line: rgba(13, 13, 13, 0.16);
  --accent-dim: rgba(13, 13, 13, 0.08);
  --danger: var(--rust-500);                  /* darker rust for light bg (5.4:1) */
  background: var(--cream);
  color: #0D0D0D;
}
/* Sage variant — apply alongside .sec-light (class="… sec-light sec-sage") */
.sec-sage {
  --coal: var(--sage);
  --coal-lift: var(--sage-deep);
  --coal-card: #ffffff;
  background: var(--sage);
}
/* Shared light-section overrides (cover both cream + sage) */
.sec-light .section-title { color: #0D0D0D; }
.sec-light .section-label { color: var(--amber-700); }     /* #845A0E ochre — AA on sage+cream */
.sec-light .approach-engine { border-top-color: rgba(13, 13, 13, 0.10); }
.sec-light .approach-engine .section-label,
.sec-light .engine-credit { color: var(--amber-700); }
.sec-light .wwd-more { border-top-color: rgba(13, 13, 13, 0.10); }
/* Accent text needs darker tones on light (amber goes pale on cream/sage) */
.sec-light .hl-gold,
.sec-light .corridor-africa .corridor-title,
.sec-light .corridor-africa .corridor-countries { color: var(--amber-700); }   /* ochre, AA */
.sec-light .hl-mal,
.sec-light .corridor-australia .corridor-title,
.sec-light .corridor-australia .corridor-countries,
.sec-light .corridor-countries { color: var(--amber-800); }           /* #6E4B12 bronze, AA */
/* Corridor pills: hardcoded light text → dark on light */
.sec-light .corridor-africa .sector-pill,
.sec-light .corridor-australia .sector-pill { color: rgba(13, 13, 13, 0.78); }
/* Map watermarks read better a touch stronger on light */
.sec-light .corridor::after { opacity: 0.14; }

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* iOS / Apple compatibility (2026-07-22 audit):
   - text-size-adjust: stop Safari inflating type in landscape
   - tap-highlight: kill the grey tap flash (focus states carry affordance)
   - html background: rubber-band overscroll shows coal, never white
   - overscroll-behavior: no scroll-chain bounce behind the nav drawer */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #0D0D0D;
}
* { -webkit-tap-highlight-color: transparent; }
body { overscroll-behavior-y: none; }
body {
  background: var(--coal);
  color: var(--limestone);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--coal);
  padding: 10px 16px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1 !important; transform: none !important; }
}

/* === NAV === */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}
/* Scoped to header nav — the bare `nav` selector also matched the FOOTER's
   <nav class="footer-nav">, capping it at --nav-h so wrapped footer links
   painted over the cert/credit lines (2026-07-22 iPhone bug). */
header nav {
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0 40px;
  padding-left: max(40px, env(safe-area-inset-left));
  padding-right: max(40px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled nav {
  background: rgba(13, 13, 13, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--e-2);
}
.nav-brand {
  color: var(--limestone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.nav-brand .nav-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.nav-brand .nav-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.nav-brand .nav-draw {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--limestone);
  line-height: 1;
}
.nav-brand .nav-draw span { color: var(--amber); }
.nav-brand .nav-talent {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--limestone);
  line-height: 1;
  padding-left: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  font-size: 11px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coal) !important;
  background: var(--accent);
  padding: 8px 20px;
  text-decoration: none;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--amber-warm); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;   /* WCAG 2.2 target size — bars stay 28px, centred in a 44px hit area */
  height: 44px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--limestone);
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* === SHARED === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);        /* clamp(34,4.5vw,48) — was fixed 42px */
  letter-spacing: var(--tr-display);
  line-height: var(--lh-snug);
  color: var(--limestone);
  margin-bottom: 20px;
}

.section-body {
  font-size: 15px;
  color: var(--limestone-dim);
  max-width: 640px;
  line-height: 1.8;
}

/* === FADE IN (Step F — tokenised, decelerate easing) === */
.fade-in {
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
/* Hidden start state ONLY when JS is confirmed running (inline head script adds
   html.js). JS off or failed -> no .js class -> everything renders visible.
   Content can never be stranded invisible (AAA fail-safe; pairs with the 1.2s
   JS failsafe and the reduced-motion override above). */
html.js .fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 1. HERO — full-bleed mining photograph === */
.hero {
  --hero-focus: center 35%;   /* hero photo focal point (Step G) — tune per image */
  min-height: 100vh;
  min-height: 100dvh;  /* iOS Safari: dynamic viewport excludes the URL bar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 90px;
  position: relative;
  overflow: hidden;
}
/* The photograph — swap assets/hero/hero.jpg for the real 4K shot */
/* HERO IMAGE (Step G) — any photo dropped at assets/hero/hero.jpg is auto-unified
   to the brand by the CSS grade below: subtle cinematic, NOT duotone. Focal point
   tunable via --hero-focus (no markup change). Real photo specs: ≥2560px wide,
   landscape, <500KB JPG. (For a future small variant, swap to image-set().) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero/hero.jpg');
  background-size: cover;
  background-position: var(--hero-focus, center 35%);
  filter: saturate(0.85) contrast(1.05) brightness(0.92);  /* cinematic grade */
  z-index: 0;
}
/* Scrim — heavier on the left (under the words), lighter on the right
   so the image breathes. Plus a base darken + bottom fade into the page. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* faint warm amber wash on the RIGHT only (where the image breathes) —
       never lifts the left where the text sits, so AA contrast is preserved */
    linear-gradient(90deg, rgba(237,178,46,0) 55%, rgba(237,178,46,0.06) 100%),
    /* left-weighted dark scrim for text legibility (AA) */
    linear-gradient(90deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.78) 38%, rgba(13,13,13,0.42) 70%, rgba(13,13,13,0.30) 100%),
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.10) 45%, rgba(13,13,13,0.85) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy { max-width: 680px; }

/* Recruiter Desk flag — sits below the hero copy */
.recruiter-flag {
  display: block;
  margin-top: 40px;
  width: 100%;
  max-width: 360px;
  text-align: left;
  text-decoration: none;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber-warm);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.recruiter-flag:hover {
  background: var(--coal-lift);
  border-color: var(--accent);
  border-left-color: var(--amber-warm);
  transform: translateY(-2px);
}
.recruiter-flag-status {
  display: inline-flex;
  align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber-warm);
  margin-bottom: 8px;
}
.recruiter-flag-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-warm);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(232,163,61,0.6);
  animation: recruiter-pulse 2.4s ease-out infinite;
}
.recruiter-flag-title {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--limestone);
  line-height: 1.15;
  margin-bottom: 8px;
}
.recruiter-flag-cta {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
@keyframes recruiter-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,163,61,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(232,163,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,163,61,0); }
}
@media (prefers-reduced-motion: reduce) {
  .recruiter-flag-status .dot { animation: none; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-display);   /* clamp(48,6.5vw,88) — unified display step */
  line-height: 0.95;
  letter-spacing: 3px;
  color: var(--limestone);
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--limestone);
  max-width: 560px;
  line-height: 1.9;
  margin-bottom: 40px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-strap {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--amber-warm);
  margin-top: 28px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

/* === CREDIBILITY CALLOUTS === */
.callouts {
  padding: 0 40px 16px;
  background: var(--coal);
}
.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(245, 240, 232, 0.10);
}
.callout {
  padding: 36px 32px 32px;
}
.callout + .callout {
  border-left: 1px solid rgba(245, 240, 232, 0.08);
}
.callout-anchor {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.callout-anchor span {
  color: var(--amber);
  padding: 0 2px;
}
.callout-detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--limestone-muted);
  max-width: 320px;
}
@media (max-width: 768px) {
  .callouts {
    padding: 0 20px 8px;
  }
  .callout-grid {
    grid-template-columns: 1fr;
  }
  .callout {
    padding: 28px 0;
  }
  .callout + .callout {
    border-left: 0;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
  }
}

@media (max-width: 960px) {
  /* On narrower screens the scrim covers more so text stays legible */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(13,13,13,0.78) 0%, rgba(13,13,13,0.55) 45%, rgba(13,13,13,0.92) 100%);
  }
}

.btn-primary, .btn-outline {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  padding: 14px 36px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);            /* tidy-up: pinned hex → semantic token */
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  border: 1px solid var(--line);
  color: var(--accent);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);       /* tidy-up: raw rgba → semantic token */
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }
.btn-primary:focus-visible, .btn-outline:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* === COMPONENT POLISH (Step E) — consistent hover lift, hairline, a11y focus ===
   Additive layer over the existing card family; tasteful per the premium refs
   (one move: lift + border-brighten, ~180ms; never lift+shadow both). */
.cap-card, .comp-card, .sector-card, .pf-card, .service-card {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.cap-card:hover, .comp-card:hover, .sector-card:hover, .pf-card:hover {
  transform: translateY(-3px);
}
/* Keyboard focus rings for every interactive control (was largely missing) */
.more-toggle:focus-visible, .ct-tab:focus-visible, .nav-cta:focus-visible,
.recruiter-flag:focus-visible, .candidate-cta .btn-outline:focus-visible,
.footer-nav a:focus-visible, .nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* Radius consistency note: source rules tokenised in place below
   (vet-chip/field → --r-sm/--r-md, cards/cta → --r-lg). */
@media (prefers-reduced-motion: reduce) {
  .cap-card, .comp-card, .sector-card, .pf-card,
  .btn-primary, .btn-outline { transition: none; transform: none !important; }
}

/* === 2. WHAT WE DO === */
.services {
  padding: var(--section-y) var(--section-x);
  background: var(--coal-lift);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.service-card {
  background: var(--coal);
  padding: 40px 32px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s;
}
.service-card:hover { border-color: var(--accent); }
.service-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(237,178,46,0.15);
  margin-bottom: 16px;
}
.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--limestone);
  margin-bottom: 12px;
  font-weight: 400;
}
.service-desc {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.8;
}

/* === 3. SECTORS === */
.disciplines { padding: var(--section-y) var(--section-x); }
.disc-heading {
  margin-top: 48px;
  color: var(--amber-warm) !important;
}
.disc-heading:first-of-type { margin-top: 48px; }
.disc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 0;
}
.disc-item {
  background: var(--coal);
  padding: 28px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--limestone-dim);
  transition: color 0.3s;
}
.disc-item:hover { color: var(--amber-warm); }
.disc-item .disc-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: 6px;
}

/* === 4. WHAT WE DO === */
.what-we-do {
  padding: var(--section-y) var(--section-x);
  background: var(--coal-lift);
}
.what-we-do .section-body { margin-bottom: 48px; }

/* Capability cards */
.wwd-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 72px;
}
.cap-card {
  background: var(--coal-card);
  padding: 32px 28px;
  border-top: 2px solid var(--accent);
}
/* Alternate the two accent colours across the cards — same logic as Markets */
.cap-card:nth-child(odd)  { border-top-color: var(--accent); }
.cap-card:nth-child(even) { border-top-color: var(--amber-warm); }
.cap-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 1px;
  color: var(--limestone);
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.1;
}
.cap-desc {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.7;
}

/* High-level process story */
.wwd-process { margin-bottom: 56px; }
.wwd-process .section-label { margin-bottom: 28px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(237,178,46,0.25), var(--accent));
}
.pstep {
  padding-right: 28px;
  position: relative;
}
.pstep-num {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--amber-warm);
  background: var(--coal-lift);
  padding-right: 12px;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}
.pstep h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--limestone);
  margin-bottom: 8px;
  font-weight: 400;
}
.pstep p {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.7;
}

/* The engine — quiet, factual platform note inside Approach */
.approach-engine {
  margin-top: 64px;
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: 36px;
  max-width: 760px;
}
.approach-engine .section-label { margin-bottom: 16px; }
.engine-copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--limestone-dim);
}
.engine-copy strong { color: var(--limestone); font-weight: 500; }
.engine-credit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-top: 16px;
}

/* Find out more — reveal */
.wwd-more { border-top: 1px solid rgba(245,240,232,0.08); padding-top: 36px; }
.more-toggle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.more-chev {
  display: inline-block;
  transition: transform 0.3s;
  margin-left: 6px;
}
.more-toggle:hover {
  background: var(--accent);
  color: var(--coal);
  border-color: var(--accent);
}
.more-toggle[aria-expanded="true"] .more-chev { transform: rotate(180deg); }
.more-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.more-panel.open { grid-template-rows: 1fr; }
.more-inner {
  overflow: hidden;
  min-height: 0;
}
.more-panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--limestone);
  font-weight: 400;
  margin: 36px 0 8px;
}
.process-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 32px;
  padding-bottom: 8px;
}
.track-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--amber-warm);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: rgba(237,178,46,0.20);
  min-width: 36px;
}
.step-text {
  font-size: 14px;
  color: var(--limestone-dim);
  line-height: 1.7;
}
.step-text strong {
  color: var(--limestone);
  font-weight: 500;
}

/* === 5. THE PLATFORM === */
.platform { padding: var(--section-y) var(--section-x); }
.platform-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.pf-card {
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: border-color 0.3s;
}
.pf-card:hover { border-color: var(--accent); }
.pf-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 400;
}
.pf-desc {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.8;
}

/* === 6. WHY DRAWPOINT === */
.why {
  padding: var(--section-y) var(--section-x);
  background: var(--charcoal);
}
.why .section-title { color: var(--limestone); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.why-item {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.why-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--limestone);
  margin-bottom: 8px;
  font-weight: 400;
}
.why-text {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.8;
}

/* === MERGED PLATFORM extras === */
.platform-subhead { margin-top: 64px; }
.services-grid { margin-top: 24px; margin-bottom: 16px; }
.platform-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  margin-top: 64px;
}
.platform-split .platform-features {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}
.platform-glance {
  background: var(--coal-card);
  padding: 36px 32px;
}
.glance-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.glance-list { display: flex; flex-direction: column; }
.glance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.glance-row:last-child { border-bottom: 0; }
.glance-row dt {
  font-size: 13px;
  color: var(--limestone-muted);
}
.glance-row dd {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--limestone);
  text-align: right;
}
.glance-accent { color: var(--accent) !important; }

/* === COMPLIANCE & DATA SECURITY === */
.compliance {
  padding: var(--section-y) var(--section-x);
}
.compliance .section-body {
  max-width: 760px;
  margin-bottom: 28px;
}
.vetting-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.vet-chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--limestone-dim);
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 8px 16px;
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.comp-card {
  background: var(--coal-card);
  padding: 32px 28px;
  border-top: 2px solid var(--line);
}
.comp-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--limestone);
  line-height: 1;
  margin-bottom: 10px;
}
.comp-status {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.comp-status.comp-certified { color: var(--amber-warm); }
.comp-desc {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.7;
}

/* === ABOUT US (why + leadership reveals) === */
.about {
  padding: var(--section-y) var(--section-x);
  background: var(--charcoal);
}
.about .section-title { color: var(--limestone); }
.about-reveals { margin-top: 24px; }
.about-reveals + .about-reveals { margin-top: 16px; }
.about .more-panel .why-grid { margin-top: 28px; }
.about .more-panel .leaders { margin-top: 28px; }

/* === 7. MARKETS === */
.markets { padding: var(--section-y) var(--section-x); }
.market-corridors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.corridor {
  background: var(--coal-card);
  padding: 44px 40px;
  border-top: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
/* Continent watermark — bleeds off the bottom-right corner */
.corridor::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 300px;
  height: 300px;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.corridor > * { position: relative; z-index: 1; }
.corridor-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--limestone);
  margin-bottom: 18px;
  font-weight: 400;
}

/* Split-colour section headline */
.hl-gold { color: var(--amber-warm); }
.hl-mal { color: var(--accent); }

/* Region colour-coding — Africa = gold, Australia = amber */
.corridor-africa {
  border-top-color: var(--amber-warm);
  background:
    linear-gradient(180deg, rgba(232, 163, 61, 0.06) 0%, transparent 220px),
    var(--coal-card);
}
.corridor-africa .corridor-title { color: var(--amber-warm); }
.corridor-africa .corridor-countries { color: var(--amber-warm); }
.corridor-africa .sector-pill {
  border-color: rgba(232, 163, 61, 0.30);
  color: rgba(245, 240, 232, 0.78);
}
.corridor-africa::after {
  background-image: url('../assets/maps/africa.svg');
  opacity: 0.12;
}

.corridor-australia {
  border-top-color: var(--accent);
  background:
    linear-gradient(180deg, rgba(237,178,46,0.06) 0%, transparent 220px),
    var(--coal-card);
}
.corridor-australia .corridor-title { color: var(--accent); }
.corridor-australia .corridor-countries { color: var(--accent); }
.corridor-australia .sector-pill {
  border-color: rgba(237,178,46,0.30);
  color: rgba(245, 240, 232, 0.78);
}
.corridor-australia::after {
  background-image: url('../assets/maps/australia.svg');
  opacity: 0.16;
}

/* === SECTORS (card grid, mirrors Markets) === */
.disciplines { padding: var(--section-y) var(--section-x); }
.disciplines .section-body { margin-bottom: 48px; }
.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.sector-card {
  background: var(--coal-card);
  padding: 40px 36px;
  border-top: 3px solid var(--accent);
  position: relative;
}
.sector-card-wide { grid-column: 1 / -1; }
/* Alternating gold/amber top strips — names stay white */
.sector-card:nth-child(odd)  { border-top-color: var(--accent); }
.sector-card:nth-child(even) { border-top-color: var(--amber-warm); }
.sector-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--limestone);
  margin-bottom: 18px;
  font-weight: 400;
}
.sector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.sector-card:nth-child(odd)  .sector-pill { border-color: rgba(237,178,46,0.30); }
.sector-card:nth-child(even) .sector-pill { border-color: rgba(232, 163, 61, 0.30); }
.more-toggle-sm {
  font-size: 13px;
  letter-spacing: 2px;
  padding: 9px 20px;
}
.role-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.role-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--limestone-dim);
}
.role-tag {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.corridor-text {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.corridor-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.sector-pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--limestone-muted);
  background: var(--coal-lift);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  line-height: 1;
}
.corridor-countries {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
}

/* === 7.5 CLOSING CTA STRIP === */
.cta-strip {
  padding: var(--section-y) var(--section-x);
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(237,178,46,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip-lede {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-size: 17px;
  color: var(--amber-warm);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.cta-strip-title {
  font-family: var(--font-display);
  font-size: var(--fs-display);   /* unified display step (was clamp 48/6vw/80) */
  letter-spacing: 3px;
  line-height: 1;
  color: var(--limestone);
  margin-bottom: 40px;
}
.cta-strip-title .accent { color: var(--accent); }
.cta-strip-actions {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* === 8. LEADERSHIP === */
.leadership {
  padding: var(--section-y) var(--section-x);
  background: var(--coal-lift);
}
.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.leader {
  border-top: 3px solid var(--accent);
  padding-top: 28px;
}
.leader-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--limestone);
  margin-bottom: 4px;
  font-weight: 400;
}
.leader-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  color: var(--amber-warm);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.leader-bio {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.8;
}

/* === 9. CONTACT === */
.contact {
  padding: var(--section-y) var(--section-x);
  text-align: center;
}
.contact .section-body {
  margin: 0 auto 48px;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-box {
  background: var(--coal-card);
  padding: 40px 32px;
}
.contact-box-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-box-text {
  font-size: 14px;
  color: var(--limestone-dim);
  line-height: 1.8;
}
.contact-box-text a {
  color: var(--amber-warm);
  text-decoration: none;
}
.contact-box-text a:hover { text-decoration: underline; }

/* === WORK WITH US · contact + enquiry forms === */
.contact {
  padding: var(--section-y) var(--section-x);
  background: var(--coal-lift);
}
.contact .section-body { max-width: 680px; margin-bottom: 40px; }

.enquiry-form { max-width: 760px; }
.enquiry-form[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--limestone-muted);
}
.field-wide { grid-column: 1 / -1; }
.field .req { color: var(--amber-warm); }
.field .hint { text-transform: none; letter-spacing: 0; color: var(--slate); }
.field input,
.field select,
.field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;  /* iOS: <16px makes Safari force-zoom the page on focus */
  -webkit-appearance: none;
  appearance: none;
  text-transform: none;
  letter-spacing: 0;
  color: var(--limestone);
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 13px;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
/* Validation error state — fires only after the user has interacted (:user-invalid),
   plus an .is-error hook for JS. Uses the semantic --danger token (load-bearing). */
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid,
.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: var(--danger);
}
.field .field-error { color: var(--danger); font-size: var(--fs-xs); margin-top: 4px; }
.field textarea { resize: vertical; }
/* appearance:none strips the native select chrome (iOS renders its own otherwise)
   — restore the dropdown affordance with a cream chevron */
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F5F0E8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input[type="file"] { padding: 9px 12px; color: var(--limestone-muted); }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--limestone-muted);
  max-width: 640px;
}
.consent input { margin-top: 3px; flex-shrink: 0; }
.consent a { color: var(--accent); }
.consent .req { color: var(--amber-warm); }
.form-success {
  background: rgba(237,178,46,0.12);
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-bottom: 28px;
  color: var(--limestone);
  font-size: 15px;
}

/* Candidate platform CTA — looking-for-work routes off-site */
.candidate-cta {
  margin-top: 56px;
  max-width: 760px;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber-warm);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.candidate-cta-text { flex: 1 1 360px; }
.candidate-cta-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--amber-warm);
  margin-bottom: 12px;
}
.candidate-cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--limestone);
  margin-bottom: 14px;
  font-weight: 400;
}
.candidate-cta-body {
  font-size: 14px;
  color: var(--limestone-muted);
  line-height: 1.8;
}
.candidate-cta .btn-outline { flex-shrink: 0; }
.contact-recruiter {
  margin-top: 40px;
  font-size: 14px;
  color: var(--limestone-muted);
}
.contact-recruiter a { color: var(--amber-warm); text-decoration: none; }
.contact-recruiter a:hover { text-decoration: underline; }

/* === FOOTER === */
footer {
  padding: 48px 40px;
  padding-left: max(40px, env(safe-area-inset-left));
  padding-right: max(40px, env(safe-area-inset-right));
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  margin-bottom: 10px;
}
.footer-left .footer-mark {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}
.footer-left .footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.footer-left .footer-draw {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 4px;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1;
}
.footer-left .footer-talent {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(245, 240, 232, 0.3);
  line-height: 1;
}
.footer-left .footer-legal {
  font-size: 11px;
  color: var(--slate);
  line-height: 1.8;
}
.footer-right { text-align: right; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--limestone-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-cert {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);  /* 4.5:1+ on coal — was .28 (2.3:1, AA fail) */
}
.footer-credit {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}
.footer-credit a { color: rgba(245, 240, 232, 0.70); text-decoration: none; }
.footer-credit a:hover { color: var(--accent); }

/* === RESPONSIVE === */
/* NAV BREAKPOINTS (2026-07-22, 8th nav item): the desktop row needs ~920px+.
   Squeeze band keeps ONE row on small laptops / tablets-landscape; below 920px
   the drawer takes over (earlier than the 768px page-layout breakpoint, which
   previously left a two-line wrap zone). */
@media (min-width: 921px) and (max-width: 1140px) {
  .nav-links { gap: 16px; }
  .nav-links a { letter-spacing: 1.5px; }
}
@media (max-width: 920px) {
  header nav { padding: 0 20px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--coal);
    border-bottom: 1px solid var(--line);
    padding: 12px 0 calc(20px + env(safe-area-inset-bottom));
    z-index: 99;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
  }
  .nav-cta {
    margin: 12px 24px 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container, .hero,
  .disciplines, .what-we-do,
  .why, .markets, .about, .compliance,
  .contact, .cta-strip { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 120px; padding-bottom: 60px; }
  /* hero-title + section-title sizes now owned by the clamp() scale tokens */
  .disc-grid,
  .sector-grid,
  .process-steps,
  .why-grid,
  .market-corridors,
  .leaders,
  .compliance-grid,
  .form-grid { grid-template-columns: 1fr; }
  .disc-grid { gap: 1px; }
  .sector-grid { gap: 1px; }
  .candidate-cta { padding: 28px 24px; }
  .role-list { grid-template-columns: 1fr; }
  .process-steps { gap: 28px; }
  .process-steps::before { display: none; }
  .pstep { padding-right: 0; }

  footer { flex-direction: column; align-items: flex-start; }
  /* Footer (2026-07-22 iOS hardening): single column, generous tap rows, explicit
     line-heights — immune to iOS font-boost paint collisions (Fransua's iPhone
     screenshot showed cert/credit text painting over the wrapped link rows). */
  footer { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-right { text-align: left; width: 100%; }
  .footer-nav { justify-content: flex-start; gap: 4px 20px; margin-bottom: 20px; }
  .footer-nav a { display: inline-block; padding: 6px 0; line-height: 1.4; }
  .footer-cert, .footer-credit { line-height: 1.7; }
}

/* ============================================================
   MULTI-PAGE SHELL (Stage 2) — page-hero, active nav, interior layouts.
   Token-driven throughout; respects the dark↔light rhythm law.
   ============================================================ */

/* Active page in the nav — set by build-pages.py (data-nav ↔ body[data-page]) */
.nav-links a[aria-current="page"] { color: var(--accent); }

/* Interior page hero — coal + brand texture (no photo: hero.jpg stays a
   home-only cost; interior pages use the gfx-device amber texture). */
.page-hero {
  padding: calc(var(--nav-h) + 76px) var(--section-x) 72px;
  background: var(--coal);
}
.page-hero-title {
  color: var(--limestone);
  font-weight: 400;
  margin: 0 0 16px;
}
.page-hero-title .accent { color: var(--accent); }
.page-hero-strap {
  font-size: 16px;
  color: var(--limestone-dim);
  max-width: 680px;
  line-height: 1.75;
}
.page-hero--compact { padding: calc(var(--nav-h) + 48px) var(--section-x) 48px; }

/* Interior PHOTO hero band (2026-07-22) — per-page bespoke photograph on
   sectors/employers/candidates/about. Shorter than the home hero; reuses the
   home grade filter + .hero-scrim. The image arrives via --page-hero-img set
   inline on the section; focal point tunable via --hero-focus. */
.page-hero--photo {
  position: relative;
  overflow: hidden;
  min-height: 52vh;
  min-height: 52dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero--photo .page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--page-hero-img);
  background-size: cover;
  background-position: var(--hero-focus, center 40%);
  filter: saturate(0.85) contrast(1.05) brightness(0.92);  /* home grade reused */
  z-index: 0;
}
.page-hero--photo > .container { position: relative; z-index: 2; }

/* LIGHT photo hero (values page, 2026-07-22): daylight image, cream wash scrim,
   coal text. LAW: amber never becomes text on the light hero — the H1 carries
   no accent span, and the section-label drops to coal-dim. */
.page-hero--photo-light .hero-scrim {
  background:
    linear-gradient(90deg, rgba(245,240,232,0.90) 0%, rgba(245,240,232,0.74) 38%, rgba(245,240,232,0.32) 70%, rgba(245,240,232,0.16) 100%),
    linear-gradient(180deg, rgba(245,240,232,0.30) 0%, rgba(245,240,232,0.04) 45%, rgba(245,240,232,0.55) 100%);
}
.page-hero--photo-light .section-label { color: rgba(13,13,13,0.62); }
.page-hero--photo-light .page-hero-title { color: #0D0D0D; }
.page-hero--photo-light .page-hero-strap { color: rgba(13,13,13,0.78); }

/* Sector page — one-line intro under the sector name; role lists open */
.sector-intro {
  font-size: 13px;
  color: var(--limestone-muted);
  line-height: 1.7;
  margin-top: 10px;
}

/* Regions page — maps promoted from watermark to visible panels */
.corridor-map {
  margin: 22px 0 4px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.corridor-map img { width: 100%; height: auto; display: block; }

/* Mobilisation fact chips (regions dark band) — vet-chip idiom on coal */
.mob-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.mob-point {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--limestone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  background: var(--coal-card);
}

/* Approach page — the 4 steps as full rows (big Bebas numerals) */
.step-rows { display: grid; gap: 14px; margin-top: 48px; }
.step-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 28px;
  align-items: start;
  padding: 34px 32px;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.step-row-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.9;
  color: var(--accent);
}
.step-row h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 1.5px;
  color: var(--limestone);
  font-weight: 400;
  margin: 4px 0 8px;
}
.step-row p {
  font-size: 14px;
  color: var(--limestone-dim);
  line-height: 1.8;
  max-width: 62ch;
}
.step-row-body { grid-column: 2; }

/* Legal pages (privacy) — moved from inline <style> so every page shares one sheet */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) 40px 100px; }
.legal-wrap h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px; color: var(--limestone); line-height: 1; margin-bottom: 12px;
}
.legal-wrap .legal-updated { color: var(--slate); font-size: 13px; letter-spacing: 1px; margin-bottom: 40px; }
.legal-wrap h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px;
  color: var(--accent); margin: 40px 0 14px; font-weight: 400;
}
.legal-wrap p, .legal-wrap li { font-size: 15px; line-height: 1.8; color: var(--limestone-dim); }
.legal-wrap ul { margin: 0 0 16px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap a { color: var(--accent); }
.legal-note { background: var(--coal-card); border-left: 3px solid var(--amber-warm); padding: 16px 20px; border-radius: 2px; margin: 24px 0; }

/* 404 */
.notfound-links { display: inline-flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* Properly-disabled control (candidate button while the platform URL is unset):
   href removed by JS, so it is not focusable; this handles pointer + look. */
.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .page-hero { padding: calc(var(--nav-h) + 48px) 20px 48px; }
  .page-hero--compact { padding: calc(var(--nav-h) + 36px) 20px 36px; }
  .step-row { grid-template-columns: 1fr; padding: 26px 22px; }
  .step-row-body { grid-column: 1; }
  .legal-wrap { padding: 24px 20px 80px; }
}

/* ---- Stage 3: home teasers + proof bento ---- */

/* Section deep-link line ("Explore the corridors →") */
.section-link {
  display: inline-block;
  margin-top: 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 178, 46, 0.35);
  padding-bottom: 3px;
  transition: color var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std);
}
.section-link:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
/* Amber fails on light — ochre/bronze on sage & cream (AA) */
.sec-light .section-link { color: var(--amber-700); border-bottom-color: rgba(132, 90, 14, 0.4); }
.sec-light .section-link:hover { color: var(--amber-800); border-bottom-color: var(--amber-800); }

/* Sector teaser link-cards (home) — whole card is the link */
a.sector-card { display: block; text-decoration: none; color: inherit; }
.sector-more {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
a.sector-card:hover .sector-more { color: var(--accent-hover); }

/* Proof bento (home, charcoal band) */
.proof-bento { margin-top: 48px; }
.proof-tile {
  background: rgba(13, 13, 13, 0.45);
  border: 1px solid var(--line);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}
.proof-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.95;
  color: var(--accent);
}
.proof-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 1.5px;
  color: var(--limestone);
}
.proof-cap {
  font-size: 13px;
  color: var(--limestone-dim);
  line-height: 1.7;
  max-width: 52ch;
}
.proof-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
a.proof-tile { text-decoration: none; transition: transform var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std); }
a.proof-tile:hover { transform: translateY(-3px); border-color: rgba(237, 178, 46, 0.4); }
.tile-cta {
  margin-top: auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* Regions page: visible map panels replace the corner watermark */
body[data-page="regions"] .corridor::after { content: none; }

/* Mobilisation band — two placement paths (local vs cross-border) */
.mob-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.mob-path {
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 32px 30px;
}
.mob-path-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-warm);
  margin-bottom: 8px;
}
.mob-path h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1.5px;
  color: var(--limestone);
  font-weight: 400;
  margin-bottom: 12px;
}
.mob-path p {
  font-size: 14px;
  color: var(--limestone-dim);
  line-height: 1.8;
}
.mob-path .mob-points { margin-top: 22px; }
@media (max-width: 768px) {
  .mob-paths { grid-template-columns: 1fr; gap: 16px; }
  .mob-path { padding: 26px 22px; }
}

/* ---- Evidence bands (market-evidence story; vetted claims only) ----
   Tiles adapted from the approved prototype stat-tile: amber top-rule at 30%
   width, big Bebas figure, cited source line. Every claim shipped in one of
   these MUST exist in COPY-REVIEW's claim register with its source. */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.evidence-grid--two { grid-template-columns: 1fr 1fr; }
.evidence-tile {
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.evidence-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 30%; height: 2px;
  background: var(--accent);
  border-radius: var(--r-lg) 0 0 0;
}
.ev-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.ev-figure {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 0.95;
  color: var(--accent);
  margin-bottom: 6px;
}
.ev-figure-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--limestone-muted);
  margin-bottom: 16px;
}
.ev-body {
  font-size: 13px;
  color: var(--limestone-dim);
  line-height: 1.75;
  margin-bottom: 18px;
}
.ev-cite {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.6;
}
/* Light sections: amber fails on white — figures/tags flip to ochre (AA);
   slate citations fail on white too — flip to muted coal (5.5:1). */
.sec-light .ev-tag,
.sec-light .ev-figure { color: var(--amber-700); }
.sec-light .ev-cite,
.sec-light .ev-source { color: var(--limestone-muted); }

/* Cited close-line — the prototype's quiet pull-quote device */
.evidence-close {
  margin-top: 24px;
  padding: 22px 26px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(237, 178, 46, 0.06), transparent 70%);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.ev-quote {
  font-size: 15px;
  color: var(--limestone);
  line-height: 1.75;
  margin-bottom: 10px;
  max-width: 76ch;
}
.ev-quote strong { color: var(--accent); font-weight: 500; }
.ev-source {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 900px) {
  .evidence-grid, .evidence-grid--two { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Employer fees page (/employers.html) — published fee grid, ZAR desk ----
   Ported from the Kanton-West finance-hiring structure onto DrawPoint tokens.
   RATES ARE PROVISIONAL (top 15%, KW ratios) pending Fransua's market research. */
.fee-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 40px; }
.fee-matrix {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.fee-matrix th, .fee-matrix td {
  text-align: center;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}
.fee-matrix .attr-cell { text-align: left; }
.fee-matrix thead th { vertical-align: bottom; border-bottom: 2px solid var(--line); }
.fee-lvl { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; color: var(--limestone); font-weight: 400; }
.fee-lvl .band {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--limestone-muted);
  margin-top: 6px;
}
.fee-rowlabel {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--limestone);
}
.fee-rowlabel span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--limestone-muted);
  margin-top: 3px;
}
.fee-pct { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--accent); }
.sec-light .fee-pct { color: var(--amber-700); }
.fee-sub { font-size: 12.5px; color: var(--limestone-dim); line-height: 1.6; }
/* flagship (executive) column */
.fee-matrix .flag-col { background: rgba(237, 178, 46, 0.08); }
.fee-flag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.sec-light .fee-flag { background: var(--amber-700); color: #fff; }

/* step-down + worked-example tables */
.step-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step-table th, .step-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--limestone-dim); }
.step-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--limestone);
  border-bottom: 2px solid var(--line);
}
.step-table td.num, .step-table th.num { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.step-table tr.tot td { border-top: 2px solid var(--limestone); font-weight: 600; color: var(--limestone); }
/* the two good-news columns */
.step-table th:nth-last-child(-n+2), .step-table td:nth-last-child(-n+2) { background: rgba(237, 178, 46, 0.07); }
.ex-head { font-family: 'Bebas Neue', sans-serif; font-size: 21px; letter-spacing: 1px; color: var(--limestone); font-weight: 400; margin: 40px 0 4px; }
.ex-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--limestone-muted);
  margin-bottom: 14px;
}
.fee-note { font-size: 13px; color: var(--limestone-muted); line-height: 1.7; max-width: 66ch; margin-top: 14px; }

/* Desk scope strap — hero, dark bg only (amber-on-dark law) */
.page-scope {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-warm);
  margin: 4px 0 18px;
}

/* Corridor redirect panel — card inside the light fee section.
   Amber is border + button surface only; all text stays coal (contrast law). */
.corridor-panel,
.belief-panel {
  margin-top: 44px;
  max-width: 720px;
  background: var(--coal-card);
  border-left: 3px solid var(--amber);
  padding: 28px 32px 30px;
}
.corridor-panel h3,
.belief-panel h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--limestone);
  margin: 0 0 10px;
}
.corridor-panel p,
.belief-panel p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--limestone-dim);
  margin: 0 0 22px;
  max-width: 60ch;
}
@media (max-width: 600px) {
  .corridor-panel, .belief-panel { padding: 22px 20px 24px; }
}

/* Workforce Wallet mockups (2026-07-23) — ILLUSTRATIVE-UI LAW: platform views
   labelled illustrative, second person, no fictional persons; only mechanics
   verified real on the platform. Chips: cream/amber/danger only (no green). */
.wallet-mocks-kicker {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--limestone);
  margin: 48px 0 6px;
}
.wallet-mocks-note { font-size: 13px; color: var(--slate); margin-bottom: 20px; }
.wallet-mocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .wallet-mocks { grid-template-columns: 1fr; }
}
.wmock-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 18px;
}
.wmock-rows { display: grid; gap: 12px; }
.wmock-row-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}
.wmock-row-value { font-size: 14px; color: var(--limestone); }
.wmock {
  position: relative;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.wmock-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 3px 8px;
}
.wmock-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--limestone);
  margin-bottom: 4px;
}
.wmock-sub { font-size: 12px; color: var(--slate); margin-bottom: 18px; }
.wmock-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wmock-doc {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}
.wmock-doc-name { font-size: 13px; color: var(--limestone); font-weight: 500; margin-bottom: 8px; }
.wmock-chip {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--limestone-dim);
}
.wmock-chip--warn { color: var(--amber-warm); border-color: rgba(237, 178, 46, 0.45); }
.wmock-chip--expired { color: var(--danger); border-color: var(--danger); }
.wmock-ring-row { display: flex; align-items: center; gap: 24px; }
.wmock-ring { flex-shrink: 0; }
.wmock-stats { display: grid; gap: 12px; flex: 1; }
.wmock-stat {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wmock-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
}
.wmock-stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--limestone); letter-spacing: 1px; }
.wmock-stat-value .of { font-size: 13px; color: var(--slate); }
.wmock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-warm); display: inline-block; margin-left: 10px; }
.wmock-cap { font-size: 13px; color: var(--limestone-muted); line-height: 1.7; margin-top: 16px; }
@media (max-width: 768px) {
  .wallet-mocks { grid-template-columns: 1fr; }
  .wmock-ring-row { flex-direction: column; align-items: flex-start; }
}

/* terms list (charcoal band) */
.terms-list { list-style: none; margin-top: 32px; max-width: 760px; }
.terms-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--limestone-dim); line-height: 1.7; display: flex; gap: 16px; }
.terms-list li:last-child { border-bottom: none; }
.terms-list li b { color: var(--limestone); font-weight: 500; min-width: 150px; flex-shrink: 0; }
@media (max-width: 768px) {
  .terms-list li { flex-direction: column; gap: 3px; }
  .fee-matrix th, .fee-matrix td { padding: 13px 9px; }
  .fee-pct { font-size: 24px; }
  .fee-lvl { font-size: 17px; }
}

/* ---- Brief + interim-intake forms (2026-07-21) ---- */
.form-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  text-align: left;
}
.brief-block {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 22px 22px 8px;
  margin: 22px 0 4px;
  text-align: left;
}
.brief-block legend {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--limestone-dim);
  padding: 0 10px;
}
.field input[type="file"] {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--limestone-dim);
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: var(--r-sm);
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { background: var(--accent-hover); }

/* ---- Platform layer (desk in front, platform underneath; 2026-07-22) ---- */
.soon-pill {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.nav-login { white-space: nowrap; }
.platform-panel {
  margin-top: 48px;
  background: var(--coal-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  max-width: 760px;
}
.platform-panel h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1.5px;
  color: var(--limestone);
  font-weight: 400;
  margin-bottom: 12px;
}
.platform-panel p {
  font-size: 14px;
  color: var(--limestone-dim);
  line-height: 1.8;
  max-width: 62ch;
}
.platform-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.platform-note {
  margin-top: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--limestone-muted);
}
@media (max-width: 768px) {
  .platform-panel { padding: 26px 22px; }
}
