:root {
  color-scheme: light;
  --paper: #efebe1;
  --paper-deep: #ded5c6;
  --ink: #151714;
  --ink-soft: #34362f;
  --muted: #73766b;
  --line: rgba(21, 23, 20, 0.14);
  --line-strong: rgba(21, 23, 20, 0.28);
  --seal: #b83224;
  --seal-dark: #7f2019;
  --blue-scan: #8fb5c9;
  --gold: #a77a3d;
  --max-width: 1180px;
  --radius: 6px;
}

@font-face {
  font-family: "LZZ Feibo Zhengdian";
  src: url("assets/fonts/selected-cn/feibo-zhengdian.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "LZZ Runzhi Kangxi";
  src: url("assets/fonts/selected-cn/runzhi-kangxi.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.7), transparent 26rem),
    radial-gradient(circle at 86% 72%, rgba(167, 122, 61, 0.12), transparent 28rem),
    linear-gradient(135deg, #f7f4ec 0%, var(--paper) 48%, #e6ded1 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22vw 100%, 100% 22vh;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(21, 23, 20, 0.03) 0 1px, transparent 1px 7px);
  opacity: 0.42;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(21, 23, 20, 0.06) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 20%, rgba(21, 23, 20, 0.045) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 76%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.5px);
  background-size: 21px 21px, 27px 27px, 18px 18px;
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 36px), var(--max-width));
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(21, 23, 20, 0.16);
  background: rgba(239, 235, 225, 0.74);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-header,
main > .section,
.site-footer {
  transition:
    filter 320ms ease,
    opacity 320ms ease;
}

body.has-focus-card .site-header,
body.has-focus-card main > .section,
body.has-focus-card .site-footer {
  filter: blur(5px);
  opacity: 0.42;
  pointer-events: none;
}

body.has-focus-preview .axis {
  background: rgba(184, 50, 36, 0.28);
  box-shadow: 0 0 14px rgba(184, 50, 36, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(184, 50, 36, 0.8);
  color: var(--seal);
  font-family: "LZZ Runzhi Kangxi", "STKaiti", "KaiTi", serif;
  font-size: 22px;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-text span:last-child {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: var(--seal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:focus-visible,
.contact-links a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 112px 28px 72px;
  isolation: isolate;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 9.5vh 7vw 8vh;
  z-index: -1;
  border: 1px solid rgba(21, 23, 20, 0.12);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(21, 23, 20, 0.2) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(21, 23, 20, 0.18) 50%, transparent calc(50% + 0.5px));
  opacity: 0;
  animation: gridReveal 900ms steps(5, end) 120ms forwards;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 180ms ease-out;
}

body.has-focus-card .hero::before {
  background:
    linear-gradient(90deg, transparent calc(var(--focus-x, 50%) - 0.5px), rgba(21, 23, 20, 0.28) var(--focus-x, 50%), transparent calc(var(--focus-x, 50%) + 0.5px)),
    linear-gradient(0deg, transparent calc(100% - var(--focus-y, 50%) - 0.5px), rgba(21, 23, 20, 0.24) calc(100% - var(--focus-y, 50%)), transparent calc(100% - var(--focus-y, 50%) + 0.5px));
}

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

.scan-line {
  position: absolute;
  top: 50%;
  left: -22%;
  width: 36vw;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(143, 181, 201, 0.25), rgba(255, 255, 255, 0.95), rgba(184, 50, 36, 0.75), transparent);
  box-shadow:
    0 0 20px rgba(143, 181, 201, 0.68),
    0 0 60px rgba(143, 181, 201, 0.38);
  opacity: 0;
  animation: scanPass 1800ms cubic-bezier(0.76, 0, 0.24, 1) 280ms forwards;
}

.scan-flare {
  position: absolute;
  top: calc(50% - 90px);
  left: -18%;
  width: 24vw;
  height: 180px;
  background: linear-gradient(90deg, transparent, rgba(143, 181, 201, 0.18), transparent);
  filter: blur(12px);
  opacity: 0;
  animation: scanPass 1800ms cubic-bezier(0.76, 0, 0.24, 1) 280ms forwards;
}

.coordinate-field {
  position: absolute;
  inset: 9.5vh 7vw 8vh;
  z-index: 0;
  pointer-events: none;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 360ms cubic-bezier(0.18, 0.72, 0.16, 1);
}

.axis {
  position: absolute;
  display: block;
  background: rgba(21, 23, 20, 0.22);
  transform-origin: center;
  opacity: 0;
  animation: axisReveal 900ms steps(5, end) 520ms forwards;
}

.axis-x {
  top: var(--focus-y, 50%);
  left: 10%;
  width: 80%;
  height: 1px;
  transition:
    top 1240ms cubic-bezier(0.12, 0.74, 0.18, 1),
    opacity 320ms ease,
    background-color 320ms ease,
    box-shadow 420ms ease;
}

.axis-y {
  top: 12%;
  left: var(--focus-x, 50%);
  width: 1px;
  height: 76%;
  transition:
    left 1240ms cubic-bezier(0.12, 0.74, 0.18, 1),
    opacity 320ms ease,
    background-color 320ms ease,
    box-shadow 420ms ease;
}

body.has-focus-card .axis {
  background: rgba(184, 50, 36, 0.34);
  box-shadow: 0 0 18px rgba(184, 50, 36, 0.1);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(21, 23, 20, 0.12);
  border-left-color: rgba(184, 50, 36, 0.35);
  border-radius: 50%;
  opacity: 0;
  animation: orbitReveal 1100ms steps(6, end) 780ms forwards;
  transition:
    border-color 420ms ease,
    opacity 420ms ease,
    translate 520ms cubic-bezier(0.18, 0.72, 0.16, 1);
}

.orbit-main {
  top: var(--focus-orbit-y, 25%);
  left: var(--focus-orbit-x, 50%);
  width: min(38vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition:
    top 1540ms cubic-bezier(0.12, 0.74, 0.18, 1),
    left 1540ms cubic-bezier(0.12, 0.74, 0.18, 1),
    border-color 420ms ease,
    opacity 420ms ease,
    translate 520ms cubic-bezier(0.18, 0.72, 0.16, 1);
}

.orbit-small {
  top: var(--focus-orbit-y, 36%);
  left: var(--focus-orbit-x, 53%);
  width: min(18vw, 240px);
  aspect-ratio: 1;
  border-top-color: transparent;
  border-right-color: rgba(184, 50, 36, 0.28);
  transform: translate(calc(-50% + 58px), calc(-50% + 30px));
  transition:
    top 1840ms cubic-bezier(0.12, 0.74, 0.18, 1),
    left 1840ms cubic-bezier(0.12, 0.74, 0.18, 1),
    border-color 420ms ease,
    opacity 420ms ease,
    translate 620ms cubic-bezier(0.18, 0.72, 0.16, 1);
}

body.has-focus-card .orbit {
  border-color: rgba(184, 50, 36, 0.36);
  border-left-color: rgba(184, 50, 36, 0.78);
  opacity: 1;
}

body.has-focus-card .orbit-small {
  animation: focusInnerOrbit 12000ms linear infinite;
}

.coordinate-field::before,
.coordinate-field::after {
  content: "";
  position: absolute;
  left: var(--focus-x, 50%);
  top: var(--focus-y, 50%);
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(184, 50, 36, 0.72);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    left 1340ms cubic-bezier(0.12, 0.74, 0.18, 1),
    top 1340ms cubic-bezier(0.12, 0.74, 0.18, 1),
    opacity 280ms ease,
    transform 520ms cubic-bezier(0.18, 0.72, 0.16, 1);
}

.coordinate-field::after {
  width: 4px;
  height: 4px;
  border: 0;
  background: var(--seal);
  box-shadow: 0 0 18px rgba(184, 50, 36, 0.46);
  transition:
    left 1580ms cubic-bezier(0.12, 0.74, 0.18, 1),
    top 1580ms cubic-bezier(0.12, 0.74, 0.18, 1),
    opacity 280ms ease 120ms,
    transform 520ms cubic-bezier(0.18, 0.72, 0.16, 1);
}

body.has-focus-card .coordinate-field::before,
body.has-focus-card .coordinate-field::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.has-focus-card .coordinate-field::before {
  animation: focusBracketPulse 2200ms ease-out infinite;
}

body.has-focus-card .coordinate-field::after {
  animation: focusDotPulse 2200ms ease-out infinite;
}

.corner-meta {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  color: var(--ink-soft);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0;
  animation: dataPop 360ms steps(2, end) 940ms forwards;
}

.corner-left {
  top: 108px;
  left: max(28px, 7vw);
}

.corner-right {
  top: 108px;
  right: max(28px, 7vw);
  text-align: right;
}

.corner-meta span:first-child {
  color: var(--seal);
}

.hero-center {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: titleLock 1250ms cubic-bezier(0.16, 1, 0.3, 1) 1080ms forwards;
  translate: var(--hero-shift-x, 0) var(--hero-shift-y, 0);
  transition: translate 130ms ease-out;
}

.scan-layer,
.coordinate-field,
.hud-fragments,
.archive-rail,
.measure-scale,
.hero-center,
.seal-card,
.hero-caption,
.corner-meta {
  transition:
    filter 320ms ease,
    opacity 320ms ease,
    transform 180ms ease-out,
    translate 180ms ease-out;
}

body.has-focus-card .scan-layer,
body.has-focus-card .hud-fragments,
body.has-focus-card .archive-rail,
body.has-focus-card .measure-scale,
body.has-focus-card .hero-center,
body.has-focus-card .seal-card,
body.has-focus-card .hero-caption,
body.has-focus-card .corner-meta {
  filter: blur(5px);
  opacity: 0.28;
}

body.has-focus-card .coordinate-field {
  opacity: 1;
}

.hud-fragments {
  position: absolute;
  inset: 9.5vh 7vw 8vh;
  z-index: 1;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 130ms ease-out;
  pointer-events: none;
}

.fragment {
  position: absolute;
  display: block;
  opacity: 0;
  animation: fragmentIn 580ms steps(3, end) forwards;
}

.fragment::before,
.fragment::after {
  content: "";
  position: absolute;
  display: block;
}

.fragment-a {
  top: 15%;
  left: 31%;
  width: 140px;
  height: 58px;
  border-top: 1px solid rgba(21, 23, 20, 0.16);
  border-left: 1px solid rgba(21, 23, 20, 0.12);
  animation-delay: 820ms;
}

.fragment-a::before {
  top: 10px;
  left: 18px;
  width: 54px;
  height: 3px;
  background: rgba(184, 50, 36, 0.78);
}

.fragment-b {
  top: 32%;
  right: 19%;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(21, 23, 20, 0.1);
  border-radius: 50%;
  border-left-color: transparent;
  animation-delay: 960ms;
}

.fragment-b::after {
  right: -9px;
  top: 52px;
  width: 24px;
  height: 4px;
  background: var(--seal);
  box-shadow: 0 9px 0 rgba(184, 50, 36, 0.48);
}

.fragment-c {
  left: 8%;
  bottom: 24%;
  width: 128px;
  height: 46px;
  background:
    repeating-linear-gradient(135deg, rgba(21, 23, 20, 0.1) 0 1px, transparent 1px 8px);
  clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
  animation-delay: 1080ms;
}

.fragment-d {
  right: 10%;
  bottom: 18%;
  width: 84px;
  height: 1px;
  background: rgba(21, 23, 20, 0.2);
  animation-delay: 1220ms;
}

.fragment-d::before {
  right: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  border-right: 1px solid rgba(21, 23, 20, 0.24);
  border-bottom: 1px solid rgba(21, 23, 20, 0.24);
}

.fragment-e {
  top: 52%;
  left: 52%;
  width: 12px;
  height: 12px;
  background: var(--seal);
  animation-delay: 1340ms;
}

.archive-rail {
  position: absolute;
  left: max(8px, 2.4vw);
  bottom: 10vh;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: rgba(21, 23, 20, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3.2vw, 48px);
  line-height: 0.9;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0;
  transform: translateY(12px);
  animation: dataPop 420ms steps(2, end) 1500ms forwards;
  pointer-events: none;
}

.archive-rail span {
  opacity: 0.58;
}

.archive-rail span:nth-child(2) {
  color: var(--seal);
}

.measure-scale {
  position: absolute;
  right: max(18px, 4vw);
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 16px;
  justify-items: center;
  color: rgba(21, 23, 20, 0.58);
  font-family: "Courier New", monospace;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
  animation: dataPop 420ms steps(2, end) 1560ms forwards;
  pointer-events: none;
}

.measure-scale::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: rgba(21, 23, 20, 0.18);
}

.system-label,
.section-kicker,
.section-index,
.item-index {
  color: var(--seal);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-label {
  position: relative;
  margin-bottom: 10px;
  padding-left: 54px;
}

.system-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--seal);
  transform: translateY(-50%);
}

h1 {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 22px;
  line-height: 1;
}

.cn-name {
  position: relative;
  display: block;
  color: var(--ink);
  font-family: "LZZ Runzhi Kangxi", "LZZ Feibo Zhengdian", "STKaiti", "KaiTi", serif;
  font-size: clamp(78px, 12.2vw, 154px);
  font-weight: 400;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 18px 38px rgba(21, 23, 20, 0.13);
}

.cn-name::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: 8%;
  width: 18px;
  height: 4px;
  background: var(--seal);
  box-shadow: 0 10px 0 rgba(184, 50, 36, 0.45);
}

