/* ─────────────────────────────────────────────────────────────
   OMNI PARTS SOLUTIONS — site styles
   Design system: navy + steel + signal-blue accent
   Type: Barlow Condensed (display) + Inter (body) + JetBrains Mono (data)
   ───────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --navy-900: #0a1628;
  --navy-800: #0e1d33;
  --navy-700: #14253f;
  --navy-600: #1c3050;

  --steel-900: #1a2332;
  --steel-700: #3a4a5f;
  --steel-500: #6b7a8f;
  --steel-300: #b8c2d0;
  --steel-100: #e6eaf0;
  --steel-50:  #f3f5f9;

  --signal: #1e5fd9;     /* primary blue */
  --signal-bright: #3b82f6;
  --signal-deep: #1748a8;

  --runway: #f8b400;     /* warning yellow accent (used sparingly) */
  --signal-green: #22c55e;
  --signal-red: #ef4444;

  --white: #ffffff;
  --paper: #fafbfc;

  /* Type */
  --font-display: "Barlow Condensed", "Oswald", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--steel-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: var(--signal-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-arrow::after {
  content: "›";
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  margin-left: 4px;
}

/* ── Site header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--steel-100);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .brand img { height: 44px; }
.site-nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.site-nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.site-nav a:hover, .site-nav a.active { border-color: var(--signal); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--steel-100);
  cursor: pointer; background: transparent; color: var(--navy-900);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-900);
  color: var(--steel-300);
  padding: 64px 48px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-family: var(--font-display); font-size: 22px; line-height: 1.15; color: var(--white); margin: 0; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-contact-row { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; color: var(--steel-300); }
.footer-contact-row svg { flex-shrink: 0; color: var(--signal-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--navy-700);
  font-size: 12px;
  color: var(--steel-500);
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy-700); border-radius: 50%;
  color: var(--steel-300);
}
.footer-socials a:hover { border-color: var(--signal-bright); color: var(--white); }

/* ── Generic page sections ── */
.section { padding: 96px 48px; }
.section-narrow { max-width: 1280px; margin: 0 auto; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--signal);
  margin-bottom: 18px;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

/* ── Hero variant A — operator grade ── */
.heroA {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.heroA::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.78) 35%, rgba(10,22,40,0.25) 60%, rgba(10,22,40,0.55) 100%);
  z-index: 1;
}
.heroA-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/hero-hangar.jpg");
  background-size: cover;
  background-position: center right;
}
.heroA-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/hero-hangar.jpg");
  background-size: cover;
  background-position: center right;
}
.heroA-content {
  position: relative; z-index: 2;
  padding: 80px 48px;
  max-width: 720px;
}
.heroA h1 {
  font-size: 88px;
  line-height: 0.92;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.heroA h1 .underline {
  display: inline-block;
  border-bottom: 4px solid var(--signal-bright);
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.heroA-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--steel-300);
  margin: 24px 0 32px;
  max-width: 460px;
}
.heroA-cta { display: flex; gap: 12px; }

/* Trust strip below hero (A) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-top: 4px solid var(--navy-900);
  box-shadow: 0 24px 48px -32px rgba(10,22,40,0.25);
  position: relative;
  z-index: 3;
  margin-top: -1px;
}
.trust-cell {
  padding: 26px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-right: 1px solid var(--steel-100);
}
.trust-cell:last-child { border-right: none; }
.trust-cell svg { color: var(--signal); flex-shrink: 0; margin-top: 2px; }
.trust-cell h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--navy-900);
}
.trust-cell p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--steel-500); }

/* Stats band (A) */
.stats-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.stats-band .copy .eyebrow { color: var(--signal-bright); border-color: var(--signal-bright); }
.stats-band .copy h3 { font-size: 20px; line-height: 1.2; text-transform: none; font-weight: 600; letter-spacing: 0; margin: 8px 0 16px; color: var(--steel-300); }
.stat {
  border-left: 1px solid var(--navy-700);
  padding-left: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-icon { color: var(--signal-bright); }
.stat-value { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1; }
.stat-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-300);
  line-height: 1.3;
}

/* Industries strip */
.industries {
  padding: 64px 48px;
  text-align: center;
  background: var(--white);
}
.industries h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 auto;
  display: inline-block;
  border-bottom: 3px solid var(--signal);
  padding-bottom: 10px;
}
.ind-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ind-cell {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px 8px;
  border-radius: 4px;
  transition: background .15s;
  cursor: pointer;
}
.ind-cell:hover { background: var(--steel-50); }
.ind-cell svg { color: var(--navy-900); }
.ind-cell span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* OEM strip */
.oem-strip {
  padding: 32px 48px 48px;
  text-align: center;
}
.oem-strip h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin: 0 0 24px;
}
.oem-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.65;
}
.oem-row span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 600;
  color: var(--steel-700);
  letter-spacing: -0.01em;
}

