:root {
  --ink: #07111f;
  --deep: #0a1628;
  --panel: #0d1b30;
  --cyan: #42d8ff;
  --blue: #5278ff;
  --mist: #dfe9f2;
  --paper: #f2f6f8;
  --white: #ffffff;
  --muted: #7c8c9d;
  --line: rgba(167, 188, 207, .22);
  --serif: "STSong", "Songti SC", "SimSun", serif;
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "Consolas", monospace;
  --container: min(1180px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--cyan); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -60px;
  left: 20px;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--ink);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 140px 0; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  color: var(--white);
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 17, 31, .86);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: var(--container);
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.brand { display: grid; grid-template-columns: 58px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.brand-logo-panel { grid-row: 1 / 3; display: grid; place-items: center; width: 54px; height: 54px; padding: 4px; background: var(--white); border: 1px solid rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(66,216,255,.12), 0 8px 24px rgba(0,0,0,.18); }
.brand-mark { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .15em; }
.brand-en { font-family: var(--mono); font-size: 8px; color: #91a5b8; letter-spacing: .28em; }
.desktop-nav { display: flex; gap: 36px; margin: 0 auto; }
.desktop-nav a { position: relative; color: #c5d0db; font-size: 13px; letter-spacing: .08em; transition: color .25s; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 1px; background: var(--cyan); transition: right .3s; }
.desktop-nav a:hover { color: var(--white); }
.desktop-nav a:hover::after { right: 0; }
.nav-contact { font-size: 12px; letter-spacing: .08em; padding: 11px 16px; border: 1px solid rgba(255,255,255,.25); transition: .25s; }
.nav-contact:hover { background: var(--white); color: var(--ink); }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 45%, rgba(35, 88, 137, .22), transparent 36%),
    linear-gradient(128deg, #07111f 0%, #09172a 55%, #07111f 100%);
  color: var(--white);
}
.hero-grid {
  position: absolute; inset: 0;
  opacity: .11;
  background-image: linear-gradient(rgba(132,175,207,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(132,175,207,.25) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 6%, #000 35%, #000 70%, transparent 100%);
}
.hero-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.9%, rgba(66,216,255,.5) 50%, transparent 50.1%); }
.hero-glow { position: absolute; width: 420px; height: 420px; left: 54%; top: 30%; border-radius: 50%; background: rgba(66, 216, 255, .07); filter: blur(80px); }
.hero-content { position: relative; z-index: 2; height: 100%; padding-top: clamp(170px, 22vh, 225px); }
.eyebrow, .section-kicker { margin: 0 0 34px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .24em; }
.eyebrow { color: var(--cyan); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(66px, 7.2vw, 108px); font-weight: 500; letter-spacing: .015em; line-height: 1.18; }
.title-light { color: #e0e9f1; font-weight: 400; }
.title-dot { color: var(--cyan); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: clamp(70px, 10vh, 110px); display: flex; justify-content: space-between; align-items: flex-end; }
.hero-bottom p { width: 340px; margin: 0; color: #9eafbf; line-height: 1.9; font-size: 14px; }
.text-link { display: flex; gap: 50px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 13px; letter-spacing: .1em; }
.text-link span { color: var(--cyan); }
.hero-index { position: absolute; z-index: 2; right: 28px; bottom: 28px; writing-mode: vertical-rl; color: #526579; font: 10px var(--mono); letter-spacing: .25em; }

.capital-orbit { position: absolute; z-index: 1; inset: 12% -3% 0; pointer-events: none; }
.capital-orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit-ghost { fill: none; stroke: rgba(130,169,204,.16); stroke-width: 18; filter: blur(14px); }
.orbit-line { fill: none; stroke: url(#lineGradient); stroke-width: 1.4; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; }
.orbit-node { fill: var(--ink); stroke: var(--cyan); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.node-a { animation: pulse 3s ease-in-out infinite; }
.node-b { animation: pulse 3s .8s ease-in-out infinite; }
.node-c { animation: pulse 3s 1.6s ease-in-out infinite; }
.orbit-label { position: absolute; padding: 5px 9px; border: 1px solid rgba(66,216,255,.25); background: rgba(7,17,31,.75); color: #92aabd; font: 9px var(--mono); letter-spacing: .18em; }
.label-a { left: 31%; top: 51%; }.label-b { left: 62.5%; top: 28%; }.label-c { left: 83%; top: 50%; }
@keyframes pulse { 0%,100% { r: 4px; opacity: .65; } 50% { r: 7px; opacity: 1; } }

.reveal { opacity: 0; transform: translateY(22px); animation: reveal .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1.reveal { animation-delay: .15s; }.hero-bottom.reveal { animation-delay: .35s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

.section-kicker { color: #688097; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.4vw, 62px); line-height: 1.42; font-weight: 500; letter-spacing: .02em; }
.about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 100px; margin-top: 100px; }
.about-statement { position: relative; padding-left: 62px; }
.quote-mark { position: absolute; left: 0; top: -15px; color: var(--cyan); font-family: Georgia, serif; font-size: 70px; }
.about-statement p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 35px); line-height: 1.78; color: #1a2e40; }
.about-detail p { margin: 0 0 24px; color: #596b7b; font-size: 14px; line-height: 2; }
.principles { margin-top: 44px; border-top: 1px solid #cad5dc; }
.principles span { display: block; padding: 14px 0; border-bottom: 1px solid #cad5dc; color: #365067; font: 10px var(--mono); letter-spacing: .12em; }

.services { background: #e8eef2; }
.services-heading { display: grid; grid-template-columns: .6fr 1.4fr; align-items: end; margin-bottom: 80px; }
.services-heading .section-kicker { margin: 0 0 12px; }
.services-heading h2 { font-size: clamp(36px, 3.8vw, 52px); }
.service-list { border-top: 1px solid #bdcbd5; }
.service-item { display: grid; grid-template-columns: .5fr 1.4fr auto; gap: 40px; align-items: center; min-height: 220px; border-bottom: 1px solid #bdcbd5; transition: padding .35s, background .35s; }
.service-item:hover { padding: 0 24px; background: rgba(255,255,255,.55); }
.service-code { color: #7d91a3; font: 10px var(--mono); letter-spacing: .2em; }
.service-main { display: grid; grid-template-columns: 80px 210px 1fr; align-items: center; gap: 34px; }
.service-main h3 { margin: 0; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.service-main p { margin: 0; color: #596c7b; line-height: 1.9; font-size: 14px; }
.service-arrow { color: #678197; font-size: 26px; transition: color .3s, transform .3s; }
.service-item:hover .service-arrow { color: #147ea1; transform: translate(4px,-4px); }
.service-icon { position: relative; width: 58px; height: 58px; }
.service-icon span { position: absolute; bottom: 4px; width: 10px; border: 1px solid #3f7d9b; background: rgba(66,216,255,.12); }
.service-icon span:nth-child(1) { left: 6px; height: 20px; }.service-icon span:nth-child(2) { left: 24px; height: 36px; }.service-icon span:nth-child(3) { left: 42px; height: 50px; }
.icon-orbit { border: 1px solid #7696a9; border-radius: 50%; }
.icon-orbit::before, .icon-orbit::after { content:""; position:absolute; border:1px solid #3f7d9b; border-radius:50%; }
.icon-orbit::before { inset: 11px; }.icon-orbit::after { width: 6px; height: 6px; top: 2px; left: 25px; background: var(--cyan); border: none; }
.icon-orbit span { width: 1px; height: 72px !important; bottom: -8px; left: 28px !important; background: #7696a9; transform: rotate(40deg); border: none; }
.icon-orbit span:nth-child(2) { transform: rotate(-40deg); }
.icon-path { border-left: 1px solid #7696a9; border-bottom: 1px solid #7696a9; }
.icon-path::after { content:""; position:absolute; inset: 7px 1px 8px 7px; border-top:1px solid transparent; border-right:1px solid #3f7d9b; transform:skew(-28deg); }
.icon-path span { width: 5px; height: 5px !important; border: none; border-radius: 50%; background: var(--cyan); }
.icon-path span:nth-child(1) { left: 5px; bottom: 13px; }.icon-path span:nth-child(2) { left: 26px; bottom: 31px; }.icon-path span:nth-child(3) { left: 49px; bottom: 51px; }

.philosophy { position: relative; overflow: hidden; background: var(--deep); color: white; min-height: 750px; }
.philosophy-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .75fr; gap: 100px; align-items: center; }
.philosophy .section-kicker { color: var(--cyan); }
.philosophy h2 { font-size: clamp(52px, 5.4vw, 78px); line-height: 1.35; }
.philosophy h2 span { color: #7791a6; }
.philosophy-copy > p { max-width: 520px; margin: 90px 0 60px; color: #9fb0bf; font-size: 15px; line-height: 2; }
.philosophy-points { border-top: 1px solid rgba(255,255,255,.18); }
.philosophy-points > div { display: grid; grid-template-columns: 70px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.philosophy-points strong { color: var(--cyan); font: 11px var(--mono); }
.philosophy-points span { color: #d7e0e8; font-size: 13px; line-height: 1.7; }
.philosophy-canvas { position: absolute; width: 640px; height: 640px; left: 8%; top: 8%; opacity: .3; }
.ring { position: absolute; border: 1px solid #4b7d9a; border-radius: 50%; }
.ring-1 { inset: 7%; }.ring-2 { inset: 24%; border-style: dashed; animation: spin 35s linear infinite; }.ring-3 { inset: 39%; }
.core { position: absolute; width: 8px; height: 8px; left: calc(50% - 4px); top: calc(50% - 4px); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 30px 8px rgba(66,216,255,.6); }
.philosophy-canvas::before, .philosophy-canvas::after { content:""; position:absolute; background:linear-gradient(90deg, transparent, #4b7d9a, transparent); }
.philosophy-canvas::before { width:100%; height:1px; top:50%; }.philosophy-canvas::after { width:1px; height:100%; left:50%; background:linear-gradient(transparent, #4b7d9a, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }

.contact { background: var(--paper); text-align: center; }
.contact-inner { max-width: 900px; }
.contact .section-kicker { margin-bottom: 40px; }
.contact h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.4vw, 75px); line-height: 1.4; font-weight: 500; }
.contact-note { max-width: 560px; margin: 40px auto 0; color: #667989; font-size: 14px; line-height: 2; }

.site-footer { padding: 65px 0 24px; background: #06101d; color: #8395a5; }
.footer-main { display: grid; grid-template-columns: .7fr 1.3fr auto; gap: 50px; align-items: center; padding-bottom: 50px; }
.footer-brand { display: flex; align-items: center; gap: 18px; letter-spacing: .17em; }
.footer-logo-panel { display: grid; place-items: center; width: 72px; height: 72px; padding: 6px; background: var(--white); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(66,216,255,.12), 0 12px 30px rgba(0,0,0,.22); }
.footer-brand-mark { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-logo { color: white; font: 21px var(--serif); letter-spacing: .16em; }
.footer-company p { margin: 4px 0; font-size: 11px; line-height: 1.7; }
.back-top { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #314354; color: var(--cyan); transition: .25s; }
.back-top:hover { border-color: var(--cyan); }
.footer-bottom { display: flex; gap: 32px; align-items: center; padding-top: 20px; border-top: 1px solid #1c2c3b; font-size: 10px; }
.icp-record { padding: 6px 10px; border: 1px solid #314354; color: #afbfcb; transition: border-color .25s, color .25s; }
.icp-record:hover { border-color: var(--cyan); color: var(--white); }
.footer-bottom span:last-child { margin-left: auto; }

@media (max-width: 900px) {
  :root { --container: min(calc(100vw - 40px), 680px); }
  .section { padding: 95px 0; }
  .desktop-nav, .nav-contact { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 7px; margin-left: auto; border: 0; padding: 10px 0 10px 10px; background: none; color: white; }
  .menu-toggle span { display: block; width: 25px; height: 1px; background: currentColor; transition: .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { padding: 12px 20px 30px; background: rgba(7,17,31,.98); }
  .mobile-menu:not([hidden]) { display: grid; }
  .mobile-menu a { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
  .hero { min-height: 700px; max-height: 900px; }
  .hero-content { padding-top: 180px; }
  .hero h1 { font-size: clamp(48px, 12vw, 76px); line-height: 1.28; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 35px; }
  .hero-bottom p { width: min(330px, 85vw); }
  .text-link { gap: 80px; }
  .capital-orbit { inset: 22% -35% 5% -35%; }
  .orbit-label { display: none; }
  .about-layout, .philosophy-layout { grid-template-columns: 1fr; gap: 55px; margin-top: 65px; }
  .about-statement { padding-left: 42px; }
  .services-heading { display: block; margin-bottom: 55px; }
  .services-heading .section-kicker { margin-bottom: 30px; }
  .service-item { grid-template-columns: 70px 1fr auto; min-height: 250px; gap: 20px; }
  .service-main { grid-template-columns: 70px 1fr; gap: 25px; }
  .service-main p { grid-column: 1 / 3; }
  .philosophy-copy > p { margin: 20px 0 50px; }
  .philosophy-canvas { left: -35%; top: 18%; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-company { grid-row: 2; }
  .back-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 36px); }
  .nav-shell { height: 72px; }
  .brand { grid-template-columns: 47px auto; column-gap: 9px; }
  .brand-logo-panel { width: 43px; height: 43px; padding: 3px; }
  .brand-name { font-size: 16px; }.brand-en { font-size: 7px; }
  .hero { min-height: 680px; }
  .hero-content { padding-top: 155px; }
  .hero h1 { font-size: 48px; }
  .eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 28px; }
  .hero-bottom { bottom: 55px; }
  .hero-index { display: none; }
  .section-heading h2 { font-size: 35px; }
  .about-layout { gap: 45px; }
  .about-statement p { font-size: 23px; }
  .quote-mark { font-size: 55px; }
  .service-item { display: block; padding: 34px 0; min-height: 0; }
  .service-item:hover { padding: 34px 14px; }
  .service-code { margin-bottom: 30px; }
  .service-main { display: grid; grid-template-columns: 58px 1fr; gap: 20px; }
  .service-main h3 { font-size: 25px; }
  .service-main p { margin-top: 18px; }
  .service-arrow { position: absolute; right: 20px; margin-top: -125px; }
  .philosophy h2 { font-size: 46px; }
  .philosophy-points > div { grid-template-columns: 50px 1fr; }
  .contact h2 { font-size: 41px; }
  .contact-note { line-height: 1.8; }
  .footer-main { gap: 30px; }
  .footer-company { grid-column: 1 / 3; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 22px; }
  .footer-bottom span:last-child { width: 100%; margin: 5px 0 0; }
}

@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, .reveal-on-scroll { opacity: 1; transform: none; }
}
