:root {
  --navy: #0b1b31;
  --navy-2: #10263f;
  --teal: #08a8c0;
  --teal-dark: #106880;
  --background: #f7f8f6;
  --surface: #ffffff;
  --surface-2: #eef2f1;
  --text: #17202b;
  --text-muted: #5f6c76;
  --line: #d9e0df;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(11, 27, 49, 0.12);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 78px;
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 75%, white);
  outline-offset: 4px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-muted {
  background: var(--surface-2);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%),
    var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(247, 248, 246, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(11, 27, 49, 0.08);
}

.nav {
  width: min(100% - 2rem, var(--max-width));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(152px, 18vw, 214px);
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.4vw, 1.5rem);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-menu > a:not(.button) {
  padding: 0.5rem 0;
}

.nav-menu > a:not(.button):hover {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  color: var(--white);
  background: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
}

.button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--white);
}

.hero {
  min-height: calc(92svh - var(--header-height));
  display: grid;
  align-items: center;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(11, 27, 49, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 27, 49, 0.04) 1px, transparent 1px),
    var(--background);
  background-size: 64px 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #65d4df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  color: var(--navy);
  font-size: clamp(3rem, 7.2vw, 6.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.25;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-copy p,
.compact-section p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.section-dark .section-heading p,
.section-dark .service-card p {
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(11, 27, 49, 0.16));
  animation: visualFloat 7s ease-in-out infinite;
}

.visual-shell {
  fill: rgba(255, 255, 255, 0.8);
  stroke: rgba(11, 27, 49, 0.18);
}

.visual-line,
.visual-mark,
.visual-chevron {
  fill: none;
  stroke: rgba(11, 27, 49, 0.42);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-line-accent {
  stroke: url(#accentLine);
}

.visual-line-muted {
  stroke: rgba(16, 104, 128, 0.4);
}

.visual-block {
  fill: rgba(8, 168, 192, 0.13);
  stroke: rgba(8, 168, 192, 0.62);
}

.visual-block-dark {
  fill: rgba(11, 27, 49, 0.08);
  stroke: rgba(11, 27, 49, 0.35);
}

.visual-node {
  fill: var(--teal);
  stroke: var(--white);
  stroke-width: 5;
}

.visual-mark {
  stroke: rgba(11, 27, 49, 0.25);
}

.visual-chevron {
  stroke: var(--teal-dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.split,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.service-grid,
.manufacturing-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.manufacturing-grid,
.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-panel,
.compact-section {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.service-card {
  background: rgba(255, 255, 255, 0.045);
}

.service-card span,
.process span,
.product-status {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 2.05rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line);
}

.process li {
  position: relative;
  padding: 0 0.85rem;
}

.process span {
  width: 4.1rem;
  height: 4.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy);
  border: 4px solid var(--background);
  border-radius: 50%;
  margin-bottom: 1.1rem;
}

.process p,
.feature-panel p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.capability-list,
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.capability-list span,
.industry-grid span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.8rem;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.feature-panel,
.compact-section {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(11, 27, 49, 0.03);
}

.dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-copy {
  max-width: 660px;
}

.contact-section {
  color: var(--white);
  background: var(--navy);
}

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

.contact-grid-simple {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  align-items: center;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details p {
  margin-bottom: 0.45rem;
}

.contact-details a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-email-card {
  width: 100%;
  min-height: 72px;
  background: var(--teal-dark);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #071322;
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  gap: 2rem;
  align-items: start;
}

.footer img {
  width: min(220px, 80vw);
  height: auto;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.6rem;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p,
.footer p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes visualFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .service-grid,
  .manufacturing-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .process::before {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-height) - 4px);
    display: grid;
    gap: 0;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .nav-menu.is-open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 0.9rem;
  }

  .nav-menu .button {
    margin-top: 0.45rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-actions,
  .dual,
  .service-grid,
  .manufacturing-grid,
  .why-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    padding: 0;
  }

  .process span {
    grid-row: span 2;
    width: 3.4rem;
    height: 3.4rem;
    border-color: var(--background);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .container,
  .nav {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .section {
    padding: 4rem 0;
  }

  .service-card,
  .feature-panel,
  .compact-section {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
