/* SPEC Machinery design system.
   Palette: charcoal, steel, mid grey, light steel, white, amber accent.
   MB Automation blues are used only inside partner sections. */

:root {
  --charcoal: #15191E;
  --charcoal-deep: #0F1216;
  --steel: #2B333B;
  --grey: #6B7680;
  --light: #EEF1F4;
  --white: #FFFFFF;
  --amber: #F2A900;
  --amber-hover: #FFBC1F;

  --ink: #1B2127;
  --ink-soft: #47525C;
  --on-dark: #E6EAEE;
  --on-dark-soft: #BAC3CB;
  --line: #D8DEE4;
  --field-border: #7F8A94;

  --mb-dark: #1F4E79;
  --mb-mid: #2E75B6;
  --mb-tint: #EAF2FA;

  --container: 1200px;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(15, 18, 22, .14);

  --font-head: "Barlow Condensed", "Head Fallback A", "Head Fallback R", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --font-body: Inter, "Body Fallback A", "Body Fallback R", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Device fonts sized to the same width as the web fonts, so the page does not jump when the web fonts arrive.
   A = Arial (or Liberation Sans), R = Roboto on Android. */
@font-face { font-family: "Head Fallback A"; font-weight: 500 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); size-adjust: 68%; ascent-override: 147%; descent-override: 29.4%; line-gap-override: 0%; }
@font-face { font-family: "Head Fallback R"; font-weight: 500 900; src: local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 73.5%; ascent-override: 136%; descent-override: 27.2%; line-gap-override: 0%; }
@font-face { font-family: "Body Fallback A"; font-weight: 100 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"); size-adjust: 106.8%; ascent-override: 90.7%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "Body Fallback A"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); size-adjust: 101.8%; ascent-override: 95.2%; descent-override: 23.7%; line-gap-override: 0%; }
@font-face { font-family: "Body Fallback R"; font-weight: 100 500; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 107%; ascent-override: 90.5%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Body Fallback R"; font-weight: 600 900; src: local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 108.4%; ascent-override: 89.4%; descent-override: 22.3%; line-gap-override: 0%; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }

a { color: inherit; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .018em;
  line-height: 1.05;
  color: var(--charcoal);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.45rem; line-height: 1.12; margin-bottom: .45em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--amber);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  padding: .75rem 1.1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: .75rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }

.icon { width: 1.35em; height: 1.35em; flex: none; }

/* Marker boxes for items waiting on S&P. They appear in the review version only. */
.confirm {
  background: #FFF3D1;
  color: #3D2E00;
  border: 1px dashed #A97700;
  border-radius: 3px;
  padding: 0 .35em;
  font-size: .9em;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--amber { background: var(--amber); color: var(--charcoal); border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.btn--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--steel); border-color: var(--steel); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--outline { color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
@media (max-width: 480px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(0, 0, 0, .32); }
.header-inner {
  width: min(100% - 2rem, 1340px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
}
.brand { display: inline-flex; flex: none; text-decoration: none; color: var(--white); }
.wordmark { display: block; width: 214px; height: auto; overflow: visible; }
.wm-main { font-family: var(--font-head); font-weight: 700; font-size: 27px; }
.wm-by { font-family: var(--font-body); font-weight: 500; font-size: 10.5px; }

.main-nav ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: .45rem 0 .35rem;
  border-bottom: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--white); border-bottom-color: rgba(242, 169, 0, .55); }
.main-nav a[aria-current] { color: var(--white); border-bottom-color: var(--amber); }
.nav-only-small { display: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.header-phone .icon { color: var(--amber); }
.header-quote { min-height: 44px; padding: .65rem 1.1rem; font-size: 1.05rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1279px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 36px rgba(0, 0, 0, .35);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.1rem; }
  .main-nav a { padding: .85rem 0; font-size: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .main-nav a[aria-current] { color: var(--amber); border-bottom-color: rgba(255, 255, 255, .09); }
  .nav-only-small { display: list-item; }
  .nav-toggle { display: inline-flex; }
  .header-phone { order: 2; }
  .header-quote { order: 3; }
  .nav-toggle { order: 4; }

  /* Without JavaScript the menu stays visible. */
  .no-js .site-header { position: static; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .main-nav { display: block; position: static; order: 9; width: 100%; box-shadow: none; }
  .no-js .main-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 1.1rem; padding: 0 0 .75rem; }
  .no-js .nav-toggle { display: none; }
}

/* Sticky call and quote bar on phones */
.mobile-bar { display: none; }

@media (max-width: 767px) {
  .header-inner { min-height: 68px; justify-content: space-between; }
  .main-nav { max-height: calc(100vh - 68px - 66px); }
  .header-phone, .header-quote { display: none; }
  .wordmark { width: 204px; }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--charcoal-deep);
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .mobile-bar .btn { min-height: 46px; padding: .6rem; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* ---------- Surfaces and sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--light { background: var(--light); }
.section--dark {
  background-color: var(--charcoal);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .017) 0 1px, transparent 1px 4px);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head p { font-size: 1.13rem; color: var(--ink-soft); }
.section--dark .section-head p { color: var(--on-dark-soft); }
.section-head h2::after, .laser-under::after {
  content: "";
  display: block;
  width: 96px; height: 3px;
  margin-top: .55rem;
  background: linear-gradient(90deg, var(--amber) 0 72%, transparent 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .9rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--amber); flex: none; }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow { color: var(--amber); }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--charcoal);
  background-image:
    radial-gradient(900px 420px at 85% -10%, rgba(107, 118, 128, .34), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px);
  color: var(--on-dark);
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0, var(--amber) 18%, var(--amber) 46%, transparent 78%);
}
.hero h1, .page-hero h1 { color: var(--white); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
  padding: clamp(2.75rem, 6vw, 5.25rem) 0 clamp(3.25rem, 6.5vw, 5.5rem);
}
.hero h1 { font-size: clamp(2.35rem, 4.7vw, 3.75rem); }
.tagline {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--on-dark); max-width: 40em; }
.hero-note { margin-top: 1.2rem; font-size: .98rem; color: var(--on-dark-soft); }

