:root {
  --ink: #1d1a16;
  --ink-soft: #403a32;
  --paper: #eee7d9;
  --paper-light: #f7f2e8;
  --paper-deep: #d7cbb7;
  --wine: #7b2f2d;
  --wine-dark: #4e1d1c;
  --green: #24483a;
  --green-light: #7f9a89;
  --brass: #b99a61;
  --wood: #4a2d1d;
  --night: #181613;
  --line: rgba(48, 40, 31, 0.24);
  --light-line: rgba(239, 229, 210, 0.2);
  --page-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 18px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--wine);
  color: var(--paper-light);
}

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

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(34, 29, 23, 0.022) 0, rgba(34, 29, 23, 0.022) 1px, transparent 1px, transparent 4px),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 72%, rgba(51,39,28,.13) 0 1px, transparent 1.5px);
  background-size: auto, 13px 13px, 19px 19px;
  mix-blend-mode: multiply;
}

.courtbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  height: 76px;
  padding: 0 clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(245, 238, 224, 0.22);
  color: var(--paper-light);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.courtbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.courtbar-brand span {
  font-family: Georgia, serif;
  font-weight: 700;
}

.courtbar-brand b {
  padding-left: 12px;
  border-left: 1px solid rgba(245, 238, 224, 0.35);
  font-weight: 500;
}

.courtbar nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 42px);
}

.courtbar nav a {
  color: rgba(247, 242, 232, 0.7);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: color 180ms ease;
}

.courtbar nav a:hover {
  color: var(--paper-light);
}

.issue {
  justify-self: end;
  color: var(--brass);
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.progress-rail {
  position: fixed;
  right: 20px;
  top: 17vh;
  z-index: 15;
  width: 28px;
  height: 66vh;
  pointer-events: none;
}

.progress-rule {
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--brass), rgba(123, 47, 45, 0.12));
}

.progress-gavel {
  position: absolute;
  left: 3px;
  top: 0;
  width: 28px;
  height: 28px;
  transform: rotate(-5deg);
  transform-origin: 55% 50%;
  transition: transform 90ms linear;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.28));
}

.progress-gavel b {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 17px;
  height: 9px;
  border-radius: 2px;
  background: var(--wine);
}

.progress-gavel i {
  position: absolute;
  left: 14px;
  top: 10px;
  width: 15px;
  height: 3px;
  border-radius: 3px;
  background: var(--wood);
  transform: rotate(48deg);
  transform-origin: left center;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  padding: clamp(130px, 15vh, 180px) clamp(52px, 8vw, 130px) clamp(70px, 9vh, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(42px, 7vw, 120px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.98) 0 44%, rgba(18, 16, 14, 0.78) 68%, rgba(18, 16, 14, 0.94) 100%),
    repeating-linear-gradient(90deg, transparent 0 11vw, rgba(238,231,217,.035) 11vw calc(11vw + 1px));
  color: var(--paper-light);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 76px 50% 0 auto;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(185,154,97,.46), transparent);
}

.hero::after {
  content: "08";
  position: absolute;
  right: -0.05em;
  bottom: -0.24em;
  color: rgba(238, 231, 217, 0.034);
  font: 700 min(48vw, 680px)/0.8 Georgia, serif;
  letter-spacing: -0.12em;
}

.hero-file {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
}

.file-label,
.section-index,
.book-en,
.case-name,
.years,
.enter-record,
.death-date,
.hero-portrait figcaption,
.last-photo figcaption {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
}

.file-label {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 14px;
  letter-spacing: 0.16em;
}

