.human-record-page {
  --record-bg: #070806;
  --record-bg-soft: #0b0c0a;
  --record-text: #e8e2d5;
  --record-muted: #8d897f;
  --record-line: rgba(232, 226, 213, 0.14);
  --record-pad: clamp(24px, 5vw, 72px);
  min-width: 0;
  background: var(--record-bg);
  color: var(--record-text);
}

.human-record-page::before,
.human-record-page::after {
  display: none;
}

.human-record-page .language-switch button[aria-pressed="true"] {
  color: var(--record-text);
}

.human-record-page .site-header {
  border-bottom-color: var(--record-line);
  background: rgba(7, 8, 6, 0.94);
}

.human-record-page .brand,
.human-record-page .primary-nav a,
.human-record-page .menu-toggle {
  color: var(--record-text);
}

.human-record-page .primary-nav a {
  opacity: 0.62;
}

.human-record-page .primary-nav a:hover,
.human-record-page .primary-nav a:focus-visible {
  opacity: 1;
}

.human-record-page a:focus-visible,
.human-record-page button:focus-visible {
  outline-color: var(--record-text);
}

.human-record-page main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(232, 226, 213, 0.022), transparent 28%),
    radial-gradient(circle at 77% 58%, rgba(232, 226, 213, 0.014), transparent 34%),
    var(--record-bg);
}

.human-record-page main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image:
    radial-gradient(circle, rgba(232, 226, 213, 0.14) 0 0.45px, transparent 0.6px),
    radial-gradient(circle, rgba(232, 226, 213, 0.08) 0 0.35px, transparent 0.55px);
  background-position: 0 0, 4px 7px;
  background-size: 9px 9px, 13px 13px;
  pointer-events: none;
}

.human-record-hero {
  display: grid;
  grid-template-columns: minmax(130px, 0.24fr) minmax(0, 0.76fr);
  align-items: end;
  gap: clamp(32px, 7vw, 112px);
  width: min(1440px, 100%);
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: clamp(72px, 12vh, 152px) var(--record-pad) clamp(64px, 10vh, 120px);
}

.human-record-version,
.human-record-section-label,
.register-name span,
.current-record-register,
.current-record-question {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-transform: uppercase;
}

.human-record-version,
.human-record-section-label,
.register-name span,
.current-record-register {
  color: var(--record-muted);
}

.human-record-version {
  margin: 0 0 10px;
}

.human-record-hero-copy {
  max-width: 1000px;
}

.human-record-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--record-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 9vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.human-record-thesis {
  max-width: 31ch;
  margin: clamp(24px, 4vw, 48px) 0 0;
  color: var(--record-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.25;
}

.human-record-entry {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 22px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 12px 17px;
  border: 1px solid var(--record-line);
  color: var(--record-text);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.human-record-entry:hover,
.human-record-entry:focus-visible {
  border-color: rgba(232, 226, 213, 0.52);
  background: rgba(232, 226, 213, 0.04);
}

.human-record-proposition,
.record-systems,
.current-record {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--record-pad);
  border-top: 1px solid var(--record-line);
}

.human-record-proposition {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(320px, 0.56fr);
  gap: clamp(40px, 8vw, 120px);
}

.human-record-proposition h2,
.record-systems-heading h2 {
  max-width: 19ch;
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.human-record-rationale {
  scroll-margin-top: 76px;
}

.human-record-rationale-copy {
  max-width: 66ch;
  color: #b8b1a5;
  font-size: clamp(0.94rem, 1.05vw, 1.05rem);
  line-height: 1.78;
}

.human-record-rationale-copy p {
  margin: 0 0 1.45em;
}

.human-record-rationale-copy p:last-child {
  margin-bottom: 0;
}

.human-record-rationale-copy .human-record-rationale-axiom {
  max-width: 38ch;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--record-line);
  color: var(--record-text);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-transform: uppercase;
}

.record-sequence {
  display: grid;
  align-content: start;
}

.record-sequence p {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--record-line);
  color: #b8b1a5;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  line-height: 1.55;
}

