:root {
  color-scheme: light;
  --ink: #151617;
  --muted: #5a626b;
  --line: #d9dfdc;
  --paper: #f7f6f0;
  --white: #ffffff;
  --green: #0f8a5f;
  --teal: #1f9aa0;
  --gold: #c58b2a;
  --red: #b94f42;
  --graphite: #22272b;
  --shadow: 0 18px 50px rgba(21, 22, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    sans-serif;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #7de0b4;
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 246, 240, 0.94);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand em {
  padding-left: 2px;
  color: currentColor;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  opacity: 0.72;
}

.brand img {
  width: 34px;
  height: 34px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
}

.desktop-nav a {
  opacity: 0.84;
  transition: opacity 160ms ease;
}

.desktop-nav a:hover {
  opacity: 1;
}

.nav-action {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 64px) 72px;
  overflow: hidden;
  color: var(--white);
  background: #111413;
}

#signalCanvas,
.hero-media {
  position: absolute;
  inset: 0;
}

#signalCanvas {
  z-index: 1;
  opacity: 0.42;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(17, 20, 19, 0.92), rgba(17, 20, 19, 0.54) 48%, rgba(17, 20, 19, 0.22)),
    linear-gradient(0deg, rgba(17, 20, 19, 0.76), rgba(17, 20, 19, 0.06) 48%),
    url("assets/hero-lattice.svg") center right / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7de0b4;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 11vw, 142px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.7vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-name {
  margin: -4px 0 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(24px, 4vw, 54px);
  font-weight: 760;
  line-height: 1;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.nav-action:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 64px);
  bottom: 72px;
  width: min(320px, calc(100% - 40px));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(17, 20, 19, 0.42);
  backdrop-filter: blur(14px);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.hero-panel strong {
  font-size: 15px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px);
}

.mission {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
}

.mission-copy {
  max-width: 980px;
}

.mission-copy p,
.section-heading p,
.ops-copy p,
.contact p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.metric-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.metric-row div {
  min-height: 170px;
  padding: 24px;
  background: var(--white);
}

.metric-row strong {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 24px;
  line-height: 1.1;
}

.metric-row span {
  color: var(--muted);
}

.solutions,
.process {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.solution-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.solution-card:last-child {
  border-right: 0;
}

.solution-card span {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
  font-weight: 800;
}

.solution-card p,
.industry-list p,
.process-steps p {
  color: var(--muted);
}

.operating-system {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  background: var(--graphite);
  color: var(--white);
}

.ops-visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  overflow: hidden;
}

.ops-visual::before,
.ops-visual::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(125, 224, 180, 0.52);
  transform: rotate(45deg);
}

.ops-visual::after {
  inset: 30%;
  border-color: rgba(197, 139, 42, 0.62);
  transform: rotate(-18deg);
}

.ops-core,
.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(34, 39, 43, 0.86);
}

.ops-core {
  inset: 38%;
  font-weight: 850;
}

.node {
  width: 74px;
  height: 42px;
  font-size: 14px;
}

.node-a {
  top: 14%;
  left: 20%;
}

.node-b {
  top: 24%;
  right: 13%;
}

.node-c {
  left: 14%;
  bottom: 20%;
}

.node-d {
  right: 20%;
  bottom: 14%;
}

.ops-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.ops-copy li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.industries {
  background: #edf2ef;
}

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

.industry-list article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.process-steps div {
  min-height: 220px;
  padding: 26px;
  background: var(--white);
}

.process-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.process-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.contact {
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  #signalCanvas {
    display: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .desktop-nav,
  .nav-action {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 11px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
  }

  .menu-button span {
    display: block;
    height: 2px;
    background: currentColor;
  }

  .mobile-nav {
    position: fixed;
    z-index: 19;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 1px;
    padding: 0 clamp(20px, 5vw, 64px) 18px;
    background: rgba(247, 246, 240, 0.96);
    color: var(--ink);
    backdrop-filter: blur(18px);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel {
    display: none;
  }

  .mission,
  .section-heading,
  .operating-system {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .industry-list,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand em {
    display: none;
  }

  .hero {
    min-height: 90svh;
    padding: 120px 20px 48px;
  }

  .hero-actions,
  .button,
  .contact {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .section {
    padding: 64px 20px;
  }

  .solution-grid,
  .industry-list,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .metric-row div,
  .process-steps div {
    min-height: auto;
  }

  .solution-card span {
    margin-bottom: 40px;
  }

  .ops-visual {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
  }
}
