:root {
  --ink: #10262d;
  --muted: #5b6d70;
  --paper: #f5faf8;
  --white: #ffffff;
  --line: #dbe8e5;
  --teal: #009b98;
  --teal-dark: #006f73;
  --mint: #dff6ee;
  --lime: #b8e25e;
  --amber: #f2a33c;
  --charcoal: #172d35;
  --shadow: 0 18px 45px rgba(16, 38, 45, 0.13);
  --radius: 8px;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(0, 155, 152, 0.09), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 70%);
  font-family: Avenir Next, Aptos, Segoe UI, sans-serif;
  line-height: 1.55;
}

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

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus { top: 1rem; }

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 232, 229, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0.85rem 1.4rem;
}

.brand img {
  height: 50px;
  object-fit: contain;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--charcoal);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
}

.menu-toggle {
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  display: none;
  font: inherit;
  font-weight: 750;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
}

.button {
  align-items: center;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.hero {
  background:
    linear-gradient(120deg, rgba(16, 38, 45, 0.93), rgba(16, 38, 45, 0.58)),
    url("assets/images/supply-chain.jpg") center / cover;
  color: var(--white);
  min-height: 80vh;
  padding: 7rem 1.4rem 5rem;
}

.hero-inner,
.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 1.2rem;
  max-width: 880px;
}

.hero p {
  font-size: 1.32rem;
  margin: 0 0 1.6rem;
  max-width: 760px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--lime); }

.solution-strip {
  background: var(--ink);
  color: var(--white);
}

.stat-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.stat-grid article {
  background: rgba(255, 255, 255, 0.055);
  min-height: 210px;
  padding: 1.6rem;
}

.stat-grid h2 {
  color: var(--lime);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.section {
  padding: 5rem 1.4rem;
}

.section.alt {
  background: var(--white);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0;
  max-width: 780px;
}

.steps,
.industry-grid,
.product-grid,
.team-grid {
  display: grid;
  gap: 1.1rem;
}

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

.step,
.product-card,
.person,
.contact-panel,
.media-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step {
  padding: 1.5rem;
}

.step span {
  color: var(--amber);
  display: block;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.step h3,
.industry-card h3,
.product-card h3,
.person h2 {
  margin: 0.6rem 0 0.45rem;
}

.mesh,
.software-layout,
.contact-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.92fr 1.08fr;
}

.media-panel {
  margin: 0;
  padding: 1rem;
}

.media-panel img {
  width: 100%;
}

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

.industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-card img {
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  width: 100%;
}

.industry-card div {
  padding: 1.1rem;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(223, 246, 238, 0.9), rgba(255, 255, 255, 0.84)),
    linear-gradient(45deg, rgba(184, 226, 94, 0.32), transparent 48%);
  padding: 5.5rem 1.4rem 3.5rem;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 780px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 1.18 / 1;
  background: #f3f8f6;
  object-fit: contain;
  padding: 1rem;
}

.product-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.product-card .body p {
  color: var(--muted);
  margin-top: 0;
}

.product-card .button {
  margin-top: auto;
}

.kit {
  background: var(--charcoal);
  color: var(--white);
}

.kit .section-lead {
  color: #d9e5e3;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
}

.pill-list li {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  list-style: none;
  padding: 0.5rem 0.8rem;
}

.team-grid {
  grid-template-columns: repeat(2, 1fr);
}

.person {
  overflow: hidden;
}

.person img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.person .body {
  padding: 1.2rem;
}

.role {
  color: var(--teal-dark);
  font-weight: 850;
}

.contact {
  background:
    linear-gradient(135deg, rgba(0, 155, 152, 0.24), transparent 42%),
    var(--ink);
  color: var(--white);
}

.contact-grid {
  align-items: start;
}

.contact a {
  color: var(--white);
}

.contact-panel {
  color: var(--ink);
  padding: 1.3rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}

label {
  color: var(--charcoal);
  display: grid;
  font-weight: 750;
  gap: 0.35rem;
}

input,
textarea {
  border: 1px solid #cddbd8;
  border-radius: var(--radius);
  font: inherit;
  min-height: 44px;
  padding: 0.7rem 0.75rem;
  width: 100%;
}

textarea,
.full {
  grid-column: 1 / -1;
}

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

.footer {
  background: #06181f;
  color: #d9e5e3;
  padding: 2rem 1.4rem;
}

.footer-grid {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

[data-reveal] {
  animation: rise 620ms ease both;
  animation-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { animation: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: none;
    flex-direction: column;
    left: 1rem;
    padding: 1rem;
    position: absolute;
    right: 1rem;
    top: 76px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 74vh;
    padding-top: 5.4rem;
  }

  .stat-grid,
  .steps,
  .mesh,
  .industry-grid,
  .product-grid,
  .software-layout,
  .team-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
