/* Midwest Global — static stylesheet (no JavaScript anywhere on the site) */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("/fonts/work-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --navy-950: #030a19;
  --navy-900: #06142e;
  --navy-800: #0b1f45;
  --navy-700: #15305f;
  --ink: #0a1428;
  --muted: #5a6479;
  --line: #e2e5eb;
  --line-dark: rgba(255,255,255,.12);
  --tint: #f5f6f8;
  --paper: #ffffff;
  --amber: #f5b50a;
  --amber-600: #c98f00;
  --radius: 2px;
  --wrap: 1280px;
  --nav-h: 84px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--amber); color: var(--navy-900); padding: .75rem 1rem; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- Eyebrow & buttons ---------- */
.eyebrow {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--amber-600); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  padding: 1.15rem 1.9rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn::after { content: "→"; font-size: 1.05rem; letter-spacing: 0; transition: transform .25s; }
.btn:hover::after { transform: translateX(4px); }
.btn--primary { background: var(--amber); color: var(--navy-950); }
.btn--primary:hover { background: #ffc733; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.link-arrow {
  font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-900); text-decoration: none; border-bottom: 1px solid var(--amber); padding-bottom: 4px;
}
.link-arrow::after { content: " ↗"; }
.link-arrow:hover { color: var(--amber-600); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #8f9bb3; font-size: .78rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: .6rem; }
.topbar__tag { letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.topbar__links { display: flex; gap: 2rem; }
.topbar__links a { text-decoration: none; color: #c3ccdc; letter-spacing: .02em; }
.topbar__links a:hover { color: var(--amber); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 20, 46, .96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; color: var(--amber); flex: none; }
.brand__word {
  font-family: var(--display); font-stretch: 118%; font-weight: 500;
  font-size: 1.12rem; letter-spacing: .18em; text-transform: uppercase;
}
.brand__word b { font-weight: 800; margin-left: .3em; }

.nav__toggle, .nav__close { display: none; }
.nav__links { display: flex; align-items: center; gap: .25rem; }
.nav__links a {
  display: block; position: relative; color: #cdd5e3; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .7rem 1rem; transition: color .2s;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.nav__cta {
  margin-left: 1rem; padding: .8rem 1.4rem; border: 1px solid var(--amber); color: var(--amber); font-weight: 600;
  border-radius: var(--radius); transition: background-color .2s, color .2s;
}
.nav__links a.nav__cta:hover { background: var(--amber); color: var(--navy-950); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(90deg, rgba(3,10,25,.97) 0%, rgba(6,20,46,.86) 42%, rgba(6,20,46,.35) 100%),
    linear-gradient(0deg, rgba(3,10,25,.85) 0%, transparent 35%),
    url("/.netlify/images?url=/img/industial-bh.jpg&w=2000&fm=webp") center 30% / cover no-repeat,
    var(--navy-900);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 7vw, 6rem); }
.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 5.6rem);
  font-weight: 600; font-stretch: 92%; letter-spacing: -0.035em; line-height: 1;
  max-width: 15ch;
}
.hero h1 span { color: var(--amber); }
.hero__lede { margin-top: 1.9rem; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: #c3ccdc; max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero__creds { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 3rem; }
.hero__creds li {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #a7b2c7;
}
.hero__creds li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__bar { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: rgba(3,10,25,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__pillars li + li { border-left: 1px solid var(--line-dark); }
.hero__pillars a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1.7rem 1.5rem; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: #fff; transition: background-color .25s;
}
.hero__pillars li:first-child a { padding-left: 0; }
.hero__pillars span { font-size: .72rem; letter-spacing: .14em; color: var(--amber); }
.hero__pillars a:hover { background: rgba(255,255,255,.04); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(5rem, 10vw, 8.5rem); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--tint { background: var(--tint); }

.section__head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section__head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.section__head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: end; }
.section__head--split > p { color: var(--muted); font-size: 1.08rem; padding-bottom: .4rem; max-width: 30rem; }

/* ---------- About ---------- */
.about { padding-block: clamp(5rem, 10vw, 8.5rem); border-bottom: 1px solid var(--line); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
.about h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.about__text { padding-top: 2.6rem; }
.about__lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink); margin-bottom: 1.4rem; }
.about__text > p:not(.about__lead) { color: var(--muted); }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.8rem; border-top: 1px solid var(--line); }
.about__facts > div { padding-top: 1.3rem; padding-right: 1rem; }
.about__facts dt { font-family: var(--display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-600); margin-bottom: .4rem; }
.about__facts dd { font-family: var(--display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--paper); display: flex; flex-direction: column; transition: box-shadow .3s; position: relative; }
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service:hover { box-shadow: 0 24px 50px -30px rgba(6,20,46,.45); z-index: 1; }
.service:hover::after { transform: scaleX(1); }
.service__media { position: relative; overflow: hidden; }
.service__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s; }
.service:hover .service__media img { transform: scale(1.04); }
.service__num {
  position: absolute; left: 0; bottom: 0; background: var(--navy-900); color: var(--amber);
  font-family: var(--display); font-weight: 600; font-size: .75rem; letter-spacing: .14em;
  padding: .55rem .9rem;
}
.service__body { padding: 1.9rem 1.7rem 2.2rem; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 1.32rem; margin-bottom: .75rem; }
.service__body > p { color: var(--muted); font-size: .96rem; }
.service__list { margin-top: auto; padding-top: 1.5rem; }
.service__list li {
  font-size: .9rem; padding-block: .6rem; border-top: 1px solid var(--line);
  display: flex; gap: .6rem; align-items: baseline;
}
.service__list li::before { content: ""; width: 6px; height: 6px; background: var(--amber); flex: none; transform: translateY(-1px); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.industries__photos { position: relative; min-height: 600px; }
.industries__photo { position: absolute; object-fit: cover; box-shadow: 0 40px 70px -35px rgba(0,0,0,.8); z-index: 1; }
.industries__photo--a { width: 62%; aspect-ratio: 350 / 450; left: 0; top: 0; }
.industries__photo--b { width: 56%; aspect-ratio: 350 / 500; right: 0; bottom: 0; outline: 8px solid var(--navy-900); }
.industries__photos::before {
  content: ""; position: absolute; left: 10%; bottom: 6%; width: 42%; height: 42%;
  border: 1px solid var(--amber); z-index: 0;
}
.industries__content h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); margin-bottom: 2.6rem; }

