/* =========================================================================
   Publications page — a plain, scrollable text page on top of style.css
   (reuses its fonts and colour tokens; undoes the globe page's fixed layout)
   ========================================================================= */

html:has(body.page),
body.page {
  height: auto;
  min-height: 100%;
  overflow: auto;
}

body.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  line-height: 1.6;
}

/* Keep text above the grid/vignette pseudo-elements from style.css */
body.page > * { position: relative; z-index: 3; }

.page a { color: var(--accent); text-decoration: none; }
.page a:hover { text-decoration: underline; }

.page-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page h1 {
  margin: 28px 0 12px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.page-lede { color: var(--ink-dim); margin: 0; }

.page h2 {
  margin: 56px 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.pub-list { list-style: none; margin: 0; padding: 0; }

.pub {
  padding: 24px 0;
  border-top: 1px solid var(--ink-ghost);
}

.pub h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.pub h3 a { color: var(--ink); }
.pub h3 a:hover { color: var(--accent); }
.pub p { margin: 0 0 6px; color: var(--ink-dim); font-size: 14px; }

.pub-meta {
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint) !important;
}

.pub-authors strong { color: var(--ink); font-weight: 500; }

.page-footer {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-ghost);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
