@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/press-start-2p.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --bg: #080909;
  --surface: #0e1010;
  --surface-raised: #131615;
  --line: #272c2a;
  --line-soft: #191d1b;
  --text: #f0f2ef;
  --text-soft: #c4c9c6;
  --muted: #878e8a;
  --dim: #515855;
  --accent: #66e3a4;
  --accent-dim: #348963;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --pixel: "Press Start 2P", "Courier New", monospace;
  --sans-cn: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
  background-color: var(--bg);
}

::selection {
  background: var(--text);
  color: var(--bg);
}

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

a:focus-visible,
summary:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

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

button,
summary {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 9, 0.88);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: min(var(--content), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--muted);
  font-size: 11px;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--text);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link:hover::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.nav-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  color: var(--text);
}

.nav-mark-glyph {
  display: block;
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  transform: rotate(12deg);
}

.page-shell {
  min-height: 100vh;
  padding-top: 62px;
}

.content-wrap {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow,
.system-label,
.section-code,
.footer-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  height: 178svh;
  overflow: clip;
  isolation: isolate;
}

.hero-stage {
  position: sticky;
  top: 62px;
  display: flex;
  align-items: stretch;
  height: calc(100svh - 62px);
  min-height: 620px;
  overflow: hidden;
  padding: 64px 0 70px;
  isolation: isolate;
}

body {
  isolation: isolate;
}

.page-shell {
  position: relative;
  z-index: 1;
}

body:not([data-page="home"]) .page-main {
  background: linear-gradient(90deg, transparent, rgba(8, 9, 9, 0.55) 12%, rgba(8, 9, 9, 0.55) 88%, transparent);
}

.hero-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.apple-replay {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: var(--apple-top, 32%);
  width: var(--apple-size, 40%);
  height: var(--apple-size, 40%);
  transform: translateX(-50%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.apple-replay:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 12px;
}

.apple-replay::after {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  color: var(--text-soft);
  font: 11px var(--sans-cn);
  content: "点击重聚";
  opacity: 0;
  transition: opacity 180ms ease;
}

.apple-replay:hover::after,
.apple-replay:focus-visible::after {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
  text-align: center;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: var(--hero-copy-alpha, 1);
  transform: translateY(calc(var(--hero-copy-shift, 0) * 1px));
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  text-transform: uppercase;
}

.pixel-title {
  margin: 0;
  color: var(--text);
  font-family: var(--pixel);
  font-size: 62px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.hero-intro {
  max-width: 46ch;
  margin: 24px auto 0;
  color: var(--text-soft);
  font-family: var(--sans-cn);
  font-size: 14px;
  line-height: 1.9;
  text-shadow: 0 2px 12px #000;
}

.hero-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(560px, 100%);
  opacity: var(--hero-copy-alpha, 1);
  transform: translateY(calc(var(--hero-copy-shift, 0) * -0.35px));
}

.hero-next {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--sans-cn);
  font-size: 12px;
  letter-spacing: 0.03em;
  opacity: calc(0.45 + (1 - var(--hero-scatter, 0)) * 0.55);
  transition: color 180ms ease, opacity 120ms linear;
}

.hero-next:hover { color: var(--accent); }

.hero-next i {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 8px 0 0 -0.2px currentColor;
}

.status-strip {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  max-width: 100%;
  margin-top: 0;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 9, 9, 0.78);
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.4;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.status-item::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(80, 232, 154, 0.7);
  content: "";
}

.status-item:nth-child(2)::before,
.status-item:nth-child(3)::before {
  width: 4px;
  height: 4px;
  background: var(--muted);
  box-shadow: none;
}

.quote-panel {
  position: relative;
  width: min(520px, 100%);
  margin-top: 25px;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #dfdfdf;
  text-align: left;
}

.quote-panel::before,
.quote-panel::after {
  display: none;
}

.quote-panel::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.quote-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.quote-text {
  margin: 0;
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 2.1;
  text-align: center;
  text-transform: uppercase;
}

