:root {
  --bg: #f3f1ec;
  --paper: #fffdf8;
  --ink: #20201d;
  --muted: #6f6b63;
  --soft: #ebe5d9;
  --line: #ded6c8;
  --blue: #275b8f;
  --green: #4f6f52;
  --warm: #8a5a2b;
  --shadow: 0 18px 48px rgba(49, 43, 34, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(32, 32, 29, .035) 1px, transparent 1px),
    linear-gradient(180deg, #f8f6f1 0%, var(--bg) 100%);
  background-size: 44px 44px, auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.78;
}

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

a:hover {
  color: var(--blue);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1060px, calc(100% - 42px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(248, 246, 241, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222, 214, 200, .72);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #27231d;
  background: #27231d;
  color: #fffdf8;
  font-size: 16px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.main {
  flex: 1;
  padding: 44px 0 54px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
}

.home-copy {
  padding-top: 10px;
}

.kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  max-width: 800px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  font-weight: 850;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  color: #3f3c37;
  font-size: 18px;
}

.lead + p,
.home-copy p + p {
  margin-top: 14px;
  max-width: 760px;
  color: var(--muted);
}

.link-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.link-row a {
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-weight: 680;
}

.home-note,
.panel,
.article,
.card,
.text-block {
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.home-note {
  padding: 24px;
  position: relative;
}

.portrait-mark {
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #27231d;
  background: #27231d;
  color: #fffdf8;
  font-size: 28px;
  font-weight: 850;
}

.facts {
  margin: 0;
  display: grid;
  gap: 12px;
}

.facts div,
.meta div {
  padding-bottom: 12px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  border-bottom: 1px dashed var(--line);
}

.facts div:last-child,
.meta div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt,
.meta span:first-child {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  font-weight: 650;
}

.section {
  margin-top: 46px;
}

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

.section-note,
.muted,
.card p,
.article p,
.side p,
.text-block p {
  color: var(--muted);
}

.notebook {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.note-list article {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 253, 248, .64);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--warm);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.split,
.hero,
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.text-block,
.panel,
.article,
.card {
  padding: 24px;
}

.quiet {
  background: rgba(235, 229, 217, .58);
}

.intro {
  padding: 36px;
}

.side {
  padding: 26px;
}

.actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 38px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fffdf8;
  font-weight: 680;
  font-size: 14px;
}

.btn.primary {
  color: #fffdf8;
  border-color: #27231d;
  background: #27231d;
}

.meta {
  margin-top: 18px;
  display: grid;
  gap: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
}

.tag.green {
  color: var(--green);
}

.tag.warm {
  color: var(--warm);
}

.article + .article {
  margin-top: 16px;
}

.article ul,
.article ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.pub-list li + li,
.timeline li + li {
  margin-top: 14px;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, .9);
}

.footer-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.police-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.police-link img {
  width: 16px;
  height: 16px;
  display: block;
}

@media (max-width: 900px) {
  .home-hero,
  .hero,
  .two-col,
  .grid,
  .split,
  .note-list {
    grid-template-columns: 1fr;
  }

  .intro {
    padding: 30px 24px;
  }

  .home-hero {
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1060px);
  }

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

  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

  h1 {
    font-size: 38px;
  }

  .facts div,
  .meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
