:root {
  --ink: #0d1b2d;
  --ink-soft: #283a52;
  --blue: #2f67f6;
  --cyan: #6bd6e4;
  --violet: #806bff;
  --mist: #edf4fb;
  --paper: #fbfcfe;
  --line: #dbe5ef;
  --white: #ffffff;
  --display: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --body: "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --utility: "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
.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 {
  position: fixed; left: 20px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--ink);
  box-shadow: 0 10px 30px rgba(13, 27, 45, .2); transition: top .2s ease;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 74px; padding: 0 clamp(24px, 4vw, 70px);
  color: var(--white); background: rgba(13, 27, 45, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.brand { justify-self: start; display: inline-flex; gap: 11px; align-items: center; font-weight: 700; letter-spacing: .03em; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px;
  color: var(--cyan); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13);
}
.brand-mark svg { width: 30px; fill: currentColor; }
.brand-mark.small { width: 34px; height: 34px; background: #172842; border: 0; }
.primary-nav { display: flex; gap: clamp(24px, 3vw, 45px); align-items: center; font-size: 14px; color: rgba(255, 255, 255, .76); }
.primary-nav a { transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--white); }
.header-mail {
  justify-self: end; padding: 10px 18px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px;
  font-size: 13px; transition: background .2s ease, color .2s ease;
}
.header-mail:hover, .header-mail:focus-visible { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }

.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center;
  padding: 125px max(6vw, calc((100vw - var(--max))/2)) 90px;
  color: var(--white); background:
    radial-gradient(circle at 80% 28%, rgba(107,214,228,.14), transparent 27%),
    linear-gradient(135deg, #0b1727 0%, #10233c 58%, #132b4a 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 84px 84px; mask-image: linear-gradient(to right, transparent 5%, black 65%, transparent 100%);
}
.hero-copy { position: relative; z-index: 2; padding-right: 30px; }
.eyebrow { margin: 0 0 28px; color: var(--cyan); font-family: var(--utility); font-size: 12px; letter-spacing: .22em; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 30px; font-family: var(--display); font-size: clamp(50px, 5.7vw, 92px);
  line-height: 1.04; letter-spacing: -.055em; font-weight: 700;
}
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); }
.hero-lead { margin-bottom: 40px; color: rgba(255,255,255,.68); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border-radius: 999px; font-size: 14px; font-weight: 650; }
.button-primary { background: var(--cyan); color: #071827; box-shadow: 0 10px 38px rgba(107,214,228,.19); }
.text-link { color: rgba(255,255,255,.78); font-size: 14px; }
.button, .text-link { transition: transform .2s ease, color .2s ease, background .2s ease; }
.button:hover, .button:focus-visible, .text-link:hover, .text-link:focus-visible { transform: translateY(-2px); }
.text-link:hover, .text-link:focus-visible { color: var(--white); }

.hero-visual { position: relative; z-index: 1; display: grid; place-items: center; min-height: 620px; }
.network-feather { width: min(100%, 560px); overflow: visible; }
.feather-shape { opacity: .9; }
.feather-spine, .feather-lines path { fill: none; stroke: rgba(255,255,255,.63); stroke-width: 1.25; }
.feather-lines path { stroke: rgba(107,214,228,.45); }
.nodes circle { fill: var(--white); stroke: var(--cyan); stroke-width: 3; }
.visual-glow { fill: rgba(107,214,228,.18); }
.visual-caption {
  position: absolute; right: 0; bottom: 70px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  color: rgba(255,255,255,.38); font-family: var(--utility); font-size: 10px; letter-spacing: .18em;
}
.hero-foot {
  position: absolute; left: max(6vw, calc((100vw - var(--max))/2)); right: max(6vw, calc((100vw - var(--max))/2)); bottom: 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  color: rgba(255,255,255,.35); font-family: var(--utility); font-size: 9px; letter-spacing: .18em;
}
.scroll-line { height: 1px; background: rgba(255,255,255,.15); }

.section { padding: clamp(90px, 11vw, 160px) max(6vw, calc((100vw - var(--max))/2)); }
.section-label {
  display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line);
  color: #62758e; font-family: var(--utility); font-size: 11px; letter-spacing: .12em;
}
.section h2 { font-family: var(--display); font-size: clamp(42px, 5vw, 72px); line-height: 1.1; letter-spacing: -.045em; }
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(50px, 9vw, 130px); row-gap: 70px; padding-top: 70px; }
.about-heading h2 { margin-bottom: 0; }
.about-copy { color: var(--ink-soft); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.9; }
.about-copy p:last-child { margin-bottom: 0; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 25px 25px 28px 0; }
.facts div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.facts dt { margin-bottom: 14px; color: #718399; font-size: 12px; }
.facts dd { margin: 0; font-family: var(--display); font-size: clamp(16px, 1.5vw, 22px); font-weight: 650; }

.capabilities { color: var(--white); background: var(--ink); }
.capabilities .section-label { color: rgba(255,255,255,.46); border-color: rgba(255,255,255,.12); }
.capabilities-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; padding: 70px 0 65px; }
.capabilities-intro h2 { margin-bottom: 0; }
.capabilities-intro p { justify-self: end; max-width: 360px; color: rgba(255,255,255,.56); line-height: 1.8; }
.capability-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.capability { min-height: 390px; padding: 38px 28px 34px; transition: background .25s ease, transform .25s ease; }
.capability + .capability { border-left: 1px solid rgba(255,255,255,.14); }
.capability:hover { background: rgba(107,214,228,.07); transform: translateY(-5px); }
.capability-icon { position: relative; width: 60px; height: 60px; margin-bottom: 70px; color: var(--cyan); }
.capability-icon:not(.code-icon):not(.orbit-icon):not(.consult-icon) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 8px; border: 1px solid rgba(107,214,228,.4); border-radius: 18px; }
.capability-icon:not(.code-icon):not(.orbit-icon):not(.consult-icon) span { border: 1px solid currentColor; border-radius: 50%; }
.code-icon { display: grid; place-items: center; font-family: var(--utility); font-size: 23px; border: 1px solid rgba(107,214,228,.4); border-radius: 18px; }
.orbit-icon { border: 1px solid rgba(107,214,228,.4); border-radius: 50%; }
.orbit-icon::before { content: ""; position: absolute; inset: 12px; border: 1px solid currentColor; border-radius: 50%; }
.orbit-icon i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.orbit-icon i:nth-child(1) { left: 3px; top: 26px; }.orbit-icon i:nth-child(2) { right: 9px; top: 8px; }.orbit-icon i:nth-child(3) { right: 8px; bottom: 8px; }
.consult-icon { border: 1px solid rgba(107,214,228,.4); border-radius: 18px; }
.consult-icon span { position: absolute; left: 15px; right: 15px; height: 1px; background: currentColor; }
.consult-icon span:first-child { top: 22px; }.consult-icon span:last-child { top: 35px; width: 20px; right: auto; }
.capability-en { margin-bottom: 12px; color: var(--cyan); font-family: var(--utility); font-size: 9px; letter-spacing: .15em; }
.capability h3 { margin-bottom: 18px; font-family: var(--display); font-size: 25px; }
.capability > p:last-child { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.9; }
.legal-note { margin: 25px 0 0; color: rgba(255,255,255,.38); font-size: 12px; line-height: 1.8; }