.quote-credit {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-align: right;
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.section-heading::after {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
  content: "";
}

.identity-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.84);
}

.terminal-panel {
  min-height: 330px;
  border-right: 1px solid var(--line);
  padding: 26px 28px;
}

.terminal-lines {
  margin: 0;
  color: #8c8c8c;
  font-size: 10px;
  line-height: 2.05;
  white-space: pre-wrap;
}

.terminal-lines .line-accent {
  color: var(--accent);
}

.identity-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 36px 34px;
}

.identity-code {
  margin: 0 0 22px;
  color: var(--dim);
  font-size: 10px;
}

.identity-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--pixel);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.6;
  text-transform: uppercase;
}

.identity-copy p {
  max-width: 45ch;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-family: var(--sans-cn);
  font-size: 14px;
  line-height: 2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag {
  border: 1px solid var(--line);
  padding: 5px 9px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
}

.trace-field {
  padding-top: 10px;
}

.trace-grid {
  display: grid;
  grid-template-columns: repeat(52, minmax(0, 1fr));
  grid-auto-rows: 10px;
  gap: 4px;
  width: 100%;
  overflow: hidden;
}

.trace-cell {
  min-width: 0;
  background: #1c1c1c;
}

.trace-cell[data-level="1"] { background: #303030; }
.trace-cell[data-level="2"] { background: #4d4d4d; }
.trace-cell[data-level="3"] { background: #777777; }
.trace-cell[data-level="4"] { background: #a6a6a6; }

.trace-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  color: var(--dim);
  font-size: 9px;
  text-transform: uppercase;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 205px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 18px 18px;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.module-card::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--text);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease, width 180ms ease;
}

.module-card:hover {
  border-color: #3c3c3c;
  background: rgba(255, 255, 255, 0.025);
}

.module-card:hover::before {
  width: 42px;
  opacity: 1;
}

.module-index {
  color: var(--dim);
  font-size: 10px;
}

.module-card h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.module-card p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans-cn);
  font-size: 12px;
  line-height: 1.85;
}

.module-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  color: var(--text-soft);
  font-size: 10px;
  text-transform: uppercase;
}

.module-link span:last-child {
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, transform 180ms ease;
}

.module-card:hover .module-link span:last-child {
  color: var(--accent);
  transform: translateX(4px);
}

.archive-preview {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: 120px 1fr 18px;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  transition: color 180ms ease, padding 180ms ease;
}

.archive-row:hover {
  padding-right: 5px;
  padding-left: 5px;
  color: var(--text);
}

.archive-date {
  color: var(--dim);
  font-size: 10px;
}

.archive-title {
  font-size: 13px;
}

.archive-arrow {
  color: var(--muted);
  text-align: right;
}

.page-main {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 116px;
}

.page-main--narrow {
  width: min(860px, calc(100% - 32px));
}

.page-heading {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
  text-align: left;
}

.page-heading h1 {
  margin: 20px 0 0;
  color: var(--text);
  font-family: var(--pixel);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.65;
  text-transform: uppercase;
}

.page-heading p:last-child {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-family: var(--sans-cn);
  font-size: 14px;
  line-height: 1.9;
}

.timeline {
  position: relative;
  padding-left: 44px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 1px;
  background: var(--line);
  content: "";
}

.archive-entry {
  position: relative;
  margin: 0 0 46px;
}

.archive-entry::before {
  position: absolute;
  top: 2px;
  left: -37px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: var(--bg);
  content: "";
}

.archive-entry[open]::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(80, 232, 154, 0.12);
}

.archive-entry summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.archive-entry summary::-webkit-details-marker { display: none; }

