:root {
  --paper: #f4f0e7;
  --paper-deep: #e9e3d7;
  --ink: #17231e;
  --ink-soft: #5e675f;
  --green: #1d4b3a;
  --green-deep: #15372c;
  --mint: #b9d6c3;
  --peach: #e9a47d;
  --cream: #fbf8f0;
  --line: rgba(23, 35, 30, 0.16);
  --radius-lg: 36px;
  --radius-md: 22px;
  --shadow: 0 30px 80px rgba(26, 48, 38, 0.1);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 7%, rgba(255, 255, 255, 0.9), transparent 25%),
    var(--paper);
}

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

button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: top 0.2s;
}

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

.page-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.brand-mark {
  position: relative;
  width: 33px;
  height: 27px;
  display: inline-block;
}

.brand-mark span {
  position: absolute;
  top: 1px;
  width: 19px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 46% 54%;
  transform: rotate(-22deg);
}

.brand-mark span:first-child { left: 1px; }
.brand-mark span:last-child { right: 1px; transform: rotate(22deg); }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: 0.14em; }
.brand-en { font-size: 10px; letter-spacing: 0.25em; color: var(--ink-soft); margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 38px; font-size: 14px; }
.nav-links > a:not(.nav-action) { position: relative; color: #3f4942; }
.nav-links > a:not(.nav-action)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--ink);
  transition: right 0.25s ease;
}
.nav-links > a:hover::after { right: 0; }

.nav-action {
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: 0.25s ease;
}
.nav-action:hover { background: var(--ink); color: white; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding: 76px 5% 88px;
}

.eyebrow {
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #557064;
}

.eyebrow > span { width: 26px; height: 1px; background: currentColor; }

.hero h1, .section-heading h2, .about h2, .project-intro h3 {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 { font-size: clamp(52px, 6.2vw, 92px); line-height: 1.13; }

.hero-lead {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 30px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20, 55, 44, 0.18); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-deep); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: #f4f0e7; color: var(--green-deep); }
.text-link { font-size: 14px; color: #46544d; }
.text-link span { margin-left: 7px; transition: margin 0.2s; }
.text-link:hover span { margin-left: 12px; }

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 560px;
  margin-left: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(224,234,223,.45));
}

.orbit { position: absolute; inset: 9%; border: 1px solid rgba(29,75,58,.18); border-radius: 50%; }
.orbit-one { transform: rotate(28deg) scaleY(.58); }
.orbit-two { transform: rotate(-38deg) scaleY(.62); }

.visual-core {
  position: absolute;
  inset: 29%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 48% 52% 46% 54%;
  background: var(--green);
  color: white;
  box-shadow: 0 30px 70px rgba(29,75,58,.22);
  animation: breathe 7s ease-in-out infinite;
}

.core-cn { font-size: clamp(34px, 4vw, 56px); font-weight: 600; letter-spacing: .12em; }
.core-en { margin-top: 12px; font-size: 8px; letter-spacing: .22em; opacity: .62; }
.visual-dot { position: absolute; z-index: 3; border-radius: 50%; }
.dot-one { width: 17px; height: 17px; left: 13%; top: 37%; background: var(--peach); }
.dot-two { width: 11px; height: 11px; right: 16%; top: 22%; background: var(--green); }
.dot-three { width: 24px; height: 24px; right: 13%; bottom: 22%; border: 1px solid var(--peach); }

