/* ===========================================================================
   MACH 6 HEAVY-DUTY — mach6.css
   Design system derived from Mach 6 Brand Guidelines (V6 candidate):
     Part 1 §2 Colour Palette        -> --m6-* colour tokens
     Part 1 §2 Accessible Pairings   -> which colours may carry text where
     Part 1 §3 Typography            -> Raleway (headings) / Open Sans (body)
     Part 1 §3 Typographic Scale     -> 40 / 28 / 20 / 16 / 13 px digital
     Part 1 §6 Icon System           -> 48px artboard, 2px stroke, outline only
     Part 2 §7 Business Stationery   -> diagonal cut + green closing rule
     Part 2 §9 Digital & Social      -> dark ground, green accent bar
   No colour, typeface or visual device outside those documents is introduced.
   =========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand palette — exact hex values from Part 1 §2 */
  --m6-green:        #119C22;   /* Primary identity colour. Brand anchor.     */
  --m6-green-light:  #7ACF29;   /* Accent only                                */
  --m6-green-dark:   #03470A;   /* Accent; the only green safe as body text
                                   on white (11.0:1)                          */
  --m6-grey:         #A6A8AB;   /* Default secondary — grey before green      */
  --m6-grey-dark:    #858C87;
  --m6-red:          #DC3837;   /* Urgency / alerts ONLY                      */
  --m6-yellow:       #F1BD45;   /* Safety cues / highlights ONLY              */
  --m6-black:        #000000;
  --m6-white:        #FFFFFF;

  /* Neutral surface tints. Derived from Black and Mach 6 Grey purely to give
     elevation and section rhythm — never used to carry text. */
  --surface-0:  #000000;
  --surface-1:  #0C0C0C;
  --surface-2:  #161616;
  --surface-3:  #202020;
  --paper-0:    #FFFFFF;
  --paper-1:    #F2F3F3;
  --hairline-d: rgba(255,255,255,.13);
  --hairline-l: rgba(0,0,0,.12);

  /* Type — Raleway for headings, Open Sans for body (Website Plan §03;
     Brand Guidelines Part 1 §3 approved-fallback rule). */
  --font-head: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Open Sans", Arial, Helvetica, sans-serif;

  /* Typographic scale — digital column, Part 1 §3 */
  --fs-display: 40px;   /* Display / H1  — Raleway Black                     */
  --fs-h2:      28px;   /* Section headers, subheads — Raleway Bold          */
  --fs-h3:      20px;   /* Card titles, callouts — Raleway Bold              */
  --fs-body:    16px;   /* Paragraph copy — Open Sans Regular                */
  --fs-caption: 13px;   /* Captions, legal, footnotes                        */

  /* 4px grid (Part 1 §6 icon grid, extended to layout) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 8.5vw, 112px);
  --maxw: 1240px;
  --maxw-narrow: 760px;

  --radius: 2px;              /* Part 1 §6: 2px corner radius */
  --notch: 12px;              /* diagonal cut — Part 2 §7 signature device */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper-0);
  color: var(--m6-black);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

/* ------------------------------------------------------- type primitives */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}
h1, .t-display {
  font-weight: 900;                       /* Raleway Black */
  font-size: clamp(29px, 4.4vw, var(--fs-display));
  letter-spacing: -.015em;
  text-transform: uppercase;
}
h2, .t-h2 {
  font-weight: 700;                       /* Raleway Bold */
  font-size: clamp(23px, 3vw, var(--fs-h2));
  letter-spacing: -.01em;
  text-transform: uppercase;
}
h3, .t-h3 {
  font-weight: 700;
  font-size: var(--fs-h3);
  letter-spacing: -.005em;
  line-height: 1.25;
}
h4, .t-h4 {                               /* derived: no 4th level is defined
                                             in the scale, so H4 reuses the
                                             body size at Raleway Bold */
  font-weight: 700;
  font-size: var(--fs-body);
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.35;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(17px, 1.55vw, 19px); line-height: 1.6; }
.caption, figcaption, small { font-size: var(--fs-caption); line-height: 1.55; }
strong, b { font-weight: 700; }

