@charset "UTF-8";

:root {
  color-scheme: dark light;
  --ink: #05070a;
  --ink-2: #090d12;
  --panel: #0d1218;
  --line: rgba(199, 231, 238, 0.16);
  --line-soft: rgba(199, 231, 238, 0.08);
  --text: #f1f6f8;
  --muted: #89969e;
  --quiet: #55616a;
  --signal: #69e8ff;
  --signal-soft: rgba(105, 232, 255, 0.15);
  --fault: #ff674d;
  --restore: #8fffb4;
  --paper: #f4f1ea;
  --mist: #e5ece8;
  --paper-ink: #172126;
  --paper-muted: #58666a;
  --paper-quiet: #7a8586;
  --paper-line: rgba(23, 33, 38, 0.15);
  --paper-line-soft: rgba(23, 33, 38, 0.08);
  --paper-signal: #006d7a;
  --violet: #a7a1ff;
  --shell: min(1320px, calc(100vw - clamp(40px, 8vw, 128px)));
  --header-height: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scrollbar-color: var(--quiet) var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: radial-gradient(rgba(255, 255, 255, 0.72) 0.4px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

p,
h1,
h2,
h3,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 480;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(24px, 4.5vw, 72px);
  border-bottom: 1px solid transparent;
  transition: height 450ms var(--ease), background 450ms ease, border-color 450ms ease;
}

.site-header.is-scrolled,
.inner-page .site-header {
  height: 72px;
  border-color: var(--line-soft);
  background: rgba(5, 7, 10, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.wordmark-y {
  position: relative;
  width: 18px;
  height: 22px;
  display: block;
}

.wordmark-y i {
  position: absolute;
  display: block;
  width: 1px;
  height: 13px;
  background: var(--signal);
  box-shadow: 0 0 9px rgba(105, 232, 255, 0.8);
  transform-origin: 50% 100%;
}

.wordmark-y i:nth-child(1) {
  bottom: 0;
  left: 50%;
}

.wordmark-y i:nth-child(2) {
  top: 0;
  left: 50%;
  transform: translateX(-0.5px) rotate(-38deg);
}

.wordmark-y i:nth-child(3) {
  top: 0;
  left: 50%;
  transform: translateX(-0.5px) rotate(38deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
}

.site-nav a {
  position: relative;
  color: rgba(241, 246, 248, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 250ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .language-link {
  display: grid;
  min-width: 42px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text);
}

.site-nav .language-link::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 300ms var(--ease);
}

/* Continuous scroll story */
.journey {
  position: relative;
  height: 800svh;
  background: var(--ink);
}

.journey-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 46%, rgba(16, 41, 48, 0.22), transparent 35%),
    linear-gradient(135deg, #05070a, #080c11 54%, #05070a);
}

#signal-canvas,
.stage-vignette,
.stage-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#signal-canvas {
  z-index: 1;
}

.stage-vignette {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.75), transparent 42%, transparent 76%, rgba(5, 7, 10, 0.36)),
    radial-gradient(ellipse at center, transparent 40%, rgba(5, 7, 10, 0.55) 100%);
}

.stage-grid {
  z-index: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(105, 232, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 232, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 68% 50%, black, transparent 65%);
  mask-image: radial-gradient(circle at 68% 50%, black, transparent 65%);
}

.chapter-layer {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.chapter {
  position: absolute;
  top: 50%;
  left: clamp(24px, 7vw, 112px);
  width: min(560px, 42vw);
  opacity: 0;
  transform: translate3d(-24px, calc(-50% + 20px), 0);
  transition: opacity 200ms linear;
  will-change: opacity, transform;
}

.chapter.is-active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.chapter-coordinate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 4vh, 42px);
  color: rgba(241, 246, 248, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.chapter-coordinate i {
  width: 46px;
  height: 1px;
  background: var(--line);
}

.chapter h1,
.chapter h2 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5.1vw, 82px);
}

.chapter-body {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(241, 246, 248, 0.66);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.8;
}

.chapter-detail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(241, 246, 248, 0.42);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.chapter-detail::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.chapter-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  pointer-events: auto;
}

.chapter-markers {
  position: absolute;
  z-index: 7;
  top: 50%;
  right: clamp(24px, 4.5vw, 72px);
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  transform: translateY(-50%);
}

.chapter-markers button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 52px;
  padding: 2px 0;
  background: transparent;
  color: rgba(241, 246, 248, 0.35);
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
  transition: color 250ms ease;
}

.chapter-markers i {
  width: 10px;
  height: 1px;
  background: currentColor;
  transition: width 350ms var(--ease), background 350ms ease, box-shadow 350ms ease;
}

.chapter-markers button.is-active {
  color: var(--text);
}

.chapter-markers button.is-active i {
  width: 28px;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
}

.stage-status {
  position: absolute;
  z-index: 6;
  top: calc(var(--header-height) + 28px);
  right: clamp(24px, 4.5vw, 72px);
  left: clamp(24px, 7vw, 112px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(241, 246, 248, 0.28);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.stage-status i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.scroll-prompt {
  position: absolute;
  z-index: 6;
  bottom: 36px;
  left: clamp(24px, 7vw, 112px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(241, 246, 248, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  transition: opacity 300ms ease;
}

.scroll-prompt i {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: var(--line);
}

.scroll-prompt i::after {
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  content: "";
  background: var(--signal);
  animation: prompt-line 2s ease-in-out infinite;
}

.journey.has-progress .scroll-prompt {
  opacity: 0;
}

.stage-access {
  position: absolute;
  z-index: 6;
  right: clamp(24px, 4.5vw, 72px);
  bottom: 36px;
  color: rgba(241, 246, 248, 0.25);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

@keyframes prompt-line {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

.signal-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 18px;
  border: 1px solid rgba(105, 232, 255, 0.38);
  background: rgba(105, 232, 255, 0.06);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  transition: background 350ms ease, color 350ms ease, border-color 350ms ease;
}

.signal-button i {
  color: var(--signal);
  font-style: normal;
  transition: transform 350ms var(--ease);
}

.signal-button:hover {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.signal-button:hover i {
  color: var(--ink);
  transform: translate(3px, -3px);
}

.text-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: rgba(241, 246, 248, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  transition: border-color 250ms ease, color 250ms ease;
}

.text-link:hover {
  border-color: var(--signal);
  color: var(--text);
}

/* Sections continue the same signal language */
.statement-section {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 280px) 0;
  border-top: 1px solid var(--line-soft);
  background: #070a0e;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) 1.65fr 0.8fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}

.statement-grid h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 6.6vw, 108px);
}

.statement-body {
  margin-top: 11px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.9;
}

.statement-axis {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 26%;
  background: var(--line-soft);
}

.statement-axis i,
.statement-axis b {
  position: absolute;
  left: 50%;
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(-50%);
}

.statement-axis i { top: 0; }
.statement-axis b { bottom: 0; }

.statement-axis span {
  position: absolute;
  bottom: 10px;
  left: 14px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.1fr 0.75fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  padding-bottom: clamp(64px, 9vw, 130px);
}

.section-intro .eyebrow {
  grid-column: 1;
}

.section-intro h2 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(46px, 5.4vw, 86px);
}

.section-intro > p:last-child {
  grid-column: 3;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.expertise-section {
  padding: clamp(130px, 15vw, 240px) 0;
  background: var(--ink-2);
}

.expertise-list {
  border-top: 1px solid var(--line);
}

.expertise-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 0.75fr 1.15fr;
  gap: clamp(28px, 5vw, 82px);
  align-items: start;
  padding: clamp(34px, 4.2vw, 68px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding 500ms var(--ease);
}

.expertise-row::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  transition: width 700ms var(--ease);
}

.expertise-row:hover::before {
  width: 100%;
}

.expertise-heading {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
}

.expertise-heading span,
.service-row > span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 10px;
}

.expertise-heading h3 {
  margin: -6px 0 0;
  font-size: clamp(24px, 2.3vw, 38px);
}

.expertise-row > p {
  margin: 0;
  color: var(--muted);
}

.expertise-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.expertise-row li,
.note-tags i,
.article-tagline span {
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  color: rgba(241, 246, 248, 0.6);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.05em;
}

.services-section {
  padding: clamp(130px, 15vw, 240px) 0;
  background:
    radial-gradient(circle at 0 50%, rgba(105, 232, 255, 0.045), transparent 32%),
    #06090d;
}

.services-list {
  counter-reset: services;
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(250px, 0.85fr) 1.2fr 36px;
  gap: clamp(20px, 4vw, 68px);
  align-items: center;
  min-height: 130px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service-row::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(105, 232, 255, 0.09), transparent 72%);
  opacity: 0;
  transform: translateX(-15%);
  transition: opacity 450ms ease, transform 650ms var(--ease);
}

.service-row:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.service-row h3,
.service-row p,
.service-row > span,
.service-row > i {
  position: relative;
  z-index: 1;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 36px);
}

.service-row p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.service-row > i {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.service-row > i::before,
.service-row > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: var(--signal);
  transform: translate(-50%, -50%);
}

.service-row > i::before { width: 8px; height: 1px; }
.service-row > i::after { width: 1px; height: 8px; }

.notes-preview {
  padding: clamp(130px, 15vw, 240px) 0;
  background: #080b0f;
}

.notes-preview-head {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(70px, 9vw, 130px);
}

.notes-preview-head h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 6vw, 96px);
}

.notes-preview-head > p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.9;
}

.notes-list {
  border-top: 1px solid var(--line);
}

.note-row {
  border-bottom: 1px solid var(--line);
}

.note-row[hidden] {
  display: none;
}

.note-row > a {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  gap: clamp(22px, 4vw, 68px);
  align-items: start;
  padding: clamp(36px, 4.5vw, 70px) 0;
  overflow: hidden;
}

.note-row > a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  transition: width 700ms var(--ease);
}

.note-row > a:hover::before {
  width: 100%;
}

.note-index,
.note-meta {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.note-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.note-copy strong {
  max-width: 1000px;
  margin: 15px 0 18px;
  font-size: clamp(26px, 3.1vw, 50px);
  font-weight: 480;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.note-copy > span:not(.note-meta, .note-tags) {
  max-width: 780px;
  color: var(--muted);
}

.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.note-arrow {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 18px;
  transition: transform 400ms var(--ease);
}

.note-row > a:hover .note-arrow {
  transform: translate(5px, -5px);
}

.notes-all {
  margin-top: 48px;
}

.about-preview {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 280px) 0;
  background: #05080b;
}

.about-preview::before {
  position: absolute;
  top: 50%;
  left: 29%;
  width: 1px;
  height: 120%;
  content: "";
  background: linear-gradient(transparent, var(--line), transparent);
  transform: translateY(-50%) rotate(28deg);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 10vw, 170px);
  align-items: center;
}

.about-monogram {
  margin: 0;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(220px, 33vw, 520px);
  font-weight: 200;
  line-height: 0.6;
  -webkit-text-stroke: 1px rgba(105, 232, 255, 0.2);
}

.about-preview-grid h2 {
  max-width: 800px;
  margin-bottom: 38px;
  font-size: clamp(44px, 5.8vw, 92px);
}

.about-preview-grid > div:last-child > p {
  max-width: 680px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.9;
}

.contact-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 150px 0 110px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 52%, rgba(105, 232, 255, 0.08), transparent 34%),
    #05070a;
}

.contact-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(75vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(105, 232, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(105, 232, 255, 0.07);
  border-radius: inherit;
  content: "";
}

.contact-orbit::after { inset: 28%; }

.contact-orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px var(--signal);
}