/* ─── Variant B — Editorial runway ─── */
.heroB {
  background: var(--paper);
  padding: 80px 48px 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: end;
  min-height: 720px;
}
.heroB-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-500);
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 32px;
}
.heroB-eyebrow .dot { width: 6px; height: 6px; background: var(--signal-green); border-radius: 50%; }
.heroB h1 {
  font-size: 132px;
  line-height: 0.86;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
  text-transform: none;
}
.heroB h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--signal);
}
.heroB-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--steel-700);
  max-width: 520px;
  margin: 32px 0;
}
.heroB-meta {
  display: flex; gap: 48px;
  border-top: 1px solid var(--steel-300);
  padding: 24px 0;
  margin-top: 48px;
}
.heroB-meta .item { font-family: var(--font-mono); font-size: 11px; }
.heroB-meta .label { color: var(--steel-500); letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.heroB-meta .val { color: var(--navy-900); font-size: 14px; font-weight: 500; }
.heroB-photo {
  position: relative;
  height: 720px;
  background: linear-gradient(180deg, #2c4060 0%, #0a1628 100%);
  overflow: hidden;
}
.heroB-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,22,40,0.6) 100%);
}
.heroB-photo .num {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}
.heroB-photo .caption {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  z-index: 2;
}

/* Editorial stats row B */
.statsB {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--steel-300);
  border-bottom: 1px solid var(--steel-300);
}
.statsB .cell {
  padding: 48px 32px;
  border-right: 1px solid var(--steel-300);
}
.statsB .cell:last-child { border-right: none; }
.statsB .cell .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 16px;
}
.statsB .cell .val {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.9;
  font-weight: 700;
  color: var(--navy-900);
}
.statsB .cell .unit { font-size: 18px; color: var(--steel-500); margin-left: 4px; font-weight: 500; }
.statsB .cell .desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--steel-700);
  max-width: 220px;
}

/* ─── Variant C — Tactical / blueprint ─── */
.heroC {
  background: #06101e;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 760px;
}
.heroC-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(80,120,180,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,120,180,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.heroC-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
  pointer-events: none;
}
.heroC-content {
  position: relative; z-index: 2;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.heroC-strip {
  display: flex; gap: 24px; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 28px;
}
.heroC-strip .pulse {
  width: 8px; height: 8px;
  background: var(--signal-green); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.heroC h1 {
  font-size: 92px;
  line-height: 0.9;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.heroC h1 span { color: var(--signal-bright); }
.heroC-lede {
  font-size: 16px; line-height: 1.6;
  color: var(--steel-300);
  max-width: 520px;
  margin-bottom: 32px;
}
.heroC-search {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 24px;
  backdrop-filter: blur(8px);
  margin-top: 32px;
}
.heroC-search-tabs {
  display: flex; gap: 24px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.heroC-search-tabs button {
  background: none; border: none; color: var(--steel-500);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.heroC-search-tabs button.active {
  color: var(--white);
  border-color: var(--signal-bright);
}
.heroC-search-input {
  display: flex;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.18);
  align-items: stretch;
}
.heroC-search-input input {
  flex: 1;
  background: transparent; border: none; outline: none;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 16px 20px;
  letter-spacing: 0.05em;
}
.heroC-search-input input::placeholder { color: var(--steel-500); }
.heroC-search-input button {
  border: none; background: var(--signal-bright); color: var(--white);
  padding: 0 28px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.heroC-search-hint {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--steel-500); letter-spacing: 0.06em;
}
.heroC-search-hint kbd {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
}

/* Status panel right side of C */
.heroC-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.heroC-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel-300);
}
.heroC-panel-head .status {
  color: var(--signal-green);
  display: flex; align-items: center; gap: 8px;
}
.heroC-panel-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 13px;
}
.heroC-panel-row:last-child { border-bottom: none; }
.heroC-panel-row .k { color: var(--steel-500); letter-spacing: 0.06em; }
.heroC-panel-row .v { color: var(--white); font-weight: 500; }
.heroC-panel-row .v.green { color: var(--signal-green); }
.heroC-panel-row .v.amber { color: var(--runway); }
.heroC-mini-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.heroC-mini-stats .cell {
  background: #06101e;
  padding: 18px;
}
.heroC-mini-stats .cell .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--steel-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.heroC-mini-stats .cell .val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-top: 4px;
}

