:root {
  --bg: #090a09;
  --surface: #111310;
  --surface-soft: #171a15;
  --line: rgba(239, 245, 235, 0.14);
  --ink: #f2f5ef;
  --muted: #a8ada4;
  --accent: #b7e34a;
  --accent-soft: rgba(183, 227, 74, 0.12);
  --page: min(1240px, calc(100vw - 80px));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: -60px;
  padding: 8px 12px;
  background: var(--accent);
  color: #111;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(24px, calc((100vw - 1360px) / 2));
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

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

.brand-mark {
  background: var(--accent);
  display: inline-block;
  height: 12px;
  position: relative;
  transform: skewX(-28deg);
  width: 20px;
}

.brand-mark::after {
  background: var(--bg);
  content: "";
  height: 12px;
  left: 7px;
  position: absolute;
  top: 0;
  width: 4px;
}

nav {
  display: flex;
  gap: 28px;
  margin-left: 84px;
}

nav a,
.header-call {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  transition: color 180ms ease;
}

nav a:hover,
.header-call:hover {
  color: var(--accent);
}

.header-call {
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 12px;
}

.hero {
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade,
#network-canvas {
  inset: 0;
  position: absolute;
}

.hero-image {
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.86) 0%, rgba(7, 8, 7, 0.48) 49%, rgba(7, 8, 7, 0.2) 100%),
    url("assets/hero-highway.jpg") center / cover no-repeat;
  filter: saturate(0.45) contrast(1.08) brightness(0.66);
  transform: scale(1.02);
  z-index: -4;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(9, 10, 9, 0.46), transparent 25%, transparent 67%, var(--bg)),
    linear-gradient(0deg, rgba(9, 10, 9, 0.56), transparent 50%);
  z-index: -2;
}

#network-canvas {
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.62;
  pointer-events: none;
  width: 100%;
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  min-height: 760px;
  padding: 132px 0 100px;
  position: relative;
  width: var(--page);
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(49px, 6.1vw, 92px);
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 850px;
}

h1 span,
.intro h2 span,
.vision h2 span {
  color: var(--accent);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 455px;
}

.primary-link {
  align-items: center;

  color: var(--accent);
  display: inline-flex;
  font-size: 14px;
  gap: 40px;
  justify-content: space-between;
  padding: 0 0 10px;
  transition: gap 220ms var(--ease);
  width: 98px;
}

.primary-link:hover {
  gap: 52px;
}

.hero-index {
  align-items: center;
  bottom: 35px;
  color: rgba(255, 255, 255, 0.56);
  display: flex;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 10px;
  gap: 12px;
  left: max(24px, calc((100vw - 1360px) / 2));
  position: absolute;
}

.hero-index i {
  background: var(--accent);
  height: 1px;
  width: 58px;
}

.section-shell {
  margin: 0 auto;
  width: var(--page);
}

.intro {
  padding: 150px 0 160px;
}

.intro-grid,
.capability-heading,
.contact-grid {
  align-items: end;
  display: grid;
  gap: 54px;
  grid-template-columns: 1.5fr 0.72fr;
}

.intro h2,
.vision h2,
.capability h2,
.contact h2 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.18;
  margin: 0;
}

.intro-copy,
.capability-heading p {
  color: var(--muted);
  margin: 0 0 7px;
  max-width: 430px;
}

.business {
  padding: 80px 0 150px;
}

.section-heading {
  margin-bottom: 58px;
}

.section-heading h2 {
  font-size: clamp(31px, 3.4vw, 52px);
  line-height: 1.2;
  margin-bottom: 0;
  max-width: 650px;
}

.business-list {
  border-top: 1px solid var(--line);
}

.business-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 72px minmax(280px, 1.1fr) 0.9fr;
  min-height: 235px;
  padding: 32px 0;
}

.business-number,
.step-number {
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 12px;
}

.business-copy h3 {
  font-size: 29px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.business-copy p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 510px;
}

.business-visual {
  height: 124px;
  justify-self: end;
  overflow: hidden;
  position: relative;
  width: min(100%, 355px);
}

.flow-visual::before,
.flow-visual::after {
  border: 1px solid rgba(183, 227, 74, 0.32);
  border-radius: 50%;
  content: "";
  height: 260px;
  left: 7%;
  position: absolute;
  top: -125px;
  transform: rotate(-15deg);
  width: 390px;
}

.flow-visual::after {
  border-color: rgba(183, 227, 74, 0.14);
  left: -45%;
  transform: rotate(22deg);
}

.flow-visual span {
  animation: flow 3.8s linear infinite;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 17px 4px rgba(183, 227, 74, 0.25);
  height: 5px;
  position: absolute;
  top: 56%;
  width: 5px;
}

.flow-visual span:nth-child(1) {
  animation-delay: -0.5s;
  left: 9%;
}

.flow-visual span:nth-child(2) {
  animation-delay: -2.1s;
  left: 42%;
  top: 36%;
}

.flow-visual span:nth-child(3) {
  animation-delay: -3.2s;
  left: 75%;
  top: 64%;
}

.gate-visual::before,
.gate-visual::after {
  border-bottom: 1px solid rgba(183, 227, 74, 0.4);
  border-left: 1px solid rgba(183, 227, 74, 0.4);
  border-right: 1px solid rgba(183, 227, 74, 0.4);
  content: "";
  height: 57px;
  position: absolute;
  top: 29px;
  width: 90px;
}

.gate-visual::before {
  left: 20%;
}