.contact-orbit i:nth-child(1) { top: 16%; left: 23%; }
.contact-orbit i:nth-child(2) { top: 62%; right: 4%; }
.contact-orbit i:nth-child(3) { bottom: 8%; left: 38%; }

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
}

.contact-inner .eyebrow {
  margin-bottom: 34px;
}

.contact-inner h2 {
  margin-bottom: 34px;
  font-size: clamp(50px, 7.2vw, 118px);
}

.contact-lead {
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.9;
}

.wechat-copy {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  width: min(760px, 100%);
  min-height: 96px;
  padding: 0 clamp(20px, 3vw, 40px);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(7, 11, 15, 0.78);
  cursor: pointer;
  transition: border-color 300ms ease, background 300ms ease;
}

.wechat-copy::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  transition: width 700ms var(--ease);
}

.wechat-copy:hover {
  border-color: rgba(105, 232, 255, 0.38);
  background: rgba(105, 232, 255, 0.06);
}

.wechat-copy:hover::before,
.wechat-copy.is-copied::before {
  width: 100%;
}

.wechat-copy span,
.wechat-copy i {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wechat-copy strong {
  font-family: var(--mono);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.contact-flags {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-flags span::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 9px;
  border-radius: 50%;
  content: "";
  background: var(--restore);
}

.site-footer {
  position: relative;
  padding: 100px clamp(24px, 4.5vw, 72px) 36px;
  border-top: 1px solid var(--line-soft);
  background: #040609;
}

.footer-signal {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 72px;
  background: var(--line);
}

.footer-signal i {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px var(--signal);
  transform: translateX(-50%);
}

.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-main {
  padding-bottom: 64px;
}

.footer-brand {
  font-size: clamp(40px, 8vw, 132px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.footer-main p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.footer-meta {
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.footer-meta p { margin: 0; }

/* Inner pages */
.inner-page {
  padding-top: 72px;
}

.inner-hero {
  position: relative;
  min-height: 74svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 100px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 42%, rgba(105, 232, 255, 0.09), transparent 25%),
    #06090d;
}

.inner-hero .section-shell {
  position: relative;
  z-index: 1;
}

.inner-hero h1,
.about-hero h1 {
  max-width: 1100px;
  margin-bottom: 34px;
  font-size: clamp(60px, 8.5vw, 138px);
}

.inner-hero .section-shell > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.9;
}

.inner-hero .section-shell > span {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.inner-hero-signal {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(105, 232, 255, 0.08);
  border-radius: 50%;
  transform: translateY(-50%);
}

.inner-hero-signal::before,
.inner-hero-signal::after {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(105, 232, 255, 0.07);
  border-radius: inherit;
  content: "";
}

.inner-hero-signal::after { inset: 38%; }

.inner-hero-signal i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.inner-hero-signal i:nth-child(1) { top: 10%; left: 48%; }
.inner-hero-signal i:nth-child(2) { right: 12%; bottom: 27%; }
.inner-hero-signal i:nth-child(3) { bottom: 13%; left: 26%; }

.notes-index {
  padding: 80px 0 clamp(130px, 15vw, 220px);
  background: #080b0f;
}

.notes-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 70px;
}

.search-field {
  position: relative;
  width: min(520px, 46vw);
}

.search-field i {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-60%);
}

.search-field i::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--muted);
  transform: rotate(45deg);
}

.search-field input {
  width: 100%;
  height: 52px;
  padding: 0 20px 0 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--mono);
  font-size: 11px;
  transition: border-color 250ms ease;
}

.search-field input:focus {
  border-color: var(--signal);
}

.search-field input::placeholder { color: var(--quiet); }

.note-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.note-filters button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease;
}

.note-filters button:hover,
.note-filters button.is-active {
  border-color: var(--signal);
  background: var(--signal-soft);
  color: var(--text);
}

.notes-empty {
  padding: 80px 0;
  color: var(--muted);
  text-align: center;
}

.about-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 0 110px;
  border-bottom: 1px solid var(--line);
  background: #06090d;
}

.about-hero .section-shell {
  position: relative;
  z-index: 2;
}

.about-lead {
  max-width: 770px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.85;
}

