:root {
  --paper: #f7f5ef;
  --paper-strong: #fffefa;
  --ink: #17191c;
  --muted: #70737a;
  --line: rgba(23, 25, 28, 0.14);
  --blue: #2457e6;
  --blue-deep: #173aa6;
  --lemon: #e8ff5a;
  --coral: #ff705b;
  --mint: #74decb;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Alibaba PuHuiTi", "Alibaba-PuHuiTi-Heavy", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --body: "MiSans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--lemon); color: var(--ink); }

.skip-link {
  position: fixed; left: 18px; top: 12px; z-index: 200;
  transform: translateY(-180%); padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: white; transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(calc(100% - 28px), 1400px); height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 10px 0 16px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--paper);
  transform: translateX(-50%);
  transition: height .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out), width .45s var(--ease-out);
}
.site-nav.is-scrolled {
  width: min(calc(100% - 34px), 1180px); height: 58px;
  border-color: rgba(23, 25, 28, .12); box-shadow: 0 10px 40px rgba(26, 35, 55, .08);
}
.nav-brand, .nav-cta { display: inline-flex; align-items: center; }
.nav-brand { justify-self: start; gap: 10px; font-family: var(--display); font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: white; font-size: 10px; letter-spacing: .03em;
}
.brand-name { font-size: 15px; }
.nav-links { display: flex; gap: 30px; font-size: 13px; color: #4f5258; }
.nav-links a { position: relative; padding: 12px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  justify-self: end; justify-content: center; gap: 12px; min-width: 132px; height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--ink); color: white; font-weight: 700; font-size: 13px;
  transition: transform .35s var(--ease-out), background .2s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--blue); transform: translateY(-2px); }

.scroll-stage { position: relative; }
.sticky-stage { position: sticky; top: 0; height: 100svh; min-height: 720px; overflow: hidden; }
.hero-scroll { height: 170svh; }
.outcome-scroll { height: 210svh; background: var(--ink); }
.method-scroll { height: 210svh; background: var(--paper); }
.case-scroll { height: 250svh; background: var(--blue); }
.eyebrow {
  font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue);
}