.media-frame { position: relative; }
.media-frame img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .42);
}
.media-frame::before, .media-frame::after {
  content: "";
  position: absolute;
  width: 46px; height: 46px;
  border: 3px solid var(--amber);
  pointer-events: none;
}
.media-frame::before { left: -10px; top: -10px; border-right: 0; border-bottom: 0; }
.media-frame::after { right: -10px; bottom: -10px; border-left: 0; border-top: 0; }

.page-hero .hero-grid { padding: 1.5rem 0 clamp(3rem, 5.5vw, 4.5rem); }
.page-hero-simple { padding: 1.5rem 0 clamp(2.75rem, 5vw, 4rem); }
.page-hero-simple .lead { max-width: 46em; }

.breadcrumbs { padding-top: 1.25rem; font-size: .9rem; color: var(--on-dark-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .55rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--grey); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .media-frame { margin: 0 .6rem; }
}

/* ---------- Proof strip ---------- */
.proof { background: var(--steel); color: var(--white); }
.proof ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0 auto;
  padding: 1.6rem 0;
}
.proof li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; }
.proof .icon { width: 30px; height: 30px; color: var(--amber); margin-top: .15rem; }
.proof strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.15;
  text-transform: uppercase;
}
.proof span { display: block; font-size: .9rem; line-height: 1.45; color: var(--on-dark-soft); margin-top: .2rem; }
@media (max-width: 1060px) { .proof ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .proof ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  width: 0; height: 3px;
  background: var(--amber);
  transition: width .25s ease;
}
.card:hover, .card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:hover::before, .card:focus-within::before { width: 100%; }
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--steel); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.45rem; }
.card .card-title { color: var(--charcoal); font-size: 1.45rem; line-height: 1.12; margin-bottom: .45em; }
.card .card-title a { text-decoration: none; }
.card .card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .card-title a:focus-visible { outline: none; box-shadow: none; }
.card:has(a:focus-visible) { outline: 3px solid var(--charcoal); box-shadow: 0 0 0 7px var(--amber); }
.card p { color: var(--ink-soft); font-size: 1rem; }
.more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: .35rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.more .icon { color: var(--charcoal); transition: transform .18s ease; }
.card:hover .more .icon { transform: translateX(4px); }

