:root {
  font-synthesis: none;
}
@font-face {
  font-family: "RGZN Display";
  src: url("fonts/MiSans-Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700 900;
}
:root {
  color-scheme: light;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --ink: #121923;
  --muted: #5f6b78;
  --faint: #8a95a3;
  --line: #cfd6dd;
  --line-strong: #9aa5b1;
  --blue: #0759d9;
  --blue-dark: #063f9d;
  --signal: #d7ff43;
  --header-h: 70px;
  --page: min(1600px, calc(100vw - 48px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #eef1f4;
  clip-path: polygon(0 0, 14% 0, 14% 100%, 0 100%);
}
button, a { color: inherit; font: inherit; }
button { border: 0; background: none; cursor: pointer; }
a { text-decoration: none; }
img { display: block; width: 100%; }
p, h1, h2, h3 { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 28px); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  min-height: var(--header-h);
  padding: 0 max(24px, calc((100vw - 1600px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 248, .93);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; width: fit-content; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}
.brand-name { font-size: 14px; font-weight: 800; }
.brand-note { color: var(--muted); font-size: 12px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; display: grid; min-height: var(--header-h); place-items: center; color: var(--muted); font-size: 13px; font-weight: 600; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); }
.main-nav a.is-active::after { transform: scaleX(1); }
.header-action {
  justify-self: end;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.header-action:hover { background: var(--ink); color: #fff; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(260px, .62fr) minmax(520px, 1.46fr);
  grid-template-rows: 1fr auto;
  width: var(--page);
  min-height: calc(100svh - var(--header-h));
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.hero-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(28px, 4vw, 72px);
  border-right: 1px solid var(--line);
}
.hero h1 {
  max-width: 640px;
  font-family: "RGZN Display", "PingFang SC", sans-serif;
  font-size: clamp(54px, 4.1vw, 72px);
  font-weight: 800;
  line-height: .94;
}
.hero-summary {
  max-width: 440px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 38px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.hero-selector {
  display: flex;
  flex-direction: column;
  background: #e9edf1;
  border-right: 1px solid var(--line);
}
.selector-head {
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.selector-progress { display: block; height: 2px; overflow: hidden; background: var(--line); }
.selector-progress > span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.selector-progress > span.is-running { animation: selectorProgress 6.5s linear forwards; }
.selector-list { flex: 1; }
.selector-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  width: 100%;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background .25s ease, color .25s ease;
}
.selector-item:hover, .selector-item:focus-visible { background: #fff; }
.selector-item.is-active { background: var(--blue); color: #fff; }
.selector-index { color: var(--faint); font-size: 11px; font-weight: 800; }
.selector-item.is-active .selector-index { color: var(--signal); }
.selector-title { font-size: 13px; font-weight: 700; line-height: 1.35; }
.selector-controls { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.selector-controls button { min-height: 52px; font-size: 20px; }
.selector-controls button { display: grid; place-items: center; }
.selector-controls button + button { border-left: 1px solid var(--line); }
.selector-controls button:hover { background: var(--surface); color: var(--blue); }
.selector-controls [data-autoplay] { color: var(--blue); }
.selector-controls [data-autoplay].is-paused { color: var(--muted); }

.hero-preview { display: flex; flex-direction: column; background: var(--surface); overflow: hidden; }
.preview-media { position: relative; flex: 1; min-height: 390px; overflow: hidden; background: #10151c; touch-action: pan-y; }
.preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 12px solid rgba(255, 255, 255, .14);
  pointer-events: none;
}
.preview-media img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .7s var(--ease);
}
.preview-media:hover img { transform: scale(1.018); }
.preview-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 13px;
  background: var(--signal);
  color: var(--ink);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  transition: background .2s ease, transform .3s var(--ease);
}
.preview-open .icon { width: 15px; height: 15px; }
.preview-media:hover .preview-open, .preview-media:focus-visible .preview-open { background: #fff; transform: translate(-4px, -4px); }
.preview-body { padding: 24px 28px 30px; border-top: 1px solid var(--line); }
.preview-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; font-weight: 700; }
.preview-meta [data-preview-type] { color: var(--blue); }
.preview-body h2 { margin-top: 12px; font-size: clamp(24px, 2.2vw, 38px); line-height: 1.1; }
.preview-body h2 { font-family: "RGZN Display", "PingFang SC", sans-serif; }
.preview-body p { max-width: 720px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.hero-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero-rail span { padding: 14px 24px; color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }
.hero-rail span + span { border-left: 1px solid var(--line); }

.proof-section, .archive-section, .method-section, .contact-section, .site-footer {
  width: var(--page);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.proof-section { padding: clamp(78px, 9vw, 150px) clamp(28px, 6vw, 100px); background: var(--surface); }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; align-items: start; }
.section-heading h2, .archive-heading h2, .method-lead h2, .contact-section h2 {
  font-family: "RGZN Display", "PingFang SC", sans-serif;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.02;
}
.section-heading h2, .method-lead h2 { grid-column: 2; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 72px;
  gap: 16px;
  margin-top: 72px;
}
.proof-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: #dfe4e9; }
.proof-card:nth-child(1) { grid-column: 1 / 8; grid-row: span 6; }
.proof-card:nth-child(2) { grid-column: 8 / 13; grid-row: span 4; }
.proof-card:nth-child(3) { grid-column: 8 / 13; grid-row: span 5; }
.proof-card:nth-child(4) { grid-column: 1 / 5; grid-row: span 4; }
.proof-card:nth-child(5) { grid-column: 5 / 8; grid-row: span 4; }
.proof-card:nth-child(6) { grid-column: 1 / 7; grid-row: span 5; }
.proof-card:nth-child(7) { grid-column: 7 / 13; grid-row: span 5; }
.proof-card img { height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease), filter .3s ease; }
.proof-card:hover img, .proof-card:focus-visible img { transform: scale(1.025); filter: brightness(.72); }
.proof-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(10, 16, 24, .9);
}
.proof-caption strong { font-size: clamp(16px, 1.4vw, 22px); line-height: 1.2; }
.proof-caption span { flex: none; color: var(--signal); font-size: 12px; font-weight: 800; }

.archive-section { padding: clamp(74px, 8vw, 128px) clamp(28px, 6vw, 100px); background: #e9edf1; }
.archive-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.archive-heading h2 { margin-top: 0; }
.archive-summary { max-width: 480px; color: var(--muted); font-size: 16px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 54px; }
.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.filter-button:hover { background: var(--surface); }
.filter-button.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.archive-status { padding: 24px 0 12px; color: var(--muted); font-size: 12px; }
.project-list { border-top: 1px solid var(--line-strong); }
.project-row { border-bottom: 1px solid var(--line-strong); }
.project-row[hidden] { display: none; }
.project-row summary {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1.35fr) minmax(180px, .8fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 84px;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}
.project-row summary:hover, .project-row summary:focus-visible { background: rgba(255, 255, 255, .64); }
.project-row summary:hover .project-number { color: var(--blue); }
.project-row summary::-webkit-details-marker { display: none; }
.project-number { color: var(--faint); font-size: 12px; font-weight: 800; }
.project-title { font-size: clamp(17px, 1.5vw, 23px); font-weight: 750; line-height: 1.25; }
.project-type { color: var(--muted); font-size: 13px; }
.project-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  transition: transform .25s ease, background .25s ease;
}
.project-toggle .icon { width: 17px; height: 17px; }
.project-row[open] .project-toggle { transform: rotate(45deg); background: var(--signal); }
.project-detail {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1.35fr) minmax(180px, .8fr) auto;
  gap: 22px;
  padding: 2px 4px 30px;
}
.project-row[open] .project-detail { animation: detailReveal .38s var(--ease) both; }
.project-strategy { grid-column: 2; max-width: 760px; color: var(--muted); font-size: 15px; }
.project-tags { grid-column: 3; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.project-tags span { padding: 4px 7px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 11px; }
.project-open { grid-column: 4; align-self: start; padding-bottom: 4px; border-bottom: 2px solid var(--blue); color: var(--blue); font-size: 13px; font-weight: 800; }
.project-open { display: inline-flex; align-items: center; gap: 6px; }
.project-open .icon { width: 15px; height: 15px; }

.method-section { padding: clamp(78px, 9vw, 150px) clamp(28px, 6vw, 100px) 0; background: var(--surface); }
.method-lead { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 80px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.method-steps li { min-height: 300px; padding: 26px 32px 40px 0; }
.method-steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.method-steps li > span { color: var(--blue); font-size: 12px; font-weight: 800; }
.method-steps h3 { margin-top: 64px; font-size: 22px; }
.method-steps p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.capability-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 calc(clamp(28px, 6vw, 100px) * -1);
  border-top: 1px solid var(--line);
}
.capability-strip span { display: grid; min-height: 92px; padding: 14px; place-items: center; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.capability-strip span + span { border-left: 1px solid var(--line); }

.contact-section {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  padding: clamp(80px, 10vw, 170px) clamp(28px, 6vw, 100px);
  background: var(--blue);
  color: #fff;
}
.contact-section h2 { margin-top: 0; }
.contact-action { display: flex; flex-direction: column; justify-content: end; }
.contact-action > p { max-width: 420px; color: rgba(255, 255, 255, .75); }
.copy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-weight: 800;
  text-align: left;
}
.copy-button:hover { color: var(--signal); }
.copy-button span:last-child { font-size: 22px; }
.copy-button .icon { flex: none; transition: transform .35s var(--ease); }
.copy-button:hover .icon { transform: rotate(90deg); }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 22px 28px; color: var(--muted); font-size: 11px; }
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  padding: 13px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--ease);
}
.toast.is-visible { transform: none; opacity: 1; }

body.has-reveal .reveal-item { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .75s var(--ease); }
body.has-reveal .reveal-item.is-visible { opacity: 1; transform: none; }
body.has-reveal .proof-card.reveal-item { transform: translateY(34px); }
body.has-reveal .proof-card.reveal-item.is-visible { transform: none; }

@keyframes selectorProgress { to { transform: scaleX(1); } }
@keyframes detailReveal { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .brand-note, .main-nav { display: none; }
  .hero { grid-template-columns: .75fr 1.25fr; grid-template-rows: auto auto auto; }
  .hero-intro { grid-column: 1 / -1; min-height: 460px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-selector { min-height: 520px; }
  .hero-preview { min-height: 520px; }
  .proof-grid { grid-auto-rows: 58px; }
  .capability-strip { grid-template-columns: repeat(3, 1fr); }
  .capability-strip span:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .capability-strip span:nth-child(5), .capability-strip span:nth-child(6) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; --page: 100%; }
  body::before { background-size: 40px 40px; }
  .site-header { padding: 0 14px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 13px; }
  .header-action { padding: 8px 10px; font-size: 12px; }
  .hero { display: block; min-height: auto; border: 0; }
  .hero-intro { min-height: auto; padding: 42px 22px 36px; }
  .hero h1 { font-size: clamp(48px, 14vw, 62px); }
  .hero-summary { margin-top: 22px; font-size: 15px; }
  .text-link { margin-top: 26px; }
  .hero-selector { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .selector-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .selector-item { flex: 0 0 76%; min-height: 80px; border-right: 1px solid var(--line); border-bottom: 0; scroll-snap-align: start; }
  .selector-controls { display: grid; }
  .selector-controls button { min-height: 48px; }
  .hero-preview { min-height: auto; }
  .preview-media { min-height: 270px; aspect-ratio: 1.35; }
  .preview-body { padding: 22px; }
  .preview-meta { align-items: start; }
  .preview-body h2 { font-size: 28px; }
  .hero-rail { grid-template-columns: 1fr; }
  .hero-rail span { text-align: left; }
  .hero-rail span + span { border-top: 1px solid var(--line); border-left: 0; }
  .proof-section, .archive-section, .method-section, .contact-section, .site-footer { border-right: 0; border-left: 0; }
  .proof-section, .archive-section, .method-section { padding: 74px 20px; }
  .section-heading, .archive-heading, .method-lead, .contact-section { grid-template-columns: 1fr; }
  .section-heading h2, .method-lead h2 { grid-column: 1; }
  .section-heading h2, .archive-heading h2, .method-lead h2, .contact-section h2 { margin-top: 18px; font-size: clamp(36px, 11vw, 52px); }
  .proof-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; margin-top: 48px; }
  .proof-card:nth-child(n) { grid-column: 1; grid-row: auto; aspect-ratio: 1.25; }
  .proof-card:first-child { aspect-ratio: .92; }
  .archive-heading { gap: 24px; }
  .archive-summary { font-size: 14px; }
  .filter-bar { flex-wrap: nowrap; margin-right: -20px; overflow-x: auto; }
  .filter-button { flex: none; }
  .project-row summary { grid-template-columns: 36px 1fr auto; gap: 10px; min-height: 92px; }
  .project-type { display: none; }
  .project-title { font-size: 17px; }
  .project-detail { display: block; padding: 0 0 28px 46px; }
  .project-tags { margin-top: 16px; }
  .project-open { display: inline-block; margin-top: 20px; }
  .method-steps { grid-template-columns: 1fr; margin-top: 56px; }
  .method-steps li { min-height: auto; padding: 24px 0 42px; }
  .method-steps li + li { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .method-steps h3 { margin-top: 36px; }
  .capability-strip { grid-template-columns: repeat(2, 1fr); margin: 20px -20px -74px; }
  .capability-strip span:nth-child(n) { border-top: 1px solid var(--line); }
  .capability-strip span:nth-child(odd) { border-left: 0; }
  .contact-section { gap: 54px; padding: 78px 20px; }
  .site-footer { flex-direction: column; padding: 26px 20px; }
  .toast { right: 14px; bottom: 14px; left: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  body.has-reveal .reveal-item { opacity: 1; transform: none; }
}