.case-name {
  margin: 0 0 clamp(36px, 6vh, 72px);
  color: rgba(247,242,232,.58);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.case-name i {
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 20px;
}

.hero-title-wrap {
  position: relative;
  width: fit-content;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 8.2vw, 132px);
  line-height: 0.89;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.hero h1 span {
  color: var(--wine);
}

.years {
  position: absolute;
  right: 0;
  bottom: -34px;
  margin: 0;
  color: rgba(247,242,232,.52);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.hero-deck {
  margin: clamp(62px, 9vh, 100px) 0 34px;
  font-size: clamp(24px, 2.25vw, 36px);
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.hero-deck strong {
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 -0.22em var(--wine-dark);
}

.enter-record {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--paper-light);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(247,242,232,.4);
  padding-bottom: 8px;
}

.enter-record span {
  color: var(--brass);
  font-size: 20px;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  margin: 0;
  align-self: center;
  justify-self: center;
  width: min(42vw, 650px);
  border: 1px solid rgba(247,242,232,.24);
  padding: 12px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 35px 90px rgba(0,0,0,.42);
}

.hero-portrait::before {
  content: "OFFICIAL RECORD";
  position: absolute;
  z-index: 2;
  right: -36px;
  top: 52px;
  padding: 7px 14px;
  background: var(--wine);
  color: var(--paper-light);
  font: 14px/1 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .12em;
  transform: rotate(90deg);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(.76) contrast(1.06) sepia(.05);
}

.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px 0;
  color: rgba(247,242,232,.56);
  font-size: 14px;
  letter-spacing: .08em;
}

.hero-note {
  position: relative;
  z-index: 2;
  grid-column: 2;
  justify-self: end;
  width: min(36vw, 470px);
  margin: 30px 0 0;
  padding-left: 26px;
  border-left: 3px solid var(--wine);
  color: rgba(247,242,232,.72);
  font-size: 16px;
  line-height: 1.75;
}

.hero-seal {
  position: absolute;
  left: 52%;
  top: 10%;
  z-index: 1;
  width: 172px;
  aspect-ratio: 1;
  border: 2px solid rgba(185,154,97,.15);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: rgba(185,154,97,.18);
  transform: rotate(-12deg);
  font-family: "SFMono-Regular", Menlo, monospace;
}

.hero-seal::before,
.hero-seal::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid currentColor;
}

.hero-seal::before { inset: 8px; }
.hero-seal::after { inset: 22px; }
.hero-seal span,
.hero-seal i { font-size: 14px; letter-spacing: .08em; font-style: normal; }
.hero-seal b { font: 700 46px/1 Georgia, serif; }

.section-pad {
  padding: clamp(90px, 12vw, 180px) clamp(28px, 8vw, 132px);
}

.section-head {
  width: min(1100px, 100%);
  margin: 0 auto clamp(52px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(420px, 1fr);
  column-gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.section-index {
  margin: 0;
  padding-top: 12px;
  color: var(--wine);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}

.section-index.light {
  color: var(--brass);
}

.section-head h2,
.origin-copy h2,
.book-copy h2,
.last-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.045em;
}

.section-head h2 em {
  color: var(--wine);
  font-style: normal;
}

.section-head > p:last-child {
  grid-column: 2;
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink-soft);
}

.hearing {
  background:
    linear-gradient(90deg, rgba(123,47,45,.06) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--paper-light);
}

.transcript {
  width: min(980px, 100%);
  margin: 0 auto;
  border-top: 2px solid var(--ink);
}

.transcript-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--line);
}

.speaker {
  margin: 0;
  color: var(--wine);
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .08em;
}

.transcript-row time {
  color: #756c60;
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
}

.transcript-row p:not(.speaker) {
  max-width: 680px;
  margin: 12px 0 0;
  font-size: 20px;
}

.judge-row {
  background: rgba(36,72,58,.08);
  padding-left: 28px;
  padding-right: 28px;
}

.judge-row strong {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 12px 5px;
  border: 2px solid var(--wine);
  color: var(--wine);
  font: 700 14px/1.5 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
  transform: rotate(-1deg);
}

.hearing-coda {
  width: min(680px, 100%);
  margin: 64px auto 0;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.65;
  text-align: center;
}

.origin {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  min-height: 100vh;
  background: var(--green);
  color: var(--paper-light);
}

.origin-visual {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background:
    linear-gradient(145deg, rgba(0,0,0,.12), rgba(0,0,0,.55)),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(238,231,217,.04) 74px 75px),
    #20382f;
}

.origin-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(185,154,97,.18), transparent 45%);
}

.origin-place {
  position: absolute;
  z-index: 4;
  left: 9%;
  top: 9%;
  margin: 0;
  color: rgba(247,242,232,.48);
  font: 700 14px/1.6 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .14em;
}