.record-sequence p:last-child {
  color: var(--record-text);
}

.record-systems {
  scroll-margin-top: 76px;
}

.record-systems-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
  margin-bottom: clamp(48px, 8vw, 96px);
}

.record-systems-heading h2 {
  margin-top: 0;
}

.record-systems-note {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--record-muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
}

.system-registers {
  border-bottom: 1px solid var(--record-line);
}

.system-register {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  align-items: center;
  gap: clamp(32px, 7vw, 104px);
  min-height: 104px;
  padding: 22px 0;
  border-top: 1px solid var(--record-line);
}

.register-name,
.register-relation {
  margin: 0;
}

.register-name {
  display: grid;
  grid-template-columns: minmax(104px, 0.3fr) minmax(0, 0.7fr);
  align-items: baseline;
  gap: 20px;
}

.register-name strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.register-relation {
  color: #aaa398;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  letter-spacing: 0.025em;
  line-height: 1.55;
}

.register-relation span {
  display: inline-block;
  margin: 0 7px;
  color: var(--record-muted);
}

.current-record {
  padding-bottom: clamp(96px, 14vw, 176px);
}

.current-record-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  gap: clamp(40px, 9vw, 136px);
  align-items: end;
  margin-top: clamp(40px, 7vw, 80px);
}

.current-record-register {
  margin: 0 0 14px;
}

.current-record-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 9vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.current-record-title .current-record-work {
  margin: 20px 0 0;
  color: #c8c1b5;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.3;
}

.current-record-context {
  padding-top: 24px;
  border-top: 1px solid var(--record-line);
}

.current-record-question {
  max-width: 34ch;
  margin: 0;
  color: var(--record-text);
}

.current-record-entry {
  margin-top: 32px;
}

.human-record-footer {
  border-top-color: var(--record-line);
  background: var(--record-bg-soft);
  color: var(--record-muted);
}

@media (max-width: 760px) {
  .human-record-page .primary-nav {
    background: rgba(7, 8, 6, 0.98);
  }

  .human-record-hero,
  .human-record-proposition,
  .record-systems-heading,
  .current-record-layout {
    grid-template-columns: 1fr;
  }

  .human-record-hero {
    align-content: center;
    gap: var(--mobile-space-4);
    min-height: calc(100svh - 64px);
    padding-top: var(--mobile-space-7);
    padding-bottom: var(--mobile-space-7);
  }

  .human-record-hero h1 {
    font-size: clamp(3.25rem, 18vw, 5.2rem);
  }

  .human-record-version,
  .human-record-section-label,
  .register-name span,
  .current-record-register,
  .current-record-question,
  .record-sequence p,
  .register-relation {
    font-size: var(--mobile-label-size);
  }

  .record-systems-note {
    max-width: 38rem;
    font-size: var(--mobile-body-size);
    line-height: var(--mobile-body-leading);
  }

  .human-record-proposition,
  .record-systems,
  .current-record {
    padding-top: var(--mobile-space-7);
    padding-bottom: var(--mobile-space-7);
  }

  .current-record {
    padding-bottom: calc(var(--mobile-space-7) + var(--safe-area-bottom));
  }

  .human-record-proposition {
    gap: 40px;
  }

  .record-systems-heading {
    gap: 18px;
  }

  .system-register {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 26px 0;
  }

  .register-name {
    grid-template-columns: minmax(92px, 0.34fr) minmax(0, 0.66fr);
    gap: 14px;
  }

  .current-record-layout {
    gap: 48px;
  }

  .current-record-title h2 {
    font-size: clamp(3.5rem, 20vw, 5.4rem);
  }

  html[lang="zh-CN"] .human-record-hero h1,
  html[lang="zh-CN"] .current-record-title h2 {
    line-height: 1.02;
  }

  html[lang="zh-CN"] .record-systems-note {
    line-height: 1.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-record-entry {
    transition: none;
  }
}
