/* Pit Forest — Issue 14, May 2026
   Shared base styles. Each article page may override locally. */

:root {
  --bg:        #ece4d6;   /* outside the page — warm cream */
  --paper:     #faf6ee;   /* page surface */
  --ink:       #131313;
  --ink-soft:  #2a2a2a;
  --ink-body:  #2c2c2c;
  --muted:     #8a857a;
  --rule:      #cbc3b3;
  --accent:    #1f3a3c;   /* deep teal echoing the cover */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Futura', 'Futura PT', 'Trebuchet MS',
               'PingFang SC', 'Hiragino Sans GB',
               'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ---------- page frame ---------- */

.page {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
  padding: 72px 72px 140px;
  position: relative;
}

@media (max-width: 760px) {
  .page { padding: 44px 26px 96px; }
}

/* ---------- top nav ---------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
}
.nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .brand { letter-spacing: 0.22em; font-weight: 600; }

/* ---------- masthead block ---------- */

.kicker {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.byline {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.title {
  font-family: 'Futura', 'Futura PT', 'Trebuchet MS',
               '方正兰亭粗黑_GBK', 'PingFang SC', sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 40px;
  color: var(--ink);
}
.title.zh { font-weight: 700; letter-spacing: 0.02em; }
.title .sub {
  display: block; font-size: 18px; font-weight: 500;
  color: var(--ink-soft); margin-top: 10px; letter-spacing: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0 0 36px;
}

/* ---------- body text ---------- */

p { line-height: 1.9; margin: 0 0 1.05em; color: var(--ink-body); }

.body { font-size: 16px; }

.body-zh p {
  font-family: 'PingFang SC', 'Hiragino Sans GB',
               'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  line-height: 2.0;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  text-align: justify;
}

.body-en p {
  font-family: 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  line-height: 1.75;
  font-size: 16px;
}

.body h2 {
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  margin: 2em 0 0.6em;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.body em, .body i { font-style: italic; color: var(--ink-soft); }
.body strong, .body b { font-weight: 700; color: var(--ink); }

/* ---------- end marks ---------- */

.fin {
  margin-top: 56px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.18em;
}
.fin::after {
  content: '■';
  display: inline-block;
  margin-left: 10px;
  color: var(--ink);
}

/* ---------- footer ---------- */

footer.colophon {
  position: absolute;
  bottom: 36px; left: 72px; right: 72px;
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 760px) {
  footer.colophon { left: 26px; right: 26px; bottom: 28px; }
}
