/* ==========================================================================
   US Actuator — stylesheet
   Dark navy/steel industrial palette with American-manufacturing red accent.
   No external assets: all iconography is hand-drawn CSS/SVG.
   ========================================================================== */

:root {
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-850: #0d1c31;
  --navy-800: #121f3a;
  --navy-700: #182a4a;
  --steel-700: #2c3e52;
  --steel-500: #5b7086;
  --steel-300: #97a8b9;
  --steel-100: #d5dde5;
  --offwhite: #eef2f6;
  --white: #ffffff;
  --red-600: #c8102e;
  --red-700: #a30d26;
  --red-glow: rgba(200, 16, 46, 0.35);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Consolas", "Menlo", monospace;
  --radius: 3px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--navy-950);
  color: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red-600);
  display: inline-block;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

h2 { font-size: 34px; margin-top: 12px; }
h3 { font-size: 19px; }

.section-lead {
  max-width: 640px;
  color: var(--steel-300);
  font-size: 16px;
  margin-top: 14px;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel-700);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(200, 16, 46, 0.4));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.brand-logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 18px rgba(200, 16, 46, 0.6));
}

.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--steel-300);
  font-weight: 500;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel-100);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--red-600);
}

.nav-cta {
  background: var(--red-600);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  border-bottom: none !important;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--red-700); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 32px 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(200,16,46,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-bottom: 1px solid var(--steel-700);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--navy-700) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-700) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.25;
  mask-image: linear-gradient(180deg, black, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin-top: 16px;
}

.hero h1 span { color: var(--red-600); }

.hero p.lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--steel-300);
  max-width: 480px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover { background: var(--red-700); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--steel-500);
}
.btn-ghost:hover { border-color: var(--white); }

.hero-stats {
  margin-top: 44px;
  display: flex;
  gap: 36px;
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat .label {
  font-size: 12px;
  color: var(--steel-300);
  margin-top: 2px;
}

/* ---------- Hero diagram (hand-drawn SVG actuator cutaway) ---------- */
.hero-diagram {
  position: relative;
  border: 1px solid var(--steel-700);
  background: var(--navy-850);
  border-radius: 4px;
  padding: 28px;
}
.hero-diagram .cap {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel-300);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hero-diagram .cap .dot { color: var(--red-600); }

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--steel-700);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(200, 16, 46, 0.2);
  display: block;
  object-fit: contain;
}

/* ---------- Section shells ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--navy-900); border-top: 1px solid var(--steel-700); border-bottom: 1px solid var(--steel-700); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--navy-850);
  border: 1px solid var(--steel-700);
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--red-600); transform: translateY(-2px); }

.card .icon { width: 40px; height: 40px; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--steel-300); font-size: 14.5px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-600);
}

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--steel-700);
}
.spec-table th {
  color: var(--steel-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.spec-table td { color: var(--offwhite); }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }
.spec-table td.highlight { color: var(--red-600); font-weight: 700; }

.table-wrap {
  border: 1px solid var(--steel-700);
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-850);
}
.table-wrap .table-title {
  padding: 16px 20px;
  border-bottom: 1px solid var(--steel-700);
  font-weight: 700;
  color: var(--white);
  background: var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 20px;
  border: 1px solid var(--steel-500);
  color: var(--steel-300);
  text-transform: uppercase;
}
.tag-red { border-color: var(--red-600); color: var(--red-600); }

/* ---------- Band / CTA ---------- */
.band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid var(--steel-700);
  border-bottom: 1px solid var(--steel-700);
  padding: 70px 0;
}
.band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.band h2 { font-size: 28px; margin-top: 0; }
.band p { color: var(--steel-300); margin-top: 8px; max-width: 480px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-950);
  padding: 56px 0 28px;
  border-top: 1px solid var(--steel-700);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--steel-700);
}
.footer-grid h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: var(--offwhite); font-size: 14px; }
.footer-grid ul a:hover { color: var(--red-600); }
.footer-brand p { color: var(--steel-300); font-size: 13.5px; margin-top: 14px; max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--steel-500);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .made-in {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--steel-300);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 64px 0 52px;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-bottom: 1px solid var(--steel-700);
}
.page-hero h1 { font-size: 40px; margin-top: 14px; }
.page-hero .section-lead { max-width: 620px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel-500);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: var(--red-600); }

/* ---------- Applications grid (icons only, no photos) ---------- */
.app-card { position: relative; }
.app-card .app-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel-500);
  position: absolute;
  top: 24px;
  right: 24px;
}

/* ---------- Contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--steel-300);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input, select, textarea {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red-600);
}
textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--navy-850);
  border: 1px solid var(--steel-700);
  border-radius: 4px;
  padding: 32px;
}
.contact-info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--steel-700);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--red-600); }
.contact-info-row .label-sm {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel-500);
}
.contact-info-row .value { color: var(--offwhite); font-size: 14.5px; margin-top: 2px; }

.form-note {
  font-size: 12.5px;
  color: var(--steel-500);
  margin-top: 14px;
}

/* ---------- Timeline (About) ---------- */
.timeline { border-left: 2px solid var(--steel-700); padding-left: 28px; display: flex; flex-direction: column; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--red-600);
}
.timeline-item .yr {
  font-family: var(--font-mono);
  color: var(--red-600);
  font-size: 13px;
  font-weight: 700;
}
.timeline-item h3 { margin-top: 6px; }
.timeline-item p { color: var(--steel-300); margin-top: 6px; font-size: 14.5px; max-width: 560px; }

.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-item { display: flex; gap: 14px; }
.value-item .icon { width: 30px; height: 30px; flex-shrink: 0; }
.value-item h3 { font-size: 16px; }
.value-item p { color: var(--steel-300); font-size: 14px; margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 70px 20px 60px; }
  .hero h1 { font-size: 30px; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; align-items: flex-start; }
}