.entry-code {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.entry-state {
  color: var(--dim);
  font-size: 9px;
}

.entry-title {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.entry-summary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.entry-body {
  max-width: 66ch;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 2;
}

.entry-body p {
  margin: 0 0 16px;
}

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

.article-card {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.article-card-meta,
.article-document-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--dim);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-card-meta time,
.article-document-meta time {
  color: var(--accent-dim);
}

.article-card h2 {
  margin: 18px 0 0;
  color: var(--text);
  font-family: var(--pixel);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}

.article-card h2 a,
.article-card-link,
.article-back {
  transition: color 180ms ease;
}

.article-card h2 a:hover,
.article-card-link:hover,
.article-back:hover {
  color: var(--accent);
}

.article-card > p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-family: var(--sans-cn);
  font-size: 15px;
  line-height: 1.9;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.article-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-card-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 23px;
  color: var(--text-soft);
  font-size: 11px;
}

.article-empty {
  margin: 0;
  padding: 30px 0;
  color: var(--muted);
}

.page-main--article {
  width: min(740px, calc(100% - 32px));
}

.article-document-heading {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.article-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 10px;
}

.article-document-heading h1 {
  margin: 20px 0 22px;
  color: var(--text);
  font-family: var(--pixel);
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.55;
}

.article-summary {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-family: var(--sans-cn);
  font-size: 15px;
  line-height: 1.9;
}

.article-content {
  padding: 42px 0 52px;
  color: var(--text-soft);
  font-family: var(--sans-cn);
  font-size: 17px;
  line-height: 2;
}

.article-content h2,
.article-content h3 {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  line-height: 1.7;
}

.article-content h2 {
  margin: 42px 0 18px;
  font-size: 21px;
}

.article-content h3 {
  margin: 34px 0 14px;
  font-size: 17px;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre {
  margin: 0 0 24px;
}

.article-content ul,
.article-content ol {
  padding-left: 26px;
}

.article-content li + li {
  margin-top: 8px;
}

.article-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent-dim);
  text-underline-offset: 4px;
}

.article-content a:hover {
  color: var(--accent);
}

.article-content blockquote {
  padding: 4px 0 4px 20px;
  border-left: 1px solid var(--accent-dim);
  color: var(--muted);
}

.article-content code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.86em;
}

.article-content pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.article-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.article-document-footer {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.about-heading {
  margin-bottom: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  text-align: center;
}

.about-heading h1 {
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.about-card {
  position: relative;
  min-height: 270px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.75);
  padding: 30px 32px 28px;
}

.about-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: #242424;
  content: attr(data-protocol);
  font-size: 9px;
  text-transform: uppercase;
}

.about-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 25px;
}

.about-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.about-card-index {
  color: var(--dim);
  font-size: 10px;
}

.about-card p {
  margin: 0 0 17px;
  color: var(--text-soft);
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 2;
}

.contact-list {
  display: grid;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--text-soft);
  font-weight: 500;
  text-align: right;
  text-transform: none;
}

.closing-signal {
  position: relative;
  width: min(390px, 100%);
  margin: 92px auto 0;
  border: 1px solid var(--line);
  padding: 38px 22px;
  text-align: center;
}

.closing-signal::before,
.closing-signal::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--muted);
  content: "";
}

.closing-signal::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.closing-signal::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.closing-signal p {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 2.1;
  text-transform: uppercase;
}

.signal-glyph {
  display: block;
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 16px;
}

.tech-strip {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 92px;
  border-top: 1px solid var(--line-soft);
  padding-top: 34px;
  color: var(--dim);
  font-size: 10px;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 32px 16px 42px;
  color: var(--dim);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 9px;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 550ms ease, transform 550ms ease;
}

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

