:root {
  color-scheme: dark;
  --ink: #09171e;
  --deep: #061219;
  --surface: #10242d;
  --text: #edf4f4;
  --soft: #b4c5cb;
  --muted: #9bb2bb;
  --line: #2a3e47;
  --accent: #63d8df;
  --gutter: clamp(20px, 5vw, 72px);
  --width: 1200px;
  --header: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font: 16px/1.75 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: #63d8df33; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.25; }
[id] { scroll-margin-top: calc(var(--header) + 24px); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; background: var(--text); color: var(--deep); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 32px; height: var(--header); padding: 0 max(var(--gutter), calc((100vw - var(--width)) / 2)); background: var(--deep); border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand { margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand span, .footer-brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 22px; letter-spacing: .1em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { display: flex; align-items: center; min-height: 44px; color: var(--soft); font-size: 14px; text-decoration: none; border-bottom: 2px solid transparent; transition: color 160ms, border-color 160ms; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent); border-color: var(--accent); }
.header-action, .button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 4px; font-weight: 650; text-decoration: none; transition: background 180ms, color 180ms, border-color 180ms; }
.header-action { min-height: 44px; font-size: 14px; }
.header-action:hover, .button-light:hover { background: var(--surface); border-color: var(--accent); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 48px; min-height: min(660px, calc(100svh - var(--header))); padding: 64px max(var(--gutter), calc((100vw - var(--width)) / 2)) 72px; background: var(--deep); overflow: clip; }
.hero-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.field-ring { position: absolute; width: 680px; height: 680px; border: 1px solid #20363e; border-radius: 50%; right: -80px; top: -30px; }
.field-ring-two { width: 520px; height: 520px; top: 50px; right: 0; }
.field-axis, .mark-glow { display: none; }
.hero-copy { min-width: 0; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--soft); font-size: 14px; letter-spacing: .03em; }
.kicker span { color: var(--accent); }
h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; margin-top: 28px; font-size: clamp(72px, 7.5vw, 108px); font-weight: 650; letter-spacing: -.04em; line-height: 1.12; }
.hero-english { color: var(--muted); font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.hero-statement { margin-top: 16px; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.02em; }
.hero-summary { max-width: 31em; margin-top: 24px; color: var(--soft); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.button-primary { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.button-primary:hover { background: #a3eef0; border-color: #a3eef0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 14px; text-decoration: none; }
.text-link span { transition: transform 180ms; }
.text-link:hover { color: var(--accent); }
.text-link:hover span { transform: translateX(4px); }
.hero-mark { justify-self: end; width: min(100%, 440px); }
.hero-mark img { aspect-ratio: 1; object-fit: contain; }
.section-pad { padding: 88px var(--gutter); }
.origin, .research, .system, .workbench, .site-footer { max-width: calc(var(--width) + var(--gutter) * 2); margin: auto; }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.origin-media { position: relative; align-self: stretch; min-height: 440px; overflow: hidden; border-radius: 4px; background: var(--surface); }
.origin-media picture, .origin-media img { width: 100%; height: 100%; }
.origin-media img { object-fit: cover; }
.origin-media::after { position: absolute; inset: 0; background: linear-gradient(transparent 35%, #061219ed); content: ''; }
.origin-quote { position: absolute; z-index: 1; left: 32px; right: 24px; bottom: 28px; }
.origin-quote blockquote { margin: 0; font: 28px/1.5 Georgia, 'Songti SC', serif; }
.origin-quote a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 13px; text-decoration: none; }
h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.035em; }
.title-line { display: block; }
.origin-copy > p, .section-head > p, .system-intro > p, .workbench-copy > p { margin-top: 20px; color: var(--soft); }
.meaning-pair { display: grid; gap: 20px; margin: 28px 0 0; }
.meaning-pair > div { border-top: 1px solid var(--line); padding-top: 18px; }
.meaning-pair dt { display: flex; align-items: center; gap: 16px; }
.meaning-pair dt span { font: 30px/1.2 'Songti SC', serif; color: var(--accent); }
.meaning-pair strong { font-size: 16px; font-weight: 600; }
.meaning-pair dd { margin: 8px 0 0 46px; font-size: 14px; color: var(--muted); }
.research, .system, .workbench { border-top: 1px solid var(--line); }
.section-head, .system-intro { max-width: 760px; }
.research-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 40px 0 0; }
.research-path > li { padding-top: 24px; border-top: 2px solid var(--accent); }
.path-body h3 { font-size: 28px; font-weight: 600; }
.path-body > p { color: var(--soft); margin-top: 16px; }
.path-body ul { list-style: none; margin: 20px 0 0; padding: 0; }
.path-body li { position: relative; padding: 6px 0 6px 16px; font-size: 14px; color: var(--muted); }
.path-body li::before { content: ''; position: absolute; left: 0; top: 17px; width: 5px; height: 2px; background: var(--accent); }
.system-map { display: grid; grid-template-columns: 240px 1fr 1fr; column-gap: 40px; margin-top: 40px; }
.map-core { grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.map-core img { width: 160px; height: 160px; }
.map-core strong { font-size: 22px; margin-top: 16px; }
.map-core span { color: var(--muted); font-size: 12px; margin-top: 8px; }
.map-layer { padding: 24px 0; border-top: 1px solid var(--line); }
.map-label { color: var(--accent); font-size: 16px; font-weight: 600; }
.map-layer p { margin-top: 12px; color: var(--soft); font-size: 14px; }
.memory-line { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 32px; margin-top: 24px; border-top: 1px solid var(--line); }
.memory-line > p { color: var(--soft); font-size: 14px; }
.memory-line ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.memory-line span, .memory-line small { display: block; }
.memory-line span { font-size: 16px; }
.memory-line small { margin-top: 8px; color: var(--muted); font-size: 12px; }
.workbench { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; }
.workbench-copy .button { margin-top: 28px; }
.button-light { flex-wrap: wrap; }
.button-light span { font-size: 12px; color: var(--muted); }
.workbench-media { min-width: 0; }
.workbench-media a { display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color 180ms; }
.workbench-media a:hover { border-color: var(--accent); }
.workbench-media img { width: 100%; }
.workbench-media figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { margin-right: auto; }
.footer-brand strong { color: var(--text); font-size: 14px; }
.footer-brand small { margin-top: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: arrive 360ms ease-out; }
  @keyframes arrive { from { transform: translateY(12px); } to { transform: none; } }
}
@media (max-width: 1000px) {
  .site-header { gap: 20px; }
  .site-header nav { gap: 20px; }
  .hero { gap: 24px; }
  .origin-grid { grid-template-columns: 1fr; gap: 32px; }
  .origin-media { min-height: 0; aspect-ratio: 16 / 9; }
  .system-map { grid-template-columns: 180px 1fr 1fr; column-gap: 24px; }
  .memory-line { grid-template-columns: 1fr; gap: 20px; }
  .workbench { grid-template-columns: 1fr; gap: 32px; }
  .workbench-copy { max-width: 700px; }
}
@media (max-width: 700px) {
  :root { --header: 68px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 0; padding-top: 40px; padding-bottom: 32px; }
  .hero-mark { width: 200px; margin: 28px auto 0; justify-self: center; }
  .field-ring { right: -320px; top: 160px; }
  .field-ring-two { display: none; }
  .kicker { font-size: 12px; gap: 4px 12px; }
  h1 { margin-top: 24px; font-size: 76px; }
  .hero-english { font-size: 24px; }
  .hero-statement { font-size: 27px; }
  .hero-summary { margin-top: 16px; font-size: 16px; }
  .hero-actions { gap: 8px 16px; margin-top: 24px; }
  .section-pad { padding-top: 56px; padding-bottom: 56px; }
  .origin-grid { grid-template-columns: 1fr; }
  .origin-media { min-height: 0; aspect-ratio: 4 / 3; }
  .origin-quote { left: 24px; bottom: 20px; }
  .origin-quote blockquote { font-size: 26px; }
  .research-path { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .research-path > li { padding-top: 20px; }
  .path-body h3 { font-size: 26px; }
  .path-body ul { margin-top: 12px; }
  .system-map { grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 24px; }
  .map-core { grid-column: 1 / -1; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 16px; justify-content: flex-start; padding: 0 0 24px; text-align: left; }
  .map-core img { width: 64px; height: 64px; }
  .map-core strong { margin: 0; }
  .map-core span { width: 100%; margin: 0; }
  .memory-line ol { grid-template-columns: 1fr 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 560px) {
  .header-action { padding: 8px 16px; }
  .brand small { font-size: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; width: 100%; }
  .system-map { grid-template-columns: 1fr; }
  .map-core { grid-column: auto; }
}
@media (max-height: 600px) and (min-width: 701px) { .hero { min-height: 540px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