.about-y {
  position: absolute;
  top: 50%;
  right: 8vw;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.about-y i {
  position: absolute;
  left: 50%;
  display: block;
  width: 1px;
  height: 48%;
  background: linear-gradient(var(--signal), rgba(105, 232, 255, 0.05));
  box-shadow: 0 0 14px rgba(105, 232, 255, 0.25);
  transform-origin: 50% 100%;
}

.about-y i:nth-child(1) { bottom: 2%; }
.about-y i:nth-child(2) { top: 2%; transform: rotate(-42deg); }
.about-y i:nth-child(3) { top: 2%; transform: rotate(42deg); }

.about-y b {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 30px var(--signal);
  transform: translate(-50%, -50%);
}

.about-story {
  padding: clamp(120px, 15vw, 230px) 0;
  background: #080b0f;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(60px, 11vw, 180px);
}

.about-story aside {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.about-story aside i {
  display: block;
  width: 1px;
  height: 160px;
  margin: 30px 0 0 5px;
  background: linear-gradient(var(--signal), transparent);
}

.about-story-grid > div p {
  max-width: 880px;
  margin-bottom: 38px;
  color: rgba(241, 246, 248, 0.78);
  font-size: clamp(20px, 2.25vw, 34px);
  line-height: 1.62;
  letter-spacing: -0.025em;
}

.principles-section {
  padding: clamp(120px, 15vw, 230px) 0;
  background: #06090d;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles-grid article {
  min-height: 280px;
  padding: clamp(30px, 4vw, 60px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles-grid span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 10px;
}

.principles-grid h3 {
  margin: 70px 0 20px;
  font-size: clamp(26px, 2.6vw, 42px);
}

.principles-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

/* Article */
.article-shell {
  background: #080b0f;
}

.article-header {
  padding-top: clamp(110px, 14vw, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.back-link {
  display: inline-block;
  margin-bottom: clamp(70px, 9vw, 120px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 250ms ease;
}

.back-link:hover { color: var(--signal); }

.article-header h1 {
  max-width: 1180px;
  margin-bottom: 36px;
  font-size: clamp(48px, 7.2vw, 112px);
}

.article-summary {
  max-width: 840px;
  margin-bottom: 68px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.85;
}

.article-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-facts div {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.article-facts div:first-child { padding-left: 0; }
.article-facts div:last-child { border-right: 0; }

.article-facts span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.article-facts strong {
  font-size: 14px;
  font-weight: 500;
}

.article-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
  padding-bottom: clamp(130px, 16vw, 250px);
}

.article-toc {
  position: sticky;
  top: 110px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-toc > p {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.article-toc ol {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.article-toc li {
  margin-bottom: 13px;
}

.article-toc a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  transition: color 200ms ease;
}

.article-toc a:hover { color: var(--signal); }
.article-toc .toc-level-3 { padding-left: 14px; }

.prose {
  width: min(820px, 100%);
  color: rgba(241, 246, 248, 0.82);
  font-size: 17px;
  line-height: 1.95;
}

.article-notice {
  padding: 24px 26px;
  margin-bottom: 80px;
  border-left: 1px solid var(--signal);
  background: rgba(105, 232, 255, 0.05);
  color: var(--muted);
  font-size: 13px;
}

.prose h2,
.prose h3,
.prose h4 {
  scroll-margin-top: 110px;
}

.prose h2 {
  padding-top: 72px;
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 54px);
}

.prose h2:first-of-type { padding-top: 0; }

.prose h3 {
  padding-top: 42px;
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.prose p { margin-bottom: 27px; }

.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin-bottom: 30px;
}

.prose li { margin-bottom: 10px; }

.prose strong { color: var(--text); }

.prose a {
  border-bottom: 1px solid var(--signal);
  color: var(--signal);
}

.prose code {
  padding: 0.15em 0.38em;
  border: 1px solid var(--line-soft);
  background: #0c1218;
  color: #b8f6ff;
  font-family: var(--mono);
  font-size: 0.88em;
}

.code-block {
  position: relative;
  margin: 36px 0;
  border: 1px solid var(--line);
  background: #05080b;
}

.code-block > span {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.code-block pre {
  max-width: 100%;
  padding: 28px;
  margin: 0;
  overflow-x: auto;
  line-height: 1.75;
}

.code-block code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9e7ec;
  font-size: 13px;
}

.prose blockquote {
  padding: 4px 0 4px 28px;
  margin: 40px 0;
  border-left: 1px solid var(--signal);
  color: var(--muted);
}

.prose blockquote p { margin: 0; }

.prose hr {
  height: 1px;
  margin: 70px 0;
  border: 0;
  background: var(--line);
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.error-page main { max-width: 760px; }
.error-page main > p:first-child { color: var(--signal); font: 10px var(--mono); letter-spacing: 0.15em; }
.error-page h1 { margin: 32px 0; font-size: clamp(48px, 8vw, 110px); }
.error-page .signal-button { margin-top: 28px; }

/* Reveal enhancement */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms ease, transform 1000ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root { --shell: calc(100vw - 48px); }
  .statement-grid { grid-template-columns: 1fr; }
  .statement-grid .eyebrow { margin-bottom: 0; }
  .statement-body { max-width: 620px; }
  .section-intro { grid-template-columns: 1fr 1.5fr; }
  .section-intro .eyebrow { grid-column: 1; }
  .section-intro h2 { grid-column: 2; }
  .section-intro > p:last-child { grid-column: 2; }
  .expertise-row { grid-template-columns: 1fr 1fr; }
  .expertise-row ul { grid-column: 2; }
  .services-section .section-intro { grid-template-columns: 1fr 1.5fr; }
  .service-row { grid-template-columns: 38px minmax(200px, 0.8fr) 1.2fr 28px; }
  .notes-preview-head { grid-template-columns: 1fr; }
  .notes-preview-head > p { max-width: 620px; }
  .article-facts { grid-template-columns: repeat(2, 1fr); }
  .article-facts div:nth-child(2) { border-right: 0; }
  .article-facts div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .article-facts div:nth-child(3) { padding-left: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: relative; top: 0; }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 40px);
    --header-height: 68px;
  }

  body::before { display: none; }
  .site-header { height: 68px; padding-inline: 20px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 86px 34px 44px;
    background: rgba(5, 7, 10, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 300ms ease, transform 450ms var(--ease);
  }
  .site-nav a { font-size: 18px; letter-spacing: -0.01em; text-transform: none; }
  .site-nav .language-link { min-width: auto; height: 38px; padding: 0 16px; font-size: 11px; text-transform: uppercase; }
  .site-header.menu-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-header.menu-open .menu-toggle i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .site-header.menu-open .menu-toggle i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .journey { height: 620svh; }
  .journey-stage { min-height: 520px; }
  .stage-vignette { background: linear-gradient(0deg, rgba(5, 7, 10, 0.86) 0 34%, transparent 66%), radial-gradient(ellipse at center, transparent 30%, rgba(5, 7, 10, 0.44)); }
  .stage-grid { opacity: 0.11; background-size: 48px 48px; }
  .chapter {
    top: auto;
    bottom: max(74px, env(safe-area-inset-bottom));
    left: 20px;
    width: calc(100vw - 40px);
    transform: translate3d(0, 18px, 0);
  }
  .chapter.is-active { transform: translate3d(0, 0, 0); }
  .chapter-coordinate { margin-bottom: 16px; }
  .chapter .eyebrow { display: none; }
  .chapter h1,
  .chapter h2 { max-width: 95%; margin-bottom: 14px; font-size: clamp(36px, 11.5vw, 54px); }
  .chapter-body { max-width: 96%; margin-bottom: 14px; font-size: 14px; line-height: 1.65; }
  .chapter-detail { font-size: 8px; }
  .chapter-actions { gap: 18px; margin-top: 22px; }
  .chapter-actions .signal-button { min-height: 42px; padding-inline: 12px; gap: 16px; }
  .chapter-markers { top: 95px; right: 20px; display: flex; transform: none; }
  .chapter-markers button { width: auto; }
  .chapter-markers span { display: none; }
  .chapter-markers i { width: 9px; }
  .chapter-markers button.is-active i { width: 24px; }
  .stage-status { top: 86px; right: 20px; left: 20px; }
  .stage-status span:last-child { display: none; }
  .scroll-prompt { bottom: 24px; left: 20px; }
  .stage-access { right: 20px; bottom: 24px; font-size: 8px; }
  .statement-section,
  .expertise-section,
  .services-section,
  .notes-preview,
  .about-preview { padding-block: 110px; }
  .statement-grid { gap: 22px; }
  .statement-grid h2 { font-size: clamp(42px, 13vw, 66px); }
  .statement-axis { left: 20px; height: 80px; }
  .section-intro,
  .services-section .section-intro { grid-template-columns: 1fr; gap: 18px; padding-bottom: 60px; }
  .section-intro .eyebrow,
  .section-intro h2,
  .section-intro > p:last-child { grid-column: 1; }
  .section-intro h2 { font-size: 48px; }
  .expertise-row { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .expertise-row ul { grid-column: 1; }
  .service-row { grid-template-columns: 30px 1fr 24px; gap: 16px; padding: 28px 0; }
  .service-row p { grid-column: 2 / -1; }
  .notes-preview-head { margin-bottom: 62px; }
  .notes-preview-head h2 { font-size: 52px; }
  .note-row > a { grid-template-columns: 30px 1fr 20px; gap: 12px; padding: 38px 0; }
  .note-copy strong { font-size: 28px; }
  .note-copy > span:not(.note-meta, .note-tags) { font-size: 14px; }
  .about-preview::before { left: 34%; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-monogram { font-size: 64vw; }
  .contact-section { min-height: auto; padding: 120px 0 90px; }
  .contact-orbit { width: 130vw; }
  .contact-inner h2 { font-size: 14vw; }
  .wechat-copy { grid-template-columns: 1fr auto; gap: 12px; min-height: 88px; text-align: left; }
  .wechat-copy span { grid-column: 1 / -1; }
  .wechat-copy strong { font-size: 15px; }
  .wechat-copy i { text-align: right; }
  .contact-flags { flex-direction: column; gap: 6px; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-brand { font-size: 18vw; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .inner-hero { min-height: 78svh; padding: 120px 0 70px; }
  .inner-hero h1,
  .about-hero h1 { font-size: 16vw; }
  .inner-hero .section-shell > span { position: static; display: block; margin-top: 32px; }
  .inner-hero-signal { right: -26%; width: 100vw; }
  .notes-index { padding-top: 44px; }
  .notes-tools { align-items: stretch; flex-direction: column; margin-bottom: 50px; }
  .search-field { width: 100%; }
  .note-filters { justify-content: flex-start; }
  .about-hero { min-height: 84svh; padding: 120px 0 72px; }
  .about-y { right: -24vw; width: 100vw; opacity: 0.5; }
  .about-story { padding: 100px 0; }
  .about-story-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-story aside i { height: 60px; }
  .about-story-grid > div p { font-size: 21px; }
  .principles-section { padding: 100px 0; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { min-height: 240px; }
  .article-header { padding-top: 90px; }
  .article-header h1 { font-size: 13vw; }
  .article-facts { grid-template-columns: 1fr; }
  .article-facts div,
  .article-facts div:nth-child(2),
  .article-facts div:nth-child(3) { min-height: 86px; padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .article-facts div:last-child { border-bottom: 0; }
  .article-layout { gap: 50px; }
  .article-toc { display: none; }
  .prose { font-size: 16px; line-height: 1.9; }
  .article-notice { margin-bottom: 58px; }
  .code-block { margin-inline: -20px; border-right: 0; border-left: 0; }
  .code-block pre { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .home-page .journey { height: auto; }
  .home-page .journey-stage { position: relative; height: auto; min-height: 100svh; padding: 110px 0 60px; overflow: hidden; }
  .home-page #signal-canvas { height: 100svh; }
  .home-page .chapter-layer { position: relative; z-index: 5; display: grid; gap: 70px; padding: 55svh 20px 30px; }
  .home-page .chapter { position: relative; inset: auto; width: min(680px, 100%); opacity: 1 !important; transform: none !important; }
  .home-page .chapter h1,
  .home-page .chapter h2 { font-size: clamp(38px, 8vw, 66px); }
  .home-page .chapter-markers,
  .home-page .stage-status,
  .home-page .scroll-prompt { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

.no-js .journey {
  height: auto;
}

.no-js .journey-stage {
  position: relative;
  height: auto;
  padding: 120px 0 80px;
}

.no-js .chapter-layer {
  position: relative;
  display: grid;
  gap: 90px;
  width: var(--shell);
  margin: auto;
}

.no-js .chapter {
  position: relative;
  inset: auto;
  width: min(720px, 100%);
  opacity: 1;
  transform: none;
}

.no-js .chapter-markers,
.no-js .stage-status,
.no-js .scroll-prompt,
.no-js .stage-access {
  display: none;
}

/* Visual system v2 — cinematic depth, editorial light and continuous rhythm */
:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3 {
  font-weight: 500;
  letter-spacing: -0.022em;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
}

.site-header {
  color: var(--text);
}

.site-header.is-scrolled,
.inner-page .site-header {
  border-color: rgba(207, 238, 241, 0.11);
  background: rgba(4, 8, 11, 0.76);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

.site-header[data-surface="light"].is-scrolled,
.inner-page .site-header[data-surface="light"] {
  border-color: rgba(23, 33, 38, 0.1);
  background: rgba(244, 241, 234, 0.82);
  box-shadow: 0 10px 32px rgba(32, 45, 47, 0.06);
  color: var(--paper-ink);
}

.site-header[data-surface="light"] .site-nav a {
  color: rgba(23, 33, 38, 0.66);
}

.site-header[data-surface="light"] .site-nav a:hover,
.site-header[data-surface="light"] .site-nav a[aria-current="page"],
.site-header[data-surface="light"] .site-nav .language-link {
  color: var(--paper-ink);
}

.site-header[data-surface="light"] .site-nav .language-link {
  border-color: var(--paper-line);
}

.site-header[data-surface="light"] .wordmark-y i {
  background: var(--paper-signal);
  box-shadow: none;
}

.site-header[data-surface="light"] .menu-toggle i {
  background: var(--paper-ink);
}

.journey {
  height: 650svh;
}

.journey-stage {
  isolation: isolate;
  background:
    radial-gradient(ellipse 42% 58% at 73% 45%, rgba(40, 94, 106, 0.18) 0%, rgba(9, 24, 31, 0.08) 44%, transparent 74%),
    radial-gradient(ellipse 45% 18% at 72% 91%, rgba(105, 232, 255, 0.075), transparent 70%),
    linear-gradient(138deg, #030507 0%, #071015 49%, #030609 100%);
}

.stage-vignette {
  background:
    linear-gradient(90deg, rgba(3, 5, 7, 0.86) 0 29%, rgba(3, 5, 7, 0.15) 57%, rgba(3, 5, 7, 0.22) 100%),
    radial-gradient(ellipse at 72% 48%, transparent 34%, rgba(3, 5, 7, 0.48) 100%);
}

.chapter {
  width: min(570px, 43vw);
}

.chapter h1,
.chapter h2 {
  font-size: clamp(44px, 4.75vw, 76px);
  text-wrap: balance;
}

.chapter-body {
  color: rgba(231, 242, 241, 0.73);
}

.chapter-detail,
.chapter-coordinate {
  color: rgba(231, 242, 241, 0.5);
}

.stage-access {
  transition: opacity 350ms ease;
}

.journey.has-progress .stage-access {
  opacity: 0;
}

.statement-section,
.expertise-section,
.notes-preview,
.about-preview,
.notes-hero,
.notes-index,
.about-story,
.principles-section,
.article-shell {
  --text: var(--paper-ink);
  --muted: var(--paper-muted);
  --quiet: var(--paper-quiet);
  --line: var(--paper-line);
  --line-soft: var(--paper-line-soft);
  --signal: var(--paper-signal);
  --signal-soft: rgba(0, 109, 122, 0.1);
  color: var(--paper-ink);
  color-scheme: light;
}

.statement-section {
  z-index: 8;
  margin-top: clamp(-92px, -6vw, -52px);
  padding: clamp(150px, 14vw, 220px) 0 clamp(120px, 12vw, 185px);
  border-top: 0;
  border-radius: clamp(42px, 6vw, 92px) clamp(42px, 6vw, 92px) 0 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(80, 174, 178, 0.15), transparent 26%),
    linear-gradient(145deg, #f7f4ed 0%, var(--paper) 56%, #ebe8df 100%);
  box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.24);
}

.statement-section::before {
  position: absolute;
  top: -18vw;
  right: -10vw;
  width: clamp(320px, 42vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 109, 122, 0.09);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 34% 31%, rgba(255, 255, 255, 0.55), rgba(96, 177, 177, 0.05) 42%, transparent 70%);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.25);
}

.statement-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.65fr) minmax(220px, 0.65fr);
  gap: clamp(30px, 5vw, 84px);
}

.statement-grid h2 {
  font-size: clamp(50px, 6.2vw, 96px);
  text-wrap: balance;
}

.statement-body {
  color: var(--paper-muted);
  font-size: clamp(16px, 1.2vw, 19px);
}

.statement-axis {
  top: 0;
  bottom: auto;
  height: 100%;
  background: linear-gradient(var(--paper-signal), var(--paper-line) 18%, var(--paper-line) 82%, transparent);
}

.statement-axis i,
.statement-axis b {
  border-color: var(--paper-signal);
  background: var(--paper);
}

.statement-axis span {
  color: var(--paper-quiet);
}

.expertise-section {
  position: relative;
  padding: clamp(115px, 11vw, 170px) 0 clamp(130px, 13vw, 200px);
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.92), transparent 13%),
    radial-gradient(circle at 8% 48%, rgba(0, 109, 122, 0.08), transparent 24%),
    var(--mist);
}

.expertise-section::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, var(--paper-line) 12%, var(--paper-line) 88%, transparent);
}

.expertise-section > .section-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.expertise-section .section-intro {
  position: sticky;
  top: 118px;
  display: block;
  padding-bottom: 0;
}

.expertise-section .section-intro h2 {
  margin: 0 0 30px;
  font-size: clamp(46px, 4.6vw, 70px);
}

.expertise-section .section-intro > p:last-child {
  max-width: 390px;
  margin: 0;
  color: var(--paper-muted);
  font-size: 16px;
  line-height: 1.85;
}

.expertise-list {
  border-color: var(--paper-line);
}

.expertise-row {
  grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px clamp(30px, 4vw, 66px);
  padding: clamp(38px, 4.2vw, 58px) 0;
  border-color: var(--paper-line);
}

.expertise-row::before {
  background: var(--paper-signal);
  box-shadow: none;
}

.expertise-heading {
  grid-row: 1 / 3;
  grid-template-columns: 30px 1fr;
  gap: 12px;
}

.expertise-heading h3 {
  font-size: clamp(26px, 2.35vw, 36px);
}

.expertise-heading span {
  color: var(--paper-signal);
}

.expertise-row > p {
  color: var(--paper-muted);
}

.expertise-row ul {
  grid-column: 2;
  gap: 4px 0;
}

.expertise-row li {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(23, 33, 38, 0.62);
  font-size: 10px;
}

.expertise-row li:not(:last-child)::after {
  margin: 0 9px;
  color: rgba(0, 109, 122, 0.42);
  content: "/";
}

.services-section {
  position: relative;
  overflow: hidden;
  padding: clamp(135px, 13vw, 205px) 0;
  background:
    radial-gradient(ellipse 46% 62% at 92% 18%, rgba(54, 137, 143, 0.16), transparent 70%),
    radial-gradient(ellipse 32% 22% at 20% 92%, rgba(105, 232, 255, 0.07), transparent 74%),
    linear-gradient(145deg, #071015, #0d191d 56%, #071014);
}

.services-section::before {
  position: absolute;
  top: -34vw;
  right: -18vw;
  width: 72vw;
  aspect-ratio: 1;
  border: 1px solid rgba(105, 232, 255, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 120px rgba(105, 232, 255, 0.025), 0 0 100px rgba(0, 0, 0, 0.2);
}

.services-section > .section-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(70px, 10vw, 165px);
  align-items: start;
}

.services-section .section-intro {
  position: sticky;
  top: 118px;
  display: block;
  padding-bottom: 0;
}

.services-section .section-intro h2 {
  margin: 0 0 30px;
  font-size: clamp(46px, 4.6vw, 70px);
}

.services-section .section-intro > p:last-child {
  max-width: 420px;
  margin: 0;
  color: #a7b4b1;
  line-height: 1.85;
}

.services-list {
  border-color: rgba(220, 240, 236, 0.14);
}

.service-row {
  grid-template-columns: 42px 1fr 18px;
  gap: 16px 26px;
  align-content: center;
  min-height: 164px;
  padding: 30px 0;
  border-color: rgba(220, 240, 236, 0.14);
}

.service-row::before {
  background: linear-gradient(90deg, rgba(100, 217, 235, 0.13), rgba(100, 217, 235, 0.025) 62%, transparent);
}

.service-row > span {
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 9px;
  color: #64d9eb;
  font-size: 11px;
}

.service-row h3 {
  font-size: clamp(27px, 2.45vw, 38px);
}

.service-row p {
  grid-column: 2;
  color: #a7b4b1;
}

.service-row > i {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 11px;
  height: 11px;
  border-color: rgba(100, 217, 235, 0.4);
  background: rgba(100, 217, 235, 0.14);
  box-shadow: 0 0 18px rgba(100, 217, 235, 0.12);
}

.service-row > i::before,
.service-row > i::after {
  display: none;
}

.notes-preview {
  padding: clamp(125px, 12vw, 190px) 0;
  background:
    radial-gradient(circle at 76% 12%, rgba(0, 109, 122, 0.085), transparent 25%),
    linear-gradient(155deg, #f7f4ee, var(--paper) 62%, #ede9df);
}

.notes-preview-head {
  grid-template-columns: 1.2fr 0.58fr;
  margin-bottom: clamp(62px, 7vw, 98px);
}

.notes-preview-head h2 {
  max-width: 850px;
  font-size: clamp(48px, 5.7vw, 86px);
  text-wrap: balance;
}

.notes-preview-head > p {
  color: var(--paper-muted);
}

.notes-preview .notes-list {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.notes-preview .note-row {
  border-color: var(--paper-line);
}

.notes-preview .note-row:first-child {
  grid-row: 1 / 3;
  border-right: 1px solid var(--paper-line);
  border-bottom: 0;
}

.notes-preview .note-row:first-child > a {
  min-height: 640px;
  align-content: end;
  padding: clamp(48px, 6vw, 88px) clamp(36px, 5vw, 74px) clamp(48px, 6vw, 84px) 0;
}

.notes-preview .note-row:not(:first-child) > a {
  min-height: 320px;
  padding: clamp(34px, 4vw, 54px) 0 clamp(34px, 4vw, 54px) clamp(32px, 4vw, 58px);
}

.notes-preview .note-row:not(:first-child) .note-copy strong {
  margin-top: 12px;
  font-size: clamp(24px, 2.25vw, 34px);
}

.notes-preview .note-row:not(:first-child) .note-tags {
  display: none;
}

.notes-preview .note-row > a::before {
  background: var(--paper-signal);
  box-shadow: none;
}

.notes-preview .note-copy > span:not(.note-meta, .note-tags),
.notes-preview .note-meta,
.notes-preview .note-index {
  color: var(--paper-muted);
}

.notes-preview .note-tags i,
.notes-index .note-tags i,
.article-tagline span {
  border-color: var(--paper-line-soft);
  color: rgba(23, 33, 38, 0.62);
}

.notes-preview .signal-button,
.about-preview .signal-button {
  color: var(--paper-ink);
}

.notes-preview .signal-button:hover,
.about-preview .signal-button:hover {
  color: #fff;
}

.notes-preview .signal-button:hover i,
.about-preview .signal-button:hover i {
  color: #fff;
}

.about-preview {
  min-height: 68svh;
  padding: clamp(120px, 12vw, 185px) 0;
  background:
    radial-gradient(ellipse 42% 74% at 18% 54%, rgba(0, 109, 122, 0.1), transparent 68%),
    linear-gradient(180deg, var(--mist), #dfe8e4 82%, #d9e3df);
}

.about-preview::before {
  top: 50%;
  left: 16%;
  width: min(54vw, 760px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 109, 122, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 31%, rgba(255, 255, 255, 0.5), rgba(0, 109, 122, 0.025) 42%, transparent 68%);
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.28);
  transform: translateY(-50%);
}

.about-preview-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 145px);
}

.about-monogram {
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(230px, 29vw, 450px);
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(0, 109, 122, 0.24);
  text-shadow: 0 20px 70px rgba(19, 69, 74, 0.08);
}

.about-preview-grid h2 {
  font-size: clamp(44px, 5vw, 78px);
  text-wrap: balance;
}

.about-preview-grid > div:last-child > p {
  color: var(--paper-muted);
}

.about-preview .text-link {
  border-color: var(--paper-line);
  color: rgba(23, 33, 38, 0.7);
}

.about-preview .text-link:hover {
  border-color: var(--paper-signal);
  color: var(--paper-ink);
}

.contact-section {
  min-height: 86svh;
  padding: clamp(135px, 13vw, 200px) 0 110px;
  border-top: 0;
  background:
    radial-gradient(ellipse 38% 48% at 50% 48%, rgba(49, 128, 138, 0.19), transparent 70%),
    radial-gradient(ellipse 70% 22% at 50% 100%, rgba(105, 232, 255, 0.08), transparent 76%),
    linear-gradient(180deg, #071015, #05090c 72%, #040609);
}

.contact-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 110px;
  content: "";
  background: linear-gradient(rgba(100, 217, 235, 0.68), transparent);
}

.contact-orbit {
  width: min(72vw, 900px);
  border-color: rgba(100, 217, 235, 0.14);
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.04), transparent 22%),
    radial-gradient(circle, rgba(73, 176, 187, 0.06), rgba(3, 8, 11, 0.02) 58%, transparent 70%);
  box-shadow: inset 0 0 90px rgba(100, 217, 235, 0.035), 0 30px 120px rgba(0, 0, 0, 0.22);
  animation: contact-breathe 9s ease-in-out infinite alternate;
}

.contact-orbit::before,
.contact-orbit::after {
  border-color: rgba(100, 217, 235, 0.1);
}

.contact-inner h2 {
  margin-inline: auto;
  max-width: 1100px;
  font-size: clamp(52px, 6.1vw, 92px);
  text-wrap: balance;
}

.contact-lead {
  color: #a7b4b1;
}

.wechat-copy {
  min-height: 106px;
  border-color: rgba(100, 217, 235, 0.28);
  background:
    linear-gradient(115deg, rgba(100, 217, 235, 0.08), rgba(5, 12, 16, 0.74) 42%, rgba(5, 10, 13, 0.9)),
    rgba(7, 11, 15, 0.82);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.035);
}

.wechat-copy strong {
  color: #effafa;
}

.wechat-copy::after {
  position: absolute;
  top: 50%;
  right: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--restore);
  box-shadow: 0 0 16px var(--restore);
  transform: translateY(-50%);
}

.wechat-copy > i {
  padding-right: 22px;
}

.site-footer {
  padding-top: 82px;
  background: #040609;
}

.notes-hero {
  min-height: 70svh;
  border-color: var(--paper-line);
  background:
    radial-gradient(circle at 77% 36%, rgba(0, 109, 122, 0.12), transparent 27%),
    linear-gradient(145deg, #f7f4ed, var(--paper) 62%, #e9e6dd);
}

.notes-hero .inner-hero-signal {
  border-color: rgba(0, 109, 122, 0.13);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.72), transparent 18%),
    radial-gradient(circle, rgba(0, 109, 122, 0.08), transparent 64%);
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.42), 0 30px 80px rgba(28, 71, 74, 0.08);
}

.notes-hero .inner-hero-signal::before,
.notes-hero .inner-hero-signal::after {
  border-color: rgba(0, 109, 122, 0.11);
}

.notes-hero .inner-hero-signal i {
  background: var(--paper-signal);
  box-shadow: 0 0 12px rgba(0, 109, 122, 0.28);
}

.inner-hero .section-shell > p:not(.eyebrow) {
  color: var(--paper-muted);
}

.notes-index {
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.92), transparent 12%),
    var(--mist);
}

.notes-index .notes-list,
.notes-index .note-row,
.notes-index .note-row > a,
.notes-index .search-field input {
  border-color: var(--paper-line);
}

.notes-index .search-field input {
  background: rgba(255, 255, 255, 0.34);
}

.notes-index .note-copy > span:not(.note-meta, .note-tags),
.notes-index .note-meta,
.notes-index .note-index {
  color: var(--paper-muted);
}

.notes-index .note-row > a::before {
  background: var(--paper-signal);
  box-shadow: none;
}

.notes-index .note-filters button {
  border-color: var(--paper-line-soft);
  color: var(--paper-muted);
}

.notes-index .note-filters button:hover,
.notes-index .note-filters button.is-active {
  border-color: var(--paper-signal);
  background: rgba(0, 109, 122, 0.08);
  color: var(--paper-ink);
}

.about-hero {
  background:
    radial-gradient(ellipse 42% 58% at 78% 45%, rgba(47, 130, 140, 0.18), transparent 70%),
    linear-gradient(145deg, #05090c, #0b171c 55%, #05090c);
}

.about-y::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), rgba(105, 232, 255, 0.12) 22%, rgba(7, 16, 21, 0.84) 68%);
  box-shadow: 0 0 80px rgba(105, 232, 255, 0.16), inset -12px -18px 28px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
}