/* Eyebrow: caption-size Raleway Bold + the green rule from the letterhead /
   quote header. Encodes which part of the six-part page sequence follows. */
.eyebrow {
  display: flex; align-items: center; gap: var(--s3);
  font-family: var(--font-head); font-weight: 700;
  font-size: var(--fs-caption); letter-spacing: .18em;
  text-transform: uppercase; margin: 0 0 var(--s4);
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; flex: none;
  background: var(--m6-green);
}
.eyebrow--center { justify-content: center; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.stack > * + * { margin-top: var(--s5); }
.grid { display: grid; gap: var(--s5); }
@media (min-width: 720px)  { .g2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(var(--s6), 5vw, var(--s8)); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: 1.15fr .85fr; } }
@media (min-width: 900px) { .split--wide-right { grid-template-columns: .85fr 1.15fr; } }

/* Section skins */
.on-dark  { background: var(--surface-0); color: var(--m6-white); }
.on-dark-1{ background: var(--surface-1); color: var(--m6-white); }
.on-paper { background: var(--paper-0); color: var(--m6-black); }
.on-paper-alt { background: var(--paper-1); color: var(--m6-black); }
.on-dark .muted, .on-dark-1 .muted { color: var(--m6-grey); }        /* 8.8:1 */
.on-paper .muted, .on-paper-alt .muted { color: #4A4A4A; }           /* Mach 6
   Grey fails as body text on white (2.4:1), so light sections use a neutral
   dark grey instead — Part 1 §2 accessible-pairings table. */
.on-dark a:not(.btn):not(.card):hover { color: var(--m6-green-light); }

/* Green rule that closes a dark band — Part 2 §7 quote/invoice header */
.rule-green { height: 4px; background: var(--m6-green); border: 0; margin: 0; }

/* Diagonal cut — signature device from the confirmed business-card direction.
   The dark band ends on a slant with a green hairline riding the cut. */
.diag-bottom { position: relative; }
.diag-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(28px, 4vw, 56px);
  background: var(--m6-green);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
.diag-bottom > .diag-fill {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(28px, 4vw, 56px); z-index: 1;
  background: var(--paper-0);
  clip-path: polygon(0 100%, 100% 3px, 100% 100%);
  pointer-events: none;
}
.diag-bottom > .diag-fill--alt  { background: var(--paper-1); }
.diag-bottom > .diag-fill--dark { background: var(--surface-0); }
/* content must sit above both triangles */
.diag-bottom > .wrap { position: relative; z-index: 2; }

/* ----------------------------------------------------------------- buttons */
.btn {
  --btn-notch: var(--notch);
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s3);
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1; text-decoration: none;
  padding: 17px var(--s5); min-height: 52px;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
  /* diagonal cut on the trailing corner — the card device, at UI scale */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--btn-notch)),
                     calc(100% - var(--btn-notch)) 100%, 0 100%);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Primary: Mach 6 Green ground with BLACK type. Green-on-white is large-text
   only (3.6:1), but black on Mach 6 Green is 5.8:1 and passes AA for the
   button label at any size. */
.btn-primary { background: var(--m6-green); color: var(--m6-black); }
.btn-primary:hover { background: var(--m6-green-light); color: var(--m6-black); }

/* Secondary on a dark ground */
.btn-ghost-d { background: transparent; color: var(--m6-white); border-color: var(--m6-white); }
.btn-ghost-d:hover { background: var(--m6-white); color: var(--m6-black); }
/* Secondary on a light ground */
.btn-ghost-l { background: transparent; color: var(--m6-black); border-color: var(--m6-black); }
.btn-ghost-l:hover { background: var(--m6-black); color: var(--m6-white); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); }