.floating-note {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(23,35,30,.1);
  border-radius: 18px;
  background: rgba(251,248,240,.88);
  box-shadow: 0 20px 50px rgba(24,49,37,.1);
  backdrop-filter: blur(12px);
}
.floating-note b, .floating-note small { display: block; }
.floating-note b { font-size: 13px; font-weight: 600; }
.floating-note small { margin-top: 3px; color: #7f877f; font-size: 10px; }
.note-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #f3c6aa; color: #713f2b; font-size: 13px; }
.note-icon-dark { background: var(--green); color: white; }
.note-one { left: -3%; bottom: 24%; }
.note-two { right: -3%; top: 24%; }

.statement {
  position: relative;
  padding: 90px 7%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement p { margin: 0; font-size: clamp(27px, 3.3vw, 48px); line-height: 1.55; letter-spacing: -.035em; }
.statement p span { color: var(--green); border-bottom: 2px solid var(--peach); }
.statement-index { position: absolute; right: 3%; bottom: 32px; color: #939991; font-size: 10px; letter-spacing: .2em; }

.projects { padding: 120px 0 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 5% 50px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2, .about h2 { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.2; }
.section-heading > p { margin: 0 0 6px; color: var(--ink-soft); line-height: 1.9; font-size: 14px; }

.project-card { position: relative; overflow: hidden; margin-bottom: 30px; padding: 34px 46px 54px; border-radius: var(--radius-lg); }
.psychology-card { background: #dbe8da; }
.ai-card { background: var(--green-deep); color: #f8f4ea; }
.project-topline { display: flex; justify-content: space-between; align-items: center; }
.project-number { font-size: 11px; letter-spacing: .2em; color: #627169; }
.ai-card .project-number { color: rgba(255,255,255,.5); }
.status { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #476655; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #3b9366; box-shadow: 0 0 0 5px rgba(59,147,102,.12); }
.status-dark { color: rgba(255,255,255,.65); }
.status-dark i { background: #e9a47d; box-shadow: 0 0 0 5px rgba(233,164,125,.12); }
.project-body { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8%; align-items: center; padding: 60px 4% 8px; }
.project-icon { width: 63px; height: 63px; position: relative; margin-bottom: 34px; }
.psychology-icon { border-radius: 50%; border: 1px solid rgba(23,35,30,.25); }
.psychology-icon span { position: absolute; border-radius: 50%; border: 1px solid var(--green); }
.psychology-icon span:nth-child(1) { inset: 11px 23px 11px 22px; }
.psychology-icon span:nth-child(2) { inset: 22px 11px; }
.psychology-icon span:nth-child(3) { width: 8px; height: 8px; border: 0; background: var(--peach); left: 27px; top: 27px; }
.ai-icon { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; transform: rotate(45deg); padding: 9px; }
.ai-icon span { border: 1px solid rgba(255,255,255,.7); border-radius: 5px; }
.ai-icon span:nth-child(1), .ai-icon span:nth-child(4) { background: var(--peach); border-color: var(--peach); }
.project-kicker { margin: 0 0 19px; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: #547062; }
.ai-card .project-kicker { color: #a4c7b2; }
.project-intro h3 { font-size: clamp(35px, 4.2vw, 58px); line-height: 1.28; }
.project-description { max-width: 560px; margin: 26px 0 32px; color: #526158; font-size: 15px; line-height: 1.95; }
.ai-card .project-description { color: rgba(255,255,255,.65); }
.project-note { margin: 0; display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.5); font-size: 12px; }
.project-note::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.ai-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.project-details { min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; padding: 28px 8px; border-top: 1px solid rgba(23,35,30,.15); border-bottom: 1px solid rgba(23,35,30,.15); }
.stats div { padding-left: 25px; border-left: 1px solid rgba(23,35,30,.13); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: clamp(32px, 3.2vw, 47px); line-height: 1; letter-spacing: -.04em; }
.stats dd { margin: 10px 0 0; color: #65736b; font-size: 11px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.feature-list span { padding: 8px 13px; border: 1px solid rgba(23,35,30,.14); border-radius: 999px; color: #58675e; font-size: 10px; }
.mini-map { position: relative; height: 220px; border-radius: var(--radius-md); background: rgba(255,255,255,.3); }
.mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-map path { fill: none; stroke: rgba(29,75,58,.24); stroke-width: 1; stroke-dasharray: 4 5; }
.map-node { position: absolute; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(29,75,58,.2); border-radius: 50%; background: rgba(244,240,231,.8); font-size: 11px; }
.node-center { left: calc(50% - 31px); top: calc(50% - 31px); width: 62px; height: 62px; background: var(--green); color: white; border: 0; }
.node-a { left: 9%; top: 10%; }.node-b { right: 8%; top: 8%; }.node-c { left: 7%; bottom: 8%; }.node-d { right: 6%; bottom: 8%; }
.ai-details { display: flex; flex-direction: column; gap: 30px; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); overflow: hidden; }
.capability-grid div { min-height: 150px; padding: 24px; display: flex; flex-direction: column; background: var(--green-deep); transition: background .25s; }
.capability-grid div:hover { background: #1d4739; }
.capability-grid b { color: var(--peach); font-size: 10px; font-weight: 500; letter-spacing: .15em; }
.capability-grid span { margin-top: auto; font-size: 18px; font-weight: 500; }
.capability-grid small { margin-top: 6px; color: rgba(255,255,255,.42); font-size: 10px; }
.system-line { display: flex; align-items: center; color: rgba(255,255,255,.52); font-size: 10px; letter-spacing: .1em; }
.system-line i { flex: 1; height: 1px; margin: 0 12px; background: linear-gradient(90deg, var(--peach), rgba(255,255,255,.1)); }

.about { min-height: 650px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 10%; padding: 130px 8%; }
.about-index { font-size: clamp(72px, 11vw, 160px); line-height: .75; letter-spacing: -.07em; color: rgba(29,75,58,.1); font-weight: 600; }
.about-index span { display: block; margin: 45px 0 0 5px; color: var(--green); font-size: .35em; letter-spacing: .28em; }
.about-copy .eyebrow { margin-bottom: 22px; }
.about-copy > p:not(.eyebrow) { max-width: 620px; margin: 28px 0 38px; color: var(--ink-soft); line-height: 2; }
.principles { border-top: 1px solid var(--line); }
.principles div { display: flex; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles span { color: #9a9f98; font-size: 10px; }
.principles b { font-size: 13px; font-weight: 500; }

.site-footer { min-height: 210px; padding: 48px 5%; display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line); }
.footer-brand { margin-bottom: 18px; }
.site-footer p { margin: 0; color: #777f78; font-size: 12px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 28px; color: #777f78; font-size: 11px; letter-spacing: .04em; }
.footer-meta a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes breathe {
  0%, 100% { border-radius: 48% 52% 46% 54%; transform: scale(1); }
  50% { border-radius: 52% 48% 54% 46%; transform: scale(1.025); }
}

@media (max-width: 960px) {
  .page-shell { width: min(100% - 28px, 900px); }
  .hero { grid-template-columns: 1fr; padding: 72px 5% 50px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(88vw, 560px); margin: 20px auto 30px; }
  .project-body { grid-template-columns: 1fr; gap: 54px; }
  .project-intro { max-width: 680px; }
  .about { grid-template-columns: 1fr; gap: 70px; }
  .about-index { font-size: 110px; }
}

@media (max-width: 640px) {
  .page-shell { width: calc(100% - 20px); }
  .site-header { height: 80px; padding: 0 6px; }
  .brand-en, .nav-links > a:not(.nav-action) { display: none; }
  .nav-links { gap: 0; }
  .nav-action { padding: 10px 15px; font-size: 12px; }
  .hero { min-height: auto; padding: 58px 5% 62px; }
  .hero h1 { font-size: clamp(42px, 11vw, 50px); }
  .hero-lead { font-size: 15px; line-height: 1.9; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { width: 96%; margin-top: 34px; }
  .floating-note { min-width: 128px; padding: 8px 10px 8px 8px; }
  .note-icon { width: 30px; height: 30px; }
  .note-one { left: -5%; }.note-two { right: -5%; }
  .statement { padding: 64px 7% 88px; }
  .projects { padding-top: 82px; }
  .section-heading { display: block; margin: 0 4% 32px; }
  .section-heading > p { margin-top: 22px; }
  .project-card { padding: 26px 18px 28px; border-radius: 25px; }
  .project-body { padding: 50px 1% 4px; gap: 45px; }
  .project-intro h3 { font-size: 34px; }
  .project-description { font-size: 14px; }
  .stats { padding: 22px 0; }
  .stats div { padding-left: 11px; }
  .stats dt { font-size: 29px; }
  .stats dd { font-size: 9px; }
  .mini-map { height: 190px; }
  .capability-grid div { min-height: 125px; padding: 18px; }
  .system-line i { margin: 0 6px; }
  .about { min-height: auto; padding: 90px 7%; gap: 50px; }
  .about-index { font-size: 78px; }
  .site-footer { padding: 40px 6%; display: block; }
  .footer-meta { justify-content: flex-start; margin-top: 38px; gap: 18px; }
}

@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; }
}