.principles { background: var(--mist); }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); padding-top: 70px; }
.principles-heading h2 { position: sticky; top: 120px; }
.principle-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #cbd8e5; }
.principle-list li { display: grid; grid-template-columns: 70px 1fr; column-gap: 24px; padding: 30px 0; border-bottom: 1px solid #cbd8e5; }
.principle-list li > span { grid-row: span 2; color: var(--blue); font-family: var(--utility); font-size: 11px; letter-spacing: .12em; }
.principle-list strong { font-family: var(--display); font-size: 23px; }
.principle-list p { margin: 10px 0 0; color: #61738a; line-height: 1.7; }

.contact { color: var(--white); background: linear-gradient(135deg, #183961, #244d7e 56%, #28627d); }
.contact-top { text-align: center; padding-bottom: 90px; }
.contact-top .eyebrow { margin-bottom: 25px; }
.contact-top h2 { margin-bottom: 35px; }
.contact-email { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.42); font-size: clamp(19px, 2vw, 28px); }
.company-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-top: 42px; border-top: 1px solid rgba(255,255,255,.18); }
.company-details p { margin-bottom: 8px; color: rgba(255,255,255,.72); line-height: 1.75; }
.company-details p[lang="en"] { color: rgba(255,255,255,.43); font-size: 13px; }
.company-details .detail-label { margin-bottom: 23px; color: var(--cyan); font-family: var(--utility); font-size: 10px; letter-spacing: .15em; }

.site-footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px;
  padding: 28px max(6vw, calc((100vw - var(--max))/2)); color: rgba(255,255,255,.58); background: #091320; font-size: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.8); }
.site-footer p { margin: 0; }
.site-footer > a { justify-self: end; color: rgba(255,255,255,.72); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero .reveal:nth-child(2) { transition-delay: .15s; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr .8fr; }
  .hero-visual { min-height: 520px; }
  .capability-list { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .capability:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 20px; }
  .brand-name, .header-mail { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; justify-content: center; width: 42px; height: 42px; padding: 10px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav {
    position: absolute; top: 66px; left: 0; right: 0; z-index: 2;
    display: none; flex-direction: column; gap: 0; align-items: stretch; min-height: 222px;
    padding: 12px 20px 24px; background: rgba(13,27,45,.98);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { display: block; min-height: auto; padding: 135px 24px 105px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(47px, 13vw, 66px); }
  .hero-lead br { display: none; }
  .hero-actions { flex-wrap: wrap; }
  .hero-visual { min-height: 400px; margin: 45px -20px 0; }
  .network-feather { width: min(116%, 450px); }
  .visual-caption { right: 20px; bottom: 20px; }
  .hero-foot { left: 24px; right: 24px; grid-template-columns: auto 1fr; }
  .hero-foot span:last-child { display: none; }
  .section { padding: 88px 24px; }
  .section-label { font-size: 9px; }
  .section h2 { font-size: clamp(39px, 11vw, 54px); }
  .about-grid, .capabilities-intro, .principles-grid, .company-details { grid-template-columns: 1fr; }
  .about-grid, .principles-grid { gap: 42px; padding-top: 48px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .capabilities-intro { gap: 25px; padding: 50px 0 45px; }
  .capabilities-intro p { justify-self: start; }
  .capability-list { grid-template-columns: 1fr; }
  .capability { min-height: 340px; }
  .capability + .capability { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .capability-icon { margin-bottom: 55px; }
  .principles-heading h2 { position: static; }
  .principle-list li { grid-template-columns: 60px 1fr; }
  .contact-top { text-align: left; padding-bottom: 60px; }
  .contact-email { font-size: 18px; word-break: break-all; }
  .company-details { gap: 35px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer > a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