.about-y i {
  width: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), var(--signal) 35%, rgba(18, 83, 94, 0.28));
  box-shadow: 0 0 22px rgba(105, 232, 255, 0.2), inset -2px 0 rgba(0, 0, 0, 0.24);
}

.about-y b {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 34% 28%, #fff, #89efff 26%, #194a52 68%, #03070a 100%);
  box-shadow: 0 0 40px rgba(105, 232, 255, 0.5);
}

.about-story {
  background:
    radial-gradient(circle at 90% 20%, rgba(0, 109, 122, 0.08), transparent 26%),
    var(--paper);
}

.about-story-grid > div p {
  color: rgba(23, 33, 38, 0.8);
}

.principles-section {
  background: var(--mist);
}

.principles-grid {
  border-color: var(--paper-line);
}

.principles-grid article {
  border-color: var(--paper-line);
  transition: background 350ms ease, transform 450ms var(--ease);
}

.principles-grid article:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.principles-grid p {
  color: var(--paper-muted);
}

.article-shell {
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 109, 122, 0.08), transparent 22%),
    linear-gradient(145deg, #f7f4ed, var(--paper) 38%, #e9efeb 100%);
}

.article-summary,
.article-toc a,
.back-link,
.article-notice,
.prose blockquote {
  color: var(--paper-muted);
}