/* Text link with the green underline motif */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 3px; border-bottom: 2px solid var(--m6-green);
  transition: gap .18s var(--ease), border-color .18s var(--ease);
}
.link-arrow:hover { gap: var(--s4); border-color: var(--m6-green-light); }
.link-arrow svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------- focus ring */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--m6-green-light);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.on-paper :focus-visible, .on-paper-alt :focus-visible { outline-color: var(--m6-green-dark); }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 999;
  background: var(--m6-green); color: var(--m6-black);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: 14px;
  padding: var(--s3) var(--s5); text-decoration: none;
}
.skip-link:focus { top: var(--s4); }

/* ============================================================ site header */
/* Utility bar — the green accent bar from the social template, Part 2 §9.
   Carries Careers / Fleet Knowledge Centre / Edmonton & Area / Contact
   per Website Plan §06. */
.utility {
  background: var(--m6-green); color: var(--m6-black);
  font-size: var(--fs-caption); line-height: 1;
}
.utility-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); min-height: 40px; flex-wrap: wrap;
}
.utility a { text-decoration: none; font-weight: 600; }
.utility a:hover { text-decoration: underline; }
.utility-links { display: none; gap: var(--s5); align-items: center; }
.utility-links li { list-style: none; }
@media (min-width: 900px) { .utility-links { display: flex; } }
.utility-contact { display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap; }
.utility-contact span, .utility-contact a {
  display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700;
}
.utility-contact svg { width: 14px; height: 14px; }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-0); color: var(--m6-white);
  border-bottom: 1px solid var(--hairline-d);
}
.masthead-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); min-height: 78px;
}
/* Full lockup is the default anywhere there's room (Part 1 §1); minimum
   on-screen width 120px — the header lockup is 168px. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
@media (max-width: 480px) { .brand img { width: 138px; } }

.nav-primary { display: none; }
@media (min-width: 1060px) { .nav-primary { display: block; } }
.nav-list { display: flex; align-items: center; gap: var(--s2); list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 14px var(--s3); border: 0; background: none; cursor: pointer;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 8px;
  height: 2px; background: var(--m6-green); transform: scaleX(0);
  transform-origin: left; transition: transform .2s var(--ease);
}
.nav-link:hover::after, .nav-item[data-open="true"] > .nav-link::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link svg { width: 11px; height: 11px; transition: transform .2s var(--ease); }
.nav-item[data-open="true"] .nav-link svg { transform: rotate(180deg); }

/* Mega menu — depth lives here, per Website Plan §06 */
.mega {
  position: absolute; top: calc(100% + 1px); left: 50%; translate: -50% 0;
  width: min(920px, calc(100vw - 48px));
  background: var(--surface-1); border: 1px solid var(--hairline-d);
  border-top: 3px solid var(--m6-green);
  padding: var(--s6);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.nav-item[data-open="true"] .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; gap: var(--s5) var(--s6); grid-template-columns: repeat(3, 1fr); }
.mega--2 .mega-grid { grid-template-columns: repeat(2, 1fr); }
.mega-col-title {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-caption);
  letter-spacing: .16em; text-transform: uppercase; color: var(--m6-green-light);
  padding-bottom: var(--s2); margin-bottom: var(--s3);
  border-bottom: 1px solid var(--hairline-d);
}
.mega-list { list-style: none; display: grid; gap: 2px; }
.mega-list a {
  display: flex; align-items: baseline; gap: var(--s2);
  text-decoration: none; font-size: 15px; padding: 7px var(--s2);
  border-radius: var(--radius); transition: background-color .15s var(--ease);
}
.mega-list a:hover { background: var(--surface-3); }
.mega-list .pri {
  font-size: 9px; font-family: var(--font-head); font-weight: 700;
  letter-spacing: .1em; color: var(--m6-green-light); flex: none;
}
.mega-foot {
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--hairline-d);
  display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center;
  justify-content: space-between;
}
.mega-foot p { font-size: 14px; margin: 0; color: var(--m6-grey); max-width: 46ch; }