.en-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7.2vw, 92px);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 2vw, 18px);
}

.map-point {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 242px;
  min-height: 92px;
  padding: 12px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  animation: pointPop 360ms steps(2, end) forwards;
  transition: translate 130ms ease-out;
  appearance: none;
  isolation: isolate;
}

body.has-focus-card .map-point {
  filter: blur(5px);
  opacity: 0.28;
}

body.has-focus-card .map-point.is-focused,
body.has-focus-card .map-point.is-active {
  z-index: 15;
  filter: none;
  opacity: 1;
}

.map-point::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(21, 23, 20, 0.16);
  background:
    var(--panel-image),
    linear-gradient(135deg, rgba(248, 244, 234, 0.94), rgba(239, 235, 225, 0.66));
  background-blend-mode: multiply, normal;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 46px rgba(21, 23, 20, 0.12);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.map-point:hover::before,
.map-point:focus-visible::before,
.map-point.is-active::before,
.map-point.is-focused::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52) 0 1px, transparent 1px 10px),
    linear-gradient(0deg, rgba(21, 23, 20, 0.05) 0 1px, transparent 1px 13px),
    var(--panel-image),
    linear-gradient(135deg, rgba(248, 244, 234, 0.96), rgba(239, 235, 225, 0.72));
}

.map-point::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: -1;
  width: 34px;
  height: 4px;
  background: var(--seal);
  opacity: 0;
  transition: opacity 260ms ease;
}