.gate-visual::after {
  left: 50%;
}

.gate-visual span {
  animation: scan 2.8s ease-in-out infinite;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(183, 227, 74, 0.52);
  height: 1px;
  left: 13%;
  position: absolute;
  top: 38px;
  width: 75%;
}

.gate-visual span:nth-child(2) { animation-delay: -0.7s; top: 55px; }
.gate-visual span:nth-child(3) { animation-delay: -1.4s; top: 72px; }
.gate-visual span:nth-child(4) { animation-delay: -2.1s; top: 89px; }
.gate-visual span:nth-child(5) { animation-delay: -2.6s; top: 106px; }

.trace-visual::before {
  border: 1px solid rgba(183, 227, 74, 0.28);
  content: "";
  inset: 23px 32px 21px;
  position: absolute;
  transform: rotate(-10deg) skewX(-18deg);
}

.trace-visual::after {
  border-left: 1px dashed rgba(183, 227, 74, 0.52);
  content: "";
  height: 137px;
  left: 52%;
  position: absolute;
  top: -5px;
  transform: rotate(64deg);
}

.trace-visual span {
  animation: pulse 2.5s ease-in-out infinite;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(183, 227, 74, 0.45);
  height: 8px;
  position: absolute;
  width: 8px;
}

.trace-visual span:nth-child(1) { left: 11%; top: 78%; }
.trace-visual span:nth-child(2) { animation-delay: -0.6s; left: 41%; top: 51%; }
.trace-visual span:nth-child(3) { animation-delay: -1.1s; left: 65%; top: 25%; }
.trace-visual span:nth-child(4) { animation-delay: -1.7s; left: 87%; top: 63%; }

.capability {
  background: var(--surface);
  padding: 146px 0 124px;
}

.capability-heading {
  margin-bottom: 84px;
}

.capability-path {
  counter-reset: item;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.capability-path::before {
  background: var(--line);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 5px;
}

.capability-path li {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 162px;
  padding: 0 28px 0 0;
  position: relative;
}

.capability-path li::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--surface);
  content: "";
  height: 11px;
  left: 0;
  position: absolute;
  top: 0;
  width: 11px;
}

.capability-path .step-number {
  margin-top: 33px;
}

.capability-path strong {
  font-size: 20px;
}

.capability-path small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 180px;
}

.vision {
  padding: 154px 0 162px;
}

.vision h2 {
  max-width: 850px;
}

.contact {
  background: var(--accent);
  color: #10120d;
  overflow: hidden;
  position: relative;
}

.contact::after {
  border: 1px solid rgba(16, 18, 13, 0.18);
  border-radius: 50%;
  content: "";
  height: 600px;
  position: absolute;
  right: -90px;
  top: -270px;
  width: 600px;
}

.contact-topline {
  background: rgba(16, 18, 13, 0.46);
  height: 8px;
  width: 100%;
}

.contact-grid {
  min-height: 374px;
  padding: 78px 0;
  position: relative;
  z-index: 1;
}

.contact .section-kicker {
  color: rgba(16, 18, 13, 0.68);
}

.contact h2 {
  max-width: 590px;
}

.contact-details {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone {
  border-bottom: 1px solid rgba(16, 18, 13, 0.65);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.1;
  padding-bottom: 9px;
  transition: opacity 180ms ease;
  width: fit-content;
}

.phone:hover {
  opacity: 0.55;
}

address {
  font-size: 14px;
  font-style: normal;
}

.site-footer {
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0 28px;
  width: var(--page);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

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

@keyframes flow {
  0% { opacity: 0; transform: translate(-12px, 13px); }
  20%, 78% { opacity: 1; }
  100% { opacity: 0; transform: translate(150px, -43px); }
}

@keyframes scan {
  0%, 100% { opacity: 0.18; transform: translateX(-15px); }
  48% { opacity: 0.92; transform: translateX(15px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(183, 227, 74, 0.42); transform: scale(0.8); }
  55% { box-shadow: 0 0 0 11px rgba(183, 227, 74, 0); transform: scale(1.06); }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 40px, 650px);
  }

  .site-header {
    height: 65px;
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-image {
    background-position: 59% center;
  }

  .hero-content {
    padding: 110px 0 80px;
  }

  .hero-copy {
    font-size: 15px;
    max-width: 330px;
  }

  .hero-index {
    left: 20px;
  }

  .intro,
  .vision {
    padding: 100px 0;
  }

  .business {
    padding: 44px 0 90px;
  }

  .intro-grid,
  .capability-heading,
  .contact-grid {
    align-items: start;
    gap: 29px;
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .business-item {
    align-items: start;
    grid-template-columns: 36px 1fr;
    min-height: 0;
    padding: 35px 0;
  }

  .business-visual {
    grid-column: 2;
    justify-self: start;
    margin-top: 7px;
    width: min(100%, 310px);
  }

  .capability {
    padding: 100px 0 72px;
  }

  .capability-heading {
    margin-bottom: 55px;
  }

  .capability-path {
    grid-template-columns: 1fr;
  }

  .capability-path::before {
    bottom: 0;
    height: auto;
    left: 5px;
    right: auto;
    top: 0;
    width: 1px;
  }

  .capability-path li {
    min-height: 132px;
    padding: 0 0 0 33px;
  }

  .capability-path .step-number {
    margin-top: 0;
  }

  .capability-path li::before {
    left: 0;
  }

  .contact-grid {
    min-height: 0;
    padding: 70px 0;
  }
}

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

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

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