.head-actions { display: flex; align-items: center; gap: var(--s3); flex: none; }
.head-actions .btn { min-height: 46px; padding: 14px var(--s5); font-size: 14px; }
@media (max-width: 1059px) { .head-actions .btn-primary { display: none; } }

/* Mobile nav trigger */
.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: none; border: 2px solid var(--hairline-d); cursor: pointer;
  padding: 11px var(--s4); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
}
.nav-toggle svg { width: 18px; height: 18px; }
@media (min-width: 1060px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
  background: var(--surface-0); color: var(--m6-white);
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0;
  transition: opacity .22s var(--ease), visibility .22s;
}
.drawer[data-open="true"] { visibility: visible; opacity: 1; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s4) var(--gutter);
  border-bottom: 1px solid var(--hairline-d); min-height: 78px; flex: none;
}
.drawer-body { overflow-y: auto; padding: var(--s5) var(--gutter) var(--s8); flex: 1; }
.drawer-group { border-bottom: 1px solid var(--hairline-d); }
.drawer-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  letter-spacing: .05em; text-transform: uppercase; padding: var(--s4) 0;
}
.drawer-group > summary::-webkit-details-marker { display: none; }
.drawer-group > summary svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.drawer-group[open] > summary svg { transform: rotate(180deg); }
.drawer-group ul { list-style: none; padding: 0 0 var(--s4); display: grid; gap: 1px; }
.drawer-group ul a { display: block; padding: 11px var(--s3); text-decoration: none; font-size: 15px; }
.drawer-group ul a:hover { background: var(--surface-2); }
.drawer-flat {
  display: block; padding: var(--s4) 0; text-decoration: none;
  border-bottom: 1px solid var(--hairline-d);
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  letter-spacing: .05em; text-transform: uppercase;
}
.drawer-cta { margin-top: var(--s6); display: grid; gap: var(--s3); }
.drawer-cta .btn { width: 100%; }
body[data-lock="true"] { overflow: hidden; }

/* ================================================================== heroes */
.hero { position: relative; background: var(--surface-0); color: var(--m6-white); overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Photography direction: gritty, high-contrast, clear subject. The scrim keeps
   text at AA while leaving the subject readable. */
.hero-media::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 42%, rgba(0,0,0,.36) 78%, rgba(0,0,0,.22) 100%),
    linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%);
}
.hero-in {
  position: relative; z-index: 2;
  padding-block: clamp(72px, 12vw, 152px);
  max-width: 44rem;
}
.hero--home .hero-in { padding-block: clamp(88px, 14vw, 176px); }
.hero h1 { margin-bottom: var(--s5); }
/* White line + green line — the headline treatment from the sample post
   template, Part 2 §9. Green on a black ground is 5.8:1. */
.hero h1 .ln2 { color: var(--m6-green); display: block; }
.hero .lede { color: var(--m6-grey); max-width: 46ch; margin-bottom: var(--s6); }
.hero .btn-row { margin-bottom: var(--s6); }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6);
  padding-top: var(--s5); border-top: 1px solid var(--hairline-d);
}
.hero-proof div { max-width: 15rem; }
.hero-proof dt {
  font-family: var(--font-head); font-weight: 900; font-size: 26px;
  letter-spacing: -.01em; color: var(--m6-white);
}
.hero-proof dd { margin: 2px 0 0; font-size: var(--fs-caption); color: var(--m6-grey); }

/* Compact page hero for the 33 interior commercial pages */
.hero--page .hero-in { padding-block: clamp(56px, 9vw, 104px); max-width: 46rem; }
.breadcrumb { font-size: var(--fs-caption); color: var(--m6-grey); margin-bottom: var(--s4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: var(--s2); opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Priority chip — the Priority column from Website Plan §05, surfaced as a
   real signal rather than decoration. */
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px var(--s3); border-radius: var(--radius); margin-bottom: var(--s4);
}
.chip--priority { background: var(--m6-green); color: var(--m6-black); }
.chip--standard { background: transparent; color: var(--m6-grey); border: 1px solid var(--hairline-d); }
.chip--alert { background: var(--m6-red); color: var(--m6-white); }

/* ================================================================== cards */
.card {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s6) var(--s5);
  background: var(--paper-0); border: 1px solid var(--hairline-l);
  border-top: 3px solid var(--m6-green);
  text-decoration: none; height: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.13); }