.map-point:hover::before,
.map-point:focus-visible::before,
.map-point.is-active::before,
.map-point.is-focused::before {
  opacity: 1;
  transform: scale(1.04);
}

.map-point:hover::after,
.map-point:focus-visible::after,
.map-point.is-active::after,
.map-point.is-focused::after {
  opacity: 1;
}

.map-point:hover,
.map-point:focus-visible,
.map-point.is-active,
.map-point.is-focused {
  z-index: 7;
}

.map-point:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 4px;
}

.point-dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
}

.point-dot::before {
  content: "";
  position: absolute;
  inset: -38px;
  border-top: 1px solid rgba(21, 23, 20, 0.16);
  transform: translateY(42px);
}

.point-text {
  display: grid;
  gap: 0;
  min-width: 0;
}

.point-text strong {
  color: var(--ink);
  font-family: "LZZ Runzhi Kangxi", "LZZ Feibo Zhengdian", "STKaiti", "KaiTi", serif;
  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 0.92;
}

.point-text small {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
}

.point-text em {
  display: block;
  max-width: 198px;
  max-height: 0;
  margin-top: 0;
  color: rgba(21, 23, 20, 0.78);
  font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition:
    max-height 320ms ease,
    margin-top 320ms ease,
    opacity 260ms ease 80ms,
    transform 260ms ease 80ms;
}

