:root {
  --ink: #06120e;
  --paper: #f4f8f2;
  --mint: #7af1b4;
  --acid: #d8ff7b;
  --coral: #ff6a62;
  --muted: #597068;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 50; background: var(--acid); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.site-header {
  align-items: center;
  background: rgba(244, 248, 242, .9);
  border-bottom: 1px solid rgba(6, 18, 14, .14);
  display: flex;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 4rem);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand { font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-decoration: none; }
.brand span { color: var(--muted); display: block; font-size: .56rem; letter-spacing: .16em; margin-top: .2rem; }
nav { align-items: center; display: flex; gap: 1.25rem; }
nav a { color: rgba(6, 18, 14, .7); font-size: .82rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--coral); }
.hero { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, .87fr) minmax(420px, 1.13fr); min-height: calc(100svh - 76px); overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 7rem); position: relative; z-index: 1; }
.eyebrow { color: var(--coral); font-size: .67rem; font-weight: 900; letter-spacing: .18em; margin: 0; }
.hero h1, h2 { font-weight: 800; letter-spacing: 0; line-height: .98; margin: 1.2rem 0 0; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 6.7rem); }
.hero h1 em { color: var(--mint); font-style: normal; }
.lead { color: rgba(244, 248, 242, .68); font-size: clamp(1rem, 1.3vw, 1.18rem); margin: 2rem 0 0; max-width: 39rem; }
.hero-facts { border-top: 1px solid rgba(244, 248, 242, .2); display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin: 3.2rem 0 0; padding-top: 1rem; }
.hero-facts div { min-width: 0; }
.hero-facts dt { color: var(--mint); font-size: 1.25rem; font-weight: 800; }
.hero-facts dd { color: rgba(244, 248, 242, .6); font-size: .76rem; line-height: 1.45; margin: .35rem 0 0; }
.hero-image {
  align-items: center;
  background-color: #07130f;
  background-image: linear-gradient(rgba(122, 241, 180, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 241, 180, .10) 1px, transparent 1px);
  background-size: 42px 42px;
  display: grid;
  margin: 0;
  min-height: 28rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}