.archive-card {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 8px 8px 0;
  background: var(--paper-light);
  box-shadow: 0 30px 70px rgba(0,0,0,.38);
}

.archive-card img {
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.07);
}

.archive-card figcaption {
  min-height: 42px;
  padding: 10px 4px 8px;
  color: #575047;
  font: 700 14px/1.35 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .06em;
}

.archive-milk {
  left: 9%;
  top: 17%;
  width: min(56%, 390px);
  transform: rotate(-2.5deg);
}

.archive-family {
  right: 7%;
  bottom: 8%;
  width: min(48%, 330px);
  transform: rotate(3deg);
}

.bottle {
  position: absolute;
  z-index: 2;
  width: 118px;
  height: 282px;
  border: 3px solid rgba(238,231,217,.7);
  border-radius: 22px 22px 18px 18px;
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.18), rgba(255,255,255,.03));
  box-shadow: inset 0 -80px 0 rgba(238,231,217,.64), 0 26px 45px rgba(0,0,0,.28);
}

.bottle::before {
  content: "";
  position: absolute;
  left: 25px;
  right: 25px;
  top: -39px;
  height: 40px;
  border: 3px solid rgba(238,231,217,.7);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.bottle span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  color: var(--green);
  text-align: center;
  font: 700 16px/1 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .1em;
}

.bottle-one {
  left: 23%;
  top: 37%;
  transform: rotate(-8deg);
}

.bottle-two {
  left: 51%;
  top: 24%;
  transform: scale(.78) rotate(9deg);
  opacity: .62;
}

.stair {
  position: absolute;
  z-index: 1;
  width: 60%;
  height: 38px;
  border-top: 2px solid rgba(238,231,217,.28);
  border-right: 2px solid rgba(238,231,217,.16);
  transform: skewY(-25deg);
}

.stair-one { left: -12%; top: 72%; }
.stair-two { left: 31%; top: 81%; }

.origin-copy {
  align-self: center;
  max-width: 900px;
}

.origin-copy h2 {
  margin-top: 22px;
}

.origin-copy p {
  max-width: 710px;
  color: rgba(247,242,232,.76);
}

.origin-copy .lead {
  margin-top: 48px;
  color: var(--paper-light);
  font-size: 22px;
}

.origin-copy blockquote {
  margin: 42px 0;
  padding: 28px 0 28px 32px;
  border-left: 4px solid var(--brass);
  color: #fff;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.65;
}

.origin-copy .origin-final {
  margin-top: 42px;
  color: var(--brass);
  font-size: 20px;
}

.bench {
  background: var(--night);
  color: var(--paper-light);
}

.dark-head h2 em { color: var(--brass); }
.dark-head > p:last-child { color: rgba(247,242,232,.68); }

.balance {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding-top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
}

.balance-arm {
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--brass);
  transform: rotate(-2deg);
}

.balance-arm::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--night);
}

.balance-arm i {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 2px;
  height: 68px;
  background: var(--brass);
}

.balance-card {
  min-height: 250px;
  padding: 32px;
  border: 1px solid var(--light-line);
  background: rgba(255,255,255,.025);
}

.balance-card::before {
  content: "";
  display: block;
  width: 62px;
  height: 2px;
  margin: -46px auto 46px;
  background: var(--brass);
}

.balance-card span {
  color: var(--brass);
  font: 700 14px/1.4 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .1em;
}

.balance-card h3 {
  margin: 24px 0 12px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.4;
  font-weight: 500;
}

.balance-card p {
  color: rgba(247,242,232,.58);
}

.human-card {
  margin-top: 28px;
  border-color: rgba(123,47,45,.72);
  background: rgba(123,47,45,.12);
}