.map-point:hover .point-text em,
.map-point:focus-visible .point-text em,
.map-point.is-active .point-text em,
.map-point.is-focused .point-text em {
  max-height: 92px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
}

.focus-panel {
  position: absolute;
  left: var(--panel-x, 48%);
  top: var(--panel-y, 34%);
  z-index: 14;
  width: min(420px, calc(100vw - 48px));
  min-height: 210px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(21, 23, 20, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 0 1px, transparent 1px 12px),
    linear-gradient(0deg, rgba(21, 23, 20, 0.045) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(247, 244, 236, 0.94), rgba(222, 213, 198, 0.84));
  box-shadow:
    0 26px 70px rgba(21, 23, 20, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px) scale(0.98);
  transition:
    left 220ms cubic-bezier(0.16, 1, 0.3, 1),
    top 220ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease,
    filter 260ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

.focus-panel::before {
  inset: 10px;
  border-top: 1px solid rgba(21, 23, 20, 0.12);
  border-left: 1px solid rgba(21, 23, 20, 0.08);
}

.focus-panel::after {
  right: 18px;
  top: 18px;
  width: 42px;
  height: 4px;
  background: var(--seal);
  box-shadow: 0 9px 0 rgba(184, 50, 36, 0.44);
}

body.has-focus-card .focus-panel[aria-hidden="false"] {
  opacity: 1;
  filter: none;
  transform: translateY(0) scale(1);
}

.focus-panel-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--seal);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.focus-status {
  color: rgba(21, 23, 20, 0.56);
}

