:root {
  --blue: #0056b3;
  --blue-deep: #003d82;
  --blue-hot: #0a6fe0;
  --navy: #071830;
  --navy-2: #0c2748;
  --ink: #132033;
  --muted: #5b6c81;
  --line: #d5e1ee;
  --paper: #f3f7fb;
  --soft: #e7f0fb;
  --white: #ffffff;
  --ok: #0f8a5f;
  --shadow: 0 18px 50px rgba(7, 24, 48, 0.12);
  --radius: 18px;
  --max: 1180px;
  --header: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-deep);
}

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0 0 0.45em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #c5d5ea;
  font-size: 0.86rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 38px;
}

.topbar a {
  color: #dce7f5;
}

.topbar a:hover {
  color: #fff;
}

.topbar-left,
.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
  max-width: min(380px, 70vw);
  object-fit: contain;
}

.footer-logo {
  height: 62px;
  width: auto;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

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

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

.nav a,
.nav-drop > button {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 10px 12px;
  cursor: pointer;
}

.nav a:hover,
.nav-drop > button:hover,
.nav a.is-active,
.nav-drop > button.is-active {
  color: var(--blue);
}

.nav-drop {
  position: relative;
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 10px;
  z-index: 20;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  display: block;
}

.nav-drop-menu a {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 8px;
}

.nav-drop-menu a:hover {
  background: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.nav .btn-primary {
  color: #fff;
  padding: 12px 22px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: "Source Sans 3", sans-serif;
}

.nav .btn-primary:hover {
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--blue);
  color: #fff;
}

.btn-line {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-line:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 48, 0.45);
  z-index: 40;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--navy) center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 24, 48, 0.96) 0%, rgba(7, 24, 48, 0.82) 46%, rgba(7, 24, 48, 0.4) 72%, rgba(0, 86, 179, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 0 110px;
  max-width: 740px;
}

.hero h1 {
  color: #ffd36a;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.hero p.lead {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 58ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hex-mark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 340px;
  height: 340px;
  opacity: 0.12;
  z-index: 1;
}

/* Stats */
.stats {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--blue);
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 88px 0;
}

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

.section-head h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  max-width: none;
}

.section.paper {
  background: var(--paper);
}

.section.navy {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(0, 86, 179, 0.35), transparent 50%),
    var(--navy);
  color: #d7e4f4;
}

.section.navy h2,
.section.navy h3 {
  color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.grid-3,
.grid-4,
.products-grid,
.industry-grid,
.qa-grid {
  display: grid;
  gap: 22px;
}

.grid-3,
.products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4,
.industry-grid,
.qa-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card,
.product-card,
.industry-card,
.qa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.2s ease;
}

.product-card:hover,
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #b9d0ea;
}

.product-card .thumb {
  height: 190px;
  background: #123  center/cover no-repeat;
  position: relative;
}

.product-card .thumb.contain {
  background-color: #f6f9fc;
  background-size: contain;
  background-repeat: no-repeat;
}

.product-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 24, 48, 0.45), transparent 55%);
}

.product-card .thumb.contain::after {
  display: none;
}

.product-card .body,
.industry-card,
.qa-card {
  padding: 22px;
}

.product-card {
  color: inherit;
}

.product-card h3 {
  font-size: 1.55rem;
}

.product-card p {
  margin-bottom: 0;
}

.chip {
  display: inline-block;
  background: var(--soft);
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding: 7px 0 7px 22px;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 14px;
  transform: rotate(45deg);
}

/* Industries */
.industry-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(7, 24, 48, 0.15), rgba(7, 24, 48, 0.78)),
    var(--thumb, var(--navy)) center/cover no-repeat;
  color: #fff;
}

.industry-card h3 {
  color: #fff;
  font-size: 1.45rem;
  margin: 0;
}

a.industry-card {
  color: #fff;
}

/* CTA band */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(95deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-radius: 24px;
  padding: 36px 40px;
}

.cta-band h2 {
  color: #fff;
  font-size: 2.4rem;
  margin: 0 0 6px;
}

.cta-band p {
  margin: 0;
  color: #d6e8ff;
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(100deg, rgba(7, 24, 48, 0.88), rgba(0, 61, 130, 0.7)),
    var(--ph, var(--navy)) center/cover no-repeat;
  color: #fff;
  padding: 72px 0 64px;
}

.about-banner {
  background: #0b1220;
  line-height: 0;
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.crumbs {
  color: #c9d8ea;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.crumbs a {
  color: #fff;
}

.section .crumbs {
  color: var(--muted);
}

.section .crumbs a {
  color: var(--blue);
}

.section h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Spec table */
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--navy);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--paper);
}

/* Forms */
form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.success {
  display: none;
  background: #e8f8f1;
  color: var(--ok);
  border: 1px solid #b7e4cf;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.form-error {
  display: none;
  background: #fdecea;
  color: #a32020;
  border: 1px solid #f3c0c0;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #c4d3e6;
  padding: 56px 0 20px;
}

.footer h4 {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  color: #c4d3e6;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin: 8px 0;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 0.88rem;
}

.tagline {
  font-style: italic;
  color: #8fb4e4;
}

/* Misc */
.feature {
  display: flex;
  gap: 14px;
  padding: 14px 0;
}

.icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.split-media {
  border-radius: 22px;
  min-height: 380px;
  background: var(--navy) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.split-media.product-shot {
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
}

.grid-2.leadership-grid {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.leader-photo-wrap {
  align-self: start;
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
  background: #eef3f8;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.quality-diagram {
  margin: 36px auto 0;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quality-diagram img {
  width: 100%;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 16px;
}

.product-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.product-photos figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-photos img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #f6f9fc;
  padding: 16px;
}

.product-photos figcaption {
  padding: 12px 16px 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
}

.process-step b {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: #7eb4ff;
}

@media (max-width: 1120px) and (min-width: 981px) {
  .logo img { height: 52px; }
  .nav a,
  .nav-drop > button { padding: 10px 8px; font-size: 0.95rem; }
  .nav .btn-primary { padding: 10px 16px; }
}

@media (min-width: 981px) {
  .section-head h2 {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .header .wrap {
    min-height: 64px;
    gap: 12px;
    align-items: center;
  }
  .logo img {
    height: 48px;
    max-width: calc(100vw - 92px);
  }
  .topbar {
    font-size: 0.78rem;
  }
  .topbar .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 0;
    text-align: left;
  }
  .topbar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .topbar-left span {
    line-height: 1.3;
  }
  .topbar-links {
    align-self: start;
    justify-self: end;
    white-space: nowrap;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 82vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 72px 22px 28px;
    box-shadow: var(--shadow);
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    z-index: 55;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { z-index: 60; }
  body.menu-open .nav-overlay { display: block; }
  .nav a,
  .nav-drop > button {
    pointer-events: auto;
    position: relative;
    z-index: 1;
  }
  .nav-drop-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .products-grid,
  .industry-grid,
  .qa-grid,
  .footer-grid,
  .process,
  .form-row,
  .product-photos {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cta-band, .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid-2.leadership-grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar {
    font-size: 0.72rem;
  }
  .hide-sm { display: none; }
  .header .wrap {
    min-height: 56px;
    width: min(var(--max), calc(100% - 24px));
  }
  .logo img {
    height: 42px;
    max-width: calc(100vw - 84px);
  }
  .stats-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .products-grid,
  .industry-grid,
  .qa-grid,
  .footer-grid,
  .process,
  .form-row,
  .product-photos,
  .grid-2.leadership-grid {
    grid-template-columns: 1fr;
  }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 70vh; }
}