.industry-list { counter-reset: ind; border-top: 1px solid var(--line-dark); }
.industry-list li {
  counter-increment: ind; display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem;
  padding-block: 1.4rem; border-bottom: 1px solid var(--line-dark); transition: padding-left .3s;
}
.industry-list li:hover { padding-left: .5rem; }
.industry-list li::before {
  content: counter(ind, decimal-leading-zero); grid-row: span 2;
  font-family: var(--display); font-weight: 600; color: var(--amber); font-size: .8rem; letter-spacing: .1em; padding-top: .35rem;
}
.industry-list h3 { font-size: 1.22rem; font-weight: 500; }
.industry-list p { color: #9ea9bf; font-size: .95rem; margin-top: .3rem; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem 2rem; }
.product__media { overflow: hidden; margin-bottom: 1.5rem; position: relative; }
.product__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,46,.25), transparent 50%); }
.product__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.product:hover .product__media img { transform: scale(1.04); }
.product__cat { font-family: var(--display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-600); margin-bottom: .55rem; }
.product h3 { font-size: 1.32rem; margin-bottom: .55rem; }
.product > p:last-child { color: var(--muted); font-size: .96rem; max-width: 34ch; }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cred { background: #fff; padding: 2rem 1.6rem 2.2rem; display: flex; flex-direction: column; }
.cred__logo { height: 110px; display: grid; place-items: center; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; box-sizing: content-box; }
.cred__logo img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.cred:hover .cred__logo img { filter: none; opacity: 1; }
.cred h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.cred p { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* ---------- CTA band ---------- */
.cta {
  color: #fff; padding-block: clamp(4.5rem, 9vw, 7rem);
  background:
    linear-gradient(90deg, rgba(3,10,25,.96), rgba(6,20,46,.82)),
    url("/.netlify/images?url=/img/industry2.jpg&w=1800&fm=webp") center 40% / cover no-repeat;
}
.cta__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: end; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 18ch; }
.cta__inner > div > p:not(.eyebrow) { color: #b4bfd2; margin-top: 1.3rem; max-width: 36rem; font-size: 1.08rem; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; justify-self: end; }
.cta__phone { text-decoration: none; font-family: var(--display); font-size: 1.4rem; font-weight: 500; }
.cta__phone span { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: .2rem; }
.cta__phone:hover { color: var(--amber); }

/* ---------- Location ---------- */
.location { padding-block: clamp(5rem, 9vw, 7.5rem); }
.location__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.location__map { position: relative; }
.location__map img { opacity: .9; }
.location__pin {
  position: absolute; left: 33.3%; top: 28.5%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 6px rgba(245,181,10,.25), 0 0 0 16px rgba(245,181,10,.1);
  transform: translate(-50%, -50%);
}
.location__pin span {
  position: absolute; left: 50%; bottom: calc(100% + 18px); transform: translateX(-50%);
  background: var(--navy-900); color: #fff; white-space: nowrap;
  font-family: var(--display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .7rem;
}
.location__pin span::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--navy-900);
}
.location__text h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 1.2rem; }
.location__text > p:not(.eyebrow) { color: var(--muted); }
.location__routes { margin-block: 2rem 2.2rem; border-top: 1px solid var(--line); }
.location__routes li { display: grid; grid-template-columns: 6.5rem 1fr; padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.location__routes b { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding-top: .2rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(245,181,10,.08), transparent 45%),
    var(--navy-900);
}
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(3rem, 7vw, 6.5rem); align-items: start; }
.contact__intro h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.contact__intro > p:not(.eyebrow) { color: #b4bfd2; margin-top: 1.3rem; font-size: 1.06rem; }
.contact__steps { counter-reset: step; margin-top: 2.6rem; display: grid; gap: 1.2rem; }
.contact__steps li {
  counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem;
  color: #9ea9bf; font-size: .94rem;
}
.contact__steps li::before {
  content: counter(step); grid-row: span 2; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 1px solid rgba(245,181,10,.6); border-radius: 50%; color: var(--amber);
  font-family: var(--display); font-weight: 600; font-size: .82rem;
}
.contact__steps b { display: block; font-family: var(--display); font-weight: 500; color: #fff; font-size: 1rem; }
.contact__details { margin-top: 2.8rem; border-top: 1px solid var(--line-dark); }
.contact__details li {
  display: grid; grid-template-columns: 6rem 1fr; padding-block: 1rem;
  border-bottom: 1px solid var(--line-dark); color: #e6ebf3;
}
.contact__details span {
  font-family: var(--display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); padding-top: .25rem;
}
.contact__details a { text-decoration: none; }
.contact__details a:hover { color: var(--amber); }

.form {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem;
  box-shadow: 0 50px 90px -45px rgba(0,0,0,.7);
  border-top: 3px solid var(--amber);
}
.form__head { padding-bottom: 1.2rem; margin-bottom: .3rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.form__head h3 { font-size: 1.45rem; }
.form__head p { font-size: .82rem; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #cfd5df; border-radius: var(--radius);
  padding: .9rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: #a9b2c2; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(21,48,95,.12);
}
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.form__note { color: var(--muted); font-size: .88rem; }
.form__note a { color: var(--navy-700); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #8f9bb3; padding-top: clamp(4rem, 7vw, 5.5rem); font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 3rem; padding-bottom: 4rem; }
.footer__brand p { margin-top: 1.4rem; max-width: 26rem; line-height: 1.7; }
.footer__col h2 {
  font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.3rem;
}
.footer__col li + li { margin-top: .7rem; }
.footer__col a { color: #c3ccdc; text-decoration: none; }
.footer__col a:hover { color: var(--amber); }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem;
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.6rem; font-size: .8rem; color: #6f7b93;
}
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* ---------- Simple pages (thank you / 404) ---------- */
.simple {
  min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(rgba(3,10,25,.93), rgba(6,20,46,.88)),
    url("/.netlify/images?url=/img/industial-bh.jpg&w=1920&fm=webp") center / cover no-repeat;
  color: #fff; padding: 4rem 1.5rem;
}
.simple h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-stretch: 92%; margin-bottom: 1.3rem; }
.simple p:not(.eyebrow) { color: #c3ccdc; max-width: 34rem; margin: 0 auto 2.4rem; font-size: 1.1rem; }
.simple .eyebrow { justify-content: center; }

@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }

  /* Mobile menu: CSS-only, opened via #menu:target. Tapping any link changes
     the hash, so the menu closes on its own. backdrop-filter is dropped here
     because it would trap the fixed overlay inside the header. */
  .nav { background: var(--navy-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -.6rem;
    color: #fff; border-radius: var(--radius);
  }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
    display: block; width: 24px; height: 2px; background: currentColor; border-radius: 1px;
  }
  .nav__toggle span { position: relative; }
  .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
  .nav__toggle span::before { top: -7px; }
  .nav__toggle span::after { top: 7px; width: 16px; }

  .nav__menu { display: none; }
  .nav__menu:target {
    display: flex; flex-direction: column; justify-content: center;
    position: fixed; inset: 0; z-index: 100; padding: 5rem 1.5rem 3rem;
    background:
      radial-gradient(ellipse at 100% 0%, rgba(245,181,10,.10), transparent 55%),
      var(--navy-950);
    animation: menu-in .25s ease-out;
  }
  .nav__close {
    display: block; position: absolute; top: 1.1rem; right: 1rem; width: 44px; height: 44px;
  }
  .nav__close::before, .nav__close::after {
    content: ""; position: absolute; top: 50%; left: 10px; width: 24px; height: 2px;
    background: #fff; border-radius: 1px;
  }
  .nav__close::before { transform: rotate(45deg); }
  .nav__close::after { transform: rotate(-45deg); }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 420px; margin-inline: auto; }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 2rem; }
  .nav__links a { padding: 1.15rem 0; font-size: 1.15rem; letter-spacing: .16em; color: #fff; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__links a.nav__cta { margin-left: 0; padding: 1.05rem 1.4rem; text-align: center; background: var(--amber); color: var(--navy-950); }

  .hero { min-height: 0; }
  .hero__pillars { grid-template-columns: repeat(2, 1fr); }
  .hero__pillars li + li { border-left: 0; }
  .hero__pillars li:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .hero__pillars li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero__pillars a, .hero__pillars li:first-child a { padding: 1.3rem 1rem; }
  .hero__pillars li:nth-child(odd) a { padding-left: 0; }

  .about__inner { grid-template-columns: 1fr; gap: 0; }
  .about__text { padding-top: 2rem; }
  .section__head--split { grid-template-columns: 1fr; gap: 1.5rem; }
  .industries { grid-template-columns: 1fr; }
  .industries__photos { min-height: 0; aspect-ratio: 1 / .85; max-width: 560px; width: 100%; margin-inline: auto; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { justify-self: start; }
  .location__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2.5rem, var(--wrap)); }
  .topbar__links { gap: 1.25rem; font-size: .74rem; }
  .brand__word { font-size: .98rem; }
  .hero__pillars a { font-size: .92rem; gap: .6rem; }
  .about__facts { grid-template-columns: 1fr; }
  .about__facts > div { padding-block: 1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
  .about__facts dt { margin: 0; padding-top: .2rem; }
  .services, .products { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr; }
  .cred:last-child { grid-column: 1 / -1; }
  .cred { padding: 1.5rem 1.1rem; }
  .cred__logo { height: 70px; padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
  .cred__logo img { max-height: 60px; }
  .form { grid-template-columns: 1fr; }
  .contact__details li { grid-template-columns: 5rem 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) { .nav__menu:target { animation: none; } }