.bench-principles {
  width: min(1160px, 100%);
  margin: clamp(88px, 10vw, 150px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.bench-principles article {
  padding: 32px 26px 38px;
  border-right: 1px solid var(--light-line);
}

.bench-principles article:last-child { border-right: 0; }
.bench-principles b { color: var(--wine); font: 700 18px/1 Georgia, serif; }
.bench-principles h3 { margin: 26px 0 12px; font-size: 24px; font-weight: 500; }
.bench-principles p { margin: 0; color: rgba(247,242,232,.58); font-size: 16px; line-height: 1.8; }

.bench-number {
  width: min(1160px, 100%);
  margin: 70px auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.bench-number strong {
  color: var(--brass);
  font: 700 clamp(72px, 9vw, 130px)/.8 Georgia, serif;
}

.bench-number p {
  margin: 0;
  color: var(--paper-light);
  font: 700 14px/1.8 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .1em;
}

.bench-number span { color: rgba(247,242,232,.48); font-weight: 400; }

.bench-photo-strip {
  width: min(1160px, 100%);
  margin: clamp(80px, 10vw, 150px) auto 0;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: end;
}

.bench-photo {
  position: relative;
  margin: 0;
}

.bench-photo::before {
  content: "EVIDENCE";
  position: absolute;
  z-index: 2;
  top: 18px;
  left: -10px;
  padding: 7px 11px;
  background: var(--wine);
  color: var(--paper-light);
  font: 700 14px/1 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
}

.bench-photo img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(247,242,232,.18);
  filter: saturate(.72) contrast(1.06) sepia(.08);
}

.office-photo {
  transform: translateY(-28px);
}

.office-photo img {
  aspect-ratio: 4 / 5;
  object-position: 51% center;
}

.community-photo img {
  aspect-ratio: 16 / 10;
  object-position: center 38%;
}

.bench-photo figcaption {
  padding-top: 12px;
  color: rgba(247,242,232,.48);
  font: 700 14px/1.5 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
}

.casefiles {
  background:
    linear-gradient(rgba(123,47,45,.05) 1px, transparent 1px) 0 0 / 100% 42px,
    var(--paper-light);
}

.docket-list {
  width: min(1100px, 100%);
  margin: 0 auto;
  border-top: 2px solid var(--ink);
}

.docket {
  border-bottom: 1px solid var(--line);
  background: rgba(247,242,232,.82);
}

.docket summary {
  cursor: pointer;
  list-style: none;
  min-height: 132px;
  padding: 22px 12px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 34px;
  align-items: center;
}

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

.docket summary > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.docket summary b {
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.35;
  font-weight: 600;
}

.docket summary i,
.docket summary em {
  color: #746b60;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-style: normal;
}

.docket summary em {
  padding: 7px 12px;
  border: 1px solid var(--line);
}

.docket-no {
  color: var(--wine);
  font: 700 14px/1.5 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
}

.docket[open] summary {
  color: var(--paper-light);
  background: var(--wine-dark);
}

.docket[open] summary i,
.docket[open] summary em { color: rgba(247,242,232,.64); }
.docket[open] .docket-no { color: var(--brass); }

.docket-body {
  padding: 34px min(8vw, 84px) 46px max(196px, 16%);
  background: var(--paper);
}

.docket-body p {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.docket-body p span {
  color: var(--wine);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.docket-body strong {
  display: block;
  margin-top: 32px;
  color: var(--wine);
  font-size: 20px;
  font-weight: 600;
}

.book-evidence {
  background: var(--wine-dark);
  color: var(--paper-light);
}

.book-stage {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(420px, 1.28fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
}

.book-cover {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(247,242,232,.28);
  background: rgba(255,255,255,.035);
  box-shadow: 28px 34px 70px rgba(0,0,0,.34);
  transform: rotate(-2deg);
}

.book-cover img { width: 100%; }

.book-cover figcaption {
  padding-top: 10px;
  color: rgba(247,242,232,.5);
  font: 14px/1.5 "SFMono-Regular", Menlo, monospace;
  text-align: center;
}

.evidence-tab {
  position: absolute;
  right: -46px;
  top: 72px;
  z-index: -1;
  width: 70px;
  padding: 14px 10px;
  background: var(--brass);
  color: var(--night);
  font: 700 14px/1.2 "SFMono-Regular", Menlo, monospace;
  writing-mode: vertical-rl;
  letter-spacing: .08em;
}

.book-copy h2 {
  margin-top: 22px;
  color: #fff;
}

.book-en {
  margin: 12px 0 44px;
  color: var(--brass);
  font-size: 14px;
  letter-spacing: .18em;
}

.book-copy .lead {
  max-width: 690px;
  font-size: 22px;
  color: rgba(247,242,232,.83);
}

.book-notes {
  margin-top: 40px;
  border-top: 1px solid var(--light-line);
}

.book-notes p {
  margin: 0;
  padding: 17px 0;
  border-bottom: 1px solid var(--light-line);
  color: rgba(247,242,232,.7);
}

.book-notes span {
  display: inline-block;
  width: 60px;
  color: var(--brass);
  font: 700 14px/1 "SFMono-Regular", Menlo, monospace;
}

.book-copy blockquote {
  margin: 50px 0 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.55;
}

.cross {
  background: var(--paper);
}

.cross-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cross-grid article {
  min-height: 360px;
  padding: 36px 30px;
  background: var(--paper-light);
}

.cross-grid span {
  color: var(--wine);
  font: 700 18px/1 Georgia, serif;
}

.cross-grid h3 {
  margin: 76px 0 18px;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 600;
}

.cross-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.cross-ruling {
  width: min(820px, 100%);
  margin: 90px auto 0;
  padding: 36px 40px;
  border-top: 3px solid var(--wine);
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.65;
  text-align: center;
}

.cross-ruling strong { color: var(--wine); font-weight: 600; }

.last-statement {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 100vh;
  background: var(--green);
  color: var(--paper-light);
}

.last-photo {
  position: relative;
  align-self: center;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.last-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,29,24,.74), transparent 58%);
}

.last-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 68% center;
  filter: grayscale(.12) sepia(.06) contrast(1.06);
}

.last-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 26px;
  color: rgba(247,242,232,.72);
  font-size: 14px;
  letter-spacing: .1em;
}

.last-copy {
  align-self: center;
  max-width: 900px;
}

.last-copy h2 { margin-top: 24px; }
.last-copy > p:not(.section-index):not(.death-date) { color: rgba(247,242,232,.72); }
.last-copy > p:nth-of-type(2) { margin-top: 46px; }

.last-copy blockquote {
  margin: 42px 0;
  padding-left: 28px;
  border-left: 4px solid var(--brass);
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.7;
}

.death-date {
  margin-top: 50px;
  color: var(--brass);
  font-size: 14px;
  letter-spacing: .12em;
}

.death-date span {
  color: rgba(247,242,232,.72);
  font-family: "Songti SC", "STSong", serif;
  letter-spacing: 0;
  line-height: 2;
}

.verdict {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(110px, 14vw, 200px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(185,154,97,.12), transparent 36%),
    var(--night);
  color: var(--paper-light);
  text-align: center;
}

.verdict::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(247,242,232,.08);
  pointer-events: none;
}

