/* ============================================================
   LEAN MINING — site.css
   Design tokens and components. One stylesheet for all pages
   and all three divisions.
   ============================================================ */

:root {
  /* Brand */
  --color-brand:        #005492;
  --color-brand-dark:   #001834;
  --color-comp-light:   #55A0A6;
  --color-comp-dark:    #012D5C;

  /* Neutrals */
  --color-ink:          #0E1A26;
  --color-ink-muted:    #4A5A6A;
  --color-paper:        #F7F9FB;
  --color-white:        #FFFFFF;
  --color-line:         #D9E1E8;
  --color-border:       #76899A;

  /* Accent — the only thing a division overrides */
  --color-accent:         var(--color-brand);
  --color-accent-ink:     var(--color-brand);   /* accent AS TEXT on light */
  --color-on-accent:      var(--color-white);   /* text ON the accent */
  --color-accent-on-dark: #4C9BDC;              /* accent on navy, 5.96:1 */

  /* Type */
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   clamp(1.0625rem, 0.3vw + 1rem,    1.125rem);
  --text-xl:   clamp(1.25rem,   0.6vw + 1.1rem,  1.5rem);
  --text-2xl:  clamp(1.5rem,    1.2vw + 1.2rem,  2rem);
  --text-3xl:  clamp(1.875rem,  2vw + 1.3rem,    2.75rem);
  --text-4xl:  clamp(2.25rem,   3.5vw + 1.4rem,  4rem);

  --leading-tight: 1.12;
  --leading-snug:  1.3;
  --leading-body:  1.65;
  --tracking-tight: -0.02em;
  --tracking-wide:   0.08em;

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;     --space-9: 6rem;

  /* Shape & depth */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(14, 26, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 26, 38, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur:  180ms;

  /* Layout */
  --measure: 68ch;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 72px;
}

/* ---- Division themes: three tokens each ---- */
body.theme-asset {
  --color-accent:         #55A0A6;
  --color-accent-ink:     #3B7A80;
  --color-on-accent:      #001834;
  --color-accent-on-dark: #55A0A6;   /* 5.90:1 on navy */
}
body.theme-workforce {
  --color-accent:         #F39200;
  --color-accent-ink:     #A05A00;
  --color-on-accent:      #001834;
  --color-accent-on-dark: #F39200;   /* 7.56:1 on navy */
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-lg); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 var(--space-4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul, ol { max-width: var(--measure); }

a { color: var(--color-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-brand-dark); }

img, svg, video { max-width: 100%; height: auto; display: block; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.on-dark :where(a, button, input, select, textarea, summary):focus-visible {
  outline-color: var(--color-white);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--color-white); color: var(--color-brand-dark);
  padding: var(--space-3) var(--space-4); font-weight: 700;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 56rem; margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(var(--space-7), 7vw, var(--space-9)); }
.section--tight { padding-block: var(--space-7); }
.section--paper { background: var(--color-paper); }
.section--dark { background: var(--color-brand-dark); color: var(--color-white); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--dark p { color: #C6D4E2; }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gap-lg { gap: var(--space-6); }
/* Exactly two columns once there is room — for even-numbered card sets */
.grid-2-strict { grid-template-columns: 1fr; }
@media (min-width: 52rem) { .grid-2-strict { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.eyebrow {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--color-accent-ink); margin: 0 0 var(--space-3);
}
.section--dark .eyebrow { color: var(--color-accent-on-dark); }
.hero .eyebrow { color: var(--color-accent-on-dark); }

.lede { font-size: var(--text-lg); color: var(--color-ink-muted); }
.section--dark .lede { color: #C6D4E2; }
.note { font-size: var(--text-sm); color: var(--color-ink-muted); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-brand-dark);
  color: var(--color-white);
  border-bottom: 3px solid var(--color-accent-on-dark);
  transition: border-color var(--dur) var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: var(--header-h);
}

.brand-lockup {
  display: inline-flex; align-items: center; gap: var(--space-3);
  text-decoration: none; color: var(--color-white); padding-block: var(--space-2);
}
.brand-logo { height: 54px; width: auto; flex: none; display: block; }
.brand-mark { height: 34px; width: auto; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 800; font-size: 1.0625rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.brand-division {
  font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent-on-dark); margin-top: 2px;
}

.nav-toggle {
  display: none; font: inherit; background: transparent;
  color: var(--color-white); border: 1px solid #2A4761;
  border-radius: var(--radius-md); padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm); font-weight: 600; cursor: pointer;
  min-height: 44px;
}

.site-nav ul {
  list-style: none; display: flex; align-items: center;
  gap: var(--space-5); margin: 0; padding: 0;
}
.site-nav a {
  color: #C6D4E2; text-decoration: none;
  font-size: var(--text-sm); font-weight: 600;
  padding-block: var(--space-3); display: inline-block;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--color-white); }
.site-nav a[aria-current="page"] { color: var(--color-white); border-bottom-color: var(--color-accent-on-dark); }
.site-nav .nav-cta {
  background: var(--color-accent); color: var(--color-on-accent);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  border-bottom: 0; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav .nav-cta:hover { filter: brightness(0.92); color: var(--color-on-accent); }

@media (max-width: 30rem) { .brand-logo { height: 42px; } }

@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; width: 100%; order: 3;
    border-top: 1px solid #1B3550; padding-block: var(--space-3);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: var(--space-3) 0; border-bottom: 1px solid #12263C; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--color-accent-on-dark); }
  .site-nav .nav-cta { margin-top: var(--space-3); justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-brand-dark);
  color: var(--color-white);
  padding-block: clamp(var(--space-8), 10vw, var(--space-9));
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,24,52,0.94) 0%, rgba(0,24,52,0.78) 48%, rgba(0,24,52,0.42) 100%);
  z-index: 1;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 44rem; }
.hero h1 { color: var(--color-white); margin-bottom: var(--space-5); }
.hero p { color: #D4E1EE; font-size: var(--text-lg); max-width: 38rem; }
.hero-rule { width: 4rem; height: 4px; background: var(--color-accent-on-dark); margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.hero-contours {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.18; color: var(--color-accent-on-dark); pointer-events: none;
}

/* On narrow screens the copy spans the whole hero, so a side-to-side scrim
   leaves the last words of each line over bare photograph. Even it out. */
@media (max-width: 56rem) {
  .hero::after {
    background: linear-gradient(180deg,
      rgba(0,24,52,0.90) 0%, rgba(0,24,52,0.83) 55%, rgba(0,24,52,0.78) 100%);
  }
}

/* Hero variant — detail-dense backdrop needs a firmer scrim than open sky.
   Narrow screens: copy spans the full width, so the scrim has to be even. */
.hero--texture::after {
  background: linear-gradient(180deg,
    rgba(0,24,52,0.93) 0%, rgba(0,24,52,0.89) 55%, rgba(0,24,52,0.86) 100%);
}
/* Wide screens: copy sits left, so the right side can carry the photograph. */
@media (min-width: 56rem) {
  .hero--texture::after {
    background: linear-gradient(100deg,
      rgba(0,24,52,0.95) 0%, rgba(0,24,52,0.87) 44%, rgba(0,24,52,0.44) 100%);
  }
}

/* Hero variant — photograph's subject sits left, so the copy moves right.
   Used where the person in the frame would otherwise sit under the headline. */
/* A phone crops this 16:9 frame down to roughly 40% of its width, so the
   anchor has to be a subject, not a midpoint. Centred on the machine it cut
   the machinist in half at the left edge. Anchored here he sits whole, with
   his face above the headline and the lathe entering from the right. */
.hero--right .hero-media img { object-position: 11% center; }
@media (min-width: 56rem) {
  .hero--right .hero-media img { object-position: 10% 12%; }
  .hero--right::after {
    background: linear-gradient(260deg,
      rgba(0,24,52,0.95) 0%, rgba(0,24,52,0.89) 50%, rgba(0,24,52,0.42) 100%);
  }
  .hero--right .hero-inner { margin-left: auto; }
}

/* ============================================================
   PHOTO PLACEHOLDERS (review build only — swap for real images)
   ============================================================ */
.photo-ph {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #012D5C 0%, #001834 100%);
  color: #8FB0CC;
  border-radius: var(--radius-lg);
  display: grid; place-items: center; text-align: center;
  padding: var(--space-5); min-height: 240px;
}
.photo-ph span {
  position: relative; z-index: 2;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  max-width: 26ch; line-height: 1.6;
}
.photo-ph .contour-fill { position: absolute; inset: 0; opacity: 0.2; color: var(--color-accent-on-dark); }
.photo-ph--tall { min-height: 420px; }
.hero-media .photo-ph { place-items: start end; text-align: right; padding: var(--space-5); }
.hero-media .photo-ph span { opacity: 0.55; }
.photo-ph--wide { min-height: 320px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: inherit; font-weight: 700; font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5); min-height: 44px;
  border-radius: var(--radius-md); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-brand); color: var(--color-white); border-color: var(--color-brand); }
.btn-primary:hover { background: var(--color-brand-dark); border-color: var(--color-brand-dark); color: var(--color-white); }
.btn-accent { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); }
.btn-accent:hover { filter: brightness(0.92); color: var(--color-on-accent); }
.btn-secondary { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn-secondary:hover { background: var(--color-brand); color: var(--color-white); }
.btn-on-dark { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.45); }
.btn-on-dark:hover { background: var(--color-white); color: var(--color-brand-dark); border-color: var(--color-white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; filter: none; }

/* ============================================================
   COMPONENTS
   ============================================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-rule { width: 2.5rem; height: 3px; background: var(--color-accent); margin-bottom: var(--space-4); }
.card h3 { margin-bottom: var(--space-3); }
.card p { font-size: var(--text-sm); color: var(--color-ink-muted); }

/* Division route cards on the homepage */
.route {
  display: flex; flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--route-accent, var(--color-brand));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.route:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.route-body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.route-kicker {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--route-ink, var(--color-brand)); margin-bottom: var(--space-3);
}
.route h3 { font-size: var(--text-2xl); font-weight: 800; }
.route ul {
  list-style: none; padding: 0; margin: 0 0 var(--space-5);
  font-size: var(--text-sm); color: var(--color-ink-muted);
}
.route li { padding-left: var(--space-5); position: relative; margin-bottom: var(--space-2); }
.route li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 10px; height: 2px; background: var(--route-accent, var(--color-brand));
}
.route .btn { align-self: flex-start; margin-top: auto; }
.route--asset     { --route-accent: #55A0A6; --route-ink: #3B7A80; }
.route--workforce { --route-accent: #F39200; --route-ink: #A05A00; }

/* Trust strip */
.trust {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  padding-block: var(--space-4);
}
.trust ul {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.04em; color: var(--color-ink-muted);
}
.trust li { display: flex; align-items: center; gap: var(--space-2); }
.trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent); flex: none;
}