.hero-image::before { border: 1px solid rgba(122, 241, 180, .24); content: ""; inset: 10%; pointer-events: none; position: absolute; }
.interface-frame {
  animation: interface-float 7s ease-in-out infinite;
  background: #0c1d17;
  border: 1px solid rgba(122, 241, 180, .42);
  box-shadow: -24px 26px 0 rgba(122, 241, 180, .12), 40px 48px 92px rgba(0, 0, 0, .68), 0 0 44px rgba(122, 241, 180, .22);
  overflow: hidden;
  position: relative;
  transform: perspective(1080px) rotateY(-15deg) rotateX(4deg) translate3d(-2%, 0, 22px) scale(1.13);
  transform-origin: 28% 50%;
  width: 104%;
  z-index: 1;
}
.interface-frame::after { border: 1px solid rgba(255, 255, 255, .16); content: ""; inset: 7px; pointer-events: none; position: absolute; }
.interface-frame img { display: block; height: auto; object-fit: cover; width: 100%; }
@keyframes interface-float {
  0%, 100% { transform: perspective(1080px) rotateY(-15deg) rotateX(4deg) translate3d(-2%, 0, 22px) scale(1.13); }
  50% { transform: perspective(1080px) rotateY(-13deg) rotateX(2.8deg) translate3d(-1%, -14px, 38px) scale(1.13); }
}
figcaption { color: rgba(244, 248, 242, .68); font-size: .78rem; line-height: 1.55; padding: .9rem 1.1rem; }
.hero-image figcaption { bottom: 1.3rem; left: 1.3rem; position: absolute; z-index: 2; font-size: .65rem; letter-spacing: .12em; }
.intro-band { border-bottom: 1px solid rgba(6, 18, 14, .15); display: grid; gap: 2.5rem; grid-template-columns: .45fr 1.25fr .8fr; padding: clamp(4rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.intro-band h2, .case h2, .closing h2 { font-size: clamp(2.25rem, 5vw, 5.6rem); }
.intro-band > p:last-child { color: var(--muted); margin: 0; max-width: 26rem; }
.case { border-bottom: 1px solid rgba(6, 18, 14, .15); display: grid; gap: 2rem; grid-template-columns: .25fr .92fr 1.08fr; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem); }
.case-index { color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .14em; padding-top: .3rem; }
.case-heading p:last-child { color: var(--muted); margin: 1.6rem 0 0; max-width: 34rem; }
.case-image { background: #dfe9e1; border: 1px solid rgba(6, 18, 14, .16); box-shadow: 15px 20px 42px rgba(6, 18, 14, .13); margin: 0; overflow: hidden; position: relative; transform: perspective(1600px) rotateY(-1.6deg) rotateX(.65deg); transform-origin: 48% 50%; transition: transform .6s ease, box-shadow .6s ease; }
.case-image img { display: block; height: auto; width: 100%; }
.case-image figcaption { background: var(--ink); }
.case-monitoring .wide { box-shadow: -13px 15px 0 rgba(122, 241, 180, .12), 25px 30px 58px rgba(6, 18, 14, .18); transform: perspective(1500px) rotateY(-3.2deg) rotateX(.9deg) translate3d(-1%, 0, 8px); }
.case-knowledge .search-image { box-shadow: 18px 22px 46px rgba(6, 18, 14, .16); transform: perspective(1500px) rotateY(-2.8deg) rotateX(.9deg) translate3d(-1%, 8px, 6px); }
.knowledge-grid .graph-image { box-shadow: -16px 20px 0 rgba(255, 106, 98, .10), 18px 24px 48px rgba(6, 18, 14, .17); transform: perspective(1500px) rotateY(4.2deg) rotateX(-.8deg) translate3d(1%, -8px, 14px); }
.case-sense .wide { box-shadow: 17px 18px 0 rgba(123, 231, 255, .10), -23px 32px 62px rgba(6, 18, 14, .22); transform: perspective(1500px) rotateY(3.4deg) rotateX(.7deg) translate3d(1.5%, -3px, 12px); }
.case .wide { grid-column: 2 / 4; }
.capability-list { border-top: 1px solid rgba(6, 18, 14, .18); display: grid; gap: .8rem; grid-column: 2 / 4; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 1rem 0 0; }
.capability-list li { font-size: .94rem; font-weight: 700; }
.capability-list span { color: var(--coral); display: block; font-size: .68rem; letter-spacing: .1em; margin-bottom: .25rem; }
.case-knowledge { grid-template-columns: .25fr 1.75fr; }
.case-knowledge .knowledge-grid, .case-knowledge .capability-list { grid-column: 2; }
.knowledge-grid { display: grid; gap: 1.25rem; grid-template-columns: 1.08fr .92fr; }
.search-image img { aspect-ratio: 1.76; object-fit: cover; object-position: top; }
.graph-image { background: white; }
.graph-image img { aspect-ratio: 1; object-fit: contain; }
.closing { background: var(--acid); padding: clamp(4rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.closing-grid { border-top: 1px solid rgba(6, 18, 14, .3); display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.5rem; }
.closing-grid p { border-right: 1px solid rgba(6, 18, 14, .25); font-size: clamp(1rem, 1.65vw, 1.5rem); font-weight: 800; margin: 0; padding: 1rem 1.2rem 1rem 0; }
.closing-grid p + p { padding-left: 1.2rem; }
.contact-link { align-items: center; background: var(--ink); color: var(--paper); display: inline-flex; font-size: 1.05rem; font-weight: 800; gap: 1.2rem; margin-top: 4rem; padding: .95rem 1.3rem; text-decoration: none; }
.contact-link:hover { background: var(--coral); }
.contact-link span { color: var(--mint); font-size: 1.4rem; }
.site-footer { align-items: center; background: var(--ink); color: rgba(244, 248, 242, .55); display: flex; font-size: .7rem; justify-content: space-between; padding: 1.3rem clamp(1.25rem, 4vw, 4rem); }
.site-footer a { color: rgba(244, 248, 242, .55); }

.ai-systems-spotlight {
  background: #e8f2e8;
  border-top: 1px solid rgba(6, 18, 14, .15);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 34rem;
}
.ai-systems-spotlight__copy { align-self: center; padding: clamp(3rem, 7vw, 6.5rem); }
.ai-systems-spotlight__copy p { color: var(--coral); font-size: .68rem; font-weight: 900; letter-spacing: .15em; margin: 0; }
.ai-systems-spotlight__copy h2 { font-size: clamp(2.4rem, 4.9vw, 5.5rem); margin-top: 1rem; }
.ai-systems-spotlight__copy span { color: var(--muted); display: block; font-size: .95rem; margin-top: 1.5rem; }
.ai-systems-spotlight__copy a { align-items: center; display: inline-flex; font-size: .95rem; font-weight: 900; gap: .8rem; margin-top: 2.5rem; text-decoration: none; }
.ai-systems-spotlight__copy a:hover { color: var(--coral); }
.ai-systems-spotlight__copy b { border: 1px solid currentColor; border-radius: 50%; display: grid; font-size: 1rem; height: 2.2rem; place-items: center; width: 2.2rem; }
.ai-systems-spotlight__media { background: var(--ink); min-height: 22rem; overflow: hidden; }
.ai-systems-spotlight__media img { display: block; height: 100%; object-fit: cover; transition: transform .7s ease; width: 100%; }
.ai-systems-spotlight:hover .ai-systems-spotlight__media img { transform: scale(1.025); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: min(68vw, 32rem); }
  .intro-band, .case, .case-knowledge { grid-template-columns: 1fr; }
  .case-index { padding: 0; }
  .case .wide, .case-knowledge .knowledge-grid, .case-knowledge .capability-list, .capability-list { grid-column: auto; }
  .intro-band { gap: 1.3rem; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .ai-systems-spotlight { grid-template-columns: 1fr; }
  .ai-systems-spotlight__media { min-height: min(68vw, 32rem); }
  .case-image, .case-sense .wide, .knowledge-grid .graph-image { transform: none; }
}

@media (max-width: 620px) {
  .site-header { padding: .95rem 1rem; }
  nav { gap: .7rem; }
  nav a { font-size: .72rem; }
  nav a:nth-child(3) { display: none; }
  .hero-copy { padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.1rem); }
  .hero-image { padding: 1.35rem; }
  .hero-image::before { inset: 7%; }
  .interface-frame { box-shadow: -8px 12px 0 rgba(122, 241, 180, .10), 14px 22px 48px rgba(0, 0, 0, .55), 0 0 20px rgba(122, 241, 180, .14); transform: perspective(900px) rotateY(-8deg) rotateX(2deg) translate3d(4%, 0, 10px) scale(1.04); width: 100%; }
  .hero-facts { gap: .65rem; }
  .hero-facts dd { font-size: .66rem; }
  .intro-band, .case, .closing { padding: 4.25rem 1.25rem; }
  .capability-list, .closing-grid { grid-template-columns: 1fr 1fr; }
  .capability-list li { border-bottom: 1px solid rgba(6, 18, 14, .12); padding-bottom: .8rem; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .closing-grid p { border-bottom: 1px solid rgba(6, 18, 14, .25); font-size: 1rem; padding: .9rem 0; }
  .closing-grid p + p { padding-left: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