@media (max-width: 760px) {
  body { font-size: 13px; }

  .site-header { height: 56px; }

  .site-nav {
    gap: 14px;
    width: calc(100% - 20px);
  }

  .nav-link { min-height: 40px; font-size: 11px; }
  .nav-mark { width: 26px; height: 26px; }
  .nav-mark-glyph { font-size: 22px; }
  .page-shell { padding-top: 56px; }
  .content-wrap,
  .page-main,
  .page-main--narrow { width: calc(100% - 24px); }

  .hero {
    height: 172svh;
  }

  .hero-stage {
    top: 56px;
    height: calc(100svh - 56px);
    min-height: 620px;
    padding: 48px 0 68px;
  }

  .hero-kicker { margin-bottom: 17px; font-size: 8px; }

  .pixel-title {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero-intro { max-width: 27ch; margin-top: 18px; font-size: 14px; line-height: 1.85; }

  .hero-next { right: 16px; bottom: 18px; font-size: 12px; }

  .status-strip {
    gap: 7px 10px;
    margin-top: 0;
    padding: 8px 10px;
    font-size: 8px;
  }

  .status-item { white-space: normal; }
  .quote-panel { margin-top: 20px; padding: 18px 0 0; }
  .quote-text { font-size: 8px; line-height: 2.2; }
  .quote-credit { margin-top: 12px; font-size: 8px; }

  .section { padding: 64px 0; }
  .identity-panel { grid-template-columns: 1fr; }
  .terminal-panel { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 18px; }
  .terminal-lines { font-size: 8px; line-height: 2; }
  .identity-copy { min-height: 0; padding: 28px 18px 30px; }
  .identity-copy h2 { font-size: 21px; line-height: 1.7; }
  .identity-copy p { margin-top: 19px; font-size: 14px; line-height: 1.9; }
  .tag-row { margin-top: 19px; }
  .tag { font-size: 8px; }

  .trace-grid { grid-auto-rows: 6px; gap: 2px; }
  .trace-caption { font-size: 7px; }
  .module-grid { grid-template-columns: 1fr; gap: 10px; }
  .module-card { min-height: 165px; }

  .archive-row { grid-template-columns: 84px 1fr 14px; gap: 10px; min-height: 66px; }
  .archive-date { font-size: 8px; }
  .archive-title { font-size: 11px; }
  .archive-arrow { font-size: 12px; }

  .page-main { padding: 78px 0 84px; }
  .page-heading { margin-bottom: 40px; padding-bottom: 26px; }
  .page-heading h1 { font-size: 24px; }
  .page-heading p:last-child { font-size: 14px; }
  .timeline { padding-left: 29px; }
  .timeline::before { left: 7px; }
  .archive-entry::before { left: -25px; width: 7px; height: 7px; }
  .archive-entry summary { display: block; }
  .entry-state { display: block; margin-top: 4px; }
  .entry-title { font-size: 16px; }
  .entry-summary { font-size: 13px; }
  .entry-body { font-size: 15px; line-height: 1.95; }

  .article-card { padding: 28px 0 32px; }
  .article-card-meta,
  .article-document-meta { gap: 7px 12px; font-size: 8px; }
  .article-card h2 { font-size: 16px; line-height: 1.8; }
  .article-card > p,
  .article-summary { font-size: 15px; line-height: 1.9; }
  .article-card-link,
  .article-back { font-size: 8px; }
  .page-main--article { width: calc(100% - 28px); }
  .article-document-heading { padding-bottom: 30px; }
  .article-back { margin-bottom: 31px; }
  .article-document-heading h1 { font-size: 23px; line-height: 1.65; }
  .article-content { padding: 36px 0 44px; font-size: 16px; line-height: 1.95; }
  .article-content h2 { font-size: 19px; }
  .article-content h3 { font-size: 16px; }
  .article-content pre { padding: 13px; }

  .about-heading { margin-bottom: 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-card { min-height: 0; padding: 23px 18px 27px; }
  .about-card p { font-size: 13px; line-height: 1.9; }
  .contact-row { align-items: flex-start; flex-wrap: wrap; }
  .contact-row strong { max-width: 100%; overflow-wrap: anywhere; }
  .closing-signal { margin-top: 62px; }
  .tech-strip { flex-wrap: wrap; gap: 13px 22px; margin-top: 60px; padding-top: 25px; font-size: 8px; }
}

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