/* Photo placeholder used across artboards */
.photo-placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 28px),
    linear-gradient(135deg, #2c4060 0%, #0a1628 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ─── Inner page styles ─── */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 96px 48px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 80px);
}
.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal-bright);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.page-hero h1 {
  font-size: 96px;
  font-style: italic;
  font-weight: 800;
  line-height: 0.92;
  position: relative; z-index: 1;
  max-width: 1100px;
}
.page-hero p {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--steel-300);
  max-width: 640px;
  position: relative; z-index: 1;
}

/* Cards (used in About, Products) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  padding: 32px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--signal); transform: translateY(-2px); }
.card .cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 12px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.card p { font-size: 14px; line-height: 1.6; color: var(--steel-700); margin: 0; }
.card .more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display); font-size: 13px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--signal);
}

/* Product table (Products page) */
.parts-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}
.parts-table thead {
  background: var(--navy-900);
  color: var(--white);
}
.parts-table th {
  text-align: left;
  padding: 16px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.parts-table td {
  padding: 18px;
  border-bottom: 1px solid var(--steel-100);
  vertical-align: middle;
}
.parts-table tbody tr:hover { background: var(--steel-50); }
.parts-table .pn { color: var(--navy-900); font-weight: 600; }
.parts-table .desc { font-family: var(--font-body); }
.parts-table .pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.pill-green { background: rgba(34,197,94,0.12); color: #166534; }
.pill-amber { background: rgba(248,180,0,0.16); color: #854d0e; }
.pill-blue { background: rgba(30,95,217,0.12); color: var(--signal-deep); }

/* Form (Contact) */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-500);
  display: block;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--steel-300);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy-900);
  outline: none;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--signal); }
.contact-form .full { grid-column: 1 / -1; }

/* Misc utilities */
.mono { font-family: var(--font-mono); }
.muted { color: var(--steel-500); }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* Generic two-col + caps grid layout helpers (used in inner pages) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — tablet + mobile
   ───────────────────────────────────────────────────────────── */

/* Hamburger hidden on desktop */
.nav-toggle { display: none; }
.mobile-nav-overlay { display: none; }