.article-facts,
.article-facts div,
.article-toc,
.article-notice,
.prose hr {
  border-color: var(--paper-line);
}

.article-facts span,
.article-toc > p {
  color: var(--paper-quiet);
}

.prose {
  color: rgba(23, 33, 38, 0.84);
}

.prose strong {
  color: var(--paper-ink);
}

.prose code {
  border-color: rgba(23, 33, 38, 0.11);
  background: rgba(15, 31, 37, 0.07);
  color: #005d69;
}

.code-block {
  border-color: rgba(149, 204, 211, 0.16);
  background: #071015;
  box-shadow: 0 22px 50px rgba(23, 33, 38, 0.11);
}

.code-block code {
  color: #c9e7ec;
}

@keyframes contact-breathe {
  from { transform: translate(-50%, -50%) scale(0.985) rotate(-0.8deg); }
  to { transform: translate(-50%, -50%) scale(1.015) rotate(0.8deg); }
}

@media (min-width: 761px) {
  .stage-grid {
    inset: 43% -8% -30% 43%;
    width: auto;
    height: auto;
    opacity: 0.17;
    background-size: 54px 54px;
    transform: perspective(640px) rotateX(64deg);
    transform-origin: 50% 100%;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 68%);
    mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 68%);
  }
}

@media (max-width: 1080px) {
  .expertise-section::after { left: 35%; }
  .expertise-section > .section-shell,
  .services-section > .section-shell { gap: 68px; }
  .expertise-row { grid-template-columns: 1fr; }
  .expertise-heading { grid-row: auto; }
  .expertise-row ul { grid-column: 1; }
  .notes-preview .note-row:first-child > a { min-height: 570px; }
  .notes-preview .note-row:not(:first-child) > a { min-height: 285px; }
}

@media (max-width: 760px) {
  .site-header.menu-open {
    color: var(--text);
    background: rgba(5, 7, 10, 0.97);
  }
  .site-header.menu-open .site-nav a { color: rgba(241, 246, 248, 0.76); }
  .site-header.menu-open .site-nav a:hover,
  .site-header.menu-open .site-nav a[aria-current="page"] { color: var(--text); }
  .site-header.menu-open .wordmark-y i,
  .site-header.menu-open .menu-toggle i { background: var(--signal); box-shadow: 0 0 9px rgba(105, 232, 255, 0.55); }
  .site-nav { visibility: hidden; }
  .site-header.menu-open .site-nav { visibility: visible; }
  .journey { height: 560svh; }
  .chapter { width: calc(100vw - 40px); }
  .chapter h1,
  .chapter h2 { font-size: clamp(34px, 10.8vw, 50px); }
  .statement-section {
    margin-top: -42px;
    padding-block: 112px 96px;
    border-radius: 38px 38px 0 0;
  }
  .statement-grid { gap: 24px; }
  .statement-grid h2 { font-size: clamp(42px, 12vw, 60px); }
  .statement-axis { left: 20px; height: 72px; }
  .expertise-section,
  .services-section,
  .notes-preview,
  .about-preview { padding-block: 94px; }
  .expertise-section::after { display: none; }
  .expertise-section > .section-shell,
  .services-section > .section-shell { grid-template-columns: 1fr; gap: 58px; }
  .expertise-section .section-intro,
  .services-section .section-intro { position: relative; top: auto; }
  .expertise-section .section-intro h2,
  .services-section .section-intro h2 { font-size: 46px; }
  .expertise-row { gap: 18px; padding: 34px 0; }
  .expertise-heading { grid-template-columns: 26px 1fr; }
  .expertise-heading h3 { font-size: 27px; }
  .service-row { grid-template-columns: 30px 1fr 14px; min-height: 148px; gap: 12px 16px; }
  .service-row p { grid-column: 2 / -1; }
  .notes-preview-head h2 { font-size: 48px; }
  .notes-preview .notes-list { grid-template-columns: 1fr; }
  .notes-preview .note-row:first-child { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .notes-preview .note-row:first-child > a,
  .notes-preview .note-row:not(:first-child) > a { min-height: auto; padding: 38px 0; }
  .notes-preview .note-row:not(:first-child) .note-tags { display: flex; }
  .about-preview { min-height: auto; }
  .about-preview::before { left: -14%; width: 88vw; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-monogram { font-size: 58vw; }
  .contact-section { min-height: auto; padding: 120px 0 90px; }
  .contact-inner h2 { font-size: clamp(42px, 10vw, 68px); }
  .contact-orbit { width: 128vw; }
  .wechat-copy::after { display: none; }
  .wechat-copy > i { padding-right: 0; }
  .footer-brand { font-size: clamp(38px, 12vw, 72px); }
}

@media (max-height: 620px) and (orientation: landscape) {
  .chapter-coordinate { margin-bottom: 12px; }
  .chapter h1,
  .chapter h2 { margin-bottom: 10px; font-size: clamp(32px, 6.6vw, 48px); }
  .chapter-body { margin-bottom: 9px; font-size: 13px; line-height: 1.55; }
  .chapter-actions { margin-top: 14px; }
  .scroll-prompt,
  .stage-access { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-orbit { animation: none; }
}

/* Visual system v3 — light-first themes and a continuous image-led journey */
@font-face {
  font-family: "Alex Brush";
  src: url("/assets/fonts/signature/AlexBrush-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg-page: #f4f1ea;
  --bg-surface: #fbfaf6;
  --bg-alt: #e5ece8;
  --bg-elevated: #ffffff;
  --fg: #172126;
  --fg-muted: #58666a;
  --fg-quiet: #6b7778;
  --theme-line: rgba(23, 33, 38, 0.15);
  --theme-line-soft: rgba(23, 33, 38, 0.08);
  --theme-accent: #006d7a;
  --theme-accent-soft: rgba(0, 109, 122, 0.1);
  --header-bg: rgba(248, 246, 240, 0.78);
  --header-strong: rgba(248, 246, 240, 0.97);
  --journey-text-shade: rgba(244, 241, 234, 0.94);
  --ink: var(--bg-page);
  --ink-2: var(--bg-alt);
  --panel: var(--bg-elevated);
  --line: var(--theme-line);
  --line-soft: var(--theme-line-soft);
  --text: var(--fg);
  --muted: var(--fg-muted);
  --quiet: var(--fg-quiet);
  --signal: var(--theme-accent);
  --signal-soft: var(--theme-accent-soft);
  --paper: var(--bg-page);
  --mist: var(--bg-alt);
  --paper-ink: var(--fg);
  --paper-muted: var(--fg-muted);
  --paper-quiet: var(--fg-quiet);
  --paper-line: var(--theme-line);
  --paper-line-soft: var(--theme-line-soft);
  --paper-signal: var(--theme-accent);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #071015;
  --bg-surface: #0b1519;
  --bg-alt: #111d21;
  --bg-elevated: #162328;
  --fg: #f3f7f5;
  --fg-muted: #a7b4b1;
  --fg-quiet: #82908e;
  --theme-line: rgba(225, 240, 237, 0.16);
  --theme-line-soft: rgba(225, 240, 237, 0.09);
  --theme-accent: #64d9eb;
  --theme-accent-soft: rgba(100, 217, 235, 0.13);
  --header-bg: rgba(7, 16, 21, 0.78);
  --header-strong: rgba(7, 16, 21, 0.97);
  --journey-text-shade: rgba(7, 16, 21, 0.94);
  --ink: var(--bg-page);
  --ink-2: var(--bg-alt);
  --panel: var(--bg-elevated);
  --line: var(--theme-line);
  --line-soft: var(--theme-line-soft);
  --text: var(--fg);
  --muted: var(--fg-muted);
  --quiet: var(--fg-quiet);
  --signal: var(--theme-accent);
  --signal-soft: var(--theme-accent-soft);
  --paper: var(--bg-page);
  --mist: var(--bg-alt);
  --paper-ink: var(--fg);
  --paper-muted: var(--fg-muted);
  --paper-quiet: var(--fg-quiet);
  --paper-line: var(--theme-line);
  --paper-line-soft: var(--theme-line-soft);
  --paper-signal: var(--theme-accent);
}

html,
body {
  background: var(--bg-page);
  color: var(--fg);
  scrollbar-color: var(--fg-quiet) var(--bg-page);
}

body::before {
  opacity: 0.022;
  background-image: radial-gradient(currentColor 0.42px, transparent 0.72px);
  color: var(--fg);
}

.theme-ready body,
.theme-ready .site-header,
.theme-ready .site-nav,
.theme-ready section,
.theme-ready footer,
.theme-ready input,
.theme-ready button {
  transition-property: color, background-color, border-color, box-shadow;
  transition-duration: 260ms;
  transition-timing-function: ease;
}

.site-header {
  gap: 20px;
  color: var(--fg);
}

.site-nav {
  margin-left: auto;
}

.header-tools {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: inline-flex;
  min-width: 78px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid var(--theme-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elevated) 52%, transparent);
  color: var(--fg-muted);
  cursor: pointer;
}

.theme-toggle > span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.theme-toggle > i {
  position: relative;
  display: block;
  width: 27px;
  height: 15px;
  border: 1px solid var(--theme-line);
  border-radius: 99px;
  background: var(--theme-accent-soft);
}

.theme-toggle > i > b {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--theme-accent);
  box-shadow: 0 0 9px var(--theme-accent-soft);
  transition: transform 340ms var(--ease), background-color 260ms ease;
}

.theme-toggle[aria-pressed="true"] > i > b {
  transform: translateX(12px);
}

.site-header.is-scrolled,
.inner-page .site-header,
.site-header[data-surface="light"].is-scrolled,
.inner-page .site-header[data-surface="light"],
.site-header[data-surface="dark"].is-scrolled,
.inner-page .site-header[data-surface="dark"] {
  border-color: var(--theme-line-soft);
  background: var(--header-bg);
  box-shadow: 0 12px 42px color-mix(in srgb, var(--fg) 7%, transparent);
  color: var(--fg);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}

.site-header .site-nav a,
.site-header[data-surface="light"] .site-nav a,
.site-header[data-surface="dark"] .site-nav a {
  color: var(--fg-muted);
}

.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current="page"],
.site-header .site-nav .language-link,
.site-header[data-surface="light"] .site-nav .language-link,
.site-header[data-surface="dark"] .site-nav .language-link {
  color: var(--fg);
}

.site-header .site-nav .language-link,
.site-header[data-surface="light"] .site-nav .language-link,
.site-header[data-surface="dark"] .site-nav .language-link {
  border-color: var(--theme-line);
}

.site-header .wordmark-y i,
.site-header[data-surface="light"] .wordmark-y i,
.site-header[data-surface="dark"] .wordmark-y i {
  background: var(--theme-accent);
  box-shadow: 0 0 9px var(--theme-accent-soft);
}

.site-header .menu-toggle i,
.site-header[data-surface="light"] .menu-toggle i,
.site-header[data-surface="dark"] .menu-toggle i {
  background: var(--fg);
}

/* The seven-part film: one signature, then six distinct technical scenes. */
.journey {
  height: 650svh;
  background: var(--bg-page);
}

.journey-stage {
  isolation: isolate;
  color: var(--fg);
  background:
    radial-gradient(ellipse 46% 58% at 73% 49%, var(--theme-accent-soft), transparent 71%),
    var(--bg-page);
}

.journey-media,
.scene-frame,
.signature-scene,
.scene-picture,
.scene-picture img,
#signal-canvas,
.transition-lens {
  position: absolute;
}

.journey-media {
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene-frame,
.signature-scene {
  inset: 0;
  margin: 0;
  opacity: var(--scene-alpha, 0);
}

.signature-scene { z-index: 0; }
.scene-frame[data-scene-frame="1"] { z-index: 1; }
.scene-frame[data-scene-frame="2"] { z-index: 2; }
.scene-frame[data-scene-frame="3"] { z-index: 3; }
.scene-frame[data-scene-frame="4"] { z-index: 4; }
.scene-frame[data-scene-frame="5"] { z-index: 5; }
.scene-frame[data-scene-frame="6"] { z-index: 6; }

.scene-frame {
  overflow: hidden;
  -webkit-mask-image: radial-gradient(
    circle at 72% 54%,
    #000 0,
    #000 calc(var(--scene-reveal, -24%) - 11%),
    transparent calc(var(--scene-reveal, -24%) + 11%)
  );
  mask-image: radial-gradient(
    circle at 72% 54%,
    #000 0,
    #000 calc(var(--scene-reveal, -24%) - 11%),
    transparent calc(var(--scene-reveal, -24%) + 11%)
  );
}

.scene-frame.is-near,
.signature-scene.is-near {
  will-change: opacity, mask-image, -webkit-mask-image;
}

.scene-picture {
  inset: -3%;
  overflow: hidden;
  transform: translate3d(
      calc(var(--scene-x, 0px) + var(--parallax-x, 0px)),
      calc(var(--scene-y, 0px) + var(--parallax-y, 0px)),
      0
    )
    scale(var(--scene-scale, 1.02))
    rotate(var(--scene-rotate, 0deg));
  transform-origin: 72% 54%;
}

.scene-picture img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.scene-picture-dark { display: none; }
:root[data-theme="dark"] .scene-picture-light { display: none; }
:root[data-theme="dark"] .scene-picture-dark { display: block; }

.scene-glass {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  background:
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, 0.13) 49%, transparent 57%),
    radial-gradient(circle at 72% 54%, transparent 34%, color-mix(in srgb, var(--bg-page) 14%, transparent) 75%);
  opacity: 0.2;
  transform: translateX(var(--glass-shift, 0%));
  mix-blend-mode: soft-light;
}