/* Hero */
.hero-stage {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr); gap: clamp(32px, 5vw, 90px);
  align-items: center; padding: 112px clamp(28px, 6vw, 110px) 44px;
  background:
    radial-gradient(circle at 78% 12%, rgba(116, 222, 203, .25), transparent 26%),
    linear-gradient(135deg, #fbfaf6 0%, var(--paper) 58%, #eef3ff 100%);
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .38;
  background-image: radial-gradient(rgba(23,25,28,.18) .7px, transparent .7px);
  background-size: 11px 11px; mask-image: linear-gradient(to bottom, transparent 4%, black 55%, transparent 95%);
}
.ambient { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-a { width: 22vw; height: 22vw; right: -9vw; bottom: 5vh; background: rgba(232,255,90,.32); transform: translate3d(0,var(--ambient-y,0),0); }
.ambient-b { width: 13vw; height: 13vw; left: 43%; top: 16vh; border: 1px solid rgba(36,87,230,.18); transform: rotate(var(--ambient-r,0deg)); }
.hero-copy { position: relative; z-index: 4; max-width: 800px; transform: translate3d(0,var(--copy-y,0),0); opacity: var(--copy-opacity,1); }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 {
  display: flex; flex-direction: column; align-items: flex-start;
  width: max-content; max-width: 62vw;
  font-size: clamp(52px, 6.15vw, 104px); line-height: .99; letter-spacing: -.055em;
}
.hero-copy h1 > span { display: block; white-space: nowrap; }
.hero-copy h1 > span:last-child { margin-top: .12em; }
.ink-swipe { position: relative; display: inline-block; margin-left: .12em; z-index: 0; }
.ink-swipe::before {
  content: ""; position: absolute; z-index: -1; left: -.03em; right: -.08em; bottom: .02em; height: .56em;
  background: var(--lemon); transform: scaleX(var(--swipe, .08)) rotate(-1deg); transform-origin: left; transition: transform .15s linear;
}
.hero-lead { max-width: 650px; margin-top: 28px; color: #565960; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.primary-action, .dark-action {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 34px;
  min-width: 190px; height: 54px; padding: 0 22px; border-radius: 999px;
  background: var(--blue); color: white; font-size: 14px; font-weight: 800;
  box-shadow: 0 12px 28px rgba(36,87,230,.22);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.primary-action:hover, .primary-action:focus-visible, .dark-action:hover, .dark-action:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(36,87,230,.28); }
.text-action { color: #63666d; font-size: 13px; border-bottom: 1px solid #a5a7aa; padding: 8px 0 4px; }
.portrait-scene {
  position: relative; z-index: 3; justify-self: center;
  width: min(36vw, 500px); height: min(68vh, 650px);
  perspective: 1400px; transform: translate3d(var(--portrait-x,0), var(--portrait-y,0), 0) scale(var(--portrait-scale,1));
}
.portrait-backdrop {
  position: absolute; inset: 10% -7% 4%; border-radius: 48% 52% 48% 52% / 38% 42% 58% 62%;
  background: var(--blue); transform: rotate(var(--portrait-rotate,-4deg)); box-shadow: 0 28px 80px rgba(28,56,140,.22);
}
.portrait-backdrop::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.3); border-radius: inherit; }
.portrait-frame {
  position: absolute; inset: 3% 9% 0; overflow: hidden; border: 9px solid var(--paper-strong); border-radius: 220px 220px 38px 38px;
  background: #d8e8f2; box-shadow: 0 24px 50px rgba(17,26,54,.22); transform: rotateY(var(--portrait-tilt,0deg)); transform-style: preserve-3d;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: saturate(.9) contrast(1.03); }
.portrait-caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between;
  padding: 12px 16px; border-radius: 999px; background: rgba(247,245,239,.94); color: var(--ink); font-size: 11px; font-weight: 800;
}
.orbit-card {
  position: absolute; z-index: 5; display: flex; flex-direction: column; min-width: 138px;
  padding: 15px 18px; border: 1px solid rgba(23,25,28,.12); border-radius: 18px;
  background: rgba(255,254,250,.96); box-shadow: 0 14px 34px rgba(23,25,28,.11);
  transition: box-shadow .25s ease;
}
.orbit-card strong { font: 800 29px/1 var(--display); letter-spacing: -.04em; }
.orbit-card span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.orbit-one { left: -15%; top: 14%; transform: translate3d(var(--orbit1-x,0),var(--orbit1-y,0),40px) rotate(var(--orbit1-r,-6deg)); }
.orbit-two { right: -20%; top: 42%; transform: translate3d(var(--orbit2-x,0),var(--orbit2-y,0),80px) rotate(var(--orbit2-r,5deg)); }
.orbit-three { left: -10%; bottom: 4%; transform: translate3d(var(--orbit3-x,0),var(--orbit3-y,0),70px) rotate(var(--orbit3-r,3deg)); }
.hero-index {
  position: absolute; z-index: 4; left: clamp(28px,6vw,110px); right: clamp(28px,6vw,110px); bottom: 30px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; color: #777a80; font-size: 9px; letter-spacing: .16em;
}
.hero-index i { height: 1px; background: var(--line); transform: scaleX(var(--hero-line,.12)); transform-origin: left; }