/* ── Tablet: ≤ 1100px ── */
@media (max-width: 1100px) {
  .site-header { padding: 16px 24px; }
  .site-nav { gap: 24px; }

  .section { padding: 72px 32px; }
  .page-hero { padding: 72px 32px 64px; }
  .page-hero h1 { font-size: 72px; }

  /* Hero A */
  .heroA-content { padding: 64px 32px; }
  .heroA h1 { font-size: 64px; }
  .heroA-photo { background-position: center; }

  /* Trust strip → 3 cols */
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .trust-cell:nth-child(3n) { border-right: none; }
  .trust-cell:nth-child(-n+3) { border-bottom: 1px solid var(--steel-100); }

  /* Stats band stacks copy + 4 stats in 2x2 */
  .stats-band {
    grid-template-columns: 1fr 1fr;
    padding: 48px 32px;
    gap: 24px;
  }
  .stats-band .copy { grid-column: 1 / -1; }
  .stat-value { font-size: 44px; }

  /* Industries grid → 3 cols */
  .ind-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer → 3 cols */
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer-grid > .footer-col:nth-child(4) { grid-column: 2 / 3; }
  .site-footer { padding: 48px 32px 24px; }

  /* Inner page cards → 2 cols */
  .card-grid { grid-template-columns: repeat(2, 1fr); }

  /* Two-col + caps grid */
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile: ≤ 720px ── */
@media (max-width: 720px) {
  /* Header — hide desktop nav, show hamburger */
  .site-header { padding: 12px 16px; }
  .site-header .brand img { height: 36px; }
  .site-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: 8px; }

  /* Mobile nav overlay */
  .mobile-nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(10, 22, 40, 0.6);
    z-index: 200;
    animation: fadeIn .15s ease;
  }
  .mobile-nav-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(85vw, 360px);
    background: var(--white);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    animation: slideIn .2s ease;
  }
  .mobile-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--steel-100);
  }
  .mobile-nav-head .brand img { height: 36px; }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-900);
    padding: 14px 0;
    border-bottom: 1px solid var(--steel-100);
  }
  .mobile-nav-links a.active { color: var(--signal); }
  .mobile-nav-cta {
    width: 100%;
    justify-content: center;
    padding: 18px 22px;
  }
  .mobile-nav-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--steel-100);
  }
  .mobile-nav-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--navy-900);
    font-weight: 500;
  }
  .mobile-nav-contact a svg { color: var(--signal); }

  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

  /* Sections — tighter padding */
  .section { padding: 56px 20px; }

  /* Hero A — mobile */
  .heroA { min-height: 480px; }
  .heroA::before {
    background: linear-gradient(180deg, rgba(10,22,40,0.8) 0%, rgba(10,22,40,0.85) 100%);
  }
  .heroA-content { padding: 56px 20px; max-width: 100%; }
  .heroA h1 { font-size: 44px; line-height: 0.95; }
  .heroA-lede { font-size: 15px; margin: 20px 0 24px; }
  .heroA-cta { flex-direction: column; gap: 10px; align-items: stretch; }
  .heroA-cta .btn { justify-content: center; }

  /* Trust strip → stacked */
  .trust-strip { grid-template-columns: 1fr; }
  .trust-cell {
    border-right: none;
    border-bottom: 1px solid var(--steel-100);
    padding: 20px;
  }
  .trust-cell:last-child { border-bottom: none; }

  /* Stats band → single column */
  .stats-band {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 24px;
  }
  .stats-band .copy h3 { font-size: 17px; }
  .stat {
    border-left: none;
    border-top: 1px solid var(--navy-700);
    padding: 16px 0 0;
  }
  .stat-value { font-size: 40px; }

  /* Industries → 2 cols */
  .industries { padding: 48px 20px; }
  .industries h3 { font-size: 18px; letter-spacing: 0.14em; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; }
  .ind-cell { padding: 18px 6px; }
  .ind-cell span { font-size: 11px; letter-spacing: 0.08em; }

  /* OEM strip */
  .oem-strip { padding: 24px 20px 36px; }
  .oem-row { gap: 20px; }
  .oem-row span { font-size: 18px; }

  /* Footer → single column stack */
  .site-footer { padding: 40px 20px 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-grid > .footer-col:nth-child(4) { grid-column: auto; }
  .footer-brand p { font-size: 18px; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Page hero (inner pages) */
  .page-hero { padding: 56px 20px 48px; }
  .page-hero h1 { font-size: 44px; line-height: 0.95; }
  .page-hero p { font-size: 16px; margin-top: 20px; }
  .page-hero .crumb { font-size: 10px; }

  /* Cards → single column */
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .card h3 { font-size: 22px; }

  /* Contact form → single column */
  .contact-form { grid-template-columns: 1fr; gap: 16px; }
  .contact-form .full > div { flex-direction: column; align-items: stretch !important; gap: 12px; }

  /* Two-col + caps grid */
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .caps-grid { grid-template-columns: 1fr; }

  /* Parts table — horizontal scroll */
  .parts-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .parts-table { min-width: 640px; font-size: 12px; }
  .parts-table th, .parts-table td { padding: 12px 10px; }

  /* Buttons — full width on mobile */
  .btn { padding: 14px 20px; font-size: 12px; }

  /* Generic inner-page sections */
  .section-narrow { padding: 0; }

  /* Eyebrow / display headings shrink */
  h2.display, .display { font-size: 36px !important; }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; }
}

/* ── Very small phones: ≤ 380px ── */
@media (max-width: 380px) {
  .heroA h1 { font-size: 38px; }
  .page-hero h1 { font-size: 38px; }
  .stat-value { font-size: 34px; }
}


/* ─────────────────────────────────────────────────
   Form success animation
   ───────────────────────────────────────────────── */
.form-success {
  padding: 40px 32px 32px;
  background: var(--white);
  border: 1px solid var(--signal);
  border-left: 4px solid var(--signal);
  text-align: center;
  animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success-checkmark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: block;
}

.success-checkmark .circle {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawCircle 0.6s 0.1s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  transform-origin: center;
}

.success-checkmark .check {
  fill: none;
  stroke: var(--signal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.4s 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.form-success-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--signal);
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0;
  animation: successFadeIn 0.4s 0.9s ease-out forwards;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-900);
  font-weight: 700;
  font-style: italic;
  margin: 0 0 12px;
  opacity: 0;
  animation: successFadeIn 0.4s 1.05s ease-out forwards;
}

.form-success p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-700);
  margin: 0 auto;
  max-width: 420px;
  opacity: 0;
  animation: successFadeIn 0.4s 1.2s ease-out forwards;
}

.form-success .send-another {
  margin-top: 24px;
  background: transparent;
  border: none;
  color: var(--signal);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  opacity: 0;
  animation: successFadeIn 0.4s 1.35s ease-out forwards;
}

.form-success .send-another:hover {
  text-decoration: underline;
}