#signal-canvas {
  z-index: 8;
  inset: 0;
  width: 100%;
  height: 100%;
}

.transition-lens {
  z-index: 7;
  top: 54%;
  left: 72%;
  width: clamp(120px, 15vw, 260px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 30%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 52%, var(--theme-accent-soft) 76%, transparent 78%);
  box-shadow: 0 0 80px color-mix(in srgb, var(--theme-accent) 9%, transparent);
  opacity: var(--transition, 0);
  transform: translate(-50%, -50%) scale(0.94);
}

.stage-vignette {
  z-index: 2;
  background:
    linear-gradient(90deg, var(--journey-text-shade) 0 22%, color-mix(in srgb, var(--journey-text-shade) 82%, transparent) 36%, transparent 59%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-page) 18%, transparent), transparent 22% 78%, color-mix(in srgb, var(--bg-page) 24%, transparent));
}

.chapter-layer { z-index: 5; }

.chapter,
.chapter.is-active {
  opacity: var(--chapter-alpha, 0);
  transform: translate3d(0, calc(-50% + var(--chapter-shift, 0px)), 0);
  transition: none;
}

.chapter:not(.is-active) { pointer-events: none; }

.chapter-actions .text-link {
  border-color: var(--theme-line);
  color: var(--fg-muted);
}

.chapter-actions .text-link:hover {
  border-color: var(--theme-accent);
  color: var(--fg);
}

.chapter h1,
.chapter h2 {
  max-width: 620px;
  color: var(--fg);
  text-wrap: balance;
}

.chapter-body {
  color: var(--fg-muted);
}

.chapter-detail,
.chapter-coordinate,
.stage-status,
.scroll-prompt,
.stage-access {
  color: var(--fg-quiet);
}

.chapter-coordinate i,
.stage-status i,
.scroll-prompt i {
  background: var(--theme-line);
}

.chapter-markers button { color: var(--fg-quiet); }
.chapter-markers button.is-active { color: var(--fg); }

.signature-scene {
  overflow: hidden;
  background:
    radial-gradient(ellipse 38% 36% at 74% 50%, var(--theme-accent-soft), transparent 72%),
    linear-gradient(112deg, transparent 48%, color-mix(in srgb, var(--bg-elevated) 42%, transparent));
}

.signature-aura {
  position: absolute;
  top: 50%;
  right: clamp(16px, 7vw, 120px);
  width: min(49vw, 760px);
  aspect-ratio: 1.45;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 10%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--bg-elevated) 78%, transparent), transparent 27%),
    radial-gradient(circle, var(--theme-accent-soft), transparent 69%);
  opacity: 0.68;
  transform: translateY(-50%) rotate(-7deg);
  animation: signature-breathe 8s ease-in-out infinite alternate;
}

.yaang-signature {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(32px, 8vw, 142px);
  width: min(48vw, 760px);
  margin: 0;
  color: var(--fg);
  font-family: "Alex Brush", "Snell Roundhand", "Segoe Script", cursive;
  font-size: clamp(126px, 17.5vw, 290px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-align: center;
  transform: translateY(-49%) rotate(-4deg);
  filter: drop-shadow(0 20px 34px color-mix(in srgb, var(--fg) 11%, transparent));
}

.yaang-signature span,
.yaang-signature i {
  display: block;
  clip-path: inset(0 100% 0 0);
  white-space: nowrap;
}

.yaang-signature i {
  position: absolute;
  inset: 0;
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--theme-accent) 58%, transparent);
  text-shadow: 0 0 22px var(--theme-accent-soft);
  transform: translate(2px, -1px);
}

.journey-media.is-ready .yaang-signature span,
.journey-media.is-ready .yaang-signature i {
  animation: signature-write 1.65s 180ms var(--ease) forwards;
}

.journey-media.is-ready .yaang-signature i {
  animation-delay: 340ms;
}

.signature-tail {
  position: absolute;
  z-index: 3;
  top: 61%;
  right: clamp(20px, 5.3vw, 90px);
  width: min(18vw, 280px);
  height: 16vh;
  min-height: 90px;
  overflow: hidden;
}

.signature-tail i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 74%;
  border-right: 1px solid var(--theme-accent);
  border-bottom: 1px solid var(--theme-accent);
  border-radius: 0 0 72% 0;
  opacity: 0;
  transform: translateX(-100%);
}

.signature-tail b {
  position: absolute;
  right: -2px;
  bottom: 24%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-accent);
  box-shadow: 0 0 18px var(--theme-accent);
  opacity: 0;
}

.journey-media.is-ready .signature-tail i {
  animation: signature-tail 1.1s 1.35s var(--ease) forwards;
}

.journey-media.is-ready .signature-tail b {
  animation: signature-dot 700ms 2.05s ease forwards, signature-pulse 2.6s 2.7s ease-in-out infinite;
}

.signature-note {
  position: absolute;
  z-index: 3;
  right: clamp(38px, 9vw, 155px);
  bottom: 25%;
  margin: 0;
  color: var(--fg-quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  opacity: 0;
}

.journey-media.is-ready .signature-note {
  animation: signature-note 800ms 1.9s ease forwards;
}

@keyframes signature-write {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 -8% 0 0); }
}

@keyframes signature-tail {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 0.72; transform: translateX(0); }
}

@keyframes signature-dot {
  to { opacity: 1; }
}

@keyframes signature-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--theme-accent); transform: scale(0.82); }
  50% { box-shadow: 0 0 28px var(--theme-accent); transform: scale(1.2); }
}

@keyframes signature-note {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 0.72; transform: translateY(0); }
}

@keyframes signature-breathe {
  from { opacity: 0.5; transform: translateY(-50%) rotate(-7deg) scale(0.98); }
  to { opacity: 0.75; transform: translateY(-50%) rotate(-5deg) scale(1.02); }
}

/* Light and dark versions use the same hierarchy on every page. */
.statement-section,
.expertise-section,
.services-section,
.notes-preview,
.about-preview,
.contact-section,
.notes-hero,
.notes-index,
.about-hero,
.about-story,
.principles-section,
.article-shell,
.site-footer {
  --text: var(--fg);
  --muted: var(--fg-muted);
  --quiet: var(--fg-quiet);
  --line: var(--theme-line);
  --line-soft: var(--theme-line-soft);
  --signal: var(--theme-accent);
  --signal-soft: var(--theme-accent-soft);
  color: var(--fg);
  color-scheme: inherit;
}

.statement-section {
  background:
    radial-gradient(circle at 88% 10%, var(--theme-accent-soft), transparent 28%),
    var(--bg-surface);
  box-shadow: 0 -24px 76px color-mix(in srgb, var(--fg) 10%, transparent);
}

.statement-section::before,
.about-preview::before {
  border-color: color-mix(in srgb, var(--theme-accent) 12%, transparent);
  background: radial-gradient(circle at 34% 31%, color-mix(in srgb, var(--bg-elevated) 64%, transparent), var(--theme-accent-soft) 44%, transparent 70%);
  box-shadow: inset 0 0 80px color-mix(in srgb, var(--bg-elevated) 30%, transparent);
}

.expertise-section,
.principles-section,
.notes-index {
  background:
    radial-gradient(circle at 8% 48%, var(--theme-accent-soft), transparent 26%),
    var(--bg-alt);
}

.services-section,
.notes-preview,
.about-story,
.article-shell {
  background:
    radial-gradient(circle at 88% 12%, var(--theme-accent-soft), transparent 27%),
    var(--bg-surface);
}

.about-preview,
.notes-hero,
.about-hero {
  background:
    radial-gradient(ellipse 42% 62% at 78% 45%, var(--theme-accent-soft), transparent 72%),
    var(--bg-alt);
}

.contact-section {
  background:
    radial-gradient(ellipse 42% 50% at 50% 48%, var(--theme-accent-soft), transparent 72%),
    var(--bg-surface);
}

.site-footer {
  background: var(--bg-surface);
}

.services-section::before,
.contact-orbit,
.contact-orbit::before,
.contact-orbit::after,
.notes-hero .inner-hero-signal,
.notes-hero .inner-hero-signal::before,
.notes-hero .inner-hero-signal::after {
  border-color: var(--theme-line-soft);
}

.services-section .section-intro > p:last-child,
.service-row p,
.contact-lead,
.footer-main p,
.about-story-grid > div p,
.principles-grid p,
.article-summary,
.article-toc a,
.back-link,
.article-notice,
.prose blockquote,
.inner-hero .section-shell > p:not(.eyebrow) {
  color: var(--fg-muted);
}

.service-row,
.services-list,
.notes-preview .notes-list,
.notes-preview .note-row,
.notes-preview .note-row:first-child,
.expertise-list,
.expertise-row,
.principles-grid,
.principles-grid article,
.article-facts,
.article-facts div,
.article-toc,
.article-notice,
.prose hr,
.site-footer {
  border-color: var(--theme-line);
}