/* Full-bleed accent band — once per division section */
.band {
  background: var(--color-accent); color: var(--color-on-accent);
  padding-block: clamp(var(--space-7), 6vw, var(--space-8));
  transition: background-color var(--dur) var(--ease);
}
.band h2, .band h3 { color: inherit; }
.band p { color: inherit; }
.band .btn-on-band {
  background: var(--color-brand-dark); color: var(--color-white);
  border-color: var(--color-brand-dark);
}
.band .btn-on-band:hover { background: var(--color-white); color: var(--color-brand-dark); border-color: var(--color-white); }

/* Statement — a single number set in prose, not a dashboard tile */
.statement {
  display: grid; gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 52rem) {
  .statement { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-7); }
}
.statement-figure {
  font-size: clamp(4rem, 11vw, 7.5rem); font-weight: 800;
  line-height: 0.85; letter-spacing: -0.05em;
  color: var(--color-accent);
}
.section--dark .statement-figure { color: var(--color-accent-on-dark); }
.statement-text { font-size: var(--text-xl); font-weight: 500; line-height: var(--leading-snug); max-width: 40ch; }

/* Quote */
.quote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-5); margin: 0;
  font-size: var(--text-xl); font-weight: 500;
  line-height: var(--leading-snug); letter-spacing: var(--tracking-tight);
  max-width: 46ch;
}
.quote footer {
  margin-top: var(--space-4); font-size: var(--text-sm);
  font-weight: 600; color: var(--color-ink-muted); letter-spacing: 0;
}
.section--dark .quote { border-left-color: var(--color-accent-on-dark); }
.section--dark .quote footer { color: #9FB6CC; }

/* Logo wall */
.logo-wall {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center; margin-top: var(--space-6);
}
.logo-slot {
  display: grid; place-items: center;
  min-height: 96px; padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 700;
  color: var(--color-ink-muted); text-align: center;
}
.logo-slot img {
  max-width: 100%; max-height: 46px;
  width: auto; height: auto; object-fit: contain;
}

/* Region list */
.regions { list-style: none; padding: 0; margin: 0; max-width: none; }
.regions li {
  display: flex; justify-content: space-between; gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-line);
  font-size: var(--text-sm);
}
.regions li span:first-child { font-weight: 700; color: var(--color-ink); }
.regions li span:last-child { color: var(--color-ink-muted); text-align: right; }
.section--dark .regions li { border-bottom-color: rgba(255,255,255,0.14); }
.section--dark .regions li span:first-child { color: var(--color-white); }
.section--dark .regions li span:last-child { color: #9FB6CC; }

/* Trade list */
.trades { list-style: none; padding: 0; margin: 0; max-width: none;
          display: grid; gap: var(--space-3);
          grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trades li {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-weight: 600; font-size: var(--text-sm);
}

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: none; }
.steps li {
  counter-increment: step; position: relative;
  padding-left: var(--space-8); padding-bottom: var(--space-6);
  border-left: 1px solid var(--color-line); margin-left: 1.25rem;
}
.steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.steps li::before {
  content: counter(step);
  position: absolute; left: -1.25rem; top: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--color-accent); color: var(--color-on-accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: var(--text-sm);
}
.steps h4 { margin-bottom: var(--space-2); }
.steps p { font-size: var(--text-sm); color: var(--color-ink-muted); }

/* Dark panel with contour motif */
.panel-dark {
  background: var(--color-brand-dark); color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  position: relative; overflow: hidden;
}
.panel-dark h3 { color: var(--color-white); }
.panel-dark p  { color: #C6D4E2; }
.panel-dark .eyebrow { color: var(--color-accent-on-dark); }
.panel-dark .regions li { border-bottom-color: rgba(255,255,255,0.14); }
.panel-dark .regions li span:first-child { color: var(--color-white); }
.panel-dark .regions li span:last-child  { color: #9FB6CC; }
.panel-dark .note { color: #9FB6CC; }
.panel-dark > *:not(.contour) { position: relative; z-index: 2; }
.contour { position: absolute; inset: 0; pointer-events: none;
           opacity: 0.16; color: var(--color-accent-on-dark); z-index: 1; }

/* Closing CTA panel — stacks on mobile, sits text-left / button-right on desktop
   so the panel is filled rather than running out halfway across. */
.panel-cta { display: grid; gap: var(--space-5); align-items: center; }
.panel-cta .panel-cta-body > :last-child { margin-bottom: 0; }
.panel-cta .panel-cta-body p { max-width: 54ch; }
@media (min-width: 48rem) {
  .panel-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-7);
    padding: var(--space-8) var(--space-7);
  }
  .panel-cta .btn { justify-self: end; white-space: nowrap; }
}

/* Case study — problem / action / benefit, on the dark band */
.case {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.case-kicker {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--color-accent-on-dark); margin: 0 0 var(--space-3);
}
.case h3 { font-size: var(--text-lg); color: var(--color-white); margin-bottom: var(--space-5); }
.case dl { margin: 0; }
.case dt {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: #8FA8BE; margin-bottom: var(--space-2);
}
.case dd {
  margin: 0 0 var(--space-5); font-size: var(--text-sm);
  color: #C6D4E2; line-height: 1.6;
}
.case dd:last-child { margin-bottom: 0; }
.case dd.case-benefit { color: var(--color-white); font-weight: 500; }

/* ============================================================
   FORMS
   ============================================================ */
.form { max-width: 36rem; }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-2); }
.field .hint { font-size: var(--text-xs); color: var(--color-ink-muted); margin-bottom: var(--space-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="file"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--text-base);
  color: var(--color-ink); background: var(--color-white);
  padding: var(--space-3); min-height: 44px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.field .error { display: flex; gap: var(--space-2); color: #8C1D18;
                font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-2); }