/* Outcomes */
.outcome-stage { padding: 110px clamp(28px,6vw,100px) 42px; background: var(--ink); color: white; }
.outcome-stage::before {
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background: radial-gradient(circle at 50% 35%, rgba(36,87,230,.9), transparent 30%), linear-gradient(120deg, transparent 62%, rgba(116,222,203,.18));
}
.outcome-heading { position: relative; z-index: 2; }
.outcome-heading .eyebrow { color: var(--mint); }
.section-heading h2 { display: flex; flex-direction: column; margin-top: 16px; font-size: clamp(43px,5.3vw,82px); line-height: 1.02; letter-spacing: -.05em; }
.outcome-deck { position: absolute; z-index: 4; left: 50%; top: 54%; width: min(86vw, 1250px); height: 420px; transform: translate(-50%,-50%); perspective: 1800px; }
.outcome-card {
  position: absolute; left: 50%; top: 50%; width: min(31vw, 390px); min-height: 370px; padding: 27px;
  border-radius: 28px; color: var(--ink); background: var(--paper-strong); box-shadow: 0 30px 70px rgba(0,0,0,.25);
  transform-style: preserve-3d; transition: box-shadow .35s ease;
}
.outcome-a { transform: translate3d(calc(-50% + var(--card1-x,0px)),calc(-50% + var(--card1-y,0px)),var(--card1-z,0px)) rotate(var(--card1-r,-5deg)); }
.outcome-b { transform: translate3d(calc(-50% + var(--card2-x,0px)),calc(-50% + var(--card2-y,0px)),var(--card2-z,0px)) rotate(var(--card2-r,1deg)); }
.outcome-c { transform: translate3d(calc(-50% + var(--card3-x,0px)),calc(-50% + var(--card3-y,0px)),var(--card3-z,0px)) rotate(var(--card3-r,6deg)); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: .1em; color: #686b71; }
.status-dot { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); letter-spacing: 0; }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #21b075; box-shadow: 0 0 0 4px rgba(33,176,117,.12); }
.metric { margin-top: 50px; font: 800 clamp(64px,6vw,92px)/.82 var(--display); letter-spacing: -.06em; }
.metric sup { font-size: .34em; vertical-align: top; margin-left: 4px; }
.outcome-card h3 { margin-top: 24px; font-size: 22px; letter-spacing: -.02em; }
.outcome-card > p:not(.metric) { margin-top: 12px; color: #686b71; font-size: 13px; line-height: 1.7; }
.micro-track { height: 6px; margin-top: 24px; overflow: hidden; border-radius: 10px; background: #e8e7e2; }
.micro-track i { display: block; width: var(--value); height: 100%; border-radius: inherit; background: var(--blue); transform: scaleX(var(--track-scale,.05)); transform-origin: left; }
.outcome-b .micro-track i { background: var(--coral); }
.outcome-c .micro-track i { background: #16a68b; }
.stage-note { position: absolute; z-index: 5; left: clamp(28px,6vw,100px); right: clamp(28px,6vw,100px); bottom: 32px; display: flex; justify-content: space-between; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .1em; }

/* Method */
.method-stage { padding: 105px clamp(28px,6vw,100px) 34px; background: var(--paper); }
.method-intro { position: relative; z-index: 5; max-width: 670px; }
.method-intro h2 { display: flex; flex-direction: column; margin-top: 16px; font-size: clamp(42px,5.2vw,80px); line-height: 1.02; letter-spacing: -.05em; }
.method-intro > p:last-child { max-width: 590px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.system-canvas { position: absolute; z-index: 2; right: clamp(28px,6vw,100px); top: 50%; width: min(54vw, 760px); aspect-ratio: 1.4; transform: translateY(-42%) scale(var(--system-scale,.78)); transform-origin: 70% 50%; }
.system-orbit { position: absolute; inset: 8% 7%; border: 1px solid rgba(23,25,28,.14); border-radius: 50%; transform: rotate(var(--orbit-r,0deg)); }
.system-orbit::before, .system-orbit::after { content: ""; position: absolute; inset: 16%; border: 1px dashed rgba(36,87,230,.2); border-radius: 50%; }
.system-orbit::after { inset: 32%; border-style: solid; border-color: rgba(23,25,28,.1); }
.system-core {
  position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; border-radius: 50%; transform: translate(-50%,-50%) scale(var(--core-scale,.72));
  display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--blue); color: white; box-shadow: 0 30px 70px rgba(36,87,230,.3);
}
.system-core span { font-size: 9px; letter-spacing: .16em; opacity: .62; }
.system-core strong { margin-top: 7px; font: 800 27px/1 var(--display); }
.system-core small { margin-top: 11px; opacity: .72; font-size: 10px; }
.system-nodes { list-style: none; margin: 0; padding: 0; }
.node {
  position: absolute; min-width: 170px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 17px;
  background: rgba(255,254,250,.96); box-shadow: 0 12px 30px rgba(23,25,28,.07);
  opacity: var(--node-opacity,0); transform: translate3d(var(--node-x,0),var(--node-y,20px),0) scale(var(--node-scale,.94));
}
.node > span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.node strong, .node small { display: block; }
.node strong { margin-top: 4px; font-size: 14px; }
.node small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.node-1 { left: 2%; top: 38%; }
.node-2 { left: 20%; top: 2%; }
.node-3 { right: 12%; top: 3%; }
.node-4 { right: 0; bottom: 28%; }
.node-5 { left: 27%; bottom: 0; }
.role-rail {
  position: absolute; z-index: 4; left: 0; bottom: 36px; display: flex; align-items: center; gap: 18px; width: max-content;
  color: var(--ink); font: 800 13px/1 var(--body); letter-spacing: .06em; transform: translateX(var(--rail-x,-8vw));
}
.role-rail i { width: 70px; height: 1px; background: rgba(23,25,28,.22); }

/* Cases */
.case-stage { padding: 105px clamp(28px,5vw,84px) 34px; background: var(--blue); color: white; }
.case-stage::after { content: ""; position: absolute; inset: 0; opacity: .11; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent, black 35%, black 80%, transparent); }
.case-header { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: end; }
.case-header .eyebrow { color: var(--lemon); }
.case-header h2 { margin-top: 12px; font-size: clamp(37px,4vw,58px); line-height: 1.05; letter-spacing: -.045em; }
.case-pagination { display: flex; align-items: center; gap: 12px; font: 800 11px/1 var(--body); color: rgba(255,255,255,.5); }
.case-pagination .current-case { color: white; }
.case-pagination i { width: 72px; height: 2px; overflow: hidden; background: rgba(255,255,255,.2); }
.case-pagination i::before { content: ""; display: block; width: 100%; height: 100%; background: var(--lemon); transform: scaleX(var(--case-progress,.08)); transform-origin: left; }
.case-viewport { position: absolute; z-index: 3; left: clamp(28px,5vw,84px); right: clamp(28px,5vw,84px); top: 225px; bottom: 44px; }
.case-panel {
  position: absolute; inset: 0; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(30px,5vw,80px); align-items: center;
  padding: clamp(26px,3vw,48px); border: 1px solid rgba(255,255,255,.22); border-radius: 34px; background: #fbfaf6; color: var(--ink);
  box-shadow: 0 34px 80px rgba(10,27,80,.26); overflow: hidden;
}
.case-agent { transform: translate3d(var(--case1-x,0),var(--case1-y,0),0) scale(var(--case1-scale,1)); opacity: var(--case1-opacity,1); }
.case-chatbi { transform: translate3d(var(--case2-x,110%),var(--case2-y,0),0) scale(var(--case2-scale,.92)); opacity: var(--case2-opacity,0); }
.case-kicker { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.case-copy h3 { max-width: 540px; margin-top: 18px; font-size: clamp(30px,3.1vw,49px); line-height: 1.12; letter-spacing: -.045em; }
.case-summary { max-width: 560px; margin-top: 20px; color: #62656b; font-size: 14px; line-height: 1.8; }
.case-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; }
.case-facts li { padding-top: 14px; border-top: 1px solid var(--line); }
.case-facts strong, .case-facts span { display: block; }
.case-facts strong { font: 800 clamp(21px,2.2vw,32px)/1 var(--display); letter-spacing: -.04em; }
.case-facts span { margin-top: 7px; color: var(--muted); font-size: 9px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.case-tags span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 9px; font-weight: 700; }
.agent-diagram { position: relative; padding: 25px; border-radius: 27px; background: #111824; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.diagram-query, .diagram-output { padding: 17px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.045); }
.diagram-query span, .diagram-output span { display: block; margin-bottom: 6px; color: var(--mint); font-size: 8px; letter-spacing: .16em; }
.diagram-query strong, .diagram-output strong { font-size: 12px; font-weight: 600; }
.routing-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 16px 0; color: rgba(255,255,255,.45); font-size: 9px; }
.routing-line i { height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.3)); }
.routing-line i:last-child { background: linear-gradient(90deg,rgba(255,255,255,.3),transparent); }
.agent-paths { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.agent-paths > div { min-height: 130px; padding: 16px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.035); }
.agent-paths > div.active { background: var(--blue); border-color: #6f8cff; transform: translateY(-5px); box-shadow: 0 14px 30px rgba(36,87,230,.28); }
.agent-paths small, .agent-paths strong, .agent-paths span { display: block; }
.agent-paths small { color: rgba(255,255,255,.48); font-size: 8px; }
.agent-paths strong { margin-top: 18px; font-size: 16px; }
.agent-paths span { margin-top: 7px; color: rgba(255,255,255,.62); font-size: 9px; }
.diagram-output { margin-top: 12px; }
.bi-console { overflow: hidden; border: 1px solid #d9d8d3; border-radius: 23px; background: #fffefa; box-shadow: 0 24px 50px rgba(23,25,28,.12); }
.console-bar { display: flex; align-items: center; gap: 6px; padding: 13px 17px; border-bottom: 1px solid #e4e2dc; background: #efeee9; }
.console-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #c7c5bf; }
.console-bar strong { margin-left: auto; color: #898b90; font-size: 8px; letter-spacing: .14em; }
.user-question { margin: 23px; padding: 17px 19px; border-radius: 15px 15px 4px 15px; background: var(--blue); color: white; font-size: 13px; }
.thinking-steps { padding: 0 23px; }
.thinking-steps > div { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eceae5; }
.thinking-steps > div > span { color: var(--blue); font-size: 9px; font-weight: 800; }
.thinking-steps p strong, .thinking-steps p small { display: block; }
.thinking-steps p strong { font-size: 11px; }
.thinking-steps p small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.thinking-steps i { font-style: normal; color: #18a477; font-size: 8px; font-weight: 800; }
.mini-chart { display: flex; align-items: end; gap: 8px; height: 130px; margin: 15px 23px 22px; padding: 14px 15px 0; border-radius: 13px; background: #f1f0eb; }
.mini-chart i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: #aebbe8; transform-origin: bottom; transform: scaleY(var(--chart-scale,.08)); }
.mini-chart .risk { background: var(--coral); }

/* Open source */
.open-source-section { padding: clamp(90px,10vw,160px) clamp(24px,6vw,100px); background: var(--paper); }
.oss-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,7vw,110px); align-items: center; min-height: 660px; padding: clamp(34px,5vw,80px); overflow: hidden; border-radius: 42px; background: var(--lemon); }
.oss-copy .eyebrow { color: var(--ink); }
.oss-copy h2 { max-width: 520px; margin-top: 18px; font-size: clamp(44px,5.2vw,78px); line-height: 1.03; letter-spacing: -.05em; }
.oss-copy > p { max-width: 550px; margin-top: 24px; color: #4a4d4b; font-size: 15px; line-height: 1.8; }
.dark-action { margin-top: 30px; background: var(--ink); box-shadow: 0 12px 28px rgba(23,25,28,.18); }
.radar-ui { position: relative; padding: 25px; border-radius: 28px; background: #13161b; color: white; box-shadow: 0 35px 70px rgba(23,25,28,.24); transform: rotate(2deg); }
.radar-head { display: flex; justify-content: space-between; padding-bottom: 20px; color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .14em; }
.live-pill { color: var(--lemon); }
.live-pill::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(232,255,90,.12); }
.radar-item { position: relative; z-index: 2; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px 5px; border-top: 1px solid rgba(255,255,255,.1); }
.radar-item.hot { margin: 0 -12px; padding: 18px 17px; border-top: 0; border-radius: 18px; background: var(--blue); }
.radar-item .rank { color: rgba(255,255,255,.5); font-size: 10px; }
.radar-item p strong, .radar-item p small { display: block; }
.radar-item p strong { font-size: 13px; }
.radar-item p small { margin-top: 5px; color: rgba(255,255,255,.5); font-size: 9px; }
.radar-item b { font: 800 30px/1 var(--display); }
.radar-scan { position: absolute; z-index: 0; width: 280px; height: 280px; right: -95px; bottom: -130px; border: 1px solid rgba(116,222,203,.24); border-radius: 50%; }
.radar-scan::before, .radar-scan::after { content: ""; position: absolute; inset: 20%; border: inherit; border-radius: inherit; }
.radar-scan::after { inset: 40%; }

/* Experience */
.experience-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px,8vw,130px); padding: clamp(100px,12vw,190px) clamp(28px,7vw,120px); background: #fffefa; }
.experience-head { position: sticky; top: 130px; align-self: start; }
.experience-head h2 { margin-top: 18px; font-size: clamp(45px,5vw,74px); line-height: 1.03; letter-spacing: -.05em; }
.experience-head h2 span { display: block; white-space: nowrap; }
.experience-head > p:last-child { max-width: 470px; margin-top: 26px; color: var(--muted); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 148px; top: 15px; bottom: 20px; width: 1px; background: var(--line); }
.timeline-row { display: grid; grid-template-columns: 120px 24px 1fr; gap: 16px; padding: 14px 0 58px; }
.time { padding-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin: 4px auto 0; border: 3px solid #fffefa; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.company { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.timeline-row h3 { margin-top: 8px; font-size: clamp(23px,2.1vw,31px); letter-spacing: -.025em; }
.timeline-row div:last-child > p:not(.company) { margin-top: 12px; color: #62656b; font-size: 14px; line-height: 1.8; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.timeline-meta span { padding: 6px 10px; border-radius: 99px; background: #efeee9; color: #595c61; font-size: 9px; }

/* Contact */
.contact-section { position: relative; display: flex; min-height: 95svh; flex-direction: column; align-items: center; justify-content: center; padding: 100px 24px; overflow: hidden; background: var(--coral); text-align: center; }
.contact-section .eyebrow { color: var(--ink); }
.contact-section h2 { display: flex; flex-direction: column; margin-top: 24px; font-size: clamp(58px,8vw,124px); line-height: .92; letter-spacing: -.065em; }
.contact-section > p:not(.eyebrow) { max-width: 570px; margin-top: 30px; color: rgba(23,25,28,.7); font-size: 16px; }
.contact-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(900px, 88vw); margin-top: 38px; text-align: left;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.contact-item {
  position: relative; display: flex; min-width: 0; min-height: 92px; flex-direction: column; justify-content: center;
  padding: 17px 42px 17px 18px; border-right: 1px solid rgba(23,25,28,.28);
  transition: background .35s ease, padding-left .35s var(--ease-out);
}
.contact-item:last-child { border-right: 0; }
.contact-item:hover, .contact-item:focus-visible { background: rgba(255,255,255,.2); padding-left: 23px; }
.contact-label { color: rgba(23,25,28,.62); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.contact-item strong { overflow: hidden; margin-top: 7px; font: 800 clamp(14px,1.25vw,18px)/1.25 var(--body); text-overflow: ellipsis; white-space: nowrap; }
.contact-arrow { position: absolute; right: 18px; top: 50%; font-size: 15px; transform: translateY(-50%); }
.contact-orbit { position: absolute; inset: 50%; width: min(84vw,1100px); aspect-ratio: 1; border: 1px solid rgba(23,25,28,.15); border-radius: 50%; transform: translate(-50%,-50%) rotate(var(--contact-r,0deg)); }
.contact-orbit span { position: absolute; padding: 7px 10px; border-radius: 99px; background: var(--paper); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.contact-orbit span:nth-child(1) { left: 7%; top: 24%; }
.contact-orbit span:nth-child(2) { right: 6%; top: 31%; }
.contact-orbit span:nth-child(3) { left: 27%; bottom: 3%; }
.contact-orbit span:nth-child(4) { right: 22%; bottom: 8%; }
.contact-section > *:not(.contact-orbit) { position: relative; z-index: 2; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px clamp(24px,6vw,100px); background: var(--ink); color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .1em; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero-stage { grid-template-columns: 1.08fr .92fr; padding-left: 42px; padding-right: 42px; }
  .hero-copy h1 { font-size: clamp(48px,6vw,72px); }
  .portrait-scene { width: 38vw; }
  .outcome-stage, .method-stage { padding-left: 42px; padding-right: 42px; }
  .outcome-card { width: 34vw; }
  .method-intro { max-width: 46vw; }
  .system-canvas { width: 58vw; right: 0; }
  .case-stage { padding-left: 32px; padding-right: 32px; }
  .case-viewport { left: 32px; right: 32px; }
  .case-panel { grid-template-columns: .9fr 1.1fr; gap: 28px; }
  .agent-paths > div { min-height: 118px; }
  .oss-card { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 820px) {
  .site-nav { top: 9px; width: calc(100% - 18px); grid-template-columns: 1fr auto; height: 58px; }
  .site-nav.is-scrolled { width: calc(100% - 18px); height: 54px; }
  .nav-links { display: none; }
  .nav-cta { min-width: 112px; height: 40px; }
  .sticky-stage { min-height: 660px; }
  .hero-scroll { height: 155svh; }
  .hero-stage { grid-template-columns: 1fr; grid-template-rows: 1fr 44%; gap: 4px; align-items: start; padding: 92px 22px 28px; }
  .hero-copy { z-index: 6; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-copy h1 { font-size: clamp(43px,10.9vw,66px); line-height: 1.02; }
  .hero-copy h1 { width: auto; max-width: 100%; }
  .hero-copy h1 > span { white-space: normal; }
  .hero-copy h1 > span:last-child { margin-top: .03em; }
  .ink-swipe { margin-left: 0; }
  .hero-lead { max-width: 92%; margin-top: 16px; font-size: 15px; line-height: 1.65; }
  .hero-actions { margin-top: 20px; }
  .text-action { display: none; }
  .primary-action { min-width: 168px; height: 48px; }
  .portrait-scene { justify-self: end; align-self: end; width: min(58vw,370px); height: 42vh; min-height: 285px; margin-right: 3vw; }
  .portrait-frame { border-width: 6px; }
  .portrait-caption { padding: 8px 11px; font-size: 8px; }
  .orbit-card { min-width: 112px; padding: 10px 12px; }
  .orbit-card strong { font-size: 22px; }
  .orbit-card span { font-size: 8px; }
  .orbit-one { left: -38%; top: 20%; }
  .orbit-two { right: -1%; top: -6%; }
  .orbit-three { left: -32%; bottom: 2%; }
  .hero-index { left: 22px; right: 22px; bottom: 18px; }

  .outcome-scroll { height: 260svh; }
  .outcome-stage { padding: 92px 20px 30px; }
  .section-heading h2 { font-size: 42px; }
  .outcome-deck { top: 58%; width: calc(100% - 34px); height: 470px; }
  .outcome-card { width: min(82vw,360px); min-height: 355px; padding: 24px; }
  .metric { margin-top: 42px; }
  .stage-note { left: 20px; right: 20px; }

  .method-scroll { height: 245svh; }
  .method-stage { padding: 90px 20px 30px; }
  .method-intro { max-width: 100%; }
  .method-intro h2 { font-size: 42px; }
  .method-intro > p:last-child { max-width: 90%; margin-top: 14px; font-size: 13px; }
  .system-canvas { right: 50%; top: 65%; width: 96vw; transform: translate(50%,-50%) scale(var(--system-scale,.7)); }
  .system-core { width: 145px; height: 145px; }
  .system-core strong { font-size: 22px; }
  .node { min-width: 133px; padding: 10px 11px; }
  .node strong { font-size: 11px; }
  .node small { font-size: 7px; }
  .role-rail { bottom: 20px; }

  .case-scroll { height: 300svh; }
  .case-stage { padding: 92px 16px 24px; }
  .case-header h2 { max-width: 80%; font-size: 35px; }
  .case-pagination { display: none; }
  .case-viewport { left: 16px; right: 16px; top: 190px; bottom: 22px; }
  .case-panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; align-content: start; padding: 23px; border-radius: 26px; }
  .case-copy h3 { margin-top: 10px; font-size: 28px; }
  .case-summary { margin-top: 10px; font-size: 11px; line-height: 1.65; }
  .case-facts { margin-top: 14px; }
  .case-facts li { padding-top: 10px; }
  .case-facts strong { font-size: 22px; }
  .case-tags { margin-top: 12px; }
  .agent-diagram { padding: 14px; border-radius: 19px; }
  .diagram-query, .diagram-output { padding: 11px 12px; }
  .routing-line { margin: 9px 0; }
  .agent-paths > div { min-height: 84px; padding: 9px; }
  .agent-paths strong { margin-top: 8px; font-size: 11px; }
  .user-question { margin: 13px; padding: 11px; font-size: 10px; }
  .thinking-steps { padding: 0 13px; }
  .thinking-steps > div { padding: 8px 0; }
  .mini-chart { height: 80px; margin: 10px 13px 13px; }

  .open-source-section { padding: 76px 16px; }
  .oss-card { grid-template-columns: 1fr; min-height: 0; padding: 32px 22px; border-radius: 28px; }
  .oss-copy h2 { font-size: 45px; }
  .radar-ui { transform: rotate(0); padding: 17px; }
  .radar-item { grid-template-columns: 34px 1fr auto; }

  .experience-section { grid-template-columns: 1fr; padding: 92px 22px; }
  .experience-head { position: static; }
  .timeline::before { left: 91px; }
  .timeline-row { grid-template-columns: 75px 18px 1fr; gap: 8px; }
  .timeline-row h3 { font-size: 23px; }
  .timeline-row div:last-child > p:not(.company) { font-size: 12px; }
  .contact-section h2 { font-size: clamp(56px,14vw,86px); }
  .contact-orbit { width: 130vw; }
  .contact-orbit span { display: none; }
  .contact-list { grid-template-columns: 1fr; width: min(346px, 100%); margin-top: 30px; }
  .contact-item { min-height: 70px; border-right: 0; border-bottom: 1px solid rgba(23,25,28,.28); }
  .contact-item:last-child { border-bottom: 0; }
  .contact-item strong { font-size: 15px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .hero-copy h1 { font-size: 41px; }
  .hero-lead { max-width: 100%; }
  .portrait-scene { width: 61vw; margin-right: 1vw; }
  .outcome-heading h2, .method-intro h2 { font-size: 37px; }
  .case-header h2 { font-size: 31px; }
  .case-copy h3 { font-size: 25px; }
  .case-panel { padding: 18px; }
  .agent-paths { gap: 5px; }
  .agent-paths > div { padding: 7px; }
  .agent-paths strong { font-size: 10px; }
  .radar-item p small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scroll-stage { height: auto !important; }
  .sticky-stage { position: relative; height: auto; min-height: 100svh; overflow: hidden; }
  .hero-copy, .portrait-scene, .outcome-card, .node, .role-rail, .case-panel { transform: none !important; opacity: 1 !important; }
  .outcome-stage { min-height: 1150px; }
  .outcome-deck { position: relative; left: auto; top: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; width: 100%; height: auto; margin-top: 70px; transform: none; }
  .outcome-card { position: relative; left: auto; top: auto; width: auto; }
  .method-stage { min-height: 980px; }
  .system-canvas { transform: translateY(-42%) scale(1) !important; }
  .case-stage { min-height: 1450px; }
  .case-viewport { position: relative; inset: auto; display: grid; gap: 24px; margin-top: 50px; }
  .case-panel { position: relative; min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 820px) {
  .outcome-stage { min-height: 1580px; }
  .outcome-deck { grid-template-columns: 1fr; margin-top: 44px; }
  .method-stage { min-height: 1120px; }
  .system-canvas { transform: translate(50%,-50%) scale(.78) !important; }
  .case-stage { min-height: 1740px; }
  .case-viewport { margin-top: 34px; }
  .case-panel { min-height: 720px; }
}