.expertise-row li,
.note-tags i,
.article-tagline span,
.notes-preview .note-tags i,
.notes-index .note-tags i {
  color: var(--fg-muted);
  border-color: var(--theme-line-soft);
}

.notes-preview .note-copy > span:not(.note-meta, .note-tags),
.notes-preview .note-meta,
.notes-preview .note-index,
.notes-index .note-copy > span:not(.note-meta, .note-tags),
.notes-index .note-meta,
.notes-index .note-index {
  color: var(--fg-muted);
}

.notes-preview .signal-button,
.about-preview .signal-button,
.about-preview .text-link,
.prose strong {
  color: var(--fg);
}

.notes-index .search-field input {
  border-color: var(--theme-line);
  background: color-mix(in srgb, var(--bg-elevated) 54%, transparent);
  color: var(--fg);
  caret-color: var(--theme-accent);
}

.notes-index .search-field input::placeholder { color: var(--fg-quiet); }

.notes-index .note-filters button {
  border-color: var(--theme-line-soft);
  color: var(--fg-muted);
}

.notes-index .note-filters button:hover,
.notes-index .note-filters button.is-active {
  border-color: var(--theme-accent);
  background: var(--theme-accent-soft);
  color: var(--fg);
}

.contact-orbit {
  background:
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--bg-elevated) 42%, transparent), transparent 22%),
    radial-gradient(circle, var(--theme-accent-soft), transparent 68%);
  box-shadow: inset 0 0 90px color-mix(in srgb, var(--theme-accent) 4%, transparent), 0 30px 120px color-mix(in srgb, var(--fg) 8%, transparent);
}

.wechat-copy {
  border-color: color-mix(in srgb, var(--theme-accent) 30%, transparent);
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  box-shadow: 0 22px 60px color-mix(in srgb, var(--fg) 9%, transparent), inset 0 1px color-mix(in srgb, var(--bg-elevated) 70%, transparent);
}

.wechat-copy strong { color: var(--fg); }