.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
.checkbox input { margin-top: 0.3em; width: 18px; height: 18px; flex: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  margin: 0 0 var(--space-5); max-width: none;
  padding: var(--space-4);
  background: #FDF3F2; color: #7A1C16;
  border: 1px solid #E3B7B3; border-left: 3px solid #B3261E;
  border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-brand-dark); color: #C6D4E2;
  padding-block: var(--space-8) var(--space-6);
}
.site-footer h2, .site-footer h3 { color: var(--color-white); font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: var(--space-4); }
.footer-grid { display: grid; gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: var(--text-sm); }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a { color: #C6D4E2; text-decoration: none; }
.site-footer a:hover { color: var(--color-white); text-decoration: underline; }

/* The footer suppresses underlines, which is fine for a column of navigation
   links but leaves a one-word external link like "LinkedIn" reading as a
   label rather than something clickable. Mark those explicitly. */
.site-footer a.link-external {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.site-footer a.link-external::after {
  content: "\2197";              /* north-east arrow: leaves the site */
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.9em;
  text-decoration: none;
}
.site-footer p { font-size: var(--text-sm); }
.footer-base {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  font-size: var(--text-xs); color: #8FA8BE;
}
.footer-base p { font-size: var(--text-xs); margin: 0; }

/* ============================================================
   REVIEW-BUILD MARKER — remove before launch
   ============================================================ */
.todo {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: #FFF3D6; color: #6B4A00;
  border: 1px solid #E3C77A; border-radius: var(--radius-sm);
  padding: 2px 6px; margin-left: var(--space-2); vertical-align: middle;
}

/* ============================================================
   COVERAGE BAND — where work is delivered, not where offices are
   ============================================================ */
.coverage {
  background: var(--color-brand-dark);
  color: var(--color-white);
  padding-block: var(--space-6);
  position: relative; overflow: hidden;
}
.coverage .wrap { position: relative; z-index: 2; }
.coverage-label {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--color-accent-on-dark); margin: 0 0 var(--space-4);
}
.coverage-list {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7);
  align-items: baseline;
}
.coverage-list li {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800; letter-spacing: var(--tracking-tight);
  line-height: 1.1;
}
.coverage-list li span {
  display: block; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: #8FA8BE; margin-top: var(--space-2);
}
.coverage-note {
  margin: var(--space-5) 0 0; font-size: var(--text-sm);
  color: #C6D4E2; max-width: 56ch;
}

/* Service group accordion-style blocks */
.svc { border-top: 1px solid var(--color-line); padding-block: var(--space-6); }
.svc:last-child { border-bottom: 1px solid var(--color-line); }
.svc-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 52rem) { .svc-grid { grid-template-columns: 16rem minmax(0, 1fr); gap: var(--space-7); } }
.svc h3 { margin: 0; font-size: var(--text-xl); }
.svc-num {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide);
  color: var(--color-accent-ink); margin-bottom: var(--space-2);
}
.svc-note { font-size: var(--text-sm); color: var(--color-ink-muted);
            margin: var(--space-3) 0 0; max-width: 30ch; line-height: 1.5; }
.svc ul { list-style: none; padding: 0; margin: 0; max-width: none;
          columns: 2; column-gap: var(--space-6); }
@media (max-width: 40rem) { .svc ul { columns: 1; } }
.svc li {
  position: relative; padding-left: var(--space-5);
  margin-bottom: var(--space-3); font-size: var(--text-sm);
  color: var(--color-ink-muted); break-inside: avoid;
}
.svc li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 2px; background: var(--color-accent);
}