.card p { color: #4A4A4A; font-size: 15px; margin: 0; }
.card .card-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; }
.card .card-more {
  margin-top: auto; padding-top: var(--s3);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--m6-green-dark);
  display: inline-flex; align-items: center; gap: var(--s2);
}
.card:hover .card-more svg { transform: translateX(4px); }
.card .card-more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }

.on-dark .card, .on-dark-1 .card {
  background: var(--surface-2); border-color: var(--hairline-d); color: var(--m6-white);
}
.on-dark .card p, .on-dark-1 .card p { color: var(--m6-grey); }
.on-dark .card .card-more, .on-dark-1 .card .card-more { color: var(--m6-green-light); }
.on-dark .card:hover, .on-dark-1 .card:hover { background: var(--surface-3); box-shadow: none; }

/* Icon block — icons authored to the Part 1 §6 spec: 48px artboard, 24px live
   area, 2px stroke, outline only, rounded caps, single colour. */
.ico { width: 56px; height: 56px; flex: none; color: var(--m6-green-dark); }
.on-dark .ico, .on-dark-1 .ico, .hero .ico { color: var(--m6-green); }
.ico svg { width: 100%; height: 100%; }

/* Capability list */
.checks { list-style: none; display: grid; gap: var(--s3); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); align-items: start; }
.checks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--m6-green); }
.on-paper .checks svg, .on-paper-alt .checks svg { color: var(--m6-green-dark); }

/* Numbered process — a real sequence, so the numbers carry information */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s5); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding-top: var(--s4); border-top: 3px solid var(--m6-green); }
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 900;
  font-size: 30px; line-height: 1; margin-bottom: var(--s3);
}
.on-dark .steps li::before, .on-dark-1 .steps li::before { color: var(--m6-green); }
.on-paper .steps li::before, .on-paper-alt .steps li::before { color: var(--m6-green-dark); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { font-size: 15px; margin: 0; }

/* Stat band */
.stats { list-style: none; display: grid; gap: var(--s5); }
@media (min-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding-left: var(--s4); border-left: 3px solid var(--m6-green); }
.stats dt { font-family: var(--font-head); font-weight: 900; font-size: 32px; line-height: 1.05; letter-spacing: -.02em; }
.stats dd { margin: var(--s2) 0 0; font-size: var(--fs-caption); }

/* Quote / outcome block */
.quote { border-left: 4px solid var(--m6-green); padding-left: var(--s5); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; }
.quote figcaption { margin-top: var(--s4); font-size: var(--fs-caption); }

/* Media frame */
.frame { position: relative; }
.frame img { width: 100%; }
.frame--rule::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--m6-green);
}
.frame-cap { margin-top: var(--s3); font-size: var(--fs-caption); }

/* Certification / partner strip. Co-branding rules, Part 2 §10: Mach 6 leads,
   partner marks share one baseline height, thin grey divider, never green. */
.marks {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s5) var(--s7); justify-content: center;
}
.marks-item { display: flex; align-items: center; gap: var(--s4); }
.marks-item + .marks-item { padding-left: var(--s7); border-left: 1px solid var(--m6-grey-dark); }
@media (max-width: 700px) { .marks-item + .marks-item { padding-left: 0; border-left: 0; } }
.marks img { height: 34px; width: auto; }         /* one shared baseline height */
.marks img.mark-tall { height: 44px; }
.marks-label { font-size: var(--fs-caption); max-width: 18ch; }