.card--cta {
  justify-content: center;
  background-color: var(--charcoal);
  background-image: repeating-linear-gradient(135deg, rgba(242, 169, 0, .07) 0 2px, transparent 2px 22px);
  border-color: var(--charcoal);
  color: var(--on-dark);
}
.card--cta .card-body { justify-content: center; padding: 2rem 1.6rem; }
.card--cta .card-title { color: var(--white); font-size: 1.85rem; }
.card--cta p { color: var(--on-dark-soft); }
.card--cta .more, .card--cta .more .icon { color: var(--amber); }
.card--cta .more { margin-top: .5rem; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin-bottom: 1.05rem;
  background: var(--charcoal);
  color: var(--amber);
  border-radius: var(--radius);
}
.icon-badge .icon { width: 32px; height: 32px; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.process li { position: relative; margin: 0; padding-top: 4.25rem; counter-increment: step; }
.process li::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--amber);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}
.process li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 56px;
  right: -1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(242, 169, 0, .22));
}
.process h3 { font-size: 1.38rem; margin-bottom: .35rem; }
.process p { font-size: .97rem; color: var(--on-dark-soft); }
.process .who {
  display: block;
  margin-bottom: .45rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
}
@media (max-width: 920px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process li { min-height: 48px; padding: .25rem 0 1.75rem 4.5rem; }
  .process li:not(:last-child)::after { top: 54px; bottom: 6px; left: 23px; right: auto; width: 2px; height: auto; }
}

/* ---------- Industries ---------- */
.industry {
  padding: 1.6rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--charcoal);
  border-radius: var(--radius);
}
.industry .icon { width: 40px; height: 40px; margin-bottom: .9rem; color: var(--charcoal); }
.industry h3 { font-size: 1.35rem; }
.industry p { font-size: .98rem; color: var(--ink-soft); }