.empty-bench {
  position: relative;
  width: 190px;
  height: 112px;
  margin-bottom: 62px;
  border: 2px solid rgba(247,242,232,.22);
  border-radius: 26px 26px 6px 6px;
  box-shadow: inset 0 -34px 0 rgba(247,242,232,.05), 0 35px 60px rgba(0,0,0,.26);
}

.empty-bench span {
  position: absolute;
  left: -66px;
  right: -66px;
  bottom: -28px;
  height: 28px;
  border-top: 3px solid rgba(185,154,97,.4);
  background: rgba(74,45,29,.44);
}

.empty-bench i {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 1px;
  height: 70px;
  background: rgba(247,242,232,.1);
}

.verdict h2 {
  margin: 20px 0 0;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.06em;
}

.verdict-copy {
  margin: 48px auto 0;
  color: rgba(247,242,232,.67);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.8;
}

.final-pause {
  margin-top: 76px;
  display: grid;
  gap: 10px;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.5;
}

.final-pause span { color: rgba(247,242,232,.54); }
.final-pause strong { color: var(--brass); font-weight: 500; }

.stamp {
  position: relative;
  isolation: isolate;
  margin-top: 82px;
  width: 184px;
  height: 184px;
  border: 0;
  border-radius: 48% 52% 46% 54% / 51% 47% 53% 49%;
  display: grid;
  place-content: center;
  gap: 4px;
  color: rgba(255,226,205,.82);
  background:
    radial-gradient(circle at 35% 27%, rgba(255,226,205,.18), transparent 24%),
    radial-gradient(circle at 52% 56%, #7b302d 0 48%, #682522 70%, #431715 100%);
  box-shadow:
    inset 3px 4px 8px rgba(255,210,190,.12),
    inset -7px -9px 16px rgba(37,6,5,.44),
    0 22px 32px rgba(0,0,0,.42);
  text-shadow: 0 1px 1px rgba(45,8,7,.65);
}

.stamp::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px;
  border-radius: 54% 46% 51% 49% / 45% 55% 47% 53%;
  background: #5a1e1c;
  box-shadow:
    7px 5px 0 -4px #6b2522,
    -6px 8px 0 -5px #481513,
    4px -7px 0 -5px #712825;
}

