:root {
  --ink: #101820;
  --ink-soft: #24313d;
  --paper: #f8f4e8;
  --cloud: #fffdf6;
  --pepper: #e84a2a;
  --bamboo: #238061;
  --river: #1274b8;
  --gold: #f2b43d;
  --mist: rgba(255, 253, 246, 0.78);
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
  --radius: 8px;
  --display: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --body: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --utility: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(35, 128, 97, 0.12), transparent 32rem),
    radial-gradient(circle at 86% 4%, rgba(232, 74, 42, 0.13), transparent 30rem),
    var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(232, 74, 42, 0.65);
  outline-offset: 4px;
}

.progress-bar {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--pepper), var(--gold), var(--bamboo));
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 22rem;
  height: 22rem;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 180, 61, 0.2), transparent 66%);
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 16px;
  color: var(--cloud);
  background: rgba(16, 24, 32, 0.68);
  border: 1px solid rgba(255, 253, 246, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(16, 24, 32, 0.22);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #fff2bf 48%, var(--pepper));
  border-radius: 50%;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
}

.brand strong {
  display: block;
  max-width: 330px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: rgba(255, 253, 246, 0.7);
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 14px;
  color: rgba(255, 253, 246, 0.86);
  border-radius: 999px;
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: transparent;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 88vh;
  padding: clamp(132px, 16vh, 172px) min(6vw, 76px) 86px;
  color: var(--cloud);
  overflow: hidden;
  background: var(--ink);
}

#knowledgeMap {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0.66) 46%, rgba(16, 24, 32, 0.22) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.88), transparent 46%);
}

.hero-grain {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.08) 1px, transparent 2px),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.05) 1px, transparent 2px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.hero-content {
  position: relative;
  z-index: 4;
  align-self: center;
  min-width: 0;
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker,
.case-tag {
  margin: 0;
  font-family: var(--utility);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
  font-size: clamp(13px, 1.5vw, 16px);
}

.hero-title {
  max-width: 13ch;
  margin: 16px 0 22px;
  font-family: var(--display);
  font-size: clamp(50px, 7.4vw, 104px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-line {
  display: block;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 253, 246, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #ffe7a2 42%, var(--pepper));
  box-shadow: 0 18px 34px rgba(232, 74, 42, 0.28);
}

.btn-ghost {
  color: var(--cloud);
  border-color: rgba(255, 253, 246, 0.28);
  background: rgba(255, 253, 246, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  position: absolute;
  z-index: 4;
  right: min(6vw, 78px);
  bottom: 92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 12px;
  width: min(470px, 46vw);
}

.hero-metrics div {
  padding: 18px 16px;
  border: 1px solid rgba(255, 253, 246, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.09);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 253, 246, 0.72);
  font-size: 13px;
}

.learning-ridge {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: rgba(255, 253, 246, 0.78);
  border-top: 1px solid rgba(255, 253, 246, 0.18);
  background: rgba(16, 24, 32, 0.54);
  backdrop-filter: blur(12px);
}

.learning-ridge span {
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 253, 246, 0.16);
  font-size: 14px;
  text-align: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  padding: 20px 16px;
  color: var(--ink);
  background: var(--cloud);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-kicker {
  color: var(--pepper);
  font-size: 13px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 84px);
  align-items: end;
  margin-top: 10px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5.3vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: rgba(16, 24, 32, 0.68);
  font-size: 17px;
}

.solution-stage {
  display: grid;
  grid-template-columns: minmax(460px, 0.96fr) minmax(430px, 1fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px) 0;
}

.orbit {
  --orbit-nav: 152px;
  --orbit-gap: 34px;
  position: relative;
  display: grid;
  grid-template-columns: var(--orbit-nav) minmax(0, 1fr);
  grid-template-rows: repeat(5, 56px);
  gap: 9px var(--orbit-gap);
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 370px;
  margin: 0;
  padding: 24px;
  color: var(--cloud);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 246, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 16%, rgba(242, 180, 61, 0.2), transparent 16rem),
    linear-gradient(145deg, #101820 0%, #143447 52%, #195745 100%);
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.14);
}

.orbit::before,
.orbit::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.orbit::before {
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, rgba(255, 253, 246, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 246, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
}

.orbit::after {
  top: 24px;
  bottom: 24px;
  left: calc(24px + var(--orbit-nav) + (var(--orbit-gap) / 2));
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 253, 246, 0.34), transparent);
}

.orbit-item {
  position: relative;
  z-index: 2;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: auto;
  padding: 0 14px;
  color: rgba(255, 253, 246, 0.78);
  background: rgba(255, 253, 246, 0.08);
  border: 1px solid rgba(255, 253, 246, 0.12);
  border-radius: var(--radius);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.orbit-item svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
}

.orbit-item span {
  font-size: 14px;
  font-weight: 800;
}

.orbit-item:hover,
.orbit-item.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #ffe7a2);
  border-color: rgba(255, 253, 246, 0.48);
  transform: translateX(6px);
}

.orbit-core {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  width: auto;
  padding: 28px 10px 28px 44px;
  text-align: left;
}