/* ---------- Partner sections (MB Automation colours live only here) ---------- */
.partner {
  background-color: var(--mb-dark);
  background-image:
    radial-gradient(800px 380px at 100% 0, rgba(46, 117, 182, .55), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px);
  color: var(--white);
}
.partner h2, .partner h3 { color: var(--white); }
.partner a { text-decoration-color: #9CC7F0; }
.partner .eyebrow { color: #D5E8FA; }
.partner .eyebrow::before { background: #9CC7F0; }
.partner-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 3rem; align-items: center; }
.partner-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.partner-cols li { margin: 0; padding: 1rem 1.1rem; background: rgba(255, 255, 255, .09); border-left: 3px solid #9CC7F0; border-radius: 0 var(--radius) var(--radius) 0; font-size: .96rem; line-height: 1.5; }
.partner-cols strong { display: block; font-family: var(--font-head); font-size: 1.18rem; letter-spacing: .05em; text-transform: uppercase; }
.partner-mark { display: flex; justify-content: center; }
.partner-mark .mb-card { width: min(100%, 270px); padding: 2rem; text-align: center; border: 1px solid rgba(255, 255, 255, .26); border-radius: var(--radius); background: rgba(10, 30, 50, .28); }
.partner-mark img { width: 150px; margin: 0 auto 1rem; }
.partner-mark p { font-size: .95rem; }
@media (max-width: 920px) {
  .partner-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .partner-cols { grid-template-columns: minmax(0, 1fr); }
}
.btn--mb { background: var(--white); color: var(--mb-dark); border-color: var(--white); }
.btn--mb:hover { background: var(--mb-tint); border-color: var(--mb-tint); }

.mb-zone { background: var(--mb-tint); border-top: 4px solid var(--mb-dark); }
.mb-zone h2, .mb-zone h3 { color: var(--mb-dark); }
.mb-zone .section-head h2::after { background: linear-gradient(90deg, var(--mb-mid) 0 72%, transparent 100%); }
.mb-zone .eyebrow { color: var(--mb-dark); }
.mb-zone .eyebrow::before { background: var(--mb-mid); }
.mb-zone .tile { background: var(--white); border: 1px solid #C9DCEE; border-top: 3px solid var(--mb-mid); border-radius: var(--radius); padding: 1.5rem 1.4rem; }
.mb-zone .tile > .icon { width: 36px; height: 36px; margin-bottom: .85rem; color: var(--mb-dark); }
.mb-zone a { text-decoration-color: var(--mb-mid); }
.mb-head { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.2rem; }
.mb-head .section-head { margin-bottom: 0; }
.mb-head img { width: 104px; }

/* ---------- Two column promo cards ---------- */
.promo .card .card-title { font-size: 1.75rem; }
.narrow-wrap .table-wrap { max-width: 960px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--middle { align-items: center; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem; }
.ticks .icon { color: var(--charcoal); background: var(--amber); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .2rem; stroke-width: 2.8; }
.section--dark .ticks .icon { color: var(--charcoal); }

.commit-quote {
  margin: 0 0 1.5rem;
  padding: .2rem 0 .2rem 1.3rem;
  border-left: 4px solid var(--amber);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.22;
}

/* ---------- Features ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { width: 34px; height: 34px; color: var(--charcoal); }
.feature h3 { font-size: 1.22rem; margin-bottom: .25rem; }
.feature p { font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }

.tile { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: var(--radius); padding: 1.5rem 1.4rem; color: var(--ink); }
.tile h3 { font-size: 1.35rem; }
.tile p, .tile li { font-size: .99rem; color: var(--ink-soft); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec-table caption { text-align: left; padding: .9rem 1.1rem; font-size: .92rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: .85rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 36%; font-weight: 600; background: var(--light); }
@media (max-width: 520px) {
  .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table th { border-bottom: 0; padding-bottom: .35rem; }
  .spec-table td { padding-top: .6rem; }
}

/* ---------- Gallery and video ---------- */
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--steel); }
.gallery figcaption { margin-top: .55rem; font-size: .92rem; color: var(--ink-soft); }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--charcoal);
  background-image: repeating-linear-gradient(135deg, rgba(242, 169, 0, .06) 0 2px, transparent 2px 24px);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 0;
  color: var(--white);
  font: 600 1.05rem var(--font-body);
  cursor: pointer;
}
.video-load:disabled { cursor: default; }
.video-load .play { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; background: var(--amber); color: var(--charcoal); }
.video-load .play .icon { width: 34px; height: 34px; fill: currentColor; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 0;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.45; text-wrap: pretty; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .35rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 3rem 1.35rem 0; color: var(--ink-soft); }

/* ---------- Call to action band ---------- */
.cta-band {
  background-color: var(--amber);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 5px);
  color: var(--charcoal);
  padding: clamp(3rem, 6vw, 4.75rem) 0;
}
.cta-band h2 { color: var(--charcoal); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-band .btn-row { margin-top: 0; }
.cta-band a { text-decoration-color: var(--charcoal); }
.cta-band :focus-visible { box-shadow: 0 0 0 7px var(--white); }

/* ---------- Link lists ---------- */
.link-list { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.link-list li { margin: 0; }
.link-list a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .6rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.link-list a:hover { border-color: var(--charcoal); }

/* ---------- Steps list (partner page) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; max-width: 880px; }
.steps li { position: relative; counter-increment: s; margin: 0 0 1rem; padding: 1.25rem 1.4rem 1.25rem 5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 1.25rem; top: 1.25rem; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--charcoal); color: var(--amber); font: 700 1.3rem var(--font-head); }
.steps h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Contact and forms ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { font-weight: 600; font-size: .98rem; }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .7rem .85rem;
  font: 400 1rem var(--font-body);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B3261E; border-width: 2px; }
fieldset.field { border: 0; padding: 0; display: block; }
fieldset.field legend { padding: 0; margin-bottom: .45rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .5rem 1.1rem; border: 1px solid var(--field-border); border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.radio-row input { width: 18px; height: 18px; accent-color: var(--charcoal); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .92rem; color: var(--ink-soft); }
.form-actions { margin-top: 1.4rem; }
.form-actions .btn { min-width: 220px; }
@media (max-width: 600px) { .form-actions .btn { width: 100%; } }
.drawings-note { margin-top: 1.2rem; padding: .9rem 1.1rem; background: var(--light); border-radius: var(--radius); font-weight: 500; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 28px; height: 28px; margin-top: .2rem; color: var(--charcoal); }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.12rem; letter-spacing: .07em; text-transform: uppercase; }

.map-wrap { background: var(--light); }
.map { display: block; width: 100%; height: 420px; }
@media (max-width: 600px) { .map { height: 320px; } }

/* ---------- Message pages (thank you, holding pages, form problem) ---------- */
.message-page { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.message-page .container { max-width: 800px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-deep); color: var(--on-dark-soft); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 2.5rem; padding: 4rem 0 2.75rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 3rem; } }
.site-footer h2 { font-size: 1.15rem; letter-spacing: .1em; color: var(--white); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .15rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: .2rem 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--amber); }
.site-footer .brand { margin-bottom: 1.1rem; padding: 0; }
.site-footer .brand:hover { text-decoration: none; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .5rem; }
.footer-contact .icon { color: var(--amber); margin-top: .3rem; width: 1.15em; height: 1.15em; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .11); padding: 1.4rem 0 1.8rem; font-size: .9rem; }
.footer-legal p { margin-bottom: .35rem; }