.stamp::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15px;
  border: 1px solid rgba(255,220,198,.23);
  border-radius: 50%;
  box-shadow:
    inset 1px 2px 2px rgba(255,220,198,.12),
    1px 2px 2px rgba(41,8,7,.62);
}

.stamp span,
.stamp i {
  font: 700 14px/1.3 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
}

.stamp b {
  font-size: 32px;
  font-weight: 600;
  text-shadow:
    1px 2px 1px rgba(45,8,7,.72),
    -1px -1px 0 rgba(255,226,205,.14);
}
.stamp i { font-style: normal; }

.stamp.reveal { transform: translateY(28px) rotate(-7deg); }
.stamp.reveal.is-visible { transform: rotate(-7deg); }

footer {
  padding: 54px clamp(28px, 7vw, 110px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: #0e0d0b;
  color: var(--paper-light);
  border-top: 1px solid rgba(247,242,232,.08);
}

footer p {
  margin: 0 0 10px;
  color: var(--brass);
  font: 700 14px/1.4 "SFMono-Regular", Menlo, monospace;
  letter-spacing: .12em;
}

footer h2 {
  margin: 0;
  font: 600 clamp(30px, 4vw, 54px)/1 Georgia, serif;
  letter-spacing: -.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(247,242,232,.62);
  font: 14px/1.6 "PingFang SC", "Microsoft YaHei", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover { color: var(--brass); }

dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(82vh, 800px);
  padding: 0;
  border: 1px solid rgba(247,242,232,.18);
  background: var(--night);
  color: var(--paper-light);
  box-shadow: 0 35px 110px rgba(0,0,0,.6);
}

dialog::backdrop {
  background: rgba(8,7,6,.82);
  backdrop-filter: blur(8px);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--light-line);
  background: var(--night);
}

.dialog-head p {
  margin: 0;
  color: var(--brass);
  font: 700 14px/1.4 "SFMono-Regular", Menlo, monospace;
}

.dialog-head h2 {
  margin: 5px 0 0;
  font-size: 26px;
  font-weight: 500;
}

.dialog-head button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--light-line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper-light);
  font-size: 28px;
  cursor: pointer;
}

.source-list {
  padding: 10px 28px 32px;
  overflow: auto;
}

.source-list > p {
  color: rgba(247,242,232,.58);
  font-size: 16px;
}

.source-list a {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  border-top: 1px solid var(--light-line);
  color: var(--paper-light);
  text-decoration: none;
}

.source-list a span {
  grid-row: 1 / 3;
  color: var(--wine);
  font: 700 14px/1.5 "SFMono-Regular", Menlo, monospace;
}

.source-list a b { font-size: 16px; font-weight: 500; }
.source-list a i { color: rgba(247,242,232,.5); font-size: 14px; font-style: normal; }
.source-list a:hover b { color: var(--brass); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .courtbar { grid-template-columns: 1fr auto; }
  .courtbar nav { display: none; }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-left: 52px;
    padding-right: 52px;
  }
  .hero h1 { font-size: clamp(58px, 8.4vw, 94px); }
  .hero-portrait { width: 44vw; }
  .bench-principles { grid-template-columns: 1fr 1fr; }
  .bench-principles article:nth-child(2) { border-right: 0; }
  .bench-principles article:nth-child(-n+2) { border-bottom: 1px solid var(--light-line); }
  .cross-grid article { padding: 30px 24px; }
}