.focus-panel-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: end;
}

.focus-cn {
  color: var(--ink);
  font-family: "LZZ Runzhi Kangxi", "LZZ Feibo Zhengdian", "STKaiti", "KaiTi", serif;
  font-size: clamp(64px, 6vw, 94px);
  line-height: 0.9;
}

.focus-en {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.focus-desc {
  margin: 0;
  color: rgba(21, 23, 20, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.focus-rule {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 22px;
  background: var(--seal);
}

.point-design {
  top: 14%;
  left: 61%;
  transform: translate(-3%, 6px);
  animation-delay: 1420ms;
  --panel-image:
    radial-gradient(circle at 20% 20%, rgba(184, 50, 36, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(21, 23, 20, 0.1) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(21, 23, 20, 0.05) 0 1px, transparent 1px 10px);
}

.point-product {
  top: 52%;
  left: 10%;
  animation-delay: 1500ms;
  --panel-image:
    radial-gradient(circle at 74% 30%, rgba(143, 181, 201, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(21, 23, 20, 0.08) 0 18%, transparent 18%),
    repeating-linear-gradient(135deg, rgba(21, 23, 20, 0.07) 0 1px, transparent 1px 11px);
}

.point-research {
  top: 43%;
  right: 5%;
  animation-delay: 1580ms;
  --panel-image:
    radial-gradient(circle at 36% 50%, rgba(21, 23, 20, 0.12), transparent 26%),
    radial-gradient(circle at 78% 26%, rgba(184, 50, 36, 0.16), transparent 24%),
    linear-gradient(135deg, transparent 0 48%, rgba(21, 23, 20, 0.1) 48% 49%, transparent 49%);
}

.point-code {
  left: 18%;
  bottom: 7%;
  animation-delay: 1660ms;
  --panel-image:
    linear-gradient(90deg, rgba(21, 23, 20, 0.11), transparent 42%),
    repeating-linear-gradient(0deg, rgba(21, 23, 20, 0.06) 0 1px, transparent 1px 13px),
    radial-gradient(circle at 82% 70%, rgba(167, 122, 61, 0.22), transparent 30%);
}

.point-writing {
  right: 19%;
  bottom: 7%;
  animation-delay: 1740ms;
  --panel-image:
    radial-gradient(circle at 22% 78%, rgba(184, 50, 36, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent),
    repeating-linear-gradient(90deg, rgba(21, 23, 20, 0.06) 0 1px, transparent 1px 18px);
}

.seal-card {
  position: absolute;
  right: max(34px, 8vw);
  bottom: 12vh;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 86px;
  height: 86px;
  border: 2px solid rgba(184, 50, 36, 0.78);
  color: var(--seal);
  font-family: "LZZ Runzhi Kangxi", "STKaiti", "KaiTi", serif;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transform: scale(1.08);
  animation: sealPress 420ms cubic-bezier(0.76, 0, 0.24, 1) 1900ms forwards;
  transition: translate 180ms ease-out;
}

.seal-card span {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(184, 50, 36, 0.32);
}

.seal-card span:last-child {
  border-right: 0;
}

.hero-caption {
  position: absolute;
  right: max(28px, 7vw);
  bottom: 24px;
  z-index: 3;
  width: min(240px, 38vw);
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  opacity: 0;
  animation: dataPop 360ms steps(2, end) 1980ms forwards;
}

.hero-caption p {
  margin-bottom: 0;
}

.red-rule {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--seal);
}

.section {
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.identity-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 72px;
  align-items: start;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  color: var(--ink-soft);
  font-size: 18px;
}

.section-copy p:last-child,
.work-item p:last-child,
.timeline p:last-child,
.contact-section p:last-child,
.site-footer p {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-top: 10px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.work-item {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(0deg, transparent calc(100% - 1px), rgba(21, 23, 20, 0.1) calc(100% - 1px));
  overflow: hidden;
}

.work-item:last-child {
  border-right: 0;
}

.work-item::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(184, 50, 36, 0.55);
  border-bottom: 1px solid rgba(184, 50, 36, 0.55);
}

.work-item h3 {
  margin: 78px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
}

.work-item p,
.timeline p,
.contact-section p {
  color: var(--muted);
}

.notes-section {
  padding-top: 90px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.timeline article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
}

.timeline time {
  display: block;
  margin-bottom: 34px;
  color: var(--seal);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.25;
}

.contact-section {
  margin-bottom: 70px;
  padding: 42px;
  border: 1px solid rgba(21, 23, 20, 0.22);
  background:
    linear-gradient(135deg, rgba(21, 23, 20, 0.96), rgba(32, 34, 30, 0.92)),
    var(--ink);
  color: #f8f4ea;
}

.contact-section h2 {
  color: #f8f4ea;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(248, 244, 234, 0.2);
  color: #f8f4ea;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
}

.contact-links a::after {
  content: "+";
  color: var(--seal);
  font-size: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@keyframes gridReveal {
  0% {
    opacity: 0;
    clip-path: inset(48% 50% 48% 50%);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
  }
}

@keyframes scanPass {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  12%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(146vw);
  }
}

@keyframes axisReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
  }
}

@keyframes orbitReveal {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes titleLock {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(10px);
  }

  55% {
    opacity: 0.86;
    transform: translateY(2px) scale(1.002);
    filter: blur(1.6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fragmentIn {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
  }
}

@keyframes dataPop {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pointPop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sealPress {
  0% {
    opacity: 0;
    transform: scale(1.18) rotate(1.5deg);
    filter: blur(2px);
  }

  78% {
    opacity: 1;
    transform: scale(0.96) rotate(-0.5deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes focusBracketPulse {
  0%,
  78%,
  100% {
    border-color: rgba(184, 50, 36, 0.72);
    box-shadow: none;
  }

  42% {
    border-color: rgba(184, 50, 36, 0.96);
    box-shadow: 0 0 0 6px rgba(184, 50, 36, 0.06);
  }
}

@keyframes focusDotPulse {
  0%,
  70%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  36% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0.72);
  }
}

@keyframes focusInnerOrbit {
  0% {
    transform: translate(calc(-50% + 58px), calc(-50% + 30px)) rotate(0deg);
  }

  25% {
    transform: translate(calc(-50% + 18px), calc(-50% + 68px)) rotate(90deg);
  }

  50% {
    transform: translate(calc(-50% - 56px), calc(-50% + 18px)) rotate(180deg);
  }

  75% {
    transform: translate(calc(-50% - 10px), calc(-50% - 58px)) rotate(270deg);
  }

  100% {
    transform: translate(calc(-50% + 58px), calc(-50% + 30px)) rotate(360deg);
  }
}

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 920px;
    padding-top: 148px;
  }

  .corner-right {
    display: none;
  }

  .point-design {
    top: 25%;
    left: 52%;
  }

  .point-product {
    left: 8%;
  }

  .point-research {
    right: 8%;
  }

  .point-code {
    left: 12%;
    bottom: 19%;
  }

  .point-writing {
    right: 12%;
    bottom: 15%;
  }

  .identity-grid,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .work-item:nth-child(2) {
    border-right: 0;
  }

  .work-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    min-height: 940px;
    padding: 140px 18px 64px;
  }

  .hero::before,
  .coordinate-field {
    inset: 132px 18px 64px;
  }

  .corner-left {
    top: 118px;
    left: 18px;
  }

  .cn-name {
    font-size: clamp(68px, 20vw, 94px);
  }

  .cn-name::after {
    right: -16px;
    width: 13px;
  }

  .en-name {
    font-size: clamp(38px, 11.5vw, 56px);
  }

  .hero-summary {
    max-width: 290px;
  }

  .point-text strong {
    font-size: 42px;
  }

  .point-text small {
    font-size: 13px;
  }

  .point-text em {
    max-width: 150px;
    max-height: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .map-point:hover .point-text em,
  .map-point:focus-visible .point-text em,
  .map-point.is-active .point-text em,
  .map-point.is-focused .point-text em {
    max-height: 54px;
    margin-top: 6px;
  }

  .focus-panel {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 24px;
    width: auto;
    min-height: 176px;
    padding: 16px 16px 18px;
  }

  .focus-panel-body {
    gap: 14px;
  }

  .focus-cn {
    font-size: 58px;
  }

  .focus-en {
    font-size: 30px;
  }

  .focus-desc {
    font-size: 12px;
  }

  .point-design {
    top: 20%;
    left: 50%;
  }

  .point-product {
    top: 26%;
    left: 7%;
  }

  .point-research {
    top: 67%;
    right: 7%;
  }

  .point-code {
    left: 8%;
    bottom: 16%;
  }

  .point-writing {
    top: 78%;
    right: 12%;
    bottom: auto;
  }

  .map-point {
    width: 148px;
    min-height: 72px;
    padding: 8px 9px;
    gap: 8px;
  }

  .map-point::after {
    width: 22px;
    height: 3px;
  }

  .map-point:not(.is-active):not(:focus-visible)::before,
  .map-point:not(.is-active):not(:focus-visible)::after {
    opacity: 0;
  }

  .archive-rail {
    display: none;
  }

  .measure-scale {
    right: 12px;
    font-size: 12px;
    opacity: 0.55;
  }

  .fragment-c {
    left: 10%;
    bottom: 24%;
    width: 120px;
    opacity: 0.35;
  }

  .seal-card {
    right: 28px;
    bottom: 128px;
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .hero-caption {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .work-item,
  .work-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-item:last-child {
    border-bottom: 0;
  }

  .contact-section {
    padding: 28px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
