/* Manufacturing Capabilities page only (/manufacturing-capabilities/). Builds on tokens.css and site.css.
   Laid out after their own infographic (chg-77826b08): title with a short gold rule, strapline, three
   paragraphs; a figure strip with a drawn icon per figure; six capability cards, each led by a simple
   line illustration and a gold rule; the closing line between two rules. Their infographic's navy and
   red are carried as the site's own white line and gold. The illustrations are inline SVG, drawn for
   this page, never pictures of their machinery. */

.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;
}

/* Line drawings: white line, gold accent, dark fill where a shape sits over another */
.mfg-icon, .mfg-illo { display: block; flex: none; overflow: visible; }
.mfg-icon .ln, .mfg-illo .ln { fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mfg-icon .ln.dk, .mfg-illo .ln.dk { fill: var(--showroom); }
.mfg-icon .acs, .mfg-illo .acs { stroke: var(--gold); }
.mfg-icon .ac, .mfg-illo .ac { fill: var(--gold); }
.mfg-illo .blade-teeth { fill: none; stroke-width: 6; stroke-dasharray: 3.2 3.2; }
.mfg-illo .hub { fill: var(--showroom); }

/* Intro */
.mfg-intro { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 96px); }
.mfg-intro h1 { font-size: clamp(1.75rem, 0.5rem + 5.4vw, 4.75rem); line-height: 1; overflow-wrap: normal; }
.mfg-intro h1::after { content: ""; display: block; width: 88px; height: 3px; margin-top: clamp(18px, 2vw, 28px); background: var(--gold); }
.mfg-strap { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); line-height: 1.3; color: var(--white); }
.mfg-strap strong { font-weight: 600; }
.mfg-copy { margin-top: clamp(20px, 2.4vw, 32px); max-width: 72ch; }
.mfg-copy p + p { margin-top: 1em; }
.mfg-copy p:first-child { color: var(--white); }

/* Figures strip: icon beside each figure, hairlines between */
.mfg-figures { padding-block: clamp(44px, 5vw, 72px); }
.mfg-figures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mfg-figures li { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 8px clamp(16px, 3vw, 40px); }
.mfg-figures li + li { border-left: 1px solid var(--hair); }
.mfg-figures .mfg-icon { width: clamp(58px, 5vw, 76px); height: auto; }
.mfg-figures .mfg-num { font-family: var(--display); font-weight: 600; color: var(--white); font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.4rem); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: lining-nums; }
.mfg-figures .mfg-unit { margin-top: 8px; color: var(--body); font-size: 1rem; line-height: 1.35; }
.mfg-figures .mfg-unit-solo { margin-top: 0; color: var(--white); font-size: 1.1rem; }

/* Six capability cards */
.mfg-caps ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.mfg-caps li { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); padding: clamp(22px, 2.2vw, 32px) clamp(18px, 1.8vw, 28px); background: var(--colour-surface); border: 1px solid #36353a; }
.mfg-caps .mfg-illo { width: clamp(96px, 10vw, 150px); height: auto; }
.mfg-caps li > div { border-left: 2px solid var(--gold); padding-left: clamp(14px, 1.4vw, 20px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.mfg-caps h2 { font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.3rem); line-height: 1.2; margin-bottom: 10px; }
.mfg-caps p { margin: 0; font-size: 0.98rem; line-height: 1.5; }

/* Closing line between two gold rules */
.mfg-close h2 { max-width: none; display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.mfg-close h2::before, .mfg-close h2::after { content: ""; flex: 1 1 0; min-width: 32px; max-width: 220px; height: 2px; background: var(--gold); }
.mfg-close .cta-copy { width: 100%; justify-self: stretch; }
.mfg-close h2 { width: 100%; justify-content: center; }
.mfg-close h2 { font-size: clamp(1.35rem, 0.9rem + 1.5vw, 2.3rem); }
.mfg-close h2 span { flex: 0 1 30ch; }

@media (max-width: 1399px) {
  .mfg-caps ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mfg-figures ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mfg-figures li { justify-content: flex-start; padding: 20px 0; }
  .mfg-figures li + li { border-left: 0; border-top: 1px solid var(--hair); }
  .mfg-figures .mfg-icon { width: 64px; }
}
@media (max-width: 680px) {
  .mfg-caps ul { grid-template-columns: minmax(0, 1fr); }
  .mfg-caps .mfg-illo { width: 84px; }
  .mfg-close h2::before, .mfg-close h2::after { display: none; }
}