@media (max-width: 820px) {
  .progress-rail { display: none; }
  .courtbar { height: 68px; padding: 0 20px; }
  .issue { letter-spacing: .04em; }
  .hero {
    min-height: auto;
    padding: 116px 24px 66px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 54px;
  }
  .hero::before { display: none; }
  .hero-file { order: 1; }
  .hero-portrait { order: 2; width: min(100%, 620px); justify-self: start; }
  .hero-note { order: 3; grid-column: 1; width: min(100%, 620px); justify-self: start; }
  .hero h1 { font-size: clamp(60px, 15vw, 98px); }
  .case-name { margin-bottom: 44px; }
  .hero-deck { margin-top: 64px; }
  .hero-seal { left: auto; right: -40px; top: 180px; }
  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-head > p:last-child { grid-column: 1; }
  .section-head h2,
  .origin-copy h2,
  .book-copy h2,
  .last-copy h2 { font-size: clamp(40px, 10vw, 64px); }
  .transcript-row { grid-template-columns: 130px 1fr; gap: 24px; }
  .origin { grid-template-columns: 1fr; }
  .origin-visual { min-height: 560px; }
  .bench-photo-strip {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .office-photo {
    width: min(72%, 480px);
    transform: none;
  }
  .community-photo { width: 100%; }
  .balance { grid-template-columns: 1fr; gap: 68px; }
  .balance-arm { display: none; }
  .balance-card::before { display: none; }
  .human-card { margin-top: 0; }
  .cross-grid { grid-template-columns: 1fr; }
  .cross-grid article { min-height: auto; }
  .cross-grid h3 { margin-top: 38px; }
  .book-stage { grid-template-columns: minmax(230px, .68fr) 1fr; gap: 54px; }
  .last-statement { grid-template-columns: 1fr; }
  .last-photo img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  .courtbar-brand b { display: none; }
  .section-pad { padding-left: 20px; padding-right: 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .hero-portrait { padding: 8px; }
  .hero-portrait::before { right: -41px; top: 50px; }
  .hero-portrait figcaption { flex-direction: column; gap: 2px; }
  .hero-deck { font-size: 24px; }
  .transcript-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 0;
  }
  .judge-row { padding-left: 16px; padding-right: 16px; }
  .transcript-row p:not(.speaker) { font-size: 18px; }
  .origin-visual { min-height: 690px; }
  .archive-milk {
    left: 7%;
    top: 15%;
    width: 57%;
  }
  .archive-family {
    right: 5%;
    bottom: 6%;
    width: 51%;
  }
  .origin-copy blockquote { padding-left: 20px; }
  .bench-principles { grid-template-columns: 1fr; }
  .bench-principles article { border-right: 0; border-bottom: 1px solid var(--light-line); }
  .bench-principles article:last-child { border-bottom: 0; }
  .bench-number { justify-content: flex-start; }
  .office-photo { width: 82%; }
  .docket summary {
    grid-template-columns: 94px 1fr;
    gap: 16px;
    padding: 20px 8px;
  }
  .docket summary em { display: none; }
  .docket summary b { font-size: 20px; }
  .docket-body { padding: 28px 14px 38px; }
  .docket-body p { grid-template-columns: 54px 1fr; gap: 12px; }
  .book-stage { grid-template-columns: 1fr; }
  .book-cover { width: min(82vw, 430px); justify-self: center; }
  .evidence-tab { right: -28px; }
  .cross-ruling { padding-left: 8px; padding-right: 8px; }
  .last-copy blockquote { padding-left: 20px; }
  .verdict { padding-left: 20px; padding-right: 20px; }
  .verdict h2 { font-size: clamp(48px, 15vw, 76px); }
  .empty-bench { transform: scale(.82); margin-bottom: 42px; }
  .stamp { width: 158px; height: 158px; }
  footer { padding: 44px 20px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .dialog-head,
  .source-list { padding-left: 20px; padding-right: 20px; }
}

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