.prose { color: color-mix(in srgb, var(--fg) 84%, transparent); }
.prose code {
  border-color: var(--theme-line-soft);
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.code-block {
  border-color: rgba(149, 204, 211, 0.16);
  background: #071015;
  color-scheme: dark;
}

.code-block code { color: #c9e7ec; }

.error-page {
  background: var(--bg-page);
  color: var(--fg);
}

@media (min-width: 1081px) {
  .scene-picture img { object-position: 50% 50%; }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .site-header { padding-inline: 24px; }
  .site-nav { gap: clamp(14px, 2vw, 24px); }
  .theme-toggle { min-width: 44px; padding-inline: 8px; }
  .theme-toggle > span { display: none; }
  .chapter { width: min(500px, 48vw); left: 6vw; }
  .chapter h1,
  .chapter h2 { font-size: clamp(42px, 5.8vw, 64px); }
  .scene-picture { inset: -2% -12% -2% -4%; transform-origin: 70% 52%; }
  .scene-picture img { object-position: 68% 50%; }
  .signature-aura { right: -2vw; width: 54vw; }
  .yaang-signature { right: 3vw; width: 52vw; font-size: clamp(118px, 18vw, 205px); }
  .signature-tail { right: 2vw; width: 18vw; }
  .signature-note { right: 6vw; }
}

@media (max-width: 760px) {
  .site-header { gap: 10px; }
  .header-tools { margin-left: auto; }
  .theme-toggle { min-width: 72px; height: 42px; padding-inline: 8px; }
  .menu-toggle { width: 44px; height: 44px; }
  .site-nav {
    background: var(--header-strong);
    color: var(--fg);
  }
  .site-header.menu-open {
    color: var(--fg);
    background: var(--header-strong);
  }
  .site-header.menu-open .site-nav a,
  .site-header.menu-open .site-nav a:hover,
  .site-header.menu-open .site-nav a[aria-current="page"] { color: var(--fg); }
  .site-header.menu-open .wordmark-y i,
  .site-header.menu-open .menu-toggle i { background: var(--theme-accent); box-shadow: 0 0 9px var(--theme-accent-soft); }

  .journey { height: 560svh; }
  .journey-stage { height: 100svh; min-height: 0; }
  @supports (height: 100dvh) {
    .journey-stage { height: 100dvh; }
  }
  .journey-media {
    bottom: auto;
    height: 55%;
  }
  .scene-frame {
    -webkit-mask-image: radial-gradient(
      circle at 67% 40%,
      #000 0,
      #000 calc(var(--scene-reveal, -24%) - 13%),
      transparent calc(var(--scene-reveal, -24%) + 13%)
    );
    mask-image: radial-gradient(
      circle at 67% 40%,
      #000 0,
      #000 calc(var(--scene-reveal, -24%) - 13%),
      transparent calc(var(--scene-reveal, -24%) + 13%)
    );
  }
  .scene-picture {
    inset: -7% -26% -8% -12%;
    transform-origin: 67% 40%;
  }
  .scene-picture img { object-position: 70% 47%; }
  .scene-glass { opacity: 0.1; }
  .transition-lens { top: 40%; left: 67%; width: 150px; }
  .stage-vignette {
    background:
      linear-gradient(0deg, var(--bg-page) 0 42%, color-mix(in srgb, var(--bg-page) 84%, transparent) 52%, transparent 72%),
      linear-gradient(90deg, color-mix(in srgb, var(--bg-page) 22%, transparent), transparent 45%);
  }
  .chapter,
  .chapter.is-active {
    top: 54%;
    bottom: auto;
    transform: translate3d(0, var(--chapter-shift, 0px), 0);
  }
  .chapter h1,
  .chapter h2 { max-width: 100%; font-size: clamp(34px, 10.5vw, 48px); }
  .chapter-body { max-width: 100%; font-size: 13px; line-height: 1.62; }
  .chapter-detail { max-width: 100%; line-height: 1.5; }
  .chapter-coordinate { margin-bottom: 12px; }
  .chapter-actions { margin-top: 20px; }
  .chapter-actions .signal-button { min-height: 44px; }
  .chapter-markers {
    top: calc(var(--header-height) + 12px);
  }
  .chapter-markers button {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .stage-status,
  .stage-access { display: none; }
  .scroll-prompt { right: 20px; bottom: max(18px, env(safe-area-inset-bottom)); left: auto; }
  .signature-aura {
    top: 46%;
    right: -17vw;
    width: 96vw;
  }
  .yaang-signature {
    top: 46%;
    right: 1vw;
    width: 92vw;
    font-size: clamp(112px, 37vw, 176px);
  }
  .signature-tail { top: 59%; right: -3vw; width: 36vw; height: 12vh; }
  .signature-note { display: none; }
  .statement-section { margin-top: -28px; }
  .wechat-copy { grid-template-columns: 1fr auto; gap: 12px; padding-inline: 18px; }
  .wechat-copy > span { grid-column: 1 / -1; padding-top: 14px; }
  .wechat-copy strong { padding-bottom: 14px; font-size: 14px; letter-spacing: 0.02em; }
  .wechat-copy > i { padding-bottom: 14px; }
}

@media (max-height: 700px) {
  .chapter-coordinate { margin-bottom: 8px; }
  .chapter-body { line-height: 1.48; }
  .chapter-detail { display: none; }
  .chapter-actions { margin-top: 12px; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .journey-stage { height: 100svh; min-height: 0; }
  @supports (height: 100dvh) {
    .journey-stage { height: 100dvh; }
  }
  .journey-media { right: 0; bottom: 0; left: 43%; width: 57%; height: 100%; }
  .scene-picture { inset: -8% -30% -8% -30%; }
  .chapter,
  .chapter.is-active { top: 50%; width: 41vw; transform: translate3d(0, calc(-50% + var(--chapter-shift, 0px)), 0); }
  .chapter-body { font-size: 12px; }
  .chapter-detail { display: none; }
  .signature-aura { right: -12vw; width: 58vw; }
  .yaang-signature { top: 49%; right: 0; width: 54vw; font-size: clamp(88px, 20vw, 150px); }
  .signature-tail { top: 62%; right: -2vw; width: 22vw; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-ready body,
  .theme-ready .site-header,
  .theme-ready .site-nav,
  .theme-ready section,
  .theme-ready footer,
  .theme-ready input,
  .theme-ready button { transition-duration: 0.01ms; }
  .home-page .journey { height: auto; }
  .home-page .journey-stage { position: relative; height: auto; min-height: 100svh; padding: 110px 0 64px; }
  .home-page .journey-media { top: 0; bottom: auto; height: 54svh; min-height: 360px; }
  .home-page .signature-scene { opacity: 1 !important; }
  .home-page .scene-frame { display: none; }
  .home-page .signature-aura { animation: none; }
  .home-page .yaang-signature span,
  .home-page .yaang-signature i { clip-path: none; animation: none; }
  .home-page .signature-tail i { opacity: 0.72; transform: none; animation: none; }
  .home-page .signature-tail b { opacity: 1; animation: none; }
  .home-page .signature-note { opacity: 0.72; animation: none; }
  .home-page #signal-canvas,
  .home-page .transition-lens { display: none; }
  .home-page .chapter-layer { position: relative; display: grid; gap: 64px; padding: 48svh 20px 20px; }
  .home-page .chapter,
  .home-page .chapter.is-active { position: relative; inset: auto; width: min(680px, 100%); opacity: 1 !important; transform: none; }
}

.no-js .journey-media { top: 0; bottom: auto; height: 54svh; min-height: 360px; }
.no-js .signature-scene { opacity: 1; }
.no-js .scene-frame { display: none; }
.no-js .yaang-signature span,
.no-js .yaang-signature i { clip-path: none; }
.no-js .signature-tail i { opacity: 0.72; transform: none; }
.no-js .signature-tail b,
.no-js .signature-note { opacity: 0.72; }
.no-js #signal-canvas,
.no-js .transition-lens { display: none; }
.no-js .chapter-layer { padding-top: 48svh; }
.no-js .chapter,
.no-js .chapter.is-active { opacity: 1; transform: none; }

/* Motion system v4 — full signature ink and scene-specific living machinery. */
.yaang-signature {
  line-height: 1.12;
  overflow: visible;
  opacity: var(--signature-alpha, 1);
  transform: translateY(calc(-49% + var(--signature-y, 0px)))
    rotate(var(--signature-rotation, -4deg))
    scale(var(--signature-scale, 1));
  transform-origin: 54% 52%;
  will-change: opacity, transform;
}

.yaang-signature span,
.yaang-signature i {
  overflow: visible;
  clip-path: inset(-30% 112% -42% -18%);
}

.journey-media.is-ready .yaang-signature span {
  animation:
    signature-write-safe 1.72s 120ms var(--ease) forwards,
    signature-ink-float 6.8s 1.9s ease-in-out infinite alternate;
}

.journey-media.is-ready .yaang-signature i {
  animation:
    signature-write-safe 1.72s 230ms var(--ease) forwards,
    signature-ink-float 7.6s 2.1s ease-in-out infinite alternate-reverse;
}

.yaang-signature::after {
  position: absolute;
  z-index: 4;
  top: 44%;
  left: 3%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--theme-accent);
  box-shadow: 0 0 12px var(--theme-accent), 0 0 34px var(--theme-accent);
  opacity: 0;
  pointer-events: none;
}

.journey-media.is-ready .yaang-signature::after {
  animation: signature-pen-trace 5.4s 240ms var(--ease) infinite;
}

@keyframes signature-write-safe {
  from { clip-path: inset(-30% 112% -42% -18%); }
  to { clip-path: inset(-30% -18% -42% -18%); }
}

@keyframes signature-ink-float {
  from { transform: translate3d(-1px, 2px, 0); }
  to { transform: translate3d(2px, -2px, 0); }
}

@keyframes signature-pen-trace {
  0%, 3% { left: 3%; top: 44%; opacity: 0; transform: scale(0.6); }
  8% { opacity: 0.92; }
  20% { left: 28%; top: 68%; opacity: 0.82; transform: scale(1); }
  34% { left: 54%; top: 42%; opacity: 0.78; }
  49% { left: 76%; top: 56%; opacity: 0.68; }
  58% { left: 98%; top: 48%; opacity: 0; transform: scale(0.7); }
  100% { left: 98%; top: 48%; opacity: 0; transform: scale(0.7); }
}

.scene-picture {
  inset: -1.25%;
}

.scene-picture img {
  backface-visibility: hidden;
  transform-origin: 68% 52%;
}

.scene-frame {
  --node-radius: clamp(70px, 8.7vw, 135px);
  --scan-travel: clamp(62px, 7.5vw, 116px);
}

.scene-frame[data-scene="devices"] { --alive-from-x: -3px; --alive-from-y: 2px; --alive-to-x: 4px; --alive-to-y: -3px; --alive-speed: 6.8s; --fx-x: 58%; --fx-y: 55%; --fx-size: clamp(118px, 15vw, 230px); }
.scene-frame[data-scene="network"] { --alive-from-x: 3px; --alive-from-y: -2px; --alive-to-x: -5px; --alive-to-y: 3px; --alive-speed: 7.6s; --fx-x: 69%; --fx-y: 52%; --fx-size: clamp(128px, 16vw, 250px); }
.scene-frame[data-scene="servers"] { --alive-from-x: -2px; --alive-from-y: 3px; --alive-to-x: 3px; --alive-to-y: -2px; --alive-speed: 6.2s; --fx-x: 76%; --fx-y: 56%; --fx-size: clamp(105px, 13vw, 210px); }
.scene-frame[data-scene="operations"] { --alive-from-x: 2px; --alive-from-y: -3px; --alive-to-x: -4px; --alive-to-y: 2px; --alive-speed: 8.2s; --fx-x: 62%; --fx-y: 55%; --fx-size: clamp(130px, 17vw, 270px); }
.scene-frame[data-scene="ai"] { --alive-from-x: -3px; --alive-from-y: 1px; --alive-to-x: 3px; --alive-to-y: -3px; --alive-speed: 7.2s; --fx-x: 61%; --fx-y: 54%; --fx-size: clamp(125px, 16vw, 255px); --fx-color: #6d5dc4; }
.scene-frame[data-scene="development"] { --alive-from-x: 2px; --alive-from-y: 2px; --alive-to-x: -3px; --alive-to-y: -2px; --alive-speed: 6.6s; --fx-x: 69%; --fx-y: 56%; --fx-size: clamp(112px, 14vw, 225px); }

.scene-frame.is-near .scene-picture img {
  animation: scene-image-alive var(--alive-speed, 7s) ease-in-out infinite alternate;
}

@keyframes scene-image-alive {
  from { transform: translate3d(var(--alive-from-x, -2px), var(--alive-from-y, 2px), 0) scale(1.002); }
  52% { transform: translate3d(0, -1px, 0) scale(1.009); }
  to { transform: translate3d(var(--alive-to-x, 3px), var(--alive-to-y, -2px), 0) scale(1.004); }
}

.scene-glass {
  z-index: 2;
  overflow: hidden;
  opacity: 0.075;
  mix-blend-mode: normal;
}

.scene-glass::before {
  position: absolute;
  inset: -18% auto -18% -32%;
  width: 18%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  filter: blur(10px);
  transform: skewX(-14deg) translateX(-120%);
  animation: scene-sheen 5.8s ease-in-out infinite;
}

@keyframes scene-sheen {
  0%, 12% { left: -32%; opacity: 0; }
  22% { opacity: 0.55; }
  58% { left: 126%; opacity: 0.25; }
  62%, 100% { left: 126%; opacity: 0; }
}

.scene-kinetic {
  position: absolute;
  z-index: 4;
  inset: 0;
  color: var(--fx-color, var(--theme-accent));
  opacity: 0.86;
  pointer-events: none;
  transform: translate3d(var(--kinetic-parallax-x, 0px), var(--kinetic-parallax-y, 0px), 0);
}

.scene-kinetic > i,
.kinetic-nodes {
  position: absolute;
  top: var(--fx-y);
  left: var(--fx-x);
}

.kinetic-core {
  width: var(--fx-size);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, currentColor 44%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, currentColor 25%, transparent), transparent 66%);
  box-shadow: 0 0 34px color-mix(in srgb, currentColor 22%, transparent), inset 0 0 22px color-mix(in srgb, currentColor 18%, transparent);
  transform: translate(-50%, -50%);
  animation: kinetic-core-pulse 2.6s ease-in-out infinite;
}

.kinetic-ring {
  width: var(--fx-size);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, currentColor 54%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 18px color-mix(in srgb, currentColor 12%, transparent);
  transform: translate(-50%, -50%) rotate(var(--ring-start, 0deg)) scale(var(--ring-scale, 1)) scaleY(var(--ring-depth, 0.38));
  animation: kinetic-ring-spin var(--ring-speed, 9s) linear infinite;
}

.kinetic-ring::after {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
  transform: translateY(-50%);
}

.kinetic-ring-b {
  width: var(--fx-size);
  --ring-start: 64deg;
  --ring-depth: 0.52;
  --ring-speed: 6.4s;
  --ring-scale: 0.72;
  animation-direction: reverse;
  opacity: 0.72;
}

.kinetic-scan {
  width: var(--fx-size);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 38% 62%, transparent);
  box-shadow: 0 0 13px currentColor;
  transform: translate(-50%, -50%) rotate(var(--scan-rotate, 0deg)) scaleX(var(--scan-scale, 1.65));
  animation: kinetic-scan 3.4s ease-in-out infinite;
}

.kinetic-nodes {
  width: 0;
  height: 0;
}

.kinetic-nodes i {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  transform: rotate(var(--node-angle, 0deg)) translateX(var(--node-radius));
  animation: kinetic-node-orbit var(--node-speed, 7.2s) linear infinite;
  animation-delay: var(--node-delay, 0s);
}

.scene-frame:not(.is-near) .scene-kinetic *,
.scene-frame:not(.is-near) .scene-glass::before {
  animation-play-state: paused;
}

@keyframes kinetic-core-pulse {
  0%, 100% { opacity: 0.38; transform: translate(-50%, -50%) scale(0.378); }
  50% { opacity: 0.96; transform: translate(-50%, -50%) scale(0.4704); }
}

@keyframes kinetic-ring-spin {
  to { transform: translate(-50%, -50%) rotate(calc(var(--ring-start, 0deg) + 1turn)) scale(var(--ring-scale, 1)) scaleY(var(--ring-depth, 0.38)); }
}

@keyframes kinetic-node-orbit {
  to { transform: rotate(calc(var(--node-angle, 0deg) + 1turn)) translateX(var(--node-radius)); }
}

@keyframes kinetic-scan {
  0%, 100% { opacity: 0; transform: translate(-50%, calc(-50% - var(--scan-travel))) rotate(var(--scan-rotate, 0deg)) scaleX(var(--scan-scale, 1.65)); }
  18% { opacity: 0.12; }
  48%, 62% { opacity: 0.86; }
  88% { opacity: 0.12; }
  100% { transform: translate(-50%, calc(-50% + var(--scan-travel))) rotate(var(--scan-rotate, 0deg)) scaleX(var(--scan-scale, 1.65)); }
}

.scene-frame[data-scene="devices"] .kinetic-ring {
  border-radius: 18%;
  --ring-depth: 0.5;
  --ring-speed: 7.8s;
}

.scene-frame[data-scene="devices"] .kinetic-ring-b { --ring-depth: 0.62; --ring-speed: 5.6s; }
.scene-frame[data-scene="network"] .kinetic-ring { --ring-depth: 0.28; --ring-speed: 8.4s; }
.scene-frame[data-scene="servers"] .kinetic-ring { --ring-depth: 0.86; --ring-speed: 5.2s; }
.scene-frame[data-scene="servers"] .kinetic-scan { --scan-scale: 2.5; --scan-rotate: 90deg; }
.scene-frame[data-scene="operations"] .kinetic-ring { border-style: dashed; --ring-depth: 0.9; --ring-speed: 7.2s; }
.scene-frame[data-scene="operations"] .kinetic-ring-b { --ring-depth: 0.9; --ring-speed: 10.6s; }
.scene-frame[data-scene="ai"] .kinetic-ring { --ring-depth: 0.32; --ring-speed: 13.5s; }
.scene-frame[data-scene="ai"] .kinetic-ring-b { --ring-depth: 0.58; --ring-speed: 17s; }
.scene-frame[data-scene="development"] .kinetic-ring { border-radius: 14%; --ring-depth: 0.72; --ring-speed: 9.8s; }
.scene-frame[data-scene="development"] .kinetic-ring-b { border-radius: 18%; --ring-depth: 0.82; --ring-speed: 7.4s; }

.transition-lens {
  animation: transition-lens-live 2.8s ease-in-out infinite;
}

@keyframes transition-lens-live {
  0%, 100% { box-shadow: 0 0 54px color-mix(in srgb, var(--theme-accent) 7%, transparent); transform: translate(-50%, -50%) scale(0.88); }
  50% { box-shadow: 0 0 96px color-mix(in srgb, var(--theme-accent) 18%, transparent); transform: translate(-50%, -50%) scale(1.06); }
}

@media (max-width: 760px) {
  .yaang-signature { right: 4vw; width: 90vw; font-size: clamp(108px, 36vw, 164px); }
  .scene-frame[data-scene="devices"] { --fx-x: 53%; --fx-y: 50%; --fx-size: 33vw; }
  .scene-frame[data-scene="network"] { --fx-x: 73%; --fx-y: 49%; --fx-size: 35vw; }
  .scene-frame[data-scene="servers"] { --fx-x: 73%; --fx-y: 53%; --fx-size: 31vw; }
  .scene-frame[data-scene="operations"] { --fx-x: 62%; --fx-y: 51%; --fx-size: 36vw; }
  .scene-frame[data-scene="ai"] { --fx-x: 58%; --fx-y: 50%; --fx-size: 35vw; }
  .scene-frame[data-scene="development"] { --fx-x: 70%; --fx-y: 52%; --fx-size: 32vw; }
  .scene-frame { --node-radius: 19vw; --scan-travel: 17vw; }
  .kinetic-nodes i { width: 5px; height: 5px; }
  .scene-kinetic { opacity: 0.78; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .yaang-signature { right: 2vw; width: 52vw; line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-media.is-ready .yaang-signature span,
  .journey-media.is-ready .yaang-signature i,
  .journey-media.is-ready .yaang-signature::after,
  .scene-frame.is-near .scene-picture img,
  .scene-glass::before,
  .scene-kinetic *,
  .transition-lens { animation: none; }
  .yaang-signature span,
  .yaang-signature i { clip-path: inset(-30% -18% -42% -18%); }
  .scene-kinetic { display: none; }
}

.no-js .yaang-signature span,
.no-js .yaang-signature i { clip-path: inset(-30% -18% -42% -18%); }
.no-js .scene-kinetic { display: none; }