/* Accordion (FAQ / schema-backed answers) */
.faq { display: grid; gap: 0; border-top: 1px solid var(--hairline-l); }
.on-dark .faq, .on-dark-1 .faq { border-color: var(--hairline-d); }
.faq details { border-bottom: 1px solid var(--hairline-l); }
.on-dark .faq details, .on-dark-1 .faq details { border-color: var(--hairline-d); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  cursor: pointer; list-style: none; padding: var(--s5) 0;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; flex: none; color: var(--m6-green-dark); transition: transform .2s var(--ease); }
.on-dark .faq summary svg, .on-dark-1 .faq summary svg { color: var(--m6-green); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 var(--s5); max-width: 68ch; }

/* Callout */
.callout {
  padding: var(--s5); border: 1px solid var(--hairline-l);
  border-left: 4px solid var(--m6-green); background: var(--paper-1);
}
.on-dark .callout, .on-dark-1 .callout { background: var(--surface-2); border-color: var(--hairline-d); border-left-color: var(--m6-green); }
.callout--alert { border-left-color: var(--m6-red); }
.callout--note { border-left-color: var(--m6-yellow); }
.callout h3 { margin-bottom: var(--s2); }
.callout p { font-size: 15px; }

/* Placeholder flag — required by the brief: placeholder content must be
   clearly identified. Uses Industrial Yellow, which is a defined safety /
   highlight cue in the palette. */
.placeholder {
  border-left: 4px solid var(--m6-yellow);
  background: rgba(241,189,69,.10);
  padding: var(--s4) var(--s5);
  font-size: var(--fs-caption);
}
.on-dark .placeholder, .on-dark-1 .placeholder { background: rgba(241,189,69,.09); }
.placeholder b {
  font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  font-size: 11px; display: block; margin-bottom: 4px;
}

/* Table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--hairline-l); vertical-align: top; }
.on-dark table.data th, .on-dark table.data td { border-color: var(--hairline-d); }
table.data th {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-caption);
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
table.data thead th { border-bottom-width: 2px; border-bottom-color: var(--m6-green); }

/* =================================================================== forms */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field > label {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-caption);
  letter-spacing: .1em; text-transform: uppercase;
}
.field .hint { font-size: var(--fs-caption); color: var(--m6-grey); }
.on-paper .field .hint, .on-paper-alt .field .hint { color: #4A4A4A; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  padding: 14px var(--s4); width: 100%;
  color: var(--m6-white); background: var(--surface-2);
  border: 1px solid var(--hairline-d); border-radius: var(--radius);
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--m6-grey-dark); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--m6-green); background: var(--surface-3); }
.on-paper .field input, .on-paper .field select, .on-paper .field textarea,
.on-paper-alt .field input, .on-paper-alt .field select, .on-paper-alt .field textarea {
  color: var(--m6-black); background: var(--paper-0); border-color: rgba(0,0,0,.28);
}
.field select { appearance: none; background-image: none; padding-right: var(--s6); }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: var(--s4); top: 50%; translate: 0 -50%; width: 13px; height: 13px; pointer-events: none; color: var(--m6-grey); }
@media (min-width: 700px) { .form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); } }
.req { color: var(--m6-red); }
.on-paper .req, .on-paper-alt .req { color: #B32423; }   /* AA on white */
.form-note { font-size: var(--fs-caption); }
fieldset { border: 0; margin: 0; padding: 0; }
legend {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-caption);
  letter-spacing: .1em; text-transform: uppercase; padding: 0; margin-bottom: var(--s3);
}
.radio-row { display: grid; gap: var(--s2); }
.radio-row label { display: flex; gap: var(--s3); align-items: flex-start; font-size: 15px; }
.radio-row input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--m6-green); }