.orbit-core span {
  color: var(--gold);
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.orbit-core strong {
  display: block;
  margin: 10px 0 16px;
  max-width: 100%;
  color: var(--cloud);
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.orbit-core p {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 253, 246, 0.76);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.solution-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  height: 100%;
  min-width: 0;
  gap: 16px;
}

.solution-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-areas:
    "icon title"
    "icon copy";
  gap: 18px;
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.78);
  box-shadow: 0 12px 42px rgba(16, 24, 32, 0.07);
}

.solution-card svg {
  grid-area: icon;
  width: 54px;
  height: 54px;
  padding: 13px;
  color: var(--cloud);
  background: var(--ink);
  border-radius: 50%;
}

.solution-card h3,
.case-card h3,
.timeline h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.18;
}

.solution-card p,
.case-card p,
.timeline p {
  margin: 8px 0 0;
  color: rgba(16, 24, 32, 0.68);
}

.solution-card h3 {
  grid-area: title;
}

.solution-card p {
  grid-area: copy;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cloud);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.case-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(242, 180, 61, 0.36), transparent 34%);
  transition: opacity 0.25s ease;
}

.case-card:hover::before {
  opacity: 1;
}

.case-image {
  aspect-ratio: 1.22;
  overflow: hidden;
  background: #dce8df;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.09);
}

.case-body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.case-tag {
  color: var(--bamboo);
  font-size: 12px;
}

.case-card h3 {
  margin-top: 8px;
}

.case-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 0;
}

.case-card dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-card dt {
  color: rgba(16, 24, 32, 0.52);
  font-size: 12px;
}

.case-card dd {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
}

.process-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  color: var(--cloud);
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(18, 116, 184, 0.22), transparent 54%),
    var(--ink);
}

.process-section .section-head p,
.process-section .timeline p {
  color: rgba(255, 253, 246, 0.7);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  min-width: 0;
  border-top: 1px solid rgba(255, 253, 246, 0.22);
}

.timeline article {
  min-width: 0;
  min-height: 260px;
  padding: 28px 24px 22px 0;
  border-right: 1px solid rgba(255, 253, 246, 0.16);
}

.timeline article + article {
  padding-left: 24px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 42px;
  font-weight: 900;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 36px));
  margin: clamp(72px, 9vw, 120px) auto;
  padding: clamp(32px, 6vw, 62px);
  color: var(--cloud);
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 180, 61, 0.26), transparent 28rem),
    linear-gradient(120deg, var(--bamboo), #195745 46%, var(--ink));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-section h2 {
  max-width: 790px;
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 34px min(6vw, 76px);
  color: rgba(255, 253, 246, 0.78);
  background: #0c1218;
}

.site-footer strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 14px;
}

.footer-records a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 253, 246, 0.78);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-records a:hover {
  color: #fff;
  text-decoration: underline;
}

.police-emblem {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .cursor-glow {
    display: none;
  }

  .site-header {
    border-radius: 24px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(16, 24, 32, 0.94);
    border: 1px solid rgba(255, 253, 246, 0.14);
    border-radius: 20px;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-metrics {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 560px);
    margin-top: 40px;
  }

  .learning-ridge,
  .trust-strip,
  .section-head,
  .solution-stage,
  .case-grid,
  .timeline,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-stage {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .case-grid,
  .timeline {
    display: grid;
  }

  .process-section {
    width: 100%;
    max-width: 100vw;
    padding-right: 18px;
    padding-left: 18px;
  }

  .process-section .section-head,
  .process-section .timeline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .timeline article,
  .timeline article + article {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 246, 0.16);
    overflow-wrap: anywhere;
  }

  .timeline span {
    margin-bottom: 12px;
  }

  .contact-section,
  .site-footer {
    display: grid;
  }

  .footer-records {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand strong {
    max-width: 190px;
  }

  .hero {
    padding: 112px 18px 70px;
  }

  .hero-content,
  .hero-actions,
  .hero-metrics {
    max-width: calc(100vw - 36px);
  }

  .hero-title {
    max-width: 7ch;
    font-size: clamp(38px, 12vw, 46px);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero-actions,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    gap: 14px;
    max-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .learning-ridge {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 70px 0;
  }

  .section.process-section {
    width: 100%;
    max-width: 100vw;
    margin-right: 0;
    margin-left: 0;
    padding: 70px 18px;
    overflow-x: hidden;
  }

  .process-section .section-head,
  .process-section .timeline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .process-section .section-head h2,
  .process-section .section-head p,
  .timeline h3,
  .timeline p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .orbit {
    --orbit-nav: auto;
    --orbit-gap: 12px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 18px;
  }

  .orbit::after {
    display: none;
  }

  .orbit-item {
    min-height: 52px;
    width: 100%;
    height: auto;
  }

  .orbit-item span {
    display: inline;
  }

  .orbit-core {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    width: auto;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 253, 246, 0.18);
  }

  .orbit-core p {
    display: block;
    font-size: 15px;
  }

  .solution-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "copy";
  }

  .case-card dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow,
  #knowledgeMap {
    display: none;
  }
}