/* ---------- Review markers, articles and comparison tables (Phase 2) ---------- */
.section--dark .section-head .eyebrow { color: var(--amber); }
.confirm.review { background: #FDECEA; color: #4A120C; border-color: #A8382B; }
.article-meta { margin-top: 1.1rem; font-size: .95rem; color: var(--on-dark-soft); }
.article-meta .confirm { margin-right: .65rem; }

.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { font-weight: 500; }
.prose .table-wrap { margin: .4rem 0 1.5rem; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare-table caption { text-align: left; padding: .8rem 1rem; font-size: .92rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--charcoal); color: var(--white); font-weight: 600; }
.compare-table tbody th { width: 27%; background: var(--light); font-weight: 600; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) {
  .compare-table { font-size: .88rem; }
  .compare-table th, .compare-table td { padding: .6rem .5rem; }
}

/* ---------- Plate weight calculator ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.calc-layout h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.calc-result { position: sticky; top: 100px; background: var(--charcoal); color: var(--on-dark); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.calc-result h2 { color: var(--white); }
.calc-result dl { margin: 0 0 1.25rem; }
.calc-result dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.calc-result dt { color: var(--on-dark-soft); }
.calc-result dd { margin: 0; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--amber); text-align: right; }
.calc-result .btn { width: 100%; }
.calc-result .form-note { color: var(--on-dark-soft); margin-bottom: 0; }
.calc-result :focus-visible { box-shadow: 0 0 0 3px var(--charcoal), 0 0 0 6px var(--white); }
.calc-warning { padding: .7rem .9rem; border: 1px solid var(--amber); border-radius: var(--radius); font-size: .96rem; color: var(--white); }
.field[hidden], .calc-warning[hidden] { display: none; }
.compare-table--numbers th, .compare-table--numbers td { text-align: right; font-variant-numeric: tabular-nums; }
.compare-table--numbers th:first-child { width: auto; text-align: left; white-space: nowrap; }
.compare-table--numbers thead th { vertical-align: bottom; }
@media (max-width: 640px) {
  .compare-table--numbers .long { display: none; }
  .compare-table--numbers { font-size: .84rem; }
  .compare-table--numbers th, .compare-table--numbers td { padding: .55rem .28rem; }
  .compare-table--numbers th:first-child { padding-left: .55rem; }
  .compare-table--numbers th:last-child, .compare-table--numbers td:last-child { padding-right: .55rem; }
}
@media (max-width: 360px) {
  .compare-table--numbers { font-size: .76rem; }
  .compare-table--numbers th, .compare-table--numbers td { padding-left: .18rem; padding-right: .18rem; }
  .compare-table--numbers th:first-child { padding-left: .4rem; }
  .compare-table--numbers th:last-child, .compare-table--numbers td:last-child { padding-right: .4rem; }
}
@media (max-width: 860px) { .calc-layout { grid-template-columns: minmax(0, 1fr); } .calc-result { position: static; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .skip-link { display: none !important; }
  body { padding: 0; }
}