/* ================================================================ CTA band */
.cta-band { background: var(--surface-0); color: var(--m6-white); position: relative; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--m6-white); }
.cta-inner { display: grid; gap: var(--s6); align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr .8fr; } }
.cta-band h2 { margin-bottom: var(--s4); }
.cta-band p { color: var(--m6-grey); max-width: 48ch; }
.cta-contact { display: grid; gap: var(--s3); font-size: 15px; }
.cta-contact a { text-decoration: none; font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }
.cta-contact div { display: flex; gap: var(--s3); align-items: flex-start; }
.cta-contact svg { width: 18px; height: 18px; color: var(--m6-green); flex: none; margin-top: 3px; }

/* ================================================================== footer */
.site-foot { background: var(--surface-1); color: var(--m6-white); }
.foot-top { display: grid; gap: var(--s7); padding-block: var(--section-y); }
@media (min-width: 860px)  { .foot-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-brand img { width: 176px; margin-bottom: var(--s5); }
.foot-brand p { font-size: 15px; color: var(--m6-grey); max-width: 34ch; }
.foot-col h2 {
  font-size: var(--fs-caption); letter-spacing: .16em; margin-bottom: var(--s4);
  padding-bottom: var(--s2); border-bottom: 1px solid var(--hairline-d);
}
.foot-col ul { list-style: none; display: grid; gap: var(--s2); }
.foot-col a { font-size: 15px; text-decoration: none; color: var(--m6-grey); }
.foot-col a:hover { color: var(--m6-white); text-decoration: underline; }
.foot-contact { display: grid; gap: var(--s3); font-size: 15px; color: var(--m6-grey); }
.foot-contact a { color: var(--m6-white); text-decoration: none; font-weight: 600; }
.foot-contact a:hover { text-decoration: underline; }
.foot-contact div { display: flex; gap: var(--s3); align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; color: var(--m6-green); flex: none; margin-top: 3px; }
.foot-marks { padding-block: var(--s6); border-top: 1px solid var(--hairline-d); }
.foot-legal {
  border-top: 1px solid var(--hairline-d); padding-block: var(--s5);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5);
  justify-content: space-between; font-size: var(--fs-caption); color: var(--m6-grey);
}
.foot-legal a { text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
.social { display: flex; gap: var(--s3); margin-top: var(--s5); }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--hairline-d); border-radius: var(--radius);
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
}
.social a:hover { background: var(--m6-green); border-color: var(--m6-green); color: var(--m6-black); }
.social svg { width: 18px; height: 18px; }

/* ================================================================= motion */
[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =================================================================== utils */
.center { text-align: center; }
.measure { max-width: 68ch; }
.measure-tight { max-width: 56ch; }
.mt0 { margin-top: 0 !important; }
.section-head { max-width: 62ch; margin-bottom: clamp(var(--s6), 4vw, var(--s7)); }
.section-head.center { margin-inline: auto; }
.section-head p { color: inherit; }
.on-dark .section-head p, .on-dark-1 .section-head p { color: var(--m6-grey); }
.on-paper .section-head p, .on-paper-alt .section-head p { color: #4A4A4A; }
.vis-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media print {
  .masthead, .utility, .drawer, .nav-toggle, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
}

/* -------------------------------------------------- no-JavaScript fallback */
.nav-nojs { background: var(--surface-1); border-top: 1px solid var(--hairline-d);
            color: var(--m6-white); padding-block: var(--s6); }
.nav-nojs .wrap { display: grid; gap: var(--s5) var(--s6); }
@media (min-width: 700px)  { .nav-nojs .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nav-nojs .wrap { grid-template-columns: repeat(4, 1fr); } }
.nav-nojs h2 { font-size: var(--fs-caption); letter-spacing: .16em;
               color: var(--m6-green-light); margin-bottom: var(--s3);
               padding-bottom: var(--s2); border-bottom: 1px solid var(--hairline-d); }
.nav-nojs ul { list-style: none; display: grid; gap: 4px; }
.nav-nojs a { font-size: 14px; text-decoration: none; color: var(--m6-grey); }
.nav-nojs a:hover { color: var(--m6-white); text-decoration: underline; }
